@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.js
CHANGED
|
@@ -10,11 +10,7 @@ const CAccordion = vue.defineComponent({
|
|
|
10
10
|
/**
|
|
11
11
|
* The active item key.
|
|
12
12
|
*/
|
|
13
|
-
activeItemKey:
|
|
14
|
-
type: [Number, String],
|
|
15
|
-
default: undefined,
|
|
16
|
-
require: false,
|
|
17
|
-
},
|
|
13
|
+
activeItemKey: [Number, String],
|
|
18
14
|
/**
|
|
19
15
|
* Make accordion items stay open when another item is opened
|
|
20
16
|
*/
|
|
@@ -120,17 +116,11 @@ const CCollapse = vue.defineComponent({
|
|
|
120
116
|
/**
|
|
121
117
|
* Set horizontal collapsing to transition the width instead of height.
|
|
122
118
|
*/
|
|
123
|
-
horizontal:
|
|
124
|
-
type: Boolean,
|
|
125
|
-
required: false,
|
|
126
|
-
},
|
|
119
|
+
horizontal: Boolean,
|
|
127
120
|
/**
|
|
128
121
|
* Toggle the visibility of component.
|
|
129
122
|
*/
|
|
130
|
-
visible:
|
|
131
|
-
type: Boolean,
|
|
132
|
-
required: false,
|
|
133
|
-
},
|
|
123
|
+
visible: Boolean,
|
|
134
124
|
},
|
|
135
125
|
emits: [
|
|
136
126
|
/**
|
|
@@ -245,16 +235,11 @@ const CAccordionItem = vue.defineComponent({
|
|
|
245
235
|
/**
|
|
246
236
|
* The item key.
|
|
247
237
|
*/
|
|
248
|
-
itemKey:
|
|
249
|
-
type: [Number, String],
|
|
250
|
-
default: undefined,
|
|
251
|
-
require: false,
|
|
252
|
-
},
|
|
238
|
+
itemKey: [Number, String]
|
|
253
239
|
},
|
|
254
240
|
setup(props, { slots }) {
|
|
255
241
|
const activeItemKey = vue.inject('activeItemKey');
|
|
256
242
|
const alwaysOpen = vue.inject('alwaysOpen');
|
|
257
|
-
// eslint-disable-next-line no-unused-vars
|
|
258
243
|
const setActiveItemKey = vue.inject('setActiveItemKey');
|
|
259
244
|
const itemKey = vue.ref(props.itemKey ? props.itemKey : Math.random().toString(36).substr(2, 9));
|
|
260
245
|
const visible = vue.ref(Boolean(activeItemKey.value === itemKey.value));
|
|
@@ -279,6 +264,54 @@ const CAccordionPlugin = {
|
|
|
279
264
|
},
|
|
280
265
|
};
|
|
281
266
|
|
|
267
|
+
const CCloseButton = vue.defineComponent({
|
|
268
|
+
name: 'CCloseButton',
|
|
269
|
+
props: {
|
|
270
|
+
/**
|
|
271
|
+
* Toggle the disabled state for the component.
|
|
272
|
+
*/
|
|
273
|
+
disabled: Boolean,
|
|
274
|
+
/**
|
|
275
|
+
* Change the default color to white.
|
|
276
|
+
*/
|
|
277
|
+
white: Boolean,
|
|
278
|
+
},
|
|
279
|
+
emits: [
|
|
280
|
+
/**
|
|
281
|
+
* Event called when the user clicks on the component.
|
|
282
|
+
*/
|
|
283
|
+
'click',
|
|
284
|
+
],
|
|
285
|
+
setup(props, { emit }) {
|
|
286
|
+
const handleClick = () => {
|
|
287
|
+
if (props.disabled) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
emit('click');
|
|
291
|
+
};
|
|
292
|
+
return () => vue.h('button', {
|
|
293
|
+
type: 'button',
|
|
294
|
+
class: [
|
|
295
|
+
'btn',
|
|
296
|
+
'btn-close',
|
|
297
|
+
{
|
|
298
|
+
['btn-close-white']: props.white,
|
|
299
|
+
},
|
|
300
|
+
props.disabled,
|
|
301
|
+
],
|
|
302
|
+
'aria-label': 'Close',
|
|
303
|
+
disabled: props.disabled,
|
|
304
|
+
onClick: handleClick,
|
|
305
|
+
});
|
|
306
|
+
},
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
const CCloseButtonPlugin = {
|
|
310
|
+
install: (app) => {
|
|
311
|
+
app.component(CCloseButton.name, CCloseButton);
|
|
312
|
+
},
|
|
313
|
+
};
|
|
314
|
+
|
|
282
315
|
const Shape = {
|
|
283
316
|
type: String,
|
|
284
317
|
validator: (value) => {
|
|
@@ -298,7 +331,7 @@ const Shape = {
|
|
|
298
331
|
].includes(value);
|
|
299
332
|
},
|
|
300
333
|
};
|
|
301
|
-
const Color = {
|
|
334
|
+
const Color$1 = {
|
|
302
335
|
type: String,
|
|
303
336
|
validator: (value) => {
|
|
304
337
|
// The value must match one of these strings
|
|
@@ -348,54 +381,6 @@ const TextColor = {
|
|
|
348
381
|
},
|
|
349
382
|
};
|
|
350
383
|
|
|
351
|
-
const CCloseButton = vue.defineComponent({
|
|
352
|
-
name: 'CCloseButton',
|
|
353
|
-
props: {
|
|
354
|
-
/**
|
|
355
|
-
* Toggle the disabled state for the component.
|
|
356
|
-
*/
|
|
357
|
-
disabled: {
|
|
358
|
-
type: Boolean,
|
|
359
|
-
required: false,
|
|
360
|
-
},
|
|
361
|
-
/**
|
|
362
|
-
* Change the default color to white.
|
|
363
|
-
*/
|
|
364
|
-
white: {
|
|
365
|
-
type: Boolean,
|
|
366
|
-
required: false,
|
|
367
|
-
},
|
|
368
|
-
},
|
|
369
|
-
emits: [
|
|
370
|
-
/**
|
|
371
|
-
* Event called when the user clicks on the component.
|
|
372
|
-
*/
|
|
373
|
-
'click',
|
|
374
|
-
],
|
|
375
|
-
setup(props, { emit }) {
|
|
376
|
-
const handleClick = () => {
|
|
377
|
-
if (props.disabled) {
|
|
378
|
-
return;
|
|
379
|
-
}
|
|
380
|
-
emit('click');
|
|
381
|
-
};
|
|
382
|
-
return () => vue.h('button', {
|
|
383
|
-
type: 'button',
|
|
384
|
-
class: [
|
|
385
|
-
'btn',
|
|
386
|
-
'btn-close',
|
|
387
|
-
{
|
|
388
|
-
['btn-close-white']: props.white,
|
|
389
|
-
},
|
|
390
|
-
props.disabled,
|
|
391
|
-
],
|
|
392
|
-
'aria-label': 'Close',
|
|
393
|
-
disabled: props.disabled,
|
|
394
|
-
onClick: handleClick,
|
|
395
|
-
});
|
|
396
|
-
},
|
|
397
|
-
});
|
|
398
|
-
|
|
399
384
|
const CAlert = vue.defineComponent({
|
|
400
385
|
name: 'CAlert',
|
|
401
386
|
props: {
|
|
@@ -404,15 +389,11 @@ const CAlert = vue.defineComponent({
|
|
|
404
389
|
*
|
|
405
390
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
406
391
|
*/
|
|
407
|
-
color: Color,
|
|
392
|
+
color: Color$1,
|
|
408
393
|
/**
|
|
409
394
|
* Optionally add a close button to alert and allow it to self dismisss.
|
|
410
395
|
*/
|
|
411
|
-
dismissible:
|
|
412
|
-
type: Boolean,
|
|
413
|
-
default: false,
|
|
414
|
-
required: false,
|
|
415
|
-
},
|
|
396
|
+
dismissible: Boolean,
|
|
416
397
|
/**
|
|
417
398
|
* Set the alert variant to a solid.
|
|
418
399
|
*
|
|
@@ -420,8 +401,6 @@ const CAlert = vue.defineComponent({
|
|
|
420
401
|
*/
|
|
421
402
|
variant: {
|
|
422
403
|
type: String,
|
|
423
|
-
default: undefined,
|
|
424
|
-
required: false,
|
|
425
404
|
validator: (value) => {
|
|
426
405
|
return value === 'solid';
|
|
427
406
|
},
|
|
@@ -432,7 +411,6 @@ const CAlert = vue.defineComponent({
|
|
|
432
411
|
visible: {
|
|
433
412
|
type: Boolean,
|
|
434
413
|
default: true,
|
|
435
|
-
required: false,
|
|
436
414
|
},
|
|
437
415
|
},
|
|
438
416
|
emits: [
|
|
@@ -451,8 +429,6 @@ const CAlert = vue.defineComponent({
|
|
|
451
429
|
emit('close');
|
|
452
430
|
};
|
|
453
431
|
return () => vue.h(vue.Transition, {
|
|
454
|
-
name: 'fade',
|
|
455
|
-
duration: 350,
|
|
456
432
|
enterFromClass: '',
|
|
457
433
|
enterActiveClass: 'fade',
|
|
458
434
|
enterToClass: 'fade show',
|
|
@@ -492,7 +468,6 @@ const CAlertHeading = vue.defineComponent({
|
|
|
492
468
|
component: {
|
|
493
469
|
type: String,
|
|
494
470
|
default: 'h4',
|
|
495
|
-
required: false,
|
|
496
471
|
},
|
|
497
472
|
},
|
|
498
473
|
setup(props, { slots }) {
|
|
@@ -527,7 +502,7 @@ const CAvatar = vue.defineComponent({
|
|
|
527
502
|
*
|
|
528
503
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
529
504
|
*/
|
|
530
|
-
color: Color,
|
|
505
|
+
color: Color$1,
|
|
531
506
|
/**
|
|
532
507
|
* Select the shape of the component.
|
|
533
508
|
*
|
|
@@ -541,8 +516,6 @@ const CAvatar = vue.defineComponent({
|
|
|
541
516
|
*/
|
|
542
517
|
size: {
|
|
543
518
|
type: String,
|
|
544
|
-
default: undefined,
|
|
545
|
-
required: false,
|
|
546
519
|
validator: (value) => {
|
|
547
520
|
return ['sm', 'md', 'lg', 'xl'].includes(value);
|
|
548
521
|
},
|
|
@@ -550,11 +523,7 @@ const CAvatar = vue.defineComponent({
|
|
|
550
523
|
/**
|
|
551
524
|
* The src attribute for the img element.
|
|
552
525
|
*/
|
|
553
|
-
src:
|
|
554
|
-
type: String,
|
|
555
|
-
default: undefined,
|
|
556
|
-
required: false,
|
|
557
|
-
},
|
|
526
|
+
src: String,
|
|
558
527
|
/**
|
|
559
528
|
* Sets the color context of the status indicator to one of CoreUI’s themed colors.
|
|
560
529
|
*
|
|
@@ -562,8 +531,6 @@ const CAvatar = vue.defineComponent({
|
|
|
562
531
|
*/
|
|
563
532
|
status: {
|
|
564
533
|
type: String,
|
|
565
|
-
default: undefined,
|
|
566
|
-
required: false,
|
|
567
534
|
validator: (value) => {
|
|
568
535
|
return [
|
|
569
536
|
'primary',
|
|
@@ -619,32 +586,16 @@ const CBackdrop = vue.defineComponent({
|
|
|
619
586
|
visible: {
|
|
620
587
|
type: Boolean,
|
|
621
588
|
default: false,
|
|
622
|
-
required: false,
|
|
623
589
|
},
|
|
624
590
|
},
|
|
625
591
|
setup(props) {
|
|
626
|
-
const handleBeforeEnter = (el) => {
|
|
627
|
-
el.classList.remove('d-none');
|
|
628
|
-
};
|
|
629
|
-
const handleEnter = (el, done) => {
|
|
630
|
-
executeAfterTransition(() => done(), el);
|
|
631
|
-
setTimeout(() => {
|
|
632
|
-
el.style.visibility = 'visible';
|
|
633
|
-
el.classList.add('show');
|
|
634
|
-
}, 1);
|
|
635
|
-
};
|
|
636
|
-
const handleLeave = (el, done) => {
|
|
637
|
-
executeAfterTransition(() => done(), el);
|
|
638
|
-
el.classList.remove('show');
|
|
639
|
-
};
|
|
640
|
-
const handleAfterLeave = (el) => {
|
|
641
|
-
el.classList.add('d-none');
|
|
642
|
-
};
|
|
643
592
|
return () => vue.h(vue.Transition, {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
593
|
+
onEnter: (el) => {
|
|
594
|
+
el.classList.add('show');
|
|
595
|
+
},
|
|
596
|
+
onLeave: (el) => {
|
|
597
|
+
el.classList.remove('show');
|
|
598
|
+
}
|
|
648
599
|
}, () => props.visible &&
|
|
649
600
|
vue.h('div', {
|
|
650
601
|
class: 'fade',
|
|
@@ -666,13 +617,12 @@ const CBadge = vue.defineComponent({
|
|
|
666
617
|
*
|
|
667
618
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
668
619
|
*/
|
|
669
|
-
color: Color,
|
|
620
|
+
color: Color$1,
|
|
670
621
|
/**
|
|
671
622
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
672
623
|
*/
|
|
673
624
|
component: {
|
|
674
625
|
type: String,
|
|
675
|
-
required: false,
|
|
676
626
|
default: 'span',
|
|
677
627
|
},
|
|
678
628
|
/**
|
|
@@ -682,8 +632,6 @@ const CBadge = vue.defineComponent({
|
|
|
682
632
|
*/
|
|
683
633
|
position: {
|
|
684
634
|
type: String,
|
|
685
|
-
default: undefined,
|
|
686
|
-
required: false,
|
|
687
635
|
validator: (value) => {
|
|
688
636
|
return ['top-start', 'top-end', 'bottom-end', 'bottom-start'].includes(value);
|
|
689
637
|
},
|
|
@@ -701,8 +649,6 @@ const CBadge = vue.defineComponent({
|
|
|
701
649
|
*/
|
|
702
650
|
size: {
|
|
703
651
|
type: String,
|
|
704
|
-
default: undefined,
|
|
705
|
-
required: false,
|
|
706
652
|
validator: (value) => {
|
|
707
653
|
return value === 'sm';
|
|
708
654
|
},
|
|
@@ -746,18 +692,11 @@ const CBreadcrumbItem = vue.defineComponent({
|
|
|
746
692
|
/**
|
|
747
693
|
* Toggle the active state for the component.
|
|
748
694
|
*/
|
|
749
|
-
active:
|
|
750
|
-
type: Boolean,
|
|
751
|
-
required: false,
|
|
752
|
-
},
|
|
695
|
+
active: Boolean,
|
|
753
696
|
/**
|
|
754
697
|
* The `href` attribute for the inner link component.
|
|
755
698
|
*/
|
|
756
|
-
href:
|
|
757
|
-
type: String,
|
|
758
|
-
default: undefined,
|
|
759
|
-
required: false,
|
|
760
|
-
},
|
|
699
|
+
href: String,
|
|
761
700
|
},
|
|
762
701
|
setup(props, { slots }) {
|
|
763
702
|
return () => vue.h('li', {
|
|
@@ -796,40 +735,28 @@ const CButton = vue.defineComponent({
|
|
|
796
735
|
/**
|
|
797
736
|
* Toggle the active state for the component.
|
|
798
737
|
*/
|
|
799
|
-
active:
|
|
800
|
-
type: Boolean,
|
|
801
|
-
default: false,
|
|
802
|
-
required: false,
|
|
803
|
-
},
|
|
738
|
+
active: Boolean,
|
|
804
739
|
/**
|
|
805
740
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
806
741
|
*
|
|
807
742
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
808
743
|
*/
|
|
809
|
-
color: Color,
|
|
744
|
+
color: Color$1,
|
|
810
745
|
/**
|
|
811
746
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
812
747
|
*/
|
|
813
748
|
component: {
|
|
814
749
|
type: String,
|
|
815
750
|
default: 'button',
|
|
816
|
-
required: false,
|
|
817
751
|
},
|
|
818
752
|
/**
|
|
819
753
|
* Toggle the disabled state for the component.
|
|
820
754
|
*/
|
|
821
|
-
disabled:
|
|
822
|
-
type: Boolean,
|
|
823
|
-
required: false,
|
|
824
|
-
},
|
|
755
|
+
disabled: Boolean,
|
|
825
756
|
/**
|
|
826
757
|
* The href attribute specifies the URL of the page the link goes to.
|
|
827
758
|
*/
|
|
828
|
-
href:
|
|
829
|
-
type: String,
|
|
830
|
-
default: undefined,
|
|
831
|
-
required: false,
|
|
832
|
-
},
|
|
759
|
+
href: String,
|
|
833
760
|
/**
|
|
834
761
|
* Select the shape of the component.
|
|
835
762
|
*
|
|
@@ -843,8 +770,6 @@ const CButton = vue.defineComponent({
|
|
|
843
770
|
*/
|
|
844
771
|
size: {
|
|
845
772
|
type: String,
|
|
846
|
-
default: undefined,
|
|
847
|
-
required: false,
|
|
848
773
|
validator: (value) => {
|
|
849
774
|
return ['sm', 'lg'].includes(value);
|
|
850
775
|
},
|
|
@@ -858,7 +783,6 @@ const CButton = vue.defineComponent({
|
|
|
858
783
|
type: {
|
|
859
784
|
type: String,
|
|
860
785
|
default: 'button',
|
|
861
|
-
required: false,
|
|
862
786
|
validator: (value) => {
|
|
863
787
|
return ['button', 'submit', 'reset'].includes(value);
|
|
864
788
|
},
|
|
@@ -870,8 +794,6 @@ const CButton = vue.defineComponent({
|
|
|
870
794
|
*/
|
|
871
795
|
variant: {
|
|
872
796
|
type: String,
|
|
873
|
-
default: undefined,
|
|
874
|
-
required: false,
|
|
875
797
|
validator: (value) => {
|
|
876
798
|
return ['ghost', 'outline'].includes(value);
|
|
877
799
|
},
|
|
@@ -933,8 +855,6 @@ const CButtonGroup = vue.defineComponent({
|
|
|
933
855
|
*/
|
|
934
856
|
size: {
|
|
935
857
|
type: String,
|
|
936
|
-
default: undefined,
|
|
937
|
-
required: false,
|
|
938
858
|
validator: (value) => {
|
|
939
859
|
return ['sm', 'lg'].includes(value);
|
|
940
860
|
},
|
|
@@ -942,10 +862,7 @@ const CButtonGroup = vue.defineComponent({
|
|
|
942
862
|
/**
|
|
943
863
|
* Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.
|
|
944
864
|
*/
|
|
945
|
-
vertical:
|
|
946
|
-
type: Boolean,
|
|
947
|
-
required: false,
|
|
948
|
-
},
|
|
865
|
+
vertical: Boolean,
|
|
949
866
|
},
|
|
950
867
|
setup(props, { slots }) {
|
|
951
868
|
return () => vue.h('div', {
|
|
@@ -1637,7 +1554,7 @@ const CCallout = vue.defineComponent({
|
|
|
1637
1554
|
*
|
|
1638
1555
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
1639
1556
|
*/
|
|
1640
|
-
color: Color,
|
|
1557
|
+
color: Color$1,
|
|
1641
1558
|
},
|
|
1642
1559
|
setup(props, { slots }) {
|
|
1643
1560
|
return () => vue.h('div', {
|
|
@@ -1665,7 +1582,7 @@ const CCard = vue.defineComponent({
|
|
|
1665
1582
|
*
|
|
1666
1583
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
1667
1584
|
*/
|
|
1668
|
-
color: Color,
|
|
1585
|
+
color: Color$1,
|
|
1669
1586
|
/**
|
|
1670
1587
|
* Sets the text color context of the component to one of CoreUI’s themed colors.
|
|
1671
1588
|
*
|
|
@@ -1715,7 +1632,6 @@ const CCardHeader = vue.defineComponent({
|
|
|
1715
1632
|
*/
|
|
1716
1633
|
component: {
|
|
1717
1634
|
type: String,
|
|
1718
|
-
required: false,
|
|
1719
1635
|
default: 'div',
|
|
1720
1636
|
},
|
|
1721
1637
|
},
|
|
@@ -1732,7 +1648,6 @@ const CCardImage = vue.defineComponent({
|
|
|
1732
1648
|
*/
|
|
1733
1649
|
component: {
|
|
1734
1650
|
type: String,
|
|
1735
|
-
required: false,
|
|
1736
1651
|
default: 'img',
|
|
1737
1652
|
},
|
|
1738
1653
|
/**
|
|
@@ -1742,8 +1657,6 @@ const CCardImage = vue.defineComponent({
|
|
|
1742
1657
|
*/
|
|
1743
1658
|
orientation: {
|
|
1744
1659
|
type: String,
|
|
1745
|
-
default: undefined,
|
|
1746
|
-
required: false,
|
|
1747
1660
|
validator: (value) => {
|
|
1748
1661
|
return ['top', 'bottom'].includes(value);
|
|
1749
1662
|
},
|
|
@@ -1769,33 +1682,22 @@ const CLink = vue.defineComponent({
|
|
|
1769
1682
|
/**
|
|
1770
1683
|
* Toggle the active state for the component.
|
|
1771
1684
|
*/
|
|
1772
|
-
active:
|
|
1773
|
-
type: Boolean,
|
|
1774
|
-
required: false,
|
|
1775
|
-
},
|
|
1685
|
+
active: Boolean,
|
|
1776
1686
|
/**
|
|
1777
1687
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
1778
1688
|
*/
|
|
1779
1689
|
component: {
|
|
1780
1690
|
type: String,
|
|
1781
|
-
required: false,
|
|
1782
1691
|
default: 'a',
|
|
1783
1692
|
},
|
|
1784
1693
|
/**
|
|
1785
1694
|
* Toggle the disabled state for the component.
|
|
1786
1695
|
*/
|
|
1787
|
-
disabled:
|
|
1788
|
-
type: Boolean,
|
|
1789
|
-
required: false,
|
|
1790
|
-
},
|
|
1696
|
+
disabled: Boolean,
|
|
1791
1697
|
/**
|
|
1792
1698
|
* The href attribute specifies the URL of the page the link goes to.
|
|
1793
1699
|
*/
|
|
1794
|
-
href:
|
|
1795
|
-
type: String,
|
|
1796
|
-
default: undefined,
|
|
1797
|
-
required: false,
|
|
1798
|
-
},
|
|
1700
|
+
href: String,
|
|
1799
1701
|
},
|
|
1800
1702
|
emits: [
|
|
1801
1703
|
/**
|
|
@@ -1834,7 +1736,6 @@ const CCardLink = vue.defineComponent({
|
|
|
1834
1736
|
href: {
|
|
1835
1737
|
type: String,
|
|
1836
1738
|
default: '#',
|
|
1837
|
-
required: false,
|
|
1838
1739
|
},
|
|
1839
1740
|
},
|
|
1840
1741
|
setup(props, { slots }) {
|
|
@@ -1850,7 +1751,6 @@ const CCardSubtitle = vue.defineComponent({
|
|
|
1850
1751
|
*/
|
|
1851
1752
|
component: {
|
|
1852
1753
|
type: String,
|
|
1853
|
-
required: false,
|
|
1854
1754
|
default: 'h6',
|
|
1855
1755
|
},
|
|
1856
1756
|
},
|
|
@@ -1867,7 +1767,6 @@ const CCardText = vue.defineComponent({
|
|
|
1867
1767
|
*/
|
|
1868
1768
|
component: {
|
|
1869
1769
|
type: String,
|
|
1870
|
-
required: false,
|
|
1871
1770
|
default: 'p',
|
|
1872
1771
|
},
|
|
1873
1772
|
},
|
|
@@ -1884,7 +1783,6 @@ const CCardTitle = vue.defineComponent({
|
|
|
1884
1783
|
*/
|
|
1885
1784
|
component: {
|
|
1886
1785
|
type: String,
|
|
1887
|
-
required: false,
|
|
1888
1786
|
default: 'h5',
|
|
1889
1787
|
},
|
|
1890
1788
|
},
|
|
@@ -1934,7 +1832,6 @@ const CCarousel = vue.defineComponent({
|
|
|
1934
1832
|
index: {
|
|
1935
1833
|
type: Number,
|
|
1936
1834
|
default: 0,
|
|
1937
|
-
required: false,
|
|
1938
1835
|
},
|
|
1939
1836
|
/**
|
|
1940
1837
|
* Adding indicators at the bottom of the carousel for each item.
|
|
@@ -1946,7 +1843,6 @@ const CCarousel = vue.defineComponent({
|
|
|
1946
1843
|
interval: {
|
|
1947
1844
|
type: [Boolean, Number],
|
|
1948
1845
|
default: 5000,
|
|
1949
|
-
required: false,
|
|
1950
1846
|
},
|
|
1951
1847
|
/**
|
|
1952
1848
|
* 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.
|
|
@@ -1954,7 +1850,6 @@ const CCarousel = vue.defineComponent({
|
|
|
1954
1850
|
pause: {
|
|
1955
1851
|
type: [Boolean, String],
|
|
1956
1852
|
default: 'hover',
|
|
1957
|
-
required: false,
|
|
1958
1853
|
validator: (value) => {
|
|
1959
1854
|
return typeof value === 'boolean' || value === 'hover';
|
|
1960
1855
|
},
|
|
@@ -1967,7 +1862,6 @@ const CCarousel = vue.defineComponent({
|
|
|
1967
1862
|
transition: {
|
|
1968
1863
|
type: String,
|
|
1969
1864
|
default: 'slide',
|
|
1970
|
-
required: false,
|
|
1971
1865
|
validator: (value) => {
|
|
1972
1866
|
return ['crossfade', 'slide'].includes(value);
|
|
1973
1867
|
},
|
|
@@ -1978,7 +1872,6 @@ const CCarousel = vue.defineComponent({
|
|
|
1978
1872
|
wrap: {
|
|
1979
1873
|
type: Boolean,
|
|
1980
1874
|
default: true,
|
|
1981
|
-
required: false,
|
|
1982
1875
|
},
|
|
1983
1876
|
},
|
|
1984
1877
|
setup(props, { slots }) {
|
|
@@ -2020,7 +1913,7 @@ const CCarousel = vue.defineComponent({
|
|
|
2020
1913
|
const nextItemWhenVisible = () => {
|
|
2021
1914
|
// Don't call next when the page isn't visible
|
|
2022
1915
|
// or the carousel or its parent isn't visible
|
|
2023
|
-
if (!document.hidden && isInViewport(carouselRef.value)) {
|
|
1916
|
+
if (!document.hidden && carouselRef.value && isInViewport(carouselRef.value)) {
|
|
2024
1917
|
handleControlClick('next');
|
|
2025
1918
|
}
|
|
2026
1919
|
};
|
|
@@ -2039,7 +1932,7 @@ const CCarousel = vue.defineComponent({
|
|
|
2039
1932
|
}
|
|
2040
1933
|
};
|
|
2041
1934
|
const handleScroll = () => {
|
|
2042
|
-
if (!document.hidden && isInViewport(carouselRef.value)) {
|
|
1935
|
+
if (!document.hidden && carouselRef.value && isInViewport(carouselRef.value)) {
|
|
2043
1936
|
visible.value = true;
|
|
2044
1937
|
}
|
|
2045
1938
|
else {
|
|
@@ -2149,7 +2042,6 @@ const CCarouselItem = vue.defineComponent({
|
|
|
2149
2042
|
direction: {
|
|
2150
2043
|
type: String,
|
|
2151
2044
|
default: 'next',
|
|
2152
|
-
required: false,
|
|
2153
2045
|
},
|
|
2154
2046
|
/**
|
|
2155
2047
|
* The amount of time to delay between automatically cycling an item.
|
|
@@ -2157,7 +2049,6 @@ const CCarouselItem = vue.defineComponent({
|
|
|
2157
2049
|
interval: {
|
|
2158
2050
|
type: [Boolean, Number],
|
|
2159
2051
|
default: false,
|
|
2160
|
-
required: false,
|
|
2161
2052
|
},
|
|
2162
2053
|
},
|
|
2163
2054
|
setup(props, { slots }) {
|
|
@@ -2219,12 +2110,6 @@ const CCarouselPlugin = {
|
|
|
2219
2110
|
},
|
|
2220
2111
|
};
|
|
2221
2112
|
|
|
2222
|
-
const CCloseButtonPlugin = {
|
|
2223
|
-
install: (app) => {
|
|
2224
|
-
app.component(CCloseButton.name, CCloseButton);
|
|
2225
|
-
},
|
|
2226
|
-
};
|
|
2227
|
-
|
|
2228
2113
|
const CCollapsePlugin = {
|
|
2229
2114
|
install: (app) => {
|
|
2230
2115
|
app.component(CCollapse.name, CCollapse);
|
|
@@ -4592,10 +4477,7 @@ const CForm = vue.defineComponent({
|
|
|
4592
4477
|
/**
|
|
4593
4478
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.
|
|
4594
4479
|
*/
|
|
4595
|
-
validated:
|
|
4596
|
-
type: Boolean,
|
|
4597
|
-
required: false,
|
|
4598
|
-
},
|
|
4480
|
+
validated: Boolean,
|
|
4599
4481
|
},
|
|
4600
4482
|
setup(props, { slots }) {
|
|
4601
4483
|
return () => vue.h('form', { class: [{ ['was-validated']: props.validated }] }, slots.default && slots.default());
|
|
@@ -4610,7 +4492,6 @@ const CFormFeedback = vue.defineComponent({
|
|
|
4610
4492
|
*/
|
|
4611
4493
|
component: {
|
|
4612
4494
|
type: String,
|
|
4613
|
-
required: false,
|
|
4614
4495
|
default: 'div',
|
|
4615
4496
|
},
|
|
4616
4497
|
/**
|
|
@@ -4645,33 +4526,25 @@ const CFormControlValidation = vue.defineComponent({
|
|
|
4645
4526
|
/**
|
|
4646
4527
|
* @ignore
|
|
4647
4528
|
*/
|
|
4648
|
-
describedby:
|
|
4649
|
-
type: String,
|
|
4650
|
-
},
|
|
4529
|
+
describedby: String,
|
|
4651
4530
|
/**
|
|
4652
4531
|
* Provide valuable, actionable feedback.
|
|
4653
4532
|
*
|
|
4654
4533
|
* @since 4.3.0
|
|
4655
4534
|
*/
|
|
4656
|
-
feedback:
|
|
4657
|
-
type: String,
|
|
4658
|
-
},
|
|
4535
|
+
feedback: String,
|
|
4659
4536
|
/**
|
|
4660
4537
|
* Provide valuable, actionable feedback.
|
|
4661
4538
|
*
|
|
4662
4539
|
* @since 4.3.0
|
|
4663
4540
|
*/
|
|
4664
|
-
feedbackInvalid:
|
|
4665
|
-
type: String,
|
|
4666
|
-
},
|
|
4541
|
+
feedbackInvalid: String,
|
|
4667
4542
|
/**
|
|
4668
4543
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4669
4544
|
*
|
|
4670
4545
|
* @since 4.3.0
|
|
4671
4546
|
*/
|
|
4672
|
-
feedbackValid:
|
|
4673
|
-
type: String,
|
|
4674
|
-
},
|
|
4547
|
+
feedbackValid: String,
|
|
4675
4548
|
/**
|
|
4676
4549
|
* Set component validation state to invalid.
|
|
4677
4550
|
*/
|
|
@@ -4724,11 +4597,7 @@ const CFormLabel = vue.defineComponent({
|
|
|
4724
4597
|
/**
|
|
4725
4598
|
* A string of all className you want to be applied to the component, and override standard className value.
|
|
4726
4599
|
*/
|
|
4727
|
-
customClassName:
|
|
4728
|
-
type: [Array, String],
|
|
4729
|
-
default: undefined,
|
|
4730
|
-
required: false,
|
|
4731
|
-
},
|
|
4600
|
+
customClassName: [Array, String],
|
|
4732
4601
|
},
|
|
4733
4602
|
setup(props, { slots }) {
|
|
4734
4603
|
return () => vue.h('label', {
|
|
@@ -4746,33 +4615,25 @@ const CFormCheck = vue.defineComponent({
|
|
|
4746
4615
|
*
|
|
4747
4616
|
* @see http://coreui.io/vue/docs/components/button.html
|
|
4748
4617
|
*/
|
|
4749
|
-
button:
|
|
4750
|
-
type: Object,
|
|
4751
|
-
},
|
|
4618
|
+
button: Object,
|
|
4752
4619
|
/**
|
|
4753
4620
|
* Provide valuable, actionable feedback.
|
|
4754
4621
|
*
|
|
4755
4622
|
* @since 4.3.0
|
|
4756
4623
|
*/
|
|
4757
|
-
feedback:
|
|
4758
|
-
type: String,
|
|
4759
|
-
},
|
|
4624
|
+
feedback: String,
|
|
4760
4625
|
/**
|
|
4761
4626
|
* Provide valuable, actionable feedback.
|
|
4762
4627
|
*
|
|
4763
4628
|
* @since 4.3.0
|
|
4764
4629
|
*/
|
|
4765
|
-
feedbackInvalid:
|
|
4766
|
-
type: String,
|
|
4767
|
-
},
|
|
4630
|
+
feedbackInvalid: String,
|
|
4768
4631
|
/**
|
|
4769
4632
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4770
4633
|
*
|
|
4771
4634
|
* @since 4.3.0
|
|
4772
4635
|
*/
|
|
4773
|
-
feedbackValid:
|
|
4774
|
-
type: String,
|
|
4775
|
-
},
|
|
4636
|
+
feedbackValid: String,
|
|
4776
4637
|
/**
|
|
4777
4638
|
* Sets hit area to the full area of the component.
|
|
4778
4639
|
*/
|
|
@@ -4786,9 +4647,7 @@ const CFormCheck = vue.defineComponent({
|
|
|
4786
4647
|
/**
|
|
4787
4648
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
4788
4649
|
*/
|
|
4789
|
-
id:
|
|
4790
|
-
type: String,
|
|
4791
|
-
},
|
|
4650
|
+
id: String,
|
|
4792
4651
|
/**
|
|
4793
4652
|
* Input Checkbox indeterminate Property
|
|
4794
4653
|
*/
|
|
@@ -4796,9 +4655,7 @@ const CFormCheck = vue.defineComponent({
|
|
|
4796
4655
|
/**
|
|
4797
4656
|
* Group checkboxes or radios on the same horizontal row by adding.
|
|
4798
4657
|
*/
|
|
4799
|
-
inline:
|
|
4800
|
-
type: Boolean,
|
|
4801
|
-
},
|
|
4658
|
+
inline: Boolean,
|
|
4802
4659
|
/**
|
|
4803
4660
|
* Set component validation state to invalid.
|
|
4804
4661
|
*/
|
|
@@ -4806,9 +4663,7 @@ const CFormCheck = vue.defineComponent({
|
|
|
4806
4663
|
/**
|
|
4807
4664
|
* The element represents a caption for a component.
|
|
4808
4665
|
*/
|
|
4809
|
-
label:
|
|
4810
|
-
type: String,
|
|
4811
|
-
},
|
|
4666
|
+
label: String,
|
|
4812
4667
|
/**
|
|
4813
4668
|
* The default name for a value passed using v-model.
|
|
4814
4669
|
*/
|
|
@@ -4819,7 +4674,7 @@ const CFormCheck = vue.defineComponent({
|
|
|
4819
4674
|
/**
|
|
4820
4675
|
* Put checkboxes or radios on the opposite side.
|
|
4821
4676
|
*
|
|
4822
|
-
* @
|
|
4677
|
+
* @since 4.8.0
|
|
4823
4678
|
*/
|
|
4824
4679
|
reverse: Boolean,
|
|
4825
4680
|
/**
|
|
@@ -4840,9 +4695,7 @@ const CFormCheck = vue.defineComponent({
|
|
|
4840
4695
|
/**
|
|
4841
4696
|
* Set component validation state to valid.
|
|
4842
4697
|
*/
|
|
4843
|
-
valid:
|
|
4844
|
-
type: Boolean,
|
|
4845
|
-
},
|
|
4698
|
+
valid: Boolean,
|
|
4846
4699
|
},
|
|
4847
4700
|
emits: [
|
|
4848
4701
|
/**
|
|
@@ -4946,7 +4799,6 @@ const CFormText = vue.defineComponent({
|
|
|
4946
4799
|
*/
|
|
4947
4800
|
component: {
|
|
4948
4801
|
type: String,
|
|
4949
|
-
required: false,
|
|
4950
4802
|
default: 'div',
|
|
4951
4803
|
},
|
|
4952
4804
|
},
|
|
@@ -4965,31 +4817,23 @@ const CFormControlWrapper = vue.defineComponent({
|
|
|
4965
4817
|
*
|
|
4966
4818
|
* @since 4.3.0
|
|
4967
4819
|
*/
|
|
4968
|
-
floatingLabel:
|
|
4969
|
-
type: String,
|
|
4970
|
-
},
|
|
4820
|
+
floatingLabel: String,
|
|
4971
4821
|
/**
|
|
4972
4822
|
* @ignore
|
|
4973
4823
|
*/
|
|
4974
|
-
id:
|
|
4975
|
-
type: String,
|
|
4976
|
-
},
|
|
4824
|
+
id: String,
|
|
4977
4825
|
/**
|
|
4978
4826
|
* Add a caption for a component.
|
|
4979
4827
|
*
|
|
4980
4828
|
* @since 4.3.0
|
|
4981
4829
|
*/
|
|
4982
|
-
label:
|
|
4983
|
-
type: String,
|
|
4984
|
-
},
|
|
4830
|
+
label: String,
|
|
4985
4831
|
/**
|
|
4986
4832
|
* Add helper text to the component.
|
|
4987
4833
|
*
|
|
4988
4834
|
* @since 4.3.0
|
|
4989
4835
|
*/
|
|
4990
|
-
text:
|
|
4991
|
-
type: String,
|
|
4992
|
-
},
|
|
4836
|
+
text: String,
|
|
4993
4837
|
},
|
|
4994
4838
|
setup(props, { slots }) {
|
|
4995
4839
|
const formControlValidation = () => vue.h(CFormControlValidation, {
|
|
@@ -5053,49 +4897,36 @@ const CFormInput = vue.defineComponent({
|
|
|
5053
4897
|
/**
|
|
5054
4898
|
* Toggle the disabled state for the component.
|
|
5055
4899
|
*/
|
|
5056
|
-
disabled:
|
|
5057
|
-
type: Boolean,
|
|
5058
|
-
required: false,
|
|
5059
|
-
},
|
|
4900
|
+
disabled: Boolean,
|
|
5060
4901
|
// Inherited Props from CFormControlWrapper
|
|
5061
4902
|
/**
|
|
5062
4903
|
* Provide valuable, actionable feedback.
|
|
5063
4904
|
*
|
|
5064
4905
|
* @since 4.3.0
|
|
5065
4906
|
*/
|
|
5066
|
-
feedback:
|
|
5067
|
-
type: String,
|
|
5068
|
-
},
|
|
4907
|
+
feedback: String,
|
|
5069
4908
|
/**
|
|
5070
4909
|
* Provide valuable, actionable feedback.
|
|
5071
4910
|
*
|
|
5072
4911
|
* @since 4.3.0
|
|
5073
4912
|
*/
|
|
5074
|
-
feedbackInvalid:
|
|
5075
|
-
type: String,
|
|
5076
|
-
},
|
|
4913
|
+
feedbackInvalid: String,
|
|
5077
4914
|
/**
|
|
5078
4915
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5079
4916
|
*
|
|
5080
4917
|
* @since 4.3.0
|
|
5081
4918
|
*/
|
|
5082
|
-
feedbackValid:
|
|
5083
|
-
type: String,
|
|
5084
|
-
},
|
|
4919
|
+
feedbackValid: String,
|
|
5085
4920
|
/**
|
|
5086
4921
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5087
4922
|
*
|
|
5088
4923
|
* @since 4.3.0
|
|
5089
4924
|
*/
|
|
5090
|
-
floatingLabel:
|
|
5091
|
-
type: String,
|
|
5092
|
-
},
|
|
4925
|
+
floatingLabel: String,
|
|
5093
4926
|
/**
|
|
5094
4927
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5095
4928
|
*/
|
|
5096
|
-
id:
|
|
5097
|
-
type: String,
|
|
5098
|
-
},
|
|
4929
|
+
id: String,
|
|
5099
4930
|
/**
|
|
5100
4931
|
* Set component validation state to invalid.
|
|
5101
4932
|
*/
|
|
@@ -5105,30 +4936,19 @@ const CFormInput = vue.defineComponent({
|
|
|
5105
4936
|
*
|
|
5106
4937
|
* @since 4.3.0
|
|
5107
4938
|
*/
|
|
5108
|
-
label:
|
|
5109
|
-
type: String,
|
|
5110
|
-
},
|
|
4939
|
+
label: String,
|
|
5111
4940
|
/**
|
|
5112
4941
|
* The default name for a value passed using v-model.
|
|
5113
4942
|
*/
|
|
5114
|
-
modelValue:
|
|
5115
|
-
type: [File, Number, String],
|
|
5116
|
-
default: undefined,
|
|
5117
|
-
},
|
|
4943
|
+
modelValue: [File, Number, String],
|
|
5118
4944
|
/**
|
|
5119
4945
|
* 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`.
|
|
5120
4946
|
*/
|
|
5121
|
-
plainText:
|
|
5122
|
-
type: Boolean,
|
|
5123
|
-
required: false,
|
|
5124
|
-
},
|
|
4947
|
+
plainText: Boolean,
|
|
5125
4948
|
/**
|
|
5126
4949
|
* Toggle the readonly state for the component.
|
|
5127
4950
|
*/
|
|
5128
|
-
readonly:
|
|
5129
|
-
type: Boolean,
|
|
5130
|
-
required: false,
|
|
5131
|
-
},
|
|
4951
|
+
readonly: Boolean,
|
|
5132
4952
|
/**
|
|
5133
4953
|
* Size the component small or large.
|
|
5134
4954
|
*
|
|
@@ -5145,9 +4965,7 @@ const CFormInput = vue.defineComponent({
|
|
|
5145
4965
|
*
|
|
5146
4966
|
* @since 4.3.0
|
|
5147
4967
|
*/
|
|
5148
|
-
text:
|
|
5149
|
-
type: String,
|
|
5150
|
-
},
|
|
4968
|
+
text: String,
|
|
5151
4969
|
/**
|
|
5152
4970
|
* Display validation feedback in a styled tooltip.
|
|
5153
4971
|
*
|
|
@@ -5245,61 +5063,39 @@ const CFormRange = vue.defineComponent({
|
|
|
5245
5063
|
/**
|
|
5246
5064
|
* Toggle the disabled state for the component.
|
|
5247
5065
|
*/
|
|
5248
|
-
disabled:
|
|
5249
|
-
type: Boolean,
|
|
5250
|
-
default: undefined,
|
|
5251
|
-
},
|
|
5066
|
+
disabled: Boolean,
|
|
5252
5067
|
/**
|
|
5253
5068
|
* Add a caption for a component.
|
|
5254
5069
|
*
|
|
5255
5070
|
* @since 4.3.0
|
|
5256
5071
|
*/
|
|
5257
|
-
label:
|
|
5258
|
-
type: String,
|
|
5259
|
-
},
|
|
5072
|
+
label: String,
|
|
5260
5073
|
/**
|
|
5261
5074
|
* Specifies the maximum value for the component.
|
|
5262
5075
|
*/
|
|
5263
|
-
max:
|
|
5264
|
-
type: Number,
|
|
5265
|
-
default: undefined,
|
|
5266
|
-
},
|
|
5076
|
+
max: Number,
|
|
5267
5077
|
/**
|
|
5268
5078
|
* Specifies the minimum value for the component.
|
|
5269
5079
|
*/
|
|
5270
|
-
min:
|
|
5271
|
-
type: Number,
|
|
5272
|
-
default: undefined,
|
|
5273
|
-
},
|
|
5080
|
+
min: Number,
|
|
5274
5081
|
/**
|
|
5275
5082
|
* The default name for a value passed using v-model.
|
|
5276
5083
|
*/
|
|
5277
|
-
modelValue:
|
|
5278
|
-
type: String,
|
|
5279
|
-
value: undefined,
|
|
5280
|
-
},
|
|
5084
|
+
modelValue: String,
|
|
5281
5085
|
/**
|
|
5282
5086
|
* Toggle the readonly state for the component.
|
|
5283
5087
|
*/
|
|
5284
|
-
readonly:
|
|
5285
|
-
type: Boolean,
|
|
5286
|
-
},
|
|
5088
|
+
readonly: Boolean,
|
|
5287
5089
|
/**
|
|
5288
5090
|
* Specifies the interval between legal numbers in the component.
|
|
5289
5091
|
*/
|
|
5290
|
-
steps:
|
|
5291
|
-
type: Number,
|
|
5292
|
-
default: undefined,
|
|
5293
|
-
},
|
|
5092
|
+
steps: Number,
|
|
5294
5093
|
/**
|
|
5295
5094
|
* The `value` attribute of component.
|
|
5296
5095
|
*
|
|
5297
5096
|
* @controllable onChange
|
|
5298
5097
|
* */
|
|
5299
|
-
value:
|
|
5300
|
-
type: Number,
|
|
5301
|
-
default: undefined,
|
|
5302
|
-
},
|
|
5098
|
+
value: Number,
|
|
5303
5099
|
},
|
|
5304
5100
|
emits: [
|
|
5305
5101
|
/**
|
|
@@ -5348,47 +5144,33 @@ const CFormSelect = vue.defineComponent({
|
|
|
5348
5144
|
*
|
|
5349
5145
|
* @since 4.3.0
|
|
5350
5146
|
*/
|
|
5351
|
-
feedback:
|
|
5352
|
-
type: String,
|
|
5353
|
-
},
|
|
5147
|
+
feedback: String,
|
|
5354
5148
|
/**
|
|
5355
5149
|
* Provide valuable, actionable feedback.
|
|
5356
5150
|
*
|
|
5357
5151
|
* @since 4.3.0
|
|
5358
5152
|
*/
|
|
5359
|
-
feedbackInvalid:
|
|
5360
|
-
type: String,
|
|
5361
|
-
},
|
|
5153
|
+
feedbackInvalid: String,
|
|
5362
5154
|
/**
|
|
5363
5155
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5364
5156
|
*
|
|
5365
5157
|
* @since 4.3.0
|
|
5366
5158
|
*/
|
|
5367
|
-
feedbackValid:
|
|
5368
|
-
type: String,
|
|
5369
|
-
},
|
|
5159
|
+
feedbackValid: String,
|
|
5370
5160
|
/**
|
|
5371
5161
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5372
5162
|
*
|
|
5373
5163
|
* @since 4.3.0
|
|
5374
5164
|
*/
|
|
5375
|
-
floatingLabel:
|
|
5376
|
-
type: String,
|
|
5377
|
-
},
|
|
5165
|
+
floatingLabel: String,
|
|
5378
5166
|
/**
|
|
5379
5167
|
* Specifies the number of visible options in a drop-down list.
|
|
5380
5168
|
*/
|
|
5381
|
-
htmlSize:
|
|
5382
|
-
type: Number,
|
|
5383
|
-
default: undefined,
|
|
5384
|
-
required: false,
|
|
5385
|
-
},
|
|
5169
|
+
htmlSize: Number,
|
|
5386
5170
|
/**
|
|
5387
5171
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5388
5172
|
*/
|
|
5389
|
-
id:
|
|
5390
|
-
type: String,
|
|
5391
|
-
},
|
|
5173
|
+
id: String,
|
|
5392
5174
|
/**
|
|
5393
5175
|
* Set component validation state to invalid.
|
|
5394
5176
|
*/
|
|
@@ -5398,32 +5180,21 @@ const CFormSelect = vue.defineComponent({
|
|
|
5398
5180
|
*
|
|
5399
5181
|
* @since 4.3.0
|
|
5400
5182
|
*/
|
|
5401
|
-
label:
|
|
5402
|
-
type: String,
|
|
5403
|
-
},
|
|
5183
|
+
label: String,
|
|
5404
5184
|
/**
|
|
5405
5185
|
* The default name for a value passed using v-model.
|
|
5406
5186
|
*/
|
|
5407
5187
|
modelValue: {
|
|
5408
5188
|
type: [String, Array],
|
|
5409
|
-
default: undefined,
|
|
5410
|
-
require: false,
|
|
5411
|
-
},
|
|
5412
|
-
multiple: {
|
|
5413
|
-
type: Boolean,
|
|
5414
|
-
required: false,
|
|
5415
5189
|
},
|
|
5190
|
+
multiple: Boolean,
|
|
5416
5191
|
/**
|
|
5417
5192
|
* Options list of the select component. Available keys: `label`, `value`, `disabled`.
|
|
5418
5193
|
* Examples:
|
|
5419
5194
|
* - `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`
|
|
5420
5195
|
* - `:options="['js', 'html']"`
|
|
5421
5196
|
*/
|
|
5422
|
-
options:
|
|
5423
|
-
type: Array,
|
|
5424
|
-
default: undefined,
|
|
5425
|
-
required: false,
|
|
5426
|
-
},
|
|
5197
|
+
options: Array,
|
|
5427
5198
|
/**
|
|
5428
5199
|
* Size the component small or large.
|
|
5429
5200
|
*
|
|
@@ -5431,8 +5202,6 @@ const CFormSelect = vue.defineComponent({
|
|
|
5431
5202
|
*/
|
|
5432
5203
|
size: {
|
|
5433
5204
|
type: String,
|
|
5434
|
-
default: undefined,
|
|
5435
|
-
require: false,
|
|
5436
5205
|
validator: (value) => {
|
|
5437
5206
|
return ['sm', 'lg'].includes(value);
|
|
5438
5207
|
},
|
|
@@ -5442,9 +5211,7 @@ const CFormSelect = vue.defineComponent({
|
|
|
5442
5211
|
*
|
|
5443
5212
|
* @since 4.3.0
|
|
5444
5213
|
*/
|
|
5445
|
-
text:
|
|
5446
|
-
type: String,
|
|
5447
|
-
},
|
|
5214
|
+
text: String,
|
|
5448
5215
|
/**
|
|
5449
5216
|
* Display validation feedback in a styled tooltip.
|
|
5450
5217
|
*
|
|
@@ -5540,32 +5307,23 @@ const CFormSwitch = vue.defineComponent({
|
|
|
5540
5307
|
/**
|
|
5541
5308
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document
|
|
5542
5309
|
*/
|
|
5543
|
-
id:
|
|
5544
|
-
type: String,
|
|
5545
|
-
},
|
|
5310
|
+
id: String,
|
|
5546
5311
|
/**
|
|
5547
5312
|
* Set component validation state to invalid.
|
|
5548
5313
|
*/
|
|
5549
|
-
invalid:
|
|
5550
|
-
type: Boolean,
|
|
5551
|
-
},
|
|
5314
|
+
invalid: Boolean,
|
|
5552
5315
|
/**
|
|
5553
5316
|
* The element represents a caption for a component.
|
|
5554
5317
|
*/
|
|
5555
|
-
label:
|
|
5556
|
-
type: String,
|
|
5557
|
-
},
|
|
5318
|
+
label: String,
|
|
5558
5319
|
/**
|
|
5559
5320
|
* The default name for a value passed using v-model.
|
|
5560
5321
|
*/
|
|
5561
|
-
modelValue:
|
|
5562
|
-
type: [Boolean, String],
|
|
5563
|
-
value: undefined,
|
|
5564
|
-
},
|
|
5322
|
+
modelValue: [Boolean, String],
|
|
5565
5323
|
/**
|
|
5566
5324
|
* Put checkboxes or radios on the opposite side.
|
|
5567
5325
|
*
|
|
5568
|
-
* @
|
|
5326
|
+
* @since 4.8.0
|
|
5569
5327
|
*/
|
|
5570
5328
|
reverse: Boolean,
|
|
5571
5329
|
/**
|
|
@@ -5591,9 +5349,7 @@ const CFormSwitch = vue.defineComponent({
|
|
|
5591
5349
|
/**
|
|
5592
5350
|
* Set component validation state to valid.
|
|
5593
5351
|
*/
|
|
5594
|
-
valid:
|
|
5595
|
-
type: Boolean,
|
|
5596
|
-
},
|
|
5352
|
+
valid: Boolean,
|
|
5597
5353
|
},
|
|
5598
5354
|
emits: [
|
|
5599
5355
|
/**
|
|
@@ -5653,47 +5409,35 @@ const CFormTextarea = vue.defineComponent({
|
|
|
5653
5409
|
/**
|
|
5654
5410
|
* Toggle the disabled state for the component.
|
|
5655
5411
|
*/
|
|
5656
|
-
disabled:
|
|
5657
|
-
type: Boolean,
|
|
5658
|
-
},
|
|
5412
|
+
disabled: Boolean,
|
|
5659
5413
|
/**
|
|
5660
5414
|
* Provide valuable, actionable feedback.
|
|
5661
5415
|
*
|
|
5662
5416
|
* @since 4.3.0
|
|
5663
5417
|
*/
|
|
5664
|
-
feedback:
|
|
5665
|
-
type: String,
|
|
5666
|
-
},
|
|
5418
|
+
feedback: String,
|
|
5667
5419
|
/**
|
|
5668
5420
|
* Provide valuable, actionable feedback.
|
|
5669
5421
|
*
|
|
5670
5422
|
* @since 4.3.0
|
|
5671
5423
|
*/
|
|
5672
|
-
feedbackInvalid:
|
|
5673
|
-
type: String,
|
|
5674
|
-
},
|
|
5424
|
+
feedbackInvalid: String,
|
|
5675
5425
|
/**
|
|
5676
5426
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5677
5427
|
*
|
|
5678
5428
|
* @since 4.3.0
|
|
5679
5429
|
*/
|
|
5680
|
-
feedbackValid:
|
|
5681
|
-
type: String,
|
|
5682
|
-
},
|
|
5430
|
+
feedbackValid: String,
|
|
5683
5431
|
/**
|
|
5684
5432
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5685
5433
|
*
|
|
5686
5434
|
* @since 4.3.0
|
|
5687
5435
|
*/
|
|
5688
|
-
floatingLabel:
|
|
5689
|
-
type: String,
|
|
5690
|
-
},
|
|
5436
|
+
floatingLabel: String,
|
|
5691
5437
|
/**
|
|
5692
5438
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5693
5439
|
*/
|
|
5694
|
-
id:
|
|
5695
|
-
type: String,
|
|
5696
|
-
},
|
|
5440
|
+
id: String,
|
|
5697
5441
|
/**
|
|
5698
5442
|
* Set component validation state to invalid.
|
|
5699
5443
|
*/
|
|
@@ -5703,36 +5447,25 @@ const CFormTextarea = vue.defineComponent({
|
|
|
5703
5447
|
*
|
|
5704
5448
|
* @since 4.3.0
|
|
5705
5449
|
*/
|
|
5706
|
-
label:
|
|
5707
|
-
type: String,
|
|
5708
|
-
},
|
|
5450
|
+
label: String,
|
|
5709
5451
|
/**
|
|
5710
5452
|
* The default name for a value passed using v-model.
|
|
5711
5453
|
*/
|
|
5712
|
-
modelValue:
|
|
5713
|
-
type: String,
|
|
5714
|
-
default: undefined,
|
|
5715
|
-
},
|
|
5454
|
+
modelValue: String,
|
|
5716
5455
|
/**
|
|
5717
5456
|
* 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`.
|
|
5718
5457
|
*/
|
|
5719
|
-
plainText:
|
|
5720
|
-
type: Boolean,
|
|
5721
|
-
},
|
|
5458
|
+
plainText: Boolean,
|
|
5722
5459
|
/**
|
|
5723
5460
|
* Toggle the readonly state for the component.
|
|
5724
5461
|
*/
|
|
5725
|
-
readonly:
|
|
5726
|
-
type: Boolean,
|
|
5727
|
-
},
|
|
5462
|
+
readonly: Boolean,
|
|
5728
5463
|
/**
|
|
5729
5464
|
* Add helper text to the component.
|
|
5730
5465
|
*
|
|
5731
5466
|
* @since 4.3.0
|
|
5732
5467
|
*/
|
|
5733
|
-
text:
|
|
5734
|
-
type: String,
|
|
5735
|
-
},
|
|
5468
|
+
text: String,
|
|
5736
5469
|
/**
|
|
5737
5470
|
* Display validation feedback in a styled tooltip.
|
|
5738
5471
|
*
|
|
@@ -5821,8 +5554,6 @@ const CInputGroup = vue.defineComponent({
|
|
|
5821
5554
|
*/
|
|
5822
5555
|
size: {
|
|
5823
5556
|
type: String,
|
|
5824
|
-
default: undefined,
|
|
5825
|
-
required: false,
|
|
5826
5557
|
validator: (value) => {
|
|
5827
5558
|
return ['sm', 'lg'].includes(value);
|
|
5828
5559
|
},
|
|
@@ -5848,7 +5579,6 @@ const CInputGroupText = vue.defineComponent({
|
|
|
5848
5579
|
*/
|
|
5849
5580
|
component: {
|
|
5850
5581
|
type: String,
|
|
5851
|
-
required: false,
|
|
5852
5582
|
default: 'span',
|
|
5853
5583
|
},
|
|
5854
5584
|
},
|
|
@@ -6039,7 +5769,7 @@ var round = Math.round;
|
|
|
6039
5769
|
function getUAString() {
|
|
6040
5770
|
var uaData = navigator.userAgentData;
|
|
6041
5771
|
|
|
6042
|
-
if (uaData != null && uaData.brands) {
|
|
5772
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
6043
5773
|
return uaData.brands.map(function (item) {
|
|
6044
5774
|
return item.brand + "/" + item.version;
|
|
6045
5775
|
}).join(' ');
|
|
@@ -6367,10 +6097,9 @@ var unsetSides = {
|
|
|
6367
6097
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
6368
6098
|
// cleanly divide the values into the appropriate subpixels.
|
|
6369
6099
|
|
|
6370
|
-
function roundOffsetsByDPR(_ref) {
|
|
6100
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
6371
6101
|
var x = _ref.x,
|
|
6372
6102
|
y = _ref.y;
|
|
6373
|
-
var win = window;
|
|
6374
6103
|
var dpr = win.devicePixelRatio || 1;
|
|
6375
6104
|
return {
|
|
6376
6105
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -6453,7 +6182,7 @@ function mapToStyles(_ref2) {
|
|
|
6453
6182
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
6454
6183
|
x: x,
|
|
6455
6184
|
y: y
|
|
6456
|
-
}) : {
|
|
6185
|
+
}, getWindow(popper)) : {
|
|
6457
6186
|
x: x,
|
|
6458
6187
|
y: y
|
|
6459
6188
|
};
|
|
@@ -7860,8 +7589,6 @@ const CDropdown = vue.defineComponent({
|
|
|
7860
7589
|
*/
|
|
7861
7590
|
alignment: {
|
|
7862
7591
|
type: [String, Object],
|
|
7863
|
-
default: undefined,
|
|
7864
|
-
required: false,
|
|
7865
7592
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7866
7593
|
validator: (value) => {
|
|
7867
7594
|
if (value === 'start' || value === 'end') {
|
|
@@ -7907,10 +7634,7 @@ const CDropdown = vue.defineComponent({
|
|
|
7907
7634
|
/**
|
|
7908
7635
|
* Sets a darker color scheme to match a dark navbar.
|
|
7909
7636
|
*/
|
|
7910
|
-
dark:
|
|
7911
|
-
type: Boolean,
|
|
7912
|
-
required: false,
|
|
7913
|
-
},
|
|
7637
|
+
dark: Boolean,
|
|
7914
7638
|
/**
|
|
7915
7639
|
* Sets a specified direction and location of the dropdown menu.
|
|
7916
7640
|
*
|
|
@@ -7918,8 +7642,6 @@ const CDropdown = vue.defineComponent({
|
|
|
7918
7642
|
*/
|
|
7919
7643
|
direction: {
|
|
7920
7644
|
type: String,
|
|
7921
|
-
default: undefined,
|
|
7922
|
-
required: false,
|
|
7923
7645
|
validator: (value) => {
|
|
7924
7646
|
return ['center', 'dropup', 'dropup-center', 'dropend', 'dropstart'].includes(value);
|
|
7925
7647
|
},
|
|
@@ -7927,10 +7649,7 @@ const CDropdown = vue.defineComponent({
|
|
|
7927
7649
|
/**
|
|
7928
7650
|
* Toggle the disabled state for the component.
|
|
7929
7651
|
*/
|
|
7930
|
-
disabled:
|
|
7931
|
-
type: Boolean,
|
|
7932
|
-
required: false,
|
|
7933
|
-
},
|
|
7652
|
+
disabled: Boolean,
|
|
7934
7653
|
/**
|
|
7935
7654
|
* 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.
|
|
7936
7655
|
*
|
|
@@ -7939,7 +7658,6 @@ const CDropdown = vue.defineComponent({
|
|
|
7939
7658
|
placement: {
|
|
7940
7659
|
type: String,
|
|
7941
7660
|
default: 'bottom-start',
|
|
7942
|
-
required: false,
|
|
7943
7661
|
},
|
|
7944
7662
|
/**
|
|
7945
7663
|
* If you want to disable dynamic positioning set this property to `true`.
|
|
@@ -7947,14 +7665,12 @@ const CDropdown = vue.defineComponent({
|
|
|
7947
7665
|
popper: {
|
|
7948
7666
|
type: Boolean,
|
|
7949
7667
|
default: true,
|
|
7950
|
-
required: false,
|
|
7951
7668
|
},
|
|
7952
7669
|
/**
|
|
7953
7670
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
7954
7671
|
*/
|
|
7955
7672
|
trigger: {
|
|
7956
|
-
type:
|
|
7957
|
-
required: false,
|
|
7673
|
+
type: String,
|
|
7958
7674
|
default: 'click',
|
|
7959
7675
|
},
|
|
7960
7676
|
/**
|
|
@@ -7965,7 +7681,6 @@ const CDropdown = vue.defineComponent({
|
|
|
7965
7681
|
variant: {
|
|
7966
7682
|
type: String,
|
|
7967
7683
|
default: 'btn-group',
|
|
7968
|
-
required: false,
|
|
7969
7684
|
validator: (value) => {
|
|
7970
7685
|
return ['btn-group', 'dropdown', 'input-group', 'nav-item'].includes(value);
|
|
7971
7686
|
},
|
|
@@ -7973,10 +7688,7 @@ const CDropdown = vue.defineComponent({
|
|
|
7973
7688
|
/**
|
|
7974
7689
|
* Toggle the visibility of dropdown menu component.
|
|
7975
7690
|
*/
|
|
7976
|
-
visible:
|
|
7977
|
-
type: Boolean,
|
|
7978
|
-
required: false,
|
|
7979
|
-
},
|
|
7691
|
+
visible: Boolean,
|
|
7980
7692
|
},
|
|
7981
7693
|
emits: [
|
|
7982
7694
|
/**
|
|
@@ -8089,33 +7801,22 @@ const CDropdownItem = vue.defineComponent({
|
|
|
8089
7801
|
/**
|
|
8090
7802
|
* Toggle the active state for the component.
|
|
8091
7803
|
*/
|
|
8092
|
-
active:
|
|
8093
|
-
type: Boolean,
|
|
8094
|
-
required: false,
|
|
8095
|
-
},
|
|
7804
|
+
active: Boolean,
|
|
8096
7805
|
/**
|
|
8097
7806
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8098
7807
|
*/
|
|
8099
7808
|
component: {
|
|
8100
7809
|
type: String,
|
|
8101
7810
|
default: 'a',
|
|
8102
|
-
required: false,
|
|
8103
7811
|
},
|
|
8104
7812
|
/**
|
|
8105
7813
|
* Toggle the disabled state for the component.
|
|
8106
7814
|
*/
|
|
8107
|
-
disabled:
|
|
8108
|
-
type: Boolean,
|
|
8109
|
-
required: false,
|
|
8110
|
-
},
|
|
7815
|
+
disabled: Boolean,
|
|
8111
7816
|
/**
|
|
8112
7817
|
* The href attribute specifies the URL of the page the link goes to.
|
|
8113
7818
|
*/
|
|
8114
|
-
href:
|
|
8115
|
-
type: String,
|
|
8116
|
-
default: undefined,
|
|
8117
|
-
required: false,
|
|
8118
|
-
},
|
|
7819
|
+
href: String,
|
|
8119
7820
|
},
|
|
8120
7821
|
setup(props, { slots }) {
|
|
8121
7822
|
return () => vue.h(CLink, {
|
|
@@ -8139,7 +7840,6 @@ const CDropdownHeader = vue.defineComponent({
|
|
|
8139
7840
|
component: {
|
|
8140
7841
|
type: String,
|
|
8141
7842
|
default: 'h6',
|
|
8142
|
-
required: false,
|
|
8143
7843
|
},
|
|
8144
7844
|
},
|
|
8145
7845
|
setup(props, { slots }) {
|
|
@@ -8169,7 +7869,6 @@ const CDropdownMenu = vue.defineComponent({
|
|
|
8169
7869
|
component: {
|
|
8170
7870
|
type: String,
|
|
8171
7871
|
default: 'div',
|
|
8172
|
-
required: false,
|
|
8173
7872
|
},
|
|
8174
7873
|
},
|
|
8175
7874
|
setup(props, { slots }) {
|
|
@@ -8247,32 +7946,26 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8247
7946
|
/**
|
|
8248
7947
|
* Toggle the active state for the component.
|
|
8249
7948
|
*/
|
|
8250
|
-
active:
|
|
8251
|
-
type: Boolean,
|
|
8252
|
-
default: false,
|
|
8253
|
-
required: false,
|
|
8254
|
-
},
|
|
7949
|
+
active: Boolean,
|
|
8255
7950
|
/**
|
|
8256
7951
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8257
7952
|
*
|
|
8258
7953
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
8259
7954
|
*/
|
|
8260
|
-
color: Color,
|
|
7955
|
+
color: Color$1,
|
|
8261
7956
|
/**
|
|
8262
7957
|
* Enables pseudo element caret on toggler.
|
|
8263
7958
|
*/
|
|
8264
7959
|
caret: {
|
|
8265
7960
|
type: Boolean,
|
|
8266
7961
|
default: true,
|
|
8267
|
-
required: false,
|
|
8268
7962
|
},
|
|
8269
7963
|
/**
|
|
8270
7964
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8271
7965
|
*/
|
|
8272
7966
|
component: {
|
|
8273
7967
|
type: String,
|
|
8274
|
-
default: 'button'
|
|
8275
|
-
require: false,
|
|
7968
|
+
default: 'button'
|
|
8276
7969
|
},
|
|
8277
7970
|
/**
|
|
8278
7971
|
* Create a custom toggler which accepts any content.
|
|
@@ -8281,10 +7974,7 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8281
7974
|
/**
|
|
8282
7975
|
* Toggle the disabled state for the component.
|
|
8283
7976
|
*/
|
|
8284
|
-
disabled:
|
|
8285
|
-
type: Boolean,
|
|
8286
|
-
required: false,
|
|
8287
|
-
},
|
|
7977
|
+
disabled: Boolean,
|
|
8288
7978
|
/**
|
|
8289
7979
|
* @values 'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'
|
|
8290
7980
|
*/
|
|
@@ -8296,8 +7986,6 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8296
7986
|
*/
|
|
8297
7987
|
size: {
|
|
8298
7988
|
type: String,
|
|
8299
|
-
default: undefined,
|
|
8300
|
-
required: false,
|
|
8301
7989
|
validator: (value) => {
|
|
8302
7990
|
return ['sm', 'lg'].includes(value);
|
|
8303
7991
|
},
|
|
@@ -8305,10 +7993,7 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8305
7993
|
/**
|
|
8306
7994
|
* 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.
|
|
8307
7995
|
*/
|
|
8308
|
-
split:
|
|
8309
|
-
type: Boolean,
|
|
8310
|
-
required: false,
|
|
8311
|
-
},
|
|
7996
|
+
split: Boolean,
|
|
8312
7997
|
/**
|
|
8313
7998
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
8314
7999
|
*
|
|
@@ -8317,7 +8002,6 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8317
8002
|
trigger: {
|
|
8318
8003
|
type: String,
|
|
8319
8004
|
default: 'click',
|
|
8320
|
-
required: false,
|
|
8321
8005
|
},
|
|
8322
8006
|
/**
|
|
8323
8007
|
* Set the button variant to an outlined button or a ghost button.
|
|
@@ -8326,8 +8010,6 @@ const CDropdownToggle = vue.defineComponent({
|
|
|
8326
8010
|
*/
|
|
8327
8011
|
variant: {
|
|
8328
8012
|
type: String,
|
|
8329
|
-
default: undefined,
|
|
8330
|
-
required: false,
|
|
8331
8013
|
validator: (value) => {
|
|
8332
8014
|
return ['ghost', 'outline'].includes(value);
|
|
8333
8015
|
},
|
|
@@ -8434,17 +8116,44 @@ const CDropdownPlugin = {
|
|
|
8434
8116
|
},
|
|
8435
8117
|
};
|
|
8436
8118
|
|
|
8437
|
-
const
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8119
|
+
const Color = {
|
|
8120
|
+
type: String,
|
|
8121
|
+
validator: (value) => {
|
|
8122
|
+
// The value must match one of these strings
|
|
8123
|
+
return [
|
|
8124
|
+
'primary',
|
|
8125
|
+
'secondary',
|
|
8126
|
+
'success',
|
|
8127
|
+
'danger',
|
|
8128
|
+
'warning',
|
|
8129
|
+
'info',
|
|
8130
|
+
'dark',
|
|
8131
|
+
'light',
|
|
8132
|
+
'link',
|
|
8133
|
+
'transparent',
|
|
8134
|
+
'primary-gradient',
|
|
8135
|
+
'secondary-gradient',
|
|
8136
|
+
'success-gradient',
|
|
8137
|
+
'danger-gradient',
|
|
8138
|
+
'warning-gradient',
|
|
8139
|
+
'info-gradient',
|
|
8140
|
+
'dark-gradient',
|
|
8141
|
+
'light-gradient',
|
|
8142
|
+
].includes(value);
|
|
8143
|
+
},
|
|
8144
|
+
};
|
|
8145
|
+
|
|
8146
|
+
const CPicker = vue.defineComponent({
|
|
8147
|
+
name: 'CPicker',
|
|
8148
|
+
props: {
|
|
8149
|
+
...CDropdown.props,
|
|
8150
|
+
/**
|
|
8151
|
+
* Toggle visibility or set the content of cancel button.
|
|
8152
|
+
*/
|
|
8153
|
+
cancelButton: {
|
|
8154
|
+
type: [Boolean, String],
|
|
8155
|
+
default: 'Cancel',
|
|
8156
|
+
},
|
|
8448
8157
|
/**
|
|
8449
8158
|
* Sets the color context of the cancel button to one of CoreUI’s themed colors.
|
|
8450
8159
|
*
|
|
@@ -10339,8 +10048,6 @@ const CSpinner = vue.defineComponent({
|
|
|
10339
10048
|
*/
|
|
10340
10049
|
color: {
|
|
10341
10050
|
type: String,
|
|
10342
|
-
default: undefined,
|
|
10343
|
-
required: false,
|
|
10344
10051
|
validator: (value) => {
|
|
10345
10052
|
return [
|
|
10346
10053
|
'primary',
|
|
@@ -10360,7 +10067,6 @@ const CSpinner = vue.defineComponent({
|
|
|
10360
10067
|
component: {
|
|
10361
10068
|
type: String,
|
|
10362
10069
|
default: 'div',
|
|
10363
|
-
required: false,
|
|
10364
10070
|
},
|
|
10365
10071
|
/**
|
|
10366
10072
|
* Size the component small.
|
|
@@ -10369,8 +10075,6 @@ const CSpinner = vue.defineComponent({
|
|
|
10369
10075
|
*/
|
|
10370
10076
|
size: {
|
|
10371
10077
|
type: String,
|
|
10372
|
-
default: undefined,
|
|
10373
|
-
required: false,
|
|
10374
10078
|
validator: (value) => {
|
|
10375
10079
|
return value === 'sm';
|
|
10376
10080
|
},
|
|
@@ -10383,7 +10087,6 @@ const CSpinner = vue.defineComponent({
|
|
|
10383
10087
|
variant: {
|
|
10384
10088
|
type: String,
|
|
10385
10089
|
default: 'border',
|
|
10386
|
-
required: false,
|
|
10387
10090
|
validator: (value) => {
|
|
10388
10091
|
return ['border', 'grow'].includes(value);
|
|
10389
10092
|
},
|
|
@@ -10394,7 +10097,6 @@ const CSpinner = vue.defineComponent({
|
|
|
10394
10097
|
visuallyHiddenLabel: {
|
|
10395
10098
|
type: String,
|
|
10396
10099
|
default: 'Loading...',
|
|
10397
|
-
required: false,
|
|
10398
10100
|
},
|
|
10399
10101
|
},
|
|
10400
10102
|
setup(props) {
|
|
@@ -10518,8 +10220,6 @@ const CFooter = vue.defineComponent({
|
|
|
10518
10220
|
*/
|
|
10519
10221
|
position: {
|
|
10520
10222
|
type: String,
|
|
10521
|
-
default: undefined,
|
|
10522
|
-
required: false,
|
|
10523
10223
|
validator: (value) => {
|
|
10524
10224
|
return ['fixed', 'sticky'].includes(value);
|
|
10525
10225
|
},
|
|
@@ -10554,8 +10254,6 @@ const CCol = vue.defineComponent({
|
|
|
10554
10254
|
*/
|
|
10555
10255
|
xs: {
|
|
10556
10256
|
type: [Boolean, Number, String, Object],
|
|
10557
|
-
default: undefined,
|
|
10558
|
-
require: false,
|
|
10559
10257
|
},
|
|
10560
10258
|
/**
|
|
10561
10259
|
* The number of columns/offset/order on small devices (<768px).
|
|
@@ -10564,8 +10262,6 @@ const CCol = vue.defineComponent({
|
|
|
10564
10262
|
*/
|
|
10565
10263
|
sm: {
|
|
10566
10264
|
type: [Boolean, Number, String, Object],
|
|
10567
|
-
default: undefined,
|
|
10568
|
-
require: false,
|
|
10569
10265
|
},
|
|
10570
10266
|
/**
|
|
10571
10267
|
* The number of columns/offset/order on medium devices (<992px).
|
|
@@ -10574,8 +10270,6 @@ const CCol = vue.defineComponent({
|
|
|
10574
10270
|
*/
|
|
10575
10271
|
md: {
|
|
10576
10272
|
type: [Boolean, Number, String, Object],
|
|
10577
|
-
default: undefined,
|
|
10578
|
-
require: false,
|
|
10579
10273
|
},
|
|
10580
10274
|
/**
|
|
10581
10275
|
* The number of columns/offset/order on large devices (<1200px).
|
|
@@ -10584,8 +10278,6 @@ const CCol = vue.defineComponent({
|
|
|
10584
10278
|
*/
|
|
10585
10279
|
lg: {
|
|
10586
10280
|
type: [Boolean, Number, String, Object],
|
|
10587
|
-
default: undefined,
|
|
10588
|
-
require: false,
|
|
10589
10281
|
},
|
|
10590
10282
|
/**
|
|
10591
10283
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
@@ -10594,8 +10286,6 @@ const CCol = vue.defineComponent({
|
|
|
10594
10286
|
*/
|
|
10595
10287
|
xl: {
|
|
10596
10288
|
type: [Boolean, Number, String, Object],
|
|
10597
|
-
default: undefined,
|
|
10598
|
-
require: false,
|
|
10599
10289
|
},
|
|
10600
10290
|
/**
|
|
10601
10291
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
@@ -10604,8 +10294,6 @@ const CCol = vue.defineComponent({
|
|
|
10604
10294
|
*/
|
|
10605
10295
|
xxl: {
|
|
10606
10296
|
type: [Boolean, Number, String, Object],
|
|
10607
|
-
default: undefined,
|
|
10608
|
-
require: false,
|
|
10609
10297
|
},
|
|
10610
10298
|
},
|
|
10611
10299
|
setup(props, { slots }) {
|
|
@@ -10656,45 +10344,27 @@ const CContainer = vue.defineComponent({
|
|
|
10656
10344
|
/**
|
|
10657
10345
|
* Set container 100% wide until small breakpoint.
|
|
10658
10346
|
*/
|
|
10659
|
-
sm:
|
|
10660
|
-
type: Boolean,
|
|
10661
|
-
required: false,
|
|
10662
|
-
},
|
|
10347
|
+
sm: Boolean,
|
|
10663
10348
|
/**
|
|
10664
10349
|
* Set container 100% wide until medium breakpoint.
|
|
10665
10350
|
*/
|
|
10666
|
-
md:
|
|
10667
|
-
type: Boolean,
|
|
10668
|
-
required: false,
|
|
10669
|
-
},
|
|
10351
|
+
md: Boolean,
|
|
10670
10352
|
/**
|
|
10671
10353
|
* Set container 100% wide until large breakpoint.
|
|
10672
10354
|
*/
|
|
10673
|
-
lg:
|
|
10674
|
-
type: Boolean,
|
|
10675
|
-
required: false,
|
|
10676
|
-
},
|
|
10355
|
+
lg: Boolean,
|
|
10677
10356
|
/**
|
|
10678
10357
|
* Set container 100% wide until X-large breakpoint.
|
|
10679
10358
|
*/
|
|
10680
|
-
xl:
|
|
10681
|
-
type: Boolean,
|
|
10682
|
-
required: false,
|
|
10683
|
-
},
|
|
10359
|
+
xl: Boolean,
|
|
10684
10360
|
/**
|
|
10685
10361
|
* Set container 100% wide until XX-large breakpoint.
|
|
10686
10362
|
*/
|
|
10687
|
-
xxl:
|
|
10688
|
-
type: Boolean,
|
|
10689
|
-
required: false,
|
|
10690
|
-
},
|
|
10363
|
+
xxl: Boolean,
|
|
10691
10364
|
/**
|
|
10692
10365
|
* Set container 100% wide, spanning the entire width of the viewport.
|
|
10693
10366
|
*/
|
|
10694
|
-
fluid:
|
|
10695
|
-
type: Boolean,
|
|
10696
|
-
required: false,
|
|
10697
|
-
},
|
|
10367
|
+
fluid: Boolean,
|
|
10698
10368
|
},
|
|
10699
10369
|
setup(props, { slots }) {
|
|
10700
10370
|
const repsonsiveClassNames = [];
|
|
@@ -10724,61 +10394,37 @@ const CRow = vue.defineComponent({
|
|
|
10724
10394
|
*
|
|
10725
10395
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10726
10396
|
*/
|
|
10727
|
-
xs:
|
|
10728
|
-
type: Object,
|
|
10729
|
-
default: undefined,
|
|
10730
|
-
required: false,
|
|
10731
|
-
},
|
|
10397
|
+
xs: Object,
|
|
10732
10398
|
/**
|
|
10733
10399
|
* The number of columns/offset/order on small devices (<768px).
|
|
10734
10400
|
*
|
|
10735
10401
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10736
10402
|
*/
|
|
10737
|
-
sm:
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10745
|
-
*/
|
|
10746
|
-
},
|
|
10747
|
-
md: {
|
|
10748
|
-
type: Object,
|
|
10749
|
-
default: undefined,
|
|
10750
|
-
required: false,
|
|
10751
|
-
},
|
|
10403
|
+
sm: Object,
|
|
10404
|
+
/**
|
|
10405
|
+
* The number of columns/offset/order on medium devices (<992px).
|
|
10406
|
+
*
|
|
10407
|
+
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10408
|
+
*/
|
|
10409
|
+
md: Object,
|
|
10752
10410
|
/**
|
|
10753
10411
|
* The number of columns/offset/order on large devices (<1200px).
|
|
10754
10412
|
*
|
|
10755
10413
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10756
10414
|
*/
|
|
10757
|
-
lg:
|
|
10758
|
-
type: Object,
|
|
10759
|
-
default: undefined,
|
|
10760
|
-
required: false,
|
|
10761
|
-
},
|
|
10415
|
+
lg: Object,
|
|
10762
10416
|
/**
|
|
10763
10417
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
10764
10418
|
*
|
|
10765
10419
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10766
10420
|
*/
|
|
10767
|
-
xl:
|
|
10768
|
-
type: Object,
|
|
10769
|
-
default: undefined,
|
|
10770
|
-
required: false,
|
|
10771
|
-
},
|
|
10421
|
+
xl: Object,
|
|
10772
10422
|
/**
|
|
10773
10423
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
10774
10424
|
*
|
|
10775
10425
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10776
10426
|
*/
|
|
10777
|
-
xxl:
|
|
10778
|
-
type: Object,
|
|
10779
|
-
default: undefined,
|
|
10780
|
-
required: false,
|
|
10781
|
-
},
|
|
10427
|
+
xxl: Object,
|
|
10782
10428
|
},
|
|
10783
10429
|
setup(props, { slots }) {
|
|
10784
10430
|
const repsonsiveClassNames = [];
|
|
@@ -10824,8 +10470,6 @@ const CHeader = vue.defineComponent({
|
|
|
10824
10470
|
*/
|
|
10825
10471
|
container: {
|
|
10826
10472
|
type: [Boolean, String],
|
|
10827
|
-
default: undefined,
|
|
10828
|
-
required: false,
|
|
10829
10473
|
validator: (value) => {
|
|
10830
10474
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
10831
10475
|
},
|
|
@@ -10837,8 +10481,6 @@ const CHeader = vue.defineComponent({
|
|
|
10837
10481
|
*/
|
|
10838
10482
|
position: {
|
|
10839
10483
|
type: String,
|
|
10840
|
-
default: undefined,
|
|
10841
|
-
required: false,
|
|
10842
10484
|
validator: (value) => {
|
|
10843
10485
|
return ['fixed', 'sticky'].includes(value);
|
|
10844
10486
|
},
|
|
@@ -10859,7 +10501,6 @@ const CHeaderBrand = vue.defineComponent({
|
|
|
10859
10501
|
*/
|
|
10860
10502
|
component: {
|
|
10861
10503
|
type: String,
|
|
10862
|
-
required: false,
|
|
10863
10504
|
default: 'a',
|
|
10864
10505
|
},
|
|
10865
10506
|
},
|
|
@@ -10883,7 +10524,6 @@ const CHeaderNav = vue.defineComponent({
|
|
|
10883
10524
|
*/
|
|
10884
10525
|
component: {
|
|
10885
10526
|
type: String,
|
|
10886
|
-
required: false,
|
|
10887
10527
|
default: 'ul',
|
|
10888
10528
|
},
|
|
10889
10529
|
},
|
|
@@ -10934,8 +10574,6 @@ const CImage = vue.defineComponent({
|
|
|
10934
10574
|
*/
|
|
10935
10575
|
align: {
|
|
10936
10576
|
type: String,
|
|
10937
|
-
default: undefined,
|
|
10938
|
-
required: false,
|
|
10939
10577
|
validator: (value) => {
|
|
10940
10578
|
return ['start', 'center', 'end'].includes(value);
|
|
10941
10579
|
},
|
|
@@ -10943,24 +10581,15 @@ const CImage = vue.defineComponent({
|
|
|
10943
10581
|
/**
|
|
10944
10582
|
* Make image responsive.
|
|
10945
10583
|
*/
|
|
10946
|
-
fluid:
|
|
10947
|
-
type: Boolean,
|
|
10948
|
-
required: false,
|
|
10949
|
-
},
|
|
10584
|
+
fluid: Boolean,
|
|
10950
10585
|
/**
|
|
10951
10586
|
* Make image rounded.
|
|
10952
10587
|
*/
|
|
10953
|
-
rounded:
|
|
10954
|
-
type: Boolean,
|
|
10955
|
-
required: false,
|
|
10956
|
-
},
|
|
10588
|
+
rounded: Boolean,
|
|
10957
10589
|
/**
|
|
10958
10590
|
* Give an image a rounded 1px border appearance.
|
|
10959
10591
|
*/
|
|
10960
|
-
thumbnail:
|
|
10961
|
-
type: Boolean,
|
|
10962
|
-
required: false,
|
|
10963
|
-
},
|
|
10592
|
+
thumbnail: Boolean,
|
|
10964
10593
|
},
|
|
10965
10594
|
setup(props) {
|
|
10966
10595
|
return () => vue.h('img', {
|
|
@@ -10991,16 +10620,12 @@ const CListGroup = vue.defineComponent({
|
|
|
10991
10620
|
*/
|
|
10992
10621
|
component: {
|
|
10993
10622
|
type: String,
|
|
10994
|
-
required: false,
|
|
10995
10623
|
default: 'ul',
|
|
10996
10624
|
},
|
|
10997
10625
|
/**
|
|
10998
10626
|
* Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`)
|
|
10999
10627
|
*/
|
|
11000
|
-
flush:
|
|
11001
|
-
type: Boolean,
|
|
11002
|
-
required: false,
|
|
11003
|
-
},
|
|
10628
|
+
flush: Boolean,
|
|
11004
10629
|
/**
|
|
11005
10630
|
* Specify a layout type.
|
|
11006
10631
|
*
|
|
@@ -11008,8 +10633,6 @@ const CListGroup = vue.defineComponent({
|
|
|
11008
10633
|
*/
|
|
11009
10634
|
layout: {
|
|
11010
10635
|
type: String,
|
|
11011
|
-
default: undefined,
|
|
11012
|
-
required: false,
|
|
11013
10636
|
validator: (value) => {
|
|
11014
10637
|
return [
|
|
11015
10638
|
'horizontal',
|
|
@@ -11041,29 +10664,22 @@ const CListGroupItem = vue.defineComponent({
|
|
|
11041
10664
|
/**
|
|
11042
10665
|
* Toggle the active state for the component.
|
|
11043
10666
|
*/
|
|
11044
|
-
active:
|
|
11045
|
-
type: Boolean,
|
|
11046
|
-
required: false,
|
|
11047
|
-
},
|
|
10667
|
+
active: Boolean,
|
|
11048
10668
|
/**
|
|
11049
10669
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
11050
10670
|
*
|
|
11051
10671
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
11052
10672
|
*/
|
|
11053
|
-
color: Color,
|
|
10673
|
+
color: Color$1,
|
|
11054
10674
|
/**
|
|
11055
10675
|
* Toggle the disabled state for the component.
|
|
11056
10676
|
*/
|
|
11057
|
-
disabled:
|
|
11058
|
-
type: Boolean,
|
|
11059
|
-
required: false,
|
|
11060
|
-
},
|
|
10677
|
+
disabled: Boolean,
|
|
11061
10678
|
/**
|
|
11062
10679
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
11063
10680
|
*/
|
|
11064
10681
|
component: {
|
|
11065
10682
|
type: String,
|
|
11066
|
-
required: false,
|
|
11067
10683
|
default: 'li',
|
|
11068
10684
|
},
|
|
11069
10685
|
},
|
|
@@ -11210,10 +10826,7 @@ const CModal = vue.defineComponent({
|
|
|
11210
10826
|
/**
|
|
11211
10827
|
* A string of all className you want applied to the modal content component.
|
|
11212
10828
|
*/
|
|
11213
|
-
contentClassName:
|
|
11214
|
-
type: String,
|
|
11215
|
-
default: undefined,
|
|
11216
|
-
},
|
|
10829
|
+
contentClassName: String,
|
|
11217
10830
|
/**
|
|
11218
10831
|
* Set modal to covers the entire user viewport
|
|
11219
10832
|
*
|
|
@@ -11221,7 +10834,6 @@ const CModal = vue.defineComponent({
|
|
|
11221
10834
|
*/
|
|
11222
10835
|
fullscreen: {
|
|
11223
10836
|
type: [Boolean, String],
|
|
11224
|
-
default: undefined,
|
|
11225
10837
|
validator: (value) => {
|
|
11226
10838
|
if (typeof value == 'string') {
|
|
11227
10839
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -11242,9 +10854,7 @@ const CModal = vue.defineComponent({
|
|
|
11242
10854
|
/**
|
|
11243
10855
|
* Create a scrollable modal that allows scrolling the modal body.
|
|
11244
10856
|
*/
|
|
11245
|
-
scrollable:
|
|
11246
|
-
type: Boolean,
|
|
11247
|
-
},
|
|
10857
|
+
scrollable: Boolean,
|
|
11248
10858
|
/**
|
|
11249
10859
|
* Size the component small, large, or extra large.
|
|
11250
10860
|
*
|
|
@@ -11252,7 +10862,6 @@ const CModal = vue.defineComponent({
|
|
|
11252
10862
|
*/
|
|
11253
10863
|
size: {
|
|
11254
10864
|
type: String,
|
|
11255
|
-
default: undefined,
|
|
11256
10865
|
validator: (value) => {
|
|
11257
10866
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
11258
10867
|
},
|
|
@@ -11425,7 +11034,6 @@ const CModalHeader = vue.defineComponent({
|
|
|
11425
11034
|
*/
|
|
11426
11035
|
closeButton: {
|
|
11427
11036
|
type: Boolean,
|
|
11428
|
-
required: false,
|
|
11429
11037
|
default: true,
|
|
11430
11038
|
},
|
|
11431
11039
|
},
|
|
@@ -11447,7 +11055,6 @@ const CModalTitle = vue.defineComponent({
|
|
|
11447
11055
|
component: {
|
|
11448
11056
|
type: String,
|
|
11449
11057
|
default: 'h5',
|
|
11450
|
-
required: false,
|
|
11451
11058
|
},
|
|
11452
11059
|
},
|
|
11453
11060
|
setup(props, { slots }) {
|
|
@@ -12316,7 +11923,6 @@ const CNav = vue.defineComponent({
|
|
|
12316
11923
|
*/
|
|
12317
11924
|
component: {
|
|
12318
11925
|
type: String,
|
|
12319
|
-
required: false,
|
|
12320
11926
|
default: 'ul',
|
|
12321
11927
|
},
|
|
12322
11928
|
/**
|
|
@@ -12326,8 +11932,6 @@ const CNav = vue.defineComponent({
|
|
|
12326
11932
|
*/
|
|
12327
11933
|
layout: {
|
|
12328
11934
|
type: String,
|
|
12329
|
-
required: false,
|
|
12330
|
-
default: undefined,
|
|
12331
11935
|
validator: (value) => {
|
|
12332
11936
|
return ['fill', 'justified'].includes(value);
|
|
12333
11937
|
},
|
|
@@ -12339,8 +11943,6 @@ const CNav = vue.defineComponent({
|
|
|
12339
11943
|
*/
|
|
12340
11944
|
variant: {
|
|
12341
11945
|
type: String,
|
|
12342
|
-
required: false,
|
|
12343
|
-
default: undefined,
|
|
12344
11946
|
validator: (value) => {
|
|
12345
11947
|
return ['tabs', 'pills', 'underline'].includes(value);
|
|
12346
11948
|
},
|
|
@@ -12484,33 +12086,22 @@ const CNavLink = vue.defineComponent({
|
|
|
12484
12086
|
/**
|
|
12485
12087
|
* Toggle the active state for the component.
|
|
12486
12088
|
*/
|
|
12487
|
-
active:
|
|
12488
|
-
type: Boolean,
|
|
12489
|
-
required: false,
|
|
12490
|
-
},
|
|
12089
|
+
active: Boolean,
|
|
12491
12090
|
/**
|
|
12492
12091
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12493
12092
|
*/
|
|
12494
12093
|
component: {
|
|
12495
12094
|
type: String,
|
|
12496
|
-
required: false,
|
|
12497
12095
|
default: 'a',
|
|
12498
12096
|
},
|
|
12499
12097
|
/**
|
|
12500
12098
|
* Toggle the disabled state for the component.
|
|
12501
12099
|
*/
|
|
12502
|
-
disabled:
|
|
12503
|
-
type: Boolean,
|
|
12504
|
-
required: false,
|
|
12505
|
-
},
|
|
12100
|
+
disabled: Boolean,
|
|
12506
12101
|
/**
|
|
12507
12102
|
* @ignore
|
|
12508
12103
|
*/
|
|
12509
|
-
href:
|
|
12510
|
-
type: String,
|
|
12511
|
-
default: undefined,
|
|
12512
|
-
required: false,
|
|
12513
|
-
},
|
|
12104
|
+
href: String,
|
|
12514
12105
|
},
|
|
12515
12106
|
setup(props, { slots }) {
|
|
12516
12107
|
return () => vue.h(CLink, {
|
|
@@ -12572,7 +12163,7 @@ const CNavbar = vue.defineComponent({
|
|
|
12572
12163
|
*
|
|
12573
12164
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
12574
12165
|
*/
|
|
12575
|
-
color: Color,
|
|
12166
|
+
color: Color$1,
|
|
12576
12167
|
/**
|
|
12577
12168
|
* Sets if the color of text should be colored for a light or dark dark background.
|
|
12578
12169
|
*
|
|
@@ -12580,8 +12171,6 @@ const CNavbar = vue.defineComponent({
|
|
|
12580
12171
|
*/
|
|
12581
12172
|
colorScheme: {
|
|
12582
12173
|
type: String,
|
|
12583
|
-
default: undefined,
|
|
12584
|
-
required: false,
|
|
12585
12174
|
validator: (value) => {
|
|
12586
12175
|
return ['dark', 'light'].includes(value);
|
|
12587
12176
|
},
|
|
@@ -12592,7 +12181,6 @@ const CNavbar = vue.defineComponent({
|
|
|
12592
12181
|
component: {
|
|
12593
12182
|
type: String,
|
|
12594
12183
|
default: 'nav',
|
|
12595
|
-
required: false,
|
|
12596
12184
|
},
|
|
12597
12185
|
/**
|
|
12598
12186
|
* Defines optional container wrapping children elements.
|
|
@@ -12601,8 +12189,6 @@ const CNavbar = vue.defineComponent({
|
|
|
12601
12189
|
*/
|
|
12602
12190
|
container: {
|
|
12603
12191
|
type: [Boolean, String],
|
|
12604
|
-
default: undefined,
|
|
12605
|
-
required: false,
|
|
12606
12192
|
validator: (value) => {
|
|
12607
12193
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
12608
12194
|
},
|
|
@@ -12614,8 +12200,6 @@ const CNavbar = vue.defineComponent({
|
|
|
12614
12200
|
*/
|
|
12615
12201
|
expand: {
|
|
12616
12202
|
type: [Boolean, String],
|
|
12617
|
-
default: undefined,
|
|
12618
|
-
required: false,
|
|
12619
12203
|
validator: (value) => {
|
|
12620
12204
|
return typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
12621
12205
|
},
|
|
@@ -12627,8 +12211,6 @@ const CNavbar = vue.defineComponent({
|
|
|
12627
12211
|
*/
|
|
12628
12212
|
placement: {
|
|
12629
12213
|
type: String,
|
|
12630
|
-
default: undefined,
|
|
12631
|
-
required: false,
|
|
12632
12214
|
validator: (value) => {
|
|
12633
12215
|
return ['fixed-top', 'fixed-bottom', 'sticky-top'].includes(value);
|
|
12634
12216
|
},
|
|
@@ -12663,16 +12245,11 @@ const CNavbarBrand = vue.defineComponent({
|
|
|
12663
12245
|
component: {
|
|
12664
12246
|
type: String,
|
|
12665
12247
|
default: 'a',
|
|
12666
|
-
required: false,
|
|
12667
12248
|
},
|
|
12668
12249
|
/**
|
|
12669
12250
|
* The href attribute specifies the URL of the page the link goes to.
|
|
12670
12251
|
*/
|
|
12671
|
-
href:
|
|
12672
|
-
type: String,
|
|
12673
|
-
default: undefined,
|
|
12674
|
-
required: false,
|
|
12675
|
-
},
|
|
12252
|
+
href: String,
|
|
12676
12253
|
},
|
|
12677
12254
|
setup(props, { slots }) {
|
|
12678
12255
|
return () => vue.h(props.component ? props.component : props.href ? 'a' : 'span', {
|
|
@@ -12690,7 +12267,6 @@ const CNavbarNav = vue.defineComponent({
|
|
|
12690
12267
|
*/
|
|
12691
12268
|
component: {
|
|
12692
12269
|
type: String,
|
|
12693
|
-
required: false,
|
|
12694
12270
|
default: 'ul',
|
|
12695
12271
|
},
|
|
12696
12272
|
},
|
|
@@ -12763,7 +12339,6 @@ const COffcanvas = vue.defineComponent({
|
|
|
12763
12339
|
*/
|
|
12764
12340
|
placement: {
|
|
12765
12341
|
type: String,
|
|
12766
|
-
default: undefined,
|
|
12767
12342
|
require: true,
|
|
12768
12343
|
validator: (value) => {
|
|
12769
12344
|
return ['start', 'end', 'top', 'bottom'].includes(value);
|
|
@@ -12798,7 +12373,10 @@ const COffcanvas = vue.defineComponent({
|
|
|
12798
12373
|
/**
|
|
12799
12374
|
* Toggle the visibility of offcanvas component.
|
|
12800
12375
|
*/
|
|
12801
|
-
visible:
|
|
12376
|
+
visible: {
|
|
12377
|
+
type: Boolean,
|
|
12378
|
+
default: false,
|
|
12379
|
+
},
|
|
12802
12380
|
},
|
|
12803
12381
|
emits: [
|
|
12804
12382
|
/**
|
|
@@ -12817,11 +12395,9 @@ const COffcanvas = vue.defineComponent({
|
|
|
12817
12395
|
visible.value = props.visible;
|
|
12818
12396
|
});
|
|
12819
12397
|
vue.watch(visible, () => {
|
|
12820
|
-
if (visible.value) {
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
document.body.style.paddingRight = '0px';
|
|
12824
|
-
}
|
|
12398
|
+
if (visible.value && !props.scroll) {
|
|
12399
|
+
document.body.style.overflow = 'hidden';
|
|
12400
|
+
document.body.style.paddingRight = '0px';
|
|
12825
12401
|
return;
|
|
12826
12402
|
}
|
|
12827
12403
|
if (!props.scroll) {
|
|
@@ -12911,7 +12487,6 @@ const COffcanvasTitle = vue.defineComponent({
|
|
|
12911
12487
|
*/
|
|
12912
12488
|
component: {
|
|
12913
12489
|
type: String,
|
|
12914
|
-
required: false,
|
|
12915
12490
|
default: 'h5',
|
|
12916
12491
|
},
|
|
12917
12492
|
},
|
|
@@ -12939,8 +12514,6 @@ const CPagination = vue.defineComponent({
|
|
|
12939
12514
|
*/
|
|
12940
12515
|
align: {
|
|
12941
12516
|
type: String,
|
|
12942
|
-
default: undefined,
|
|
12943
|
-
required: false,
|
|
12944
12517
|
validator: (value) => {
|
|
12945
12518
|
return ['start', 'center', 'end'].includes(value);
|
|
12946
12519
|
},
|
|
@@ -12952,8 +12525,6 @@ const CPagination = vue.defineComponent({
|
|
|
12952
12525
|
*/
|
|
12953
12526
|
size: {
|
|
12954
12527
|
type: String,
|
|
12955
|
-
default: undefined,
|
|
12956
|
-
required: false,
|
|
12957
12528
|
validator: (value) => {
|
|
12958
12529
|
return ['sm', 'lg'].includes(value);
|
|
12959
12530
|
},
|
|
@@ -12978,33 +12549,19 @@ const CPaginationItem = vue.defineComponent({
|
|
|
12978
12549
|
/**
|
|
12979
12550
|
* Toggle the active state for the component.
|
|
12980
12551
|
*/
|
|
12981
|
-
active:
|
|
12982
|
-
type: Boolean,
|
|
12983
|
-
required: false,
|
|
12984
|
-
},
|
|
12552
|
+
active: Boolean,
|
|
12985
12553
|
/**
|
|
12986
12554
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12987
12555
|
*/
|
|
12988
|
-
component:
|
|
12989
|
-
type: String,
|
|
12990
|
-
default: undefined,
|
|
12991
|
-
required: false,
|
|
12992
|
-
},
|
|
12556
|
+
component: String,
|
|
12993
12557
|
/**
|
|
12994
12558
|
* Toggle the disabled state for the component.
|
|
12995
12559
|
*/
|
|
12996
|
-
disabled:
|
|
12997
|
-
type: Boolean,
|
|
12998
|
-
required: false,
|
|
12999
|
-
},
|
|
12560
|
+
disabled: Boolean,
|
|
13000
12561
|
/**
|
|
13001
12562
|
* The href attribute specifies the URL of the page the link goes to.
|
|
13002
12563
|
*/
|
|
13003
|
-
href:
|
|
13004
|
-
type: String,
|
|
13005
|
-
default: undefined,
|
|
13006
|
-
required: false,
|
|
13007
|
-
},
|
|
12564
|
+
href: String,
|
|
13008
12565
|
},
|
|
13009
12566
|
setup(props, { slots }) {
|
|
13010
12567
|
return () => {
|
|
@@ -13056,8 +12613,6 @@ const CPlaceholder = vue.defineComponent({
|
|
|
13056
12613
|
*/
|
|
13057
12614
|
animation: {
|
|
13058
12615
|
type: String,
|
|
13059
|
-
default: undefined,
|
|
13060
|
-
require: false,
|
|
13061
12616
|
validator: (value) => {
|
|
13062
12617
|
return ['glow', 'wave'].includes(value);
|
|
13063
12618
|
},
|
|
@@ -13067,14 +12622,13 @@ const CPlaceholder = vue.defineComponent({
|
|
|
13067
12622
|
*
|
|
13068
12623
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13069
12624
|
*/
|
|
13070
|
-
color: Color,
|
|
12625
|
+
color: Color$1,
|
|
13071
12626
|
/**
|
|
13072
12627
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
13073
12628
|
*/
|
|
13074
12629
|
component: {
|
|
13075
12630
|
type: String,
|
|
13076
12631
|
default: 'span',
|
|
13077
|
-
required: false,
|
|
13078
12632
|
},
|
|
13079
12633
|
/**
|
|
13080
12634
|
* Size the component extra small, small, or large.
|
|
@@ -13083,8 +12637,6 @@ const CPlaceholder = vue.defineComponent({
|
|
|
13083
12637
|
*/
|
|
13084
12638
|
size: {
|
|
13085
12639
|
type: String,
|
|
13086
|
-
default: undefined,
|
|
13087
|
-
required: false,
|
|
13088
12640
|
validator: (value) => {
|
|
13089
12641
|
return ['xs', 'sm', 'lg'].includes(value);
|
|
13090
12642
|
},
|
|
@@ -13092,51 +12644,27 @@ const CPlaceholder = vue.defineComponent({
|
|
|
13092
12644
|
/**
|
|
13093
12645
|
* The number of columns on extra small devices (<576px).
|
|
13094
12646
|
*/
|
|
13095
|
-
xs:
|
|
13096
|
-
type: Number,
|
|
13097
|
-
default: undefined,
|
|
13098
|
-
require: false,
|
|
13099
|
-
},
|
|
12647
|
+
xs: Number,
|
|
13100
12648
|
/**
|
|
13101
12649
|
* The number of columns on small devices (<768px).
|
|
13102
12650
|
*/
|
|
13103
|
-
sm:
|
|
13104
|
-
type: Number,
|
|
13105
|
-
default: undefined,
|
|
13106
|
-
require: false,
|
|
13107
|
-
},
|
|
12651
|
+
sm: Number,
|
|
13108
12652
|
/**
|
|
13109
12653
|
* The number of columns on medium devices (<992px).
|
|
13110
12654
|
*/
|
|
13111
|
-
md:
|
|
13112
|
-
type: Number,
|
|
13113
|
-
default: undefined,
|
|
13114
|
-
require: false,
|
|
13115
|
-
},
|
|
12655
|
+
md: Number,
|
|
13116
12656
|
/**
|
|
13117
12657
|
* The number of columns on large devices (<1200px).
|
|
13118
12658
|
*/
|
|
13119
|
-
lg:
|
|
13120
|
-
type: Number,
|
|
13121
|
-
default: undefined,
|
|
13122
|
-
require: false,
|
|
13123
|
-
},
|
|
12659
|
+
lg: Number,
|
|
13124
12660
|
/**
|
|
13125
12661
|
* The number of columns on X-Large devices (<1400px).
|
|
13126
12662
|
*/
|
|
13127
|
-
xl:
|
|
13128
|
-
type: Number,
|
|
13129
|
-
default: undefined,
|
|
13130
|
-
require: false,
|
|
13131
|
-
},
|
|
12663
|
+
xl: Number,
|
|
13132
12664
|
/**
|
|
13133
12665
|
* The number of columns on XX-Large devices (≥1400px).
|
|
13134
12666
|
*/
|
|
13135
|
-
xxl:
|
|
13136
|
-
type: Number,
|
|
13137
|
-
default: undefined,
|
|
13138
|
-
require: false,
|
|
13139
|
-
},
|
|
12667
|
+
xxl: Number,
|
|
13140
12668
|
},
|
|
13141
12669
|
setup(props, { slots }) {
|
|
13142
12670
|
const repsonsiveClassNames = [];
|
|
@@ -13175,22 +12703,18 @@ const CProgressBar = vue.defineComponent({
|
|
|
13175
12703
|
/**
|
|
13176
12704
|
* Use to animate the stripes right to left via CSS3 animations.
|
|
13177
12705
|
*/
|
|
13178
|
-
animated:
|
|
13179
|
-
type: Boolean,
|
|
13180
|
-
required: false,
|
|
13181
|
-
},
|
|
12706
|
+
animated: Boolean,
|
|
13182
12707
|
/**
|
|
13183
12708
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
13184
12709
|
*
|
|
13185
12710
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13186
12711
|
*/
|
|
13187
|
-
color: Color,
|
|
12712
|
+
color: Color$1,
|
|
13188
12713
|
/**
|
|
13189
12714
|
* The percent to progress the ProgressBar.
|
|
13190
12715
|
*/
|
|
13191
12716
|
value: {
|
|
13192
12717
|
type: Number,
|
|
13193
|
-
required: false,
|
|
13194
12718
|
default: 0,
|
|
13195
12719
|
},
|
|
13196
12720
|
/**
|
|
@@ -13200,8 +12724,6 @@ const CProgressBar = vue.defineComponent({
|
|
|
13200
12724
|
*/
|
|
13201
12725
|
variant: {
|
|
13202
12726
|
type: String,
|
|
13203
|
-
default: undefined,
|
|
13204
|
-
require: false,
|
|
13205
12727
|
validator: (value) => {
|
|
13206
12728
|
return value === 'striped';
|
|
13207
12729
|
},
|
|
@@ -13232,11 +12754,7 @@ const CProgress = vue.defineComponent({
|
|
|
13232
12754
|
/**
|
|
13233
12755
|
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
|
|
13234
12756
|
*/
|
|
13235
|
-
height:
|
|
13236
|
-
type: Number,
|
|
13237
|
-
default: undefined,
|
|
13238
|
-
required: false,
|
|
13239
|
-
},
|
|
12757
|
+
height: Number,
|
|
13240
12758
|
/**
|
|
13241
12759
|
* Makes progress bar thinner.
|
|
13242
12760
|
*/
|
|
@@ -13281,18 +12799,13 @@ const CPopover = vue.defineComponent({
|
|
|
13281
12799
|
/**
|
|
13282
12800
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
13283
12801
|
*/
|
|
13284
|
-
content:
|
|
13285
|
-
type: String,
|
|
13286
|
-
default: undefined,
|
|
13287
|
-
required: false,
|
|
13288
|
-
},
|
|
12802
|
+
content: String,
|
|
13289
12803
|
/**
|
|
13290
12804
|
* Offset of the popover relative to its target.
|
|
13291
12805
|
*/
|
|
13292
12806
|
offset: {
|
|
13293
12807
|
type: Array,
|
|
13294
12808
|
default: () => [0, 8],
|
|
13295
|
-
required: false,
|
|
13296
12809
|
},
|
|
13297
12810
|
/**
|
|
13298
12811
|
* 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.
|
|
@@ -13300,7 +12813,6 @@ const CPopover = vue.defineComponent({
|
|
|
13300
12813
|
placement: {
|
|
13301
12814
|
type: String,
|
|
13302
12815
|
default: 'top',
|
|
13303
|
-
required: false,
|
|
13304
12816
|
validator: (value) => {
|
|
13305
12817
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
13306
12818
|
},
|
|
@@ -13308,11 +12820,7 @@ const CPopover = vue.defineComponent({
|
|
|
13308
12820
|
/**
|
|
13309
12821
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
13310
12822
|
*/
|
|
13311
|
-
title:
|
|
13312
|
-
type: String,
|
|
13313
|
-
default: undefined,
|
|
13314
|
-
required: false,
|
|
13315
|
-
},
|
|
12823
|
+
title: String,
|
|
13316
12824
|
/**
|
|
13317
12825
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
13318
12826
|
*
|
|
@@ -13321,7 +12829,6 @@ const CPopover = vue.defineComponent({
|
|
|
13321
12829
|
trigger: {
|
|
13322
12830
|
type: [String, Array],
|
|
13323
12831
|
default: 'click',
|
|
13324
|
-
required: false,
|
|
13325
12832
|
validator: (value) => {
|
|
13326
12833
|
if (typeof value === 'string') {
|
|
13327
12834
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -13452,17 +12959,11 @@ const CSidebar = vue.defineComponent({
|
|
|
13452
12959
|
/**
|
|
13453
12960
|
* Make sidebar narrow.
|
|
13454
12961
|
*/
|
|
13455
|
-
narrow:
|
|
13456
|
-
type: Boolean,
|
|
13457
|
-
required: false,
|
|
13458
|
-
},
|
|
12962
|
+
narrow: Boolean,
|
|
13459
12963
|
/**
|
|
13460
12964
|
* Set sidebar to overlaid variant.
|
|
13461
12965
|
*/
|
|
13462
|
-
overlaid:
|
|
13463
|
-
type: Boolean,
|
|
13464
|
-
required: false,
|
|
13465
|
-
},
|
|
12966
|
+
overlaid: Boolean,
|
|
13466
12967
|
/**
|
|
13467
12968
|
* Components placement, there’s no default placement.
|
|
13468
12969
|
* @values 'start', 'end'
|
|
@@ -13479,7 +12980,6 @@ const CSidebar = vue.defineComponent({
|
|
|
13479
12980
|
*/
|
|
13480
12981
|
position: {
|
|
13481
12982
|
type: String,
|
|
13482
|
-
default: undefined,
|
|
13483
12983
|
validator: (value) => {
|
|
13484
12984
|
return ['fixed'].includes(value);
|
|
13485
12985
|
},
|
|
@@ -13489,7 +12989,6 @@ const CSidebar = vue.defineComponent({
|
|
|
13489
12989
|
*/
|
|
13490
12990
|
size: {
|
|
13491
12991
|
type: String,
|
|
13492
|
-
default: undefined,
|
|
13493
12992
|
validator: (value) => {
|
|
13494
12993
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
13495
12994
|
},
|
|
@@ -14114,7 +13613,7 @@ const CTableBody = vue.defineComponent({
|
|
|
14114
13613
|
*
|
|
14115
13614
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14116
13615
|
*/
|
|
14117
|
-
color: Color,
|
|
13616
|
+
color: Color$1,
|
|
14118
13617
|
},
|
|
14119
13618
|
setup(props, { slots }) {
|
|
14120
13619
|
return () => vue.h('tbody', {
|
|
@@ -14140,10 +13639,7 @@ const CTableDataCell = vue.defineComponent({
|
|
|
14140
13639
|
/**
|
|
14141
13640
|
* Highlight a table row or cell.
|
|
14142
13641
|
*/
|
|
14143
|
-
active:
|
|
14144
|
-
type: Boolean,
|
|
14145
|
-
required: false,
|
|
14146
|
-
},
|
|
13642
|
+
active: Boolean,
|
|
14147
13643
|
/**
|
|
14148
13644
|
* Set the vertical aligment.
|
|
14149
13645
|
*
|
|
@@ -14151,8 +13647,6 @@ const CTableDataCell = vue.defineComponent({
|
|
|
14151
13647
|
*/
|
|
14152
13648
|
align: {
|
|
14153
13649
|
type: String,
|
|
14154
|
-
default: undefined,
|
|
14155
|
-
required: false,
|
|
14156
13650
|
validator: (value) => {
|
|
14157
13651
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14158
13652
|
},
|
|
@@ -14162,14 +13656,11 @@ const CTableDataCell = vue.defineComponent({
|
|
|
14162
13656
|
*
|
|
14163
13657
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14164
13658
|
*/
|
|
14165
|
-
color: Color,
|
|
13659
|
+
color: Color$1,
|
|
14166
13660
|
/**
|
|
14167
13661
|
* @ignore
|
|
14168
13662
|
*/
|
|
14169
|
-
scope:
|
|
14170
|
-
type: String,
|
|
14171
|
-
required: false,
|
|
14172
|
-
},
|
|
13663
|
+
scope: String,
|
|
14173
13664
|
},
|
|
14174
13665
|
setup(props, { slots }) {
|
|
14175
13666
|
return () => vue.h(props.scope ? 'th' : 'td', {
|
|
@@ -14193,7 +13684,7 @@ const CTableFoot = vue.defineComponent({
|
|
|
14193
13684
|
*
|
|
14194
13685
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14195
13686
|
*/
|
|
14196
|
-
color: Color,
|
|
13687
|
+
color: Color$1,
|
|
14197
13688
|
},
|
|
14198
13689
|
setup(props, { slots }) {
|
|
14199
13690
|
return () => vue.h('tfoot', {
|
|
@@ -14214,7 +13705,7 @@ const CTableHead = vue.defineComponent({
|
|
|
14214
13705
|
*
|
|
14215
13706
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14216
13707
|
*/
|
|
14217
|
-
color: Color,
|
|
13708
|
+
color: Color$1,
|
|
14218
13709
|
},
|
|
14219
13710
|
setup(props, { slots }) {
|
|
14220
13711
|
return () => vue.h('thead', {
|
|
@@ -14235,7 +13726,7 @@ const CTableHeaderCell = vue.defineComponent({
|
|
|
14235
13726
|
*
|
|
14236
13727
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14237
13728
|
*/
|
|
14238
|
-
color: Color,
|
|
13729
|
+
color: Color$1,
|
|
14239
13730
|
},
|
|
14240
13731
|
setup(props, { slots }) {
|
|
14241
13732
|
return () => vue.h('th', {
|
|
@@ -14254,10 +13745,7 @@ const CTableRow = vue.defineComponent({
|
|
|
14254
13745
|
/**
|
|
14255
13746
|
* Highlight a table row or cell..
|
|
14256
13747
|
*/
|
|
14257
|
-
active:
|
|
14258
|
-
type: Boolean,
|
|
14259
|
-
required: false,
|
|
14260
|
-
},
|
|
13748
|
+
active: Boolean,
|
|
14261
13749
|
/**
|
|
14262
13750
|
* Set the vertical aligment.
|
|
14263
13751
|
*
|
|
@@ -14265,8 +13753,6 @@ const CTableRow = vue.defineComponent({
|
|
|
14265
13753
|
*/
|
|
14266
13754
|
align: {
|
|
14267
13755
|
type: String,
|
|
14268
|
-
default: undefined,
|
|
14269
|
-
required: false,
|
|
14270
13756
|
validator: (value) => {
|
|
14271
13757
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14272
13758
|
},
|
|
@@ -14276,7 +13762,7 @@ const CTableRow = vue.defineComponent({
|
|
|
14276
13762
|
*
|
|
14277
13763
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14278
13764
|
*/
|
|
14279
|
-
color: Color,
|
|
13765
|
+
color: Color$1,
|
|
14280
13766
|
},
|
|
14281
13767
|
setup(props, { slots }) {
|
|
14282
13768
|
return () => vue.h('tr', {
|
|
@@ -14300,11 +13786,14 @@ const pretifyName$1 = (name) => {
|
|
|
14300
13786
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
14301
13787
|
.join(' ');
|
|
14302
13788
|
};
|
|
14303
|
-
const
|
|
14304
|
-
|
|
14305
|
-
|
|
14306
|
-
|
|
14307
|
-
|
|
13789
|
+
const getColumnLabel$1 = (column) => typeof column === 'object' ? column.label ?? pretifyName$1(column.key) : pretifyName$1(column);
|
|
13790
|
+
const getColumnNames$1 = (columns, items) => columns
|
|
13791
|
+
? columns.map((column) => {
|
|
13792
|
+
return typeof column === 'object' ? column.key : column;
|
|
13793
|
+
})
|
|
13794
|
+
: items && getColumnNamesFromItems$1(items);
|
|
13795
|
+
const getColumnNamesFromItems$1 = (items) => Object.keys(items[0] || {}).filter((el) => el.charAt(0) !== '_');
|
|
13796
|
+
|
|
14308
13797
|
const CTable = vue.defineComponent({
|
|
14309
13798
|
name: 'CTable',
|
|
14310
13799
|
props: {
|
|
@@ -14315,8 +13804,6 @@ const CTable = vue.defineComponent({
|
|
|
14315
13804
|
*/
|
|
14316
13805
|
align: {
|
|
14317
13806
|
type: String,
|
|
14318
|
-
default: undefined,
|
|
14319
|
-
required: false,
|
|
14320
13807
|
validator: (value) => {
|
|
14321
13808
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14322
13809
|
},
|
|
@@ -14326,41 +13813,27 @@ const CTable = vue.defineComponent({
|
|
|
14326
13813
|
*
|
|
14327
13814
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
14328
13815
|
*/
|
|
14329
|
-
borderColor: Color,
|
|
13816
|
+
borderColor: Color$1,
|
|
14330
13817
|
/**
|
|
14331
13818
|
* Add borders on all sides of the table and cells.
|
|
14332
13819
|
*/
|
|
14333
|
-
bordered:
|
|
14334
|
-
type: Boolean,
|
|
14335
|
-
required: false,
|
|
14336
|
-
},
|
|
13820
|
+
bordered: Boolean,
|
|
14337
13821
|
/**
|
|
14338
13822
|
* Remove borders on all sides of the table and cells.
|
|
14339
13823
|
*/
|
|
14340
|
-
borderless:
|
|
14341
|
-
type: Boolean,
|
|
14342
|
-
required: false,
|
|
14343
|
-
},
|
|
13824
|
+
borderless: Boolean,
|
|
14344
13825
|
/**
|
|
14345
13826
|
* Put the `<caption>` on the top of the table.
|
|
14346
13827
|
*
|
|
14347
13828
|
* @values 'top' | string
|
|
14348
13829
|
*/
|
|
14349
|
-
caption:
|
|
14350
|
-
type: String,
|
|
14351
|
-
default: undefined,
|
|
14352
|
-
required: false,
|
|
14353
|
-
},
|
|
13830
|
+
caption: String,
|
|
14354
13831
|
/**
|
|
14355
13832
|
* Set the text of the table caption and the caption on the top of the table.
|
|
14356
13833
|
*
|
|
14357
13834
|
* @since 4.5.0
|
|
14358
13835
|
*/
|
|
14359
|
-
captionTop:
|
|
14360
|
-
type: String,
|
|
14361
|
-
default: undefined,
|
|
14362
|
-
required: false,
|
|
14363
|
-
},
|
|
13836
|
+
captionTop: String,
|
|
14364
13837
|
/**
|
|
14365
13838
|
* 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')
|
|
14366
13839
|
*
|
|
@@ -14376,14 +13849,13 @@ const CTable = vue.defineComponent({
|
|
|
14376
13849
|
*/
|
|
14377
13850
|
columns: {
|
|
14378
13851
|
type: Array,
|
|
14379
|
-
required: false,
|
|
14380
13852
|
},
|
|
14381
13853
|
/**
|
|
14382
13854
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
14383
13855
|
*
|
|
14384
13856
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14385
13857
|
*/
|
|
14386
|
-
color: Color,
|
|
13858
|
+
color: Color$1,
|
|
14387
13859
|
/**
|
|
14388
13860
|
* Array of objects or strings, where each element represents one cell in the table footer.
|
|
14389
13861
|
*
|
|
@@ -14396,15 +13868,11 @@ const CTable = vue.defineComponent({
|
|
|
14396
13868
|
*/
|
|
14397
13869
|
footer: {
|
|
14398
13870
|
type: Array,
|
|
14399
|
-
required: false,
|
|
14400
13871
|
},
|
|
14401
13872
|
/**
|
|
14402
13873
|
* Enable a hover state on table rows within a `<CTableBody>`.
|
|
14403
13874
|
*/
|
|
14404
|
-
hover:
|
|
14405
|
-
type: Boolean,
|
|
14406
|
-
required: false,
|
|
14407
|
-
},
|
|
13875
|
+
hover: Boolean,
|
|
14408
13876
|
/**
|
|
14409
13877
|
* 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'.
|
|
14410
13878
|
*
|
|
@@ -14415,12 +13883,9 @@ const CTable = vue.defineComponent({
|
|
|
14415
13883
|
*/
|
|
14416
13884
|
items: {
|
|
14417
13885
|
type: Array,
|
|
14418
|
-
required: false,
|
|
14419
13886
|
},
|
|
14420
13887
|
responsive: {
|
|
14421
13888
|
type: [Boolean, String],
|
|
14422
|
-
default: undefined,
|
|
14423
|
-
required: false,
|
|
14424
13889
|
validator: (value) => {
|
|
14425
13890
|
if (typeof value == 'string') {
|
|
14426
13891
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -14434,26 +13899,17 @@ const CTable = vue.defineComponent({
|
|
|
14434
13899
|
/**
|
|
14435
13900
|
* Make table more compact by cutting all cell `padding` in half.
|
|
14436
13901
|
*/
|
|
14437
|
-
small:
|
|
14438
|
-
type: Boolean,
|
|
14439
|
-
required: false,
|
|
14440
|
-
},
|
|
13902
|
+
small: Boolean,
|
|
14441
13903
|
/**
|
|
14442
13904
|
* Add zebra-striping to any table row within the `<CTableBody>`.
|
|
14443
13905
|
*/
|
|
14444
|
-
striped:
|
|
14445
|
-
type: Boolean,
|
|
14446
|
-
required: false,
|
|
14447
|
-
},
|
|
13906
|
+
striped: Boolean,
|
|
14448
13907
|
/**
|
|
14449
13908
|
* Add zebra-striping to any table column.
|
|
14450
13909
|
*
|
|
14451
13910
|
* @since 4.4.0
|
|
14452
13911
|
*/
|
|
14453
|
-
stripedColumns:
|
|
14454
|
-
type: Boolean,
|
|
14455
|
-
required: false,
|
|
14456
|
-
},
|
|
13912
|
+
stripedColumns: Boolean,
|
|
14457
13913
|
/**
|
|
14458
13914
|
* Properties that will be passed to the table footer component.
|
|
14459
13915
|
*
|
|
@@ -14462,8 +13918,6 @@ const CTable = vue.defineComponent({
|
|
|
14462
13918
|
*/
|
|
14463
13919
|
tableFootProps: {
|
|
14464
13920
|
type: Object,
|
|
14465
|
-
default: undefined,
|
|
14466
|
-
required: false,
|
|
14467
13921
|
},
|
|
14468
13922
|
/**
|
|
14469
13923
|
* Properties that will be passed to the table head component.
|
|
@@ -14473,19 +13927,17 @@ const CTable = vue.defineComponent({
|
|
|
14473
13927
|
*/
|
|
14474
13928
|
tableHeadProps: {
|
|
14475
13929
|
type: Object,
|
|
14476
|
-
default: undefined,
|
|
14477
|
-
required: false,
|
|
14478
13930
|
},
|
|
14479
13931
|
},
|
|
14480
13932
|
setup(props, { slots, attrs }) {
|
|
14481
|
-
const
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
13933
|
+
const columnNames = vue.computed(() => getColumnNames$1(props.columns, props.items));
|
|
13934
|
+
// props.columns
|
|
13935
|
+
// ? props.columns.map((column: Column | string) => {
|
|
13936
|
+
// if (typeof column === 'object') return column.key
|
|
13937
|
+
// else return column
|
|
13938
|
+
// })
|
|
13939
|
+
// : Object.keys((props.items && props.items[0]) || {}).filter((el) => el.charAt(0) !== '_'),
|
|
13940
|
+
// )
|
|
14489
13941
|
const table = () => vue.h('table', {
|
|
14490
13942
|
class: [
|
|
14491
13943
|
'table',
|
|
@@ -14522,7 +13974,7 @@ const CTable = vue.defineComponent({
|
|
|
14522
13974
|
...(typeof column === 'object' &&
|
|
14523
13975
|
column._style && { style: { ...column._style } }),
|
|
14524
13976
|
}, {
|
|
14525
|
-
default: () =>
|
|
13977
|
+
default: () => getColumnLabel$1(column),
|
|
14526
13978
|
})),
|
|
14527
13979
|
],
|
|
14528
13980
|
}),
|
|
@@ -14535,7 +13987,7 @@ const CTable = vue.defineComponent({
|
|
|
14535
13987
|
...(item._props && { ...item._props }),
|
|
14536
13988
|
}, {
|
|
14537
13989
|
default: () => [
|
|
14538
|
-
|
|
13990
|
+
columnNames.value && columnNames.value.map((colName) => item[colName] &&
|
|
14539
13991
|
vue.h(CTableDataCell, {
|
|
14540
13992
|
...(item._cellProps &&
|
|
14541
13993
|
item._cellProps['all'] && { ...item._cellProps['all'] }),
|
|
@@ -15611,10 +15063,10 @@ const CSmartTable = vue.defineComponent({
|
|
|
15611
15063
|
: handleActivePageChange(page),
|
|
15612
15064
|
})
|
|
15613
15065
|
: ''),
|
|
15614
|
-
|
|
15615
|
-
class: 'col-auto ms-auto',
|
|
15616
|
-
}, props.itemsPerPageSelect &&
|
|
15066
|
+
props.itemsPerPageSelect &&
|
|
15617
15067
|
vue.h('div', {
|
|
15068
|
+
class: 'col-auto ms-auto',
|
|
15069
|
+
}, vue.h('div', {
|
|
15618
15070
|
class: 'row',
|
|
15619
15071
|
}, {
|
|
15620
15072
|
default: () => [
|
|
@@ -15666,7 +15118,6 @@ const CTabPane = vue.defineComponent({
|
|
|
15666
15118
|
visible: {
|
|
15667
15119
|
type: Boolean,
|
|
15668
15120
|
default: false,
|
|
15669
|
-
required: false,
|
|
15670
15121
|
},
|
|
15671
15122
|
},
|
|
15672
15123
|
emits: [
|
|
@@ -15729,21 +15180,19 @@ const CToast = vue.defineComponent({
|
|
|
15729
15180
|
autohide: {
|
|
15730
15181
|
type: Boolean,
|
|
15731
15182
|
default: true,
|
|
15732
|
-
required: false,
|
|
15733
15183
|
},
|
|
15734
15184
|
/**
|
|
15735
15185
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
15736
15186
|
*
|
|
15737
15187
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
15738
15188
|
*/
|
|
15739
|
-
color: Color,
|
|
15189
|
+
color: Color$1,
|
|
15740
15190
|
/**
|
|
15741
15191
|
* Delay hiding the toast (ms).
|
|
15742
15192
|
*/
|
|
15743
15193
|
delay: {
|
|
15744
15194
|
type: Number,
|
|
15745
15195
|
default: 5000,
|
|
15746
|
-
required: false,
|
|
15747
15196
|
},
|
|
15748
15197
|
/**
|
|
15749
15198
|
* Optionally add a close button to component and allow it to self dismiss.
|
|
@@ -15751,32 +15200,19 @@ const CToast = vue.defineComponent({
|
|
|
15751
15200
|
dismissible: {
|
|
15752
15201
|
type: Boolean,
|
|
15753
15202
|
default: true,
|
|
15754
|
-
required: false,
|
|
15755
15203
|
},
|
|
15756
15204
|
/**
|
|
15757
15205
|
* index of the component.
|
|
15758
15206
|
*/
|
|
15759
|
-
index:
|
|
15760
|
-
type: Number,
|
|
15761
|
-
default: undefined,
|
|
15762
|
-
required: false,
|
|
15763
|
-
},
|
|
15207
|
+
index: Number,
|
|
15764
15208
|
/**
|
|
15765
15209
|
* Title node for your component.
|
|
15766
15210
|
*/
|
|
15767
|
-
title:
|
|
15768
|
-
type: String,
|
|
15769
|
-
default: undefined,
|
|
15770
|
-
required: false,
|
|
15771
|
-
},
|
|
15211
|
+
title: String,
|
|
15772
15212
|
/**
|
|
15773
15213
|
* Toggle the visibility of component.
|
|
15774
15214
|
*/
|
|
15775
|
-
visible:
|
|
15776
|
-
type: Boolean,
|
|
15777
|
-
default: true,
|
|
15778
|
-
required: false,
|
|
15779
|
-
},
|
|
15215
|
+
visible: Boolean,
|
|
15780
15216
|
},
|
|
15781
15217
|
emits: [
|
|
15782
15218
|
/**
|
|
@@ -15789,46 +15225,19 @@ const CToast = vue.defineComponent({
|
|
|
15789
15225
|
'show',
|
|
15790
15226
|
],
|
|
15791
15227
|
setup(props, { slots, emit }) {
|
|
15792
|
-
const
|
|
15793
|
-
|
|
15794
|
-
const updateVisible = (
|
|
15795
|
-
visible.value =
|
|
15228
|
+
const timeout = vue.ref(0);
|
|
15229
|
+
const visible = vue.ref();
|
|
15230
|
+
const updateVisible = (_visible) => {
|
|
15231
|
+
visible.value = _visible;
|
|
15796
15232
|
};
|
|
15797
15233
|
vue.provide('updateVisible', updateVisible);
|
|
15798
|
-
const handleBeforeEnter = (el) => {
|
|
15799
|
-
el.classList.add('showing');
|
|
15800
|
-
};
|
|
15801
|
-
const handleEnter = (el, done) => {
|
|
15802
|
-
executeAfterTransition(() => done(), el);
|
|
15803
|
-
el.classList.add('show');
|
|
15804
|
-
setTimeout(() => {
|
|
15805
|
-
el.classList.remove('showing');
|
|
15806
|
-
}, 1);
|
|
15807
|
-
if (props.index) {
|
|
15808
|
-
emit('show', props.index);
|
|
15809
|
-
}
|
|
15810
|
-
else {
|
|
15811
|
-
emit('show');
|
|
15812
|
-
}
|
|
15813
|
-
};
|
|
15814
|
-
const handleLeave = (el, done) => {
|
|
15815
|
-
executeAfterTransition(() => done(), el);
|
|
15816
|
-
el.classList.add('showing');
|
|
15817
|
-
};
|
|
15818
|
-
const handleAfterLeave = (el) => {
|
|
15819
|
-
el.classList.remove('show');
|
|
15820
|
-
el.classList.add('hide');
|
|
15821
|
-
if (props.index) {
|
|
15822
|
-
emit('close', props.index);
|
|
15823
|
-
}
|
|
15824
|
-
else {
|
|
15825
|
-
emit('close');
|
|
15826
|
-
}
|
|
15827
|
-
};
|
|
15828
15234
|
vue.onMounted(() => {
|
|
15235
|
+
if (props.visible) {
|
|
15236
|
+
visible.value = props.visible;
|
|
15237
|
+
}
|
|
15829
15238
|
if (props.autohide) {
|
|
15830
|
-
clearTimeout(timeout);
|
|
15831
|
-
timeout = window.setTimeout(() => {
|
|
15239
|
+
clearTimeout(timeout.value);
|
|
15240
|
+
timeout.value = window.setTimeout(() => {
|
|
15832
15241
|
visible.value = false;
|
|
15833
15242
|
emit('close');
|
|
15834
15243
|
}, props.delay);
|
|
@@ -15836,23 +15245,33 @@ const CToast = vue.defineComponent({
|
|
|
15836
15245
|
});
|
|
15837
15246
|
return () => vue.h(vue.Transition, {
|
|
15838
15247
|
appear: true,
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
|
|
15854
|
-
|
|
15855
|
-
|
|
15248
|
+
enterFromClass: '',
|
|
15249
|
+
enterActiveClass: 'show showing',
|
|
15250
|
+
enterToClass: 'show',
|
|
15251
|
+
leaveFromClass: 'show',
|
|
15252
|
+
leaveActiveClass: 'show showing',
|
|
15253
|
+
leaveToClass: 'show',
|
|
15254
|
+
onAfterEnter: (el) => {
|
|
15255
|
+
el.classList.add('show');
|
|
15256
|
+
props.index ? emit('show', props.index) : emit('show');
|
|
15257
|
+
},
|
|
15258
|
+
onAfterLeave: () => {
|
|
15259
|
+
props.index ? emit('close', props.index) : emit('close');
|
|
15260
|
+
},
|
|
15261
|
+
}, {
|
|
15262
|
+
default: () => visible.value &&
|
|
15263
|
+
vue.h('div', {
|
|
15264
|
+
class: [
|
|
15265
|
+
'toast fade',
|
|
15266
|
+
{
|
|
15267
|
+
[`bg-${props.color}`]: props.color,
|
|
15268
|
+
},
|
|
15269
|
+
],
|
|
15270
|
+
'aria-live': 'assertive',
|
|
15271
|
+
'aria-atomic': true,
|
|
15272
|
+
role: 'alert',
|
|
15273
|
+
}, slots.default && slots.default()),
|
|
15274
|
+
});
|
|
15856
15275
|
},
|
|
15857
15276
|
});
|
|
15858
15277
|
|
|
@@ -15869,11 +15288,7 @@ const CToastClose = vue.defineComponent({
|
|
|
15869
15288
|
/**
|
|
15870
15289
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
15871
15290
|
*/
|
|
15872
|
-
component:
|
|
15873
|
-
type: String,
|
|
15874
|
-
default: undefined,
|
|
15875
|
-
required: false,
|
|
15876
|
-
},
|
|
15291
|
+
component: String,
|
|
15877
15292
|
...CCloseButton.props,
|
|
15878
15293
|
},
|
|
15879
15294
|
emits: [
|
|
@@ -15914,8 +15329,6 @@ const CToaster = vue.defineComponent({
|
|
|
15914
15329
|
*/
|
|
15915
15330
|
placement: {
|
|
15916
15331
|
type: String,
|
|
15917
|
-
default: undefined,
|
|
15918
|
-
require: false,
|
|
15919
15332
|
validator: (value) => {
|
|
15920
15333
|
return [
|
|
15921
15334
|
'top-start',
|
|
@@ -15955,10 +15368,7 @@ const CToastHeader = vue.defineComponent({
|
|
|
15955
15368
|
/**
|
|
15956
15369
|
* Automatically add a close button to the header.
|
|
15957
15370
|
*/
|
|
15958
|
-
closeButton:
|
|
15959
|
-
type: Boolean,
|
|
15960
|
-
require: false,
|
|
15961
|
-
},
|
|
15371
|
+
closeButton: Boolean,
|
|
15962
15372
|
},
|
|
15963
15373
|
emits: [
|
|
15964
15374
|
/**
|
|
@@ -15993,18 +15403,13 @@ const CTooltip = vue.defineComponent({
|
|
|
15993
15403
|
/**
|
|
15994
15404
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
15995
15405
|
*/
|
|
15996
|
-
content:
|
|
15997
|
-
type: String,
|
|
15998
|
-
default: undefined,
|
|
15999
|
-
required: false,
|
|
16000
|
-
},
|
|
15406
|
+
content: String,
|
|
16001
15407
|
/**
|
|
16002
15408
|
* Offset of the tooltip relative to its target.
|
|
16003
15409
|
*/
|
|
16004
15410
|
offset: {
|
|
16005
15411
|
type: Array,
|
|
16006
15412
|
default: () => [0, 0],
|
|
16007
|
-
required: false,
|
|
16008
15413
|
},
|
|
16009
15414
|
/**
|
|
16010
15415
|
* 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.
|
|
@@ -16012,7 +15417,6 @@ const CTooltip = vue.defineComponent({
|
|
|
16012
15417
|
placement: {
|
|
16013
15418
|
type: String,
|
|
16014
15419
|
default: 'top',
|
|
16015
|
-
required: false,
|
|
16016
15420
|
validator: (value) => {
|
|
16017
15421
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
16018
15422
|
},
|
|
@@ -16025,7 +15429,6 @@ const CTooltip = vue.defineComponent({
|
|
|
16025
15429
|
trigger: {
|
|
16026
15430
|
type: [String, Array],
|
|
16027
15431
|
default: 'hover',
|
|
16028
|
-
required: false,
|
|
16029
15432
|
validator: (value) => {
|
|
16030
15433
|
if (typeof value === 'string') {
|
|
16031
15434
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -16136,26 +15539,17 @@ const CTooltipPlugin = {
|
|
|
16136
15539
|
const CWidgetStatsA = vue.defineComponent({
|
|
16137
15540
|
name: 'CWidgetStatsA',
|
|
16138
15541
|
props: {
|
|
16139
|
-
color:
|
|
16140
|
-
type: String,
|
|
16141
|
-
default: undefined,
|
|
16142
|
-
require: false,
|
|
16143
|
-
},
|
|
15542
|
+
color: String,
|
|
16144
15543
|
/**
|
|
16145
15544
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16146
15545
|
*/
|
|
16147
|
-
title:
|
|
16148
|
-
type: String,
|
|
16149
|
-
default: undefined,
|
|
16150
|
-
require: false,
|
|
16151
|
-
},
|
|
15546
|
+
title: String,
|
|
16152
15547
|
/**
|
|
16153
15548
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16154
15549
|
*/
|
|
16155
15550
|
value: {
|
|
16156
15551
|
type: [Number, String],
|
|
16157
|
-
default: 0
|
|
16158
|
-
require: false,
|
|
15552
|
+
default: 0
|
|
16159
15553
|
},
|
|
16160
15554
|
},
|
|
16161
15555
|
/**
|
|
@@ -16244,22 +15638,18 @@ const CWidgetStatsB = vue.defineComponent({
|
|
|
16244
15638
|
*
|
|
16245
15639
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16246
15640
|
*/
|
|
16247
|
-
color: Color,
|
|
15641
|
+
color: Color$1,
|
|
16248
15642
|
/**
|
|
16249
15643
|
* Colors have been inverted from their default dark shade.
|
|
16250
15644
|
*/
|
|
16251
|
-
inverse:
|
|
16252
|
-
type: Boolean,
|
|
16253
|
-
default: undefined,
|
|
16254
|
-
require: false,
|
|
16255
|
-
},
|
|
15645
|
+
inverse: Boolean,
|
|
16256
15646
|
progress: J({
|
|
16257
15647
|
/**
|
|
16258
15648
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16259
15649
|
*
|
|
16260
15650
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16261
15651
|
*/
|
|
16262
|
-
color: Color,
|
|
15652
|
+
color: Color$1,
|
|
16263
15653
|
/**
|
|
16264
15654
|
* The percent to progress the ProgressBar (out of 100).
|
|
16265
15655
|
*/
|
|
@@ -16271,26 +15661,17 @@ const CWidgetStatsB = vue.defineComponent({
|
|
|
16271
15661
|
/**
|
|
16272
15662
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16273
15663
|
*/
|
|
16274
|
-
text:
|
|
16275
|
-
type: String,
|
|
16276
|
-
default: undefined,
|
|
16277
|
-
require: false,
|
|
16278
|
-
},
|
|
15664
|
+
text: String,
|
|
16279
15665
|
/**
|
|
16280
15666
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16281
15667
|
*/
|
|
16282
|
-
title:
|
|
16283
|
-
type: String,
|
|
16284
|
-
default: undefined,
|
|
16285
|
-
require: false,
|
|
16286
|
-
},
|
|
15668
|
+
title: String,
|
|
16287
15669
|
/**
|
|
16288
15670
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16289
15671
|
*/
|
|
16290
15672
|
value: {
|
|
16291
15673
|
type: [Number, String],
|
|
16292
|
-
default: 0
|
|
16293
|
-
require: false,
|
|
15674
|
+
default: 0
|
|
16294
15675
|
},
|
|
16295
15676
|
},
|
|
16296
15677
|
setup(props, { slots }) {
|
|
@@ -16341,22 +15722,18 @@ const CWidgetStatsC = vue.defineComponent({
|
|
|
16341
15722
|
*
|
|
16342
15723
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16343
15724
|
*/
|
|
16344
|
-
color: Color,
|
|
15725
|
+
color: Color$1,
|
|
16345
15726
|
/**
|
|
16346
15727
|
* Colors have been inverted from their default dark shade.
|
|
16347
15728
|
*/
|
|
16348
|
-
inverse:
|
|
16349
|
-
type: Boolean,
|
|
16350
|
-
default: undefined,
|
|
16351
|
-
require: false,
|
|
16352
|
-
},
|
|
15729
|
+
inverse: Boolean,
|
|
16353
15730
|
progress: J({
|
|
16354
15731
|
/**
|
|
16355
15732
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16356
15733
|
*
|
|
16357
15734
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16358
15735
|
*/
|
|
16359
|
-
color: Color,
|
|
15736
|
+
color: Color$1,
|
|
16360
15737
|
/**
|
|
16361
15738
|
* The percent to progress the ProgressBar (out of 100).
|
|
16362
15739
|
*/
|
|
@@ -16368,18 +15745,13 @@ const CWidgetStatsC = vue.defineComponent({
|
|
|
16368
15745
|
/**
|
|
16369
15746
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16370
15747
|
*/
|
|
16371
|
-
title:
|
|
16372
|
-
type: String,
|
|
16373
|
-
default: undefined,
|
|
16374
|
-
require: false,
|
|
16375
|
-
},
|
|
15748
|
+
title: String,
|
|
16376
15749
|
/**
|
|
16377
15750
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16378
15751
|
*/
|
|
16379
15752
|
value: {
|
|
16380
15753
|
type: [Number, String],
|
|
16381
|
-
default: 0
|
|
16382
|
-
require: false,
|
|
15754
|
+
default: 0
|
|
16383
15755
|
},
|
|
16384
15756
|
},
|
|
16385
15757
|
/**
|
|
@@ -16439,14 +15811,13 @@ const CWidgetStatsD = vue.defineComponent({
|
|
|
16439
15811
|
*
|
|
16440
15812
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16441
15813
|
*/
|
|
16442
|
-
color: Color,
|
|
15814
|
+
color: Color$1,
|
|
16443
15815
|
/**
|
|
16444
15816
|
* Values and titles for your component.
|
|
16445
15817
|
*/
|
|
16446
15818
|
values: {
|
|
16447
15819
|
type: Array,
|
|
16448
15820
|
default: () => [],
|
|
16449
|
-
require: false,
|
|
16450
15821
|
},
|
|
16451
15822
|
},
|
|
16452
15823
|
/**
|
|
@@ -16495,18 +15866,13 @@ const CWidgetStatsE = vue.defineComponent({
|
|
|
16495
15866
|
/**
|
|
16496
15867
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16497
15868
|
*/
|
|
16498
|
-
title:
|
|
16499
|
-
type: String,
|
|
16500
|
-
default: undefined,
|
|
16501
|
-
require: false,
|
|
16502
|
-
},
|
|
15869
|
+
title: String,
|
|
16503
15870
|
/**
|
|
16504
15871
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16505
15872
|
*/
|
|
16506
15873
|
value: {
|
|
16507
15874
|
type: [Number, String],
|
|
16508
|
-
default: 0
|
|
16509
|
-
require: false,
|
|
15875
|
+
default: 0
|
|
16510
15876
|
},
|
|
16511
15877
|
},
|
|
16512
15878
|
/**
|
|
@@ -16544,7 +15910,7 @@ const CWidgetStatsF = vue.defineComponent({
|
|
|
16544
15910
|
*
|
|
16545
15911
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16546
15912
|
*/
|
|
16547
|
-
color: Color,
|
|
15913
|
+
color: Color$1,
|
|
16548
15914
|
/**
|
|
16549
15915
|
* Set padding of your component.
|
|
16550
15916
|
*/
|
|
@@ -16555,26 +15921,17 @@ const CWidgetStatsF = vue.defineComponent({
|
|
|
16555
15921
|
/**
|
|
16556
15922
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16557
15923
|
*/
|
|
16558
|
-
title:
|
|
16559
|
-
type: String,
|
|
16560
|
-
default: undefined,
|
|
16561
|
-
require: false,
|
|
16562
|
-
},
|
|
15924
|
+
title: String,
|
|
16563
15925
|
/**
|
|
16564
15926
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16565
15927
|
*/
|
|
16566
|
-
text:
|
|
16567
|
-
type: String,
|
|
16568
|
-
default: undefined,
|
|
16569
|
-
require: false,
|
|
16570
|
-
},
|
|
15928
|
+
text: String,
|
|
16571
15929
|
/**
|
|
16572
15930
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16573
15931
|
*/
|
|
16574
15932
|
value: {
|
|
16575
15933
|
type: [Number, String],
|
|
16576
|
-
default: 0
|
|
16577
|
-
require: false,
|
|
15934
|
+
default: 0
|
|
16578
15935
|
},
|
|
16579
15936
|
},
|
|
16580
15937
|
/**
|