@coreui/vue-pro 4.8.0 → 4.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/accordion/CAccordion.d.ts +2 -11
- package/dist/components/accordion/CAccordionItem.d.ts +3 -13
- package/dist/components/alert/CAlert.d.ts +2 -17
- package/dist/components/alert/CAlertHeading.d.ts +0 -2
- package/dist/components/avatar/CAvatar.d.ts +13 -25
- package/dist/components/backdrop/CBackdrop.d.ts +1 -4
- package/dist/components/badge/CBadge.d.ts +0 -12
- package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +4 -19
- package/dist/components/button/CButton.d.ts +6 -43
- package/dist/components/button-group/CButtonGroup.d.ts +2 -13
- package/dist/components/card/CCardHeader.d.ts +0 -2
- package/dist/components/card/CCardImage.d.ts +0 -7
- package/dist/components/card/CCardLink.d.ts +0 -2
- package/dist/components/card/CCardSubtitle.d.ts +0 -2
- package/dist/components/card/CCardText.d.ts +0 -2
- package/dist/components/card/CCardTitle.d.ts +0 -2
- package/dist/components/carousel/CCarousel.d.ts +0 -10
- package/dist/components/carousel/CCarouselItem.d.ts +0 -4
- package/dist/components/close-button/CCloseButton.d.ts +5 -17
- package/dist/components/collapse/CCollapse.d.ts +4 -16
- package/dist/components/dropdown/CDropdown.d.ts +11 -46
- package/dist/components/dropdown/CDropdownHeader.d.ts +0 -2
- package/dist/components/dropdown/CDropdownItem.d.ts +6 -29
- package/dist/components/dropdown/CDropdownMenu.d.ts +0 -2
- package/dist/components/dropdown/CDropdownToggle.d.ts +7 -43
- package/dist/components/footer/CFooter.d.ts +1 -7
- package/dist/components/form/CForm.d.ts +2 -8
- package/dist/components/form/CFormCheck.d.ts +19 -51
- package/dist/components/form/CFormControlValidation.d.ts +8 -24
- package/dist/components/form/CFormFeedback.d.ts +0 -2
- package/dist/components/form/CFormInput.d.ts +145 -194
- package/dist/components/form/CFormLabel.d.ts +3 -13
- package/dist/components/form/CFormRange.d.ts +16 -64
- package/dist/components/form/CFormSelect.d.ts +20 -82
- package/dist/components/form/CFormSwitch.d.ts +13 -35
- package/dist/components/form/CFormText.d.ts +0 -2
- package/dist/components/form/CFormTextarea.d.ts +22 -69
- package/dist/components/form/CInputGroup.d.ts +1 -7
- package/dist/components/form/CInputGroupText.d.ts +0 -2
- package/dist/components/grid/CCol.d.ts +1 -32
- package/dist/components/grid/CContainer.d.ts +12 -48
- package/dist/components/grid/CRow.d.ts +23 -68
- package/dist/components/header/CHeader.d.ts +1 -12
- package/dist/components/header/CHeaderBrand.d.ts +0 -2
- package/dist/components/header/CHeaderNav.d.ts +0 -2
- package/dist/components/image/CImage.d.ts +6 -29
- package/dist/components/link/CLink.d.ts +6 -29
- package/dist/components/list-group/CListGroup.d.ts +2 -15
- package/dist/components/list-group/CListGroupItem.d.ts +4 -18
- package/dist/components/modal/CModal.d.ts +4 -21
- package/dist/components/modal/CModalHeader.d.ts +0 -2
- package/dist/components/modal/CModalTitle.d.ts +0 -2
- package/dist/components/nav/CNav.d.ts +0 -12
- package/dist/components/nav/CNavLink.d.ts +6 -29
- package/dist/components/navbar/CNavbar.d.ts +0 -22
- package/dist/components/navbar/CNavbarBrand.d.ts +2 -13
- package/dist/components/navbar/CNavbarNav.d.ts +0 -2
- package/dist/components/offcanvas/COffcanvas.d.ts +8 -5
- package/dist/components/offcanvas/COffcanvasTitle.d.ts +0 -2
- package/dist/components/pagination/CPagination.d.ts +1 -12
- package/dist/components/pagination/CPaginationItem.d.ts +8 -38
- package/dist/components/placeholder/CPlaceholder.d.ts +12 -78
- package/dist/components/popover/CPopover.d.ts +4 -28
- package/dist/components/progress/CProgressBar.d.ts +2 -15
- package/dist/components/props.d.ts +5 -6
- package/dist/components/sidebar/CSidebar.d.ts +4 -22
- package/dist/components/spinner/CSpinner.d.ts +0 -16
- package/dist/components/table/CTable.d.ts +17 -110
- package/dist/components/table/CTableDataCell.d.ts +4 -21
- package/dist/components/table/CTableRow.d.ts +2 -13
- package/dist/components/table/types.d.ts +14 -0
- package/dist/components/table/utils.d.ts +5 -0
- package/dist/components/tabs/CTabPane.d.ts +0 -2
- package/dist/components/toast/CToast.d.ts +7 -46
- package/dist/components/toast/CToastHeader.d.ts +2 -8
- package/dist/components/toast/CToaster.d.ts +1 -7
- package/dist/components/tooltip/CTooltip.d.ts +2 -17
- package/dist/components/widgets/CWidgetStatsA.d.ts +4 -24
- package/dist/components/widgets/CWidgetStatsB.d.ts +6 -34
- package/dist/components/widgets/CWidgetStatsC.d.ts +14 -23
- package/dist/components/widgets/CWidgetStatsD.d.ts +0 -2
- package/dist/components/widgets/CWidgetStatsE.d.ts +2 -13
- package/dist/components/widgets/CWidgetStatsF.d.ts +4 -24
- package/dist/index.es.js +356 -999
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +356 -999
- package/dist/index.js.map +1 -1
- package/dist/props.d.ts +19 -0
- package/dist/types.d.ts +5 -0
- package/package.json +13 -5
- package/src/components/accordion/CAccordion.ts +1 -5
- package/src/components/accordion/CAccordionBody.ts +1 -1
- package/src/components/accordion/CAccordionItem.ts +1 -6
- package/src/components/accordion/__tests__/__snapshots__/CAccordion.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.ts.snap +3 -3
- package/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionItem.spec.ts.snap +1 -1
- package/src/components/alert/CAlert.ts +4 -12
- package/src/components/alert/CAlertHeading.ts +0 -1
- package/src/components/alert/__tests__/CAlert.spec.ts +1 -1
- package/src/components/alert/__tests__/__snapshots__/CAlert.spec.ts.snap +16 -1
- package/src/components/alert/__tests__/__snapshots__/CAlertHeading.spec.ts.snap +2 -2
- package/src/components/alert/__tests__/__snapshots__/CAlertLink.spec.ts.snap +1 -1
- package/src/components/avatar/CAvatar.ts +3 -10
- package/src/components/avatar/__tests__/__snapshots__/CAvatar.spec.ts.snap +2 -2
- package/src/components/backdrop/CBackdrop.ts +7 -29
- package/src/components/backdrop/__tests__/__snapshots__/CBackdrop.spec.ts.snap +2 -2
- package/src/components/badge/CBadge.ts +1 -6
- package/src/components/badge/__tests__/CBadge.spec.ts +1 -1
- package/src/components/breadcrumb/CBreadcrumbItem.ts +2 -9
- package/src/components/breadcrumb/__tests__/__snapshots__/CBreadcrumb.spec.ts.snap +2 -2
- package/src/components/breadcrumb/__tests__/__snapshots__/CBreadcrumbItem.spec.ts.snap +2 -2
- package/src/components/button/CButton.ts +5 -21
- package/src/components/button/__tests__/__snapshots__/CButton.spec.ts.snap +3 -3
- package/src/components/button-group/CButtonGroup.ts +1 -6
- package/src/components/button-group/__tests__/__snapshots__/CButtonGroup.spec.ts.snap +2 -2
- package/src/components/button-group/__tests__/__snapshots__/CButtonToolbar.spec.ts.snap +1 -1
- package/src/components/callout/CCallout.ts +2 -1
- package/src/components/callout/__tests__/__snapshots__/CCallout.spec.ts.snap +2 -2
- package/src/components/card/CCard.ts +2 -1
- package/src/components/card/CCardHeader.ts +0 -1
- package/src/components/card/CCardImage.ts +0 -3
- package/src/components/card/CCardLink.ts +0 -1
- package/src/components/card/CCardSubtitle.ts +0 -1
- package/src/components/card/CCardText.ts +0 -1
- package/src/components/card/CCardTitle.ts +0 -1
- package/src/components/card/__tests__/__snapshots__/CCard.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardBody.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardFooter.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardGroup.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardHeader.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardImage.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardImageOverlay.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardLink.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardSubtitle.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardText.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardTitle.spec.ts.snap +2 -2
- package/src/components/carousel/CCarousel.ts +3 -8
- package/src/components/carousel/CCarouselItem.ts +0 -2
- package/src/components/carousel/__tests__/__snapshots__/CCarousel.spec.ts.snap +5 -5
- package/src/components/carousel/__tests__/__snapshots__/CCarouselCaption.spec.ts.snap +1 -1
- package/src/components/carousel/__tests__/__snapshots__/CCarouselItem.spec.ts.snap +2 -2
- package/src/components/close-button/CCloseButton.ts +2 -8
- package/src/components/close-button/__tests__/__snapshots__/CCloseButton.spec.ts.snap +2 -2
- package/src/components/collapse/CCollapse.ts +3 -9
- package/src/components/collapse/__test__/__snapshots__/CCollapse.spec.ts.snap +4 -4
- package/src/components/dropdown/CDropdown.ts +6 -21
- package/src/components/dropdown/CDropdownHeader.ts +0 -1
- package/src/components/dropdown/CDropdownItem.ts +3 -14
- package/src/components/dropdown/CDropdownMenu.ts +0 -1
- package/src/components/dropdown/CDropdownToggle.ts +8 -23
- package/src/components/dropdown/__tests__/CDropdown.spec.ts +1 -1
- package/src/components/dropdown/__tests__/__snapshots__/CDropdown.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownDivider.spec.ts.snap +1 -1
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownHeader.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownItem.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownMenu.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownToggle.spec.ts.snap +2 -2
- package/src/components/footer/CFooter.ts +0 -2
- package/src/components/footer/__tests__/__snapshots__/CFooter.spec.ts.snap +2 -2
- package/src/components/form/CForm.ts +1 -4
- package/src/components/form/CFormCheck.ts +9 -25
- package/src/components/form/CFormControlValidation.ts +4 -12
- package/src/components/form/CFormControlWrapper.ts +4 -12
- package/src/components/form/CFormFeedback.ts +0 -1
- package/src/components/form/CFormInput.ts +11 -37
- package/src/components/form/CFormLabel.ts +1 -5
- package/src/components/form/CFormRange.ts +8 -30
- package/src/components/form/CFormSelect.ts +10 -39
- package/src/components/form/CFormSwitch.ts +6 -17
- package/src/components/form/CFormText.ts +0 -1
- package/src/components/form/CFormTextarea.ts +11 -34
- package/src/components/form/CInputGroup.ts +0 -2
- package/src/components/form/CInputGroupText.ts +0 -1
- package/src/components/form/__tests__/__snapshots__/CForm.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +5 -5
- package/src/components/form/__tests__/__snapshots__/CFormFeedback.spec.ts.snap +3 -3
- package/src/components/form/__tests__/__snapshots__/CFormFloating.spec.ts.snap +1 -1
- package/src/components/form/__tests__/__snapshots__/CFormInput.spec.ts.snap +3 -3
- package/src/components/form/__tests__/__snapshots__/CFormLabel.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormRange.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormSelect.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormSwitch.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormText.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormTextarea.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CInputGroup.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CInputGroupText.spec.ts.snap +2 -2
- package/src/components/grid/CCol.ts +0 -12
- package/src/components/grid/CContainer.ts +6 -24
- package/src/components/grid/CRow.ts +11 -35
- package/src/components/grid/__tests__/__snapshots__/CCol.spec.ts.snap +2 -2
- package/src/components/grid/__tests__/__snapshots__/CContainer.spec.ts.snap +2 -2
- package/src/components/grid/__tests__/__snapshots__/CRow.spec.ts.snap +2 -2
- package/src/components/header/CHeader.ts +0 -4
- package/src/components/header/CHeaderBrand.ts +0 -1
- package/src/components/header/CHeaderNav.ts +0 -1
- package/src/components/header/__tests__/__snapshots__/CHeader.spec.ts.snap +3 -3
- package/src/components/header/__tests__/__snapshots__/CHeaderBrand.spec.ts.snap +2 -2
- package/src/components/header/__tests__/__snapshots__/CHeaderDivider.spec.ts.snap +1 -1
- package/src/components/header/__tests__/__snapshots__/CHeaderNav.spec.ts.snap +2 -2
- package/src/components/header/__tests__/__snapshots__/CHeaderText.spec.ts.snap +1 -1
- package/src/components/header/__tests__/__snapshots__/CHeaderToggler.spec.ts.snap +2 -2
- package/src/components/image/CImage.ts +3 -14
- package/src/components/image/__tests__/__snapshots__/CImage.spec.ts.snap +3 -3
- package/src/components/link/CLink.ts +3 -14
- package/src/components/link/__tests__/__snapshots__/CLink.spec.ts.snap +2 -2
- package/src/components/list-group/CListGroup.ts +1 -7
- package/src/components/list-group/CListGroupItem.ts +3 -10
- package/src/components/list-group/__tests__/__snapshots__/CListGroup.spec.ts.snap +2 -2
- package/src/components/list-group/__tests__/__snapshots__/CListGroupItem.spec.ts.snap +3 -3
- package/src/components/modal/CModal.ts +4 -11
- package/src/components/modal/CModalHeader.ts +0 -1
- package/src/components/modal/CModalTitle.ts +0 -1
- package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +10 -10
- package/src/components/modal/__tests__/__snapshots__/CModalBody.spec.ts.snap +1 -1
- package/src/components/modal/__tests__/__snapshots__/CModalFooter.spec.ts.snap +1 -1
- package/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.ts.snap +2 -2
- package/src/components/modal/__tests__/__snapshots__/CModalTitle.spec.ts.snap +2 -2
- package/src/components/nav/CNav.ts +0 -5
- package/src/components/nav/CNavGroup.ts +1 -1
- package/src/components/nav/CNavLink.ts +3 -14
- package/src/components/nav/__tests__/__snapshots__/CNav.spec.ts.snap +2 -2
- package/src/components/nav/__tests__/__snapshots__/CNavGroup.spec.ts.snap +5 -5
- package/src/components/nav/__tests__/__snapshots__/CNavGroupItems.spec.ts.snap +1 -1
- package/src/components/nav/__tests__/__snapshots__/CNavItem.spec.ts.snap +3 -3
- package/src/components/nav/__tests__/__snapshots__/CNavLink.spec.ts.snap +2 -2
- package/src/components/nav/__tests__/__snapshots__/CNavTitle.spec.ts.snap +1 -1
- package/src/components/navbar/CNavbar.ts +1 -10
- package/src/components/navbar/CNavbarBrand.ts +1 -6
- package/src/components/navbar/CNavbarNav.ts +0 -1
- package/src/components/navbar/__tests__/__snapshots__/CNavbar.spec.ts.snap +3 -3
- package/src/components/navbar/__tests__/__snapshots__/CNavbarBrand.spec.ts.snap +3 -3
- package/src/components/navbar/__tests__/__snapshots__/CNavbarNav.spec.ts.snap +2 -2
- package/src/components/navbar/__tests__/__snapshots__/CNavbarText.spec.ts.snap +1 -1
- package/src/components/navbar/__tests__/__snapshots__/CNavbarToggler.spec.ts.snap +2 -2
- package/src/components/offcanvas/COffcanvas.ts +11 -8
- package/src/components/offcanvas/COffcanvasTitle.ts +0 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvas.spec.ts.snap +8 -8
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasBody.spec.ts.snap +1 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasHeader.spec.ts.snap +1 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasTitle.spec.ts.snap +2 -2
- package/src/components/pagination/CPagination.ts +0 -4
- package/src/components/pagination/CPaginationItem.ts +4 -18
- package/src/components/pagination/__tests__/__snapshots__/CPagination.spec.ts.snap +2 -2
- package/src/components/pagination/__tests__/__snapshots__/CPaginationItem.spec.ts.snap +2 -2
- package/src/components/placeholder/CPlaceholder.ts +7 -36
- package/src/components/placeholder/__tests__/CPlaceholder.spec.ts +1 -1
- package/src/components/popover/CPopover.ts +3 -14
- package/src/components/progress/CProgress.ts +1 -5
- package/src/components/progress/CProgressBar.ts +2 -8
- package/src/components/progress/__tests__/__snapshots__/CProgress.spec.ts.snap +2 -2
- package/src/components/progress/__tests__/__snapshots__/CProgressBar.spec.ts.snap +2 -2
- package/src/components/props.ts +10 -8
- package/src/components/sidebar/CSidebar.ts +3 -11
- package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -2
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarBrand.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarFooter.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarHeader.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarNav.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarToggler.spec.ts.snap +1 -1
- package/src/components/smart-table/CSmartTable.ts +7 -7
- package/src/components/spinner/CSpinner.ts +0 -7
- package/src/components/spinner/__tests__/__snapshots__/CSpinner.spec.ts.snap +2 -2
- package/src/components/table/CTable.ts +21 -93
- package/src/components/table/CTableBody.ts +1 -1
- package/src/components/table/CTableDataCell.ts +3 -11
- package/src/components/table/CTableFoot.ts +1 -1
- package/src/components/table/CTableHead.ts +1 -1
- package/src/components/table/CTableHeaderCell.ts +1 -1
- package/src/components/table/CTableRow.ts +2 -7
- package/src/components/table/__tests__/__snapshots__/CTable.spec.ts.snap +15 -3
- package/src/components/table/__tests__/__snapshots__/CTableBody.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableDataCell.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableFoot.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableHead.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableHeaderCell.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableRow.spec.ts.snap +2 -2
- package/src/components/table/types.ts +20 -0
- package/src/components/table/utils.ts +24 -0
- package/src/components/tabs/CTabPane.ts +1 -2
- package/src/components/tabs/__tests__/__snapshots__/CTabContent.spec.ts.snap +1 -1
- package/src/components/tabs/__tests__/__snapshots__/CTabPane.spec.ts.snap +4 -4
- package/src/components/toast/CToast.ts +48 -83
- package/src/components/toast/CToastClose.ts +1 -5
- package/src/components/toast/CToastHeader.ts +1 -4
- package/src/components/toast/CToaster.ts +0 -2
- package/src/components/toast/__tests__/CToast.spec.ts +3 -1
- package/src/components/toast/__tests__/__snapshots__/CToast.spec.ts.snap +4 -4
- package/src/components/toast/__tests__/__snapshots__/CToastBody.spec.ts.snap +1 -1
- package/src/components/toast/__tests__/__snapshots__/CToastClose.spec.ts.snap +2 -2
- package/src/components/toast/__tests__/__snapshots__/CToastHeader.spec.ts.snap +2 -2
- package/src/components/toast/__tests__/__snapshots__/CToaster.spec.ts.snap +2 -2
- package/src/components/tooltip/CTooltip.ts +2 -9
- package/src/components/widgets/CWidgetStatsA.ts +3 -12
- package/src/components/widgets/CWidgetStatsB.ts +8 -20
- package/src/components/widgets/CWidgetStatsC.ts +5 -14
- package/src/components/widgets/CWidgetStatsD.ts +4 -4
- package/src/components/widgets/CWidgetStatsE.ts +3 -8
- package/src/components/widgets/CWidgetStatsF.ts +6 -14
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsA.spec.ts.snap +3 -3
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsB.spec.ts.snap +6 -6
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsC.spec.ts.snap +7 -7
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsD.spec.ts.snap +10 -10
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsE.spec.ts.snap +4 -4
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsF.spec.ts.snap +6 -6
- package/src/props.ts +88 -0
- package/src/types.ts +54 -0
package/dist/index.es.js
CHANGED
|
@@ -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,7 +1868,6 @@ 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 }) {
|
|
@@ -2016,7 +1909,7 @@ const CCarousel = defineComponent({
|
|
|
2016
1909
|
const nextItemWhenVisible = () => {
|
|
2017
1910
|
// Don't call next when the page isn't visible
|
|
2018
1911
|
// or the carousel or its parent isn't visible
|
|
2019
|
-
if (!document.hidden && isInViewport(carouselRef.value)) {
|
|
1912
|
+
if (!document.hidden && carouselRef.value && isInViewport(carouselRef.value)) {
|
|
2020
1913
|
handleControlClick('next');
|
|
2021
1914
|
}
|
|
2022
1915
|
};
|
|
@@ -2035,7 +1928,7 @@ const CCarousel = defineComponent({
|
|
|
2035
1928
|
}
|
|
2036
1929
|
};
|
|
2037
1930
|
const handleScroll = () => {
|
|
2038
|
-
if (!document.hidden && isInViewport(carouselRef.value)) {
|
|
1931
|
+
if (!document.hidden && carouselRef.value && isInViewport(carouselRef.value)) {
|
|
2039
1932
|
visible.value = true;
|
|
2040
1933
|
}
|
|
2041
1934
|
else {
|
|
@@ -2145,7 +2038,6 @@ const CCarouselItem = defineComponent({
|
|
|
2145
2038
|
direction: {
|
|
2146
2039
|
type: String,
|
|
2147
2040
|
default: 'next',
|
|
2148
|
-
required: false,
|
|
2149
2041
|
},
|
|
2150
2042
|
/**
|
|
2151
2043
|
* The amount of time to delay between automatically cycling an item.
|
|
@@ -2153,7 +2045,6 @@ const CCarouselItem = defineComponent({
|
|
|
2153
2045
|
interval: {
|
|
2154
2046
|
type: [Boolean, Number],
|
|
2155
2047
|
default: false,
|
|
2156
|
-
required: false,
|
|
2157
2048
|
},
|
|
2158
2049
|
},
|
|
2159
2050
|
setup(props, { slots }) {
|
|
@@ -2215,12 +2106,6 @@ const CCarouselPlugin = {
|
|
|
2215
2106
|
},
|
|
2216
2107
|
};
|
|
2217
2108
|
|
|
2218
|
-
const CCloseButtonPlugin = {
|
|
2219
|
-
install: (app) => {
|
|
2220
|
-
app.component(CCloseButton.name, CCloseButton);
|
|
2221
|
-
},
|
|
2222
|
-
};
|
|
2223
|
-
|
|
2224
2109
|
const CCollapsePlugin = {
|
|
2225
2110
|
install: (app) => {
|
|
2226
2111
|
app.component(CCollapse.name, CCollapse);
|
|
@@ -4588,10 +4473,7 @@ const CForm = defineComponent({
|
|
|
4588
4473
|
/**
|
|
4589
4474
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.
|
|
4590
4475
|
*/
|
|
4591
|
-
validated:
|
|
4592
|
-
type: Boolean,
|
|
4593
|
-
required: false,
|
|
4594
|
-
},
|
|
4476
|
+
validated: Boolean,
|
|
4595
4477
|
},
|
|
4596
4478
|
setup(props, { slots }) {
|
|
4597
4479
|
return () => h$1('form', { class: [{ ['was-validated']: props.validated }] }, slots.default && slots.default());
|
|
@@ -4606,7 +4488,6 @@ const CFormFeedback = defineComponent({
|
|
|
4606
4488
|
*/
|
|
4607
4489
|
component: {
|
|
4608
4490
|
type: String,
|
|
4609
|
-
required: false,
|
|
4610
4491
|
default: 'div',
|
|
4611
4492
|
},
|
|
4612
4493
|
/**
|
|
@@ -4641,33 +4522,25 @@ const CFormControlValidation = defineComponent({
|
|
|
4641
4522
|
/**
|
|
4642
4523
|
* @ignore
|
|
4643
4524
|
*/
|
|
4644
|
-
describedby:
|
|
4645
|
-
type: String,
|
|
4646
|
-
},
|
|
4525
|
+
describedby: String,
|
|
4647
4526
|
/**
|
|
4648
4527
|
* Provide valuable, actionable feedback.
|
|
4649
4528
|
*
|
|
4650
4529
|
* @since 4.3.0
|
|
4651
4530
|
*/
|
|
4652
|
-
feedback:
|
|
4653
|
-
type: String,
|
|
4654
|
-
},
|
|
4531
|
+
feedback: String,
|
|
4655
4532
|
/**
|
|
4656
4533
|
* Provide valuable, actionable feedback.
|
|
4657
4534
|
*
|
|
4658
4535
|
* @since 4.3.0
|
|
4659
4536
|
*/
|
|
4660
|
-
feedbackInvalid:
|
|
4661
|
-
type: String,
|
|
4662
|
-
},
|
|
4537
|
+
feedbackInvalid: String,
|
|
4663
4538
|
/**
|
|
4664
4539
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4665
4540
|
*
|
|
4666
4541
|
* @since 4.3.0
|
|
4667
4542
|
*/
|
|
4668
|
-
feedbackValid:
|
|
4669
|
-
type: String,
|
|
4670
|
-
},
|
|
4543
|
+
feedbackValid: String,
|
|
4671
4544
|
/**
|
|
4672
4545
|
* Set component validation state to invalid.
|
|
4673
4546
|
*/
|
|
@@ -4720,11 +4593,7 @@ const CFormLabel = defineComponent({
|
|
|
4720
4593
|
/**
|
|
4721
4594
|
* A string of all className you want to be applied to the component, and override standard className value.
|
|
4722
4595
|
*/
|
|
4723
|
-
customClassName:
|
|
4724
|
-
type: [Array, String],
|
|
4725
|
-
default: undefined,
|
|
4726
|
-
required: false,
|
|
4727
|
-
},
|
|
4596
|
+
customClassName: [Array, String],
|
|
4728
4597
|
},
|
|
4729
4598
|
setup(props, { slots }) {
|
|
4730
4599
|
return () => h$1('label', {
|
|
@@ -4742,33 +4611,25 @@ const CFormCheck = defineComponent({
|
|
|
4742
4611
|
*
|
|
4743
4612
|
* @see http://coreui.io/vue/docs/components/button.html
|
|
4744
4613
|
*/
|
|
4745
|
-
button:
|
|
4746
|
-
type: Object,
|
|
4747
|
-
},
|
|
4614
|
+
button: Object,
|
|
4748
4615
|
/**
|
|
4749
4616
|
* Provide valuable, actionable feedback.
|
|
4750
4617
|
*
|
|
4751
4618
|
* @since 4.3.0
|
|
4752
4619
|
*/
|
|
4753
|
-
feedback:
|
|
4754
|
-
type: String,
|
|
4755
|
-
},
|
|
4620
|
+
feedback: String,
|
|
4756
4621
|
/**
|
|
4757
4622
|
* Provide valuable, actionable feedback.
|
|
4758
4623
|
*
|
|
4759
4624
|
* @since 4.3.0
|
|
4760
4625
|
*/
|
|
4761
|
-
feedbackInvalid:
|
|
4762
|
-
type: String,
|
|
4763
|
-
},
|
|
4626
|
+
feedbackInvalid: String,
|
|
4764
4627
|
/**
|
|
4765
4628
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4766
4629
|
*
|
|
4767
4630
|
* @since 4.3.0
|
|
4768
4631
|
*/
|
|
4769
|
-
feedbackValid:
|
|
4770
|
-
type: String,
|
|
4771
|
-
},
|
|
4632
|
+
feedbackValid: String,
|
|
4772
4633
|
/**
|
|
4773
4634
|
* Sets hit area to the full area of the component.
|
|
4774
4635
|
*/
|
|
@@ -4782,9 +4643,7 @@ const CFormCheck = defineComponent({
|
|
|
4782
4643
|
/**
|
|
4783
4644
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
4784
4645
|
*/
|
|
4785
|
-
id:
|
|
4786
|
-
type: String,
|
|
4787
|
-
},
|
|
4646
|
+
id: String,
|
|
4788
4647
|
/**
|
|
4789
4648
|
* Input Checkbox indeterminate Property
|
|
4790
4649
|
*/
|
|
@@ -4792,9 +4651,7 @@ const CFormCheck = defineComponent({
|
|
|
4792
4651
|
/**
|
|
4793
4652
|
* Group checkboxes or radios on the same horizontal row by adding.
|
|
4794
4653
|
*/
|
|
4795
|
-
inline:
|
|
4796
|
-
type: Boolean,
|
|
4797
|
-
},
|
|
4654
|
+
inline: Boolean,
|
|
4798
4655
|
/**
|
|
4799
4656
|
* Set component validation state to invalid.
|
|
4800
4657
|
*/
|
|
@@ -4802,9 +4659,7 @@ const CFormCheck = defineComponent({
|
|
|
4802
4659
|
/**
|
|
4803
4660
|
* The element represents a caption for a component.
|
|
4804
4661
|
*/
|
|
4805
|
-
label:
|
|
4806
|
-
type: String,
|
|
4807
|
-
},
|
|
4662
|
+
label: String,
|
|
4808
4663
|
/**
|
|
4809
4664
|
* The default name for a value passed using v-model.
|
|
4810
4665
|
*/
|
|
@@ -4815,7 +4670,7 @@ const CFormCheck = defineComponent({
|
|
|
4815
4670
|
/**
|
|
4816
4671
|
* Put checkboxes or radios on the opposite side.
|
|
4817
4672
|
*
|
|
4818
|
-
* @
|
|
4673
|
+
* @since 4.8.0
|
|
4819
4674
|
*/
|
|
4820
4675
|
reverse: Boolean,
|
|
4821
4676
|
/**
|
|
@@ -4836,9 +4691,7 @@ const CFormCheck = defineComponent({
|
|
|
4836
4691
|
/**
|
|
4837
4692
|
* Set component validation state to valid.
|
|
4838
4693
|
*/
|
|
4839
|
-
valid:
|
|
4840
|
-
type: Boolean,
|
|
4841
|
-
},
|
|
4694
|
+
valid: Boolean,
|
|
4842
4695
|
},
|
|
4843
4696
|
emits: [
|
|
4844
4697
|
/**
|
|
@@ -4942,7 +4795,6 @@ const CFormText = defineComponent({
|
|
|
4942
4795
|
*/
|
|
4943
4796
|
component: {
|
|
4944
4797
|
type: String,
|
|
4945
|
-
required: false,
|
|
4946
4798
|
default: 'div',
|
|
4947
4799
|
},
|
|
4948
4800
|
},
|
|
@@ -4961,31 +4813,23 @@ const CFormControlWrapper = defineComponent({
|
|
|
4961
4813
|
*
|
|
4962
4814
|
* @since 4.3.0
|
|
4963
4815
|
*/
|
|
4964
|
-
floatingLabel:
|
|
4965
|
-
type: String,
|
|
4966
|
-
},
|
|
4816
|
+
floatingLabel: String,
|
|
4967
4817
|
/**
|
|
4968
4818
|
* @ignore
|
|
4969
4819
|
*/
|
|
4970
|
-
id:
|
|
4971
|
-
type: String,
|
|
4972
|
-
},
|
|
4820
|
+
id: String,
|
|
4973
4821
|
/**
|
|
4974
4822
|
* Add a caption for a component.
|
|
4975
4823
|
*
|
|
4976
4824
|
* @since 4.3.0
|
|
4977
4825
|
*/
|
|
4978
|
-
label:
|
|
4979
|
-
type: String,
|
|
4980
|
-
},
|
|
4826
|
+
label: String,
|
|
4981
4827
|
/**
|
|
4982
4828
|
* Add helper text to the component.
|
|
4983
4829
|
*
|
|
4984
4830
|
* @since 4.3.0
|
|
4985
4831
|
*/
|
|
4986
|
-
text:
|
|
4987
|
-
type: String,
|
|
4988
|
-
},
|
|
4832
|
+
text: String,
|
|
4989
4833
|
},
|
|
4990
4834
|
setup(props, { slots }) {
|
|
4991
4835
|
const formControlValidation = () => h$1(CFormControlValidation, {
|
|
@@ -5049,49 +4893,36 @@ const CFormInput = defineComponent({
|
|
|
5049
4893
|
/**
|
|
5050
4894
|
* Toggle the disabled state for the component.
|
|
5051
4895
|
*/
|
|
5052
|
-
disabled:
|
|
5053
|
-
type: Boolean,
|
|
5054
|
-
required: false,
|
|
5055
|
-
},
|
|
4896
|
+
disabled: Boolean,
|
|
5056
4897
|
// Inherited Props from CFormControlWrapper
|
|
5057
4898
|
/**
|
|
5058
4899
|
* Provide valuable, actionable feedback.
|
|
5059
4900
|
*
|
|
5060
4901
|
* @since 4.3.0
|
|
5061
4902
|
*/
|
|
5062
|
-
feedback:
|
|
5063
|
-
type: String,
|
|
5064
|
-
},
|
|
4903
|
+
feedback: String,
|
|
5065
4904
|
/**
|
|
5066
4905
|
* Provide valuable, actionable feedback.
|
|
5067
4906
|
*
|
|
5068
4907
|
* @since 4.3.0
|
|
5069
4908
|
*/
|
|
5070
|
-
feedbackInvalid:
|
|
5071
|
-
type: String,
|
|
5072
|
-
},
|
|
4909
|
+
feedbackInvalid: String,
|
|
5073
4910
|
/**
|
|
5074
4911
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5075
4912
|
*
|
|
5076
4913
|
* @since 4.3.0
|
|
5077
4914
|
*/
|
|
5078
|
-
feedbackValid:
|
|
5079
|
-
type: String,
|
|
5080
|
-
},
|
|
4915
|
+
feedbackValid: String,
|
|
5081
4916
|
/**
|
|
5082
4917
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5083
4918
|
*
|
|
5084
4919
|
* @since 4.3.0
|
|
5085
4920
|
*/
|
|
5086
|
-
floatingLabel:
|
|
5087
|
-
type: String,
|
|
5088
|
-
},
|
|
4921
|
+
floatingLabel: String,
|
|
5089
4922
|
/**
|
|
5090
4923
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5091
4924
|
*/
|
|
5092
|
-
id:
|
|
5093
|
-
type: String,
|
|
5094
|
-
},
|
|
4925
|
+
id: String,
|
|
5095
4926
|
/**
|
|
5096
4927
|
* Set component validation state to invalid.
|
|
5097
4928
|
*/
|
|
@@ -5101,30 +4932,19 @@ const CFormInput = defineComponent({
|
|
|
5101
4932
|
*
|
|
5102
4933
|
* @since 4.3.0
|
|
5103
4934
|
*/
|
|
5104
|
-
label:
|
|
5105
|
-
type: String,
|
|
5106
|
-
},
|
|
4935
|
+
label: String,
|
|
5107
4936
|
/**
|
|
5108
4937
|
* The default name for a value passed using v-model.
|
|
5109
4938
|
*/
|
|
5110
|
-
modelValue:
|
|
5111
|
-
type: [File, Number, String],
|
|
5112
|
-
default: undefined,
|
|
5113
|
-
},
|
|
4939
|
+
modelValue: [File, Number, String],
|
|
5114
4940
|
/**
|
|
5115
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`.
|
|
5116
4942
|
*/
|
|
5117
|
-
plainText:
|
|
5118
|
-
type: Boolean,
|
|
5119
|
-
required: false,
|
|
5120
|
-
},
|
|
4943
|
+
plainText: Boolean,
|
|
5121
4944
|
/**
|
|
5122
4945
|
* Toggle the readonly state for the component.
|
|
5123
4946
|
*/
|
|
5124
|
-
readonly:
|
|
5125
|
-
type: Boolean,
|
|
5126
|
-
required: false,
|
|
5127
|
-
},
|
|
4947
|
+
readonly: Boolean,
|
|
5128
4948
|
/**
|
|
5129
4949
|
* Size the component small or large.
|
|
5130
4950
|
*
|
|
@@ -5141,9 +4961,7 @@ const CFormInput = defineComponent({
|
|
|
5141
4961
|
*
|
|
5142
4962
|
* @since 4.3.0
|
|
5143
4963
|
*/
|
|
5144
|
-
text:
|
|
5145
|
-
type: String,
|
|
5146
|
-
},
|
|
4964
|
+
text: String,
|
|
5147
4965
|
/**
|
|
5148
4966
|
* Display validation feedback in a styled tooltip.
|
|
5149
4967
|
*
|
|
@@ -5241,61 +5059,39 @@ const CFormRange = defineComponent({
|
|
|
5241
5059
|
/**
|
|
5242
5060
|
* Toggle the disabled state for the component.
|
|
5243
5061
|
*/
|
|
5244
|
-
disabled:
|
|
5245
|
-
type: Boolean,
|
|
5246
|
-
default: undefined,
|
|
5247
|
-
},
|
|
5062
|
+
disabled: Boolean,
|
|
5248
5063
|
/**
|
|
5249
5064
|
* Add a caption for a component.
|
|
5250
5065
|
*
|
|
5251
5066
|
* @since 4.3.0
|
|
5252
5067
|
*/
|
|
5253
|
-
label:
|
|
5254
|
-
type: String,
|
|
5255
|
-
},
|
|
5068
|
+
label: String,
|
|
5256
5069
|
/**
|
|
5257
5070
|
* Specifies the maximum value for the component.
|
|
5258
5071
|
*/
|
|
5259
|
-
max:
|
|
5260
|
-
type: Number,
|
|
5261
|
-
default: undefined,
|
|
5262
|
-
},
|
|
5072
|
+
max: Number,
|
|
5263
5073
|
/**
|
|
5264
5074
|
* Specifies the minimum value for the component.
|
|
5265
5075
|
*/
|
|
5266
|
-
min:
|
|
5267
|
-
type: Number,
|
|
5268
|
-
default: undefined,
|
|
5269
|
-
},
|
|
5076
|
+
min: Number,
|
|
5270
5077
|
/**
|
|
5271
5078
|
* The default name for a value passed using v-model.
|
|
5272
5079
|
*/
|
|
5273
|
-
modelValue:
|
|
5274
|
-
type: String,
|
|
5275
|
-
value: undefined,
|
|
5276
|
-
},
|
|
5080
|
+
modelValue: String,
|
|
5277
5081
|
/**
|
|
5278
5082
|
* Toggle the readonly state for the component.
|
|
5279
5083
|
*/
|
|
5280
|
-
readonly:
|
|
5281
|
-
type: Boolean,
|
|
5282
|
-
},
|
|
5084
|
+
readonly: Boolean,
|
|
5283
5085
|
/**
|
|
5284
5086
|
* Specifies the interval between legal numbers in the component.
|
|
5285
5087
|
*/
|
|
5286
|
-
steps:
|
|
5287
|
-
type: Number,
|
|
5288
|
-
default: undefined,
|
|
5289
|
-
},
|
|
5088
|
+
steps: Number,
|
|
5290
5089
|
/**
|
|
5291
5090
|
* The `value` attribute of component.
|
|
5292
5091
|
*
|
|
5293
5092
|
* @controllable onChange
|
|
5294
5093
|
* */
|
|
5295
|
-
value:
|
|
5296
|
-
type: Number,
|
|
5297
|
-
default: undefined,
|
|
5298
|
-
},
|
|
5094
|
+
value: Number,
|
|
5299
5095
|
},
|
|
5300
5096
|
emits: [
|
|
5301
5097
|
/**
|
|
@@ -5344,47 +5140,33 @@ const CFormSelect = defineComponent({
|
|
|
5344
5140
|
*
|
|
5345
5141
|
* @since 4.3.0
|
|
5346
5142
|
*/
|
|
5347
|
-
feedback:
|
|
5348
|
-
type: String,
|
|
5349
|
-
},
|
|
5143
|
+
feedback: String,
|
|
5350
5144
|
/**
|
|
5351
5145
|
* Provide valuable, actionable feedback.
|
|
5352
5146
|
*
|
|
5353
5147
|
* @since 4.3.0
|
|
5354
5148
|
*/
|
|
5355
|
-
feedbackInvalid:
|
|
5356
|
-
type: String,
|
|
5357
|
-
},
|
|
5149
|
+
feedbackInvalid: String,
|
|
5358
5150
|
/**
|
|
5359
5151
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5360
5152
|
*
|
|
5361
5153
|
* @since 4.3.0
|
|
5362
5154
|
*/
|
|
5363
|
-
feedbackValid:
|
|
5364
|
-
type: String,
|
|
5365
|
-
},
|
|
5155
|
+
feedbackValid: String,
|
|
5366
5156
|
/**
|
|
5367
5157
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5368
5158
|
*
|
|
5369
5159
|
* @since 4.3.0
|
|
5370
5160
|
*/
|
|
5371
|
-
floatingLabel:
|
|
5372
|
-
type: String,
|
|
5373
|
-
},
|
|
5161
|
+
floatingLabel: String,
|
|
5374
5162
|
/**
|
|
5375
5163
|
* Specifies the number of visible options in a drop-down list.
|
|
5376
5164
|
*/
|
|
5377
|
-
htmlSize:
|
|
5378
|
-
type: Number,
|
|
5379
|
-
default: undefined,
|
|
5380
|
-
required: false,
|
|
5381
|
-
},
|
|
5165
|
+
htmlSize: Number,
|
|
5382
5166
|
/**
|
|
5383
5167
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5384
5168
|
*/
|
|
5385
|
-
id:
|
|
5386
|
-
type: String,
|
|
5387
|
-
},
|
|
5169
|
+
id: String,
|
|
5388
5170
|
/**
|
|
5389
5171
|
* Set component validation state to invalid.
|
|
5390
5172
|
*/
|
|
@@ -5394,32 +5176,21 @@ const CFormSelect = defineComponent({
|
|
|
5394
5176
|
*
|
|
5395
5177
|
* @since 4.3.0
|
|
5396
5178
|
*/
|
|
5397
|
-
label:
|
|
5398
|
-
type: String,
|
|
5399
|
-
},
|
|
5179
|
+
label: String,
|
|
5400
5180
|
/**
|
|
5401
5181
|
* The default name for a value passed using v-model.
|
|
5402
5182
|
*/
|
|
5403
5183
|
modelValue: {
|
|
5404
5184
|
type: [String, Array],
|
|
5405
|
-
default: undefined,
|
|
5406
|
-
require: false,
|
|
5407
|
-
},
|
|
5408
|
-
multiple: {
|
|
5409
|
-
type: Boolean,
|
|
5410
|
-
required: false,
|
|
5411
5185
|
},
|
|
5186
|
+
multiple: Boolean,
|
|
5412
5187
|
/**
|
|
5413
5188
|
* Options list of the select component. Available keys: `label`, `value`, `disabled`.
|
|
5414
5189
|
* Examples:
|
|
5415
5190
|
* - `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`
|
|
5416
5191
|
* - `:options="['js', 'html']"`
|
|
5417
5192
|
*/
|
|
5418
|
-
options:
|
|
5419
|
-
type: Array,
|
|
5420
|
-
default: undefined,
|
|
5421
|
-
required: false,
|
|
5422
|
-
},
|
|
5193
|
+
options: Array,
|
|
5423
5194
|
/**
|
|
5424
5195
|
* Size the component small or large.
|
|
5425
5196
|
*
|
|
@@ -5427,8 +5198,6 @@ const CFormSelect = defineComponent({
|
|
|
5427
5198
|
*/
|
|
5428
5199
|
size: {
|
|
5429
5200
|
type: String,
|
|
5430
|
-
default: undefined,
|
|
5431
|
-
require: false,
|
|
5432
5201
|
validator: (value) => {
|
|
5433
5202
|
return ['sm', 'lg'].includes(value);
|
|
5434
5203
|
},
|
|
@@ -5438,9 +5207,7 @@ const CFormSelect = defineComponent({
|
|
|
5438
5207
|
*
|
|
5439
5208
|
* @since 4.3.0
|
|
5440
5209
|
*/
|
|
5441
|
-
text:
|
|
5442
|
-
type: String,
|
|
5443
|
-
},
|
|
5210
|
+
text: String,
|
|
5444
5211
|
/**
|
|
5445
5212
|
* Display validation feedback in a styled tooltip.
|
|
5446
5213
|
*
|
|
@@ -5536,32 +5303,23 @@ const CFormSwitch = defineComponent({
|
|
|
5536
5303
|
/**
|
|
5537
5304
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document
|
|
5538
5305
|
*/
|
|
5539
|
-
id:
|
|
5540
|
-
type: String,
|
|
5541
|
-
},
|
|
5306
|
+
id: String,
|
|
5542
5307
|
/**
|
|
5543
5308
|
* Set component validation state to invalid.
|
|
5544
5309
|
*/
|
|
5545
|
-
invalid:
|
|
5546
|
-
type: Boolean,
|
|
5547
|
-
},
|
|
5310
|
+
invalid: Boolean,
|
|
5548
5311
|
/**
|
|
5549
5312
|
* The element represents a caption for a component.
|
|
5550
5313
|
*/
|
|
5551
|
-
label:
|
|
5552
|
-
type: String,
|
|
5553
|
-
},
|
|
5314
|
+
label: String,
|
|
5554
5315
|
/**
|
|
5555
5316
|
* The default name for a value passed using v-model.
|
|
5556
5317
|
*/
|
|
5557
|
-
modelValue:
|
|
5558
|
-
type: [Boolean, String],
|
|
5559
|
-
value: undefined,
|
|
5560
|
-
},
|
|
5318
|
+
modelValue: [Boolean, String],
|
|
5561
5319
|
/**
|
|
5562
5320
|
* Put checkboxes or radios on the opposite side.
|
|
5563
5321
|
*
|
|
5564
|
-
* @
|
|
5322
|
+
* @since 4.8.0
|
|
5565
5323
|
*/
|
|
5566
5324
|
reverse: Boolean,
|
|
5567
5325
|
/**
|
|
@@ -5587,9 +5345,7 @@ const CFormSwitch = defineComponent({
|
|
|
5587
5345
|
/**
|
|
5588
5346
|
* Set component validation state to valid.
|
|
5589
5347
|
*/
|
|
5590
|
-
valid:
|
|
5591
|
-
type: Boolean,
|
|
5592
|
-
},
|
|
5348
|
+
valid: Boolean,
|
|
5593
5349
|
},
|
|
5594
5350
|
emits: [
|
|
5595
5351
|
/**
|
|
@@ -5649,47 +5405,35 @@ const CFormTextarea = defineComponent({
|
|
|
5649
5405
|
/**
|
|
5650
5406
|
* Toggle the disabled state for the component.
|
|
5651
5407
|
*/
|
|
5652
|
-
disabled:
|
|
5653
|
-
type: Boolean,
|
|
5654
|
-
},
|
|
5408
|
+
disabled: Boolean,
|
|
5655
5409
|
/**
|
|
5656
5410
|
* Provide valuable, actionable feedback.
|
|
5657
5411
|
*
|
|
5658
5412
|
* @since 4.3.0
|
|
5659
5413
|
*/
|
|
5660
|
-
feedback:
|
|
5661
|
-
type: String,
|
|
5662
|
-
},
|
|
5414
|
+
feedback: String,
|
|
5663
5415
|
/**
|
|
5664
5416
|
* Provide valuable, actionable feedback.
|
|
5665
5417
|
*
|
|
5666
5418
|
* @since 4.3.0
|
|
5667
5419
|
*/
|
|
5668
|
-
feedbackInvalid:
|
|
5669
|
-
type: String,
|
|
5670
|
-
},
|
|
5420
|
+
feedbackInvalid: String,
|
|
5671
5421
|
/**
|
|
5672
5422
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5673
5423
|
*
|
|
5674
5424
|
* @since 4.3.0
|
|
5675
5425
|
*/
|
|
5676
|
-
feedbackValid:
|
|
5677
|
-
type: String,
|
|
5678
|
-
},
|
|
5426
|
+
feedbackValid: String,
|
|
5679
5427
|
/**
|
|
5680
5428
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5681
5429
|
*
|
|
5682
5430
|
* @since 4.3.0
|
|
5683
5431
|
*/
|
|
5684
|
-
floatingLabel:
|
|
5685
|
-
type: String,
|
|
5686
|
-
},
|
|
5432
|
+
floatingLabel: String,
|
|
5687
5433
|
/**
|
|
5688
5434
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5689
5435
|
*/
|
|
5690
|
-
id:
|
|
5691
|
-
type: String,
|
|
5692
|
-
},
|
|
5436
|
+
id: String,
|
|
5693
5437
|
/**
|
|
5694
5438
|
* Set component validation state to invalid.
|
|
5695
5439
|
*/
|
|
@@ -5699,36 +5443,25 @@ const CFormTextarea = defineComponent({
|
|
|
5699
5443
|
*
|
|
5700
5444
|
* @since 4.3.0
|
|
5701
5445
|
*/
|
|
5702
|
-
label:
|
|
5703
|
-
type: String,
|
|
5704
|
-
},
|
|
5446
|
+
label: String,
|
|
5705
5447
|
/**
|
|
5706
5448
|
* The default name for a value passed using v-model.
|
|
5707
5449
|
*/
|
|
5708
|
-
modelValue:
|
|
5709
|
-
type: String,
|
|
5710
|
-
default: undefined,
|
|
5711
|
-
},
|
|
5450
|
+
modelValue: String,
|
|
5712
5451
|
/**
|
|
5713
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`.
|
|
5714
5453
|
*/
|
|
5715
|
-
plainText:
|
|
5716
|
-
type: Boolean,
|
|
5717
|
-
},
|
|
5454
|
+
plainText: Boolean,
|
|
5718
5455
|
/**
|
|
5719
5456
|
* Toggle the readonly state for the component.
|
|
5720
5457
|
*/
|
|
5721
|
-
readonly:
|
|
5722
|
-
type: Boolean,
|
|
5723
|
-
},
|
|
5458
|
+
readonly: Boolean,
|
|
5724
5459
|
/**
|
|
5725
5460
|
* Add helper text to the component.
|
|
5726
5461
|
*
|
|
5727
5462
|
* @since 4.3.0
|
|
5728
5463
|
*/
|
|
5729
|
-
text:
|
|
5730
|
-
type: String,
|
|
5731
|
-
},
|
|
5464
|
+
text: String,
|
|
5732
5465
|
/**
|
|
5733
5466
|
* Display validation feedback in a styled tooltip.
|
|
5734
5467
|
*
|
|
@@ -5817,8 +5550,6 @@ const CInputGroup = defineComponent({
|
|
|
5817
5550
|
*/
|
|
5818
5551
|
size: {
|
|
5819
5552
|
type: String,
|
|
5820
|
-
default: undefined,
|
|
5821
|
-
required: false,
|
|
5822
5553
|
validator: (value) => {
|
|
5823
5554
|
return ['sm', 'lg'].includes(value);
|
|
5824
5555
|
},
|
|
@@ -5844,7 +5575,6 @@ const CInputGroupText = defineComponent({
|
|
|
5844
5575
|
*/
|
|
5845
5576
|
component: {
|
|
5846
5577
|
type: String,
|
|
5847
|
-
required: false,
|
|
5848
5578
|
default: 'span',
|
|
5849
5579
|
},
|
|
5850
5580
|
},
|
|
@@ -6035,7 +5765,7 @@ var round = Math.round;
|
|
|
6035
5765
|
function getUAString() {
|
|
6036
5766
|
var uaData = navigator.userAgentData;
|
|
6037
5767
|
|
|
6038
|
-
if (uaData != null && uaData.brands) {
|
|
5768
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
6039
5769
|
return uaData.brands.map(function (item) {
|
|
6040
5770
|
return item.brand + "/" + item.version;
|
|
6041
5771
|
}).join(' ');
|
|
@@ -6363,10 +6093,9 @@ var unsetSides = {
|
|
|
6363
6093
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
6364
6094
|
// cleanly divide the values into the appropriate subpixels.
|
|
6365
6095
|
|
|
6366
|
-
function roundOffsetsByDPR(_ref) {
|
|
6096
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
6367
6097
|
var x = _ref.x,
|
|
6368
6098
|
y = _ref.y;
|
|
6369
|
-
var win = window;
|
|
6370
6099
|
var dpr = win.devicePixelRatio || 1;
|
|
6371
6100
|
return {
|
|
6372
6101
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -6449,7 +6178,7 @@ function mapToStyles(_ref2) {
|
|
|
6449
6178
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
6450
6179
|
x: x,
|
|
6451
6180
|
y: y
|
|
6452
|
-
}) : {
|
|
6181
|
+
}, getWindow(popper)) : {
|
|
6453
6182
|
x: x,
|
|
6454
6183
|
y: y
|
|
6455
6184
|
};
|
|
@@ -7856,8 +7585,6 @@ const CDropdown = defineComponent({
|
|
|
7856
7585
|
*/
|
|
7857
7586
|
alignment: {
|
|
7858
7587
|
type: [String, Object],
|
|
7859
|
-
default: undefined,
|
|
7860
|
-
required: false,
|
|
7861
7588
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7862
7589
|
validator: (value) => {
|
|
7863
7590
|
if (value === 'start' || value === 'end') {
|
|
@@ -7903,10 +7630,7 @@ const CDropdown = defineComponent({
|
|
|
7903
7630
|
/**
|
|
7904
7631
|
* Sets a darker color scheme to match a dark navbar.
|
|
7905
7632
|
*/
|
|
7906
|
-
dark:
|
|
7907
|
-
type: Boolean,
|
|
7908
|
-
required: false,
|
|
7909
|
-
},
|
|
7633
|
+
dark: Boolean,
|
|
7910
7634
|
/**
|
|
7911
7635
|
* Sets a specified direction and location of the dropdown menu.
|
|
7912
7636
|
*
|
|
@@ -7914,8 +7638,6 @@ const CDropdown = defineComponent({
|
|
|
7914
7638
|
*/
|
|
7915
7639
|
direction: {
|
|
7916
7640
|
type: String,
|
|
7917
|
-
default: undefined,
|
|
7918
|
-
required: false,
|
|
7919
7641
|
validator: (value) => {
|
|
7920
7642
|
return ['center', 'dropup', 'dropup-center', 'dropend', 'dropstart'].includes(value);
|
|
7921
7643
|
},
|
|
@@ -7923,10 +7645,7 @@ const CDropdown = defineComponent({
|
|
|
7923
7645
|
/**
|
|
7924
7646
|
* Toggle the disabled state for the component.
|
|
7925
7647
|
*/
|
|
7926
|
-
disabled:
|
|
7927
|
-
type: Boolean,
|
|
7928
|
-
required: false,
|
|
7929
|
-
},
|
|
7648
|
+
disabled: Boolean,
|
|
7930
7649
|
/**
|
|
7931
7650
|
* 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.
|
|
7932
7651
|
*
|
|
@@ -7935,7 +7654,6 @@ const CDropdown = defineComponent({
|
|
|
7935
7654
|
placement: {
|
|
7936
7655
|
type: String,
|
|
7937
7656
|
default: 'bottom-start',
|
|
7938
|
-
required: false,
|
|
7939
7657
|
},
|
|
7940
7658
|
/**
|
|
7941
7659
|
* If you want to disable dynamic positioning set this property to `true`.
|
|
@@ -7943,14 +7661,12 @@ const CDropdown = defineComponent({
|
|
|
7943
7661
|
popper: {
|
|
7944
7662
|
type: Boolean,
|
|
7945
7663
|
default: true,
|
|
7946
|
-
required: false,
|
|
7947
7664
|
},
|
|
7948
7665
|
/**
|
|
7949
7666
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
7950
7667
|
*/
|
|
7951
7668
|
trigger: {
|
|
7952
|
-
type:
|
|
7953
|
-
required: false,
|
|
7669
|
+
type: String,
|
|
7954
7670
|
default: 'click',
|
|
7955
7671
|
},
|
|
7956
7672
|
/**
|
|
@@ -7961,7 +7677,6 @@ const CDropdown = defineComponent({
|
|
|
7961
7677
|
variant: {
|
|
7962
7678
|
type: String,
|
|
7963
7679
|
default: 'btn-group',
|
|
7964
|
-
required: false,
|
|
7965
7680
|
validator: (value) => {
|
|
7966
7681
|
return ['btn-group', 'dropdown', 'input-group', 'nav-item'].includes(value);
|
|
7967
7682
|
},
|
|
@@ -7969,10 +7684,7 @@ const CDropdown = defineComponent({
|
|
|
7969
7684
|
/**
|
|
7970
7685
|
* Toggle the visibility of dropdown menu component.
|
|
7971
7686
|
*/
|
|
7972
|
-
visible:
|
|
7973
|
-
type: Boolean,
|
|
7974
|
-
required: false,
|
|
7975
|
-
},
|
|
7687
|
+
visible: Boolean,
|
|
7976
7688
|
},
|
|
7977
7689
|
emits: [
|
|
7978
7690
|
/**
|
|
@@ -8085,33 +7797,22 @@ const CDropdownItem = defineComponent({
|
|
|
8085
7797
|
/**
|
|
8086
7798
|
* Toggle the active state for the component.
|
|
8087
7799
|
*/
|
|
8088
|
-
active:
|
|
8089
|
-
type: Boolean,
|
|
8090
|
-
required: false,
|
|
8091
|
-
},
|
|
7800
|
+
active: Boolean,
|
|
8092
7801
|
/**
|
|
8093
7802
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8094
7803
|
*/
|
|
8095
7804
|
component: {
|
|
8096
7805
|
type: String,
|
|
8097
7806
|
default: 'a',
|
|
8098
|
-
required: false,
|
|
8099
7807
|
},
|
|
8100
7808
|
/**
|
|
8101
7809
|
* Toggle the disabled state for the component.
|
|
8102
7810
|
*/
|
|
8103
|
-
disabled:
|
|
8104
|
-
type: Boolean,
|
|
8105
|
-
required: false,
|
|
8106
|
-
},
|
|
7811
|
+
disabled: Boolean,
|
|
8107
7812
|
/**
|
|
8108
7813
|
* The href attribute specifies the URL of the page the link goes to.
|
|
8109
7814
|
*/
|
|
8110
|
-
href:
|
|
8111
|
-
type: String,
|
|
8112
|
-
default: undefined,
|
|
8113
|
-
required: false,
|
|
8114
|
-
},
|
|
7815
|
+
href: String,
|
|
8115
7816
|
},
|
|
8116
7817
|
setup(props, { slots }) {
|
|
8117
7818
|
return () => h$1(CLink, {
|
|
@@ -8135,7 +7836,6 @@ const CDropdownHeader = defineComponent({
|
|
|
8135
7836
|
component: {
|
|
8136
7837
|
type: String,
|
|
8137
7838
|
default: 'h6',
|
|
8138
|
-
required: false,
|
|
8139
7839
|
},
|
|
8140
7840
|
},
|
|
8141
7841
|
setup(props, { slots }) {
|
|
@@ -8165,7 +7865,6 @@ const CDropdownMenu = defineComponent({
|
|
|
8165
7865
|
component: {
|
|
8166
7866
|
type: String,
|
|
8167
7867
|
default: 'div',
|
|
8168
|
-
required: false,
|
|
8169
7868
|
},
|
|
8170
7869
|
},
|
|
8171
7870
|
setup(props, { slots }) {
|
|
@@ -8243,32 +7942,26 @@ const CDropdownToggle = defineComponent({
|
|
|
8243
7942
|
/**
|
|
8244
7943
|
* Toggle the active state for the component.
|
|
8245
7944
|
*/
|
|
8246
|
-
active:
|
|
8247
|
-
type: Boolean,
|
|
8248
|
-
default: false,
|
|
8249
|
-
required: false,
|
|
8250
|
-
},
|
|
7945
|
+
active: Boolean,
|
|
8251
7946
|
/**
|
|
8252
7947
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8253
7948
|
*
|
|
8254
7949
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
8255
7950
|
*/
|
|
8256
|
-
color: Color,
|
|
7951
|
+
color: Color$1,
|
|
8257
7952
|
/**
|
|
8258
7953
|
* Enables pseudo element caret on toggler.
|
|
8259
7954
|
*/
|
|
8260
7955
|
caret: {
|
|
8261
7956
|
type: Boolean,
|
|
8262
7957
|
default: true,
|
|
8263
|
-
required: false,
|
|
8264
7958
|
},
|
|
8265
7959
|
/**
|
|
8266
7960
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8267
7961
|
*/
|
|
8268
7962
|
component: {
|
|
8269
7963
|
type: String,
|
|
8270
|
-
default: 'button'
|
|
8271
|
-
require: false,
|
|
7964
|
+
default: 'button'
|
|
8272
7965
|
},
|
|
8273
7966
|
/**
|
|
8274
7967
|
* Create a custom toggler which accepts any content.
|
|
@@ -8277,10 +7970,7 @@ const CDropdownToggle = defineComponent({
|
|
|
8277
7970
|
/**
|
|
8278
7971
|
* Toggle the disabled state for the component.
|
|
8279
7972
|
*/
|
|
8280
|
-
disabled:
|
|
8281
|
-
type: Boolean,
|
|
8282
|
-
required: false,
|
|
8283
|
-
},
|
|
7973
|
+
disabled: Boolean,
|
|
8284
7974
|
/**
|
|
8285
7975
|
* @values 'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'
|
|
8286
7976
|
*/
|
|
@@ -8292,8 +7982,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8292
7982
|
*/
|
|
8293
7983
|
size: {
|
|
8294
7984
|
type: String,
|
|
8295
|
-
default: undefined,
|
|
8296
|
-
required: false,
|
|
8297
7985
|
validator: (value) => {
|
|
8298
7986
|
return ['sm', 'lg'].includes(value);
|
|
8299
7987
|
},
|
|
@@ -8301,10 +7989,7 @@ const CDropdownToggle = defineComponent({
|
|
|
8301
7989
|
/**
|
|
8302
7990
|
* 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.
|
|
8303
7991
|
*/
|
|
8304
|
-
split:
|
|
8305
|
-
type: Boolean,
|
|
8306
|
-
required: false,
|
|
8307
|
-
},
|
|
7992
|
+
split: Boolean,
|
|
8308
7993
|
/**
|
|
8309
7994
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
8310
7995
|
*
|
|
@@ -8313,7 +7998,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8313
7998
|
trigger: {
|
|
8314
7999
|
type: String,
|
|
8315
8000
|
default: 'click',
|
|
8316
|
-
required: false,
|
|
8317
8001
|
},
|
|
8318
8002
|
/**
|
|
8319
8003
|
* Set the button variant to an outlined button or a ghost button.
|
|
@@ -8322,8 +8006,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8322
8006
|
*/
|
|
8323
8007
|
variant: {
|
|
8324
8008
|
type: String,
|
|
8325
|
-
default: undefined,
|
|
8326
|
-
required: false,
|
|
8327
8009
|
validator: (value) => {
|
|
8328
8010
|
return ['ghost', 'outline'].includes(value);
|
|
8329
8011
|
},
|
|
@@ -8430,17 +8112,44 @@ const CDropdownPlugin = {
|
|
|
8430
8112
|
},
|
|
8431
8113
|
};
|
|
8432
8114
|
|
|
8433
|
-
const
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8115
|
+
const Color = {
|
|
8116
|
+
type: String,
|
|
8117
|
+
validator: (value) => {
|
|
8118
|
+
// The value must match one of these strings
|
|
8119
|
+
return [
|
|
8120
|
+
'primary',
|
|
8121
|
+
'secondary',
|
|
8122
|
+
'success',
|
|
8123
|
+
'danger',
|
|
8124
|
+
'warning',
|
|
8125
|
+
'info',
|
|
8126
|
+
'dark',
|
|
8127
|
+
'light',
|
|
8128
|
+
'link',
|
|
8129
|
+
'transparent',
|
|
8130
|
+
'primary-gradient',
|
|
8131
|
+
'secondary-gradient',
|
|
8132
|
+
'success-gradient',
|
|
8133
|
+
'danger-gradient',
|
|
8134
|
+
'warning-gradient',
|
|
8135
|
+
'info-gradient',
|
|
8136
|
+
'dark-gradient',
|
|
8137
|
+
'light-gradient',
|
|
8138
|
+
].includes(value);
|
|
8139
|
+
},
|
|
8140
|
+
};
|
|
8141
|
+
|
|
8142
|
+
const CPicker = defineComponent({
|
|
8143
|
+
name: 'CPicker',
|
|
8144
|
+
props: {
|
|
8145
|
+
...CDropdown.props,
|
|
8146
|
+
/**
|
|
8147
|
+
* Toggle visibility or set the content of cancel button.
|
|
8148
|
+
*/
|
|
8149
|
+
cancelButton: {
|
|
8150
|
+
type: [Boolean, String],
|
|
8151
|
+
default: 'Cancel',
|
|
8152
|
+
},
|
|
8444
8153
|
/**
|
|
8445
8154
|
* Sets the color context of the cancel button to one of CoreUI’s themed colors.
|
|
8446
8155
|
*
|
|
@@ -10335,8 +10044,6 @@ const CSpinner = defineComponent({
|
|
|
10335
10044
|
*/
|
|
10336
10045
|
color: {
|
|
10337
10046
|
type: String,
|
|
10338
|
-
default: undefined,
|
|
10339
|
-
required: false,
|
|
10340
10047
|
validator: (value) => {
|
|
10341
10048
|
return [
|
|
10342
10049
|
'primary',
|
|
@@ -10356,7 +10063,6 @@ const CSpinner = defineComponent({
|
|
|
10356
10063
|
component: {
|
|
10357
10064
|
type: String,
|
|
10358
10065
|
default: 'div',
|
|
10359
|
-
required: false,
|
|
10360
10066
|
},
|
|
10361
10067
|
/**
|
|
10362
10068
|
* Size the component small.
|
|
@@ -10365,8 +10071,6 @@ const CSpinner = defineComponent({
|
|
|
10365
10071
|
*/
|
|
10366
10072
|
size: {
|
|
10367
10073
|
type: String,
|
|
10368
|
-
default: undefined,
|
|
10369
|
-
required: false,
|
|
10370
10074
|
validator: (value) => {
|
|
10371
10075
|
return value === 'sm';
|
|
10372
10076
|
},
|
|
@@ -10379,7 +10083,6 @@ const CSpinner = defineComponent({
|
|
|
10379
10083
|
variant: {
|
|
10380
10084
|
type: String,
|
|
10381
10085
|
default: 'border',
|
|
10382
|
-
required: false,
|
|
10383
10086
|
validator: (value) => {
|
|
10384
10087
|
return ['border', 'grow'].includes(value);
|
|
10385
10088
|
},
|
|
@@ -10390,7 +10093,6 @@ const CSpinner = defineComponent({
|
|
|
10390
10093
|
visuallyHiddenLabel: {
|
|
10391
10094
|
type: String,
|
|
10392
10095
|
default: 'Loading...',
|
|
10393
|
-
required: false,
|
|
10394
10096
|
},
|
|
10395
10097
|
},
|
|
10396
10098
|
setup(props) {
|
|
@@ -10514,8 +10216,6 @@ const CFooter = defineComponent({
|
|
|
10514
10216
|
*/
|
|
10515
10217
|
position: {
|
|
10516
10218
|
type: String,
|
|
10517
|
-
default: undefined,
|
|
10518
|
-
required: false,
|
|
10519
10219
|
validator: (value) => {
|
|
10520
10220
|
return ['fixed', 'sticky'].includes(value);
|
|
10521
10221
|
},
|
|
@@ -10550,8 +10250,6 @@ const CCol = defineComponent({
|
|
|
10550
10250
|
*/
|
|
10551
10251
|
xs: {
|
|
10552
10252
|
type: [Boolean, Number, String, Object],
|
|
10553
|
-
default: undefined,
|
|
10554
|
-
require: false,
|
|
10555
10253
|
},
|
|
10556
10254
|
/**
|
|
10557
10255
|
* The number of columns/offset/order on small devices (<768px).
|
|
@@ -10560,8 +10258,6 @@ const CCol = defineComponent({
|
|
|
10560
10258
|
*/
|
|
10561
10259
|
sm: {
|
|
10562
10260
|
type: [Boolean, Number, String, Object],
|
|
10563
|
-
default: undefined,
|
|
10564
|
-
require: false,
|
|
10565
10261
|
},
|
|
10566
10262
|
/**
|
|
10567
10263
|
* The number of columns/offset/order on medium devices (<992px).
|
|
@@ -10570,8 +10266,6 @@ const CCol = defineComponent({
|
|
|
10570
10266
|
*/
|
|
10571
10267
|
md: {
|
|
10572
10268
|
type: [Boolean, Number, String, Object],
|
|
10573
|
-
default: undefined,
|
|
10574
|
-
require: false,
|
|
10575
10269
|
},
|
|
10576
10270
|
/**
|
|
10577
10271
|
* The number of columns/offset/order on large devices (<1200px).
|
|
@@ -10580,8 +10274,6 @@ const CCol = defineComponent({
|
|
|
10580
10274
|
*/
|
|
10581
10275
|
lg: {
|
|
10582
10276
|
type: [Boolean, Number, String, Object],
|
|
10583
|
-
default: undefined,
|
|
10584
|
-
require: false,
|
|
10585
10277
|
},
|
|
10586
10278
|
/**
|
|
10587
10279
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
@@ -10590,8 +10282,6 @@ const CCol = defineComponent({
|
|
|
10590
10282
|
*/
|
|
10591
10283
|
xl: {
|
|
10592
10284
|
type: [Boolean, Number, String, Object],
|
|
10593
|
-
default: undefined,
|
|
10594
|
-
require: false,
|
|
10595
10285
|
},
|
|
10596
10286
|
/**
|
|
10597
10287
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
@@ -10600,8 +10290,6 @@ const CCol = defineComponent({
|
|
|
10600
10290
|
*/
|
|
10601
10291
|
xxl: {
|
|
10602
10292
|
type: [Boolean, Number, String, Object],
|
|
10603
|
-
default: undefined,
|
|
10604
|
-
require: false,
|
|
10605
10293
|
},
|
|
10606
10294
|
},
|
|
10607
10295
|
setup(props, { slots }) {
|
|
@@ -10652,45 +10340,27 @@ const CContainer = defineComponent({
|
|
|
10652
10340
|
/**
|
|
10653
10341
|
* Set container 100% wide until small breakpoint.
|
|
10654
10342
|
*/
|
|
10655
|
-
sm:
|
|
10656
|
-
type: Boolean,
|
|
10657
|
-
required: false,
|
|
10658
|
-
},
|
|
10343
|
+
sm: Boolean,
|
|
10659
10344
|
/**
|
|
10660
10345
|
* Set container 100% wide until medium breakpoint.
|
|
10661
10346
|
*/
|
|
10662
|
-
md:
|
|
10663
|
-
type: Boolean,
|
|
10664
|
-
required: false,
|
|
10665
|
-
},
|
|
10347
|
+
md: Boolean,
|
|
10666
10348
|
/**
|
|
10667
10349
|
* Set container 100% wide until large breakpoint.
|
|
10668
10350
|
*/
|
|
10669
|
-
lg:
|
|
10670
|
-
type: Boolean,
|
|
10671
|
-
required: false,
|
|
10672
|
-
},
|
|
10351
|
+
lg: Boolean,
|
|
10673
10352
|
/**
|
|
10674
10353
|
* Set container 100% wide until X-large breakpoint.
|
|
10675
10354
|
*/
|
|
10676
|
-
xl:
|
|
10677
|
-
type: Boolean,
|
|
10678
|
-
required: false,
|
|
10679
|
-
},
|
|
10355
|
+
xl: Boolean,
|
|
10680
10356
|
/**
|
|
10681
10357
|
* Set container 100% wide until XX-large breakpoint.
|
|
10682
10358
|
*/
|
|
10683
|
-
xxl:
|
|
10684
|
-
type: Boolean,
|
|
10685
|
-
required: false,
|
|
10686
|
-
},
|
|
10359
|
+
xxl: Boolean,
|
|
10687
10360
|
/**
|
|
10688
10361
|
* Set container 100% wide, spanning the entire width of the viewport.
|
|
10689
10362
|
*/
|
|
10690
|
-
fluid:
|
|
10691
|
-
type: Boolean,
|
|
10692
|
-
required: false,
|
|
10693
|
-
},
|
|
10363
|
+
fluid: Boolean,
|
|
10694
10364
|
},
|
|
10695
10365
|
setup(props, { slots }) {
|
|
10696
10366
|
const repsonsiveClassNames = [];
|
|
@@ -10720,61 +10390,37 @@ const CRow = defineComponent({
|
|
|
10720
10390
|
*
|
|
10721
10391
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10722
10392
|
*/
|
|
10723
|
-
xs:
|
|
10724
|
-
type: Object,
|
|
10725
|
-
default: undefined,
|
|
10726
|
-
required: false,
|
|
10727
|
-
},
|
|
10393
|
+
xs: Object,
|
|
10728
10394
|
/**
|
|
10729
10395
|
* The number of columns/offset/order on small devices (<768px).
|
|
10730
10396
|
*
|
|
10731
10397
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10732
10398
|
*/
|
|
10733
|
-
sm:
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10741
|
-
*/
|
|
10742
|
-
},
|
|
10743
|
-
md: {
|
|
10744
|
-
type: Object,
|
|
10745
|
-
default: undefined,
|
|
10746
|
-
required: false,
|
|
10747
|
-
},
|
|
10399
|
+
sm: Object,
|
|
10400
|
+
/**
|
|
10401
|
+
* The number of columns/offset/order on medium devices (<992px).
|
|
10402
|
+
*
|
|
10403
|
+
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10404
|
+
*/
|
|
10405
|
+
md: Object,
|
|
10748
10406
|
/**
|
|
10749
10407
|
* The number of columns/offset/order on large devices (<1200px).
|
|
10750
10408
|
*
|
|
10751
10409
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10752
10410
|
*/
|
|
10753
|
-
lg:
|
|
10754
|
-
type: Object,
|
|
10755
|
-
default: undefined,
|
|
10756
|
-
required: false,
|
|
10757
|
-
},
|
|
10411
|
+
lg: Object,
|
|
10758
10412
|
/**
|
|
10759
10413
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
10760
10414
|
*
|
|
10761
10415
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10762
10416
|
*/
|
|
10763
|
-
xl:
|
|
10764
|
-
type: Object,
|
|
10765
|
-
default: undefined,
|
|
10766
|
-
required: false,
|
|
10767
|
-
},
|
|
10417
|
+
xl: Object,
|
|
10768
10418
|
/**
|
|
10769
10419
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
10770
10420
|
*
|
|
10771
10421
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10772
10422
|
*/
|
|
10773
|
-
xxl:
|
|
10774
|
-
type: Object,
|
|
10775
|
-
default: undefined,
|
|
10776
|
-
required: false,
|
|
10777
|
-
},
|
|
10423
|
+
xxl: Object,
|
|
10778
10424
|
},
|
|
10779
10425
|
setup(props, { slots }) {
|
|
10780
10426
|
const repsonsiveClassNames = [];
|
|
@@ -10820,8 +10466,6 @@ const CHeader = defineComponent({
|
|
|
10820
10466
|
*/
|
|
10821
10467
|
container: {
|
|
10822
10468
|
type: [Boolean, String],
|
|
10823
|
-
default: undefined,
|
|
10824
|
-
required: false,
|
|
10825
10469
|
validator: (value) => {
|
|
10826
10470
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
10827
10471
|
},
|
|
@@ -10833,8 +10477,6 @@ const CHeader = defineComponent({
|
|
|
10833
10477
|
*/
|
|
10834
10478
|
position: {
|
|
10835
10479
|
type: String,
|
|
10836
|
-
default: undefined,
|
|
10837
|
-
required: false,
|
|
10838
10480
|
validator: (value) => {
|
|
10839
10481
|
return ['fixed', 'sticky'].includes(value);
|
|
10840
10482
|
},
|
|
@@ -10855,7 +10497,6 @@ const CHeaderBrand = defineComponent({
|
|
|
10855
10497
|
*/
|
|
10856
10498
|
component: {
|
|
10857
10499
|
type: String,
|
|
10858
|
-
required: false,
|
|
10859
10500
|
default: 'a',
|
|
10860
10501
|
},
|
|
10861
10502
|
},
|
|
@@ -10879,7 +10520,6 @@ const CHeaderNav = defineComponent({
|
|
|
10879
10520
|
*/
|
|
10880
10521
|
component: {
|
|
10881
10522
|
type: String,
|
|
10882
|
-
required: false,
|
|
10883
10523
|
default: 'ul',
|
|
10884
10524
|
},
|
|
10885
10525
|
},
|
|
@@ -10930,8 +10570,6 @@ const CImage = defineComponent({
|
|
|
10930
10570
|
*/
|
|
10931
10571
|
align: {
|
|
10932
10572
|
type: String,
|
|
10933
|
-
default: undefined,
|
|
10934
|
-
required: false,
|
|
10935
10573
|
validator: (value) => {
|
|
10936
10574
|
return ['start', 'center', 'end'].includes(value);
|
|
10937
10575
|
},
|
|
@@ -10939,24 +10577,15 @@ const CImage = defineComponent({
|
|
|
10939
10577
|
/**
|
|
10940
10578
|
* Make image responsive.
|
|
10941
10579
|
*/
|
|
10942
|
-
fluid:
|
|
10943
|
-
type: Boolean,
|
|
10944
|
-
required: false,
|
|
10945
|
-
},
|
|
10580
|
+
fluid: Boolean,
|
|
10946
10581
|
/**
|
|
10947
10582
|
* Make image rounded.
|
|
10948
10583
|
*/
|
|
10949
|
-
rounded:
|
|
10950
|
-
type: Boolean,
|
|
10951
|
-
required: false,
|
|
10952
|
-
},
|
|
10584
|
+
rounded: Boolean,
|
|
10953
10585
|
/**
|
|
10954
10586
|
* Give an image a rounded 1px border appearance.
|
|
10955
10587
|
*/
|
|
10956
|
-
thumbnail:
|
|
10957
|
-
type: Boolean,
|
|
10958
|
-
required: false,
|
|
10959
|
-
},
|
|
10588
|
+
thumbnail: Boolean,
|
|
10960
10589
|
},
|
|
10961
10590
|
setup(props) {
|
|
10962
10591
|
return () => h$1('img', {
|
|
@@ -10987,16 +10616,12 @@ const CListGroup = defineComponent({
|
|
|
10987
10616
|
*/
|
|
10988
10617
|
component: {
|
|
10989
10618
|
type: String,
|
|
10990
|
-
required: false,
|
|
10991
10619
|
default: 'ul',
|
|
10992
10620
|
},
|
|
10993
10621
|
/**
|
|
10994
10622
|
* Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`)
|
|
10995
10623
|
*/
|
|
10996
|
-
flush:
|
|
10997
|
-
type: Boolean,
|
|
10998
|
-
required: false,
|
|
10999
|
-
},
|
|
10624
|
+
flush: Boolean,
|
|
11000
10625
|
/**
|
|
11001
10626
|
* Specify a layout type.
|
|
11002
10627
|
*
|
|
@@ -11004,8 +10629,6 @@ const CListGroup = defineComponent({
|
|
|
11004
10629
|
*/
|
|
11005
10630
|
layout: {
|
|
11006
10631
|
type: String,
|
|
11007
|
-
default: undefined,
|
|
11008
|
-
required: false,
|
|
11009
10632
|
validator: (value) => {
|
|
11010
10633
|
return [
|
|
11011
10634
|
'horizontal',
|
|
@@ -11037,29 +10660,22 @@ const CListGroupItem = defineComponent({
|
|
|
11037
10660
|
/**
|
|
11038
10661
|
* Toggle the active state for the component.
|
|
11039
10662
|
*/
|
|
11040
|
-
active:
|
|
11041
|
-
type: Boolean,
|
|
11042
|
-
required: false,
|
|
11043
|
-
},
|
|
10663
|
+
active: Boolean,
|
|
11044
10664
|
/**
|
|
11045
10665
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
11046
10666
|
*
|
|
11047
10667
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
11048
10668
|
*/
|
|
11049
|
-
color: Color,
|
|
10669
|
+
color: Color$1,
|
|
11050
10670
|
/**
|
|
11051
10671
|
* Toggle the disabled state for the component.
|
|
11052
10672
|
*/
|
|
11053
|
-
disabled:
|
|
11054
|
-
type: Boolean,
|
|
11055
|
-
required: false,
|
|
11056
|
-
},
|
|
10673
|
+
disabled: Boolean,
|
|
11057
10674
|
/**
|
|
11058
10675
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
11059
10676
|
*/
|
|
11060
10677
|
component: {
|
|
11061
10678
|
type: String,
|
|
11062
|
-
required: false,
|
|
11063
10679
|
default: 'li',
|
|
11064
10680
|
},
|
|
11065
10681
|
},
|
|
@@ -11206,10 +10822,7 @@ const CModal = defineComponent({
|
|
|
11206
10822
|
/**
|
|
11207
10823
|
* A string of all className you want applied to the modal content component.
|
|
11208
10824
|
*/
|
|
11209
|
-
contentClassName:
|
|
11210
|
-
type: String,
|
|
11211
|
-
default: undefined,
|
|
11212
|
-
},
|
|
10825
|
+
contentClassName: String,
|
|
11213
10826
|
/**
|
|
11214
10827
|
* Set modal to covers the entire user viewport
|
|
11215
10828
|
*
|
|
@@ -11217,7 +10830,6 @@ const CModal = defineComponent({
|
|
|
11217
10830
|
*/
|
|
11218
10831
|
fullscreen: {
|
|
11219
10832
|
type: [Boolean, String],
|
|
11220
|
-
default: undefined,
|
|
11221
10833
|
validator: (value) => {
|
|
11222
10834
|
if (typeof value == 'string') {
|
|
11223
10835
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -11238,9 +10850,7 @@ const CModal = defineComponent({
|
|
|
11238
10850
|
/**
|
|
11239
10851
|
* Create a scrollable modal that allows scrolling the modal body.
|
|
11240
10852
|
*/
|
|
11241
|
-
scrollable:
|
|
11242
|
-
type: Boolean,
|
|
11243
|
-
},
|
|
10853
|
+
scrollable: Boolean,
|
|
11244
10854
|
/**
|
|
11245
10855
|
* Size the component small, large, or extra large.
|
|
11246
10856
|
*
|
|
@@ -11248,7 +10858,6 @@ const CModal = defineComponent({
|
|
|
11248
10858
|
*/
|
|
11249
10859
|
size: {
|
|
11250
10860
|
type: String,
|
|
11251
|
-
default: undefined,
|
|
11252
10861
|
validator: (value) => {
|
|
11253
10862
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
11254
10863
|
},
|
|
@@ -11421,7 +11030,6 @@ const CModalHeader = defineComponent({
|
|
|
11421
11030
|
*/
|
|
11422
11031
|
closeButton: {
|
|
11423
11032
|
type: Boolean,
|
|
11424
|
-
required: false,
|
|
11425
11033
|
default: true,
|
|
11426
11034
|
},
|
|
11427
11035
|
},
|
|
@@ -11443,7 +11051,6 @@ const CModalTitle = defineComponent({
|
|
|
11443
11051
|
component: {
|
|
11444
11052
|
type: String,
|
|
11445
11053
|
default: 'h5',
|
|
11446
|
-
required: false,
|
|
11447
11054
|
},
|
|
11448
11055
|
},
|
|
11449
11056
|
setup(props, { slots }) {
|
|
@@ -12312,7 +11919,6 @@ const CNav = defineComponent({
|
|
|
12312
11919
|
*/
|
|
12313
11920
|
component: {
|
|
12314
11921
|
type: String,
|
|
12315
|
-
required: false,
|
|
12316
11922
|
default: 'ul',
|
|
12317
11923
|
},
|
|
12318
11924
|
/**
|
|
@@ -12322,8 +11928,6 @@ const CNav = defineComponent({
|
|
|
12322
11928
|
*/
|
|
12323
11929
|
layout: {
|
|
12324
11930
|
type: String,
|
|
12325
|
-
required: false,
|
|
12326
|
-
default: undefined,
|
|
12327
11931
|
validator: (value) => {
|
|
12328
11932
|
return ['fill', 'justified'].includes(value);
|
|
12329
11933
|
},
|
|
@@ -12335,8 +11939,6 @@ const CNav = defineComponent({
|
|
|
12335
11939
|
*/
|
|
12336
11940
|
variant: {
|
|
12337
11941
|
type: String,
|
|
12338
|
-
required: false,
|
|
12339
|
-
default: undefined,
|
|
12340
11942
|
validator: (value) => {
|
|
12341
11943
|
return ['tabs', 'pills', 'underline'].includes(value);
|
|
12342
11944
|
},
|
|
@@ -12480,33 +12082,22 @@ const CNavLink = defineComponent({
|
|
|
12480
12082
|
/**
|
|
12481
12083
|
* Toggle the active state for the component.
|
|
12482
12084
|
*/
|
|
12483
|
-
active:
|
|
12484
|
-
type: Boolean,
|
|
12485
|
-
required: false,
|
|
12486
|
-
},
|
|
12085
|
+
active: Boolean,
|
|
12487
12086
|
/**
|
|
12488
12087
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12489
12088
|
*/
|
|
12490
12089
|
component: {
|
|
12491
12090
|
type: String,
|
|
12492
|
-
required: false,
|
|
12493
12091
|
default: 'a',
|
|
12494
12092
|
},
|
|
12495
12093
|
/**
|
|
12496
12094
|
* Toggle the disabled state for the component.
|
|
12497
12095
|
*/
|
|
12498
|
-
disabled:
|
|
12499
|
-
type: Boolean,
|
|
12500
|
-
required: false,
|
|
12501
|
-
},
|
|
12096
|
+
disabled: Boolean,
|
|
12502
12097
|
/**
|
|
12503
12098
|
* @ignore
|
|
12504
12099
|
*/
|
|
12505
|
-
href:
|
|
12506
|
-
type: String,
|
|
12507
|
-
default: undefined,
|
|
12508
|
-
required: false,
|
|
12509
|
-
},
|
|
12100
|
+
href: String,
|
|
12510
12101
|
},
|
|
12511
12102
|
setup(props, { slots }) {
|
|
12512
12103
|
return () => h$1(CLink, {
|
|
@@ -12568,7 +12159,7 @@ const CNavbar = defineComponent({
|
|
|
12568
12159
|
*
|
|
12569
12160
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
12570
12161
|
*/
|
|
12571
|
-
color: Color,
|
|
12162
|
+
color: Color$1,
|
|
12572
12163
|
/**
|
|
12573
12164
|
* Sets if the color of text should be colored for a light or dark dark background.
|
|
12574
12165
|
*
|
|
@@ -12576,8 +12167,6 @@ const CNavbar = defineComponent({
|
|
|
12576
12167
|
*/
|
|
12577
12168
|
colorScheme: {
|
|
12578
12169
|
type: String,
|
|
12579
|
-
default: undefined,
|
|
12580
|
-
required: false,
|
|
12581
12170
|
validator: (value) => {
|
|
12582
12171
|
return ['dark', 'light'].includes(value);
|
|
12583
12172
|
},
|
|
@@ -12588,7 +12177,6 @@ const CNavbar = defineComponent({
|
|
|
12588
12177
|
component: {
|
|
12589
12178
|
type: String,
|
|
12590
12179
|
default: 'nav',
|
|
12591
|
-
required: false,
|
|
12592
12180
|
},
|
|
12593
12181
|
/**
|
|
12594
12182
|
* Defines optional container wrapping children elements.
|
|
@@ -12597,8 +12185,6 @@ const CNavbar = defineComponent({
|
|
|
12597
12185
|
*/
|
|
12598
12186
|
container: {
|
|
12599
12187
|
type: [Boolean, String],
|
|
12600
|
-
default: undefined,
|
|
12601
|
-
required: false,
|
|
12602
12188
|
validator: (value) => {
|
|
12603
12189
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
12604
12190
|
},
|
|
@@ -12610,8 +12196,6 @@ const CNavbar = defineComponent({
|
|
|
12610
12196
|
*/
|
|
12611
12197
|
expand: {
|
|
12612
12198
|
type: [Boolean, String],
|
|
12613
|
-
default: undefined,
|
|
12614
|
-
required: false,
|
|
12615
12199
|
validator: (value) => {
|
|
12616
12200
|
return typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
12617
12201
|
},
|
|
@@ -12623,8 +12207,6 @@ const CNavbar = defineComponent({
|
|
|
12623
12207
|
*/
|
|
12624
12208
|
placement: {
|
|
12625
12209
|
type: String,
|
|
12626
|
-
default: undefined,
|
|
12627
|
-
required: false,
|
|
12628
12210
|
validator: (value) => {
|
|
12629
12211
|
return ['fixed-top', 'fixed-bottom', 'sticky-top'].includes(value);
|
|
12630
12212
|
},
|
|
@@ -12659,16 +12241,11 @@ const CNavbarBrand = defineComponent({
|
|
|
12659
12241
|
component: {
|
|
12660
12242
|
type: String,
|
|
12661
12243
|
default: 'a',
|
|
12662
|
-
required: false,
|
|
12663
12244
|
},
|
|
12664
12245
|
/**
|
|
12665
12246
|
* The href attribute specifies the URL of the page the link goes to.
|
|
12666
12247
|
*/
|
|
12667
|
-
href:
|
|
12668
|
-
type: String,
|
|
12669
|
-
default: undefined,
|
|
12670
|
-
required: false,
|
|
12671
|
-
},
|
|
12248
|
+
href: String,
|
|
12672
12249
|
},
|
|
12673
12250
|
setup(props, { slots }) {
|
|
12674
12251
|
return () => h$1(props.component ? props.component : props.href ? 'a' : 'span', {
|
|
@@ -12686,7 +12263,6 @@ const CNavbarNav = defineComponent({
|
|
|
12686
12263
|
*/
|
|
12687
12264
|
component: {
|
|
12688
12265
|
type: String,
|
|
12689
|
-
required: false,
|
|
12690
12266
|
default: 'ul',
|
|
12691
12267
|
},
|
|
12692
12268
|
},
|
|
@@ -12759,7 +12335,6 @@ const COffcanvas = defineComponent({
|
|
|
12759
12335
|
*/
|
|
12760
12336
|
placement: {
|
|
12761
12337
|
type: String,
|
|
12762
|
-
default: undefined,
|
|
12763
12338
|
require: true,
|
|
12764
12339
|
validator: (value) => {
|
|
12765
12340
|
return ['start', 'end', 'top', 'bottom'].includes(value);
|
|
@@ -12794,7 +12369,10 @@ const COffcanvas = defineComponent({
|
|
|
12794
12369
|
/**
|
|
12795
12370
|
* Toggle the visibility of offcanvas component.
|
|
12796
12371
|
*/
|
|
12797
|
-
visible:
|
|
12372
|
+
visible: {
|
|
12373
|
+
type: Boolean,
|
|
12374
|
+
default: false,
|
|
12375
|
+
},
|
|
12798
12376
|
},
|
|
12799
12377
|
emits: [
|
|
12800
12378
|
/**
|
|
@@ -12813,11 +12391,9 @@ const COffcanvas = defineComponent({
|
|
|
12813
12391
|
visible.value = props.visible;
|
|
12814
12392
|
});
|
|
12815
12393
|
watch(visible, () => {
|
|
12816
|
-
if (visible.value) {
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
document.body.style.paddingRight = '0px';
|
|
12820
|
-
}
|
|
12394
|
+
if (visible.value && !props.scroll) {
|
|
12395
|
+
document.body.style.overflow = 'hidden';
|
|
12396
|
+
document.body.style.paddingRight = '0px';
|
|
12821
12397
|
return;
|
|
12822
12398
|
}
|
|
12823
12399
|
if (!props.scroll) {
|
|
@@ -12907,7 +12483,6 @@ const COffcanvasTitle = defineComponent({
|
|
|
12907
12483
|
*/
|
|
12908
12484
|
component: {
|
|
12909
12485
|
type: String,
|
|
12910
|
-
required: false,
|
|
12911
12486
|
default: 'h5',
|
|
12912
12487
|
},
|
|
12913
12488
|
},
|
|
@@ -12935,8 +12510,6 @@ const CPagination = defineComponent({
|
|
|
12935
12510
|
*/
|
|
12936
12511
|
align: {
|
|
12937
12512
|
type: String,
|
|
12938
|
-
default: undefined,
|
|
12939
|
-
required: false,
|
|
12940
12513
|
validator: (value) => {
|
|
12941
12514
|
return ['start', 'center', 'end'].includes(value);
|
|
12942
12515
|
},
|
|
@@ -12948,8 +12521,6 @@ const CPagination = defineComponent({
|
|
|
12948
12521
|
*/
|
|
12949
12522
|
size: {
|
|
12950
12523
|
type: String,
|
|
12951
|
-
default: undefined,
|
|
12952
|
-
required: false,
|
|
12953
12524
|
validator: (value) => {
|
|
12954
12525
|
return ['sm', 'lg'].includes(value);
|
|
12955
12526
|
},
|
|
@@ -12974,33 +12545,19 @@ const CPaginationItem = defineComponent({
|
|
|
12974
12545
|
/**
|
|
12975
12546
|
* Toggle the active state for the component.
|
|
12976
12547
|
*/
|
|
12977
|
-
active:
|
|
12978
|
-
type: Boolean,
|
|
12979
|
-
required: false,
|
|
12980
|
-
},
|
|
12548
|
+
active: Boolean,
|
|
12981
12549
|
/**
|
|
12982
12550
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12983
12551
|
*/
|
|
12984
|
-
component:
|
|
12985
|
-
type: String,
|
|
12986
|
-
default: undefined,
|
|
12987
|
-
required: false,
|
|
12988
|
-
},
|
|
12552
|
+
component: String,
|
|
12989
12553
|
/**
|
|
12990
12554
|
* Toggle the disabled state for the component.
|
|
12991
12555
|
*/
|
|
12992
|
-
disabled:
|
|
12993
|
-
type: Boolean,
|
|
12994
|
-
required: false,
|
|
12995
|
-
},
|
|
12556
|
+
disabled: Boolean,
|
|
12996
12557
|
/**
|
|
12997
12558
|
* The href attribute specifies the URL of the page the link goes to.
|
|
12998
12559
|
*/
|
|
12999
|
-
href:
|
|
13000
|
-
type: String,
|
|
13001
|
-
default: undefined,
|
|
13002
|
-
required: false,
|
|
13003
|
-
},
|
|
12560
|
+
href: String,
|
|
13004
12561
|
},
|
|
13005
12562
|
setup(props, { slots }) {
|
|
13006
12563
|
return () => {
|
|
@@ -13052,8 +12609,6 @@ const CPlaceholder = defineComponent({
|
|
|
13052
12609
|
*/
|
|
13053
12610
|
animation: {
|
|
13054
12611
|
type: String,
|
|
13055
|
-
default: undefined,
|
|
13056
|
-
require: false,
|
|
13057
12612
|
validator: (value) => {
|
|
13058
12613
|
return ['glow', 'wave'].includes(value);
|
|
13059
12614
|
},
|
|
@@ -13063,14 +12618,13 @@ const CPlaceholder = defineComponent({
|
|
|
13063
12618
|
*
|
|
13064
12619
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13065
12620
|
*/
|
|
13066
|
-
color: Color,
|
|
12621
|
+
color: Color$1,
|
|
13067
12622
|
/**
|
|
13068
12623
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
13069
12624
|
*/
|
|
13070
12625
|
component: {
|
|
13071
12626
|
type: String,
|
|
13072
12627
|
default: 'span',
|
|
13073
|
-
required: false,
|
|
13074
12628
|
},
|
|
13075
12629
|
/**
|
|
13076
12630
|
* Size the component extra small, small, or large.
|
|
@@ -13079,8 +12633,6 @@ const CPlaceholder = defineComponent({
|
|
|
13079
12633
|
*/
|
|
13080
12634
|
size: {
|
|
13081
12635
|
type: String,
|
|
13082
|
-
default: undefined,
|
|
13083
|
-
required: false,
|
|
13084
12636
|
validator: (value) => {
|
|
13085
12637
|
return ['xs', 'sm', 'lg'].includes(value);
|
|
13086
12638
|
},
|
|
@@ -13088,51 +12640,27 @@ const CPlaceholder = defineComponent({
|
|
|
13088
12640
|
/**
|
|
13089
12641
|
* The number of columns on extra small devices (<576px).
|
|
13090
12642
|
*/
|
|
13091
|
-
xs:
|
|
13092
|
-
type: Number,
|
|
13093
|
-
default: undefined,
|
|
13094
|
-
require: false,
|
|
13095
|
-
},
|
|
12643
|
+
xs: Number,
|
|
13096
12644
|
/**
|
|
13097
12645
|
* The number of columns on small devices (<768px).
|
|
13098
12646
|
*/
|
|
13099
|
-
sm:
|
|
13100
|
-
type: Number,
|
|
13101
|
-
default: undefined,
|
|
13102
|
-
require: false,
|
|
13103
|
-
},
|
|
12647
|
+
sm: Number,
|
|
13104
12648
|
/**
|
|
13105
12649
|
* The number of columns on medium devices (<992px).
|
|
13106
12650
|
*/
|
|
13107
|
-
md:
|
|
13108
|
-
type: Number,
|
|
13109
|
-
default: undefined,
|
|
13110
|
-
require: false,
|
|
13111
|
-
},
|
|
12651
|
+
md: Number,
|
|
13112
12652
|
/**
|
|
13113
12653
|
* The number of columns on large devices (<1200px).
|
|
13114
12654
|
*/
|
|
13115
|
-
lg:
|
|
13116
|
-
type: Number,
|
|
13117
|
-
default: undefined,
|
|
13118
|
-
require: false,
|
|
13119
|
-
},
|
|
12655
|
+
lg: Number,
|
|
13120
12656
|
/**
|
|
13121
12657
|
* The number of columns on X-Large devices (<1400px).
|
|
13122
12658
|
*/
|
|
13123
|
-
xl:
|
|
13124
|
-
type: Number,
|
|
13125
|
-
default: undefined,
|
|
13126
|
-
require: false,
|
|
13127
|
-
},
|
|
12659
|
+
xl: Number,
|
|
13128
12660
|
/**
|
|
13129
12661
|
* The number of columns on XX-Large devices (≥1400px).
|
|
13130
12662
|
*/
|
|
13131
|
-
xxl:
|
|
13132
|
-
type: Number,
|
|
13133
|
-
default: undefined,
|
|
13134
|
-
require: false,
|
|
13135
|
-
},
|
|
12663
|
+
xxl: Number,
|
|
13136
12664
|
},
|
|
13137
12665
|
setup(props, { slots }) {
|
|
13138
12666
|
const repsonsiveClassNames = [];
|
|
@@ -13171,22 +12699,18 @@ const CProgressBar = defineComponent({
|
|
|
13171
12699
|
/**
|
|
13172
12700
|
* Use to animate the stripes right to left via CSS3 animations.
|
|
13173
12701
|
*/
|
|
13174
|
-
animated:
|
|
13175
|
-
type: Boolean,
|
|
13176
|
-
required: false,
|
|
13177
|
-
},
|
|
12702
|
+
animated: Boolean,
|
|
13178
12703
|
/**
|
|
13179
12704
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
13180
12705
|
*
|
|
13181
12706
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13182
12707
|
*/
|
|
13183
|
-
color: Color,
|
|
12708
|
+
color: Color$1,
|
|
13184
12709
|
/**
|
|
13185
12710
|
* The percent to progress the ProgressBar.
|
|
13186
12711
|
*/
|
|
13187
12712
|
value: {
|
|
13188
12713
|
type: Number,
|
|
13189
|
-
required: false,
|
|
13190
12714
|
default: 0,
|
|
13191
12715
|
},
|
|
13192
12716
|
/**
|
|
@@ -13196,8 +12720,6 @@ const CProgressBar = defineComponent({
|
|
|
13196
12720
|
*/
|
|
13197
12721
|
variant: {
|
|
13198
12722
|
type: String,
|
|
13199
|
-
default: undefined,
|
|
13200
|
-
require: false,
|
|
13201
12723
|
validator: (value) => {
|
|
13202
12724
|
return value === 'striped';
|
|
13203
12725
|
},
|
|
@@ -13228,11 +12750,7 @@ const CProgress = defineComponent({
|
|
|
13228
12750
|
/**
|
|
13229
12751
|
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
|
|
13230
12752
|
*/
|
|
13231
|
-
height:
|
|
13232
|
-
type: Number,
|
|
13233
|
-
default: undefined,
|
|
13234
|
-
required: false,
|
|
13235
|
-
},
|
|
12753
|
+
height: Number,
|
|
13236
12754
|
/**
|
|
13237
12755
|
* Makes progress bar thinner.
|
|
13238
12756
|
*/
|
|
@@ -13277,18 +12795,13 @@ const CPopover = defineComponent({
|
|
|
13277
12795
|
/**
|
|
13278
12796
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
13279
12797
|
*/
|
|
13280
|
-
content:
|
|
13281
|
-
type: String,
|
|
13282
|
-
default: undefined,
|
|
13283
|
-
required: false,
|
|
13284
|
-
},
|
|
12798
|
+
content: String,
|
|
13285
12799
|
/**
|
|
13286
12800
|
* Offset of the popover relative to its target.
|
|
13287
12801
|
*/
|
|
13288
12802
|
offset: {
|
|
13289
12803
|
type: Array,
|
|
13290
12804
|
default: () => [0, 8],
|
|
13291
|
-
required: false,
|
|
13292
12805
|
},
|
|
13293
12806
|
/**
|
|
13294
12807
|
* 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.
|
|
@@ -13296,7 +12809,6 @@ const CPopover = defineComponent({
|
|
|
13296
12809
|
placement: {
|
|
13297
12810
|
type: String,
|
|
13298
12811
|
default: 'top',
|
|
13299
|
-
required: false,
|
|
13300
12812
|
validator: (value) => {
|
|
13301
12813
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
13302
12814
|
},
|
|
@@ -13304,11 +12816,7 @@ const CPopover = defineComponent({
|
|
|
13304
12816
|
/**
|
|
13305
12817
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
13306
12818
|
*/
|
|
13307
|
-
title:
|
|
13308
|
-
type: String,
|
|
13309
|
-
default: undefined,
|
|
13310
|
-
required: false,
|
|
13311
|
-
},
|
|
12819
|
+
title: String,
|
|
13312
12820
|
/**
|
|
13313
12821
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
13314
12822
|
*
|
|
@@ -13317,7 +12825,6 @@ const CPopover = defineComponent({
|
|
|
13317
12825
|
trigger: {
|
|
13318
12826
|
type: [String, Array],
|
|
13319
12827
|
default: 'click',
|
|
13320
|
-
required: false,
|
|
13321
12828
|
validator: (value) => {
|
|
13322
12829
|
if (typeof value === 'string') {
|
|
13323
12830
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -13448,17 +12955,11 @@ const CSidebar = defineComponent({
|
|
|
13448
12955
|
/**
|
|
13449
12956
|
* Make sidebar narrow.
|
|
13450
12957
|
*/
|
|
13451
|
-
narrow:
|
|
13452
|
-
type: Boolean,
|
|
13453
|
-
required: false,
|
|
13454
|
-
},
|
|
12958
|
+
narrow: Boolean,
|
|
13455
12959
|
/**
|
|
13456
12960
|
* Set sidebar to overlaid variant.
|
|
13457
12961
|
*/
|
|
13458
|
-
overlaid:
|
|
13459
|
-
type: Boolean,
|
|
13460
|
-
required: false,
|
|
13461
|
-
},
|
|
12962
|
+
overlaid: Boolean,
|
|
13462
12963
|
/**
|
|
13463
12964
|
* Components placement, there’s no default placement.
|
|
13464
12965
|
* @values 'start', 'end'
|
|
@@ -13475,7 +12976,6 @@ const CSidebar = defineComponent({
|
|
|
13475
12976
|
*/
|
|
13476
12977
|
position: {
|
|
13477
12978
|
type: String,
|
|
13478
|
-
default: undefined,
|
|
13479
12979
|
validator: (value) => {
|
|
13480
12980
|
return ['fixed'].includes(value);
|
|
13481
12981
|
},
|
|
@@ -13485,7 +12985,6 @@ const CSidebar = defineComponent({
|
|
|
13485
12985
|
*/
|
|
13486
12986
|
size: {
|
|
13487
12987
|
type: String,
|
|
13488
|
-
default: undefined,
|
|
13489
12988
|
validator: (value) => {
|
|
13490
12989
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
13491
12990
|
},
|
|
@@ -14110,7 +13609,7 @@ const CTableBody = defineComponent({
|
|
|
14110
13609
|
*
|
|
14111
13610
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14112
13611
|
*/
|
|
14113
|
-
color: Color,
|
|
13612
|
+
color: Color$1,
|
|
14114
13613
|
},
|
|
14115
13614
|
setup(props, { slots }) {
|
|
14116
13615
|
return () => h$1('tbody', {
|
|
@@ -14136,10 +13635,7 @@ const CTableDataCell = defineComponent({
|
|
|
14136
13635
|
/**
|
|
14137
13636
|
* Highlight a table row or cell.
|
|
14138
13637
|
*/
|
|
14139
|
-
active:
|
|
14140
|
-
type: Boolean,
|
|
14141
|
-
required: false,
|
|
14142
|
-
},
|
|
13638
|
+
active: Boolean,
|
|
14143
13639
|
/**
|
|
14144
13640
|
* Set the vertical aligment.
|
|
14145
13641
|
*
|
|
@@ -14147,8 +13643,6 @@ const CTableDataCell = defineComponent({
|
|
|
14147
13643
|
*/
|
|
14148
13644
|
align: {
|
|
14149
13645
|
type: String,
|
|
14150
|
-
default: undefined,
|
|
14151
|
-
required: false,
|
|
14152
13646
|
validator: (value) => {
|
|
14153
13647
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14154
13648
|
},
|
|
@@ -14158,14 +13652,11 @@ const CTableDataCell = defineComponent({
|
|
|
14158
13652
|
*
|
|
14159
13653
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14160
13654
|
*/
|
|
14161
|
-
color: Color,
|
|
13655
|
+
color: Color$1,
|
|
14162
13656
|
/**
|
|
14163
13657
|
* @ignore
|
|
14164
13658
|
*/
|
|
14165
|
-
scope:
|
|
14166
|
-
type: String,
|
|
14167
|
-
required: false,
|
|
14168
|
-
},
|
|
13659
|
+
scope: String,
|
|
14169
13660
|
},
|
|
14170
13661
|
setup(props, { slots }) {
|
|
14171
13662
|
return () => h$1(props.scope ? 'th' : 'td', {
|
|
@@ -14189,7 +13680,7 @@ const CTableFoot = defineComponent({
|
|
|
14189
13680
|
*
|
|
14190
13681
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14191
13682
|
*/
|
|
14192
|
-
color: Color,
|
|
13683
|
+
color: Color$1,
|
|
14193
13684
|
},
|
|
14194
13685
|
setup(props, { slots }) {
|
|
14195
13686
|
return () => h$1('tfoot', {
|
|
@@ -14210,7 +13701,7 @@ const CTableHead = defineComponent({
|
|
|
14210
13701
|
*
|
|
14211
13702
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14212
13703
|
*/
|
|
14213
|
-
color: Color,
|
|
13704
|
+
color: Color$1,
|
|
14214
13705
|
},
|
|
14215
13706
|
setup(props, { slots }) {
|
|
14216
13707
|
return () => h$1('thead', {
|
|
@@ -14231,7 +13722,7 @@ const CTableHeaderCell = defineComponent({
|
|
|
14231
13722
|
*
|
|
14232
13723
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14233
13724
|
*/
|
|
14234
|
-
color: Color,
|
|
13725
|
+
color: Color$1,
|
|
14235
13726
|
},
|
|
14236
13727
|
setup(props, { slots }) {
|
|
14237
13728
|
return () => h$1('th', {
|
|
@@ -14250,10 +13741,7 @@ const CTableRow = defineComponent({
|
|
|
14250
13741
|
/**
|
|
14251
13742
|
* Highlight a table row or cell..
|
|
14252
13743
|
*/
|
|
14253
|
-
active:
|
|
14254
|
-
type: Boolean,
|
|
14255
|
-
required: false,
|
|
14256
|
-
},
|
|
13744
|
+
active: Boolean,
|
|
14257
13745
|
/**
|
|
14258
13746
|
* Set the vertical aligment.
|
|
14259
13747
|
*
|
|
@@ -14261,8 +13749,6 @@ const CTableRow = defineComponent({
|
|
|
14261
13749
|
*/
|
|
14262
13750
|
align: {
|
|
14263
13751
|
type: String,
|
|
14264
|
-
default: undefined,
|
|
14265
|
-
required: false,
|
|
14266
13752
|
validator: (value) => {
|
|
14267
13753
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14268
13754
|
},
|
|
@@ -14272,7 +13758,7 @@ const CTableRow = defineComponent({
|
|
|
14272
13758
|
*
|
|
14273
13759
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14274
13760
|
*/
|
|
14275
|
-
color: Color,
|
|
13761
|
+
color: Color$1,
|
|
14276
13762
|
},
|
|
14277
13763
|
setup(props, { slots }) {
|
|
14278
13764
|
return () => h$1('tr', {
|
|
@@ -14296,11 +13782,14 @@ const pretifyName$1 = (name) => {
|
|
|
14296
13782
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
14297
13783
|
.join(' ');
|
|
14298
13784
|
};
|
|
14299
|
-
const
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
13785
|
+
const getColumnLabel$1 = (column) => typeof column === 'object' ? column.label ?? pretifyName$1(column.key) : pretifyName$1(column);
|
|
13786
|
+
const getColumnNames$1 = (columns, items) => columns
|
|
13787
|
+
? columns.map((column) => {
|
|
13788
|
+
return typeof column === 'object' ? column.key : column;
|
|
13789
|
+
})
|
|
13790
|
+
: items && getColumnNamesFromItems$1(items);
|
|
13791
|
+
const getColumnNamesFromItems$1 = (items) => Object.keys(items[0] || {}).filter((el) => el.charAt(0) !== '_');
|
|
13792
|
+
|
|
14304
13793
|
const CTable = defineComponent({
|
|
14305
13794
|
name: 'CTable',
|
|
14306
13795
|
props: {
|
|
@@ -14311,8 +13800,6 @@ const CTable = defineComponent({
|
|
|
14311
13800
|
*/
|
|
14312
13801
|
align: {
|
|
14313
13802
|
type: String,
|
|
14314
|
-
default: undefined,
|
|
14315
|
-
required: false,
|
|
14316
13803
|
validator: (value) => {
|
|
14317
13804
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14318
13805
|
},
|
|
@@ -14322,41 +13809,27 @@ const CTable = defineComponent({
|
|
|
14322
13809
|
*
|
|
14323
13810
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
14324
13811
|
*/
|
|
14325
|
-
borderColor: Color,
|
|
13812
|
+
borderColor: Color$1,
|
|
14326
13813
|
/**
|
|
14327
13814
|
* Add borders on all sides of the table and cells.
|
|
14328
13815
|
*/
|
|
14329
|
-
bordered:
|
|
14330
|
-
type: Boolean,
|
|
14331
|
-
required: false,
|
|
14332
|
-
},
|
|
13816
|
+
bordered: Boolean,
|
|
14333
13817
|
/**
|
|
14334
13818
|
* Remove borders on all sides of the table and cells.
|
|
14335
13819
|
*/
|
|
14336
|
-
borderless:
|
|
14337
|
-
type: Boolean,
|
|
14338
|
-
required: false,
|
|
14339
|
-
},
|
|
13820
|
+
borderless: Boolean,
|
|
14340
13821
|
/**
|
|
14341
13822
|
* Put the `<caption>` on the top of the table.
|
|
14342
13823
|
*
|
|
14343
13824
|
* @values 'top' | string
|
|
14344
13825
|
*/
|
|
14345
|
-
caption:
|
|
14346
|
-
type: String,
|
|
14347
|
-
default: undefined,
|
|
14348
|
-
required: false,
|
|
14349
|
-
},
|
|
13826
|
+
caption: String,
|
|
14350
13827
|
/**
|
|
14351
13828
|
* Set the text of the table caption and the caption on the top of the table.
|
|
14352
13829
|
*
|
|
14353
13830
|
* @since 4.5.0
|
|
14354
13831
|
*/
|
|
14355
|
-
captionTop:
|
|
14356
|
-
type: String,
|
|
14357
|
-
default: undefined,
|
|
14358
|
-
required: false,
|
|
14359
|
-
},
|
|
13832
|
+
captionTop: String,
|
|
14360
13833
|
/**
|
|
14361
13834
|
* 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')
|
|
14362
13835
|
*
|
|
@@ -14372,14 +13845,13 @@ const CTable = defineComponent({
|
|
|
14372
13845
|
*/
|
|
14373
13846
|
columns: {
|
|
14374
13847
|
type: Array,
|
|
14375
|
-
required: false,
|
|
14376
13848
|
},
|
|
14377
13849
|
/**
|
|
14378
13850
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
14379
13851
|
*
|
|
14380
13852
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14381
13853
|
*/
|
|
14382
|
-
color: Color,
|
|
13854
|
+
color: Color$1,
|
|
14383
13855
|
/**
|
|
14384
13856
|
* Array of objects or strings, where each element represents one cell in the table footer.
|
|
14385
13857
|
*
|
|
@@ -14392,15 +13864,11 @@ const CTable = defineComponent({
|
|
|
14392
13864
|
*/
|
|
14393
13865
|
footer: {
|
|
14394
13866
|
type: Array,
|
|
14395
|
-
required: false,
|
|
14396
13867
|
},
|
|
14397
13868
|
/**
|
|
14398
13869
|
* Enable a hover state on table rows within a `<CTableBody>`.
|
|
14399
13870
|
*/
|
|
14400
|
-
hover:
|
|
14401
|
-
type: Boolean,
|
|
14402
|
-
required: false,
|
|
14403
|
-
},
|
|
13871
|
+
hover: Boolean,
|
|
14404
13872
|
/**
|
|
14405
13873
|
* 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'.
|
|
14406
13874
|
*
|
|
@@ -14411,12 +13879,9 @@ const CTable = defineComponent({
|
|
|
14411
13879
|
*/
|
|
14412
13880
|
items: {
|
|
14413
13881
|
type: Array,
|
|
14414
|
-
required: false,
|
|
14415
13882
|
},
|
|
14416
13883
|
responsive: {
|
|
14417
13884
|
type: [Boolean, String],
|
|
14418
|
-
default: undefined,
|
|
14419
|
-
required: false,
|
|
14420
13885
|
validator: (value) => {
|
|
14421
13886
|
if (typeof value == 'string') {
|
|
14422
13887
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -14430,26 +13895,17 @@ const CTable = defineComponent({
|
|
|
14430
13895
|
/**
|
|
14431
13896
|
* Make table more compact by cutting all cell `padding` in half.
|
|
14432
13897
|
*/
|
|
14433
|
-
small:
|
|
14434
|
-
type: Boolean,
|
|
14435
|
-
required: false,
|
|
14436
|
-
},
|
|
13898
|
+
small: Boolean,
|
|
14437
13899
|
/**
|
|
14438
13900
|
* Add zebra-striping to any table row within the `<CTableBody>`.
|
|
14439
13901
|
*/
|
|
14440
|
-
striped:
|
|
14441
|
-
type: Boolean,
|
|
14442
|
-
required: false,
|
|
14443
|
-
},
|
|
13902
|
+
striped: Boolean,
|
|
14444
13903
|
/**
|
|
14445
13904
|
* Add zebra-striping to any table column.
|
|
14446
13905
|
*
|
|
14447
13906
|
* @since 4.4.0
|
|
14448
13907
|
*/
|
|
14449
|
-
stripedColumns:
|
|
14450
|
-
type: Boolean,
|
|
14451
|
-
required: false,
|
|
14452
|
-
},
|
|
13908
|
+
stripedColumns: Boolean,
|
|
14453
13909
|
/**
|
|
14454
13910
|
* Properties that will be passed to the table footer component.
|
|
14455
13911
|
*
|
|
@@ -14458,8 +13914,6 @@ const CTable = defineComponent({
|
|
|
14458
13914
|
*/
|
|
14459
13915
|
tableFootProps: {
|
|
14460
13916
|
type: Object,
|
|
14461
|
-
default: undefined,
|
|
14462
|
-
required: false,
|
|
14463
13917
|
},
|
|
14464
13918
|
/**
|
|
14465
13919
|
* Properties that will be passed to the table head component.
|
|
@@ -14469,19 +13923,17 @@ const CTable = defineComponent({
|
|
|
14469
13923
|
*/
|
|
14470
13924
|
tableHeadProps: {
|
|
14471
13925
|
type: Object,
|
|
14472
|
-
default: undefined,
|
|
14473
|
-
required: false,
|
|
14474
13926
|
},
|
|
14475
13927
|
},
|
|
14476
13928
|
setup(props, { slots, attrs }) {
|
|
14477
|
-
const
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
|
|
13929
|
+
const columnNames = computed(() => getColumnNames$1(props.columns, props.items));
|
|
13930
|
+
// props.columns
|
|
13931
|
+
// ? props.columns.map((column: Column | string) => {
|
|
13932
|
+
// if (typeof column === 'object') return column.key
|
|
13933
|
+
// else return column
|
|
13934
|
+
// })
|
|
13935
|
+
// : Object.keys((props.items && props.items[0]) || {}).filter((el) => el.charAt(0) !== '_'),
|
|
13936
|
+
// )
|
|
14485
13937
|
const table = () => h$1('table', {
|
|
14486
13938
|
class: [
|
|
14487
13939
|
'table',
|
|
@@ -14518,7 +13970,7 @@ const CTable = defineComponent({
|
|
|
14518
13970
|
...(typeof column === 'object' &&
|
|
14519
13971
|
column._style && { style: { ...column._style } }),
|
|
14520
13972
|
}, {
|
|
14521
|
-
default: () =>
|
|
13973
|
+
default: () => getColumnLabel$1(column),
|
|
14522
13974
|
})),
|
|
14523
13975
|
],
|
|
14524
13976
|
}),
|
|
@@ -14531,7 +13983,7 @@ const CTable = defineComponent({
|
|
|
14531
13983
|
...(item._props && { ...item._props }),
|
|
14532
13984
|
}, {
|
|
14533
13985
|
default: () => [
|
|
14534
|
-
|
|
13986
|
+
columnNames.value && columnNames.value.map((colName) => item[colName] &&
|
|
14535
13987
|
h$1(CTableDataCell, {
|
|
14536
13988
|
...(item._cellProps &&
|
|
14537
13989
|
item._cellProps['all'] && { ...item._cellProps['all'] }),
|
|
@@ -15607,10 +15059,10 @@ const CSmartTable = defineComponent({
|
|
|
15607
15059
|
: handleActivePageChange(page),
|
|
15608
15060
|
})
|
|
15609
15061
|
: ''),
|
|
15610
|
-
|
|
15611
|
-
class: 'col-auto ms-auto',
|
|
15612
|
-
}, props.itemsPerPageSelect &&
|
|
15062
|
+
props.itemsPerPageSelect &&
|
|
15613
15063
|
h$1('div', {
|
|
15064
|
+
class: 'col-auto ms-auto',
|
|
15065
|
+
}, h$1('div', {
|
|
15614
15066
|
class: 'row',
|
|
15615
15067
|
}, {
|
|
15616
15068
|
default: () => [
|
|
@@ -15662,7 +15114,6 @@ const CTabPane = defineComponent({
|
|
|
15662
15114
|
visible: {
|
|
15663
15115
|
type: Boolean,
|
|
15664
15116
|
default: false,
|
|
15665
|
-
required: false,
|
|
15666
15117
|
},
|
|
15667
15118
|
},
|
|
15668
15119
|
emits: [
|
|
@@ -15725,21 +15176,19 @@ const CToast = defineComponent({
|
|
|
15725
15176
|
autohide: {
|
|
15726
15177
|
type: Boolean,
|
|
15727
15178
|
default: true,
|
|
15728
|
-
required: false,
|
|
15729
15179
|
},
|
|
15730
15180
|
/**
|
|
15731
15181
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
15732
15182
|
*
|
|
15733
15183
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
15734
15184
|
*/
|
|
15735
|
-
color: Color,
|
|
15185
|
+
color: Color$1,
|
|
15736
15186
|
/**
|
|
15737
15187
|
* Delay hiding the toast (ms).
|
|
15738
15188
|
*/
|
|
15739
15189
|
delay: {
|
|
15740
15190
|
type: Number,
|
|
15741
15191
|
default: 5000,
|
|
15742
|
-
required: false,
|
|
15743
15192
|
},
|
|
15744
15193
|
/**
|
|
15745
15194
|
* Optionally add a close button to component and allow it to self dismiss.
|
|
@@ -15747,32 +15196,19 @@ const CToast = defineComponent({
|
|
|
15747
15196
|
dismissible: {
|
|
15748
15197
|
type: Boolean,
|
|
15749
15198
|
default: true,
|
|
15750
|
-
required: false,
|
|
15751
15199
|
},
|
|
15752
15200
|
/**
|
|
15753
15201
|
* index of the component.
|
|
15754
15202
|
*/
|
|
15755
|
-
index:
|
|
15756
|
-
type: Number,
|
|
15757
|
-
default: undefined,
|
|
15758
|
-
required: false,
|
|
15759
|
-
},
|
|
15203
|
+
index: Number,
|
|
15760
15204
|
/**
|
|
15761
15205
|
* Title node for your component.
|
|
15762
15206
|
*/
|
|
15763
|
-
title:
|
|
15764
|
-
type: String,
|
|
15765
|
-
default: undefined,
|
|
15766
|
-
required: false,
|
|
15767
|
-
},
|
|
15207
|
+
title: String,
|
|
15768
15208
|
/**
|
|
15769
15209
|
* Toggle the visibility of component.
|
|
15770
15210
|
*/
|
|
15771
|
-
visible:
|
|
15772
|
-
type: Boolean,
|
|
15773
|
-
default: true,
|
|
15774
|
-
required: false,
|
|
15775
|
-
},
|
|
15211
|
+
visible: Boolean,
|
|
15776
15212
|
},
|
|
15777
15213
|
emits: [
|
|
15778
15214
|
/**
|
|
@@ -15785,46 +15221,19 @@ const CToast = defineComponent({
|
|
|
15785
15221
|
'show',
|
|
15786
15222
|
],
|
|
15787
15223
|
setup(props, { slots, emit }) {
|
|
15788
|
-
const
|
|
15789
|
-
|
|
15790
|
-
const updateVisible = (
|
|
15791
|
-
visible.value =
|
|
15224
|
+
const timeout = ref(0);
|
|
15225
|
+
const visible = ref();
|
|
15226
|
+
const updateVisible = (_visible) => {
|
|
15227
|
+
visible.value = _visible;
|
|
15792
15228
|
};
|
|
15793
15229
|
provide('updateVisible', updateVisible);
|
|
15794
|
-
const handleBeforeEnter = (el) => {
|
|
15795
|
-
el.classList.add('showing');
|
|
15796
|
-
};
|
|
15797
|
-
const handleEnter = (el, done) => {
|
|
15798
|
-
executeAfterTransition(() => done(), el);
|
|
15799
|
-
el.classList.add('show');
|
|
15800
|
-
setTimeout(() => {
|
|
15801
|
-
el.classList.remove('showing');
|
|
15802
|
-
}, 1);
|
|
15803
|
-
if (props.index) {
|
|
15804
|
-
emit('show', props.index);
|
|
15805
|
-
}
|
|
15806
|
-
else {
|
|
15807
|
-
emit('show');
|
|
15808
|
-
}
|
|
15809
|
-
};
|
|
15810
|
-
const handleLeave = (el, done) => {
|
|
15811
|
-
executeAfterTransition(() => done(), el);
|
|
15812
|
-
el.classList.add('showing');
|
|
15813
|
-
};
|
|
15814
|
-
const handleAfterLeave = (el) => {
|
|
15815
|
-
el.classList.remove('show');
|
|
15816
|
-
el.classList.add('hide');
|
|
15817
|
-
if (props.index) {
|
|
15818
|
-
emit('close', props.index);
|
|
15819
|
-
}
|
|
15820
|
-
else {
|
|
15821
|
-
emit('close');
|
|
15822
|
-
}
|
|
15823
|
-
};
|
|
15824
15230
|
onMounted(() => {
|
|
15231
|
+
if (props.visible) {
|
|
15232
|
+
visible.value = props.visible;
|
|
15233
|
+
}
|
|
15825
15234
|
if (props.autohide) {
|
|
15826
|
-
clearTimeout(timeout);
|
|
15827
|
-
timeout = window.setTimeout(() => {
|
|
15235
|
+
clearTimeout(timeout.value);
|
|
15236
|
+
timeout.value = window.setTimeout(() => {
|
|
15828
15237
|
visible.value = false;
|
|
15829
15238
|
emit('close');
|
|
15830
15239
|
}, props.delay);
|
|
@@ -15832,23 +15241,33 @@ const CToast = defineComponent({
|
|
|
15832
15241
|
});
|
|
15833
15242
|
return () => h$1(Transition, {
|
|
15834
15243
|
appear: true,
|
|
15835
|
-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15244
|
+
enterFromClass: '',
|
|
15245
|
+
enterActiveClass: 'show showing',
|
|
15246
|
+
enterToClass: 'show',
|
|
15247
|
+
leaveFromClass: 'show',
|
|
15248
|
+
leaveActiveClass: 'show showing',
|
|
15249
|
+
leaveToClass: 'show',
|
|
15250
|
+
onAfterEnter: (el) => {
|
|
15251
|
+
el.classList.add('show');
|
|
15252
|
+
props.index ? emit('show', props.index) : emit('show');
|
|
15253
|
+
},
|
|
15254
|
+
onAfterLeave: () => {
|
|
15255
|
+
props.index ? emit('close', props.index) : emit('close');
|
|
15256
|
+
},
|
|
15257
|
+
}, {
|
|
15258
|
+
default: () => visible.value &&
|
|
15259
|
+
h$1('div', {
|
|
15260
|
+
class: [
|
|
15261
|
+
'toast fade',
|
|
15262
|
+
{
|
|
15263
|
+
[`bg-${props.color}`]: props.color,
|
|
15264
|
+
},
|
|
15265
|
+
],
|
|
15266
|
+
'aria-live': 'assertive',
|
|
15267
|
+
'aria-atomic': true,
|
|
15268
|
+
role: 'alert',
|
|
15269
|
+
}, slots.default && slots.default()),
|
|
15270
|
+
});
|
|
15852
15271
|
},
|
|
15853
15272
|
});
|
|
15854
15273
|
|
|
@@ -15865,11 +15284,7 @@ const CToastClose = defineComponent({
|
|
|
15865
15284
|
/**
|
|
15866
15285
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
15867
15286
|
*/
|
|
15868
|
-
component:
|
|
15869
|
-
type: String,
|
|
15870
|
-
default: undefined,
|
|
15871
|
-
required: false,
|
|
15872
|
-
},
|
|
15287
|
+
component: String,
|
|
15873
15288
|
...CCloseButton.props,
|
|
15874
15289
|
},
|
|
15875
15290
|
emits: [
|
|
@@ -15910,8 +15325,6 @@ const CToaster = defineComponent({
|
|
|
15910
15325
|
*/
|
|
15911
15326
|
placement: {
|
|
15912
15327
|
type: String,
|
|
15913
|
-
default: undefined,
|
|
15914
|
-
require: false,
|
|
15915
15328
|
validator: (value) => {
|
|
15916
15329
|
return [
|
|
15917
15330
|
'top-start',
|
|
@@ -15951,10 +15364,7 @@ const CToastHeader = defineComponent({
|
|
|
15951
15364
|
/**
|
|
15952
15365
|
* Automatically add a close button to the header.
|
|
15953
15366
|
*/
|
|
15954
|
-
closeButton:
|
|
15955
|
-
type: Boolean,
|
|
15956
|
-
require: false,
|
|
15957
|
-
},
|
|
15367
|
+
closeButton: Boolean,
|
|
15958
15368
|
},
|
|
15959
15369
|
emits: [
|
|
15960
15370
|
/**
|
|
@@ -15989,18 +15399,13 @@ const CTooltip = defineComponent({
|
|
|
15989
15399
|
/**
|
|
15990
15400
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
15991
15401
|
*/
|
|
15992
|
-
content:
|
|
15993
|
-
type: String,
|
|
15994
|
-
default: undefined,
|
|
15995
|
-
required: false,
|
|
15996
|
-
},
|
|
15402
|
+
content: String,
|
|
15997
15403
|
/**
|
|
15998
15404
|
* Offset of the tooltip relative to its target.
|
|
15999
15405
|
*/
|
|
16000
15406
|
offset: {
|
|
16001
15407
|
type: Array,
|
|
16002
15408
|
default: () => [0, 0],
|
|
16003
|
-
required: false,
|
|
16004
15409
|
},
|
|
16005
15410
|
/**
|
|
16006
15411
|
* 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.
|
|
@@ -16008,7 +15413,6 @@ const CTooltip = defineComponent({
|
|
|
16008
15413
|
placement: {
|
|
16009
15414
|
type: String,
|
|
16010
15415
|
default: 'top',
|
|
16011
|
-
required: false,
|
|
16012
15416
|
validator: (value) => {
|
|
16013
15417
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
16014
15418
|
},
|
|
@@ -16021,7 +15425,6 @@ const CTooltip = defineComponent({
|
|
|
16021
15425
|
trigger: {
|
|
16022
15426
|
type: [String, Array],
|
|
16023
15427
|
default: 'hover',
|
|
16024
|
-
required: false,
|
|
16025
15428
|
validator: (value) => {
|
|
16026
15429
|
if (typeof value === 'string') {
|
|
16027
15430
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -16132,26 +15535,17 @@ const CTooltipPlugin = {
|
|
|
16132
15535
|
const CWidgetStatsA = defineComponent({
|
|
16133
15536
|
name: 'CWidgetStatsA',
|
|
16134
15537
|
props: {
|
|
16135
|
-
color:
|
|
16136
|
-
type: String,
|
|
16137
|
-
default: undefined,
|
|
16138
|
-
require: false,
|
|
16139
|
-
},
|
|
15538
|
+
color: String,
|
|
16140
15539
|
/**
|
|
16141
15540
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16142
15541
|
*/
|
|
16143
|
-
title:
|
|
16144
|
-
type: String,
|
|
16145
|
-
default: undefined,
|
|
16146
|
-
require: false,
|
|
16147
|
-
},
|
|
15542
|
+
title: String,
|
|
16148
15543
|
/**
|
|
16149
15544
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16150
15545
|
*/
|
|
16151
15546
|
value: {
|
|
16152
15547
|
type: [Number, String],
|
|
16153
|
-
default: 0
|
|
16154
|
-
require: false,
|
|
15548
|
+
default: 0
|
|
16155
15549
|
},
|
|
16156
15550
|
},
|
|
16157
15551
|
/**
|
|
@@ -16240,22 +15634,18 @@ const CWidgetStatsB = defineComponent({
|
|
|
16240
15634
|
*
|
|
16241
15635
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16242
15636
|
*/
|
|
16243
|
-
color: Color,
|
|
15637
|
+
color: Color$1,
|
|
16244
15638
|
/**
|
|
16245
15639
|
* Colors have been inverted from their default dark shade.
|
|
16246
15640
|
*/
|
|
16247
|
-
inverse:
|
|
16248
|
-
type: Boolean,
|
|
16249
|
-
default: undefined,
|
|
16250
|
-
require: false,
|
|
16251
|
-
},
|
|
15641
|
+
inverse: Boolean,
|
|
16252
15642
|
progress: J({
|
|
16253
15643
|
/**
|
|
16254
15644
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16255
15645
|
*
|
|
16256
15646
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16257
15647
|
*/
|
|
16258
|
-
color: Color,
|
|
15648
|
+
color: Color$1,
|
|
16259
15649
|
/**
|
|
16260
15650
|
* The percent to progress the ProgressBar (out of 100).
|
|
16261
15651
|
*/
|
|
@@ -16267,26 +15657,17 @@ const CWidgetStatsB = defineComponent({
|
|
|
16267
15657
|
/**
|
|
16268
15658
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16269
15659
|
*/
|
|
16270
|
-
text:
|
|
16271
|
-
type: String,
|
|
16272
|
-
default: undefined,
|
|
16273
|
-
require: false,
|
|
16274
|
-
},
|
|
15660
|
+
text: String,
|
|
16275
15661
|
/**
|
|
16276
15662
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16277
15663
|
*/
|
|
16278
|
-
title:
|
|
16279
|
-
type: String,
|
|
16280
|
-
default: undefined,
|
|
16281
|
-
require: false,
|
|
16282
|
-
},
|
|
15664
|
+
title: String,
|
|
16283
15665
|
/**
|
|
16284
15666
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16285
15667
|
*/
|
|
16286
15668
|
value: {
|
|
16287
15669
|
type: [Number, String],
|
|
16288
|
-
default: 0
|
|
16289
|
-
require: false,
|
|
15670
|
+
default: 0
|
|
16290
15671
|
},
|
|
16291
15672
|
},
|
|
16292
15673
|
setup(props, { slots }) {
|
|
@@ -16337,22 +15718,18 @@ const CWidgetStatsC = defineComponent({
|
|
|
16337
15718
|
*
|
|
16338
15719
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16339
15720
|
*/
|
|
16340
|
-
color: Color,
|
|
15721
|
+
color: Color$1,
|
|
16341
15722
|
/**
|
|
16342
15723
|
* Colors have been inverted from their default dark shade.
|
|
16343
15724
|
*/
|
|
16344
|
-
inverse:
|
|
16345
|
-
type: Boolean,
|
|
16346
|
-
default: undefined,
|
|
16347
|
-
require: false,
|
|
16348
|
-
},
|
|
15725
|
+
inverse: Boolean,
|
|
16349
15726
|
progress: J({
|
|
16350
15727
|
/**
|
|
16351
15728
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16352
15729
|
*
|
|
16353
15730
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16354
15731
|
*/
|
|
16355
|
-
color: Color,
|
|
15732
|
+
color: Color$1,
|
|
16356
15733
|
/**
|
|
16357
15734
|
* The percent to progress the ProgressBar (out of 100).
|
|
16358
15735
|
*/
|
|
@@ -16364,18 +15741,13 @@ const CWidgetStatsC = defineComponent({
|
|
|
16364
15741
|
/**
|
|
16365
15742
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16366
15743
|
*/
|
|
16367
|
-
title:
|
|
16368
|
-
type: String,
|
|
16369
|
-
default: undefined,
|
|
16370
|
-
require: false,
|
|
16371
|
-
},
|
|
15744
|
+
title: String,
|
|
16372
15745
|
/**
|
|
16373
15746
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16374
15747
|
*/
|
|
16375
15748
|
value: {
|
|
16376
15749
|
type: [Number, String],
|
|
16377
|
-
default: 0
|
|
16378
|
-
require: false,
|
|
15750
|
+
default: 0
|
|
16379
15751
|
},
|
|
16380
15752
|
},
|
|
16381
15753
|
/**
|
|
@@ -16435,14 +15807,13 @@ const CWidgetStatsD = defineComponent({
|
|
|
16435
15807
|
*
|
|
16436
15808
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16437
15809
|
*/
|
|
16438
|
-
color: Color,
|
|
15810
|
+
color: Color$1,
|
|
16439
15811
|
/**
|
|
16440
15812
|
* Values and titles for your component.
|
|
16441
15813
|
*/
|
|
16442
15814
|
values: {
|
|
16443
15815
|
type: Array,
|
|
16444
15816
|
default: () => [],
|
|
16445
|
-
require: false,
|
|
16446
15817
|
},
|
|
16447
15818
|
},
|
|
16448
15819
|
/**
|
|
@@ -16491,18 +15862,13 @@ const CWidgetStatsE = defineComponent({
|
|
|
16491
15862
|
/**
|
|
16492
15863
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16493
15864
|
*/
|
|
16494
|
-
title:
|
|
16495
|
-
type: String,
|
|
16496
|
-
default: undefined,
|
|
16497
|
-
require: false,
|
|
16498
|
-
},
|
|
15865
|
+
title: String,
|
|
16499
15866
|
/**
|
|
16500
15867
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16501
15868
|
*/
|
|
16502
15869
|
value: {
|
|
16503
15870
|
type: [Number, String],
|
|
16504
|
-
default: 0
|
|
16505
|
-
require: false,
|
|
15871
|
+
default: 0
|
|
16506
15872
|
},
|
|
16507
15873
|
},
|
|
16508
15874
|
/**
|
|
@@ -16540,7 +15906,7 @@ const CWidgetStatsF = defineComponent({
|
|
|
16540
15906
|
*
|
|
16541
15907
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16542
15908
|
*/
|
|
16543
|
-
color: Color,
|
|
15909
|
+
color: Color$1,
|
|
16544
15910
|
/**
|
|
16545
15911
|
* Set padding of your component.
|
|
16546
15912
|
*/
|
|
@@ -16551,26 +15917,17 @@ const CWidgetStatsF = defineComponent({
|
|
|
16551
15917
|
/**
|
|
16552
15918
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16553
15919
|
*/
|
|
16554
|
-
title:
|
|
16555
|
-
type: String,
|
|
16556
|
-
default: undefined,
|
|
16557
|
-
require: false,
|
|
16558
|
-
},
|
|
15920
|
+
title: String,
|
|
16559
15921
|
/**
|
|
16560
15922
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16561
15923
|
*/
|
|
16562
|
-
text:
|
|
16563
|
-
type: String,
|
|
16564
|
-
default: undefined,
|
|
16565
|
-
require: false,
|
|
16566
|
-
},
|
|
15924
|
+
text: String,
|
|
16567
15925
|
/**
|
|
16568
15926
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16569
15927
|
*/
|
|
16570
15928
|
value: {
|
|
16571
15929
|
type: [Number, String],
|
|
16572
|
-
default: 0
|
|
16573
|
-
require: false,
|
|
15930
|
+
default: 0
|
|
16574
15931
|
},
|
|
16575
15932
|
},
|
|
16576
15933
|
/**
|