From a1147851e3ee7f801ce6caaf8a71c355fb2317d2 Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 31 Aug 2024 16:14:15 +0200 Subject: [PATCH] update docs --- vue/docs/404.html | 6 +- vue/docs/api/CChart.api.html | 6 +- vue/docs/api/accordion/CAccordion.api.html | 6 +- .../api/accordion/CAccordionBody.api.html | 6 +- .../api/accordion/CAccordionButton.api.html | 6 +- .../api/accordion/CAccordionHeader.api.html | 6 +- .../api/accordion/CAccordionItem.api.html | 6 +- vue/docs/api/alert/CAlert.api.html | 6 +- vue/docs/api/alert/CAlertHeading.api.html | 6 +- vue/docs/api/alert/CAlertLink.api.html | 6 +- vue/docs/api/avatar/CAvatar.api.html | 6 +- vue/docs/api/backdrop/CBackdrop.api.html | 6 +- vue/docs/api/badge/CBadge.api.html | 6 +- vue/docs/api/breadcrumb/CBreadcrumb.api.html | 6 +- .../api/breadcrumb/CBreadcrumbItem.api.html | 6 +- .../api/button-group/CButtonGroup.api.html | 6 +- .../api/button-group/CButtonToolbar.api.html | 6 +- vue/docs/api/button/CButton.api.html | 6 +- vue/docs/api/calendar/CCalendar.api.html | 6 +- vue/docs/api/callout/CCallout.api.html | 6 +- vue/docs/api/card/CCard.api.html | 6 +- vue/docs/api/card/CCardBody.api.html | 6 +- vue/docs/api/card/CCardFooter.api.html | 6 +- vue/docs/api/card/CCardGroup.api.html | 6 +- vue/docs/api/card/CCardHeader.api.html | 6 +- vue/docs/api/card/CCardImage.api.html | 6 +- vue/docs/api/card/CCardImageOverlay.api.html | 6 +- vue/docs/api/card/CCardLink.api.html | 6 +- vue/docs/api/card/CCardSubtitle.api.html | 6 +- vue/docs/api/card/CCardText.api.html | 6 +- vue/docs/api/card/CCardTitle.api.html | 6 +- vue/docs/api/carousel/CCarousel.api.html | 6 +- .../api/carousel/CCarouselCaption.api.html | 6 +- vue/docs/api/carousel/CCarouselItem.api.html | 6 +- .../api/close-button/CCloseButton.api.html | 6 +- vue/docs/api/collapse/CCollapse.api.html | 6 +- .../CConditionalTeleport.api.html | 6 +- .../api/coreui-icons-vue/src/CIcon.api.html | 6 +- .../coreui-icons-vue/src/CIconSvg.api.html | 6 +- vue/docs/api/date-picker/CDatePicker.api.html | 6 +- .../CDateRangePicker.api.html | 6 +- vue/docs/api/dropdown/CDropdown.api.html | 6 +- .../api/dropdown/CDropdownDivider.api.html | 6 +- .../api/dropdown/CDropdownHeader.api.html | 6 +- vue/docs/api/dropdown/CDropdownItem.api.html | 6 +- vue/docs/api/dropdown/CDropdownMenu.api.html | 6 +- .../api/dropdown/CDropdownToggle.api.html | 6 +- vue/docs/api/footer/CFooter.api.html | 6 +- vue/docs/api/form/CForm.api.html | 6 +- vue/docs/api/form/CFormCheck.api.html | 6 +- vue/docs/api/form/CFormControl.api.html | 6 +- .../api/form/CFormControlValidation.api.html | 6 +- .../api/form/CFormControlWrapper.api.html | 6 +- vue/docs/api/form/CFormFeedback.api.html | 6 +- vue/docs/api/form/CFormFloating.api.html | 6 +- vue/docs/api/form/CFormInput.api.html | 6 +- vue/docs/api/form/CFormLabel.api.html | 6 +- vue/docs/api/form/CFormRange.api.html | 6 +- vue/docs/api/form/CFormSelect.api.html | 6 +- vue/docs/api/form/CFormSwitch.api.html | 6 +- vue/docs/api/form/CFormText.api.html | 6 +- vue/docs/api/form/CFormTextarea.api.html | 6 +- vue/docs/api/form/CInputGroup.api.html | 6 +- vue/docs/api/form/CInputGroupText.api.html | 6 +- vue/docs/api/grid/CCol.api.html | 6 +- vue/docs/api/grid/CContainer.api.html | 6 +- vue/docs/api/grid/CRow.api.html | 6 +- vue/docs/api/header/CHeader.api.html | 6 +- vue/docs/api/header/CHeaderBrand.api.html | 6 +- vue/docs/api/header/CHeaderDivider.api.html | 6 +- vue/docs/api/header/CHeaderNav.api.html | 6 +- vue/docs/api/header/CHeaderText.api.html | 6 +- vue/docs/api/header/CHeaderToggler.api.html | 6 +- vue/docs/api/image/CImage.api.html | 6 +- vue/docs/api/link/CLink.api.html | 6 +- vue/docs/api/list-group/CListGroup.api.html | 6 +- .../api/list-group/CListGroupItem.api.html | 6 +- .../loading-button/CLoadingButton.api.html | 6 +- vue/docs/api/modal/CModal.api.html | 6 +- vue/docs/api/modal/CModalBody.api.html | 6 +- vue/docs/api/modal/CModalFooter.api.html | 6 +- vue/docs/api/modal/CModalHeader.api.html | 6 +- vue/docs/api/modal/CModalTitle.api.html | 6 +- .../api/multi-select/CMultiSelect.api.html | 6 +- .../CMultiSelectNativeSelect.api.html | 6 +- .../multi-select/CMultiSelectOptions.api.html | 6 +- .../CMultiSelectSelection.api.html | 6 +- vue/docs/api/nav/CNav.api.html | 6 +- vue/docs/api/nav/CNavGroup.api.html | 6 +- vue/docs/api/nav/CNavGroupItems.api.html | 6 +- vue/docs/api/nav/CNavItem.api.html | 6 +- vue/docs/api/nav/CNavLink.api.html | 6 +- vue/docs/api/nav/CNavTitle.api.html | 6 +- vue/docs/api/navbar/CNavbar.api.html | 6 +- vue/docs/api/navbar/CNavbarBrand.api.html | 6 +- vue/docs/api/navbar/CNavbarNav.api.html | 6 +- vue/docs/api/navbar/CNavbarText.api.html | 6 +- vue/docs/api/navbar/CNavbarToggler.api.html | 6 +- vue/docs/api/offcanvas/COffcanvas.api.html | 6 +- .../api/offcanvas/COffcanvasBody.api.html | 6 +- .../api/offcanvas/COffcanvasHeader.api.html | 6 +- .../api/offcanvas/COffcanvasTitle.api.html | 6 +- vue/docs/api/pagination/CPagination.api.html | 6 +- .../api/pagination/CPaginationItem.api.html | 6 +- .../api/pagination/CSmartPagination.api.html | 6 +- vue/docs/api/picker/CPicker.api.html | 6 +- .../api/placeholder/CPlaceholder.api.html | 6 +- vue/docs/api/popover/CPopover.api.html | 6 +- vue/docs/api/progress/CProgress.api.html | 6 +- vue/docs/api/progress/CProgressBar.api.html | 6 +- .../api/progress/CProgressStacked.api.html | 6 +- vue/docs/api/rating/CRating.api.html | 6 +- vue/docs/api/sidebar/CSidebar.api.html | 6 +- vue/docs/api/sidebar/CSidebarBrand.api.html | 6 +- vue/docs/api/sidebar/CSidebarFooter.api.html | 6 +- vue/docs/api/sidebar/CSidebarHeader.api.html | 6 +- vue/docs/api/sidebar/CSidebarNav.api.html | 6 +- vue/docs/api/sidebar/CSidebarToggler.api.html | 6 +- .../CSmartPagination.api.html | 6 +- vue/docs/api/smart-table/CSmartTable.api.html | 6 +- .../api/smart-table/CSmartTableBody.api.html | 6 +- .../smart-table/CSmartTableCleaner.api.html | 6 +- .../smart-table/CSmartTableFilter.api.html | 6 +- .../api/smart-table/CSmartTableHead.api.html | 6 +- .../CSmartTableItemsPerPageSelector.api.html | 6 +- vue/docs/api/spinner/CSpinner.api.html | 6 +- vue/docs/api/table/CTable.api.html | 6 +- vue/docs/api/table/CTableBody.api.html | 6 +- vue/docs/api/table/CTableCaption.api.html | 6 +- vue/docs/api/table/CTableDataCell.api.html | 6 +- vue/docs/api/table/CTableFoot.api.html | 6 +- vue/docs/api/table/CTableHead.api.html | 6 +- vue/docs/api/table/CTableHeaderCell.api.html | 6 +- vue/docs/api/table/CTableRow.api.html | 6 +- vue/docs/api/tabs/CTab.api.html | 6 +- vue/docs/api/tabs/CTabContent.api.html | 6 +- vue/docs/api/tabs/CTabList.api.html | 6 +- vue/docs/api/tabs/CTabPane.api.html | 6 +- vue/docs/api/tabs/CTabPanel.api.html | 6 +- vue/docs/api/tabs/CTabs.api.html | 6 +- vue/docs/api/time-picker/CTimePicker.api.html | 6 +- .../time-picker/CTimePickerRollCol.api.html | 6 +- vue/docs/api/toast/CToast.api.html | 6 +- vue/docs/api/toast/CToastBody.api.html | 6 +- vue/docs/api/toast/CToastClose.api.html | 6 +- vue/docs/api/toast/CToastHeader.api.html | 6 +- vue/docs/api/toast/CToaster.api.html | 6 +- vue/docs/api/tooltip/CTooltip.api.html | 6 +- .../CVirtualScroller.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsA.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsB.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsC.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsD.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsE.api.html | 6 +- vue/docs/api/widgets/CWidgetStatsF.api.html | 6 +- ....html-RliG702a.js => 404.html-DU2TjE25.js} | 2 +- .../assets/CAccordion.api.html-B6uisqsk.js | 15 + .../assets/CAccordion.api.html-BmmCbR4F.js | 15 - .../CAccordionBody.api.html-BxSpa71p.js | 15 + .../CAccordionBody.api.html-DnDWpn--.js | 15 - .../CAccordionButton.api.html-BFZVkVlR.js | 15 - .../CAccordionButton.api.html-DPUd2qPX.js | 15 + .../CAccordionHeader.api.html-D3E3-RrY.js | 15 - .../CAccordionHeader.api.html-DhPR4UFM.js | 15 + .../CAccordionItem.api.html-B_Gvnaeq.js | 15 - .../CAccordionItem.api.html-DZGPOsD9.js | 15 + vue/docs/assets/CAlert.api.html-BXIVhpa9.js | 15 + vue/docs/assets/CAlert.api.html-BXjHGX6m.js | 15 - .../assets/CAlertHeading.api.html-BKJ9BC30.js | 15 + .../assets/CAlertHeading.api.html-DoJskrT2.js | 15 - .../assets/CAlertLink.api.html-Be4cejDR.js | 15 - .../assets/CAlertLink.api.html-DG0vJpCf.js | 15 + vue/docs/assets/CAvatar.api.html-BTqEczbV.js | 15 - vue/docs/assets/CAvatar.api.html-CKyQof1f.js | 15 + .../assets/CBackdrop.api.html-BlEIpUAI.js | 15 + .../assets/CBackdrop.api.html-DAmzayp3.js | 15 - vue/docs/assets/CBadge.api.html-CgAts6f4.js | 15 - vue/docs/assets/CBadge.api.html-FxK3PsZy.js | 15 + .../assets/CBreadcrumb.api.html-5lgjZmeY.js | 15 + .../assets/CBreadcrumb.api.html-DqwjKss4.js | 15 - .../CBreadcrumbItem.api.html-CPH_CfEm.js | 15 + .../CBreadcrumbItem.api.html-r9RgIwJD.js | 15 - vue/docs/assets/CButton.api.html-CiQ_g2gW.js | 15 + vue/docs/assets/CButton.api.html-ekRjLD2P.js | 15 - .../assets/CButtonGroup.api.html-BVG1ANZ_.js | 15 + .../assets/CButtonGroup.api.html-D0mJf4Og.js | 15 - .../CButtonToolbar.api.html-BLBUlnfS.js | 15 + .../CButtonToolbar.api.html-IKoND_KL.js | 15 - .../assets/CCalendar.api.html-77BmaEcE.js | 15 + .../assets/CCalendar.api.html-C4aT9FYA.js | 15 - vue/docs/assets/CCallout.api.html-DiF4unWf.js | 15 - vue/docs/assets/CCallout.api.html-KoizcUs-.js | 15 + vue/docs/assets/CCard.api.html-BmbaZsmK.js | 15 - vue/docs/assets/CCard.api.html-CWzyD8X0.js | 15 + .../assets/CCardBody.api.html-BECQVBUH.js | 15 + .../assets/CCardBody.api.html-D0-tGYrD.js | 15 - .../assets/CCardFooter.api.html-CI_3qzYg.js | 15 + .../assets/CCardFooter.api.html-CiSjk2NS.js | 15 - .../assets/CCardGroup.api.html-BABSBoJe.js | 15 - .../assets/CCardGroup.api.html-DH7EZxGl.js | 15 + .../assets/CCardHeader.api.html-CWFYp2G5.js | 15 + .../assets/CCardHeader.api.html-D5ZqQVdw.js | 15 - .../assets/CCardImage.api.html-BBnb9-GW.js | 15 - .../assets/CCardImage.api.html-CUCskHkB.js | 15 + .../CCardImageOverlay.api.html-CNgKoO9s.js | 15 + .../CCardImageOverlay.api.html-TpPKznie.js | 15 - .../assets/CCardLink.api.html-Dxett-Ui.js | 15 + .../assets/CCardLink.api.html-MlyoVRZ4.js | 15 - .../assets/CCardSubtitle.api.html-Cl-ezx9Z.js | 15 - .../assets/CCardSubtitle.api.html-Dh4UbxxY.js | 15 + .../assets/CCardText.api.html-Bg0_JF9j.js | 15 + .../assets/CCardText.api.html-CeB8bETl.js | 15 - .../assets/CCardTitle.api.html-BIewfA00.js | 15 - .../assets/CCardTitle.api.html-Cvqug47a.js | 15 + .../assets/CCarousel.api.html-B6WYH3KM.js | 15 - .../assets/CCarousel.api.html-DvQ7vBAQ.js | 15 + .../CCarouselCaption.api.html-CJ2Co3Eg.js | 15 - .../CCarouselCaption.api.html-Ry9R9ID5.js | 15 + .../assets/CCarouselItem.api.html-Bx_efOFH.js | 15 - .../assets/CCarouselItem.api.html-CQ58r3xO.js | 15 + vue/docs/assets/CChart.api.html-BFRT-Fhg.js | 15 - vue/docs/assets/CChart.api.html-BPKhb3Ee.js | 15 + .../assets/CCloseButton.api.html-DVHA5VBo.js | 15 + .../assets/CCloseButton.api.html-X5Fmd0Tk.js | 15 - vue/docs/assets/CCol.api.html-DFGWxu75.js | 15 - vue/docs/assets/CCol.api.html-Fe-NnVcD.js | 15 + .../assets/CCollapse.api.html-CxTOAM8U.js | 15 + .../assets/CCollapse.api.html-zVmsFw74.js | 15 - .../CConditionalTeleport.api.html-7PMLb_Wk.js | 15 - .../CConditionalTeleport.api.html-BsPLiQQG.js | 15 + .../assets/CContainer.api.html-CJReqk6k.js | 15 - .../assets/CContainer.api.html-O3JlICl7.js | 15 + .../assets/CDatePicker.api.html-BmlaHdUZ.js | 15 - .../assets/CDatePicker.api.html-C1Ro8UbJ.js | 15 + .../CDateRangePicker.api.html-BXCpvTjX.js | 15 + .../CDateRangePicker.api.html-Hlubmql2.js | 15 - .../assets/CDropdown.api.html-DGIxjfQ3.js | 15 - .../assets/CDropdown.api.html-DVi36nMQ.js | 15 + .../CDropdownDivider.api.html-DRPOqN6s.js | 15 + .../CDropdownDivider.api.html-VSQ_XlFl.js | 15 - .../CDropdownHeader.api.html-BFaZEh4a.js | 15 + .../CDropdownHeader.api.html-Cxpz-KV-.js | 15 - .../assets/CDropdownItem.api.html-BVulLqSR.js | 15 - .../assets/CDropdownItem.api.html-YfOt4ZPU.js | 15 + .../assets/CDropdownMenu.api.html-BOqkAy5z.js | 15 + .../assets/CDropdownMenu.api.html-BckpImA4.js | 15 - .../CDropdownToggle.api.html-TBTSZRQO.js | 15 + .../CDropdownToggle.api.html-unfICPox.js | 15 - vue/docs/assets/CFooter.api.html-CH8Pc0Ax.js | 15 - vue/docs/assets/CFooter.api.html-DCPx9oeQ.js | 15 + vue/docs/assets/CForm.api.html-2ixEm0A1.js | 15 - vue/docs/assets/CForm.api.html-D6NiMRuP.js | 15 + .../assets/CFormCheck.api.html-Bf9lhFvH.js | 15 - .../assets/CFormCheck.api.html-Bl-fuUMn.js | 15 + .../assets/CFormControl.api.html-BEVjOQjL.js | 15 + .../assets/CFormControl.api.html-D9-r3st8.js | 15 - ...FormControlValidation.api.html-CDKpaVG3.js | 15 - ...FormControlValidation.api.html-fn-8iM1r.js | 15 + .../CFormControlWrapper.api.html-BYVnVI9z.js | 15 + .../CFormControlWrapper.api.html-D75G__Lh.js | 15 - .../assets/CFormFeedback.api.html-C33zL_Pk.js | 15 + .../assets/CFormFeedback.api.html-Cs8xHqDe.js | 15 - .../assets/CFormFloating.api.html-C-X3BFM6.js | 15 - .../assets/CFormFloating.api.html-CqfeIH6c.js | 15 + .../assets/CFormInput.api.html-BDOLWxtk.js | 15 + .../assets/CFormInput.api.html-CVvr0T_h.js | 15 - .../assets/CFormLabel.api.html-C3nnUCqL.js | 15 + .../assets/CFormLabel.api.html-CpQQKu1b.js | 15 - .../assets/CFormRange.api.html-C4Wns1Lr.js | 15 - .../assets/CFormRange.api.html-C9Fi8SJ1.js | 15 + .../assets/CFormSelect.api.html-4dvFandI.js | 15 - .../assets/CFormSelect.api.html-Dz_dg5lQ.js | 15 + .../assets/CFormSwitch.api.html-BACw_Adx.js | 15 + .../assets/CFormSwitch.api.html-CyrjItfh.js | 15 - .../assets/CFormText.api.html-BJqLcA9t.js | 15 + .../assets/CFormText.api.html-CpJOPSQg.js | 15 - .../assets/CFormTextarea.api.html-C-PBE2Mw.js | 15 + .../assets/CFormTextarea.api.html-DMhqjvWY.js | 15 - vue/docs/assets/CHeader.api.html-CJg_IEiF.js | 15 - vue/docs/assets/CHeader.api.html-DlxZXRgK.js | 15 + .../assets/CHeaderBrand.api.html-4A7AgRNX.js | 15 - .../assets/CHeaderBrand.api.html-CFKRvz1W.js | 15 + .../CHeaderDivider.api.html-DKNK6-VZ.js | 15 - .../CHeaderDivider.api.html-WXk5c_Vn.js | 15 + .../assets/CHeaderNav.api.html-BG2UOwMu.js | 15 + .../assets/CHeaderNav.api.html-Bbsph2xH.js | 15 - .../assets/CHeaderText.api.html-DpmaCM7o.js | 15 + .../assets/CHeaderText.api.html-dosyBX2D.js | 15 - .../CHeaderToggler.api.html-BQ00oQEl.js | 15 + .../CHeaderToggler.api.html-BlIes8qe.js | 15 - vue/docs/assets/CIcon.api.html-B3u-PJZc.js | 15 - vue/docs/assets/CIcon.api.html-DXua_Pop.js | 15 + vue/docs/assets/CIconSvg.api.html-Bu8_TLiB.js | 15 + vue/docs/assets/CIconSvg.api.html-DboTNlH1.js | 15 - vue/docs/assets/CImage.api.html-1rNq-hNU.js | 15 + vue/docs/assets/CImage.api.html-C1zwuBO9.js | 15 - .../assets/CInputGroup.api.html-B9Jacvbh.js | 15 - .../assets/CInputGroup.api.html-O1rxMtka.js | 15 + .../CInputGroupText.api.html-CjjBv0Qa.js | 15 + .../CInputGroupText.api.html-nYw0lYnn.js | 15 - vue/docs/assets/CLink.api.html-6FAjEedH.js | 15 - vue/docs/assets/CLink.api.html-CkkUHkLl.js | 15 + .../assets/CListGroup.api.html-BoJSzdjE.js | 15 + .../assets/CListGroup.api.html-CWB2ebuP.js | 15 - .../CListGroupItem.api.html-B75RiEoP.js | 15 - .../CListGroupItem.api.html-QGIAoVEf.js | 15 + .../CLoadingButton.api.html-BBbFgjn5.js | 15 + .../CLoadingButton.api.html-DlKJUvsa.js | 15 - vue/docs/assets/CModal.api.html-8P7cw-ZY.js | 15 - vue/docs/assets/CModal.api.html-CcahfjI1.js | 15 + .../assets/CModalBody.api.html-BVcd8oVP.js | 15 + .../assets/CModalBody.api.html-CHE1pY1A.js | 15 - .../assets/CModalFooter.api.html-BOfY4tP-.js | 15 + .../assets/CModalFooter.api.html-BsNGmVfu.js | 15 - .../assets/CModalHeader.api.html-Dg9LwxqA.js | 15 - .../assets/CModalHeader.api.html-DoHVd2NU.js | 15 + .../assets/CModalTitle.api.html-BBDuhOrq.js | 15 - .../assets/CModalTitle.api.html-ZPHhqxhp.js | 15 + .../assets/CMultiSelect.api.html-B9pw_7rn.js | 15 - .../assets/CMultiSelect.api.html-DieqOVIP.js | 15 + ...ltiSelectNativeSelect.api.html-CIhoy8ZE.js | 15 + ...ltiSelectNativeSelect.api.html-Mfuatll8.js | 15 - .../CMultiSelectOptions.api.html-DivQq4t9.js | 15 - .../CMultiSelectOptions.api.html-DtAlk_Hc.js | 15 + ...CMultiSelectSelection.api.html-CUdfepD8.js | 15 + ...CMultiSelectSelection.api.html-D2u4Hpu2.js | 15 - vue/docs/assets/CNav.api.html-BFqXbscE.js | 15 + vue/docs/assets/CNav.api.html-CHflKJ-r.js | 15 - .../assets/CNavGroup.api.html-B69rD5K0.js | 15 - .../assets/CNavGroup.api.html-CQwUJgTt.js | 15 + .../CNavGroupItems.api.html-B0aFIsJL.js | 15 + .../CNavGroupItems.api.html-MzViYoW-.js | 15 - vue/docs/assets/CNavItem.api.html-BluVGAkl.js | 15 - vue/docs/assets/CNavItem.api.html-D9aqO2xw.js | 15 + vue/docs/assets/CNavLink.api.html-2gObI4eE.js | 15 + vue/docs/assets/CNavLink.api.html-BLbL7bWh.js | 15 - .../assets/CNavTitle.api.html-B5pzzmsO.js | 15 - .../assets/CNavTitle.api.html-jwhtM3Ht.js | 15 + vue/docs/assets/CNavbar.api.html-Bpr_rlAN.js | 15 + vue/docs/assets/CNavbar.api.html-D6jrKQQE.js | 15 - .../assets/CNavbarBrand.api.html-iAKNmT2K.js | 15 - .../assets/CNavbarBrand.api.html-wHe16RAc.js | 15 + .../assets/CNavbarNav.api.html-BvIABqX_.js | 15 + .../assets/CNavbarNav.api.html-DTmYoiRc.js | 15 - .../assets/CNavbarText.api.html-DXM-0CeX.js | 15 + .../assets/CNavbarText.api.html-DhRgVY0Q.js | 15 - .../CNavbarToggler.api.html-BHSE5jxT.js | 15 - .../CNavbarToggler.api.html-Du6cS1F2.js | 15 + .../assets/COffcanvas.api.html--9epuLuW.js | 15 - .../assets/COffcanvas.api.html-C1yrjIbI.js | 15 + .../COffcanvasBody.api.html-Cuyu4m1t.js | 15 + .../COffcanvasBody.api.html-DpuEcC8p.js | 15 - .../COffcanvasHeader.api.html-C94tOX9J.js | 15 + .../COffcanvasHeader.api.html-CA3y4VF-.js | 15 - .../COffcanvasTitle.api.html-BCDNOR0i.js | 15 - .../COffcanvasTitle.api.html-DWPpS-Pe.js | 15 + .../assets/CPagination.api.html-CDazWQCT.js | 15 + .../assets/CPagination.api.html-mFhXc4Yf.js | 15 - .../CPaginationItem.api.html-Bsa5oQkt.js | 15 - .../CPaginationItem.api.html-CrJi52XB.js | 15 + vue/docs/assets/CPicker.api.html-Da5Hysn9.js | 15 - vue/docs/assets/CPicker.api.html-oSkyMXwU.js | 15 + .../assets/CPlaceholder.api.html-CpcOzpbr.js | 15 - .../assets/CPlaceholder.api.html-TZhyRjR4.js | 15 + vue/docs/assets/CPopover.api.html-tQSUMLbj.js | 15 + vue/docs/assets/CPopover.api.html-ymVfjSSe.js | 15 - ...SSng.js => CProgress.api.html-DtBG3iso.js} | 4 +- .../assets/CProgressBar.api.html-BjA2nShz.js | 15 - .../assets/CProgressBar.api.html-DbiY29uU.js | 15 + .../CProgressStacked.api.html-D0_SIwt3.js | 15 + .../CProgressStacked.api.html-iS9rdju9.js | 15 - vue/docs/assets/CRating.api.html-CbBSuHpA.js | 15 - vue/docs/assets/CRating.api.html-c48h2dsU.js | 15 + vue/docs/assets/CRow.api.html-BfZBZHbO.js | 15 + vue/docs/assets/CRow.api.html-CIrSW5Ga.js | 15 - vue/docs/assets/CSidebar.api.html-CTwTsKKM.js | 15 + vue/docs/assets/CSidebar.api.html-DaxOjldv.js | 15 - .../assets/CSidebarBrand.api.html-BDwVBijp.js | 15 + .../assets/CSidebarBrand.api.html-CMvNigzU.js | 15 - .../CSidebarFooter.api.html-9MYkXiDf.js | 15 + .../CSidebarFooter.api.html-DG6rj4Di.js | 15 - .../CSidebarHeader.api.html-CFlZhoRs.js | 15 + .../CSidebarHeader.api.html-UjLXre_-.js | 15 - .../assets/CSidebarNav.api.html-DPgns5YK.js | 15 + .../assets/CSidebarNav.api.html-ZV8snc4P.js | 15 - .../CSidebarToggler.api.html-CCzfHjoN.js | 15 + .../CSidebarToggler.api.html-CwaVG0LH.js | 15 - .../CSmartPagination.api.html-BikuSyAw.js | 15 - .../CSmartPagination.api.html-BtDrxSb-.js | 15 + .../CSmartPagination.api.html-CrCaD_lP.js | 15 - .../CSmartPagination.api.html-CtPxYRy0.js | 15 + .../assets/CSmartTable.api.html-DBtpefqV.js | 15 - .../assets/CSmartTable.api.html-DGm1bmhO.js | 15 + .../CSmartTableBody.api.html-BnkPBl42.js | 15 - .../CSmartTableBody.api.html-Ct54x_n5.js | 15 + .../CSmartTableCleaner.api.html-Ca51YF0C.js | 15 - .../CSmartTableCleaner.api.html-D3V7dsv2.js | 15 + .../CSmartTableFilter.api.html-B7_1b50f.js | 15 - .../CSmartTableFilter.api.html-DUCc6wnW.js | 15 + .../CSmartTableHead.api.html-BObUzIwn.js | 15 + .../CSmartTableHead.api.html-DW9ZUntG.js | 15 - ...eItemsPerPageSelector.api.html-BcdEUUOn.js | 15 + ...eItemsPerPageSelector.api.html-BqX7W_5v.js | 15 - vue/docs/assets/CSpinner.api.html-O0NhTV-x.js | 15 - vue/docs/assets/CSpinner.api.html-tz9ud1zw.js | 15 + vue/docs/assets/CTab.api.html-C_8FIEMx.js | 15 + vue/docs/assets/CTab.api.html-DOCKLIPZ.js | 15 - .../assets/CTabContent.api.html-1j4Vrr4K.js | 15 + .../assets/CTabContent.api.html-C2PinBa9.js | 15 - vue/docs/assets/CTabList.api.html-BEqv9sl7.js | 15 - vue/docs/assets/CTabList.api.html-Cmt2uvE5.js | 15 + vue/docs/assets/CTabPane.api.html-B47A_sq6.js | 15 - vue/docs/assets/CTabPane.api.html-CNWr2MmF.js | 15 + .../assets/CTabPanel.api.html-CZYhUIL_.js | 15 - .../assets/CTabPanel.api.html-Civ-9a5a.js | 15 + vue/docs/assets/CTable.api.html-D0dRnCW-.js | 15 - vue/docs/assets/CTable.api.html-DNonlxhT.js | 15 + .../assets/CTableBody.api.html-BE5qkKGP.js | 15 + .../assets/CTableBody.api.html-BFPdQqw6.js | 15 - .../assets/CTableCaption.api.html-MTWPlJR7.js | 15 - .../assets/CTableCaption.api.html-phSXI7iF.js | 15 + .../CTableDataCell.api.html-CTzr6HkH.js | 15 + .../CTableDataCell.api.html-r0s-YiAY.js | 15 - .../assets/CTableFoot.api.html-DcRu-Wur.js | 15 + .../assets/CTableFoot.api.html-FVtyDTMQ.js | 15 - .../assets/CTableHead.api.html-CuaSabQj.js | 15 - .../assets/CTableHead.api.html-jC7mLOK8.js | 15 + .../CTableHeaderCell.api.html-BDiQC33l.js | 15 + .../CTableHeaderCell.api.html-DahKEodk.js | 15 - .../assets/CTableRow.api.html-BS0zN1Kr.js | 15 + .../assets/CTableRow.api.html-Bh9JvciN.js | 15 - vue/docs/assets/CTabs.api.html-BFEYxLzk.js | 15 - vue/docs/assets/CTabs.api.html-DnMHi3vy.js | 15 + .../assets/CTimePicker.api.html-B1LPdULH.js | 15 - .../assets/CTimePicker.api.html-C_1ZXYrv.js | 15 + .../CTimePickerRollCol.api.html-BP01-pLv.js | 15 + .../CTimePickerRollCol.api.html-CKuM6oLe.js | 15 - vue/docs/assets/CToast.api.html-CMbe9i1s.js | 15 + vue/docs/assets/CToast.api.html-CrpEOCPn.js | 15 - .../assets/CToastBody.api.html-4viEj-di.js | 15 - .../assets/CToastBody.api.html-JaBADYAu.js | 15 + .../assets/CToastClose.api.html-D5MPMBvN.js | 15 - .../assets/CToastClose.api.html-YQ6mj1QO.js | 15 + .../assets/CToastHeader.api.html-Bb_cYC6K.js | 15 + .../assets/CToastHeader.api.html-Bp3krdZ3.js | 15 - vue/docs/assets/CToaster.api.html-CZ4AWR-a.js | 15 - vue/docs/assets/CToaster.api.html-DIlPMx7J.js | 15 + vue/docs/assets/CTooltip.api.html-BG1bcVkZ.js | 15 + vue/docs/assets/CTooltip.api.html-Dd9JcsKh.js | 15 - .../CVirtualScroller.api.html-CYqYd6bS.js | 15 + .../CVirtualScroller.api.html-OI5523Hm.js | 15 - .../assets/CWidgetStatsA.api.html-CQAWIPeh.js | 15 + .../assets/CWidgetStatsA.api.html-DD_G_0XR.js | 15 - .../assets/CWidgetStatsB.api.html-8R9003Ye.js | 15 + .../assets/CWidgetStatsB.api.html-BDmKGNGc.js | 15 - .../assets/CWidgetStatsC.api.html-BEjn1BPd.js | 15 + .../assets/CWidgetStatsC.api.html-Ck65oxiQ.js | 15 - .../assets/CWidgetStatsD.api.html-C6jHMRVC.js | 15 - .../assets/CWidgetStatsD.api.html-vMUwQLz_.js | 15 + .../assets/CWidgetStatsE.api.html-8FNgCETA.js | 15 + .../assets/CWidgetStatsE.api.html-WqFr1dq3.js | 15 - .../assets/CWidgetStatsF.api.html-Bs-3Tpfk.js | 15 + .../assets/CWidgetStatsF.api.html-DQOglbDZ.js | 15 - ...allout-BG7mA_TE.js => Callout-dZyg6Lm9.js} | 2 +- ...sDocs-BzcEAHFR.js => ScssDocs-DPTK8YLD.js} | 42 +- .../assets/accessibility.html-BI4xofDT.js | 15 + .../assets/accessibility.html-CkVUBrW4.js | 15 - ...DPn8cCyj.js => accordion.html-1-bBbpuj.js} | 15 +- ...UG.js => admin-dashboard.html-CseRtZFD.js} | 5 +- vue/docs/assets/alert.html-Aeh8K-Wf.js | 486 +++++ vue/docs/assets/alert.html-CDqS0NZ4.js | 486 ----- .../{app-BoHWg5jI.js => app-DGOUrGv-.js} | 1476 ++++++------- ...ml-CGvuFR7Q.js => avatar.html-BD-B4lfD.js} | 23 +- ...tml-BIxXbpUI.js => badge.html-Dear1jUq.js} | 20 +- ...P6FIBpg.js => breadcrumb.html-DgLYIaPr.js} | 13 +- vue/docs/assets/breakpoints.html-C6u5z98e.js | 36 + vue/docs/assets/breakpoints.html-TXDgB0cd.js | 36 - ...wKiVg.js => button-group.html-7uksYI0F.js} | 23 +- ...ml-Tm2d-w3G.js => button.html-D00S-NDK.js} | 28 +- vue/docs/assets/calendar.html-Dj___bk9.js | 247 +++ vue/docs/assets/calendar.html-aIZ63-sL.js | 174 -- ...l-BHcngsku.js => callout.html-BvHwLp1x.js} | 15 +- ...html-CiiNUsv5.js => card.html-itUqRb0K.js} | 49 +- ...-DN2cjEdX.js => carousel.html-B0BciYS9.js} | 18 +- ...tml-DY5wyS1U.js => chart.html-CeyziBqZ.js} | 18 +- ...-BL-hSbtE.js => checkbox.html-BPgHXfGt.js} | 43 +- ...vGpt.js => checks-radios.html-CKmk8NM1.js} | 34 +- ...-GrP8.js => close-button.html-blWDZBC3.js} | 11 +- vue/docs/assets/collapse.html-CXLzPe5v.js | 193 ++ vue/docs/assets/collapse.html-CuA1iHpy.js | 190 -- ...l-c_8p-0J4.js => columns.html-DRAqgR3h.js} | 20 +- ...C6_LN_j.js => containers.html-DgTza5yR.js} | 10 +- vue/docs/assets/contents.html-41bLmuls.js | 15 + vue/docs/assets/contents.html-CKe33LGP.js | 15 - .../assets/css-variables.html-DBEGBYvO.js | 15 + .../assets/css-variables.html-UJYgUBzW.js | 15 - vue/docs/assets/customize.html-C0-AGXsg.js | 38 + vue/docs/assets/customize.html-CNlse-Z8.js | 38 - ...rgyOW0.js => date-picker.html-BHuOUNDP.js} | 72 +- ....js => date-range-picker.html-Bs7ll3rY.js} | 82 +- vue/docs/assets/download.html-91eC3PyH.js | 15 - vue/docs/assets/download.html-B0ATzToD.js | 15 + ...-D58fBbQW.js => dropdown.html-C4NgwOey.js} | 37 +- ...jU.js => floating-labels.html-CCkOOAc0.js} | 12 +- ...ml-DN3ns744.js => footer.html-CSFrT_Wq.js} | 11 +- ...LSWS5.js => form-control.html-CxCiB4bb.js} | 19 +- ...html-D9aeBmOt.js => grid.html-t8D6bS23.js} | 21 +- ...l-BqQUwcbR.js => gutters.html-SyYvHCgl.js} | 14 +- vue/docs/assets/header.html-B_Q5U0MU.js | 183 ++ vue/docs/assets/header.html-DBfVFFNJ.js | 180 -- ...html-C2C1fAVP.js => icon.html-ivU2m4Fv.js} | 96 +- ...tml-DC5HLYH1.js => image.html-G4Gptwhr.js} | 11 +- vue/docs/assets/index.html-CXtJwXEn.js | 11 + ...4KH7gA.js => input-group.html-DD48IpLE.js} | 29 +- ...tml-BPr4o7jo.js => input.html-DQVoju7F.js} | 21 +- vue/docs/assets/installation.html-B9oaQNAO.js | 15 - vue/docs/assets/installation.html-CwOfF37v.js | 15 + ...ibolQ.js => introduction.html-B-WFaD00.js} | 18 +- ...ml-DARLKo8o.js => layout.html-B1WhSZXl.js} | 16 +- ...html-C2tbxGSf.js => link.html-DgFWlsMX.js} | 7 +- ...hBEIPwp.js => list-group.html-_udCts7M.js} | 30 +- ...l81.js => loading-button.html-DU_pRN89.js} | 11 +- ...tml-KOyG7M6n.js => modal.html-BHtWUNx_.js} | 208 +- vue/docs/assets/multi-select.html-DP6UryqG.js | 539 ----- vue/docs/assets/multi-select.html-DtyKZra7.js | 540 +++++ ...ml-BCzYXKko.js => navbar.html-DiQHPkAN.js} | 112 +- ...BwFsuHAs.js => navs-tabs.html-R9_id4Dp.js} | 84 +- vue/docs/assets/offcanvas.html-CuZ5zSJ3.js | 571 +++++ vue/docs/assets/offcanvas.html-D6TxFWNe.js | 570 ----- ...l-B9kdngTZ.js => options.html-Oj00yCyN.js} | 2 +- ...-DEHhVOWL.js => overview.html-D68slxn-.js} | 9 +- ...lNq3AJ1.js => pagination.html-B6kiDLSr.js} | 18 +- ...rpG9kK.js => placeholder.html-BZpO7heW.js} | 21 +- ...l-CcictLyq.js => popover.html-DDOrxn8Z.js} | 51 +- ...-DAixQyXt.js => progress.html-DhAMxmt8.js} | 24 +- ...tml-cF7KwA9W.js => radio.html-DdZZGITP.js} | 34 +- ...tml-DLE7qJRM.js => range.html-DnftQdHW.js} | 15 +- ...ml-COUjsjjF.js => rating.html-DDgDjKeh.js} | 33 +- vue/docs/assets/sass.html-DHfDOQ32.js | 15 - vue/docs/assets/sass.html-QPkiTP49.js | 15 + ...ml-CGOG4_GI.js => select.html-HAuQZbve.js} | 13 +- ....js => setupDevtools-HHDGOOYC-8SYwYjCZ.js} | 2 +- ...l-CrmBFQhh.js => sidebar.html-sk3JAtdU.js} | 16 +- ...M.js => smart-pagination.html-C0KPe66-.js} | 10 +- ...qyM7wC.js => smart-table.html-CuXPF5Vb.js} | 1903 +++++++++-------- ...l-Dja_Ea9Q.js => spinner.html-CbcVdjbB.js} | 18 +- ...{style-CM2j93lE.css => style-V4DqbpUk.css} | 173 +- ...ml-CzcyoMGb.js => switch.html-C_xLNHwA.js} | 16 +- ...tml-BKhXilE_.js => table.html-aCVCSEDl.js} | 416 ++-- ...html-BryTxUY8.js => tabs.html-BjypzLaI.js} | 21 +- ...-VjAtYprD.js => textarea.html-Ck18GNEv.js} | 13 +- ...V52mWV.js => time-picker.html-CvM-vSGB.js} | 45 +- ...tml-B70IM5zC.js => toast.html-DUmgmbI1.js} | 43 +- ...l-D2DMDPTK.js => tooltip.html-COZMp0t7.js} | 43 +- vue/docs/assets/v4.html-Br_AIuga.js | 15 - vue/docs/assets/v4.html-qK__BZTD.js | 15 + vue/docs/assets/v5.html-Csxq3zcX.js | 15 + vue/docs/assets/v5.html-D8yxOVYF.js | 15 - ...QwCYaBH.js => validation.html-BZBLONBB.js} | 69 +- ...4.js => virtual-scroller.html-se47tihX.js} | 7 +- ...l-CX3InA_E.js => widgets.html-DaxyknU_.js} | 17 +- vue/docs/components/accordion.html | 6 +- vue/docs/components/alert.html | 6 +- vue/docs/components/avatar.html | 6 +- vue/docs/components/badge.html | 6 +- vue/docs/components/breadcrumb.html | 6 +- vue/docs/components/button-group.html | 6 +- vue/docs/components/button.html | 6 +- vue/docs/components/calendar.html | 8 +- vue/docs/components/callout.html | 6 +- vue/docs/components/card.html | 6 +- vue/docs/components/carousel.html | 6 +- vue/docs/components/chart.html | 6 +- vue/docs/components/close-button.html | 6 +- vue/docs/components/collapse.html | 6 +- vue/docs/components/dropdown.html | 6 +- vue/docs/components/footer.html | 6 +- vue/docs/components/header.html | 6 +- vue/docs/components/icon.html | 6 +- vue/docs/components/image.html | 6 +- vue/docs/components/link.html | 6 +- vue/docs/components/list-group.html | 6 +- vue/docs/components/loading-button.html | 6 +- vue/docs/components/modal.html | 6 +- vue/docs/components/navbar.html | 6 +- vue/docs/components/navs-tabs.html | 6 +- vue/docs/components/offcanvas.html | 6 +- vue/docs/components/pagination.html | 6 +- vue/docs/components/placeholder.html | 6 +- vue/docs/components/popover.html | 6 +- vue/docs/components/progress.html | 6 +- vue/docs/components/sidebar.html | 6 +- vue/docs/components/smart-pagination.html | 6 +- vue/docs/components/smart-table.html | 6 +- vue/docs/components/spinner.html | 6 +- vue/docs/components/table.html | 6 +- vue/docs/components/tabs.html | 6 +- vue/docs/components/toast.html | 6 +- vue/docs/components/tooltip.html | 6 +- vue/docs/components/virtual-scroller.html | 6 +- vue/docs/components/widgets.html | 6 +- vue/docs/customize/css-variables.html | 6 +- vue/docs/customize/options.html | 6 +- vue/docs/customize/sass.html | 6 +- vue/docs/forms/checkbox.html | 6 +- vue/docs/forms/checks-radios.html | 6 +- vue/docs/forms/date-picker.html | 6 +- vue/docs/forms/date-range-picker.html | 6 +- vue/docs/forms/floating-labels.html | 6 +- vue/docs/forms/form-control.html | 6 +- vue/docs/forms/input-group.html | 6 +- vue/docs/forms/input.html | 6 +- vue/docs/forms/layout.html | 6 +- vue/docs/forms/multi-select.html | 6 +- vue/docs/forms/overview.html | 6 +- vue/docs/forms/radio.html | 6 +- vue/docs/forms/range.html | 6 +- vue/docs/forms/rating.html | 6 +- vue/docs/forms/select.html | 6 +- vue/docs/forms/switch.html | 6 +- vue/docs/forms/textarea.html | 6 +- vue/docs/forms/time-picker.html | 6 +- vue/docs/forms/validation.html | 6 +- vue/docs/getting-started/accessibility.html | 6 +- vue/docs/getting-started/introduction.html | 6 +- vue/docs/index.html | 6 +- vue/docs/layout/breakpoints.html | 6 +- vue/docs/layout/columns.html | 6 +- vue/docs/layout/containers.html | 6 +- vue/docs/layout/grid.html | 6 +- vue/docs/layout/gutters.html | 6 +- vue/docs/migration/v4.html | 6 +- vue/docs/migration/v5.html | 6 +- vue/docs/templates/admin-dashboard.html | 6 +- vue/docs/templates/contents.html | 6 +- vue/docs/templates/customize.html | 6 +- vue/docs/templates/download.html | 6 +- vue/docs/templates/installation.html | 6 +- 638 files changed, 8391 insertions(+), 8165 deletions(-) rename vue/docs/assets/{404.html-RliG702a.js => 404.html-DU2TjE25.js} (92%) create mode 100644 vue/docs/assets/CAccordion.api.html-B6uisqsk.js delete mode 100644 vue/docs/assets/CAccordion.api.html-BmmCbR4F.js create mode 100644 vue/docs/assets/CAccordionBody.api.html-BxSpa71p.js delete mode 100644 vue/docs/assets/CAccordionBody.api.html-DnDWpn--.js delete mode 100644 vue/docs/assets/CAccordionButton.api.html-BFZVkVlR.js create mode 100644 vue/docs/assets/CAccordionButton.api.html-DPUd2qPX.js delete mode 100644 vue/docs/assets/CAccordionHeader.api.html-D3E3-RrY.js create mode 100644 vue/docs/assets/CAccordionHeader.api.html-DhPR4UFM.js delete mode 100644 vue/docs/assets/CAccordionItem.api.html-B_Gvnaeq.js create mode 100644 vue/docs/assets/CAccordionItem.api.html-DZGPOsD9.js create mode 100644 vue/docs/assets/CAlert.api.html-BXIVhpa9.js delete mode 100644 vue/docs/assets/CAlert.api.html-BXjHGX6m.js create mode 100644 vue/docs/assets/CAlertHeading.api.html-BKJ9BC30.js delete mode 100644 vue/docs/assets/CAlertHeading.api.html-DoJskrT2.js delete mode 100644 vue/docs/assets/CAlertLink.api.html-Be4cejDR.js create mode 100644 vue/docs/assets/CAlertLink.api.html-DG0vJpCf.js delete mode 100644 vue/docs/assets/CAvatar.api.html-BTqEczbV.js create mode 100644 vue/docs/assets/CAvatar.api.html-CKyQof1f.js create mode 100644 vue/docs/assets/CBackdrop.api.html-BlEIpUAI.js delete mode 100644 vue/docs/assets/CBackdrop.api.html-DAmzayp3.js delete mode 100644 vue/docs/assets/CBadge.api.html-CgAts6f4.js create mode 100644 vue/docs/assets/CBadge.api.html-FxK3PsZy.js create mode 100644 vue/docs/assets/CBreadcrumb.api.html-5lgjZmeY.js delete mode 100644 vue/docs/assets/CBreadcrumb.api.html-DqwjKss4.js create mode 100644 vue/docs/assets/CBreadcrumbItem.api.html-CPH_CfEm.js delete mode 100644 vue/docs/assets/CBreadcrumbItem.api.html-r9RgIwJD.js create mode 100644 vue/docs/assets/CButton.api.html-CiQ_g2gW.js delete mode 100644 vue/docs/assets/CButton.api.html-ekRjLD2P.js create mode 100644 vue/docs/assets/CButtonGroup.api.html-BVG1ANZ_.js delete mode 100644 vue/docs/assets/CButtonGroup.api.html-D0mJf4Og.js create mode 100644 vue/docs/assets/CButtonToolbar.api.html-BLBUlnfS.js delete mode 100644 vue/docs/assets/CButtonToolbar.api.html-IKoND_KL.js create mode 100644 vue/docs/assets/CCalendar.api.html-77BmaEcE.js delete mode 100644 vue/docs/assets/CCalendar.api.html-C4aT9FYA.js delete mode 100644 vue/docs/assets/CCallout.api.html-DiF4unWf.js create mode 100644 vue/docs/assets/CCallout.api.html-KoizcUs-.js delete mode 100644 vue/docs/assets/CCard.api.html-BmbaZsmK.js create mode 100644 vue/docs/assets/CCard.api.html-CWzyD8X0.js create mode 100644 vue/docs/assets/CCardBody.api.html-BECQVBUH.js delete mode 100644 vue/docs/assets/CCardBody.api.html-D0-tGYrD.js create mode 100644 vue/docs/assets/CCardFooter.api.html-CI_3qzYg.js delete mode 100644 vue/docs/assets/CCardFooter.api.html-CiSjk2NS.js delete mode 100644 vue/docs/assets/CCardGroup.api.html-BABSBoJe.js create mode 100644 vue/docs/assets/CCardGroup.api.html-DH7EZxGl.js create mode 100644 vue/docs/assets/CCardHeader.api.html-CWFYp2G5.js delete mode 100644 vue/docs/assets/CCardHeader.api.html-D5ZqQVdw.js delete mode 100644 vue/docs/assets/CCardImage.api.html-BBnb9-GW.js create mode 100644 vue/docs/assets/CCardImage.api.html-CUCskHkB.js create mode 100644 vue/docs/assets/CCardImageOverlay.api.html-CNgKoO9s.js delete mode 100644 vue/docs/assets/CCardImageOverlay.api.html-TpPKznie.js create mode 100644 vue/docs/assets/CCardLink.api.html-Dxett-Ui.js delete mode 100644 vue/docs/assets/CCardLink.api.html-MlyoVRZ4.js delete mode 100644 vue/docs/assets/CCardSubtitle.api.html-Cl-ezx9Z.js create mode 100644 vue/docs/assets/CCardSubtitle.api.html-Dh4UbxxY.js create mode 100644 vue/docs/assets/CCardText.api.html-Bg0_JF9j.js delete mode 100644 vue/docs/assets/CCardText.api.html-CeB8bETl.js delete mode 100644 vue/docs/assets/CCardTitle.api.html-BIewfA00.js create mode 100644 vue/docs/assets/CCardTitle.api.html-Cvqug47a.js delete mode 100644 vue/docs/assets/CCarousel.api.html-B6WYH3KM.js create mode 100644 vue/docs/assets/CCarousel.api.html-DvQ7vBAQ.js delete mode 100644 vue/docs/assets/CCarouselCaption.api.html-CJ2Co3Eg.js create mode 100644 vue/docs/assets/CCarouselCaption.api.html-Ry9R9ID5.js delete mode 100644 vue/docs/assets/CCarouselItem.api.html-Bx_efOFH.js create mode 100644 vue/docs/assets/CCarouselItem.api.html-CQ58r3xO.js delete mode 100644 vue/docs/assets/CChart.api.html-BFRT-Fhg.js create mode 100644 vue/docs/assets/CChart.api.html-BPKhb3Ee.js create mode 100644 vue/docs/assets/CCloseButton.api.html-DVHA5VBo.js delete mode 100644 vue/docs/assets/CCloseButton.api.html-X5Fmd0Tk.js delete mode 100644 vue/docs/assets/CCol.api.html-DFGWxu75.js create mode 100644 vue/docs/assets/CCol.api.html-Fe-NnVcD.js create mode 100644 vue/docs/assets/CCollapse.api.html-CxTOAM8U.js delete mode 100644 vue/docs/assets/CCollapse.api.html-zVmsFw74.js delete mode 100644 vue/docs/assets/CConditionalTeleport.api.html-7PMLb_Wk.js create mode 100644 vue/docs/assets/CConditionalTeleport.api.html-BsPLiQQG.js delete mode 100644 vue/docs/assets/CContainer.api.html-CJReqk6k.js create mode 100644 vue/docs/assets/CContainer.api.html-O3JlICl7.js delete mode 100644 vue/docs/assets/CDatePicker.api.html-BmlaHdUZ.js create mode 100644 vue/docs/assets/CDatePicker.api.html-C1Ro8UbJ.js create mode 100644 vue/docs/assets/CDateRangePicker.api.html-BXCpvTjX.js delete mode 100644 vue/docs/assets/CDateRangePicker.api.html-Hlubmql2.js delete mode 100644 vue/docs/assets/CDropdown.api.html-DGIxjfQ3.js create mode 100644 vue/docs/assets/CDropdown.api.html-DVi36nMQ.js create mode 100644 vue/docs/assets/CDropdownDivider.api.html-DRPOqN6s.js delete mode 100644 vue/docs/assets/CDropdownDivider.api.html-VSQ_XlFl.js create mode 100644 vue/docs/assets/CDropdownHeader.api.html-BFaZEh4a.js delete mode 100644 vue/docs/assets/CDropdownHeader.api.html-Cxpz-KV-.js delete mode 100644 vue/docs/assets/CDropdownItem.api.html-BVulLqSR.js create mode 100644 vue/docs/assets/CDropdownItem.api.html-YfOt4ZPU.js create mode 100644 vue/docs/assets/CDropdownMenu.api.html-BOqkAy5z.js delete mode 100644 vue/docs/assets/CDropdownMenu.api.html-BckpImA4.js create mode 100644 vue/docs/assets/CDropdownToggle.api.html-TBTSZRQO.js delete mode 100644 vue/docs/assets/CDropdownToggle.api.html-unfICPox.js delete mode 100644 vue/docs/assets/CFooter.api.html-CH8Pc0Ax.js create mode 100644 vue/docs/assets/CFooter.api.html-DCPx9oeQ.js delete mode 100644 vue/docs/assets/CForm.api.html-2ixEm0A1.js create mode 100644 vue/docs/assets/CForm.api.html-D6NiMRuP.js delete mode 100644 vue/docs/assets/CFormCheck.api.html-Bf9lhFvH.js create mode 100644 vue/docs/assets/CFormCheck.api.html-Bl-fuUMn.js create mode 100644 vue/docs/assets/CFormControl.api.html-BEVjOQjL.js delete mode 100644 vue/docs/assets/CFormControl.api.html-D9-r3st8.js delete mode 100644 vue/docs/assets/CFormControlValidation.api.html-CDKpaVG3.js create mode 100644 vue/docs/assets/CFormControlValidation.api.html-fn-8iM1r.js create mode 100644 vue/docs/assets/CFormControlWrapper.api.html-BYVnVI9z.js delete mode 100644 vue/docs/assets/CFormControlWrapper.api.html-D75G__Lh.js create mode 100644 vue/docs/assets/CFormFeedback.api.html-C33zL_Pk.js delete mode 100644 vue/docs/assets/CFormFeedback.api.html-Cs8xHqDe.js delete mode 100644 vue/docs/assets/CFormFloating.api.html-C-X3BFM6.js create mode 100644 vue/docs/assets/CFormFloating.api.html-CqfeIH6c.js create mode 100644 vue/docs/assets/CFormInput.api.html-BDOLWxtk.js delete mode 100644 vue/docs/assets/CFormInput.api.html-CVvr0T_h.js create mode 100644 vue/docs/assets/CFormLabel.api.html-C3nnUCqL.js delete mode 100644 vue/docs/assets/CFormLabel.api.html-CpQQKu1b.js delete mode 100644 vue/docs/assets/CFormRange.api.html-C4Wns1Lr.js create mode 100644 vue/docs/assets/CFormRange.api.html-C9Fi8SJ1.js delete mode 100644 vue/docs/assets/CFormSelect.api.html-4dvFandI.js create mode 100644 vue/docs/assets/CFormSelect.api.html-Dz_dg5lQ.js create mode 100644 vue/docs/assets/CFormSwitch.api.html-BACw_Adx.js delete mode 100644 vue/docs/assets/CFormSwitch.api.html-CyrjItfh.js create mode 100644 vue/docs/assets/CFormText.api.html-BJqLcA9t.js delete mode 100644 vue/docs/assets/CFormText.api.html-CpJOPSQg.js create mode 100644 vue/docs/assets/CFormTextarea.api.html-C-PBE2Mw.js delete mode 100644 vue/docs/assets/CFormTextarea.api.html-DMhqjvWY.js delete mode 100644 vue/docs/assets/CHeader.api.html-CJg_IEiF.js create mode 100644 vue/docs/assets/CHeader.api.html-DlxZXRgK.js delete mode 100644 vue/docs/assets/CHeaderBrand.api.html-4A7AgRNX.js create mode 100644 vue/docs/assets/CHeaderBrand.api.html-CFKRvz1W.js delete mode 100644 vue/docs/assets/CHeaderDivider.api.html-DKNK6-VZ.js create mode 100644 vue/docs/assets/CHeaderDivider.api.html-WXk5c_Vn.js create mode 100644 vue/docs/assets/CHeaderNav.api.html-BG2UOwMu.js delete mode 100644 vue/docs/assets/CHeaderNav.api.html-Bbsph2xH.js create mode 100644 vue/docs/assets/CHeaderText.api.html-DpmaCM7o.js delete mode 100644 vue/docs/assets/CHeaderText.api.html-dosyBX2D.js create mode 100644 vue/docs/assets/CHeaderToggler.api.html-BQ00oQEl.js delete mode 100644 vue/docs/assets/CHeaderToggler.api.html-BlIes8qe.js delete mode 100644 vue/docs/assets/CIcon.api.html-B3u-PJZc.js create mode 100644 vue/docs/assets/CIcon.api.html-DXua_Pop.js create mode 100644 vue/docs/assets/CIconSvg.api.html-Bu8_TLiB.js delete mode 100644 vue/docs/assets/CIconSvg.api.html-DboTNlH1.js create mode 100644 vue/docs/assets/CImage.api.html-1rNq-hNU.js delete mode 100644 vue/docs/assets/CImage.api.html-C1zwuBO9.js delete mode 100644 vue/docs/assets/CInputGroup.api.html-B9Jacvbh.js create mode 100644 vue/docs/assets/CInputGroup.api.html-O1rxMtka.js create mode 100644 vue/docs/assets/CInputGroupText.api.html-CjjBv0Qa.js delete mode 100644 vue/docs/assets/CInputGroupText.api.html-nYw0lYnn.js delete mode 100644 vue/docs/assets/CLink.api.html-6FAjEedH.js create mode 100644 vue/docs/assets/CLink.api.html-CkkUHkLl.js create mode 100644 vue/docs/assets/CListGroup.api.html-BoJSzdjE.js delete mode 100644 vue/docs/assets/CListGroup.api.html-CWB2ebuP.js delete mode 100644 vue/docs/assets/CListGroupItem.api.html-B75RiEoP.js create mode 100644 vue/docs/assets/CListGroupItem.api.html-QGIAoVEf.js create mode 100644 vue/docs/assets/CLoadingButton.api.html-BBbFgjn5.js delete mode 100644 vue/docs/assets/CLoadingButton.api.html-DlKJUvsa.js delete mode 100644 vue/docs/assets/CModal.api.html-8P7cw-ZY.js create mode 100644 vue/docs/assets/CModal.api.html-CcahfjI1.js create mode 100644 vue/docs/assets/CModalBody.api.html-BVcd8oVP.js delete mode 100644 vue/docs/assets/CModalBody.api.html-CHE1pY1A.js create mode 100644 vue/docs/assets/CModalFooter.api.html-BOfY4tP-.js delete mode 100644 vue/docs/assets/CModalFooter.api.html-BsNGmVfu.js delete mode 100644 vue/docs/assets/CModalHeader.api.html-Dg9LwxqA.js create mode 100644 vue/docs/assets/CModalHeader.api.html-DoHVd2NU.js delete mode 100644 vue/docs/assets/CModalTitle.api.html-BBDuhOrq.js create mode 100644 vue/docs/assets/CModalTitle.api.html-ZPHhqxhp.js delete mode 100644 vue/docs/assets/CMultiSelect.api.html-B9pw_7rn.js create mode 100644 vue/docs/assets/CMultiSelect.api.html-DieqOVIP.js create mode 100644 vue/docs/assets/CMultiSelectNativeSelect.api.html-CIhoy8ZE.js delete mode 100644 vue/docs/assets/CMultiSelectNativeSelect.api.html-Mfuatll8.js delete mode 100644 vue/docs/assets/CMultiSelectOptions.api.html-DivQq4t9.js create mode 100644 vue/docs/assets/CMultiSelectOptions.api.html-DtAlk_Hc.js create mode 100644 vue/docs/assets/CMultiSelectSelection.api.html-CUdfepD8.js delete mode 100644 vue/docs/assets/CMultiSelectSelection.api.html-D2u4Hpu2.js create mode 100644 vue/docs/assets/CNav.api.html-BFqXbscE.js delete mode 100644 vue/docs/assets/CNav.api.html-CHflKJ-r.js delete mode 100644 vue/docs/assets/CNavGroup.api.html-B69rD5K0.js create mode 100644 vue/docs/assets/CNavGroup.api.html-CQwUJgTt.js create mode 100644 vue/docs/assets/CNavGroupItems.api.html-B0aFIsJL.js delete mode 100644 vue/docs/assets/CNavGroupItems.api.html-MzViYoW-.js delete mode 100644 vue/docs/assets/CNavItem.api.html-BluVGAkl.js create mode 100644 vue/docs/assets/CNavItem.api.html-D9aqO2xw.js create mode 100644 vue/docs/assets/CNavLink.api.html-2gObI4eE.js delete mode 100644 vue/docs/assets/CNavLink.api.html-BLbL7bWh.js delete mode 100644 vue/docs/assets/CNavTitle.api.html-B5pzzmsO.js create mode 100644 vue/docs/assets/CNavTitle.api.html-jwhtM3Ht.js create mode 100644 vue/docs/assets/CNavbar.api.html-Bpr_rlAN.js delete mode 100644 vue/docs/assets/CNavbar.api.html-D6jrKQQE.js delete mode 100644 vue/docs/assets/CNavbarBrand.api.html-iAKNmT2K.js create mode 100644 vue/docs/assets/CNavbarBrand.api.html-wHe16RAc.js create mode 100644 vue/docs/assets/CNavbarNav.api.html-BvIABqX_.js delete mode 100644 vue/docs/assets/CNavbarNav.api.html-DTmYoiRc.js create mode 100644 vue/docs/assets/CNavbarText.api.html-DXM-0CeX.js delete mode 100644 vue/docs/assets/CNavbarText.api.html-DhRgVY0Q.js delete mode 100644 vue/docs/assets/CNavbarToggler.api.html-BHSE5jxT.js create mode 100644 vue/docs/assets/CNavbarToggler.api.html-Du6cS1F2.js delete mode 100644 vue/docs/assets/COffcanvas.api.html--9epuLuW.js create mode 100644 vue/docs/assets/COffcanvas.api.html-C1yrjIbI.js create mode 100644 vue/docs/assets/COffcanvasBody.api.html-Cuyu4m1t.js delete mode 100644 vue/docs/assets/COffcanvasBody.api.html-DpuEcC8p.js create mode 100644 vue/docs/assets/COffcanvasHeader.api.html-C94tOX9J.js delete mode 100644 vue/docs/assets/COffcanvasHeader.api.html-CA3y4VF-.js delete mode 100644 vue/docs/assets/COffcanvasTitle.api.html-BCDNOR0i.js create mode 100644 vue/docs/assets/COffcanvasTitle.api.html-DWPpS-Pe.js create mode 100644 vue/docs/assets/CPagination.api.html-CDazWQCT.js delete mode 100644 vue/docs/assets/CPagination.api.html-mFhXc4Yf.js delete mode 100644 vue/docs/assets/CPaginationItem.api.html-Bsa5oQkt.js create mode 100644 vue/docs/assets/CPaginationItem.api.html-CrJi52XB.js delete mode 100644 vue/docs/assets/CPicker.api.html-Da5Hysn9.js create mode 100644 vue/docs/assets/CPicker.api.html-oSkyMXwU.js delete mode 100644 vue/docs/assets/CPlaceholder.api.html-CpcOzpbr.js create mode 100644 vue/docs/assets/CPlaceholder.api.html-TZhyRjR4.js create mode 100644 vue/docs/assets/CPopover.api.html-tQSUMLbj.js delete mode 100644 vue/docs/assets/CPopover.api.html-ymVfjSSe.js rename vue/docs/assets/{CProgress.api.html-C-66SSng.js => CProgress.api.html-DtBG3iso.js} (85%) delete mode 100644 vue/docs/assets/CProgressBar.api.html-BjA2nShz.js create mode 100644 vue/docs/assets/CProgressBar.api.html-DbiY29uU.js create mode 100644 vue/docs/assets/CProgressStacked.api.html-D0_SIwt3.js delete mode 100644 vue/docs/assets/CProgressStacked.api.html-iS9rdju9.js delete mode 100644 vue/docs/assets/CRating.api.html-CbBSuHpA.js create mode 100644 vue/docs/assets/CRating.api.html-c48h2dsU.js create mode 100644 vue/docs/assets/CRow.api.html-BfZBZHbO.js delete mode 100644 vue/docs/assets/CRow.api.html-CIrSW5Ga.js create mode 100644 vue/docs/assets/CSidebar.api.html-CTwTsKKM.js delete mode 100644 vue/docs/assets/CSidebar.api.html-DaxOjldv.js create mode 100644 vue/docs/assets/CSidebarBrand.api.html-BDwVBijp.js delete mode 100644 vue/docs/assets/CSidebarBrand.api.html-CMvNigzU.js create mode 100644 vue/docs/assets/CSidebarFooter.api.html-9MYkXiDf.js delete mode 100644 vue/docs/assets/CSidebarFooter.api.html-DG6rj4Di.js create mode 100644 vue/docs/assets/CSidebarHeader.api.html-CFlZhoRs.js delete mode 100644 vue/docs/assets/CSidebarHeader.api.html-UjLXre_-.js create mode 100644 vue/docs/assets/CSidebarNav.api.html-DPgns5YK.js delete mode 100644 vue/docs/assets/CSidebarNav.api.html-ZV8snc4P.js create mode 100644 vue/docs/assets/CSidebarToggler.api.html-CCzfHjoN.js delete mode 100644 vue/docs/assets/CSidebarToggler.api.html-CwaVG0LH.js delete mode 100644 vue/docs/assets/CSmartPagination.api.html-BikuSyAw.js create mode 100644 vue/docs/assets/CSmartPagination.api.html-BtDrxSb-.js delete mode 100644 vue/docs/assets/CSmartPagination.api.html-CrCaD_lP.js create mode 100644 vue/docs/assets/CSmartPagination.api.html-CtPxYRy0.js delete mode 100644 vue/docs/assets/CSmartTable.api.html-DBtpefqV.js create mode 100644 vue/docs/assets/CSmartTable.api.html-DGm1bmhO.js delete mode 100644 vue/docs/assets/CSmartTableBody.api.html-BnkPBl42.js create mode 100644 vue/docs/assets/CSmartTableBody.api.html-Ct54x_n5.js delete mode 100644 vue/docs/assets/CSmartTableCleaner.api.html-Ca51YF0C.js create mode 100644 vue/docs/assets/CSmartTableCleaner.api.html-D3V7dsv2.js delete mode 100644 vue/docs/assets/CSmartTableFilter.api.html-B7_1b50f.js create mode 100644 vue/docs/assets/CSmartTableFilter.api.html-DUCc6wnW.js create mode 100644 vue/docs/assets/CSmartTableHead.api.html-BObUzIwn.js delete mode 100644 vue/docs/assets/CSmartTableHead.api.html-DW9ZUntG.js create mode 100644 vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BcdEUUOn.js delete mode 100644 vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BqX7W_5v.js delete mode 100644 vue/docs/assets/CSpinner.api.html-O0NhTV-x.js create mode 100644 vue/docs/assets/CSpinner.api.html-tz9ud1zw.js create mode 100644 vue/docs/assets/CTab.api.html-C_8FIEMx.js delete mode 100644 vue/docs/assets/CTab.api.html-DOCKLIPZ.js create mode 100644 vue/docs/assets/CTabContent.api.html-1j4Vrr4K.js delete mode 100644 vue/docs/assets/CTabContent.api.html-C2PinBa9.js delete mode 100644 vue/docs/assets/CTabList.api.html-BEqv9sl7.js create mode 100644 vue/docs/assets/CTabList.api.html-Cmt2uvE5.js delete mode 100644 vue/docs/assets/CTabPane.api.html-B47A_sq6.js create mode 100644 vue/docs/assets/CTabPane.api.html-CNWr2MmF.js delete mode 100644 vue/docs/assets/CTabPanel.api.html-CZYhUIL_.js create mode 100644 vue/docs/assets/CTabPanel.api.html-Civ-9a5a.js delete mode 100644 vue/docs/assets/CTable.api.html-D0dRnCW-.js create mode 100644 vue/docs/assets/CTable.api.html-DNonlxhT.js create mode 100644 vue/docs/assets/CTableBody.api.html-BE5qkKGP.js delete mode 100644 vue/docs/assets/CTableBody.api.html-BFPdQqw6.js delete mode 100644 vue/docs/assets/CTableCaption.api.html-MTWPlJR7.js create mode 100644 vue/docs/assets/CTableCaption.api.html-phSXI7iF.js create mode 100644 vue/docs/assets/CTableDataCell.api.html-CTzr6HkH.js delete mode 100644 vue/docs/assets/CTableDataCell.api.html-r0s-YiAY.js create mode 100644 vue/docs/assets/CTableFoot.api.html-DcRu-Wur.js delete mode 100644 vue/docs/assets/CTableFoot.api.html-FVtyDTMQ.js delete mode 100644 vue/docs/assets/CTableHead.api.html-CuaSabQj.js create mode 100644 vue/docs/assets/CTableHead.api.html-jC7mLOK8.js create mode 100644 vue/docs/assets/CTableHeaderCell.api.html-BDiQC33l.js delete mode 100644 vue/docs/assets/CTableHeaderCell.api.html-DahKEodk.js create mode 100644 vue/docs/assets/CTableRow.api.html-BS0zN1Kr.js delete mode 100644 vue/docs/assets/CTableRow.api.html-Bh9JvciN.js delete mode 100644 vue/docs/assets/CTabs.api.html-BFEYxLzk.js create mode 100644 vue/docs/assets/CTabs.api.html-DnMHi3vy.js delete mode 100644 vue/docs/assets/CTimePicker.api.html-B1LPdULH.js create mode 100644 vue/docs/assets/CTimePicker.api.html-C_1ZXYrv.js create mode 100644 vue/docs/assets/CTimePickerRollCol.api.html-BP01-pLv.js delete mode 100644 vue/docs/assets/CTimePickerRollCol.api.html-CKuM6oLe.js create mode 100644 vue/docs/assets/CToast.api.html-CMbe9i1s.js delete mode 100644 vue/docs/assets/CToast.api.html-CrpEOCPn.js delete mode 100644 vue/docs/assets/CToastBody.api.html-4viEj-di.js create mode 100644 vue/docs/assets/CToastBody.api.html-JaBADYAu.js delete mode 100644 vue/docs/assets/CToastClose.api.html-D5MPMBvN.js create mode 100644 vue/docs/assets/CToastClose.api.html-YQ6mj1QO.js create mode 100644 vue/docs/assets/CToastHeader.api.html-Bb_cYC6K.js delete mode 100644 vue/docs/assets/CToastHeader.api.html-Bp3krdZ3.js delete mode 100644 vue/docs/assets/CToaster.api.html-CZ4AWR-a.js create mode 100644 vue/docs/assets/CToaster.api.html-DIlPMx7J.js create mode 100644 vue/docs/assets/CTooltip.api.html-BG1bcVkZ.js delete mode 100644 vue/docs/assets/CTooltip.api.html-Dd9JcsKh.js create mode 100644 vue/docs/assets/CVirtualScroller.api.html-CYqYd6bS.js delete mode 100644 vue/docs/assets/CVirtualScroller.api.html-OI5523Hm.js create mode 100644 vue/docs/assets/CWidgetStatsA.api.html-CQAWIPeh.js delete mode 100644 vue/docs/assets/CWidgetStatsA.api.html-DD_G_0XR.js create mode 100644 vue/docs/assets/CWidgetStatsB.api.html-8R9003Ye.js delete mode 100644 vue/docs/assets/CWidgetStatsB.api.html-BDmKGNGc.js create mode 100644 vue/docs/assets/CWidgetStatsC.api.html-BEjn1BPd.js delete mode 100644 vue/docs/assets/CWidgetStatsC.api.html-Ck65oxiQ.js delete mode 100644 vue/docs/assets/CWidgetStatsD.api.html-C6jHMRVC.js create mode 100644 vue/docs/assets/CWidgetStatsD.api.html-vMUwQLz_.js create mode 100644 vue/docs/assets/CWidgetStatsE.api.html-8FNgCETA.js delete mode 100644 vue/docs/assets/CWidgetStatsE.api.html-WqFr1dq3.js create mode 100644 vue/docs/assets/CWidgetStatsF.api.html-Bs-3Tpfk.js delete mode 100644 vue/docs/assets/CWidgetStatsF.api.html-DQOglbDZ.js rename vue/docs/assets/{Callout-BG7mA_TE.js => Callout-dZyg6Lm9.js} (83%) rename vue/docs/assets/{ScssDocs-BzcEAHFR.js => ScssDocs-DPTK8YLD.js} (97%) create mode 100644 vue/docs/assets/accessibility.html-BI4xofDT.js delete mode 100644 vue/docs/assets/accessibility.html-CkVUBrW4.js rename vue/docs/assets/{accordion.html-DPn8cCyj.js => accordion.html-1-bBbpuj.js} (87%) rename vue/docs/assets/{admin-dashboard.html-DU-BWvUG.js => admin-dashboard.html-CseRtZFD.js} (98%) create mode 100644 vue/docs/assets/alert.html-Aeh8K-Wf.js delete mode 100644 vue/docs/assets/alert.html-CDqS0NZ4.js rename vue/docs/assets/{app-BoHWg5jI.js => app-DGOUrGv-.js} (98%) rename vue/docs/assets/{avatar.html-CGvuFR7Q.js => avatar.html-BD-B4lfD.js} (84%) rename vue/docs/assets/{badge.html-BIxXbpUI.js => badge.html-Dear1jUq.js} (88%) rename vue/docs/assets/{breadcrumb.html-3P6FIBpg.js => breadcrumb.html-DgLYIaPr.js} (79%) create mode 100644 vue/docs/assets/breakpoints.html-C6u5z98e.js delete mode 100644 vue/docs/assets/breakpoints.html-TXDgB0cd.js rename vue/docs/assets/{button-group.html-DokwKiVg.js => button-group.html-7uksYI0F.js} (97%) rename vue/docs/assets/{button.html-Tm2d-w3G.js => button.html-D00S-NDK.js} (90%) create mode 100644 vue/docs/assets/calendar.html-Dj___bk9.js delete mode 100644 vue/docs/assets/calendar.html-aIZ63-sL.js rename vue/docs/assets/{callout.html-BHcngsku.js => callout.html-BvHwLp1x.js} (78%) rename vue/docs/assets/{card.html-CiiNUsv5.js => card.html-itUqRb0K.js} (93%) rename vue/docs/assets/{carousel.html-DN2cjEdX.js => carousel.html-B0BciYS9.js} (86%) rename vue/docs/assets/{chart.html-DY5wyS1U.js => chart.html-CeyziBqZ.js} (82%) rename vue/docs/assets/{checkbox.html-BL-hSbtE.js => checkbox.html-BPgHXfGt.js} (64%) rename vue/docs/assets/{checks-radios.html-kyGivGpt.js => checks-radios.html-CKmk8NM1.js} (85%) rename vue/docs/assets/{close-button.html-BS4-GrP8.js => close-button.html-blWDZBC3.js} (63%) create mode 100644 vue/docs/assets/collapse.html-CXLzPe5v.js delete mode 100644 vue/docs/assets/collapse.html-CuA1iHpy.js rename vue/docs/assets/{columns.html-c_8p-0J4.js => columns.html-DRAqgR3h.js} (92%) rename vue/docs/assets/{containers.html-DC6_LN_j.js => containers.html-DgTza5yR.js} (53%) create mode 100644 vue/docs/assets/contents.html-41bLmuls.js delete mode 100644 vue/docs/assets/contents.html-CKe33LGP.js create mode 100644 vue/docs/assets/css-variables.html-DBEGBYvO.js delete mode 100644 vue/docs/assets/css-variables.html-UJYgUBzW.js create mode 100644 vue/docs/assets/customize.html-C0-AGXsg.js delete mode 100644 vue/docs/assets/customize.html-CNlse-Z8.js rename vue/docs/assets/{date-picker.html-DXrgyOW0.js => date-picker.html-BHuOUNDP.js} (64%) rename vue/docs/assets/{date-range-picker.html-T7otEH2H.js => date-range-picker.html-Bs7ll3rY.js} (59%) delete mode 100644 vue/docs/assets/download.html-91eC3PyH.js create mode 100644 vue/docs/assets/download.html-B0ATzToD.js rename vue/docs/assets/{dropdown.html-D58fBbQW.js => dropdown.html-C4NgwOey.js} (88%) rename vue/docs/assets/{floating-labels.html-OoHunpjU.js => floating-labels.html-CCkOOAc0.js} (96%) rename vue/docs/assets/{footer.html-DN3ns744.js => footer.html-CSFrT_Wq.js} (63%) rename vue/docs/assets/{form-control.html-Dq3LSWS5.js => form-control.html-CxCiB4bb.js} (85%) rename vue/docs/assets/{grid.html-D9aeBmOt.js => grid.html-t8D6bS23.js} (82%) rename vue/docs/assets/{gutters.html-BqQUwcbR.js => gutters.html-SyYvHCgl.js} (80%) create mode 100644 vue/docs/assets/header.html-B_Q5U0MU.js delete mode 100644 vue/docs/assets/header.html-DBfVFFNJ.js rename vue/docs/assets/{icon.html-C2C1fAVP.js => icon.html-ivU2m4Fv.js} (99%) rename vue/docs/assets/{image.html-DC5HLYH1.js => image.html-G4Gptwhr.js} (85%) create mode 100644 vue/docs/assets/index.html-CXtJwXEn.js rename vue/docs/assets/{input-group.html-BD4KH7gA.js => input-group.html-DD48IpLE.js} (97%) rename vue/docs/assets/{input.html-BPr4o7jo.js => input.html-DQVoju7F.js} (82%) delete mode 100644 vue/docs/assets/installation.html-B9oaQNAO.js create mode 100644 vue/docs/assets/installation.html-CwOfF37v.js rename vue/docs/assets/{introduction.html-CuiibolQ.js => introduction.html-B-WFaD00.js} (88%) rename vue/docs/assets/{layout.html-DARLKo8o.js => layout.html-B1WhSZXl.js} (96%) rename vue/docs/assets/{link.html-C2tbxGSf.js => link.html-DgFWlsMX.js} (91%) rename vue/docs/assets/{list-group.html-ChBEIPwp.js => list-group.html-_udCts7M.js} (90%) rename vue/docs/assets/{loading-button.html-BwfYal81.js => loading-button.html-DU_pRN89.js} (83%) rename vue/docs/assets/{modal.html-KOyG7M6n.js => modal.html-BHtWUNx_.js} (53%) delete mode 100644 vue/docs/assets/multi-select.html-DP6UryqG.js create mode 100644 vue/docs/assets/multi-select.html-DtyKZra7.js rename vue/docs/assets/{navbar.html-BCzYXKko.js => navbar.html-DiQHPkAN.js} (81%) rename vue/docs/assets/{navs-tabs.html-BwFsuHAs.js => navs-tabs.html-R9_id4Dp.js} (75%) create mode 100644 vue/docs/assets/offcanvas.html-CuZ5zSJ3.js delete mode 100644 vue/docs/assets/offcanvas.html-D6TxFWNe.js rename vue/docs/assets/{options.html-B9kdngTZ.js => options.html-Oj00yCyN.js} (99%) rename vue/docs/assets/{overview.html-DEHhVOWL.js => overview.html-D68slxn-.js} (91%) rename vue/docs/assets/{pagination.html-BlNq3AJ1.js => pagination.html-B6kiDLSr.js} (85%) rename vue/docs/assets/{placeholder.html-BBrpG9kK.js => placeholder.html-BZpO7heW.js} (89%) rename vue/docs/assets/{popover.html-CcictLyq.js => popover.html-DDOrxn8Z.js} (69%) rename vue/docs/assets/{progress.html-DAixQyXt.js => progress.html-DhAMxmt8.js} (87%) rename vue/docs/assets/{radio.html-cF7KwA9W.js => radio.html-DdZZGITP.js} (70%) rename vue/docs/assets/{range.html-DLE7qJRM.js => range.html-DnftQdHW.js} (70%) rename vue/docs/assets/{rating.html-COUjsjjF.js => rating.html-DDgDjKeh.js} (87%) delete mode 100644 vue/docs/assets/sass.html-DHfDOQ32.js create mode 100644 vue/docs/assets/sass.html-QPkiTP49.js rename vue/docs/assets/{select.html-CGOG4_GI.js => select.html-HAuQZbve.js} (84%) rename vue/docs/assets/{setupDevtools-HHDGOOYC-BQImv-dR.js => setupDevtools-HHDGOOYC-8SYwYjCZ.js} (97%) rename vue/docs/assets/{sidebar.html-CrmBFQhh.js => sidebar.html-sk3JAtdU.js} (92%) rename vue/docs/assets/{smart-pagination.html-CYqfH6pM.js => smart-pagination.html-C0KPe66-.js} (66%) rename vue/docs/assets/{smart-table.html-DMqyM7wC.js => smart-table.html-CuXPF5Vb.js} (52%) rename vue/docs/assets/{spinner.html-Dja_Ea9Q.js => spinner.html-CbcVdjbB.js} (80%) rename vue/docs/assets/{style-CM2j93lE.css => style-V4DqbpUk.css} (99%) rename vue/docs/assets/{switch.html-CzcyoMGb.js => switch.html-C_xLNHwA.js} (77%) rename vue/docs/assets/{table.html-BKhXilE_.js => table.html-aCVCSEDl.js} (75%) rename vue/docs/assets/{tabs.html-BryTxUY8.js => tabs.html-BjypzLaI.js} (78%) rename vue/docs/assets/{textarea.html-VjAtYprD.js => textarea.html-Ck18GNEv.js} (59%) rename vue/docs/assets/{time-picker.html-DlV52mWV.js => time-picker.html-CvM-vSGB.js} (59%) rename vue/docs/assets/{toast.html-B70IM5zC.js => toast.html-DUmgmbI1.js} (70%) rename vue/docs/assets/{tooltip.html-D2DMDPTK.js => tooltip.html-COZMp0t7.js} (71%) delete mode 100644 vue/docs/assets/v4.html-Br_AIuga.js create mode 100644 vue/docs/assets/v4.html-qK__BZTD.js create mode 100644 vue/docs/assets/v5.html-Csxq3zcX.js delete mode 100644 vue/docs/assets/v5.html-D8yxOVYF.js rename vue/docs/assets/{validation.html-2QwCYaBH.js => validation.html-BZBLONBB.js} (64%) rename vue/docs/assets/{virtual-scroller.html-eMrz1664.js => virtual-scroller.html-se47tihX.js} (71%) rename vue/docs/assets/{widgets.html-CX3InA_E.js => widgets.html-DaxyknU_.js} (92%) diff --git a/vue/docs/404.html b/vue/docs/404.html index 5f67ac73336..59540e91c7e 100644 --- a/vue/docs/404.html +++ b/vue/docs/404.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/CChart.api.html b/vue/docs/api/CChart.api.html index 86274392552..e4214414c40 100644 --- a/vue/docs/api/CChart.api.html +++ b/vue/docs/api/CChart.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/accordion/CAccordion.api.html b/vue/docs/api/accordion/CAccordion.api.html index 18fd2e214d8..f22baf9f1c6 100644 --- a/vue/docs/api/accordion/CAccordion.api.html +++ b/vue/docs/api/accordion/CAccordion.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/accordion/CAccordionBody.api.html b/vue/docs/api/accordion/CAccordionBody.api.html index 1d0332fa163..2de600259d3 100644 --- a/vue/docs/api/accordion/CAccordionBody.api.html +++ b/vue/docs/api/accordion/CAccordionBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/accordion/CAccordionButton.api.html b/vue/docs/api/accordion/CAccordionButton.api.html index 1c59233226c..9b637c61992 100644 --- a/vue/docs/api/accordion/CAccordionButton.api.html +++ b/vue/docs/api/accordion/CAccordionButton.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/accordion/CAccordionHeader.api.html b/vue/docs/api/accordion/CAccordionHeader.api.html index 46d52fbbd18..fbb9a350417 100644 --- a/vue/docs/api/accordion/CAccordionHeader.api.html +++ b/vue/docs/api/accordion/CAccordionHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/accordion/CAccordionItem.api.html b/vue/docs/api/accordion/CAccordionItem.api.html index 80c3d15f5e6..c7bfd7ad314 100644 --- a/vue/docs/api/accordion/CAccordionItem.api.html +++ b/vue/docs/api/accordion/CAccordionItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/alert/CAlert.api.html b/vue/docs/api/alert/CAlert.api.html index 889f91cc8cf..94b2213b0d0 100644 --- a/vue/docs/api/alert/CAlert.api.html +++ b/vue/docs/api/alert/CAlert.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/alert/CAlertHeading.api.html b/vue/docs/api/alert/CAlertHeading.api.html index 7950bd6e278..08dd855e292 100644 --- a/vue/docs/api/alert/CAlertHeading.api.html +++ b/vue/docs/api/alert/CAlertHeading.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/alert/CAlertLink.api.html b/vue/docs/api/alert/CAlertLink.api.html index 24aa6e7d7ef..1c06ebf6033 100644 --- a/vue/docs/api/alert/CAlertLink.api.html +++ b/vue/docs/api/alert/CAlertLink.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/avatar/CAvatar.api.html b/vue/docs/api/avatar/CAvatar.api.html index d7389dbd146..6aa3c1e1539 100644 --- a/vue/docs/api/avatar/CAvatar.api.html +++ b/vue/docs/api/avatar/CAvatar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/backdrop/CBackdrop.api.html b/vue/docs/api/backdrop/CBackdrop.api.html index 75841bc9ba0..52f8995e330 100644 --- a/vue/docs/api/backdrop/CBackdrop.api.html +++ b/vue/docs/api/backdrop/CBackdrop.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/badge/CBadge.api.html b/vue/docs/api/badge/CBadge.api.html index 0b70d661473..60b93ac21f1 100644 --- a/vue/docs/api/badge/CBadge.api.html +++ b/vue/docs/api/badge/CBadge.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/breadcrumb/CBreadcrumb.api.html b/vue/docs/api/breadcrumb/CBreadcrumb.api.html index 5e8ee52f9e3..91714dd3fcd 100644 --- a/vue/docs/api/breadcrumb/CBreadcrumb.api.html +++ b/vue/docs/api/breadcrumb/CBreadcrumb.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html b/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html index 79e006a1be8..8675481800e 100644 --- a/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html +++ b/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/button-group/CButtonGroup.api.html b/vue/docs/api/button-group/CButtonGroup.api.html index 94e0057576d..14c6a804036 100644 --- a/vue/docs/api/button-group/CButtonGroup.api.html +++ b/vue/docs/api/button-group/CButtonGroup.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/button-group/CButtonToolbar.api.html b/vue/docs/api/button-group/CButtonToolbar.api.html index 8223036b220..4efdaf96a16 100644 --- a/vue/docs/api/button-group/CButtonToolbar.api.html +++ b/vue/docs/api/button-group/CButtonToolbar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/button/CButton.api.html b/vue/docs/api/button/CButton.api.html index f112580746f..2242dd7ef74 100644 --- a/vue/docs/api/button/CButton.api.html +++ b/vue/docs/api/button/CButton.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/calendar/CCalendar.api.html b/vue/docs/api/calendar/CCalendar.api.html index e6c894e7fa5..f3806d2a791 100644 --- a/vue/docs/api/calendar/CCalendar.api.html +++ b/vue/docs/api/calendar/CCalendar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/callout/CCallout.api.html b/vue/docs/api/callout/CCallout.api.html index 12ec40d3bbf..3f812a66b8f 100644 --- a/vue/docs/api/callout/CCallout.api.html +++ b/vue/docs/api/callout/CCallout.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCard.api.html b/vue/docs/api/card/CCard.api.html index f2a5d4c0076..e75c3586409 100644 --- a/vue/docs/api/card/CCard.api.html +++ b/vue/docs/api/card/CCard.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardBody.api.html b/vue/docs/api/card/CCardBody.api.html index 599e028049e..6150acdb220 100644 --- a/vue/docs/api/card/CCardBody.api.html +++ b/vue/docs/api/card/CCardBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardFooter.api.html b/vue/docs/api/card/CCardFooter.api.html index 1378779a0ed..894e15410a9 100644 --- a/vue/docs/api/card/CCardFooter.api.html +++ b/vue/docs/api/card/CCardFooter.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardGroup.api.html b/vue/docs/api/card/CCardGroup.api.html index f6b737c5b45..e2042485985 100644 --- a/vue/docs/api/card/CCardGroup.api.html +++ b/vue/docs/api/card/CCardGroup.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardHeader.api.html b/vue/docs/api/card/CCardHeader.api.html index 5ebf853e3ee..db51f1a768d 100644 --- a/vue/docs/api/card/CCardHeader.api.html +++ b/vue/docs/api/card/CCardHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardImage.api.html b/vue/docs/api/card/CCardImage.api.html index e31f2f14b4b..3614548286f 100644 --- a/vue/docs/api/card/CCardImage.api.html +++ b/vue/docs/api/card/CCardImage.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardImageOverlay.api.html b/vue/docs/api/card/CCardImageOverlay.api.html index 59f79f12be2..0e564f51e17 100644 --- a/vue/docs/api/card/CCardImageOverlay.api.html +++ b/vue/docs/api/card/CCardImageOverlay.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardLink.api.html b/vue/docs/api/card/CCardLink.api.html index bcd3e87aa33..8b5f3cc7a0f 100644 --- a/vue/docs/api/card/CCardLink.api.html +++ b/vue/docs/api/card/CCardLink.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardSubtitle.api.html b/vue/docs/api/card/CCardSubtitle.api.html index f71ced574ab..9ab719e62b2 100644 --- a/vue/docs/api/card/CCardSubtitle.api.html +++ b/vue/docs/api/card/CCardSubtitle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardText.api.html b/vue/docs/api/card/CCardText.api.html index a9477c4aa5a..d593cdd1b95 100644 --- a/vue/docs/api/card/CCardText.api.html +++ b/vue/docs/api/card/CCardText.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/card/CCardTitle.api.html b/vue/docs/api/card/CCardTitle.api.html index 1d470fa548f..642471574dd 100644 --- a/vue/docs/api/card/CCardTitle.api.html +++ b/vue/docs/api/card/CCardTitle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/carousel/CCarousel.api.html b/vue/docs/api/carousel/CCarousel.api.html index 7ea1d69a866..3f6b053738d 100644 --- a/vue/docs/api/carousel/CCarousel.api.html +++ b/vue/docs/api/carousel/CCarousel.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/carousel/CCarouselCaption.api.html b/vue/docs/api/carousel/CCarouselCaption.api.html index 0936e6597ba..864948924b5 100644 --- a/vue/docs/api/carousel/CCarouselCaption.api.html +++ b/vue/docs/api/carousel/CCarouselCaption.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/carousel/CCarouselItem.api.html b/vue/docs/api/carousel/CCarouselItem.api.html index 3c635a3f5a1..ba0bf106f0a 100644 --- a/vue/docs/api/carousel/CCarouselItem.api.html +++ b/vue/docs/api/carousel/CCarouselItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/close-button/CCloseButton.api.html b/vue/docs/api/close-button/CCloseButton.api.html index a6ed4dccc88..fe1878bf197 100644 --- a/vue/docs/api/close-button/CCloseButton.api.html +++ b/vue/docs/api/close-button/CCloseButton.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/collapse/CCollapse.api.html b/vue/docs/api/collapse/CCollapse.api.html index 0c24f5c0ff6..5a58f960020 100644 --- a/vue/docs/api/collapse/CCollapse.api.html +++ b/vue/docs/api/collapse/CCollapse.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html b/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html index 82c306d3edd..2b0cda1952d 100644 --- a/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html +++ b/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/coreui-icons-vue/src/CIcon.api.html b/vue/docs/api/coreui-icons-vue/src/CIcon.api.html index 24f67612b65..820c1e12763 100644 --- a/vue/docs/api/coreui-icons-vue/src/CIcon.api.html +++ b/vue/docs/api/coreui-icons-vue/src/CIcon.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html b/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html index 126cc8337ed..96a516d50f0 100644 --- a/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html +++ b/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/date-picker/CDatePicker.api.html b/vue/docs/api/date-picker/CDatePicker.api.html index d1deefdd81a..8deb182f826 100644 --- a/vue/docs/api/date-picker/CDatePicker.api.html +++ b/vue/docs/api/date-picker/CDatePicker.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/date-range-picker/CDateRangePicker.api.html b/vue/docs/api/date-range-picker/CDateRangePicker.api.html index 434a2f33e60..3e7ecee98c8 100644 --- a/vue/docs/api/date-range-picker/CDateRangePicker.api.html +++ b/vue/docs/api/date-range-picker/CDateRangePicker.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdown.api.html b/vue/docs/api/dropdown/CDropdown.api.html index 99ffec020b7..487b09df6e2 100644 --- a/vue/docs/api/dropdown/CDropdown.api.html +++ b/vue/docs/api/dropdown/CDropdown.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdownDivider.api.html b/vue/docs/api/dropdown/CDropdownDivider.api.html index 31ec6f52fdf..d45a476b8e2 100644 --- a/vue/docs/api/dropdown/CDropdownDivider.api.html +++ b/vue/docs/api/dropdown/CDropdownDivider.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdownHeader.api.html b/vue/docs/api/dropdown/CDropdownHeader.api.html index da868675813..61b1440a3fb 100644 --- a/vue/docs/api/dropdown/CDropdownHeader.api.html +++ b/vue/docs/api/dropdown/CDropdownHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdownItem.api.html b/vue/docs/api/dropdown/CDropdownItem.api.html index ac93f4c5bbc..c11ebc641c8 100644 --- a/vue/docs/api/dropdown/CDropdownItem.api.html +++ b/vue/docs/api/dropdown/CDropdownItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdownMenu.api.html b/vue/docs/api/dropdown/CDropdownMenu.api.html index 9634bb3b3db..207567065ad 100644 --- a/vue/docs/api/dropdown/CDropdownMenu.api.html +++ b/vue/docs/api/dropdown/CDropdownMenu.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/dropdown/CDropdownToggle.api.html b/vue/docs/api/dropdown/CDropdownToggle.api.html index 68c6154bfcd..b6b10a2ebf5 100644 --- a/vue/docs/api/dropdown/CDropdownToggle.api.html +++ b/vue/docs/api/dropdown/CDropdownToggle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/footer/CFooter.api.html b/vue/docs/api/footer/CFooter.api.html index b778c3bd20b..5b7dc5557a2 100644 --- a/vue/docs/api/footer/CFooter.api.html +++ b/vue/docs/api/footer/CFooter.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CForm.api.html b/vue/docs/api/form/CForm.api.html index bad1b0af21d..ba8dba1241d 100644 --- a/vue/docs/api/form/CForm.api.html +++ b/vue/docs/api/form/CForm.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormCheck.api.html b/vue/docs/api/form/CFormCheck.api.html index 1f98631ad51..ccab7524e94 100644 --- a/vue/docs/api/form/CFormCheck.api.html +++ b/vue/docs/api/form/CFormCheck.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormControl.api.html b/vue/docs/api/form/CFormControl.api.html index c46f1075b35..26855b93172 100644 --- a/vue/docs/api/form/CFormControl.api.html +++ b/vue/docs/api/form/CFormControl.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormControlValidation.api.html b/vue/docs/api/form/CFormControlValidation.api.html index bece18ea2fd..e32bff47ec9 100644 --- a/vue/docs/api/form/CFormControlValidation.api.html +++ b/vue/docs/api/form/CFormControlValidation.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormControlWrapper.api.html b/vue/docs/api/form/CFormControlWrapper.api.html index 730d1ead09e..dade48c8d6f 100644 --- a/vue/docs/api/form/CFormControlWrapper.api.html +++ b/vue/docs/api/form/CFormControlWrapper.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormFeedback.api.html b/vue/docs/api/form/CFormFeedback.api.html index a488de34f69..e1e4509adfe 100644 --- a/vue/docs/api/form/CFormFeedback.api.html +++ b/vue/docs/api/form/CFormFeedback.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormFloating.api.html b/vue/docs/api/form/CFormFloating.api.html index 29b2c25275e..7f0994d4efa 100644 --- a/vue/docs/api/form/CFormFloating.api.html +++ b/vue/docs/api/form/CFormFloating.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormInput.api.html b/vue/docs/api/form/CFormInput.api.html index 6c8b19a3703..8e668e7f2ba 100644 --- a/vue/docs/api/form/CFormInput.api.html +++ b/vue/docs/api/form/CFormInput.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormLabel.api.html b/vue/docs/api/form/CFormLabel.api.html index 4ebcbf5e31e..fe4c365bb54 100644 --- a/vue/docs/api/form/CFormLabel.api.html +++ b/vue/docs/api/form/CFormLabel.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormRange.api.html b/vue/docs/api/form/CFormRange.api.html index 0fb62ff923f..3cd5acd28dd 100644 --- a/vue/docs/api/form/CFormRange.api.html +++ b/vue/docs/api/form/CFormRange.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormSelect.api.html b/vue/docs/api/form/CFormSelect.api.html index e010e37d052..9e58d51240c 100644 --- a/vue/docs/api/form/CFormSelect.api.html +++ b/vue/docs/api/form/CFormSelect.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormSwitch.api.html b/vue/docs/api/form/CFormSwitch.api.html index adce4b364ba..1ed3fd0b79a 100644 --- a/vue/docs/api/form/CFormSwitch.api.html +++ b/vue/docs/api/form/CFormSwitch.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormText.api.html b/vue/docs/api/form/CFormText.api.html index fad27ee2dd6..84516160f48 100644 --- a/vue/docs/api/form/CFormText.api.html +++ b/vue/docs/api/form/CFormText.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CFormTextarea.api.html b/vue/docs/api/form/CFormTextarea.api.html index b3bfd39cfbb..87d231045dd 100644 --- a/vue/docs/api/form/CFormTextarea.api.html +++ b/vue/docs/api/form/CFormTextarea.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CInputGroup.api.html b/vue/docs/api/form/CInputGroup.api.html index 7ac656ce5e9..b224d7d3ace 100644 --- a/vue/docs/api/form/CInputGroup.api.html +++ b/vue/docs/api/form/CInputGroup.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/form/CInputGroupText.api.html b/vue/docs/api/form/CInputGroupText.api.html index 9ff7348893b..424c98046a9 100644 --- a/vue/docs/api/form/CInputGroupText.api.html +++ b/vue/docs/api/form/CInputGroupText.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/grid/CCol.api.html b/vue/docs/api/grid/CCol.api.html index 4b1736735e4..b7290d10643 100644 --- a/vue/docs/api/grid/CCol.api.html +++ b/vue/docs/api/grid/CCol.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/grid/CContainer.api.html b/vue/docs/api/grid/CContainer.api.html index 8a552ea7114..e9a814fe300 100644 --- a/vue/docs/api/grid/CContainer.api.html +++ b/vue/docs/api/grid/CContainer.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/grid/CRow.api.html b/vue/docs/api/grid/CRow.api.html index a174af07d67..ab4c7383c5e 100644 --- a/vue/docs/api/grid/CRow.api.html +++ b/vue/docs/api/grid/CRow.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeader.api.html b/vue/docs/api/header/CHeader.api.html index cb3de4d2ff8..55b3eece397 100644 --- a/vue/docs/api/header/CHeader.api.html +++ b/vue/docs/api/header/CHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeaderBrand.api.html b/vue/docs/api/header/CHeaderBrand.api.html index 9be772631f9..43787c017a4 100644 --- a/vue/docs/api/header/CHeaderBrand.api.html +++ b/vue/docs/api/header/CHeaderBrand.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeaderDivider.api.html b/vue/docs/api/header/CHeaderDivider.api.html index 6313e57d8c4..dcfb1ca7619 100644 --- a/vue/docs/api/header/CHeaderDivider.api.html +++ b/vue/docs/api/header/CHeaderDivider.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeaderNav.api.html b/vue/docs/api/header/CHeaderNav.api.html index 8cf3bd0c7cb..421642a9a24 100644 --- a/vue/docs/api/header/CHeaderNav.api.html +++ b/vue/docs/api/header/CHeaderNav.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeaderText.api.html b/vue/docs/api/header/CHeaderText.api.html index caa6b1da1ca..b26e33b5883 100644 --- a/vue/docs/api/header/CHeaderText.api.html +++ b/vue/docs/api/header/CHeaderText.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/header/CHeaderToggler.api.html b/vue/docs/api/header/CHeaderToggler.api.html index 17a7941e3b4..70495ba67fc 100644 --- a/vue/docs/api/header/CHeaderToggler.api.html +++ b/vue/docs/api/header/CHeaderToggler.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/image/CImage.api.html b/vue/docs/api/image/CImage.api.html index dac0293336f..7749beaa32a 100644 --- a/vue/docs/api/image/CImage.api.html +++ b/vue/docs/api/image/CImage.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/link/CLink.api.html b/vue/docs/api/link/CLink.api.html index 07aa8cb01d5..f457568355c 100644 --- a/vue/docs/api/link/CLink.api.html +++ b/vue/docs/api/link/CLink.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/list-group/CListGroup.api.html b/vue/docs/api/list-group/CListGroup.api.html index 168fecfb134..ebd4ed532b0 100644 --- a/vue/docs/api/list-group/CListGroup.api.html +++ b/vue/docs/api/list-group/CListGroup.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/list-group/CListGroupItem.api.html b/vue/docs/api/list-group/CListGroupItem.api.html index 4e2d1880195..f7665e9d060 100644 --- a/vue/docs/api/list-group/CListGroupItem.api.html +++ b/vue/docs/api/list-group/CListGroupItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/loading-button/CLoadingButton.api.html b/vue/docs/api/loading-button/CLoadingButton.api.html index d17df359e64..8dd569499bd 100644 --- a/vue/docs/api/loading-button/CLoadingButton.api.html +++ b/vue/docs/api/loading-button/CLoadingButton.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/modal/CModal.api.html b/vue/docs/api/modal/CModal.api.html index 9c6871e519a..a471fccb3c0 100644 --- a/vue/docs/api/modal/CModal.api.html +++ b/vue/docs/api/modal/CModal.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/modal/CModalBody.api.html b/vue/docs/api/modal/CModalBody.api.html index 7110b17946f..924ff59a633 100644 --- a/vue/docs/api/modal/CModalBody.api.html +++ b/vue/docs/api/modal/CModalBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/modal/CModalFooter.api.html b/vue/docs/api/modal/CModalFooter.api.html index 39e890b3410..21b0dc88822 100644 --- a/vue/docs/api/modal/CModalFooter.api.html +++ b/vue/docs/api/modal/CModalFooter.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/modal/CModalHeader.api.html b/vue/docs/api/modal/CModalHeader.api.html index 6dc2a34a801..2e443941a64 100644 --- a/vue/docs/api/modal/CModalHeader.api.html +++ b/vue/docs/api/modal/CModalHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/modal/CModalTitle.api.html b/vue/docs/api/modal/CModalTitle.api.html index f4d6126c837..9e8d1b8e271 100644 --- a/vue/docs/api/modal/CModalTitle.api.html +++ b/vue/docs/api/modal/CModalTitle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/multi-select/CMultiSelect.api.html b/vue/docs/api/multi-select/CMultiSelect.api.html index 82601e68bfd..0c1d99850e8 100644 --- a/vue/docs/api/multi-select/CMultiSelect.api.html +++ b/vue/docs/api/multi-select/CMultiSelect.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html b/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html index 214a6916559..69b95ea253d 100644 --- a/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html +++ b/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/multi-select/CMultiSelectOptions.api.html b/vue/docs/api/multi-select/CMultiSelectOptions.api.html index c539a880000..1477d5abca4 100644 --- a/vue/docs/api/multi-select/CMultiSelectOptions.api.html +++ b/vue/docs/api/multi-select/CMultiSelectOptions.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/multi-select/CMultiSelectSelection.api.html b/vue/docs/api/multi-select/CMultiSelectSelection.api.html index 5be1807f2e1..c735dae94b1 100644 --- a/vue/docs/api/multi-select/CMultiSelectSelection.api.html +++ b/vue/docs/api/multi-select/CMultiSelectSelection.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNav.api.html b/vue/docs/api/nav/CNav.api.html index 8f20e1374cf..20e657ad792 100644 --- a/vue/docs/api/nav/CNav.api.html +++ b/vue/docs/api/nav/CNav.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNavGroup.api.html b/vue/docs/api/nav/CNavGroup.api.html index 997e41271f1..46b7a0477c3 100644 --- a/vue/docs/api/nav/CNavGroup.api.html +++ b/vue/docs/api/nav/CNavGroup.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNavGroupItems.api.html b/vue/docs/api/nav/CNavGroupItems.api.html index d9193de9240..f6c48ec6419 100644 --- a/vue/docs/api/nav/CNavGroupItems.api.html +++ b/vue/docs/api/nav/CNavGroupItems.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNavItem.api.html b/vue/docs/api/nav/CNavItem.api.html index c27f4bdcb9b..1cae81fa39b 100644 --- a/vue/docs/api/nav/CNavItem.api.html +++ b/vue/docs/api/nav/CNavItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNavLink.api.html b/vue/docs/api/nav/CNavLink.api.html index eb7a4114608..705c00e82ee 100644 --- a/vue/docs/api/nav/CNavLink.api.html +++ b/vue/docs/api/nav/CNavLink.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/nav/CNavTitle.api.html b/vue/docs/api/nav/CNavTitle.api.html index 4fd90acecf6..5a293d2182c 100644 --- a/vue/docs/api/nav/CNavTitle.api.html +++ b/vue/docs/api/nav/CNavTitle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/navbar/CNavbar.api.html b/vue/docs/api/navbar/CNavbar.api.html index 849a89f4d3c..43650384bce 100644 --- a/vue/docs/api/navbar/CNavbar.api.html +++ b/vue/docs/api/navbar/CNavbar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/navbar/CNavbarBrand.api.html b/vue/docs/api/navbar/CNavbarBrand.api.html index bf5e3b89a51..9aabd3f3ce6 100644 --- a/vue/docs/api/navbar/CNavbarBrand.api.html +++ b/vue/docs/api/navbar/CNavbarBrand.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/navbar/CNavbarNav.api.html b/vue/docs/api/navbar/CNavbarNav.api.html index 8b59a046971..f6128fa1843 100644 --- a/vue/docs/api/navbar/CNavbarNav.api.html +++ b/vue/docs/api/navbar/CNavbarNav.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/navbar/CNavbarText.api.html b/vue/docs/api/navbar/CNavbarText.api.html index feb8147dd59..cd4d51b8343 100644 --- a/vue/docs/api/navbar/CNavbarText.api.html +++ b/vue/docs/api/navbar/CNavbarText.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/navbar/CNavbarToggler.api.html b/vue/docs/api/navbar/CNavbarToggler.api.html index b9a83522868..db4f6c5f9e7 100644 --- a/vue/docs/api/navbar/CNavbarToggler.api.html +++ b/vue/docs/api/navbar/CNavbarToggler.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/offcanvas/COffcanvas.api.html b/vue/docs/api/offcanvas/COffcanvas.api.html index 17f3615633c..8b23483bbbb 100644 --- a/vue/docs/api/offcanvas/COffcanvas.api.html +++ b/vue/docs/api/offcanvas/COffcanvas.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/offcanvas/COffcanvasBody.api.html b/vue/docs/api/offcanvas/COffcanvasBody.api.html index a297061c516..c79f836d752 100644 --- a/vue/docs/api/offcanvas/COffcanvasBody.api.html +++ b/vue/docs/api/offcanvas/COffcanvasBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/offcanvas/COffcanvasHeader.api.html b/vue/docs/api/offcanvas/COffcanvasHeader.api.html index 671eb719859..ed7bd4bf4f7 100644 --- a/vue/docs/api/offcanvas/COffcanvasHeader.api.html +++ b/vue/docs/api/offcanvas/COffcanvasHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/offcanvas/COffcanvasTitle.api.html b/vue/docs/api/offcanvas/COffcanvasTitle.api.html index c524e630767..1392fca4862 100644 --- a/vue/docs/api/offcanvas/COffcanvasTitle.api.html +++ b/vue/docs/api/offcanvas/COffcanvasTitle.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/pagination/CPagination.api.html b/vue/docs/api/pagination/CPagination.api.html index a17a6f3ec79..1b1b590ef12 100644 --- a/vue/docs/api/pagination/CPagination.api.html +++ b/vue/docs/api/pagination/CPagination.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/pagination/CPaginationItem.api.html b/vue/docs/api/pagination/CPaginationItem.api.html index 535c78df394..f8b9ded9e7a 100644 --- a/vue/docs/api/pagination/CPaginationItem.api.html +++ b/vue/docs/api/pagination/CPaginationItem.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/pagination/CSmartPagination.api.html b/vue/docs/api/pagination/CSmartPagination.api.html index ea0b1192a1a..a074a6537bd 100644 --- a/vue/docs/api/pagination/CSmartPagination.api.html +++ b/vue/docs/api/pagination/CSmartPagination.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/picker/CPicker.api.html b/vue/docs/api/picker/CPicker.api.html index 54244eb7a04..92e6faf508b 100644 --- a/vue/docs/api/picker/CPicker.api.html +++ b/vue/docs/api/picker/CPicker.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/placeholder/CPlaceholder.api.html b/vue/docs/api/placeholder/CPlaceholder.api.html index acd1b654c02..4fcebf2d2cc 100644 --- a/vue/docs/api/placeholder/CPlaceholder.api.html +++ b/vue/docs/api/placeholder/CPlaceholder.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/popover/CPopover.api.html b/vue/docs/api/popover/CPopover.api.html index f2a60788266..4f239a076b1 100644 --- a/vue/docs/api/popover/CPopover.api.html +++ b/vue/docs/api/popover/CPopover.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/progress/CProgress.api.html b/vue/docs/api/progress/CProgress.api.html index 56ffc56bcc5..469150aa2d4 100644 --- a/vue/docs/api/progress/CProgress.api.html +++ b/vue/docs/api/progress/CProgress.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/progress/CProgressBar.api.html b/vue/docs/api/progress/CProgressBar.api.html index 9b112b7559f..2df047f96d5 100644 --- a/vue/docs/api/progress/CProgressBar.api.html +++ b/vue/docs/api/progress/CProgressBar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/progress/CProgressStacked.api.html b/vue/docs/api/progress/CProgressStacked.api.html index c76ac74a385..6aa7a48ebb3 100644 --- a/vue/docs/api/progress/CProgressStacked.api.html +++ b/vue/docs/api/progress/CProgressStacked.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/rating/CRating.api.html b/vue/docs/api/rating/CRating.api.html index 6645cffa0cf..acd04a325df 100644 --- a/vue/docs/api/rating/CRating.api.html +++ b/vue/docs/api/rating/CRating.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebar.api.html b/vue/docs/api/sidebar/CSidebar.api.html index 1dd159d7d2e..87604678f95 100644 --- a/vue/docs/api/sidebar/CSidebar.api.html +++ b/vue/docs/api/sidebar/CSidebar.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebarBrand.api.html b/vue/docs/api/sidebar/CSidebarBrand.api.html index 977ba070eec..661bc3b94eb 100644 --- a/vue/docs/api/sidebar/CSidebarBrand.api.html +++ b/vue/docs/api/sidebar/CSidebarBrand.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebarFooter.api.html b/vue/docs/api/sidebar/CSidebarFooter.api.html index 42be28cae34..9876a96ef3b 100644 --- a/vue/docs/api/sidebar/CSidebarFooter.api.html +++ b/vue/docs/api/sidebar/CSidebarFooter.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebarHeader.api.html b/vue/docs/api/sidebar/CSidebarHeader.api.html index 7b08a2ba7b8..6756e8ef94f 100644 --- a/vue/docs/api/sidebar/CSidebarHeader.api.html +++ b/vue/docs/api/sidebar/CSidebarHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebarNav.api.html b/vue/docs/api/sidebar/CSidebarNav.api.html index 514d9aaf6e7..974eb225e87 100644 --- a/vue/docs/api/sidebar/CSidebarNav.api.html +++ b/vue/docs/api/sidebar/CSidebarNav.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/sidebar/CSidebarToggler.api.html b/vue/docs/api/sidebar/CSidebarToggler.api.html index a37cb5edef1..65ad6c13fcf 100644 --- a/vue/docs/api/sidebar/CSidebarToggler.api.html +++ b/vue/docs/api/sidebar/CSidebarToggler.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-pagination/CSmartPagination.api.html b/vue/docs/api/smart-pagination/CSmartPagination.api.html index 7bdad4bb19f..237acc3e7e2 100644 --- a/vue/docs/api/smart-pagination/CSmartPagination.api.html +++ b/vue/docs/api/smart-pagination/CSmartPagination.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTable.api.html b/vue/docs/api/smart-table/CSmartTable.api.html index cf416a1f3b4..8d1cca86a2e 100644 --- a/vue/docs/api/smart-table/CSmartTable.api.html +++ b/vue/docs/api/smart-table/CSmartTable.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTableBody.api.html b/vue/docs/api/smart-table/CSmartTableBody.api.html index 95379cb5dcd..b4b88385ec3 100644 --- a/vue/docs/api/smart-table/CSmartTableBody.api.html +++ b/vue/docs/api/smart-table/CSmartTableBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTableCleaner.api.html b/vue/docs/api/smart-table/CSmartTableCleaner.api.html index af6697e8157..729c39f410d 100644 --- a/vue/docs/api/smart-table/CSmartTableCleaner.api.html +++ b/vue/docs/api/smart-table/CSmartTableCleaner.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTableFilter.api.html b/vue/docs/api/smart-table/CSmartTableFilter.api.html index 05d39443203..f3f74c24a55 100644 --- a/vue/docs/api/smart-table/CSmartTableFilter.api.html +++ b/vue/docs/api/smart-table/CSmartTableFilter.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTableHead.api.html b/vue/docs/api/smart-table/CSmartTableHead.api.html index aae0d19aa44..8fe12e5fea3 100644 --- a/vue/docs/api/smart-table/CSmartTableHead.api.html +++ b/vue/docs/api/smart-table/CSmartTableHead.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html b/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html index c59cded9ad3..a72ffe9e8ba 100644 --- a/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html +++ b/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/spinner/CSpinner.api.html b/vue/docs/api/spinner/CSpinner.api.html index 797e80e883c..d9ccb8d0615 100644 --- a/vue/docs/api/spinner/CSpinner.api.html +++ b/vue/docs/api/spinner/CSpinner.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTable.api.html b/vue/docs/api/table/CTable.api.html index 94adabf3b73..348a4bcb6d4 100644 --- a/vue/docs/api/table/CTable.api.html +++ b/vue/docs/api/table/CTable.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableBody.api.html b/vue/docs/api/table/CTableBody.api.html index 4f5cf833e59..093a63a4c7b 100644 --- a/vue/docs/api/table/CTableBody.api.html +++ b/vue/docs/api/table/CTableBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableCaption.api.html b/vue/docs/api/table/CTableCaption.api.html index af9476386ef..ec04b7f5573 100644 --- a/vue/docs/api/table/CTableCaption.api.html +++ b/vue/docs/api/table/CTableCaption.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableDataCell.api.html b/vue/docs/api/table/CTableDataCell.api.html index f34bf6a37b7..6b43cbee4e8 100644 --- a/vue/docs/api/table/CTableDataCell.api.html +++ b/vue/docs/api/table/CTableDataCell.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableFoot.api.html b/vue/docs/api/table/CTableFoot.api.html index eac01a1c027..f21083cd681 100644 --- a/vue/docs/api/table/CTableFoot.api.html +++ b/vue/docs/api/table/CTableFoot.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableHead.api.html b/vue/docs/api/table/CTableHead.api.html index e62268c9155..28c7a910dc4 100644 --- a/vue/docs/api/table/CTableHead.api.html +++ b/vue/docs/api/table/CTableHead.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableHeaderCell.api.html b/vue/docs/api/table/CTableHeaderCell.api.html index 9c12b00a990..5fcc9fc32e6 100644 --- a/vue/docs/api/table/CTableHeaderCell.api.html +++ b/vue/docs/api/table/CTableHeaderCell.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/table/CTableRow.api.html b/vue/docs/api/table/CTableRow.api.html index b5215972b78..cb51ffcde3b 100644 --- a/vue/docs/api/table/CTableRow.api.html +++ b/vue/docs/api/table/CTableRow.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTab.api.html b/vue/docs/api/tabs/CTab.api.html index 915e4bcdbe5..a88d79065ba 100644 --- a/vue/docs/api/tabs/CTab.api.html +++ b/vue/docs/api/tabs/CTab.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTabContent.api.html b/vue/docs/api/tabs/CTabContent.api.html index c94c1e0c522..52c02d7232f 100644 --- a/vue/docs/api/tabs/CTabContent.api.html +++ b/vue/docs/api/tabs/CTabContent.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTabList.api.html b/vue/docs/api/tabs/CTabList.api.html index 10a14d79e07..a175f66944f 100644 --- a/vue/docs/api/tabs/CTabList.api.html +++ b/vue/docs/api/tabs/CTabList.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTabPane.api.html b/vue/docs/api/tabs/CTabPane.api.html index e26ca211357..349aa6c74f4 100644 --- a/vue/docs/api/tabs/CTabPane.api.html +++ b/vue/docs/api/tabs/CTabPane.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTabPanel.api.html b/vue/docs/api/tabs/CTabPanel.api.html index ad88a1343ba..370e85a78b1 100644 --- a/vue/docs/api/tabs/CTabPanel.api.html +++ b/vue/docs/api/tabs/CTabPanel.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tabs/CTabs.api.html b/vue/docs/api/tabs/CTabs.api.html index dcc0f170b13..6c356647545 100644 --- a/vue/docs/api/tabs/CTabs.api.html +++ b/vue/docs/api/tabs/CTabs.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/time-picker/CTimePicker.api.html b/vue/docs/api/time-picker/CTimePicker.api.html index 5c8ab4cabab..f2b6494f38b 100644 --- a/vue/docs/api/time-picker/CTimePicker.api.html +++ b/vue/docs/api/time-picker/CTimePicker.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/time-picker/CTimePickerRollCol.api.html b/vue/docs/api/time-picker/CTimePickerRollCol.api.html index 0ca76a18f91..f5e15af5aa1 100644 --- a/vue/docs/api/time-picker/CTimePickerRollCol.api.html +++ b/vue/docs/api/time-picker/CTimePickerRollCol.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/toast/CToast.api.html b/vue/docs/api/toast/CToast.api.html index ce2c32db535..bf287792518 100644 --- a/vue/docs/api/toast/CToast.api.html +++ b/vue/docs/api/toast/CToast.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/toast/CToastBody.api.html b/vue/docs/api/toast/CToastBody.api.html index 4c162c530ed..d8736fb76a5 100644 --- a/vue/docs/api/toast/CToastBody.api.html +++ b/vue/docs/api/toast/CToastBody.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/toast/CToastClose.api.html b/vue/docs/api/toast/CToastClose.api.html index 49353daa6ea..01e41b1a65a 100644 --- a/vue/docs/api/toast/CToastClose.api.html +++ b/vue/docs/api/toast/CToastClose.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/toast/CToastHeader.api.html b/vue/docs/api/toast/CToastHeader.api.html index 3660f55c399..07f766337ac 100644 --- a/vue/docs/api/toast/CToastHeader.api.html +++ b/vue/docs/api/toast/CToastHeader.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/toast/CToaster.api.html b/vue/docs/api/toast/CToaster.api.html index 7feb162d294..72d38f5bd0f 100644 --- a/vue/docs/api/toast/CToaster.api.html +++ b/vue/docs/api/toast/CToaster.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/tooltip/CTooltip.api.html b/vue/docs/api/tooltip/CTooltip.api.html index 9f5058ba715..33e988ff700 100644 --- a/vue/docs/api/tooltip/CTooltip.api.html +++ b/vue/docs/api/tooltip/CTooltip.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/virtual-scroller/CVirtualScroller.api.html b/vue/docs/api/virtual-scroller/CVirtualScroller.api.html index 9397e36b928..56a015bbb5f 100644 --- a/vue/docs/api/virtual-scroller/CVirtualScroller.api.html +++ b/vue/docs/api/virtual-scroller/CVirtualScroller.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsA.api.html b/vue/docs/api/widgets/CWidgetStatsA.api.html index b67f3a82b2b..22c87dbdfde 100644 --- a/vue/docs/api/widgets/CWidgetStatsA.api.html +++ b/vue/docs/api/widgets/CWidgetStatsA.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsB.api.html b/vue/docs/api/widgets/CWidgetStatsB.api.html index 63086ffaeec..04a97950a5f 100644 --- a/vue/docs/api/widgets/CWidgetStatsB.api.html +++ b/vue/docs/api/widgets/CWidgetStatsB.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsC.api.html b/vue/docs/api/widgets/CWidgetStatsC.api.html index 169e8910bec..0c843a9156d 100644 --- a/vue/docs/api/widgets/CWidgetStatsC.api.html +++ b/vue/docs/api/widgets/CWidgetStatsC.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsD.api.html b/vue/docs/api/widgets/CWidgetStatsD.api.html index 7a5de608a10..b8c58f984a3 100644 --- a/vue/docs/api/widgets/CWidgetStatsD.api.html +++ b/vue/docs/api/widgets/CWidgetStatsD.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsE.api.html b/vue/docs/api/widgets/CWidgetStatsE.api.html index 0fbb45a25e7..164491da5e8 100644 --- a/vue/docs/api/widgets/CWidgetStatsE.api.html +++ b/vue/docs/api/widgets/CWidgetStatsE.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/api/widgets/CWidgetStatsF.api.html b/vue/docs/api/widgets/CWidgetStatsF.api.html index d6152a258f8..f9bcde2b3c6 100644 --- a/vue/docs/api/widgets/CWidgetStatsF.api.html +++ b/vue/docs/api/widgets/CWidgetStatsF.api.html @@ -3,7 +3,7 @@ - + Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/assets/404.html-RliG702a.js b/vue/docs/assets/404.html-DU2TjE25.js similarity index 92% rename from vue/docs/assets/404.html-RliG702a.js rename to vue/docs/assets/404.html-DU2TjE25.js index 9bb521149ce..e50ae6ac8cb 100644 --- a/vue/docs/assets/404.html-RliG702a.js +++ b/vue/docs/assets/404.html-DU2TjE25.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, e as createBaseVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, o as openBlock, c as createElementBlock, b as createBaseVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("p", null, "404 Not Found", -1); const _hoisted_2 = [ diff --git a/vue/docs/assets/CAccordion.api.html-B6uisqsk.js b/vue/docs/assets/CAccordion.api.html-B6uisqsk.js new file mode 100644 index 00000000000..71a932776d8 --- /dev/null +++ b/vue/docs/assets/CAccordion.api.html-B6uisqsk.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordion #

import { CAccordion } from '@coreui/vue'\n// or\nimport CAccordion from '@coreui/vue/src/components/accordion/CAccordion'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--
always-openMake accordion items stay open when another item is openedboolean--
flushRemoves the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CAccordion_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordion.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/accordion/CAccordion.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordion.api.html"}]]},"headers":[{"level":3,"title":"CAccordion","slug":"caccordion","link":"#caccordion","children":[]}],"filePathRelative":"api/accordion/CAccordion.api.md"}'); +export { + CAccordion_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAccordion.api.html-BmmCbR4F.js b/vue/docs/assets/CAccordion.api.html-BmmCbR4F.js deleted file mode 100644 index ea5ad0cd802..00000000000 --- a/vue/docs/assets/CAccordion.api.html-BmmCbR4F.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordion

import { CAccordion } from '@coreui/vue'\n// or\nimport CAccordion from '@coreui/vue/src/components/accordion/CAccordion'\n

Props

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--
always-openMake accordion items stay open when another item is openedboolean--
flushRemoves the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CAccordion_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordion.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/accordion/CAccordion.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordion.api.html"}]]},"headers":[{"level":3,"title":"CAccordion","slug":"caccordion","link":"#caccordion","children":[]}],"filePathRelative":"api/accordion/CAccordion.api.md"}'); -export { - CAccordion_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAccordionBody.api.html-BxSpa71p.js b/vue/docs/assets/CAccordionBody.api.html-BxSpa71p.js new file mode 100644 index 00000000000..ae172b3887e --- /dev/null +++ b/vue/docs/assets/CAccordionBody.api.html-BxSpa71p.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionBody #

import { CAccordionBody } from '@coreui/vue'\n// or\nimport CAccordionBody from '@coreui/vue/src/components/accordion/CAccordionBody'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CAccordionBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/accordion/CAccordionBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionBody.api.html"}]]},"headers":[{"level":3,"title":"CAccordionBody","slug":"caccordionbody","link":"#caccordionbody","children":[]}],"filePathRelative":"api/accordion/CAccordionBody.api.md"}'); +export { + CAccordionBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAccordionBody.api.html-DnDWpn--.js b/vue/docs/assets/CAccordionBody.api.html-DnDWpn--.js deleted file mode 100644 index 0ae89876831..00000000000 --- a/vue/docs/assets/CAccordionBody.api.html-DnDWpn--.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionBody

import { CAccordionBody } from '@coreui/vue'\n// or\nimport CAccordionBody from '@coreui/vue/src/components/accordion/CAccordionBody'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CAccordionBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/accordion/CAccordionBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionBody.api.html"}]]},"headers":[{"level":3,"title":"CAccordionBody","slug":"caccordionbody","link":"#caccordionbody","children":[]}],"filePathRelative":"api/accordion/CAccordionBody.api.md"}'); -export { - CAccordionBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAccordionButton.api.html-BFZVkVlR.js b/vue/docs/assets/CAccordionButton.api.html-BFZVkVlR.js deleted file mode 100644 index 6e9d46ce3f8..00000000000 --- a/vue/docs/assets/CAccordionButton.api.html-BFZVkVlR.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionButton

import { CAccordionButton } from '@coreui/vue'\n// or\nimport CAccordionButton from '@coreui/vue/src/components/accordion/CAccordionButton'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CAccordionButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionButton.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/accordion/CAccordionButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionButton.api.html"}]]},"headers":[{"level":3,"title":"CAccordionButton","slug":"caccordionbutton","link":"#caccordionbutton","children":[]}],"filePathRelative":"api/accordion/CAccordionButton.api.md"}'); -export { - CAccordionButton_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAccordionButton.api.html-DPUd2qPX.js b/vue/docs/assets/CAccordionButton.api.html-DPUd2qPX.js new file mode 100644 index 00000000000..4837076b688 --- /dev/null +++ b/vue/docs/assets/CAccordionButton.api.html-DPUd2qPX.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionButton #

import { CAccordionButton } from '@coreui/vue'\n// or\nimport CAccordionButton from '@coreui/vue/src/components/accordion/CAccordionButton'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CAccordionButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionButton.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/accordion/CAccordionButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionButton.api.html"}]]},"headers":[{"level":3,"title":"CAccordionButton","slug":"caccordionbutton","link":"#caccordionbutton","children":[]}],"filePathRelative":"api/accordion/CAccordionButton.api.md"}'); +export { + CAccordionButton_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAccordionHeader.api.html-D3E3-RrY.js b/vue/docs/assets/CAccordionHeader.api.html-D3E3-RrY.js deleted file mode 100644 index 15e2d3cb8bf..00000000000 --- a/vue/docs/assets/CAccordionHeader.api.html-D3E3-RrY.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionHeader

import { CAccordionHeader } from '@coreui/vue'\n// or\nimport CAccordionHeader from '@coreui/vue/src/components/accordion/CAccordionHeader'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CAccordionHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/accordion/CAccordionHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionHeader.api.html"}]]},"headers":[{"level":3,"title":"CAccordionHeader","slug":"caccordionheader","link":"#caccordionheader","children":[]}],"filePathRelative":"api/accordion/CAccordionHeader.api.md"}'); -export { - CAccordionHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAccordionHeader.api.html-DhPR4UFM.js b/vue/docs/assets/CAccordionHeader.api.html-DhPR4UFM.js new file mode 100644 index 00000000000..53c82f4be3c --- /dev/null +++ b/vue/docs/assets/CAccordionHeader.api.html-DhPR4UFM.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionHeader #

import { CAccordionHeader } from '@coreui/vue'\n// or\nimport CAccordionHeader from '@coreui/vue/src/components/accordion/CAccordionHeader'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CAccordionHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/accordion/CAccordionHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionHeader.api.html"}]]},"headers":[{"level":3,"title":"CAccordionHeader","slug":"caccordionheader","link":"#caccordionheader","children":[]}],"filePathRelative":"api/accordion/CAccordionHeader.api.md"}'); +export { + CAccordionHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAccordionItem.api.html-B_Gvnaeq.js b/vue/docs/assets/CAccordionItem.api.html-B_Gvnaeq.js deleted file mode 100644 index 3c75f25e17f..00000000000 --- a/vue/docs/assets/CAccordionItem.api.html-B_Gvnaeq.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionItem

import { CAccordionItem } from '@coreui/vue'\n// or\nimport CAccordionItem from '@coreui/vue/src/components/accordion/CAccordionItem'\n

Props

Prop nameDescriptionTypeValuesDefault
item-keyThe item key.number|string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CAccordionItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/accordion/CAccordionItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionItem.api.html"}]]},"headers":[{"level":3,"title":"CAccordionItem","slug":"caccordionitem","link":"#caccordionitem","children":[]}],"filePathRelative":"api/accordion/CAccordionItem.api.md"}'); -export { - CAccordionItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAccordionItem.api.html-DZGPOsD9.js b/vue/docs/assets/CAccordionItem.api.html-DZGPOsD9.js new file mode 100644 index 00000000000..4d27f2e1f2d --- /dev/null +++ b/vue/docs/assets/CAccordionItem.api.html-DZGPOsD9.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAccordionItem #

import { CAccordionItem } from '@coreui/vue'\n// or\nimport CAccordionItem from '@coreui/vue/src/components/accordion/CAccordionItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
item-keyThe item key.number|string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CAccordionItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAccordionItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/accordion/CAccordionItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/accordion/CAccordionItem.api.html"}]]},"headers":[{"level":3,"title":"CAccordionItem","slug":"caccordionitem","link":"#caccordionitem","children":[]}],"filePathRelative":"api/accordion/CAccordionItem.api.md"}'); +export { + CAccordionItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAlert.api.html-BXIVhpa9.js b/vue/docs/assets/CAlert.api.html-BXIVhpa9.js new file mode 100644 index 00000000000..ce9deb39015 --- /dev/null +++ b/vue/docs/assets/CAlert.api.html-BXIVhpa9.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAlert #

import { CAlert } from '@coreui/vue'\n// or\nimport CAlert from '@coreui/vue/src/components/alert/CAlert'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
dismissibleOptionally add a close button to alert and allow it to self dismisss.boolean--
variantSet the alert variant to a solid.string'solid'-
visibleToggle the visibility of alert component.boolean-true

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CAlert_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlert.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/alert/CAlert.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlert.api.html"}]]},"headers":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]}],"filePathRelative":"api/alert/CAlert.api.md"}'); +export { + CAlert_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAlert.api.html-BXjHGX6m.js b/vue/docs/assets/CAlert.api.html-BXjHGX6m.js deleted file mode 100644 index 42cf9df6369..00000000000 --- a/vue/docs/assets/CAlert.api.html-BXjHGX6m.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAlert

import { CAlert } from '@coreui/vue'\n// or\nimport CAlert from '@coreui/vue/src/components/alert/CAlert'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
dismissibleOptionally add a close button to alert and allow it to self dismisss.boolean--
variantSet the alert variant to a solid.string'solid'-
visibleToggle the visibility of alert component.boolean-true

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CAlert_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlert.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/alert/CAlert.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlert.api.html"}]]},"headers":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]}],"filePathRelative":"api/alert/CAlert.api.md"}'); -export { - CAlert_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAlertHeading.api.html-BKJ9BC30.js b/vue/docs/assets/CAlertHeading.api.html-BKJ9BC30.js new file mode 100644 index 00000000000..144f5a48105 --- /dev/null +++ b/vue/docs/assets/CAlertHeading.api.html-BKJ9BC30.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAlertHeading #

import { CAlertHeading } from '@coreui/vue'\n// or\nimport CAlertHeading from '@coreui/vue/src/components/alert/CAlertHeading'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h4'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CAlertHeading_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlertHeading.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/alert/CAlertHeading.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlertHeading.api.html"}]]},"headers":[{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]}],"filePathRelative":"api/alert/CAlertHeading.api.md"}'); +export { + CAlertHeading_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAlertHeading.api.html-DoJskrT2.js b/vue/docs/assets/CAlertHeading.api.html-DoJskrT2.js deleted file mode 100644 index ad4299724c0..00000000000 --- a/vue/docs/assets/CAlertHeading.api.html-DoJskrT2.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAlertHeading

import { CAlertHeading } from '@coreui/vue'\n// or\nimport CAlertHeading from '@coreui/vue/src/components/alert/CAlertHeading'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h4'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CAlertHeading_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlertHeading.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/alert/CAlertHeading.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlertHeading.api.html"}]]},"headers":[{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]}],"filePathRelative":"api/alert/CAlertHeading.api.md"}'); -export { - CAlertHeading_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAlertLink.api.html-Be4cejDR.js b/vue/docs/assets/CAlertLink.api.html-Be4cejDR.js deleted file mode 100644 index f303909c7dc..00000000000 --- a/vue/docs/assets/CAlertLink.api.html-Be4cejDR.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CAlertLink } from '@coreui/vue'\n// or\nimport CAlertLink from '@coreui/vue/src/components/alert/CAlertLink'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CAlertLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlertLink.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/alert/CAlertLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlertLink.api.html"}]]},"headers":[{"level":3,"title":"CAlertLink","slug":"calertlink","link":"#calertlink","children":[]}],"filePathRelative":"api/alert/CAlertLink.api.md"}'); -export { - CAlertLink_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAlertLink.api.html-DG0vJpCf.js b/vue/docs/assets/CAlertLink.api.html-DG0vJpCf.js new file mode 100644 index 00000000000..2fc557e4623 --- /dev/null +++ b/vue/docs/assets/CAlertLink.api.html-DG0vJpCf.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CAlertLink } from '@coreui/vue'\n// or\nimport CAlertLink from '@coreui/vue/src/components/alert/CAlertLink'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CAlertLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAlertLink.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/alert/CAlertLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/alert/CAlertLink.api.html"}]]},"headers":[{"level":3,"title":"CAlertLink","slug":"calertlink","link":"#calertlink","children":[]}],"filePathRelative":"api/alert/CAlertLink.api.md"}'); +export { + CAlertLink_api_html as comp, + data +}; diff --git a/vue/docs/assets/CAvatar.api.html-BTqEczbV.js b/vue/docs/assets/CAvatar.api.html-BTqEczbV.js deleted file mode 100644 index d3608cee543..00000000000 --- a/vue/docs/assets/CAvatar.api.html-BTqEczbV.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAvatar

import { CAvatar } from '@coreui/vue'\n// or\nimport CAvatar from '@coreui/vue/src/components/avatar/CAvatar'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small, large, or extra large.string'sm', 'md', 'lg', 'xl'-
srcThe src attribute for the img element.string--
statusSets the color context of the status indicator to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CAvatar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAvatar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/avatar/CAvatar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/avatar/CAvatar.api.html"}]]},"headers":[{"level":3,"title":"CAvatar","slug":"cavatar","link":"#cavatar","children":[]}],"filePathRelative":"api/avatar/CAvatar.api.md"}'); -export { - CAvatar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CAvatar.api.html-CKyQof1f.js b/vue/docs/assets/CAvatar.api.html-CKyQof1f.js new file mode 100644 index 00000000000..8deecadaf3a --- /dev/null +++ b/vue/docs/assets/CAvatar.api.html-CKyQof1f.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CAvatar #

import { CAvatar } from '@coreui/vue'\n// or\nimport CAvatar from '@coreui/vue/src/components/avatar/CAvatar'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small, large, or extra large.string'sm', 'md', 'lg', 'xl'-
srcThe src attribute for the img element.string--
statusSets the color context of the status indicator to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CAvatar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CAvatar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/avatar/CAvatar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/avatar/CAvatar.api.html"}]]},"headers":[{"level":3,"title":"CAvatar","slug":"cavatar","link":"#cavatar","children":[]}],"filePathRelative":"api/avatar/CAvatar.api.md"}'); +export { + CAvatar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CBackdrop.api.html-BlEIpUAI.js b/vue/docs/assets/CBackdrop.api.html-BlEIpUAI.js new file mode 100644 index 00000000000..fb847ef1ce5 --- /dev/null +++ b/vue/docs/assets/CBackdrop.api.html-BlEIpUAI.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBackdrop #

import { CBackdrop } from '@coreui/vue'\n// or\nimport CBackdrop from '@coreui/vue/src/components/backdrop/CBackdrop'\n

Props #

Prop nameDescriptionTypeValuesDefault
visibleToggle the visibility of modal component.boolean-false
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CBackdrop_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBackdrop.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/backdrop/CBackdrop.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/backdrop/CBackdrop.api.html"}]]},"headers":[{"level":3,"title":"CBackdrop","slug":"cbackdrop","link":"#cbackdrop","children":[]}],"filePathRelative":"api/backdrop/CBackdrop.api.md"}'); +export { + CBackdrop_api_html as comp, + data +}; diff --git a/vue/docs/assets/CBackdrop.api.html-DAmzayp3.js b/vue/docs/assets/CBackdrop.api.html-DAmzayp3.js deleted file mode 100644 index 43bf3626041..00000000000 --- a/vue/docs/assets/CBackdrop.api.html-DAmzayp3.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBackdrop

import { CBackdrop } from '@coreui/vue'\n// or\nimport CBackdrop from '@coreui/vue/src/components/backdrop/CBackdrop'\n

Props

Prop nameDescriptionTypeValuesDefault
visibleToggle the visibility of modal component.boolean-false
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CBackdrop_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBackdrop.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/backdrop/CBackdrop.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/backdrop/CBackdrop.api.html"}]]},"headers":[{"level":3,"title":"CBackdrop","slug":"cbackdrop","link":"#cbackdrop","children":[]}],"filePathRelative":"api/backdrop/CBackdrop.api.md"}'); -export { - CBackdrop_api_html as comp, - data -}; diff --git a/vue/docs/assets/CBadge.api.html-CgAts6f4.js b/vue/docs/assets/CBadge.api.html-CgAts6f4.js deleted file mode 100644 index 98b5ebdc080..00000000000 --- a/vue/docs/assets/CBadge.api.html-CgAts6f4.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBadge

import { CBadge } from '@coreui/vue'\n// or\nimport CBadge from '@coreui/vue/src/components/badge/CBadge'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
positionPosition badge in one of the corners of a link or button.string'top-start', 'top-end', 'bottom-end', 'bottom-start'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small.string'sm'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CBadge_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBadge.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/badge/CBadge.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/badge/CBadge.api.html"}]]},"headers":[{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]}],"filePathRelative":"api/badge/CBadge.api.md"}'); -export { - CBadge_api_html as comp, - data -}; diff --git a/vue/docs/assets/CBadge.api.html-FxK3PsZy.js b/vue/docs/assets/CBadge.api.html-FxK3PsZy.js new file mode 100644 index 00000000000..9955755fda2 --- /dev/null +++ b/vue/docs/assets/CBadge.api.html-FxK3PsZy.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBadge #

import { CBadge } from '@coreui/vue'\n// or\nimport CBadge from '@coreui/vue/src/components/badge/CBadge'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
positionPosition badge in one of the corners of a link or button.string'top-start', 'top-end', 'bottom-end', 'bottom-start'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small.string'sm'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CBadge_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBadge.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/badge/CBadge.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/badge/CBadge.api.html"}]]},"headers":[{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]}],"filePathRelative":"api/badge/CBadge.api.md"}'); +export { + CBadge_api_html as comp, + data +}; diff --git a/vue/docs/assets/CBreadcrumb.api.html-5lgjZmeY.js b/vue/docs/assets/CBreadcrumb.api.html-5lgjZmeY.js new file mode 100644 index 00000000000..e2a0ca02fed --- /dev/null +++ b/vue/docs/assets/CBreadcrumb.api.html-5lgjZmeY.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBreadcrumb #

import { CBreadcrumb } from '@coreui/vue'\n// or\nimport CBreadcrumb from '@coreui/vue/src/components/breadcrumb/CBreadcrumb'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CBreadcrumb_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBreadcrumb.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/breadcrumb/CBreadcrumb.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/breadcrumb/CBreadcrumb.api.html"}]]},"headers":[{"level":3,"title":"CBreadcrumb","slug":"cbreadcrumb","link":"#cbreadcrumb","children":[]}],"filePathRelative":"api/breadcrumb/CBreadcrumb.api.md"}'); +export { + CBreadcrumb_api_html as comp, + data +}; diff --git a/vue/docs/assets/CBreadcrumb.api.html-DqwjKss4.js b/vue/docs/assets/CBreadcrumb.api.html-DqwjKss4.js deleted file mode 100644 index df996037c94..00000000000 --- a/vue/docs/assets/CBreadcrumb.api.html-DqwjKss4.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBreadcrumb

import { CBreadcrumb } from '@coreui/vue'\n// or\nimport CBreadcrumb from '@coreui/vue/src/components/breadcrumb/CBreadcrumb'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CBreadcrumb_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBreadcrumb.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/breadcrumb/CBreadcrumb.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/breadcrumb/CBreadcrumb.api.html"}]]},"headers":[{"level":3,"title":"CBreadcrumb","slug":"cbreadcrumb","link":"#cbreadcrumb","children":[]}],"filePathRelative":"api/breadcrumb/CBreadcrumb.api.md"}'); -export { - CBreadcrumb_api_html as comp, - data -}; diff --git a/vue/docs/assets/CBreadcrumbItem.api.html-CPH_CfEm.js b/vue/docs/assets/CBreadcrumbItem.api.html-CPH_CfEm.js new file mode 100644 index 00000000000..16dabceeb80 --- /dev/null +++ b/vue/docs/assets/CBreadcrumbItem.api.html-CPH_CfEm.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBreadcrumbItem #

import { CBreadcrumbItem } from '@coreui/vue'\n// or\nimport CBreadcrumbItem from '@coreui/vue/src/components/breadcrumb/CBreadcrumbItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
hrefThe href attribute for the inner link component.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CBreadcrumbItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBreadcrumbItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/breadcrumb/CBreadcrumbItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html"}]]},"headers":[{"level":3,"title":"CBreadcrumbItem","slug":"cbreadcrumbitem","link":"#cbreadcrumbitem","children":[]}],"filePathRelative":"api/breadcrumb/CBreadcrumbItem.api.md"}'); +export { + CBreadcrumbItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CBreadcrumbItem.api.html-r9RgIwJD.js b/vue/docs/assets/CBreadcrumbItem.api.html-r9RgIwJD.js deleted file mode 100644 index cd56aeddd1e..00000000000 --- a/vue/docs/assets/CBreadcrumbItem.api.html-r9RgIwJD.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CBreadcrumbItem

import { CBreadcrumbItem } from '@coreui/vue'\n// or\nimport CBreadcrumbItem from '@coreui/vue/src/components/breadcrumb/CBreadcrumbItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
hrefThe href attribute for the inner link component.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CBreadcrumbItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CBreadcrumbItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/breadcrumb/CBreadcrumbItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/breadcrumb/CBreadcrumbItem.api.html"}]]},"headers":[{"level":3,"title":"CBreadcrumbItem","slug":"cbreadcrumbitem","link":"#cbreadcrumbitem","children":[]}],"filePathRelative":"api/breadcrumb/CBreadcrumbItem.api.md"}'); -export { - CBreadcrumbItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CButton.api.html-CiQ_g2gW.js b/vue/docs/assets/CButton.api.html-CiQ_g2gW.js new file mode 100644 index 00000000000..9e73d720e19 --- /dev/null +++ b/vue/docs/assets/CButton.api.html-CiQ_g2gW.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButton #

import { CButton } from '@coreui/vue'\n// or\nimport CButton from '@coreui/vue/src/components/button/CButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small or large.string'sm', 'lg'-
typeSpecifies the type of button. Always specify the type attribute for the <button> element.
Different browsers may use different default types for the <button> element.
string'button', 'submit', 'reset''button'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on the button.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButton.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/button/CButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button/CButton.api.html"}]]},"headers":[{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]}],"filePathRelative":"api/button/CButton.api.md"}'); +export { + CButton_api_html as comp, + data +}; diff --git a/vue/docs/assets/CButton.api.html-ekRjLD2P.js b/vue/docs/assets/CButton.api.html-ekRjLD2P.js deleted file mode 100644 index 558086887ca..00000000000 --- a/vue/docs/assets/CButton.api.html-ekRjLD2P.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButton

import { CButton } from '@coreui/vue'\n// or\nimport CButton from '@coreui/vue/src/components/button/CButton'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small or large.string'sm', 'lg'-
typeSpecifies the type of button. Always specify the type attribute for the <button> element.
Different browsers may use different default types for the <button> element.
string'button', 'submit', 'reset''button'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on the button.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButton.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/button/CButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button/CButton.api.html"}]]},"headers":[{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]}],"filePathRelative":"api/button/CButton.api.md"}'); -export { - CButton_api_html as comp, - data -}; diff --git a/vue/docs/assets/CButtonGroup.api.html-BVG1ANZ_.js b/vue/docs/assets/CButtonGroup.api.html-BVG1ANZ_.js new file mode 100644 index 00000000000..0fa9a67c79d --- /dev/null +++ b/vue/docs/assets/CButtonGroup.api.html-BVG1ANZ_.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButtonGroup #

import { CButtonGroup } from '@coreui/vue'\n// or\nimport CButtonGroup from '@coreui/vue/src/components/button-group/CButtonGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
verticalCreate a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CButtonGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButtonGroup.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/button-group/CButtonGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button-group/CButtonGroup.api.html"}]]},"headers":[{"level":3,"title":"CButtonGroup","slug":"cbuttongroup","link":"#cbuttongroup","children":[]}],"filePathRelative":"api/button-group/CButtonGroup.api.md"}'); +export { + CButtonGroup_api_html as comp, + data +}; diff --git a/vue/docs/assets/CButtonGroup.api.html-D0mJf4Og.js b/vue/docs/assets/CButtonGroup.api.html-D0mJf4Og.js deleted file mode 100644 index 3de720abb1f..00000000000 --- a/vue/docs/assets/CButtonGroup.api.html-D0mJf4Og.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButtonGroup

import { CButtonGroup } from '@coreui/vue'\n// or\nimport CButtonGroup from '@coreui/vue/src/components/button-group/CButtonGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
verticalCreate a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CButtonGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButtonGroup.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/button-group/CButtonGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button-group/CButtonGroup.api.html"}]]},"headers":[{"level":3,"title":"CButtonGroup","slug":"cbuttongroup","link":"#cbuttongroup","children":[]}],"filePathRelative":"api/button-group/CButtonGroup.api.md"}'); -export { - CButtonGroup_api_html as comp, - data -}; diff --git a/vue/docs/assets/CButtonToolbar.api.html-BLBUlnfS.js b/vue/docs/assets/CButtonToolbar.api.html-BLBUlnfS.js new file mode 100644 index 00000000000..95026ad0e7c --- /dev/null +++ b/vue/docs/assets/CButtonToolbar.api.html-BLBUlnfS.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButtonToolbar #

import { CButtonToolbar } from '@coreui/vue'\n// or\nimport CButtonToolbar from '@coreui/vue/src/components/button-group/CButtonToolbar'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CButtonToolbar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButtonToolbar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/button-group/CButtonToolbar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button-group/CButtonToolbar.api.html"}]]},"headers":[{"level":3,"title":"CButtonToolbar","slug":"cbuttontoolbar","link":"#cbuttontoolbar","children":[]}],"filePathRelative":"api/button-group/CButtonToolbar.api.md"}'); +export { + CButtonToolbar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CButtonToolbar.api.html-IKoND_KL.js b/vue/docs/assets/CButtonToolbar.api.html-IKoND_KL.js deleted file mode 100644 index 92283769f12..00000000000 --- a/vue/docs/assets/CButtonToolbar.api.html-IKoND_KL.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CButtonToolbar

import { CButtonToolbar } from '@coreui/vue'\n// or\nimport CButtonToolbar from '@coreui/vue/src/components/button-group/CButtonToolbar'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CButtonToolbar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CButtonToolbar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/button-group/CButtonToolbar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/button-group/CButtonToolbar.api.html"}]]},"headers":[{"level":3,"title":"CButtonToolbar","slug":"cbuttontoolbar","link":"#cbuttontoolbar","children":[]}],"filePathRelative":"api/button-group/CButtonToolbar.api.md"}'); -export { - CButtonToolbar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCalendar.api.html-77BmaEcE.js b/vue/docs/assets/CCalendar.api.html-77BmaEcE.js new file mode 100644 index 00000000000..bd407672c03 --- /dev/null +++ b/vue/docs/assets/CCalendar.api.html-77BmaEcE.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCalendar #

import { CCalendar } from '@coreui/vue'\n// or\nimport CCalendar from '@coreui/vue/src/components/calendar/CCalendar'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendar-dateDefault date of the component--
calendarsThe number of calendars that render on desktop devices.number-1
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.--
min-dateMin selectable date.--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
rangeAllow range selection.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
start-dateInitial selected date.--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
date-hoverCallback fired when the user hovers over the calendar cell.date Date | null - undefined
calendar-date-changeCallback fired when the calendar date changed.date Date | null - undefined
start-date-changeCallback fired when the start date changed.date Date | null - undefined
end-date-changeCallback fired when the end date changed.date Date | null - undefined
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CCalendar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCalendar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/calendar/CCalendar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/calendar/CCalendar.api.html"}]]},"headers":[{"level":3,"title":"CCalendar","slug":"ccalendar","link":"#ccalendar","children":[]}],"filePathRelative":"api/calendar/CCalendar.api.md"}'); +export { + CCalendar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCalendar.api.html-C4aT9FYA.js b/vue/docs/assets/CCalendar.api.html-C4aT9FYA.js deleted file mode 100644 index 16875cce8ca..00000000000 --- a/vue/docs/assets/CCalendar.api.html-C4aT9FYA.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCalendar

import { CCalendar } from '@coreui/vue'\n// or\nimport CCalendar from '@coreui/vue/src/components/calendar/CCalendar'\n

Props

Prop nameDescriptionTypeValuesDefault
calendar-dateDefault date of the component--
calendarsThe number of calendars that render on desktop devices.number-1
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.--
min-dateMin selectable date.--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
rangeAllow range selection.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
start-dateInitial selected date.--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
date-hoverCallback fired when the user hovers over the calendar cell.date Date | null - undefined
calendar-date-changeCallback fired when the calendar date changed.date Date | null - undefined
start-date-changeCallback fired when the start date changed.date Date | null - undefined
end-date-changeCallback fired when the end date changed.date Date | null - undefined
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CCalendar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCalendar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/calendar/CCalendar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/calendar/CCalendar.api.html"}]]},"headers":[{"level":3,"title":"CCalendar","slug":"ccalendar","link":"#ccalendar","children":[]}],"filePathRelative":"api/calendar/CCalendar.api.md"}'); -export { - CCalendar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCallout.api.html-DiF4unWf.js b/vue/docs/assets/CCallout.api.html-DiF4unWf.js deleted file mode 100644 index a4a57e1be11..00000000000 --- a/vue/docs/assets/CCallout.api.html-DiF4unWf.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCallout

import { CCallout } from '@coreui/vue'\n// or\nimport CCallout from '@coreui/vue/src/components/callout/CCallout'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCallout_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCallout.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/callout/CCallout.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/callout/CCallout.api.html"}]]},"headers":[{"level":3,"title":"CCallout","slug":"ccallout","link":"#ccallout","children":[]}],"filePathRelative":"api/callout/CCallout.api.md"}'); -export { - CCallout_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCallout.api.html-KoizcUs-.js b/vue/docs/assets/CCallout.api.html-KoizcUs-.js new file mode 100644 index 00000000000..f21b832ba36 --- /dev/null +++ b/vue/docs/assets/CCallout.api.html-KoizcUs-.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCallout #

import { CCallout } from '@coreui/vue'\n// or\nimport CCallout from '@coreui/vue/src/components/callout/CCallout'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCallout_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCallout.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/callout/CCallout.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/callout/CCallout.api.html"}]]},"headers":[{"level":3,"title":"CCallout","slug":"ccallout","link":"#ccallout","children":[]}],"filePathRelative":"api/callout/CCallout.api.md"}'); +export { + CCallout_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCard.api.html-BmbaZsmK.js b/vue/docs/assets/CCard.api.html-BmbaZsmK.js deleted file mode 100644 index b9c3bad5e76..00000000000 --- a/vue/docs/assets/CCard.api.html-BmbaZsmK.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCard

import { CCard } from '@coreui/vue'\n// or\nimport CCard from '@coreui/vue/src/components/card/CCard'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCard_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCard.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCard.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCard.api.html"}]]},"headers":[{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]}],"filePathRelative":"api/card/CCard.api.md"}'); -export { - CCard_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCard.api.html-CWzyD8X0.js b/vue/docs/assets/CCard.api.html-CWzyD8X0.js new file mode 100644 index 00000000000..bf79fb94bb8 --- /dev/null +++ b/vue/docs/assets/CCard.api.html-CWzyD8X0.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCard #

import { CCard } from '@coreui/vue'\n// or\nimport CCard from '@coreui/vue/src/components/card/CCard'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCard_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCard.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCard.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCard.api.html"}]]},"headers":[{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]}],"filePathRelative":"api/card/CCard.api.md"}'); +export { + CCard_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardBody.api.html-BECQVBUH.js b/vue/docs/assets/CCardBody.api.html-BECQVBUH.js new file mode 100644 index 00000000000..9327991d578 --- /dev/null +++ b/vue/docs/assets/CCardBody.api.html-BECQVBUH.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardBody #

import { CCardBody } from '@coreui/vue'\n// or\nimport CCardBody from '@coreui/vue/src/components/card/CCardBody'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CCardBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardBody.api.html"}]]},"headers":[{"level":3,"title":"CCardBody","slug":"ccardbody","link":"#ccardbody","children":[]}],"filePathRelative":"api/card/CCardBody.api.md"}'); +export { + CCardBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardBody.api.html-D0-tGYrD.js b/vue/docs/assets/CCardBody.api.html-D0-tGYrD.js deleted file mode 100644 index fe2578a95fa..00000000000 --- a/vue/docs/assets/CCardBody.api.html-D0-tGYrD.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardBody

import { CCardBody } from '@coreui/vue'\n// or\nimport CCardBody from '@coreui/vue/src/components/card/CCardBody'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CCardBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardBody.api.html"}]]},"headers":[{"level":3,"title":"CCardBody","slug":"ccardbody","link":"#ccardbody","children":[]}],"filePathRelative":"api/card/CCardBody.api.md"}'); -export { - CCardBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardFooter.api.html-CI_3qzYg.js b/vue/docs/assets/CCardFooter.api.html-CI_3qzYg.js new file mode 100644 index 00000000000..1618eb9f1a1 --- /dev/null +++ b/vue/docs/assets/CCardFooter.api.html-CI_3qzYg.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardFooter #

import { CCardFooter } from '@coreui/vue'\n// or\nimport CCardFooter from '@coreui/vue/src/components/card/CCardFooter'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CCardFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardFooter.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardFooter.api.html"}]]},"headers":[{"level":3,"title":"CCardFooter","slug":"ccardfooter","link":"#ccardfooter","children":[]}],"filePathRelative":"api/card/CCardFooter.api.md"}'); +export { + CCardFooter_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardFooter.api.html-CiSjk2NS.js b/vue/docs/assets/CCardFooter.api.html-CiSjk2NS.js deleted file mode 100644 index 62805ce05cb..00000000000 --- a/vue/docs/assets/CCardFooter.api.html-CiSjk2NS.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardFooter

import { CCardFooter } from '@coreui/vue'\n// or\nimport CCardFooter from '@coreui/vue/src/components/card/CCardFooter'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CCardFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardFooter.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardFooter.api.html"}]]},"headers":[{"level":3,"title":"CCardFooter","slug":"ccardfooter","link":"#ccardfooter","children":[]}],"filePathRelative":"api/card/CCardFooter.api.md"}'); -export { - CCardFooter_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardGroup.api.html-BABSBoJe.js b/vue/docs/assets/CCardGroup.api.html-BABSBoJe.js deleted file mode 100644 index 77abac0864d..00000000000 --- a/vue/docs/assets/CCardGroup.api.html-BABSBoJe.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardGroup

import { CCardGroup } from '@coreui/vue'\n// or\nimport CCardGroup from '@coreui/vue/src/components/card/CCardGroup'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CCardGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardGroup.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardGroup.api.html"}]]},"headers":[{"level":3,"title":"CCardGroup","slug":"ccardgroup","link":"#ccardgroup","children":[]}],"filePathRelative":"api/card/CCardGroup.api.md"}'); -export { - CCardGroup_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardGroup.api.html-DH7EZxGl.js b/vue/docs/assets/CCardGroup.api.html-DH7EZxGl.js new file mode 100644 index 00000000000..49ac24ffeeb --- /dev/null +++ b/vue/docs/assets/CCardGroup.api.html-DH7EZxGl.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardGroup #

import { CCardGroup } from '@coreui/vue'\n// or\nimport CCardGroup from '@coreui/vue/src/components/card/CCardGroup'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CCardGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardGroup.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardGroup.api.html"}]]},"headers":[{"level":3,"title":"CCardGroup","slug":"ccardgroup","link":"#ccardgroup","children":[]}],"filePathRelative":"api/card/CCardGroup.api.md"}'); +export { + CCardGroup_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardHeader.api.html-CWFYp2G5.js b/vue/docs/assets/CCardHeader.api.html-CWFYp2G5.js new file mode 100644 index 00000000000..fbe86341f5c --- /dev/null +++ b/vue/docs/assets/CCardHeader.api.html-CWFYp2G5.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardHeader #

import { CCardHeader } from '@coreui/vue'\n// or\nimport CCardHeader from '@coreui/vue/src/components/card/CCardHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardHeader.api.html"}]]},"headers":[{"level":3,"title":"CCardHeader","slug":"ccardheader","link":"#ccardheader","children":[]}],"filePathRelative":"api/card/CCardHeader.api.md"}'); +export { + CCardHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardHeader.api.html-D5ZqQVdw.js b/vue/docs/assets/CCardHeader.api.html-D5ZqQVdw.js deleted file mode 100644 index 54b4eaed490..00000000000 --- a/vue/docs/assets/CCardHeader.api.html-D5ZqQVdw.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardHeader

import { CCardHeader } from '@coreui/vue'\n// or\nimport CCardHeader from '@coreui/vue/src/components/card/CCardHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardHeader.api.html"}]]},"headers":[{"level":3,"title":"CCardHeader","slug":"ccardheader","link":"#ccardheader","children":[]}],"filePathRelative":"api/card/CCardHeader.api.md"}'); -export { - CCardHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardImage.api.html-BBnb9-GW.js b/vue/docs/assets/CCardImage.api.html-BBnb9-GW.js deleted file mode 100644 index 54f2c21eabf..00000000000 --- a/vue/docs/assets/CCardImage.api.html-BBnb9-GW.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardImage

import { CCardImage } from '@coreui/vue'\n// or\nimport CCardImage from '@coreui/vue/src/components/card/CCardImage'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'img'
orientationOptionally orientate the image to the top, bottom.string'top', 'bottom'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardImage_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardImage.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardImage.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardImage.api.html"}]]},"headers":[{"level":3,"title":"CCardImage","slug":"ccardimage","link":"#ccardimage","children":[]}],"filePathRelative":"api/card/CCardImage.api.md"}'); -export { - CCardImage_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardImage.api.html-CUCskHkB.js b/vue/docs/assets/CCardImage.api.html-CUCskHkB.js new file mode 100644 index 00000000000..2551b2b5b67 --- /dev/null +++ b/vue/docs/assets/CCardImage.api.html-CUCskHkB.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardImage #

import { CCardImage } from '@coreui/vue'\n// or\nimport CCardImage from '@coreui/vue/src/components/card/CCardImage'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'img'
orientationOptionally orientate the image to the top, bottom.string'top', 'bottom'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardImage_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardImage.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardImage.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardImage.api.html"}]]},"headers":[{"level":3,"title":"CCardImage","slug":"ccardimage","link":"#ccardimage","children":[]}],"filePathRelative":"api/card/CCardImage.api.md"}'); +export { + CCardImage_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardImageOverlay.api.html-CNgKoO9s.js b/vue/docs/assets/CCardImageOverlay.api.html-CNgKoO9s.js new file mode 100644 index 00000000000..0349485b393 --- /dev/null +++ b/vue/docs/assets/CCardImageOverlay.api.html-CNgKoO9s.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardImageOverlay #

import { CCardImageOverlay } from '@coreui/vue'\n// or\nimport CCardImageOverlay from '@coreui/vue/src/components/card/CCardImageOverlay'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CCardImageOverlay_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardImageOverlay.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardImageOverlay.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardImageOverlay.api.html"}]]},"headers":[{"level":3,"title":"CCardImageOverlay","slug":"ccardimageoverlay","link":"#ccardimageoverlay","children":[]}],"filePathRelative":"api/card/CCardImageOverlay.api.md"}'); +export { + CCardImageOverlay_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardImageOverlay.api.html-TpPKznie.js b/vue/docs/assets/CCardImageOverlay.api.html-TpPKznie.js deleted file mode 100644 index dcf897cffd6..00000000000 --- a/vue/docs/assets/CCardImageOverlay.api.html-TpPKznie.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardImageOverlay

import { CCardImageOverlay } from '@coreui/vue'\n// or\nimport CCardImageOverlay from '@coreui/vue/src/components/card/CCardImageOverlay'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CCardImageOverlay_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardImageOverlay.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardImageOverlay.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardImageOverlay.api.html"}]]},"headers":[{"level":3,"title":"CCardImageOverlay","slug":"ccardimageoverlay","link":"#ccardimageoverlay","children":[]}],"filePathRelative":"api/card/CCardImageOverlay.api.md"}'); -export { - CCardImageOverlay_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardLink.api.html-Dxett-Ui.js b/vue/docs/assets/CCardLink.api.html-Dxett-Ui.js new file mode 100644 index 00000000000..c41b69e15c9 --- /dev/null +++ b/vue/docs/assets/CCardLink.api.html-Dxett-Ui.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CCardLink } from '@coreui/vue'\n// or\nimport CCardLink from '@coreui/vue/src/components/card/CCardLink'\n

Props #

Prop nameDescriptionTypeValuesDefault
hrefThe href attribute specifies the URL of the page the link goes to.string-'#'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardLink.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardLink.api.html"}]]},"headers":[{"level":3,"title":"CCardLink","slug":"ccardlink","link":"#ccardlink","children":[]}],"filePathRelative":"api/card/CCardLink.api.md"}'); +export { + CCardLink_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardLink.api.html-MlyoVRZ4.js b/vue/docs/assets/CCardLink.api.html-MlyoVRZ4.js deleted file mode 100644 index 05d326c320d..00000000000 --- a/vue/docs/assets/CCardLink.api.html-MlyoVRZ4.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CCardLink } from '@coreui/vue'\n// or\nimport CCardLink from '@coreui/vue/src/components/card/CCardLink'\n

Props

Prop nameDescriptionTypeValuesDefault
hrefThe href attribute specifies the URL of the page the link goes to.string-'#'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardLink.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardLink.api.html"}]]},"headers":[{"level":3,"title":"CCardLink","slug":"ccardlink","link":"#ccardlink","children":[]}],"filePathRelative":"api/card/CCardLink.api.md"}'); -export { - CCardLink_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardSubtitle.api.html-Cl-ezx9Z.js b/vue/docs/assets/CCardSubtitle.api.html-Cl-ezx9Z.js deleted file mode 100644 index a9e17957d1b..00000000000 --- a/vue/docs/assets/CCardSubtitle.api.html-Cl-ezx9Z.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardSubtitle

import { CCardSubtitle } from '@coreui/vue'\n// or\nimport CCardSubtitle from '@coreui/vue/src/components/card/CCardSubtitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardSubtitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardSubtitle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardSubtitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardSubtitle.api.html"}]]},"headers":[{"level":3,"title":"CCardSubtitle","slug":"ccardsubtitle","link":"#ccardsubtitle","children":[]}],"filePathRelative":"api/card/CCardSubtitle.api.md"}'); -export { - CCardSubtitle_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardSubtitle.api.html-Dh4UbxxY.js b/vue/docs/assets/CCardSubtitle.api.html-Dh4UbxxY.js new file mode 100644 index 00000000000..c75fad6fb90 --- /dev/null +++ b/vue/docs/assets/CCardSubtitle.api.html-Dh4UbxxY.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardSubtitle #

import { CCardSubtitle } from '@coreui/vue'\n// or\nimport CCardSubtitle from '@coreui/vue/src/components/card/CCardSubtitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardSubtitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardSubtitle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardSubtitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardSubtitle.api.html"}]]},"headers":[{"level":3,"title":"CCardSubtitle","slug":"ccardsubtitle","link":"#ccardsubtitle","children":[]}],"filePathRelative":"api/card/CCardSubtitle.api.md"}'); +export { + CCardSubtitle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardText.api.html-Bg0_JF9j.js b/vue/docs/assets/CCardText.api.html-Bg0_JF9j.js new file mode 100644 index 00000000000..d0d68b39304 --- /dev/null +++ b/vue/docs/assets/CCardText.api.html-Bg0_JF9j.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardText #

import { CCardText } from '@coreui/vue'\n// or\nimport CCardText from '@coreui/vue/src/components/card/CCardText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'p'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardText.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardText.api.html"}]]},"headers":[{"level":3,"title":"CCardText","slug":"ccardtext","link":"#ccardtext","children":[]}],"filePathRelative":"api/card/CCardText.api.md"}'); +export { + CCardText_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCardText.api.html-CeB8bETl.js b/vue/docs/assets/CCardText.api.html-CeB8bETl.js deleted file mode 100644 index 8f0e0072fae..00000000000 --- a/vue/docs/assets/CCardText.api.html-CeB8bETl.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardText

import { CCardText } from '@coreui/vue'\n// or\nimport CCardText from '@coreui/vue/src/components/card/CCardText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'p'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardText.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardText.api.html"}]]},"headers":[{"level":3,"title":"CCardText","slug":"ccardtext","link":"#ccardtext","children":[]}],"filePathRelative":"api/card/CCardText.api.md"}'); -export { - CCardText_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardTitle.api.html-BIewfA00.js b/vue/docs/assets/CCardTitle.api.html-BIewfA00.js deleted file mode 100644 index 82b1773efb9..00000000000 --- a/vue/docs/assets/CCardTitle.api.html-BIewfA00.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardTitle

import { CCardTitle } from '@coreui/vue'\n// or\nimport CCardTitle from '@coreui/vue/src/components/card/CCardTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCardTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardTitle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/card/CCardTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardTitle.api.html"}]]},"headers":[{"level":3,"title":"CCardTitle","slug":"ccardtitle","link":"#ccardtitle","children":[]}],"filePathRelative":"api/card/CCardTitle.api.md"}'); -export { - CCardTitle_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCardTitle.api.html-Cvqug47a.js b/vue/docs/assets/CCardTitle.api.html-Cvqug47a.js new file mode 100644 index 00000000000..2ddcf246930 --- /dev/null +++ b/vue/docs/assets/CCardTitle.api.html-Cvqug47a.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCardTitle #

import { CCardTitle } from '@coreui/vue'\n// or\nimport CCardTitle from '@coreui/vue/src/components/card/CCardTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCardTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCardTitle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/card/CCardTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/card/CCardTitle.api.html"}]]},"headers":[{"level":3,"title":"CCardTitle","slug":"ccardtitle","link":"#ccardtitle","children":[]}],"filePathRelative":"api/card/CCardTitle.api.md"}'); +export { + CCardTitle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCarousel.api.html-B6WYH3KM.js b/vue/docs/assets/CCarousel.api.html-B6WYH3KM.js deleted file mode 100644 index c3530f7fa86..00000000000 --- a/vue/docs/assets/CCarousel.api.html-B6WYH3KM.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarousel

import { CCarousel } from '@coreui/vue'\n// or\nimport CCarousel from '@coreui/vue/src/components/carousel/CCarousel'\n

Props

Prop nameDescriptionTypeValuesDefault
controlsAdding in the previous and next controls.boolean--
darkAdd darker controls, indicators, and captions.boolean--
indexindex of the active item.number-0
indicatorsAdding indicators at the bottom of the carousel for each item.boolean--
intervalThe amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.boolean|number-5000
pauseIf 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.boolean|string-'hover'
transitionSet type of the transition.string'crossfade', 'slide''slide'
wrapSet whether the carousel should cycle continuously or have hard stops.boolean-true
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCarousel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarousel.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/carousel/CCarousel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarousel.api.html"}]]},"headers":[{"level":3,"title":"CCarousel","slug":"ccarousel","link":"#ccarousel","children":[]}],"filePathRelative":"api/carousel/CCarousel.api.md"}'); -export { - CCarousel_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCarousel.api.html-DvQ7vBAQ.js b/vue/docs/assets/CCarousel.api.html-DvQ7vBAQ.js new file mode 100644 index 00000000000..f587fb57c02 --- /dev/null +++ b/vue/docs/assets/CCarousel.api.html-DvQ7vBAQ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarousel #

import { CCarousel } from '@coreui/vue'\n// or\nimport CCarousel from '@coreui/vue/src/components/carousel/CCarousel'\n

Props #

Prop nameDescriptionTypeValuesDefault
controlsAdding in the previous and next controls.boolean--
darkAdd darker controls, indicators, and captions.boolean--
indexindex of the active item.number-0
indicatorsAdding indicators at the bottom of the carousel for each item.boolean--
intervalThe amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.boolean|number-5000
pauseIf 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.boolean|string-'hover'
transitionSet type of the transition.string'crossfade', 'slide''slide'
wrapSet whether the carousel should cycle continuously or have hard stops.boolean-true
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCarousel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarousel.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/carousel/CCarousel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarousel.api.html"}]]},"headers":[{"level":3,"title":"CCarousel","slug":"ccarousel","link":"#ccarousel","children":[]}],"filePathRelative":"api/carousel/CCarousel.api.md"}'); +export { + CCarousel_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCarouselCaption.api.html-CJ2Co3Eg.js b/vue/docs/assets/CCarouselCaption.api.html-CJ2Co3Eg.js deleted file mode 100644 index 33f96c4af15..00000000000 --- a/vue/docs/assets/CCarouselCaption.api.html-CJ2Co3Eg.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarouselCaption

import { CCarouselCaption } from '@coreui/vue'\n// or\nimport CCarouselCaption from '@coreui/vue/src/components/carousel/CCarouselCaption'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CCarouselCaption_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarouselCaption.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/carousel/CCarouselCaption.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarouselCaption.api.html"}]]},"headers":[{"level":3,"title":"CCarouselCaption","slug":"ccarouselcaption","link":"#ccarouselcaption","children":[]}],"filePathRelative":"api/carousel/CCarouselCaption.api.md"}'); -export { - CCarouselCaption_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCarouselCaption.api.html-Ry9R9ID5.js b/vue/docs/assets/CCarouselCaption.api.html-Ry9R9ID5.js new file mode 100644 index 00000000000..c546de9e60b --- /dev/null +++ b/vue/docs/assets/CCarouselCaption.api.html-Ry9R9ID5.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarouselCaption #

import { CCarouselCaption } from '@coreui/vue'\n// or\nimport CCarouselCaption from '@coreui/vue/src/components/carousel/CCarouselCaption'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CCarouselCaption_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarouselCaption.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/carousel/CCarouselCaption.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarouselCaption.api.html"}]]},"headers":[{"level":3,"title":"CCarouselCaption","slug":"ccarouselcaption","link":"#ccarouselcaption","children":[]}],"filePathRelative":"api/carousel/CCarouselCaption.api.md"}'); +export { + CCarouselCaption_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCarouselItem.api.html-Bx_efOFH.js b/vue/docs/assets/CCarouselItem.api.html-Bx_efOFH.js deleted file mode 100644 index d210d5fbd83..00000000000 --- a/vue/docs/assets/CCarouselItem.api.html-Bx_efOFH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarouselItem

import { CCarouselItem } from '@coreui/vue'\n// or\nimport CCarouselItem from '@coreui/vue/src/components/carousel/CCarouselItem'\n

Props

Prop nameDescriptionTypeValuesDefault
intervalThe amount of time to delay between automatically cycling an item.boolean|number-false
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCarouselItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarouselItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/carousel/CCarouselItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarouselItem.api.html"}]]},"headers":[{"level":3,"title":"CCarouselItem","slug":"ccarouselitem","link":"#ccarouselitem","children":[]}],"filePathRelative":"api/carousel/CCarouselItem.api.md"}'); -export { - CCarouselItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCarouselItem.api.html-CQ58r3xO.js b/vue/docs/assets/CCarouselItem.api.html-CQ58r3xO.js new file mode 100644 index 00000000000..45802641754 --- /dev/null +++ b/vue/docs/assets/CCarouselItem.api.html-CQ58r3xO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCarouselItem #

import { CCarouselItem } from '@coreui/vue'\n// or\nimport CCarouselItem from '@coreui/vue/src/components/carousel/CCarouselItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
intervalThe amount of time to delay between automatically cycling an item.boolean|number-false
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCarouselItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCarouselItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/carousel/CCarouselItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/carousel/CCarouselItem.api.html"}]]},"headers":[{"level":3,"title":"CCarouselItem","slug":"ccarouselitem","link":"#ccarouselitem","children":[]}],"filePathRelative":"api/carousel/CCarouselItem.api.md"}'); +export { + CCarouselItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CChart.api.html-BFRT-Fhg.js b/vue/docs/assets/CChart.api.html-BFRT-Fhg.js deleted file mode 100644 index d5c2bbae115..00000000000 --- a/vue/docs/assets/CChart.api.html-BFRT-Fhg.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CChart

import { CChart } from '@coreui/vue-chartjs'\n// or\nimport CChart from '@coreui/vue-chartjs/src/CChart'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-tooltipsEnables custom html based tooltips instead of standard tooltips.
@default true
boolean-true
dataThe data object that is passed into the Chart.js chart (more info).ChartData | ((canvas: HTMLCanvasElement) => ChartData)--
heightHeight attribute applied to the rendered canvas.
@default 150
number-150
idID attribute applied to the rendered canvas.string--
optionsThe options object that is passed into the Chart.js chartRef.value.

{@link https://www.chartjs.org/docs/latest/general/options.html More Info}
ChartOptions--
pluginsThe plugins array that is passed into the Chart.js chart (more info)

{@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info}
Plugin[]--
redrawIf true, will tear down and redraw chart on all updates.boolean--
typeChart.js chart type.
@type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter'
ChartType-'bar'
widthWidth attribute applied to the rendered canvas.
@default 300
number-300
wrapperPut the chart into the wrapper div element.
@default true
boolean-true

Events

Event nameDescriptionProperties
get-dataset-at-eventProxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event.
get-element-at-eventProxy for Chart.js getElementAtEvent. Calls with single element array and triggering event.
get-elements-at-eventProxy for Chart.js getElementsAtEvent. Calls with element array and triggering event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CChart_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CChart.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/CChart.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/CChart.api.html"}]]},"headers":[{"level":3,"title":"CChart","slug":"cchart","link":"#cchart","children":[]}],"filePathRelative":"api/CChart.api.md"}'); -export { - CChart_api_html as comp, - data -}; diff --git a/vue/docs/assets/CChart.api.html-BPKhb3Ee.js b/vue/docs/assets/CChart.api.html-BPKhb3Ee.js new file mode 100644 index 00000000000..e1df57e3f7c --- /dev/null +++ b/vue/docs/assets/CChart.api.html-BPKhb3Ee.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CChart #

import { CChart } from '@coreui/vue-chartjs'\n// or\nimport CChart from '@coreui/vue-chartjs/src/CChart'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-tooltipsEnables custom html based tooltips instead of standard tooltips.
@default true
boolean-true
dataThe data object that is passed into the Chart.js chart (more info).ChartData | ((canvas: HTMLCanvasElement) => ChartData)--
heightHeight attribute applied to the rendered canvas.
@default 150
number-150
idID attribute applied to the rendered canvas.string--
optionsThe options object that is passed into the Chart.js chartRef.value.

{@link https://www.chartjs.org/docs/latest/general/options.html More Info}
ChartOptions--
pluginsThe plugins array that is passed into the Chart.js chart (more info)

{@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info}
Plugin[]--
redrawIf true, will tear down and redraw chart on all updates.boolean--
typeChart.js chart type.
@type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter'
ChartType-'bar'
widthWidth attribute applied to the rendered canvas.
@default 300
number-300
wrapperPut the chart into the wrapper div element.
@default true
boolean-true

Events #

Event nameDescriptionProperties
get-dataset-at-eventProxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event.
get-element-at-eventProxy for Chart.js getElementAtEvent. Calls with single element array and triggering event.
get-elements-at-eventProxy for Chart.js getElementsAtEvent. Calls with element array and triggering event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CChart_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CChart.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/CChart.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/CChart.api.html"}]]},"headers":[{"level":3,"title":"CChart","slug":"cchart","link":"#cchart","children":[]}],"filePathRelative":"api/CChart.api.md"}'); +export { + CChart_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCloseButton.api.html-DVHA5VBo.js b/vue/docs/assets/CCloseButton.api.html-DVHA5VBo.js new file mode 100644 index 00000000000..25dc34b86a0 --- /dev/null +++ b/vue/docs/assets/CCloseButton.api.html-DVHA5VBo.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCloseButton #

import { CCloseButton } from '@coreui/vue'\n// or\nimport CCloseButton from '@coreui/vue/src/components/close-button/CCloseButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
darkInvert the default color.boolean--
disabledToggle the disabled state for the component.boolean--
whiteChange the default color to white.boolean--

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CCloseButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCloseButton.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/close-button/CCloseButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/close-button/CCloseButton.api.html"}]]},"headers":[{"level":3,"title":"CCloseButton","slug":"cclosebutton","link":"#cclosebutton","children":[]}],"filePathRelative":"api/close-button/CCloseButton.api.md"}'); +export { + CCloseButton_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCloseButton.api.html-X5Fmd0Tk.js b/vue/docs/assets/CCloseButton.api.html-X5Fmd0Tk.js deleted file mode 100644 index 3ea6381e958..00000000000 --- a/vue/docs/assets/CCloseButton.api.html-X5Fmd0Tk.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCloseButton

import { CCloseButton } from '@coreui/vue'\n// or\nimport CCloseButton from '@coreui/vue/src/components/close-button/CCloseButton'\n

Props

Prop nameDescriptionTypeValuesDefault
darkInvert the default color.boolean--
disabledToggle the disabled state for the component.boolean--
whiteChange the default color to white.boolean--

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CCloseButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCloseButton.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/close-button/CCloseButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/close-button/CCloseButton.api.html"}]]},"headers":[{"level":3,"title":"CCloseButton","slug":"cclosebutton","link":"#cclosebutton","children":[]}],"filePathRelative":"api/close-button/CCloseButton.api.md"}'); -export { - CCloseButton_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCol.api.html-DFGWxu75.js b/vue/docs/assets/CCol.api.html-DFGWxu75.js deleted file mode 100644 index 85d09a8b528..00000000000 --- a/vue/docs/assets/CCol.api.html-DFGWxu75.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCol

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CCol_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCol.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/grid/CCol.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CCol.api.html"}]]},"headers":[{"level":3,"title":"CCol","slug":"ccol","link":"#ccol","children":[]}],"filePathRelative":"api/grid/CCol.api.md"}'); -export { - CCol_api_html as comp, - data -}; diff --git a/vue/docs/assets/CCol.api.html-Fe-NnVcD.js b/vue/docs/assets/CCol.api.html-Fe-NnVcD.js new file mode 100644 index 00000000000..ede7501eab1 --- /dev/null +++ b/vue/docs/assets/CCol.api.html-Fe-NnVcD.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCol #

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CCol_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCol.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/grid/CCol.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CCol.api.html"}]]},"headers":[{"level":3,"title":"CCol","slug":"ccol","link":"#ccol","children":[]}],"filePathRelative":"api/grid/CCol.api.md"}'); +export { + CCol_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCollapse.api.html-CxTOAM8U.js b/vue/docs/assets/CCollapse.api.html-CxTOAM8U.js new file mode 100644 index 00000000000..bbf580420d4 --- /dev/null +++ b/vue/docs/assets/CCollapse.api.html-CxTOAM8U.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCollapse #

import { CCollapse } from '@coreui/vue'\n// or\nimport CCollapse from '@coreui/vue/src/components/collapse/CCollapse'\n

Props #

Prop nameDescriptionTypeValuesDefault
horizontalSet horizontal collapsing to transition the width instead of height.boolean--
visibleToggle the visibility of component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CCollapse_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCollapse.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/collapse/CCollapse.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/collapse/CCollapse.api.html"}]]},"headers":[{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]}],"filePathRelative":"api/collapse/CCollapse.api.md"}'); +export { + CCollapse_api_html as comp, + data +}; diff --git a/vue/docs/assets/CCollapse.api.html-zVmsFw74.js b/vue/docs/assets/CCollapse.api.html-zVmsFw74.js deleted file mode 100644 index a754cafa797..00000000000 --- a/vue/docs/assets/CCollapse.api.html-zVmsFw74.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CCollapse

import { CCollapse } from '@coreui/vue'\n// or\nimport CCollapse from '@coreui/vue/src/components/collapse/CCollapse'\n

Props

Prop nameDescriptionTypeValuesDefault
horizontalSet horizontal collapsing to transition the width instead of height.boolean--
visibleToggle the visibility of component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CCollapse_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CCollapse.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/collapse/CCollapse.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/collapse/CCollapse.api.html"}]]},"headers":[{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]}],"filePathRelative":"api/collapse/CCollapse.api.md"}'); -export { - CCollapse_api_html as comp, - data -}; diff --git a/vue/docs/assets/CConditionalTeleport.api.html-7PMLb_Wk.js b/vue/docs/assets/CConditionalTeleport.api.html-7PMLb_Wk.js deleted file mode 100644 index 4437145edfc..00000000000 --- a/vue/docs/assets/CConditionalTeleport.api.html-7PMLb_Wk.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CConditionalTeleport

import { CConditionalTeleport } from '@coreui/vue'\n// or\nimport CConditionalTeleport from '@coreui/vue/src/components/conditional-teleport/CConditionalTeleport'\n

Props

Prop nameDescriptionTypeValuesDefault
container
v5.0.0+
An HTML element or function that returns a single element, with document.body as the default.HTMLElement | (() => HTMLElement) | string-'body'
teleportRender some children into a different part of the DOMboolean-true
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CConditionalTeleport_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CConditionalTeleport.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/conditional-teleport/CConditionalTeleport.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html"}]]},"headers":[{"level":3,"title":"CConditionalTeleport","slug":"cconditionalteleport","link":"#cconditionalteleport","children":[]}],"filePathRelative":"api/conditional-teleport/CConditionalTeleport.api.md"}'); -export { - CConditionalTeleport_api_html as comp, - data -}; diff --git a/vue/docs/assets/CConditionalTeleport.api.html-BsPLiQQG.js b/vue/docs/assets/CConditionalTeleport.api.html-BsPLiQQG.js new file mode 100644 index 00000000000..8612ff717f3 --- /dev/null +++ b/vue/docs/assets/CConditionalTeleport.api.html-BsPLiQQG.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CConditionalTeleport #

import { CConditionalTeleport } from '@coreui/vue'\n// or\nimport CConditionalTeleport from '@coreui/vue/src/components/conditional-teleport/CConditionalTeleport'\n

Props #

Prop nameDescriptionTypeValuesDefault
container
5.0.0+
An HTML element or function that returns a single element, with document.body as the default.HTMLElement | (() => HTMLElement) | string-'body'
teleportRender some children into a different part of the DOMboolean-true
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CConditionalTeleport_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CConditionalTeleport.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/conditional-teleport/CConditionalTeleport.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/conditional-teleport/CConditionalTeleport.api.html"}]]},"headers":[{"level":3,"title":"CConditionalTeleport","slug":"cconditionalteleport","link":"#cconditionalteleport","children":[]}],"filePathRelative":"api/conditional-teleport/CConditionalTeleport.api.md"}'); +export { + CConditionalTeleport_api_html as comp, + data +}; diff --git a/vue/docs/assets/CContainer.api.html-CJReqk6k.js b/vue/docs/assets/CContainer.api.html-CJReqk6k.js deleted file mode 100644 index ed96c78a30f..00000000000 --- a/vue/docs/assets/CContainer.api.html-CJReqk6k.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CContainer

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CContainer_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CContainer.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/grid/CContainer.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CContainer.api.html"}]]},"headers":[{"level":3,"title":"CContainer","slug":"ccontainer","link":"#ccontainer","children":[]}],"filePathRelative":"api/grid/CContainer.api.md"}'); -export { - CContainer_api_html as comp, - data -}; diff --git a/vue/docs/assets/CContainer.api.html-O3JlICl7.js b/vue/docs/assets/CContainer.api.html-O3JlICl7.js new file mode 100644 index 00000000000..0db0695dbbc --- /dev/null +++ b/vue/docs/assets/CContainer.api.html-O3JlICl7.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CContainer #

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props #

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CContainer_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CContainer.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/grid/CContainer.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CContainer.api.html"}]]},"headers":[{"level":3,"title":"CContainer","slug":"ccontainer","link":"#ccontainer","children":[]}],"filePathRelative":"api/grid/CContainer.api.md"}'); +export { + CContainer_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDatePicker.api.html-BmlaHdUZ.js b/vue/docs/assets/CDatePicker.api.html-BmlaHdUZ.js deleted file mode 100644 index a55aece4abe..00000000000 --- a/vue/docs/assets/CDatePicker.api.html-BmlaHdUZ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDatePicker

import { CDatePicker } from '@coreui/vue-pro'\n// or\nimport CDatePicker from '@coreui/vue-pro/src/components/date-picker/CDatePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
dateInitial selected date.date|string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.

[Deprecated since v5.3.0] The name attributes for input element is generated based on this property until you define name prop ex.:
- {id}-date
string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-read-onlyToggle the readonly state for the component.boolean--
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input element.string--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string-'Select date'
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
sizeSize the component small or large.string'sm', 'lg'-
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
date-changeCallback fired when the date changed.date Date - date object
formatedDate string - formated date
update:dateCallback fired when the date changed.date Date | null - date object
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CDatePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDatePicker.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/date-picker/CDatePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/date-picker/CDatePicker.api.html"}]]},"headers":[{"level":3,"title":"CDatePicker","slug":"cdatepicker","link":"#cdatepicker","children":[]}],"filePathRelative":"api/date-picker/CDatePicker.api.md"}'); -export { - CDatePicker_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDatePicker.api.html-C1Ro8UbJ.js b/vue/docs/assets/CDatePicker.api.html-C1Ro8UbJ.js new file mode 100644 index 00000000000..1b49744143a --- /dev/null +++ b/vue/docs/assets/CDatePicker.api.html-C1Ro8UbJ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDatePicker #

import { CDatePicker } from '@coreui/vue-pro'\n// or\nimport CDatePicker from '@coreui/vue-pro/src/components/date-picker/CDatePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
dateInitial selected date.date|string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.

[Deprecated since v5.3.0] The name attributes for input element is generated based on this property until you define name prop ex.:
- {id}-date
string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-read-onlyToggle the readonly state for the component.boolean--
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input element.string--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string-'Select date'
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
sizeSize the component small or large.string'sm', 'lg'-
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
date-changeCallback fired when the date changed.date Date - date object
formatedDate string - formated date
update:dateCallback fired when the date changed.date Date | null - date object
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CDatePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDatePicker.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/date-picker/CDatePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/date-picker/CDatePicker.api.html"}]]},"headers":[{"level":3,"title":"CDatePicker","slug":"cdatepicker","link":"#cdatepicker","children":[]}],"filePathRelative":"api/date-picker/CDatePicker.api.md"}'); +export { + CDatePicker_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDateRangePicker.api.html-BXCpvTjX.js b/vue/docs/assets/CDateRangePicker.api.html-BXCpvTjX.js new file mode 100644 index 00000000000..427e55f761d --- /dev/null +++ b/vue/docs/assets/CDateRangePicker.api.html-BXCpvTjX.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDateRangePicker #

import { CDateRangePicker } from '@coreui/vue-pro'\n// or\nimport CDateRangePicker from '@coreui/vue-pro/src/components/date-range-picker/CDateRangePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendarsThe number of calendars that render on desktop devices.number-2
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
close-on-select
4.7.0+
If true the dropdown will be immediately closed after submitting the full date.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).date|string--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the IDs unique. Alternatively, you can use an array of two strings for start and end dates separately.

[Deprecated since v5.3.0] If the property is a type of string, the name attributes for input elements are generated based on this property until you define name prop ex.:
- {id}-start-date
- {id}-end-date
string | [string, string]--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the names unique. Alternatively, you can use an array of two strings for start and end dates separately.

Example for single string: 'date-input'
Result: 'date-input-start-date', 'date-input-end-date'

Example for array: ['start-date-input', 'end-date-input']
Result: 'start-date-input', 'end-date-input'
string | [string, string]--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string | [string, string]-() => ['Start date', 'End date']
rangesPredefined date ranges the user can select from.object--
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
separatorDefault icon or character character that separates two dates.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
start-dateInitial selected date.date|string--
text
4.6.0+
Add helper text to the component.string--
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
today-buttonToggle visibility or set the content of today button.boolean|string-'Today'
today-button-colorSets the color context of the today button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
today-button-sizeSize the today button small or large.string'sm', 'lg''sm'
today-button-variantSet the today button variant to an outlined button or a ghost button.string'ghost', 'outline'-
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
visibleToggle the visibility of the component.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
end-date-changeCallback fired when the end date changed.date Date - date object
formatedDate string - formated date
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
start-date-changeCallback fired when the start date changed.date Date - date object
formatedDate string - formated date
update:start-dateCallback fired when the start date changed.date Date | null - date object
update:end-dateCallback fired when the end date changed.date Date | null - date object
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CDateRangePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDateRangePicker.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/date-range-picker/CDateRangePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/date-range-picker/CDateRangePicker.api.html"}]]},"headers":[{"level":3,"title":"CDateRangePicker","slug":"cdaterangepicker","link":"#cdaterangepicker","children":[]}],"filePathRelative":"api/date-range-picker/CDateRangePicker.api.md"}'); +export { + CDateRangePicker_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDateRangePicker.api.html-Hlubmql2.js b/vue/docs/assets/CDateRangePicker.api.html-Hlubmql2.js deleted file mode 100644 index 3c2eda5e8d8..00000000000 --- a/vue/docs/assets/CDateRangePicker.api.html-Hlubmql2.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDateRangePicker

import { CDateRangePicker } from '@coreui/vue-pro'\n// or\nimport CDateRangePicker from '@coreui/vue-pro/src/components/date-range-picker/CDateRangePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
calendarsThe number of calendars that render on desktop devices.number-2
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
close-on-select
4.7.0+
If true the dropdown will be immediately closed after submitting the full date.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).date|string--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the IDs unique. Alternatively, you can use an array of two strings for start and end dates separately.

[Deprecated since v5.3.0] If the property is a type of string, the name attributes for input elements are generated based on this property until you define name prop ex.:
- {id}-start-date
- {id}-end-date
string | [string, string]--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the names unique. Alternatively, you can use an array of two strings for start and end dates separately.

Example for single string: 'date-input'
Result: 'date-input-start-date', 'date-input-end-date'

Example for array: ['start-date-input', 'end-date-input']
Result: 'start-date-input', 'end-date-input'
string | [string, string]--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string | [string, string]-() => ['Start date', 'End date']
rangesPredefined date ranges the user can select from.object--
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
separatorDefault icon or character character that separates two dates.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
start-dateInitial selected date.date|string--
text
4.6.0+
Add helper text to the component.string--
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
today-buttonToggle visibility or set the content of today button.boolean|string-'Today'
today-button-colorSets the color context of the today button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
today-button-sizeSize the today button small or large.string'sm', 'lg''sm'
today-button-variantSet the today button variant to an outlined button or a ghost button.string'ghost', 'outline'-
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
visibleToggle the visibility of the component.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
end-date-changeCallback fired when the end date changed.date Date - date object
formatedDate string - formated date
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
start-date-changeCallback fired when the start date changed.date Date - date object
formatedDate string - formated date
update:start-dateCallback fired when the start date changed.date Date | null - date object
update:end-dateCallback fired when the end date changed.date Date | null - date object
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CDateRangePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDateRangePicker.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/date-range-picker/CDateRangePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/date-range-picker/CDateRangePicker.api.html"}]]},"headers":[{"level":3,"title":"CDateRangePicker","slug":"cdaterangepicker","link":"#cdaterangepicker","children":[]}],"filePathRelative":"api/date-range-picker/CDateRangePicker.api.md"}'); -export { - CDateRangePicker_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdown.api.html-DGIxjfQ3.js b/vue/docs/assets/CDropdown.api.html-DGIxjfQ3.js deleted file mode 100644 index 16d374dfc04..00000000000 --- a/vue/docs/assets/CDropdown.api.html-DGIxjfQ3.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdown

import { CDropdown } from '@coreui/vue'\n// or\nimport CDropdown from '@coreui/vue/src/components/dropdown/CDropdown'\n

Props

Prop nameDescriptionTypeValuesDefault
alignmentSet aligment of dropdown menu.string | Alignments{ 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }-
auto-closeConfigure the auto close behavior of the dropdown:
- true - the dropdown will be closed by clicking outside or inside the dropdown menu.
- false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)
- 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu.
- 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu.
boolean|string-true
container
v5.0.0+
Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
darkSets a darker color scheme to match a dark navbar.boolean--
directionSets a specified direction and location of the dropdown menu.string'center', 'dropup', 'dropup-center', 'dropend', 'dropstart'-
disabledToggle the disabled state for the component.boolean--
offset
4.9.0+
Offset of the dropdown menu relative to its target.array-[0, 2]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement'auto', 'top-end', 'top', 'top-start', 'bottom-end', 'bottom', 'bottom-start', 'right-start', 'right', 'right-end', 'left-start', 'left', 'left-end''bottom-start'
popperIf you want to disable dynamic positioning set this property to true.boolean-true
teleport
v5.0.0+
Generates dropdown menu using Teleport.boolean-false
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers-'click'
variantSet the dropdown variant to an btn-group, dropdown, input-group, and nav-item.string'btn-group', 'dropdown', 'input-group', 'nav-item''btn-group'
visibleToggle the visibility of dropdown menu component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CDropdown_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdown.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdown.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdown.api.html"}]]},"headers":[{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]}],"filePathRelative":"api/dropdown/CDropdown.api.md"}'); -export { - CDropdown_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdown.api.html-DVi36nMQ.js b/vue/docs/assets/CDropdown.api.html-DVi36nMQ.js new file mode 100644 index 00000000000..73117b1fef6 --- /dev/null +++ b/vue/docs/assets/CDropdown.api.html-DVi36nMQ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdown #

import { CDropdown } from '@coreui/vue'\n// or\nimport CDropdown from '@coreui/vue/src/components/dropdown/CDropdown'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignmentSet aligment of dropdown menu.string | Alignments{ 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }-
auto-closeConfigure the auto close behavior of the dropdown:
- true - the dropdown will be closed by clicking outside or inside the dropdown menu.
- false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)
- 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu.
- 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu.
boolean|string-true
container
5.0.0+
Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
darkSets a darker color scheme to match a dark navbar.boolean--
directionSets a specified direction and location of the dropdown menu.string'center', 'dropup', 'dropup-center', 'dropend', 'dropstart'-
disabledToggle the disabled state for the component.boolean--
offset
4.9.0+
Offset of the dropdown menu relative to its target.array-[0, 2]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement'auto', 'top-end', 'top', 'top-start', 'bottom-end', 'bottom', 'bottom-start', 'right-start', 'right', 'right-end', 'left-start', 'left', 'left-end''bottom-start'
popperIf you want to disable dynamic positioning set this property to true.boolean-true
teleport
5.0.0+
Generates dropdown menu using Teleport.boolean-false
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers-'click'
variantSet the dropdown variant to an btn-group, dropdown, input-group, and nav-item.string'btn-group', 'dropdown', 'input-group', 'nav-item''btn-group'
visibleToggle the visibility of dropdown menu component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CDropdown_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdown.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdown.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdown.api.html"}]]},"headers":[{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]}],"filePathRelative":"api/dropdown/CDropdown.api.md"}'); +export { + CDropdown_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownDivider.api.html-DRPOqN6s.js b/vue/docs/assets/CDropdownDivider.api.html-DRPOqN6s.js new file mode 100644 index 00000000000..b98c6267c9a --- /dev/null +++ b/vue/docs/assets/CDropdownDivider.api.html-DRPOqN6s.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownDivider #

import { CDropdownDivider } from '@coreui/vue'\n// or\nimport CDropdownDivider from '@coreui/vue/src/components/dropdown/CDropdownDivider'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CDropdownDivider_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownDivider.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdownDivider.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownDivider.api.html"}]]},"headers":[{"level":3,"title":"CDropdownDivider","slug":"cdropdowndivider","link":"#cdropdowndivider","children":[]}],"filePathRelative":"api/dropdown/CDropdownDivider.api.md"}'); +export { + CDropdownDivider_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownDivider.api.html-VSQ_XlFl.js b/vue/docs/assets/CDropdownDivider.api.html-VSQ_XlFl.js deleted file mode 100644 index a6b25c80419..00000000000 --- a/vue/docs/assets/CDropdownDivider.api.html-VSQ_XlFl.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownDivider

import { CDropdownDivider } from '@coreui/vue'\n// or\nimport CDropdownDivider from '@coreui/vue/src/components/dropdown/CDropdownDivider'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CDropdownDivider_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownDivider.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdownDivider.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownDivider.api.html"}]]},"headers":[{"level":3,"title":"CDropdownDivider","slug":"cdropdowndivider","link":"#cdropdowndivider","children":[]}],"filePathRelative":"api/dropdown/CDropdownDivider.api.md"}'); -export { - CDropdownDivider_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdownHeader.api.html-BFaZEh4a.js b/vue/docs/assets/CDropdownHeader.api.html-BFaZEh4a.js new file mode 100644 index 00000000000..e5fcfc8e926 --- /dev/null +++ b/vue/docs/assets/CDropdownHeader.api.html-BFaZEh4a.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownHeader #

import { CDropdownHeader } from '@coreui/vue'\n// or\nimport CDropdownHeader from '@coreui/vue/src/components/dropdown/CDropdownHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CDropdownHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdownHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownHeader.api.html"}]]},"headers":[{"level":3,"title":"CDropdownHeader","slug":"cdropdownheader","link":"#cdropdownheader","children":[]}],"filePathRelative":"api/dropdown/CDropdownHeader.api.md"}'); +export { + CDropdownHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownHeader.api.html-Cxpz-KV-.js b/vue/docs/assets/CDropdownHeader.api.html-Cxpz-KV-.js deleted file mode 100644 index a874a61efc1..00000000000 --- a/vue/docs/assets/CDropdownHeader.api.html-Cxpz-KV-.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownHeader

import { CDropdownHeader } from '@coreui/vue'\n// or\nimport CDropdownHeader from '@coreui/vue/src/components/dropdown/CDropdownHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CDropdownHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdownHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownHeader.api.html"}]]},"headers":[{"level":3,"title":"CDropdownHeader","slug":"cdropdownheader","link":"#cdropdownheader","children":[]}],"filePathRelative":"api/dropdown/CDropdownHeader.api.md"}'); -export { - CDropdownHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdownItem.api.html-BVulLqSR.js b/vue/docs/assets/CDropdownItem.api.html-BVulLqSR.js deleted file mode 100644 index 7d2f0c1f37f..00000000000 --- a/vue/docs/assets/CDropdownItem.api.html-BVulLqSR.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownItem

import { CDropdownItem } from '@coreui/vue'\n// or\nimport CDropdownItem from '@coreui/vue/src/components/dropdown/CDropdownItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CDropdownItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdownItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownItem.api.html"}]]},"headers":[{"level":3,"title":"CDropdownItem","slug":"cdropdownitem","link":"#cdropdownitem","children":[]}],"filePathRelative":"api/dropdown/CDropdownItem.api.md"}'); -export { - CDropdownItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdownItem.api.html-YfOt4ZPU.js b/vue/docs/assets/CDropdownItem.api.html-YfOt4ZPU.js new file mode 100644 index 00000000000..59429787ce9 --- /dev/null +++ b/vue/docs/assets/CDropdownItem.api.html-YfOt4ZPU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownItem #

import { CDropdownItem } from '@coreui/vue'\n// or\nimport CDropdownItem from '@coreui/vue/src/components/dropdown/CDropdownItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CDropdownItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdownItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownItem.api.html"}]]},"headers":[{"level":3,"title":"CDropdownItem","slug":"cdropdownitem","link":"#cdropdownitem","children":[]}],"filePathRelative":"api/dropdown/CDropdownItem.api.md"}'); +export { + CDropdownItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownMenu.api.html-BOqkAy5z.js b/vue/docs/assets/CDropdownMenu.api.html-BOqkAy5z.js new file mode 100644 index 00000000000..c1b78d52e8b --- /dev/null +++ b/vue/docs/assets/CDropdownMenu.api.html-BOqkAy5z.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownMenu #

import { CDropdownMenu } from '@coreui/vue'\n// or\nimport CDropdownMenu from '@coreui/vue/src/components/dropdown/CDropdownMenu'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string'div', 'ul''div'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CDropdownMenu_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownMenu.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdownMenu.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownMenu.api.html"}]]},"headers":[{"level":3,"title":"CDropdownMenu","slug":"cdropdownmenu","link":"#cdropdownmenu","children":[]}],"filePathRelative":"api/dropdown/CDropdownMenu.api.md"}'); +export { + CDropdownMenu_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownMenu.api.html-BckpImA4.js b/vue/docs/assets/CDropdownMenu.api.html-BckpImA4.js deleted file mode 100644 index 8bae8636275..00000000000 --- a/vue/docs/assets/CDropdownMenu.api.html-BckpImA4.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownMenu

import { CDropdownMenu } from '@coreui/vue'\n// or\nimport CDropdownMenu from '@coreui/vue/src/components/dropdown/CDropdownMenu'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string'div', 'ul''div'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CDropdownMenu_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownMenu.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdownMenu.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownMenu.api.html"}]]},"headers":[{"level":3,"title":"CDropdownMenu","slug":"cdropdownmenu","link":"#cdropdownmenu","children":[]}],"filePathRelative":"api/dropdown/CDropdownMenu.api.md"}'); -export { - CDropdownMenu_api_html as comp, - data -}; diff --git a/vue/docs/assets/CDropdownToggle.api.html-TBTSZRQO.js b/vue/docs/assets/CDropdownToggle.api.html-TBTSZRQO.js new file mode 100644 index 00000000000..5edb75fc0ac --- /dev/null +++ b/vue/docs/assets/CDropdownToggle.api.html-TBTSZRQO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownToggle #

import { CDropdownToggle } from '@coreui/vue'\n// or\nimport CDropdownToggle from '@coreui/vue/src/components/dropdown/CDropdownToggle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
caretEnables pseudo element caret on toggler.boolean-true
customCreate a custom toggler which accepts any content.boolean--
disabledToggle the disabled state for the component.boolean--
nav-link
5.0.0+
If a dropdown variant is set to nav-item then render the toggler as a link instead of a button.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
splitSimilarly, 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.boolean--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
@type 'hover' | 'focus' | 'click'
Triggers-'click'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CDropdownToggle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownToggle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/dropdown/CDropdownToggle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownToggle.api.html"}]]},"headers":[{"level":3,"title":"CDropdownToggle","slug":"cdropdowntoggle","link":"#cdropdowntoggle","children":[]}],"filePathRelative":"api/dropdown/CDropdownToggle.api.md"}'); +export { + CDropdownToggle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CDropdownToggle.api.html-unfICPox.js b/vue/docs/assets/CDropdownToggle.api.html-unfICPox.js deleted file mode 100644 index 4835bc48569..00000000000 --- a/vue/docs/assets/CDropdownToggle.api.html-unfICPox.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CDropdownToggle

import { CDropdownToggle } from '@coreui/vue'\n// or\nimport CDropdownToggle from '@coreui/vue/src/components/dropdown/CDropdownToggle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
caretEnables pseudo element caret on toggler.boolean-true
customCreate a custom toggler which accepts any content.boolean--
disabledToggle the disabled state for the component.boolean--
nav-link
v5.0.0+
If a dropdown variant is set to nav-item then render the toggler as a link instead of a button.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
splitSimilarly, 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.boolean--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
@type 'hover' | 'focus' | 'click'
Triggers-'click'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CDropdownToggle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CDropdownToggle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/dropdown/CDropdownToggle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/dropdown/CDropdownToggle.api.html"}]]},"headers":[{"level":3,"title":"CDropdownToggle","slug":"cdropdowntoggle","link":"#cdropdowntoggle","children":[]}],"filePathRelative":"api/dropdown/CDropdownToggle.api.md"}'); -export { - CDropdownToggle_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFooter.api.html-CH8Pc0Ax.js b/vue/docs/assets/CFooter.api.html-CH8Pc0Ax.js deleted file mode 100644 index cb9bee49f9f..00000000000 --- a/vue/docs/assets/CFooter.api.html-CH8Pc0Ax.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFooter

import { CFooter } from '@coreui/vue'\n// or\nimport CFooter from '@coreui/vue/src/components/footer/CFooter'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
positionPlace footer in non-static positions.string'fixed', 'sticky'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFooter.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/footer/CFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/footer/CFooter.api.html"}]]},"headers":[{"level":3,"title":"CFooter","slug":"cfooter","link":"#cfooter","children":[]}],"filePathRelative":"api/footer/CFooter.api.md"}'); -export { - CFooter_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFooter.api.html-DCPx9oeQ.js b/vue/docs/assets/CFooter.api.html-DCPx9oeQ.js new file mode 100644 index 00000000000..78f513ed73e --- /dev/null +++ b/vue/docs/assets/CFooter.api.html-DCPx9oeQ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFooter #

import { CFooter } from '@coreui/vue'\n// or\nimport CFooter from '@coreui/vue/src/components/footer/CFooter'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
positionPlace footer in non-static positions.string'fixed', 'sticky'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFooter.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/footer/CFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/footer/CFooter.api.html"}]]},"headers":[{"level":3,"title":"CFooter","slug":"cfooter","link":"#cfooter","children":[]}],"filePathRelative":"api/footer/CFooter.api.md"}'); +export { + CFooter_api_html as comp, + data +}; diff --git a/vue/docs/assets/CForm.api.html-2ixEm0A1.js b/vue/docs/assets/CForm.api.html-2ixEm0A1.js deleted file mode 100644 index 10adc94a4e7..00000000000 --- a/vue/docs/assets/CForm.api.html-2ixEm0A1.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CForm

import { CForm } from '@coreui/vue'\n// or\nimport CForm from '@coreui/vue/src/components/form/CForm'\n

Props

Prop nameDescriptionTypeValuesDefault
validatedMark a form as validated. If you set it true, all validation styles will be applied to the forms component.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CForm_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CForm.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CForm.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CForm.api.html"}]]},"headers":[{"level":3,"title":"CForm","slug":"cform","link":"#cform","children":[]}],"filePathRelative":"api/form/CForm.api.md"}'); -export { - CForm_api_html as comp, - data -}; diff --git a/vue/docs/assets/CForm.api.html-D6NiMRuP.js b/vue/docs/assets/CForm.api.html-D6NiMRuP.js new file mode 100644 index 00000000000..bef3a8e2ec5 --- /dev/null +++ b/vue/docs/assets/CForm.api.html-D6NiMRuP.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CForm #

import { CForm } from '@coreui/vue'\n// or\nimport CForm from '@coreui/vue/src/components/form/CForm'\n

Props #

Prop nameDescriptionTypeValuesDefault
validatedMark a form as validated. If you set it true, all validation styles will be applied to the forms component.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CForm_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CForm.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CForm.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CForm.api.html"}]]},"headers":[{"level":3,"title":"CForm","slug":"cform","link":"#cform","children":[]}],"filePathRelative":"api/form/CForm.api.md"}'); +export { + CForm_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormCheck.api.html-Bf9lhFvH.js b/vue/docs/assets/CFormCheck.api.html-Bf9lhFvH.js deleted file mode 100644 index 141b90e2f07..00000000000 --- a/vue/docs/assets/CFormCheck.api.html-Bf9lhFvH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormCheck

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormCheck_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormCheck.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormCheck.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormCheck.api.html"}]]},"headers":[{"level":3,"title":"CFormCheck","slug":"cformcheck","link":"#cformcheck","children":[]}],"filePathRelative":"api/form/CFormCheck.api.md"}'); -export { - CFormCheck_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormCheck.api.html-Bl-fuUMn.js b/vue/docs/assets/CFormCheck.api.html-Bl-fuUMn.js new file mode 100644 index 00000000000..ccf2475f592 --- /dev/null +++ b/vue/docs/assets/CFormCheck.api.html-Bl-fuUMn.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormCheck #

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props #

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormCheck_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormCheck.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormCheck.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormCheck.api.html"}]]},"headers":[{"level":3,"title":"CFormCheck","slug":"cformcheck","link":"#cformcheck","children":[]}],"filePathRelative":"api/form/CFormCheck.api.md"}'); +export { + CFormCheck_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormControl.api.html-BEVjOQjL.js b/vue/docs/assets/CFormControl.api.html-BEVjOQjL.js new file mode 100644 index 00000000000..46c9355392a --- /dev/null +++ b/vue/docs/assets/CFormControl.api.html-BEVjOQjL.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControl #

import { CFormControl } from '@coreui/vue'\n// or\nimport CFormControl from '@coreui/vue/src/components/form/CFormControl'\n

undefined #

import { undefined } from '@coreui/vue'\n// or\nimport undefined from '@coreui/vue/src/components/form/CFormControl'\n
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormControl_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControl.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormControl.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControl.api.html"}]]},"headers":[{"level":3,"title":"CFormControl","slug":"cformcontrol","link":"#cformcontrol","children":[]},{"level":3,"title":"undefined","slug":"undefined","link":"#undefined","children":[]}],"filePathRelative":"api/form/CFormControl.api.md"}'); +export { + CFormControl_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormControl.api.html-D9-r3st8.js b/vue/docs/assets/CFormControl.api.html-D9-r3st8.js deleted file mode 100644 index c85cfccfc1a..00000000000 --- a/vue/docs/assets/CFormControl.api.html-D9-r3st8.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControl

import { CFormControl } from '@coreui/vue'\n// or\nimport CFormControl from '@coreui/vue/src/components/form/CFormControl'\n

undefined

import { undefined } from '@coreui/vue'\n// or\nimport undefined from '@coreui/vue/src/components/form/CFormControl'\n
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormControl_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControl.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormControl.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControl.api.html"}]]},"headers":[{"level":3,"title":"CFormControl","slug":"cformcontrol","link":"#cformcontrol","children":[]},{"level":3,"title":"undefined","slug":"undefined","link":"#undefined","children":[]}],"filePathRelative":"api/form/CFormControl.api.md"}'); -export { - CFormControl_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormControlValidation.api.html-CDKpaVG3.js b/vue/docs/assets/CFormControlValidation.api.html-CDKpaVG3.js deleted file mode 100644 index d013b3979eb..00000000000 --- a/vue/docs/assets/CFormControlValidation.api.html-CDKpaVG3.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControlValidation

import { CFormControlValidation } from '@coreui/vue'\n// or\nimport CFormControlValidation from '@coreui/vue/src/components/form/CFormControlValidation'\n

Props

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
invalidSet component validation state to invalid.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormControlValidation_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControlValidation.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormControlValidation.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControlValidation.api.html"}]]},"headers":[{"level":3,"title":"CFormControlValidation","slug":"cformcontrolvalidation","link":"#cformcontrolvalidation","children":[]}],"filePathRelative":"api/form/CFormControlValidation.api.md"}'); -export { - CFormControlValidation_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormControlValidation.api.html-fn-8iM1r.js b/vue/docs/assets/CFormControlValidation.api.html-fn-8iM1r.js new file mode 100644 index 00000000000..210bb3fe692 --- /dev/null +++ b/vue/docs/assets/CFormControlValidation.api.html-fn-8iM1r.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControlValidation #

import { CFormControlValidation } from '@coreui/vue'\n// or\nimport CFormControlValidation from '@coreui/vue/src/components/form/CFormControlValidation'\n

Props #

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
invalidSet component validation state to invalid.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormControlValidation_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControlValidation.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormControlValidation.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControlValidation.api.html"}]]},"headers":[{"level":3,"title":"CFormControlValidation","slug":"cformcontrolvalidation","link":"#cformcontrolvalidation","children":[]}],"filePathRelative":"api/form/CFormControlValidation.api.md"}'); +export { + CFormControlValidation_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormControlWrapper.api.html-BYVnVI9z.js b/vue/docs/assets/CFormControlWrapper.api.html-BYVnVI9z.js new file mode 100644 index 00000000000..c7b52637a6d --- /dev/null +++ b/vue/docs/assets/CFormControlWrapper.api.html-BYVnVI9z.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControlWrapper #

import { CFormControlWrapper } from '@coreui/vue'\n// or\nimport CFormControlWrapper from '@coreui/vue/src/components/form/CFormControlWrapper'\n

Props #

Prop nameDescriptionTypeValuesDefault
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
label
4.3.0+
Add a caption for a component.string--
text
4.3.0+
Add helper text to the component.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormControlWrapper_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControlWrapper.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormControlWrapper.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControlWrapper.api.html"}]]},"headers":[{"level":3,"title":"CFormControlWrapper","slug":"cformcontrolwrapper","link":"#cformcontrolwrapper","children":[]}],"filePathRelative":"api/form/CFormControlWrapper.api.md"}'); +export { + CFormControlWrapper_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormControlWrapper.api.html-D75G__Lh.js b/vue/docs/assets/CFormControlWrapper.api.html-D75G__Lh.js deleted file mode 100644 index caf2049a020..00000000000 --- a/vue/docs/assets/CFormControlWrapper.api.html-D75G__Lh.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormControlWrapper

import { CFormControlWrapper } from '@coreui/vue'\n// or\nimport CFormControlWrapper from '@coreui/vue/src/components/form/CFormControlWrapper'\n

Props

Prop nameDescriptionTypeValuesDefault
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
label
4.3.0+
Add a caption for a component.string--
text
4.3.0+
Add helper text to the component.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormControlWrapper_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormControlWrapper.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormControlWrapper.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormControlWrapper.api.html"}]]},"headers":[{"level":3,"title":"CFormControlWrapper","slug":"cformcontrolwrapper","link":"#cformcontrolwrapper","children":[]}],"filePathRelative":"api/form/CFormControlWrapper.api.md"}'); -export { - CFormControlWrapper_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormFeedback.api.html-C33zL_Pk.js b/vue/docs/assets/CFormFeedback.api.html-C33zL_Pk.js new file mode 100644 index 00000000000..55046ec72ab --- /dev/null +++ b/vue/docs/assets/CFormFeedback.api.html-C33zL_Pk.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormFeedback #

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormFeedback_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormFeedback.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormFeedback.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormFeedback.api.html"}]]},"headers":[{"level":3,"title":"CFormFeedback","slug":"cformfeedback","link":"#cformfeedback","children":[]}],"filePathRelative":"api/form/CFormFeedback.api.md"}'); +export { + CFormFeedback_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormFeedback.api.html-Cs8xHqDe.js b/vue/docs/assets/CFormFeedback.api.html-Cs8xHqDe.js deleted file mode 100644 index 62d15bc2259..00000000000 --- a/vue/docs/assets/CFormFeedback.api.html-Cs8xHqDe.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormFeedback

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormFeedback_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormFeedback.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormFeedback.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormFeedback.api.html"}]]},"headers":[{"level":3,"title":"CFormFeedback","slug":"cformfeedback","link":"#cformfeedback","children":[]}],"filePathRelative":"api/form/CFormFeedback.api.md"}'); -export { - CFormFeedback_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormFloating.api.html-C-X3BFM6.js b/vue/docs/assets/CFormFloating.api.html-C-X3BFM6.js deleted file mode 100644 index c50fa656207..00000000000 --- a/vue/docs/assets/CFormFloating.api.html-C-X3BFM6.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormFloating

import { CFormFloating } from '@coreui/vue'\n// or\nimport CFormFloating from '@coreui/vue/src/components/form/CFormFloating'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CFormFloating_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormFloating.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormFloating.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormFloating.api.html"}]]},"headers":[{"level":3,"title":"CFormFloating","slug":"cformfloating","link":"#cformfloating","children":[]}],"filePathRelative":"api/form/CFormFloating.api.md"}'); -export { - CFormFloating_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormFloating.api.html-CqfeIH6c.js b/vue/docs/assets/CFormFloating.api.html-CqfeIH6c.js new file mode 100644 index 00000000000..4a125ba1659 --- /dev/null +++ b/vue/docs/assets/CFormFloating.api.html-CqfeIH6c.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormFloating #

import { CFormFloating } from '@coreui/vue'\n// or\nimport CFormFloating from '@coreui/vue/src/components/form/CFormFloating'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CFormFloating_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormFloating.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormFloating.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormFloating.api.html"}]]},"headers":[{"level":3,"title":"CFormFloating","slug":"cformfloating","link":"#cformfloating","children":[]}],"filePathRelative":"api/form/CFormFloating.api.md"}'); +export { + CFormFloating_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormInput.api.html-BDOLWxtk.js b/vue/docs/assets/CFormInput.api.html-BDOLWxtk.js new file mode 100644 index 00000000000..8f8ffa58f30 --- /dev/null +++ b/vue/docs/assets/CFormInput.api.html-BDOLWxtk.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormInput #

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormInput_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormInput.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormInput.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormInput.api.html"}]]},"headers":[{"level":3,"title":"CFormInput","slug":"cforminput","link":"#cforminput","children":[]}],"filePathRelative":"api/form/CFormInput.api.md"}'); +export { + CFormInput_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormInput.api.html-CVvr0T_h.js b/vue/docs/assets/CFormInput.api.html-CVvr0T_h.js deleted file mode 100644 index 7eaf57cdf52..00000000000 --- a/vue/docs/assets/CFormInput.api.html-CVvr0T_h.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormInput

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormInput_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormInput.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormInput.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormInput.api.html"}]]},"headers":[{"level":3,"title":"CFormInput","slug":"cforminput","link":"#cforminput","children":[]}],"filePathRelative":"api/form/CFormInput.api.md"}'); -export { - CFormInput_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormLabel.api.html-C3nnUCqL.js b/vue/docs/assets/CFormLabel.api.html-C3nnUCqL.js new file mode 100644 index 00000000000..6ce44bd2984 --- /dev/null +++ b/vue/docs/assets/CFormLabel.api.html-C3nnUCqL.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormLabel #

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormLabel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormLabel.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormLabel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormLabel.api.html"}]]},"headers":[{"level":3,"title":"CFormLabel","slug":"cformlabel","link":"#cformlabel","children":[]}],"filePathRelative":"api/form/CFormLabel.api.md"}'); +export { + CFormLabel_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormLabel.api.html-CpQQKu1b.js b/vue/docs/assets/CFormLabel.api.html-CpQQKu1b.js deleted file mode 100644 index 568d9a7e2b6..00000000000 --- a/vue/docs/assets/CFormLabel.api.html-CpQQKu1b.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormLabel

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormLabel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormLabel.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormLabel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormLabel.api.html"}]]},"headers":[{"level":3,"title":"CFormLabel","slug":"cformlabel","link":"#cformlabel","children":[]}],"filePathRelative":"api/form/CFormLabel.api.md"}'); -export { - CFormLabel_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormRange.api.html-C4Wns1Lr.js b/vue/docs/assets/CFormRange.api.html-C4Wns1Lr.js deleted file mode 100644 index 11eda2e6d24..00000000000 --- a/vue/docs/assets/CFormRange.api.html-C4Wns1Lr.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormRange

import { CFormRange } from '@coreui/vue'\n// or\nimport CFormRange from '@coreui/vue/src/components/form/CFormRange'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
label
4.3.0+
Add a caption for a component.string--
maxSpecifies the maximum value for the component.number--
minSpecifies the minimum value for the component.number--
model-valueThe default name for a value passed using v-model.string--
readonlyToggle the readonly state for the component.boolean--
stepsSpecifies the interval between legal numbers in the component.number--
valueThe value attribute of component.
@controllable onChange
number--

Events

Event nameDescriptionProperties
changeEvent occurs when the value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormRange_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormRange.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormRange.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormRange.api.html"}]]},"headers":[{"level":3,"title":"CFormRange","slug":"cformrange","link":"#cformrange","children":[]}],"filePathRelative":"api/form/CFormRange.api.md"}'); -export { - CFormRange_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormRange.api.html-C9Fi8SJ1.js b/vue/docs/assets/CFormRange.api.html-C9Fi8SJ1.js new file mode 100644 index 00000000000..b334014f57d --- /dev/null +++ b/vue/docs/assets/CFormRange.api.html-C9Fi8SJ1.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormRange #

import { CFormRange } from '@coreui/vue'\n// or\nimport CFormRange from '@coreui/vue/src/components/form/CFormRange'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
label
4.3.0+
Add a caption for a component.string--
maxSpecifies the maximum value for the component.number--
minSpecifies the minimum value for the component.number--
model-valueThe default name for a value passed using v-model.string--
readonlyToggle the readonly state for the component.boolean--
stepsSpecifies the interval between legal numbers in the component.number--
valueThe value attribute of component.
@controllable onChange
number--

Events #

Event nameDescriptionProperties
changeEvent occurs when the value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormRange_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormRange.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormRange.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormRange.api.html"}]]},"headers":[{"level":3,"title":"CFormRange","slug":"cformrange","link":"#cformrange","children":[]}],"filePathRelative":"api/form/CFormRange.api.md"}'); +export { + CFormRange_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormSelect.api.html-4dvFandI.js b/vue/docs/assets/CFormSelect.api.html-4dvFandI.js deleted file mode 100644 index 6eea7d099c4..00000000000 --- a/vue/docs/assets/CFormSelect.api.html-4dvFandI.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormSelect

import { CFormSelect } from '@coreui/vue'\n// or\nimport CFormSelect from '@coreui/vue/src/components/form/CFormSelect'\n

Props

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
html-sizeSpecifies the number of visible options in a drop-down list.number--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string | string[]--
optionsOptions list of the select component. Available keys: label, value, disabled.
Examples:
- :options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"
- :options="['js', 'html']"
Option[] | string[]--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when when a user changes the selected option of a <select> element.
update:modelValueEmit the new value whenever there’s a change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormSelect.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormSelect.api.html"}]]},"headers":[{"level":3,"title":"CFormSelect","slug":"cformselect","link":"#cformselect","children":[]}],"filePathRelative":"api/form/CFormSelect.api.md"}'); -export { - CFormSelect_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormSelect.api.html-Dz_dg5lQ.js b/vue/docs/assets/CFormSelect.api.html-Dz_dg5lQ.js new file mode 100644 index 00000000000..a2d4b75db78 --- /dev/null +++ b/vue/docs/assets/CFormSelect.api.html-Dz_dg5lQ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormSelect #

import { CFormSelect } from '@coreui/vue'\n// or\nimport CFormSelect from '@coreui/vue/src/components/form/CFormSelect'\n

Props #

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
html-sizeSpecifies the number of visible options in a drop-down list.number--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string | string[]--
optionsOptions list of the select component. Available keys: label, value, disabled.
Examples:
- :options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"
- :options="['js', 'html']"
Option[] | string[]--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when when a user changes the selected option of a <select> element.
update:modelValueEmit the new value whenever there’s a change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormSelect.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormSelect.api.html"}]]},"headers":[{"level":3,"title":"CFormSelect","slug":"cformselect","link":"#cformselect","children":[]}],"filePathRelative":"api/form/CFormSelect.api.md"}'); +export { + CFormSelect_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormSwitch.api.html-BACw_Adx.js b/vue/docs/assets/CFormSwitch.api.html-BACw_Adx.js new file mode 100644 index 00000000000..16b967e3df4 --- /dev/null +++ b/vue/docs/assets/CFormSwitch.api.html-BACw_Adx.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormSwitch #

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props #

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormSwitch_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormSwitch.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormSwitch.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormSwitch.api.html"}]]},"headers":[{"level":3,"title":"CFormSwitch","slug":"cformswitch","link":"#cformswitch","children":[]}],"filePathRelative":"api/form/CFormSwitch.api.md"}'); +export { + CFormSwitch_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormSwitch.api.html-CyrjItfh.js b/vue/docs/assets/CFormSwitch.api.html-CyrjItfh.js deleted file mode 100644 index 736e5b53ab2..00000000000 --- a/vue/docs/assets/CFormSwitch.api.html-CyrjItfh.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormSwitch

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormSwitch_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormSwitch.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormSwitch.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormSwitch.api.html"}]]},"headers":[{"level":3,"title":"CFormSwitch","slug":"cformswitch","link":"#cformswitch","children":[]}],"filePathRelative":"api/form/CFormSwitch.api.md"}'); -export { - CFormSwitch_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormText.api.html-BJqLcA9t.js b/vue/docs/assets/CFormText.api.html-BJqLcA9t.js new file mode 100644 index 00000000000..4a99665256c --- /dev/null +++ b/vue/docs/assets/CFormText.api.html-BJqLcA9t.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormText #

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CFormText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormText.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormText.api.html"}]]},"headers":[{"level":3,"title":"CFormText","slug":"cformtext","link":"#cformtext","children":[]}],"filePathRelative":"api/form/CFormText.api.md"}'); +export { + CFormText_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormText.api.html-CpJOPSQg.js b/vue/docs/assets/CFormText.api.html-CpJOPSQg.js deleted file mode 100644 index 62e99260c9c..00000000000 --- a/vue/docs/assets/CFormText.api.html-CpJOPSQg.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormText

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CFormText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormText.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormText.api.html"}]]},"headers":[{"level":3,"title":"CFormText","slug":"cformtext","link":"#cformtext","children":[]}],"filePathRelative":"api/form/CFormText.api.md"}'); -export { - CFormText_api_html as comp, - data -}; diff --git a/vue/docs/assets/CFormTextarea.api.html-C-PBE2Mw.js b/vue/docs/assets/CFormTextarea.api.html-C-PBE2Mw.js new file mode 100644 index 00000000000..a0752bc7bdb --- /dev/null +++ b/vue/docs/assets/CFormTextarea.api.html-C-PBE2Mw.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormTextarea #

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CFormTextarea_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormTextarea.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CFormTextarea.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormTextarea.api.html"}]]},"headers":[{"level":3,"title":"CFormTextarea","slug":"cformtextarea","link":"#cformtextarea","children":[]}],"filePathRelative":"api/form/CFormTextarea.api.md"}'); +export { + CFormTextarea_api_html as comp, + data +}; diff --git a/vue/docs/assets/CFormTextarea.api.html-DMhqjvWY.js b/vue/docs/assets/CFormTextarea.api.html-DMhqjvWY.js deleted file mode 100644 index 6208c83e7f9..00000000000 --- a/vue/docs/assets/CFormTextarea.api.html-DMhqjvWY.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CFormTextarea

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CFormTextarea_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CFormTextarea.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CFormTextarea.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CFormTextarea.api.html"}]]},"headers":[{"level":3,"title":"CFormTextarea","slug":"cformtextarea","link":"#cformtextarea","children":[]}],"filePathRelative":"api/form/CFormTextarea.api.md"}'); -export { - CFormTextarea_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeader.api.html-CJg_IEiF.js b/vue/docs/assets/CHeader.api.html-CJg_IEiF.js deleted file mode 100644 index ca11cdff4e2..00000000000 --- a/vue/docs/assets/CHeader.api.html-CJg_IEiF.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeader

import { CHeader } from '@coreui/vue'\n// or\nimport CHeader from '@coreui/vue/src/components/header/CHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
positionPlace header in non-static positions.string'fixed', 'sticky'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeader.api.html"}]]},"headers":[{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]}],"filePathRelative":"api/header/CHeader.api.md"}'); -export { - CHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeader.api.html-DlxZXRgK.js b/vue/docs/assets/CHeader.api.html-DlxZXRgK.js new file mode 100644 index 00000000000..2649365af16 --- /dev/null +++ b/vue/docs/assets/CHeader.api.html-DlxZXRgK.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeader #

import { CHeader } from '@coreui/vue'\n// or\nimport CHeader from '@coreui/vue/src/components/header/CHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
positionPlace header in non-static positions.string'fixed', 'sticky'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeader.api.html"}]]},"headers":[{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]}],"filePathRelative":"api/header/CHeader.api.md"}'); +export { + CHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderBrand.api.html-4A7AgRNX.js b/vue/docs/assets/CHeaderBrand.api.html-4A7AgRNX.js deleted file mode 100644 index 0d5b61bedc9..00000000000 --- a/vue/docs/assets/CHeaderBrand.api.html-4A7AgRNX.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderBrand

import { CHeaderBrand } from '@coreui/vue'\n// or\nimport CHeaderBrand from '@coreui/vue/src/components/header/CHeaderBrand'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CHeaderBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderBrand.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeaderBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderBrand.api.html"}]]},"headers":[{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]}],"filePathRelative":"api/header/CHeaderBrand.api.md"}'); -export { - CHeaderBrand_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeaderBrand.api.html-CFKRvz1W.js b/vue/docs/assets/CHeaderBrand.api.html-CFKRvz1W.js new file mode 100644 index 00000000000..d2ffafccd8c --- /dev/null +++ b/vue/docs/assets/CHeaderBrand.api.html-CFKRvz1W.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderBrand #

import { CHeaderBrand } from '@coreui/vue'\n// or\nimport CHeaderBrand from '@coreui/vue/src/components/header/CHeaderBrand'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CHeaderBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderBrand.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeaderBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderBrand.api.html"}]]},"headers":[{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]}],"filePathRelative":"api/header/CHeaderBrand.api.md"}'); +export { + CHeaderBrand_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderDivider.api.html-DKNK6-VZ.js b/vue/docs/assets/CHeaderDivider.api.html-DKNK6-VZ.js deleted file mode 100644 index 478d352ac1f..00000000000 --- a/vue/docs/assets/CHeaderDivider.api.html-DKNK6-VZ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderDivider

import { CHeaderDivider } from '@coreui/vue'\n// or\nimport CHeaderDivider from '@coreui/vue/src/components/header/CHeaderDivider'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CHeaderDivider_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderDivider.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeaderDivider.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderDivider.api.html"}]]},"headers":[{"level":3,"title":"CHeaderDivider","slug":"cheaderdivider","link":"#cheaderdivider","children":[]}],"filePathRelative":"api/header/CHeaderDivider.api.md"}'); -export { - CHeaderDivider_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeaderDivider.api.html-WXk5c_Vn.js b/vue/docs/assets/CHeaderDivider.api.html-WXk5c_Vn.js new file mode 100644 index 00000000000..15634e67136 --- /dev/null +++ b/vue/docs/assets/CHeaderDivider.api.html-WXk5c_Vn.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderDivider #

import { CHeaderDivider } from '@coreui/vue'\n// or\nimport CHeaderDivider from '@coreui/vue/src/components/header/CHeaderDivider'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CHeaderDivider_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderDivider.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeaderDivider.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderDivider.api.html"}]]},"headers":[{"level":3,"title":"CHeaderDivider","slug":"cheaderdivider","link":"#cheaderdivider","children":[]}],"filePathRelative":"api/header/CHeaderDivider.api.md"}'); +export { + CHeaderDivider_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderNav.api.html-BG2UOwMu.js b/vue/docs/assets/CHeaderNav.api.html-BG2UOwMu.js new file mode 100644 index 00000000000..6a73ebaa1c7 --- /dev/null +++ b/vue/docs/assets/CHeaderNav.api.html-BG2UOwMu.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderNav #

import { CHeaderNav } from '@coreui/vue'\n// or\nimport CHeaderNav from '@coreui/vue/src/components/header/CHeaderNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CHeaderNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderNav.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeaderNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderNav.api.html"}]]},"headers":[{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]}],"filePathRelative":"api/header/CHeaderNav.api.md"}'); +export { + CHeaderNav_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderNav.api.html-Bbsph2xH.js b/vue/docs/assets/CHeaderNav.api.html-Bbsph2xH.js deleted file mode 100644 index 4ab74694af9..00000000000 --- a/vue/docs/assets/CHeaderNav.api.html-Bbsph2xH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderNav

import { CHeaderNav } from '@coreui/vue'\n// or\nimport CHeaderNav from '@coreui/vue/src/components/header/CHeaderNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CHeaderNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderNav.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeaderNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderNav.api.html"}]]},"headers":[{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]}],"filePathRelative":"api/header/CHeaderNav.api.md"}'); -export { - CHeaderNav_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeaderText.api.html-DpmaCM7o.js b/vue/docs/assets/CHeaderText.api.html-DpmaCM7o.js new file mode 100644 index 00000000000..0f27d99a288 --- /dev/null +++ b/vue/docs/assets/CHeaderText.api.html-DpmaCM7o.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderText #

import { CHeaderText } from '@coreui/vue'\n// or\nimport CHeaderText from '@coreui/vue/src/components/header/CHeaderText'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CHeaderText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderText.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeaderText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderText.api.html"}]]},"headers":[{"level":3,"title":"CHeaderText","slug":"cheadertext","link":"#cheadertext","children":[]}],"filePathRelative":"api/header/CHeaderText.api.md"}'); +export { + CHeaderText_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderText.api.html-dosyBX2D.js b/vue/docs/assets/CHeaderText.api.html-dosyBX2D.js deleted file mode 100644 index 6c12e529d76..00000000000 --- a/vue/docs/assets/CHeaderText.api.html-dosyBX2D.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderText

import { CHeaderText } from '@coreui/vue'\n// or\nimport CHeaderText from '@coreui/vue/src/components/header/CHeaderText'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CHeaderText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderText.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeaderText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderText.api.html"}]]},"headers":[{"level":3,"title":"CHeaderText","slug":"cheadertext","link":"#cheadertext","children":[]}],"filePathRelative":"api/header/CHeaderText.api.md"}'); -export { - CHeaderText_api_html as comp, - data -}; diff --git a/vue/docs/assets/CHeaderToggler.api.html-BQ00oQEl.js b/vue/docs/assets/CHeaderToggler.api.html-BQ00oQEl.js new file mode 100644 index 00000000000..a69119040ea --- /dev/null +++ b/vue/docs/assets/CHeaderToggler.api.html-BQ00oQEl.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderToggler #

import { CHeaderToggler } from '@coreui/vue'\n// or\nimport CHeaderToggler from '@coreui/vue/src/components/header/CHeaderToggler'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CHeaderToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderToggler.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/header/CHeaderToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderToggler.api.html"}]]},"headers":[{"level":3,"title":"CHeaderToggler","slug":"cheadertoggler","link":"#cheadertoggler","children":[]}],"filePathRelative":"api/header/CHeaderToggler.api.md"}'); +export { + CHeaderToggler_api_html as comp, + data +}; diff --git a/vue/docs/assets/CHeaderToggler.api.html-BlIes8qe.js b/vue/docs/assets/CHeaderToggler.api.html-BlIes8qe.js deleted file mode 100644 index 5229ef3af65..00000000000 --- a/vue/docs/assets/CHeaderToggler.api.html-BlIes8qe.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CHeaderToggler

import { CHeaderToggler } from '@coreui/vue'\n// or\nimport CHeaderToggler from '@coreui/vue/src/components/header/CHeaderToggler'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CHeaderToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CHeaderToggler.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/header/CHeaderToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/header/CHeaderToggler.api.html"}]]},"headers":[{"level":3,"title":"CHeaderToggler","slug":"cheadertoggler","link":"#cheadertoggler","children":[]}],"filePathRelative":"api/header/CHeaderToggler.api.md"}'); -export { - CHeaderToggler_api_html as comp, - data -}; diff --git a/vue/docs/assets/CIcon.api.html-B3u-PJZc.js b/vue/docs/assets/CIcon.api.html-B3u-PJZc.js deleted file mode 100644 index d06b0505c3f..00000000000 --- a/vue/docs/assets/CIcon.api.html-B3u-PJZc.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CIcon

import { CIcon } from '@coreui/icons-vue'\n// or\nimport CIcon from '@coreui/icons-vue/src/CIcon'\n

Props

Prop nameDescriptionTypeValuesDefault
contentUse :icon="..." instead of
@deprecated since version 3.0
string|array--
custom-class-nameUse for replacing default CIcon component classes. Prop is overriding the 'size' prop.string|array|object--
iconName of the icon placed in React object or SVG content.string | string[]--
nameUse icon="..." instead of
@deprecated since version 3.0
string--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
useIf defined component will be rendered using 'use' tag.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CIcon_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CIcon.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/coreui-icons-vue/src/CIcon.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/coreui-icons-vue/src/CIcon.api.html"}]]},"headers":[{"level":3,"title":"CIcon","slug":"cicon","link":"#cicon","children":[]}],"filePathRelative":"api/coreui-icons-vue/src/CIcon.api.md"}'); -export { - CIcon_api_html as comp, - data -}; diff --git a/vue/docs/assets/CIcon.api.html-DXua_Pop.js b/vue/docs/assets/CIcon.api.html-DXua_Pop.js new file mode 100644 index 00000000000..df1ed10fa15 --- /dev/null +++ b/vue/docs/assets/CIcon.api.html-DXua_Pop.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CIcon #

import { CIcon } from '@coreui/icons-vue'\n// or\nimport CIcon from '@coreui/icons-vue/src/CIcon'\n

Props #

Prop nameDescriptionTypeValuesDefault
contentUse :icon="..." instead of
@deprecated since version 3.0
string|array--
custom-class-nameUse for replacing default CIcon component classes. Prop is overriding the 'size' prop.string|array|object--
iconName of the icon placed in React object or SVG content.string | string[]--
nameUse icon="..." instead of
@deprecated since version 3.0
string--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
useIf defined component will be rendered using 'use' tag.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CIcon_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CIcon.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/coreui-icons-vue/src/CIcon.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/coreui-icons-vue/src/CIcon.api.html"}]]},"headers":[{"level":3,"title":"CIcon","slug":"cicon","link":"#cicon","children":[]}],"filePathRelative":"api/coreui-icons-vue/src/CIcon.api.md"}'); +export { + CIcon_api_html as comp, + data +}; diff --git a/vue/docs/assets/CIconSvg.api.html-Bu8_TLiB.js b/vue/docs/assets/CIconSvg.api.html-Bu8_TLiB.js new file mode 100644 index 00000000000..ce0166185d2 --- /dev/null +++ b/vue/docs/assets/CIconSvg.api.html-Bu8_TLiB.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CIconSvg #

import { CIconSvg } from '@coreui/icons-vue'\n// or\nimport CIconSvg from '@coreui/icons-vue/src/CIconSvg'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-class-nameUse for replacing default CIconSvg component classes. Prop is overriding the 'size' prop.string|array|object--
heightThe height attribute defines the vertical length of an icon.number--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
widthThe width attribute defines the horizontal length of an icon.number--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CIconSvg_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CIconSvg.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/coreui-icons-vue/src/CIconSvg.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html"}]]},"headers":[{"level":3,"title":"CIconSvg","slug":"ciconsvg","link":"#ciconsvg","children":[]}],"filePathRelative":"api/coreui-icons-vue/src/CIconSvg.api.md"}'); +export { + CIconSvg_api_html as comp, + data +}; diff --git a/vue/docs/assets/CIconSvg.api.html-DboTNlH1.js b/vue/docs/assets/CIconSvg.api.html-DboTNlH1.js deleted file mode 100644 index 4378294d44a..00000000000 --- a/vue/docs/assets/CIconSvg.api.html-DboTNlH1.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CIconSvg

import { CIconSvg } from '@coreui/icons-vue'\n// or\nimport CIconSvg from '@coreui/icons-vue/src/CIconSvg'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-class-nameUse for replacing default CIconSvg component classes. Prop is overriding the 'size' prop.string|array|object--
heightThe height attribute defines the vertical length of an icon.number--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
widthThe width attribute defines the horizontal length of an icon.number--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CIconSvg_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CIconSvg.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/coreui-icons-vue/src/CIconSvg.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/coreui-icons-vue/src/CIconSvg.api.html"}]]},"headers":[{"level":3,"title":"CIconSvg","slug":"ciconsvg","link":"#ciconsvg","children":[]}],"filePathRelative":"api/coreui-icons-vue/src/CIconSvg.api.md"}'); -export { - CIconSvg_api_html as comp, - data -}; diff --git a/vue/docs/assets/CImage.api.html-1rNq-hNU.js b/vue/docs/assets/CImage.api.html-1rNq-hNU.js new file mode 100644 index 00000000000..361c7f166ce --- /dev/null +++ b/vue/docs/assets/CImage.api.html-1rNq-hNU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CImage #

import { CImage } from '@coreui/vue'\n// or\nimport CImage from '@coreui/vue/src/components/image/CImage'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the horizontal aligment.string'start', 'center', 'end'-
fluidMake image responsive.boolean--
roundedMake image rounded.boolean--
thumbnailGive an image a rounded 1px border appearance.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CImage_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CImage.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/image/CImage.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/image/CImage.api.html"}]]},"headers":[{"level":3,"title":"CImage","slug":"cimage","link":"#cimage","children":[]}],"filePathRelative":"api/image/CImage.api.md"}'); +export { + CImage_api_html as comp, + data +}; diff --git a/vue/docs/assets/CImage.api.html-C1zwuBO9.js b/vue/docs/assets/CImage.api.html-C1zwuBO9.js deleted file mode 100644 index eef37fa7226..00000000000 --- a/vue/docs/assets/CImage.api.html-C1zwuBO9.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CImage

import { CImage } from '@coreui/vue'\n// or\nimport CImage from '@coreui/vue/src/components/image/CImage'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the horizontal aligment.string'start', 'center', 'end'-
fluidMake image responsive.boolean--
roundedMake image rounded.boolean--
thumbnailGive an image a rounded 1px border appearance.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CImage_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CImage.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/image/CImage.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/image/CImage.api.html"}]]},"headers":[{"level":3,"title":"CImage","slug":"cimage","link":"#cimage","children":[]}],"filePathRelative":"api/image/CImage.api.md"}'); -export { - CImage_api_html as comp, - data -}; diff --git a/vue/docs/assets/CInputGroup.api.html-B9Jacvbh.js b/vue/docs/assets/CInputGroup.api.html-B9Jacvbh.js deleted file mode 100644 index 81de88e3124..00000000000 --- a/vue/docs/assets/CInputGroup.api.html-B9Jacvbh.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CInputGroup

import { CInputGroup } from '@coreui/vue'\n// or\nimport CInputGroup from '@coreui/vue/src/components/form/CInputGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CInputGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CInputGroup.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CInputGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CInputGroup.api.html"}]]},"headers":[{"level":3,"title":"CInputGroup","slug":"cinputgroup","link":"#cinputgroup","children":[]}],"filePathRelative":"api/form/CInputGroup.api.md"}'); -export { - CInputGroup_api_html as comp, - data -}; diff --git a/vue/docs/assets/CInputGroup.api.html-O1rxMtka.js b/vue/docs/assets/CInputGroup.api.html-O1rxMtka.js new file mode 100644 index 00000000000..53293d1e57b --- /dev/null +++ b/vue/docs/assets/CInputGroup.api.html-O1rxMtka.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CInputGroup #

import { CInputGroup } from '@coreui/vue'\n// or\nimport CInputGroup from '@coreui/vue/src/components/form/CInputGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CInputGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CInputGroup.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CInputGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CInputGroup.api.html"}]]},"headers":[{"level":3,"title":"CInputGroup","slug":"cinputgroup","link":"#cinputgroup","children":[]}],"filePathRelative":"api/form/CInputGroup.api.md"}'); +export { + CInputGroup_api_html as comp, + data +}; diff --git a/vue/docs/assets/CInputGroupText.api.html-CjjBv0Qa.js b/vue/docs/assets/CInputGroupText.api.html-CjjBv0Qa.js new file mode 100644 index 00000000000..06d456e8239 --- /dev/null +++ b/vue/docs/assets/CInputGroupText.api.html-CjjBv0Qa.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CInputGroupText #

import { CInputGroupText } from '@coreui/vue'\n// or\nimport CInputGroupText from '@coreui/vue/src/components/form/CInputGroupText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CInputGroupText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CInputGroupText.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/form/CInputGroupText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CInputGroupText.api.html"}]]},"headers":[{"level":3,"title":"CInputGroupText","slug":"cinputgrouptext","link":"#cinputgrouptext","children":[]}],"filePathRelative":"api/form/CInputGroupText.api.md"}'); +export { + CInputGroupText_api_html as comp, + data +}; diff --git a/vue/docs/assets/CInputGroupText.api.html-nYw0lYnn.js b/vue/docs/assets/CInputGroupText.api.html-nYw0lYnn.js deleted file mode 100644 index 4a63b0f4b86..00000000000 --- a/vue/docs/assets/CInputGroupText.api.html-nYw0lYnn.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CInputGroupText

import { CInputGroupText } from '@coreui/vue'\n// or\nimport CInputGroupText from '@coreui/vue/src/components/form/CInputGroupText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CInputGroupText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CInputGroupText.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/form/CInputGroupText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/form/CInputGroupText.api.html"}]]},"headers":[{"level":3,"title":"CInputGroupText","slug":"cinputgrouptext","link":"#cinputgrouptext","children":[]}],"filePathRelative":"api/form/CInputGroupText.api.md"}'); -export { - CInputGroupText_api_html as comp, - data -}; diff --git a/vue/docs/assets/CLink.api.html-6FAjEedH.js b/vue/docs/assets/CLink.api.html-6FAjEedH.js deleted file mode 100644 index 1ac84c88129..00000000000 --- a/vue/docs/assets/CLink.api.html-6FAjEedH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CLink } from '@coreui/vue'\n// or\nimport CLink from '@coreui/vue/src/components/link/CLink'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CLink.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/link/CLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/link/CLink.api.html"}]]},"headers":[{"level":3,"title":"CLink","slug":"clink","link":"#clink","children":[]}],"filePathRelative":"api/link/CLink.api.md"}'); -export { - CLink_api_html as comp, - data -}; diff --git a/vue/docs/assets/CLink.api.html-CkkUHkLl.js b/vue/docs/assets/CLink.api.html-CkkUHkLl.js new file mode 100644 index 00000000000..c21a3e34c3c --- /dev/null +++ b/vue/docs/assets/CLink.api.html-CkkUHkLl.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CLink } from '@coreui/vue'\n// or\nimport CLink from '@coreui/vue/src/components/link/CLink'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CLink.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/link/CLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/link/CLink.api.html"}]]},"headers":[{"level":3,"title":"CLink","slug":"clink","link":"#clink","children":[]}],"filePathRelative":"api/link/CLink.api.md"}'); +export { + CLink_api_html as comp, + data +}; diff --git a/vue/docs/assets/CListGroup.api.html-BoJSzdjE.js b/vue/docs/assets/CListGroup.api.html-BoJSzdjE.js new file mode 100644 index 00000000000..8ace405b920 --- /dev/null +++ b/vue/docs/assets/CListGroup.api.html-BoJSzdjE.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CListGroup #

import { CListGroup } from '@coreui/vue'\n// or\nimport CListGroup from '@coreui/vue/src/components/list-group/CListGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
flushRemove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., <CCard>)boolean--
layoutSpecify a layout type.string'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl', ``-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CListGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CListGroup.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/list-group/CListGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/list-group/CListGroup.api.html"}]]},"headers":[{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]}],"filePathRelative":"api/list-group/CListGroup.api.md"}'); +export { + CListGroup_api_html as comp, + data +}; diff --git a/vue/docs/assets/CListGroup.api.html-CWB2ebuP.js b/vue/docs/assets/CListGroup.api.html-CWB2ebuP.js deleted file mode 100644 index 4d0496072b1..00000000000 --- a/vue/docs/assets/CListGroup.api.html-CWB2ebuP.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CListGroup

import { CListGroup } from '@coreui/vue'\n// or\nimport CListGroup from '@coreui/vue/src/components/list-group/CListGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
flushRemove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., <CCard>)boolean--
layoutSpecify a layout type.string'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl', ``-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CListGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CListGroup.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/list-group/CListGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/list-group/CListGroup.api.html"}]]},"headers":[{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]}],"filePathRelative":"api/list-group/CListGroup.api.md"}'); -export { - CListGroup_api_html as comp, - data -}; diff --git a/vue/docs/assets/CListGroupItem.api.html-B75RiEoP.js b/vue/docs/assets/CListGroupItem.api.html-B75RiEoP.js deleted file mode 100644 index 5ed139400cb..00000000000 --- a/vue/docs/assets/CListGroupItem.api.html-B75RiEoP.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CListGroupItem

import { CListGroupItem } from '@coreui/vue'\n// or\nimport CListGroupItem from '@coreui/vue/src/components/list-group/CListGroupItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
disabledToggle the disabled state for the component.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CListGroupItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CListGroupItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/list-group/CListGroupItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/list-group/CListGroupItem.api.html"}]]},"headers":[{"level":3,"title":"CListGroupItem","slug":"clistgroupitem","link":"#clistgroupitem","children":[]}],"filePathRelative":"api/list-group/CListGroupItem.api.md"}'); -export { - CListGroupItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CListGroupItem.api.html-QGIAoVEf.js b/vue/docs/assets/CListGroupItem.api.html-QGIAoVEf.js new file mode 100644 index 00000000000..bb09142b60a --- /dev/null +++ b/vue/docs/assets/CListGroupItem.api.html-QGIAoVEf.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CListGroupItem #

import { CListGroupItem } from '@coreui/vue'\n// or\nimport CListGroupItem from '@coreui/vue/src/components/list-group/CListGroupItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
disabledToggle the disabled state for the component.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CListGroupItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CListGroupItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/list-group/CListGroupItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/list-group/CListGroupItem.api.html"}]]},"headers":[{"level":3,"title":"CListGroupItem","slug":"clistgroupitem","link":"#clistgroupitem","children":[]}],"filePathRelative":"api/list-group/CListGroupItem.api.md"}'); +export { + CListGroupItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CLoadingButton.api.html-BBbFgjn5.js b/vue/docs/assets/CLoadingButton.api.html-BBbFgjn5.js new file mode 100644 index 00000000000..ad5d84d1a9d --- /dev/null +++ b/vue/docs/assets/CLoadingButton.api.html-BBbFgjn5.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CLoadingButton #

import { CLoadingButton } from '@coreui/vue-pro'\n// or\nimport CLoadingButton from '@coreui/vue-pro/src/components/loading-button/CLoadingButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabled-on-loadingMakes button disabled when loading.boolean--
loadingLoading state (set to true to start animation).boolean-false
spinner-typeSets type of spinner.
@default 'border'
string'border', 'grow''border'
timeoutAutomatically starts loading animation and stops after a determined amount of milliseconds.number--

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on a component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CLoadingButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CLoadingButton.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/loading-button/CLoadingButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/loading-button/CLoadingButton.api.html"}]]},"headers":[{"level":3,"title":"CLoadingButton","slug":"cloadingbutton","link":"#cloadingbutton","children":[]}],"filePathRelative":"api/loading-button/CLoadingButton.api.md"}'); +export { + CLoadingButton_api_html as comp, + data +}; diff --git a/vue/docs/assets/CLoadingButton.api.html-DlKJUvsa.js b/vue/docs/assets/CLoadingButton.api.html-DlKJUvsa.js deleted file mode 100644 index d6223950d49..00000000000 --- a/vue/docs/assets/CLoadingButton.api.html-DlKJUvsa.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CLoadingButton

import { CLoadingButton } from '@coreui/vue-pro'\n// or\nimport CLoadingButton from '@coreui/vue-pro/src/components/loading-button/CLoadingButton'\n

Props

Prop nameDescriptionTypeValuesDefault
disabled-on-loadingMakes button disabled when loading.boolean--
loadingLoading state (set to true to start animation).boolean-false
spinner-typeSets type of spinner.
@default 'border'
string'border', 'grow''border'
timeoutAutomatically starts loading animation and stops after a determined amount of milliseconds.number--

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on a component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CLoadingButton_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CLoadingButton.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/loading-button/CLoadingButton.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/loading-button/CLoadingButton.api.html"}]]},"headers":[{"level":3,"title":"CLoadingButton","slug":"cloadingbutton","link":"#cloadingbutton","children":[]}],"filePathRelative":"api/loading-button/CLoadingButton.api.md"}'); -export { - CLoadingButton_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModal.api.html-8P7cw-ZY.js b/vue/docs/assets/CModal.api.html-8P7cw-ZY.js deleted file mode 100644 index 26eab14a97c..00000000000 --- a/vue/docs/assets/CModal.api.html-8P7cw-ZY.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModal

import { CModal } from '@coreui/vue'\n// or\nimport CModal from '@coreui/vue/src/components/modal/CModal'\n

Props

Prop nameDescriptionTypeValuesDefault
alignmentAlign the modal in the center or top of the screen.string'top', 'center''top'
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
content-class-nameA string of all className you want applied to the modal content component.string--
focus
v5.0.0+
Puts the focus on the modal when shown.boolean-true
fullscreenSet modal to covers the entire user viewportboolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
keyboardCloses the modal when escape key is pressed.boolean-true
scrollableCreate a scrollable modal that allows scrolling the modal body.boolean--
sizeSize the component small, large, or extra large.string'sm', 'lg', 'xl'-
transitionRemove animation to create modal that simply appear rather than fade in to view.boolean-true
unmount-on-closeBy default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.boolean-true
visibleToggle the visibility of alert component.boolean--

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
close-preventedCallback fired when the component requests to be closed.
showCallback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CModal_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModal.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/modal/CModal.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModal.api.html"}]]},"headers":[{"level":3,"title":"CModal","slug":"cmodal","link":"#cmodal","children":[]}],"filePathRelative":"api/modal/CModal.api.md"}'); -export { - CModal_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModal.api.html-CcahfjI1.js b/vue/docs/assets/CModal.api.html-CcahfjI1.js new file mode 100644 index 00000000000..0ce79a3616b --- /dev/null +++ b/vue/docs/assets/CModal.api.html-CcahfjI1.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModal #

import { CModal } from '@coreui/vue'\n// or\nimport CModal from '@coreui/vue/src/components/modal/CModal'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignmentAlign the modal in the center or top of the screen.string'top', 'center''top'
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
container
5.3.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
content-class-nameA string of all className you want applied to the modal content component.string--
focus
5.0.0+
Puts the focus on the modal when shown.boolean-true
fullscreenSet modal to covers the entire user viewportboolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
keyboardCloses the modal when escape key is pressed.boolean-true
scrollableCreate a scrollable modal that allows scrolling the modal body.boolean--
sizeSize the component small, large, or extra large.string'sm', 'lg', 'xl'-
teleport
5.3.0+
Generates modal using Teleport.boolean-false
transitionRemove animation to create modal that simply appear rather than fade in to view.boolean-true
unmount-on-closeBy default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.boolean-true
visibleToggle the visibility of alert component.boolean--

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
close-preventedCallback fired when the component requests to be closed.
showCallback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CModal_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModal.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/modal/CModal.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModal.api.html"}]]},"headers":[{"level":3,"title":"CModal","slug":"cmodal","link":"#cmodal","children":[]}],"filePathRelative":"api/modal/CModal.api.md"}'); +export { + CModal_api_html as comp, + data +}; diff --git a/vue/docs/assets/CModalBody.api.html-BVcd8oVP.js b/vue/docs/assets/CModalBody.api.html-BVcd8oVP.js new file mode 100644 index 00000000000..29b5b553f36 --- /dev/null +++ b/vue/docs/assets/CModalBody.api.html-BVcd8oVP.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalBody #

import { CModalBody } from '@coreui/vue'\n// or\nimport CModalBody from '@coreui/vue/src/components/modal/CModalBody'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CModalBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/modal/CModalBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalBody.api.html"}]]},"headers":[{"level":3,"title":"CModalBody","slug":"cmodalbody","link":"#cmodalbody","children":[]}],"filePathRelative":"api/modal/CModalBody.api.md"}'); +export { + CModalBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CModalBody.api.html-CHE1pY1A.js b/vue/docs/assets/CModalBody.api.html-CHE1pY1A.js deleted file mode 100644 index 5ad4921386d..00000000000 --- a/vue/docs/assets/CModalBody.api.html-CHE1pY1A.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalBody

import { CModalBody } from '@coreui/vue'\n// or\nimport CModalBody from '@coreui/vue/src/components/modal/CModalBody'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CModalBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/modal/CModalBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalBody.api.html"}]]},"headers":[{"level":3,"title":"CModalBody","slug":"cmodalbody","link":"#cmodalbody","children":[]}],"filePathRelative":"api/modal/CModalBody.api.md"}'); -export { - CModalBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModalFooter.api.html-BOfY4tP-.js b/vue/docs/assets/CModalFooter.api.html-BOfY4tP-.js new file mode 100644 index 00000000000..5d8c17c7f73 --- /dev/null +++ b/vue/docs/assets/CModalFooter.api.html-BOfY4tP-.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalFooter #

import { CModalFooter } from '@coreui/vue'\n// or\nimport CModalFooter from '@coreui/vue/src/components/modal/CModalFooter'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CModalFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalFooter.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/modal/CModalFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalFooter.api.html"}]]},"headers":[{"level":3,"title":"CModalFooter","slug":"cmodalfooter","link":"#cmodalfooter","children":[]}],"filePathRelative":"api/modal/CModalFooter.api.md"}'); +export { + CModalFooter_api_html as comp, + data +}; diff --git a/vue/docs/assets/CModalFooter.api.html-BsNGmVfu.js b/vue/docs/assets/CModalFooter.api.html-BsNGmVfu.js deleted file mode 100644 index d6fcd939345..00000000000 --- a/vue/docs/assets/CModalFooter.api.html-BsNGmVfu.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalFooter

import { CModalFooter } from '@coreui/vue'\n// or\nimport CModalFooter from '@coreui/vue/src/components/modal/CModalFooter'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CModalFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalFooter.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/modal/CModalFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalFooter.api.html"}]]},"headers":[{"level":3,"title":"CModalFooter","slug":"cmodalfooter","link":"#cmodalfooter","children":[]}],"filePathRelative":"api/modal/CModalFooter.api.md"}'); -export { - CModalFooter_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModalHeader.api.html-Dg9LwxqA.js b/vue/docs/assets/CModalHeader.api.html-Dg9LwxqA.js deleted file mode 100644 index d6508836528..00000000000 --- a/vue/docs/assets/CModalHeader.api.html-Dg9LwxqA.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalHeader

import { CModalHeader } from '@coreui/vue'\n// or\nimport CModalHeader from '@coreui/vue/src/components/modal/CModalHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
close-buttonAdd a close button component to the header.boolean-true
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CModalHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/modal/CModalHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalHeader.api.html"}]]},"headers":[{"level":3,"title":"CModalHeader","slug":"cmodalheader","link":"#cmodalheader","children":[]}],"filePathRelative":"api/modal/CModalHeader.api.md"}'); -export { - CModalHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModalHeader.api.html-DoHVd2NU.js b/vue/docs/assets/CModalHeader.api.html-DoHVd2NU.js new file mode 100644 index 00000000000..f2c270cb96e --- /dev/null +++ b/vue/docs/assets/CModalHeader.api.html-DoHVd2NU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalHeader #

import { CModalHeader } from '@coreui/vue'\n// or\nimport CModalHeader from '@coreui/vue/src/components/modal/CModalHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
close-buttonAdd a close button component to the header.boolean-true
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CModalHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/modal/CModalHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalHeader.api.html"}]]},"headers":[{"level":3,"title":"CModalHeader","slug":"cmodalheader","link":"#cmodalheader","children":[]}],"filePathRelative":"api/modal/CModalHeader.api.md"}'); +export { + CModalHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CModalTitle.api.html-BBDuhOrq.js b/vue/docs/assets/CModalTitle.api.html-BBDuhOrq.js deleted file mode 100644 index c7e7908ce28..00000000000 --- a/vue/docs/assets/CModalTitle.api.html-BBDuhOrq.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalTitle

import { CModalTitle } from '@coreui/vue'\n// or\nimport CModalTitle from '@coreui/vue/src/components/modal/CModalTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CModalTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalTitle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/modal/CModalTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalTitle.api.html"}]]},"headers":[{"level":3,"title":"CModalTitle","slug":"cmodaltitle","link":"#cmodaltitle","children":[]}],"filePathRelative":"api/modal/CModalTitle.api.md"}'); -export { - CModalTitle_api_html as comp, - data -}; diff --git a/vue/docs/assets/CModalTitle.api.html-ZPHhqxhp.js b/vue/docs/assets/CModalTitle.api.html-ZPHhqxhp.js new file mode 100644 index 00000000000..d0275bb155c --- /dev/null +++ b/vue/docs/assets/CModalTitle.api.html-ZPHhqxhp.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CModalTitle #

import { CModalTitle } from '@coreui/vue'\n// or\nimport CModalTitle from '@coreui/vue/src/components/modal/CModalTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CModalTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CModalTitle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/modal/CModalTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/modal/CModalTitle.api.html"}]]},"headers":[{"level":3,"title":"CModalTitle","slug":"cmodaltitle","link":"#cmodaltitle","children":[]}],"filePathRelative":"api/modal/CModalTitle.api.md"}'); +export { + CModalTitle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CMultiSelect.api.html-B9pw_7rn.js b/vue/docs/assets/CMultiSelect.api.html-B9pw_7rn.js deleted file mode 100644 index a8502b367dc..00000000000 --- a/vue/docs/assets/CMultiSelect.api.html-B9pw_7rn.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelect

import { CMultiSelect } from '@coreui/vue-pro'\n// or\nimport CMultiSelect from '@coreui/vue-pro/src/components/multi-select/CMultiSelect'\n

Props

Prop nameDescriptionTypeValuesDefault
allow-create-options
4.9.0+
Allow users to create options if they are not in the list of options.boolean--
cleanerEnables selection cleaner element.
@default true
boolean-true
clear-search-on-select
4.9.0+
Clear current search on selecting an item.boolean--
disabledToggle the disabled state for the component.boolean--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idSet the id attribute for the native select element.

[Deprecated since v5.3.0] The name attribute for the native select element is generated based on the id property:
- <select name="\\{id\\}-multi-select" />
string--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
loading
4.9.0+
When set, the options list will have a loading style: loading spinner and reduced opacity.boolean--
multipleIt specifies that multiple options can be selected at once.
@default true
boolean-true
name
5.3.0+
The name attribute for the select element.string--
optionsList of option elements.(Option | OptionsGroup)[]-() => []
options-max-heightSets maxHeight of options list.
@default 'auto'
number|string-'auto'
options-styleSets option style.
@default 'checkbox'
string'checkbox', 'text''checkbox'
placeholderSpecifies a short hint that is visible in the search input.
@default 'Select...''
string-'Select...'
requiredWhen it is present, it indicates that the user must choose a value before submitting the form.boolean--
reset-selection-on-options-change
5.3.0+
Determines whether the selected options should be cleared when the options list is updated. When set to true, any previously selected options will be reset whenever the options list undergoes a change. This ensures that outdated selections are not retained when new options are provided.boolean--
searchEnables search input element.boolean|string-true
search-no-results-labelSets the label for no results when filtering.string-'no items'
select-allEnables select all button.
@default true
boolean-true
select-all-labelSets the select all button label.
@default 'Select all options'
string-'Select all options'
selection-typeSets the selection style.
@default 'tags'
string'counter', 'tags', 'text''tags'
selection-type-counter-textSets the counter selection label.
@default 'item(s) selected'
string-'item(s) selected'
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
virtual-scroller
4.8.0+
Enable virtual scroller for the options list.boolean--
visibleToggle the visibility of multi select dropdown.
@default false
boolean--
visible-items
4.8.0+
Amount of visible items when virtualScroller is set to true.number-10

Events

Event nameDescriptionProperties
changeExecute a function when a user changes the selected option. [docs]
filter-changeExecute a function when the filter value changed.
hideThe callback is fired when the Multi Select component requests to be hidden.
showThe callback is fired when the Multi Select component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CMultiSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelect.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/multi-select/CMultiSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelect.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelect","slug":"cmultiselect","link":"#cmultiselect","children":[]}],"filePathRelative":"api/multi-select/CMultiSelect.api.md"}'); -export { - CMultiSelect_api_html as comp, - data -}; diff --git a/vue/docs/assets/CMultiSelect.api.html-DieqOVIP.js b/vue/docs/assets/CMultiSelect.api.html-DieqOVIP.js new file mode 100644 index 00000000000..b3f0d357338 --- /dev/null +++ b/vue/docs/assets/CMultiSelect.api.html-DieqOVIP.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelect #

import { CMultiSelect } from '@coreui/vue-pro'\n// or\nimport CMultiSelect from '@coreui/vue-pro/src/components/multi-select/CMultiSelect'\n

Props #

Prop nameDescriptionTypeValuesDefault
allow-create-options
4.9.0+
Allow users to create options if they are not in the list of options.boolean--
cleanerEnables selection cleaner element.
@default true
boolean-true
clear-search-on-select
4.9.0+
Clear current search on selecting an item.boolean--
disabledToggle the disabled state for the component.boolean--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idSet the id attribute for the native select element.

[Deprecated since v5.3.0] The name attribute for the native select element is generated based on the id property:
- <select name="\\{id\\}-multi-select" />
string--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
loading
4.9.0+
When set, the options list will have a loading style: loading spinner and reduced opacity.boolean--
multipleIt specifies that multiple options can be selected at once.
@default true
boolean-true
name
5.3.0+
The name attribute for the select element.string--
optionsList of option elements.(Option | OptionsGroup)[]-() => []
options-max-heightSets maxHeight of options list.
@default 'auto'
number|string-'auto'
options-styleSets option style.
@default 'checkbox'
string'checkbox', 'text''checkbox'
placeholderSpecifies a short hint that is visible in the search input.
@default 'Select...''
string-'Select...'
requiredWhen it is present, it indicates that the user must choose a value before submitting the form.boolean--
reset-selection-on-options-change
5.3.0+
Determines whether the selected options should be cleared when the options list is updated. When set to true, any previously selected options will be reset whenever the options list undergoes a change. This ensures that outdated selections are not retained when new options are provided.boolean--
searchEnables search input element.boolean|string-true
search-no-results-labelSets the label for no results when filtering.string-'no items'
select-allEnables select all button.
@default true
boolean-true
select-all-labelSets the select all button label.
@default 'Select all options'
string-'Select all options'
selection-typeSets the selection style.
@default 'tags'
string'counter', 'tags', 'text''tags'
selection-type-counter-textSets the counter selection label.
@default 'item(s) selected'
string-'item(s) selected'
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
virtual-scroller
4.8.0+
Enable virtual scroller for the options list.boolean--
visibleToggle the visibility of multi select dropdown.
@default false
boolean--
visible-items
4.8.0+
Amount of visible items when virtualScroller is set to true.number-10

Events #

Event nameDescriptionProperties
changeExecute a function when a user changes the selected option. [docs]
filter-changeExecute a function when the filter value changed.
hideThe callback is fired when the Multi Select component requests to be hidden.
showThe callback is fired when the Multi Select component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CMultiSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelect.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/multi-select/CMultiSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelect.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelect","slug":"cmultiselect","link":"#cmultiselect","children":[]}],"filePathRelative":"api/multi-select/CMultiSelect.api.md"}'); +export { + CMultiSelect_api_html as comp, + data +}; diff --git a/vue/docs/assets/CMultiSelectNativeSelect.api.html-CIhoy8ZE.js b/vue/docs/assets/CMultiSelectNativeSelect.api.html-CIhoy8ZE.js new file mode 100644 index 00000000000..4c7f6e93396 --- /dev/null +++ b/vue/docs/assets/CMultiSelectNativeSelect.api.html-CIhoy8ZE.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectGroupOption #

import { CMultiSelectGroupOption } from '@coreui/vue-pro'\n// or\nimport CMultiSelectGroupOption from '@coreui/vue-pro/src/components/multi-select/CMultiSelectNativeSelect'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
change
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CMultiSelectNativeSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectNativeSelect.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectNativeSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectGroupOption","slug":"cmultiselectgroupoption","link":"#cmultiselectgroupoption","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectNativeSelect.api.md"}'); +export { + CMultiSelectNativeSelect_api_html as comp, + data +}; diff --git a/vue/docs/assets/CMultiSelectNativeSelect.api.html-Mfuatll8.js b/vue/docs/assets/CMultiSelectNativeSelect.api.html-Mfuatll8.js deleted file mode 100644 index 772dfb3610f..00000000000 --- a/vue/docs/assets/CMultiSelectNativeSelect.api.html-Mfuatll8.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectGroupOption

import { CMultiSelectGroupOption } from '@coreui/vue-pro'\n// or\nimport CMultiSelectGroupOption from '@coreui/vue-pro/src/components/multi-select/CMultiSelectNativeSelect'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
change
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CMultiSelectNativeSelect_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectNativeSelect.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectNativeSelect.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectNativeSelect.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectGroupOption","slug":"cmultiselectgroupoption","link":"#cmultiselectgroupoption","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectNativeSelect.api.md"}'); -export { - CMultiSelectNativeSelect_api_html as comp, - data -}; diff --git a/vue/docs/assets/CMultiSelectOptions.api.html-DivQq4t9.js b/vue/docs/assets/CMultiSelectOptions.api.html-DivQq4t9.js deleted file mode 100644 index 3667cab2d27..00000000000 --- a/vue/docs/assets/CMultiSelectOptions.api.html-DivQq4t9.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectOptions

import { CMultiSelectOptions } from '@coreui/vue-pro'\n// or\nimport CMultiSelectOptions from '@coreui/vue-pro/src/components/multi-select/CMultiSelectOptions'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
option-click
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CMultiSelectOptions_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectOptions.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectOptions.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectOptions.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectOptions","slug":"cmultiselectoptions","link":"#cmultiselectoptions","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectOptions.api.md"}'); -export { - CMultiSelectOptions_api_html as comp, - data -}; diff --git a/vue/docs/assets/CMultiSelectOptions.api.html-DtAlk_Hc.js b/vue/docs/assets/CMultiSelectOptions.api.html-DtAlk_Hc.js new file mode 100644 index 00000000000..466fb00195a --- /dev/null +++ b/vue/docs/assets/CMultiSelectOptions.api.html-DtAlk_Hc.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectOptions #

import { CMultiSelectOptions } from '@coreui/vue-pro'\n// or\nimport CMultiSelectOptions from '@coreui/vue-pro/src/components/multi-select/CMultiSelectOptions'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
option-click
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CMultiSelectOptions_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectOptions.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectOptions.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectOptions.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectOptions","slug":"cmultiselectoptions","link":"#cmultiselectoptions","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectOptions.api.md"}'); +export { + CMultiSelectOptions_api_html as comp, + data +}; diff --git a/vue/docs/assets/CMultiSelectSelection.api.html-CUdfepD8.js b/vue/docs/assets/CMultiSelectSelection.api.html-CUdfepD8.js new file mode 100644 index 00000000000..5f7a6e33171 --- /dev/null +++ b/vue/docs/assets/CMultiSelectSelection.api.html-CUdfepD8.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectSelection #

import { CMultiSelectSelection } from '@coreui/vue-pro'\n// or\nimport CMultiSelectSelection from '@coreui/vue-pro/src/components/multi-select/CMultiSelectSelection'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
remove
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CMultiSelectSelection_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectSelection.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectSelection.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectSelection.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectSelection","slug":"cmultiselectselection","link":"#cmultiselectselection","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectSelection.api.md"}'); +export { + CMultiSelectSelection_api_html as comp, + data +}; diff --git a/vue/docs/assets/CMultiSelectSelection.api.html-D2u4Hpu2.js b/vue/docs/assets/CMultiSelectSelection.api.html-D2u4Hpu2.js deleted file mode 100644 index 9897fc20894..00000000000 --- a/vue/docs/assets/CMultiSelectSelection.api.html-D2u4Hpu2.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CMultiSelectSelection

import { CMultiSelectSelection } from '@coreui/vue-pro'\n// or\nimport CMultiSelectSelection from '@coreui/vue-pro/src/components/multi-select/CMultiSelectSelection'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
remove
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CMultiSelectSelection_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CMultiSelectSelection.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/multi-select/CMultiSelectSelection.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/multi-select/CMultiSelectSelection.api.html"}]]},"headers":[{"level":3,"title":"CMultiSelectSelection","slug":"cmultiselectselection","link":"#cmultiselectselection","children":[]}],"filePathRelative":"api/multi-select/CMultiSelectSelection.api.md"}'); -export { - CMultiSelectSelection_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNav.api.html-BFqXbscE.js b/vue/docs/assets/CNav.api.html-BFqXbscE.js new file mode 100644 index 00000000000..d8994f0d61d --- /dev/null +++ b/vue/docs/assets/CNav.api.html-BFqXbscE.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNav #

import { CNav } from '@coreui/vue'\n// or\nimport CNav from '@coreui/vue/src/components/nav/CNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNav.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNav.api.html"}]]},"headers":[{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]}],"filePathRelative":"api/nav/CNav.api.md"}'); +export { + CNav_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNav.api.html-CHflKJ-r.js b/vue/docs/assets/CNav.api.html-CHflKJ-r.js deleted file mode 100644 index 51751455128..00000000000 --- a/vue/docs/assets/CNav.api.html-CHflKJ-r.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNav

import { CNav } from '@coreui/vue'\n// or\nimport CNav from '@coreui/vue/src/components/nav/CNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNav.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNav.api.html"}]]},"headers":[{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]}],"filePathRelative":"api/nav/CNav.api.md"}'); -export { - CNav_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavGroup.api.html-B69rD5K0.js b/vue/docs/assets/CNavGroup.api.html-B69rD5K0.js deleted file mode 100644 index 5a39fe5448e..00000000000 --- a/vue/docs/assets/CNavGroup.api.html-B69rD5K0.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavGroup

import { CNavGroup } from '@coreui/vue'\n// or\nimport CNavGroup from '@coreui/vue/src/components/nav/CNavGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
compactMake nav group more compact by cutting all padding in half.boolean--
visibleShow nav group items.boolean--

Events

Event nameDescriptionProperties
visible-change
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CNavGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavGroup.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNavGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavGroup.api.html"}]]},"headers":[{"level":3,"title":"CNavGroup","slug":"cnavgroup","link":"#cnavgroup","children":[]}],"filePathRelative":"api/nav/CNavGroup.api.md"}'); -export { - CNavGroup_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavGroup.api.html-CQwUJgTt.js b/vue/docs/assets/CNavGroup.api.html-CQwUJgTt.js new file mode 100644 index 00000000000..09f19597218 --- /dev/null +++ b/vue/docs/assets/CNavGroup.api.html-CQwUJgTt.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavGroup #

import { CNavGroup } from '@coreui/vue'\n// or\nimport CNavGroup from '@coreui/vue/src/components/nav/CNavGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
compactMake nav group more compact by cutting all padding in half.boolean--
visibleShow nav group items.boolean--

Events #

Event nameDescriptionProperties
visible-change
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CNavGroup_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavGroup.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNavGroup.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavGroup.api.html"}]]},"headers":[{"level":3,"title":"CNavGroup","slug":"cnavgroup","link":"#cnavgroup","children":[]}],"filePathRelative":"api/nav/CNavGroup.api.md"}'); +export { + CNavGroup_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavGroupItems.api.html-B0aFIsJL.js b/vue/docs/assets/CNavGroupItems.api.html-B0aFIsJL.js new file mode 100644 index 00000000000..ef33b475ff4 --- /dev/null +++ b/vue/docs/assets/CNavGroupItems.api.html-B0aFIsJL.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavGroupItems #

import { CNavGroupItems } from '@coreui/vue'\n// or\nimport CNavGroupItems from '@coreui/vue/src/components/nav/CNavGroupItems'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CNavGroupItems_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavGroupItems.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNavGroupItems.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavGroupItems.api.html"}]]},"headers":[{"level":3,"title":"CNavGroupItems","slug":"cnavgroupitems","link":"#cnavgroupitems","children":[]}],"filePathRelative":"api/nav/CNavGroupItems.api.md"}'); +export { + CNavGroupItems_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavGroupItems.api.html-MzViYoW-.js b/vue/docs/assets/CNavGroupItems.api.html-MzViYoW-.js deleted file mode 100644 index 5faa048c431..00000000000 --- a/vue/docs/assets/CNavGroupItems.api.html-MzViYoW-.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavGroupItems

import { CNavGroupItems } from '@coreui/vue'\n// or\nimport CNavGroupItems from '@coreui/vue/src/components/nav/CNavGroupItems'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CNavGroupItems_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavGroupItems.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNavGroupItems.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavGroupItems.api.html"}]]},"headers":[{"level":3,"title":"CNavGroupItems","slug":"cnavgroupitems","link":"#cnavgroupitems","children":[]}],"filePathRelative":"api/nav/CNavGroupItems.api.md"}'); -export { - CNavGroupItems_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavItem.api.html-BluVGAkl.js b/vue/docs/assets/CNavItem.api.html-BluVGAkl.js deleted file mode 100644 index 04e299fbad6..00000000000 --- a/vue/docs/assets/CNavItem.api.html-BluVGAkl.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavItem

import { CNavItem } from '@coreui/vue'\n// or\nimport CNavItem from '@coreui/vue/src/components/nav/CNavItem'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNavItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavItem.api.html"}]]},"headers":[{"level":3,"title":"CNavItem","slug":"cnavitem","link":"#cnavitem","children":[]}],"filePathRelative":"api/nav/CNavItem.api.md"}'); -export { - CNavItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavItem.api.html-D9aqO2xw.js b/vue/docs/assets/CNavItem.api.html-D9aqO2xw.js new file mode 100644 index 00000000000..0b331f56bd8 --- /dev/null +++ b/vue/docs/assets/CNavItem.api.html-D9aqO2xw.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavItem #

import { CNavItem } from '@coreui/vue'\n// or\nimport CNavItem from '@coreui/vue/src/components/nav/CNavItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNavItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavItem.api.html"}]]},"headers":[{"level":3,"title":"CNavItem","slug":"cnavitem","link":"#cnavitem","children":[]}],"filePathRelative":"api/nav/CNavItem.api.md"}'); +export { + CNavItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavLink.api.html-2gObI4eE.js b/vue/docs/assets/CNavLink.api.html-2gObI4eE.js new file mode 100644 index 00000000000..f6ccc5c7f3b --- /dev/null +++ b/vue/docs/assets/CNavLink.api.html-2gObI4eE.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CNavLink } from '@coreui/vue'\n// or\nimport CNavLink from '@coreui/vue/src/components/nav/CNavLink'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavLink.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNavLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavLink.api.html"}]]},"headers":[{"level":3,"title":"CNavLink","slug":"cnavlink","link":"#cnavlink","children":[]}],"filePathRelative":"api/nav/CNavLink.api.md"}'); +export { + CNavLink_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavLink.api.html-BLbL7bWh.js b/vue/docs/assets/CNavLink.api.html-BLbL7bWh.js deleted file mode 100644 index a424f1f44e6..00000000000 --- a/vue/docs/assets/CNavLink.api.html-BLbL7bWh.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('
import { CNavLink } from '@coreui/vue'\n// or\nimport CNavLink from '@coreui/vue/src/components/nav/CNavLink'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavLink_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavLink.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNavLink.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavLink.api.html"}]]},"headers":[{"level":3,"title":"CNavLink","slug":"cnavlink","link":"#cnavlink","children":[]}],"filePathRelative":"api/nav/CNavLink.api.md"}'); -export { - CNavLink_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavTitle.api.html-B5pzzmsO.js b/vue/docs/assets/CNavTitle.api.html-B5pzzmsO.js deleted file mode 100644 index 3e11ecaa3e9..00000000000 --- a/vue/docs/assets/CNavTitle.api.html-B5pzzmsO.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavTitle

import { CNavTitle } from '@coreui/vue'\n// or\nimport CNavTitle from '@coreui/vue/src/components/nav/CNavTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavTitle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/nav/CNavTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavTitle.api.html"}]]},"headers":[{"level":3,"title":"CNavTitle","slug":"cnavtitle","link":"#cnavtitle","children":[]}],"filePathRelative":"api/nav/CNavTitle.api.md"}'); -export { - CNavTitle_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavTitle.api.html-jwhtM3Ht.js b/vue/docs/assets/CNavTitle.api.html-jwhtM3Ht.js new file mode 100644 index 00000000000..0b82448dae4 --- /dev/null +++ b/vue/docs/assets/CNavTitle.api.html-jwhtM3Ht.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavTitle #

import { CNavTitle } from '@coreui/vue'\n// or\nimport CNavTitle from '@coreui/vue/src/components/nav/CNavTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavTitle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/nav/CNavTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/nav/CNavTitle.api.html"}]]},"headers":[{"level":3,"title":"CNavTitle","slug":"cnavtitle","link":"#cnavtitle","children":[]}],"filePathRelative":"api/nav/CNavTitle.api.md"}'); +export { + CNavTitle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavbar.api.html-Bpr_rlAN.js b/vue/docs/assets/CNavbar.api.html-Bpr_rlAN.js new file mode 100644 index 00000000000..ebf71a82daa --- /dev/null +++ b/vue/docs/assets/CNavbar.api.html-Bpr_rlAN.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbar #

import { CNavbar } from '@coreui/vue'\n// or\nimport CNavbar from '@coreui/vue/src/components/navbar/CNavbar'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'nav'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', 'light'-
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
expandDefines the responsive breakpoint to determine when content collapses.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
placementPlace component in non-static positions.string'fixed-top', 'fixed-bottom', 'sticky-top'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavbar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/navbar/CNavbar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbar.api.html"}]]},"headers":[{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]}],"filePathRelative":"api/navbar/CNavbar.api.md"}'); +export { + CNavbar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavbar.api.html-D6jrKQQE.js b/vue/docs/assets/CNavbar.api.html-D6jrKQQE.js deleted file mode 100644 index e57f88138c0..00000000000 --- a/vue/docs/assets/CNavbar.api.html-D6jrKQQE.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbar

import { CNavbar } from '@coreui/vue'\n// or\nimport CNavbar from '@coreui/vue/src/components/navbar/CNavbar'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'nav'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', 'light'-
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
expandDefines the responsive breakpoint to determine when content collapses.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
placementPlace component in non-static positions.string'fixed-top', 'fixed-bottom', 'sticky-top'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavbar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/navbar/CNavbar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbar.api.html"}]]},"headers":[{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]}],"filePathRelative":"api/navbar/CNavbar.api.md"}'); -export { - CNavbar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavbarBrand.api.html-iAKNmT2K.js b/vue/docs/assets/CNavbarBrand.api.html-iAKNmT2K.js deleted file mode 100644 index 2481a166638..00000000000 --- a/vue/docs/assets/CNavbarBrand.api.html-iAKNmT2K.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarBrand

import { CNavbarBrand } from '@coreui/vue'\n// or\nimport CNavbarBrand from '@coreui/vue/src/components/navbar/CNavbarBrand'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavbarBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarBrand.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/navbar/CNavbarBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarBrand.api.html"}]]},"headers":[{"level":3,"title":"CNavbarBrand","slug":"cnavbarbrand","link":"#cnavbarbrand","children":[]}],"filePathRelative":"api/navbar/CNavbarBrand.api.md"}'); -export { - CNavbarBrand_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavbarBrand.api.html-wHe16RAc.js b/vue/docs/assets/CNavbarBrand.api.html-wHe16RAc.js new file mode 100644 index 00000000000..ed34f977b16 --- /dev/null +++ b/vue/docs/assets/CNavbarBrand.api.html-wHe16RAc.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarBrand #

import { CNavbarBrand } from '@coreui/vue'\n// or\nimport CNavbarBrand from '@coreui/vue/src/components/navbar/CNavbarBrand'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavbarBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarBrand.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/navbar/CNavbarBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarBrand.api.html"}]]},"headers":[{"level":3,"title":"CNavbarBrand","slug":"cnavbarbrand","link":"#cnavbarbrand","children":[]}],"filePathRelative":"api/navbar/CNavbarBrand.api.md"}'); +export { + CNavbarBrand_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavbarNav.api.html-BvIABqX_.js b/vue/docs/assets/CNavbarNav.api.html-BvIABqX_.js new file mode 100644 index 00000000000..7c0373eb160 --- /dev/null +++ b/vue/docs/assets/CNavbarNav.api.html-BvIABqX_.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarNav #

import { CNavbarNav } from '@coreui/vue'\n// or\nimport CNavbarNav from '@coreui/vue/src/components/navbar/CNavbarNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CNavbarNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarNav.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/navbar/CNavbarNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarNav.api.html"}]]},"headers":[{"level":3,"title":"CNavbarNav","slug":"cnavbarnav","link":"#cnavbarnav","children":[]}],"filePathRelative":"api/navbar/CNavbarNav.api.md"}'); +export { + CNavbarNav_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavbarNav.api.html-DTmYoiRc.js b/vue/docs/assets/CNavbarNav.api.html-DTmYoiRc.js deleted file mode 100644 index 2143a2e69df..00000000000 --- a/vue/docs/assets/CNavbarNav.api.html-DTmYoiRc.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarNav

import { CNavbarNav } from '@coreui/vue'\n// or\nimport CNavbarNav from '@coreui/vue/src/components/navbar/CNavbarNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CNavbarNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarNav.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/navbar/CNavbarNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarNav.api.html"}]]},"headers":[{"level":3,"title":"CNavbarNav","slug":"cnavbarnav","link":"#cnavbarnav","children":[]}],"filePathRelative":"api/navbar/CNavbarNav.api.md"}'); -export { - CNavbarNav_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavbarText.api.html-DXM-0CeX.js b/vue/docs/assets/CNavbarText.api.html-DXM-0CeX.js new file mode 100644 index 00000000000..cd2e2239119 --- /dev/null +++ b/vue/docs/assets/CNavbarText.api.html-DXM-0CeX.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarText #

import { CNavbarText } from '@coreui/vue'\n// or\nimport CNavbarText from '@coreui/vue/src/components/navbar/CNavbarText'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CNavbarText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarText.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/navbar/CNavbarText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarText.api.html"}]]},"headers":[{"level":3,"title":"CNavbarText","slug":"cnavbartext","link":"#cnavbartext","children":[]}],"filePathRelative":"api/navbar/CNavbarText.api.md"}'); +export { + CNavbarText_api_html as comp, + data +}; diff --git a/vue/docs/assets/CNavbarText.api.html-DhRgVY0Q.js b/vue/docs/assets/CNavbarText.api.html-DhRgVY0Q.js deleted file mode 100644 index daf5fa4176b..00000000000 --- a/vue/docs/assets/CNavbarText.api.html-DhRgVY0Q.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarText

import { CNavbarText } from '@coreui/vue'\n// or\nimport CNavbarText from '@coreui/vue/src/components/navbar/CNavbarText'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CNavbarText_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarText.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/navbar/CNavbarText.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarText.api.html"}]]},"headers":[{"level":3,"title":"CNavbarText","slug":"cnavbartext","link":"#cnavbartext","children":[]}],"filePathRelative":"api/navbar/CNavbarText.api.md"}'); -export { - CNavbarText_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavbarToggler.api.html-BHSE5jxT.js b/vue/docs/assets/CNavbarToggler.api.html-BHSE5jxT.js deleted file mode 100644 index 6b635d6f109..00000000000 --- a/vue/docs/assets/CNavbarToggler.api.html-BHSE5jxT.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarToggler

import { CNavbarToggler } from '@coreui/vue'\n// or\nimport CNavbarToggler from '@coreui/vue/src/components/navbar/CNavbarToggler'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CNavbarToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarToggler.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/navbar/CNavbarToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarToggler.api.html"}]]},"headers":[{"level":3,"title":"CNavbarToggler","slug":"cnavbartoggler","link":"#cnavbartoggler","children":[]}],"filePathRelative":"api/navbar/CNavbarToggler.api.md"}'); -export { - CNavbarToggler_api_html as comp, - data -}; diff --git a/vue/docs/assets/CNavbarToggler.api.html-Du6cS1F2.js b/vue/docs/assets/CNavbarToggler.api.html-Du6cS1F2.js new file mode 100644 index 00000000000..e16786f429a --- /dev/null +++ b/vue/docs/assets/CNavbarToggler.api.html-Du6cS1F2.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CNavbarToggler #

import { CNavbarToggler } from '@coreui/vue'\n// or\nimport CNavbarToggler from '@coreui/vue/src/components/navbar/CNavbarToggler'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CNavbarToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CNavbarToggler.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/navbar/CNavbarToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/navbar/CNavbarToggler.api.html"}]]},"headers":[{"level":3,"title":"CNavbarToggler","slug":"cnavbartoggler","link":"#cnavbartoggler","children":[]}],"filePathRelative":"api/navbar/CNavbarToggler.api.md"}'); +export { + CNavbarToggler_api_html as comp, + data +}; diff --git a/vue/docs/assets/COffcanvas.api.html--9epuLuW.js b/vue/docs/assets/COffcanvas.api.html--9epuLuW.js deleted file mode 100644 index 361888c7c26..00000000000 --- a/vue/docs/assets/COffcanvas.api.html--9epuLuW.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvas

import { COffcanvas } from '@coreui/vue'\n// or\nimport COffcanvas from '@coreui/vue/src/components/offcanvas/COffcanvas'\n

Props

Prop nameDescriptionTypeValuesDefault
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
darkSets a darker color scheme.boolean--
keyboardCloses the offcanvas when escape key is pressed.boolean-true
placementComponents placement, there’s no default placement.string'start', 'end', 'top', 'bottom'-
responsive
4.7.0+
Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down.boolean|stringboolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'true
scrollAllow body scrolling while offcanvas is openboolean-false
visibleToggle the visibility of offcanvas component.boolean-false

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const COffcanvas_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvas.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/offcanvas/COffcanvas.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvas.api.html"}]]},"headers":[{"level":3,"title":"COffcanvas","slug":"coffcanvas","link":"#coffcanvas","children":[]}],"filePathRelative":"api/offcanvas/COffcanvas.api.md"}'); -export { - COffcanvas_api_html as comp, - data -}; diff --git a/vue/docs/assets/COffcanvas.api.html-C1yrjIbI.js b/vue/docs/assets/COffcanvas.api.html-C1yrjIbI.js new file mode 100644 index 00000000000..4fe20332ae2 --- /dev/null +++ b/vue/docs/assets/COffcanvas.api.html-C1yrjIbI.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvas #

import { COffcanvas } from '@coreui/vue'\n// or\nimport COffcanvas from '@coreui/vue/src/components/offcanvas/COffcanvas'\n

Props #

Prop nameDescriptionTypeValuesDefault
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
darkSets a darker color scheme.boolean--
keyboardCloses the offcanvas when escape key is pressed.boolean-true
placementComponents placement, there’s no default placement.string'start', 'end', 'top', 'bottom'-
responsive
4.7.0+
Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down.boolean|stringboolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'true
scrollAllow body scrolling while offcanvas is openboolean-false
visibleToggle the visibility of offcanvas component.boolean-false

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const COffcanvas_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvas.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/offcanvas/COffcanvas.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvas.api.html"}]]},"headers":[{"level":3,"title":"COffcanvas","slug":"coffcanvas","link":"#coffcanvas","children":[]}],"filePathRelative":"api/offcanvas/COffcanvas.api.md"}'); +export { + COffcanvas_api_html as comp, + data +}; diff --git a/vue/docs/assets/COffcanvasBody.api.html-Cuyu4m1t.js b/vue/docs/assets/COffcanvasBody.api.html-Cuyu4m1t.js new file mode 100644 index 00000000000..cf6b8324162 --- /dev/null +++ b/vue/docs/assets/COffcanvasBody.api.html-Cuyu4m1t.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasBody #

import { COffcanvasBody } from '@coreui/vue'\n// or\nimport COffcanvasBody from '@coreui/vue/src/components/offcanvas/COffcanvasBody'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const COffcanvasBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasBody.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasBody","slug":"coffcanvasbody","link":"#coffcanvasbody","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasBody.api.md"}'); +export { + COffcanvasBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/COffcanvasBody.api.html-DpuEcC8p.js b/vue/docs/assets/COffcanvasBody.api.html-DpuEcC8p.js deleted file mode 100644 index 1dfdaff11ee..00000000000 --- a/vue/docs/assets/COffcanvasBody.api.html-DpuEcC8p.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasBody

import { COffcanvasBody } from '@coreui/vue'\n// or\nimport COffcanvasBody from '@coreui/vue/src/components/offcanvas/COffcanvasBody'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const COffcanvasBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasBody.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasBody","slug":"coffcanvasbody","link":"#coffcanvasbody","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasBody.api.md"}'); -export { - COffcanvasBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/COffcanvasHeader.api.html-C94tOX9J.js b/vue/docs/assets/COffcanvasHeader.api.html-C94tOX9J.js new file mode 100644 index 00000000000..66c5b6029b5 --- /dev/null +++ b/vue/docs/assets/COffcanvasHeader.api.html-C94tOX9J.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasHeader #

import { COffcanvasHeader } from '@coreui/vue'\n// or\nimport COffcanvasHeader from '@coreui/vue/src/components/offcanvas/COffcanvasHeader'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const COffcanvasHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasHeader.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasHeader","slug":"coffcanvasheader","link":"#coffcanvasheader","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasHeader.api.md"}'); +export { + COffcanvasHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/COffcanvasHeader.api.html-CA3y4VF-.js b/vue/docs/assets/COffcanvasHeader.api.html-CA3y4VF-.js deleted file mode 100644 index 27d0ff23fa7..00000000000 --- a/vue/docs/assets/COffcanvasHeader.api.html-CA3y4VF-.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasHeader

import { COffcanvasHeader } from '@coreui/vue'\n// or\nimport COffcanvasHeader from '@coreui/vue/src/components/offcanvas/COffcanvasHeader'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const COffcanvasHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasHeader.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasHeader","slug":"coffcanvasheader","link":"#coffcanvasheader","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasHeader.api.md"}'); -export { - COffcanvasHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/COffcanvasTitle.api.html-BCDNOR0i.js b/vue/docs/assets/COffcanvasTitle.api.html-BCDNOR0i.js deleted file mode 100644 index d45f7c0ce53..00000000000 --- a/vue/docs/assets/COffcanvasTitle.api.html-BCDNOR0i.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasTitle

import { COffcanvasTitle } from '@coreui/vue'\n// or\nimport COffcanvasTitle from '@coreui/vue/src/components/offcanvas/COffcanvasTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const COffcanvasTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasTitle.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasTitle.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasTitle.api.md"}'); -export { - COffcanvasTitle_api_html as comp, - data -}; diff --git a/vue/docs/assets/COffcanvasTitle.api.html-DWPpS-Pe.js b/vue/docs/assets/COffcanvasTitle.api.html-DWPpS-Pe.js new file mode 100644 index 00000000000..b40d315392b --- /dev/null +++ b/vue/docs/assets/COffcanvasTitle.api.html-DWPpS-Pe.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

COffcanvasTitle #

import { COffcanvasTitle } from '@coreui/vue'\n// or\nimport COffcanvasTitle from '@coreui/vue/src/components/offcanvas/COffcanvasTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const COffcanvasTitle_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "COffcanvasTitle.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/offcanvas/COffcanvasTitle.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/offcanvas/COffcanvasTitle.api.html"}]]},"headers":[{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]}],"filePathRelative":"api/offcanvas/COffcanvasTitle.api.md"}'); +export { + COffcanvasTitle_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPagination.api.html-CDazWQCT.js b/vue/docs/assets/CPagination.api.html-CDazWQCT.js new file mode 100644 index 00000000000..5cdcb03d020 --- /dev/null +++ b/vue/docs/assets/CPagination.api.html-CDazWQCT.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPagination #

import { CPagination } from '@coreui/vue'\n// or\nimport CPagination from '@coreui/vue/src/components/pagination/CPagination'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the alignment of pagination components.string'start', 'center', 'end'-
sizeSize the component small or large.string'sm', 'lg'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPagination.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/pagination/CPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CPagination.api.html"}]]},"headers":[{"level":3,"title":"CPagination","slug":"cpagination","link":"#cpagination","children":[]}],"filePathRelative":"api/pagination/CPagination.api.md"}'); +export { + CPagination_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPagination.api.html-mFhXc4Yf.js b/vue/docs/assets/CPagination.api.html-mFhXc4Yf.js deleted file mode 100644 index dccc0ca8045..00000000000 --- a/vue/docs/assets/CPagination.api.html-mFhXc4Yf.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPagination

import { CPagination } from '@coreui/vue'\n// or\nimport CPagination from '@coreui/vue/src/components/pagination/CPagination'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the alignment of pagination components.string'start', 'center', 'end'-
sizeSize the component small or large.string'sm', 'lg'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPagination.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/pagination/CPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CPagination.api.html"}]]},"headers":[{"level":3,"title":"CPagination","slug":"cpagination","link":"#cpagination","children":[]}],"filePathRelative":"api/pagination/CPagination.api.md"}'); -export { - CPagination_api_html as comp, - data -}; diff --git a/vue/docs/assets/CPaginationItem.api.html-Bsa5oQkt.js b/vue/docs/assets/CPaginationItem.api.html-Bsa5oQkt.js deleted file mode 100644 index ab723dcf061..00000000000 --- a/vue/docs/assets/CPaginationItem.api.html-Bsa5oQkt.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPaginationItem

import { CPaginationItem } from '@coreui/vue'\n// or\nimport CPaginationItem from '@coreui/vue/src/components/pagination/CPaginationItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string--
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CPaginationItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPaginationItem.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/pagination/CPaginationItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CPaginationItem.api.html"}]]},"headers":[{"level":3,"title":"CPaginationItem","slug":"cpaginationitem","link":"#cpaginationitem","children":[]}],"filePathRelative":"api/pagination/CPaginationItem.api.md"}'); -export { - CPaginationItem_api_html as comp, - data -}; diff --git a/vue/docs/assets/CPaginationItem.api.html-CrJi52XB.js b/vue/docs/assets/CPaginationItem.api.html-CrJi52XB.js new file mode 100644 index 00000000000..a0546dcb44d --- /dev/null +++ b/vue/docs/assets/CPaginationItem.api.html-CrJi52XB.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPaginationItem #

import { CPaginationItem } from '@coreui/vue'\n// or\nimport CPaginationItem from '@coreui/vue/src/components/pagination/CPaginationItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string--
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CPaginationItem_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPaginationItem.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/pagination/CPaginationItem.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CPaginationItem.api.html"}]]},"headers":[{"level":3,"title":"CPaginationItem","slug":"cpaginationitem","link":"#cpaginationitem","children":[]}],"filePathRelative":"api/pagination/CPaginationItem.api.md"}'); +export { + CPaginationItem_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPicker.api.html-Da5Hysn9.js b/vue/docs/assets/CPicker.api.html-Da5Hysn9.js deleted file mode 100644 index 0bfe3fb79f3..00000000000 --- a/vue/docs/assets/CPicker.api.html-Da5Hysn9.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPicker

import { CPicker } from '@coreui/vue'\n// or\nimport CPicker from '@coreui/vue/src/components/picker/CPicker'\n

Props

Prop nameDescriptionTypeValuesDefault
containerSet container type for the component.stringdropdown, inline'dropdown'
disabledToggle the disabled state for the component.boolean--
dropdown-class-namesA string of all className you want applied to the dropdown menu.string--
footerToggle visibility of footer element or set the content of footer.boolean--
visibleToggle the visibility of the component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CPicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPicker.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/picker/CPicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/picker/CPicker.api.html"}]]},"headers":[{"level":3,"title":"CPicker","slug":"cpicker","link":"#cpicker","children":[]}],"filePathRelative":"api/picker/CPicker.api.md"}'); -export { - CPicker_api_html as comp, - data -}; diff --git a/vue/docs/assets/CPicker.api.html-oSkyMXwU.js b/vue/docs/assets/CPicker.api.html-oSkyMXwU.js new file mode 100644 index 00000000000..f70fff10a6d --- /dev/null +++ b/vue/docs/assets/CPicker.api.html-oSkyMXwU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPicker #

import { CPicker } from '@coreui/vue'\n// or\nimport CPicker from '@coreui/vue/src/components/picker/CPicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
containerSet container type for the component.stringdropdown, inline'dropdown'
disabledToggle the disabled state for the component.boolean--
dropdown-class-namesA string of all className you want applied to the dropdown menu.string--
footerToggle visibility of footer element or set the content of footer.boolean--
visibleToggle the visibility of the component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CPicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPicker.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/picker/CPicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/picker/CPicker.api.html"}]]},"headers":[{"level":3,"title":"CPicker","slug":"cpicker","link":"#cpicker","children":[]}],"filePathRelative":"api/picker/CPicker.api.md"}'); +export { + CPicker_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPlaceholder.api.html-CpcOzpbr.js b/vue/docs/assets/CPlaceholder.api.html-CpcOzpbr.js deleted file mode 100644 index 06d22a06dd9..00000000000 --- a/vue/docs/assets/CPlaceholder.api.html-CpcOzpbr.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPlaceholder

import { CPlaceholder } from '@coreui/vue'\n// or\nimport CPlaceholder from '@coreui/vue/src/components/placeholder/CPlaceholder'\n

Props

Prop nameDescriptionTypeValuesDefault
animationSet animation type to better convey the perception of something being actively loaded.string'glow', 'wave'-
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component extra small, small, or large.string'xs', 'sm', 'lg'-
xsThe number of columns on extra small devices (<576px).number--
smThe number of columns on small devices (<768px).number--
mdThe number of columns on medium devices (<992px).number--
lgThe number of columns on large devices (<1200px).number--
xlThe number of columns on X-Large devices (<1400px).number--
xxlThe number of columns on XX-Large devices (≥1400px).number--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CPlaceholder_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPlaceholder.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/placeholder/CPlaceholder.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/placeholder/CPlaceholder.api.html"}]]},"headers":[{"level":3,"title":"CPlaceholder","slug":"cplaceholder","link":"#cplaceholder","children":[]}],"filePathRelative":"api/placeholder/CPlaceholder.api.md"}'); -export { - CPlaceholder_api_html as comp, - data -}; diff --git a/vue/docs/assets/CPlaceholder.api.html-TZhyRjR4.js b/vue/docs/assets/CPlaceholder.api.html-TZhyRjR4.js new file mode 100644 index 00000000000..42ed856b404 --- /dev/null +++ b/vue/docs/assets/CPlaceholder.api.html-TZhyRjR4.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPlaceholder #

import { CPlaceholder } from '@coreui/vue'\n// or\nimport CPlaceholder from '@coreui/vue/src/components/placeholder/CPlaceholder'\n

Props #

Prop nameDescriptionTypeValuesDefault
animationSet animation type to better convey the perception of something being actively loaded.string'glow', 'wave'-
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component extra small, small, or large.string'xs', 'sm', 'lg'-
xsThe number of columns on extra small devices (<576px).number--
smThe number of columns on small devices (<768px).number--
mdThe number of columns on medium devices (<992px).number--
lgThe number of columns on large devices (<1200px).number--
xlThe number of columns on X-Large devices (<1400px).number--
xxlThe number of columns on XX-Large devices (≥1400px).number--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CPlaceholder_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPlaceholder.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/placeholder/CPlaceholder.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/placeholder/CPlaceholder.api.html"}]]},"headers":[{"level":3,"title":"CPlaceholder","slug":"cplaceholder","link":"#cplaceholder","children":[]}],"filePathRelative":"api/placeholder/CPlaceholder.api.md"}'); +export { + CPlaceholder_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPopover.api.html-tQSUMLbj.js b/vue/docs/assets/CPopover.api.html-tQSUMLbj.js new file mode 100644 index 00000000000..86908a3b7bd --- /dev/null +++ b/vue/docs/assets/CPopover.api.html-tQSUMLbj.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPopover #

import { CPopover } from '@coreui/vue'\n// or\nimport CPopover from '@coreui/vue/src/components/popover/CPopover'\n

Props #

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the popover.boolean-true
container
5.0.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the popover relative to its target.array-[0, 8]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover''click'
visibleToggle the visibility of popover component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CPopover_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPopover.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/popover/CPopover.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/popover/CPopover.api.html"}]]},"headers":[{"level":3,"title":"CPopover","slug":"cpopover","link":"#cpopover","children":[]}],"filePathRelative":"api/popover/CPopover.api.md"}'); +export { + CPopover_api_html as comp, + data +}; diff --git a/vue/docs/assets/CPopover.api.html-ymVfjSSe.js b/vue/docs/assets/CPopover.api.html-ymVfjSSe.js deleted file mode 100644 index dd4387236f0..00000000000 --- a/vue/docs/assets/CPopover.api.html-ymVfjSSe.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CPopover

import { CPopover } from '@coreui/vue'\n// or\nimport CPopover from '@coreui/vue/src/components/popover/CPopover'\n

Props

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the popover.boolean-true
container
v5.0.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the popover relative to its target.array-[0, 8]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover''click'
visibleToggle the visibility of popover component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CPopover_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CPopover.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/popover/CPopover.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/popover/CPopover.api.html"}]]},"headers":[{"level":3,"title":"CPopover","slug":"cpopover","link":"#cpopover","children":[]}],"filePathRelative":"api/popover/CPopover.api.md"}'); -export { - CPopover_api_html as comp, - data -}; diff --git a/vue/docs/assets/CProgress.api.html-C-66SSng.js b/vue/docs/assets/CProgress.api.html-DtBG3iso.js similarity index 85% rename from vue/docs/assets/CProgress.api.html-C-66SSng.js rename to vue/docs/assets/CProgress.api.html-DtBG3iso.js index 6a3b7166024..126a915432f 100644 --- a/vue/docs/assets/CProgress.api.html-C-66SSng.js +++ b/vue/docs/assets/CProgress.api.html-DtBG3iso.js @@ -1,6 +1,6 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, f as createTextVNode, b as createVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, f as createTextVNode, d as createVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgress

import { CProgress } from '@coreui/vue'\n// or\nimport CProgress from '@coreui/vue/src/components/progress/CProgress'\n

Props

', 3); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgress #

import { CProgress } from '@coreui/vue'\n// or\nimport CProgress from '@coreui/vue/src/components/progress/CProgress'\n

Props #

', 3); const _hoisted_4 = { class: "table table-striped table-api" }; const _hoisted_5 = /* @__PURE__ */ createBaseVNode("thead", null, [ /* @__PURE__ */ createBaseVNode("tr", null, [ diff --git a/vue/docs/assets/CProgressBar.api.html-BjA2nShz.js b/vue/docs/assets/CProgressBar.api.html-BjA2nShz.js deleted file mode 100644 index 1f7385f401b..00000000000 --- a/vue/docs/assets/CProgressBar.api.html-BjA2nShz.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgressBar

import { CProgressBar } from '@coreui/vue'\n// or\nimport CProgressBar from '@coreui/vue/src/components/progress/CProgressBar'\n

Props

Prop nameDescriptionTypeValuesDefault
animatedUse to animate the stripes right to left via CSS3 animations.boolean--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valueThe percent to progress the ProgressBar.number-0
variantSet the progress bar variant to optional striped.string'striped'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CProgressBar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CProgressBar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/progress/CProgressBar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/progress/CProgressBar.api.html"}]]},"headers":[{"level":3,"title":"CProgressBar","slug":"cprogressbar","link":"#cprogressbar","children":[]}],"filePathRelative":"api/progress/CProgressBar.api.md"}'); -export { - CProgressBar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CProgressBar.api.html-DbiY29uU.js b/vue/docs/assets/CProgressBar.api.html-DbiY29uU.js new file mode 100644 index 00000000000..04c6a8dbf64 --- /dev/null +++ b/vue/docs/assets/CProgressBar.api.html-DbiY29uU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgressBar #

import { CProgressBar } from '@coreui/vue'\n// or\nimport CProgressBar from '@coreui/vue/src/components/progress/CProgressBar'\n

Props #

Prop nameDescriptionTypeValuesDefault
animatedUse to animate the stripes right to left via CSS3 animations.boolean--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valueThe percent to progress the ProgressBar.number-0
variantSet the progress bar variant to optional striped.string'striped'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CProgressBar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CProgressBar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/progress/CProgressBar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/progress/CProgressBar.api.html"}]]},"headers":[{"level":3,"title":"CProgressBar","slug":"cprogressbar","link":"#cprogressbar","children":[]}],"filePathRelative":"api/progress/CProgressBar.api.md"}'); +export { + CProgressBar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CProgressStacked.api.html-D0_SIwt3.js b/vue/docs/assets/CProgressStacked.api.html-D0_SIwt3.js new file mode 100644 index 00000000000..55a804db4ee --- /dev/null +++ b/vue/docs/assets/CProgressStacked.api.html-D0_SIwt3.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgressStacked #

import { CProgressStacked } from '@coreui/vue'\n// or\nimport CProgressStacked from '@coreui/vue/src/components/progress/CProgressStacked'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CProgressStacked_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CProgressStacked.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/progress/CProgressStacked.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/progress/CProgressStacked.api.html"}]]},"headers":[{"level":3,"title":"CProgressStacked","slug":"cprogressstacked","link":"#cprogressstacked","children":[]}],"filePathRelative":"api/progress/CProgressStacked.api.md"}'); +export { + CProgressStacked_api_html as comp, + data +}; diff --git a/vue/docs/assets/CProgressStacked.api.html-iS9rdju9.js b/vue/docs/assets/CProgressStacked.api.html-iS9rdju9.js deleted file mode 100644 index 358632b5d87..00000000000 --- a/vue/docs/assets/CProgressStacked.api.html-iS9rdju9.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CProgressStacked

import { CProgressStacked } from '@coreui/vue'\n// or\nimport CProgressStacked from '@coreui/vue/src/components/progress/CProgressStacked'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CProgressStacked_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CProgressStacked.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/progress/CProgressStacked.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/progress/CProgressStacked.api.html"}]]},"headers":[{"level":3,"title":"CProgressStacked","slug":"cprogressstacked","link":"#cprogressstacked","children":[]}],"filePathRelative":"api/progress/CProgressStacked.api.md"}'); -export { - CProgressStacked_api_html as comp, - data -}; diff --git a/vue/docs/assets/CRating.api.html-CbBSuHpA.js b/vue/docs/assets/CRating.api.html-CbBSuHpA.js deleted file mode 100644 index 563be251d00..00000000000 --- a/vue/docs/assets/CRating.api.html-CbBSuHpA.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CRating

import { CRating } from '@coreui/vue-pro'\n// or\nimport CRating from '@coreui/vue-pro/src/components/rating/CRating'\n

Props

Prop nameDescriptionTypeValuesDefault
allow-clearEnables the clearing upon clicking the selected item again.boolean--
disabledToggle the disabled state for the component.boolean--
highlight-only-selectedIf enabled, only the currently selected icon will be visibly highlighted.boolean--
item-countSpecifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating, such as out of 5 stars, 10 stars, etc.number-5
model-valueThe default name for a value passed using v-model.number--
nameThe name attribute of the radio input elements.string--
precisionMinimum increment value change allowed.number-1
read-onlyToggle the readonly state for the component.boolean--
sizeSize the component small, large, or custom if you define custom icons with custom height.string'sm', 'lg', 'custom'-
tooltipsEnable tooltips with default values or set specific labels for each icon.boolean | string[]--
valueThe value attribute of component.number--

Events

Event nameDescriptionProperties
changeExecute a function when a user changes the selected element.value number | null - undefined
hoverExecute a function when a user hover the element.value number | null - undefined
update:modelValueEmit the new value whenever there’s a change event.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CRating_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CRating.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/rating/CRating.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/rating/CRating.api.html"}]]},"headers":[{"level":3,"title":"CRating","slug":"crating","link":"#crating","children":[]}],"filePathRelative":"api/rating/CRating.api.md"}'); -export { - CRating_api_html as comp, - data -}; diff --git a/vue/docs/assets/CRating.api.html-c48h2dsU.js b/vue/docs/assets/CRating.api.html-c48h2dsU.js new file mode 100644 index 00000000000..9c856e2093e --- /dev/null +++ b/vue/docs/assets/CRating.api.html-c48h2dsU.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CRating #

import { CRating } from '@coreui/vue-pro'\n// or\nimport CRating from '@coreui/vue-pro/src/components/rating/CRating'\n

Props #

Prop nameDescriptionTypeValuesDefault
allow-clearEnables the clearing upon clicking the selected item again.boolean--
disabledToggle the disabled state for the component.boolean--
highlight-only-selectedIf enabled, only the currently selected icon will be visibly highlighted.boolean--
item-countSpecifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating, such as out of 5 stars, 10 stars, etc.number-5
model-valueThe default name for a value passed using v-model.number--
nameThe name attribute of the radio input elements.string--
precisionMinimum increment value change allowed.number-1
read-onlyToggle the readonly state for the component.boolean--
sizeSize the component small, large, or custom if you define custom icons with custom height.string'sm', 'lg', 'custom'-
tooltipsEnable tooltips with default values or set specific labels for each icon.boolean | string[]--
valueThe value attribute of component.number--

Events #

Event nameDescriptionProperties
changeExecute a function when a user changes the selected element.value number | null - undefined
hoverExecute a function when a user hover the element.value number | null - undefined
update:modelValueEmit the new value whenever there’s a change event.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CRating_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CRating.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/rating/CRating.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/rating/CRating.api.html"}]]},"headers":[{"level":3,"title":"CRating","slug":"crating","link":"#crating","children":[]}],"filePathRelative":"api/rating/CRating.api.md"}'); +export { + CRating_api_html as comp, + data +}; diff --git a/vue/docs/assets/CRow.api.html-BfZBZHbO.js b/vue/docs/assets/CRow.api.html-BfZBZHbO.js new file mode 100644 index 00000000000..dd0b1afe22b --- /dev/null +++ b/vue/docs/assets/CRow.api.html-BfZBZHbO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CRow #

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CRow_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CRow.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/grid/CRow.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CRow.api.html"}]]},"headers":[{"level":3,"title":"CRow","slug":"crow","link":"#crow","children":[]}],"filePathRelative":"api/grid/CRow.api.md"}'); +export { + CRow_api_html as comp, + data +}; diff --git a/vue/docs/assets/CRow.api.html-CIrSW5Ga.js b/vue/docs/assets/CRow.api.html-CIrSW5Ga.js deleted file mode 100644 index 9ff201ae616..00000000000 --- a/vue/docs/assets/CRow.api.html-CIrSW5Ga.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CRow

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CRow_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CRow.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/grid/CRow.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/grid/CRow.api.html"}]]},"headers":[{"level":3,"title":"CRow","slug":"crow","link":"#crow","children":[]}],"filePathRelative":"api/grid/CRow.api.md"}'); -export { - CRow_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebar.api.html-CTwTsKKM.js b/vue/docs/assets/CSidebar.api.html-CTwTsKKM.js new file mode 100644 index 00000000000..7f694afa2dc --- /dev/null +++ b/vue/docs/assets/CSidebar.api.html-CTwTsKKM.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebar #

import { CSidebar } from '@coreui/vue'\n// or\nimport CSidebar from '@coreui/vue/src/components/sidebar/CSidebar'\n

Props #

Prop nameDescriptionTypeValuesDefault
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', light'-
narrowMake sidebar narrow.boolean--
overlaidSet sidebar to overlaid variant.boolean--
placementComponents placement, there’s no default placement.string'start', 'end'-
positionPlace sidebar in non-static positions.string--
sizeSize the component small, large, or extra large.string--
unfoldableExpand narrowed sidebar on hover.boolean--
visibleToggle the visibility of sidebar component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
visible-changeEvent emitted after visibility of component changed.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSidebar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebar.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebar.api.html"}]]},"headers":[{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]}],"filePathRelative":"api/sidebar/CSidebar.api.md"}'); +export { + CSidebar_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebar.api.html-DaxOjldv.js b/vue/docs/assets/CSidebar.api.html-DaxOjldv.js deleted file mode 100644 index 5d969ec1103..00000000000 --- a/vue/docs/assets/CSidebar.api.html-DaxOjldv.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebar

import { CSidebar } from '@coreui/vue'\n// or\nimport CSidebar from '@coreui/vue/src/components/sidebar/CSidebar'\n

Props

Prop nameDescriptionTypeValuesDefault
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', light'-
narrowMake sidebar narrow.boolean--
overlaidSet sidebar to overlaid variant.boolean--
placementComponents placement, there’s no default placement.string'start', 'end'-
positionPlace sidebar in non-static positions.string--
sizeSize the component small, large, or extra large.string--
unfoldableExpand narrowed sidebar on hover.boolean--
visibleToggle the visibility of sidebar component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
visible-changeEvent emitted after visibility of component changed.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSidebar_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebar.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebar.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebar.api.html"}]]},"headers":[{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]}],"filePathRelative":"api/sidebar/CSidebar.api.md"}'); -export { - CSidebar_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebarBrand.api.html-BDwVBijp.js b/vue/docs/assets/CSidebarBrand.api.html-BDwVBijp.js new file mode 100644 index 00000000000..6ddd488a46b --- /dev/null +++ b/vue/docs/assets/CSidebarBrand.api.html-BDwVBijp.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarBrand #

import { CSidebarBrand } from '@coreui/vue'\n// or\nimport CSidebarBrand from '@coreui/vue/src/components/sidebar/CSidebarBrand'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CSidebarBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarBrand.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebarBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarBrand.api.html"}]]},"headers":[{"level":3,"title":"CSidebarBrand","slug":"csidebarbrand","link":"#csidebarbrand","children":[]}],"filePathRelative":"api/sidebar/CSidebarBrand.api.md"}'); +export { + CSidebarBrand_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebarBrand.api.html-CMvNigzU.js b/vue/docs/assets/CSidebarBrand.api.html-CMvNigzU.js deleted file mode 100644 index abe4ac87053..00000000000 --- a/vue/docs/assets/CSidebarBrand.api.html-CMvNigzU.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarBrand

import { CSidebarBrand } from '@coreui/vue'\n// or\nimport CSidebarBrand from '@coreui/vue/src/components/sidebar/CSidebarBrand'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CSidebarBrand_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarBrand.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebarBrand.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarBrand.api.html"}]]},"headers":[{"level":3,"title":"CSidebarBrand","slug":"csidebarbrand","link":"#csidebarbrand","children":[]}],"filePathRelative":"api/sidebar/CSidebarBrand.api.md"}'); -export { - CSidebarBrand_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebarFooter.api.html-9MYkXiDf.js b/vue/docs/assets/CSidebarFooter.api.html-9MYkXiDf.js new file mode 100644 index 00000000000..a8dff3b657c --- /dev/null +++ b/vue/docs/assets/CSidebarFooter.api.html-9MYkXiDf.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarFooter #

import { CSidebarFooter } from '@coreui/vue'\n// or\nimport CSidebarFooter from '@coreui/vue/src/components/sidebar/CSidebarFooter'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CSidebarFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarFooter.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebarFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarFooter.api.html"}]]},"headers":[{"level":3,"title":"CSidebarFooter","slug":"csidebarfooter","link":"#csidebarfooter","children":[]}],"filePathRelative":"api/sidebar/CSidebarFooter.api.md"}'); +export { + CSidebarFooter_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebarFooter.api.html-DG6rj4Di.js b/vue/docs/assets/CSidebarFooter.api.html-DG6rj4Di.js deleted file mode 100644 index c767bb16807..00000000000 --- a/vue/docs/assets/CSidebarFooter.api.html-DG6rj4Di.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarFooter

import { CSidebarFooter } from '@coreui/vue'\n// or\nimport CSidebarFooter from '@coreui/vue/src/components/sidebar/CSidebarFooter'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CSidebarFooter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarFooter.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebarFooter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarFooter.api.html"}]]},"headers":[{"level":3,"title":"CSidebarFooter","slug":"csidebarfooter","link":"#csidebarfooter","children":[]}],"filePathRelative":"api/sidebar/CSidebarFooter.api.md"}'); -export { - CSidebarFooter_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebarHeader.api.html-CFlZhoRs.js b/vue/docs/assets/CSidebarHeader.api.html-CFlZhoRs.js new file mode 100644 index 00000000000..69a603341f3 --- /dev/null +++ b/vue/docs/assets/CSidebarHeader.api.html-CFlZhoRs.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarHeader #

import { CSidebarHeader } from '@coreui/vue'\n// or\nimport CSidebarHeader from '@coreui/vue/src/components/sidebar/CSidebarHeader'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CSidebarHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebarHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarHeader.api.html"}]]},"headers":[{"level":3,"title":"CSidebarHeader","slug":"csidebarheader","link":"#csidebarheader","children":[]}],"filePathRelative":"api/sidebar/CSidebarHeader.api.md"}'); +export { + CSidebarHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebarHeader.api.html-UjLXre_-.js b/vue/docs/assets/CSidebarHeader.api.html-UjLXre_-.js deleted file mode 100644 index 8c080d6f755..00000000000 --- a/vue/docs/assets/CSidebarHeader.api.html-UjLXre_-.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarHeader

import { CSidebarHeader } from '@coreui/vue'\n// or\nimport CSidebarHeader from '@coreui/vue/src/components/sidebar/CSidebarHeader'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CSidebarHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebarHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarHeader.api.html"}]]},"headers":[{"level":3,"title":"CSidebarHeader","slug":"csidebarheader","link":"#csidebarheader","children":[]}],"filePathRelative":"api/sidebar/CSidebarHeader.api.md"}'); -export { - CSidebarHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebarNav.api.html-DPgns5YK.js b/vue/docs/assets/CSidebarNav.api.html-DPgns5YK.js new file mode 100644 index 00000000000..1257d3b93eb --- /dev/null +++ b/vue/docs/assets/CSidebarNav.api.html-DPgns5YK.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarNav #

import { CSidebarNav } from '@coreui/vue'\n// or\nimport CSidebarNav from '@coreui/vue/src/components/sidebar/CSidebarNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string | Component-'ul'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CSidebarNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarNav.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebarNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarNav.api.html"}]]},"headers":[{"level":3,"title":"CSidebarNav","slug":"csidebarnav","link":"#csidebarnav","children":[]}],"filePathRelative":"api/sidebar/CSidebarNav.api.md"}'); +export { + CSidebarNav_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebarNav.api.html-ZV8snc4P.js b/vue/docs/assets/CSidebarNav.api.html-ZV8snc4P.js deleted file mode 100644 index 064236af1a5..00000000000 --- a/vue/docs/assets/CSidebarNav.api.html-ZV8snc4P.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarNav

import { CSidebarNav } from '@coreui/vue'\n// or\nimport CSidebarNav from '@coreui/vue/src/components/sidebar/CSidebarNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string | Component-'ul'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CSidebarNav_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarNav.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebarNav.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarNav.api.html"}]]},"headers":[{"level":3,"title":"CSidebarNav","slug":"csidebarnav","link":"#csidebarnav","children":[]}],"filePathRelative":"api/sidebar/CSidebarNav.api.md"}'); -export { - CSidebarNav_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSidebarToggler.api.html-CCzfHjoN.js b/vue/docs/assets/CSidebarToggler.api.html-CCzfHjoN.js new file mode 100644 index 00000000000..b902feaada9 --- /dev/null +++ b/vue/docs/assets/CSidebarToggler.api.html-CCzfHjoN.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarToggler #

import { CSidebarToggler } from '@coreui/vue'\n// or\nimport CSidebarToggler from '@coreui/vue/src/components/sidebar/CSidebarToggler'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CSidebarToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarToggler.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/sidebar/CSidebarToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarToggler.api.html"}]]},"headers":[{"level":3,"title":"CSidebarToggler","slug":"csidebartoggler","link":"#csidebartoggler","children":[]}],"filePathRelative":"api/sidebar/CSidebarToggler.api.md"}'); +export { + CSidebarToggler_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSidebarToggler.api.html-CwaVG0LH.js b/vue/docs/assets/CSidebarToggler.api.html-CwaVG0LH.js deleted file mode 100644 index 7477edc8706..00000000000 --- a/vue/docs/assets/CSidebarToggler.api.html-CwaVG0LH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSidebarToggler

import { CSidebarToggler } from '@coreui/vue'\n// or\nimport CSidebarToggler from '@coreui/vue/src/components/sidebar/CSidebarToggler'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CSidebarToggler_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSidebarToggler.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/sidebar/CSidebarToggler.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/sidebar/CSidebarToggler.api.html"}]]},"headers":[{"level":3,"title":"CSidebarToggler","slug":"csidebartoggler","link":"#csidebartoggler","children":[]}],"filePathRelative":"api/sidebar/CSidebarToggler.api.md"}'); -export { - CSidebarToggler_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartPagination.api.html-BikuSyAw.js b/vue/docs/assets/CSmartPagination.api.html-BikuSyAw.js deleted file mode 100644 index d86dd895a1c..00000000000 --- a/vue/docs/assets/CSmartPagination.api.html-BikuSyAw.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartPagination

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/smart-pagination/CSmartPagination'\n

Props

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartPagination.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-pagination/CSmartPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-pagination/CSmartPagination.api.html"}]]},"headers":[{"level":3,"title":"CSmartPagination","slug":"csmartpagination","link":"#csmartpagination","children":[]}],"filePathRelative":"api/smart-pagination/CSmartPagination.api.md"}'); -export { - CSmartPagination_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartPagination.api.html-BtDrxSb-.js b/vue/docs/assets/CSmartPagination.api.html-BtDrxSb-.js new file mode 100644 index 00000000000..63b9b0147e4 --- /dev/null +++ b/vue/docs/assets/CSmartPagination.api.html-BtDrxSb-.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartPagination #

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/smart-pagination/CSmartPagination'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events #

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartPagination.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-pagination/CSmartPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-pagination/CSmartPagination.api.html"}]]},"headers":[{"level":3,"title":"CSmartPagination","slug":"csmartpagination","link":"#csmartpagination","children":[]}],"filePathRelative":"api/smart-pagination/CSmartPagination.api.md"}'); +export { + CSmartPagination_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartPagination.api.html-CrCaD_lP.js b/vue/docs/assets/CSmartPagination.api.html-CrCaD_lP.js deleted file mode 100644 index 3183d223dcd..00000000000 --- a/vue/docs/assets/CSmartPagination.api.html-CrCaD_lP.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartPagination

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/pagination/CSmartPagination'\n

Props

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartPagination.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/pagination/CSmartPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CSmartPagination.api.html"}]]},"headers":[{"level":3,"title":"CSmartPagination","slug":"csmartpagination","link":"#csmartpagination","children":[]}],"filePathRelative":"api/pagination/CSmartPagination.api.md"}'); -export { - CSmartPagination_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartPagination.api.html-CtPxYRy0.js b/vue/docs/assets/CSmartPagination.api.html-CtPxYRy0.js new file mode 100644 index 00000000000..9f82c6ee0d8 --- /dev/null +++ b/vue/docs/assets/CSmartPagination.api.html-CtPxYRy0.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartPagination #

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/pagination/CSmartPagination'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events #

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartPagination_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartPagination.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/pagination/CSmartPagination.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/pagination/CSmartPagination.api.html"}]]},"headers":[{"level":3,"title":"CSmartPagination","slug":"csmartpagination","link":"#csmartpagination","children":[]}],"filePathRelative":"api/pagination/CSmartPagination.api.md"}'); +export { + CSmartPagination_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTable.api.html-DBtpefqV.js b/vue/docs/assets/CSmartTable.api.html-DBtpefqV.js deleted file mode 100644 index e0e56319fa4..00000000000 --- a/vue/docs/assets/CSmartTable.api.html-DBtpefqV.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTable

import { CSmartTable } from '@coreui/vue-pro'\n// or\nimport CSmartTable from '@coreui/vue-pro/src/components/smart-table/CSmartTable'\n

Props

Prop nameDescriptionTypeValuesDefault
active-pageSets active page. If 'pagination' prop is enabled, activePage is set only initially.number-1
cleanerWhen set, displays table cleaner above table, next to the table filter (or in place of table filter if tableFilter prop is not set)
Cleaner resets tableFilterValue, columnFilterValue, sorterValue. If clean is possible it is clickable (tabIndex="0" role="button", color="danger"), otherwise it is not clickable and transparent. Cleaner can be customized through the cleanerIcon slot.
boolean--
clickable-rowsStyle table items as clickable.boolean--
column-filterWhen set, displays additional filter row between table header and items, allowing filtering by specific column.
Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | ColumnFilter--
column-filter-valueValue of table filter. To set pass object where keys are column names and values are filter strings e.g.:
{ user: 'John', age: 12 }
ColumnFilterValue--
columnsProp 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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- filter (Boolean) - removes filter from column when set to false.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- sorter (Boolean) - disables sorting of the column when set to false
- _props (String/Array/Object) - add props to CTableHeaderCell.
- _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
column-sorterEnables table sorting by column value. Sorting will be performed corectly only if values in column are of one type: string (case insensitive) or number.

Sorter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic sorting inside component.
- resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
boolean | Sorter--
footerIf true Displays table footer, which mirrors table header. (without column filter).
Or Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
boolean | (FooterItem | string)[]--
headerSet to false to remove table header.boolean-true
itemsArray of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by _props key and single cell by _cellProps.

Examples:
- _props: { color: 'primary', align: 'middle'}
- _cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}
Item[]-() => []
items-number
4.8.0+
The total number of items. Use if you pass a portion of data from an external source to let know component what is the total number of items.number--
items-per-pageNumber of items per site, when pagination is enabled.number-10
items-per-page-labelLabel for items per page selector.string-'Items per page:'
items-per-page-optionsItems per page selector options.number[]-() => [5, 10, 20, 50]
items-per-page-selectAdds select element over table, which is used for control items per page in pagination. If you want to customize this element, pass object with optional values:
- external (Boolean) - disables automatic 'itemsPerPage' change (use to change pages externaly by 'pagination-change' event).
boolean | ItemsPerPageSelect--
loadingWhen set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.boolean--
no-items-labelReactNode or string for passing custom noItemsLabel texts.string-'No items found'
paginationEnables default pagination. Set to true for default setup or pass an object with additional CPagination props. Default pagination will always have the computed number of pages that cannot be changed. The number of pages is generated based on the number of passed items and 'itemsPerPage' prop. If this restriction is an obstacle, you can make external CPagination instead.boolean | Pagination--
pagination-propsProperties to CSmartPagination component.object--
selectableAdd checkboxes to make table rows selectable.boolean--
select-all
4.8.0+
Enables select all checkbox displayed in the header of the table.

Can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic selection inside the component.
boolean | { external?: boolean }--
selected
4.8.0+
Array of selected objects, where each object represents one item - row in table.

Example item: { name: 'John' , age: 12 }
Item[]-() => []
sorter-valueState of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
{ column: 'status', state: 'asc' }
SorterValue--
table-body-propsProperties to CTableBody component.object--
table-foot-propsProperties to CTableFoot component.object--
table-filterWhen set, displays table filter above table, allowing filtering by specific column.

Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | TableFilter--
table-filter-labelThe element represents a caption for a component.string-'Filter:'
table-filter-placeholderSpecifies a short hint that is visible in the search input.string-'type string...'
table-filter-valueValue of table filter.string--
table-head-propsProperties to CTableHead component.object--
table-propsProperties to CTable component.object--

Events

Event nameDescriptionProperties
active-page-changePage change callback.page number - active page number
column-filter-changeColumn filter change callback.ColumnFilterValue object - {[key: string]: string | number}
filtered-items-changeFiltered items change callback.items array - undefined
items-per-page-changePagination change callback.itemsPerPageNumber number - items per page number
row-clickRow click callback.item object - undefined
index number - undefined
columnName string - undefined
event event - undefined
select-allSelect all callback.
selected-items-changeSelected items change callback.items array - undefined
sorter-changeSorter value change callback.SorterValue object - { column?: string, state?: number | string}
table-filter-changeTable filter change callback.tableFilterValue string - undefined
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartTable_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTable.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTable.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTable.api.html"}]]},"headers":[{"level":3,"title":"CSmartTable","slug":"csmarttable","link":"#csmarttable","children":[]}],"filePathRelative":"api/smart-table/CSmartTable.api.md"}'); -export { - CSmartTable_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartTable.api.html-DGm1bmhO.js b/vue/docs/assets/CSmartTable.api.html-DGm1bmhO.js new file mode 100644 index 00000000000..8f0666df4bc --- /dev/null +++ b/vue/docs/assets/CSmartTable.api.html-DGm1bmhO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTable #

import { CSmartTable } from '@coreui/vue-pro'\n// or\nimport CSmartTable from '@coreui/vue-pro/src/components/smart-table/CSmartTable'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-pageSets active page. If 'pagination' prop is enabled, activePage is set only initially.number-1
cleanerWhen set, displays table cleaner above table, next to the table filter (or in place of table filter if tableFilter prop is not set)
Cleaner resets tableFilterValue, columnFilterValue, sorterValue. If clean is possible it is clickable (tabIndex="0" role="button", color="danger"), otherwise it is not clickable and transparent. Cleaner can be customized through the cleanerIcon slot.
boolean--
clickable-rowsStyle table items as clickable.boolean--
column-filterWhen set, displays additional filter row between table header and items, allowing filtering by specific column.
Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | ColumnFilter--
column-filter-valueValue of table filter. To set pass object where keys are column names and values are filter strings e.g.:
{ user: 'John', age: 12 }
ColumnFilterValue--
columnsProp 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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- filter (Boolean) - removes filter from column when set to false.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- sorter (Boolean) - disables sorting of the column when set to false
- _props (String/Array/Object) - add props to CTableHeaderCell.
- _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
column-sorterEnables table sorting by column value. Sorting will be performed corectly only if values in column are of one type: string (case insensitive) or number.

Sorter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic sorting inside component.
- resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
boolean | Sorter--
footerIf true Displays table footer, which mirrors table header. (without column filter).
Or Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
boolean | (FooterItem | string)[]--
headerSet to false to remove table header.boolean-true
itemsArray of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by _props key and single cell by _cellProps.

Examples:
- _props: { color: 'primary', align: 'middle'}
- _cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}
Item[]-() => []
items-number
4.8.0+
The total number of items. Use if you pass a portion of data from an external source to let know component what is the total number of items.number--
items-per-pageNumber of items per site, when pagination is enabled.number-10
items-per-page-labelLabel for items per page selector.string-'Items per page:'
items-per-page-optionsItems per page selector options.number[]-() => [5, 10, 20, 50]
items-per-page-selectAdds select element over table, which is used for control items per page in pagination. If you want to customize this element, pass object with optional values:
- external (Boolean) - disables automatic 'itemsPerPage' change (use to change pages externaly by 'pagination-change' event).
boolean | ItemsPerPageSelect--
loadingWhen set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.boolean--
no-items-labelReactNode or string for passing custom noItemsLabel texts.string-'No items found'
paginationEnables default pagination. Set to true for default setup or pass an object with additional CPagination props. Default pagination will always have the computed number of pages that cannot be changed. The number of pages is generated based on the number of passed items and 'itemsPerPage' prop. If this restriction is an obstacle, you can make external CPagination instead.boolean | Pagination--
pagination-propsProperties to CSmartPagination component.object--
selectableAdd checkboxes to make table rows selectable.boolean--
select-all
4.8.0+
Enables select all checkbox displayed in the header of the table.

Can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic selection inside the component.
boolean | { external?: boolean }--
selected
4.8.0+
Array of selected objects, where each object represents one item - row in table.

Example item: { name: 'John' , age: 12 }
Item[]-() => []
sorter-valueState of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
{ column: 'status', state: 'asc' }
SorterValue--
table-body-propsProperties to CTableBody component.object--
table-foot-propsProperties to CTableFoot component.object--
table-filterWhen set, displays table filter above table, allowing filtering by specific column.

Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | TableFilter--
table-filter-labelThe element represents a caption for a component.string-'Filter:'
table-filter-placeholderSpecifies a short hint that is visible in the search input.string-'type string...'
table-filter-valueValue of table filter.string--
table-head-propsProperties to CTableHead component.object--
table-propsProperties to CTable component.object--

Events #

Event nameDescriptionProperties
active-page-changePage change callback.page number - active page number
column-filter-changeColumn filter change callback.ColumnFilterValue object - {[key: string]: string | number}
filtered-items-changeFiltered items change callback.items array - undefined
items-per-page-changePagination change callback.itemsPerPageNumber number - items per page number
row-clickRow click callback.item object - undefined
index number - undefined
columnName string - undefined
event event - undefined
select-allSelect all callback.
selected-items-changeSelected items change callback.items array - undefined
sorter-changeSorter value change callback.SorterValue object - { column?: string, state?: number | string}
table-filter-changeTable filter change callback.tableFilterValue string - undefined
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartTable_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTable.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTable.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTable.api.html"}]]},"headers":[{"level":3,"title":"CSmartTable","slug":"csmarttable","link":"#csmarttable","children":[]}],"filePathRelative":"api/smart-table/CSmartTable.api.md"}'); +export { + CSmartTable_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableBody.api.html-BnkPBl42.js b/vue/docs/assets/CSmartTableBody.api.html-BnkPBl42.js deleted file mode 100644 index 61cb0c37a72..00000000000 --- a/vue/docs/assets/CSmartTableBody.api.html-BnkPBl42.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableBody

import { CSmartTableBody } from '@coreui/vue-pro'\n// or\nimport CSmartTableBody from '@coreui/vue-pro/src/components/smart-table/CSmartTableBody'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
row-checked
row-click
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartTableBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTableBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableBody.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableBody","slug":"csmarttablebody","link":"#csmarttablebody","children":[]}],"filePathRelative":"api/smart-table/CSmartTableBody.api.md"}'); -export { - CSmartTableBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartTableBody.api.html-Ct54x_n5.js b/vue/docs/assets/CSmartTableBody.api.html-Ct54x_n5.js new file mode 100644 index 00000000000..61c8ba7495d --- /dev/null +++ b/vue/docs/assets/CSmartTableBody.api.html-Ct54x_n5.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableBody #

import { CSmartTableBody } from '@coreui/vue-pro'\n// or\nimport CSmartTableBody from '@coreui/vue-pro/src/components/smart-table/CSmartTableBody'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
row-checked
row-click
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartTableBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTableBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableBody.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableBody","slug":"csmarttablebody","link":"#csmarttablebody","children":[]}],"filePathRelative":"api/smart-table/CSmartTableBody.api.md"}'); +export { + CSmartTableBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableCleaner.api.html-Ca51YF0C.js b/vue/docs/assets/CSmartTableCleaner.api.html-Ca51YF0C.js deleted file mode 100644 index 2a9176e519e..00000000000 --- a/vue/docs/assets/CSmartTableCleaner.api.html-Ca51YF0C.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableCleaner

import { CSmartTableCleaner } from '@coreui/vue-pro'\n// or\nimport CSmartTableCleaner from '@coreui/vue-pro/src/components/smart-table/CSmartTableCleaner'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
table-cleaner-click
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartTableCleaner_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableCleaner.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTableCleaner.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableCleaner.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableCleaner","slug":"csmarttablecleaner","link":"#csmarttablecleaner","children":[]}],"filePathRelative":"api/smart-table/CSmartTableCleaner.api.md"}'); -export { - CSmartTableCleaner_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartTableCleaner.api.html-D3V7dsv2.js b/vue/docs/assets/CSmartTableCleaner.api.html-D3V7dsv2.js new file mode 100644 index 00000000000..5d89d31f9d0 --- /dev/null +++ b/vue/docs/assets/CSmartTableCleaner.api.html-D3V7dsv2.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableCleaner #

import { CSmartTableCleaner } from '@coreui/vue-pro'\n// or\nimport CSmartTableCleaner from '@coreui/vue-pro/src/components/smart-table/CSmartTableCleaner'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
table-cleaner-click
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartTableCleaner_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableCleaner.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTableCleaner.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableCleaner.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableCleaner","slug":"csmarttablecleaner","link":"#csmarttablecleaner","children":[]}],"filePathRelative":"api/smart-table/CSmartTableCleaner.api.md"}'); +export { + CSmartTableCleaner_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableFilter.api.html-B7_1b50f.js b/vue/docs/assets/CSmartTableFilter.api.html-B7_1b50f.js deleted file mode 100644 index 2388be04f07..00000000000 --- a/vue/docs/assets/CSmartTableFilter.api.html-B7_1b50f.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableFilter

import { CSmartTableFilter } from '@coreui/vue-pro'\n// or\nimport CSmartTableFilter from '@coreui/vue-pro/src/components/smart-table/CSmartTableFilter'\n

Events

Event nameDescriptionProperties
filter-input
filter-change
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CSmartTableFilter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableFilter.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTableFilter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableFilter.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableFilter","slug":"csmarttablefilter","link":"#csmarttablefilter","children":[]}],"filePathRelative":"api/smart-table/CSmartTableFilter.api.md"}'); -export { - CSmartTableFilter_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartTableFilter.api.html-DUCc6wnW.js b/vue/docs/assets/CSmartTableFilter.api.html-DUCc6wnW.js new file mode 100644 index 00000000000..656884294a1 --- /dev/null +++ b/vue/docs/assets/CSmartTableFilter.api.html-DUCc6wnW.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableFilter #

import { CSmartTableFilter } from '@coreui/vue-pro'\n// or\nimport CSmartTableFilter from '@coreui/vue-pro/src/components/smart-table/CSmartTableFilter'\n

Events #

Event nameDescriptionProperties
filter-input
filter-change
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CSmartTableFilter_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableFilter.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTableFilter.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableFilter.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableFilter","slug":"csmarttablefilter","link":"#csmarttablefilter","children":[]}],"filePathRelative":"api/smart-table/CSmartTableFilter.api.md"}'); +export { + CSmartTableFilter_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableHead.api.html-BObUzIwn.js b/vue/docs/assets/CSmartTableHead.api.html-BObUzIwn.js new file mode 100644 index 00000000000..a7f63c9763e --- /dev/null +++ b/vue/docs/assets/CSmartTableHead.api.html-BObUzIwn.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableHead #

import { CSmartTableHead } from '@coreui/vue-pro'\n// or\nimport CSmartTableHead from '@coreui/vue-pro/src/components/smart-table/CSmartTableHead'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
custom-filter-change
filter-input
filter-change
select-all-checked
sort-click
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartTableHead_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableHead.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTableHead.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableHead.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableHead","slug":"csmarttablehead","link":"#csmarttablehead","children":[]}],"filePathRelative":"api/smart-table/CSmartTableHead.api.md"}'); +export { + CSmartTableHead_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableHead.api.html-DW9ZUntG.js b/vue/docs/assets/CSmartTableHead.api.html-DW9ZUntG.js deleted file mode 100644 index e9f507f0857..00000000000 --- a/vue/docs/assets/CSmartTableHead.api.html-DW9ZUntG.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableHead

import { CSmartTableHead } from '@coreui/vue-pro'\n// or\nimport CSmartTableHead from '@coreui/vue-pro/src/components/smart-table/CSmartTableHead'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
custom-filter-change
filter-input
filter-change
select-all-checked
sort-click
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartTableHead_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableHead.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTableHead.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableHead.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableHead","slug":"csmarttablehead","link":"#csmarttablehead","children":[]}],"filePathRelative":"api/smart-table/CSmartTableHead.api.md"}'); -export { - CSmartTableHead_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BcdEUUOn.js b/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BcdEUUOn.js new file mode 100644 index 00000000000..90741f07871 --- /dev/null +++ b/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BcdEUUOn.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableItemsPerPageSelector #

import { CSmartTableItemsPerPageSelector } from '@coreui/vue-pro'\n// or\nimport CSmartTableItemsPerPageSelector from '@coreui/vue-pro/src/components/smart-table/CSmartTableItemsPerPageSelector'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
change-items-per-page
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CSmartTableItemsPerPageSelector_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableItemsPerPageSelector.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/smart-table/CSmartTableItemsPerPageSelector.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableItemsPerPageSelector","slug":"csmarttableitemsperpageselector","link":"#csmarttableitemsperpageselector","children":[]}],"filePathRelative":"api/smart-table/CSmartTableItemsPerPageSelector.api.md"}'); +export { + CSmartTableItemsPerPageSelector_api_html as comp, + data +}; diff --git a/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BqX7W_5v.js b/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BqX7W_5v.js deleted file mode 100644 index b60b7c5b819..00000000000 --- a/vue/docs/assets/CSmartTableItemsPerPageSelector.api.html-BqX7W_5v.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSmartTableItemsPerPageSelector

import { CSmartTableItemsPerPageSelector } from '@coreui/vue-pro'\n// or\nimport CSmartTableItemsPerPageSelector from '@coreui/vue-pro/src/components/smart-table/CSmartTableItemsPerPageSelector'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
change-items-per-page
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CSmartTableItemsPerPageSelector_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSmartTableItemsPerPageSelector.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/smart-table/CSmartTableItemsPerPageSelector.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/smart-table/CSmartTableItemsPerPageSelector.api.html"}]]},"headers":[{"level":3,"title":"CSmartTableItemsPerPageSelector","slug":"csmarttableitemsperpageselector","link":"#csmarttableitemsperpageselector","children":[]}],"filePathRelative":"api/smart-table/CSmartTableItemsPerPageSelector.api.md"}'); -export { - CSmartTableItemsPerPageSelector_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSpinner.api.html-O0NhTV-x.js b/vue/docs/assets/CSpinner.api.html-O0NhTV-x.js deleted file mode 100644 index 96400a5e2e9..00000000000 --- a/vue/docs/assets/CSpinner.api.html-O0NhTV-x.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSpinner

import { CSpinner } from '@coreui/vue'\n// or\nimport CSpinner from '@coreui/vue/src/components/spinner/CSpinner'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component small.string'sm'-
variantSet the button variant to an outlined button or a ghost button.string'border', 'grow''border'
visually-hidden-labelSet visually hidden label for accessibility purposes.string-'Loading...'
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CSpinner_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSpinner.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/spinner/CSpinner.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/spinner/CSpinner.api.html"}]]},"headers":[{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]}],"filePathRelative":"api/spinner/CSpinner.api.md"}'); -export { - CSpinner_api_html as comp, - data -}; diff --git a/vue/docs/assets/CSpinner.api.html-tz9ud1zw.js b/vue/docs/assets/CSpinner.api.html-tz9ud1zw.js new file mode 100644 index 00000000000..fc72332d1a6 --- /dev/null +++ b/vue/docs/assets/CSpinner.api.html-tz9ud1zw.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CSpinner #

import { CSpinner } from '@coreui/vue'\n// or\nimport CSpinner from '@coreui/vue/src/components/spinner/CSpinner'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component small.string'sm'-
variantSet the button variant to an outlined button or a ghost button.string'border', 'grow''border'
visually-hidden-labelSet visually hidden label for accessibility purposes.string-'Loading...'
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CSpinner_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CSpinner.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/spinner/CSpinner.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/spinner/CSpinner.api.html"}]]},"headers":[{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]}],"filePathRelative":"api/spinner/CSpinner.api.md"}'); +export { + CSpinner_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTab.api.html-C_8FIEMx.js b/vue/docs/assets/CTab.api.html-C_8FIEMx.js new file mode 100644 index 00000000000..ef9ae85c985 --- /dev/null +++ b/vue/docs/assets/CTab.api.html-C_8FIEMx.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTab #

import { CTab } from '@coreui/vue'\n// or\nimport CTab from '@coreui/vue/src/components/tabs/CTab'\n

Props #

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTab_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTab.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTab.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTab.api.html"}]]},"headers":[{"level":3,"title":"CTab","slug":"ctab","link":"#ctab","children":[]}],"filePathRelative":"api/tabs/CTab.api.md"}'); +export { + CTab_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTab.api.html-DOCKLIPZ.js b/vue/docs/assets/CTab.api.html-DOCKLIPZ.js deleted file mode 100644 index 63f51a6414d..00000000000 --- a/vue/docs/assets/CTab.api.html-DOCKLIPZ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTab

import { CTab } from '@coreui/vue'\n// or\nimport CTab from '@coreui/vue/src/components/tabs/CTab'\n

Props

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTab_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTab.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTab.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTab.api.html"}]]},"headers":[{"level":3,"title":"CTab","slug":"ctab","link":"#ctab","children":[]}],"filePathRelative":"api/tabs/CTab.api.md"}'); -export { - CTab_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabContent.api.html-1j4Vrr4K.js b/vue/docs/assets/CTabContent.api.html-1j4Vrr4K.js new file mode 100644 index 00000000000..59a18b53296 --- /dev/null +++ b/vue/docs/assets/CTabContent.api.html-1j4Vrr4K.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabContent #

import { CTabContent } from '@coreui/vue'\n// or\nimport CTabContent from '@coreui/vue/src/components/tabs/CTabContent'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CTabContent_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabContent.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTabContent.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabContent.api.html"}]]},"headers":[{"level":3,"title":"CTabContent","slug":"ctabcontent","link":"#ctabcontent","children":[]}],"filePathRelative":"api/tabs/CTabContent.api.md"}'); +export { + CTabContent_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTabContent.api.html-C2PinBa9.js b/vue/docs/assets/CTabContent.api.html-C2PinBa9.js deleted file mode 100644 index 36b9f92dece..00000000000 --- a/vue/docs/assets/CTabContent.api.html-C2PinBa9.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabContent

import { CTabContent } from '@coreui/vue'\n// or\nimport CTabContent from '@coreui/vue/src/components/tabs/CTabContent'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CTabContent_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabContent.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTabContent.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabContent.api.html"}]]},"headers":[{"level":3,"title":"CTabContent","slug":"ctabcontent","link":"#ctabcontent","children":[]}],"filePathRelative":"api/tabs/CTabContent.api.md"}'); -export { - CTabContent_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabList.api.html-BEqv9sl7.js b/vue/docs/assets/CTabList.api.html-BEqv9sl7.js deleted file mode 100644 index 3eb60531e4f..00000000000 --- a/vue/docs/assets/CTabList.api.html-BEqv9sl7.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabList

import { CTabList } from '@coreui/vue'\n// or\nimport CTabList from '@coreui/vue/src/components/tabs/CTabList'\n

Props

Prop nameDescriptionTypeValuesDefault
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTabList_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabList.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTabList.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabList.api.html"}]]},"headers":[{"level":3,"title":"CTabList","slug":"ctablist","link":"#ctablist","children":[]}],"filePathRelative":"api/tabs/CTabList.api.md"}'); -export { - CTabList_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabList.api.html-Cmt2uvE5.js b/vue/docs/assets/CTabList.api.html-Cmt2uvE5.js new file mode 100644 index 00000000000..3ffed0d993c --- /dev/null +++ b/vue/docs/assets/CTabList.api.html-Cmt2uvE5.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabList #

import { CTabList } from '@coreui/vue'\n// or\nimport CTabList from '@coreui/vue/src/components/tabs/CTabList'\n

Props #

Prop nameDescriptionTypeValuesDefault
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTabList_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabList.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTabList.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabList.api.html"}]]},"headers":[{"level":3,"title":"CTabList","slug":"ctablist","link":"#ctablist","children":[]}],"filePathRelative":"api/tabs/CTabList.api.md"}'); +export { + CTabList_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTabPane.api.html-B47A_sq6.js b/vue/docs/assets/CTabPane.api.html-B47A_sq6.js deleted file mode 100644 index 3b8af4623d3..00000000000 --- a/vue/docs/assets/CTabPane.api.html-B47A_sq6.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabPane

import { CTabPane } from '@coreui/vue'\n// or\nimport CTabPane from '@coreui/vue/src/components/tabs/CTabPane'\n

Props

Prop nameDescriptionTypeValuesDefault
transition
5.1.0+
Enable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTabPane_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabPane.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTabPane.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabPane.api.html"}]]},"headers":[{"level":3,"title":"CTabPane","slug":"ctabpane","link":"#ctabpane","children":[]}],"filePathRelative":"api/tabs/CTabPane.api.md"}'); -export { - CTabPane_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabPane.api.html-CNWr2MmF.js b/vue/docs/assets/CTabPane.api.html-CNWr2MmF.js new file mode 100644 index 00000000000..ff95b7fb932 --- /dev/null +++ b/vue/docs/assets/CTabPane.api.html-CNWr2MmF.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabPane #

import { CTabPane } from '@coreui/vue'\n// or\nimport CTabPane from '@coreui/vue/src/components/tabs/CTabPane'\n

Props #

Prop nameDescriptionTypeValuesDefault
transition
5.1.0+
Enable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTabPane_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabPane.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTabPane.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabPane.api.html"}]]},"headers":[{"level":3,"title":"CTabPane","slug":"ctabpane","link":"#ctabpane","children":[]}],"filePathRelative":"api/tabs/CTabPane.api.md"}'); +export { + CTabPane_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTabPanel.api.html-CZYhUIL_.js b/vue/docs/assets/CTabPanel.api.html-CZYhUIL_.js deleted file mode 100644 index 0c9466735c7..00000000000 --- a/vue/docs/assets/CTabPanel.api.html-CZYhUIL_.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabPanel

import { CTabPanel } from '@coreui/vue'\n// or\nimport CTabPanel from '@coreui/vue/src/components/tabs/CTabPanel'\n

Props

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
transitionEnable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTabPanel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabPanel.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTabPanel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabPanel.api.html"}]]},"headers":[{"level":3,"title":"CTabPanel","slug":"ctabpanel","link":"#ctabpanel","children":[]}],"filePathRelative":"api/tabs/CTabPanel.api.md"}'); -export { - CTabPanel_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabPanel.api.html-Civ-9a5a.js b/vue/docs/assets/CTabPanel.api.html-Civ-9a5a.js new file mode 100644 index 00000000000..295d92d7721 --- /dev/null +++ b/vue/docs/assets/CTabPanel.api.html-Civ-9a5a.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabPanel #

import { CTabPanel } from '@coreui/vue'\n// or\nimport CTabPanel from '@coreui/vue/src/components/tabs/CTabPanel'\n

Props #

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
transitionEnable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTabPanel_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabPanel.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTabPanel.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabPanel.api.html"}]]},"headers":[{"level":3,"title":"CTabPanel","slug":"ctabpanel","link":"#ctabpanel","children":[]}],"filePathRelative":"api/tabs/CTabPanel.api.md"}'); +export { + CTabPanel_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTable.api.html-D0dRnCW-.js b/vue/docs/assets/CTable.api.html-D0dRnCW-.js deleted file mode 100644 index 5346ec287c5..00000000000 --- a/vue/docs/assets/CTable.api.html-D0dRnCW-.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTable

import { CTable } from '@coreui/vue'\n// or\nimport CTable from '@coreui/vue/src/components/table/CTable'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
border-colorSets the border color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
borderedAdd borders on all sides of the table and cells.boolean--
borderlessRemove borders on all sides of the table and cells.boolean--
captionPut the <caption> on the top of the table.string'top' | string-
caption-top
4.5.0+
Set the text of the table caption and the caption on the top of the table.string--
columns
4.5.0+
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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },
- _style (Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
footer
4.5.0+
Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
(FooterItem | string)[]--
hoverEnable a hover state on table rows within a <CTableBody>.boolean--
items
4.5.0+
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'.

Example item:
{ name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}
Item[]--
smallMake table more compact by cutting all cell padding in half.boolean--
stripedAdd zebra-striping to any table row within the <CTableBody>.boolean--
striped-columns
4.4.0+
Add zebra-striping to any table column.boolean--
table-foot-props
4.5.0+
Properties that will be passed to the table footer component.

Properties to CTableFoot component.
object--
table-head-props
4.5.0+
Properties that will be passed to the table head component.

Properties to CTableHead component.
object--
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTable_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTable.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTable.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTable.api.html"}]]},"headers":[{"level":3,"title":"CTable","slug":"ctable","link":"#ctable","children":[]}],"filePathRelative":"api/table/CTable.api.md"}'); -export { - CTable_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTable.api.html-DNonlxhT.js b/vue/docs/assets/CTable.api.html-DNonlxhT.js new file mode 100644 index 00000000000..63f85c62e35 --- /dev/null +++ b/vue/docs/assets/CTable.api.html-DNonlxhT.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTable #

import { CTable } from '@coreui/vue'\n// or\nimport CTable from '@coreui/vue/src/components/table/CTable'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
border-colorSets the border color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
borderedAdd borders on all sides of the table and cells.boolean--
borderlessRemove borders on all sides of the table and cells.boolean--
captionPut the <caption> on the top of the table.string'top' | string-
caption-top
4.5.0+
Set the text of the table caption and the caption on the top of the table.string--
columns
4.5.0+
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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },
- _style (Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
footer
4.5.0+
Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
(FooterItem | string)[]--
hoverEnable a hover state on table rows within a <CTableBody>.boolean--
items
4.5.0+
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'.

Example item:
{ name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}
Item[]--
smallMake table more compact by cutting all cell padding in half.boolean--
stripedAdd zebra-striping to any table row within the <CTableBody>.boolean--
striped-columns
4.4.0+
Add zebra-striping to any table column.boolean--
table-foot-props
4.5.0+
Properties that will be passed to the table footer component.

Properties to CTableFoot component.
object--
table-head-props
4.5.0+
Properties that will be passed to the table head component.

Properties to CTableHead component.
object--
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTable_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTable.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTable.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTable.api.html"}]]},"headers":[{"level":3,"title":"CTable","slug":"ctable","link":"#ctable","children":[]}],"filePathRelative":"api/table/CTable.api.md"}'); +export { + CTable_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableBody.api.html-BE5qkKGP.js b/vue/docs/assets/CTableBody.api.html-BE5qkKGP.js new file mode 100644 index 00000000000..b22a08a6697 --- /dev/null +++ b/vue/docs/assets/CTableBody.api.html-BE5qkKGP.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableBody #

import { CTableBody } from '@coreui/vue'\n// or\nimport CTableBody from '@coreui/vue/src/components/table/CTableBody'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableBody.api.html"}]]},"headers":[{"level":3,"title":"CTableBody","slug":"ctablebody","link":"#ctablebody","children":[]}],"filePathRelative":"api/table/CTableBody.api.md"}'); +export { + CTableBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableBody.api.html-BFPdQqw6.js b/vue/docs/assets/CTableBody.api.html-BFPdQqw6.js deleted file mode 100644 index 528bf4ae1db..00000000000 --- a/vue/docs/assets/CTableBody.api.html-BFPdQqw6.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableBody

import { CTableBody } from '@coreui/vue'\n// or\nimport CTableBody from '@coreui/vue/src/components/table/CTableBody'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableBody.api.html"}]]},"headers":[{"level":3,"title":"CTableBody","slug":"ctablebody","link":"#ctablebody","children":[]}],"filePathRelative":"api/table/CTableBody.api.md"}'); -export { - CTableBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableCaption.api.html-MTWPlJR7.js b/vue/docs/assets/CTableCaption.api.html-MTWPlJR7.js deleted file mode 100644 index ce78e7d1306..00000000000 --- a/vue/docs/assets/CTableCaption.api.html-MTWPlJR7.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableCaption

import { CTableCaption } from '@coreui/vue'\n// or\nimport CTableCaption from '@coreui/vue/src/components/table/CTableCaption'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CTableCaption_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableCaption.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableCaption.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableCaption.api.html"}]]},"headers":[{"level":3,"title":"CTableCaption","slug":"ctablecaption","link":"#ctablecaption","children":[]}],"filePathRelative":"api/table/CTableCaption.api.md"}'); -export { - CTableCaption_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableCaption.api.html-phSXI7iF.js b/vue/docs/assets/CTableCaption.api.html-phSXI7iF.js new file mode 100644 index 00000000000..9f5af73fce5 --- /dev/null +++ b/vue/docs/assets/CTableCaption.api.html-phSXI7iF.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableCaption #

import { CTableCaption } from '@coreui/vue'\n// or\nimport CTableCaption from '@coreui/vue/src/components/table/CTableCaption'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CTableCaption_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableCaption.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableCaption.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableCaption.api.html"}]]},"headers":[{"level":3,"title":"CTableCaption","slug":"ctablecaption","link":"#ctablecaption","children":[]}],"filePathRelative":"api/table/CTableCaption.api.md"}'); +export { + CTableCaption_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableDataCell.api.html-CTzr6HkH.js b/vue/docs/assets/CTableDataCell.api.html-CTzr6HkH.js new file mode 100644 index 00000000000..d6aa638f941 --- /dev/null +++ b/vue/docs/assets/CTableDataCell.api.html-CTzr6HkH.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableDataCell #

import { CTableDataCell } from '@coreui/vue'\n// or\nimport CTableDataCell from '@coreui/vue/src/components/table/CTableDataCell'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell.boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableDataCell_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableDataCell.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableDataCell.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableDataCell.api.html"}]]},"headers":[{"level":3,"title":"CTableDataCell","slug":"ctabledatacell","link":"#ctabledatacell","children":[]}],"filePathRelative":"api/table/CTableDataCell.api.md"}'); +export { + CTableDataCell_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableDataCell.api.html-r0s-YiAY.js b/vue/docs/assets/CTableDataCell.api.html-r0s-YiAY.js deleted file mode 100644 index 7042e062e46..00000000000 --- a/vue/docs/assets/CTableDataCell.api.html-r0s-YiAY.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableDataCell

import { CTableDataCell } from '@coreui/vue'\n// or\nimport CTableDataCell from '@coreui/vue/src/components/table/CTableDataCell'\n

Props

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell.boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableDataCell_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableDataCell.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableDataCell.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableDataCell.api.html"}]]},"headers":[{"level":3,"title":"CTableDataCell","slug":"ctabledatacell","link":"#ctabledatacell","children":[]}],"filePathRelative":"api/table/CTableDataCell.api.md"}'); -export { - CTableDataCell_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableFoot.api.html-DcRu-Wur.js b/vue/docs/assets/CTableFoot.api.html-DcRu-Wur.js new file mode 100644 index 00000000000..e159b7b0b10 --- /dev/null +++ b/vue/docs/assets/CTableFoot.api.html-DcRu-Wur.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableFoot #

import { CTableFoot } from '@coreui/vue'\n// or\nimport CTableFoot from '@coreui/vue/src/components/table/CTableFoot'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableFoot_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableFoot.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableFoot.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableFoot.api.html"}]]},"headers":[{"level":3,"title":"CTableFoot","slug":"ctablefoot","link":"#ctablefoot","children":[]}],"filePathRelative":"api/table/CTableFoot.api.md"}'); +export { + CTableFoot_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableFoot.api.html-FVtyDTMQ.js b/vue/docs/assets/CTableFoot.api.html-FVtyDTMQ.js deleted file mode 100644 index d4a2454dd37..00000000000 --- a/vue/docs/assets/CTableFoot.api.html-FVtyDTMQ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableFoot

import { CTableFoot } from '@coreui/vue'\n// or\nimport CTableFoot from '@coreui/vue/src/components/table/CTableFoot'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableFoot_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableFoot.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableFoot.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableFoot.api.html"}]]},"headers":[{"level":3,"title":"CTableFoot","slug":"ctablefoot","link":"#ctablefoot","children":[]}],"filePathRelative":"api/table/CTableFoot.api.md"}'); -export { - CTableFoot_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableHead.api.html-CuaSabQj.js b/vue/docs/assets/CTableHead.api.html-CuaSabQj.js deleted file mode 100644 index f428c8e304f..00000000000 --- a/vue/docs/assets/CTableHead.api.html-CuaSabQj.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableHead

import { CTableHead } from '@coreui/vue'\n// or\nimport CTableHead from '@coreui/vue/src/components/table/CTableHead'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableHead_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableHead.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableHead.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableHead.api.html"}]]},"headers":[{"level":3,"title":"CTableHead","slug":"ctablehead","link":"#ctablehead","children":[]}],"filePathRelative":"api/table/CTableHead.api.md"}'); -export { - CTableHead_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableHead.api.html-jC7mLOK8.js b/vue/docs/assets/CTableHead.api.html-jC7mLOK8.js new file mode 100644 index 00000000000..c4dc4684a1f --- /dev/null +++ b/vue/docs/assets/CTableHead.api.html-jC7mLOK8.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableHead #

import { CTableHead } from '@coreui/vue'\n// or\nimport CTableHead from '@coreui/vue/src/components/table/CTableHead'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableHead_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableHead.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableHead.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableHead.api.html"}]]},"headers":[{"level":3,"title":"CTableHead","slug":"ctablehead","link":"#ctablehead","children":[]}],"filePathRelative":"api/table/CTableHead.api.md"}'); +export { + CTableHead_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableHeaderCell.api.html-BDiQC33l.js b/vue/docs/assets/CTableHeaderCell.api.html-BDiQC33l.js new file mode 100644 index 00000000000..d8d7e708bd2 --- /dev/null +++ b/vue/docs/assets/CTableHeaderCell.api.html-BDiQC33l.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableHeaderCell #

import { CTableHeaderCell } from '@coreui/vue'\n// or\nimport CTableHeaderCell from '@coreui/vue/src/components/table/CTableHeaderCell'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableHeaderCell_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableHeaderCell.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableHeaderCell.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableHeaderCell.api.html"}]]},"headers":[{"level":3,"title":"CTableHeaderCell","slug":"ctableheadercell","link":"#ctableheadercell","children":[]}],"filePathRelative":"api/table/CTableHeaderCell.api.md"}'); +export { + CTableHeaderCell_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableHeaderCell.api.html-DahKEodk.js b/vue/docs/assets/CTableHeaderCell.api.html-DahKEodk.js deleted file mode 100644 index 91bc82ed31b..00000000000 --- a/vue/docs/assets/CTableHeaderCell.api.html-DahKEodk.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableHeaderCell

import { CTableHeaderCell } from '@coreui/vue'\n// or\nimport CTableHeaderCell from '@coreui/vue/src/components/table/CTableHeaderCell'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableHeaderCell_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableHeaderCell.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableHeaderCell.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableHeaderCell.api.html"}]]},"headers":[{"level":3,"title":"CTableHeaderCell","slug":"ctableheadercell","link":"#ctableheadercell","children":[]}],"filePathRelative":"api/table/CTableHeaderCell.api.md"}'); -export { - CTableHeaderCell_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTableRow.api.html-BS0zN1Kr.js b/vue/docs/assets/CTableRow.api.html-BS0zN1Kr.js new file mode 100644 index 00000000000..5b6c674eed5 --- /dev/null +++ b/vue/docs/assets/CTableRow.api.html-BS0zN1Kr.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableRow #

import { CTableRow } from '@coreui/vue'\n// or\nimport CTableRow from '@coreui/vue/src/components/table/CTableRow'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell..boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CTableRow_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableRow.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/table/CTableRow.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableRow.api.html"}]]},"headers":[{"level":3,"title":"CTableRow","slug":"ctablerow","link":"#ctablerow","children":[]}],"filePathRelative":"api/table/CTableRow.api.md"}'); +export { + CTableRow_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTableRow.api.html-Bh9JvciN.js b/vue/docs/assets/CTableRow.api.html-Bh9JvciN.js deleted file mode 100644 index a24d694665c..00000000000 --- a/vue/docs/assets/CTableRow.api.html-Bh9JvciN.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTableRow

import { CTableRow } from '@coreui/vue'\n// or\nimport CTableRow from '@coreui/vue/src/components/table/CTableRow'\n

Props

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell..boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CTableRow_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTableRow.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/table/CTableRow.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/table/CTableRow.api.html"}]]},"headers":[{"level":3,"title":"CTableRow","slug":"ctablerow","link":"#ctablerow","children":[]}],"filePathRelative":"api/table/CTableRow.api.md"}'); -export { - CTableRow_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabs.api.html-BFEYxLzk.js b/vue/docs/assets/CTabs.api.html-BFEYxLzk.js deleted file mode 100644 index b3375a20d2d..00000000000 --- a/vue/docs/assets/CTabs.api.html-BFEYxLzk.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabs

import { CTabs } from '@coreui/vue'\n// or\nimport CTabs from '@coreui/vue/src/components/tabs/CTabs'\n

Props

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--

Events

Event nameDescriptionProperties
changeThe callback is fired when the active tab changes.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTabs_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabs.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tabs/CTabs.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabs.api.html"}]]},"headers":[{"level":3,"title":"CTabs","slug":"ctabs","link":"#ctabs","children":[]}],"filePathRelative":"api/tabs/CTabs.api.md"}'); -export { - CTabs_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTabs.api.html-DnMHi3vy.js b/vue/docs/assets/CTabs.api.html-DnMHi3vy.js new file mode 100644 index 00000000000..175fb09c62f --- /dev/null +++ b/vue/docs/assets/CTabs.api.html-DnMHi3vy.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTabs #

import { CTabs } from '@coreui/vue'\n// or\nimport CTabs from '@coreui/vue/src/components/tabs/CTabs'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--

Events #

Event nameDescriptionProperties
changeThe callback is fired when the active tab changes.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTabs_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTabs.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tabs/CTabs.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tabs/CTabs.api.html"}]]},"headers":[{"level":3,"title":"CTabs","slug":"ctabs","link":"#ctabs","children":[]}],"filePathRelative":"api/tabs/CTabs.api.md"}'); +export { + CTabs_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTimePicker.api.html-B1LPdULH.js b/vue/docs/assets/CTimePicker.api.html-B1LPdULH.js deleted file mode 100644 index 7c1d27e2b74..00000000000 --- a/vue/docs/assets/CTimePicker.api.html-B1LPdULH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTimePicker

import { CTimePicker } from '@coreui/vue-pro'\n// or\nimport CTimePicker from '@coreui/vue-pro/src/components/time-picker/CTimePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
ampm
4.7.0+
Set if the component should use the 12/24 hour format. If true forces the interface to a 12-hour format. If false forces the interface into a 24-hour format. If auto the current locale will determine the 12 or 24-hour interface by default locales.boolean|string-'auto'
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hours
5.0.0+
Specify a list of available hours using an array, or customize the filtering of hours through a function.number[] | ((hour: number) => number[])--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string--
minutes
5.0.0+
Toggle the display of minutes, specify a list of available minutes using an array, or customize the filtering of minutes through a function.number[] | ((hour: number) => number[]) | boolean-true
name
5.3.0+
Set the name attribute for the input element.string--
placeholderSpecifies a short hint that is visible in the input.string-'Select time'
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
seconds
4.7.0+
Toggle the display of seconds, specify a list of available seconds using an array, or customize the filtering of seconds through a function.number[] | ((hour: number) => number[]) | boolean-true
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
timeInitial selected time.date|string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
variantSet the time picker variant to a roll or select.string'roll', 'select''roll'
visibleToggle the visibility of the component.boolean--

Events

Event nameDescriptionProperties
changeCallback fired when the time changed.
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
update:timeCallback fired when the time changed.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTimePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTimePicker.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/time-picker/CTimePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/time-picker/CTimePicker.api.html"}]]},"headers":[{"level":3,"title":"CTimePicker","slug":"ctimepicker","link":"#ctimepicker","children":[]}],"filePathRelative":"api/time-picker/CTimePicker.api.md"}'); -export { - CTimePicker_api_html as comp, - data -}; diff --git a/vue/docs/assets/CTimePicker.api.html-C_1ZXYrv.js b/vue/docs/assets/CTimePicker.api.html-C_1ZXYrv.js new file mode 100644 index 00000000000..9b5e0455196 --- /dev/null +++ b/vue/docs/assets/CTimePicker.api.html-C_1ZXYrv.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTimePicker #

import { CTimePicker } from '@coreui/vue-pro'\n// or\nimport CTimePicker from '@coreui/vue-pro/src/components/time-picker/CTimePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
ampm
4.7.0+
Set if the component should use the 12/24 hour format. If true forces the interface to a 12-hour format. If false forces the interface into a 24-hour format. If auto the current locale will determine the 12 or 24-hour interface by default locales.boolean|string-'auto'
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hours
5.0.0+
Specify a list of available hours using an array, or customize the filtering of hours through a function.number[] | ((hour: number) => number[])--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string--
minutes
5.0.0+
Toggle the display of minutes, specify a list of available minutes using an array, or customize the filtering of minutes through a function.number[] | ((hour: number) => number[]) | boolean-true
name
5.3.0+
Set the name attribute for the input element.string--
placeholderSpecifies a short hint that is visible in the input.string-'Select time'
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
seconds
4.7.0+
Toggle the display of seconds, specify a list of available seconds using an array, or customize the filtering of seconds through a function.number[] | ((hour: number) => number[]) | boolean-true
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
timeInitial selected time.date|string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
variantSet the time picker variant to a roll or select.string'roll', 'select''roll'
visibleToggle the visibility of the component.boolean--

Events #

Event nameDescriptionProperties
changeCallback fired when the time changed.
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
update:timeCallback fired when the time changed.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTimePicker_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTimePicker.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/time-picker/CTimePicker.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/time-picker/CTimePicker.api.html"}]]},"headers":[{"level":3,"title":"CTimePicker","slug":"ctimepicker","link":"#ctimepicker","children":[]}],"filePathRelative":"api/time-picker/CTimePicker.api.md"}'); +export { + CTimePicker_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTimePickerRollCol.api.html-BP01-pLv.js b/vue/docs/assets/CTimePickerRollCol.api.html-BP01-pLv.js new file mode 100644 index 00000000000..4537e6ea7ee --- /dev/null +++ b/vue/docs/assets/CTimePickerRollCol.api.html-BP01-pLv.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTimePickerRollCol #

import { CTimePickerRollCol } from '@coreui/vue-pro'\n// or\nimport CTimePickerRollCol from '@coreui/vue-pro/src/components/time-picker/CTimePickerRollCol'\n

Props #

Prop nameDescriptionTypeValuesDefault

Events #

Event nameDescriptionProperties
click
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTimePickerRollCol_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTimePickerRollCol.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/time-picker/CTimePickerRollCol.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/time-picker/CTimePickerRollCol.api.html"}]]},"headers":[{"level":3,"title":"CTimePickerRollCol","slug":"ctimepickerrollcol","link":"#ctimepickerrollcol","children":[]}],"filePathRelative":"api/time-picker/CTimePickerRollCol.api.md"}'); +export { + CTimePickerRollCol_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTimePickerRollCol.api.html-CKuM6oLe.js b/vue/docs/assets/CTimePickerRollCol.api.html-CKuM6oLe.js deleted file mode 100644 index d70b5e24b27..00000000000 --- a/vue/docs/assets/CTimePickerRollCol.api.html-CKuM6oLe.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTimePickerRollCol

import { CTimePickerRollCol } from '@coreui/vue-pro'\n// or\nimport CTimePickerRollCol from '@coreui/vue-pro/src/components/time-picker/CTimePickerRollCol'\n

Props

Prop nameDescriptionTypeValuesDefault

Events

Event nameDescriptionProperties
click
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTimePickerRollCol_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTimePickerRollCol.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/time-picker/CTimePickerRollCol.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/time-picker/CTimePickerRollCol.api.html"}]]},"headers":[{"level":3,"title":"CTimePickerRollCol","slug":"ctimepickerrollcol","link":"#ctimepickerrollcol","children":[]}],"filePathRelative":"api/time-picker/CTimePickerRollCol.api.md"}'); -export { - CTimePickerRollCol_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToast.api.html-CMbe9i1s.js b/vue/docs/assets/CToast.api.html-CMbe9i1s.js new file mode 100644 index 00000000000..ac6da74e010 --- /dev/null +++ b/vue/docs/assets/CToast.api.html-CMbe9i1s.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToast #

import { CToast } from '@coreui/vue'\n// or\nimport CToast from '@coreui/vue/src/components/toast/CToast'\n

Props #

Prop nameDescriptionTypeValuesDefault
autohideAuto hide the toast.boolean-true
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
delayDelay hiding the toast (ms).number-5000
dismissibleOptionally add a close button to component and allow it to self dismiss.boolean-true
indexindex of the component.number--
titleTitle node for your component.string--
visibleToggle the visibility of component.boolean--

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CToast_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToast.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/toast/CToast.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToast.api.html"}]]},"headers":[{"level":3,"title":"CToast","slug":"ctoast","link":"#ctoast","children":[]}],"filePathRelative":"api/toast/CToast.api.md"}'); +export { + CToast_api_html as comp, + data +}; diff --git a/vue/docs/assets/CToast.api.html-CrpEOCPn.js b/vue/docs/assets/CToast.api.html-CrpEOCPn.js deleted file mode 100644 index d282623bc9c..00000000000 --- a/vue/docs/assets/CToast.api.html-CrpEOCPn.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToast

import { CToast } from '@coreui/vue'\n// or\nimport CToast from '@coreui/vue/src/components/toast/CToast'\n

Props

Prop nameDescriptionTypeValuesDefault
autohideAuto hide the toast.boolean-true
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
delayDelay hiding the toast (ms).number-5000
dismissibleOptionally add a close button to component and allow it to self dismiss.boolean-true
indexindex of the component.number--
titleTitle node for your component.string--
visibleToggle the visibility of component.boolean--

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CToast_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToast.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/toast/CToast.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToast.api.html"}]]},"headers":[{"level":3,"title":"CToast","slug":"ctoast","link":"#ctoast","children":[]}],"filePathRelative":"api/toast/CToast.api.md"}'); -export { - CToast_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToastBody.api.html-4viEj-di.js b/vue/docs/assets/CToastBody.api.html-4viEj-di.js deleted file mode 100644 index 0ff062a4872..00000000000 --- a/vue/docs/assets/CToastBody.api.html-4viEj-di.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastBody

import { CToastBody } from '@coreui/vue'\n// or\nimport CToastBody from '@coreui/vue/src/components/toast/CToastBody'\n
', 2); -const _hoisted_3 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_3); -} -const CToastBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastBody.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/toast/CToastBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastBody.api.html"}]]},"headers":[{"level":3,"title":"CToastBody","slug":"ctoastbody","link":"#ctoastbody","children":[]}],"filePathRelative":"api/toast/CToastBody.api.md"}'); -export { - CToastBody_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToastBody.api.html-JaBADYAu.js b/vue/docs/assets/CToastBody.api.html-JaBADYAu.js new file mode 100644 index 00000000000..9d340c0ec3e --- /dev/null +++ b/vue/docs/assets/CToastBody.api.html-JaBADYAu.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastBody #

import { CToastBody } from '@coreui/vue'\n// or\nimport CToastBody from '@coreui/vue/src/components/toast/CToastBody'\n
', 2); +const _hoisted_3 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_3); +} +const CToastBody_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastBody.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/toast/CToastBody.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastBody.api.html"}]]},"headers":[{"level":3,"title":"CToastBody","slug":"ctoastbody","link":"#ctoastbody","children":[]}],"filePathRelative":"api/toast/CToastBody.api.md"}'); +export { + CToastBody_api_html as comp, + data +}; diff --git a/vue/docs/assets/CToastClose.api.html-D5MPMBvN.js b/vue/docs/assets/CToastClose.api.html-D5MPMBvN.js deleted file mode 100644 index 6dc3382f3b7..00000000000 --- a/vue/docs/assets/CToastClose.api.html-D5MPMBvN.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastClose

import { CToastClose } from '@coreui/vue'\n// or\nimport CToastClose from '@coreui/vue/src/components/toast/CToastClose'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string--

Events

Event nameDescriptionProperties
closeEvent called before the dissmiss animation has started.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CToastClose_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastClose.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/toast/CToastClose.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastClose.api.html"}]]},"headers":[{"level":3,"title":"CToastClose","slug":"ctoastclose","link":"#ctoastclose","children":[]}],"filePathRelative":"api/toast/CToastClose.api.md"}'); -export { - CToastClose_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToastClose.api.html-YQ6mj1QO.js b/vue/docs/assets/CToastClose.api.html-YQ6mj1QO.js new file mode 100644 index 00000000000..57dbfca0e11 --- /dev/null +++ b/vue/docs/assets/CToastClose.api.html-YQ6mj1QO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastClose #

import { CToastClose } from '@coreui/vue'\n// or\nimport CToastClose from '@coreui/vue/src/components/toast/CToastClose'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string--

Events #

Event nameDescriptionProperties
closeEvent called before the dissmiss animation has started.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CToastClose_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastClose.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/toast/CToastClose.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastClose.api.html"}]]},"headers":[{"level":3,"title":"CToastClose","slug":"ctoastclose","link":"#ctoastclose","children":[]}],"filePathRelative":"api/toast/CToastClose.api.md"}'); +export { + CToastClose_api_html as comp, + data +}; diff --git a/vue/docs/assets/CToastHeader.api.html-Bb_cYC6K.js b/vue/docs/assets/CToastHeader.api.html-Bb_cYC6K.js new file mode 100644 index 00000000000..51bf935e468 --- /dev/null +++ b/vue/docs/assets/CToastHeader.api.html-Bb_cYC6K.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastHeader #

import { CToastHeader } from '@coreui/vue'\n// or\nimport CToastHeader from '@coreui/vue/src/components/toast/CToastHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
close-buttonAutomatically add a close button to the header.boolean--

Events #

Event nameDescriptionProperties
closeEvent called after clicking the close button.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CToastHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastHeader.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/toast/CToastHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastHeader.api.html"}]]},"headers":[{"level":3,"title":"CToastHeader","slug":"ctoastheader","link":"#ctoastheader","children":[]}],"filePathRelative":"api/toast/CToastHeader.api.md"}'); +export { + CToastHeader_api_html as comp, + data +}; diff --git a/vue/docs/assets/CToastHeader.api.html-Bp3krdZ3.js b/vue/docs/assets/CToastHeader.api.html-Bp3krdZ3.js deleted file mode 100644 index 21dce8299e6..00000000000 --- a/vue/docs/assets/CToastHeader.api.html-Bp3krdZ3.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToastHeader

import { CToastHeader } from '@coreui/vue'\n// or\nimport CToastHeader from '@coreui/vue/src/components/toast/CToastHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
close-buttonAutomatically add a close button to the header.boolean--

Events

Event nameDescriptionProperties
closeEvent called after clicking the close button.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CToastHeader_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToastHeader.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/toast/CToastHeader.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToastHeader.api.html"}]]},"headers":[{"level":3,"title":"CToastHeader","slug":"ctoastheader","link":"#ctoastheader","children":[]}],"filePathRelative":"api/toast/CToastHeader.api.md"}'); -export { - CToastHeader_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToaster.api.html-CZ4AWR-a.js b/vue/docs/assets/CToaster.api.html-CZ4AWR-a.js deleted file mode 100644 index 2bb6f33e2ee..00000000000 --- a/vue/docs/assets/CToaster.api.html-CZ4AWR-a.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToaster

import { CToaster } from '@coreui/vue'\n// or\nimport CToaster from '@coreui/vue/src/components/toast/CToaster'\n

Props

Prop nameDescriptionTypeValuesDefault
placementDescribes the placement of component.string'top-start', 'top', 'top-end', 'middle-start', 'middle', 'middle-end', 'bottom-start', 'bottom', 'bottom-end'-
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CToaster_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToaster.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/toast/CToaster.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToaster.api.html"}]]},"headers":[{"level":3,"title":"CToaster","slug":"ctoaster","link":"#ctoaster","children":[]}],"filePathRelative":"api/toast/CToaster.api.md"}'); -export { - CToaster_api_html as comp, - data -}; diff --git a/vue/docs/assets/CToaster.api.html-DIlPMx7J.js b/vue/docs/assets/CToaster.api.html-DIlPMx7J.js new file mode 100644 index 00000000000..509d8c3d63a --- /dev/null +++ b/vue/docs/assets/CToaster.api.html-DIlPMx7J.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CToaster #

import { CToaster } from '@coreui/vue'\n// or\nimport CToaster from '@coreui/vue/src/components/toast/CToaster'\n

Props #

Prop nameDescriptionTypeValuesDefault
placementDescribes the placement of component.string'top-start', 'top', 'top-end', 'middle-start', 'middle', 'middle-end', 'bottom-start', 'bottom', 'bottom-end'-
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CToaster_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CToaster.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/toast/CToaster.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/toast/CToaster.api.html"}]]},"headers":[{"level":3,"title":"CToaster","slug":"ctoaster","link":"#ctoaster","children":[]}],"filePathRelative":"api/toast/CToaster.api.md"}'); +export { + CToaster_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTooltip.api.html-BG1bcVkZ.js b/vue/docs/assets/CTooltip.api.html-BG1bcVkZ.js new file mode 100644 index 00000000000..456edaa338c --- /dev/null +++ b/vue/docs/assets/CTooltip.api.html-BG1bcVkZ.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTooltip #

import { CTooltip } from '@coreui/vue'\n// or\nimport CTooltip from '@coreui/vue/src/components/tooltip/CTooltip'\n

Props #

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the tooltip.boolean-true
container
5.0.0+
Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the tooltip relative to its target.array-[0, 6]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover'() => ['hover', 'focus']
visibleToggle the visibility of tooltip component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CTooltip_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTooltip.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/tooltip/CTooltip.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tooltip/CTooltip.api.html"}]]},"headers":[{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}],"filePathRelative":"api/tooltip/CTooltip.api.md"}'); +export { + CTooltip_api_html as comp, + data +}; diff --git a/vue/docs/assets/CTooltip.api.html-Dd9JcsKh.js b/vue/docs/assets/CTooltip.api.html-Dd9JcsKh.js deleted file mode 100644 index 3a13c533e0c..00000000000 --- a/vue/docs/assets/CTooltip.api.html-Dd9JcsKh.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CTooltip

import { CTooltip } from '@coreui/vue'\n// or\nimport CTooltip from '@coreui/vue/src/components/tooltip/CTooltip'\n

Props

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the tooltip.boolean-true
container
v5.0.0+
Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the tooltip relative to its target.array-[0, 6]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover'() => ['hover', 'focus']
visibleToggle the visibility of tooltip component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CTooltip_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CTooltip.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/tooltip/CTooltip.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/tooltip/CTooltip.api.html"}]]},"headers":[{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}],"filePathRelative":"api/tooltip/CTooltip.api.md"}'); -export { - CTooltip_api_html as comp, - data -}; diff --git a/vue/docs/assets/CVirtualScroller.api.html-CYqYd6bS.js b/vue/docs/assets/CVirtualScroller.api.html-CYqYd6bS.js new file mode 100644 index 00000000000..42cb509aa12 --- /dev/null +++ b/vue/docs/assets/CVirtualScroller.api.html-CYqYd6bS.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CVirtualScroller #

import { CVirtualScroller } from '@coreui/vue'\n// or\nimport CVirtualScroller from '@coreui/vue/src/components/virtual-scroller/CVirtualScroller'\n

Props #

Prop nameDescriptionTypeValuesDefault
visible-itemsAmount of visible itemsnumber-10
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CVirtualScroller_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CVirtualScroller.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/virtual-scroller/CVirtualScroller.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/virtual-scroller/CVirtualScroller.api.html"}]]},"headers":[{"level":3,"title":"CVirtualScroller","slug":"cvirtualscroller","link":"#cvirtualscroller","children":[]}],"filePathRelative":"api/virtual-scroller/CVirtualScroller.api.md"}'); +export { + CVirtualScroller_api_html as comp, + data +}; diff --git a/vue/docs/assets/CVirtualScroller.api.html-OI5523Hm.js b/vue/docs/assets/CVirtualScroller.api.html-OI5523Hm.js deleted file mode 100644 index bca2b750894..00000000000 --- a/vue/docs/assets/CVirtualScroller.api.html-OI5523Hm.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CVirtualScroller

import { CVirtualScroller } from '@coreui/vue'\n// or\nimport CVirtualScroller from '@coreui/vue/src/components/virtual-scroller/CVirtualScroller'\n

Props

Prop nameDescriptionTypeValuesDefault
visible-itemsAmount of visible itemsnumber-10
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CVirtualScroller_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CVirtualScroller.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/virtual-scroller/CVirtualScroller.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/virtual-scroller/CVirtualScroller.api.html"}]]},"headers":[{"level":3,"title":"CVirtualScroller","slug":"cvirtualscroller","link":"#cvirtualscroller","children":[]}],"filePathRelative":"api/virtual-scroller/CVirtualScroller.api.md"}'); -export { - CVirtualScroller_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsA.api.html-CQAWIPeh.js b/vue/docs/assets/CWidgetStatsA.api.html-CQAWIPeh.js new file mode 100644 index 00000000000..a795bf1feac --- /dev/null +++ b/vue/docs/assets/CWidgetStatsA.api.html-CQAWIPeh.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsA #

import { CWidgetStatsA } from '@coreui/vue'\n// or\nimport CWidgetStatsA from '@coreui/vue/src/components/widgets/CWidgetStatsA'\n

Props #

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
chartLocation for chart component.
actionLocation for action component, ex. <CDropdown>.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CWidgetStatsA_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsA.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsA.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsA.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsA","slug":"cwidgetstatsa","link":"#cwidgetstatsa","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsA.api.md"}'); +export { + CWidgetStatsA_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsA.api.html-DD_G_0XR.js b/vue/docs/assets/CWidgetStatsA.api.html-DD_G_0XR.js deleted file mode 100644 index 5a511f45136..00000000000 --- a/vue/docs/assets/CWidgetStatsA.api.html-DD_G_0XR.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsA

import { CWidgetStatsA } from '@coreui/vue'\n// or\nimport CWidgetStatsA from '@coreui/vue/src/components/widgets/CWidgetStatsA'\n

Props

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
chartLocation for chart component.
actionLocation for action component, ex. <CDropdown>.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CWidgetStatsA_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsA.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsA.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsA.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsA","slug":"cwidgetstatsa","link":"#cwidgetstatsa","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsA.api.md"}'); -export { - CWidgetStatsA_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsB.api.html-8R9003Ye.js b/vue/docs/assets/CWidgetStatsB.api.html-8R9003Ye.js new file mode 100644 index 00000000000..d565ff7f839 --- /dev/null +++ b/vue/docs/assets/CWidgetStatsB.api.html-8R9003Ye.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsB #

import { CWidgetStatsB } from '@coreui/vue'\n// or\nimport CWidgetStatsB from '@coreui/vue/src/components/widgets/CWidgetStatsB'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colorsstring'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0
', 4); +const _hoisted_5 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_5); +} +const CWidgetStatsB_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsB.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsB.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsB.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsB","slug":"cwidgetstatsb","link":"#cwidgetstatsb","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsB.api.md"}'); +export { + CWidgetStatsB_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsB.api.html-BDmKGNGc.js b/vue/docs/assets/CWidgetStatsB.api.html-BDmKGNGc.js deleted file mode 100644 index 714acd782fa..00000000000 --- a/vue/docs/assets/CWidgetStatsB.api.html-BDmKGNGc.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsB

import { CWidgetStatsB } from '@coreui/vue'\n// or\nimport CWidgetStatsB from '@coreui/vue/src/components/widgets/CWidgetStatsB'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colorsstring'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0
', 4); -const _hoisted_5 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_5); -} -const CWidgetStatsB_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsB.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsB.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsB.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsB","slug":"cwidgetstatsb","link":"#cwidgetstatsb","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsB.api.md"}'); -export { - CWidgetStatsB_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsC.api.html-BEjn1BPd.js b/vue/docs/assets/CWidgetStatsC.api.html-BEjn1BPd.js new file mode 100644 index 00000000000..d168cb27f04 --- /dev/null +++ b/vue/docs/assets/CWidgetStatsC.api.html-BEjn1BPd.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsC #

import { CWidgetStatsC } from '@coreui/vue'\n// or\nimport CWidgetStatsC from '@coreui/vue/src/components/widgets/CWidgetStatsC'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
iconLocation for icon component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CWidgetStatsC_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsC.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsC.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsC.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsC","slug":"cwidgetstatsc","link":"#cwidgetstatsc","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsC.api.md"}'); +export { + CWidgetStatsC_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsC.api.html-Ck65oxiQ.js b/vue/docs/assets/CWidgetStatsC.api.html-Ck65oxiQ.js deleted file mode 100644 index 3d7516b55e7..00000000000 --- a/vue/docs/assets/CWidgetStatsC.api.html-Ck65oxiQ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsC

import { CWidgetStatsC } from '@coreui/vue'\n// or\nimport CWidgetStatsC from '@coreui/vue/src/components/widgets/CWidgetStatsC'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
iconLocation for icon component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CWidgetStatsC_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsC.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsC.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsC.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsC","slug":"cwidgetstatsc","link":"#cwidgetstatsc","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsC.api.md"}'); -export { - CWidgetStatsC_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsD.api.html-C6jHMRVC.js b/vue/docs/assets/CWidgetStatsD.api.html-C6jHMRVC.js deleted file mode 100644 index 91a8843fa22..00000000000 --- a/vue/docs/assets/CWidgetStatsD.api.html-C6jHMRVC.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsD

import { CWidgetStatsD } from '@coreui/vue'\n// or\nimport CWidgetStatsD from '@coreui/vue/src/components/widgets/CWidgetStatsD'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valuesValues and titles for your component.Value[]-() => []

Slots

NameDescriptionBindings
chartLocation for chart component.
iconLocation for icon component, ex. <CDropdown>.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CWidgetStatsD_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsD.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsD.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsD.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsD","slug":"cwidgetstatsd","link":"#cwidgetstatsd","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsD.api.md"}'); -export { - CWidgetStatsD_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsD.api.html-vMUwQLz_.js b/vue/docs/assets/CWidgetStatsD.api.html-vMUwQLz_.js new file mode 100644 index 00000000000..0708cbe1f2d --- /dev/null +++ b/vue/docs/assets/CWidgetStatsD.api.html-vMUwQLz_.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsD #

import { CWidgetStatsD } from '@coreui/vue'\n// or\nimport CWidgetStatsD from '@coreui/vue/src/components/widgets/CWidgetStatsD'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valuesValues and titles for your component.Value[]-() => []

Slots #

NameDescriptionBindings
chartLocation for chart component.
iconLocation for icon component, ex. <CDropdown>.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CWidgetStatsD_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsD.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsD.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsD.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsD","slug":"cwidgetstatsd","link":"#cwidgetstatsd","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsD.api.md"}'); +export { + CWidgetStatsD_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsE.api.html-8FNgCETA.js b/vue/docs/assets/CWidgetStatsE.api.html-8FNgCETA.js new file mode 100644 index 00000000000..381ea44310e --- /dev/null +++ b/vue/docs/assets/CWidgetStatsE.api.html-8FNgCETA.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsE #

import { CWidgetStatsE } from '@coreui/vue'\n// or\nimport CWidgetStatsE from '@coreui/vue/src/components/widgets/CWidgetStatsE'\n

Props #

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
chartLocation for chart component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CWidgetStatsE_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsE.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsE.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsE.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsE","slug":"cwidgetstatse","link":"#cwidgetstatse","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsE.api.md"}'); +export { + CWidgetStatsE_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsE.api.html-WqFr1dq3.js b/vue/docs/assets/CWidgetStatsE.api.html-WqFr1dq3.js deleted file mode 100644 index 5e0628e6de5..00000000000 --- a/vue/docs/assets/CWidgetStatsE.api.html-WqFr1dq3.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsE

import { CWidgetStatsE } from '@coreui/vue'\n// or\nimport CWidgetStatsE from '@coreui/vue/src/components/widgets/CWidgetStatsE'\n

Props

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
chartLocation for chart component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CWidgetStatsE_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsE.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsE.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsE.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsE","slug":"cwidgetstatse","link":"#cwidgetstatse","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsE.api.md"}'); -export { - CWidgetStatsE_api_html as comp, - data -}; diff --git a/vue/docs/assets/CWidgetStatsF.api.html-Bs-3Tpfk.js b/vue/docs/assets/CWidgetStatsF.api.html-Bs-3Tpfk.js new file mode 100644 index 00000000000..2fd3c8d7658 --- /dev/null +++ b/vue/docs/assets/CWidgetStatsF.api.html-Bs-3Tpfk.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsF #

import { CWidgetStatsF } from '@coreui/vue'\n// or\nimport CWidgetStatsF from '@coreui/vue/src/components/widgets/CWidgetStatsF'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
paddingSet padding of your component.boolean-true
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
iconLocation for icon component.
', 6); +const _hoisted_7 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_7); +} +const CWidgetStatsF_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsF.api.html.vue"]]); +const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsF.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsF.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsF","slug":"cwidgetstatsf","link":"#cwidgetstatsf","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsF.api.md"}'); +export { + CWidgetStatsF_api_html as comp, + data +}; diff --git a/vue/docs/assets/CWidgetStatsF.api.html-DQOglbDZ.js b/vue/docs/assets/CWidgetStatsF.api.html-DQOglbDZ.js deleted file mode 100644 index 0b4026165d2..00000000000 --- a/vue/docs/assets/CWidgetStatsF.api.html-DQOglbDZ.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CWidgetStatsF

import { CWidgetStatsF } from '@coreui/vue'\n// or\nimport CWidgetStatsF from '@coreui/vue/src/components/widgets/CWidgetStatsF'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
paddingSet padding of your component.boolean-true
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
iconLocation for icon component.
', 6); -const _hoisted_7 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_7); -} -const CWidgetStatsF_api_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "CWidgetStatsF.api.html.vue"]]); -const data = JSON.parse('{"path":"/api/widgets/CWidgetStatsF.api.html","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/api/widgets/CWidgetStatsF.api.html"}]]},"headers":[{"level":3,"title":"CWidgetStatsF","slug":"cwidgetstatsf","link":"#cwidgetstatsf","children":[]}],"filePathRelative":"api/widgets/CWidgetStatsF.api.md"}'); -export { - CWidgetStatsF_api_html as comp, - data -}; diff --git a/vue/docs/assets/Callout-BG7mA_TE.js b/vue/docs/assets/Callout-dZyg6Lm9.js similarity index 83% rename from vue/docs/assets/Callout-BG7mA_TE.js rename to vue/docs/assets/Callout-dZyg6Lm9.js index 06174a8a5ec..033d8631d2d 100644 --- a/vue/docs/assets/Callout-BG7mA_TE.js +++ b/vue/docs/assets/Callout-dZyg6Lm9.js @@ -1,4 +1,4 @@ -import { a1 as defineComponent, _ as _export_sfc, o as openBlock, c as createElementBlock, t as toDisplayString, i as createCommentVNode, ac as renderSlot, n as normalizeClass } from "./app-BoHWg5jI.js"; +import { a0 as defineComponent, _ as _export_sfc, o as openBlock, c as createElementBlock, t as toDisplayString, W as createCommentVNode, ab as renderSlot, n as normalizeClass } from "./app-DGOUrGv-.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Callout", props: { diff --git a/vue/docs/assets/ScssDocs-BzcEAHFR.js b/vue/docs/assets/ScssDocs-DPTK8YLD.js similarity index 97% rename from vue/docs/assets/ScssDocs-BzcEAHFR.js rename to vue/docs/assets/ScssDocs-DPTK8YLD.js index 22b028baa0a..6940e721e17 100644 --- a/vue/docs/assets/ScssDocs-BzcEAHFR.js +++ b/vue/docs/assets/ScssDocs-DPTK8YLD.js @@ -1,5 +1,5 @@ -import { a1 as defineComponent, _ as _export_sfc, o as openBlock, c as createElementBlock, e as createBaseVNode } from "./app-BoHWg5jI.js"; -const __vite_glob_0_0 = '//\n// Base styles\n//\n\n.accordion {\n // scss-docs-start accordion-css-vars\n --#{$prefix}accordion-color: #{$accordion-color};\n --#{$prefix}accordion-bg: #{$accordion-bg};\n --#{$prefix}accordion-transition: #{$accordion-transition};\n --#{$prefix}accordion-border-color: #{$accordion-border-color};\n --#{$prefix}accordion-border-width: #{$accordion-border-width};\n --#{$prefix}accordion-border-radius: #{$accordion-border-radius};\n --#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};\n --#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};\n --#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};\n --#{$prefix}accordion-btn-color: #{$accordion-button-color};\n --#{$prefix}accordion-btn-bg: #{$accordion-button-bg};\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};\n --#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};\n --#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};\n --#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};\n --#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};\n --#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};\n --#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};\n --#{$prefix}accordion-active-color: #{$accordion-button-active-color};\n --#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};\n // scss-docs-end accordion-css-vars\n}\n\n.accordion-button {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);\n @include font-size($font-size-base);\n color: var(--#{$prefix}accordion-btn-color);\n @include ltr-rtl("text-align", left); // Reset button style\n background-color: var(--#{$prefix}accordion-btn-bg);\n border: 0;\n @include border-radius(0);\n overflow-anchor: none;\n @include transition(var(--#{$prefix}accordion-transition));\n\n &:not(.collapsed) {\n color: var(--#{$prefix}accordion-active-color);\n background-color: var(--#{$prefix}accordion-active-bg);\n box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list\n\n &::after {\n background-image: var(--#{$prefix}accordion-btn-active-icon);\n transform: var(--#{$prefix}accordion-btn-icon-transform);\n }\n }\n\n // Accordion icon\n &::after {\n flex-shrink: 0;\n width: var(--#{$prefix}accordion-btn-icon-width);\n height: var(--#{$prefix}accordion-btn-icon-width);\n @include ltr-rtl("margin-left", auto);\n content: "";\n background-image: var(--#{$prefix}accordion-btn-icon);\n background-repeat: no-repeat;\n background-size: var(--#{$prefix}accordion-btn-icon-width);\n @include transition(var(--#{$prefix}accordion-btn-icon-transition));\n }\n\n &:hover {\n z-index: 2;\n }\n\n &:focus {\n z-index: 3;\n outline: 0;\n box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);\n }\n}\n\n.accordion-header {\n margin-bottom: 0;\n}\n\n.accordion-item {\n color: var(--#{$prefix}accordion-color);\n background-color: var(--#{$prefix}accordion-bg);\n border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);\n\n &:first-of-type {\n @include border-top-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n @include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n &:not(:first-of-type) {\n border-top: 0;\n }\n\n // Only set a border-radius on the last item if the accordion is collapsed\n &:last-of-type {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n &.collapsed {\n @include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n > .accordion-collapse {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n }\n }\n}\n\n.accordion-body {\n padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);\n}\n\n\n// Flush accordion items\n//\n// Remove borders and border-radius to keep accordion items edge-to-edge.\n\n.accordion-flush {\n > .accordion-item {\n border-right: 0;\n border-left: 0;\n @include border-radius(0);\n\n &:first-child { border-top: 0; }\n &:last-child { border-bottom: 0; }\n\n // stylelint-disable selector-max-class\n > .accordion-header .accordion-button {\n &,\n &.collapsed {\n @include border-radius(0);\n }\n }\n // stylelint-enable selector-max-class\n\n > .accordion-collapse {\n @include border-radius(0);\n }\n }\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .accordion-button::after {\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};\n }\n }\n}\n'; +import { a0 as defineComponent, _ as _export_sfc, o as openBlock, c as createElementBlock, b as createBaseVNode } from "./app-DGOUrGv-.js"; +const __vite_glob_0_0 = '//\n// Base styles\n//\n\n.accordion {\n // scss-docs-start accordion-css-vars\n --#{$prefix}accordion-color: #{$accordion-color};\n --#{$prefix}accordion-bg: #{$accordion-bg};\n --#{$prefix}accordion-transition: #{$accordion-transition};\n --#{$prefix}accordion-border-color: #{$accordion-border-color};\n --#{$prefix}accordion-border-width: #{$accordion-border-width};\n --#{$prefix}accordion-border-radius: #{$accordion-border-radius};\n --#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};\n --#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};\n --#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};\n --#{$prefix}accordion-btn-color: #{$accordion-button-color};\n --#{$prefix}accordion-btn-bg: #{$accordion-button-bg};\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};\n --#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};\n --#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};\n --#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};\n --#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};\n --#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};\n --#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};\n --#{$prefix}accordion-active-color: #{$accordion-button-active-color};\n --#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};\n // scss-docs-end accordion-css-vars\n}\n\n.accordion-button {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);\n @include font-size($font-size-base);\n color: var(--#{$prefix}accordion-btn-color);\n @include ltr-rtl("text-align", left); // Reset button style\n background-color: var(--#{$prefix}accordion-btn-bg);\n border: 0;\n @include border-radius(0);\n overflow-anchor: none;\n @include transition(var(--#{$prefix}accordion-transition));\n\n &:not(.collapsed) {\n color: var(--#{$prefix}accordion-active-color);\n background-color: var(--#{$prefix}accordion-active-bg);\n box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list\n\n &::after {\n background-image: var(--#{$prefix}accordion-btn-active-icon);\n transform: var(--#{$prefix}accordion-btn-icon-transform);\n }\n }\n\n // Accordion icon\n &::after {\n flex-shrink: 0;\n width: var(--#{$prefix}accordion-btn-icon-width);\n height: var(--#{$prefix}accordion-btn-icon-width);\n @include ltr-rtl("margin-left", auto);\n content: "";\n background-image: var(--#{$prefix}accordion-btn-icon);\n background-repeat: no-repeat;\n background-size: var(--#{$prefix}accordion-btn-icon-width);\n @include transition(var(--#{$prefix}accordion-btn-icon-transition));\n }\n\n &:hover {\n z-index: 2;\n }\n\n &:focus {\n z-index: 3;\n outline: 0;\n box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);\n }\n}\n\n.accordion-header {\n margin-bottom: 0;\n}\n\n.accordion-item {\n color: var(--#{$prefix}accordion-color);\n background-color: var(--#{$prefix}accordion-bg);\n border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);\n\n &:first-of-type {\n @include border-top-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n @include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n &:not(:first-of-type) {\n border-top: 0;\n }\n\n // Only set a border-radius on the last item if the accordion is collapsed\n &:last-of-type {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n\n > .accordion-header .accordion-button {\n &.collapsed {\n @include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));\n }\n }\n\n > .accordion-collapse {\n @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));\n }\n }\n}\n\n.accordion-body {\n padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);\n}\n\n\n// Flush accordion items\n//\n// Remove borders and border-radius to keep accordion items edge-to-edge.\n\n.accordion-flush {\n > .accordion-item {\n border-right: 0;\n border-left: 0;\n @include border-radius(0);\n\n &:first-child { border-top: 0; }\n &:last-child { border-bottom: 0; }\n\n // stylelint-disable selector-max-class\n > .accordion-collapse,\n > .accordion-header .accordion-button,\n > .accordion-header .accordion-button.collapsed {\n @include border-radius(0);\n }\n // stylelint-enable selector-max-class\n }\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .accordion-button::after {\n --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};\n --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};\n }\n }\n}\n'; const __vite_glob_0_1 = `// // Base styles // @@ -72,9 +72,9 @@ const __vite_glob_0_1 = `// const __vite_glob_0_2 = '.avatar {\n // scss-docs-start avatar-css-vars\n --#{$prefix}avatar-width: #{$avatar-width};\n --#{$prefix}avatar-height: #{$avatar-height};\n --#{$prefix}avatar-font-size: #{$avatar-font-size};\n --#{$prefix}avatar-border-radius: #{$avatar-border-radius};\n --#{$prefix}avatar-status-width: #{$avatar-status-width};\n --#{$prefix}avatar-status-height: #{$avatar-status-height};\n --#{$prefix}avatar-status-border-radius: #{$avatar-status-border-radius};\n // scss-docs-end avatar-css-vars\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--#{$prefix}avatar-width);\n height: var(--#{$prefix}avatar-height);\n font-size: var(--#{$prefix}avatar-font-size);\n vertical-align: middle;\n @include border-radius(var(--#{$prefix}avatar-border-radius));\n @include transition($avatar-transition);\n}\n\n.avatar-img {\n width: 100%;\n height: auto;\n @include border-radius(var(--#{$prefix}avatar-border-radius));\n}\n\n.avatar-status {\n position: absolute;\n @include ltr-rtl("right", 0);\n bottom: 0;\n display: block;\n width: var(--#{$prefix}avatar-status-width);\n height: var(--#{$prefix}avatar-status-height);\n border: 1px solid $white;\n @include border-radius(var(--#{$prefix}avatar-status-border-radius));\n}\n\n@each $size, $map in $avatar-sizes {\n .avatar-#{$size} {\n --#{$prefix}avatar-width: #{map-get($map, "width")};\n --#{$prefix}avatar-height: #{map-get($map, "height")};\n --#{$prefix}avatar-font-size: #{map-get($map, "font-size")};\n --#{$prefix}avatar-status-width: #{map-get($map, "status-width")};\n --#{$prefix}avatar-status-height: #{map-get($map, "status-height")};\n }\n}\n\n.avatars-stack {\n display: flex;\n\n .avatar {\n @include ltr-rtl("margin-right", calc(-.4 * var(--#{$prefix}avatar-width)));\n\n &:hover {\n @include ltr-rtl("margin-right", 0);\n }\n }\n}\n'; const __vite_glob_0_3 = "// Base class\n//\n// Requires one of the contextual, color modifier classes for `color` and\n// `background-color`.\n\n.badge {\n // scss-docs-start badge-css-vars\n --#{$prefix}badge-padding-x: #{$badge-padding-x};\n --#{$prefix}badge-padding-y: #{$badge-padding-y};\n @include rfs($badge-font-size, --#{$prefix}badge-font-size);\n --#{$prefix}badge-font-weight: #{$badge-font-weight};\n --#{$prefix}badge-color: #{$badge-color};\n --#{$prefix}badge-border-radius: #{$badge-border-radius};\n // scss-docs-end badge-css-vars\n\n display: inline-block;\n padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);\n @include font-size(var(--#{$prefix}badge-font-size));\n font-weight: var(--#{$prefix}badge-font-weight);\n line-height: 1;\n color: var(--#{$prefix}badge-color);\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: var(--#{$prefix}badge-border-radius, 0); // stylelint-disable-line property-disallowed-list\n @include gradient-bg();\n\n // Empty badges collapse automatically\n &:empty {\n display: none;\n }\n}\n\n// Quick fix for badges in buttons\n.btn .badge {\n position: relative;\n top: -1px;\n}\n\n//\n// Badge Sizes\n//\n\n.badge-sm {\n --#{$prefix}badge-padding-x: #{$badge-padding-x-sm};\n --#{$prefix}badge-padding-y: #{$badge-padding-y-sm};\n @include font-size($badge-font-size-sm);\n}\n"; const __vite_glob_0_4 = '.breadcrumb {\n // scss-docs-start breadcrumb-css-vars\n --#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};\n --#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};\n --#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};\n @include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);\n --#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};\n --#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};\n --#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};\n --#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};\n --#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};\n // scss-docs-end breadcrumb-css-vars\n\n display: flex;\n flex-wrap: wrap;\n padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);\n margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);\n @include font-size(var(--#{$prefix}breadcrumb-font-size));\n list-style: none;\n background-color: var(--#{$prefix}breadcrumb-bg);\n @include border-radius(var(--#{$prefix}breadcrumb-border-radius));\n}\n\n.breadcrumb-item {\n // The separator between breadcrumbs (by default, a forward-slash: "/")\n + .breadcrumb-item {\n @include ltr-rtl("padding-left", var(--#{$prefix}breadcrumb-item-padding-x));\n\n &::before {\n @include ltr-rtl("float", left); // Suppress inline spacings and underlining of the separator\n @include ltr-rtl("padding-right", var(--#{$prefix}breadcrumb-item-padding-x));\n color: var(--#{$prefix}breadcrumb-divider-color);\n @include ltr-rtl(\n "content",\n var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)),\n null,\n var(--#{$prefix}breadcrumb-divider-flipped, escape-svg($breadcrumb-divider-flipped))\n );\n }\n }\n\n &.active {\n color: var(--#{$prefix}breadcrumb-item-active-color);\n }\n}\n'; -const __vite_glob_0_5 = '// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle; // match .btn alignment given font-size hack above\n\n > .btn {\n position: relative;\n flex: 1 1 auto;\n }\n\n // Bring the hover, focused, and "active" buttons to the front to overlay\n // the borders properly\n > .btn-check:checked + .btn,\n > .btn-check:focus + .btn,\n > .btn:hover,\n > .btn:focus,\n > .btn:active,\n > .btn.active {\n z-index: 1;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n\n .input-group {\n width: auto;\n }\n}\n\n.btn-group {\n @include border-radius($btn-border-radius);\n\n // Prevent double borders when buttons are next to each other\n > :not(.btn-check:first-child) + .btn,\n > .btn-group:not(:first-child) {\n @include ltr-rtl("margin-left", calc(#{$btn-border-width} * -1));\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn.dropdown-toggle-split:first-child,\n > .btn-group:not(:last-child) > .btn {\n @include border-end-radius(0);\n }\n\n // The left radius should be 0 if the button is:\n // - the "third or more" child\n // - the second child and the previous element isn\'t `.btn-check` (making it the first child visually)\n // - part of a btn-group which isn\'t the first child\n > .btn:nth-child(n + 3),\n > :not(.btn-check) + .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-start-radius(0);\n }\n}\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-sm > .btn { @extend .btn-sm; }\n.btn-group-lg > .btn { @extend .btn-lg; }\n\n\n//\n// Split button dropdowns\n//\n\n.dropdown-toggle-split {\n padding-right: $btn-padding-x * .75;\n padding-left: $btn-padding-x * .75;\n\n &::after,\n .dropup &::after,\n .dropend &::after {\n @include ltr-rtl("margin-left", 0);\n }\n\n .dropstart &::before {\n @include ltr-rtl("margin-right", 0);\n }\n}\n\n.btn-sm + .dropdown-toggle-split {\n padding-right: $btn-padding-x-sm * .75;\n padding-left: $btn-padding-x-sm * .75;\n}\n\n.btn-lg + .dropdown-toggle-split {\n padding-right: $btn-padding-x-lg * .75;\n padding-left: $btn-padding-x-lg * .75;\n}\n\n\n// The clickable button for toggling the menu\n// Set the same inset shadow as the :active state\n.btn-group.show .dropdown-toggle {\n @include box-shadow($btn-active-box-shadow);\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n @include box-shadow(none);\n }\n}\n\n\n//\n// Vertical button groups\n//\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n\n > .btn,\n > .btn-group {\n width: 100%;\n }\n\n > .btn:not(:first-child),\n > .btn-group:not(:first-child) {\n margin-top: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn-group:not(:last-child) > .btn {\n @include border-bottom-radius(0);\n }\n\n > .btn ~ .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-top-radius(0);\n }\n}\n'; +const __vite_glob_0_5 = '// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle; // match .btn alignment given font-size hack above\n\n > .btn {\n position: relative;\n flex: 1 1 auto;\n }\n\n // Bring the hover, focused, and "active" buttons to the front to overlay\n // the borders properly\n > .btn-check:checked + .btn,\n > .btn-check:focus + .btn,\n > .btn:hover,\n > .btn:focus,\n > .btn:active,\n > .btn.active {\n z-index: 1;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n\n .input-group {\n width: auto;\n }\n}\n\n.btn-group {\n @include border-radius($btn-border-radius);\n\n // Prevent double borders when buttons are next to each other\n > :not(.btn-check:first-child) + .btn,\n > .btn-group:not(:first-child) {\n @include ltr-rtl("margin-left", calc(#{$btn-border-width} * -1));\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn.dropdown-toggle-split:first-child,\n > .btn-group:not(:last-child) > .btn {\n @include border-end-radius(0);\n }\n\n // The left radius should be 0 if the button is:\n // - the "third or more" child\n // - the second child and the previous element isn\'t `.btn-check` (making it the first child visually)\n // - part of a btn-group which isn\'t the first child\n > .btn:nth-child(n + 3),\n > :not(.btn-check) + .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-start-radius(0);\n }\n}\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-sm > .btn { @extend .btn-sm; }\n.btn-group-lg > .btn { @extend .btn-lg; }\n\n\n//\n// Split button dropdowns\n//\n\n.dropdown-toggle-split {\n padding-right: $btn-padding-x * .75;\n padding-left: $btn-padding-x * .75;\n\n &::after,\n .dropup &::after,\n .dropend &::after {\n @include ltr-rtl("margin-left", 0);\n }\n\n .dropstart &::before {\n @include ltr-rtl("margin-right", 0);\n }\n}\n\n.btn-sm + .dropdown-toggle-split {\n padding-right: $btn-padding-x-sm * .75;\n padding-left: $btn-padding-x-sm * .75;\n}\n\n.btn-lg + .dropdown-toggle-split {\n padding-right: $btn-padding-x-lg * .75;\n padding-left: $btn-padding-x-lg * .75;\n}\n\n\n// The clickable button for toggling the menu\n// Set the same inset shadow as the :active state\n.btn-group.show .dropdown-toggle {\n @include box-shadow($btn-active-box-shadow);\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n @include box-shadow(none);\n }\n}\n\n\n//\n// Vertical button groups\n//\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n\n > .btn,\n > .btn-group {\n width: 100%;\n }\n\n > .btn:not(:first-child),\n > .btn-group:not(:first-child) {\n margin-top: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list\n }\n\n // Reset rounded corners\n > .btn:not(:last-child):not(.dropdown-toggle),\n > .btn-group:not(:last-child) > .btn {\n @include border-bottom-radius(0);\n }\n\n // The top radius should be 0 if the button is:\n // - the "third or more" child\n // - the second child and the previous element isn\'t `.btn-check` (making it the first child visually)\n // - part of a btn-group which isn\'t the first child\n > .btn:nth-child(n + 3),\n > :not(.btn-check) + .btn,\n > .btn-group:not(:first-child) > .btn {\n @include border-top-radius(0);\n }\n}\n'; const __vite_glob_0_6 = "//\n// Base styles\n//\n\n.btn {\n // scss-docs-start btn-css-vars\n --#{$prefix}btn-padding-x: #{$btn-padding-x};\n --#{$prefix}btn-padding-y: #{$btn-padding-y};\n --#{$prefix}btn-font-family: #{$btn-font-family};\n @include rfs($btn-font-size, --#{$prefix}btn-font-size);\n --#{$prefix}btn-font-weight: #{$btn-font-weight};\n --#{$prefix}btn-line-height: #{$btn-line-height};\n --#{$prefix}btn-color: #{$btn-color};\n --#{$prefix}btn-bg: transparent;\n --#{$prefix}btn-border-width: #{$btn-border-width};\n --#{$prefix}btn-border-color: transparent;\n --#{$prefix}btn-border-radius: #{$btn-border-radius};\n --#{$prefix}btn-hover-border-color: transparent;\n --#{$prefix}btn-box-shadow: #{$btn-box-shadow};\n --#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};\n --#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);\n // scss-docs-end btn-css-vars\n\n display: inline-block;\n padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);\n font-family: var(--#{$prefix}btn-font-family);\n @include font-size(var(--#{$prefix}btn-font-size));\n font-weight: var(--#{$prefix}btn-font-weight);\n line-height: var(--#{$prefix}btn-line-height);\n color: var(--#{$prefix}btn-color);\n text-align: center;\n text-decoration: if($link-decoration == none, null, none);\n white-space: $btn-white-space;\n vertical-align: middle;\n cursor: if($enable-button-pointers, pointer, null);\n user-select: none;\n border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);\n @include border-radius(var(--#{$prefix}btn-border-radius));\n @include gradient-bg(var(--#{$prefix}btn-bg));\n @include box-shadow(var(--#{$prefix}btn-box-shadow));\n @include transition($btn-transition);\n\n &:hover {\n color: var(--#{$prefix}btn-hover-color);\n text-decoration: if($link-hover-decoration == underline, none, null);\n background-color: var(--#{$prefix}btn-hover-bg);\n border-color: var(--#{$prefix}btn-hover-border-color);\n }\n\n .btn-check + &:hover {\n // override for the checkbox/radio buttons\n color: var(--#{$prefix}btn-color);\n background-color: var(--#{$prefix}btn-bg);\n border-color: var(--#{$prefix}btn-border-color);\n }\n\n &:focus-visible {\n color: var(--#{$prefix}btn-hover-color);\n @include gradient-bg(var(--#{$prefix}btn-hover-bg));\n border-color: var(--#{$prefix}btn-hover-border-color);\n outline: 0;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n .btn-check:focus-visible + & {\n border-color: var(--#{$prefix}btn-hover-border-color);\n outline: 0;\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n .btn-check:checked + &,\n :not(.btn-check) + &:active,\n &:first-child:active,\n &.active,\n &.show {\n color: var(--#{$prefix}btn-active-color);\n background-color: var(--#{$prefix}btn-active-bg);\n // Remove CSS gradients if they're enabled\n background-image: if($enable-gradients, none, null);\n border-color: var(--#{$prefix}btn-active-border-color);\n @include box-shadow(var(--#{$prefix}btn-active-shadow));\n\n &:focus-visible {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n }\n\n .btn-check:checked:focus-visible + & {\n // Avoid using mixin so we can pass custom focus shadow properly\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}btn-focus-box-shadow);\n }\n }\n\n &:disabled,\n &.disabled,\n fieldset:disabled & {\n color: var(--#{$prefix}btn-disabled-color);\n pointer-events: none;\n background-color: var(--#{$prefix}btn-disabled-bg);\n background-image: if($enable-gradients, none, null);\n border-color: var(--#{$prefix}btn-disabled-border-color);\n opacity: var(--#{$prefix}btn-disabled-opacity);\n @include box-shadow(none);\n }\n}\n\n\n//\n// Alternate buttons\n//\n\n// scss-docs-start btn-variant-loops\n@each $state, $variant in $button-variants {\n .btn-#{$state} {\n @include button-variant($variant);\n }\n}\n\n@each $state, $variant in $button-outline-ghost-variants {\n .btn-outline-#{$state} {\n @include button-outline-variant($variant);\n }\n}\n\n@each $state, $variant in $button-outline-ghost-variants {\n .btn-ghost-#{$state} {\n @include button-ghost-variant($variant);\n }\n}\n// scss-docs-end btn-variant-loops\n\n.btn-transparent {\n --#{$prefix}btn-active-border-color: transparent;\n --#{$prefix}btn-disabled-border-color: transparent;\n --#{$prefix}btn-hover-border-color: transparent;\n --#{$prefix}btn-box-shadow: none;\n --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};\n\n @if $enable-gradients {\n background-image: none;\n }\n}\n\n//\n// Link buttons\n//\n\n// Make a button look and behave like a link\n.btn-link {\n --#{$prefix}btn-font-weight: #{$font-weight-normal};\n --#{$prefix}btn-color: #{$btn-link-color};\n --#{$prefix}btn-bg: transparent;\n --#{$prefix}btn-border-color: transparent;\n --#{$prefix}btn-hover-color: #{$btn-link-hover-color};\n --#{$prefix}btn-hover-border-color: transparent;\n --#{$prefix}btn-active-border-color: transparent;\n --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};\n --#{$prefix}btn-disabled-border-color: transparent;\n --#{$prefix}btn-box-shadow: none;\n --#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};\n\n text-decoration: $link-decoration;\n @if $enable-gradients {\n background-image: none;\n }\n\n &:hover,\n &:focus-visible {\n text-decoration: $link-hover-decoration;\n }\n\n &:focus-visible {\n color: var(--#{$prefix}btn-color);\n }\n\n // No need for an active state here\n}\n\n\n//\n// Button Sizes\n//\n\n.btn-lg {\n @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);\n}\n\n.btn-sm {\n @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n @each $state, $variant in $button-variants-dark {\n .btn-#{$state} {\n @include button-variant($variant);\n }\n }\n\n @each $state, $variant in $button-outline-ghost-variants-dark {\n .btn-outline-#{$state} {\n @include button-outline-variant($variant);\n }\n }\n\n @each $state, $variant in $button-outline-ghost-variants-dark {\n .btn-ghost-#{$state} {\n @include button-ghost-variant($variant);\n }\n }\n }\n}\n"; -const __vite_glob_0_7 = '// stylelint-disable selector-max-class\n\n.calendar {\n // scss-docs-start calendar-css-vars\n --#{$prefix}calendar-table-margin: #{$calendar-table-margin};\n --#{$prefix}calendar-table-cell-size: #{$calendar-table-cell-size};\n --#{$prefix}calendar-nav-padding: #{$calendar-nav-padding};\n --#{$prefix}calendar-nav-border-color: #{$calendar-nav-border-color};\n --#{$prefix}calendar-nav-border: #{$calendar-nav-border-width} solid var(--#{$prefix}calendar-nav-border-color);\n --#{$prefix}calendar-nav-date-color: #{$calendar-nav-date-color};\n --#{$prefix}calendar-nav-date-hover-color: #{$calendar-nav-date-hover-color};\n --#{$prefix}calendar-nav-icon-width: #{$calendar-nav-icon-width};\n --#{$prefix}calendar-nav-icon-height: #{$calendar-nav-icon-height};\n --#{$prefix}calendar-nav-icon-double-next: #{escape-svg($calendar-nav-icon-double-next)};\n --#{$prefix}calendar-nav-icon-double-prev: #{escape-svg($calendar-nav-icon-double-prev)};\n --#{$prefix}calendar-nav-icon-next: #{escape-svg($calendar-nav-icon-next)};\n --#{$prefix}calendar-nav-icon-prev: #{escape-svg($calendar-nav-icon-prev)};\n --#{$prefix}calendar-nav-icon-color: #{$calendar-nav-icon-color};\n --#{$prefix}calendar-nav-icon-hover-color: #{$calendar-nav-icon-hover-color};\n --#{$prefix}calendar-cell-header-inner-color: #{$calendar-cell-header-inner-color};\n --#{$prefix}calendar-cell-week-number-color: #{$calendar-cell-week-number-color};\n --#{$prefix}calendar-cell-hover-color: #{$calendar-cell-hover-color};\n --#{$prefix}calendar-cell-hover-bg: #{$calendar-cell-hover-bg};\n --#{$prefix}calendar-cell-focus-box-shadow: #{$calendar-cell-focus-box-shadow};\n --#{$prefix}calendar-cell-disabled-color: #{$calendar-cell-disabled-color};\n --#{$prefix}calendar-cell-selected-color: #{$calendar-cell-selected-color};\n --#{$prefix}calendar-cell-selected-bg: #{$calendar-cell-selected-bg};\n --#{$prefix}calendar-cell-range-bg: #{$calendar-cell-range-bg};\n --#{$prefix}calendar-cell-range-hover-bg: #{$calendar-cell-range-hover-bg};\n --#{$prefix}calendar-cell-range-hover-border-color: #{$calendar-cell-range-hover-border-color};\n --#{$prefix}calendar-cell-today-color: #{$calendar-cell-today-color};\n --#{$prefix}calendar-cell-week-number-color: #{$calendar-cell-week-number-color};\n // scss-docs-end calendar-css-vars\n\n font-weight: initial;\n\n table {\n width: calc(var(--#{$prefix}calendar-table-cell-size) * 7); // stylelint-disable-line function-disallowed-list\n margin: var(--#{$prefix}calendar-table-margin);\n\n th,\n td {\n width: var(--#{$prefix}calendar-table-cell-size);\n }\n }\n\n &.months ~ .time-picker,\n &.years ~ .time-picker {\n display: none;\n }\n}\n\n.show-week-numbers table {\n width: calc(var(--#{$prefix}calendar-table-cell-size) * 8); // stylelint-disable-line function-disallowed-list\n}\n\n.calendars {\n display: flex;\n}\n\n.calendar-nav {\n display: flex;\n align-items: baseline;\n padding: var(--#{$prefix}calendar-nav-padding);\n border-bottom: var(--#{$prefix}calendar-nav-border);\n}\n\n.calendar-nav-date {\n flex: 1;\n text-align: center;\n\n .btn {\n font-weight: 600;\n color: var(--#{$prefix}calendar-nav-date-color);\n\n &:hover {\n color: var(--#{$prefix}calendar-nav-date-hover-color);\n }\n }\n}\n\n.calendar-nav-icon {\n display: block;\n width: var(--#{$prefix}calendar-nav-icon-width);\n height: var(--#{$prefix}calendar-nav-icon-height);\n background-color: var(--#{$prefix}calendar-nav-icon-color);\n @include transition(background-image .15s ease-in-out);\n\n &:hover {\n background-color: var(--#{$prefix}calendar-nav-icon-hover-color);\n }\n}\n\n.calendar-nav-icon-double-next {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-double-next) no-repeat center, var(--#{$prefix}calendar-nav-icon-double-prev) no-repeat center);\n}\n\n.calendar-nav-icon-double-prev {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-double-prev) no-repeat center, var(--#{$prefix}calendar-nav-icon-double-next) no-repeat center);\n}\n\n.calendar-nav-icon-next {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-next) no-repeat center, var(--#{$prefix}calendar-nav-icon-prev) no-repeat center);\n}\n\n.calendar-nav-icon-prev {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-prev) no-repeat center, var(--#{$prefix}calendar-nav-icon-next) no-repeat center);\n}\n\n.calendar-header-cell-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--#{$prefix}calendar-table-cell-size);\n font-weight: 600;\n color: var(--#{$prefix}calendar-cell-header-inner-color);\n}\n\n.calendar-cell-week-number {\n font-weight: 600;\n color: var(--#{$prefix}calendar-cell-week-number-color);\n}\n\n.calendar-cell-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--#{$prefix}calendar-table-cell-size);\n}\n\n.calendar-row,\n.calendar-cell {\n text-align: center;\n\n &.disabled .calendar-cell-inner,\n &.next .calendar-cell-inner,\n &.previous .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-disabled-color);\n cursor: not-allowed;\n }\n\n &.range .calendar-cell-inner {\n position: relative;\n\n &::after {\n position: absolute;\n width: 100%;\n height: 100%;\n content: "";\n background: var(--#{$prefix}calendar-cell-range-bg);\n }\n }\n\n &.range-hover .calendar-cell-inner {\n position: relative;\n\n &::before {\n position: absolute;\n width: 100%;\n height: 100%;\n content: "";\n border-top: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n border-bottom: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-radius(0);\n }\n }\n\n &.selected:not(th, .next, .previous) .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-selected-color);\n background-color: var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &.today .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-today-color);\n }\n}\n\n.calendar-cell {\n padding: 1px 0;\n\n .calendars:not(.select-week) &:not(.disabled, .next, .previous):hover,\n .calendars:not(.select-week) &.clickable:hover {\n .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-hover-color);\n cursor: pointer;\n background-color: var(--#{$prefix}calendar-cell-hover-bg);\n @include border-radius($border-radius);\n }\n }\n\n .calendars:not(.select-week) &.range:not(.range ~ *) .calendar-cell-inner::after {\n @include border-start-radius($border-radius);\n }\n\n .calendars:not(.select-week) &.range:not(:has(~ .range)) .calendar-cell-inner::after {\n @include border-end-radius($border-radius);\n }\n\n &.range-hover:first-of-type,\n &:not(.range-hover) + &.range-hover {\n .calendar-cell-inner::before {\n border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-start-radius($border-radius);\n }\n }\n\n &.range-hover:not(:has(~ .range-hover)) .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-end-radius($border-radius);\n }\n\n // stylelint-disable-next-line at-rule-no-vendor-prefix\n @-moz-document url-prefix() {\n .calendars:not(.select-week) &:nth-last-child(1 of .range),\n .calendars:not(.select-week) &:nth-last-child(1 of .available) {\n .calendar-cell-inner::after {\n @include border-end-radius($border-radius);\n }\n }\n\n &:nth-last-child(1 of .range-hover) .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-end-radius($border-radius);\n }\n }\n\n &.selected:not(th) .calendar-cell-inner {\n @include border-radius($border-radius);\n }\n\n .calendars:not(.select-week) &:focus-visible {\n outline: 0;\n\n .calendar-cell-inner {\n box-shadow: var(--#{$prefix}calendar-cell-focus-box-shadow);\n @include border-radius($border-radius);\n }\n }\n}\n\n.calendar-row {\n .calendars.select-week &:not(.disabled):hover,\n .calendars.select-week &.clickable:hover {\n .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-hover-color);\n cursor: pointer;\n background-color: var(--#{$prefix}calendar-cell-hover-bg);\n }\n }\n\n .selected:not(th) .calendar-cell-inner {\n @include border-radius($border-radius);\n }\n\n .calendar-cell:first-of-type .calendar-cell-inner {\n @include border-start-radius($border-radius);\n &::before,\n &::after {\n @include border-start-radius($border-radius);\n }\n }\n\n .calendar-cell:last-of-type .calendar-cell-inner {\n @include border-end-radius($border-radius);\n &::before,\n &::after {\n @include border-end-radius($border-radius);\n }\n }\n\n &.range-hover .calendar-cell:first-of-type .calendar-cell-inner::before {\n border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &.range-hover .calendar-cell:last-of-type .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &:focus-visible {\n outline: 0;\n box-shadow: var(--#{$prefix}calendar-cell-focus-box-shadow);\n @include border-radius($border-radius);\n }\n}\n'; +const __vite_glob_0_7 = '// stylelint-disable selector-max-class\n\n.calendar {\n // scss-docs-start calendar-css-vars\n --#{$prefix}calendar-table-margin: #{$calendar-table-margin};\n --#{$prefix}calendar-table-cell-size: #{$calendar-table-cell-size};\n --#{$prefix}calendar-nav-padding: #{$calendar-nav-padding};\n --#{$prefix}calendar-nav-border-color: #{$calendar-nav-border-color};\n --#{$prefix}calendar-nav-border: #{$calendar-nav-border-width} solid var(--#{$prefix}calendar-nav-border-color);\n --#{$prefix}calendar-nav-date-color: #{$calendar-nav-date-color};\n --#{$prefix}calendar-nav-date-hover-color: #{$calendar-nav-date-hover-color};\n --#{$prefix}calendar-nav-icon-width: #{$calendar-nav-icon-width};\n --#{$prefix}calendar-nav-icon-height: #{$calendar-nav-icon-height};\n --#{$prefix}calendar-nav-icon-double-next: #{escape-svg($calendar-nav-icon-double-next)};\n --#{$prefix}calendar-nav-icon-double-prev: #{escape-svg($calendar-nav-icon-double-prev)};\n --#{$prefix}calendar-nav-icon-next: #{escape-svg($calendar-nav-icon-next)};\n --#{$prefix}calendar-nav-icon-prev: #{escape-svg($calendar-nav-icon-prev)};\n --#{$prefix}calendar-nav-icon-color: #{$calendar-nav-icon-color};\n --#{$prefix}calendar-nav-icon-hover-color: #{$calendar-nav-icon-hover-color};\n --#{$prefix}calendar-cell-header-inner-color: #{$calendar-cell-header-inner-color};\n --#{$prefix}calendar-cell-week-number-color: #{$calendar-cell-week-number-color};\n --#{$prefix}calendar-cell-hover-color: #{$calendar-cell-hover-color};\n --#{$prefix}calendar-cell-hover-bg: #{$calendar-cell-hover-bg};\n --#{$prefix}calendar-cell-focus-box-shadow: #{$calendar-cell-focus-box-shadow};\n --#{$prefix}calendar-cell-disabled-color: #{$calendar-cell-disabled-color};\n --#{$prefix}calendar-cell-selected-color: #{$calendar-cell-selected-color};\n --#{$prefix}calendar-cell-selected-bg: #{$calendar-cell-selected-bg};\n --#{$prefix}calendar-cell-range-bg: #{$calendar-cell-range-bg};\n --#{$prefix}calendar-cell-range-hover-bg: #{$calendar-cell-range-hover-bg};\n --#{$prefix}calendar-cell-range-hover-border-color: #{$calendar-cell-range-hover-border-color};\n --#{$prefix}calendar-cell-today-color: #{$calendar-cell-today-color};\n --#{$prefix}calendar-cell-week-number-color: #{$calendar-cell-week-number-color};\n // scss-docs-end calendar-css-vars\n\n font-weight: initial;\n\n table {\n width: calc(var(--#{$prefix}calendar-table-cell-size) * 7); // stylelint-disable-line function-disallowed-list\n margin: var(--#{$prefix}calendar-table-margin);\n\n th,\n td {\n width: var(--#{$prefix}calendar-table-cell-size);\n }\n }\n\n &.months ~ .time-picker,\n &.years ~ .time-picker {\n display: none;\n }\n\n @include media-breakpoint-down(sm) {\n &:not(:first-child) .calendar-nav {\n border-top: var(--#{$prefix}calendar-nav-border);\n }\n }\n}\n\n.show-week-numbers table {\n width: calc(var(--#{$prefix}calendar-table-cell-size) * 8); // stylelint-disable-line function-disallowed-list\n}\n\n.calendars {\n display: flex;\n flex-basis: min-content;\n\n @include media-breakpoint-down(sm) {\n flex-wrap: wrap;\n }\n}\n\n.calendar-nav {\n display: flex;\n align-items: baseline;\n padding: var(--#{$prefix}calendar-nav-padding);\n border-bottom: var(--#{$prefix}calendar-nav-border);\n}\n\n.calendar-nav-date {\n flex: 1;\n text-align: center;\n\n .btn {\n font-weight: 600;\n color: var(--#{$prefix}calendar-nav-date-color);\n\n &:hover {\n color: var(--#{$prefix}calendar-nav-date-hover-color);\n }\n }\n}\n\n.calendar-nav-icon {\n display: block;\n width: var(--#{$prefix}calendar-nav-icon-width);\n height: var(--#{$prefix}calendar-nav-icon-height);\n background-color: var(--#{$prefix}calendar-nav-icon-color);\n @include transition(background-image .15s ease-in-out);\n\n &:hover {\n background-color: var(--#{$prefix}calendar-nav-icon-hover-color);\n }\n}\n\n.calendar-nav-icon-double-next {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-double-next) no-repeat center, var(--#{$prefix}calendar-nav-icon-double-prev) no-repeat center);\n}\n\n.calendar-nav-icon-double-prev {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-double-prev) no-repeat center, var(--#{$prefix}calendar-nav-icon-double-next) no-repeat center);\n}\n\n.calendar-nav-icon-next {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-next) no-repeat center, var(--#{$prefix}calendar-nav-icon-prev) no-repeat center);\n}\n\n.calendar-nav-icon-prev {\n @include ltr-rtl-value-only("mask", var(--#{$prefix}calendar-nav-icon-prev) no-repeat center, var(--#{$prefix}calendar-nav-icon-next) no-repeat center);\n}\n\n.calendar-header-cell-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--#{$prefix}calendar-table-cell-size);\n font-weight: 600;\n color: var(--#{$prefix}calendar-cell-header-inner-color);\n}\n\n.calendar-cell-week-number {\n font-weight: 600;\n color: var(--#{$prefix}calendar-cell-week-number-color);\n}\n\n.calendar-cell-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n height: var(--#{$prefix}calendar-table-cell-size);\n}\n\n.calendar-row,\n.calendar-cell {\n text-align: center;\n\n &.disabled .calendar-cell-inner,\n &.next .calendar-cell-inner,\n &.previous .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-disabled-color);\n cursor: not-allowed;\n }\n\n &.range .calendar-cell-inner {\n position: relative;\n\n &::after {\n position: absolute;\n width: 100%;\n height: 100%;\n content: "";\n background: var(--#{$prefix}calendar-cell-range-bg);\n }\n }\n\n &.range-hover .calendar-cell-inner {\n position: relative;\n\n &::before {\n position: absolute;\n width: 100%;\n height: 100%;\n content: "";\n border-top: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n border-bottom: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-radius(0);\n }\n }\n\n &.selected:not(th, .next, .previous) .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-selected-color);\n background-color: var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &.today .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-today-color);\n }\n}\n\n.calendar-cell {\n padding: 1px 0;\n\n .calendars:not(.select-week) &:not(.disabled, .next, .previous):hover,\n .calendars:not(.select-week) &.clickable:hover {\n .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-hover-color);\n cursor: pointer;\n background-color: var(--#{$prefix}calendar-cell-hover-bg);\n @include border-radius($border-radius);\n }\n }\n\n .calendars:not(.select-week) &.range:not(.range ~ *) .calendar-cell-inner::after {\n @include border-start-radius($border-radius);\n }\n\n .calendars:not(.select-week) &.range:not(:has(~ .range)) .calendar-cell-inner::after {\n @include border-end-radius($border-radius);\n }\n\n &.range-hover:first-of-type,\n &:not(.range-hover) + &.range-hover {\n .calendar-cell-inner::before {\n border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-start-radius($border-radius);\n }\n }\n\n &.range-hover:not(:has(~ .range-hover)) .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-end-radius($border-radius);\n }\n\n // stylelint-disable-next-line at-rule-no-vendor-prefix\n @-moz-document url-prefix() {\n .calendars:not(.select-week) &:nth-last-child(1 of .range),\n .calendars:not(.select-week) &:nth-last-child(1 of .available) {\n .calendar-cell-inner::after {\n @include border-end-radius($border-radius);\n }\n }\n\n &:nth-last-child(1 of .range-hover) .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n @include border-end-radius($border-radius);\n }\n }\n\n &.selected:not(th) .calendar-cell-inner {\n @include border-radius($border-radius);\n }\n\n .calendars:not(.select-week) &:focus-visible {\n outline: 0;\n\n .calendar-cell-inner {\n box-shadow: var(--#{$prefix}calendar-cell-focus-box-shadow);\n @include border-radius($border-radius);\n }\n }\n}\n\n.calendar-row {\n .calendars.select-week &:not(.disabled):hover,\n .calendars.select-week &.clickable:hover {\n .calendar-cell-inner {\n color: var(--#{$prefix}calendar-cell-hover-color);\n cursor: pointer;\n background-color: var(--#{$prefix}calendar-cell-hover-bg);\n }\n }\n\n .selected:not(th) .calendar-cell-inner {\n @include border-radius($border-radius);\n }\n\n .calendar-cell:first-of-type .calendar-cell-inner {\n @include border-start-radius($border-radius);\n &::before,\n &::after {\n @include border-start-radius($border-radius);\n }\n }\n\n .calendar-cell:last-of-type .calendar-cell-inner {\n @include border-end-radius($border-radius);\n &::before,\n &::after {\n @include border-end-radius($border-radius);\n }\n }\n\n &.range-hover .calendar-cell:first-of-type .calendar-cell-inner::before {\n border-left: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &.range-hover .calendar-cell:last-of-type .calendar-cell-inner::before {\n border-right: 1px dashed var(--#{$prefix}calendar-cell-selected-bg);\n }\n\n &:focus-visible {\n outline: 0;\n box-shadow: var(--#{$prefix}calendar-cell-focus-box-shadow);\n @include border-radius($border-radius);\n }\n}\n'; const __vite_glob_0_8 = '.callout {\n // scss-docs-start callout-css-vars\n --#{$prefix}callout-padding-x: #{$callout-padding-x};\n --#{$prefix}callout-padding-y: #{$callout-padding-y};\n --#{$prefix}callout-margin-x: #{$callout-margin-x};\n --#{$prefix}callout-margin-y: #{$callout-margin-y};\n --#{$prefix}callout-border-width: #{$callout-border-width};\n --#{$prefix}callout-border-color: #{$callout-border-color};\n --#{$prefix}callout-border-left-width: #{$callout-border-left-width};\n --#{$prefix}callout-border-radius: #{$callout-border-radius};\n // scss-docs-end callout-css-vars\n\n padding: var(--#{$prefix}callout-padding-y) var(--#{$prefix}callout-padding-x);\n margin: var(--#{$prefix}callout-margin-y) var(--#{$prefix}callout-margin-x);\n border: var(--#{$prefix}callout-border-width) solid var(--#{$prefix}callout-border-color);\n @include ltr-rtl("border-left-width", var(--#{$prefix}callout-border-left-width));\n @include ltr-rtl("border-left-color", var(--#{$prefix}callout-border-left-color));\n @include border-radius(var(--#{$prefix}callout-border-radius));\n}\n\n// scss-docs-start callout-modifiers\n// Generate contextual modifier classes for colorizing the collor.\n@each $state, $value in $callout-variants {\n .callout-#{$state} {\n --#{$prefix}callout-border-left-color: #{$value};\n }\n}\n// scss-docs-end callout-modifiers\n'; const __vite_glob_0_9 = '//\n// Base styles\n//\n\n.card {\n // scss-docs-start card-css-vars\n --#{$prefix}card-spacer-y: #{$card-spacer-y};\n --#{$prefix}card-spacer-x: #{$card-spacer-x};\n --#{$prefix}card-title-spacer-y: #{$card-title-spacer-y};\n --#{$prefix}card-title-color: #{$card-title-color};\n --#{$prefix}card-subtitle-color: #{$card-subtitle-color};\n --#{$prefix}card-border-width: #{$card-border-width};\n --#{$prefix}card-border-color: #{$card-border-color};\n --#{$prefix}card-border-radius: #{$card-border-radius};\n --#{$prefix}card-box-shadow: #{$card-box-shadow};\n --#{$prefix}card-inner-border-radius: #{$card-inner-border-radius};\n --#{$prefix}card-cap-padding-y: #{$card-cap-padding-y};\n --#{$prefix}card-cap-padding-x: #{$card-cap-padding-x};\n --#{$prefix}card-cap-bg: #{$card-cap-bg};\n --#{$prefix}card-cap-color: #{$card-cap-color};\n --#{$prefix}card-height: #{$card-height};\n --#{$prefix}card-color: #{$card-color};\n --#{$prefix}card-bg: #{$card-bg};\n --#{$prefix}card-img-overlay-padding: #{$card-img-overlay-padding};\n --#{$prefix}card-group-margin: #{$card-group-margin};\n // scss-docs-end card-css-vars\n\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106\n height: var(--#{$prefix}card-height);\n color: var(--#{$prefix}body-color);\n word-wrap: break-word;\n background-color: var(--#{$prefix}card-bg);\n background-clip: border-box;\n border: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n @include border-radius(var(--#{$prefix}card-border-radius));\n @include box-shadow(var(--#{$prefix}card-box-shadow));\n @include elevation(1);\n\n > hr {\n margin-right: 0;\n margin-left: 0;\n }\n\n > .list-group {\n border-top: inherit;\n border-bottom: inherit;\n\n &:first-child {\n border-top-width: 0;\n @include border-top-radius(var(--#{$prefix}card-inner-border-radius));\n }\n\n &:last-child {\n border-bottom-width: 0;\n @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));\n }\n }\n\n // Due to specificity of the above selector (`.card > .list-group`), we must\n // use a child selector here to prevent double borders.\n > .card-header + .list-group,\n > .list-group + .card-footer {\n border-top: 0;\n }\n}\n\n.card-body {\n // Enable `flex-grow: 1` for decks and groups so that card blocks take up\n // as much space as possible, ensuring footers are aligned to the bottom.\n flex: 1 1 auto;\n padding: var(--#{$prefix}card-spacer-y) var(--#{$prefix}card-spacer-x);\n color: var(--#{$prefix}card-color);\n}\n\n.card-title {\n margin-bottom: var(--#{$prefix}card-title-spacer-y);\n color: var(--#{$prefix}card-title-color);\n}\n\n.card-subtitle {\n margin-top: calc(-.5 * var(--#{$prefix}card-title-spacer-y)); // stylelint-disable-line function-disallowed-list\n margin-bottom: 0;\n color: var(--#{$prefix}card-subtitle-color);\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link {\n &:hover {\n text-decoration: if($link-hover-decoration == underline, none, null);\n }\n\n + .card-link {\n @include ltr-rtl("margin-left", var(--#{$prefix}card-spacer-x));\n }\n}\n\n//\n// Optional textual caps\n//\n\n.card-header {\n padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);\n margin-bottom: 0; // Removes the default margin-bottom of \n color: var(--#{$prefix}card-cap-color);\n background-color: var(--#{$prefix}card-cap-bg);\n border-bottom: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n\n &:first-child {\n @include border-radius(var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius) 0 0);\n }\n}\n\n.card-footer {\n padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);\n color: var(--#{$prefix}card-cap-color);\n background-color: var(--#{$prefix}card-cap-bg);\n border-top: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);\n\n &:last-child {\n @include border-radius(0 0 var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius));\n }\n}\n\n\n//\n// Header navs\n//\n\n.card-header-tabs {\n margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n margin-bottom: calc(-1 * var(--#{$prefix}card-cap-padding-y)); // stylelint-disable-line function-disallowed-list\n margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n border-bottom: 0;\n\n .nav-link.active {\n background-color: var(--#{$prefix}card-bg);\n border-bottom-color: var(--#{$prefix}card-bg);\n }\n}\n\n.card-header-pills {\n margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list\n}\n\n// Card image\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--#{$prefix}card-img-overlay-padding);\n @include border-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n.card-img,\n.card-img-top,\n.card-img-bottom {\n width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch\n}\n\n.card-img,\n.card-img-top {\n @include border-top-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n.card-img,\n.card-img-bottom {\n @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));\n}\n\n\n//\n// Card groups\n//\n\n.card-group {\n // The child selector allows nested `.card` within `.card-group`\n // to display properly.\n > .card {\n margin-bottom: var(--#{$prefix}card-group-margin);\n }\n\n @include media-breakpoint-up(sm) {\n display: flex;\n flex-flow: row wrap;\n // The child selector allows nested `.card` within `.card-group`\n // to display properly.\n > .card {\n // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4\n flex: 1 0 0%;\n margin-bottom: 0;\n\n + .card {\n @include ltr-rtl("margin-left", 0);\n @include ltr-rtl("border-left", 0);\n }\n\n // Handle rounded corners\n @if $enable-rounded {\n &:not(:last-child) {\n @include border-end-radius(0);\n\n .card-img-top,\n .card-header {\n // stylelint-disable-next-line property-disallowed-list\n border-top-right-radius: 0;\n }\n .card-img-bottom,\n .card-footer {\n // stylelint-disable-next-line property-disallowed-list\n border-bottom-right-radius: 0;\n }\n }\n\n &:not(:first-child) {\n @include border-start-radius(0);\n\n .card-img-top,\n .card-header {\n // stylelint-disable-next-line property-disallowed-list\n border-top-left-radius: 0;\n }\n .card-img-bottom,\n .card-footer {\n // stylelint-disable-next-line property-disallowed-list\n border-bottom-left-radius: 0;\n }\n }\n }\n }\n }\n}\n'; const __vite_glob_0_10 = `// Notes on the classes: @@ -507,7 +507,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003 @return if($l1 > $l2, divide($l1 + .05, $l2 + .05), divide($l2 + .05, $l1 + .05)); } -// Return WCAG2.1 relative luminance +// Return WCAG2.2 relative luminance // See https://www.w3.org/TR/WCAG/#dfn-relative-luminance // See https://www.w3.org/TR/WCAG/#dfn-contrast-ratio @function luminance($color) { @@ -914,7 +914,7 @@ const __vite_glob_0_37 = ':root,\n[data-coreui-theme="light"] {\n // Note: Cust const __vite_glob_0_38 = '@import "sidebar/sidebar";\n@import "sidebar/sidebar-nav";\n@import "sidebar/sidebar-narrow";\n'; const __vite_glob_0_39 = '//\n// Rotating border\n//\n\n.spinner-grow,\n.spinner-border {\n display: inline-block;\n width: var(--#{$prefix}spinner-width);\n height: var(--#{$prefix}spinner-height);\n vertical-align: var(--#{$prefix}spinner-vertical-align);\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 50%;\n animation: var(--#{$prefix}spinner-animation-speed) linear infinite var(--#{$prefix}spinner-animation-name);\n}\n\n// scss-docs-start spinner-border-keyframes\n@keyframes spinner-border {\n to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }\n}\n// scss-docs-end spinner-border-keyframes\n\n.spinner-border {\n // scss-docs-start spinner-border-css-vars\n --#{$prefix}spinner-width: #{$spinner-width};\n --#{$prefix}spinner-height: #{$spinner-height};\n --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};\n --#{$prefix}spinner-border-width: #{$spinner-border-width};\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};\n --#{$prefix}spinner-animation-name: spinner-border;\n // scss-docs-end spinner-border-css-vars\n\n border: var(--#{$prefix}spinner-border-width) solid currentcolor;\n border-right-color: transparent;\n}\n\n.spinner-border-sm {\n // scss-docs-start spinner-border-sm-css-vars\n --#{$prefix}spinner-width: #{$spinner-width-sm};\n --#{$prefix}spinner-height: #{$spinner-height-sm};\n --#{$prefix}spinner-border-width: #{$spinner-border-width-sm};\n // scss-docs-end spinner-border-sm-css-vars\n}\n\n//\n// Growing circle\n//\n\n// scss-docs-start spinner-grow-keyframes\n@keyframes spinner-grow {\n 0% {\n transform: scale(0);\n }\n 50% {\n opacity: 1;\n transform: none;\n }\n}\n// scss-docs-end spinner-grow-keyframes\n\n.spinner-grow {\n // scss-docs-start spinner-grow-css-vars\n --#{$prefix}spinner-width: #{$spinner-width};\n --#{$prefix}spinner-height: #{$spinner-height};\n --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};\n --#{$prefix}spinner-animation-name: spinner-grow;\n // scss-docs-end spinner-grow-css-vars\n\n background-color: currentcolor;\n opacity: 0;\n}\n\n.spinner-grow-sm {\n --#{$prefix}spinner-width: #{$spinner-width-sm};\n --#{$prefix}spinner-height: #{$spinner-height-sm};\n}\n\n@if $enable-reduced-motion {\n @media (prefers-reduced-motion: reduce) {\n .spinner-border,\n .spinner-grow {\n --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed * 2};\n }\n }\n}\n'; const __vite_glob_0_40 = "//\n// Basic Bootstrap table\n//\n\n.table {\n // Reset needed for nesting tables\n --#{$prefix}table-color-type: initial;\n --#{$prefix}table-bg-type: initial;\n --#{$prefix}table-color-state: initial;\n --#{$prefix}table-bg-state: initial;\n // End of reset\n --#{$prefix}table-color: #{$table-color};\n --#{$prefix}table-bg: #{$table-bg};\n --#{$prefix}table-border-color: #{$table-border-color};\n --#{$prefix}table-accent-bg: #{$table-accent-bg};\n --#{$prefix}table-striped-color: #{$table-striped-color};\n --#{$prefix}table-striped-bg: #{$table-striped-bg};\n --#{$prefix}table-active-color: #{$table-active-color};\n --#{$prefix}table-active-bg: #{$table-active-bg};\n --#{$prefix}table-hover-color: #{$table-hover-color};\n --#{$prefix}table-hover-bg: #{$table-hover-bg};\n\n width: 100%;\n margin-bottom: $spacer;\n vertical-align: $table-cell-vertical-align;\n border-color: var(--#{$prefix}table-border-color);\n\n // Target th & td\n // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.\n // We use the universal selectors here to simplify the selector (else we would need 6 different selectors).\n // Another advantage is that this generates less code and makes the selector less specific making it easier to override.\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n padding: $table-cell-padding-y $table-cell-padding-x;\n // Following the precept of cascades: https://codepen.io/miriamsuzanne/full/vYNgodb\n color: var(--#{$prefix}table-color-state, var(--#{$prefix}table-color-type, var(--#{$prefix}table-color)));\n background-color: var(--#{$prefix}table-bg);\n border-bottom-width: $table-border-width;\n box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-bg-state, var(--#{$prefix}table-bg-type, var(--#{$prefix}table-accent-bg)));\n }\n\n > tbody {\n vertical-align: inherit;\n }\n\n > thead {\n vertical-align: bottom;\n }\n}\n\n.table-group-divider {\n border-top: calc(#{$table-border-width} * 2) solid $table-group-separator-color; // stylelint-disable-line function-disallowed-list\n}\n\n//\n// Change placement of captions with a class\n//\n\n.caption-top {\n caption-side: top;\n}\n\n\n//\n// Condensed table w/ half padding\n//\n\n.table-sm {\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n padding: $table-cell-padding-y-sm $table-cell-padding-x-sm;\n }\n}\n\n\n// Border versions\n//\n// Add or remove borders all around the table and between all the columns.\n//\n// When borders are added on all sides of the cells, the corners can render odd when\n// these borders do not have the same color or if they are semi-transparent.\n// Therefore we add top and border bottoms to the `tr`s and left and right borders\n// to the `td`s or `th`s\n\n.table-bordered {\n > :not(caption) > * {\n border-width: $table-border-width 0;\n\n // stylelint-disable-next-line selector-max-universal\n > * {\n border-width: 0 $table-border-width;\n }\n }\n}\n\n.table-borderless {\n // stylelint-disable-next-line selector-max-universal\n > :not(caption) > * > * {\n border-bottom-width: 0;\n }\n\n > :not(:first-child) {\n border-top-width: 0;\n }\n}\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n// For rows\n.table-striped {\n > tbody > tr:nth-of-type(#{$table-striped-order}) > * {\n --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);\n --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);\n }\n}\n\n// For columns\n.table-striped-columns {\n > :not(caption) > tr > :nth-child(#{$table-striped-columns-order}) {\n --#{$prefix}table-color-type: var(--#{$prefix}table-striped-color);\n --#{$prefix}table-bg-type: var(--#{$prefix}table-striped-bg);\n }\n}\n\n// Active table\n//\n// The `.table-active` class can be added to highlight rows or cells\n\n.table-active {\n --#{$prefix}table-color-state: var(--#{$prefix}table-active-color);\n --#{$prefix}table-bg-state: var(--#{$prefix}table-active-bg);\n}\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover > * {\n --#{$prefix}table-color-state: var(--#{$prefix}table-hover-color);\n --#{$prefix}table-bg-state: var(--#{$prefix}table-hover-bg);\n }\n}\n\n\n// Table variants\n//\n// Table variants set the table cell backgrounds, border colors\n// and the colors of the striped, hovered & active tables\n\n@each $color, $value in $table-variants {\n @include table-variant($color, $value);\n}\n\n// Responsive tables\n//\n// Generate series of `.table-responsive-*` classes for configuring the screen\n// size of where your table will overflow.\n\n@each $breakpoint in map-keys($grid-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n @include media-breakpoint-down($breakpoint) {\n .table-responsive#{$infix} {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n }\n}\n"; -const __vite_glob_0_41 = '.time-picker {\n // scss-docs-start time-picker-css-vars\n --#{$prefix}time-picker-zindex: #{$time-picker-zindex};\n --#{$prefix}time-picker-font-family: #{$time-picker-font-family};\n --#{$prefix}time-picker-font-size: #{$time-picker-font-size};\n --#{$prefix}time-picker-font-weight: #{$time-picker-font-weight};\n --#{$prefix}time-picker-line-height: #{$time-picker-line-height};\n --#{$prefix}time-picker-color: #{$time-picker-color};\n --#{$prefix}time-picker-bg: #{$time-picker-bg};\n --#{$prefix}time-picker-box-shadow: #{$time-picker-box-shadow};\n --#{$prefix}time-picker-border-width: #{$time-picker-border-width};\n --#{$prefix}time-picker-border-color: #{$time-picker-border-color};\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius};\n --#{$prefix}time-picker-disabled-color: #{$time-picker-disabled-color};\n --#{$prefix}time-picker-disabled-bg: #{$time-picker-disabled-bg};\n --#{$prefix}time-picker-disabled-border-color: #{$time-picker-disabled-border-color};\n --#{$prefix}time-picker-focus-color: #{$time-picker-focus-color};\n --#{$prefix}time-picker-focus-bg: #{$time-picker-focus-bg};\n --#{$prefix}time-picker-focus-border-color: #{$time-picker-focus-border-color};\n --#{$prefix}time-picker-focus-box-shadow: #{$time-picker-focus-box-shadow};\n --#{$prefix}time-picker-placeholder-color: #{$time-picker-placeholder-color};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x};\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-icon)};\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-icon-color};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size};\n --#{$prefix}time-picker-cleaner-icon: #{escape-svg($time-picker-cleaner-icon)};\n --#{$prefix}time-picker-cleaner-icon-color: #{$time-picker-cleaner-icon-color};\n --#{$prefix}time-picker-cleaner-icon-hover-color: #{$time-picker-cleaner-icon-hover-color};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size};\n --#{$prefix}time-picker-body-padding: #{$time-picker-body-padding};\n --#{$prefix}time-picker-footer-border-width: #{$time-picker-footer-border-width};\n --#{$prefix}time-picker-footer-border-color: #{$time-picker-footer-border-color};\n --#{$prefix}time-picker-footer-padding: #{$time-picker-footer-padding};\n --#{$prefix}time-picker-dropdown-bg: #{$time-picker-dropdown-bg};\n --#{$prefix}time-picker-dropdown-border-width: #{$time-picker-dropdown-border-width};\n --#{$prefix}time-picker-dropdown-border-color: #{$time-picker-dropdown-border-color};\n --#{$prefix}time-picker-dropdown-border-radius: #{$time-picker-dropdown-border-radius};\n --#{$prefix}time-picker-dropdown-box-shadow: #{$time-picker-dropdown-box-shadow};\n --#{$prefix}time-picker-roll-col-border-width: #{$time-picker-roll-col-border-width};\n --#{$prefix}time-picker-roll-col-border-color: #{$time-picker-roll-col-border-color};\n --#{$prefix}time-picker-roll-cell-selected-color: #{$time-picker-roll-cell-selected-color};\n --#{$prefix}time-picker-roll-cell-selected-bg: #{$time-picker-roll-cell-selected-bg};\n --#{$prefix}time-picker-inline-select-font-size: #{$time-picker-inline-select-font-size};\n --#{$prefix}time-picker-inline-select-color: #{$time-picker-inline-select-color};\n --#{$prefix}time-picker-inline-select-padding-y: #{$time-picker-inline-select-padding-y};\n --#{$prefix}time-picker-inline-select-padding-x: #{$time-picker-inline-select-padding-x};\n --#{$prefix}time-picker-inline-select-disabled-color: #{$time-picker-inline-select-disabled-color};\n // scss-docs-end time-picker-css-vars\n\n &.is-invalid {\n --#{$prefix}time-picker-border-color: #{$time-picker-invalid-border-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-invalid-icon-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-invalid-icon)} !important; // stylelint-disable-line declaration-no-important\n }\n\n &.is-valid {\n --#{$prefix}time-picker-border-color: #{$time-picker-valid-border-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-valid-icon-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-valid-icon)} !important; // stylelint-disable-line declaration-no-important\n }\n}\n\n.time-picker-input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n background-color: var(--#{$prefix}time-picker-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}time-picker-border-width) solid var(--#{$prefix}time-picker-border-color);\n @include border-radius(var(--#{$prefix}time-picker-border-radius));\n\n &:hover {\n .time-picker-input:not(:placeholder-shown) {\n ~ .time-picker-indicator:not(:last-child) {\n display: none;\n }\n ~ .time-picker-cleaner {\n display: flex;\n }\n }\n }\n\n .time-picker & {\n @include transition($input-transition);\n }\n\n .time-picker.disabled & {\n background-color: var(--#{$prefix}time-picker-disabled-bg);\n border-color: var(--#{$prefix}time-picker-disabled-border-color);\n }\n\n .time-picker.show & {\n background-color: var(--#{$prefix}time-picker-focus-bg);\n border-color: var(--#{$prefix}time-picker-focus-border-color);\n outline: 0;\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}time-picker-box-shadow), var(--#{$prefix}time-picker-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}time-picker-focus-box-shadow);\n }\n }\n}\n\n.time-picker-input {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n min-width: 0;\n padding: var(--#{$prefix}time-picker-padding-y) var(--#{$prefix}time-picker-padding-x);\n font-family: var(--#{$prefix}time-picker-font-family);\n @include font-size(var(--#{$prefix}time-picker-font-size));\n font-weight: var(--#{$prefix}time-picker-font-weight);\n line-height: var(--#{$prefix}time-picker-line-height);\n color: var(--#{$prefix}time-picker-color);\n appearance: none;\n background: transparent;\n border: 0;\n\n .time-picker.show & {\n color: var(--#{$prefix}time-picker-focus-color);\n }\n\n &:disabled {\n color: var(--#{$prefix}time-picker-disabled-color);\n }\n\n &:focus {\n z-index: 5;\n outline: 0;\n }\n\n &::placeholder {\n color: var(--#{$prefix}time-picker-placeholder-color);\n opacity: 1;\n }\n\n &.hover {\n color: var(--#{$prefix}time-picker-placeholder-color);\n }\n}\n\n.time-picker-cleaner,\n.time-picker-indicator {\n position: relative;\n width: 2.5rem;\n background-repeat: no-repeat;\n background-position: center;\n\n &::before {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: "";\n }\n}\n\n.time-picker-cleaner {\n display: none;\n\n &::before {\n background-color: var(--#{$prefix}time-picker-cleaner-icon-color);\n mask: var(--#{$prefix}time-picker-cleaner-icon) center / var(--#{$prefix}time-picker-cleaner-icon-size) no-repeat;\n }\n\n &:hover::before {\n background-color: var(--#{$prefix}time-picker-cleaner-icon-hover-color);\n }\n}\n\n.time-picker-indicator {\n background-color: var(--#{$prefix}time-picker-indicator-icon-color);\n mask: var(--#{$prefix}time-picker-indicator-icon) center / var(--#{$prefix}time-picker-indicator-icon-size) no-repeat;\n}\n\n.time-picker-dropdown {\n position: absolute;\n z-index: var(--#{$prefix}time-picker-zindex);\n display: none;\n width: min-content;\n background-color: var(--#{$prefix}time-picker-dropdown-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}time-picker-dropdown-border-width) solid var(--#{$prefix}time-picker-dropdown-border-color);\n @include border-radius(var(--#{$prefix}time-picker-dropdown-border-radius));\n @include box-shadow(var(--#{$prefix}time-picker-dropdown-box-shadow));\n @include elevation(4);\n\n .time-picker.show & {\n display: block;\n }\n}\n\n.time-picker-body {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}time-picker-body-padding);\n}\n\n.time-picker-inline-icon {\n display: block;\n width: 2.5rem;\n height: 1.25rem;\n background-color: var(--#{$prefix}time-picker-indicator-icon-color);\n mask: var(--#{$prefix}time-picker-indicator-icon) center / var(--#{$prefix}time-picker-indicator-icon-size) no-repeat;\n}\n\n.time-picker-inline-select {\n padding: var(--#{$prefix}time-picker-inline-select-padding-y) var(--#{$prefix}time-picker-inline-select-padding-x);\n color: var(--#{$prefix}time-picker-inline-select-color);\n text-align: right;\n appearance: none;\n background-color: transparent;\n border: 0;\n @include font-size(var(--#{$prefix}time-picker-inline-select-font-size));\n\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none; /* Firefox */\n\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n // Remove outline from select box in FF\n &:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 var(--#{$prefix}time-picker-inline-select-color);\n }\n\n &:disabled {\n color: var(--#{$prefix}time-picker-inline-select-disabled-color);\n }\n}\n\n.time-picker-footer {\n display: flex;\n justify-content: flex-end;\n padding: var(--#{$prefix}time-picker-footer-padding);\n border-top: var(--#{$prefix}time-picker-footer-border-width) solid var(--#{$prefix}time-picker-footer-border-color);\n\n .btn + .btn {\n margin-inline-start: .5rem;\n }\n}\n\n.time-picker-roll {\n padding: 0;\n overflow: hidden;\n @include border-radius(inherit);\n}\n\n.time-picker-roll-col {\n height: calc(8 * 32px); // stylelint-disable-line\n overflow: scroll;\n\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none; /* Firefox */\n\n &::-webkit-scrollbar {\n display: none; /* Safari and Chrome */\n }\n\n &:not(:last-child) {\n border-right: var(--#{$prefix}time-picker-roll-col-border-width) solid var(--#{$prefix}time-picker-roll-col-border-color);\n }\n}\n\n.time-picker-roll-cell {\n width: 50px;\n height: 32px;\n padding: 0 $spacer 0 $spacer * .5;\n line-height: 32px;\n\n &.selected {\n color: var(--#{$prefix}time-picker-roll-cell-selected-color);\n background: var(--#{$prefix}time-picker-roll-cell-selected-bg);\n }\n\n &:last-child::after {\n display: block;\n height: calc(7 * 32px); // stylelint-disable-line\n content: "";\n }\n}\n\n.time-picker-sm {\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius-sm};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y-sm};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x-sm};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size-sm};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size-sm};\n}\n\n.time-picker-lg {\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius-lg};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y-lg};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x-lg};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size-lg};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size-lg};\n}\n'; +const __vite_glob_0_41 = '.time-picker {\n // scss-docs-start time-picker-css-vars\n --#{$prefix}time-picker-zindex: #{$time-picker-zindex};\n --#{$prefix}time-picker-font-family: #{$time-picker-font-family};\n --#{$prefix}time-picker-font-size: #{$time-picker-font-size};\n --#{$prefix}time-picker-font-weight: #{$time-picker-font-weight};\n --#{$prefix}time-picker-line-height: #{$time-picker-line-height};\n --#{$prefix}time-picker-color: #{$time-picker-color};\n --#{$prefix}time-picker-bg: #{$time-picker-bg};\n --#{$prefix}time-picker-box-shadow: #{$time-picker-box-shadow};\n --#{$prefix}time-picker-border-width: #{$time-picker-border-width};\n --#{$prefix}time-picker-border-color: #{$time-picker-border-color};\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius};\n --#{$prefix}time-picker-disabled-color: #{$time-picker-disabled-color};\n --#{$prefix}time-picker-disabled-bg: #{$time-picker-disabled-bg};\n --#{$prefix}time-picker-disabled-border-color: #{$time-picker-disabled-border-color};\n --#{$prefix}time-picker-focus-color: #{$time-picker-focus-color};\n --#{$prefix}time-picker-focus-bg: #{$time-picker-focus-bg};\n --#{$prefix}time-picker-focus-border-color: #{$time-picker-focus-border-color};\n --#{$prefix}time-picker-focus-box-shadow: #{$time-picker-focus-box-shadow};\n --#{$prefix}time-picker-placeholder-color: #{$time-picker-placeholder-color};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x};\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-icon)};\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-icon-color};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size};\n --#{$prefix}time-picker-cleaner-icon: #{escape-svg($time-picker-cleaner-icon)};\n --#{$prefix}time-picker-cleaner-icon-color: #{$time-picker-cleaner-icon-color};\n --#{$prefix}time-picker-cleaner-icon-hover-color: #{$time-picker-cleaner-icon-hover-color};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size};\n --#{$prefix}time-picker-body-padding: #{$time-picker-body-padding};\n --#{$prefix}time-picker-footer-border-width: #{$time-picker-footer-border-width};\n --#{$prefix}time-picker-footer-border-color: #{$time-picker-footer-border-color};\n --#{$prefix}time-picker-footer-padding: #{$time-picker-footer-padding};\n --#{$prefix}time-picker-dropdown-bg: #{$time-picker-dropdown-bg};\n --#{$prefix}time-picker-dropdown-border-width: #{$time-picker-dropdown-border-width};\n --#{$prefix}time-picker-dropdown-border-color: #{$time-picker-dropdown-border-color};\n --#{$prefix}time-picker-dropdown-border-radius: #{$time-picker-dropdown-border-radius};\n --#{$prefix}time-picker-dropdown-box-shadow: #{$time-picker-dropdown-box-shadow};\n --#{$prefix}time-picker-roll-col-border-width: #{$time-picker-roll-col-border-width};\n --#{$prefix}time-picker-roll-col-border-color: #{$time-picker-roll-col-border-color};\n --#{$prefix}time-picker-roll-cell-selected-color: #{$time-picker-roll-cell-selected-color};\n --#{$prefix}time-picker-roll-cell-selected-bg: #{$time-picker-roll-cell-selected-bg};\n --#{$prefix}time-picker-inline-select-font-size: #{$time-picker-inline-select-font-size};\n --#{$prefix}time-picker-inline-select-color: #{$time-picker-inline-select-color};\n --#{$prefix}time-picker-inline-select-padding-y: #{$time-picker-inline-select-padding-y};\n --#{$prefix}time-picker-inline-select-padding-x: #{$time-picker-inline-select-padding-x};\n --#{$prefix}time-picker-inline-select-disabled-color: #{$time-picker-inline-select-disabled-color};\n // scss-docs-end time-picker-css-vars\n\n &.is-invalid {\n --#{$prefix}time-picker-border-color: #{$time-picker-invalid-border-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-invalid-icon-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-invalid-icon)} !important; // stylelint-disable-line declaration-no-important\n }\n\n &.is-valid {\n --#{$prefix}time-picker-border-color: #{$time-picker-valid-border-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon-color: #{$time-picker-indicator-valid-icon-color} !important; // stylelint-disable-line declaration-no-important\n --#{$prefix}time-picker-indicator-icon: #{escape-svg($time-picker-indicator-valid-icon)} !important; // stylelint-disable-line declaration-no-important\n }\n}\n\n.time-picker-input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n background-color: var(--#{$prefix}time-picker-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}time-picker-border-width) solid var(--#{$prefix}time-picker-border-color);\n @include border-radius(var(--#{$prefix}time-picker-border-radius));\n\n &:hover {\n .time-picker-input:not(:placeholder-shown) {\n ~ .time-picker-indicator:not(:last-child) {\n display: none;\n }\n ~ .time-picker-cleaner {\n display: flex;\n }\n }\n }\n\n .time-picker & {\n @include transition($input-transition);\n }\n\n .time-picker.disabled & {\n background-color: var(--#{$prefix}time-picker-disabled-bg);\n border-color: var(--#{$prefix}time-picker-disabled-border-color);\n }\n\n .time-picker.show & {\n background-color: var(--#{$prefix}time-picker-focus-bg);\n border-color: var(--#{$prefix}time-picker-focus-border-color);\n outline: 0;\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}time-picker-box-shadow), var(--#{$prefix}time-picker-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}time-picker-focus-box-shadow);\n }\n }\n}\n\n.time-picker-input {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n min-width: 0;\n padding: var(--#{$prefix}time-picker-padding-y) var(--#{$prefix}time-picker-padding-x);\n font-family: var(--#{$prefix}time-picker-font-family);\n @include font-size(var(--#{$prefix}time-picker-font-size));\n font-weight: var(--#{$prefix}time-picker-font-weight);\n line-height: var(--#{$prefix}time-picker-line-height);\n color: var(--#{$prefix}time-picker-color);\n appearance: none;\n background: transparent;\n border: 0;\n\n .time-picker.show & {\n color: var(--#{$prefix}time-picker-focus-color);\n }\n\n &:disabled {\n color: var(--#{$prefix}time-picker-disabled-color);\n }\n\n &:focus {\n z-index: 5;\n outline: 0;\n }\n\n &::placeholder {\n color: var(--#{$prefix}time-picker-placeholder-color);\n opacity: 1;\n }\n\n &.hover {\n color: var(--#{$prefix}time-picker-placeholder-color);\n }\n}\n\n.time-picker-cleaner,\n.time-picker-indicator {\n position: relative;\n width: 2.5rem;\n background-repeat: no-repeat;\n background-position: center;\n\n &::before {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: "";\n }\n}\n\n.time-picker-cleaner {\n display: none;\n\n &::before {\n background-color: var(--#{$prefix}time-picker-cleaner-icon-color);\n mask: var(--#{$prefix}time-picker-cleaner-icon) center / var(--#{$prefix}time-picker-cleaner-icon-size) no-repeat;\n }\n\n &:hover::before {\n background-color: var(--#{$prefix}time-picker-cleaner-icon-hover-color);\n }\n}\n\n.time-picker-indicator {\n background-color: var(--#{$prefix}time-picker-indicator-icon-color);\n mask: var(--#{$prefix}time-picker-indicator-icon) center / var(--#{$prefix}time-picker-indicator-icon-size) no-repeat;\n}\n\n.time-picker-dropdown {\n position: absolute;\n z-index: var(--#{$prefix}time-picker-zindex);\n display: none;\n width: min-content;\n background-color: var(--#{$prefix}time-picker-dropdown-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}time-picker-dropdown-border-width) solid var(--#{$prefix}time-picker-dropdown-border-color);\n @include border-radius(var(--#{$prefix}time-picker-dropdown-border-radius));\n @include box-shadow(var(--#{$prefix}time-picker-dropdown-box-shadow));\n @include elevation(4);\n\n .time-picker.show & {\n display: block;\n }\n}\n\n.time-picker-body {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}time-picker-body-padding);\n}\n\n.time-picker-inline-icon {\n display: block;\n width: 2.5rem;\n height: 1.25rem;\n background-color: var(--#{$prefix}time-picker-indicator-icon-color);\n mask: var(--#{$prefix}time-picker-indicator-icon) center / var(--#{$prefix}time-picker-indicator-icon-size) no-repeat;\n}\n\n.time-picker-inline-select {\n padding: var(--#{$prefix}time-picker-inline-select-padding-y) var(--#{$prefix}time-picker-inline-select-padding-x);\n color: var(--#{$prefix}time-picker-inline-select-color);\n text-align: right;\n appearance: none;\n scrollbar-width: none; /* Firefox */\n background-color: transparent;\n border: 0;\n @include font-size(var(--#{$prefix}time-picker-inline-select-font-size));\n\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n // Remove outline from select box in FF\n &:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 var(--#{$prefix}time-picker-inline-select-color);\n }\n\n &:disabled {\n color: var(--#{$prefix}time-picker-inline-select-disabled-color);\n }\n}\n\n.time-picker-footer {\n display: flex;\n justify-content: flex-end;\n padding: var(--#{$prefix}time-picker-footer-padding);\n border-top: var(--#{$prefix}time-picker-footer-border-width) solid var(--#{$prefix}time-picker-footer-border-color);\n\n .btn + .btn {\n margin-inline-start: .5rem;\n }\n}\n\n.time-picker-roll {\n padding: 0;\n overflow: hidden;\n @include border-radius(inherit);\n}\n\n.time-picker-roll-col {\n height: calc(8 * 32px); // stylelint-disable-line\n overflow: scroll;\n\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none; /* Firefox */\n\n &::-webkit-scrollbar {\n display: none; /* Safari and Chrome */\n }\n\n &:not(:last-child) {\n border-right: var(--#{$prefix}time-picker-roll-col-border-width) solid var(--#{$prefix}time-picker-roll-col-border-color);\n }\n}\n\n.time-picker-roll-cell {\n width: 50px;\n height: 32px;\n padding: 0 $spacer 0 $spacer * .5;\n line-height: 32px;\n\n &.selected {\n color: var(--#{$prefix}time-picker-roll-cell-selected-color);\n background: var(--#{$prefix}time-picker-roll-cell-selected-bg);\n }\n\n &:last-child::after {\n display: block;\n height: calc(7 * 32px); // stylelint-disable-line\n content: "";\n }\n}\n\n.time-picker-sm {\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius-sm};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y-sm};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x-sm};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size-sm};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size-sm};\n}\n\n.time-picker-lg {\n --#{$prefix}time-picker-border-radius: #{$time-picker-border-radius-lg};\n --#{$prefix}time-picker-padding-y: #{$time-picker-padding-y-lg};\n --#{$prefix}time-picker-padding-x: #{$time-picker-padding-x-lg};\n --#{$prefix}time-picker-cleaner-icon-size: #{$time-picker-cleaner-icon-size-lg};\n --#{$prefix}time-picker-indicator-icon-size: #{$time-picker-indicator-icon-size-lg};\n}\n'; const __vite_glob_0_42 = '.toast {\n // scss-docs-start toast-css-vars\n --#{$prefix}toast-zindex: #{$zindex-toast};\n --#{$prefix}toast-padding-x: #{$toast-padding-x};\n --#{$prefix}toast-padding-y: #{$toast-padding-y};\n --#{$prefix}toast-spacing: #{$toast-spacing};\n --#{$prefix}toast-max-width: #{$toast-max-width};\n @include rfs($toast-font-size, --#{$prefix}toast-font-size);\n --#{$prefix}toast-color: #{$toast-color};\n --#{$prefix}toast-bg: #{$toast-background-color};\n --#{$prefix}toast-border-width: #{$toast-border-width};\n --#{$prefix}toast-border-color: #{$toast-border-color};\n --#{$prefix}toast-border-radius: #{$toast-border-radius};\n --#{$prefix}toast-box-shadow: #{$toast-box-shadow};\n --#{$prefix}toast-header-color: #{$toast-header-color};\n --#{$prefix}toast-header-bg: #{$toast-header-background-color};\n --#{$prefix}toast-header-border-color: #{$toast-header-border-color};\n // scss-docs-end toast-css-vars\n\n width: var(--#{$prefix}toast-max-width);\n max-width: 100%;\n @include font-size(var(--#{$prefix}toast-font-size));\n color: var(--#{$prefix}toast-color);\n pointer-events: auto;\n background-color: var(--#{$prefix}toast-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color);\n box-shadow: var(--#{$prefix}toast-box-shadow);\n @include border-radius(var(--#{$prefix}toast-border-radius));\n\n &.showing {\n opacity: 0;\n }\n\n &:not(.show) {\n display: none;\n }\n}\n\n.toast-container {\n --#{$prefix}toast-zindex: #{$zindex-toast};\n\n position: absolute;\n z-index: var(--#{$prefix}toast-zindex);\n width: max-content;\n max-width: 100%;\n pointer-events: none;\n\n > :not(:last-child) {\n margin-bottom: var(--#{$prefix}toast-spacing);\n }\n}\n\n.toast-header {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);\n color: var(--#{$prefix}toast-header-color);\n background-color: var(--#{$prefix}toast-header-bg);\n background-clip: padding-box;\n border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color);\n @include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));\n\n .btn-close {\n @include ltr-rtl("margin-right", calc(-.5 * var(--#{$prefix}toast-padding-x)));\n @include ltr-rtl("margin-left", var(--#{$prefix}toast-padding-x));\n }\n}\n\n.toast-body {\n padding: var(--#{$prefix}toast-padding-x);\n word-wrap: break-word;\n}\n'; const __vite_glob_0_43 = '// Base class\n.tooltip {\n // scss-docs-start tooltip-css-vars\n --#{$prefix}tooltip-zindex: #{$zindex-tooltip};\n --#{$prefix}tooltip-max-width: #{$tooltip-max-width};\n --#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};\n --#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};\n --#{$prefix}tooltip-margin: #{$tooltip-margin};\n @include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);\n --#{$prefix}tooltip-color: #{$tooltip-color};\n --#{$prefix}tooltip-bg: #{$tooltip-bg};\n --#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};\n --#{$prefix}tooltip-opacity: #{$tooltip-opacity};\n --#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};\n --#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};\n // scss-docs-end tooltip-css-vars\n\n z-index: var(--#{$prefix}tooltip-zindex);\n display: block;\n margin: var(--#{$prefix}tooltip-margin);\n @include deprecate("`$tooltip-margin`", "v4", "v4.x", true);\n // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.\n // So reset our font and text properties to avoid inheriting weird values.\n @include reset-text();\n @include font-size(var(--#{$prefix}tooltip-font-size));\n // Allow breaking very long words so they don\'t overflow the tooltip\'s bounds\n word-wrap: break-word;\n opacity: 0;\n\n &.show { opacity: var(--#{$prefix}tooltip-opacity); }\n\n .tooltip-arrow {\n display: block;\n width: var(--#{$prefix}tooltip-arrow-width);\n height: var(--#{$prefix}tooltip-arrow-height);\n\n &::before {\n position: absolute;\n content: "";\n border-color: transparent;\n border-style: solid;\n }\n }\n}\n\n.bs-tooltip-top .tooltip-arrow {\n bottom: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n\n &::before {\n top: -1px;\n border-width: var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n border-top-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-end .tooltip-arrow {\n left: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}tooltip-arrow-height);\n height: var(--#{$prefix}tooltip-arrow-width);\n\n &::before {\n right: -1px;\n border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height) calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0; // stylelint-disable-line function-disallowed-list\n border-right-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-tooltip-bottom .tooltip-arrow {\n top: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n\n &::before {\n bottom: -1px;\n border-width: 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list\n border-bottom-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-start .tooltip-arrow {\n right: calc(-1 * var(--#{$prefix}tooltip-arrow-height)); // stylelint-disable-line function-disallowed-list\n width: var(--#{$prefix}tooltip-arrow-height);\n height: var(--#{$prefix}tooltip-arrow-width);\n\n &::before {\n left: -1px;\n border-width: calc(var(--#{$prefix}tooltip-arrow-width) * .5) 0 calc(var(--#{$prefix}tooltip-arrow-width) * .5) var(--#{$prefix}tooltip-arrow-height); // stylelint-disable-line function-disallowed-list\n border-left-color: var(--#{$prefix}tooltip-bg);\n }\n}\n\n/* rtl:end:ignore */\n\n.bs-tooltip-auto {\n &[data-popper-placement^="top"] {\n @extend .bs-tooltip-top;\n }\n &[data-popper-placement^="right"] {\n @extend .bs-tooltip-end;\n }\n &[data-popper-placement^="bottom"] {\n @extend .bs-tooltip-bottom;\n }\n &[data-popper-placement^="left"] {\n @extend .bs-tooltip-start;\n }\n}\n\n// Wrapper for the tooltip content\n.tooltip-inner {\n max-width: var(--#{$prefix}tooltip-max-width);\n padding: var(--#{$prefix}tooltip-padding-y) var(--#{$prefix}tooltip-padding-x);\n color: var(--#{$prefix}tooltip-color);\n text-align: center;\n background-color: var(--#{$prefix}tooltip-bg);\n @include border-radius(var(--#{$prefix}tooltip-border-radius));\n}\n'; const __vite_glob_0_44 = ".fade {\n @include transition($transition-fade);\n\n &:not(.show) {\n opacity: 0;\n }\n}\n\n// scss-docs-start collapse-classes\n.collapse {\n &:not(.show) {\n display: none;\n }\n}\n\n.collapsing {\n height: 0;\n overflow: hidden;\n @include transition($transition-collapse);\n\n &.collapse-horizontal {\n width: 0;\n height: auto;\n @include transition($transition-collapse-width);\n }\n}\n// scss-docs-end collapse-classes\n"; @@ -1118,8 +1118,8 @@ $form-invalid-border-color-dark: $red-300 !default; $accordion-icon-color-dark: $body-color-dark !default; $accordion-icon-active-color-dark: $primary-text-emphasis-dark !default; -$accordion-button-icon-dark: url("data:image/svg+xml,") !default; -$accordion-button-active-icon-dark: url("data:image/svg+xml,") !default; +$accordion-button-icon-dark: url("data:image/svg+xml,") !default; +$accordion-button-active-icon-dark: url("data:image/svg+xml,") !default; // @@ -1226,7 +1226,7 @@ $colors: ( // scss-docs-end colors-map // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7. -// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast +// See https://www.w3.org/TR/WCAG/#contrast-minimum $min-contrast-ratio: 4.5 !default; // Customize the light and dark text colors for use in our color contrast function. @@ -2514,7 +2514,7 @@ $form-feedback-valid-color: $success !default; $form-feedback-invalid-color: $danger !default; $form-feedback-icon-valid-color: $form-feedback-valid-color !default; -$form-feedback-icon-valid: url("data:image/svg+xml,") !default; +$form-feedback-icon-valid: url("data:image/svg+xml,") !default; $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default; $form-feedback-icon-invalid: url("data:image/svg+xml,") !default; // scss-docs-end form-feedback-variables @@ -2828,8 +2828,8 @@ $accordion-icon-active-color: $primary-text-emphasis !default; $accordion-icon-transition: transform .2s ease-in-out !default; $accordion-icon-transform: rotate(-180deg) !default; -$accordion-button-icon: url("data:image/svg+xml,") !default; -$accordion-button-active-icon: url("data:image/svg+xml,") !default; +$accordion-button-icon: url("data:image/svg+xml,") !default; +$accordion-button-active-icon: url("data:image/svg+xml,") !default; // scss-docs-end accordion-variables // Tooltips @@ -3228,8 +3228,8 @@ $carousel-caption-spacer: 1.25rem !default; $carousel-control-icon-width: 2rem !default; -$carousel-control-prev-icon-bg: url("data:image/svg+xml,") !default; -$carousel-control-next-icon-bg: url("data:image/svg+xml,") !default; +$carousel-control-prev-icon-bg: url("data:image/svg+xml,") !default; +$carousel-control-next-icon-bg: url("data:image/svg+xml,") !default; $carousel-transition-duration: .6s !default; $carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., \`transform 2s ease, opacity .5s ease-out\`) @@ -3326,7 +3326,7 @@ $sidebar-nav-group-items-padding-x: 0 !default; $sidebar-nav-group-items-transition: height .15s ease !default; $sidebar-nav-group-indicator-color: var(--#{$prefix}tertiary-color) !default; -$sidebar-nav-group-indicator-icon: url("data:image/svg+xml,") !default; +$sidebar-nav-group-indicator-icon: url("data:image/svg+xml,") !default; $sidebar-nav-group-indicator-hover-color: $sidebar-nav-link-hover-color !default; $sidebar-nav-group-indicator-hover-icon: $sidebar-nav-group-indicator-icon !default; $sidebar-nav-group-indicator-transition: transform .15s !default; @@ -3380,7 +3380,7 @@ $btn-close-height: $btn-close-width !default; $btn-close-padding-x: .25em !default; $btn-close-padding-y: $btn-close-padding-x !default; $btn-close-color: $black !default; -$btn-close-bg: url("data:image/svg+xml,") !default; +$btn-close-bg: url("data:image/svg+xml,") !default; $btn-close-focus-shadow: $focus-ring-box-shadow !default; $btn-close-opacity: .5 !default; $btn-close-hover-opacity: .75 !default; @@ -3650,7 +3650,7 @@ const __vite_glob_0_53 = '$enable-ltr: false !default;\n$enable-rtl: true !defau const __vite_glob_0_54 = '@import "mixins/banner";\n@include bsBanner(Utilities);\n\n// Configuration\n@import "functions";\n@import "variables";\n@import "variables-dark";\n@import "maps";\n@import "mixins";\n@import "utilities";\n\n// Layout & components\n@import "root";\n\n// Helpers\n@import "helpers";\n\n// Utilities\n@import "utilities/api";\n'; const __vite_glob_0_55 = '$enable-ltr: false !default;\n$enable-rtl: true !default;\n\n@import "coreui";\n'; const __vite_glob_0_56 = '@import "mixins/banner";\n@include bsBanner("");\n\n// scss-docs-start import-stack\n// Configuration\n@import "functions";\n@import "variables";\n@import "variables-dark";\n@import "maps";\n@import "mixins";\n@import "utilities";\n\n// Layout & components\n@import "root";\n@import "reboot";\n@import "type";\n@import "images";\n@import "containers";\n@import "grid";\n@import "tables";\n@import "forms";\n@import "buttons";\n@import "loading-button";\n@import "transitions";\n@import "dropdown";\n@import "button-group";\n@import "nav";\n@import "navbar";\n@import "card";\n@import "accordion";\n@import "breadcrumb";\n@import "pagination";\n@import "badge";\n@import "alert";\n@import "progress";\n@import "list-group";\n@import "close";\n@import "toasts";\n@import "modal";\n@import "tooltip";\n@import "popover";\n@import "carousel";\n@import "spinners";\n@import "offcanvas";\n@import "placeholders";\n\n@import "avatar";\n@import "calendar";\n@import "callout";\n@import "date-picker";\n@import "footer";\n@import "header";\n@import "icon";\n@import "rating";\n@import "sidebar";\n@import "time-picker";\n\n// Helpers\n@import "helpers";\n\n// Utilities\n@import "utilities/api";\n@import "utilities/bg-gradients";\n// scss-docs-end import-stack\n'; -const __vite_glob_0_57 = '.form-floating {\n position: relative;\n\n > .form-control,\n > .form-control-plaintext,\n > .form-select {\n height: $form-floating-height;\n min-height: $form-floating-height;\n line-height: $form-floating-line-height;\n }\n\n > label {\n position: absolute;\n top: 0;\n @include ltr-rtl("left", 0);\n z-index: 2;\n height: 100%; // allow textareas\n padding: $form-floating-padding-y $form-floating-padding-x;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n border: $input-border-width solid transparent; // Required for aligning label\'s text with the input as it affects inner box model\n transform-origin: 0 0;\n @include transition($form-floating-transition);\n }\n\n > .form-control,\n > .form-control-plaintext {\n padding: $form-floating-padding-y $form-floating-padding-x;\n\n &::placeholder {\n color: transparent;\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n &:-webkit-autofill {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n }\n\n > .form-select {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n\n > .form-control:focus,\n > .form-control:not(:placeholder-shown),\n > .form-control-plaintext,\n > .form-select {\n ~ label {\n color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});\n transform: $form-floating-label-transform;\n\n &::after {\n position: absolute;\n inset: $form-floating-padding-y ($form-floating-padding-x * .5);\n z-index: -1;\n height: $form-floating-label-height;\n content: "";\n background-color: $input-bg;\n @include border-radius($input-border-radius);\n }\n }\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n > .form-control:-webkit-autofill {\n ~ label {\n color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});\n transform: $form-floating-label-transform;\n }\n }\n\n > .form-control-plaintext {\n ~ label {\n border-width: $input-border-width 0; // Required to properly position label text - as explained above\n }\n }\n\n > :disabled ~ label,\n > .form-control:disabled ~ label { // Required for `.form-control`s because of specificity\n color: $form-floating-label-disabled-color;\n\n &::after {\n background-color: $input-disabled-bg;\n }\n }\n}\n'; +const __vite_glob_0_57 = '.form-floating {\n position: relative;\n\n > .form-control,\n > .form-control-plaintext,\n > .form-select {\n height: $form-floating-height;\n min-height: $form-floating-height;\n line-height: $form-floating-line-height;\n }\n\n > label {\n position: absolute;\n top: 0;\n @include ltr-rtl("left", 0);\n z-index: 2;\n max-width: 100%;\n height: 100%; // allow textareas\n padding: $form-floating-padding-y $form-floating-padding-x;\n overflow: hidden;\n color: rgba(var(--#{$prefix}body-color-rgb), #{$form-floating-label-opacity});\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n border: $input-border-width solid transparent; // Required for aligning label\'s text with the input as it affects inner box model\n transform-origin: 0 0;\n @include transition($form-floating-transition);\n }\n\n > .form-control,\n > .form-control-plaintext {\n padding: $form-floating-padding-y $form-floating-padding-x;\n\n &::placeholder {\n color: transparent;\n }\n\n &:focus,\n &:not(:placeholder-shown) {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n &:-webkit-autofill {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n }\n\n > .form-select {\n padding-top: $form-floating-input-padding-t;\n padding-bottom: $form-floating-input-padding-b;\n }\n\n > .form-control:focus,\n > .form-control:not(:placeholder-shown),\n > .form-control-plaintext,\n > .form-select {\n ~ label {\n transform: $form-floating-label-transform;\n }\n }\n // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped\n > .form-control:-webkit-autofill {\n ~ label {\n transform: $form-floating-label-transform;\n }\n }\n > textarea:focus,\n > textarea:not(:placeholder-shown) {\n ~ label::after {\n position: absolute;\n inset: $form-floating-padding-y ($form-floating-padding-x * .5);\n z-index: -1;\n height: $form-floating-label-height;\n content: "";\n background-color: $input-bg;\n @include border-radius($input-border-radius);\n }\n }\n > textarea:disabled ~ label::after {\n background-color: $input-disabled-bg;\n }\n\n > .form-control-plaintext {\n ~ label {\n border-width: $input-border-width 0; // Required to properly position label text - as explained above\n }\n }\n\n > :disabled ~ label,\n > .form-control:disabled ~ label { // Required for `.form-control`s because of specificity\n color: $form-floating-label-disabled-color;\n }\n}\n'; const __vite_glob_0_58 = '//\n// Check/radio\n//\n\n.form-check {\n display: block;\n min-height: $form-check-min-height;\n @include ltr-rtl("padding-left", $form-check-padding-start);\n margin-bottom: $form-check-margin-bottom;\n\n .form-check-input {\n @include ltr-rtl("float", left);\n @include ltr-rtl("margin-left", $form-check-padding-start * -1);\n }\n}\n\n.form-check-reverse {\n @include ltr-rtl("padding-right", $form-check-padding-start);\n @include ltr-rtl("padding-left", 0);\n @include ltr-rtl("text-align", right);\n\n .form-check-input {\n @include ltr-rtl("float", right);\n @include ltr-rtl("margin-right", $form-check-padding-start * -1);\n @include ltr-rtl("margin-left", 0);\n }\n}\n\n.form-check-input {\n --#{$prefix}form-check-bg: #{$form-check-input-bg};\n\n flex-shrink: 0;\n width: $form-check-input-width;\n height: $form-check-input-width;\n margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height\n vertical-align: top;\n appearance: none;\n background-color: var(--#{$prefix}form-check-bg);\n background-image: var(--#{$prefix}form-check-bg-image);\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: $form-check-input-border;\n print-color-adjust: exact; // Keep themed appearance for print\n @include transition($form-check-transition);\n\n &[type="checkbox"] {\n @include border-radius($form-check-input-border-radius);\n }\n\n &[type="radio"] {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: $form-check-radio-border-radius;\n }\n\n &:active {\n filter: $form-check-input-active-filter;\n }\n\n &:focus {\n border-color: $form-check-input-focus-border;\n outline: 0;\n box-shadow: $form-check-input-focus-box-shadow;\n }\n\n &:checked {\n background-color: var(--#{$prefix}form-check-input-checked-bg-color, $form-check-input-checked-bg-color);\n border-color: var(--#{$prefix}form-check-input-checked-border-color, $form-check-input-checked-border-color);\n\n &[type="checkbox"] {\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-checked-bg-image)};\n }\n }\n\n &[type="radio"] {\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-radio-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-radio-checked-bg-image)};\n }\n }\n }\n\n &[type="checkbox"]:indeterminate {\n background-color: $form-check-input-indeterminate-bg-color;\n border-color: $form-check-input-indeterminate-border-color;\n\n @if $enable-gradients {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-indeterminate-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-check-bg-image: #{escape-svg($form-check-input-indeterminate-bg-image)};\n }\n }\n\n &:disabled {\n pointer-events: none;\n filter: none;\n opacity: $form-check-input-disabled-opacity;\n }\n\n // Use disabled attribute in addition of :disabled pseudo-class\n // See: https://github.com/twbs/bootstrap/issues/28247\n &[disabled],\n &:disabled {\n ~ .form-check-label {\n cursor: default;\n opacity: $form-check-label-disabled-opacity;\n }\n }\n}\n\n.form-check-label {\n color: var(--#{$prefix}form-check-label-color, $form-check-label-color);\n cursor: $form-check-label-cursor;\n}\n\n//\n// Switch\n//\n\n.form-switch {\n @include ltr-rtl("padding-left", $form-switch-padding-start);\n\n .form-check-input {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-bg-image)};\n\n width: $form-switch-width;\n @include ltr-rtl("margin-left", $form-switch-padding-start * -1);\n background-image: var(--#{$prefix}form-switch-bg);\n background-position: left center;\n @include border-radius($form-switch-border-radius, 0);\n @include transition($form-switch-transition);\n\n &:focus {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-focus-bg-image)};\n }\n\n &:checked {\n background-position: $form-switch-checked-bg-position;\n\n @if $enable-gradients {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-checked-bg-image)}, var(--#{$prefix}gradient);\n } @else {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-checked-bg-image)};\n }\n }\n }\n\n &.form-check-reverse {\n @include ltr-rtl("padding-right", $form-check-padding-start);\n @include ltr-rtl("padding-left", 0);\n\n .form-check-input {\n @include ltr-rtl("margin-right", $form-check-padding-start * -1);\n @include ltr-rtl("margin-left", 0);\n }\n }\n}\n\n@each $size, $map in $form-switch-widths {\n $width: map-get($map, "width");\n $height: map-get($map, "height");\n\n .form-switch-#{$size} {\n min-height: $height;\n @include ltr-rtl("padding-left", $width + .5em);\n\n .form-check-input {\n width: $width;\n height: $height;\n @include ltr-rtl("margin-left", ($width + .5em) * -1);\n }\n\n .form-check-label {\n // stylelint-disable-next-line function-disallowed-list\n padding-top: calc((#{$height} - #{$font-size-base}) / 2);\n }\n }\n}\n\n.form-check-inline {\n display: inline-block;\n @include ltr-rtl("margin-right", $form-check-inline-margin-end);\n}\n\n.btn-check {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n\n &[disabled],\n &:disabled {\n + .btn {\n pointer-events: none;\n filter: none;\n opacity: $form-check-btn-check-disabled-opacity;\n }\n }\n}\n\n@if $enable-dark-mode {\n @include color-mode(dark) {\n .form-switch .form-check-input:not(:checked):not(:focus) {\n --#{$prefix}form-switch-bg: #{escape-svg($form-switch-bg-image-dark)};\n }\n }\n}\n'; const __vite_glob_0_59 = '//\n// General form controls (plus a few specific high-level interventions)\n//\n\n.form-control {\n display: block;\n width: 100%;\n padding: $input-padding-y $input-padding-x;\n font-family: $input-font-family;\n @include font-size($input-font-size);\n font-weight: $input-font-weight;\n line-height: $input-line-height;\n color: $input-color;\n appearance: none; // Fix appearance for date inputs in Safari\n background-color: $input-bg;\n background-clip: padding-box;\n border: $input-border-width solid $input-border-color;\n\n // Note: This has no effect on `s in CSS.\n @include border-radius($input-border-radius, 0);\n\n @include box-shadow($input-box-shadow);\n @include transition($input-transition);\n\n &[type="file"] {\n overflow: hidden; // prevent pseudo element button overlap\n\n &:not(:disabled):not([readonly]) {\n cursor: pointer;\n }\n }\n\n // Customize the `:focus` state to imitate native WebKit styles.\n &:focus {\n color: $input-focus-color;\n background-color: $input-focus-bg;\n border-color: $input-focus-border-color;\n outline: 0;\n @if $enable-shadows {\n @include box-shadow($input-box-shadow, $input-focus-box-shadow);\n } @else {\n // Avoid using mixin so we can pass custom focus shadow properly\n box-shadow: $input-focus-box-shadow;\n }\n }\n\n &::-webkit-date-and-time-value {\n // On Android Chrome, form-control\'s "width: 100%" makes the input width too small\n // Tested under Android 11 / Chrome 89, Android 12 / Chrome 100, Android 13 / Chrome 109\n //\n // On iOS Safari, form-control\'s "appearance: none" + "width: 100%" makes the input width too small\n // Tested under iOS 16.2 / Safari 16.2\n min-width: 85px; // Seems to be a good minimum safe width\n\n // Add some height to date inputs on iOS\n // https://github.com/twbs/bootstrap/issues/23307\n // TODO: we can remove this workaround once https://bugs.webkit.org/show_bug.cgi?id=198959 is resolved\n // Multiply line-height by 1em if it has no unit\n height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);\n\n // Android Chrome type="date" is taller than the other inputs\n // because of "margin: 1px 24px 1px 4px" inside the shadow DOM\n // Tested under Android 11 / Chrome 89, Android 12 / Chrome 100, Android 13 / Chrome 109\n margin: 0;\n }\n\n // Prevent excessive date input height in Webkit\n // https://github.com/twbs/bootstrap/issues/34433\n &::-webkit-datetime-edit {\n display: block;\n padding: 0;\n }\n\n // Placeholder\n &::placeholder {\n color: var(--#{$prefix}input-placeholder-color, $input-placeholder-color);\n // Override Firefox\'s unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.\n opacity: 1;\n }\n\n // Disabled inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won\'t be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don\'t honor that edge case; we style them as disabled anyway.\n &:disabled {\n color: $input-disabled-color;\n background-color: $input-disabled-bg;\n border-color: $input-disabled-border-color;\n // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.\n opacity: 1;\n }\n\n // File input buttons theming\n &::file-selector-button {\n padding: $input-padding-y $input-padding-x;\n margin: (-$input-padding-y) (-$input-padding-x);\n margin-inline-end: $input-padding-x;\n color: $form-file-button-color;\n @include gradient-bg($form-file-button-bg);\n pointer-events: none;\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n border-inline-end-width: $input-border-width;\n border-radius: 0; // stylelint-disable-line property-disallowed-list\n @include transition($btn-transition);\n }\n\n &:hover:not(:disabled):not([readonly])::file-selector-button {\n background-color: $form-file-button-hover-bg;\n }\n}\n\n// Readonly controls as plain text\n//\n// Apply class to a readonly input to make it appear like regular plain\n// text (without any border, background color, focus indicator)\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding: $input-padding-y 0;\n margin-bottom: 0; // match inputs if this class comes on inputs with default margins\n line-height: $input-line-height;\n color: $input-plaintext-color;\n background-color: transparent;\n border: solid transparent;\n border-width: $input-border-width 0;\n\n &:focus {\n outline: 0;\n }\n\n &.form-control-sm,\n &.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n }\n}\n\n// Form control sizing\n//\n// Build on `.form-control` with modifier classes to decrease or increase the\n// height and font-size of form controls.\n//\n// Repeated in `_input_group.scss` to avoid Sass extend issues.\n\n.form-control-sm {\n min-height: $input-height-sm;\n padding: $input-padding-y-sm $input-padding-x-sm;\n @include font-size($input-font-size-sm);\n @include border-radius($input-border-radius-sm);\n\n &::file-selector-button {\n padding: $input-padding-y-sm $input-padding-x-sm;\n margin: (-$input-padding-y-sm) (-$input-padding-x-sm);\n margin-inline-end: $input-padding-x-sm;\n }\n}\n\n.form-control-lg {\n min-height: $input-height-lg;\n padding: $input-padding-y-lg $input-padding-x-lg;\n @include font-size($input-font-size-lg);\n @include border-radius($input-border-radius-lg);\n\n &::file-selector-button {\n padding: $input-padding-y-lg $input-padding-x-lg;\n margin: (-$input-padding-y-lg) (-$input-padding-x-lg);\n margin-inline-end: $input-padding-x-lg;\n }\n}\n\n// Make sure textareas don\'t shrink too much when resized\n// https://github.com/twbs/bootstrap/pull/29124\n// stylelint-disable selector-no-qualifying-type\ntextarea {\n &.form-control {\n min-height: $input-height;\n }\n\n &.form-control-sm {\n min-height: $input-height-sm;\n }\n\n &.form-control-lg {\n min-height: $input-height-lg;\n }\n}\n// stylelint-enable selector-no-qualifying-type\n\n.form-control-color {\n width: $form-color-width;\n height: $input-height;\n padding: $input-padding-y;\n\n &:not(:disabled):not([readonly]) {\n cursor: pointer;\n }\n\n &::-moz-color-swatch {\n border: 0 !important; // stylelint-disable-line declaration-no-important\n @include border-radius($input-border-radius);\n }\n\n &::-webkit-color-swatch {\n border: 0 !important; // stylelint-disable-line declaration-no-important\n @include border-radius($input-border-radius);\n }\n\n &.form-control-sm { height: $input-height-sm; }\n &.form-control-lg { height: $input-height-lg; }\n}\n'; const __vite_glob_0_60 = '.form-multi-select {\n // scss-docs-start form-multi-select-css-vars\n --#{$prefix}form-multi-select-zindex: #{$form-multi-select-zindex};\n --#{$prefix}form-multi-select-font-family: #{$form-multi-select-font-family};\n --#{$prefix}form-multi-select-font-size: #{$form-multi-select-font-size};\n --#{$prefix}form-multi-select-font-weight: #{$form-multi-select-font-weight};\n --#{$prefix}form-multi-select-line-height: #{$form-multi-select-line-height};\n --#{$prefix}form-multi-select-color: #{$form-multi-select-color};\n --#{$prefix}form-multi-select-bg: #{$form-multi-select-bg};\n --#{$prefix}form-multi-select-box-shadow: #{$form-multi-select-box-shadow};\n --#{$prefix}form-multi-select-border-width: #{$form-multi-select-border-width};\n --#{$prefix}form-multi-select-border-color: #{$form-multi-select-border-color};\n --#{$prefix}form-multi-select-border-radius: #{$form-multi-select-border-radius};\n --#{$prefix}form-multi-select-disabled-color: #{$form-multi-select-disabled-color};\n --#{$prefix}form-multi-select-disabled-bg: #{$form-multi-select-disabled-bg};\n --#{$prefix}form-multi-select-disabled-border-color: #{$form-multi-select-disabled-border-color};\n --#{$prefix}form-multi-select-focus-color: #{$form-multi-select-focus-color};\n --#{$prefix}form-multi-select-focus-bg: #{$form-multi-select-focus-bg};\n --#{$prefix}form-multi-select-focus-border-color: #{$form-multi-select-focus-border-color};\n --#{$prefix}form-multi-select-focus-box-shadow: #{$form-multi-select-focus-box-shadow};\n --#{$prefix}form-multi-select-placeholder-color: #{$form-multi-select-placeholder-color};\n --#{$prefix}form-multi-select-selection-padding-y: #{$form-multi-select-selection-padding-y};\n --#{$prefix}form-multi-select-selection-padding-x: #{$form-multi-select-selection-padding-x};\n --#{$prefix}form-multi-select-cleaner-width: #{$form-multi-select-cleaner-width};\n --#{$prefix}form-multi-select-cleaner-height: #{$form-multi-select-cleaner-height};\n --#{$prefix}form-multi-select-cleaner-padding-y: #{$form-multi-select-cleaner-padding-y};\n --#{$prefix}form-multi-select-cleaner-padding-x: #{$form-multi-select-cleaner-padding-x};\n --#{$prefix}form-multi-select-cleaner-icon: #{escape-svg($form-multi-select-cleaner-icon)};\n --#{$prefix}form-multi-select-cleaner-icon-color: #{$form-multi-select-cleaner-icon-color};\n --#{$prefix}form-multi-select-cleaner-icon-hover-color: #{$form-multi-select-cleaner-icon-hover-color};\n --#{$prefix}form-multi-select-cleaner-icon-size: #{$form-multi-select-cleaner-icon-size};\n --#{$prefix}form-multi-select-indicator-width: #{$form-multi-select-indicator-width};\n --#{$prefix}form-multi-select-indicator-height: #{$form-multi-select-indicator-height};\n --#{$prefix}form-multi-select-indicator-padding-y: #{$form-multi-select-indicator-padding-y};\n --#{$prefix}form-multi-select-indicator-padding-x: #{$form-multi-select-indicator-padding-x};\n --#{$prefix}form-multi-select-indicator-icon: #{escape-svg($form-multi-select-indicator-icon)};\n --#{$prefix}form-multi-select-indicator-icon-color: #{$form-multi-select-indicator-icon-color};\n --#{$prefix}form-multi-select-indicator-icon-hover-color: #{$form-multi-select-indicator-icon-hover-color};\n --#{$prefix}form-multi-select-indicator-icon-size: #{$form-multi-select-indicator-icon-size};\n --#{$prefix}form-multi-select-select-all-padding-y: #{$form-multi-select-select-all-padding-y};\n --#{$prefix}form-multi-select-select-all-padding-x: #{$form-multi-select-select-all-padding-x};\n --#{$prefix}form-multi-select-select-all-color: #{$form-multi-select-select-all-color};\n --#{$prefix}form-multi-select-select-all-bg: #{$form-multi-select-select-all-bg};\n --#{$prefix}form-multi-select-select-all-border-width: #{$form-multi-select-select-all-border-width};\n --#{$prefix}form-multi-select-select-all-border-color: #{$form-multi-select-select-all-border-color};\n --#{$prefix}form-multi-select-select-all-hover-color: #{$form-multi-select-select-all-hover-color};\n --#{$prefix}form-multi-select-select-all-hover-bg: #{$form-multi-select-select-all-hover-bg};\n --#{$prefix}form-multi-select-dropdown-min-width: #{$form-multi-select-dropdown-min-width};\n --#{$prefix}form-multi-select-dropdown-bg: #{$form-multi-select-dropdown-bg};\n --#{$prefix}form-multi-select-dropdown-border-width: #{$form-multi-select-dropdown-border-width};\n --#{$prefix}form-multi-select-dropdown-border-color: #{$form-multi-select-dropdown-border-color};\n --#{$prefix}form-multi-select-dropdown-border-radius: #{$form-multi-select-dropdown-border-radius};\n --#{$prefix}form-multi-select-dropdown-box-shadow: #{$form-multi-select-dropdown-box-shadow};\n --#{$prefix}form-multi-select-options-padding-y: #{$form-multi-select-options-padding-y};\n --#{$prefix}form-multi-select-options-padding-x: #{$form-multi-select-options-padding-x};\n --#{$prefix}form-multi-select-options-font-size: #{$form-multi-select-options-font-size};\n --#{$prefix}form-multi-select-options-font-weight: #{$form-multi-select-options-font-weight};\n --#{$prefix}form-multi-select-options-color: #{$form-multi-select-options-color};\n --#{$prefix}form-multi-select-optgroup-label-padding-y: #{$form-multi-select-optgroup-label-padding-y};\n --#{$prefix}form-multi-select-optgroup-label-padding-x: #{$form-multi-select-optgroup-label-padding-x};\n --#{$prefix}form-multi-select-optgroup-label-font-size: #{$form-multi-select-optgroup-label-font-size};\n --#{$prefix}form-multi-select-optgroup-label-font-weight: #{$form-multi-select-optgroup-label-font-weight};\n --#{$prefix}form-multi-select-optgroup-label-color: #{$form-multi-select-optgroup-label-color};\n --#{$prefix}form-multi-select-optgroup-label-text-transform: #{$form-multi-select-optgroup-label-text-transform};\n --#{$prefix}form-multi-select-option-padding-y: #{$form-multi-select-option-padding-y};\n --#{$prefix}form-multi-select-option-padding-x: #{$form-multi-select-option-padding-x};\n --#{$prefix}form-multi-select-option-margin-y: #{$form-multi-select-option-margin-y};\n --#{$prefix}form-multi-select-option-margin-x: #{$form-multi-select-option-margin-x};\n --#{$prefix}form-multi-select-option-border-width: #{$form-multi-select-option-border-width};\n --#{$prefix}form-multi-select-option-border-color: #{$form-multi-select-option-border-color};\n --#{$prefix}form-multi-select-option-border-radius: #{$form-multi-select-option-border-radius};\n --#{$prefix}form-multi-select-option-box-shadow: #{$form-multi-select-option-box-shadow};\n --#{$prefix}form-multi-select-option-hover-color: #{$form-multi-select-option-hover-color};\n --#{$prefix}form-multi-select-option-hover-bg: #{$form-multi-select-option-hover-bg};\n --#{$prefix}form-multi-select-option-focus-box-shadow: #{$form-multi-select-option-focus-box-shadow};\n --#{$prefix}form-multi-select-option-disabled-color: #{$form-multi-select-option-disabled-color};\n --#{$prefix}form-multi-select-option-indicator-width: #{$form-multi-select-option-indicator-width};\n --#{$prefix}form-multi-select-option-indicator-bg: #{$form-multi-select-option-indicator-bg};\n --#{$prefix}form-multi-select-option-indicator-border: #{$form-multi-select-option-indicator-border};\n --#{$prefix}form-multi-select-option-indicator-border-radius: #{$form-multi-select-option-indicator-border-radius};\n --#{$prefix}form-multi-select-option-selected-bg: #{$form-multi-select-option-selected-bg};\n --#{$prefix}form-multi-select-option-selected-indicator-bg: #{$form-multi-select-option-selected-indicator-bg};\n --#{$prefix}form-multi-select-option-selected-indicator-bg-image: #{escape-svg($form-multi-select-option-selected-indicator-bg-image)};\n --#{$prefix}form-multi-select-option-selected-indicator-border-color: #{$form-multi-select-option-selected-indicator-border-color};\n --#{$prefix}form-multi-select-tag-padding-y: #{$form-multi-select-tag-padding-y};\n --#{$prefix}form-multi-select-tag-padding-x: #{$form-multi-select-tag-padding-x};\n --#{$prefix}form-multi-select-tag-bg: #{$form-multi-select-tag-bg};\n --#{$prefix}form-multi-select-tag-border-width: #{$form-multi-select-tag-border-width};\n --#{$prefix}form-multi-select-tag-border-color: #{$form-multi-select-tag-border-color};\n --#{$prefix}form-multi-select-tag-border-radius: #{$form-multi-select-tag-border-radius};\n --#{$prefix}form-multi-select-tag-delete-width: #{$form-multi-select-tag-delete-width};\n --#{$prefix}form-multi-select-tag-delete-height: #{$form-multi-select-tag-delete-height};\n --#{$prefix}form-multi-select-tag-delete-icon: #{escape-svg($form-multi-select-tag-delete-icon)};\n --#{$prefix}form-multi-select-tag-delete-icon-color: #{$form-multi-select-tag-delete-icon-color};\n --#{$prefix}form-multi-select-tag-delete-icon-hover-color: #{$form-multi-select-tag-delete-icon-hover-color};\n --#{$prefix}form-multi-select-tag-delete-icon-size: #{$form-multi-select-tag-delete-icon-size};\n --#{$prefix}form-multi-select-selection-tags-gap: #{$form-multi-select-selection-tags-gap};\n --#{$prefix}form-multi-select-selection-tags-padding-y: #{$form-multi-select-selection-tags-padding-y};\n --#{$prefix}form-multi-select-selection-tags-padding-x: #{$form-multi-select-selection-tags-padding-x};\n // scss-docs-end form-multi-select-css-vars\n\n position: relative;\n\n .was-validated .form-multi-select:invalid + &,\n &.is-invalid {\n --#{$prefix}form-multi-select-border-color: #{$form-multi-select-invalid-border-color};\n }\n\n .was-validated .form-multi-select:valid + &,\n &.is-valid {\n --#{$prefix}form-multi-select-border-color: #{$form-multi-select-valid-border-color};\n }\n}\n\n// stylelint-disable-next-line selector-no-qualifying-type\nselect.form-multi-select {\n display: none;\n}\n\n.form-multi-select-input-group {\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n font-family: var(--#{$prefix}form-multi-select-font-family);\n @include font-size(var(--#{$prefix}form-multi-select-font-size));\n font-weight: var(--#{$prefix}form-multi-select-font-weight);\n line-height: var(--#{$prefix}form-multi-select-line-height);\n color: var(--#{$prefix}form-multi-select-color);\n background-color: var(--#{$prefix}form-multi-select-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}form-multi-select-border-width) solid var(--#{$prefix}form-multi-select-border-color);\n @include border-radius(var(--#{$prefix}form-multi-select-border-radius));\n\n .form-multi-select & {\n @include transition($input-transition);\n }\n\n .form-multi-select.disabled & {\n color: var(--#{$prefix}form-multi-select-disabled-color);\n background-color: var(--#{$prefix}form-multi-select-disabled-bg);\n border-color: $input-disabled-border-color;\n }\n\n .form-multi-select.show & {\n color: var(--#{$prefix}form-multi-select-focus-color);\n background-color: var(--#{$prefix}form-multi-select-focus-bg);\n border-color: var(--#{$prefix}form-multi-select-focus-border-color);\n outline: 0;\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}form-multi-select-box-shadow), var(--#{$prefix}form-multi-select-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}form-multi-select-focus-box-shadow);\n }\n }\n}\n\n.form-multi-select-selection {\n position: relative;\n display: flex;\n flex: 1 1 auto;\n flex-wrap: wrap;\n width: 1%;\n min-width: 0;\n padding: var(--#{$prefix}form-multi-select-selection-padding-y) var(--#{$prefix}form-multi-select-selection-padding-x);\n}\n\n.form-multi-select-selection-tags {\n gap: var(--#{$prefix}form-multi-select-selection-tags-gap);\n align-content: center;\n padding: var(--#{$prefix}form-multi-select-selection-tags-padding-y) var(--#{$prefix}form-multi-select-selection-tags-padding-x);\n}\n\n.form-multi-select-search {\n display: none;\n flex: 1 1 auto;\n max-width: 100%;\n padding: 0;\n background: transparent;\n border: 0;\n\n &:focus {\n outline: 0;\n }\n\n &::placeholder {\n color: var(--#{$prefix}form-multi-select-placeholder-color);\n opacity: 1;\n }\n\n .form-multi-select.show &,\n &:placeholder-shown {\n display: flex;\n }\n\n .form-multi-select-selection-tags & {\n padding-inline-start: calc(var(--#{$prefix}form-multi-select-selection-padding-x) - .25rem); // stylelint-disable-line function-disallowed-list\n }\n}\n\n.form-multi-select-placeholder {\n color: var(--#{$prefix}form-multi-select-placeholder-color);\n\n .form-multi-select-selection-tags & {\n padding: calc(var(--#{$prefix}form-multi-select-selection-padding-y) - .25rem) calc(var(--#{$prefix}form-multi-select-selection-padding-x) - .25rem); // stylelint-disable-line function-disallowed-list\n }\n}\n\n.form-multi-select-buttons {\n display: flex;\n align-items: center;\n min-height: calc(2 * var(--#{$prefix}form-multi-select-selection-padding-y) + calc(var(--#{$prefix}form-multi-select-font-size) * var(--#{$prefix}form-multi-select-line-height))); // stylelint-disable-line function-disallowed-list\n padding: 0 var(--#{$prefix}form-multi-select-selection-padding-y);\n}\n\n.form-multi-select-cleaner,\n.form-multi-select-indicator {\n position: relative;\n z-index: 2;\n box-sizing: content-box;\n background-color: transparent;\n background-repeat: no-repeat;\n background-position: center;\n border: 0;\n\n &:focus {\n z-index: 5;\n outline: 0;\n box-shadow: var(--#{$prefix}focus-ring-x, 0) var(--#{$prefix}focus-ring-y, 0) var(--#{$prefix}focus-ring-blur, 0) var(--#{$prefix}focus-ring-width) var(--#{$prefix}focus-ring-color);\n @include border-radius($border-radius);\n }\n\n &::before {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: "";\n }\n}\n\n.form-multi-select-cleaner {\n width: var(--#{$prefix}form-multi-select-cleaner-width);\n height: var(--#{$prefix}form-multi-select-cleaner-height);\n padding: var(--#{$prefix}form-multi-select-cleaner-padding-y) var(--#{$prefix}form-multi-select-cleaner-padding-x);\n\n &::before {\n background-color: var(--#{$prefix}form-multi-select-cleaner-icon-color);\n mask: var(--#{$prefix}form-multi-select-cleaner-icon) center / var(--#{$prefix}form-multi-select-cleaner-icon-size) no-repeat;\n }\n\n &:focus::before,\n &:hover::before {\n background-color: var(--#{$prefix}form-multi-select-cleaner-icon-hover-color);\n }\n}\n\n.form-multi-select-indicator {\n width: var(--#{$prefix}form-multi-select-indicator-width);\n height: var(--#{$prefix}form-multi-select-indicator-height);\n padding: var(--#{$prefix}form-multi-select-indicator-padding-y) var(--#{$prefix}form-multi-select-indicator-padding-x);\n @include transition(transform .15s ease-in-out);\n\n &::before {\n background-color: var(--#{$prefix}form-multi-select-indicator-icon-color);\n mask: var(--#{$prefix}form-multi-select-indicator-icon) center / var(--#{$prefix}form-multi-select-indicator-icon-size) no-repeat;\n }\n\n &:focus::before,\n &:hover::before {\n background-color: var(--#{$prefix}form-multi-select-indicator-icon-hover-color);\n }\n\n .form-multi-select.show & {\n transform: rotate(180deg);\n }\n}\n\n.form-multi-select-tag {\n display: flex;\n align-items: center;\n padding: var(--#{$prefix}form-multi-select-tag-padding-y) var(--#{$prefix}form-multi-select-tag-padding-x);\n background-color: var(--#{$prefix}form-multi-select-tag-bg);\n border: var(--#{$prefix}form-multi-select-tag-border-width) solid var(--#{$prefix}form-multi-select-tag-border-color);\n @include border-radius(var(--#{$prefix}form-multi-select-tag-border-radius));\n}\n\n.form-multi-select-tag-delete {\n position: relative;\n z-index: 2;\n box-sizing: content-box;\n width: var(--#{$prefix}form-multi-select-tag-delete-width);\n height: var(--#{$prefix}form-multi-select-tag-delete-height);\n padding: var(--#{$prefix}form-multi-select-tag-delete-padding-y) var(--#{$prefix}form-multi-select-tag-delete-padding-x);\n margin-inline-start: $spacer * .5;\n background-color: transparent;\n border: 0;\n\n &::before {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n content: "";\n background-color: var(--#{$prefix}form-multi-select-tag-delete-icon-color);\n mask: var(--#{$prefix}form-multi-select-tag-delete-icon) center / var(--#{$prefix}form-multi-select-tag-delete-icon-size) no-repeat;\n }\n\n &:focus::before,\n &:hover::before {\n background-color: var(--#{$prefix}form-multi-select-tag-delete-icon-hover-color);\n }\n}\n\n.form-multi-select-dropdown {\n position: absolute;\n z-index: var(--#{$prefix}form-multi-select-zindex);\n display: none; // none by default, but block on "open" of the menu\n min-width: var(--#{$prefix}form-multi-select-dropdown-min-width);\n background-color: var(--#{$prefix}form-multi-select-dropdown-bg);\n background-clip: padding-box;\n border: var(--#{$prefix}form-multi-select-dropdown-border-width) solid var(--#{$prefix}form-multi-select-dropdown-border-color);\n @include border-radius(var(--#{$prefix}form-multi-select-dropdown-border-radius));\n @include box-shadow(var(--#{$prefix}form-multi-select-dropdown-box-shadow));\n @include elevation(4);\n\n .form-multi-select.show & {\n display: block;\n }\n}\n\n.form-multi-select-all {\n display: block;\n width: 100%;\n padding: var(--#{$prefix}form-multi-select-select-all-padding-y) var(--#{$prefix}form-multi-select-select-all-padding-x);\n color: var(--#{$prefix}form-multi-select-select-all-color);\n text-align: start;\n background-color: var(--#{$prefix}form-multi-select-select-all-bg);\n border: 0;\n border-bottom: var(--#{$prefix}form-multi-select-select-all-border-width) solid var(--#{$prefix}form-multi-select-select-all-border-color);\n\n &:hover {\n color: var(--#{$prefix}form-multi-select-select-all-hover-color);\n background-color: var(--#{$prefix}form-multi-select-select-all-hover-bg);\n }\n}\n\n.form-multi-select-options {\n padding: var(--#{$prefix}form-multi-select-options-padding-y) var(--#{$prefix}form-multi-select-options-padding-x);\n font-size: var(--#{$prefix}form-multi-select-options-font-size);\n font-weight: var(--#{$prefix}form-multi-select-options-font-weight);\n color: var(--#{$prefix}form-multi-select-options-color);\n}\n\n.form-multi-select-option {\n position: relative;\n z-index: 2;\n padding: var(--#{$prefix}form-multi-select-option-padding-y) var(--#{$prefix}form-multi-select-option-padding-x);\n margin: var(--#{$prefix}form-multi-select-option-margin-y) var(--#{$prefix}form-multi-select-option-margin-x);\n cursor: pointer;\n border: var(--#{$prefix}form-multi-select-option-border-width) solid var(--#{$prefix}form-multi-select-option-border-color);\n @include border-radius(var(--#{$prefix}form-multi-select-option-border-radius), 0);\n\n &:hover,\n &:focus {\n color: var(--#{$prefix}form-multi-select-option-hover-color);\n text-decoration: none;\n background-color: var(--#{$prefix}form-multi-select-option-hover-bg);\n }\n\n &:focus {\n z-index: 5;\n border-color: var(--#{$prefix}input-focus-border-color, $input-focus-border-color);\n outline: 0;\n @if $enable-shadows {\n box-shadow: var(--#{$prefix}form-multi-select-box-shadow), var(--#{$prefix}form-multi-select-focus-box-shadow);\n } @else {\n box-shadow: var(--#{$prefix}form-multi-select-focus-box-shadow);\n }\n }\n\n &.disabled {\n color: var(--#{$prefix}form-multi-select-option-disabled-color);\n pointer-events: none;\n background-color: transparent;\n }\n\n &.form-multi-select-option-with-checkbox {\n padding: $form-multi-select-option-padding-y $form-multi-select-option-padding-x;\n @include ltr-rtl("padding-left", calc(var(--#{$prefix}form-multi-select-option-padding-x) + var(--#{$prefix}form-multi-select-option-indicator-width)));\n &::before {\n position: absolute;\n top: .7rem;\n @include ltr-rtl("left", calc(var(--#{$prefix}form-multi-select-option-padding-x) * .5));\n display: block;\n width: var(--#{$prefix}form-multi-select-option-indicator-width);\n height: var(--#{$prefix}form-multi-select-option-indicator-width);\n pointer-events: none;\n content: "";\n background-color: var(--#{$prefix}form-multi-select-option-indicator-bg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: var(--#{$prefix}form-multi-select-option-indicator-border);\n @include border-radius(var(--#{$prefix}form-multi-select-option-indicator-border-radius));\n }\n }\n\n\n &.form-multi-selected {\n background-color: var(--#{$prefix}form-multi-select-option-selected-bg);\n\n &::before {\n background-color: var(--#{$prefix}form-multi-select-option-selected-indicator-bg);\n background-image: var(--#{$prefix}form-multi-select-option-selected-indicator-bg-image);\n border-color: var(--#{$prefix}form-multi-select-option-selected-indicator-border-color);\n }\n }\n}\n\n.form-multi-select-optgroup-label {\n padding: var(--#{$prefix}form-multi-select-options-padding-y) var(--#{$prefix}form-multi-select-options-padding-x);\n font-size: var(--#{$prefix}form-multi-select-optgroup-label-font-size);\n font-weight: var(--#{$prefix}form-multi-select-optgroup-label-font-weight);\n color: var(--#{$prefix}form-multi-select-optgroup-label-color);\n text-transform: var(--#{$prefix}form-multi-select-optgroup-label-text-transform);\n}\n\n.form-multi-select-options-empty {\n padding: var(--#{$prefix}form-multi-select-option-padding-y) var(--#{$prefix}form-multi-select-option-padding-x);\n}\n\n\n.form-multi-select-sm {\n --#{$prefix}form-multi-select-selection-padding-y: #{$form-multi-select-selection-padding-y-sm};\n --#{$prefix}form-multi-select-selection-padding-x: #{$form-multi-select-selection-padding-x-sm};\n --#{$prefix}form-multi-select-font-size: #{$form-multi-select-font-size-sm};\n --#{$prefix}form-multi-select-border-radius: #{$form-multi-select-border-radius-sm};\n --#{$prefix}form-multi-select-tag-padding-y: #{$form-multi-select-tag-padding-y-sm};\n --#{$prefix}form-multi-select-tag-padding-x: #{$form-multi-select-tag-padding-x-sm};\n --#{$prefix}form-multi-select-tag-border-radius: #{$form-multi-select-tag-border-radius-sm};\n --#{$prefix}form-multi-select-selection-tags-gap: #{$form-multi-select-selection-tags-gap-sm};\n --#{$prefix}form-multi-select-selection-tags-padding-y: #{$form-multi-select-selection-tags-padding-y-sm};\n --#{$prefix}form-multi-select-selection-tags-padding-x: #{$form-multi-select-selection-tags-padding-x-sm};\n}\n\n.form-multi-select-lg {\n --#{$prefix}form-multi-select-selection-padding-y: #{$form-multi-select-selection-padding-y-lg};\n --#{$prefix}form-multi-select-selection-padding-x: #{$form-multi-select-selection-padding-x-lg};\n --#{$prefix}form-multi-select-font-size: #{$form-multi-select-font-size-lg};\n --#{$prefix}form-multi-select-border-radius: #{$form-multi-select-border-radius-lg};\n --#{$prefix}form-multi-select-tag-padding-y: #{$form-multi-select-tag-padding-y-lg};\n --#{$prefix}form-multi-select-tag-padding-x: #{$form-multi-select-tag-padding-x-lg};\n --#{$prefix}form-multi-select-tag-border-radius: #{$form-multi-select-tag-border-radius-lg};\n --#{$prefix}form-multi-select-selection-tags-gap: #{$form-multi-select-selection-tags-gap-lg};\n --#{$prefix}form-multi-select-selection-tags-padding-y: #{$form-multi-select-selection-tags-padding-y-lg};\n --#{$prefix}form-multi-select-selection-tags-padding-x: #{$form-multi-select-selection-tags-padding-x-lg};\n}\n'; @@ -3675,7 +3675,7 @@ const __vite_glob_0_78 = ".vr {\n display: inline-block;\n align-self: stretch const __vite_glob_0_79 = '@include deprecate("`alert-variant()`", "v5.0.0", "v6.0.0");\n\n// scss-docs-start alert-variant-mixin\n@mixin alert-variant($background, $border, $color) {\n --#{$prefix}alert-color: #{$color};\n --#{$prefix}alert-bg: #{$background};\n --#{$prefix}alert-border-color: #{$border};\n --#{$prefix}alert-link-color: #{shade-color($color, 20%)};\n\n @if $enable-gradients {\n background-image: var(--#{$prefix}gradient);\n }\n\n .alert-link {\n color: var(--#{$prefix}alert-link-color);\n }\n}\n// scss-docs-end alert-variant-mixin\n'; const __vite_glob_0_80 = '@include deprecate("`avatar()`", "v5.1.0", "v6.0.0");\n\n@mixin avatar($width) {\n --#{$prefix}avatar-width: #{$width};\n --#{$prefix}avatar-height: #{$width};\n --#{$prefix}avatar-font-size: #{$width * .4};\n --#{$prefix}avatar-status-width: #{divide($width, 3.75)};\n --#{$prefix}avatar-status-height: #{divide($width, 3.75)};\n}\n'; const __vite_glob_0_81 = "// Shared between modals and offcanvases\n@mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) {\n position: fixed;\n top: 0;\n left: 0;\n z-index: $zindex;\n width: 100vw;\n height: 100vh;\n background-color: $backdrop-bg;\n\n // Fade for backdrop\n &.fade { opacity: 0; }\n &.show { opacity: $backdrop-opacity; }\n}\n"; -const __vite_glob_0_82 = "@mixin bsBanner($file) {\n /*!\n * CoreUI PRO #{$file} v5.3.0 (https://coreui.io)\n * Copyright (c) 2024 creativeLabs Łukasz Holeczek\n * License (https://coreui.io/pro/license/)\n */\n}\n"; +const __vite_glob_0_82 = "@mixin bsBanner($file) {\n /*!\n * CoreUI PRO #{$file} v5.4.0 (https://coreui.io)\n * Copyright (c) 2024 creativeLabs Łukasz Holeczek\n * License (https://coreui.io/pro/license/)\n */\n}\n"; const __vite_glob_0_83 = '// stylelint-disable property-disallowed-list\n// Single side border-radius\n\n// Helper function to replace negative values with 0\n@function valid-radius($radius) {\n $return: ();\n @each $value in $radius {\n @if type-of($value) == number {\n $return: append($return, max($value, 0));\n } @else {\n $return: append($return, $value);\n }\n }\n @return $return;\n}\n\n// scss-docs-start border-radius-mixins\n@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {\n @if $enable-rounded {\n border-radius: valid-radius($radius);\n }\n @else if $fallback-border-radius != false {\n border-radius: $fallback-border-radius;\n }\n}\n\n@mixin border-top-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-left-radius: valid-radius($radius);\n border-top-right-radius: valid-radius($radius);\n }\n}\n\n@mixin border-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n @include ltr-rtl("border-top-right-radius", valid-radius($radius));\n @include ltr-rtl("border-bottom-right-radius", valid-radius($radius));\n }\n}\n\n@mixin border-bottom-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-bottom-right-radius: valid-radius($radius);\n border-bottom-left-radius: valid-radius($radius);\n }\n}\n\n@mixin border-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n @include ltr-rtl("border-top-left-radius", valid-radius($radius));\n @include ltr-rtl("border-bottom-left-radius", valid-radius($radius));\n }\n}\n\n@mixin border-top-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n border-top-left-radius: valid-radius($radius);\n }\n}\n\n@mixin border-top-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n @include ltr-rtl("border-top-right-radius", valid-radius($radius));\n }\n}\n\n@mixin border-bottom-end-radius($radius: $border-radius) {\n @if $enable-rounded {\n @include ltr-rtl("border-bottom-right-radius", valid-radius($radius));\n }\n}\n\n@mixin border-bottom-start-radius($radius: $border-radius) {\n @if $enable-rounded {\n @include ltr-rtl("border-bottom-left-radius", valid-radius($radius));\n }\n}\n// scss-docs-end border-radius-mixins\n'; const __vite_glob_0_84 = `@mixin box-shadow($shadow...) { @if $enable-shadows { @@ -3772,7 +3772,7 @@ const __vite_glob_0_109 = `// stylelint-disable declaration-no-important // Use to only display content when it's focused, or one of its child elements is focused // (i.e. when focus is within the element/container that the class was applied to) // -// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 +// Useful for "Skip to main content" links; see https://www.w3.org/WAI/WCAG22/Techniques/general/G1.html @mixin visually-hidden-focusable() { &:not(:focus):not(:focus-within) { @@ -3780,7 +3780,7 @@ const __vite_glob_0_109 = `// stylelint-disable declaration-no-important } } `; -const __vite_glob_0_110 = '%sidebar-narrow {\n // scss-docs-start sidebar-narrow-css-vars\n --#{$prefix}sidebar-narrow-width: #{$sidebar-narrow-width};\n // scss-docs-end sidebar-narrow-css-vars\n\n @include media-breakpoint-up($mobile-breakpoint) {\n flex: 0 0 var(--#{$prefix}sidebar-narrow-width);\n width: var(--#{$prefix}sidebar-narrow-width);\n padding-bottom: var(--#{$prefix}sidebar-toggler-height);\n overflow: visible;\n\n &.sidebar-fixed {\n width: var(--#{$prefix}sidebar-narrow-width);\n }\n\n .sidebar-brand-full {\n display: none;\n }\n\n .sidebar-brand-narrow {\n display: block;\n }\n\n .sidebar-header {\n justify-content: center;\n padding-right: 0;\n padding-left: 0;\n }\n\n .sidebar-nav {\n --#{$prefix}sidebar-nav-link-padding-x: #{$sidebar-narrow-nav-link-padding-x};\n --#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-narrow-nav-link-padding-y};\n }\n\n .nav-icon {\n flex: 0 0 calc(var(--#{$prefix}sidebar-narrow-width) - (var(--#{$prefix}sidebar-nav-padding-x) * 2) - (var(--#{$prefix}sidebar-nav-link-padding-x) * 2)); // stylelint-disable-line function-disallowed-list\n }\n\n .d-narrow-none,\n .nav-label,\n .nav-title,\n .nav-group-items,\n .nav-group.show .nav-group-items,\n .sidebar-form {\n height: 0 !important; // stylelint-disable-line declaration-no-important\n padding: 0 !important; // stylelint-disable-line declaration-no-important\n margin: 0 !important; // stylelint-disable-line declaration-no-important\n visibility: hidden;\n opacity: 0;\n }\n\n .sidebar-toggler::before {\n @include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));\n }\n\n &.sidebar-end .sidebar-toggler::before {\n transform: rotate(0deg);\n }\n }\n}\n\n.sidebar-narrow {\n @extend %sidebar-narrow;\n &:not(.sidebar-end) ~ * {\n --#{$prefix}sidebar-occupy-start: #{$sidebar-narrow-width};\n }\n &.sidebar-end ~ * {\n --#{$prefix}sidebar-occupy-end: #{$sidebar-narrow-width};\n }\n\n .nav-link {\n overflow: hidden;\n }\n}\n\n.sidebar-narrow-unfoldable {\n position: fixed;\n\n &:not(.sidebar-end) ~ * {\n --#{$prefix}sidebar-occupy-start: #{$sidebar-narrow-width};\n }\n &.sidebar-end ~ * {\n --#{$prefix}sidebar-occupy-end: #{$sidebar-narrow-width};\n }\n\n &:not(:hover) {\n @extend %sidebar-narrow;\n }\n\n &:hover {\n box-shadow: $box-shadow;\n\n .sidebar-toggler::before {\n @include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));\n }\n\n &.sidebar-end .sidebar-toggler::before {\n transform: rotate(0deg);\n }\n }\n\n .nav-link {\n overflow: hidden;\n }\n}\n\n// Responsive behavior\n@each $breakpoint in map-keys($grid-breakpoints) {\n @include media-breakpoint-down($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n .sidebar:not(.show).sidebar-self-hiding#{$infix} {\n &.sidebar-narrow,\n &.sidebar-narrow-unfoldable {\n &:not(.sidebar-end) {\n @include ltr-rtl("margin-left", calc(var(--#{$prefix}sidebar-narrow-width) * -1));\n }\n &.sidebar-end {\n @include ltr-rtl("margin-right", calc(var(--#{$prefix}sidebar-narrow-width) * -1));\n }\n }\n }\n }\n}\n'; +const __vite_glob_0_110 = '%sidebar-narrow {\n // scss-docs-start sidebar-narrow-css-vars\n --#{$prefix}sidebar-narrow-width: #{$sidebar-narrow-width};\n // scss-docs-end sidebar-narrow-css-vars\n\n @include media-breakpoint-up($mobile-breakpoint) {\n flex: 0 0 var(--#{$prefix}sidebar-narrow-width);\n width: var(--#{$prefix}sidebar-narrow-width);\n padding-bottom: var(--#{$prefix}sidebar-toggler-height);\n overflow: visible;\n\n &.sidebar-fixed {\n width: var(--#{$prefix}sidebar-narrow-width);\n }\n\n .sidebar-brand-full {\n display: none;\n }\n\n .sidebar-brand-narrow {\n display: block;\n }\n\n .sidebar-header {\n justify-content: center;\n padding-right: 0;\n padding-left: 0;\n }\n\n .sidebar-nav {\n --#{$prefix}sidebar-nav-link-padding-x: #{$sidebar-narrow-nav-link-padding-x};\n --#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-narrow-nav-link-padding-y};\n }\n\n .nav-icon {\n flex: 0 0 calc(var(--#{$prefix}sidebar-narrow-width) - (var(--#{$prefix}sidebar-nav-padding-x) * 2) - (var(--#{$prefix}sidebar-nav-link-padding-x) * 2)); // stylelint-disable-line function-disallowed-list\n }\n\n .d-narrow-none,\n .nav-label,\n .nav-title,\n .nav-group-items,\n .nav-group.show .nav-group-items,\n .sidebar-form {\n height: 0 !important; // stylelint-disable-line declaration-no-important\n padding: 0 !important; // stylelint-disable-line declaration-no-important\n margin: 0 !important; // stylelint-disable-line declaration-no-important\n visibility: hidden;\n opacity: 0;\n }\n\n .sidebar-toggler::before {\n @include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));\n }\n\n &.sidebar-end .sidebar-toggler::before {\n transform: rotate(0deg);\n }\n }\n}\n\n.sidebar-narrow {\n @extend %sidebar-narrow;\n &:not(.sidebar-end) ~ * {\n --#{$prefix}sidebar-occupy-start: #{$sidebar-narrow-width} !important; // stylelint-disable-line declaration-no-important\n }\n &.sidebar-end ~ * {\n --#{$prefix}sidebar-occupy-end: #{$sidebar-narrow-width} !important; // stylelint-disable-line declaration-no-important\n }\n\n .nav-link {\n overflow: hidden;\n }\n}\n\n.sidebar-narrow-unfoldable {\n position: fixed;\n\n &:not(.sidebar-end) ~ * {\n --#{$prefix}sidebar-occupy-start: #{$sidebar-narrow-width} !important; // stylelint-disable-line declaration-no-important\n }\n &.sidebar-end ~ * {\n --#{$prefix}sidebar-occupy-end: #{$sidebar-narrow-width} !important; // stylelint-disable-line declaration-no-important\n }\n\n &:not(:hover) {\n @extend %sidebar-narrow;\n }\n\n &:hover {\n box-shadow: $box-shadow;\n\n .sidebar-toggler::before {\n @include ltr-rtl("transform", rotate(-180deg), null, rotate(0deg));\n }\n\n &.sidebar-end .sidebar-toggler::before {\n transform: rotate(0deg);\n }\n }\n\n .nav-link {\n overflow: hidden;\n }\n}\n\n// Responsive behavior\n@each $breakpoint in map-keys($grid-breakpoints) {\n @include media-breakpoint-down($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n .sidebar:not(.show).sidebar-self-hiding#{$infix} {\n &.sidebar-narrow,\n &.sidebar-narrow-unfoldable {\n &:not(.sidebar-end) {\n @include ltr-rtl("margin-left", calc(var(--#{$prefix}sidebar-narrow-width) * -1));\n }\n &.sidebar-end {\n @include ltr-rtl("margin-right", calc(var(--#{$prefix}sidebar-narrow-width) * -1));\n }\n }\n }\n }\n}\n'; const __vite_glob_0_111 = '// Sidebar navigation\n\n.sidebar-nav {\n // scss-docs-start sidebar-nav-css-vars\n --#{$prefix}sidebar-nav-padding-x: #{$sidebar-nav-padding-x};\n --#{$prefix}sidebar-nav-padding-y: #{$sidebar-nav-padding-y};\n\n --#{$prefix}sidebar-nav-title-padding-x: #{$sidebar-nav-title-padding-x};\n --#{$prefix}sidebar-nav-title-padding-y: #{$sidebar-nav-title-padding-y};\n --#{$prefix}sidebar-nav-title-margin-top: #{$sidebar-nav-title-margin-top};\n --#{$prefix}sidebar-nav-title-color: #{$sidebar-nav-title-color};\n\n --#{$prefix}sidebar-nav-link-padding-x: #{$sidebar-nav-link-padding-x};\n --#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-nav-link-padding-y};\n --#{$prefix}sidebar-nav-link-color: #{$sidebar-nav-link-color};\n --#{$prefix}sidebar-nav-link-bg: #{$sidebar-nav-link-bg};\n --#{$prefix}sidebar-nav-link-border-color: #{$sidebar-nav-link-border-color};\n --#{$prefix}sidebar-nav-link-border-radius: #{$sidebar-nav-link-border-radius};\n --#{$prefix}sidebar-nav-link-border-width: #{$sidebar-nav-link-border-width};\n\n --#{$prefix}sidebar-nav-link-active-color: #{$sidebar-nav-link-active-color};\n --#{$prefix}sidebar-nav-link-active-bg: #{$sidebar-nav-link-active-bg};\n --#{$prefix}sidebar-nav-link-disabled-color: #{$sidebar-nav-link-disabled-color};\n --#{$prefix}sidebar-nav-link-hover-color: #{$sidebar-nav-link-hover-color};\n --#{$prefix}sidebar-nav-link-hover-bg: #{$sidebar-nav-link-hover-bg};\n\n --#{$prefix}sidebar-nav-link-icon-margin: #{$sidebar-nav-link-icon-margin};\n --#{$prefix}sidebar-nav-link-icon-color: #{$sidebar-nav-link-icon-color};\n --#{$prefix}sidebar-nav-link-icon-width: #{$sidebar-nav-link-icon-width};\n --#{$prefix}sidebar-nav-link-icon-height: #{$sidebar-nav-link-icon-height};\n --#{$prefix}sidebar-nav-link-icon-font-size: #{$sidebar-nav-link-icon-font-size};\n --#{$prefix}sidebar-nav-link-active-icon-color: #{$sidebar-nav-link-active-icon-color};\n --#{$prefix}sidebar-nav-link-disabled-icon-color: #{$sidebar-nav-link-disabled-icon-color};\n --#{$prefix}sidebar-nav-link-hover-icon-color: #{$sidebar-nav-link-hover-icon-color};\n\n --#{$prefix}sidebar-nav-link-icon-bullet-size: #{$sidebar-nav-link-icon-bullet-size};\n --#{$prefix}sidebar-nav-link-icon-bullet-bg: #{$sidebar-nav-link-icon-bullet-bg};\n --#{$prefix}sidebar-nav-link-icon-bullet-border-width: #{$sidebar-nav-link-icon-bullet-border-width};\n --#{$prefix}sidebar-nav-link-icon-bullet-border-radius: #{$sidebar-nav-link-icon-bullet-border-radius};\n --#{$prefix}sidebar-nav-link-icon-bullet-border-color: #{$sidebar-nav-link-icon-bullet-border-color};\n --#{$prefix}sidebar-nav-link-active-icon-bullet-bg: #{$sidebar-nav-link-active-icon-bullet-bg};\n --#{$prefix}sidebar-nav-link-active-icon-bullet-border-color: #{$sidebar-nav-link-active-icon-bullet-border-color};\n --#{$prefix}sidebar-nav-link-disabled-icon-bullet-bg: #{$sidebar-nav-link-disabled-icon-bullet-bg};\n --#{$prefix}sidebar-nav-link-disabled-icon-bullet-border-color: #{$sidebar-nav-link-disabled-icon-bullet-border-color};\n --#{$prefix}sidebar-nav-link-hover-icon-bullet-bg: #{$sidebar-nav-link-hover-icon-bullet-bg};\n --#{$prefix}sidebar-nav-link-hover-icon-bullet-border-color: #{$sidebar-nav-link-hover-icon-bullet-border-color};\n\n --#{$prefix}sidebar-nav-group-bg: #{$sidebar-nav-group-bg};\n --#{$prefix}sidebar-nav-group-border-width: #{$sidebar-nav-group-border-width};\n --#{$prefix}sidebar-nav-group-border-radius: #{$sidebar-nav-group-border-radius};\n --#{$prefix}sidebar-nav-group-border-color: #{$sidebar-nav-group-border-color};\n --#{$prefix}sidebar-nav-group-items-padding-y: #{$sidebar-nav-group-items-padding-y};\n --#{$prefix}sidebar-nav-group-items-padding-x: #{$sidebar-nav-group-items-padding-x};\n --#{$prefix}sidebar-nav-group-indicator-color: #{$sidebar-nav-group-indicator-color};\n --#{$prefix}sidebar-nav-group-indicator-icon: #{escape-svg($sidebar-nav-group-indicator-icon)};\n --#{$prefix}sidebar-nav-group-indicator-hover-color: #{$sidebar-nav-group-indicator-hover-color};\n --#{$prefix}sidebar-nav-group-indicator-hover-icon: #{escape-svg($sidebar-nav-group-indicator-hover-icon)};\n --#{$prefix}sidebar-nav-group-toggle-show-color: #{$sidebar-nav-group-toggle-show-color};\n // scss-docs-end sidebar-nav-css-vars\n\n position: relative;\n display: flex;\n flex: 1;\n flex-direction: column;\n padding: var(--#{$prefix}sidebar-nav-padding-y) var(--#{$prefix}sidebar-nav-padding-x);\n margin-bottom: 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n\n .nav-item + .nav-item,\n .nav-item + .nav-group,\n .nav-group + .nav-item {\n margin-top: 1px;\n }\n\n .nav-title {\n padding: var(--#{$prefix}sidebar-nav-title-padding-y) var(--#{$prefix}sidebar-nav-title-padding-x);\n margin-top: var(--#{$prefix}sidebar-nav-title-margin-top);\n font-size: 80%;\n font-weight: 700;\n color: var(--#{$prefix}sidebar-nav-title-color);\n text-transform: uppercase;\n @include transition($sidebar-nav-title-transition);\n }\n\n .nav-link {\n display: flex;\n flex: 1;\n align-items: center;\n padding: var(--#{$prefix}sidebar-nav-link-padding-y) var(--#{$prefix}sidebar-nav-link-padding-x);\n color: var(--#{$prefix}sidebar-nav-link-color);\n text-decoration: none;\n white-space: nowrap;\n background: var(--#{$prefix}sidebar-nav-link-bg);\n border: var(--#{$prefix}sidebar-nav-link-border-width) solid var(--#{$prefix}sidebar-nav-link-border-color);\n @include border-radius(var(--#{$prefix}sidebar-nav-link-border-radius));\n @include transition($sidebar-nav-link-transition);\n\n &.active {\n color: var(--#{$prefix}sidebar-nav-link-active-color);\n background: var(--#{$prefix}sidebar-nav-link-active-bg);\n\n .nav-icon {\n color: var(--#{$prefix}sidebar-nav-link-active-icon-color);\n }\n\n .nav-icon-bullet {\n background: var(--#{$prefix}sidebar-link-active-icon-bullet-bg);\n border-color: var(--#{$prefix}sidebar-link-active-icon-bullet-border-color);\n }\n }\n\n &.disabled {\n color: var(--#{$prefix}sidebar-nav-link-disabled-color);\n pointer-events: none;\n cursor: not-allowed;\n background: transparent;\n\n .nav-icon {\n color: var(--#{$prefix}sidebar-nav-link-disabled-icon-color);\n }\n\n .nav-icon-bullet {\n background: var(--#{$prefix}sidebar-link-disabled-icon-bullet-bg);\n border-color: var(--#{$prefix}sidebar-link-disabled-icon-bullet-border-color);\n }\n\n &:hover {\n color: var(--#{$prefix}sidebar-nav-link-disabled-color);\n\n .nav-icon {\n color: var(--#{$prefix}sidebar-nav-link-disabled-icon-color);\n }\n\n .nav-icon-bullet {\n background: var(--#{$prefix}sidebar-link-disabled-icon-bullet-bg);\n border-color: var(--#{$prefix}sidebar-link-disabled-icon-bullet-border-color);\n }\n\n &.nav-dropdown-toggle::after {\n background-color: var(--#{$prefix}sidebar-nav-group-indicator-hover-color);\n mask-image: var(--#{$prefix}sidebar-nav-group-indicator-hover-icon);\n }\n }\n }\n\n @media (hover: hover), (-ms-high-contrast: none) {\n &:hover {\n color: var(--#{$prefix}sidebar-nav-link-hover-color);\n text-decoration: none;\n background: var(--#{$prefix}sidebar-nav-link-hover-bg);\n\n .nav-icon {\n color: var(--#{$prefix}sidebar-nav-link-hover-icon-color);\n }\n\n .nav-icon-bullet {\n background: var(--#{$prefix}sidebar-link-hover-icon-bullet-bg);\n border-color: var(--#{$prefix}sidebar-link-hover-icon-bullet-border-color);\n }\n\n &.nav-group-toggle::after {\n background-color: var(--#{$prefix}sidebar-nav-group-indicator-hover-color);\n mask-image: var(--#{$prefix}sidebar-nav-group-indicator-hover-icon);\n }\n }\n }\n }\n\n .nav-icon {\n display: flex;\n flex: 0 0 var(--#{$prefix}sidebar-nav-link-icon-width);\n align-items: center;\n justify-content: center;\n height: var(--#{$prefix}sidebar-nav-link-icon-height);\n @include ltr-rtl("margin-right", var(--#{$prefix}sidebar-nav-link-icon-margin));\n font-size: var(--#{$prefix}sidebar-nav-link-icon-font-size);\n color: var(--#{$prefix}sidebar-nav-link-icon-color);\n text-align: center;\n pointer-events: none;\n fill: currentcolor;\n @include transition(inherit);\n }\n\n .nav-icon-bullet {\n display: inline-block;\n width: var(--#{$prefix}sidebar-nav-link-icon-bullet-size);\n height: var(--#{$prefix}sidebar-nav-link-icon-bullet-size);\n background: var(--#{$prefix}sidebar-nav-link-icon-bullet-bg);\n border: var(--#{$prefix}sidebar-nav-link-icon-bullet-border-width) solid var(--#{$prefix}sidebar-nav-link-icon-bullet-border-color);\n border-radius: var(--#{$prefix}sidebar-nav-link-icon-bullet-border-radius); // stylelint-disable-line property-disallowed-list\n }\n\n // stylelint-disable-next-line selector-no-qualifying-type\n svg.nav-icon {\n overflow: hidden; // fix chrome 105+ width issue\n }\n\n .nav-group {\n position: relative;\n border: var(--#{$prefix}sidebar-nav-group-border-width) solid var(--#{$prefix}sidebar-nav-group-border-color);\n @include border-radius(var(--#{$prefix}sidebar-nav-group-border-radius));\n @include transition($sidebar-nav-group-transition);\n\n .nav-group-items {\n padding: var(--#{$prefix}sidebar-nav-group-items-padding-y) var(--#{$prefix}sidebar-nav-group-items-padding-x);\n overflow: hidden;\n @include transition($sidebar-nav-group-items-transition);\n }\n\n &:not(.show) .nav-group-items {\n display: none;\n }\n\n &.show {\n background: var(--#{$prefix}sidebar-nav-group-bg);\n\n .nav-group-toggle {\n color: var(--#{$prefix}sidebar-nav-group-toggle-show-color);\n }\n\n > .nav-group-toggle::after {\n transform: rotate(180deg);\n }\n\n + .show {\n margin-top: 1px;\n }\n }\n }\n\n .nav-group-toggle {\n cursor: pointer;\n\n &::after {\n display: block;\n flex: 0 12px;\n height: 12px;\n @include ltr-rtl("margin-left", auto);\n content: "";\n background-color: var(--#{$prefix}sidebar-nav-group-indicator-color);\n mask-image: var(--#{$prefix}sidebar-nav-group-indicator-icon);\n @include transition($sidebar-nav-group-indicator-transition);\n }\n }\n\n .nav-group-items {\n padding: 0;\n list-style: none;\n\n .nav-link {\n @include ltr-rtl("padding-left", calc(var(--#{$prefix}sidebar-nav-link-padding-x) + var(--#{$prefix}sidebar-nav-link-icon-width) + var(--#{$prefix}sidebar-nav-link-icon-margin)));\n }\n\n .nav-icon {\n @include ltr-rtl("margin-left", calc((var(--#{$prefix}sidebar-nav-link-icon-width) + var(--#{$prefix}sidebar-nav-link-icon-margin)) * -1));\n }\n }\n\n &.compact,\n .compact {\n .nav-link {\n --#{$prefix}sidebar-nav-link-padding-y: #{$sidebar-compact-nav-link-padding-y};\n }\n }\n}\n'; const __vite_glob_0_112 = `// stylelint-disable function-disallowed-list @@ -4092,7 +4092,7 @@ const __vite_glob_0_112 = `// stylelint-disable function-disallowed-list const __vite_glob_0_113 = "$variable-prefix: cui- !default; // Deprecated in v4.2.6 for the shorter `$prefix`\n$prefix: $variable-prefix !default;\n"; const __vite_glob_0_114 = '@import "variables";\n\n$enable-ltr: false !default;\n$enable-rtl: true !default;\n\n@import "mixins/banner";\n@include bsBanner("");\n\n@import "../../../node_modules/bootstrap/scss/bootstrap";\n@import "../../variables";\n\n/* rtl:begin:ignore */\n@import "../../mixins/avatar";\n@import "../../mixins/elevation";\n@import "../../mixins/icon";\n@import "../../mixins/ltr-rtl";\n\n@import "../../avatar";\n@import "../../calendar";\n@import "../../callout";\n@import "../../date-picker";\n@import "../../footer";\n@import "../../header";\n@import "../../icon";\n@import "../../loading-button";\n@import "../../sidebar";\n@import "../../time-picker";\n@import "../../forms/form-multi-select";\n\n/* rtl:end:ignore */\n'; const __vite_glob_0_115 = '@import "variables";\n\n@import "mixins/banner";\n@include bsBanner("");\n\n@import "../../../node_modules/bootstrap/scss/bootstrap";\n@import "../../variables";\n\n/* rtl:begin:ignore */\n@import "../../mixins/avatar";\n@import "../../mixins/elevation";\n@import "../../mixins/icon";\n@import "../../mixins/ltr-rtl";\n\n@import "../../avatar";\n@import "../../calendar";\n@import "../../callout";\n@import "../../date-picker";\n@import "../../footer";\n@import "../../header";\n@import "../../icon";\n@import "../../loading-button";\n@import "../../rating";\n@import "../../sidebar";\n@import "../../time-picker";\n@import "../../forms/form-multi-select";\n\n/* rtl:end:ignore */\n'; -const __vite_glob_0_116 = "@mixin bsBanner($file) {\n /*!\n * CoreUI PRO for Bootstrap #{$file} v5.3.0 (https://coreui.io/bootstrap/)\n * Copyright (c) 2024 creativeLabs Łukasz Holeczek\n * License (https://coreui.io/pro/license/)\n */\n}\n"; +const __vite_glob_0_116 = "@mixin bsBanner($file) {\n /*!\n * CoreUI PRO for Bootstrap #{$file} v5.4.0 (https://coreui.io/bootstrap/)\n * Copyright (c) 2024 creativeLabs Łukasz Holeczek\n * License (https://coreui.io/pro/license/)\n */\n}\n"; const __vite_glob_0_117 = '// Loop over each breakpoint\n@each $breakpoint in map-keys($grid-breakpoints) {\n\n // Generate media query if needed\n @include media-breakpoint-up($breakpoint) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n // Loop over each utility property\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Only proceed if responsive media queries are enabled or if it\'s the base media query\n @if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") {\n @include generate-utility($utility, $infix);\n }\n }\n }\n}\n\n// RFS rescaling\n@media (min-width: $rfs-mq-value) {\n @each $breakpoint in map-keys($grid-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $grid-breakpoints);\n\n @if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) {\n // Loop over each utility property\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Only proceed if responsive media queries are enabled or if it\'s the base media query\n @if type-of($utility) == "map" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == "") {\n @include generate-utility($utility, $infix, true);\n }\n }\n }\n }\n}\n\n\n// Print utilities\n@media print {\n @each $key, $utility in $utilities {\n // The utility can be disabled with `false`, thus check if the utility is a map first\n // Then check if the utility needs print styles\n @if type-of($utility) == "map" and map-get($utility, print) == true {\n @include generate-utility($utility, "-print");\n }\n }\n}\n'; const __vite_glob_0_118 = "@each $color, $value in $theme-gradients {\n .bg-#{$color}-gradient {\n background-color: var(--#{$prefix}#{$color});\n background-image: linear-gradient(45deg, var(--#{$prefix}#{$color}-start) 0%, var(--#{$prefix}#{$color}-stop) 100%);\n }\n}\n"; const __vite_glob_0_119 = '// stylelint-disable scss/dimension-no-non-numeric-values\n\n// SCSS RFS mixin\n//\n// Automated responsive values for font sizes, paddings, margins and much more\n//\n// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)\n\n// Configuration\n\n// Base value\n$rfs-base-value: 1.25rem !default;\n$rfs-unit: rem !default;\n\n@if $rfs-unit != rem and $rfs-unit != px {\n @error "`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`.";\n}\n\n// Breakpoint at where values start decreasing if screen width is smaller\n$rfs-breakpoint: 1200px !default;\n$rfs-breakpoint-unit: px !default;\n\n@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {\n @error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";\n}\n\n// Resize values based on screen height and width\n$rfs-two-dimensional: false !default;\n\n// Factor of decrease\n$rfs-factor: 10 !default;\n\n@if type-of($rfs-factor) != number or $rfs-factor <= 1 {\n @error "`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.";\n}\n\n// Mode. Possibilities: "min-media-query", "max-media-query"\n$rfs-mode: min-media-query !default;\n\n// Generate enable or disable classes. Possibilities: false, "enable" or "disable"\n$rfs-class: false !default;\n\n// 1 rem = $rfs-rem-value px\n$rfs-rem-value: 16 !default;\n\n// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14\n$rfs-safari-iframe-resize-bug-fix: false !default;\n\n// Disable RFS by setting $enable-rfs to false\n$enable-rfs: true !default;\n\n// Cache $rfs-base-value unit\n$rfs-base-value-unit: unit($rfs-base-value);\n\n@function divide($dividend, $divisor, $precision: 10) {\n $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);\n $dividend: abs($dividend);\n $divisor: abs($divisor);\n @if $dividend == 0 {\n @return 0;\n }\n @if $divisor == 0 {\n @error "Cannot divide by 0";\n }\n $remainder: $dividend;\n $result: 0;\n $factor: 10;\n @while ($remainder > 0 and $precision >= 0) {\n $quotient: 0;\n @while ($remainder >= $divisor) {\n $remainder: $remainder - $divisor;\n $quotient: $quotient + 1;\n }\n $result: $result * 10 + $quotient;\n $factor: $factor * .1;\n $remainder: $remainder * 10;\n $precision: $precision - 1;\n @if ($precision < 0 and $remainder >= $divisor * 5) {\n $result: $result + 1;\n }\n }\n $result: $result * $factor * $sign;\n $dividend-unit: unit($dividend);\n $divisor-unit: unit($divisor);\n $unit-map: (\n "px": 1px,\n "rem": 1rem,\n "em": 1em,\n "%": 1%\n );\n @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {\n $result: $result * map-get($unit-map, $dividend-unit);\n }\n @return $result;\n}\n\n// Remove px-unit from $rfs-base-value for calculations\n@if $rfs-base-value-unit == px {\n $rfs-base-value: divide($rfs-base-value, $rfs-base-value * 0 + 1);\n}\n@else if $rfs-base-value-unit == rem {\n $rfs-base-value: divide($rfs-base-value, divide($rfs-base-value * 0 + 1, $rfs-rem-value));\n}\n\n// Cache $rfs-breakpoint unit to prevent multiple calls\n$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);\n\n// Remove unit from $rfs-breakpoint for calculations\n@if $rfs-breakpoint-unit-cache == px {\n $rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);\n}\n@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == "em" {\n $rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));\n}\n\n// Calculate the media query value\n$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});\n$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width);\n$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height);\n\n// Internal mixin used to determine which media query needs to be used\n@mixin _rfs-media-query {\n @if $rfs-two-dimensional {\n @if $rfs-mode == max-media-query {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {\n @content;\n }\n }\n}\n\n// Internal mixin that adds disable classes to the selector if needed.\n@mixin _rfs-rule {\n @if $rfs-class == disable and $rfs-mode == max-media-query {\n // Adding an extra class increases specificity, which prevents the media query to override the property\n &,\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @else if $rfs-class == enable and $rfs-mode == min-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Internal mixin that adds enable classes to the selector if needed.\n@mixin _rfs-media-query-rule {\n\n @if $rfs-class == enable {\n @if $rfs-mode == min-media-query {\n @content;\n }\n\n @include _rfs-media-query () {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n }\n @else {\n @if $rfs-class == disable and $rfs-mode == min-media-query {\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @include _rfs-media-query () {\n @content;\n }\n }\n}\n\n// Helper function to get the formatted non-responsive value\n@function rfs-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: "";\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + " 0";\n }\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == "number", unit($value), false);\n\n @if $unit == px {\n // Convert to rem if needed\n $val: $val + " " + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);\n }\n @else if $unit == rem {\n // Convert to px if needed\n $val: $val + " " + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);\n } @else {\n // If $value isn\'t a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n $val: $val + " " + $value;\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// Helper function to get the responsive value calculated by RFS\n@function rfs-fluid-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: "";\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + " 0";\n } @else {\n // Cache $value unit\n $unit: if(type-of($value) == "number", unit($value), false);\n\n // If $value isn\'t a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n @if not $unit or $unit != px and $unit != rem {\n $val: $val + " " + $value;\n } @else {\n // Remove unit from $value for calculations\n $value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));\n\n // Only add the media query if the value is greater than the minimum value\n @if abs($value) <= $rfs-base-value or not $enable-rfs {\n $val: $val + " " + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);\n }\n @else {\n // Calculate the minimum value\n $value-min: $rfs-base-value + divide(abs($value) - $rfs-base-value, $rfs-factor);\n\n // Calculate difference between $value and the minimum value\n $value-diff: abs($value) - $value-min;\n\n // Base value formatting\n $min-width: if($rfs-unit == rem, #{divide($value-min, $rfs-rem-value)}rem, #{$value-min}px);\n\n // Use negative value if needed\n $min-width: if($value < 0, -$min-width, $min-width);\n\n // Use `vmin` if two-dimensional is enabled\n $variable-unit: if($rfs-two-dimensional, vmin, vw);\n\n // Calculate the variable width between 0 and $rfs-breakpoint\n $variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};\n\n // Return the calculated value\n $val: $val + " calc(" + $min-width + if($value < 0, " - ", " + ") + $variable-width + ")";\n }\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// RFS mixin\n@mixin rfs($values, $property: font-size) {\n @if $values != null {\n $val: rfs-value($values);\n $fluid-val: rfs-fluid-value($values);\n\n // Do not print the media query if responsive & non-responsive values are the same\n @if $val == $fluid-val {\n #{$property}: $val;\n }\n @else {\n @include _rfs-rule () {\n #{$property}: if($rfs-mode == max-media-query, $val, $fluid-val);\n\n // Include safari iframe resize fix if needed\n min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);\n }\n\n @include _rfs-media-query-rule () {\n #{$property}: if($rfs-mode == max-media-query, $fluid-val, $val);\n }\n }\n }\n}\n\n// Shorthand helper mixins\n@mixin font-size($value) {\n @include rfs($value);\n}\n\n@mixin padding($value) {\n @include rfs($value, padding);\n}\n\n@mixin padding-top($value) {\n @include rfs($value, padding-top);\n}\n\n@mixin padding-right($value) {\n @include rfs($value, padding-right);\n}\n\n@mixin padding-bottom($value) {\n @include rfs($value, padding-bottom);\n}\n\n@mixin padding-left($value) {\n @include rfs($value, padding-left);\n}\n\n@mixin margin($value) {\n @include rfs($value, margin);\n}\n\n@mixin margin-top($value) {\n @include rfs($value, margin-top);\n}\n\n@mixin margin-right($value) {\n @include rfs($value, margin-right);\n}\n\n@mixin margin-bottom($value) {\n @include rfs($value, margin-bottom);\n}\n\n@mixin margin-left($value) {\n @include rfs($value, margin-left);\n}'; diff --git a/vue/docs/assets/accessibility.html-BI4xofDT.js b/vue/docs/assets/accessibility.html-BI4xofDT.js new file mode 100644 index 00000000000..ec95a09d0cc --- /dev/null +++ b/vue/docs/assets/accessibility.html-BI4xofDT.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue provides an easy-to-use framework of ready-made styles, layout tools, and interactive components, allowing developers to create websites and applications that are visually appealing, functionally rich, and accessible out of the box.

Overview and limitations #

The overall accessibility of any project built with CoreUI for Vue depends in large part on the author's markup, additional styling, and scripting they've included. However, provided that these have been implemented correctly, it should be perfectly possible to create websites and applications with CoreUI for Vue that fulfill WCAG 2.1 (A/AA/AAA), Section 508, and similar accessibility standards and requirements.

Structural markup #

CoreUI for Vue styling and layout can be applied to a wide range of markup structures. This documentation aims to provide developers with best practice examples to demonstrate the use of CoreUI for Vue itself and illustrate appropriate semantic markup, including ways in which potential accessibility concerns can be addressed.

Interactive components #

CoreUI for Vue interactive components—such as modal dialogs, dropdown menus, and custom tooltips—are designed to work for touch, mouse, and keyboard users. Through the use of relevant WAI-ARIA roles and attributes, these components should also be understandable and operable using assistive technologies (such as screen readers).

Because CoreUI for Vue components are purposely designed to be fairly generic, authors may need to include further ARIA roles and attributes, as well as JavaScript behavior, to more accurately convey the precise nature and functionality of their component. This is usually noted in the documentation.

Color contrast #

Some combinations of colors that currently make up CoreUI for Vue default palette—used throughout the framework for things such as button variations, alert variations, form validation indicators—may lead to insufficient color contrast (below the recommended WCAG 2.1 text color contrast ratio of 4.5:1 and the WCAG 2.1 non-text color contrast ratio of 3:1), particularly when used against a light background. Authors are encouraged to test their specific uses of color and, where necessary, manually modify/extend these default colors to ensure adequate color contrast ratios.

Visually hidden content #

Content which should be visually hidden, but remain accessible to assistive technologies such as screen readers, can be styled using the .visually-hidden class. This can be useful in situations where additional visual information or cues (such as meaning denoted through the use of color) need to also be conveyed to non-visual users.

<p class="text-danger">\n  <span class="visually-hidden">Danger: </span>\n  This action is not reversible\n</p>\n

For visually hidden interactive controls, such as traditional "skip" links, use the .visually-hidden-focusable class. This will ensure that the control becomes visible once focused (for sighted keyboard users). Watch out, compared to the equivalent .sr-only and .sr-only-focusable classes in past versions, CoreUI's .visually-hidden-focusable is a standalone class, and must not be used in combination with the .visually-hidden class.

<a class="visually-hidden-focusable" href="#content">Skip to main content</a>\n

Reduced motion #

CoreUI for Vue includes support for the prefers-reduced-motion media feature. In browsers/environments that allow the user to specify their preference for reduced motion, most CSS transition effects in CoreUI for Vue (for instance, when a modal dialog is opened or closed, or the sliding animation in carousels) will be disabled, and meaningful animations (such as spinners) will be slowed down.

On browsers that support prefers-reduced-motion, and where the user has not explicitly signaled that they'd prefer reduced motion (i.e. where prefers-reduced-motion: no-preference), CoreUI for Vue enables smooth scrolling using the scroll-behavior property.

Additional resources #

', 20); +const _hoisted_21 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_21); +} +const accessibility_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "accessibility.html.vue"]]); +const data = JSON.parse('{"path":"/getting-started/accessibility.html","title":"Accessibility","lang":"en-US","frontmatter":{"title":"Accessibility","name":"Accessibility","description":"A brief overview of CoreUI for Vue features and limitations for the creation of accessible content.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/getting-started/accessibility.html"}]]},"headers":[{"level":2,"title":"Overview and limitations","slug":"overview-and-limitations","link":"#overview-and-limitations","children":[{"level":3,"title":"Structural markup","slug":"structural-markup","link":"#structural-markup","children":[]},{"level":3,"title":"Interactive components","slug":"interactive-components","link":"#interactive-components","children":[]},{"level":3,"title":"Color contrast","slug":"color-contrast","link":"#color-contrast","children":[]},{"level":3,"title":"Visually hidden content","slug":"visually-hidden-content","link":"#visually-hidden-content","children":[]},{"level":3,"title":"Reduced motion","slug":"reduced-motion","link":"#reduced-motion","children":[]}]},{"level":2,"title":"Additional resources","slug":"additional-resources","link":"#additional-resources","children":[]}],"filePathRelative":"getting-started/accessibility.md"}'); +export { + accessibility_html as comp, + data +}; diff --git a/vue/docs/assets/accessibility.html-CkVUBrW4.js b/vue/docs/assets/accessibility.html-CkVUBrW4.js deleted file mode 100644 index d397f02e04a..00000000000 --- a/vue/docs/assets/accessibility.html-CkVUBrW4.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue provides an easy-to-use framework of ready-made styles, layout tools, and interactive components, allowing developers to create websites and applications that are visually appealing, functionally rich, and accessible out of the box.

Overview and limitations

The overall accessibility of any project built with CoreUI for Vue depends in large part on the author's markup, additional styling, and scripting they've included. However, provided that these have been implemented correctly, it should be perfectly possible to create websites and applications with CoreUI for Vue that fulfill WCAG 2.1 (A/AA/AAA), Section 508, and similar accessibility standards and requirements.

Structural markup

CoreUI for Vue styling and layout can be applied to a wide range of markup structures. This documentation aims to provide developers with best practice examples to demonstrate the use of CoreUI for Vue itself and illustrate appropriate semantic markup, including ways in which potential accessibility concerns can be addressed.

Interactive components

CoreUI for Vue interactive components—such as modal dialogs, dropdown menus, and custom tooltips—are designed to work for touch, mouse, and keyboard users. Through the use of relevant WAI-ARIA roles and attributes, these components should also be understandable and operable using assistive technologies (such as screen readers).

Because CoreUI for Vue components are purposely designed to be fairly generic, authors may need to include further ARIA roles and attributes, as well as JavaScript behavior, to more accurately convey the precise nature and functionality of their component. This is usually noted in the documentation.

Color contrast

Some combinations of colors that currently make up CoreUI for Vue default palette—used throughout the framework for things such as button variations, alert variations, form validation indicators—may lead to insufficient color contrast (below the recommended WCAG 2.1 text color contrast ratio of 4.5:1 and the WCAG 2.1 non-text color contrast ratio of 3:1), particularly when used against a light background. Authors are encouraged to test their specific uses of color and, where necessary, manually modify/extend these default colors to ensure adequate color contrast ratios.

Visually hidden content

Content which should be visually hidden, but remain accessible to assistive technologies such as screen readers, can be styled using the .visually-hidden class. This can be useful in situations where additional visual information or cues (such as meaning denoted through the use of color) need to also be conveyed to non-visual users.

<p class="text-danger">\n  <span class="visually-hidden">Danger: </span>\n  This action is not reversible\n</p>\n

For visually hidden interactive controls, such as traditional "skip" links, use the .visually-hidden-focusable class. This will ensure that the control becomes visible once focused (for sighted keyboard users). Watch out, compared to the equivalent .sr-only and .sr-only-focusable classes in past versions, CoreUI's .visually-hidden-focusable is a standalone class, and must not be used in combination with the .visually-hidden class.

<a class="visually-hidden-focusable" href="#content">Skip to main content</a>\n

Reduced motion

CoreUI for Vue includes support for the prefers-reduced-motion media feature. In browsers/environments that allow the user to specify their preference for reduced motion, most CSS transition effects in CoreUI for Vue (for instance, when a modal dialog is opened or closed, or the sliding animation in carousels) will be disabled, and meaningful animations (such as spinners) will be slowed down.

On browsers that support prefers-reduced-motion, and where the user has not explicitly signaled that they'd prefer reduced motion (i.e. where prefers-reduced-motion: no-preference), CoreUI for Vue enables smooth scrolling using the scroll-behavior property.

Additional resources

', 20); -const _hoisted_21 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_21); -} -const accessibility_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "accessibility.html.vue"]]); -const data = JSON.parse('{"path":"/getting-started/accessibility.html","title":"Accessibility","lang":"en-US","frontmatter":{"title":"Accessibility","name":"Accessibility","description":"A brief overview of CoreUI for Vue features and limitations for the creation of accessible content.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/getting-started/accessibility.html"}]]},"headers":[{"level":2,"title":"Overview and limitations","slug":"overview-and-limitations","link":"#overview-and-limitations","children":[{"level":3,"title":"Structural markup","slug":"structural-markup","link":"#structural-markup","children":[]},{"level":3,"title":"Interactive components","slug":"interactive-components","link":"#interactive-components","children":[]},{"level":3,"title":"Color contrast","slug":"color-contrast","link":"#color-contrast","children":[]},{"level":3,"title":"Visually hidden content","slug":"visually-hidden-content","link":"#visually-hidden-content","children":[]},{"level":3,"title":"Reduced motion","slug":"reduced-motion","link":"#reduced-motion","children":[]}]},{"level":2,"title":"Additional resources","slug":"additional-resources","link":"#additional-resources","children":[]}],"filePathRelative":"getting-started/accessibility.md"}'); -export { - accessibility_html as comp, - data -}; diff --git a/vue/docs/assets/accordion.html-DPn8cCyj.js b/vue/docs/assets/accordion.html-1-bBbpuj.js similarity index 87% rename from vue/docs/assets/accordion.html-DPn8cCyj.js rename to vue/docs/assets/accordion.html-1-bBbpuj.js index 8763431c554..b24006bdc84 100644 --- a/vue/docs/assets/accordion.html-DPn8cCyj.js +++ b/vue/docs/assets/accordion.html-1-bBbpuj.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "examples", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Click the accordions below to expand/collapse the accordion content.", -1); @@ -19,7 +18,7 @@ const _hoisted_6 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the const _hoisted_7 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); const _hoisted_8 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the third item's accordion body.", -1); const _hoisted_9 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CAccordion>\n  <CAccordionItem :item-key="1">\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="2">\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="3">\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Flush

Add flush to remove the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.

', 3); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CAccordion>\n  <CAccordionItem :item-key="1">\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="2">\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="3">\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Flush #

Add flush to remove the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.

', 3); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; const _hoisted_14 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the first item's accordion body.", -1); const _hoisted_15 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); @@ -27,7 +26,7 @@ const _hoisted_16 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the const _hoisted_17 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); const _hoisted_18 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the third item's accordion body.", -1); const _hoisted_19 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CAccordion flush>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Always open

Add always-open property to make accordion items stay open when another item is opened.

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CAccordion flush>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem>\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Always open #

Add always-open property to make accordion items stay open when another item is opened.

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; const _hoisted_24 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the first item's accordion body.", -1); const _hoisted_25 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); @@ -35,9 +34,9 @@ const _hoisted_26 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the const _hoisted_27 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); const _hoisted_28 = /* @__PURE__ */ createBaseVNode("strong", null, "This is the third item's accordion body.", -1); const _hoisted_29 = /* @__PURE__ */ createBaseVNode("code", null, ".accordion-body", -1); -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CAccordion :active-item-key="2" always-open>\n  <CAccordionItem :item-key="1">\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="2">\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="3">\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Customizing

CSS variables

Vue accordions use local CSS variables on .accordion for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CAccordion :style="vars">...</CAccordion>\n

SASS variables

', 3); -const _hoisted_37 = /* @__PURE__ */ createStaticVNode('

API

CAccordion

import { CAccordion } from '@coreui/vue'\n// or\nimport CAccordion from '@coreui/vue/src/components/accordion/CAccordion'\n

Props

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--
always-openMake accordion items stay open when another item is openedboolean--
flushRemoves the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.boolean--

CAccordionHeader

import { CAccordionHeader } from '@coreui/vue'\n// or\nimport CAccordionHeader from '@coreui/vue/src/components/accordion/CAccordionHeader'\n

CAccordionBody

import { CAccordionBody } from '@coreui/vue'\n// or\nimport CAccordionBody from '@coreui/vue/src/components/accordion/CAccordionBody'\n
', 9); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CAccordion :active-item-key="2" always-open>\n  <CAccordionItem :item-key="1">\n    <CAccordionHeader>\n      Accordion Item #1\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the first item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="2">\n    <CAccordionHeader>\n      Accordion Item #2\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the second item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n  <CAccordionItem :item-key="3">\n    <CAccordionHeader>\n      Accordion Item #3\n    </CAccordionHeader>\n    <CAccordionBody>\n      <strong>This is the third item's accordion body.</strong> It is hidden by default,\n      until the collapse plugin adds the appropriate classes that we use to style each\n      element. These classes control the overall appearance, as well as the showing and\n      hiding via CSS transitions. You can modify any of this with custom CSS or overriding\n      our default variables. It's also worth noting that just about any HTML can go within\n      the <code>.accordion-body</code>, though the transition does limit overflow.\n    </CAccordionBody>\n  </CAccordionItem>\n</CAccordion>\n

Customizing #

CSS variables #

Vue accordions use local CSS variables on .accordion for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CAccordion :style="vars">...</CAccordion>\n

SASS variables #

', 3); +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('

API #

CAccordion #

import { CAccordion } from '@coreui/vue'\n// or\nimport CAccordion from '@coreui/vue/src/components/accordion/CAccordion'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--
always-openMake accordion items stay open when another item is openedboolean--
flushRemoves the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.boolean--

CAccordionHeader #

import { CAccordionHeader } from '@coreui/vue'\n// or\nimport CAccordionHeader from '@coreui/vue/src/components/accordion/CAccordionHeader'\n

CAccordionBody #

import { CAccordionBody } from '@coreui/vue'\n// or\nimport CAccordionBody from '@coreui/vue/src/components/accordion/CAccordionBody'\n
', 9); function _sfc_render(_ctx, _cache) { const _component_CAccordionHeader = resolveComponent("CAccordionHeader"); const _component_CAccordionBody = resolveComponent("CAccordionBody"); diff --git a/vue/docs/assets/admin-dashboard.html-DU-BWvUG.js b/vue/docs/assets/admin-dashboard.html-CseRtZFD.js similarity index 98% rename from vue/docs/assets/admin-dashboard.html-DU-BWvUG.js rename to vue/docs/assets/admin-dashboard.html-CseRtZFD.js index 475034511e1..71393ce01af 100644 --- a/vue/docs/assets/admin-dashboard.html-DU-BWvUG.js +++ b/vue/docs/assets/admin-dashboard.html-CseRtZFD.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createVNode, d as withCtx, e as createBaseVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, d as createVNode, e as withCtx, b as createBaseVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "vue-admin-dashboard-templates", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Vue Admin & Dashboard Templates "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#vue-admin-dashboard-templates", - "aria-hidden": "true" + href: "#vue-admin-dashboard-templates" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Check out the fully-featured, ready-to-use admin dashboard templates built using CoreUI for Vue.js, and CoreUI PRO for Vue.js", -1); diff --git a/vue/docs/assets/alert.html-Aeh8K-Wf.js b/vue/docs/assets/alert.html-Aeh8K-Wf.js new file mode 100644 index 00000000000..87d535d7ff3 --- /dev/null +++ b/vue/docs/assets/alert.html-Aeh8K-Wf.js @@ -0,0 +1,486 @@ +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = { + __name: "alert.html", + setup(__props, { expose: __expose }) { + __expose(); + const liveExampleVisible = ref(false); + const message = () => { + alert("👋 Well, hi there! Thanks for dismissing me."); + }; + const __returned__ = { liveExampleVisible, message, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { + id: "examples", + tabindex: "-1" +}, [ + /* @__PURE__ */ createTextVNode("Examples "), + /* @__PURE__ */ createBaseVNode("a", { + class: "anchor-link", + href: "#examples" + }, "#") +], -1); +const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ + /* @__PURE__ */ createTextVNode("Vue Alert is prepared for any length of text, as well as an optional close button. For a styling, use one of the "), + /* @__PURE__ */ createBaseVNode("strong", null, "required"), + /* @__PURE__ */ createTextVNode(" contextual "), + /* @__PURE__ */ createBaseVNode("code", null, "color"), + /* @__PURE__ */ createTextVNode(" props (e.g., "), + /* @__PURE__ */ createBaseVNode("code", null, "primary"), + /* @__PURE__ */ createTextVNode("). For inline dismissal, use the "), + /* @__PURE__ */ createBaseVNode("a", { href: "#dismissing" }, "dismissing prop"), + /* @__PURE__ */ createTextVNode(".") +], -1); +const _hoisted_3 = { class: "docs-example rounded-top p-4" }; +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary">A simple primary alert—check it out!</CAlert>\n<CAlert color="secondary">A simple secondary alert—check it out!</CAlert>\n<CAlert color="success">A simple success alert—check it out!</CAlert>\n<CAlert color="danger">A simple danger alert—check it out!</CAlert>\n<CAlert color="warning">A simple warning alert—check it out!</CAlert>\n<CAlert color="info">A simple info alert—check it out!</CAlert>\n<CAlert color="light">A simple light alert—check it out!</CAlert>\n<CAlert color="dark">A simple dark alert—check it out!</CAlert>\n

Live example #

Click the button below to show an alert (hidden with inline styles to start), then dismiss (and destroy) it with the built-in close button.

', 3); +const _hoisted_7 = { class: "docs-example rounded-top p-4" }; +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const liveExampleVisible = ref(false)\n</script>\n<template>\n  <CAlert color="primary" :visible="liveExampleVisible" dismissible @close="() => { liveExampleVisible = false }">A simple primary alert—check it out!</CAlert>\n  <CButton color="primary" @click="() => { liveExampleVisible = true }">Show live alert</CButton>\n</template>\n

Use the <CAlertLink> component to immediately give matching colored links inside any alert.

', 3); +const _hoisted_11 = { class: "docs-example rounded-top p-4" }; +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary">\n  A simple primary alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="secondary">\n  A simple secondary alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="success">\n  A simple success alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="danger">\n  A simple danger alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="warning">\n  A simple warning alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="info">\n  A simple info alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="light">\n  A simple light alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="dark">\n  A simple dark alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n

Additional content #

Alert can also incorporate supplementary HTML elements like heading, paragraph, and divider.

', 3); +const _hoisted_15 = { class: "docs-example rounded-top p-4" }; +const _hoisted_16 = /* @__PURE__ */ createBaseVNode("p", null, "Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.", -1); +const _hoisted_17 = /* @__PURE__ */ createBaseVNode("hr", null, null, -1); +const _hoisted_18 = /* @__PURE__ */ createBaseVNode("p", { class: "mb-0" }, "Whenever you need to, be sure to use margin utilities to keep things nice and tidy.", -1); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CAlert color="success" v-bind:visible="true">\n  <CAlertHeading>Well done!</CAlertHeading>\n  <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>\n  <hr />\n  <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>\n</CAlert>\n

Icons #

Similarly, you can use flexbox utilities and CoreUI Icons to create alerts with icons. Depending on your icons and content, you may want to add more utilities or custom styles.

', 3); +const _hoisted_22 = { class: "docs-example rounded-top p-4" }; +const _hoisted_23 = /* @__PURE__ */ createBaseVNode("svg", { + class: "flex-shrink-0 me-2", + width: "24", + height: "24", + viewBox: "0 0 512 512" +}, [ + /* @__PURE__ */ createBaseVNode("rect", { + width: "32", + height: "176", + x: "240", + y: "176", + fill: "var(--ci-primary-color, currentColor)", + class: "ci-primary" + }), + /* @__PURE__ */ createBaseVNode("rect", { + width: "32", + height: "32", + x: "240", + y: "384", + fill: "var(--ci-primary-color, currentColor)", + class: "ci-primary" + }), + /* @__PURE__ */ createBaseVNode("path", { + fill: "var(--ci-primary-color, currentColor)", + d: "M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z", + class: "ci-primary" + }) +], -1); +const _hoisted_24 = /* @__PURE__ */ createBaseVNode("div", null, " An example alert with an icon ", -1); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" class="d-flex align-items-center">\n  <svg class="flex-shrink-0 me-2" width="24" height="24" viewBox="0 0 512 512">\n    <rect width="32" height="176" x="240" y="176" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="384" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z" class="ci-primary"></path>\n  </svg>\n  <div>\n    An example alert with an icon\n  </div>\n</CAlert>\n

Need more than one icon for your alerts? Consider using CoreUI Icons.

', 2); +const _hoisted_27 = { class: "docs-example rounded-top p-4" }; +const _hoisted_28 = /* @__PURE__ */ createBaseVNode("div", null, " An example alert with an icon ", -1); +const _hoisted_29 = /* @__PURE__ */ createBaseVNode("div", null, " An example success alert with an icon ", -1); +const _hoisted_30 = /* @__PURE__ */ createBaseVNode("div", null, " An example warning alert with an icon ", -1); +const _hoisted_31 = /* @__PURE__ */ createBaseVNode("div", null, " An example danger alert with an icon ", -1); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" class="d-flex align-items-center">\n  <CIcon icon="cil-info" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example alert with an icon\n  </div>\n</CAlert>\n<CAlert color="success" class="d-flex align-items-center">\n  <CIcon icon="cil-check-circle" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example success alert with an icon\n  </div>\n</CAlert>\n<CAlert color="warning" class="d-flex align-items-center">\n  <CIcon icon="cil-warning" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example warning alert with an icon\n  </div>\n</CAlert>\n<CAlert color="danger" class="d-flex align-items-center">\n  <CIcon icon="cil-burn" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example danger alert with an icon\n  </div>\n</CAlert>\n

Solid #

Use variant="solid" to change contextual colors to solid.

', 3); +const _hoisted_35 = { class: "docs-example rounded-top p-4" }; +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" variant="solid">A simple solid primary alert—check it out!</CAlert>\n<CAlert color="secondary" variant="solid">A simple solid secondary alert—check it out!</CAlert>\n<CAlert color="success" variant="solid">A simple solid success alert—check it out!</CAlert>\n<CAlert color="danger" variant="solid">A simple solid danger alert—check it out!</CAlert>\n<CAlert color="warning" variant="solid">A simple solid warning alert—check it out!</CAlert>\n<CAlert color="info" variant="solid">A simple solid info alert—check it out!</CAlert>\n<CAlert color="light" variant="solid" class="text-high-emphasis">A simple solid light alert—check it out!</CAlert>\n<CAlert color="dark" variant="solid">A simple solid dark alert—check it out!</CAlert>\n

Dismissing #

Alerts can also be easily dismissed. Just add the dismissible prop.

', 3); +const _hoisted_39 = { class: "docs-example rounded-top p-4" }; +const _hoisted_40 = /* @__PURE__ */ createBaseVNode("strong", null, "Go right ahead", -1); +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const message = () => {\n    alert("👋 Well, hi there! Thanks for dismissing me.")\n  }\n</script>\n<template>\n  <CAlert color="warning" dismissible @close="message">\n    <strong>Go right ahead</strong> and click that dimiss over there on the right.\n  </CAlert>\n</template>\n

Customizing #

CSS variables #

Vue alerts use local CSS variables on .alert for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = {\n  '--my-css-var': 10,\n  '--my-another-css-var': "red"\n}\nreturn <CAlert :style="vars">...</CAlert>\n

SASS variables #

', 3); +const _hoisted_48 = /* @__PURE__ */ createStaticVNode('

API #

CAlert #

import { CAlert } from '@coreui/vue'\n// or\nimport CAlert from '@coreui/vue/src/components/alert/CAlert'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
dismissibleOptionally add a close button to alert and allow it to self dismisss.boolean--
variantSet the alert variant to a solid.string'solid'-
visibleToggle the visibility of alert component.boolean-true

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.

CAlertHeading #

import { CAlertHeading } from '@coreui/vue'\n// or\nimport CAlertHeading from '@coreui/vue/src/components/alert/CAlertHeading'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h4'
', 11); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CAlert = resolveComponent("CAlert"); + const _component_CButton = resolveComponent("CButton"); + const _component_CAlertLink = resolveComponent("CAlertLink"); + const _component_CAlertHeading = resolveComponent("CAlertHeading"); + const _component_CIcon = resolveComponent("CIcon"); + const _component_ScssDocs = resolveComponent("ScssDocs"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + _hoisted_2, + createBaseVNode("div", _hoisted_3, [ + createVNode(_component_CAlert, { color: "primary" }, { + default: withCtx(() => [ + createTextVNode("A simple primary alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "secondary" }, { + default: withCtx(() => [ + createTextVNode("A simple secondary alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "success" }, { + default: withCtx(() => [ + createTextVNode("A simple success alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "danger" }, { + default: withCtx(() => [ + createTextVNode("A simple danger alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "warning" }, { + default: withCtx(() => [ + createTextVNode("A simple warning alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "info" }, { + default: withCtx(() => [ + createTextVNode("A simple info alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "light" }, { + default: withCtx(() => [ + createTextVNode("A simple light alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "dark" }, { + default: withCtx(() => [ + createTextVNode("A simple dark alert—check it out!") + ]), + _: 1 + }) + ]), + _hoisted_4, + createBaseVNode("div", _hoisted_7, [ + createVNode(_component_CAlert, { + color: "primary", + visible: $setup.liveExampleVisible, + dismissible: "", + onClose: _cache[0] || (_cache[0] = () => { + $setup.liveExampleVisible = false; + }) + }, { + default: withCtx(() => [ + createTextVNode("A simple primary alert—check it out!") + ]), + _: 1 + }, 8, ["visible"]), + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[1] || (_cache[1] = () => { + $setup.liveExampleVisible = true; + }) + }, { + default: withCtx(() => [ + createTextVNode("Show live alert") + ]), + _: 1 + }) + ]), + _hoisted_8, + createBaseVNode("div", _hoisted_11, [ + createVNode(_component_CAlert, { color: "primary" }, { + default: withCtx(() => [ + createTextVNode(" A simple primary alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "secondary" }, { + default: withCtx(() => [ + createTextVNode(" A simple secondary alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "success" }, { + default: withCtx(() => [ + createTextVNode(" A simple success alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "danger" }, { + default: withCtx(() => [ + createTextVNode(" A simple danger alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "warning" }, { + default: withCtx(() => [ + createTextVNode(" A simple warning alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "info" }, { + default: withCtx(() => [ + createTextVNode(" A simple info alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "light" }, { + default: withCtx(() => [ + createTextVNode(" A simple light alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }), + createVNode(_component_CAlert, { color: "dark" }, { + default: withCtx(() => [ + createTextVNode(" A simple dark alert with "), + createVNode(_component_CAlertLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("an example link") + ]), + _: 1 + }), + createTextVNode(". Give it a click if you like. ") + ]), + _: 1 + }) + ]), + _hoisted_12, + createBaseVNode("div", _hoisted_15, [ + createVNode(_component_CAlert, { color: "success" }, { + default: withCtx(() => [ + createVNode(_component_CAlertHeading, null, { + default: withCtx(() => [ + createTextVNode("Well done!") + ]), + _: 1 + }), + _hoisted_16, + _hoisted_17, + _hoisted_18 + ]), + _: 1 + }) + ]), + _hoisted_19, + createBaseVNode("div", _hoisted_22, [ + createVNode(_component_CAlert, { + color: "primary", + class: "d-flex align-items-center" + }, { + default: withCtx(() => [ + _hoisted_23, + _hoisted_24 + ]), + _: 1 + }) + ]), + _hoisted_25, + createBaseVNode("div", _hoisted_27, [ + createVNode(_component_CAlert, { + color: "primary", + class: "d-flex align-items-center" + }, { + default: withCtx(() => [ + createVNode(_component_CIcon, { + icon: "cil-info", + class: "flex-shrink-0 me-2", + width: "24", + height: "24" + }), + _hoisted_28 + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "success", + class: "d-flex align-items-center" + }, { + default: withCtx(() => [ + createVNode(_component_CIcon, { + icon: "cil-check-circle", + class: "flex-shrink-0 me-2", + width: "24", + height: "24" + }), + _hoisted_29 + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "warning", + class: "d-flex align-items-center" + }, { + default: withCtx(() => [ + createVNode(_component_CIcon, { + icon: "cil-warning", + class: "flex-shrink-0 me-2", + width: "24", + height: "24" + }), + _hoisted_30 + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "danger", + class: "d-flex align-items-center" + }, { + default: withCtx(() => [ + createVNode(_component_CIcon, { + icon: "cil-burn", + class: "flex-shrink-0 me-2", + width: "24", + height: "24" + }), + _hoisted_31 + ]), + _: 1 + }) + ]), + _hoisted_32, + createBaseVNode("div", _hoisted_35, [ + createVNode(_component_CAlert, { + color: "primary", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid primary alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "secondary", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid secondary alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "success", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid success alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "danger", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid danger alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "warning", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid warning alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "info", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid info alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "light", + variant: "solid", + class: "text-high-emphasis" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid light alert—check it out!") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + color: "dark", + variant: "solid" + }, { + default: withCtx(() => [ + createTextVNode("A simple solid dark alert—check it out!") + ]), + _: 1 + }) + ]), + _hoisted_36, + createBaseVNode("div", _hoisted_39, [ + createVNode(_component_CAlert, { + color: "warning", + dismissible: "", + onClose: $setup.message + }, { + default: withCtx(() => [ + _hoisted_40, + createTextVNode(" and click that dimiss over there on the right. ") + ]), + _: 1 + }) + ]), + _hoisted_41, + createVNode(_component_ScssDocs, { + file: "_alert.scss", + capture: "alert-css-vars" + }), + _hoisted_45, + createVNode(_component_ScssDocs, { + file: "_variables.scss", + capture: "alert-variables" + }), + _hoisted_48 + ]); +} +const alert_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "alert.html.vue"]]); +const data = JSON.parse('{"path":"/components/alert.html","title":"Vue Alert Component","lang":"en-US","frontmatter":{"title":"Vue Alert Component","name":"Alert","description":"Vue alert component gives contextual feedback information for common user operations. The alert component is delivered with a bunch of usable and adjustable alert messages.","other_frameworks":"alert","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/alert.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Live example","slug":"live-example","link":"#live-example","children":[]},{"level":3,"title":"Link color","slug":"link-color","link":"#link-color","children":[]},{"level":3,"title":"Additional content","slug":"additional-content","link":"#additional-content","children":[]},{"level":3,"title":"Icons","slug":"icons","link":"#icons","children":[]},{"level":3,"title":"Solid","slug":"solid","link":"#solid","children":[]},{"level":3,"title":"Dismissing","slug":"dismissing","link":"#dismissing","children":[]}]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]},{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]}]}],"filePathRelative":"components/alert.md"}'); +export { + alert_html as comp, + data +}; diff --git a/vue/docs/assets/alert.html-CDqS0NZ4.js b/vue/docs/assets/alert.html-CDqS0NZ4.js deleted file mode 100644 index b6d35c1d9f4..00000000000 --- a/vue/docs/assets/alert.html-CDqS0NZ4.js +++ /dev/null @@ -1,486 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = { - data() { - return { - liveExampleVisible: false - }; - }, - methods: { - alert() { - alert("👋 Well, hi there! Thanks for dismissing me."); - } - } -}; -const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { - id: "examples", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Examples "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#examples", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ - /* @__PURE__ */ createTextVNode("Vue Alert is prepared for any length of text, as well as an optional close button. For a styling, use one of the "), - /* @__PURE__ */ createBaseVNode("strong", null, "required"), - /* @__PURE__ */ createTextVNode(" contextual "), - /* @__PURE__ */ createBaseVNode("code", null, "color"), - /* @__PURE__ */ createTextVNode(" props (e.g., "), - /* @__PURE__ */ createBaseVNode("code", null, "primary"), - /* @__PURE__ */ createTextVNode("). For inline dismissal, use the "), - /* @__PURE__ */ createBaseVNode("a", { href: "#dismissing" }, "dismissing prop"), - /* @__PURE__ */ createTextVNode(".") -], -1); -const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary">A simple primary alert—check it out!</CAlert>\n<CAlert color="secondary">A simple secondary alert—check it out!</CAlert>\n<CAlert color="success">A simple success alert—check it out!</CAlert>\n<CAlert color="danger">A simple danger alert—check it out!</CAlert>\n<CAlert color="warning">A simple warning alert—check it out!</CAlert>\n<CAlert color="info">A simple info alert—check it out!</CAlert>\n<CAlert color="light">A simple light alert—check it out!</CAlert>\n<CAlert color="dark">A simple dark alert—check it out!</CAlert>\n

Live example

Click the button below to show an alert (hidden with inline styles to start), then dismiss (and destroy) it with the built-in close button.

', 3); -const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" :visible="liveExampleVisible" dismissible @close="() => { liveExampleVisible = false }">A simple primary alert—check it out!</CAlert>\n<CButton color="primary" @click="() => { liveExampleVisible = true }">Show live alert</CButton>\n

Use the <CAlertLink> component to immediately give matching colored links inside any alert.

', 3); -const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary">\n  A simple primary alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="secondary">\n  A simple secondary alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="success">\n  A simple success alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="danger">\n  A simple danger alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="warning">\n  A simple warning alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="info">\n  A simple info alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="light">\n  A simple light alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n<CAlert color="dark">\n  A simple dark alert with <CAlertLink href="#">an example link</CAlertLink>. Give it a click if you like.\n</CAlert>\n

Additional content

Alert can also incorporate supplementary HTML elements like heading, paragraph, and divider.

', 3); -const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createBaseVNode("p", null, "Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.", -1); -const _hoisted_17 = /* @__PURE__ */ createBaseVNode("hr", null, null, -1); -const _hoisted_18 = /* @__PURE__ */ createBaseVNode("p", { class: "mb-0" }, "Whenever you need to, be sure to use margin utilities to keep things nice and tidy.", -1); -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CAlert color="success" v-bind:visible="true">\n  <CAlertHeading>Well done!</CAlertHeading>\n  <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>\n  <hr />\n  <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>\n</CAlert>\n

Icons

Similarly, you can use flexbox utilities and CoreUI Icons to create alerts with icons. Depending on your icons and content, you may want to add more utilities or custom styles.

', 3); -const _hoisted_22 = { class: "docs-example rounded-top p-4" }; -const _hoisted_23 = /* @__PURE__ */ createBaseVNode("svg", { - class: "flex-shrink-0 me-2", - width: "24", - height: "24", - viewBox: "0 0 512 512" -}, [ - /* @__PURE__ */ createBaseVNode("rect", { - width: "32", - height: "176", - x: "240", - y: "176", - fill: "var(--ci-primary-color, currentColor)", - class: "ci-primary" - }), - /* @__PURE__ */ createBaseVNode("rect", { - width: "32", - height: "32", - x: "240", - y: "384", - fill: "var(--ci-primary-color, currentColor)", - class: "ci-primary" - }), - /* @__PURE__ */ createBaseVNode("path", { - fill: "var(--ci-primary-color, currentColor)", - d: "M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z", - class: "ci-primary" - }) -], -1); -const _hoisted_24 = /* @__PURE__ */ createBaseVNode("div", null, " An example alert with an icon ", -1); -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" class="d-flex align-items-center">\n  <svg class="flex-shrink-0 me-2" width="24" height="24" viewBox="0 0 512 512">\n    <rect width="32" height="176" x="240" y="176" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><rect width="32" height="32" x="240" y="384" fill="var(--ci-primary-color, currentColor)" class="ci-primary"></rect><path fill="var(--ci-primary-color, currentColor)" d="M274.014,16H237.986L16,445.174V496H496V445.174ZM464,464H48V452.959L256,50.826,464,452.959Z" class="ci-primary"></path>\n  </svg>\n  <div>\n    An example alert with an icon\n  </div>\n</CAlert>\n

Need more than one icon for your alerts? Consider using CoreUI Icons.

', 2); -const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createBaseVNode("div", null, " An example alert with an icon ", -1); -const _hoisted_29 = /* @__PURE__ */ createBaseVNode("div", null, " An example success alert with an icon ", -1); -const _hoisted_30 = /* @__PURE__ */ createBaseVNode("div", null, " An example warning alert with an icon ", -1); -const _hoisted_31 = /* @__PURE__ */ createBaseVNode("div", null, " An example danger alert with an icon ", -1); -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" class="d-flex align-items-center">\n  <CIcon icon="cil-info" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example alert with an icon\n  </div>\n</CAlert>\n<CAlert color="success" class="d-flex align-items-center">\n  <CIcon icon="cil-check-circle" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example success alert with an icon\n  </div>\n</CAlert>\n<CAlert color="warning" class="d-flex align-items-center">\n  <CIcon icon="cil-warning" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example warning alert with an icon\n  </div>\n</CAlert>\n<CAlert color="danger" class="d-flex align-items-center">\n  <CIcon icon="cil-burn" class="flex-shrink-0 me-2" width="24" height="24" />\n  <div>\n    An example danger alert with an icon\n  </div>\n</CAlert>\n

Solid

Use variant="solid" to change contextual colors to solid.

', 3); -const _hoisted_35 = { class: "docs-example rounded-top p-4" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CAlert color="primary" variant="solid">A simple solid primary alert—check it out!</CAlert>\n<CAlert color="secondary" variant="solid">A simple solid secondary alert—check it out!</CAlert>\n<CAlert color="success" variant="solid">A simple solid success alert—check it out!</CAlert>\n<CAlert color="danger" variant="solid">A simple solid danger alert—check it out!</CAlert>\n<CAlert color="warning" variant="solid">A simple solid warning alert—check it out!</CAlert>\n<CAlert color="info" variant="solid">A simple solid info alert—check it out!</CAlert>\n<CAlert color="light" variant="solid" class="text-high-emphasis">A simple solid light alert—check it out!</CAlert>\n<CAlert color="dark" variant="solid">A simple solid dark alert—check it out!</CAlert>\n

Dismissing

Alerts can also be easily dismissed. Just add the dismissible prop.

', 3); -const _hoisted_39 = { class: "docs-example rounded-top p-4" }; -const _hoisted_40 = /* @__PURE__ */ createBaseVNode("strong", null, "Go right ahead", -1); -const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CAlert color="warning" dismissible @close="alert">\n  <strong>Go right ahead</strong> and click that dimiss over there on the right.\n</CAlert>\n\n<script>\n  export default {\n    methods: {\n      alert () {\n        alert("👋 Well, hi there! Thanks for dismissing me.")\n      },\n    }\n  }\n</script>\n

Customizing

CSS variables

Vue alerts use local CSS variables on .alert for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CAlert :style="vars">...</CAlert>\n

SASS variables

', 3); -const _hoisted_48 = /* @__PURE__ */ createStaticVNode('

API

CAlert

import { CAlert } from '@coreui/vue'\n// or\nimport CAlert from '@coreui/vue/src/components/alert/CAlert'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
dismissibleOptionally add a close button to alert and allow it to self dismisss.boolean--
variantSet the alert variant to a solid.string'solid'-
visibleToggle the visibility of alert component.boolean-true

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.

CAlertHeading

import { CAlertHeading } from '@coreui/vue'\n// or\nimport CAlertHeading from '@coreui/vue/src/components/alert/CAlertHeading'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h4'
', 11); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CAlert = resolveComponent("CAlert"); - const _component_CButton = resolveComponent("CButton"); - const _component_CAlertLink = resolveComponent("CAlertLink"); - const _component_CAlertHeading = resolveComponent("CAlertHeading"); - const _component_CIcon = resolveComponent("CIcon"); - const _component_ScssDocs = resolveComponent("ScssDocs"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - _hoisted_2, - createBaseVNode("div", _hoisted_3, [ - createVNode(_component_CAlert, { color: "primary" }, { - default: withCtx(() => [ - createTextVNode("A simple primary alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "secondary" }, { - default: withCtx(() => [ - createTextVNode("A simple secondary alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "success" }, { - default: withCtx(() => [ - createTextVNode("A simple success alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "danger" }, { - default: withCtx(() => [ - createTextVNode("A simple danger alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "warning" }, { - default: withCtx(() => [ - createTextVNode("A simple warning alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "info" }, { - default: withCtx(() => [ - createTextVNode("A simple info alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "light" }, { - default: withCtx(() => [ - createTextVNode("A simple light alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "dark" }, { - default: withCtx(() => [ - createTextVNode("A simple dark alert—check it out!") - ]), - _: 1 - }) - ]), - _hoisted_4, - createBaseVNode("div", _hoisted_7, [ - createVNode(_component_CAlert, { - color: "primary", - visible: $data.liveExampleVisible, - dismissible: "", - onClose: _cache[0] || (_cache[0] = () => { - $data.liveExampleVisible = false; - }) - }, { - default: withCtx(() => [ - createTextVNode("A simple primary alert—check it out!") - ]), - _: 1 - }, 8, ["visible"]), - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[1] || (_cache[1] = () => { - $data.liveExampleVisible = true; - }) - }, { - default: withCtx(() => [ - createTextVNode("Show live alert") - ]), - _: 1 - }) - ]), - _hoisted_8, - createBaseVNode("div", _hoisted_11, [ - createVNode(_component_CAlert, { color: "primary" }, { - default: withCtx(() => [ - createTextVNode(" A simple primary alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "secondary" }, { - default: withCtx(() => [ - createTextVNode(" A simple secondary alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "success" }, { - default: withCtx(() => [ - createTextVNode(" A simple success alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "danger" }, { - default: withCtx(() => [ - createTextVNode(" A simple danger alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "warning" }, { - default: withCtx(() => [ - createTextVNode(" A simple warning alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "info" }, { - default: withCtx(() => [ - createTextVNode(" A simple info alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "light" }, { - default: withCtx(() => [ - createTextVNode(" A simple light alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }), - createVNode(_component_CAlert, { color: "dark" }, { - default: withCtx(() => [ - createTextVNode(" A simple dark alert with "), - createVNode(_component_CAlertLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("an example link") - ]), - _: 1 - }), - createTextVNode(". Give it a click if you like. ") - ]), - _: 1 - }) - ]), - _hoisted_12, - createBaseVNode("div", _hoisted_15, [ - createVNode(_component_CAlert, { color: "success" }, { - default: withCtx(() => [ - createVNode(_component_CAlertHeading, null, { - default: withCtx(() => [ - createTextVNode("Well done!") - ]), - _: 1 - }), - _hoisted_16, - _hoisted_17, - _hoisted_18 - ]), - _: 1 - }) - ]), - _hoisted_19, - createBaseVNode("div", _hoisted_22, [ - createVNode(_component_CAlert, { - color: "primary", - class: "d-flex align-items-center" - }, { - default: withCtx(() => [ - _hoisted_23, - _hoisted_24 - ]), - _: 1 - }) - ]), - _hoisted_25, - createBaseVNode("div", _hoisted_27, [ - createVNode(_component_CAlert, { - color: "primary", - class: "d-flex align-items-center" - }, { - default: withCtx(() => [ - createVNode(_component_CIcon, { - icon: "cil-info", - class: "flex-shrink-0 me-2", - width: "24", - height: "24" - }), - _hoisted_28 - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "success", - class: "d-flex align-items-center" - }, { - default: withCtx(() => [ - createVNode(_component_CIcon, { - icon: "cil-check-circle", - class: "flex-shrink-0 me-2", - width: "24", - height: "24" - }), - _hoisted_29 - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "warning", - class: "d-flex align-items-center" - }, { - default: withCtx(() => [ - createVNode(_component_CIcon, { - icon: "cil-warning", - class: "flex-shrink-0 me-2", - width: "24", - height: "24" - }), - _hoisted_30 - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "danger", - class: "d-flex align-items-center" - }, { - default: withCtx(() => [ - createVNode(_component_CIcon, { - icon: "cil-burn", - class: "flex-shrink-0 me-2", - width: "24", - height: "24" - }), - _hoisted_31 - ]), - _: 1 - }) - ]), - _hoisted_32, - createBaseVNode("div", _hoisted_35, [ - createVNode(_component_CAlert, { - color: "primary", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid primary alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "secondary", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid secondary alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "success", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid success alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "danger", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid danger alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "warning", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid warning alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "info", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid info alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "light", - variant: "solid", - class: "text-high-emphasis" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid light alert—check it out!") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - color: "dark", - variant: "solid" - }, { - default: withCtx(() => [ - createTextVNode("A simple solid dark alert—check it out!") - ]), - _: 1 - }) - ]), - _hoisted_36, - createBaseVNode("div", _hoisted_39, [ - createVNode(_component_CAlert, { - color: "warning", - dismissible: "", - onClose: $options.alert - }, { - default: withCtx(() => [ - _hoisted_40, - createTextVNode(" and click that dimiss over there on the right. ") - ]), - _: 1 - }, 8, ["onClose"]) - ]), - _hoisted_41, - createVNode(_component_ScssDocs, { - file: "_alert.scss", - capture: "alert-css-vars" - }), - _hoisted_45, - createVNode(_component_ScssDocs, { - file: "_variables.scss", - capture: "alert-variables" - }), - _hoisted_48 - ]); -} -const alert_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "alert.html.vue"]]); -const data = JSON.parse('{"path":"/components/alert.html","title":"Vue Alert Component","lang":"en-US","frontmatter":{"title":"Vue Alert Component","name":"Alert","description":"Vue alert component gives contextual feedback information for common user operations. The alert component is delivered with a bunch of usable and adjustable alert messages.","other_frameworks":"alert","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/alert.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Live example","slug":"live-example","link":"#live-example","children":[]},{"level":3,"title":"Link color","slug":"link-color","link":"#link-color","children":[]},{"level":3,"title":"Additional content","slug":"additional-content","link":"#additional-content","children":[]},{"level":3,"title":"Icons","slug":"icons","link":"#icons","children":[]},{"level":3,"title":"Solid","slug":"solid","link":"#solid","children":[]},{"level":3,"title":"Dismissing","slug":"dismissing","link":"#dismissing","children":[]}]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]},{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]}]}],"filePathRelative":"components/alert.md"}'); -export { - alert_html as comp, - data -}; diff --git a/vue/docs/assets/app-BoHWg5jI.js b/vue/docs/assets/app-DGOUrGv-.js similarity index 98% rename from vue/docs/assets/app-BoHWg5jI.js rename to vue/docs/assets/app-DGOUrGv-.js index ad3bbef56da..68779184519 100644 --- a/vue/docs/assets/app-BoHWg5jI.js +++ b/vue/docs/assets/app-DGOUrGv-.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/date-picker.html-DXrgyOW0.js","assets/es-DXofg4kJ.js","assets/date-range-picker.html-T7otEH2H.js","assets/multi-select.html-DP6UryqG.js","assets/cif-us-C2ywU_oW.js","assets/icon.html-C2C1fAVP.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/icon.html-ivU2m4Fv.js","assets/cif-us-C2ywU_oW.js","assets/date-picker.html-BHuOUNDP.js","assets/es-DXofg4kJ.js","assets/date-range-picker.html-Bs7ll3rY.js","assets/multi-select.html-DtyKZra7.js"])))=>i.map(i=>d[i]); var __defProp = Object.defineProperty; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); @@ -50,7 +50,9 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { ); } return promise2.then(() => baseModule()).catch((err) => { - const e2 = new Event("vite:preloadError", { cancelable: true }); + const e2 = new Event("vite:preloadError", { + cancelable: true + }); e2.payload = err; window.dispatchEvent(e2); if (!e2.defaultPrevented) { @@ -59,7 +61,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { }); }; /** -* @vue/shared v3.4.34 +* @vue/shared v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ @@ -288,7 +290,7 @@ const stringifySymbol = (v2, i2 = "") => { ); }; /** -* @vue/reactivity v3.4.34 +* @vue/reactivity v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ @@ -688,7 +690,7 @@ class BaseReactiveHandler { return isShallow2; } else if (key === "__v_raw") { if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype - // this means the reciever is a user proxy of the reactive proxy + // this means the receiver is a user proxy of the reactive proxy Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) { return target; } @@ -1423,7 +1425,7 @@ function propertyToRef(source, key, defaultValue) { return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue); } /** -* @vue/runtime-core v3.4.34 +* @vue/runtime-core v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ @@ -3695,7 +3697,7 @@ function provide(key, value) { function inject(key, defaultValue, treatDefaultAsFactory = false) { const instance = currentInstance || currentRenderingInstance; if (instance || currentApp) { - const provides = instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : currentApp._context.provides; + const provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0; if (provides && key in provides) { return provides[key]; } else if (arguments.length > 1) { @@ -3965,20 +3967,33 @@ function normalizePropsOptions(comp, appContext, asMixin = false) { if (validatePropName(normalizedKey)) { const opt = raw[key]; const prop = normalized[normalizedKey] = isArray$c(opt) || isFunction$6(opt) ? { type: opt } : extend({}, opt); - if (prop) { - const booleanIndex = getTypeIndex(Boolean, prop.type); - const stringIndex = getTypeIndex(String, prop.type); - prop[ - 0 - /* shouldCast */ - ] = booleanIndex > -1; - prop[ - 1 - /* shouldCastTrue */ - ] = stringIndex < 0 || booleanIndex < stringIndex; - if (booleanIndex > -1 || hasOwn(prop, "default")) { - needCastKeys.push(normalizedKey); + const propType = prop.type; + let shouldCast = false; + let shouldCastTrue = true; + if (isArray$c(propType)) { + for (let index2 = 0; index2 < propType.length; ++index2) { + const type = propType[index2]; + const typeName = isFunction$6(type) && type.name; + if (typeName === "Boolean") { + shouldCast = true; + break; + } else if (typeName === "String") { + shouldCastTrue = false; + } } + } else { + shouldCast = isFunction$6(propType) && propType.name === "Boolean"; + } + prop[ + 0 + /* shouldCast */ + ] = shouldCast; + prop[ + 1 + /* shouldCastTrue */ + ] = shouldCastTrue; + if (shouldCast || hasOwn(prop, "default")) { + needCastKeys.push(normalizedKey); } } } @@ -4009,17 +4024,6 @@ function getType(ctor) { } return ""; } -function isSameType(a2, b2) { - return getType(a2) === getType(b2); -} -function getTypeIndex(type, expectedTypes) { - if (isArray$c(expectedTypes)) { - return expectedTypes.findIndex((t2) => isSameType(t2, type)); - } else if (isFunction$6(expectedTypes)) { - return isSameType(expectedTypes, type) ? 0 : -1; - } - return -1; -} function validateProps(rawProps, props, instance) { const resolvedValues = toRaw(props); const options = instance.propsOptions[0]; @@ -4356,15 +4360,11 @@ const TeleportImpl = { if (n1 == null) { const placeholder2 = n2.el = createComment("teleport start"); const mainAnchor = n2.anchor = createComment("teleport end"); - const target = n2.target = resolveTarget(n2.props, querySelector); - const targetStart = n2.targetStart = createText(""); - const targetAnchor = n2.targetAnchor = createText(""); insert(placeholder2, container, anchor); insert(mainAnchor, container, anchor); - targetStart[TeleportEndKey] = targetAnchor; + const target = n2.target = resolveTarget(n2.props, querySelector); + const targetAnchor = prepareAnchor(target, n2, createText, insert); if (target) { - insert(targetStart, target); - insert(targetAnchor, target); if (namespace === "svg" || isTargetSVG(target)) { namespace = "svg"; } else if (namespace === "mathml" || isTargetMathML(target)) { @@ -4536,7 +4536,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move } } } function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { - o: { nextSibling, parentNode, querySelector } + o: { nextSibling, parentNode, querySelector, insert, createText } }, hydrateChildren) { const target = vnode.target = resolveTarget( vnode.props, @@ -4555,20 +4555,28 @@ function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScope slotScopeIds, optimized ); - vnode.targetAnchor = targetNode; + vnode.targetStart = targetNode; + vnode.targetAnchor = targetNode && nextSibling(targetNode); } else { vnode.anchor = nextSibling(node); let targetAnchor = targetNode; while (targetAnchor) { - targetAnchor = nextSibling(targetAnchor); - if (targetAnchor && targetAnchor.nodeType === 8 && targetAnchor.data === "teleport anchor") { - vnode.targetAnchor = targetAnchor; - target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor); - break; + if (targetAnchor && targetAnchor.nodeType === 8) { + if (targetAnchor.data === "teleport start anchor") { + vnode.targetStart = targetAnchor; + } else if (targetAnchor.data === "teleport anchor") { + vnode.targetAnchor = targetAnchor; + target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor); + break; + } } + targetAnchor = nextSibling(targetAnchor); + } + if (!vnode.targetAnchor) { + prepareAnchor(target, vnode, createText, insert); } hydrateChildren( - targetNode, + targetNode && nextSibling(targetNode), vnode, target, parentComponent, @@ -4594,6 +4602,16 @@ function updateCssVars(vnode) { ctx.ut(); } } +function prepareAnchor(target, vnode, createText, insert) { + const targetStart = vnode.targetStart = createText(""); + const targetAnchor = vnode.targetAnchor = createText(""); + targetStart[TeleportEndKey] = targetAnchor; + if (target) { + insert(targetStart, target); + insert(targetAnchor, target); + } + return targetAnchor; +} let hasLoggedMismatchError = false; const logMismatchError = () => { if (hasLoggedMismatchError) { @@ -4876,6 +4894,7 @@ Server rendered element contains more child nodes than client vdom.` } if (props) { { + const isCustomElement = el.tagName.includes("-"); for (const key in props) { if ( // #11189 skip if this node has directives that have created hooks @@ -4885,7 +4904,7 @@ Server rendered element contains more child nodes than client vdom.` logMismatchError(); } if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers - key[0] === ".") { + key[0] === "." || isCustomElement) { patchProp2(el, key, null, props[key], void 0, parentComponent); } } @@ -5176,44 +5195,44 @@ function resolveCssVars(instance, vnode, expectedMap) { resolveCssVars(instance.parent, instance.vnode, expectedMap); } } -let supported$2; -let perf$2; +let supported$1; +let perf$1; function startMeasure(instance, type) { if (instance.appContext.config.performance && isSupported()) { - perf$2.mark(`vue-${type}-${instance.uid}`); + perf$1.mark(`vue-${type}-${instance.uid}`); } { - devtoolsPerfStart(instance, type, isSupported() ? perf$2.now() : Date.now()); + devtoolsPerfStart(instance, type, isSupported() ? perf$1.now() : Date.now()); } } function endMeasure(instance, type) { if (instance.appContext.config.performance && isSupported()) { const startTag = `vue-${type}-${instance.uid}`; const endTag = startTag + `:end`; - perf$2.mark(endTag); - perf$2.measure( + perf$1.mark(endTag); + perf$1.measure( `<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag ); - perf$2.clearMarks(startTag); - perf$2.clearMarks(endTag); + perf$1.clearMarks(startTag); + perf$1.clearMarks(endTag); } { - devtoolsPerfEnd(instance, type, isSupported() ? perf$2.now() : Date.now()); + devtoolsPerfEnd(instance, type, isSupported() ? perf$1.now() : Date.now()); } } function isSupported() { - if (supported$2 !== void 0) { - return supported$2; + if (supported$1 !== void 0) { + return supported$1; } if (typeof window !== "undefined" && window.performance) { - supported$2 = true; - perf$2 = window.performance; + supported$1 = true; + perf$1 = window.performance; } else { - supported$2 = false; + supported$1 = false; } - return supported$2; + return supported$1; } function initFeatureFlags() { const needWarn = []; @@ -6592,13 +6611,13 @@ function baseCreateRenderer(options, createHydrationFns) { namespace ); } + container._vnode = vnode; if (!isFlushing2) { isFlushing2 = true; flushPreFlushCbs(); flushPostFlushCbs(); isFlushing2 = false; } - container._vnode = vnode; }; const internals = { p: patch, @@ -6992,9 +7011,9 @@ function emit(instance, event, ...rawArgs) { } = instance; if (emitsOptions) { if (!(event in emitsOptions) && true) { - if (!propsOptions || !(toHandlerKey(event) in propsOptions)) { + if (!propsOptions || !(toHandlerKey(camelize(event)) in propsOptions)) { warn$1( - `Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.` + `Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(camelize(event))}" prop.` ); } } else { @@ -8405,10 +8424,10 @@ function initCustomFormatter() { window.devtoolsFormatters = [formatter]; } } -const version$1 = "3.4.34"; +const version$1 = "3.4.38"; const warn$2 = warn$1; /** -* @vue/runtime-dom v3.4.34 +* @vue/runtime-dom v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ @@ -9218,7 +9237,7 @@ function normalizeContainer(container) { return container; } /** -* vue v3.4.34 +* vue v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ @@ -9320,962 +9339,966 @@ var isPlainObject$3 = (val) => Object.prototype.toString.call(val) === "[object var isString = (val) => typeof val === "string"; const redirects$1 = JSON.parse("{}"); const routes$1 = Object.fromEntries([ + ["/", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "index.html" */ + "./index.html-CXtJwXEn.js" + ), true ? [] : void 0), meta: { "title": "" } }], ["/api/CChart.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_CChart.api.html" */ - "./CChart.api.html-BFRT-Fhg.js" + "./CChart.api.html-BPKhb3Ee.js" ), true ? [] : void 0), meta: { "title": "" } }], - ["/customize/css-variables.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "customize_css-variables.html" */ - "./css-variables.html-UJYgUBzW.js" - ), true ? [] : void 0), meta: { "title": "CSS variables" } }], - ["/customize/options.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "customize_options.html" */ - "./options.html-B9kdngTZ.js" - ), true ? [] : void 0), meta: { "title": "Options" } }], - ["/customize/sass.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "customize_sass.html" */ - "./sass.html-DHfDOQ32.js" - ), true ? [] : void 0), meta: { "title": "Sass" } }], - ["/getting-started/accessibility.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "getting-started_accessibility.html" */ - "./accessibility.html-CkVUBrW4.js" - ), true ? [] : void 0), meta: { "title": "Accessibility" } }], - ["/getting-started/introduction.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "getting-started_introduction.html" */ - "./introduction.html-CuiibolQ.js" - ), true ? [] : void 0), meta: { "title": "Introduction" } }], - ["/layout/breakpoints.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "layout_breakpoints.html" */ - "./breakpoints.html-TXDgB0cd.js" - ), true ? [] : void 0), meta: { "title": "Breakpoints" } }], - ["/layout/columns.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "layout_columns.html" */ - "./columns.html-c_8p-0J4.js" - ), true ? [] : void 0), meta: { "title": "Columns" } }], - ["/layout/containers.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "layout_containers.html" */ - "./containers.html-DC6_LN_j.js" - ), true ? [] : void 0), meta: { "title": "Containers" } }], - ["/layout/grid.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "layout_grid.html" */ - "./grid.html-D9aeBmOt.js" - ), true ? [] : void 0), meta: { "title": "Grid" } }], - ["/layout/gutters.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "layout_gutters.html" */ - "./gutters.html-BqQUwcbR.js" - ), true ? [] : void 0), meta: { "title": "Gutters" } }], - ["/forms/checkbox.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_checkbox.html" */ - "./checkbox.html-BL-hSbtE.js" - ), true ? [] : void 0), meta: { "title": "Vue Checkbox Component" } }], - ["/forms/checks-radios.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_checks-radios.html" */ - "./checks-radios.html-kyGivGpt.js" - ), true ? [] : void 0), meta: { "title": "Vue Radio Component" } }], - ["/forms/date-picker.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_date-picker.html" */ - "./date-picker.html-DXrgyOW0.js" - ), true ? __vite__mapDeps([0,1]) : void 0), meta: { "title": "Vue Date Picker Component" } }], - ["/forms/date-range-picker.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_date-range-picker.html" */ - "./date-range-picker.html-T7otEH2H.js" - ), true ? __vite__mapDeps([2,1]) : void 0), meta: { "title": "Vue Date Range Picker Component" } }], - ["/forms/floating-labels.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_floating-labels.html" */ - "./floating-labels.html-OoHunpjU.js" - ), true ? [] : void 0), meta: { "title": "Vue Floating labels" } }], - ["/forms/form-control.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_form-control.html" */ - "./form-control.html-Dq3LSWS5.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Controls" } }], - ["/forms/input-group.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_input-group.html" */ - "./input-group.html-BD4KH7gA.js" - ), true ? [] : void 0), meta: { "title": "Vue Input Group Component" } }], - ["/forms/input.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_input.html" */ - "./input.html-BPr4o7jo.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Input" } }], - ["/forms/layout.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_layout.html" */ - "./layout.html-DARLKo8o.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Layout" } }], - ["/forms/multi-select.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_multi-select.html" */ - "./multi-select.html-DP6UryqG.js" - ), true ? __vite__mapDeps([3,4]) : void 0), meta: { "title": "Vue Multi Select" } }], - ["/forms/overview.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_overview.html" */ - "./overview.html-DEHhVOWL.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Components" } }], - ["/forms/radio.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_radio.html" */ - "./radio.html-cF7KwA9W.js" - ), true ? [] : void 0), meta: { "title": "Vue Checkbox & Radio Components" } }], - ["/forms/range.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_range.html" */ - "./range.html-DLE7qJRM.js" - ), true ? [] : void 0), meta: { "title": "Vue Range Component" } }], - ["/forms/rating.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_rating.html" */ - "./rating.html-COUjsjjF.js" - ), true ? [] : void 0), meta: { "title": "Vue Rating Component" } }], - ["/forms/select.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_select.html" */ - "./select.html-CGOG4_GI.js" - ), true ? [] : void 0), meta: { "title": "Vue Select Component" } }], - ["/forms/switch.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_switch.html" */ - "./switch.html-CzcyoMGb.js" - ), true ? [] : void 0), meta: { "title": "Vue Switch Component" } }], - ["/forms/textarea.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_textarea.html" */ - "./textarea.html-VjAtYprD.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Text Component" } }], - ["/forms/time-picker.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_time-picker.html" */ - "./time-picker.html-DlV52mWV.js" - ), true ? [] : void 0), meta: { "title": "Vue Time Picker Component" } }], - ["/forms/validation.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "forms_validation.html" */ - "./validation.html-2QwCYaBH.js" - ), true ? [] : void 0), meta: { "title": "Vue Form Validation" } }], ["/components/accordion.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_accordion.html" */ - "./accordion.html-DPn8cCyj.js" + "./accordion.html-1-bBbpuj.js" ), true ? [] : void 0), meta: { "title": "Vue Accordion Component" } }], ["/components/alert.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_alert.html" */ - "./alert.html-CDqS0NZ4.js" + "./alert.html-Aeh8K-Wf.js" ), true ? [] : void 0), meta: { "title": "Vue Alert Component" } }], ["/components/avatar.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_avatar.html" */ - "./avatar.html-CGvuFR7Q.js" + "./avatar.html-BD-B4lfD.js" ), true ? [] : void 0), meta: { "title": "Vue Avatar Component" } }], ["/components/badge.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_badge.html" */ - "./badge.html-BIxXbpUI.js" + "./badge.html-Dear1jUq.js" ), true ? [] : void 0), meta: { "title": "Vue Badge Component" } }], ["/components/breadcrumb.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_breadcrumb.html" */ - "./breadcrumb.html-3P6FIBpg.js" + "./breadcrumb.html-DgLYIaPr.js" ), true ? [] : void 0), meta: { "title": "Vue Breadcrumb Component" } }], ["/components/button-group.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_button-group.html" */ - "./button-group.html-DokwKiVg.js" + "./button-group.html-7uksYI0F.js" ), true ? [] : void 0), meta: { "title": "Vue Button Group Component" } }], ["/components/button.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_button.html" */ - "./button.html-Tm2d-w3G.js" + "./button.html-D00S-NDK.js" ), true ? [] : void 0), meta: { "title": "Vue Buttons Component" } }], ["/components/calendar.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_calendar.html" */ - "./calendar.html-aIZ63-sL.js" + "./calendar.html-Dj___bk9.js" ), true ? [] : void 0), meta: { "title": "Vue Calendar Component" } }], ["/components/callout.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_callout.html" */ - "./callout.html-BHcngsku.js" + "./callout.html-BvHwLp1x.js" ), true ? [] : void 0), meta: { "title": "Vue Callout Component" } }], ["/components/card.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_card.html" */ - "./card.html-CiiNUsv5.js" + "./card.html-itUqRb0K.js" ), true ? [] : void 0), meta: { "title": "Vue Card Component" } }], ["/components/carousel.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_carousel.html" */ - "./carousel.html-DN2cjEdX.js" + "./carousel.html-B0BciYS9.js" ), true ? [] : void 0), meta: { "title": "Vue Carousel Component" } }], ["/components/chart.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_chart.html" */ - "./chart.html-DY5wyS1U.js" + "./chart.html-CeyziBqZ.js" ), true ? [] : void 0), meta: { "title": "Vue Chart.js Component" } }], ["/components/close-button.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_close-button.html" */ - "./close-button.html-BS4-GrP8.js" + "./close-button.html-blWDZBC3.js" ), true ? [] : void 0), meta: { "title": "Vue Close Button Component" } }], ["/components/collapse.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_collapse.html" */ - "./collapse.html-CuA1iHpy.js" + "./collapse.html-CXLzPe5v.js" ), true ? [] : void 0), meta: { "title": "Vue Collapse Component" } }], ["/components/dropdown.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_dropdown.html" */ - "./dropdown.html-D58fBbQW.js" + "./dropdown.html-C4NgwOey.js" ), true ? [] : void 0), meta: { "title": "Vue Dropdown Component" } }], ["/components/footer.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_footer.html" */ - "./footer.html-DN3ns744.js" + "./footer.html-CSFrT_Wq.js" ), true ? [] : void 0), meta: { "title": "Vue Footer Component" } }], ["/components/header.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_header.html" */ - "./header.html-DBfVFFNJ.js" + "./header.html-B_Q5U0MU.js" ), true ? [] : void 0), meta: { "title": "Vue Header Component" } }], ["/components/icon.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_icon.html" */ - "./icon.html-C2C1fAVP.js" - ), true ? __vite__mapDeps([5,4]) : void 0), meta: { "title": "Vue Icon Component" } }], + "./icon.html-ivU2m4Fv.js" + ), true ? __vite__mapDeps([0,1]) : void 0), meta: { "title": "Vue Icon Component" } }], ["/components/image.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_image.html" */ - "./image.html-DC5HLYH1.js" + "./image.html-G4Gptwhr.js" ), true ? [] : void 0), meta: { "title": "Vue Image Component" } }], ["/components/link.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_link.html" */ - "./link.html-C2tbxGSf.js" + "./link.html-DgFWlsMX.js" ), true ? [] : void 0), meta: { "title": "CLink" } }], ["/components/list-group.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_list-group.html" */ - "./list-group.html-ChBEIPwp.js" + "./list-group.html-_udCts7M.js" ), true ? [] : void 0), meta: { "title": "Vue List Group Component" } }], ["/components/loading-button.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_loading-button.html" */ - "./loading-button.html-BwfYal81.js" + "./loading-button.html-DU_pRN89.js" ), true ? [] : void 0), meta: { "title": "Vue Loading Button Component" } }], ["/components/modal.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_modal.html" */ - "./modal.html-KOyG7M6n.js" + "./modal.html-BHtWUNx_.js" ), true ? [] : void 0), meta: { "title": "Vue Modal Component" } }], ["/components/navbar.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_navbar.html" */ - "./navbar.html-BCzYXKko.js" + "./navbar.html-DiQHPkAN.js" ), true ? [] : void 0), meta: { "title": "Vue Navbar Component" } }], ["/components/navs-tabs.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_navs-tabs.html" */ - "./navs-tabs.html-BwFsuHAs.js" + "./navs-tabs.html-R9_id4Dp.js" ), true ? [] : void 0), meta: { "title": "Vue Navs & Tabs Components" } }], ["/components/offcanvas.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_offcanvas.html" */ - "./offcanvas.html-D6TxFWNe.js" + "./offcanvas.html-CuZ5zSJ3.js" ), true ? [] : void 0), meta: { "title": "Vue Offcanvas Component" } }], ["/components/pagination.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_pagination.html" */ - "./pagination.html-BlNq3AJ1.js" + "./pagination.html-B6kiDLSr.js" ), true ? [] : void 0), meta: { "title": "Vue Pagination Component" } }], ["/components/placeholder.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_placeholder.html" */ - "./placeholder.html-BBrpG9kK.js" + "./placeholder.html-BZpO7heW.js" ), true ? [] : void 0), meta: { "title": "Vue Placeholder Component" } }], ["/components/popover.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_popover.html" */ - "./popover.html-CcictLyq.js" + "./popover.html-DDOrxn8Z.js" ), true ? [] : void 0), meta: { "title": "Vue Popover Component and Directive" } }], ["/components/progress.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_progress.html" */ - "./progress.html-DAixQyXt.js" + "./progress.html-DhAMxmt8.js" ), true ? [] : void 0), meta: { "title": "Vue Progress Component" } }], ["/components/sidebar.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_sidebar.html" */ - "./sidebar.html-CrmBFQhh.js" + "./sidebar.html-sk3JAtdU.js" ), true ? [] : void 0), meta: { "title": "Vue Sidebar Component" } }], ["/components/smart-pagination.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_smart-pagination.html" */ - "./smart-pagination.html-CYqfH6pM.js" + "./smart-pagination.html-C0KPe66-.js" ), true ? [] : void 0), meta: { "title": "Vue Smart Pagination Component" } }], ["/components/smart-table.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_smart-table.html" */ - "./smart-table.html-DMqyM7wC.js" + "./smart-table.html-CuXPF5Vb.js" ), true ? [] : void 0), meta: { "title": "Vue Smart Table Component (DataTable)" } }], ["/components/spinner.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_spinner.html" */ - "./spinner.html-Dja_Ea9Q.js" + "./spinner.html-CbcVdjbB.js" ), true ? [] : void 0), meta: { "title": "Vue Spinner Component" } }], ["/components/table.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_table.html" */ - "./table.html-BKhXilE_.js" + "./table.html-aCVCSEDl.js" ), true ? [] : void 0), meta: { "title": "Vue Table Component" } }], ["/components/tabs.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_tabs.html" */ - "./tabs.html-BryTxUY8.js" + "./tabs.html-BjypzLaI.js" ), true ? [] : void 0), meta: { "title": "Vue Tabs Components" } }], ["/components/toast.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_toast.html" */ - "./toast.html-B70IM5zC.js" + "./toast.html-DUmgmbI1.js" ), true ? [] : void 0), meta: { "title": "Vue Toast Component" } }], ["/components/tooltip.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_tooltip.html" */ - "./tooltip.html-D2DMDPTK.js" + "./tooltip.html-COZMp0t7.js" ), true ? [] : void 0), meta: { "title": "Vue Tooltip Component and Directive" } }], ["/components/virtual-scroller.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_virtual-scroller.html" */ - "./virtual-scroller.html-eMrz1664.js" + "./virtual-scroller.html-se47tihX.js" ), true ? [] : void 0), meta: { "title": "Vue Virtual Scroller Component" } }], ["/components/widgets.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "components_widgets.html" */ - "./widgets.html-CX3InA_E.js" + "./widgets.html-DaxyknU_.js" ), true ? [] : void 0), meta: { "title": "Vue Widgets Components" } }], + ["/customize/css-variables.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "customize_css-variables.html" */ + "./css-variables.html-DBEGBYvO.js" + ), true ? [] : void 0), meta: { "title": "CSS variables" } }], + ["/customize/options.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "customize_options.html" */ + "./options.html-Oj00yCyN.js" + ), true ? [] : void 0), meta: { "title": "Options" } }], + ["/customize/sass.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "customize_sass.html" */ + "./sass.html-QPkiTP49.js" + ), true ? [] : void 0), meta: { "title": "Sass" } }], + ["/getting-started/accessibility.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "getting-started_accessibility.html" */ + "./accessibility.html-BI4xofDT.js" + ), true ? [] : void 0), meta: { "title": "Accessibility" } }], + ["/getting-started/introduction.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "getting-started_introduction.html" */ + "./introduction.html-B-WFaD00.js" + ), true ? [] : void 0), meta: { "title": "Introduction" } }], + ["/forms/checkbox.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_checkbox.html" */ + "./checkbox.html-BPgHXfGt.js" + ), true ? [] : void 0), meta: { "title": "Vue Checkbox Component" } }], + ["/forms/checks-radios.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_checks-radios.html" */ + "./checks-radios.html-CKmk8NM1.js" + ), true ? [] : void 0), meta: { "title": "Vue Radio Component" } }], + ["/forms/date-picker.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_date-picker.html" */ + "./date-picker.html-BHuOUNDP.js" + ), true ? __vite__mapDeps([2,3]) : void 0), meta: { "title": "Vue Date Picker Component" } }], + ["/forms/date-range-picker.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_date-range-picker.html" */ + "./date-range-picker.html-Bs7ll3rY.js" + ), true ? __vite__mapDeps([4,3]) : void 0), meta: { "title": "Vue Date Range Picker Component" } }], + ["/forms/floating-labels.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_floating-labels.html" */ + "./floating-labels.html-CCkOOAc0.js" + ), true ? [] : void 0), meta: { "title": "Vue Floating labels" } }], + ["/forms/form-control.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_form-control.html" */ + "./form-control.html-CxCiB4bb.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Controls" } }], + ["/forms/input-group.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_input-group.html" */ + "./input-group.html-DD48IpLE.js" + ), true ? [] : void 0), meta: { "title": "Vue Input Group Component" } }], + ["/forms/input.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_input.html" */ + "./input.html-DQVoju7F.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Input" } }], + ["/forms/layout.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_layout.html" */ + "./layout.html-B1WhSZXl.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Layout" } }], + ["/forms/multi-select.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_multi-select.html" */ + "./multi-select.html-DtyKZra7.js" + ), true ? __vite__mapDeps([5,1]) : void 0), meta: { "title": "Vue Multi Select" } }], + ["/forms/overview.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_overview.html" */ + "./overview.html-D68slxn-.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Components" } }], + ["/forms/radio.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_radio.html" */ + "./radio.html-DdZZGITP.js" + ), true ? [] : void 0), meta: { "title": "Vue Checkbox & Radio Components" } }], + ["/forms/range.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_range.html" */ + "./range.html-DnftQdHW.js" + ), true ? [] : void 0), meta: { "title": "Vue Range Component" } }], + ["/forms/rating.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_rating.html" */ + "./rating.html-DDgDjKeh.js" + ), true ? [] : void 0), meta: { "title": "Vue Rating Component" } }], + ["/forms/select.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_select.html" */ + "./select.html-HAuQZbve.js" + ), true ? [] : void 0), meta: { "title": "Vue Select Component" } }], + ["/forms/switch.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_switch.html" */ + "./switch.html-C_xLNHwA.js" + ), true ? [] : void 0), meta: { "title": "Vue Switch Component" } }], + ["/forms/textarea.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_textarea.html" */ + "./textarea.html-Ck18GNEv.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Text Component" } }], + ["/forms/time-picker.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_time-picker.html" */ + "./time-picker.html-CvM-vSGB.js" + ), true ? [] : void 0), meta: { "title": "Vue Time Picker Component" } }], + ["/forms/validation.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "forms_validation.html" */ + "./validation.html-BZBLONBB.js" + ), true ? [] : void 0), meta: { "title": "Vue Form Validation" } }], + ["/layout/breakpoints.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "layout_breakpoints.html" */ + "./breakpoints.html-C6u5z98e.js" + ), true ? [] : void 0), meta: { "title": "Breakpoints" } }], + ["/layout/columns.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "layout_columns.html" */ + "./columns.html-DRAqgR3h.js" + ), true ? [] : void 0), meta: { "title": "Columns" } }], + ["/layout/containers.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "layout_containers.html" */ + "./containers.html-DgTza5yR.js" + ), true ? [] : void 0), meta: { "title": "Containers" } }], + ["/layout/grid.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "layout_grid.html" */ + "./grid.html-t8D6bS23.js" + ), true ? [] : void 0), meta: { "title": "Grid" } }], + ["/layout/gutters.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "layout_gutters.html" */ + "./gutters.html-SyYvHCgl.js" + ), true ? [] : void 0), meta: { "title": "Gutters" } }], ["/migration/v4.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "migration_v4.html" */ - "./v4.html-Br_AIuga.js" + "./v4.html-qK__BZTD.js" ), true ? [] : void 0), meta: { "title": "Migration to v4" } }], ["/migration/v5.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "migration_v5.html" */ - "./v5.html-D8yxOVYF.js" + "./v5.html-Csxq3zcX.js" ), true ? [] : void 0), meta: { "title": "Migration to v5" } }], ["/templates/admin-dashboard.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "templates_admin-dashboard.html" */ - "./admin-dashboard.html-DU-BWvUG.js" + "./admin-dashboard.html-CseRtZFD.js" ), true ? [] : void 0), meta: { "title": "Vue Templates" } }], ["/templates/contents.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "templates_contents.html" */ - "./contents.html-CKe33LGP.js" + "./contents.html-41bLmuls.js" ), true ? [] : void 0), meta: { "title": "Vue templates contents" } }], ["/templates/customize.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "templates_customize.html" */ - "./customize.html-CNlse-Z8.js" + "./customize.html-C0-AGXsg.js" ), true ? [] : void 0), meta: { "title": "Customize vue templates" } }], ["/templates/download.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "templates_download.html" */ - "./download.html-91eC3PyH.js" + "./download.html-B0ATzToD.js" ), true ? [] : void 0), meta: { "title": "Download vue templates" } }], ["/templates/installation.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "templates_installation.html" */ - "./installation.html-B9oaQNAO.js" + "./installation.html-CwOfF37v.js" ), true ? [] : void 0), meta: { "title": "Vue templates installation" } }], ["/api/alert/CAlert.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_alert_CAlert.api.html" */ - "./CAlert.api.html-BXjHGX6m.js" + "./CAlert.api.html-BXIVhpa9.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/alert/CAlertHeading.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_alert_CAlertHeading.api.html" */ - "./CAlertHeading.api.html-DoJskrT2.js" + "./CAlertHeading.api.html-BKJ9BC30.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/alert/CAlertLink.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_alert_CAlertLink.api.html" */ - "./CAlertLink.api.html-Be4cejDR.js" + "./CAlertLink.api.html-DG0vJpCf.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/accordion/CAccordion.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_accordion_CAccordion.api.html" */ - "./CAccordion.api.html-BmmCbR4F.js" + "./CAccordion.api.html-B6uisqsk.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/accordion/CAccordionBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_accordion_CAccordionBody.api.html" */ - "./CAccordionBody.api.html-DnDWpn--.js" + "./CAccordionBody.api.html-BxSpa71p.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/accordion/CAccordionButton.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_accordion_CAccordionButton.api.html" */ - "./CAccordionButton.api.html-BFZVkVlR.js" + "./CAccordionButton.api.html-DPUd2qPX.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/accordion/CAccordionHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_accordion_CAccordionHeader.api.html" */ - "./CAccordionHeader.api.html-D3E3-RrY.js" + "./CAccordionHeader.api.html-DhPR4UFM.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/accordion/CAccordionItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_accordion_CAccordionItem.api.html" */ - "./CAccordionItem.api.html-B_Gvnaeq.js" + "./CAccordionItem.api.html-DZGPOsD9.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/avatar/CAvatar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_avatar_CAvatar.api.html" */ - "./CAvatar.api.html-BTqEczbV.js" + "./CAvatar.api.html-CKyQof1f.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/backdrop/CBackdrop.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_backdrop_CBackdrop.api.html" */ - "./CBackdrop.api.html-DAmzayp3.js" + "./CBackdrop.api.html-BlEIpUAI.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/badge/CBadge.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_badge_CBadge.api.html" */ - "./CBadge.api.html-CgAts6f4.js" + "./CBadge.api.html-FxK3PsZy.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/breadcrumb/CBreadcrumb.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_breadcrumb_CBreadcrumb.api.html" */ - "./CBreadcrumb.api.html-DqwjKss4.js" + "./CBreadcrumb.api.html-5lgjZmeY.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/breadcrumb/CBreadcrumbItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_breadcrumb_CBreadcrumbItem.api.html" */ - "./CBreadcrumbItem.api.html-r9RgIwJD.js" + "./CBreadcrumbItem.api.html-CPH_CfEm.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/button/CButton.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_button_CButton.api.html" */ - "./CButton.api.html-ekRjLD2P.js" + "./CButton.api.html-CiQ_g2gW.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/button-group/CButtonGroup.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_button-group_CButtonGroup.api.html" */ - "./CButtonGroup.api.html-D0mJf4Og.js" + "./CButtonGroup.api.html-BVG1ANZ_.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/button-group/CButtonToolbar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_button-group_CButtonToolbar.api.html" */ - "./CButtonToolbar.api.html-IKoND_KL.js" + "./CButtonToolbar.api.html-BLBUlnfS.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/calendar/CCalendar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_calendar_CCalendar.api.html" */ - "./CCalendar.api.html-C4aT9FYA.js" + "./CCalendar.api.html-77BmaEcE.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/callout/CCallout.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_callout_CCallout.api.html" */ - "./CCallout.api.html-DiF4unWf.js" + "./CCallout.api.html-KoizcUs-.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCard.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCard.api.html" */ - "./CCard.api.html-BmbaZsmK.js" + "./CCard.api.html-CWzyD8X0.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardBody.api.html" */ - "./CCardBody.api.html-D0-tGYrD.js" + "./CCardBody.api.html-BECQVBUH.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardFooter.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardFooter.api.html" */ - "./CCardFooter.api.html-CiSjk2NS.js" + "./CCardFooter.api.html-CI_3qzYg.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardGroup.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardGroup.api.html" */ - "./CCardGroup.api.html-BABSBoJe.js" + "./CCardGroup.api.html-DH7EZxGl.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardHeader.api.html" */ - "./CCardHeader.api.html-D5ZqQVdw.js" + "./CCardHeader.api.html-CWFYp2G5.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardImage.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardImage.api.html" */ - "./CCardImage.api.html-BBnb9-GW.js" + "./CCardImage.api.html-CUCskHkB.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardImageOverlay.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardImageOverlay.api.html" */ - "./CCardImageOverlay.api.html-TpPKznie.js" + "./CCardImageOverlay.api.html-CNgKoO9s.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardLink.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardLink.api.html" */ - "./CCardLink.api.html-MlyoVRZ4.js" + "./CCardLink.api.html-Dxett-Ui.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardSubtitle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardSubtitle.api.html" */ - "./CCardSubtitle.api.html-Cl-ezx9Z.js" + "./CCardSubtitle.api.html-Dh4UbxxY.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardText.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardText.api.html" */ - "./CCardText.api.html-CeB8bETl.js" + "./CCardText.api.html-Bg0_JF9j.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/card/CCardTitle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_card_CCardTitle.api.html" */ - "./CCardTitle.api.html-BIewfA00.js" + "./CCardTitle.api.html-Cvqug47a.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/close-button/CCloseButton.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_close-button_CCloseButton.api.html" */ + "./CCloseButton.api.html-DVHA5VBo.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/carousel/CCarousel.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_carousel_CCarousel.api.html" */ - "./CCarousel.api.html-B6WYH3KM.js" + "./CCarousel.api.html-DvQ7vBAQ.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/carousel/CCarouselCaption.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_carousel_CCarouselCaption.api.html" */ - "./CCarouselCaption.api.html-CJ2Co3Eg.js" + "./CCarouselCaption.api.html-Ry9R9ID5.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/carousel/CCarouselItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_carousel_CCarouselItem.api.html" */ - "./CCarouselItem.api.html-Bx_efOFH.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/close-button/CCloseButton.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_close-button_CCloseButton.api.html" */ - "./CCloseButton.api.html-X5Fmd0Tk.js" + "./CCarouselItem.api.html-CQ58r3xO.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/collapse/CCollapse.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_collapse_CCollapse.api.html" */ - "./CCollapse.api.html-zVmsFw74.js" + "./CCollapse.api.html-CxTOAM8U.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/conditional-teleport/CConditionalTeleport.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_conditional-teleport_CConditionalTeleport.api.html" */ - "./CConditionalTeleport.api.html-7PMLb_Wk.js" + "./CConditionalTeleport.api.html-BsPLiQQG.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/date-picker/CDatePicker.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_date-picker_CDatePicker.api.html" */ - "./CDatePicker.api.html-BmlaHdUZ.js" + "./CDatePicker.api.html-C1Ro8UbJ.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/date-range-picker/CDateRangePicker.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_date-range-picker_CDateRangePicker.api.html" */ - "./CDateRangePicker.api.html-Hlubmql2.js" + "./CDateRangePicker.api.html-BXCpvTjX.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdown.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdown.api.html" */ - "./CDropdown.api.html-DGIxjfQ3.js" + "./CDropdown.api.html-DVi36nMQ.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdownDivider.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdownDivider.api.html" */ - "./CDropdownDivider.api.html-VSQ_XlFl.js" + "./CDropdownDivider.api.html-DRPOqN6s.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdownHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdownHeader.api.html" */ - "./CDropdownHeader.api.html-Cxpz-KV-.js" + "./CDropdownHeader.api.html-BFaZEh4a.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdownItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdownItem.api.html" */ - "./CDropdownItem.api.html-BVulLqSR.js" + "./CDropdownItem.api.html-YfOt4ZPU.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdownMenu.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdownMenu.api.html" */ - "./CDropdownMenu.api.html-BckpImA4.js" + "./CDropdownMenu.api.html-BOqkAy5z.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/dropdown/CDropdownToggle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_dropdown_CDropdownToggle.api.html" */ - "./CDropdownToggle.api.html-unfICPox.js" + "./CDropdownToggle.api.html-TBTSZRQO.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/footer/CFooter.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_footer_CFooter.api.html" */ - "./CFooter.api.html-CH8Pc0Ax.js" + "./CFooter.api.html-DCPx9oeQ.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/grid/CCol.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_grid_CCol.api.html" */ + "./CCol.api.html-Fe-NnVcD.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/grid/CContainer.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_grid_CContainer.api.html" */ + "./CContainer.api.html-O3JlICl7.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/grid/CRow.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_grid_CRow.api.html" */ + "./CRow.api.html-BfZBZHbO.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/image/CImage.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_image_CImage.api.html" */ + "./CImage.api.html-1rNq-hNU.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeader.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeader.api.html" */ + "./CHeader.api.html-DlxZXRgK.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeaderBrand.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeaderBrand.api.html" */ + "./CHeaderBrand.api.html-CFKRvz1W.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeaderDivider.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeaderDivider.api.html" */ + "./CHeaderDivider.api.html-WXk5c_Vn.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeaderNav.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeaderNav.api.html" */ + "./CHeaderNav.api.html-BG2UOwMu.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeaderText.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeaderText.api.html" */ + "./CHeaderText.api.html-DpmaCM7o.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/header/CHeaderToggler.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_header_CHeaderToggler.api.html" */ + "./CHeaderToggler.api.html-BQ00oQEl.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CForm.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CForm.api.html" */ - "./CForm.api.html-2ixEm0A1.js" + "./CForm.api.html-D6NiMRuP.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormCheck.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormCheck.api.html" */ - "./CFormCheck.api.html-Bf9lhFvH.js" + "./CFormCheck.api.html-Bl-fuUMn.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormControl.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormControl.api.html" */ - "./CFormControl.api.html-D9-r3st8.js" + "./CFormControl.api.html-BEVjOQjL.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormControlValidation.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormControlValidation.api.html" */ - "./CFormControlValidation.api.html-CDKpaVG3.js" + "./CFormControlValidation.api.html-fn-8iM1r.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormControlWrapper.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormControlWrapper.api.html" */ - "./CFormControlWrapper.api.html-D75G__Lh.js" + "./CFormControlWrapper.api.html-BYVnVI9z.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormFeedback.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormFeedback.api.html" */ - "./CFormFeedback.api.html-Cs8xHqDe.js" + "./CFormFeedback.api.html-C33zL_Pk.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormFloating.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormFloating.api.html" */ - "./CFormFloating.api.html-C-X3BFM6.js" + "./CFormFloating.api.html-CqfeIH6c.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormInput.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormInput.api.html" */ - "./CFormInput.api.html-CVvr0T_h.js" + "./CFormInput.api.html-BDOLWxtk.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormLabel.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormLabel.api.html" */ - "./CFormLabel.api.html-CpQQKu1b.js" + "./CFormLabel.api.html-C3nnUCqL.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormRange.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormRange.api.html" */ - "./CFormRange.api.html-C4Wns1Lr.js" + "./CFormRange.api.html-C9Fi8SJ1.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormSelect.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormSelect.api.html" */ - "./CFormSelect.api.html-4dvFandI.js" + "./CFormSelect.api.html-Dz_dg5lQ.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormSwitch.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormSwitch.api.html" */ - "./CFormSwitch.api.html-CyrjItfh.js" + "./CFormSwitch.api.html-BACw_Adx.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormText.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormText.api.html" */ - "./CFormText.api.html-CpJOPSQg.js" + "./CFormText.api.html-BJqLcA9t.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CFormTextarea.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CFormTextarea.api.html" */ - "./CFormTextarea.api.html-DMhqjvWY.js" + "./CFormTextarea.api.html-C-PBE2Mw.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CInputGroup.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CInputGroup.api.html" */ - "./CInputGroup.api.html-B9Jacvbh.js" + "./CInputGroup.api.html-O1rxMtka.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/form/CInputGroupText.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_form_CInputGroupText.api.html" */ - "./CInputGroupText.api.html-nYw0lYnn.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/grid/CCol.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_grid_CCol.api.html" */ - "./CCol.api.html-DFGWxu75.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/grid/CContainer.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_grid_CContainer.api.html" */ - "./CContainer.api.html-CJReqk6k.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/grid/CRow.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_grid_CRow.api.html" */ - "./CRow.api.html-CIrSW5Ga.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeader.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeader.api.html" */ - "./CHeader.api.html-CJg_IEiF.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeaderBrand.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeaderBrand.api.html" */ - "./CHeaderBrand.api.html-4A7AgRNX.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeaderDivider.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeaderDivider.api.html" */ - "./CHeaderDivider.api.html-DKNK6-VZ.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeaderNav.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeaderNav.api.html" */ - "./CHeaderNav.api.html-Bbsph2xH.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeaderText.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeaderText.api.html" */ - "./CHeaderText.api.html-dosyBX2D.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/header/CHeaderToggler.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_header_CHeaderToggler.api.html" */ - "./CHeaderToggler.api.html-BlIes8qe.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/image/CImage.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_image_CImage.api.html" */ - "./CImage.api.html-C1zwuBO9.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/link/CLink.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_link_CLink.api.html" */ - "./CLink.api.html-6FAjEedH.js" + "./CInputGroupText.api.html-CjjBv0Qa.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/list-group/CListGroup.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_list-group_CListGroup.api.html" */ - "./CListGroup.api.html-CWB2ebuP.js" + "./CListGroup.api.html-BoJSzdjE.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/list-group/CListGroupItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_list-group_CListGroupItem.api.html" */ - "./CListGroupItem.api.html-B75RiEoP.js" + "./CListGroupItem.api.html-QGIAoVEf.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/loading-button/CLoadingButton.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_loading-button_CLoadingButton.api.html" */ - "./CLoadingButton.api.html-DlKJUvsa.js" + "./CLoadingButton.api.html-BBbFgjn5.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/modal/CModal.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_modal_CModal.api.html" */ - "./CModal.api.html-8P7cw-ZY.js" + "./CModal.api.html-CcahfjI1.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/modal/CModalBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_modal_CModalBody.api.html" */ - "./CModalBody.api.html-CHE1pY1A.js" + "./CModalBody.api.html-BVcd8oVP.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/modal/CModalFooter.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_modal_CModalFooter.api.html" */ - "./CModalFooter.api.html-BsNGmVfu.js" + "./CModalFooter.api.html-BOfY4tP-.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/modal/CModalHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_modal_CModalHeader.api.html" */ - "./CModalHeader.api.html-Dg9LwxqA.js" + "./CModalHeader.api.html-DoHVd2NU.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/modal/CModalTitle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_modal_CModalTitle.api.html" */ - "./CModalTitle.api.html-BBDuhOrq.js" + "./CModalTitle.api.html-ZPHhqxhp.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/link/CLink.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_link_CLink.api.html" */ + "./CLink.api.html-CkkUHkLl.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/multi-select/CMultiSelect.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_multi-select_CMultiSelect.api.html" */ - "./CMultiSelect.api.html-B9pw_7rn.js" + "./CMultiSelect.api.html-DieqOVIP.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/multi-select/CMultiSelectNativeSelect.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_multi-select_CMultiSelectNativeSelect.api.html" */ - "./CMultiSelectNativeSelect.api.html-Mfuatll8.js" + "./CMultiSelectNativeSelect.api.html-CIhoy8ZE.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/multi-select/CMultiSelectOptions.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_multi-select_CMultiSelectOptions.api.html" */ - "./CMultiSelectOptions.api.html-DivQq4t9.js" + "./CMultiSelectOptions.api.html-DtAlk_Hc.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/multi-select/CMultiSelectSelection.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_multi-select_CMultiSelectSelection.api.html" */ - "./CMultiSelectSelection.api.html-D2u4Hpu2.js" + "./CMultiSelectSelection.api.html-CUdfepD8.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNav.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNav.api.html" */ - "./CNav.api.html-CHflKJ-r.js" + "./CNav.api.html-BFqXbscE.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNavGroup.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNavGroup.api.html" */ - "./CNavGroup.api.html-B69rD5K0.js" + "./CNavGroup.api.html-CQwUJgTt.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNavGroupItems.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNavGroupItems.api.html" */ - "./CNavGroupItems.api.html-MzViYoW-.js" + "./CNavGroupItems.api.html-B0aFIsJL.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNavItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNavItem.api.html" */ - "./CNavItem.api.html-BluVGAkl.js" + "./CNavItem.api.html-D9aqO2xw.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNavLink.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNavLink.api.html" */ - "./CNavLink.api.html-BLbL7bWh.js" + "./CNavLink.api.html-2gObI4eE.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/nav/CNavTitle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_nav_CNavTitle.api.html" */ - "./CNavTitle.api.html-B5pzzmsO.js" + "./CNavTitle.api.html-jwhtM3Ht.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/navbar/CNavbar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_navbar_CNavbar.api.html" */ - "./CNavbar.api.html-D6jrKQQE.js" + "./CNavbar.api.html-Bpr_rlAN.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/navbar/CNavbarBrand.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_navbar_CNavbarBrand.api.html" */ - "./CNavbarBrand.api.html-iAKNmT2K.js" + "./CNavbarBrand.api.html-wHe16RAc.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/navbar/CNavbarNav.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_navbar_CNavbarNav.api.html" */ - "./CNavbarNav.api.html-DTmYoiRc.js" + "./CNavbarNav.api.html-BvIABqX_.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/navbar/CNavbarText.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_navbar_CNavbarText.api.html" */ - "./CNavbarText.api.html-DhRgVY0Q.js" + "./CNavbarText.api.html-DXM-0CeX.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/navbar/CNavbarToggler.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_navbar_CNavbarToggler.api.html" */ - "./CNavbarToggler.api.html-BHSE5jxT.js" + "./CNavbarToggler.api.html-Du6cS1F2.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/offcanvas/COffcanvas.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_offcanvas_COffcanvas.api.html" */ - "./COffcanvas.api.html--9epuLuW.js" + "./COffcanvas.api.html-C1yrjIbI.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/offcanvas/COffcanvasBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_offcanvas_COffcanvasBody.api.html" */ - "./COffcanvasBody.api.html-DpuEcC8p.js" + "./COffcanvasBody.api.html-Cuyu4m1t.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/offcanvas/COffcanvasHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_offcanvas_COffcanvasHeader.api.html" */ - "./COffcanvasHeader.api.html-CA3y4VF-.js" + "./COffcanvasHeader.api.html-C94tOX9J.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/offcanvas/COffcanvasTitle.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_offcanvas_COffcanvasTitle.api.html" */ - "./COffcanvasTitle.api.html-BCDNOR0i.js" + "./COffcanvasTitle.api.html-DWPpS-Pe.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/pagination/CPagination.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_pagination_CPagination.api.html" */ - "./CPagination.api.html-mFhXc4Yf.js" + "./CPagination.api.html-CDazWQCT.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/pagination/CPaginationItem.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_pagination_CPaginationItem.api.html" */ - "./CPaginationItem.api.html-Bsa5oQkt.js" + "./CPaginationItem.api.html-CrJi52XB.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/pagination/CSmartPagination.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_pagination_CSmartPagination.api.html" */ - "./CSmartPagination.api.html-CrCaD_lP.js" + "./CSmartPagination.api.html-CtPxYRy0.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/picker/CPicker.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_picker_CPicker.api.html" */ - "./CPicker.api.html-Da5Hysn9.js" + "./CPicker.api.html-oSkyMXwU.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/placeholder/CPlaceholder.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_placeholder_CPlaceholder.api.html" */ - "./CPlaceholder.api.html-CpcOzpbr.js" + "./CPlaceholder.api.html-TZhyRjR4.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/popover/CPopover.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_popover_CPopover.api.html" */ - "./CPopover.api.html-ymVfjSSe.js" + "./CPopover.api.html-tQSUMLbj.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/progress/CProgress.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_progress_CProgress.api.html" */ - "./CProgress.api.html-C-66SSng.js" + "./CProgress.api.html-DtBG3iso.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/progress/CProgressBar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_progress_CProgressBar.api.html" */ - "./CProgressBar.api.html-BjA2nShz.js" + "./CProgressBar.api.html-DbiY29uU.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/progress/CProgressStacked.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_progress_CProgressStacked.api.html" */ - "./CProgressStacked.api.html-iS9rdju9.js" + "./CProgressStacked.api.html-D0_SIwt3.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/rating/CRating.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_rating_CRating.api.html" */ - "./CRating.api.html-CbBSuHpA.js" + "./CRating.api.html-c48h2dsU.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebar.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebar.api.html" */ - "./CSidebar.api.html-DaxOjldv.js" + "./CSidebar.api.html-CTwTsKKM.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebarBrand.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebarBrand.api.html" */ - "./CSidebarBrand.api.html-CMvNigzU.js" + "./CSidebarBrand.api.html-BDwVBijp.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebarFooter.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebarFooter.api.html" */ - "./CSidebarFooter.api.html-DG6rj4Di.js" + "./CSidebarFooter.api.html-9MYkXiDf.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebarHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebarHeader.api.html" */ - "./CSidebarHeader.api.html-UjLXre_-.js" + "./CSidebarHeader.api.html-CFlZhoRs.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebarNav.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebarNav.api.html" */ - "./CSidebarNav.api.html-ZV8snc4P.js" + "./CSidebarNav.api.html-DPgns5YK.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/sidebar/CSidebarToggler.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_sidebar_CSidebarToggler.api.html" */ - "./CSidebarToggler.api.html-CwaVG0LH.js" + "./CSidebarToggler.api.html-CCzfHjoN.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-pagination/CSmartPagination.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-pagination_CSmartPagination.api.html" */ - "./CSmartPagination.api.html-BikuSyAw.js" + "./CSmartPagination.api.html-BtDrxSb-.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTable.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTable.api.html" */ - "./CSmartTable.api.html-DBtpefqV.js" + "./CSmartTable.api.html-DGm1bmhO.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTableBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTableBody.api.html" */ - "./CSmartTableBody.api.html-BnkPBl42.js" + "./CSmartTableBody.api.html-Ct54x_n5.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTableCleaner.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTableCleaner.api.html" */ - "./CSmartTableCleaner.api.html-Ca51YF0C.js" + "./CSmartTableCleaner.api.html-D3V7dsv2.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTableFilter.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTableFilter.api.html" */ - "./CSmartTableFilter.api.html-B7_1b50f.js" + "./CSmartTableFilter.api.html-DUCc6wnW.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTableHead.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTableHead.api.html" */ - "./CSmartTableHead.api.html-DW9ZUntG.js" + "./CSmartTableHead.api.html-BObUzIwn.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/smart-table/CSmartTableItemsPerPageSelector.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_smart-table_CSmartTableItemsPerPageSelector.api.html" */ - "./CSmartTableItemsPerPageSelector.api.html-BqX7W_5v.js" + "./CSmartTableItemsPerPageSelector.api.html-BcdEUUOn.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/spinner/CSpinner.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_spinner_CSpinner.api.html" */ - "./CSpinner.api.html-O0NhTV-x.js" + "./CSpinner.api.html-tz9ud1zw.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTable.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTable.api.html" */ - "./CTable.api.html-D0dRnCW-.js" + "./CTable.api.html-DNonlxhT.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableBody.api.html" */ - "./CTableBody.api.html-BFPdQqw6.js" + "./CTableBody.api.html-BE5qkKGP.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableCaption.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableCaption.api.html" */ - "./CTableCaption.api.html-MTWPlJR7.js" + "./CTableCaption.api.html-phSXI7iF.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableDataCell.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableDataCell.api.html" */ - "./CTableDataCell.api.html-r0s-YiAY.js" + "./CTableDataCell.api.html-CTzr6HkH.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableFoot.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableFoot.api.html" */ - "./CTableFoot.api.html-FVtyDTMQ.js" + "./CTableFoot.api.html-DcRu-Wur.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableHead.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableHead.api.html" */ - "./CTableHead.api.html-CuaSabQj.js" + "./CTableHead.api.html-jC7mLOK8.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableHeaderCell.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableHeaderCell.api.html" */ - "./CTableHeaderCell.api.html-DahKEodk.js" + "./CTableHeaderCell.api.html-BDiQC33l.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/table/CTableRow.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_table_CTableRow.api.html" */ - "./CTableRow.api.html-Bh9JvciN.js" + "./CTableRow.api.html-BS0zN1Kr.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTab.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTab.api.html" */ - "./CTab.api.html-DOCKLIPZ.js" + "./CTab.api.html-C_8FIEMx.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTabContent.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTabContent.api.html" */ - "./CTabContent.api.html-C2PinBa9.js" + "./CTabContent.api.html-1j4Vrr4K.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTabList.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTabList.api.html" */ - "./CTabList.api.html-BEqv9sl7.js" + "./CTabList.api.html-Cmt2uvE5.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTabPane.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTabPane.api.html" */ - "./CTabPane.api.html-B47A_sq6.js" + "./CTabPane.api.html-CNWr2MmF.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTabPanel.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTabPanel.api.html" */ - "./CTabPanel.api.html-CZYhUIL_.js" + "./CTabPanel.api.html-Civ-9a5a.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tabs/CTabs.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tabs_CTabs.api.html" */ - "./CTabs.api.html-BFEYxLzk.js" + "./CTabs.api.html-DnMHi3vy.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/time-picker/CTimePicker.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_time-picker_CTimePicker.api.html" */ - "./CTimePicker.api.html-B1LPdULH.js" + "./CTimePicker.api.html-C_1ZXYrv.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/time-picker/CTimePickerRollCol.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_time-picker_CTimePickerRollCol.api.html" */ - "./CTimePickerRollCol.api.html-CKuM6oLe.js" + "./CTimePickerRollCol.api.html-BP01-pLv.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/toast/CToast.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_toast_CToast.api.html" */ - "./CToast.api.html-CrpEOCPn.js" + "./CToast.api.html-CMbe9i1s.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/toast/CToastBody.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_toast_CToastBody.api.html" */ - "./CToastBody.api.html-4viEj-di.js" + "./CToastBody.api.html-JaBADYAu.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/toast/CToastClose.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_toast_CToastClose.api.html" */ - "./CToastClose.api.html-D5MPMBvN.js" + "./CToastClose.api.html-YQ6mj1QO.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/toast/CToastHeader.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_toast_CToastHeader.api.html" */ - "./CToastHeader.api.html-Bp3krdZ3.js" + "./CToastHeader.api.html-Bb_cYC6K.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/toast/CToaster.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_toast_CToaster.api.html" */ - "./CToaster.api.html-CZ4AWR-a.js" - ), true ? [] : void 0), meta: { "title": "" } }], - ["/api/virtual-scroller/CVirtualScroller.api.html", { loader: () => __vitePreload(() => import( - /* webpackChunkName: "api_virtual-scroller_CVirtualScroller.api.html" */ - "./CVirtualScroller.api.html-OI5523Hm.js" + "./CToaster.api.html-DIlPMx7J.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/tooltip/CTooltip.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_tooltip_CTooltip.api.html" */ - "./CTooltip.api.html-Dd9JcsKh.js" + "./CTooltip.api.html-BG1bcVkZ.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsA.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsA.api.html" */ - "./CWidgetStatsA.api.html-DD_G_0XR.js" + "./CWidgetStatsA.api.html-CQAWIPeh.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsB.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsB.api.html" */ - "./CWidgetStatsB.api.html-BDmKGNGc.js" + "./CWidgetStatsB.api.html-8R9003Ye.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsC.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsC.api.html" */ - "./CWidgetStatsC.api.html-Ck65oxiQ.js" + "./CWidgetStatsC.api.html-BEjn1BPd.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsD.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsD.api.html" */ - "./CWidgetStatsD.api.html-C6jHMRVC.js" + "./CWidgetStatsD.api.html-vMUwQLz_.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsE.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsE.api.html" */ - "./CWidgetStatsE.api.html-WqFr1dq3.js" + "./CWidgetStatsE.api.html-8FNgCETA.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/widgets/CWidgetStatsF.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_widgets_CWidgetStatsF.api.html" */ - "./CWidgetStatsF.api.html-DQOglbDZ.js" + "./CWidgetStatsF.api.html-Bs-3Tpfk.js" + ), true ? [] : void 0), meta: { "title": "" } }], + ["/api/virtual-scroller/CVirtualScroller.api.html", { loader: () => __vitePreload(() => import( + /* webpackChunkName: "api_virtual-scroller_CVirtualScroller.api.html" */ + "./CVirtualScroller.api.html-CYqYd6bS.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/coreui-icons-vue/src/CIcon.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_coreui-icons-vue_src_CIcon.api.html" */ - "./CIcon.api.html-B3u-PJZc.js" + "./CIcon.api.html-DXua_Pop.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/api/coreui-icons-vue/src/CIconSvg.api.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "api_coreui-icons-vue_src_CIconSvg.api.html" */ - "./CIconSvg.api.html-DboTNlH1.js" + "./CIconSvg.api.html-Bu8_TLiB.js" ), true ? [] : void 0), meta: { "title": "" } }], ["/404.html", { loader: () => __vitePreload(() => import( /* webpackChunkName: "404.html" */ - "./404.html-RliG702a.js" + "./404.html-DU2TjE25.js" ), true ? [] : void 0), meta: { "title": "" } }] ]); -function getDevtoolsGlobalHook$1() { - return getTarget$1().__VUE_DEVTOOLS_GLOBAL_HOOK__; +function getDevtoolsGlobalHook() { + return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__; } -function getTarget$1() { +function getTarget() { return typeof navigator !== "undefined" && typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : {}; } -const isProxyAvailable$1 = typeof Proxy === "function"; -const HOOK_SETUP$1 = "devtools-plugin:setup"; -const HOOK_PLUGIN_SETTINGS_SET$1 = "plugin:settings:set"; -let supported$1; -let perf$1; -function isPerformanceSupported$1() { +const isProxyAvailable = typeof Proxy === "function"; +const HOOK_SETUP = "devtools-plugin:setup"; +const HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set"; +let supported; +let perf; +function isPerformanceSupported() { var _a2; - if (supported$1 !== void 0) { - return supported$1; + if (supported !== void 0) { + return supported; } if (typeof window !== "undefined" && window.performance) { - supported$1 = true; - perf$1 = window.performance; + supported = true; + perf = window.performance; } else if (typeof globalThis !== "undefined" && ((_a2 = globalThis.perf_hooks) === null || _a2 === void 0 ? void 0 : _a2.performance)) { - supported$1 = true; - perf$1 = globalThis.perf_hooks.performance; + supported = true; + perf = globalThis.perf_hooks.performance; } else { - supported$1 = false; + supported = false; } - return supported$1; + return supported; } -function now$1() { - return isPerformanceSupported$1() ? perf$1.now() : Date.now(); +function now() { + return isPerformanceSupported() ? perf.now() : Date.now(); } -let ApiProxy$1 = class ApiProxy { +class ApiProxy { constructor(plugin, hook) { this.target = null; this.targetQueue = []; @@ -10309,11 +10332,11 @@ let ApiProxy$1 = class ApiProxy { currentSettings = value; }, now() { - return now$1(); + return now(); } }; if (hook) { - hook.on(HOOK_PLUGIN_SETTINGS_SET$1, (pluginId, value) => { + hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => { if (pluginId === this.plugin.id) { this.fallbacks.setSettings(value); } @@ -10372,16 +10395,16 @@ let ApiProxy$1 = class ApiProxy { item.resolve(await this.target[item.method](...item.args)); } } -}; -function setupDevtoolsPlugin$1(pluginDescriptor, setupFn) { +} +function setupDevtoolsPlugin(pluginDescriptor, setupFn) { const descriptor = pluginDescriptor; - const target = getTarget$1(); - const hook = getDevtoolsGlobalHook$1(); - const enableProxy = isProxyAvailable$1 && descriptor.enableEarlyProxy; + const target = getTarget(); + const hook = getDevtoolsGlobalHook(); + const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy; if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) { - hook.emit(HOOK_SETUP$1, pluginDescriptor, setupFn); + hook.emit(HOOK_SETUP, pluginDescriptor, setupFn); } else { - const proxy = enableProxy ? new ApiProxy$1(descriptor, hook) : null; + const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null; const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || []; list.push({ pluginDescriptor: descriptor, @@ -10394,7 +10417,7 @@ function setupDevtoolsPlugin$1(pluginDescriptor, setupFn) { } } /*! - * vue-router v4.4.0 + * vue-router v4.4.3 * (c) 2024 Eduardo San Martin Morote * @license MIT */ @@ -10796,7 +10819,7 @@ function useHistoryStateNavigation(base) { history.replaceState(history.state, '', url) -You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`); +You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`); } changeLocation(currentState.current, currentState, true); const state = assign$2({}, buildState(currentLocation.value, to2, null), { position: currentState.position + 1 }, data); @@ -11258,7 +11281,7 @@ function createRouterMatcher(routes2, globalOptions) { normalizedRecord.path = parent.record.path + (path && connectingSlash + path); } if (normalizedRecord.path === "*") { - throw new Error('Catch all routes ("*") must now be defined using a param with a custom regexp.\nSee more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.'); + throw new Error('Catch all routes ("*") must now be defined using a param with a custom regexp.\nSee more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.'); } matcher = createRouteRecordMatcher(normalizedRecord, parent, options); if (parent && path[0] === "/") @@ -12005,7 +12028,7 @@ function addDevtools(app, router, matcher) { return; router.__hasDevtools = true; const id = routerId++; - setupDevtoolsPlugin$1({ + setupDevtoolsPlugin({ id: "org.vuejs.router" + (id ? "." + id : ""), label: "Vue Router", packageName: "vue-router", @@ -12378,7 +12401,7 @@ function createRouter(options) { const stringifyQuery$1 = options.stringifyQuery || stringifyQuery; const routerHistory = options.history; if (!routerHistory) - throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.'); + throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history'); const beforeGuards = useCallbacks(); const beforeResolveGuards = useCallbacks(); const afterGuards = useCallbacks(); @@ -13163,155 +13186,7 @@ var withBase = (url) => { if (isLinkHttp(url)) return url; return `${"/vue/docs/"}${removeLeadingSlash(url)}`; }; -function getDevtoolsGlobalHook() { - return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__; -} -function getTarget() { - return typeof navigator !== "undefined" && typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : {}; -} -const isProxyAvailable = typeof Proxy === "function"; -const HOOK_SETUP = "devtools-plugin:setup"; -const HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set"; -let supported; -let perf; -function isPerformanceSupported() { - var _a2; - if (supported !== void 0) { - return supported; - } - if (typeof window !== "undefined" && window.performance) { - supported = true; - perf = window.performance; - } else if (typeof globalThis !== "undefined" && ((_a2 = globalThis.perf_hooks) === null || _a2 === void 0 ? void 0 : _a2.performance)) { - supported = true; - perf = globalThis.perf_hooks.performance; - } else { - supported = false; - } - return supported; -} -function now() { - return isPerformanceSupported() ? perf.now() : Date.now(); -} -class ApiProxy2 { - constructor(plugin, hook) { - this.target = null; - this.targetQueue = []; - this.onQueue = []; - this.plugin = plugin; - this.hook = hook; - const defaultSettings = {}; - if (plugin.settings) { - for (const id in plugin.settings) { - const item = plugin.settings[id]; - defaultSettings[id] = item.defaultValue; - } - } - const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`; - let currentSettings = Object.assign({}, defaultSettings); - try { - const raw = localStorage.getItem(localSettingsSaveId); - const data = JSON.parse(raw); - Object.assign(currentSettings, data); - } catch (e2) { - } - this.fallbacks = { - getSettings() { - return currentSettings; - }, - setSettings(value) { - try { - localStorage.setItem(localSettingsSaveId, JSON.stringify(value)); - } catch (e2) { - } - currentSettings = value; - }, - now() { - return now(); - } - }; - if (hook) { - hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => { - if (pluginId === this.plugin.id) { - this.fallbacks.setSettings(value); - } - }); - } - this.proxiedOn = new Proxy({}, { - get: (_target, prop) => { - if (this.target) { - return this.target.on[prop]; - } else { - return (...args) => { - this.onQueue.push({ - method: prop, - args - }); - }; - } - } - }); - this.proxiedTarget = new Proxy({}, { - get: (_target, prop) => { - if (this.target) { - return this.target[prop]; - } else if (prop === "on") { - return this.proxiedOn; - } else if (Object.keys(this.fallbacks).includes(prop)) { - return (...args) => { - this.targetQueue.push({ - method: prop, - args, - resolve: () => { - } - }); - return this.fallbacks[prop](...args); - }; - } else { - return (...args) => { - return new Promise((resolve2) => { - this.targetQueue.push({ - method: prop, - args, - resolve: resolve2 - }); - }); - }; - } - } - }); - } - async setRealTarget(target) { - this.target = target; - for (const item of this.onQueue) { - this.target.on[item.method](...item.args); - } - for (const item of this.targetQueue) { - item.resolve(await this.target[item.method](...item.args)); - } - } -} -function setupDevtoolsPlugin(pluginDescriptor, setupFn) { - const descriptor = pluginDescriptor; - const target = getTarget(); - const hook = getDevtoolsGlobalHook(); - const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy; - if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) { - hook.emit(HOOK_SETUP, pluginDescriptor, setupFn); - } else { - const proxy = enableProxy ? new ApiProxy2(descriptor, hook) : null; - const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || []; - list.push({ - pluginDescriptor: descriptor, - setupFn, - proxy - }); - if (proxy) { - setupFn(proxy.proxiedTarget); - } - } -} -const themeData$1 = JSON.parse(`{"sidebar":[{"text":"Getting started","icon":"","link":"/getting-started/","children":[{"text":"Introduction","link":"/getting-started/introduction.html"},{"text":"Accessibility","link":"/getting-started/accessibility.html"}]},{"text":"Customize","icon":"","link":"/customize/","children":[{"text":"Sass","link":"/customize/sass.html"},{"text":"Options","link":"/customize/options.html"},{"text":"CSS Variables","link":"/customize/css-variables.html"}]},{"text":"Layout","icon":"","link":"/layout/","children":[{"text":"Breakpoints","link":"/layout/breakpoints.html"},{"text":"Columns","link":"/layout/columns.html"},{"text":"Containers","link":"/layout/containers.html"},{"text":"Grid","link":"/layout/grid.html"},{"text":"Gutters","link":"/layout/gutters.html"}]},{"text":"Forms","icon":"","link":"/forms/","children":[{"text":"Checkbox","link":"/forms/checkbox.html"},{"text":"Date Picker","link":"/forms/date-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Date Range Picker","link":"/forms/date-range-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Floating labels","link":"/forms/floating-labels.html"},{"text":"Input","link":"/forms/input.html"},{"text":"Input group","link":"/forms/input-group.html"},{"text":"Multi Select","link":"/forms/multi-select.html","badge":{"color":"danger","text":"PRO"}},{"text":"Radio","link":"/forms/radio.html"},{"text":"Range","link":"/forms/range.html"},{"text":"Rating","link":"/forms/rating.html","badge":[{"color":"success","text":"NEW"},{"color":"danger","text":"PRO","className":"ms-1"}]},{"text":"Select","link":"/forms/select.html"},{"text":"Switch","link":"/forms/switch.html"},{"text":"Textarea","link":"/forms/textarea.html"},{"text":"Time Picker","link":"/forms/time-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Layout","link":"/forms/layout.html"},{"text":"Validation","link":"/forms/validation.html"}]},{"text":"Components","icon":"","link":"/components/","children":[{"text":"Accordion","link":"/components/accordion.html"},{"text":"Alert","link":"/components/alert.html"},{"text":"Avatar","link":"/components/avatar.html"},{"text":"Badge","link":"/components/badge.html"},{"text":"Breadcrumb","link":"/components/breadcrumb.html"},{"text":"Buttons","link":"/components/button.html"},{"text":"Button Group","link":"/components/button-group.html"},{"text":"Callout","link":"/components/callout.html"},{"text":"Card","link":"/components/card.html"},{"text":"Carousel","link":"/components/carousel.html"},{"text":"Chart","link":"/components/chart.html"},{"text":"Close Button","link":"/components/close-button.html"},{"text":"Collapse","link":"/components/collapse.html"},{"text":"Dropdown","link":"/components/dropdown.html"},{"text":"Footer","link":"/components/footer.html"},{"text":"Header","link":"/components/header.html"},{"text":"Icon","link":"/components/icon.html"},{"text":"Image","link":"/components/image.html"},{"text":"List Group","link":"/components/list-group.html"},{"text":"Loading Button","link":"/components/loading-button.html","badge":{"color":"danger","text":"PRO"}},{"text":"Modal","link":"/components/modal.html"},{"text":"Navs & Tabs","link":"/components/navs-tabs.html"},{"text":"Navbar","link":"/components/navbar.html"},{"text":"Offcanvas","link":"/components/offcanvas.html"},{"text":"Pagination","link":"/components/pagination.html"},{"text":"Placeholder","link":"/components/placeholder.html"},{"text":"Popover","link":"/components/popover.html"},{"text":"Progress","link":"/components/progress.html"},{"text":"Sidebar","link":"/components/sidebar.html"},{"text":"Sidebar","link":"/components/sidebar.html"},{"text":"Smart Pagination","link":"/components/smart-pagination.html","badge":{"color":"danger","text":"PRO"}},{"text":"Smart Table","link":"/components/smart-table.html","badge":{"color":"danger","text":"PRO"}},{"text":"Spinner","link":"/components/spinner.html"},{"text":"Table","link":"/components/table.html"},{"text":"Tabs","link":"/components/tabs.html","badge":{"color":"success","text":"New"}},{"text":"Toast","link":"/components/toast.html"},{"text":"Tooltip","link":"/components/tooltip.html"},{"text":"Virtual Scroller","link":"/components/virtual-scroller.html"},{"text":"Widgets","link":"/components/widgets.html"}]},{"text":"Templates","link":"/templates/","icon":"","children":[{"text":"Admin & Dashboard","link":"/templates/admin-dashboard.html","badge":{"color":"success","text":"New"}},{"text":"Download","link":"/templates/download.html"},{"text":"Installation","link":"/templates/installation.html"},{"text":"Customize","link":"/templates/customize.html"},{"text":"Contents","link":"/templates/contents.html"}]},{"text":"Migration","link":"/migration/","icon":"","children":[{"text":"v4","link":"/migration/v4.html"},{"text":"v5","link":"/migration/v5.html"}]}],"locales":{"/":{"selectLanguageName":"English"}},"navbar":[],"logo":null,"darkMode":true,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleDarkMode":"toggle dark mode"}`); +const themeData$1 = JSON.parse(`{"sidebar":[{"text":"Getting started","icon":"","link":"/getting-started/","children":[{"text":"Introduction","link":"/getting-started/introduction.html"},{"text":"Accessibility","link":"/getting-started/accessibility.html"}]},{"text":"Customize","icon":"","link":"/customize/","children":[{"text":"Sass","link":"/customize/sass.html"},{"text":"Options","link":"/customize/options.html"},{"text":"CSS Variables","link":"/customize/css-variables.html"}]},{"text":"Layout","icon":"","link":"/layout/","children":[{"text":"Breakpoints","link":"/layout/breakpoints.html"},{"text":"Columns","link":"/layout/columns.html"},{"text":"Containers","link":"/layout/containers.html"},{"text":"Grid","link":"/layout/grid.html"},{"text":"Gutters","link":"/layout/gutters.html"}]},{"text":"Forms","icon":"","link":"/forms/","children":[{"text":"Checkbox","link":"/forms/checkbox.html"},{"text":"Date Picker","link":"/forms/date-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Date Range Picker","link":"/forms/date-range-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Floating labels","link":"/forms/floating-labels.html"},{"text":"Input","link":"/forms/input.html"},{"text":"Input group","link":"/forms/input-group.html"},{"text":"Multi Select","link":"/forms/multi-select.html","badge":{"color":"danger","text":"PRO"}},{"text":"Radio","link":"/forms/radio.html"},{"text":"Range","link":"/forms/range.html"},{"text":"Rating","link":"/forms/rating.html","badge":[{"color":"success","text":"NEW"},{"color":"danger","text":"PRO","className":"ms-1"}]},{"text":"Select","link":"/forms/select.html"},{"text":"Switch","link":"/forms/switch.html"},{"text":"Textarea","link":"/forms/textarea.html"},{"text":"Time Picker","link":"/forms/time-picker.html","badge":{"color":"danger","text":"PRO"}},{"text":"Layout","link":"/forms/layout.html"},{"text":"Validation","link":"/forms/validation.html"}]},{"text":"Components","icon":"","link":"/components/","children":[{"text":"Accordion","link":"/components/accordion.html"},{"text":"Alert","link":"/components/alert.html"},{"text":"Avatar","link":"/components/avatar.html"},{"text":"Badge","link":"/components/badge.html"},{"text":"Breadcrumb","link":"/components/breadcrumb.html"},{"text":"Buttons","link":"/components/button.html"},{"text":"Button Group","link":"/components/button-group.html"},{"text":"Calendar","link":"/components/calendar.html","badge":{"color":"danger","text":"PRO"}},{"text":"Callout","link":"/components/callout.html"},{"text":"Card","link":"/components/card.html"},{"text":"Carousel","link":"/components/carousel.html"},{"text":"Chart","link":"/components/chart.html"},{"text":"Close Button","link":"/components/close-button.html"},{"text":"Collapse","link":"/components/collapse.html"},{"text":"Dropdown","link":"/components/dropdown.html"},{"text":"Footer","link":"/components/footer.html"},{"text":"Header","link":"/components/header.html"},{"text":"Icon","link":"/components/icon.html"},{"text":"Image","link":"/components/image.html"},{"text":"List Group","link":"/components/list-group.html"},{"text":"Loading Button","link":"/components/loading-button.html","badge":{"color":"danger","text":"PRO"}},{"text":"Modal","link":"/components/modal.html"},{"text":"Navs & Tabs","link":"/components/navs-tabs.html"},{"text":"Navbar","link":"/components/navbar.html"},{"text":"Offcanvas","link":"/components/offcanvas.html"},{"text":"Pagination","link":"/components/pagination.html"},{"text":"Placeholder","link":"/components/placeholder.html"},{"text":"Popover","link":"/components/popover.html"},{"text":"Progress","link":"/components/progress.html"},{"text":"Sidebar","link":"/components/sidebar.html"},{"text":"Sidebar","link":"/components/sidebar.html"},{"text":"Smart Pagination","link":"/components/smart-pagination.html","badge":{"color":"danger","text":"PRO"}},{"text":"Smart Table","link":"/components/smart-table.html","badge":{"color":"danger","text":"PRO"}},{"text":"Spinner","link":"/components/spinner.html"},{"text":"Table","link":"/components/table.html"},{"text":"Tabs","link":"/components/tabs.html","badge":{"color":"success","text":"New"}},{"text":"Toast","link":"/components/toast.html"},{"text":"Tooltip","link":"/components/tooltip.html"},{"text":"Virtual Scroller","link":"/components/virtual-scroller.html"},{"text":"Widgets","link":"/components/widgets.html"}]},{"text":"Templates","link":"/templates/","icon":"","children":[{"text":"Admin & Dashboard","link":"/templates/admin-dashboard.html","badge":{"color":"success","text":"New"}},{"text":"Download","link":"/templates/download.html"},{"text":"Installation","link":"/templates/installation.html"},{"text":"Customize","link":"/templates/customize.html"},{"text":"Contents","link":"/templates/contents.html"}]},{"text":"Migration","link":"/migration/","icon":"","children":[{"text":"v4","link":"/migration/v4.html"},{"text":"v5","link":"/migration/v5.html"}]}],"locales":{"/":{"selectLanguageName":"English"}},"navbar":[],"logo":null,"darkMode":true,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleDarkMode":"toggle dark mode"}`); const themeData = ref(themeData$1); const useThemeData = () => themeData; const themeLocaleDataSymbol = Symbol(""); @@ -13350,6 +13225,7 @@ const config$3 = defineClientConfig({ { setupDevtoolsPlugin({ // fix recursive reference + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any app, id: "org.vuejs.vuepress.plugin-theme-data", label: "VuePress Theme Data Plugin", @@ -13444,10 +13320,10 @@ const resolveSidebarItems = (frontmatter, themeLocale) => { return resolveAutoSidebarItems(sidebarDepth); } if (Array.isArray(sidebarConfig)) { - return resolveArraySidebarItems(sidebarConfig, sidebarDepth); + return resolveArraySidebarItems(sidebarConfig); } if (isPlainObject$3(sidebarConfig)) { - return resolveMultiSidebarItems(sidebarConfig, sidebarDepth); + return resolveMultiSidebarItems(sidebarConfig); } return []; }; @@ -13467,10 +13343,9 @@ const resolveAutoSidebarItems = (sidebarDepth) => { ]; }; const resolveArraySidebarItems = (sidebarConfig, sidebarDepth) => { - const route = useRoute(); - const page = usePageData(); + useRoute(); + usePageData(); const handleChildItem = (item) => { - var _a2; let childItem; if (isString(item)) { childItem = useNavLink(item); @@ -13483,13 +13358,6 @@ const resolveArraySidebarItems = (sidebarConfig, sidebarDepth) => { children: childItem.children.map((item2) => handleChildItem(item2)) }; } - if (childItem.link === route.path) { - const headers = ((_a2 = page.value.headers[0]) == null ? void 0 : _a2.level) === 1 ? page.value.headers[0].children : page.value.headers; - return { - ...childItem, - children: headersToSidebarItemChildren(headers, sidebarDepth) - }; - } return childItem; }; return sidebarConfig.map((item) => handleChildItem(item)); @@ -13498,7 +13366,7 @@ const resolveMultiSidebarItems = (sidebarConfig, sidebarDepth) => { const route = useRoute(); const sidebarPath = resolveLocalePath(sidebarConfig, route.path); const matchedSidebarConfig = sidebarConfig[sidebarPath] ?? []; - return resolveArraySidebarItems(matchedSidebarConfig, sidebarDepth); + return resolveArraySidebarItems(matchedSidebarConfig); }; /*! @docsearch/js 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */ function e(e2, t2) { @@ -17542,9 +17410,7 @@ const convertToDateObject = (date, selectionType) => { if (selectionType === "week") { return convertIsoWeekToDate(date); } - const _date = new Date(Date.parse(date)); - const userTimezoneOffset = _date.getTimezoneOffset() * 6e4; - return new Date(_date.getTime() + userTimezoneOffset); + return new Date(Date.parse(date)); }; const createGroupsInArray = (arr, numberOfGroups) => { const perGroup = Math.ceil(arr.length / numberOfGroups); @@ -17721,6 +17587,42 @@ const removeTimeFromDate = (date) => new Date(date.getFullYear(), date.getMonth( const CCalendar = /* @__PURE__ */ defineComponent({ name: "CCalendar", props: { + /** + * A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button. + * + * @since 5.4.0 + */ + ariaNavNextMonthLabel: { + type: String, + default: "Next month" + }, + /** + * A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality. + * + * @since 5.4.0 + */ + ariaNavNextYearLabel: { + type: String, + default: "Next year" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button. + * + * @since 5.4.0 + */ + ariaNavPrevMonthLabel: { + type: String, + default: "Previous month" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function. + * + * @since 5.4.0 + */ + ariaNavPrevYearLabel: { + type: String, + default: "Previous year" + }, /** * Default date of the component */ @@ -18189,7 +18091,10 @@ const CCalendar = /* @__PURE__ */ defineComponent({ weekDays.map(({ date }) => { return h$2( "th", - { class: "calendar-cell" }, + { + class: "calendar-cell", + abbr: date.toLocaleDateString(props.locale, { weekday: "long" }) + }, h$2( "div", { @@ -18215,6 +18120,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ maxDate.value, props.disabledDates ); + const isSelected = isDateSelected(date, startDate.value, endDate.value); const current = week.days.some((day) => day.month === "current"); return h$2( "tr", @@ -18225,10 +18131,11 @@ const CCalendar = /* @__PURE__ */ defineComponent({ disabled: isDisabled, range: props.selectionType === "week" && isDateInRange(date, startDate.value, endDate.value), "range-hover": props.selectionType === "week" && hoverDate.value && selectEndDate.value ? isDateInRange(date, startDate.value, hoverDate.value) : isDateInRange(date, hoverDate.value, endDate.value), - selected: isDateSelected(date, startDate.value, endDate.value) + selected: isSelected } ], tabindex: props.selectionType === "week" && current && !isDisabled ? 0 : -1, + ...isSelected && { "aria-selected": true }, ...props.selectionType === "week" && !isDisabled && { onBlur: () => handleCalendarMouseLeave(), onClick: () => handleCalendarClick(date), @@ -18251,6 +18158,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ maxDate.value, props.disabledDates ); + const isSelected2 = isDateSelected(date2, startDate.value, endDate.value); return month === "current" || props.showAdjacementDays ? h$2( "td", { @@ -18262,7 +18170,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ disabled: isDisabled2, "range-hover": month === "current" && (hoverDate.value && selectEndDate.value ? isDateInRange(date2, startDate.value, hoverDate.value) : isDateInRange(date2, hoverDate.value, endDate.value)), range: month === "current" && isDateInRange(date2, startDate.value, endDate.value), - selected: isDateSelected(date2, startDate.value, endDate.value) + selected: isSelected2 }, [month]: true, today: month === "current" && isToday(date2) @@ -18270,6 +18178,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ ], tabindex: props.selectionType === "day" && (month === "current" || props.selectAdjacementDays) && !isDisabled2 ? 0 : -1, title: date2.toLocaleDateString(props.locale), + ...isSelected2 && { "aria-selected": true }, ...props.selectionType === "day" && (month === "current" || props.selectAdjacementDays) && { onBlur: () => handleCalendarMouseLeave(), onClick: () => handleCalendarClick(date2), @@ -18309,6 +18218,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ maxDate.value, props.disabledDates ); + const isSelected = isDateSelected(date, startDate.value, endDate.value); return h$2( "td", { @@ -18316,12 +18226,13 @@ const CCalendar = /* @__PURE__ */ defineComponent({ "calendar-cell", { disabled: isDisabled, - selected: isDateSelected(date, startDate.value, endDate.value), + selected: isSelected, "range-hover": props.selectionType === "month" && (hoverDate.value && selectEndDate ? isDateInRange(date, startDate.value, hoverDate.value) : isDateInRange(date, hoverDate.value, endDate.value)), range: isDateInRange(date, startDate.value, endDate.value) } ], tabindex: isDisabled ? -1 : 0, + ...isSelected && { "aria-selected": true }, ...!isDisabled && { onBlur: () => handleCalendarMouseLeave(), onClick: () => handleCalendarClick(date), @@ -18348,6 +18259,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ maxDate.value, props.disabledDates ); + const isSelected = isDateSelected(date, startDate.value, endDate.value); return h$2( "td", { @@ -18355,12 +18267,13 @@ const CCalendar = /* @__PURE__ */ defineComponent({ "calendar-cell year", { disabled: isDisabled, - selected: isDateSelected(date, startDate.value, endDate.value), + selected: isSelected, "range-hover": props.selectionType === "year" && (hoverDate.value && selectEndDate ? isDateInRange(date, startDate.value, hoverDate.value) : isDateInRange(date, hoverDate.value, endDate.value)), range: isDateInRange(date, startDate.value, endDate.value) } ], tabindex: isDisabled ? -1 : 0, + ...isSelected && { "aria-selected": true }, ...!isDisabled && { onBlur: () => handleCalendarMouseLeave(), onClick: () => handleCalendarClick(date), @@ -18391,6 +18304,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ { color: "transparent", size: "sm", + "aria-label": props.ariaNavPrevYearLabel, onClick: () => handleNavigationOnClick("prev", true) }, { @@ -18405,6 +18319,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ { color: "transparent", size: "sm", + "aria-label": props.ariaNavPrevMonthLabel, onClick: () => handleNavigationOnClick("prev") }, { @@ -18420,6 +18335,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ "div", { class: "calendar-nav-date", + "aria-live": "polite", ...props.navYearFirst && { style: { display: "flex", justifyContent: "center" } } }, [ @@ -18459,6 +18375,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ { color: "transparent", size: "sm", + "aria-label": props.ariaNavNextMonthLabel, onClick: () => handleNavigationOnClick("next") }, { @@ -18473,6 +18390,7 @@ const CCalendar = /* @__PURE__ */ defineComponent({ { color: "transparent", size: "sm", + "aria-label": props.ariaNavNextYearLabel, onClick: () => handleNavigationOnClick("next", true) }, { @@ -19163,7 +19081,7 @@ const CConditionalTeleport = /* @__PURE__ */ defineComponent({ /** * An HTML element or function that returns a single element, with `document.body` as the default. * - * @since v5.0.0 + * @since 5.0.0 */ container: { type: [Object, String], @@ -21897,6 +21815,42 @@ const getLocalDateFromString = (string, locale, time) => { const CDateRangePicker = /* @__PURE__ */ defineComponent({ name: "CDateRangePicker", props: { + /** + * A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button. + * + * @since 5.4.0 + */ + ariaNavNextMonthLabel: { + type: String, + default: "Next month" + }, + /** + * A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality. + * + * @since 5.4.0 + */ + ariaNavNextYearLabel: { + type: String, + default: "Next year" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button. + * + * @since 5.4.0 + */ + ariaNavPrevMonthLabel: { + type: String, + default: "Previous month" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function. + * + * @since 5.4.0 + */ + ariaNavPrevYearLabel: { + type: String, + default: "Previous year" + }, /** * The number of calendars that render on desktop devices. */ @@ -22739,6 +22693,10 @@ const CDateRangePicker = /* @__PURE__ */ defineComponent({ h$2( CCalendar, { + ariaNavNextMonthLabel: props.ariaNavNextMonthLabel, + ariaNavNextYearLabel: props.ariaNavNextYearLabel, + ariaNavPrevMonthLabel: props.ariaNavPrevMonthLabel, + ariaNavPrevYearLabel: props.ariaNavPrevYearLabel, calendarDate: calendarDate.value, calendars: isMobile.value ? 1 : props.calendars, class: "date-picker-calendars", @@ -22845,6 +22803,42 @@ const CDateRangePickerPlugin = { const CDatePicker = /* @__PURE__ */ defineComponent({ name: "CDatePicker", props: { + /** + * A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button. + * + * @since 5.4.0 + */ + ariaNavNextMonthLabel: { + type: String, + default: "Next month" + }, + /** + * A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality. + * + * @since 5.4.0 + */ + ariaNavNextYearLabel: { + type: String, + default: "Next year" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button. + * + * @since 5.4.0 + */ + ariaNavPrevMonthLabel: { + type: String, + default: "Previous month" + }, + /** + * A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function. + * + * @since 5.4.0 + */ + ariaNavPrevYearLabel: { + type: String, + default: "Previous year" + }, /** * Default date of the component */ @@ -23280,7 +23274,7 @@ const CDropdown = /* @__PURE__ */ defineComponent({ /** * Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. * - * @since v5.0.0 + * @since 5.0.0 */ container: { type: [Object, String], @@ -23333,7 +23327,7 @@ const CDropdown = /* @__PURE__ */ defineComponent({ /** * Generates dropdown menu using Teleport. * - * @since v5.0.0 + * @since 5.0.0 */ teleport: { type: Boolean, @@ -23636,7 +23630,7 @@ const CDropdownToggle = /* @__PURE__ */ defineComponent({ /** * If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. * - * @since v5.0.0 + * @since 5.0.0 */ navLink: { type: Boolean, @@ -25221,6 +25215,13 @@ const CGridPlugin = { const CHeader = /* @__PURE__ */ defineComponent({ name: "CHeader", props: { + /** + * Component used for the root node. Either a string to use a HTML element or a component. + */ + as: { + type: String, + default: "div" + }, /** * Defines optional container wrapping children elements. * @@ -25246,7 +25247,7 @@ const CHeader = /* @__PURE__ */ defineComponent({ }, setup(props, { slots }) { return () => h$2( - "div", + props.as, { class: ["header", { [`header-${props.position}`]: props.position }] }, props.container ? h$2( "div", @@ -25596,6 +25597,15 @@ const CModal = /* @__PURE__ */ defineComponent({ return false; } }, + /** + * Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. + * + * @since 5.3.0 + */ + container: { + type: [Object, String], + default: "body" + }, /** * A string of all className you want applied to the modal content component. */ @@ -25603,7 +25613,7 @@ const CModal = /* @__PURE__ */ defineComponent({ /** * Puts the focus on the modal when shown. * - * @since v5.0.0 + * @since 5.0.0 */ focus: { type: Boolean, @@ -25648,6 +25658,15 @@ const CModal = /* @__PURE__ */ defineComponent({ return ["sm", "lg", "xl"].includes(value); } }, + /** + * Generates modal using Teleport. + * + * @since 5.3.0 + */ + teleport: { + type: Boolean, + default: false + }, /** * Remove animation to create modal that simply appear rather than fade in to view. */ @@ -25797,23 +25816,32 @@ const CModal = /* @__PURE__ */ defineComponent({ ) ) ); - return () => [ - h$2( - Transition, - { - css: false, - onEnter: (el, done) => handleEnter(el, done), - onAfterEnter: () => handleAfterEnter(), - onLeave: (el, done) => handleLeave(el, done), - onAfterLeave: (el) => handleAfterLeave(el) - }, - () => props.unmountOnClose ? visible.value && modal2() : withDirectives(modal2(), [[vShow, visible.value]]) - ), - props.backdrop && h$2(CBackdrop, { - class: "modal-backdrop", - visible: visible.value - }) - ]; + return () => h$2( + CConditionalTeleport, + { + container: props.container, + teleport: props.teleport + }, + { + default: () => [ + h$2( + Transition, + { + css: false, + onEnter: (el, done) => handleEnter(el, done), + onAfterEnter: () => handleAfterEnter(), + onLeave: (el, done) => handleLeave(el, done), + onAfterLeave: (el) => handleAfterLeave(el) + }, + () => props.unmountOnClose ? visible.value && modal2() : withDirectives(modal2(), [[vShow, visible.value]]) + ), + props.backdrop && h$2(CBackdrop, { + class: "modal-backdrop", + visible: visible.value + }) + ] + } + ); } }); const CModalBody = /* @__PURE__ */ defineComponent({ @@ -27932,7 +27960,7 @@ const CPopover = /* @__PURE__ */ defineComponent({ /** * Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. * - * @since v5.0.0 + * @since 5.0.0 */ container: { type: [Object, String], @@ -31764,7 +31792,7 @@ const CTooltip = /* @__PURE__ */ defineComponent({ /** * Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. * - * @since v5.0.0 + * @since 5.0.0 */ container: { type: [Object, String], @@ -33708,13 +33736,8 @@ const isActiveItem = (route, item) => { }; const SidebarNav = /* @__PURE__ */ defineComponent({ name: "SidebarNav", - props: { - items: { - type: Array, - required: true - } - }, - setup(props) { + setup() { + const sidebarItems = useSidebarItems(); const route = useRoute(); const firstRender = ref(true); onMounted(() => { @@ -33750,10 +33773,10 @@ const SidebarNav = /* @__PURE__ */ defineComponent({ custom: true }, { - default: (props2) => h$2( + default: (props) => h$2( CNavItem, { - active: props2.isActive, + active: props.isActive, disabled: item.disabled, href: withBase(item.link) }, @@ -33780,7 +33803,7 @@ const SidebarNav = /* @__PURE__ */ defineComponent({ CSidebarNav, {}, { - default: () => props.items.map((item) => renderItem(item)) + default: () => sidebarItems.value.map((item) => renderItem(item)) } ); } @@ -33789,8 +33812,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({ __name: "Sidebar", setup(__props, { expose: __expose }) { __expose(); - const sidebarItems = useSidebarItems(); - const __returned__ = { sidebarItems, get SidebarNav() { + const __returned__ = { get SidebarNav() { return SidebarNav; } }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); @@ -33885,7 +33907,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { ]), _: 1 }), - createVNode($setup["SidebarNav"], { items: $setup.sidebarItems }, null, 8, ["items"]) + createVNode($setup["SidebarNav"]) ]), _: 1 }); @@ -34248,7 +34270,7 @@ const useActiveHeaderLinks = ({ headerLinkSelector: headerLinkSelector2, headerA const scrollTop = Math.max(window.scrollY, document.documentElement.scrollTop, document.body.scrollTop); const isAtPageTop = Math.abs(scrollTop - 0) < offset2; if (isAtPageTop) { - updateHash(router, ""); + void updateHash(router, ""); return; } const scrollBottom = window.innerHeight + scrollTop; @@ -34276,7 +34298,7 @@ const useActiveHeaderLinks = ({ headerLinkSelector: headerLinkSelector2, headerA } } } - updateHash(router, anchorHash); + void updateHash(router, anchorHash); return; } }; @@ -34302,7 +34324,8 @@ const clientConfig2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defin }, Symbol.toStringTag, { value: "Module" })); const clientConfig_391ecbd3 = { enhance: ({ app }) => { - app.component("Callout", /* @__PURE__ */ defineAsyncComponent(() => __vitePreload(() => import("./Callout-BG7mA_TE.js"), true ? [] : void 0))), app.component("ScssDocs", /* @__PURE__ */ defineAsyncComponent(() => __vitePreload(() => import("./ScssDocs-BzcEAHFR.js"), true ? [] : void 0))); + app.component("Callout", /* @__PURE__ */ defineAsyncComponent(() => __vitePreload(() => import("./Callout-dZyg6Lm9.js"), true ? [] : void 0))); + app.component("ScssDocs", /* @__PURE__ */ defineAsyncComponent(() => __vitePreload(() => import("./ScssDocs-DPTK8YLD.js"), true ? [] : void 0))); } }; const clientConfig3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ @@ -34358,7 +34381,7 @@ const Toc = /* @__PURE__ */ defineComponent({ props: { headers: { type: Array, - default: null + default: void 0 }, options: { type: Object, @@ -34371,7 +34394,7 @@ const Toc = /* @__PURE__ */ defineComponent({ const page = usePageData(); const headers = computed(() => { var _a2; - const headersToUse = propsHeaders.value || page.value.headers; + const headersToUse = propsHeaders.value ?? page.value.headers; return ((_a2 = headersToUse[0]) == null ? void 0 : _a2.level) === 1 ? headersToUse[0].children : headersToUse; }); const options = computed(() => ({ @@ -50727,7 +50750,7 @@ const client = defineClientConfig({ app.provide("icons", icons); app.component("CIcon", CIcon); app.component("CIconSvg", CIconSvg); - app.use(CChartPlugin), router.addRoute({ path: "", redirect: "/getting-started/introduction.html" }); + app.use(CChartPlugin), router.addRoute({ path: "/", redirect: "/getting-started/introduction.html" }); } }); const clientConfig5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ @@ -50975,7 +50998,7 @@ var createVueApp = async () => { const globalComputed = setupGlobalComputed(app, router, clientConfigs); { const { setupDevtools } = await __vitePreload(async () => { - const { setupDevtools: setupDevtools2 } = await import("./setupDevtools-HHDGOOYC-BQImv-dR.js"); + const { setupDevtools: setupDevtools2 } = await import("./setupDevtools-HHDGOOYC-8SYwYjCZ.js"); return { setupDevtools: setupDevtools2 }; }, true ? [] : void 0); setupDevtools(app, globalComputed); @@ -50997,72 +51020,71 @@ var createVueApp = async () => { }); } export { - mergeProps as $, - cilArrowTop as A, - cilBasket as B, - cilBurn as C, - cilCheckCircle as D, - cilCloudDownload as E, + toHandlers as $, + cilBurn as A, + cilCheckCircle as B, + cilCloudDownload as C, + cilContrast as D, + cilFilterX as E, Fragment as F, - cilContrast as G, - cilFilterX as H, - cilHandshake as I, - cilInfo as J, - cilLayers as K, - cilMenu as L, - cilMoon as M, - cilOptions as N, - cilPeople as O, - cilPuzzle as P, - cilSettings as Q, - cilSpeedometer as R, - cilSun as S, - cilSwapVertical as T, - cilUserFollow as U, - cilWarning as V, - CIcon as W, + cilHandshake as G, + cilInfo as H, + cilLayers as I, + cilMenu as J, + cilMoon as K, + cilOptions as L, + cilPeople as M, + cilPuzzle as N, + cilSettings as O, + cilSpeedometer as P, + cilSun as Q, + cilSwapVertical as R, + cilUserFollow as S, + cilWarning as T, + CIcon as U, + createBlock as V, + createCommentVNode as W, resolveDirective as X, withDirectives as Y, - normalizeStyle as Z, + mergeProps as Z, _export_sfc as _, createStaticVNode as a, - toHandlers as a0, - defineComponent as a1, - h$2 as a2, - cloneVNode as a3, - createPopper as a4, - onUnmounted as a5, - onUpdated as a6, - nextTick as a7, - inject as a8, - computed as a9, - provide as aa, - onBeforeUnmount as ab, - renderSlot as ac, - createVNode as b, + defineComponent as a0, + h$2 as a1, + cloneVNode as a2, + createPopper as a3, + onUnmounted as a4, + onUpdated as a5, + nextTick as a6, + inject as a7, + computed as a8, + provide as a9, + onBeforeUnmount as aa, + renderSlot as ab, + createBaseVNode as b, createElementBlock as c, createVueApp, - withCtx as d, - createBaseVNode as e, + createVNode as d, + withCtx as e, createTextVNode as f, ref as g, - createBlock as h, - createCommentVNode as i, - renderList as j, - onMounted as k, - withModifiers as l, - cibCoreuiC as m, + renderList as h, + onMounted as i, + withModifiers as j, + cibCoreuiC as k, + cibDiscourse as l, + cibFacebook as m, normalizeClass as n, openBlock as o, - cibDiscourse as p, - cibFacebook as q, + cibGithub as p, + cibOpenCollective as q, resolveComponent as r, setupDevtoolsPlugin as s, toDisplayString as t, - cibGithub as u, - cibOpenCollective as v, + cibTwitter as u, + cilArrowBottom as v, watch as w, - cibTwitter as x, - cilArrowBottom as y, - cilArrowRight as z + cilArrowRight as x, + cilArrowTop as y, + cilBasket as z }; diff --git a/vue/docs/assets/avatar.html-CGvuFR7Q.js b/vue/docs/assets/avatar.html-BD-B4lfD.js similarity index 84% rename from vue/docs/assets/avatar.html-CGvuFR7Q.js rename to vue/docs/assets/avatar.html-BD-B4lfD.js index fc5749f2b32..091711c6bf5 100644 --- a/vue/docs/assets/avatar.html-CGvuFR7Q.js +++ b/vue/docs/assets/avatar.html-BD-B4lfD.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "image-avatars", @@ -7,15 +7,14 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Image avatars "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#image-avatars", - "aria-hidden": "true" + href: "#image-avatars" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Showcase Vue avatars using images. These avatars are typically circular and can display user profile pictures.", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CAvatar src="/images/avatars/1.jpg"/>\n<CAvatar src="/images/avatars/2.jpg"/>\n<CAvatar src="/images/avatars/3.jpg"/>\n

Letter avatars

Use letters inside avatars to represent users or objects when images are not available. This can be useful for displaying initials.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CAvatar src="/images/avatars/1.jpg"/>\n<CAvatar src="/images/avatars/2.jpg"/>\n<CAvatar src="/images/avatars/3.jpg"/>\n

Letter avatars #

Use letters inside avatars to represent users or objects when images are not available. This can be useful for displaying initials.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white">CUI</CAvatar>\n<CAvatar color="secondary">CUI</CAvatar>\n<CAvatar color="warning" text-color="white">CUI</CAvatar>\n

Icons avatars

Incorporate icons within Vue avatars, allowing for a visual representation using scalable vector graphics (SVG).

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white">CUI</CAvatar>\n<CAvatar color="secondary">CUI</CAvatar>\n<CAvatar color="warning" text-color="white">CUI</CAvatar>\n

Icons avatars #

Incorporate icons within Vue avatars, allowing for a visual representation using scalable vector graphics (SVG).

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; const _hoisted_12 = /* @__PURE__ */ createBaseVNode("svg", { id: "cib-coreui-c", @@ -41,17 +40,17 @@ const _hoisted_14 = /* @__PURE__ */ createBaseVNode("svg", { /* @__PURE__ */ createBaseVNode("path", { d: "M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z" }), /* @__PURE__ */ createBaseVNode("path", { d: "M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z" }) ], -1); -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="info" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n<CAvatar color="success" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n<CAvatar color="danger" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n

Rounded avatars

Use the shape="rounded" prop to make avatars squared with rounded corners.

', 3); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="info" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n<CAvatar color="success" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n<CAvatar color="danger" textColor="white">\n  <svg id="cib-coreui-c" class="icon" viewBox="0 0 32 32">\n    <path d="M27.912 7.289l-10.324-5.961c-0.455-0.268-1.002-0.425-1.588-0.425s-1.133 0.158-1.604 0.433l0.015-0.008-10.324 5.961c-0.955 0.561-1.586 1.582-1.588 2.75v11.922c0.002 1.168 0.635 2.189 1.574 2.742l0.016 0.008 10.322 5.961c0.455 0.267 1.004 0.425 1.59 0.425 0.584 0 1.131-0.158 1.602-0.433l-0.014 0.008 10.322-5.961c0.955-0.561 1.586-1.582 1.588-2.75v-11.922c-0.002-1.168-0.633-2.189-1.573-2.742zM27.383 21.961c0 0.389-0.211 0.73-0.526 0.914l-0.004 0.002-10.324 5.961c-0.152 0.088-0.334 0.142-0.53 0.142s-0.377-0.053-0.535-0.145l0.005 0.002-10.324-5.961c-0.319-0.186-0.529-0.527-0.529-0.916v-11.922c0-0.389 0.211-0.73 0.526-0.914l0.004-0.002 10.324-5.961c0.152-0.090 0.334-0.143 0.53-0.143s0.377 0.053 0.535 0.144l-0.006-0.002 10.324 5.961c0.319 0.185 0.529 0.527 0.529 0.916z"></path><path d="M22.094 19.451h-0.758c-0.188 0-0.363 0.049-0.515 0.135l0.006-0.004-4.574 2.512-5.282-3.049v-6.082l5.282-3.051 4.576 2.504c0.146 0.082 0.323 0.131 0.508 0.131h0.758c0.293 0 0.529-0.239 0.529-0.531v-0.716c0-0.2-0.11-0.373-0.271-0.463l-0.004-0.002-5.078-2.777c-0.293-0.164-0.645-0.26-1.015-0.26-0.39 0-0.756 0.106-1.070 0.289l0.010-0.006-5.281 3.049c-0.636 0.375-1.056 1.055-1.059 1.834v6.082c0 0.779 0.422 1.461 1.049 1.828l0.009 0.006 5.281 3.049c0.305 0.178 0.67 0.284 1.061 0.284 0.373 0 0.723-0.098 1.027-0.265l-0.012 0.006 5.080-2.787c0.166-0.091 0.276-0.265 0.276-0.465v-0.716c0-0.293-0.238-0.529-0.529-0.529z"></path>\n  </svg>\n</CAvatar>\n

Rounded avatars #

Use the shape="rounded" prop to make avatars squared with rounded corners.

', 3); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white" shape="rounded">CUI</CAvatar>\n<CAvatar color="secondary" shape="rounded">CUI</CAvatar>\n<CAvatar color="warning" text-color="white" shape="rounded">CUI</CAvatar>\n

Square avatars

Use the shape="rounded-0" prop to make avatars squared.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white" shape="rounded">CUI</CAvatar>\n<CAvatar color="secondary" shape="rounded">CUI</CAvatar>\n<CAvatar color="warning" text-color="white" shape="rounded">CUI</CAvatar>\n

Square avatars #

Use the shape="rounded-0" prop to make avatars squared.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; -const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white" shape="rounded-0">CUI</CAvatar>\n<CAvatar color="secondary" shape="rounded-0">CUI</CAvatar>\n<CAvatar color="warning" text-color="white" shape="rounded-0">CUI</CAvatar>\n

Sizes

Fancy larger or smaller avatar? Add size="xl", size="lg" or size="sm" for additional sizes.

', 3); +const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="primary" text-color="white" shape="rounded-0">CUI</CAvatar>\n<CAvatar color="secondary" shape="rounded-0">CUI</CAvatar>\n<CAvatar color="warning" text-color="white" shape="rounded-0">CUI</CAvatar>\n

Sizes #

Fancy larger or smaller avatar? Add size="xl", size="lg" or size="sm" for additional sizes.

', 3); const _hoisted_26 = { class: "docs-example rounded-top p-4" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="secondary" size="xl">CUI</CAvatar>\n<CAvatar color="secondary" size="lg">CUI</CAvatar>\n<CAvatar color="secondary" size="md">CUI</CAvatar>\n<CAvatar color="secondary">CUI</CAvatar>\n<CAvatar color="secondary" size="sm">CUI</CAvatar>\n

Avatars with status

Add a status indicator to avatars using the status property to show online or offline status.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CAvatar color="secondary" size="xl">CUI</CAvatar>\n<CAvatar color="secondary" size="lg">CUI</CAvatar>\n<CAvatar color="secondary" size="md">CUI</CAvatar>\n<CAvatar color="secondary">CUI</CAvatar>\n<CAvatar color="secondary" size="sm">CUI</CAvatar>\n

Avatars with status #

Add a status indicator to avatars using the status property to show online or offline status.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CAvatar src="/images/avatars/1.jpg" status="success"/>\n<CAvatar color="secondary" status="danger">CUI</CAvatar>\n

Customizing

CSS variables

Vue avatars use local CSS variables on .avatar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = {\n  '--my-css-var': 10,\n  '--my-another-css-var': 'red',\n}\nreturn <CAvatar style={vars}>...</CAvatar>\n

SASS variables

', 3); -const _hoisted_38 = /* @__PURE__ */ createStaticVNode('

API

CAvatar

import { CAvatar } from '@coreui/vue'\n// or\nimport CAvatar from '@coreui/vue/src/components/avatar/CAvatar'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small, large, or extra large.string'sm', 'md', 'lg', 'xl'-
srcThe src attribute for the img element.string--
statusSets the color context of the status indicator to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 5); +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CAvatar src="/images/avatars/1.jpg" status="success"/>\n<CAvatar color="secondary" status="danger">CUI</CAvatar>\n

Customizing #

CSS variables #

Vue avatars use local CSS variables on .avatar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = {\n  '--my-css-var': 10,\n  '--my-another-css-var': 'red',\n}\nreturn <CAvatar style={vars}>...</CAvatar>\n

SASS variables #

', 3); +const _hoisted_38 = /* @__PURE__ */ createStaticVNode('

API #

CAvatar #

import { CAvatar } from '@coreui/vue'\n// or\nimport CAvatar from '@coreui/vue/src/components/avatar/CAvatar'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small, large, or extra large.string'sm', 'md', 'lg', 'xl'-
srcThe src attribute for the img element.string--
statusSets the color context of the status indicator to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 5); function _sfc_render(_ctx, _cache) { const _component_CAvatar = resolveComponent("CAvatar"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/badge.html-BIxXbpUI.js b/vue/docs/assets/badge.html-Dear1jUq.js similarity index 88% rename from vue/docs/assets/badge.html-BIxXbpUI.js rename to vue/docs/assets/badge.html-Dear1jUq.js index 142bc84c3ee..95efce66f96 100644 --- a/vue/docs/assets/badge.html-BIxXbpUI.js +++ b/vue/docs/assets/badge.html-Dear1jUq.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, f as createTextVNode, b as createVNode, d as withCtx, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, f as createTextVNode, d as createVNode, e as withCtx, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -23,8 +22,7 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Basic usage "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#basic-usage", - "aria-hidden": "true" + href: "#basic-usage" }, "#") ], -1); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; @@ -33,7 +31,7 @@ const _hoisted_7 = { class: "docs-example rounded-top p-4" }; const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary">\n  Notifications <CBadge color="secondary">4</CBadge>\n</CButton>\n

Remark that depending on how you use them, badges may be complicated for users of screen readers and related assistive technologies.

Unless the context is clear, consider including additional context with a visually hidden piece of additional text.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; const _hoisted_12 = /* @__PURE__ */ createBaseVNode("span", { class: "visually-hidden" }, "unread messages", -1); -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary">\n  Profile <CBadge color="secondary">9</CBadge>\n  <span class="visually-hidden">unread messages</span>\n</CButton>\n

Positioned

Use position prop to modify a component and position it in the corner of a link or button.

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary">\n  Profile <CBadge color="secondary">9</CBadge>\n  <span class="visually-hidden">unread messages</span>\n</CButton>\n

Positioned #

Use position prop to modify a component and position it in the corner of a link or button.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; const _hoisted_17 = /* @__PURE__ */ createBaseVNode("span", { class: "visually-hidden" }, "unread messages", -1); const _hoisted_18 = /* @__PURE__ */ createBaseVNode("span", { class: "visually-hidden" }, "unread messages", -1); @@ -43,15 +41,15 @@ const _hoisted_21 = /* @__PURE__ */ createBaseVNode("span", { class: "visually-h const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge color="danger" position="top-start" shape="rounded-pill">\n    99+ <span class="visually-hidden">unread messages</span>\n  </CBadge>\n</CButton>\n<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge color="danger" position="top-end" shape="rounded-pill">\n    99+ <span class="visually-hidden">unread messages</span>\n  </CBadge>\n</CButton>\n<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge color="danger" position="bottom-start" shape="rounded-pill">\n    99+ <span class="visually-hidden">unread messages</span>\n  </CBadge>\n</CButton>\n<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge color="danger" position="bottom-end" shape="rounded-pill">\n    99+ <span class="visually-hidden">unread messages</span>\n  </CBadge>\n</CButton>\n

You can also create more generic indicators without a counter using a few more utilities.

', 2); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = /* @__PURE__ */ createBaseVNode("span", { class: "visually-hidden" }, "New alerts", -1); -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge class="border border-light p-2" color="danger" position="top-end" shape="rounded-circle">\n    <span class="visually-hidden">New alerts</span>\n  </CBadge>\n</CButton>\n

Contextual variations

Add any of the below-mentioned color props to modify the presentation of a badge.

', 3); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" class="position-relative">\n  Profile\n  <CBadge class="border border-light p-2" color="danger" position="top-end" shape="rounded-circle">\n    <span class="visually-hidden">New alerts</span>\n  </CBadge>\n</CButton>\n

Contextual variations #

Add any of the below-mentioned color props to modify the presentation of a badge.

', 3); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CBadge color="primary">primary</CBadge>\n<CBadge color="success">success</CBadge>\n<CBadge color="danger">danger</CBadge>\n<CBadge color="warning">warning</CBadge>\n<CBadge color="info">info</CBadge>\n<CBadge textBgColor="light">light</CBadge>\n<CBadge color="dark">dark</CBadge>\n

You can also apply contextual variations with the textBgColor property, which automatically sets the text color to ensure compliance with the WCAG 4.5:1 contrast ratio standard for enhanced accessibility.

', 2); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CBadge textBgColor="primary">primary</CBadge>\n<CBadge textBgColor="success">success</CBadge>\n<CBadge textBgColor="danger">danger</CBadge>\n<CBadge textBgColor="warning">warning</CBadge>\n<CBadge textBgColor="info">info</CBadge>\n<CBadge textBgColor="light">light</CBadge>\n<CBadge textBgColor="dark">dark</CBadge>\n

Pill badges

Apply the shape="rounded-pill" prop to make badges rounded.

', 3); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CBadge textBgColor="primary">primary</CBadge>\n<CBadge textBgColor="success">success</CBadge>\n<CBadge textBgColor="danger">danger</CBadge>\n<CBadge textBgColor="warning">warning</CBadge>\n<CBadge textBgColor="info">info</CBadge>\n<CBadge textBgColor="light">light</CBadge>\n<CBadge textBgColor="dark">dark</CBadge>\n

Pill badges #

Apply the shape="rounded-pill" prop to make badges rounded.

', 3); const _hoisted_36 = { class: "docs-example rounded-top p-4" }; -const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CBadge color="primary" shape="rounded-pill">primary</CBadge>\n<CBadge color="success" shape="rounded-pill">success</CBadge>\n<CBadge color="danger" shape="rounded-pill">danger</CBadge>\n<CBadge color="warning" shape="rounded-pill">warning</CBadge>\n<CBadge color="info" shape="rounded-pill">info</CBadge>\n<CBadge textBgColor="light" shape="rounded-pill">light</CBadge>\n<CBadge color="dark" shape="rounded-pill">dark</CBadge>\n

Customizing

CSS variables

Vue badges use local CSS variables on .badges for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_41 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CBadge :style="vars">...</CBadge>\n

SASS variables

', 3); -const _hoisted_44 = /* @__PURE__ */ createStaticVNode('

API

CBadge

import { CBadge } from '@coreui/vue'\n// or\nimport CBadge from '@coreui/vue/src/components/badge/CBadge'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
positionPosition badge in one of the corners of a link or button.string'top-start', 'top-end', 'bottom-end', 'bottom-start'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small.string'sm'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 5); +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CBadge color="primary" shape="rounded-pill">primary</CBadge>\n<CBadge color="success" shape="rounded-pill">success</CBadge>\n<CBadge color="danger" shape="rounded-pill">danger</CBadge>\n<CBadge color="warning" shape="rounded-pill">warning</CBadge>\n<CBadge color="info" shape="rounded-pill">info</CBadge>\n<CBadge textBgColor="light" shape="rounded-pill">light</CBadge>\n<CBadge color="dark" shape="rounded-pill">dark</CBadge>\n

Customizing #

CSS variables #

Vue badges use local CSS variables on .badges for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CBadge :style="vars">...</CBadge>\n

SASS variables #

', 3); +const _hoisted_44 = /* @__PURE__ */ createStaticVNode('

API #

CBadge #

import { CBadge } from '@coreui/vue'\n// or\nimport CBadge from '@coreui/vue/src/components/badge/CBadge'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
positionPosition badge in one of the corners of a link or button.string'top-start', 'top-end', 'bottom-end', 'bottom-start'-
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small.string'sm'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-
', 5); function _sfc_render(_ctx, _cache) { const _component_CBadge = resolveComponent("CBadge"); const _component_CButton = resolveComponent("CButton"); diff --git a/vue/docs/assets/breadcrumb.html-3P6FIBpg.js b/vue/docs/assets/breadcrumb.html-DgLYIaPr.js similarity index 79% rename from vue/docs/assets/breadcrumb.html-3P6FIBpg.js rename to vue/docs/assets/breadcrumb.html-DgLYIaPr.js index 3b03f51eef7..1772b65d9a6 100644 --- a/vue/docs/assets/breadcrumb.html-3P6FIBpg.js +++ b/vue/docs/assets/breadcrumb.html-DgLYIaPr.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,21 +7,20 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "The breadcrumb navigation provides links back to each previous page the user navigated through and shows the current location in a website or an application. You don’t have to add separators, because they automatically added in CSS through ::before and content.", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb>\n  <CBreadcrumbItem active>Home</CBreadcrumbItem>\n</CBreadcrumb>\n<CBreadcrumb>\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n<CBreadcrumb>\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem href="#">Library</CBreadcrumbItem>\n  <CBreadcrumbItem active>Data</CBreadcrumbItem>\n</CBreadcrumb>\n

Dividers

Dividers are automatically added in CSS through ::before and content. They can be changed by modifying a local CSS custom property --coreui-breadcrumb-divider, or through the $breadcrumb-divider Sass variable — and $breadcrumb-divider-flipped for its RTL counterpart, if needed. We default to our Sass variable, which is set as a fallback to the custom property. This way, you get a global divider that you can override without recompiling CSS at any time.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb>\n  <CBreadcrumbItem active>Home</CBreadcrumbItem>\n</CBreadcrumb>\n<CBreadcrumb>\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n<CBreadcrumb>\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem href="#">Library</CBreadcrumbItem>\n  <CBreadcrumbItem active>Data</CBreadcrumbItem>\n</CBreadcrumb>\n

Dividers #

Dividers are automatically added in CSS through ::before and content. They can be changed by modifying a local CSS custom property --coreui-breadcrumb-divider, or through the $breadcrumb-divider Sass variable — and $breadcrumb-divider-flipped for its RTL counterpart, if needed. We default to our Sass variable, which is set as a fallback to the custom property. This way, you get a global divider that you can override without recompiling CSS at any time.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb style="--cui-breadcrumb-divider: '>'">\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n

When modifying via Sass, the quote function is required to generate the quotes around a string. For example, using > as the divider, you can use this:

$breadcrumb-divider: quote(">");\n

It's also possible to use an embedded SVG icon. Apply it via our CSS custom property, or use the Sass variable.

', 4); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb style="--cui-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E&#34;);">\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n
$breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' \nwidth='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E");\n

You can also remove the divider setting --cui-breadcrumb-divider: ''; (empty strings in CSS custom properties counts as a value), or setting the Sass variable to $breadcrumb-divider: none;.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb style="--cui-breadcrumb-divider: '';">\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n
$breadcrumb-divider: none;\n

Accessibility

Since breadcrumbs provide navigation, it's useful to add a significant label such as aria-label="breadcrumb" to explain the type of navigation implemented in the <nav> element. You should also add an aria-current="page" to the last item of the set to show that it represents the current page. CoreUI for Vue.js automatically add all of this labels to breadcrumb's components.

For more information, see the WAI-ARIA Authoring Practices for the breadcrumb pattern.

Customizing

CSS variables

Vue breadcrumbs use local CSS variables on .breadcrumb for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 8); -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CBreadcrumb :style="vars">...</CBreadcrumb>\n

SASS variables

', 3); -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('

API

CBreadcrumbItem

import { CBreadcrumbItem } from '@coreui/vue'\n// or\nimport CBreadcrumbItem from '@coreui/vue/src/components/breadcrumb/CBreadcrumbItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
hrefThe href attribute for the inner link component.string--
', 5); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CBreadcrumb style="--cui-breadcrumb-divider: '';">\n  <CBreadcrumbItem href="#">Home</CBreadcrumbItem>\n  <CBreadcrumbItem active>Library</CBreadcrumbItem>\n</CBreadcrumb>\n
$breadcrumb-divider: none;\n

Accessibility #

Since breadcrumbs provide navigation, it's useful to add a significant label such as aria-label="breadcrumb" to explain the type of navigation implemented in the <nav> element. You should also add an aria-current="page" to the last item of the set to show that it represents the current page. CoreUI for Vue.js automatically add all of this labels to breadcrumb's components.

For more information, see the WAI-ARIA Authoring Practices for the breadcrumb pattern.

Customizing #

CSS variables #

Vue breadcrumbs use local CSS variables on .breadcrumb for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 8); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CBreadcrumb :style="vars">...</CBreadcrumb>\n

SASS variables #

', 3); +const _hoisted_28 = /* @__PURE__ */ createStaticVNode('

API #

CBreadcrumbItem #

import { CBreadcrumbItem } from '@coreui/vue'\n// or\nimport CBreadcrumbItem from '@coreui/vue/src/components/breadcrumb/CBreadcrumbItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
hrefThe href attribute for the inner link component.string--
', 5); function _sfc_render(_ctx, _cache) { const _component_CBreadcrumbItem = resolveComponent("CBreadcrumbItem"); const _component_CBreadcrumb = resolveComponent("CBreadcrumb"); diff --git a/vue/docs/assets/breakpoints.html-C6u5z98e.js b/vue/docs/assets/breakpoints.html-C6u5z98e.js new file mode 100644 index 00000000000..3877975fcd0 --- /dev/null +++ b/vue/docs/assets/breakpoints.html-C6u5z98e.js @@ -0,0 +1,36 @@ +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode, b as createBaseVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Core concepts #

  • Breakpoints are the building blocks of responsive design. Use them to control when your layout can be adapted at a particular viewport or device size.

  • Use media queries to architect your CSS by breakpoint. Media queries are a feature of CSS that allow you to conditionally apply styles based on a set of browser and operating system parameters. We most commonly use min-width in our media queries.

  • Mobile first, responsive design is the goal. CoreUI's CSS aims to apply the bare minimum of styles to make a layout work at the smallest breakpoint, and then layers on styles to adjust that design for larger devices. This optimizes your CSS, improves rendering time, and provides a great experience for your visitors.

Available breakpoints #

CoreUI for Vue.js includes six default breakpoints, sometimes referred to as grid tiers, for building responsively. These breakpoints can be customized if you're using our source Sass files.

BreakpointClass infixDimensions
X-SmallNone<576px
Smallsm≥576px
Mediummd≥768px
Largelg≥992px
Extra largexl≥1200px
Extra extra largexxl≥1400px

Each breakpoint was chosen to comfortably hold containers whose widths are multiples of 12. Breakpoints are also representative of a subset of common device sizes and viewport dimensions—they don't specifically target every use case or device. Instead, the ranges provide a strong and consistent foundation to build on for nearly any device.

These breakpoints are customizable via Sass—you'll find them in a Sass map in our _variables.scss stylesheet.

$grid-breakpoints: (\n  xs: 0,\n  sm: 576px,\n  md: 768px,\n  lg: 992px,\n  xl: 1200px,\n  xxl: 1400px\n);\n

For more information and examples on how to modify our Sass maps and variables, please refer to the Sass section of the Grid documentation.

Media queries #

Since CoreUI for Vue.js is developed to be mobile first, we use a handful of media queries to create sensible breakpoints for our layouts and interfaces. These breakpoints are mostly based on minimum viewport widths and allow us to scale up elements as the viewport changes.

Min-width #

CoreUI for Vue.js primarily uses the following media query ranges—or breakpoints—in our source Sass files for our layout, grid system, and components.

// Source mixins\n\n// No media query necessary for xs breakpoint as it's effectively `@media (min-width: 0) { ... }`\n@include media-breakpoint-up(sm) { ... }\n@include media-breakpoint-up(md) { ... }\n@include media-breakpoint-up(lg) { ... }\n@include media-breakpoint-up(xl) { ... }\n@include media-breakpoint-up(xxl) { ... }\n\n// Usage\n\n// Example: Hide starting at `min-width: 0`, and then show at the `sm` breakpoint\n.custom-class {\n  display: none;\n}\n@include media-breakpoint-up(sm) {\n  .custom-class {\n    display: block;\n  }\n}\n

These Sass mixins translate in our compiled CSS using the values declared in our Sass variables. For example:

// X-Small devices (portrait phones, less than 576px)\n// No media query for `xs` since this is the default in CoreUI\n\n// Small devices (landscape phones, 576px and up)\n@media (min-width: 576px) { ... }\n\n// Medium devices (tablets, 768px and up)\n@media (min-width: 768px) { ... }\n\n// Large devices (desktops, 992px and up)\n@media (min-width: 992px) { ... }\n\n// X-Large devices (large desktops, 1200px and up)\n@media (min-width: 1200px) { ... }\n\n// XX-Large devices (larger desktops, 1400px and up)\n@media (min-width: 1400px) { ... }\n

Max-width #

We occasionally use media queries that go in the other direction (the given screen size or smaller):

// No media query necessary for xs breakpoint as it's effectively `@media (max-width: 0) { ... }`\n@include media-breakpoint-down(sm) { ... }\n@include media-breakpoint-down(md) { ... }\n@include media-breakpoint-down(lg) { ... }\n@include media-breakpoint-down(xl) { ... }\n@include media-breakpoint-down(xxl) { ... }\n\n// Example: Style from medium breakpoint and down\n@include media-breakpoint-down(md) {\n  .custom-class {\n    display: block;\n  }\n}\n

These mixins take those declared breakpoints, subtract .02px from them, and use them as our max-width values. For example:

// X-Small devices (portrait phones, less than 576px)\n@media (max-width: 575.98px) { ... }\n\n// Small devices (landscape phones, less than 768px)\n@media (max-width: 767.98px) { ... }\n\n// Medium devices (tablets, less than 992px)\n@media (max-width: 991.98px) { ... }\n\n// Large devices (desktops, less than 1200px)\n@media (max-width: 1199.98px) { ... }\n\n// X-Large devices (large desktops, less than 1400px)\n@media (max-width: 1399.98px) { ... }\n\n// XX-Large devices (larger desktops)\n// No media query since the xxl breakpoint has no upper bound on its width\n
', 21); +const _hoisted_22 = /* @__PURE__ */ createBaseVNode("strong", null, "Why subtract .02px?", -1); +const _hoisted_23 = /* @__PURE__ */ createBaseVNode("a", { href: "https://www.w3.org/TR/mediaqueries-4/#range-context" }, "range context queries", -1); +const _hoisted_24 = /* @__PURE__ */ createBaseVNode("a", { href: "https://www.w3.org/TR/mediaqueries-4/#mq-min-max" }, [ + /* @__PURE__ */ createBaseVNode("code", null, "min-"), + /* @__PURE__ */ createTextVNode(" and "), + /* @__PURE__ */ createBaseVNode("code", null, "max-"), + /* @__PURE__ */ createTextVNode(" prefixes") +], -1); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('

Single breakpoint #

There are also media queries and mixins for targeting a single segment of screen sizes using the minimum and maximum breakpoint widths.

@include media-breakpoint-only(xs) { ... }\n@include media-breakpoint-only(sm) { ... }\n@include media-breakpoint-only(md) { ... }\n@include media-breakpoint-only(lg) { ... }\n@include media-breakpoint-only(xl) { ... }\n@include media-breakpoint-only(xxl) { ... }\n

For example the @include media-breakpoint-only(md) { ... } will result in :

@media (min-width: 768px) and (max-width: 991.98px) { ... }\n

Between breakpoints #

Similarly, media queries may span multiple breakpoint widths:

@include media-breakpoint-between(md, xl) { ... }\n

Which results in:

// Example\n// Apply styles starting from medium devices and up to extra large devices\n@media (min-width: 768px) and (max-width: 1199.98px) { ... }\n
', 10); +function _sfc_render(_ctx, _cache) { + const _component_Callout = resolveComponent("Callout"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + createVNode(_component_Callout, { color: "warning" }, { + default: withCtx(() => [ + _hoisted_22, + createTextVNode(" Browsers don’t currently support "), + _hoisted_23, + createTextVNode(", so we work around the limitations of "), + _hoisted_24, + createTextVNode(" and viewports with fractional widths (which can occur under certain conditions on high-dpi devices, for instance) by using values with higher precision. ") + ]), + _: 1 + }), + _hoisted_25 + ]); +} +const breakpoints_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "breakpoints.html.vue"]]); +const data = JSON.parse('{"path":"/layout/breakpoints.html","title":"Breakpoints","lang":"en-US","frontmatter":{"title":"Breakpoints","name":"Breakpoints","description":"Breakpoints are the triggers in CoreUI for Vue.js for how your layout responsive changes across device or viewport sizes.","menu":"Layout","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/layout/breakpoints.html"}]]},"headers":[{"level":2,"title":"Core concepts","slug":"core-concepts","link":"#core-concepts","children":[]},{"level":2,"title":"Available breakpoints","slug":"available-breakpoints","link":"#available-breakpoints","children":[]},{"level":2,"title":"Media queries","slug":"media-queries","link":"#media-queries","children":[{"level":3,"title":"Min-width","slug":"min-width","link":"#min-width","children":[]},{"level":3,"title":"Max-width","slug":"max-width","link":"#max-width","children":[]},{"level":3,"title":"Single breakpoint","slug":"single-breakpoint","link":"#single-breakpoint","children":[]},{"level":3,"title":"Between breakpoints","slug":"between-breakpoints","link":"#between-breakpoints","children":[]}]}],"filePathRelative":"layout/breakpoints.md"}'); +export { + breakpoints_html as comp, + data +}; diff --git a/vue/docs/assets/breakpoints.html-TXDgB0cd.js b/vue/docs/assets/breakpoints.html-TXDgB0cd.js deleted file mode 100644 index a19d2c5009c..00000000000 --- a/vue/docs/assets/breakpoints.html-TXDgB0cd.js +++ /dev/null @@ -1,36 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode, e as createBaseVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Core concepts

  • Breakpoints are the building blocks of responsive design. Use them to control when your layout can be adapted at a particular viewport or device size.

  • Use media queries to architect your CSS by breakpoint. Media queries are a feature of CSS that allow you to conditionally apply styles based on a set of browser and operating system parameters. We most commonly use min-width in our media queries.

  • Mobile first, responsive design is the goal. CoreUI's CSS aims to apply the bare minimum of styles to make a layout work at the smallest breakpoint, and then layers on styles to adjust that design for larger devices. This optimizes your CSS, improves rendering time, and provides a great experience for your visitors.

Available breakpoints

CoreUI for Vue.js includes six default breakpoints, sometimes referred to as grid tiers, for building responsively. These breakpoints can be customized if you're using our source Sass files.

BreakpointClass infixDimensions
X-SmallNone<576px
Smallsm≥576px
Mediummd≥768px
Largelg≥992px
Extra largexl≥1200px
Extra extra largexxl≥1400px

Each breakpoint was chosen to comfortably hold containers whose widths are multiples of 12. Breakpoints are also representative of a subset of common device sizes and viewport dimensions—they don't specifically target every use case or device. Instead, the ranges provide a strong and consistent foundation to build on for nearly any device.

These breakpoints are customizable via Sass—you'll find them in a Sass map in our _variables.scss stylesheet.

$grid-breakpoints: (\n  xs: 0,\n  sm: 576px,\n  md: 768px,\n  lg: 992px,\n  xl: 1200px,\n  xxl: 1400px\n);\n

For more information and examples on how to modify our Sass maps and variables, please refer to the Sass section of the Grid documentation.

Media queries

Since CoreUI for Vue.js is developed to be mobile first, we use a handful of media queries to create sensible breakpoints for our layouts and interfaces. These breakpoints are mostly based on minimum viewport widths and allow us to scale up elements as the viewport changes.

Min-width

CoreUI for Vue.js primarily uses the following media query ranges—or breakpoints—in our source Sass files for our layout, grid system, and components.

// Source mixins\n\n// No media query necessary for xs breakpoint as it's effectively `@media (min-width: 0) { ... }`\n@include media-breakpoint-up(sm) { ... }\n@include media-breakpoint-up(md) { ... }\n@include media-breakpoint-up(lg) { ... }\n@include media-breakpoint-up(xl) { ... }\n@include media-breakpoint-up(xxl) { ... }\n\n// Usage\n\n// Example: Hide starting at `min-width: 0`, and then show at the `sm` breakpoint\n.custom-class {\n  display: none;\n}\n@include media-breakpoint-up(sm) {\n  .custom-class {\n    display: block;\n  }\n}\n

These Sass mixins translate in our compiled CSS using the values declared in our Sass variables. For example:

// X-Small devices (portrait phones, less than 576px)\n// No media query for `xs` since this is the default in CoreUI\n\n// Small devices (landscape phones, 576px and up)\n@media (min-width: 576px) { ... }\n\n// Medium devices (tablets, 768px and up)\n@media (min-width: 768px) { ... }\n\n// Large devices (desktops, 992px and up)\n@media (min-width: 992px) { ... }\n\n// X-Large devices (large desktops, 1200px and up)\n@media (min-width: 1200px) { ... }\n\n// XX-Large devices (larger desktops, 1400px and up)\n@media (min-width: 1400px) { ... }\n

Max-width

We occasionally use media queries that go in the other direction (the given screen size or smaller):

// No media query necessary for xs breakpoint as it's effectively `@media (max-width: 0) { ... }`\n@include media-breakpoint-down(sm) { ... }\n@include media-breakpoint-down(md) { ... }\n@include media-breakpoint-down(lg) { ... }\n@include media-breakpoint-down(xl) { ... }\n@include media-breakpoint-down(xxl) { ... }\n\n// Example: Style from medium breakpoint and down\n@include media-breakpoint-down(md) {\n  .custom-class {\n    display: block;\n  }\n}\n

These mixins take those declared breakpoints, subtract .02px from them, and use them as our max-width values. For example:

// X-Small devices (portrait phones, less than 576px)\n@media (max-width: 575.98px) { ... }\n\n// Small devices (landscape phones, less than 768px)\n@media (max-width: 767.98px) { ... }\n\n// Medium devices (tablets, less than 992px)\n@media (max-width: 991.98px) { ... }\n\n// Large devices (desktops, less than 1200px)\n@media (max-width: 1199.98px) { ... }\n\n// X-Large devices (large desktops, less than 1400px)\n@media (max-width: 1399.98px) { ... }\n\n// XX-Large devices (larger desktops)\n// No media query since the xxl breakpoint has no upper bound on its width\n
', 21); -const _hoisted_22 = /* @__PURE__ */ createBaseVNode("strong", null, "Why subtract .02px?", -1); -const _hoisted_23 = /* @__PURE__ */ createBaseVNode("a", { href: "https://www.w3.org/TR/mediaqueries-4/#range-context" }, "range context queries", -1); -const _hoisted_24 = /* @__PURE__ */ createBaseVNode("a", { href: "https://www.w3.org/TR/mediaqueries-4/#mq-min-max" }, [ - /* @__PURE__ */ createBaseVNode("code", null, "min-"), - /* @__PURE__ */ createTextVNode(" and "), - /* @__PURE__ */ createBaseVNode("code", null, "max-"), - /* @__PURE__ */ createTextVNode(" prefixes") -], -1); -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('

Single breakpoint

There are also media queries and mixins for targeting a single segment of screen sizes using the minimum and maximum breakpoint widths.

@include media-breakpoint-only(xs) { ... }\n@include media-breakpoint-only(sm) { ... }\n@include media-breakpoint-only(md) { ... }\n@include media-breakpoint-only(lg) { ... }\n@include media-breakpoint-only(xl) { ... }\n@include media-breakpoint-only(xxl) { ... }\n

For example the @include media-breakpoint-only(md) { ... } will result in :

@media (min-width: 768px) and (max-width: 991.98px) { ... }\n

Between breakpoints

Similarly, media queries may span multiple breakpoint widths:

@include media-breakpoint-between(md, xl) { ... }\n

Which results in:

// Example\n// Apply styles starting from medium devices and up to extra large devices\n@media (min-width: 768px) and (max-width: 1199.98px) { ... }\n
', 10); -function _sfc_render(_ctx, _cache) { - const _component_Callout = resolveComponent("Callout"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - createVNode(_component_Callout, { color: "warning" }, { - default: withCtx(() => [ - _hoisted_22, - createTextVNode(" Browsers don’t currently support "), - _hoisted_23, - createTextVNode(", so we work around the limitations of "), - _hoisted_24, - createTextVNode(" and viewports with fractional widths (which can occur under certain conditions on high-dpi devices, for instance) by using values with higher precision. ") - ]), - _: 1 - }), - _hoisted_25 - ]); -} -const breakpoints_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "breakpoints.html.vue"]]); -const data = JSON.parse('{"path":"/layout/breakpoints.html","title":"Breakpoints","lang":"en-US","frontmatter":{"title":"Breakpoints","name":"Breakpoints","description":"Breakpoints are the triggers in CoreUI for Vue.js for how your layout responsive changes across device or viewport sizes.","menu":"Layout","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/layout/breakpoints.html"}]]},"headers":[{"level":2,"title":"Core concepts","slug":"core-concepts","link":"#core-concepts","children":[]},{"level":2,"title":"Available breakpoints","slug":"available-breakpoints","link":"#available-breakpoints","children":[]},{"level":2,"title":"Media queries","slug":"media-queries","link":"#media-queries","children":[{"level":3,"title":"Min-width","slug":"min-width","link":"#min-width","children":[]},{"level":3,"title":"Max-width","slug":"max-width","link":"#max-width","children":[]},{"level":3,"title":"Single breakpoint","slug":"single-breakpoint","link":"#single-breakpoint","children":[]},{"level":3,"title":"Between breakpoints","slug":"between-breakpoints","link":"#between-breakpoints","children":[]}]}],"filePathRelative":"layout/breakpoints.md"}'); -export { - breakpoints_html as comp, - data -}; diff --git a/vue/docs/assets/button-group.html-DokwKiVg.js b/vue/docs/assets/button-group.html-7uksYI0F.js similarity index 97% rename from vue/docs/assets/button-group.html-DokwKiVg.js rename to vue/docs/assets/button-group.html-7uksYI0F.js index 45c16501b56..78874dc77a8 100644 --- a/vue/docs/assets/button-group.html-DokwKiVg.js +++ b/vue/docs/assets/button-group.html-7uksYI0F.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "basic-example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Basic example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#basic-example", - "aria-hidden": "true" + href: "#basic-example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -19,33 +18,33 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(".") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic example">\n  <CButton color="primary">Left</CButton>\n  <CButton color="primary">Middle</CButton>\n  <CButton color="primary">Right</CButton>\n</CButtonGroup>\n
Ensure the correct role and provide a label

For assistive technologies (ex. screen readers) to communicate that a series of buttons are grouped, a proper role attribute has to be provided. For button groups, this should be role="group", while toolbars should have a role="toolbar".

Besides, groups and toolbars should be provided an understandable label, as most assistive technologies will otherwise not declare them, despite the appearance of the specific role attribute. In the following examples provided here, we apply aria-label, but options such as aria-labelledby can also be used.

These classes can also be added to groups of links, as an alternative to the <CNav> components.

', 5); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic example">\n  <CButton color="primary">Left</CButton>\n  <CButton color="primary">Middle</CButton>\n  <CButton color="primary">Right</CButton>\n</CButtonGroup>\n
Ensure the correct role and provide a label #

For assistive technologies (ex. screen readers) to communicate that a series of buttons are grouped, a proper role attribute has to be provided. For button groups, this should be role="group", while toolbars should have a role="toolbar".

Besides, groups and toolbars should be provided an understandable label, as most assistive technologies will otherwise not declare them, despite the appearance of the specific role attribute. In the following examples provided here, we apply aria-label, but options such as aria-labelledby can also be used.

These classes can also be added to groups of links, as an alternative to the <CNav> components.

', 5); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup>\n  <CButton href="#" color="primary" active>Active link</CButton>\n  <CButton href="#" color="primary">Link</CButton>\n  <CButton href="#" color="primary">Link</CButton>\n</CButtonGroup>\n

Mixed styles

', 2); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup>\n  <CButton href="#" color="primary" active>Active link</CButton>\n  <CButton href="#" color="primary">Link</CButton>\n  <CButton href="#" color="primary">Link</CButton>\n</CButtonGroup>\n

Mixed styles #

', 2); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic mixed styles example">\n  <CButton color="danger">Left</CButton>\n  <CButton color="warning">Middle</CButton>\n  <CButton color="success">Right</CButton>\n</CButtonGroup>\n

Outlined styles

', 2); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic mixed styles example">\n  <CButton color="danger">Left</CButton>\n  <CButton color="warning">Middle</CButton>\n  <CButton color="success">Right</CButton>\n</CButtonGroup>\n

Outlined styles #

', 2); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic outlined example">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n

Checkbox and radio button groups

Combine button-like checkbox and radio toggle buttons into a seamless looking button group.

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic outlined example">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n

Checkbox and radio button groups #

Combine button-like checkbox and radio toggle buttons into a seamless looking button group.

', 3); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic checkbox toggle button group">\n  <CFormCheck :button="{color: 'primary', variant: 'outline'}" id="btncheck1" autocomplete="off" label="Checkbox 1"/>\n  <CFormCheck :button="{color: 'primary', variant: 'outline'}" id="btncheck2" autocomplete="off" label="Checkbox 2"/>\n  <CFormCheck :button="{color: 'primary', variant: 'outline'}" id="btncheck3" autocomplete="off" label="Checkbox 3"/>\n</CButtonGroup>\n
', 1); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic checkbox toggle button group">\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio1" autocomplete="off" label="Radio 1" checked/>\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio2" autocomplete="off" label="Radio 2"/>\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio3" autocomplete="off" label="Radio 3"/>\n</CButtonGroup>\n

Button toolbar

Join sets of button groups into button toolbars for more complicated components. Use utility classes as needed to space out groups, buttons, and more.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Basic checkbox toggle button group">\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio1" autocomplete="off" label="Radio 1" checked/>\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio2" autocomplete="off" label="Radio 2"/>\n  <CFormCheck type="radio" :button="{color: 'primary', variant: 'outline'}" name="btnradio" id="btnradio3" autocomplete="off" label="Radio 3"/>\n</CButtonGroup>\n

Button toolbar #

Join sets of button groups into button toolbars for more complicated components. Use utility classes as needed to space out groups, buttons, and more.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CButtonToolbar role="group" aria-label="Toolbar with button groups">\n  <CButtonGroup class="me-2" role="group" aria-label="First group">\n    <CButton color="primary">1</CButton>\n    <CButton color="primary">2</CButton>\n    <CButton color="primary">3</CButton>\n    <CButton color="primary">4</CButton>\n  </CButtonGroup>\n  <CButtonGroup class="me-2" role="group" aria-label="Second group">\n    <CButton color="secondary">5</CButton>\n    <CButton color="secondary">6</CButton>\n    <CButton color="secondary">7</CButton>\n  </CButtonGroup>\n  <CButtonGroup class="me-2" role="group" aria-label="Third group">\n    <CButton color="info">8</CButton>\n  </CButtonGroup>\n</CButtonToolbar>\n

Feel free to combine input groups with button groups in your toolbars. Similar to the example above, you’ll likely need some utilities through to space items correctly.

', 2); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CButtonToolbar class="mb-3" role="group" aria-label="Toolbar with button groups">\n  <CButtonGroup class="me-2" role="group" aria-label="First group">\n    <CButton color="secondary" variant="outline">1</CButton>\n    <CButton color="secondary" variant="outline">2</CButton>\n    <CButton color="secondary" variant="outline">3</CButton>\n    <CButton color="secondary" variant="outline">4</CButton>\n  </CButtonGroup>\n  <CInputGroup>\n    <CInputGroupText>@</CInputGroupText>\n    <CFormInput placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon"/>\n  </CInputGroup>\n</CButtonToolbar>\n<CButtonToolbar class="justify-content-between" role="group" aria-label="Toolbar with button groups">\n  <CButtonGroup class="me-2" role="group" aria-label="First group">\n    <CButton color="secondary" variant="outline">1</CButton>\n    <CButton color="secondary" variant="outline">2</CButton>\n    <CButton color="secondary" variant="outline">3</CButton>\n    <CButton color="secondary" variant="outline">4</CButton>\n  </CButtonGroup>\n  <CInputGroup>\n    <CInputGroupText>@</CInputGroupText>\n    <CFormInput placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon"/>\n  </CInputGroup>\n</CButtonToolbar>\n

Sizing

Alternatively, of implementing button sizing classes to each button in a group, set size property to all <CButtonGroup>'s, including each one when nesting multiple groups.

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CButtonToolbar class="mb-3" role="group" aria-label="Toolbar with button groups">\n  <CButtonGroup class="me-2" role="group" aria-label="First group">\n    <CButton color="secondary" variant="outline">1</CButton>\n    <CButton color="secondary" variant="outline">2</CButton>\n    <CButton color="secondary" variant="outline">3</CButton>\n    <CButton color="secondary" variant="outline">4</CButton>\n  </CButtonGroup>\n  <CInputGroup>\n    <CInputGroupText>@</CInputGroupText>\n    <CFormInput placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon"/>\n  </CInputGroup>\n</CButtonToolbar>\n<CButtonToolbar class="justify-content-between" role="group" aria-label="Toolbar with button groups">\n  <CButtonGroup class="me-2" role="group" aria-label="First group">\n    <CButton color="secondary" variant="outline">1</CButton>\n    <CButton color="secondary" variant="outline">2</CButton>\n    <CButton color="secondary" variant="outline">3</CButton>\n    <CButton color="secondary" variant="outline">4</CButton>\n  </CButtonGroup>\n  <CInputGroup>\n    <CInputGroupText>@</CInputGroupText>\n    <CFormInput placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon"/>\n  </CInputGroup>\n</CButtonToolbar>\n

Sizing #

Alternatively, of implementing button sizing classes to each button in a group, set size property to all <CButtonGroup>'s, including each one when nesting multiple groups.

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; const _hoisted_33 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup size="lg" role="group" aria-label="Large button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n<br/>\n<CButtonGroup role="group" aria-label="Default button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n<br/>\n<CButtonGroup size="sm" role="group" aria-label="Small button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n

Nesting

Put a <CDropdown> inside <CButtonGroup> when you need dropdown menus combined with a series of buttons.

', 3); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup size="lg" role="group" aria-label="Large button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n<br/>\n<CButtonGroup role="group" aria-label="Default button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n<br/>\n<CButtonGroup size="sm" role="group" aria-label="Small button group">\n  <CButton color="primary" variant="outline">Left</CButton>\n  <CButton color="primary" variant="outline">Middle</CButton>\n  <CButton color="primary" variant="outline">Right</CButton>\n</CButtonGroup>\n

Nesting #

Put a <CDropdown> inside <CButtonGroup> when you need dropdown menus combined with a series of buttons.

', 3); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Button group with nested dropdown">\n  <CButton color="primary">1</CButton>\n  <CButton color="primary">2</CButton>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CButtonGroup>\n

Vertical variation

Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.

', 3); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup role="group" aria-label="Button group with nested dropdown">\n  <CButton color="primary">1</CButton>\n  <CButton color="primary">2</CButton>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CButtonGroup>\n

Vertical variation #

Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.

', 3); const _hoisted_42 = { class: "docs-example rounded-top p-4" }; const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup vertical role="group" aria-label="Vertical button group">\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n  <CButton color="dark">Button</CButton>\n</CButtonGroup>\n
', 1); const _hoisted_44 = { class: "docs-example rounded-top p-4" }; const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup vertical role="group" aria-label="Vertical button group">\n  <CButton color="primary">Button</CButton>\n  <CButton color="primary">Button</CButton>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CButton color="primary">Button</CButton>\n  <CButton color="primary">Button</CButton>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CDropdown variant="btn-group">\n    <CDropdownToggle color="primary">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CButtonGroup>\n
', 1); const _hoisted_46 = { class: "docs-example rounded-top p-4" }; -const _hoisted_47 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup vertical role="group" aria-label="Vertical button group">\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio1" autocomplete="off" label="Radio 1" checked/>\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio2" autocomplete="off" label="Radio 2"/>\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio3" autocomplete="off" label="Radio 3"/>\n</CButtonGroup>\n

API

CButtonGroup

import { CButtonGroup } from '@coreui/vue'\n// or\nimport CButtonGroup from '@coreui/vue/src/components/button-group/CButtonGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
verticalCreate a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.boolean--
', 6); +const _hoisted_47 = /* @__PURE__ */ createStaticVNode('
<CButtonGroup vertical role="group" aria-label="Vertical button group">\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio1" autocomplete="off" label="Radio 1" checked/>\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio2" autocomplete="off" label="Radio 2"/>\n  <CFormCheck type="radio" :button="{ color: 'danger', variant: 'outline' }" name="vbtnradio" id="vbtnradio3" autocomplete="off" label="Radio 3"/>\n</CButtonGroup>\n

API #

CButtonGroup #

import { CButtonGroup } from '@coreui/vue'\n// or\nimport CButtonGroup from '@coreui/vue/src/components/button-group/CButtonGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
verticalCreate a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.boolean--
', 6); function _sfc_render(_ctx, _cache) { const _component_CButton = resolveComponent("CButton"); const _component_CButtonGroup = resolveComponent("CButtonGroup"); diff --git a/vue/docs/assets/button.html-Tm2d-w3G.js b/vue/docs/assets/button.html-D00S-NDK.js similarity index 90% rename from vue/docs/assets/button.html-Tm2d-w3G.js rename to vue/docs/assets/button.html-D00S-NDK.js index dfa88fc54ff..78d600f21db 100644 --- a/vue/docs/assets/button.html-Tm2d-w3G.js +++ b/vue/docs/assets/button.html-D00S-NDK.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "examples", @@ -7,19 +7,18 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "CoreUI includes a bunch of predefined buttons components, each serving its own semantic purpose. Buttons show what action will happen when the user clicks or touches it. CoreUI buttons are used to initialize operations, both in the background or foreground of an experience.", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" disabled>Primary</CButton>\n<CButton color="secondary">Secondary</CButton>\n<CButton color="success">Success</CButton>\n<CButton color="danger">Danger</CButton>\n<CButton color="warning">Warning</CButton>\n<CButton color="info">Info</CButton>\n<CButton color="light">Light</CButton>\n<CButton color="dark">Dark</CButton>\n<CButton color="link">Link</CButton>\n
', 1); const _hoisted_5 = /* @__PURE__ */ createBaseVNode("code", null, ".visually-hidden", -1); -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('

Disable text wrapping

If you don't want the button text to wrap, you can add the .text-nowrap class to the <CButton>. In Sass, you can set $btn-white-space: nowrap to disable text wrapping for each button.

Button components

The <CButton> component are designed for <button> , <a> or <input> elements (though some browsers may apply a slightly different rendering).

If you're using <CButton> component as <a> elements that are used to trigger functionality ex. collapsing content, these links should be given a role="button" to adequately communicate their meaning to assistive technologies such as screen readers.

', 5); +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('

Disable text wrapping #

If you don't want the button text to wrap, you can add the .text-nowrap class to the <CButton>. In Sass, you can set $btn-white-space: nowrap to disable text wrapping for each button.

Button components #

The <CButton> component are designed for <button> , <a> or <input> elements (though some browsers may apply a slightly different rendering).

If you're using <CButton> component as <a> elements that are used to trigger functionality ex. collapsing content, these links should be given a role="button" to adequately communicate their meaning to assistive technologies such as screen readers.

', 5); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CButton as="a" color="primary" href="#" role="button">Link</CButton>\n<CButton type="submit" color="primary">Button</CButton>\n<CButton as="input" type="button" color="primary" value="Input"/>\n<CButton as="input" type="submit" color="primary" value="Submit"/>\n<CButton as="input" type="reset" color="primary" value="Reset"/>\n

Outline buttons

If you need a button, but without the strong background colors. Set variant="outline" prop to remove all background colors.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CButton as="a" color="primary" href="#" role="button">Link</CButton>\n<CButton type="submit" color="primary">Button</CButton>\n<CButton as="input" type="button" color="primary" value="Input"/>\n<CButton as="input" type="submit" color="primary" value="Submit"/>\n<CButton as="input" type="reset" color="primary" value="Reset"/>\n

Outline buttons #

If you need a button, but without the strong background colors. Set variant="outline" prop to remove all background colors.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" variant="outline">Primary</CButton>\n<CButton color="secondary" variant="outline">Secondary</CButton>\n<CButton color="success" variant="outline">Success</CButton>\n<CButton color="danger" variant="outline">Danger</CButton>\n<CButton color="warning" variant="outline">Warning</CButton>\n<CButton color="info" variant="outline">Info</CButton>\n<CButton color="light" variant="outline">Light</CButton>\n<CButton color="dark" variant="outline">Dark</CButton>\n

Ghost buttons

If you need a ghost variant of button, set variant="ghost" prop to remove all background colors.

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" variant="outline">Primary</CButton>\n<CButton color="secondary" variant="outline">Secondary</CButton>\n<CButton color="success" variant="outline">Success</CButton>\n<CButton color="danger" variant="outline">Danger</CButton>\n<CButton color="warning" variant="outline">Warning</CButton>\n<CButton color="info" variant="outline">Info</CButton>\n<CButton color="light" variant="outline">Light</CButton>\n<CButton color="dark" variant="outline">Dark</CButton>\n

Ghost buttons #

If you need a ghost variant of button, set variant="ghost" prop to remove all background colors.

', 3); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" variant="ghost">Primary</CButton>\n<CButton color="secondary" variant="ghost">Secondary</CButton>\n<CButton color="success" variant="ghost">Success</CButton>\n<CButton color="danger" variant="ghost">Danger</CButton>\n<CButton color="warning" variant="ghost">Warning</CButton>\n<CButton color="info" variant="ghost">Info</CButton>\n<CButton color="light" variant="ghost">Light</CButton>\n<CButton color="dark" variant="ghost">Dark</CButton>\n
', 1); const _hoisted_21 = /* @__PURE__ */ createBaseVNode("h2", { @@ -29,8 +28,7 @@ const _hoisted_21 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Sizes "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sizes", - "aria-hidden": "true" + href: "#sizes" }, "#") ], -1); const _hoisted_22 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -41,15 +39,15 @@ const _hoisted_22 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" for additional sizes.") ], -1); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" size="lg">Large button</CButton>\n<CButton color="secondary" size="lg">Large button</CButton>\n

Shapes

Pill buttons

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" size="lg">Large button</CButton>\n<CButton color="secondary" size="lg">Large button</CButton>\n

Shapes #

Pill buttons #

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" shape="rounded-pill">Primary</CButton>\n<CButton color="secondary" shape="rounded-pill">Secondary</CButton>\n<CButton color="success" shape="rounded-pill">Success</CButton>\n<CButton color="danger" shape="rounded-pill">Danger</CButton>\n<CButton color="warning" shape="rounded-pill">Warning</CButton>\n<CButton color="info" shape="rounded-pill">Info</CButton>\n<CButton color="light" shape="rounded-pill">Light</CButton>\n<CButton color="dark" shape="rounded-pill">Dark</CButton>\n<CButton color="link" shape="rounded-pill">Link</CButton>\n

Square buttons

', 2); +const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" shape="rounded-pill">Primary</CButton>\n<CButton color="secondary" shape="rounded-pill">Secondary</CButton>\n<CButton color="success" shape="rounded-pill">Success</CButton>\n<CButton color="danger" shape="rounded-pill">Danger</CButton>\n<CButton color="warning" shape="rounded-pill">Warning</CButton>\n<CButton color="info" shape="rounded-pill">Info</CButton>\n<CButton color="light" shape="rounded-pill">Light</CButton>\n<CButton color="dark" shape="rounded-pill">Dark</CButton>\n<CButton color="link" shape="rounded-pill">Link</CButton>\n

Square buttons #

', 2); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" shape="rounded-0">Primary</CButton>\n<CButton color="secondary" shape="rounded-0">Secondary</CButton>\n<CButton color="success" shape="rounded-0">Success</CButton>\n<CButton color="danger" shape="rounded-0">Danger</CButton>\n<CButton color="warning" shape="rounded-0">Warning</CButton>\n<CButton color="info" shape="rounded-0">Info</CButton>\n<CButton color="light" shape="rounded-0">Light</CButton>\n<CButton color="dark" shape="rounded-0">Dark</CButton>\n<CButton color="link" shape="rounded-0">Link</CButton>\n

Disabled state

Add the disabled boolean prop to any <CButton> component to make buttons look inactive. Disabled button has pointer-events: none applied to, disabling hover and active states from triggering.

', 3); +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" shape="rounded-0">Primary</CButton>\n<CButton color="secondary" shape="rounded-0">Secondary</CButton>\n<CButton color="success" shape="rounded-0">Success</CButton>\n<CButton color="danger" shape="rounded-0">Danger</CButton>\n<CButton color="warning" shape="rounded-0">Warning</CButton>\n<CButton color="info" shape="rounded-0">Info</CButton>\n<CButton color="light" shape="rounded-0">Light</CButton>\n<CButton color="dark" shape="rounded-0">Dark</CButton>\n<CButton color="link" shape="rounded-0">Link</CButton>\n

Disabled state #

Add the disabled boolean prop to any <CButton> component to make buttons look inactive. Disabled button has pointer-events: none applied to, disabling hover and active states from triggering.

', 3); const _hoisted_34 = { class: "docs-example rounded-top p-4" }; const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" size="lg" disabled>Primary button</CButton>\n<CButton color="secondary" size="lg" disabled>Button</CButton>\n

Disabled buttons using the <a> component act a little different:

<a>s don't support the disabled attribute, so CoreUI has to add .disabled class to make buttons look inactive. CoreUI also has to add to the disabled button component aria-disabled="true" attribute to show the state of the component to assistive technologies.

', 3); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CButton as="a" href="#" color="primary" size="lg" disabled>Primary link</CButton>\n<CButton as="a" href="#" color="secondary" size="lg" disabled>Link</CButton>\n

The .disabled class uses pointer-events: none to try to disable the link functionality of <a>s, but that CSS property is not yet standardized. Besides, even in browsers that do support pointer-events: none, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, we automatically add a tabindex="-1" attribute on disabled links (to prevent them from receiving keyboard focus) and use custom JavaScript to disable their functionality.

Block buttons

Create buttons that span the full width of a parent—by using utilities.

', 4); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CButton as="a" href="#" color="primary" size="lg" disabled>Primary link</CButton>\n<CButton as="a" href="#" color="secondary" size="lg" disabled>Link</CButton>\n

The .disabled class uses pointer-events: none to try to disable the link functionality of <a>s, but that CSS property is not yet standardized. Besides, even in browsers that do support pointer-events: none, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, we automatically add a tabindex="-1" attribute on disabled links (to prevent them from receiving keyboard focus) and use custom JavaScript to disable their functionality.

Block buttons #

Create buttons that span the full width of a parent—by using utilities.

', 4); const _hoisted_43 = { class: "docs-example rounded-top p-4" }; const _hoisted_44 = { class: "d-grid gap-2" }; const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<div class="d-grid gap-2">\n  <CButton color="primary">Button</CButton>\n  <CButton color="primary">Button</CButton>\n</div>\n

Here we create a responsive variation, starting with vertically stacked buttons until the md breakpoint, where .d-md-block replaces the .d-grid class, thus nullifying the gap-2 utility. Resize your browser to see them change.

', 2); @@ -61,9 +59,9 @@ const _hoisted_52 = { class: "d-grid gap-2 col-6 mx-auto" }; const _hoisted_53 = /* @__PURE__ */ createStaticVNode('
<div class="d-grid gap-2 col-6 mx-auto">\n  <CButton color="primary">Button</CButton>\n  <CButton color="primary">Button</CButton>\n</div>\n

Additional utilities can be used to adjust the alignment of buttons when horizontal. Here we've taken our previous responsive example and added some flex utilities and a margin utility on the button to right align the buttons when they're no longer stacked.

', 2); const _hoisted_55 = { class: "docs-example rounded-top p-4" }; const _hoisted_56 = { class: "d-grid gap-2 d-md-flex justify-content-md-end" }; -const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<div class="d-grid gap-2 d-md-flex justify-content-md-end">\n  <CButton color="primary" class="me-md-2">Button</CButton>\n  <CButton color="primary">Button</CButton>\n</div>\n

Customizing

CSS variables

Vue buttons use local CSS variables on .btn for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_61 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CButton :style="vars">...</CButton>\n

SASS variables

', 3); -const _hoisted_64 = /* @__PURE__ */ createStaticVNode('

API

CButton

import { CButton } from '@coreui/vue'\n// or\nimport CButton from '@coreui/vue/src/components/button/CButton'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small or large.string'sm', 'lg'-
typeSpecifies the type of button. Always specify the type attribute for the <button> element.
Different browsers may use different default types for the <button> element.
string'button', 'submit', 'reset''button'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on the button.
', 7); +const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<div class="d-grid gap-2 d-md-flex justify-content-md-end">\n  <CButton color="primary" class="me-md-2">Button</CButton>\n  <CButton color="primary">Button</CButton>\n</div>\n

Customizing #

CSS variables #

Vue buttons use local CSS variables on .btn for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_61 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CButton :style="vars">...</CButton>\n

SASS variables #

', 3); +const _hoisted_64 = /* @__PURE__ */ createStaticVNode('

API #

CButton #

import { CButton } from '@coreui/vue'\n// or\nimport CButton from '@coreui/vue/src/components/button/CButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
shapeSelect the shape of the component.string'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'-
sizeSize the component small or large.string'sm', 'lg'-
typeSpecifies the type of button. Always specify the type attribute for the <button> element.
Different browsers may use different default types for the <button> element.
string'button', 'submit', 'reset''button'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on the button.
', 7); function _sfc_render(_ctx, _cache) { const _component_CButton = resolveComponent("CButton"); const _component_Callout = resolveComponent("Callout"); diff --git a/vue/docs/assets/calendar.html-Dj___bk9.js b/vue/docs/assets/calendar.html-Dj___bk9.js new file mode 100644 index 00000000000..5d757d34299 --- /dev/null +++ b/vue/docs/assets/calendar.html-Dj___bk9.js @@ -0,0 +1,247 @@ +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = { + __name: "calendar.html", + setup(__props, { expose: __expose }) { + __expose(); + const calendarDate = new Date(2022, 2, 1); + const disabledDates = [ + [new Date(2022, 2, 4), new Date(2022, 2, 7)], + new Date(2022, 2, 16), + new Date(2022, 3, 16), + [new Date(2022, 4, 2), new Date(2022, 4, 8)] + ]; + const maxDate = new Date(2022, 5, 0); + const minDate = new Date(2022, 1, 1); + const __returned__ = { calendarDate, disabledDates, maxDate, minDate }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { + id: "example", + tabindex: "-1" +}, [ + /* @__PURE__ */ createTextVNode("Example "), + /* @__PURE__ */ createBaseVNode("a", { + class: "anchor-link", + href: "#example" + }, "#") +], -1); +const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Explore the Vue Calendar component's basic usage through sample code snippets demonstrating its core functionality.", -1); +const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h3", { + id: "days", + tabindex: "-1" +}, [ + /* @__PURE__ */ createTextVNode("Days "), + /* @__PURE__ */ createBaseVNode("a", { + class: "anchor-link", + href: "#days" + }, "#") +], -1); +const _hoisted_4 = /* @__PURE__ */ createBaseVNode("p", null, "Select specific days using the Vue Calendar component. The example below shows basic usage.", -1); +const _hoisted_5 = { class: "docs-example rounded-top p-4" }; +const _hoisted_6 = { class: "d-flex justify-content-center" }; +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="en-US" startDate="2024/02/13" />\n</div>\n

Weeks #

Set the selectionType to week to enable selection of entire week. You can also add showWeekNumber to show week numbers.

', 3); +const _hoisted_10 = { class: "docs-example rounded-top p-4" }; +const _hoisted_11 = { class: "d-flex justify-content-center" }; +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar\n    class="border rounded"\n    locale="en-US"\n    selectionType="week"\n    showWeekNumber\n    startDate="2024W15"\n  />\n</div>\n

Months #

Set the selectionType property to month to enable selection of entire months.

', 3); +const _hoisted_15 = { class: "docs-example rounded-top p-4" }; +const _hoisted_16 = { class: "d-flex justify-content-center" }; +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="en-US" selectionType="month" startDate="2024-2" />\n</div>\n

Years #

Set the selectionType property to year to enable years range selection.

', 3); +const _hoisted_20 = { class: "docs-example rounded-top p-4" }; +const _hoisted_21 = { class: "d-flex justify-content-center" }; +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="en-US" selectionType="year" startDate="2024" />\n</div>\n

Multiple calendar panels #

Display multiple calendar panels side by side by setting the calendars property. This can be useful for selecting ranges or comparing dates across different months.

', 3); +const _hoisted_25 = { class: "docs-example rounded-top p-4" }; +const _hoisted_26 = { class: "d-flex justify-content-center" }; +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar :calendars="2" class="border rounded" locale="en-US" />\n</div>\n

Range selection #

Enable range selection to allow users to pick a start and end date. This example shows how to configure the Vue Calendar component to handle date ranges.

', 3); +const _hoisted_30 = { class: "docs-example rounded-top p-4" }; +const _hoisted_31 = { class: "d-flex justify-content-center" }; +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar\n    :calendars="2"\n    class="border rounded"\n    locale="en-US"\n    range\n    startDate="2022/08/23"\n    endDate="2022/09/08"\n  />\n</div>\n

Disabled dates #

The Calendar component includes functionality to disable specific dates, such as weekends or holidays, using the disabledDates prop. This prop takes an array and applies custom logic to determine which dates should be disabled.

', 3); +const _hoisted_35 = { class: "docs-example rounded-top p-4" }; +const _hoisted_36 = { class: "d-flex justify-content-center" }; +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const calendarDate = new Date(2022, 2, 1)\n  const disabledDates = [\n    [new Date(2022, 2, 4), new Date(2022, 2, 7)],\n    new Date(2022, 2, 16),\n    new Date(2022, 3, 16),\n    [new Date(2022, 4, 2), new Date(2022, 4, 8)],\n  ]\n  const maxDate = new Date(2022, 5, 0)\n  const minDate = new Date(2022, 1, 1)\n</script>\n<template>\n  <div class="d-flex justify-content-center">\n    <CCalendar\n      :calendarDate="calendarDate"\n      :calendars="2"\n      class="border rounded"\n      :disabledDates="disabledDates"\n      locale="en-US"\n      :maxDate="maxDate"\n      :minDate="minDate"\n      range\n    />\n  </div>\n</template>\n

Non-english locale #

The CoreUI Vue Calendar allows users to display dates in non-English locales, making it suitable for international applications.

Auto #

By default, the Calendar component uses the browser's default locale. However, you can easily configure it to use a different locale supported by the JavaScript Internationalization API. This feature helps create inclusive and accessible applications for a diverse audience.

', 5); +const _hoisted_42 = { class: "docs-example rounded-top p-4" }; +const _hoisted_43 = { class: "d-flex justify-content-center" }; +const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" />\n</div>\n

Chinese #

Here is an example of the Vue Calendar component with Chinese locale settings.

', 3); +const _hoisted_47 = { class: "docs-example rounded-top p-4" }; +const _hoisted_48 = { class: "d-flex justify-content-center" }; +const _hoisted_49 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="zh-CN" />\n</div>\n

Japanese #

Below is an example of the Calendar component with Japanese locale settings.

', 3); +const _hoisted_52 = { class: "docs-example rounded-top p-4" }; +const _hoisted_53 = { class: "d-flex justify-content-center" }; +const _hoisted_54 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="ja" />\n</div>\n

Korean #

Here is an example of the Calendar component with Korean locale settings.

', 3); +const _hoisted_57 = { class: "docs-example rounded-top p-4" }; +const _hoisted_58 = { + class: "d-flex justify-content-center", + dir: "rtl" +}; +const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center" dir="rtl">\n  <CCalendar class="border rounded" locale="ko" />\n</div>\n

Right to left support #

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew #

Example of the Calendar component with RTL support, using the Hebrew locale.

', 5); +const _hoisted_64 = { class: "docs-example rounded-top p-4" }; +const _hoisted_65 = { + class: "d-flex justify-content-center", + dir: "rtl" +}; +const _hoisted_66 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center" dir="rtl">\n  <CCalendar class="border rounded" locale="he-IL" />\n</div>\n

Persian #

Example of the Vue Calendar component with Persian locale settings.

', 3); +const _hoisted_69 = { class: "docs-example rounded-top p-4" }; +const _hoisted_70 = { class: "d-flex justify-content-center" }; +const _hoisted_71 = /* @__PURE__ */ createStaticVNode('
<div class="d-flex justify-content-center">\n  <CCalendar class="border rounded" locale="fa-IR" />\n</div>\n

Customizing #

CSS variables #

The Vue Calendar uses local CSS variables on .calendar for real-time customization. Values for these CSS variables are set via Sass, but they can also be overridden directly in the component for dynamic styling.

', 4); +const _hoisted_75 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CCalendar :style="vars">...</CCalendar>\n

SASS variables #

', 3); +const _hoisted_78 = /* @__PURE__ */ createStaticVNode('

API #

CCalendar #

import { CCalendar } from '@coreui/vue'\n// or\nimport CCalendar from '@coreui/vue/src/components/calendar/CCalendar'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendar-dateDefault date of the component--
calendarsThe number of calendars that render on desktop devices.number-1
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.--
min-dateMin selectable date.--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
rangeAllow range selection.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
start-dateInitial selected date.--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
date-hoverCallback fired when the user hovers over the calendar cell.date Date | null - undefined
calendar-date-changeCallback fired when the calendar date changed.date Date | null - undefined
start-date-changeCallback fired when the start date changed.date Date | null - undefined
end-date-changeCallback fired when the end date changed.date Date | null - undefined
', 7); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CCalendar = resolveComponent("CCalendar"); + const _component_ScssDocs = resolveComponent("ScssDocs"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + _hoisted_2, + _hoisted_3, + _hoisted_4, + createBaseVNode("div", _hoisted_5, [ + createBaseVNode("div", _hoisted_6, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "en-US", + startDate: "2024/02/13" + }) + ]) + ]), + _hoisted_7, + createBaseVNode("div", _hoisted_10, [ + createBaseVNode("div", _hoisted_11, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "en-US", + selectionType: "week", + showWeekNumber: "", + startDate: "2024W15" + }) + ]) + ]), + _hoisted_12, + createBaseVNode("div", _hoisted_15, [ + createBaseVNode("div", _hoisted_16, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "en-US", + selectionType: "month", + startDate: "2024-2" + }) + ]) + ]), + _hoisted_17, + createBaseVNode("div", _hoisted_20, [ + createBaseVNode("div", _hoisted_21, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "en-US", + selectionType: "year", + startDate: "2024" + }) + ]) + ]), + _hoisted_22, + createBaseVNode("div", _hoisted_25, [ + createBaseVNode("div", _hoisted_26, [ + createVNode(_component_CCalendar, { + calendars: 2, + class: "border rounded", + locale: "en-US" + }) + ]) + ]), + _hoisted_27, + createBaseVNode("div", _hoisted_30, [ + createBaseVNode("div", _hoisted_31, [ + createVNode(_component_CCalendar, { + calendars: 2, + class: "border rounded", + locale: "en-US", + range: "", + startDate: "2022/08/23", + endDate: "2022/09/08" + }) + ]) + ]), + _hoisted_32, + createBaseVNode("div", _hoisted_35, [ + createBaseVNode("div", _hoisted_36, [ + createVNode(_component_CCalendar, { + calendarDate: $setup.calendarDate, + calendars: 2, + class: "border rounded", + disabledDates: $setup.disabledDates, + locale: "en-US", + maxDate: $setup.maxDate, + minDate: $setup.minDate, + range: "" + }, null, 8, ["calendarDate", "maxDate", "minDate"]) + ]) + ]), + _hoisted_37, + createBaseVNode("div", _hoisted_42, [ + createBaseVNode("div", _hoisted_43, [ + createVNode(_component_CCalendar, { class: "border rounded" }) + ]) + ]), + _hoisted_44, + createBaseVNode("div", _hoisted_47, [ + createBaseVNode("div", _hoisted_48, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "zh-CN" + }) + ]) + ]), + _hoisted_49, + createBaseVNode("div", _hoisted_52, [ + createBaseVNode("div", _hoisted_53, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "ja" + }) + ]) + ]), + _hoisted_54, + createBaseVNode("div", _hoisted_57, [ + createBaseVNode("div", _hoisted_58, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "ko" + }) + ]) + ]), + _hoisted_59, + createBaseVNode("div", _hoisted_64, [ + createBaseVNode("div", _hoisted_65, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "he-IL" + }) + ]) + ]), + _hoisted_66, + createBaseVNode("div", _hoisted_69, [ + createBaseVNode("div", _hoisted_70, [ + createVNode(_component_CCalendar, { + class: "border rounded", + locale: "fa-IR" + }) + ]) + ]), + _hoisted_71, + createVNode(_component_ScssDocs, { + file: "_calendar.scss", + capture: "calendar-css-vars" + }), + _hoisted_75, + createVNode(_component_ScssDocs, { + file: "_variables.scss", + capture: "calendar-variables" + }), + _hoisted_78 + ]); +} +const calendar_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "calendar.html.vue"]]); +const data = JSON.parse('{"path":"/components/calendar.html","title":"Vue Calendar Component","lang":"en-US","frontmatter":{"title":"Vue Calendar Component","name":"Calendar","description":"The Vue Calendar Component is a versatile, customizable tool for creating responsive calendars in Vue, supporting day, month, and year selection, and global locales.","pro_component":true,"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/calendar.html"}]]},"headers":[{"level":2,"title":"Example","slug":"example","link":"#example","children":[{"level":3,"title":"Days","slug":"days","link":"#days","children":[]},{"level":3,"title":"Weeks","slug":"weeks","link":"#weeks","children":[]},{"level":3,"title":"Months","slug":"months","link":"#months","children":[]},{"level":3,"title":"Years","slug":"years","link":"#years","children":[]}]},{"level":2,"title":"Multiple calendar panels","slug":"multiple-calendar-panels","link":"#multiple-calendar-panels","children":[]},{"level":2,"title":"Range selection","slug":"range-selection","link":"#range-selection","children":[]},{"level":2,"title":"Disabled dates","slug":"disabled-dates","link":"#disabled-dates","children":[]},{"level":2,"title":"Non-english locale","slug":"non-english-locale","link":"#non-english-locale","children":[{"level":3,"title":"Auto","slug":"auto","link":"#auto","children":[]},{"level":3,"title":"Chinese","slug":"chinese","link":"#chinese","children":[]},{"level":3,"title":"Japanese","slug":"japanese","link":"#japanese","children":[]},{"level":3,"title":"Korean","slug":"korean","link":"#korean","children":[]}]},{"level":2,"title":"Right to left support","slug":"right-to-left-support","link":"#right-to-left-support","children":[{"level":3,"title":"Hebrew","slug":"hebrew","link":"#hebrew","children":[]},{"level":3,"title":"Persian","slug":"persian","link":"#persian","children":[]}]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CCalendar","slug":"ccalendar","link":"#ccalendar","children":[]}]}],"filePathRelative":"components/calendar.md"}'); +export { + calendar_html as comp, + data +}; diff --git a/vue/docs/assets/calendar.html-aIZ63-sL.js b/vue/docs/assets/calendar.html-aIZ63-sL.js deleted file mode 100644 index 583e8d78ae5..00000000000 --- a/vue/docs/assets/calendar.html-aIZ63-sL.js +++ /dev/null @@ -1,174 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { - id: "example", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Example "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#example", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { - id: "days", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Days "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#days", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = { class: "d-flex mb-3" }; -const _hoisted_5 = { class: "d-flex mb-3" }; -const _hoisted_6 = { class: "d-flex mb-3" }; -const _hoisted_7 = /* @__PURE__ */ createBaseVNode("h3", { - id: "weeks", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Weeks "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#weeks", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = { class: "d-flex mb-3" }; -const _hoisted_10 = /* @__PURE__ */ createBaseVNode("h3", { - id: "months", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Months "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#months", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = { class: "d-flex mb-3" }; -const _hoisted_13 = /* @__PURE__ */ createBaseVNode("h3", { - id: "years", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Years "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#years", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = { class: "d-flex mb-3" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('

API

CCalendar

import { CCalendar } from '@coreui/vue'\n// or\nimport CCalendar from '@coreui/vue/src/components/calendar/CCalendar'\n

Props

Prop nameDescriptionTypeValuesDefault
calendar-dateDefault date of the component--
calendarsThe number of calendars that render on desktop devices.number-1
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.--
min-dateMin selectable date.--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
rangeAllow range selection.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
start-dateInitial selected date.--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
date-hoverCallback fired when the user hovers over the calendar cell.date Date | null - undefined
calendar-date-changeCallback fired when the calendar date changed.date Date | null - undefined
start-date-changeCallback fired when the start date changed.date Date | null - undefined
end-date-changeCallback fired when the end date changed.date Date | null - undefined
', 7); -function _sfc_render(_ctx, _cache) { - const _component_CCalendar = resolveComponent("CCalendar"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - _hoisted_2, - createBaseVNode("div", _hoisted_3, [ - createBaseVNode("div", _hoisted_4, [ - createVNode(_component_CCalendar, { - showWeekNumber: "", - weekNumbersLabel: "#", - class: "border rounded", - startDate: "2023-08-20", - onStartDateChange: _cache[0] || (_cache[0] = (date) => console.log(date)), - onEndDateChange: _cache[1] || (_cache[1] = (date) => console.log(date)) - }) - ]), - createBaseVNode("div", _hoisted_5, [ - createVNode(_component_CCalendar, { - class: "border rounded", - startDate: "2023-08-20", - endDate: "2023-10-6", - range: "", - onStartDateChange: _cache[2] || (_cache[2] = (date) => console.log(date)), - onEndDateChange: _cache[3] || (_cache[3] = (date) => console.log(date)) - }) - ]), - createBaseVNode("div", _hoisted_6, [ - createVNode(_component_CCalendar, { - showWeekNumber: "", - weekNumbersLabel: "Y", - calendars: 2, - class: "border rounded", - startDate: "2023-08-20", - endDate: "2023-10-6", - range: "", - onStartDateChange: _cache[4] || (_cache[4] = (date) => console.log(date)), - onEndDateChange: _cache[5] || (_cache[5] = (date) => console.log(date)) - }) - ]) - ]), - _hoisted_7, - createBaseVNode("div", _hoisted_8, [ - createBaseVNode("div", _hoisted_9, [ - createVNode(_component_CCalendar, { - selectionType: "week", - showWeekNumber: "", - weekNumbersLabel: "#", - class: "border rounded", - minDate: "2025W02", - maxDate: "2026W06", - startDate: "2025W07", - endDate: "2025W12", - calendars: 2, - range: "", - onStartDateChange: _cache[6] || (_cache[6] = (date) => console.log(date)), - onEndDateChange: _cache[7] || (_cache[7] = (date) => console.log(date)) - }) - ]) - ]), - _hoisted_10, - createBaseVNode("div", _hoisted_11, [ - createBaseVNode("div", _hoisted_12, [ - createVNode(_component_CCalendar, { - selectionType: "month", - showWeekNumber: "", - weekNumbersLabel: "#", - class: "border rounded", - minDate: "2023-06", - maxDate: "2025-06", - startDate: "2023-08", - endDate: "2024-05", - calendars: 2, - range: "", - onStartDateChange: _cache[8] || (_cache[8] = (date) => console.log(date)), - onEndDateChange: _cache[9] || (_cache[9] = (date) => console.log(date)) - }) - ]) - ]), - _hoisted_13, - createBaseVNode("div", _hoisted_14, [ - createBaseVNode("div", _hoisted_15, [ - createVNode(_component_CCalendar, { - selectionType: "year", - showWeekNumber: "", - weekNumbersLabel: "#", - class: "border rounded", - minDate: "2021", - maxDate: "2048", - startDate: "2023", - endDate: "2036", - calendars: 2, - range: "", - onStartDateChange: _cache[10] || (_cache[10] = (date) => console.log(date)), - onEndDateChange: _cache[11] || (_cache[11] = (date) => console.log(date)) - }) - ]) - ]), - _hoisted_16 - ]); -} -const calendar_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "calendar.html.vue"]]); -const data = JSON.parse('{"path":"/components/calendar.html","title":"Vue Calendar Component","lang":"en-US","frontmatter":{"title":"Vue Calendar Component","name":"Calendar","description":"Create consistent cross-browser and cross-device calendar","pro_component":true,"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/calendar.html"}]]},"headers":[{"level":2,"title":"Example","slug":"example","link":"#example","children":[{"level":3,"title":"Days","slug":"days","link":"#days","children":[]},{"level":3,"title":"Weeks","slug":"weeks","link":"#weeks","children":[]},{"level":3,"title":"Months","slug":"months","link":"#months","children":[]},{"level":3,"title":"Years","slug":"years","link":"#years","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CCalendar","slug":"ccalendar","link":"#ccalendar","children":[]}]}],"filePathRelative":"components/calendar.md"}'); -export { - calendar_html as comp, - data -}; diff --git a/vue/docs/assets/callout.html-BHcngsku.js b/vue/docs/assets/callout.html-BvHwLp1x.js similarity index 78% rename from vue/docs/assets/callout.html-BHcngsku.js rename to vue/docs/assets/callout.html-BvHwLp1x.js index 89fda357b4c..0b7c4f79675 100644 --- a/vue/docs/assets/callout.html-BHcngsku.js +++ b/vue/docs/assets/callout.html-BvHwLp1x.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "examples", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -29,8 +28,7 @@ const _hoisted_7 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Customizing "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#customizing", - "aria-hidden": "true" + href: "#customizing" }, "#") ], -1); const _hoisted_8 = /* @__PURE__ */ createBaseVNode("h3", { @@ -40,8 +38,7 @@ const _hoisted_8 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("CSS variables "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#css-variables", - "aria-hidden": "true" + href: "#css-variables" }, "#") ], -1); const _hoisted_9 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -49,8 +46,8 @@ const _hoisted_9 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, ".callout"), /* @__PURE__ */ createTextVNode(" for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.") ], -1); -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CCallout :style="vars">...</CCallout>\n

SASS variables

', 3); -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('

API

CCallout

import { CCallout } from '@coreui/vue'\n// or\nimport CCallout from '@coreui/vue/src/components/callout/CCallout'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
', 5); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CCallout :style="vars">...</CCallout>\n

SASS variables #

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('

API #

CCallout #

import { CCallout } from '@coreui/vue'\n// or\nimport CCallout from '@coreui/vue/src/components/callout/CCallout'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
', 5); function _sfc_render(_ctx, _cache) { const _component_CCallout = resolveComponent("CCallout"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/card.html-CiiNUsv5.js b/vue/docs/assets/card.html-itUqRb0K.js similarity index 93% rename from vue/docs/assets/card.html-CiiNUsv5.js rename to vue/docs/assets/card.html-itUqRb0K.js index f33bc44252e..15c8c1d0b73 100644 --- a/vue/docs/assets/card.html-CiiNUsv5.js +++ b/vue/docs/assets/card.html-itUqRb0K.js @@ -1,20 +1,20 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, F as Fragment, j as renderList, a as createStaticVNode, f as createTextVNode, t as toDisplayString, n as normalizeClass } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, F as Fragment, h as renderList, a as createStaticVNode, f as createTextVNode, t as toDisplayString, n as normalizeClass } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Examples

About

A Vue card component is a content container. It incorporates options for images, headers, and footers, a wide variety of content, contextual background colors, and excellent display options.

Example

Cards are built with as little markup and styles as possible but still manage to deliver a bunch of control and customization. Built with flexbox, they offer easy alignment and mix well with other CoreUI components. Cards have no top, left, and right margins by default, so use spacing utilities as needed. They have no fixed width to start, so they'll fill the full width of its parent.

Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they'll naturally fill the full width of its parent element.

', 6); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Examples #

About #

A Vue card component is a content container. It incorporates options for images, headers, and footers, a wide variety of content, contextual background colors, and excellent display options.

Example #

Cards are built with as little markup and styles as possible but still manage to deliver a bunch of control and customization. Built with flexbox, they offer easy alignment and mix well with other CoreUI components. Cards have no top, left, and right margins by default, so use spacing utilities as needed. They have no fixed width to start, so they'll fill the full width of its parent.

Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they'll naturally fill the full width of its parent element.

', 6); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Content types

CoreUI card supports a wide variety of content, including images, text, list groups, links, and more. Below are examples of those elements.

Body

The main block of a card is the <CCardBody>. Use it whenever you need a padded section within a card.

', 5); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Content types #

CoreUI card supports a wide variety of content, including images, text, list groups, links, and more. Below are examples of those elements.

Body #

The main block of a card is the <CCardBody>. Use it whenever you need a padded section within a card.

', 5); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CCard>\n  <CCardBody>\n    This is some text within a card body.\n  </CCardBody>\n</CCard>\n

Card titles are managed by <CCardTitle> component. Identically, links are attached and collected next to each other by <CCardLink> component.

Subtitles are managed by <CCardSubtitle> component. If the <CCardTitle> also, the <CCardSubtitle> items are stored in a <CCardBody> item, the card title, and subtitle are arranged rightly.

', 4); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CCard>\n  <CCardBody>\n    This is some text within a card body.\n  </CCardBody>\n</CCard>\n

Card titles are managed by <CCardTitle> component. Identically, links are attached and collected next to each other by <CCardLink> component.

Subtitles are managed by <CCardSubtitle> component. If the <CCardTitle> also, the <CCardSubtitle> items are stored in a <CCardBody> item, the card title, and subtitle are arranged rightly.

', 4); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardSubtitle class="mb-2 text-body-secondary">Card subtitle</CCardSubtitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    <CCardLink href="#">Card link</CCardLink>\n    <CCardLink href="#">Another link</CCardLink>\n  </CCardBody>\n</CCard>\n

Images

.card-img-top places a picture to the top of the card. With .card-text, text can be added to the card. Text within .card-text can additionally be styled with the regular HTML tags.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardSubtitle class="mb-2 text-body-secondary">Card subtitle</CCardSubtitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    <CCardLink href="#">Card link</CCardLink>\n    <CCardLink href="#">Another link</CCardLink>\n  </CCardBody>\n</CCard>\n

Images #

.card-img-top places a picture to the top of the card. With .card-text, text can be added to the card. Text within .card-text can additionally be styled with the regular HTML tags.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; -const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n  </CCardBody>\n</CCard>\n

List groups

Create lists of content in a card with a flush list group.

', 3); +const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n  </CCardBody>\n</CCard>\n

List groups #

Create lists of content in a card with a flush list group.

', 3); const _hoisted_26 = { class: "docs-example rounded-top p-4" }; const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n</CCard>\n\n::: demo\n<CCard style="width: 18rem">\n  <CCardHeader>Header</CCardHeader>\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n</CCard>\n:::\n```vue\n<CCard style="width: 18rem">\n  <CCardHeader>Header</CCardHeader>\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n</CCard>\n
', 1); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n  <CCardFooter>Footer</CCardFooter>\n</CCard>\n

Kitchen sink

Combine and match many content types to build the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n  <CCardFooter>Footer</CCardFooter>\n</CCard>\n

Kitchen sink #

Combine and match many content types to build the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n  </CCardBody>\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n  <CCardBody>\n    <CCardLink href="#">Card link</CCardLink>\n    <CCardLink href="#">Another link</CCardLink>\n  </CCardBody>\n</CCard>\n

Add an optional header and/or footer within a card.

', 3); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n  </CCardBody>\n  <CListGroup flush>\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Vestibulum at eros</CListGroupItem>\n  </CListGroup>\n  <CCardBody>\n    <CCardLink href="#">Card link</CCardLink>\n    <CCardLink href="#">Another link</CCardLink>\n  </CCardBody>\n</CCard>\n

Add an optional header and/or footer within a card.

', 3); const _hoisted_36 = { class: "docs-example rounded-top p-4" }; const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CCard>\n  <CCardHeader>Header</CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Card headers can be styled by adding ex. as="h5".

', 2); const _hoisted_39 = { class: "docs-example rounded-top p-4" }; @@ -29,28 +29,28 @@ const _hoisted_42 = /* @__PURE__ */ createBaseVNode("blockquote", { class: "bloc ], -1); const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CCard>\n  <CCardHeader>Quote</CCardHeader>\n  <CCardBody>\n    <blockquote class="blockquote mb-0">\n      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n      <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>\n    </blockquote>\n  </CCardBody>\n</CCard>\n
', 1); const _hoisted_44 = { class: "docs-example rounded-top p-4" }; -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CCard class="text-center">\n  <CCardHeader>Header</CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n  <CCardFooter class="text-body-secondary">2 days ago</CCardFooter>\n</CCard>\n

Sizing

Cards assume no specific width to start, so they'll be 100% wide unless otherwise stated. You can adjust this as required with custom CSS, grid classes, grid Sass mixins, or services.

Using grid markup

Using the grid, wrap cards in columns and rows as needed.

', 5); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CCard class="text-center">\n  <CCardHeader>Header</CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n  <CCardFooter class="text-body-secondary">2 days ago</CCardFooter>\n</CCard>\n

Sizing #

Cards assume no specific width to start, so they'll be 100% wide unless otherwise stated. You can adjust this as required with custom CSS, grid classes, grid Sass mixins, or services.

Using grid markup #

Using the grid, wrap cards in columns and rows as needed.

', 5); const _hoisted_50 = { class: "docs-example rounded-top p-4" }; -const _hoisted_51 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CCard>\n      <CCardBody>\n        <CCardTitle>Special title treatment</CCardTitle>\n        <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n        <CButton color="primary" href="#">Go somewhere</CButton>\n      </CCardBody>\n    </CCard>\n  </CCol>\n  <CCol :sm="6">\n    <CCard>\n      <CCardBody>\n        <CCardTitle>Special title treatment</CCardTitle>\n        <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n        <CButton color="primary" href="#">Go somewhere</CButton>\n      </CCardBody>\n    </CCard>\n  </CCol>\n</CRow>\n

Using utilities

Use some of available sizing utilities to rapidly set a card's width.

', 3); +const _hoisted_51 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CCard>\n      <CCardBody>\n        <CCardTitle>Special title treatment</CCardTitle>\n        <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n        <CButton color="primary" href="#">Go somewhere</CButton>\n      </CCardBody>\n    </CCard>\n  </CCol>\n  <CCol :sm="6">\n    <CCard>\n      <CCardBody>\n        <CCardTitle>Special title treatment</CCardTitle>\n        <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n        <CButton color="primary" href="#">Go somewhere</CButton>\n      </CCardBody>\n    </CCard>\n  </CCol>\n</CRow>\n

Using utilities #

Use some of available sizing utilities to rapidly set a card's width.

', 3); const _hoisted_54 = { class: "docs-example rounded-top p-4" }; -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CCard class="w-75">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="w-50">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Using custom CSS

Use custom CSS in your stylesheets or as inline styles to set a width.

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CCard class="w-75">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="w-50">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Using custom CSS #

Use custom CSS in your stylesheets or as inline styles to set a width.

', 3); const _hoisted_58 = { class: "docs-example rounded-top p-4" }; -const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Text alignment

You can instantly change the text arrangement of any card—in its whole or specific parts—with text align classes.

', 3); +const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Text alignment #

You can instantly change the text arrangement of any card—in its whole or specific parts—with text align classes.

', 3); const _hoisted_62 = { class: "docs-example rounded-top p-4" }; -const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="text-center" style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="text-end" style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Add some navigation to a <CCardHeader> with our <CNav> component.

', 3); +const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="text-center" style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard class="text-end" style="width: 18rem">\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Add some navigation to a <CCardHeader> with our <CNav> component.

', 3); const _hoisted_66 = { class: "docs-example rounded-top p-4" }; const _hoisted_67 = /* @__PURE__ */ createStaticVNode('
<CCard class="text-center">\n  <CCardHeader>\n    <CNav variant="tabs" class="card-header-tabs">\n      <CNavItem>\n        <CNavLink\n          href="#"\n          active\n        >\n          Active\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n        >\n          Link\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n          disabled\n        >\n          Disabled\n        </CNavLink>\n      </CNavItem>\n    </CNav>\n  </CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n
', 1); const _hoisted_68 = { class: "docs-example rounded-top p-4" }; -const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CCard class="text-center">\n  <CCardHeader>\n    <CNav variant="pills" class="card-header-pills">\n      <CNavItem>\n        <CNavLink\n          href="#"\n          active\n        >\n          Active\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n        >\n          Link\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n          disabled\n        >\n          Disabled\n        </CNavLink>\n      </CNavItem>\n    </CNav>\n  </CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Images

Cards introduce several options for acting with images. Pick from appending "image caps" at either end of a card, overlaying images with content, or just inserting the image in a card.

Image caps

Similar to headers and footers, cards can include top and bottom "image caps"—images at the top or bottom of a card.

', 5); +const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CCard class="text-center">\n  <CCardHeader>\n    <CNav variant="pills" class="card-header-pills">\n      <CNavItem>\n        <CNavLink\n          href="#"\n          active\n        >\n          Active\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n        >\n          Link\n        </CNavLink>\n      </CNavItem>\n      <CNavItem>\n        <CNavLink\n          href="#"\n          disabled\n        >\n          Disabled\n        </CNavLink>\n      </CNavItem>\n    </CNav>\n  </CCardHeader>\n  <CCardBody>\n    <CCardTitle>Special title treatment</CCardTitle>\n    <CCardText>With supporting text below as a natural lead-in to additional content.</CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n

Images #

Cards introduce several options for acting with images. Pick from appending "image caps" at either end of a card, overlaying images with content, or just inserting the image in a card.

Image caps #

Similar to headers and footers, cards can include top and bottom "image caps"—images at the top or bottom of a card.

', 5); const _hoisted_74 = { class: "docs-example rounded-top p-4" }; const _hoisted_75 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_76 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); -const _hoisted_77 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n  </CCardBody>\n</CCard>\n<CCard class="mb-3">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n  </CCardBody>\n    <CCardImage orientation="bottom" src="/images/vue.jpg" />\n</CCard>\n

Image overlays

Adapt an image into a background and overlay your text. Depending on the image, you may need additional styles or utilities.

', 3); +const _hoisted_77 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3">\n  <CCardImage orientation="top" src="/images/vue.jpg" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n  </CCardBody>\n</CCard>\n<CCard class="mb-3">\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n  </CCardBody>\n    <CCardImage orientation="bottom" src="/images/vue.jpg" />\n</CCard>\n

Image overlays #

Adapt an image into a background and overlay your text. Depending on the image, you may need additional styles or utilities.

', 3); const _hoisted_80 = { class: "docs-example rounded-top p-4" }; -const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3 bg-dark text-white">\n  <CCardImage src="/images/vue.jpg" />\n  <CCardImageOverlay>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText>Last updated 3 mins ago</CCardText>\n  </CCardImageOverlay>\n</CCard>\n

Horizontal

Using a combination of grid and utility classes, cards can be made horizontal in a mobile-friendly and responsive way. In the example below, we remove the grid gutters with .g-0 and use .col-md-* classes to make the card horizontal at the md breakpoint. Further adjustments may be needed depending on your card content.

', 3); +const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3 bg-dark text-white">\n  <CCardImage src="/images/vue.jpg" />\n  <CCardImageOverlay>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    <CCardText>Last updated 3 mins ago</CCardText>\n  </CCardImageOverlay>\n</CCard>\n

Horizontal #

Using a combination of grid and utility classes, cards can be made horizontal in a mobile-friendly and responsive way. In the example below, we remove the grid gutters with .g-0 and use .col-md-* classes to make the card horizontal at the md breakpoint. Further adjustments may be needed depending on your card content.

', 3); const _hoisted_84 = { class: "docs-example rounded-top p-4" }; const _hoisted_85 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); -const _hoisted_86 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3" style="max=width: 540px">\n  <CRow class="g-0">\n    <CCol :md="4">\n      <CCardImage class="rounded-0" src="/images/vue.jpg" />\n    </CCol>\n    <CCol :md="8">\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n        <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n      </CCardBody>\n    </CCol>\n  </CRow>\n</CCard>\n

Card styles

Cards include various options for customizing their backgrounds, borders, and color.

Background and color

Use color property to change the appearance of a card.

', 5); +const _hoisted_86 = /* @__PURE__ */ createStaticVNode('
<CCard class="mb-3" style="max=width: 540px">\n  <CRow class="g-0">\n    <CCol :md="4">\n      <CCardImage class="rounded-0" src="/images/vue.jpg" />\n    </CCol>\n    <CCol :md="8">\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n        <CCardText><small class="text-body-secondary">Last updated 3 mins ago</small></CCardText>\n      </CCardBody>\n    </CCol>\n  </CRow>\n</CCard>\n

Card styles #

Cards include various options for customizing their backgrounds, borders, and color.

Background and color #

Use color property to change the appearance of a card.

', 5); const _hoisted_91 = { class: "docs-example rounded-top p-4" }; const _hoisted_92 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in [\n  { color: 'primary', textColor: 'white' },\n  { color: 'secondary', textColor: 'white' },\n  { color: 'success', textColor: 'white' },\n  { color: 'danger', textColor: 'white' },\n  { color: 'warning' },\n  { color: 'info', textColor: 'white' },\n  { color: 'light' },\n  { color: 'dark', textColor: 'white' }\n]">\n  <CCard :color="item.color" :text-color="item.textColor" class="mb-3" style="max-width: 18rem">\n    <CCardHeader>Header</CCardHeader>\n    <CCardBody>\n      <CCardTitle>{{item.color}} card title</CCardTitle>\n      <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    </CCardBody>\n  </CCard>\n</template>\n

You can also apply contextual variations with the textBgColor property, which automatically sets the text color to ensure compliance with the WCAG 4.5:1 contrast ratio standard for enhanced accessibility.

', 2); const _hoisted_94 = { class: "docs-example rounded-top p-4" }; @@ -63,8 +63,7 @@ const _hoisted_97 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Border "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#border", - "aria-hidden": "true" + href: "#border" }, "#") ], -1); const _hoisted_98 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -83,9 +82,9 @@ const _hoisted_98 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" or a subset of the card's contents as shown below.") ], -1); const _hoisted_99 = { class: "docs-example rounded-top p-4" }; -const _hoisted_100 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in [\n  { color: 'primary', textColor: 'primary' },\n  { color: 'secondary', textColor: 'secondary' },\n  { color: 'success', textColor: 'success' },\n  { color: 'danger', textColor: 'danger' },\n  { color: 'warning', textColor: 'warning' },\n  { color: 'info', textColor: 'info' },\n  { color: 'light'},\n  { color: 'dark'}\n]">\n  <CCard :text-color="item.textColor" class="mb-3" :class="'border-' + item.color" style="max-width: 18rem">\n    <CCardHeader>Header</CCardHeader>\n    <CCardBody>\n      <CCardTitle>{{item.color}} card title</CCardTitle>\n      <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    </CCardBody>\n  </CCard>\n</template>\n

Top border

', 2); +const _hoisted_100 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in [\n  { color: 'primary', textColor: 'primary' },\n  { color: 'secondary', textColor: 'secondary' },\n  { color: 'success', textColor: 'success' },\n  { color: 'danger', textColor: 'danger' },\n  { color: 'warning', textColor: 'warning' },\n  { color: 'info', textColor: 'info' },\n  { color: 'light'},\n  { color: 'dark'}\n]">\n  <CCard :text-color="item.textColor" class="mb-3" :class="'border-' + item.color" style="max-width: 18rem">\n    <CCardHeader>Header</CCardHeader>\n    <CCardBody>\n      <CCardTitle>{{item.color}} card title</CCardTitle>\n      <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    </CCardBody>\n  </CCard>\n</template>\n

Top border #

', 2); const _hoisted_102 = { class: "docs-example rounded-top p-4" }; -const _hoisted_103 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in [\n  { color: 'primary', textColor: 'primary' },\n  { color: 'secondary', textColor: 'secondary' },\n  { color: 'success', textColor: 'success' },\n  { color: 'danger', textColor: 'danger' },\n  { color: 'warning', textColor: 'warning' },\n  { color: 'info', textColor: 'info' },\n  { color: 'light'},\n  { color: 'dark'}\n]">\n  <CCard :text-color="item.textColor" class="mb-3 border-top-3" :class="'border-top-' + item.color" style="max-width: 18rem">\n    <CCardHeader>Header</CCardHeader>\n    <CCardBody>\n      <CCardTitle>{{item.color}} card title</CCardTitle>\n      <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    </CCardBody>\n  </CCard>\n</template>\n

Card layout

In addition to styling the content within cards, CoreUI includes a few options for laying out series of cards. For the time being, these layout options are not yet responsive.

Card groups

Use card groups to render cards as a single, attached element with equal width and height columns. Card groups start off stacked and use display: flex; to become attached with uniform dimensions starting at the sm breakpoint.

', 5); +const _hoisted_103 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in [\n  { color: 'primary', textColor: 'primary' },\n  { color: 'secondary', textColor: 'secondary' },\n  { color: 'success', textColor: 'success' },\n  { color: 'danger', textColor: 'danger' },\n  { color: 'warning', textColor: 'warning' },\n  { color: 'info', textColor: 'info' },\n  { color: 'light'},\n  { color: 'dark'}\n]">\n  <CCard :text-color="item.textColor" class="mb-3 border-top-3" :class="'border-top-' + item.color" style="max-width: 18rem">\n    <CCardHeader>Header</CCardHeader>\n    <CCardBody>\n      <CCardTitle>{{item.color}} card title</CCardTitle>\n      <CCardText>Some quick example text to build on the card title and make up the bulk of the card's content.</CCardText>\n    </CCardBody>\n  </CCard>\n</template>\n

Card layout #

In addition to styling the content within cards, CoreUI includes a few options for laying out series of cards. For the time being, these layout options are not yet responsive.

Card groups #

Use card groups to render cards as a single, attached element with equal width and height columns. Card groups start off stacked and use display: flex; to become attached with uniform dimensions starting at the sm breakpoint.

', 5); const _hoisted_108 = { class: "docs-example rounded-top p-4" }; const _hoisted_109 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_110 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); @@ -95,7 +94,7 @@ const _hoisted_114 = { class: "docs-example rounded-top p-4" }; const _hoisted_115 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_116 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_117 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); -const _hoisted_118 = /* @__PURE__ */ createStaticVNode('
<CCardGroup>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This card has supporting text below as a natural lead-in to additional content.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n</CCardGroup>\n

Grid cards

Use the CRow component and set :xs|sm|md|lg|xl|xxl="{ cols: * }" property to control how many grid columns (wrapped around your cards) you show per row. For example, here's :xs="{cols: 1}" laying out the cards on one column, and :md="{cols: 1}" splitting four cards to equal width across multiple rows, from the medium breakpoint up.

', 3); +const _hoisted_118 = /* @__PURE__ */ createStaticVNode('
<CCardGroup>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This card has supporting text below as a natural lead-in to additional content.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n  <CCard>\n    <CCardImage orientation="top" src="/images/vue.jpg" />\n    <CCardBody>\n      <CCardTitle>Card title</CCardTitle>\n      <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</CCardText>\n    </CCardBody>\n    <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n  </CCard>\n</CCardGroup>\n

Grid cards #

Use the CRow component and set :xs|sm|md|lg|xl|xxl="{ cols: * }" property to control how many grid columns (wrapped around your cards) you show per row. For example, here's :xs="{cols: 1}" laying out the cards on one column, and :md="{cols: 1}" splitting four cards to equal width across multiple rows, from the medium breakpoint up.

', 3); const _hoisted_121 = { class: "docs-example rounded-top p-4" }; const _hoisted_122 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_123 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); @@ -114,9 +113,9 @@ const _hoisted_138 = { class: "docs-example rounded-top p-4" }; const _hoisted_139 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_140 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); const _hoisted_141 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Last updated 3 mins ago", -1); -const _hoisted_142 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 3}">\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This card has supporting text below as a natural lead-in to additional content.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n</CRow>\n

Customizing

CSS variables

Vue cards use local CSS variables on .card for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_146 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CCard :style="vars">...</CCard>\n

SASS variables

', 3); -const _hoisted_149 = /* @__PURE__ */ createStaticVNode('

API

CCard

import { CCard } from '@coreui/vue'\n// or\nimport CCard from '@coreui/vue/src/components/card/CCard'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-

CCardHeader

import { CCardHeader } from '@coreui/vue'\n// or\nimport CCardHeader from '@coreui/vue/src/components/card/CCardHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'

CCardImage

import { CCardImage } from '@coreui/vue'\n// or\nimport CCardImage from '@coreui/vue/src/components/card/CCardImage'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'img'
orientationOptionally orientate the image to the top, bottom.string'top', 'bottom'-

CCardSubtitle

import { CCardSubtitle } from '@coreui/vue'\n// or\nimport CCardSubtitle from '@coreui/vue/src/components/card/CCardSubtitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'

CCardText

import { CCardText } from '@coreui/vue'\n// or\nimport CCardText from '@coreui/vue/src/components/card/CCardText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'p'

CCardTitle

import { CCardTitle } from '@coreui/vue'\n// or\nimport CCardTitle from '@coreui/vue/src/components/card/CCardTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 25); +const _hoisted_142 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{ cols: 1, gutter: 4 }" :md="{ cols: 3}">\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This card has supporting text below as a natural lead-in to additional content.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n  <CCol xs>\n    <CCard class="h-100">\n      <CCardImage orientation="top" src="/images/vue.jpg" />\n      <CCardBody>\n        <CCardTitle>Card title</CCardTitle>\n        <CCardText>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</CCardText>\n      </CCardBody>\n      <CCardFooter><small class="text-body-secondary">Last updated 3 mins ago</small></CCardFooter>\n    </CCard>\n  </CCol>\n</CRow>\n

Customizing #

CSS variables #

Vue cards use local CSS variables on .card for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_146 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CCard :style="vars">...</CCard>\n

SASS variables #

', 3); +const _hoisted_149 = /* @__PURE__ */ createStaticVNode('

API #

CCard #

import { CCard } from '@coreui/vue'\n// or\nimport CCard from '@coreui/vue/src/components/card/CCard'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-bg-color
5.0.0+
Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
text-colorSets the text color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50'-

CCardHeader #

import { CCardHeader } from '@coreui/vue'\n// or\nimport CCardHeader from '@coreui/vue/src/components/card/CCardHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'

CCardImage #

import { CCardImage } from '@coreui/vue'\n// or\nimport CCardImage from '@coreui/vue/src/components/card/CCardImage'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'img'
orientationOptionally orientate the image to the top, bottom.string'top', 'bottom'-

CCardSubtitle #

import { CCardSubtitle } from '@coreui/vue'\n// or\nimport CCardSubtitle from '@coreui/vue/src/components/card/CCardSubtitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'

CCardText #

import { CCardText } from '@coreui/vue'\n// or\nimport CCardText from '@coreui/vue/src/components/card/CCardText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'p'

CCardTitle #

import { CCardTitle } from '@coreui/vue'\n// or\nimport CCardTitle from '@coreui/vue/src/components/card/CCardTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 25); function _sfc_render(_ctx, _cache) { const _component_CCardImage = resolveComponent("CCardImage"); const _component_CCardTitle = resolveComponent("CCardTitle"); diff --git a/vue/docs/assets/carousel.html-DN2cjEdX.js b/vue/docs/assets/carousel.html-B0BciYS9.js similarity index 86% rename from vue/docs/assets/carousel.html-DN2cjEdX.js rename to vue/docs/assets/carousel.html-B0BciYS9.js index 5cac9f0b54c..e142043e5ab 100644 --- a/vue/docs/assets/carousel.html-DN2cjEdX.js +++ b/vue/docs/assets/carousel.html-B0BciYS9.js @@ -1,21 +1,21 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How it works

The Vue carousel is a slideshow for cycling within a group of content. It runs with a group of images, text, or html elements. It also incorporates support for previous/next buttons.

In browsers where the Page Visibility API is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).

Example

Carousels don't automatically normalize slide dimensions. As such, you may want to use extra utilities or custom methods to properly size content. While carousels support previous/next controls and indicators, they're not explicitly expected. Add and customize as you see fit.

Slides only

', 6); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How it works #

The Vue carousel is a slideshow for cycling within a group of content. It runs with a group of images, text, or html elements. It also incorporates support for previous/next buttons.

In browsers where the Page Visibility API is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).

Example #

Carousels don't automatically normalize slide dimensions. As such, you may want to use extra utilities or custom methods to properly size content. While carousels support previous/next controls and indicators, they're not explicitly expected. Add and customize as you see fit.

Slides only #

', 6); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; const _hoisted_8 = ["src"]; const _hoisted_9 = ["src"]; const _hoisted_10 = ["src"]; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CCarousel>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With controls

Adding in the previous and next controls by controls property.

', 3); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CCarousel>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With controls #

Adding in the previous and next controls by controls property.

', 3); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; const _hoisted_15 = ["src"]; const _hoisted_16 = ["src"]; const _hoisted_17 = ["src"]; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With indicators

You can attach the indicators to the carousel, lengthwise the controls, too.

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With indicators #

You can attach the indicators to the carousel, lengthwise the controls, too.

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; const _hoisted_22 = ["src"]; const _hoisted_23 = ["src"]; const _hoisted_24 = ["src"]; -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With captions

You can add captions to slides with the <CCarouselCaption> element within any <CCarouselItem>. They can be immediately hidden on smaller viewports, as shown below, with optional display utilities. We hide them with .d-none and draw them back on medium-sized devices with .d-md-block.

', 3); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

With captions #

You can add captions to slides with the <CCarouselCaption> element within any <CCarouselItem>. They can be immediately hidden on smaller viewports, as shown below, with optional display utilities. We hide them with .d-none and draw them back on medium-sized devices with .d-md-block.

', 3); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; const _hoisted_29 = ["src"]; const _hoisted_30 = /* @__PURE__ */ createBaseVNode("h5", null, "First slide label", -1); @@ -26,18 +26,18 @@ const _hoisted_34 = /* @__PURE__ */ createBaseVNode("p", null, "Some representat const _hoisted_35 = ["src"]; const _hoisted_36 = /* @__PURE__ */ createBaseVNode("h5", null, "First slide label", -1); const _hoisted_37 = /* @__PURE__ */ createBaseVNode("p", null, "Some representative placeholder content for the first slide.", -1); -const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n</CCarousel>\n

Crossfade

Add transition="crossfade" to your carousel to animate slides with a fade transition instead of a slide.

', 3); +const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n    <CCarouselCaption class="d-none d-md-block">\n      <h5>First slide label</h5>\n      <p>Some representative placeholder content for the first slide.</p>\n    </CCarouselCaption>\n  </CCarouselItem>\n</CCarousel>\n

Crossfade #

Add transition="crossfade" to your carousel to animate slides with a fade transition instead of a slide.

', 3); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = ["src"]; const _hoisted_43 = ["src"]; const _hoisted_44 = ["src"]; -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators transition="crossfade">\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

Dark variant

Add dark property to the CCarousel for darker controls, indicators, and captions. Controls have been inverted from their default white fill with the filter CSS property. Captions and controls have additional Sass variables that customize the color and background-color.

', 3); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators transition="crossfade">\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

Dark variant #

Add dark property to the CCarousel for darker controls, indicators, and captions. Controls have been inverted from their default white fill with the filter CSS property. Captions and controls have additional Sass variables that customize the color and background-color.

', 3); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; const _hoisted_49 = ["src"]; const _hoisted_50 = ["src"]; const _hoisted_51 = ["src"]; -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators transition="crossfade">\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

Customizing

SASS variables

', 3); -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API

CCarousel

import { CCarousel } from '@coreui/vue'\n// or\nimport CCarousel from '@coreui/vue/src/components/carousel/CCarousel'\n

Props

Prop nameDescriptionTypeValuesDefault
controlsAdding in the previous and next controls.boolean--
darkAdd darker controls, indicators, and captions.boolean--
indexindex of the active item.number-0
indicatorsAdding indicators at the bottom of the carousel for each item.boolean--
intervalThe amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.boolean|number-5000
pauseIf 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.boolean|string-'hover'
transitionSet type of the transition.string'crossfade', 'slide''slide'
wrapSet whether the carousel should cycle continuously or have hard stops.boolean-true

CCarouselItem

import { CCarouselItem } from '@coreui/vue'\n// or\nimport CCarouselItem from '@coreui/vue/src/components/carousel/CCarouselItem'\n

Props

Prop nameDescriptionTypeValuesDefault
intervalThe amount of time to delay between automatically cycling an item.boolean|number-false
', 9); +const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CCarousel controls indicators transition="crossfade">\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/vue.jpg" alt="slide 1"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/react.jpg" alt="slide 2"/>\n  </CCarouselItem>\n  <CCarouselItem>\n    <img class="d-block w-100" src="/images/angular.jpg" alt="slide 3"/>\n  </CCarouselItem>\n</CCarousel>\n

Customizing #

SASS variables #

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API #

CCarousel #

import { CCarousel } from '@coreui/vue'\n// or\nimport CCarousel from '@coreui/vue/src/components/carousel/CCarousel'\n

Props #

Prop nameDescriptionTypeValuesDefault
controlsAdding in the previous and next controls.boolean--
darkAdd darker controls, indicators, and captions.boolean--
indexindex of the active item.number-0
indicatorsAdding indicators at the bottom of the carousel for each item.boolean--
intervalThe amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.boolean|number-5000
pauseIf 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.boolean|string-'hover'
transitionSet type of the transition.string'crossfade', 'slide''slide'
wrapSet whether the carousel should cycle continuously or have hard stops.boolean-true

CCarouselItem #

import { CCarouselItem } from '@coreui/vue'\n// or\nimport CCarouselItem from '@coreui/vue/src/components/carousel/CCarouselItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
intervalThe amount of time to delay between automatically cycling an item.boolean|number-false
', 9); function _sfc_render(_ctx, _cache) { const _component_CCarouselItem = resolveComponent("CCarouselItem"); const _component_CCarousel = resolveComponent("CCarousel"); diff --git a/vue/docs/assets/chart.html-DY5wyS1U.js b/vue/docs/assets/chart.html-CeyziBqZ.js similarity index 82% rename from vue/docs/assets/chart.html-DY5wyS1U.js rename to vue/docs/assets/chart.html-CeyziBqZ.js index dff90425287..3ca8442bb3d 100644 --- a/vue/docs/assets/chart.html-DY5wyS1U.js +++ b/vue/docs/assets/chart.html-CeyziBqZ.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, g as ref, k as onMounted, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, w as watch, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, i as onMounted, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, w as watch, a as createStaticVNode } from "./app-DGOUrGv-.js"; var getStyle = function(property, element) { if (typeof window === "undefined") { return; @@ -67,23 +67,23 @@ const _sfc_main = { return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Installation

If you want to use our Chart.js Vue wrapper you have to install an additional package.

Npm

npm install @coreui/vue-chartjs\n

Yarn

yarn add @coreui/vue-chartjs\n

Chart Types

Line Chart

A line chart is a way of plotting data points on a line. Often, it is used to show trend data, or the comparison of two data sets. Line Chart properties

', 9); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Installation #

If you want to use our Chart.js Vue wrapper you have to install an additional package.

Npm #

npm install @coreui/vue-chartjs\n

Yarn #

yarn add @coreui/vue-chartjs\n

Chart Types #

Line Chart #

A line chart is a way of plotting data points on a line. Often, it is used to show trend data, or the comparison of two data sets. Line Chart properties

', 9); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="line"\n  :wrapper="false"\n  :data="{\n    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n    datasets: [\n      {\n        label: 'My First dataset',\n        backgroundColor: 'rgba(220, 220, 220, 0.2)',\n        borderColor: 'rgba(220, 220, 220, 1)',\n        pointBackgroundColor: 'rgba(220, 220, 220, 1)',\n        pointBorderColor: '#fff',\n        data: [40, 20, 12, 39, 10, 40, 39]\n      },\n      {\n        label: 'My Second dataset',\n        backgroundColor: 'rgba(151, 187, 205, 0.2)',\n        borderColor: 'rgba(151, 187, 205, 1)',\n        pointBackgroundColor: 'rgba(151, 187, 205, 1)',\n        pointBorderColor: '#fff',\n        data: [50, 12, 28, 29, 7, 25, 12]\n      }\n    ]\n  }"\n/>\n

Bar Chart

A bar chart provides a way of showing data values represented as vertical bars. It is sometimes used to show trend data, and the comparison of multiple data sets side by side. Bar Chart properties

', 3); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="line"\n  :wrapper="false"\n  :data="{\n    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n    datasets: [\n      {\n        label: 'My First dataset',\n        backgroundColor: 'rgba(220, 220, 220, 0.2)',\n        borderColor: 'rgba(220, 220, 220, 1)',\n        pointBackgroundColor: 'rgba(220, 220, 220, 1)',\n        pointBorderColor: '#fff',\n        data: [40, 20, 12, 39, 10, 40, 39]\n      },\n      {\n        label: 'My Second dataset',\n        backgroundColor: 'rgba(151, 187, 205, 0.2)',\n        borderColor: 'rgba(151, 187, 205, 1)',\n        pointBackgroundColor: 'rgba(151, 187, 205, 1)',\n        pointBorderColor: '#fff',\n        data: [50, 12, 28, 29, 7, 25, 12]\n      }\n    ]\n  }"\n/>\n

Bar Chart #

A bar chart provides a way of showing data values represented as vertical bars. It is sometimes used to show trend data, and the comparison of multiple data sets side by side. Bar Chart properties

', 3); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="bar"\n  :data="{\n    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n    datasets: [\n      {\n        label: 'GitHub Commits',\n        backgroundColor: '#f87979',\n        data: [40, 20, 12, 39, 10, 40, 39, 80, 40],\n      },\n    ],\n  }"\n  labels="months"\n/>\n

Radar Chart

A radar chart is a way of showing multiple data points and the variation between them. They are often useful for comparing the points of two or more different data sets. Radar Chart properties

', 3); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="bar"\n  :data="{\n    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],\n    datasets: [\n      {\n        label: 'GitHub Commits',\n        backgroundColor: '#f87979',\n        data: [40, 20, 12, 39, 10, 40, 39, 80, 40],\n      },\n    ],\n  }"\n  labels="months"\n/>\n

Radar Chart #

A radar chart is a way of showing multiple data points and the variation between them. They are often useful for comparing the points of two or more different data sets. Radar Chart properties

', 3); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="radar"\n  :data="{\n    labels: [\n      'Eating',\n      'Drinking',\n      'Sleeping',\n      'Designing',\n      'Coding',\n      'Cycling',\n      'Running',\n    ],\n    datasets: [\n      {\n        label: 'My First dataset',\n        backgroundColor: 'rgba(220, 220, 220, 0.2)',\n        borderColor: 'rgba(220, 220, 220, 1)',\n        pointBackgroundColor: 'rgba(220, 220, 220, 1)',\n        pointBorderColor: '#fff',\n        pointHighlightFill: '#fff',\n        pointHighlightStroke: 'rgba(220, 220, 220, 1)',\n        data: [65, 59, 90, 81, 56, 55, 40],\n      },\n      {\n        label: 'My Second dataset',\n        backgroundColor: 'rgba(151, 187, 205, 0.2)',\n        borderColor: 'rgba(151, 187, 205, 1)',\n        pointBackgroundColor: 'rgba(151, 187, 205, 1)',\n        pointBorderColor: '#fff',\n        pointHighlightFill: '#fff',\n        pointHighlightStroke: 'rgba(151, 187, 205, 1)',\n        data: [28, 48, 40, 19, 96, 27, 100],\n      },\n    ],\n  }"\n/>\n

Doughnut and Pie Charts

Pie and doughnut charts are probably the most commonly used charts. They are divided into segments, the arc of each segment shows the proportional value of each piece of data. Doughnut and Pie Charts properties

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="radar"\n  :data="{\n    labels: [\n      'Eating',\n      'Drinking',\n      'Sleeping',\n      'Designing',\n      'Coding',\n      'Cycling',\n      'Running',\n    ],\n    datasets: [\n      {\n        label: 'My First dataset',\n        backgroundColor: 'rgba(220, 220, 220, 0.2)',\n        borderColor: 'rgba(220, 220, 220, 1)',\n        pointBackgroundColor: 'rgba(220, 220, 220, 1)',\n        pointBorderColor: '#fff',\n        pointHighlightFill: '#fff',\n        pointHighlightStroke: 'rgba(220, 220, 220, 1)',\n        data: [65, 59, 90, 81, 56, 55, 40],\n      },\n      {\n        label: 'My Second dataset',\n        backgroundColor: 'rgba(151, 187, 205, 0.2)',\n        borderColor: 'rgba(151, 187, 205, 1)',\n        pointBackgroundColor: 'rgba(151, 187, 205, 1)',\n        pointBorderColor: '#fff',\n        pointHighlightFill: '#fff',\n        pointHighlightStroke: 'rgba(151, 187, 205, 1)',\n        data: [28, 48, 40, 19, 96, 27, 100],\n      },\n    ],\n  }"\n/>\n

Doughnut and Pie Charts #

Pie and doughnut charts are probably the most commonly used charts. They are divided into segments, the arc of each segment shows the proportional value of each piece of data. Doughnut and Pie Charts properties

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="doughnut"\n  :data="{\n    labels: ['VueJs', 'EmberJs', 'ReactJs', 'AngularJs'],\n    datasets: [\n      {\n        backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],\n        data: [40, 20, 80, 10],\n      },\n    ],\n  }"\n/>\n
', 1); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="pie"\n  :data="{\n    labels: ['VueJs', 'EmberJs', 'ReactJs', 'AngularJs'],\n    datasets: [\n      {\n        backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],\n        data: [40, 20, 80, 10],\n      },\n    ],\n  }"\n/>\n

Polar Area Chart

Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value. Polar Area Chart properties

', 3); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="pie"\n  :data="{\n    labels: ['VueJs', 'EmberJs', 'ReactJs', 'AngularJs'],\n    datasets: [\n      {\n        backgroundColor: ['#41B883', '#E46651', '#00D8FF', '#DD1B16'],\n        data: [40, 20, 80, 10],\n      },\n    ],\n  }"\n/>\n

Polar Area Chart #

Polar area charts are similar to pie charts, but each segment has the same angle - the radius of the segment differs depending on the value. Polar Area Chart properties

', 3); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="polarArea"\n  :data="{\n    labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'],\n    datasets: [\n      {\n        data: [11, 16, 7, 3, 14],\n        backgroundColor: ['#FF6384', '#4BC0C0', '#FFCE56', '#E7E9ED', '#36A2EB'],\n      },\n    ],\n  }"\n/>\n

Bubble Chart

A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes. The third dimension is represented by the size of the individual bubbles. Bubble Chart properties

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="polarArea"\n  :data="{\n    labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'],\n    datasets: [\n      {\n        data: [11, 16, 7, 3, 14],\n        backgroundColor: ['#FF6384', '#4BC0C0', '#FFCE56', '#E7E9ED', '#36A2EB'],\n      },\n    ],\n  }"\n/>\n

Bubble Chart #

A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes. The third dimension is represented by the size of the individual bubbles. Bubble Chart properties

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="bubble"\n  :data="{\n    datasets: [{\n      label: 'First Dataset',\n      data: [{\n        x: 20,\n        y: 30,\n        r: 15\n      }, {\n        x: 40,\n        y: 10,\n        r: 10\n      }],\n      backgroundColor: 'rgb(255, 99, 132)'\n    }]\n  }"\n/>\n

Scatter Chart

A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes. The third dimension is represented by the size of the individual bubbles. Scatter Chart properties

', 3); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CChart\n  type="bubble"\n  :data="{\n    datasets: [{\n      label: 'First Dataset',\n      data: [{\n        x: 20,\n        y: 30,\n        r: 15\n      }, {\n        x: 40,\n        y: 10,\n        r: 10\n      }],\n      backgroundColor: 'rgb(255, 99, 132)'\n    }]\n  }"\n/>\n

Scatter Chart #

A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical axes. The third dimension is represented by the size of the individual bubbles. Scatter Chart properties

', 3); const _hoisted_36 = { class: "docs-example rounded-top p-4" }; -const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<!-- use <CChart type="scatter"> or <CChartScatter> component -->\n<CChart\n  type="scatter"\n  :data="{\n    datasets: [{\n      label: 'Scatter Dataset',\n      data: [{\n        x: -10,\n        y: 0\n      }, {\n        x: 0,\n        y: 10\n      }, {\n        x: 10,\n        y: 5\n      }, {\n        x: 0.5,\n        y: 5.5\n      }],\n      backgroundColor: 'rgb(255, 99, 132)'\n    }],\n  }"\n  :options="{\n    plugins: {\n      legend: {\n        labels: {\n          color: getStyle('--cui-body-color'),\n        }\n      }\n    },\n    scales: {\n      x: {\n        grid: {\n          color: getStyle('--cui-border-color-translucent'),\n        },\n        position: 'bottom',\n        ticks: {\n          color: getStyle('--cui-body-color'),\n        },\n        type: 'linear',\n      },\n      y: {\n        grid: {\n          color: getStyle('--cui-border-color-translucent'),\n        },\n        ticks: {\n          color: getStyle('--cui-body-color'),\n        },\n      },\n    },\n  }"\n/>\n

API

CChart

import { CChart } from '@coreui/vue-chartjs'\n// or\nimport CChart from '@coreui/vue-chartjs/src/CChart'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-tooltipsEnables custom html based tooltips instead of standard tooltips.
@default true
boolean-true
dataThe data object that is passed into the Chart.js chart (more info).ChartData | ((canvas: HTMLCanvasElement) => ChartData)--
heightHeight attribute applied to the rendered canvas.
@default 150
number-150
idID attribute applied to the rendered canvas.string--
optionsThe options object that is passed into the Chart.js chartRef.value.

{@link https://www.chartjs.org/docs/latest/general/options.html More Info}
ChartOptions--
pluginsThe plugins array that is passed into the Chart.js chart (more info)

{@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info}
Plugin[]--
redrawIf true, will tear down and redraw chart on all updates.boolean--
typeChart.js chart type.
@type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter'
ChartType-'bar'
widthWidth attribute applied to the rendered canvas.
@default 300
number-300
wrapperPut the chart into the wrapper div element.
@default true
boolean-true

Events

Event nameDescriptionProperties
get-dataset-at-eventProxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event.
get-element-at-eventProxy for Chart.js getElementAtEvent. Calls with single element array and triggering event.
get-elements-at-eventProxy for Chart.js getElementsAtEvent. Calls with element array and triggering event.
', 8); +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<!-- use <CChart type="scatter"> or <CChartScatter> component -->\n<CChart\n  type="scatter"\n  :data="{\n    datasets: [{\n      label: 'Scatter Dataset',\n      data: [{\n        x: -10,\n        y: 0\n      }, {\n        x: 0,\n        y: 10\n      }, {\n        x: 10,\n        y: 5\n      }, {\n        x: 0.5,\n        y: 5.5\n      }],\n      backgroundColor: 'rgb(255, 99, 132)'\n    }],\n  }"\n  :options="{\n    plugins: {\n      legend: {\n        labels: {\n          color: getStyle('--cui-body-color'),\n        }\n      }\n    },\n    scales: {\n      x: {\n        grid: {\n          color: getStyle('--cui-border-color-translucent'),\n        },\n        position: 'bottom',\n        ticks: {\n          color: getStyle('--cui-body-color'),\n        },\n        type: 'linear',\n      },\n      y: {\n        grid: {\n          color: getStyle('--cui-border-color-translucent'),\n        },\n        ticks: {\n          color: getStyle('--cui-body-color'),\n        },\n      },\n    },\n  }"\n/>\n

API #

CChart #

import { CChart } from '@coreui/vue-chartjs'\n// or\nimport CChart from '@coreui/vue-chartjs/src/CChart'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-tooltipsEnables custom html based tooltips instead of standard tooltips.
@default true
boolean-true
dataThe data object that is passed into the Chart.js chart (more info).ChartData | ((canvas: HTMLCanvasElement) => ChartData)--
heightHeight attribute applied to the rendered canvas.
@default 150
number-150
idID attribute applied to the rendered canvas.string--
optionsThe options object that is passed into the Chart.js chartRef.value.

{@link https://www.chartjs.org/docs/latest/general/options.html More Info}
ChartOptions--
pluginsThe plugins array that is passed into the Chart.js chart (more info)

{@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info}
Plugin[]--
redrawIf true, will tear down and redraw chart on all updates.boolean--
typeChart.js chart type.
@type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter'
ChartType-'bar'
widthWidth attribute applied to the rendered canvas.
@default 300
number-300
wrapperPut the chart into the wrapper div element.
@default true
boolean-true

Events #

Event nameDescriptionProperties
get-dataset-at-eventProxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event.
get-element-at-eventProxy for Chart.js getElementAtEvent. Calls with single element array and triggering event.
get-elements-at-eventProxy for Chart.js getElementsAtEvent. Calls with element array and triggering event.
', 8); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CChart = resolveComponent("CChart"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/checkbox.html-BL-hSbtE.js b/vue/docs/assets/checkbox.html-BPgHXfGt.js similarity index 64% rename from vue/docs/assets/checkbox.html-BL-hSbtE.js rename to vue/docs/assets/checkbox.html-BPgHXfGt.js index ad56fa89f87..370d5cd7221 100644 --- a/vue/docs/assets/checkbox.html-BL-hSbtE.js +++ b/vue/docs/assets/checkbox.html-BPgHXfGt.js @@ -1,12 +1,13 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - setup() { + __name: "checkbox.html", + setup(__props, { expose: __expose }) { + __expose(); const checked = ref(true); const checkedNames = ref(["Andrew"]); - return { - checked, - checkedNames - }; + const __returned__ = { checked, checkedNames, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -16,8 +17,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Approach "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#approach", - "aria-hidden": "true" + href: "#approach" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -32,37 +32,36 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Checks "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#checks", - "aria-hidden": "true" + href: "#checks" }, "#") ], -1); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckDefault" label="Default checkbox"/>\n<CFormCheck id="flexCheckChecked" label="Checked checkbox" checked />\n

vModel

Single checkbox, boolean value.

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckDefault" label="Default checkbox"/>\n<CFormCheck id="flexCheckChecked" label="Checked checkbox" checked />\n

vModel #

Single checkbox, boolean value.

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CFormCheck id="flexCheckDefaultVModel" label="Default checkbox" v-model="checked" />\n  <div>Checked: {{checked}}</div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const checked = ref(true)\n      return {\n        checked\n      }\n    }\n  }\n</script>\n

We can also bind multiple checkboxes to the same array.

', 2); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const checked = ref(true)\n</script>\n<template>\n  <CFormCheck id="flexCheckDefaultVModel" label="Default checkbox" v-model="checked" />\n  <div>Checked: {{checked}}</div>\n</template>\n

We can also bind multiple checkboxes to the same array.

', 2); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CFormCheck id="lucas" value="Lucas" label="Lucas" v-model="checkedNames"/>\n  <CFormCheck id="andrew" value="Andrew" label="Andrew" v-model="checkedNames"/>\n  <CFormCheck id="anna" value="Anna" label="Anna" v-model="checkedNames"/>\n  <div>Checked names: {{checkedNames}}</div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const checkedNames = ref(['Andrew'])\n      return {\n        checkedNames\n      }\n    }\n  }\n</script>\n

Indeterminate

Checkboxes can utilize the :indeterminate pseudo-class when manually set via indeterminate property.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const checkedNames = ref(['Andrew'])\n</script>\n<template>\n  <CFormCheck id="lucas" value="Lucas" label="Lucas" v-model="checkedNames"/>\n  <CFormCheck id="andrew" value="Andrew" label="Andrew" v-model="checkedNames"/>\n  <CFormCheck id="anna" value="Anna" label="Anna" v-model="checkedNames"/>\n  <div>Checked names: {{checkedNames}}</div>\n</template>\n

Indeterminate #

Checkboxes can utilize the :indeterminate pseudo-class when manually set via indeterminate property.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckIndeterminate" label="Indeterminate checkbox" indeterminate />\n

Disabled

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckIndeterminate" label="Indeterminate checkbox" indeterminate />\n

Disabled #

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck label="Disabled checkbox" disabled/>\n<CFormCheck label="Disabled checked checkbox" checked disabled/>\n

Default (stacked)

By default, any number of checkboxes that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck label="Disabled checkbox" disabled/>\n<CFormCheck label="Disabled checked checkbox" checked disabled/>\n

Default (stacked) #

By default, any number of checkboxes that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="defaultCheck1" label="Default checkbox"/>\n<CFormCheck id="defaultCheck2" label="Disabled checkbox" disabled/>\n

Inline

Group checkboxes on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="defaultCheck1" label="Default checkbox"/>\n<CFormCheck id="defaultCheck2" label="Disabled checkbox" disabled/>\n

Inline #

Group checkboxes on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Reverse

Put your checkboxes on the opposite side by adding reverse boolean property.

', 3); +const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Reverse #

Put your checkboxes on the opposite side by adding reverse boolean property.

', 3); const _hoisted_31 = { class: "docs-example rounded-top p-4" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CFormCheck reverse id="reverseCheckbox1" value="option1" label="Reverse checkbox"/>\n<CFormCheck reverse id="reverseCheckbox2" value="option2" label="Disabled reverse checkbox" disabled/>\n

Without labels

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CFormCheck reverse id="reverseCheckbox1" value="option1" label="Reverse checkbox"/>\n<CFormCheck reverse id="reverseCheckbox2" value="option2" label="Disabled reverse checkbox" disabled/>\n

Without labels #

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); const _hoisted_35 = { class: "docs-example rounded-top p-4" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="checkboxNoLabel" value="" aria-label="..."/>\n

Toggle buttons

Create button-like checkboxes buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

', 3); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="checkboxNoLabel" value="" aria-label="..."/>\n

Toggle buttons #

Create button-like checkboxes buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

', 3); const _hoisted_39 = { class: "docs-example rounded-top p-4" }; const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check" autocomplete="off" label="Single toggle"/>\n
', 1); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-2" autocomplete="off" label="Checked" checked/>\n
', 1); const _hoisted_43 = { class: "docs-example rounded-top p-4" }; -const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-3" autocomplete="off" label="Disabled" disabled/>\n

Outlined styles

Different variants of button, such at the various outlined styles, are supported.

', 3); +const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-3" autocomplete="off" label="Disabled" disabled/>\n

Outlined styles #

Different variants of button, such at the various outlined styles, are supported.

', 3); const _hoisted_47 = { class: "docs-example rounded-top p-4" }; -const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary', variant: 'outline' }" id="btn-check-outlined" autocomplete="off" label="Single toggle"/>\n<CFormCheck :button="{ color: 'secondary', variant: 'outline' }" id="btn-check-2-outlined" autocomplete="off" label="Checked" checked/>\n

Customizing

SASS variables

', 3); -const _hoisted_51 = /* @__PURE__ */ createStaticVNode('

API

CFormCheck

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary', variant: 'outline' }" id="btn-check-outlined" autocomplete="off" label="Single toggle"/>\n<CFormCheck :button="{ color: 'secondary', variant: 'outline' }" id="btn-check-2-outlined" autocomplete="off" label="Checked" checked/>\n

Customizing #

SASS variables #

', 3); +const _hoisted_51 = /* @__PURE__ */ createStaticVNode('

API #

CFormCheck #

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props #

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CFormCheck = resolveComponent("CFormCheck"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/checks-radios.html-kyGivGpt.js b/vue/docs/assets/checks-radios.html-CKmk8NM1.js similarity index 85% rename from vue/docs/assets/checks-radios.html-kyGivGpt.js rename to vue/docs/assets/checks-radios.html-CKmk8NM1.js index 0b733c3bf6f..9e8835de99a 100644 --- a/vue/docs/assets/checks-radios.html-kyGivGpt.js +++ b/vue/docs/assets/checks-radios.html-CKmk8NM1.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "approach", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Approach "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#approach", - "aria-hidden": "true" + href: "#approach" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -23,44 +22,43 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Checks "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#checks", - "aria-hidden": "true" + href: "#checks" }, "#") ], -1); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckDefault" label="Default checkbox"/>\n<CFormCheck id="flexCheckChecked" label="Checked checkbox" checked />\n

Indeterminate

Checkboxes can utilize the :indeterminate pseudo-class when manually set via indeterminate property.

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckDefault" label="Default checkbox"/>\n<CFormCheck id="flexCheckChecked" label="Checked checkbox" checked />\n

Indeterminate #

Checkboxes can utilize the :indeterminate pseudo-class when manually set via indeterminate property.

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckIndeterminate" label="Indeterminate checkbox" indeterminate />\n

Disabled

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="flexCheckIndeterminate" label="Indeterminate checkbox" indeterminate />\n

Disabled #

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CFormCheck label="Disabled checkbox" disabled/>\n<CFormCheck label="Disabled checked checkbox" checked disabled/>\n

Radios

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CFormCheck label="Disabled checkbox" disabled/>\n<CFormCheck label="Disabled checked checkbox" checked disabled/>\n

Radios #

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault1" label="Default radio"/>\n<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault2" label="Checked radio" checked/>\n

Disabled

', 2); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault1" label="Default radio"/>\n<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault2" label="Checked radio" checked/>\n

Disabled #

', 2); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioDisabled" label="Disabled radio" disabled/>\n<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" label="Disabled checked radio" checked disabled/>\n

Switches

A switch has the markup of a custom checkbox but uses the switch boolean properly to render a toggle switch. Switches also support the disabled attribute.

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioDisabled" label="Disabled radio" disabled/>\n<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" label="Disabled checked radio" checked disabled/>\n

Switches #

A switch has the markup of a custom checkbox but uses the switch boolean properly to render a toggle switch. Switches also support the disabled attribute.

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch label="Checked switch checkbox input" id="formSwitchCheckChecked" checked/>\n<CFormSwitch label="Disabled switch checkbox input" id="formSwitchCheckDisabled" disabled/>\n<CFormSwitch label="Disabled checked switch checkbox input" id="formSwitchCheckCheckedDisabled" checked disabled/>\n

Sizes

', 2); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch label="Checked switch checkbox input" id="formSwitchCheckChecked" checked/>\n<CFormSwitch label="Disabled switch checkbox input" id="formSwitchCheckDisabled" disabled/>\n<CFormSwitch label="Disabled checked switch checkbox input" id="formSwitchCheckCheckedDisabled" checked disabled/>\n

Sizes #

', 2); const _hoisted_26 = { class: "docs-example rounded-top p-4" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch size="lg" label="Large switch checkbox input" id="formSwitchCheckDefaultLg"/>\n<CFormSwitch size="xl" label="Extra large switch checkbox input" id="formSwitchCheckDefaultXL"/>\n

Default (stacked)

By default, any number of checkboxes and radios that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch size="lg" label="Large switch checkbox input" id="formSwitchCheckDefaultLg"/>\n<CFormSwitch size="xl" label="Extra large switch checkbox input" id="formSwitchCheckDefaultXL"/>\n

Default (stacked) #

By default, any number of checkboxes and radios that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CFormCheck id="defaultCheck1" label="Default checkbox"/>\n<CFormCheck id="defaultCheck2" label="Disabled checkbox" disabled/>\n
', 1); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="exampleRadios" id="exampleRadios1" value="option1" label="Default radio" checked/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios2" value="option2" label="Second default radio"/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios3" value="option3" label="Disabled radio" disabled/>\n

Inline

Group checkboxes or radios on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="exampleRadios" id="exampleRadios1" value="option1" label="Default radio" checked/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios2" value="option2" label="Second default radio"/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios3" value="option3" label="Disabled radio" disabled/>\n

Inline #

Group checkboxes or radios on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); const _hoisted_36 = { class: "docs-example rounded-top p-4" }; const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n
', 1); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Without labels

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Without labels #

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); const _hoisted_42 = { class: "docs-example rounded-top p-4" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<div>\n    <CFormCheck id="checkboxNoLabel" value="" aria-label="..."/>\n</div>\n<div>\n  <CFormCheck type="radio" name="radioNoLabel" id="radioNoLabel" value="" aria-label="..."/>\n</div>\n

Toggle buttons

Create button-like checkboxes and radio buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

Checkbox toggle buttons

', 4); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<div>\n    <CFormCheck id="checkboxNoLabel" value="" aria-label="..."/>\n</div>\n<div>\n  <CFormCheck type="radio" name="radioNoLabel" id="radioNoLabel" value="" aria-label="..."/>\n</div>\n

Toggle buttons #

Create button-like checkboxes and radio buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

Checkbox toggle buttons #

', 4); const _hoisted_47 = { class: "docs-example rounded-top p-4" }; const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check" autocomplete="off" label="Single toggle"/>\n
', 1); const _hoisted_49 = { class: "docs-example rounded-top p-4" }; const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-2" autocomplete="off" label="Checked" checked/>\n
', 1); const _hoisted_51 = { class: "docs-example rounded-top p-4" }; -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-3" autocomplete="off" label="Disabled" disabled/>\n

Radio toggle buttons

', 2); +const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'primary' }" id="btn-check-3" autocomplete="off" label="Disabled" disabled/>\n

Radio toggle buttons #

', 2); const _hoisted_54 = { class: "docs-example rounded-top p-4" }; -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option1" autocomplete="off" label="Checked" checked/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option2" autocomplete="off" label="Radio"/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option3" autocomplete="off" label="Radio" disabled/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option4" autocomplete="off" label="Radio"/>\n

Outlined styles

Different variants of button, such at the various outlined styles, are supported.

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option1" autocomplete="off" label="Checked" checked/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option2" autocomplete="off" label="Radio"/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option3" autocomplete="off" label="Radio" disabled/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option4" autocomplete="off" label="Radio"/>\n

Outlined styles #

Different variants of button, such at the various outlined styles, are supported.

', 3); const _hoisted_58 = { class: "docs-example rounded-top p-4" }; -const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<div> \n  <CFormCheck :button="{ color: 'primary', variant: 'outline' }" id="btn-check-outlined" autocomplete="off" label="Single toggle"/>\n</div>\n<div>\n  <CFormCheck :button="{ color: 'secondary', variant: 'outline' }" id="btn-check-2-outlined" autocomplete="off" label="Checked" checked/>\n</div>\n<div>\n  <CFormCheck :button="{ color: 'success', variant: 'outline' }" type="radio" name="options-outlined" id="success-outlined" autocomplete="off" label="Radio" checked/>\n  <CFormCheck :button="{ color: 'danger', variant: 'outline' }" type="radio" name="options-outlined" id="danger-outlined" autocomplete="off" label="Radio"/>\n</div>\n

API

CFormCheck

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.

CFormSwitch

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 14); +const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<div> \n  <CFormCheck :button="{ color: 'primary', variant: 'outline' }" id="btn-check-outlined" autocomplete="off" label="Single toggle"/>\n</div>\n<div>\n  <CFormCheck :button="{ color: 'secondary', variant: 'outline' }" id="btn-check-2-outlined" autocomplete="off" label="Checked" checked/>\n</div>\n<div>\n  <CFormCheck :button="{ color: 'success', variant: 'outline' }" type="radio" name="options-outlined" id="success-outlined" autocomplete="off" label="Radio" checked/>\n  <CFormCheck :button="{ color: 'danger', variant: 'outline' }" type="radio" name="options-outlined" id="danger-outlined" autocomplete="off" label="Radio"/>\n</div>\n

API #

CFormCheck #

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props #

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.

CFormSwitch #

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props #

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 14); function _sfc_render(_ctx, _cache) { const _component_CFormCheck = resolveComponent("CFormCheck"); const _component_CFormSwitch = resolveComponent("CFormSwitch"); diff --git a/vue/docs/assets/close-button.html-BS4-GrP8.js b/vue/docs/assets/close-button.html-blWDZBC3.js similarity index 63% rename from vue/docs/assets/close-button.html-BS4-GrP8.js rename to vue/docs/assets/close-button.html-blWDZBC3.js index 5f471b31c53..ff03109e88b 100644 --- a/vue/docs/assets/close-button.html-BS4-GrP8.js +++ b/vue/docs/assets/close-button.html-blWDZBC3.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -19,11 +18,11 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(".") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CCloseButton/>\n

Disabled state

Disabled close buttons change their opacity. We've also applied pointer-events: none and user-select: none to preventing hover and active states from triggering.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CCloseButton/>\n

Disabled state #

Disabled close buttons change their opacity. We've also applied pointer-events: none and user-select: none to preventing hover and active states from triggering.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CCloseButton disabled/>\n

Dark variant

Add dark boolean property to the <CCloseButton>, to invert the close button. This uses the filter property to invert the background-image without overriding its value.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CCloseButton disabled/>\n

Dark variant #

Add dark boolean property to the <CCloseButton>, to invert the close button. This uses the filter property to invert the background-image without overriding its value.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4 bg-dark" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CCloseButton dark/>\n<CCloseButton dark disabled/>\n

API

CCloseButton

import { CCloseButton } from '@coreui/vue'\n// or\nimport CCloseButton from '@coreui/vue/src/components/close-button/CCloseButton'\n

Props

Prop nameDescriptionTypeValuesDefault
darkInvert the default color.boolean--
disabledToggle the disabled state for the component.boolean--
whiteChange the default color to white.boolean--

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 8); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CCloseButton dark/>\n<CCloseButton dark disabled/>\n

API #

CCloseButton #

import { CCloseButton } from '@coreui/vue'\n// or\nimport CCloseButton from '@coreui/vue/src/components/close-button/CCloseButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
darkInvert the default color.boolean--
disabledToggle the disabled state for the component.boolean--
whiteChange the default color to white.boolean--

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on the component.
', 8); function _sfc_render(_ctx, _cache) { const _component_CCloseButton = resolveComponent("CCloseButton"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/collapse.html-CXLzPe5v.js b/vue/docs/assets/collapse.html-CXLzPe5v.js new file mode 100644 index 00000000000..2657db77d37 --- /dev/null +++ b/vue/docs/assets/collapse.html-CXLzPe5v.js @@ -0,0 +1,193 @@ +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, j as withModifiers, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = { + __name: "collapse.html", + setup(__props, { expose: __expose }) { + __expose(); + const visible = ref(false); + const visibleHorizontal = ref(false); + const visibleA = ref(false); + const visibleB = ref(false); + const __returned__ = { visible, visibleHorizontal, visibleA, visibleB, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How it works #

The collapse component is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from its current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.

Example #

You can use a link or a button component.

', 4); +const _hoisted_5 = { class: "docs-example rounded-top p-4" }; +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visible = ref(false)\n</script>\n<template>\n  <CButton color="primary" href="#" @click.prevent="visible = !visible">Link</CButton>\n  <CButton color="primary" @click="visible = !visible">Button</CButton>\n  <CCollapse :visible="visible">\n    <CCard class="mt-3">\n      <CCardBody>\n        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson\n        ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt\n        sapiente ea proident.\n      </CCardBody>\n    </CCard>\n  </CCollapse>\n</template>\n

Horizontal #

The collapse plugin also supports horizontal collapsing. Add the horizontal property to transition the width instead of height and set a width on the immediate child element.

', 3); +const _hoisted_9 = { class: "docs-example rounded-top p-4" }; +const _hoisted_10 = { style: { "min-height": "120px" } }; +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleHorizontal = ref(false)\n</script>\n<template>\n  <CButton class="mb-3" color="primary" aria-expanded={visible} aria-controls="collapseWidthExample" @click="visibleHorizontal = !visibleHorizontal">Button</CButton>\n  <div style="min-height: 120px">\n    <CCollapse horizontal :visible="visibleHorizontal">\n      <CCard style="width: 300px">\n        <CCardBody>\n          This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.\n        </CCardBody>\n      </CCard>\n    </CCollapse>\n  </div>\n</template>\n

Multiple targets #

A <CButton> can show and hide multiple elements.

', 3); +const _hoisted_14 = { class: "docs-example rounded-top p-4" }; +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleA = ref(false)\n  const visibleB = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="visibleA = !visibleA">Toggle first element</CButton>\n  <CButton color="primary" @click="visibleB = !visibleB">Toggle second element</CButton>\n  <CButton color="primary" @click="() => {\n    visibleA = !visibleA\n    visibleB = !visibleB\n  }"\n  >\n    Toggle both elements\n  </CButton>\n  <CRow>\n    <CCol xs="6">\n      <CCollapse :visible="visibleA">\n        <CCard class="mt-3">\n          <CCardBody>\n            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry\n            richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson\n            cred nesciunt sapiente ea proident.\n          </CCardBody>\n        </CCard>\n      </CCollapse>\n    </CCol>\n    <CCol xs="6">\n      <CCollapse :visible="visibleB">\n        <CCard class="mt-3">\n          <CCardBody>\n            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry\n            richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson\n            cred nesciunt sapiente ea proident.\n          </CCardBody>\n        </CCard>\n      </CCollapse>\n    </CCol>\n  </CRow>\n</template>\n

API #

CCollapse #

import { CCollapse } from '@coreui/vue'\n// or\nimport CCollapse from '@coreui/vue/src/components/collapse/CCollapse'\n

Props #

Prop nameDescriptionTypeValuesDefault
horizontalSet horizontal collapsing to transition the width instead of height.boolean--
visibleToggle the visibility of component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 8); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CButton = resolveComponent("CButton"); + const _component_CCardBody = resolveComponent("CCardBody"); + const _component_CCard = resolveComponent("CCard"); + const _component_CCollapse = resolveComponent("CCollapse"); + const _component_CCol = resolveComponent("CCol"); + const _component_CRow = resolveComponent("CRow"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + createBaseVNode("div", _hoisted_5, [ + createVNode(_component_CButton, { + color: "primary", + href: "#", + onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $setup.visible = !$setup.visible, ["prevent"])) + }, { + default: withCtx(() => [ + createTextVNode("Link") + ]), + _: 1 + }), + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[1] || (_cache[1] = ($event) => $setup.visible = !$setup.visible) + }, { + default: withCtx(() => [ + createTextVNode("Button") + ]), + _: 1 + }), + createVNode(_component_CCollapse, { visible: $setup.visible }, { + default: withCtx(() => [ + createVNode(_component_CCard, { class: "mt-3" }, { + default: withCtx(() => [ + createVNode(_component_CCardBody, null, { + default: withCtx(() => [ + createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_6, + createBaseVNode("div", _hoisted_9, [ + createVNode(_component_CButton, { + class: "mb-3", + color: "primary", + "aria-expanded": "{visible}", + "aria-controls": "collapseWidthExample", + onClick: _cache[2] || (_cache[2] = ($event) => $setup.visibleHorizontal = !$setup.visibleHorizontal) + }, { + default: withCtx(() => [ + createTextVNode("Button") + ]), + _: 1 + }), + createBaseVNode("div", _hoisted_10, [ + createVNode(_component_CCollapse, { + horizontal: "", + visible: $setup.visibleHorizontal + }, { + default: withCtx(() => [ + createVNode(_component_CCard, { style: { "width": "300px" } }, { + default: withCtx(() => [ + createVNode(_component_CCardBody, null, { + default: withCtx(() => [ + createTextVNode(" This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]) + ]), + _hoisted_11, + createBaseVNode("div", _hoisted_14, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[3] || (_cache[3] = ($event) => $setup.visibleA = !$setup.visibleA) + }, { + default: withCtx(() => [ + createTextVNode("Toggle first element") + ]), + _: 1 + }), + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[4] || (_cache[4] = ($event) => $setup.visibleB = !$setup.visibleB) + }, { + default: withCtx(() => [ + createTextVNode("Toggle second element") + ]), + _: 1 + }), + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[5] || (_cache[5] = () => { + $setup.visibleA = !$setup.visibleA; + $setup.visibleB = !$setup.visibleB; + }) + }, { + default: withCtx(() => [ + createTextVNode(" Toggle both elements ") + ]), + _: 1 + }), + createVNode(_component_CRow, null, { + default: withCtx(() => [ + createVNode(_component_CCol, { xs: "6" }, { + default: withCtx(() => [ + createVNode(_component_CCollapse, { visible: $setup.visibleA }, { + default: withCtx(() => [ + createVNode(_component_CCard, { class: "mt-3" }, { + default: withCtx(() => [ + createVNode(_component_CCardBody, null, { + default: withCtx(() => [ + createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _: 1 + }), + createVNode(_component_CCol, { xs: "6" }, { + default: withCtx(() => [ + createVNode(_component_CCollapse, { visible: $setup.visibleB }, { + default: withCtx(() => [ + createVNode(_component_CCard, { class: "mt-3" }, { + default: withCtx(() => [ + createVNode(_component_CCardBody, null, { + default: withCtx(() => [ + createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _hoisted_15 + ]); +} +const collapse_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "collapse.html.vue"]]); +const data = JSON.parse('{"path":"/components/collapse.html","title":"Vue Collapse Component","lang":"en-US","frontmatter":{"title":"Vue Collapse Component","name":"Collapse","description":"Vue collapse component toggles the visibility of content across your project with a few classes and some scripts. Useful for a large amount of content.","other_frameworks":"collapse","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/collapse.html"}]]},"headers":[{"level":2,"title":"How it works","slug":"how-it-works","link":"#how-it-works","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]},{"level":2,"title":"Horizontal","slug":"horizontal","link":"#horizontal","children":[]},{"level":2,"title":"Multiple targets","slug":"multiple-targets","link":"#multiple-targets","children":[]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]}]}],"filePathRelative":"components/collapse.md"}'); +export { + collapse_html as comp, + data +}; diff --git a/vue/docs/assets/collapse.html-CuA1iHpy.js b/vue/docs/assets/collapse.html-CuA1iHpy.js deleted file mode 100644 index 1908034bf83..00000000000 --- a/vue/docs/assets/collapse.html-CuA1iHpy.js +++ /dev/null @@ -1,190 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, l as withModifiers, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = { - data() { - return { - visible: false, - visibleHorizontal: false, - visibleA: false, - visibleB: false - }; - } -}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How it works

The collapse component is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from its current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.

Example

You can use a link or a button component.

', 4); -const _hoisted_5 = { class: "docs-example rounded-top p-4" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" href="#" @click.prevent="visible = !visible">Link</CButton>\n  <CButton color="primary" @click="visible = !visible">Button</CButton>\n  <CCollapse :visible="visible">\n    <CCard class="mt-3">\n      <CCardBody>\n        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson\n        ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt\n        sapiente ea proident.\n      </CCardBody>\n    </CCard>\n  </CCollapse>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visible: false,\n      }\n    }\n  }\n</script> \n

Horizontal

The collapse plugin also supports horizontal collapsing. Add the horizontal property to transition the width instead of height and set a width on the immediate child element.

', 3); -const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = { style: { "min-height": "120px" } }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton class="mb-3" color="primary" aria-expanded={visible} aria-controls="collapseWidthExample" @click="visibleHorizontal = !visibleHorizontal">Button</CButton>\n  <div style="min-height: 120px">\n    <CCollapse horizontal :visible="visibleHorizontal">\n      <CCard style="width: 300px">\n        <CCardBody>\n          This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.\n        </CCardBody>\n      </CCard>\n    </CCollapse>\n  </div>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleHorizontal: false,\n      }\n    }\n  }\n</script>\n

Multiple targets

A <CButton> can show and hide multiple elements.

', 3); -const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="visibleA = !visibleA">Toggle first element</CButton>\n  <CButton color="primary" @click="visibleB = !visibleB">Toggle second element</CButton>\n  <CButton color="primary" @click="() => {\n    visibleA = !visibleA\n    visibleB = !visibleB\n  }"\n  >\n    Toggle both elements\n  </CButton>\n  <CRow>\n    <CCol xs="6">\n      <CCollapse :visible="visibleA">\n        <CCard class="mt-3">\n          <CCardBody>\n            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry\n            richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson\n            cred nesciunt sapiente ea proident.\n          </CCardBody>\n        </CCard>\n      </CCollapse>\n    </CCol>\n    <CCol xs="6">\n      <CCollapse :visible="visibleB">\n        <CCard class="mt-3">\n          <CCardBody>\n            Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry\n            richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson\n            cred nesciunt sapiente ea proident.\n          </CCardBody>\n        </CCard>\n      </CCollapse>\n    </CCol>\n  </CRow>\n</template>  \n<script>\n  export default {\n    data() {\n      return { \n        visibleA: false,\n        visibleB: false,\n      }\n    }\n  }\n</script>\n

API

CCollapse

import { CCollapse } from '@coreui/vue'\n// or\nimport CCollapse from '@coreui/vue/src/components/collapse/CCollapse'\n

Props

Prop nameDescriptionTypeValuesDefault
horizontalSet horizontal collapsing to transition the width instead of height.boolean--
visibleToggle the visibility of component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 8); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CButton = resolveComponent("CButton"); - const _component_CCardBody = resolveComponent("CCardBody"); - const _component_CCard = resolveComponent("CCard"); - const _component_CCollapse = resolveComponent("CCollapse"); - const _component_CCol = resolveComponent("CCol"); - const _component_CRow = resolveComponent("CRow"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - createBaseVNode("div", _hoisted_5, [ - createVNode(_component_CButton, { - color: "primary", - href: "#", - onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $data.visible = !$data.visible, ["prevent"])) - }, { - default: withCtx(() => [ - createTextVNode("Link") - ]), - _: 1 - }), - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[1] || (_cache[1] = ($event) => $data.visible = !$data.visible) - }, { - default: withCtx(() => [ - createTextVNode("Button") - ]), - _: 1 - }), - createVNode(_component_CCollapse, { visible: $data.visible }, { - default: withCtx(() => [ - createVNode(_component_CCard, { class: "mt-3" }, { - default: withCtx(() => [ - createVNode(_component_CCardBody, null, { - default: withCtx(() => [ - createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_6, - createBaseVNode("div", _hoisted_9, [ - createVNode(_component_CButton, { - class: "mb-3", - color: "primary", - "aria-expanded": "{visible}", - "aria-controls": "collapseWidthExample", - onClick: _cache[2] || (_cache[2] = ($event) => $data.visibleHorizontal = !$data.visibleHorizontal) - }, { - default: withCtx(() => [ - createTextVNode("Button") - ]), - _: 1 - }), - createBaseVNode("div", _hoisted_10, [ - createVNode(_component_CCollapse, { - horizontal: "", - visible: $data.visibleHorizontal - }, { - default: withCtx(() => [ - createVNode(_component_CCard, { style: { "width": "300px" } }, { - default: withCtx(() => [ - createVNode(_component_CCardBody, null, { - default: withCtx(() => [ - createTextVNode(" This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]) - ]), - _hoisted_11, - createBaseVNode("div", _hoisted_14, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[3] || (_cache[3] = ($event) => $data.visibleA = !$data.visibleA) - }, { - default: withCtx(() => [ - createTextVNode("Toggle first element") - ]), - _: 1 - }), - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[4] || (_cache[4] = ($event) => $data.visibleB = !$data.visibleB) - }, { - default: withCtx(() => [ - createTextVNode("Toggle second element") - ]), - _: 1 - }), - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[5] || (_cache[5] = () => { - $data.visibleA = !$data.visibleA; - $data.visibleB = !$data.visibleB; - }) - }, { - default: withCtx(() => [ - createTextVNode(" Toggle both elements ") - ]), - _: 1 - }), - createVNode(_component_CRow, null, { - default: withCtx(() => [ - createVNode(_component_CCol, { xs: "6" }, { - default: withCtx(() => [ - createVNode(_component_CCollapse, { visible: $data.visibleA }, { - default: withCtx(() => [ - createVNode(_component_CCard, { class: "mt-3" }, { - default: withCtx(() => [ - createVNode(_component_CCardBody, null, { - default: withCtx(() => [ - createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { xs: "6" }, { - default: withCtx(() => [ - createVNode(_component_CCollapse, { visible: $data.visibleB }, { - default: withCtx(() => [ - createVNode(_component_CCard, { class: "mt-3" }, { - default: withCtx(() => [ - createVNode(_component_CCardBody, null, { - default: withCtx(() => [ - createTextVNode(" Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _hoisted_15 - ]); -} -const collapse_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "collapse.html.vue"]]); -const data = JSON.parse('{"path":"/components/collapse.html","title":"Vue Collapse Component","lang":"en-US","frontmatter":{"title":"Vue Collapse Component","name":"Collapse","description":"Vue collapse component toggles the visibility of content across your project with a few classes and some scripts. Useful for a large amount of content.","other_frameworks":"collapse","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/collapse.html"}]]},"headers":[{"level":2,"title":"How it works","slug":"how-it-works","link":"#how-it-works","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]},{"level":2,"title":"Horizontal","slug":"horizontal","link":"#horizontal","children":[]},{"level":2,"title":"Multiple targets","slug":"multiple-targets","link":"#multiple-targets","children":[]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]}]}],"filePathRelative":"components/collapse.md"}'); -export { - collapse_html as comp, - data -}; diff --git a/vue/docs/assets/columns.html-c_8p-0J4.js b/vue/docs/assets/columns.html-DRAqgR3h.js similarity index 92% rename from vue/docs/assets/columns.html-c_8p-0J4.js rename to vue/docs/assets/columns.html-DRAqgR3h.js index c38661be270..7af9a9c510e 100644 --- a/vue/docs/assets/columns.html-c_8p-0J4.js +++ b/vue/docs/assets/columns.html-DRAqgR3h.js @@ -1,20 +1,20 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work

  • Columns build on the grid's flexbox architecture. Flexbox means we have options for changing individual columns and modifying groups of columns at the row level. You choose how columns grow, shrink, or otherwise change.

  • When building grid layouts, all content goes in columns. The hierarchy of CoreUI's grid goes from container to row to column to your content. On rare occasions, you may combine content and column, but be aware there can be unintended consequences.

  • CoreUI for Vue.js includes predefined components for creating fast, responsive layouts. With six breakpoints and a dozen columns at each grid tier, we have dozens of components already built for you to create your desired layouts. This can be disabled via Sass if you wish.

Alignment

Use flexbox alignment utilities to vertically and horizontally align columns.

Vertical alignment

', 5); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work #

  • Columns build on the grid's flexbox architecture. Flexbox means we have options for changing individual columns and modifying groups of columns at the row level. You choose how columns grow, shrink, or otherwise change.

  • When building grid layouts, all content goes in columns. The hierarchy of CoreUI's grid goes from container to row to column to your content. On rare occasions, you may combine content and column, but be aware there can be unintended consequences.

  • CoreUI for Vue.js includes predefined components for creating fast, responsive layouts. With six breakpoints and a dozen columns at each grid tier, we have dozens of components already built for you to create your desired layouts. This can be disabled via Sass if you wish.

Alignment #

Use flexbox alignment utilities to vertically and horizontally align columns.

Vertical alignment #

', 5); const _hoisted_6 = { class: "docs-example rounded-top p-4" }; const _hoisted_7 = { class: "docs-example-row docs-example-row-flex-cols" }; const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow class="align-items-start">\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n  </CRow>\n  <CRow class="align-items-center">\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n  </CRow>\n  <CRow class="align-items-end">\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n    <CCol>\n      One of three columns\n    </CCol>\n  </CRow>\n</CContainer>\n
', 1); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; const _hoisted_10 = { class: "docs-example-row docs-example-row-flex-cols" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol class="align-self-start">\n      One of three columns\n    </CCol>\n    <CCol class="align-self-center">\n      One of three columns\n    </CCol>\n    <CCol class="align-self-end">\n      One of three columns\n    </CCol>\n  </CRow>\n</CContainer>\n

Horizontal alignment

', 2); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol class="align-self-start">\n      One of three columns\n    </CCol>\n    <CCol class="align-self-center">\n      One of three columns\n    </CCol>\n    <CCol class="align-self-end">\n      One of three columns\n    </CCol>\n  </CRow>\n</CContainer>\n

Horizontal alignment #

', 2); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; const _hoisted_14 = { class: "docs-example-row" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow class="justify-content-start">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-center">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-end">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-around">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-between">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-evenly">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n</CContainer>\n

Column wrapping

If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.

', 3); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow class="justify-content-start">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-center">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-end">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-around">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-between">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n  <CRow class="justify-content-evenly">\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n    <CCol xs="4">\n      One of two columns\n    </CCol>\n  </CRow>\n</CContainer>\n

Column wrapping #

If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.

', 3); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; const _hoisted_19 = { class: "docs-example-row" }; const _hoisted_20 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_21 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="9">.col-9</CCol>\n    <CCol xs="4">.col-4<br/>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</CCol>\n    <CCol xs="6">.col-6<br/>Subsequent columns continue along the new line.</CCol>\n  </CRow>\n</CContainer>\n

Column breaks

Breaking columns to a new line in flexbox requires a small hack: add an element with width: 100% wherever you want to wrap your columns to a new line. Normally this is accomplished with multiple <CRow>s, but not every implementation method can account for this.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="9">.col-9</CCol>\n    <CCol xs="4">.col-4<br/>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</CCol>\n    <CCol xs="6">.col-6<br/>Subsequent columns continue along the new line.</CCol>\n  </CRow>\n</CContainer>\n

Column breaks #

Breaking columns to a new line in flexbox requires a small hack: add an element with width: 100% wherever you want to wrap your columns to a new line. Normally this is accomplished with multiple <CRow>s, but not every implementation method can account for this.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = { class: "docs-example-row" }; const _hoisted_27 = /* @__PURE__ */ createBaseVNode("div", { class: "w-100" }, null, -1); @@ -22,24 +22,24 @@ const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <div class="w-100 d-none d-md-block"></div>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n  </CRow>\n</CContainer>\n

Reordering

Order props

Use xs|sm|md|lg|xl|xxl="{ order: 1-5 }" props for controlling the visual order of your content. These props are responsive, so you can set the order by breakpoint (e.g., xs="{ order: 1}" md="{ order: 2}"). Includes support for 1 through 5 across all six grid tiers.

', 4); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <div class="w-100 d-none d-md-block"></div>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n    <CCol xs="6" sm="4">.col-6 .col-sm-4</CCol>\n  </CRow>\n</CContainer>\n

Reordering #

Order props #

Use xs|sm|md|lg|xl|xxl="{ order: 1-5 }" props for controlling the visual order of your content. These props are responsive, so you can set the order by breakpoint (e.g., xs="{ order: 1}" md="{ order: 2}"). Includes support for 1 through 5 across all six grid tiers.

', 4); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = { class: "docs-example-row" }; const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>\n      First in DOM, no order applied\n    </CCol>\n    <CCol xs="{ span: true, order: 5 }">\n      Second in DOM, with a larger order\n    </CCol>\n    <CCol xs="{ span: true, order: 1 }">\n      Third in DOM, with an order of 1\n    </CCol>\n  </CRow>\n</CContainer>\n

There are also responsive xs|sm|md|lg|xl|xxl="{ order: 'first' }" and xs|sm|md|lg|xl|xxl="{ order: 'last' }" props that change the order of an element by applying order: -1 and order: 6, respectively. These values can also be intermixed with the numbered xs|sm|md|lg|xl|xxl="{ order: 1-5 }" values as needed.

', 2); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = { class: "docs-example-row" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="{ span: true, order: 'last' }">\n      First in DOM, ordered last\n    </CCol>\n    <CCol>\n      Second in DOM, unordered\n    </CCol>\n    <CCol xs="{ span: true, order: 'first' }">\n      Third in DOM, ordered first\n    </CCol>\n  </CRow>\n</CContainer>\n

Offsetting columns

You can offset grid columns in two ways: our responsive xs|sm|md|lg|xl|xxl="{ offset: 0-12 }" grid props and our margin utilities. Grid props are sized to match columns while margins are more useful for quick layouts where the width of the offset is variable.

Offset prop

Move columns to the right using md="{ offset: * }" props. These props increase the left margin of a column by * columns. For example, md="{ offset: 4 }" moves .col-md-4 over four columns.

', 5); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol xs="{ span: true, order: 'last' }">\n      First in DOM, ordered last\n    </CCol>\n    <CCol>\n      Second in DOM, unordered\n    </CCol>\n    <CCol xs="{ span: true, order: 'first' }">\n      Third in DOM, ordered first\n    </CCol>\n  </CRow>\n</CContainer>\n

Offsetting columns #

You can offset grid columns in two ways: our responsive xs|sm|md|lg|xl|xxl="{ offset: 0-12 }" grid props and our margin utilities. Grid props are sized to match columns while margins are more useful for quick layouts where the width of the offset is variable.

Offset prop #

Move columns to the right using md="{ offset: * }" props. These props increase the left margin of a column by * columns. For example, md="{ offset: 4 }" moves .col-md-4 over four columns.

', 5); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; const _hoisted_49 = { class: "docs-example-row" }; const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol md="4">.col-md-4</CCol>\n    <CCol md="{ span: 4, offset: 4 }">.col-md-4 .offset-md-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol md="{ span: 3, offset: 3 }">.col-md-3 .offset-md-3</CCol>\n    <CCol md="{ span: 3, offset: 3 }">.col-md-3 .offset-md-3</CCol>\n  </CRow>\n  <CRow>\n    <CCol md="{ span: 6, offset: 3 }">.col-md-6 .offset-md-3</CCol>\n  </CRow>\n</CContainer>\n
', 1); const _hoisted_51 = { class: "docs-example rounded-top p-4" }; const _hoisted_52 = { class: "docs-example-row" }; -const _hoisted_53 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="5" md="6">.col-sm-5 .col-md-6</CCol>\n    <CCol sm="{ span: 5, offset: 2 }" md="{ span: 6, offset: 0 }">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</CCol>\n  </CRow>\n  <CRow>\n    <CCol sm="6" md="5" lg="6">.col-sm-6 .col-md-5 .col-lg-6</CCol>\n    <CCol sm="6" md="{ span: 5, offset: 2 }" lg="{ span: 6, offset: 0 }">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</CCol>\n  </CRow>\n</CContainer>\n

Margin utilities

You can use margin utilities like .me-auto to force sibling columns away from one another.

', 3); +const _hoisted_53 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="5" md="6">.col-sm-5 .col-md-6</CCol>\n    <CCol sm="{ span: 5, offset: 2 }" md="{ span: 6, offset: 0 }">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</CCol>\n  </CRow>\n  <CRow>\n    <CCol sm="6" md="5" lg="6">.col-sm-6 .col-md-5 .col-lg-6</CCol>\n    <CCol sm="6" md="{ span: 5, offset: 2 }" lg="{ span: 6, offset: 0 }">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</CCol>\n  </CRow>\n</CContainer>\n

Margin utilities #

You can use margin utilities like .me-auto to force sibling columns away from one another.

', 3); const _hoisted_56 = { class: "docs-example rounded-top p-4" }; const _hoisted_57 = { class: "docs-example-row" }; -const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol md="4">.col-md-4</CCol>\n    <CCol md="4" class="ms-auto">.col-md-4 .ms-auto</CCol>\n  </CRow>\n  <CRow>\n    <CCol md="3" class="ms-md-auto">.col-md-3 .ms-md-auto</CCol>\n    <CCol md="3" class="ms-md-auto">.col-md-3 .ms-md-auto</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="auto" class="me-auto">.col-auto .me-auto</CCol>\n    <CCol xs="auto">.col-auto</CCol>\n  </CRow>\n</CContainer>\n

Standalone column component

The <CCol> component can also be used outside a <CRow> to give an element a specific width. Whenever column component are used as non direct children of a row, the paddings are omitted.

', 3); +const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol md="4">.col-md-4</CCol>\n    <CCol md="4" class="ms-auto">.col-md-4 .ms-auto</CCol>\n  </CRow>\n  <CRow>\n    <CCol md="3" class="ms-md-auto">.col-md-3 .ms-md-auto</CCol>\n    <CCol md="3" class="ms-md-auto">.col-md-3 .ms-md-auto</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="auto" class="me-auto">.col-auto .me-auto</CCol>\n    <CCol xs="auto">.col-auto</CCol>\n  </CRow>\n</CContainer>\n

Standalone column component #

The <CCol> component can also be used outside a <CRow> to give an element a specific width. Whenever column component are used as non direct children of a row, the paddings are omitted.

', 3); const _hoisted_61 = { class: "docs-example rounded-top p-4" }; -const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CCol xs="3" class="bg-light p-3 border">\n  .col-3: width of 25%\n</CCol>\n<CCol sm="9" class="bg-light p-3 border">\n  .col-sm-9: width of 75% above sm breakpoint\n</CCol>\n

API

CCol

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 6); +const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CCol xs="3" class="bg-light p-3 border">\n  .col-3: width of 25%\n</CCol>\n<CCol sm="9" class="bg-light p-3 border">\n  .col-sm-9: width of 75% above sm breakpoint\n</CCol>\n

API #

CCol #

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 6); function _sfc_render(_ctx, _cache) { const _component_CCol = resolveComponent("CCol"); const _component_CRow = resolveComponent("CRow"); diff --git a/vue/docs/assets/containers.html-DC6_LN_j.js b/vue/docs/assets/containers.html-DgTza5yR.js similarity index 53% rename from vue/docs/assets/containers.html-DC6_LN_j.js rename to vue/docs/assets/containers.html-DgTza5yR.js index 3187eae7a20..7211b05d0ec 100644 --- a/vue/docs/assets/containers.html-DC6_LN_j.js +++ b/vue/docs/assets/containers.html-DgTza5yR.js @@ -1,12 +1,12 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work

Containers are the most basic layout element in CoreUI for Vue.js and are required when using our default grid system. Containers are used to contain, pad, and (sometimes) center the content within them. While containers can be nested, most layouts do not require a nested container.

CoreUI for Vue.js comes with three different containers:

  • <CContainer>, which sets a max-width at each responsive breakpoint
  • <CContainer fluid>, which is width: 100% at all breakpoints
  • <CContainer {sm|md|lg|xl|xxl}>, which is width: 100% until the specified breakpoint

The table below illustrates how each container's max-width compares to the original <CContainer> and <CContainer fluid> across each breakpoint.

Extra small
<576px
Small
≥576px
Medium
≥768px
Large
≥992px
X-Large
≥1200px
XX-Large
≥1400px
<CContainer>100%540px720px960px1140px1320px
<CContainer sm>100%540px720px960px1140px1320px
<CContainer md>100%100%720px960px1140px1320px
<CContainer lg>100%100%100%960px1140px1320px
<CContainer xl>100%100%100%100%1140px1320px
<CContainer xxl>100%100%100%100%100%1320px
<CContainer fluid>100%100%100%100%100%100%

Default container

Our default <CContainer> class is a responsive, fixed-width container, meaning its max-width changes at each breakpoint.

', 8); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work #

Containers are the most basic layout element in CoreUI for Vue.js and are required when using our default grid system. Containers are used to contain, pad, and (sometimes) center the content within them. While containers can be nested, most layouts do not require a nested container.

CoreUI for Vue.js comes with three different containers:

  • <CContainer>, which sets a max-width at each responsive breakpoint
  • <CContainer fluid>, which is width: 100% at all breakpoints
  • <CContainer {sm|md|lg|xl|xxl}>, which is width: 100% until the specified breakpoint

The table below illustrates how each container's max-width compares to the original <CContainer> and <CContainer fluid> across each breakpoint.

Extra small
<576px
Small
≥576px
Medium
≥768px
Large
≥992px
X-Large
≥1200px
XX-Large
≥1400px
<CContainer>100%540px720px960px1140px1320px
<CContainer sm>100%540px720px960px1140px1320px
<CContainer md>100%100%720px960px1140px1320px
<CContainer lg>100%100%100%960px1140px1320px
<CContainer xl>100%100%100%100%1140px1320px
<CContainer xxl>100%100%100%100%100%1320px
<CContainer fluid>100%100%100%100%100%100%

Default container #

Our default <CContainer> class is a responsive, fixed-width container, meaning its max-width changes at each breakpoint.

', 8); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  Content here\n</CContainer>\n

Responsive containers

Responsive containers allow you to specify a class that is 100% wide until the specified breakpoint is reached, after which we apply max-widths for each of the higher breakpoints. For example, <CContainer sm> is 100% wide to start until the sm breakpoint is reached, where it will scale up with md, lg, xl, and xxl.

', 3); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  Content here\n</CContainer>\n

Responsive containers #

Responsive containers allow you to specify a class that is 100% wide until the specified breakpoint is reached, after which we apply max-widths for each of the higher breakpoints. For example, <CContainer sm> is 100% wide to start until the sm breakpoint is reached, where it will scale up with md, lg, xl, and xxl.

', 3); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CContainer sm>100% wide until small breakpoint</CContainer>\n<CContainer md>100% wide until medium breakpoint</CContainer>\n<CContainer lg>100% wide until large breakpoint</CContainer>\n<CContainer xl>100% wide until extra large breakpoint</CContainer>\n<CContainer xxl>100% wide until extra extra large breakpoint</CContainer>\n

Fluid containers

Use <CContainer fluid> for a full width container, spanning the entire width of the viewport.

', 3); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CContainer sm>100% wide until small breakpoint</CContainer>\n<CContainer md>100% wide until medium breakpoint</CContainer>\n<CContainer lg>100% wide until large breakpoint</CContainer>\n<CContainer xl>100% wide until extra large breakpoint</CContainer>\n<CContainer xxl>100% wide until extra extra large breakpoint</CContainer>\n

Fluid containers #

Use <CContainer fluid> for a full width container, spanning the entire width of the viewport.

', 3); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CContainer fluid>\n  Content here\n</CContainer>\n

API

CContainer

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--
', 6); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CContainer fluid>\n  Content here\n</CContainer>\n

API #

CContainer #

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props #

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--
', 6); function _sfc_render(_ctx, _cache) { const _component_CContainer = resolveComponent("CContainer"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/contents.html-41bLmuls.js b/vue/docs/assets/contents.html-41bLmuls.js new file mode 100644 index 00000000000..150c79f7758 --- /dev/null +++ b/vue/docs/assets/contents.html-41bLmuls.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Project structure #

Once downloaded, unzip the compressed folder and you'll see something like this:

coreui-vue-admin-template/\n├── public/\n├── src/\n│   ├── assets/\n│   │   ├── brand/\n│   │   ├── icons/\n│   │   └── images/\n│   ├── components/\n│   ├── layout/\n│   ├── router/\n│   ├── styles/\n│   ├── views/\n│   │   ├── base/\n│   │   ├── buttons/\n│   │   ├── css/\n│   │   ├── icons/\n│   │   └── notifications/\n│   ├── App.vue\n│   ├── _nav.js\n│   └── main.js\n├── tests/\n├── ...\n├── babel.config.js\n├── cypress.json\n├── jest.config.js\n├── jsconfig.json\n├── package.json\n└── vue.config.js\n

TypeScript based project

TypeScript project is available only in PRO version.

coreui-vue-admin-template/\n├── public/\n├── src/\n│   ├── assets/\n│   │   ├── brand/\n│   │   ├── icons/\n│   │   └── images/\n│   ├── components/\n│   ├── layout/\n│   ├── router/\n│   ├── styles/\n│   ├── views/\n│   │   ├── base/\n│   │   ├── buttons/\n│   │   ├── css/\n│   │   ├── icons/\n│   │   └── notifications/\n│   ├── App.vue\n│   ├── _nav.ts\n│   ├── main.ts\n│   └── shims-vue.d.ts\n├── tests/\n├── ...\n├── babel.config.js\n├── cypress.json\n├── jest.config.js\n├── package.json\n├── tsconfig.json\n└── vue.config.js\n

This is the most basic form of CoreUI Vue Admin Templates.

', 7); +const _hoisted_8 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_8); +} +const contents_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "contents.html.vue"]]); +const data = JSON.parse(`{"path":"/templates/contents.html","title":"Vue templates contents","lang":"en-US","frontmatter":{"title":"Vue templates contents","name":"Vue templates contents","description":"Discover what's included in CoreUI Vue Admin Template, including our precompiled and source code flavors.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/contents.html"}]]},"headers":[{"level":2,"title":"Project structure","slug":"project-structure","link":"#project-structure","children":[]}],"filePathRelative":"templates/contents.md"}`); +export { + contents_html as comp, + data +}; diff --git a/vue/docs/assets/contents.html-CKe33LGP.js b/vue/docs/assets/contents.html-CKe33LGP.js deleted file mode 100644 index 1cd681421c9..00000000000 --- a/vue/docs/assets/contents.html-CKe33LGP.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Project structure

Once downloaded, unzip the compressed folder and you'll see something like this:

coreui-vue-admin-template/\n├── public/\n├── src/\n│   ├── assets/\n│   │   ├── brand/\n│   │   ├── icons/\n│   │   └── images/\n│   ├── components/\n│   ├── layout/\n│   ├── router/\n│   ├── styles/\n│   ├── views/\n│   │   ├── base/\n│   │   ├── buttons/\n│   │   ├── css/\n│   │   ├── icons/\n│   │   └── notifications/\n│   ├── App.vue\n│   ├── _nav.js\n│   └── main.js\n├── tests/\n├── ...\n├── babel.config.js\n├── cypress.json\n├── jest.config.js\n├── jsconfig.json\n├── package.json\n└── vue.config.js\n

TypeScript based project

TypeScript project is available only in PRO version.

coreui-vue-admin-template/\n├── public/\n├── src/\n│   ├── assets/\n│   │   ├── brand/\n│   │   ├── icons/\n│   │   └── images/\n│   ├── components/\n│   ├── layout/\n│   ├── router/\n│   ├── styles/\n│   ├── views/\n│   │   ├── base/\n│   │   ├── buttons/\n│   │   ├── css/\n│   │   ├── icons/\n│   │   └── notifications/\n│   ├── App.vue\n│   ├── _nav.ts\n│   ├── main.ts\n│   └── shims-vue.d.ts\n├── tests/\n├── ...\n├── babel.config.js\n├── cypress.json\n├── jest.config.js\n├── package.json\n├── tsconfig.json\n└── vue.config.js\n

This is the most basic form of CoreUI Vue Admin Templates.

', 7); -const _hoisted_8 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_8); -} -const contents_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "contents.html.vue"]]); -const data = JSON.parse(`{"path":"/templates/contents.html","title":"Vue templates contents","lang":"en-US","frontmatter":{"title":"Vue templates contents","name":"Vue templates contents","description":"Discover what's included in CoreUI Vue Admin Template, including our precompiled and source code flavors.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/contents.html"}]]},"headers":[{"level":2,"title":"Project structure","slug":"project-structure","link":"#project-structure","children":[]}],"filePathRelative":"templates/contents.md"}`); -export { - contents_html as comp, - data -}; diff --git a/vue/docs/assets/css-variables.html-DBEGBYvO.js b/vue/docs/assets/css-variables.html-DBEGBYvO.js new file mode 100644 index 00000000000..b649ca64597 --- /dev/null +++ b/vue/docs/assets/css-variables.html-DBEGBYvO.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI includes around two dozen CSS custom properties (variables) in its compiled CSS, with dozens more on the way for improved customization on a per-component basis. These provide easy access to commonly used values like our theme colors, breakpoints, and primary font stacks when working in your browser's inspector, a code sandbox, or general prototyping.

All our custom properties are prefixed with cui- to avoid conflicts with third party CSS.

Root variables #

Here are the variables we include (note that the :root is required) that can be accessed anywhere CoreUI's CSS is loaded. They're located in our _root.scss file and included in our compiled dist files.

:root {\n  --cui-blue: #0d6efd;\n  --cui-indigo: #6610f2;\n  --cui-purple: #6f42c1;\n  --cui-pink: #d63384;\n  --cui-red: #dc3545;\n  --cui-orange: #fd7e14;\n  --cui-yellow: #ffc107;\n  --cui-green: #198754;\n  --cui-teal: #20c997;\n  --cui-cyan: #0dcaf0;\n  --cui-black: #000015;\n  --cui-white: #fff;\n  --cui-gray: #8a93a2;\n  --cui-gray-dark: #636f83;\n  --cui-gray-100: #ebedef;\n  --cui-gray-200: #d8dbe0;\n  --cui-gray-300: #c4c9d0;\n  --cui-gray-400: #b1b7c1;\n  --cui-gray-500: #9da5b1;\n  --cui-gray-600: #8a93a2;\n  --cui-gray-700: #768192;\n  --cui-gray-800: #636f83;\n  --cui-gray-900: #4f5d73;\n  --cui-primary: #321fdb;\n  --cui-secondary: #9da5b1;\n  --cui-success: #2eb85c;\n  --cui-info: #39f;\n  --cui-warning: #f9b115;\n  --cui-danger: #e55353;\n  --cui-light: #ebedef;\n  --cui-dark: #4f5d73;\n  --cui-primary-rgb: 50, 31, 219;\n  --cui-secondary-rgb: 157, 165, 177;\n  --cui-success-rgb: 46, 184, 92;\n  --cui-info-rgb: 51, 153, 255;\n  --cui-warning-rgb: 249, 177, 21;\n  --cui-danger-rgb: 229, 83, 83;\n  --cui-light-rgb: 235, 237, 239;\n  --cui-dark-rgb: 79, 93, 115;\n  --cui-white-rgb: 255, 255, 255;\n  --cui-black-rgb: 0, 0, 21;\n  --cui-body-color-rgb: 44, 56, 74;\n  --cui-body-bg-rgb: 255, 255, 255;\n  --cui-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n  --cui-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n  --cui-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));\n  --cui-body-font-family: var(--cui-font-sans-serif);\n  --cui-body-font-size: 1rem;\n  --cui-body-font-weight: 400;\n  --cui-body-line-height: 1.5;\n  --cui-body-color: rgba(44, 56, 74, 0.95);\n  --cui-body-bg: #fff;\n  --cui-border-width: 1px;\n  --cui-border-style: solid;\n  --cui-border-color: #d8dbe0;\n  --cui-border-color-translucent: rgba(0, 0, 21, 0.175);\n  --cui-border-radius: 0.375rem;\n  --cui-border-radius-sm: 0.25rem;\n  --cui-border-radius-lg: 0.5rem;\n  --cui-border-radius-xl: 1rem;\n  --cui-border-radius-2xl: 2rem;\n  --cui-border-radius-pill: 50rem;\n  --cui-heading-color: unset;\n  --cui-link-color: #321fdb;\n  --cui-link-hover-color: #2819af;\n  --cui-code-color: #d63384;\n  --cui-highlight-bg: #fff3cd;\n}\n

Component variables #

CoreUI is increasingly making use of custom properties as local variables for various components. This way we reduce our compiled CSS, ensure styles aren't inherited in places like nested tables, and allow some basic restyling and extending of CoreUI components after Sass compilation.

Whenever possible, we'll assign CSS variables at the base component level (e.g., .navbar for navbar and its sub-components). This reduces guessing on where and how to customize, and allows for easy modifications by our team in future updates.

Prefix #

Most CSS variables use a prefix to avoid collisions with your own codebase. This prefix is in addition to the -- that's required on every CSS variable.

Customize the prefix via the $prefix Sass variable. By default, it's set to cui- (note the trailing dash).

Examples #

CSS variables offer similar flexibility to Sass's variables, but without the need for compilation before being served to the browser. For example, here we're resetting our page's font and link styles with CSS variables.

body {\n  font: 1rem/1.5 var(--cui-font-sans-serif);\n}\na {\n  color: var(--cui-blue);\n}\n

Grid breakpoints #

While we include our grid breakpoints as CSS variables (except for xs), be aware that CSS variables do not work in media queries. This is by design in the CSS spec for variables, but may change in coming years with support for env() variables. Check out this Stack Overflow answer for some helpful links. In the mean time, you can use these variables in other CSS situations, as well as in your JavaScript.

', 16); +const _hoisted_17 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_17); +} +const cssVariables_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "css-variables.html.vue"]]); +const data = JSON.parse(`{"path":"/customize/css-variables.html","title":"CSS variables","lang":"en-US","frontmatter":{"title":"CSS variables","name":"CSS variables","description":"Use CoreUI's CSS custom properties for fast and forward-looking design and development.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/customize/css-variables.html"}]]},"headers":[{"level":2,"title":"Root variables","slug":"root-variables","link":"#root-variables","children":[]},{"level":2,"title":"Component variables","slug":"component-variables","link":"#component-variables","children":[]},{"level":2,"title":"Prefix","slug":"prefix","link":"#prefix","children":[]},{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[]},{"level":2,"title":"Grid breakpoints","slug":"grid-breakpoints","link":"#grid-breakpoints","children":[]}],"filePathRelative":"customize/css-variables.md"}`); +export { + cssVariables_html as comp, + data +}; diff --git a/vue/docs/assets/css-variables.html-UJYgUBzW.js b/vue/docs/assets/css-variables.html-UJYgUBzW.js deleted file mode 100644 index 1c772c630f7..00000000000 --- a/vue/docs/assets/css-variables.html-UJYgUBzW.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI includes around two dozen CSS custom properties (variables) in its compiled CSS, with dozens more on the way for improved customization on a per-component basis. These provide easy access to commonly used values like our theme colors, breakpoints, and primary font stacks when working in your browser's inspector, a code sandbox, or general prototyping.

All our custom properties are prefixed with cui- to avoid conflicts with third party CSS.

Root variables

Here are the variables we include (note that the :root is required) that can be accessed anywhere CoreUI's CSS is loaded. They're located in our _root.scss file and included in our compiled dist files.

:root {\n  --cui-blue: #0d6efd;\n  --cui-indigo: #6610f2;\n  --cui-purple: #6f42c1;\n  --cui-pink: #d63384;\n  --cui-red: #dc3545;\n  --cui-orange: #fd7e14;\n  --cui-yellow: #ffc107;\n  --cui-green: #198754;\n  --cui-teal: #20c997;\n  --cui-cyan: #0dcaf0;\n  --cui-black: #000015;\n  --cui-white: #fff;\n  --cui-gray: #8a93a2;\n  --cui-gray-dark: #636f83;\n  --cui-gray-100: #ebedef;\n  --cui-gray-200: #d8dbe0;\n  --cui-gray-300: #c4c9d0;\n  --cui-gray-400: #b1b7c1;\n  --cui-gray-500: #9da5b1;\n  --cui-gray-600: #8a93a2;\n  --cui-gray-700: #768192;\n  --cui-gray-800: #636f83;\n  --cui-gray-900: #4f5d73;\n  --cui-primary: #321fdb;\n  --cui-secondary: #9da5b1;\n  --cui-success: #2eb85c;\n  --cui-info: #39f;\n  --cui-warning: #f9b115;\n  --cui-danger: #e55353;\n  --cui-light: #ebedef;\n  --cui-dark: #4f5d73;\n  --cui-primary-rgb: 50, 31, 219;\n  --cui-secondary-rgb: 157, 165, 177;\n  --cui-success-rgb: 46, 184, 92;\n  --cui-info-rgb: 51, 153, 255;\n  --cui-warning-rgb: 249, 177, 21;\n  --cui-danger-rgb: 229, 83, 83;\n  --cui-light-rgb: 235, 237, 239;\n  --cui-dark-rgb: 79, 93, 115;\n  --cui-white-rgb: 255, 255, 255;\n  --cui-black-rgb: 0, 0, 21;\n  --cui-body-color-rgb: 44, 56, 74;\n  --cui-body-bg-rgb: 255, 255, 255;\n  --cui-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n  --cui-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n  --cui-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));\n  --cui-body-font-family: var(--cui-font-sans-serif);\n  --cui-body-font-size: 1rem;\n  --cui-body-font-weight: 400;\n  --cui-body-line-height: 1.5;\n  --cui-body-color: rgba(44, 56, 74, 0.95);\n  --cui-body-bg: #fff;\n  --cui-border-width: 1px;\n  --cui-border-style: solid;\n  --cui-border-color: #d8dbe0;\n  --cui-border-color-translucent: rgba(0, 0, 21, 0.175);\n  --cui-border-radius: 0.375rem;\n  --cui-border-radius-sm: 0.25rem;\n  --cui-border-radius-lg: 0.5rem;\n  --cui-border-radius-xl: 1rem;\n  --cui-border-radius-2xl: 2rem;\n  --cui-border-radius-pill: 50rem;\n  --cui-heading-color: unset;\n  --cui-link-color: #321fdb;\n  --cui-link-hover-color: #2819af;\n  --cui-code-color: #d63384;\n  --cui-highlight-bg: #fff3cd;\n}\n

Component variables

CoreUI is increasingly making use of custom properties as local variables for various components. This way we reduce our compiled CSS, ensure styles aren't inherited in places like nested tables, and allow some basic restyling and extending of CoreUI components after Sass compilation.

Whenever possible, we'll assign CSS variables at the base component level (e.g., .navbar for navbar and its sub-components). This reduces guessing on where and how to customize, and allows for easy modifications by our team in future updates.

Prefix

Most CSS variables use a prefix to avoid collisions with your own codebase. This prefix is in addition to the -- that's required on every CSS variable.

Customize the prefix via the $prefix Sass variable. By default, it's set to cui- (note the trailing dash).

Examples

CSS variables offer similar flexibility to Sass's variables, but without the need for compilation before being served to the browser. For example, here we're resetting our page's font and link styles with CSS variables.

body {\n  font: 1rem/1.5 var(--cui-font-sans-serif);\n}\na {\n  color: var(--cui-blue);\n}\n

Grid breakpoints

While we include our grid breakpoints as CSS variables (except for xs), be aware that CSS variables do not work in media queries. This is by design in the CSS spec for variables, but may change in coming years with support for env() variables. Check out this Stack Overflow answer for some helpful links. In the mean time, you can use these variables in other CSS situations, as well as in your JavaScript.

', 16); -const _hoisted_17 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_17); -} -const cssVariables_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "css-variables.html.vue"]]); -const data = JSON.parse(`{"path":"/customize/css-variables.html","title":"CSS variables","lang":"en-US","frontmatter":{"title":"CSS variables","name":"CSS variables","description":"Use CoreUI's CSS custom properties for fast and forward-looking design and development.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/customize/css-variables.html"}]]},"headers":[{"level":2,"title":"Root variables","slug":"root-variables","link":"#root-variables","children":[]},{"level":2,"title":"Component variables","slug":"component-variables","link":"#component-variables","children":[]},{"level":2,"title":"Prefix","slug":"prefix","link":"#prefix","children":[]},{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[]},{"level":2,"title":"Grid breakpoints","slug":"grid-breakpoints","link":"#grid-breakpoints","children":[]}],"filePathRelative":"customize/css-variables.md"}`); -export { - cssVariables_html as comp, - data -}; diff --git a/vue/docs/assets/customize.html-C0-AGXsg.js b/vue/docs/assets/customize.html-C0-AGXsg.js new file mode 100644 index 00000000000..af084555354 --- /dev/null +++ b/vue/docs/assets/customize.html-C0-AGXsg.js @@ -0,0 +1,38 @@ +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, f as createTextVNode, d as createVNode, e as withCtx, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview #

There are multiple ways to customize CoreUI for Vue. Your best path can depend on your project, the complexity of your build tools, the version of CoreUI for Vue you're using, browser support, and more.

Our two preferred methods are:

  1. You can extend our source files.
  2. You can override CoreUI’s styles.

File structure #

Utilize our source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project.

Whenever possible, avoid modifying CoreUI's core files. For Sass, that means creating your own stylesheet that imports CoreUI for Vue so you can modify and extend it. Assuming you're using a package manager like npm, you'll have a file structure that looks like this:

your-project/\n├── ...\n├── node_modules/\n│   ├── @coreui/coreui\n│   │   ├── scss\n│   │   └── ...\n│   └── @coreui/vue\n│       └── ...\n├── src\n│   └── scss\n│       ├── _custom.scss\n│       ├── ...\n│       ├── _variables.scss\n│       └── ...\n└── ...\n

If you use CoreUI PRO version.

your-project/\n├── ...\n├── node_modules/\n│   ├── @coreui/coreui-pro \n│   │   ├── scss\n│   │   └── ...\n│   └── @coreui/vue-pro\n│       └── ...\n├── src\n│   └── scss\n│       ├── _custom.scss\n│       ├── ...\n│       ├── _variables.scss\n│       └── ...\n└── ...\n

Variable defaults #

Every Sass variable in CoreUI for Vue includes the !default flag allowing you to override the variable's default value in your own Sass without modifying CoreUI's source code. Copy and paste variables as needed, modify their values, and remove the !default flag. If a variable has already been assigned, then it won't be re-assigned by the default values in CoreUI.

', 12); +const _hoisted_13 = /* @__PURE__ */ createBaseVNode("code", null, "node_modules/@coreui/coreui/scss/_variables.scss", -1); +const _hoisted_14 = /* @__PURE__ */ createBaseVNode("code", null, "node_modules/@coreui/coreui-pro/scss/_variables.scss", -1); +const _hoisted_15 = /* @__PURE__ */ createBaseVNode("code", null, "null", -1); +const _hoisted_16 = /* @__PURE__ */ createBaseVNode("strong", null, "Customizing", -1); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

Here's an example that changes the background-color and color for the <body> when importing and compiling CoreUI for Vue via npm:

// _variables.scss\n\n// Default variable overrides\n$body-bg: #000;\n$body-color: #111;\n

Custom styles and overrides #

In your custom.scss, you can put custom code for CoreUI's components or your own styles.

// _custom.scss\n\n// Additional custom code here\n.custom-component {\n  border: 2px solid #222;\n}\n
', 5); +function _sfc_render(_ctx, _cache) { + const _component_RouteLink = resolveComponent("RouteLink"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + createBaseVNode("p", null, [ + createTextVNode("You will find the complete list of CoreUI's variables in "), + _hoisted_13, + createTextVNode(" or in "), + _hoisted_14, + createTextVNode(". Some variables are set to "), + _hoisted_15, + createTextVNode(", these variables don't output the property unless they are overridden in your configuration. You can also find a specific component variables list in "), + _hoisted_16, + createTextVNode(" section ex. "), + createVNode(_component_RouteLink, { to: "/components/alert.html#customizing" }, { + default: withCtx(() => [ + createTextVNode("Alerts - Customizing") + ]), + _: 1 + }) + ]), + _hoisted_17 + ]); +} +const customize_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "customize.html.vue"]]); +const data = JSON.parse('{"path":"/templates/customize.html","title":"Customize vue templates","lang":"en-US","frontmatter":{"title":"Customize vue templates","name":"Customize vue templates","description":"Learn how to theme, customize, and extend CoreUI Vue Templates with Sass, a boatload of global options.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/customize.html"}]]},"headers":[{"level":2,"title":"Overview","slug":"overview","link":"#overview","children":[]},{"level":2,"title":"File structure","slug":"file-structure","link":"#file-structure","children":[]},{"level":2,"title":"Variable defaults","slug":"variable-defaults","link":"#variable-defaults","children":[]},{"level":2,"title":"Custom styles and overrides","slug":"custom-styles-and-overrides","link":"#custom-styles-and-overrides","children":[]}],"filePathRelative":"templates/customize.md"}'); +export { + customize_html as comp, + data +}; diff --git a/vue/docs/assets/customize.html-CNlse-Z8.js b/vue/docs/assets/customize.html-CNlse-Z8.js deleted file mode 100644 index ec0b807f095..00000000000 --- a/vue/docs/assets/customize.html-CNlse-Z8.js +++ /dev/null @@ -1,38 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, f as createTextVNode, b as createVNode, d as withCtx, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview

There are multiple ways to customize CoreUI for Vue. Your best path can depend on your project, the complexity of your build tools, the version of CoreUI for Vue you're using, browser support, and more.

Our two preferred methods are:

  1. You can extend our source files.
  2. You can override CoreUI’s styles.

File structure

Utilize our source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project.

Whenever possible, avoid modifying CoreUI's core files. For Sass, that means creating your own stylesheet that imports CoreUI for Vue so you can modify and extend it. Assuming you're using a package manager like npm, you'll have a file structure that looks like this:

your-project/\n├── ...\n├── node_modules/\n│   ├── @coreui/coreui\n│   │   ├── scss\n│   │   └── ...\n│   └── @coreui/vue\n│       └── ...\n├── src\n│   └── scss\n│       ├── _custom.scss\n│       ├── ...\n│       ├── _variables.scss\n│       └── ...\n└── ...\n

If you use CoreUI PRO version.

your-project/\n├── ...\n├── node_modules/\n│   ├── @coreui/coreui-pro \n│   │   ├── scss\n│   │   └── ...\n│   └── @coreui/vue-pro\n│       └── ...\n├── src\n│   └── scss\n│       ├── _custom.scss\n│       ├── ...\n│       ├── _variables.scss\n│       └── ...\n└── ...\n

Variable defaults

Every Sass variable in CoreUI for Vue includes the !default flag allowing you to override the variable's default value in your own Sass without modifying CoreUI's source code. Copy and paste variables as needed, modify their values, and remove the !default flag. If a variable has already been assigned, then it won't be re-assigned by the default values in CoreUI.

', 12); -const _hoisted_13 = /* @__PURE__ */ createBaseVNode("code", null, "node_modules/@coreui/coreui/scss/_variables.scss", -1); -const _hoisted_14 = /* @__PURE__ */ createBaseVNode("code", null, "node_modules/@coreui/coreui-pro/scss/_variables.scss", -1); -const _hoisted_15 = /* @__PURE__ */ createBaseVNode("code", null, "null", -1); -const _hoisted_16 = /* @__PURE__ */ createBaseVNode("strong", null, "Customizing", -1); -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

Here's an example that changes the background-color and color for the <body> when importing and compiling CoreUI for Vue via npm:

// _variables.scss\n\n// Default variable overrides\n$body-bg: #000;\n$body-color: #111;\n

Custom styles and overrides

In your custom.scss, you can put custom code for CoreUI's components or your own styles.

// _custom.scss\n\n// Additional custom code here\n.custom-component {\n  border: 2px solid #222;\n}\n
', 5); -function _sfc_render(_ctx, _cache) { - const _component_RouteLink = resolveComponent("RouteLink"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - createBaseVNode("p", null, [ - createTextVNode("You will find the complete list of CoreUI's variables in "), - _hoisted_13, - createTextVNode(" or in "), - _hoisted_14, - createTextVNode(". Some variables are set to "), - _hoisted_15, - createTextVNode(", these variables don't output the property unless they are overridden in your configuration. You can also find a specific component variables list in "), - _hoisted_16, - createTextVNode(" section ex. "), - createVNode(_component_RouteLink, { to: "/components/alert.html#customizing" }, { - default: withCtx(() => [ - createTextVNode("Alerts - Customizing") - ]), - _: 1 - }) - ]), - _hoisted_17 - ]); -} -const customize_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "customize.html.vue"]]); -const data = JSON.parse('{"path":"/templates/customize.html","title":"Customize vue templates","lang":"en-US","frontmatter":{"title":"Customize vue templates","name":"Customize vue templates","description":"Learn how to theme, customize, and extend CoreUI Vue Templates with Sass, a boatload of global options.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/customize.html"}]]},"headers":[{"level":2,"title":"Overview","slug":"overview","link":"#overview","children":[]},{"level":2,"title":"File structure","slug":"file-structure","link":"#file-structure","children":[]},{"level":2,"title":"Variable defaults","slug":"variable-defaults","link":"#variable-defaults","children":[]},{"level":2,"title":"Custom styles and overrides","slug":"custom-styles-and-overrides","link":"#custom-styles-and-overrides","children":[]}],"filePathRelative":"templates/customize.md"}'); -export { - customize_html as comp, - data -}; diff --git a/vue/docs/assets/date-picker.html-DXrgyOW0.js b/vue/docs/assets/date-picker.html-BHuOUNDP.js similarity index 64% rename from vue/docs/assets/date-picker.html-DXrgyOW0.js rename to vue/docs/assets/date-picker.html-BHuOUNDP.js index 11e562b87ac..b30b6f9705f 100644 --- a/vue/docs/assets/date-picker.html-DXrgyOW0.js +++ b/vue/docs/assets/date-picker.html-BHuOUNDP.js @@ -1,7 +1,9 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; import { f as format, p as parse, e as es } from "./es-DXofg4kJ.js"; const _sfc_main = { - setup() { + __name: "date-picker.html", + setup(__props, { expose: __expose }) { + __expose(); const vDate = ref(new Date(2022, 2, 1)); const options = { year: "numeric", @@ -18,102 +20,100 @@ const _sfc_main = { ]; const maxDate = new Date(2022, 5, 0); const minDate = new Date(2022, 1, 1); - return { - format, - parse, - es, - vDate, - options, - calendarDate, - disabledDates, - maxDate, - minDate - }; + const __returned__ = { vDate, options, calendarDate, disabledDates, maxDate, minDate, ref, get format() { + return format; + }, get parse() { + return parse; + }, get es() { + return es; + } }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

About

This component, provided by CoreUI for Vue.js, offers a user-friendly interface and various customization options to ensure an excellent user experience.

With its responsive design and support for all modern browsers, the Vue Date Picker Component can be easily integrated into any application. The component comes with an array of styling options, including color, size, and shape, that can be easily adjusted to fit the application's design.

The Vue Date Picker Component is also fully customizable, allowing developers to tailor the component to their specific needs. With its set of APIs, developers can control the default value, visibility, and date range of the component.

One of the standout features of the Vue Date Picker Component is its accessibility. CoreUI has ensured that the component is fully compliant with the Web Content Accessibility Guidelines (WCAG), making it accessible to all users. The component supports keyboard navigation and screen readers, ensuring that users with disabilities can also benefit from its functionality.

Example

Below is an example of a basic Vue DatePicker.

Days

Basic examples demonstrating how to pick dates using the Vue Date Picker Component.

', 9); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

About #

This component, provided by CoreUI for Vue.js, offers a user-friendly interface and various customization options to ensure an excellent user experience.

With its responsive design and support for all modern browsers, the Vue Date Picker Component can be easily integrated into any application. The component comes with an array of styling options, including color, size, and shape, that can be easily adjusted to fit the application's design.

The Vue Date Picker Component is also fully customizable, allowing developers to tailor the component to their specific needs. With its set of APIs, developers can control the default value, visibility, and date range of the component.

One of the standout features of the Vue Date Picker Component is its accessibility. CoreUI has ensured that the component is fully compliant with the Web Content Accessibility Guidelines (WCAG), making it accessible to all users. The component supports keyboard navigation and screen readers, ensuring that users with disabilities can also benefit from its functionality.

Example #

Below is an example of a basic Vue DatePicker.

Days #

Basic examples demonstrating how to pick dates using the Vue Date Picker Component.

', 9); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; const _hoisted_11 = { class: "row" }; const _hoisted_12 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_13 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Date" locale="en-US"/>\n<CDatePicker date="2022/2/16" label="Date" locale="en-US" />\n

vModel

By default, <CDatPicker> returns date as a Date object. If no date is selected, <CDatPicker> returns null.

', 3); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Date" locale="en-US"/>\n<CDatePicker date="2022/2/16" label="Date" locale="en-US" />\n

vModel #

By default, <CDatPicker> returns date as a Date object. If no date is selected, <CDatPicker> returns null.

', 3); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; const _hoisted_18 = { class: "row mb-3" }; const _hoisted_19 = { class: "col-lg-6" }; -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CDatePicker label="Date" locale="en-US" v-model:date="vDate" />\n  <div>{{ vDate && vDate.toLocaleDateString([], options) }}</div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const vDate = ref(new Date(2022, 2, 1))\n      const options = {\n        year: 'numeric',\n        month: 'long',\n        day: 'numeric',\n        weekday: 'long',\n      }\n      return {\n        vDate,\n        options\n      }\n    }\n  }\n</script>\n

With timepicker

In addition to supporting date selection, our Vue DatePicker component also includes a TimePicker feature that allows users to select a specific time of day. Vue TimePicker can be enabled by passing a timepicker prop to the <CDatePicker/> component

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n\n  const vDate = ref(new Date(2022, 2, 1))\n  const options = {\n    year: 'numeric',\n    month: 'long',\n    day: 'numeric',\n    weekday: 'long',\n  }\n</script>\n<template>\n  <CDatePicker label="Date" locale="en-US" v-model:date="vDate" />\n  <div>{{ vDate && vDate.toLocaleDateString([], options) }}</div>\n</template>\n

With timepicker #

In addition to supporting date selection, our Vue DatePicker component also includes a TimePicker feature that allows users to select a specific time of day. Vue TimePicker can be enabled by passing a timepicker prop to the <CDatePicker/> component

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; const _hoisted_24 = { class: "row" }; const _hoisted_25 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_26 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CDatePicker locale="en-US" timepicker />\n<CDatePicker date="2023/03/15 02:22:13 PM" locale="en-US" timepicker />\n

Here is an example with the additional footer. The footer can be useful for displaying additional information or actions related to the selected date, such as "Today" or "Clear" buttons. The footer component is fully customizable and can be styled to match the rest of the application.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CDatePicker locale="en-US" timepicker />\n<CDatePicker date="2023/03/15 02:22:13 PM" locale="en-US" timepicker />\n

Here is an example with the additional footer. The footer can be useful for displaying additional information or actions related to the selected date, such as "Today" or "Clear" buttons. The footer component is fully customizable and can be styled to match the rest of the application.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; const _hoisted_31 = { class: "row" }; const _hoisted_32 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_33 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CDatePicker footer locale="en-US" />\n<CDatePicker date="2022/2/16" footer locale="en-US" />\n

Weeks

Illustration of week selection using the Vue Date Picker, including week number display.

', 3); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CDatePicker footer locale="en-US" />\n<CDatePicker date="2022/2/16" footer locale="en-US" />\n

Weeks #

Illustration of week selection using the Vue Date Picker, including week number display.

', 3); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = { class: "row" }; const _hoisted_39 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_40 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Week Picker" locale="en-US" selectionType="week" showWeekNumber />\n<CDatePicker date="2025W07" label="Week Picker" locale="en-US" selectionType="week" showWeekNumber />\n

Months

Selecting whole months with the Vue Date Picker Component.

', 3); +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Week Picker" locale="en-US" selectionType="week" showWeekNumber />\n<CDatePicker date="2025W07" label="Week Picker" locale="en-US" selectionType="week" showWeekNumber />\n

Months #

Selecting whole months with the Vue Date Picker Component.

', 3); const _hoisted_44 = { class: "docs-example rounded-top p-4" }; const _hoisted_45 = { class: "row" }; const _hoisted_46 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_47 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Month Picker" locale="en-US" selectionType="month" />\n<CDatePicker date="2022-8" label="Month Picker" locale="en-US" selectionType="month" />\n

Years

Picking years using the Vue Date Picker.

', 3); +const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CDatePicker label="Month Picker" locale="en-US" selectionType="month" />\n<CDatePicker date="2022-8" label="Month Picker" locale="en-US" selectionType="month" />\n

Years #

Picking years using the Vue Date Picker.

', 3); const _hoisted_51 = { class: "docs-example rounded-top p-4" }; const _hoisted_52 = { class: "row" }; const _hoisted_53 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_54 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n<CDatePicker label="Year Picker" locale="en-US" selectionType="year" />\n<CDatePicker date="2022" label="Year Picker" locale="en-US" selectionType="year" />\n

Sizing

Set heights using size property like size="lg" and size="sm".

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n<CDatePicker label="Year Picker" locale="en-US" selectionType="year" />\n<CDatePicker date="2022" label="Year Picker" locale="en-US" selectionType="year" />\n

Sizing #

Set heights using size property like size="lg" and size="sm".

', 3); const _hoisted_58 = { class: "docs-example rounded-top p-4" }; const _hoisted_59 = { class: "row" }; const _hoisted_60 = { class: "col-lg-6 mb3" }; const _hoisted_61 = { class: "row" }; const _hoisted_62 = { class: "col-lg-4" }; -const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CDatePicker locale="en-US" size="lg" />\n<CDatePicker locale="en-US" size="sm" />\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CDatePicker locale="en-US" size="lg" />\n<CDatePicker locale="en-US" size="sm" />\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_66 = { class: "docs-example rounded-top p-4" }; const _hoisted_67 = { class: "row" }; const _hoisted_68 = { class: "col-lg-4" }; -const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CDatePicker disabled locale="en-US" />\n

Readonly

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); +const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CDatePicker disabled locale="en-US" />\n

Readonly #

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); const _hoisted_72 = { class: "docs-example rounded-top p-4" }; const _hoisted_73 = { class: "row" }; const _hoisted_74 = { class: "col-lg-4" }; -const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<CDatePicker inputReadOnly locale="en-US" />\n

Disabled dates

CoreUI Vue DatePicker component includes a feature that allows you to disable certain dates, such as weekends or holidays. This can be accomplished by passing an array to disabledDate prop to the component, which determines which dates should be disabled based on custom logic.

', 3); +const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<CDatePicker inputReadOnly locale="en-US" />\n

Disabled dates #

CoreUI Vue DatePicker component includes a feature that allows you to disable certain dates, such as weekends or holidays. This can be accomplished by passing an array to disabledDate prop to the component, which determines which dates should be disabled based on custom logic.

', 3); const _hoisted_78 = { class: "docs-example rounded-top p-4" }; const _hoisted_79 = { class: "row" }; const _hoisted_80 = { class: "col-lg-4" }; -const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CDatePicker\n    :calendarDate="calendarDate"\n    :disabledDates="disabledDates"\n    locale="en-US"\n    :maxDate="maxDate"\n    :minDate="minDate"\n  />\n</template>\n<script>\n  export default {\n    setup() {\n      const calendarDate = new Date(2022, 2, 1)\n      const disabledDates = [\n        [new Date(2022, 2, 4), new Date(2022, 2, 7)],\n        new Date(2022, 2, 16),\n        new Date(2022, 3, 16),\n        [new Date(2022, 4, 2), new Date(2022, 4, 8)],\n      ]\n      const maxDate = new Date(2022, 5, 0)\n      const minDate = new Date(2022, 1, 1)\n      return { \n        calendarDate,\n        disabledDates,\n        maxDate,\n        minDate,\n      }\n    }\n  }\n</script>\n

Non-english locale

CoreUI Vue Date Picker allows users to display dates and times in a non-English locale. This is useful for applications that have international users or need to support multiple languages.

Auto

By default, the DatePicker component uses the default browser locale, but it can be easily configured to use a different locale supported by the JavaScript Internationalization API. To set the locale, you can simply pass the desired language code as a prop to the DatePicker component. This feature enables to create more inclusive and accessible applications that cater to a diverse audience.

', 5); +const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  import { format, parse } from 'date-fns'\n  import { es } from 'date-fns/locale'\n  \n  const calendarDate = new Date(2022, 2, 1)\n  const disabledDates = [\n    [new Date(2022, 2, 4), new Date(2022, 2, 7)],\n    new Date(2022, 2, 16),\n    new Date(2022, 3, 16),\n    [new Date(2022, 4, 2), new Date(2022, 4, 8)],\n  ]\n  const maxDate = new Date(2022, 5, 0)\n  const minDate = new Date(2022, 1, 1)\n</script>\n<template>\n  <CDatePicker\n    :calendarDate="calendarDate"\n    :disabledDates="disabledDates"\n    locale="en-US"\n    :maxDate="maxDate"\n    :minDate="minDate"\n  />\n</template>\n

Non-english locale #

CoreUI Vue Date Picker allows users to display dates and times in a non-English locale. This is useful for applications that have international users or need to support multiple languages.

Auto #

By default, the DatePicker component uses the default browser locale, but it can be easily configured to use a different locale supported by the JavaScript Internationalization API. To set the locale, you can simply pass the desired language code as a prop to the DatePicker component. This feature enables to create more inclusive and accessible applications that cater to a diverse audience.

', 5); const _hoisted_86 = { class: "docs-example rounded-top p-4" }; const _hoisted_87 = { class: "row" }; const _hoisted_88 = { class: "col-lg-4" }; -const _hoisted_89 = /* @__PURE__ */ createStaticVNode('
<CDatePicker />\n

Chinese

Below is an example of a basic Vue Date Picker with Chinese locales.

', 3); +const _hoisted_89 = /* @__PURE__ */ createStaticVNode('
<CDatePicker />\n

Chinese #

Below is an example of a basic Vue Date Picker with Chinese locales.

', 3); const _hoisted_92 = { class: "docs-example rounded-top p-4" }; const _hoisted_93 = { class: "row" }; const _hoisted_94 = { class: "col-lg-4" }; -const _hoisted_95 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="入住日期" locale="zh-CN" />\n

Japanese

Below is an example of a basic Vue Date Picker with Japanese locales.

', 3); +const _hoisted_95 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="入住日期" locale="zh-CN" />\n

Japanese #

Below is an example of a basic Vue Date Picker with Japanese locales.

', 3); const _hoisted_98 = { class: "docs-example rounded-top p-4" }; const _hoisted_99 = { class: "row" }; const _hoisted_100 = { class: "col-lg-4" }; -const _hoisted_101 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="日付を選択" locale="ja" />\n

Korean

Below is an example of a basic Vue Date Picker with Korean locales.

', 3); +const _hoisted_101 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="日付を選択" locale="ja" />\n

Korean #

Below is an example of a basic Vue Date Picker with Korean locales.

', 3); const _hoisted_104 = { class: "docs-example rounded-top p-4" }; const _hoisted_105 = { class: "row" }; const _hoisted_106 = { class: "col-lg-4" }; -const _hoisted_107 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="날짜 선택" locale="ko" />\n

Right to left support

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew

', 4); +const _hoisted_107 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="날짜 선택" locale="ko" />\n

Right to left support #

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew #

', 4); const _hoisted_111 = { class: "docs-example rounded-top p-4" }; const _hoisted_112 = { class: "row", dir: "rtl" }; const _hoisted_113 = { class: "col-lg-4" }; -const _hoisted_114 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="בחר תאריך" locale="he-IL" />\n

Persian

', 2); +const _hoisted_114 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="בחר תאריך" locale="he-IL" />\n

Persian #

', 2); const _hoisted_116 = { class: "docs-example rounded-top p-4" }; const _hoisted_117 = { class: "row", dir: "rtl" }; const _hoisted_118 = { class: "col-lg-4" }; -const _hoisted_119 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="تاریخ شروع" locale="fa-IR" />\n

Custom formats

', 2); +const _hoisted_119 = /* @__PURE__ */ createStaticVNode('
<CDatePicker placeholder="تاریخ شروع" locale="fa-IR" />\n

Custom formats #

', 2); const _hoisted_121 = /* @__PURE__ */ createBaseVNode("code", null, "format", -1); const _hoisted_122 = /* @__PURE__ */ createBaseVNode("code", null, "", -1); const _hoisted_123 = /* @__PURE__ */ createBaseVNode("code", null, "inputDateFormat", -1); @@ -123,14 +123,14 @@ const _hoisted_127 = { class: "docs-example rounded-top p-4" }; const _hoisted_128 = { class: "row" }; const _hoisted_129 = { class: "col-lg-4" }; const _hoisted_130 = { class: "col-lg-4" }; -const _hoisted_131 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-4">\n    <CDatePicker\n      date="2022/08/17"\n      label="Date picker"\n      locale="en-US"\n      :inputDateParse="(date) => parse(date, 'MMMM dd, yyyy', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMMM dd, yyyy')"\n    />\n  </div>\n  <div class="col-lg-4">\n    <CDatePicker\n      date="2022/08/17"\n      label="Selector de fechas"\n      locale="es-ES"\n      placeholder="Seleccionar fecha"\n      :inputDateParse="(date) => parse(date, 'yyyy MMMM dd', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMMM dd', { locale: es })"\n    />\n  </div>\n</div>\n

With timepicker

This example demonstrates how to integrate a timepicker into a date picker using the timepicker property.

', 3); +const _hoisted_131 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-4">\n    <CDatePicker\n      date="2022/08/17"\n      label="Date picker"\n      locale="en-US"\n      :inputDateParse="(date) => parse(date, 'MMMM dd, yyyy', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMMM dd, yyyy')"\n    />\n  </div>\n  <div class="col-lg-4">\n    <CDatePicker\n      date="2022/08/17"\n      label="Selector de fechas"\n      locale="es-ES"\n      placeholder="Seleccionar fecha"\n      :inputDateParse="(date) => parse(date, 'yyyy MMMM dd', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMMM dd', { locale: es })"\n    />\n  </div>\n</div>\n

With timepicker #

This example demonstrates how to integrate a timepicker into a date picker using the timepicker property.

', 3); const _hoisted_134 = { class: "docs-example rounded-top p-4" }; const _hoisted_135 = { class: "row" }; const _hoisted_136 = { class: "col-lg-5" }; const _hoisted_137 = { class: "col-lg-5" }; -const _hoisted_138 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-5">\n    <CDatePicker\n      date="2022/08/03 02:34:17 AM"\n      label="Date picker"\n      locale="en-US"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'MMM dd, yyyy h:mm:ss a', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMM dd, yyyy h:mm:ss a')"\n    />\n  </div>\n  <div class="col-lg-5">\n    <CDatePicker\n      date="2022/08/03 02:34:17 AM"\n      label="Selector de fechas"\n      locale="es-ES"\n      placeholder="Seleccionar fecha"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'yyyy MMM dd h:mm:ss a', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMM dd h:mm:ss a', { locale: es })"\n    />\n  </div>\n</div>\n

Customizing

CSS variables

Vue date pickers use local CSS variables on .date-picker and .calendar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_142 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDatePicker :style="vars">...</CDatePicker>\n

SASS variables

', 3); -const _hoisted_145 = /* @__PURE__ */ createStaticVNode('

API

CDatePicker

import { CDatePicker } from '@coreui/vue-pro'\n// or\nimport CDatePicker from '@coreui/vue-pro/src/components/date-picker/CDatePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
dateInitial selected date.date|string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.

[Deprecated since v5.3.0] The name attributes for input element is generated based on this property until you define name prop ex.:
- {id}-date
string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-read-onlyToggle the readonly state for the component.boolean--
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input element.string--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string-'Select date'
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
sizeSize the component small or large.string'sm', 'lg'-
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
date-changeCallback fired when the date changed.date Date - date object
formatedDate string - formated date
update:dateCallback fired when the date changed.date Date | null - date object
', 7); +const _hoisted_138 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-5">\n    <CDatePicker\n      date="2022/08/03 02:34:17 AM"\n      label="Date picker"\n      locale="en-US"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'MMM dd, yyyy h:mm:ss a', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMM dd, yyyy h:mm:ss a')"\n    />\n  </div>\n  <div class="col-lg-5">\n    <CDatePicker\n      date="2022/08/03 02:34:17 AM"\n      label="Selector de fechas"\n      locale="es-ES"\n      placeholder="Seleccionar fecha"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'yyyy MMM dd h:mm:ss a', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMM dd h:mm:ss a', { locale: es })"\n    />\n  </div>\n</div>\n

Customizing #

CSS variables #

Vue date pickers use local CSS variables on .date-picker and .calendar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_142 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDatePicker :style="vars">...</CDatePicker>\n

SASS variables #

', 3); +const _hoisted_145 = /* @__PURE__ */ createStaticVNode('

API #

CDatePicker #

import { CDatePicker } from '@coreui/vue-pro'\n// or\nimport CDatePicker from '@coreui/vue-pro/src/components/date-picker/CDatePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
dateInitial selected date.date|string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.

[Deprecated since v5.3.0] The name attributes for input element is generated based on this property until you define name prop ex.:
- {id}-date
string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-read-onlyToggle the readonly state for the component.boolean--
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input element.string--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string-'Select date'
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
sizeSize the component small or large.string'sm', 'lg'-
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
date-changeCallback fired when the date changed.date Date - date object
formatedDate string - formated date
update:dateCallback fired when the date changed.date Date | null - date object
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CDatePicker = resolveComponent("CDatePicker"); const _component_Callout = resolveComponent("Callout"); @@ -317,7 +317,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { locale: "en-US", maxDate: $setup.maxDate, minDate: $setup.minDate - }, null, 8, ["calendarDate", "disabledDates", "maxDate", "minDate"]) + }, null, 8, ["calendarDate", "maxDate", "minDate"]) ]) ]) ]), diff --git a/vue/docs/assets/date-range-picker.html-T7otEH2H.js b/vue/docs/assets/date-range-picker.html-Bs7ll3rY.js similarity index 59% rename from vue/docs/assets/date-range-picker.html-T7otEH2H.js rename to vue/docs/assets/date-range-picker.html-Bs7ll3rY.js index fdd97240ffd..3ca70bcbf5c 100644 --- a/vue/docs/assets/date-range-picker.html-T7otEH2H.js +++ b/vue/docs/assets/date-range-picker.html-Bs7ll3rY.js @@ -1,7 +1,9 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; import { f as format, p as parse, e as es } from "./es-DXofg4kJ.js"; const _sfc_main = { - setup() { + __name: "date-range-picker.html", + setup(__props, { expose: __expose }) { + __expose(); const vStartDate = ref(new Date(2022, 2, 1)); const vEndDate = ref(new Date(2022, 2, 7)); const options = { @@ -42,19 +44,15 @@ const _sfc_main = { new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 0) ] }; - return { - format, - parse, - es, - vStartDate, - vEndDate, - options, - calendarDate, - disabledDates, - maxDate, - minDate, - customRanges - }; + const __returned__ = { vStartDate, vEndDate, options, calendarDate, disabledDates, maxDate, minDate, customRanges, ref, get format() { + return format; + }, get parse() { + return parse; + }, get es() { + return es; + } }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -64,8 +62,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Explore basic usage of the Vue Date Range Picker through sample code snippets that demonstrate its core functionality.", -1); @@ -76,8 +73,7 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Days "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#days", - "aria-hidden": "true" + href: "#days" }, "#") ], -1); const _hoisted_4 = /* @__PURE__ */ createBaseVNode("p", null, "Select date ranges by day with examples including basic usage, as well as variants featuring time pickers and footers for enhanced functionality.", -1); @@ -85,88 +81,88 @@ const _hoisted_5 = { class: "docs-example rounded-top p-4" }; const _hoisted_6 = { class: "row" }; const _hoisted_7 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_8 = { class: "col-sm-6" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker label="Date range" locale="en-US" />\n<CDateRangePicker startDate="2022/08/03" endDate="2022/08/17" label="Date range" locale="en-US" />\n

vModel

By default, <CDateRangePicker> returns start-date and end-date as a Date objects. If no date is selected, <CDateRangePicker> returns null.

', 3); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker label="Date range" locale="en-US" />\n<CDateRangePicker startDate="2022/08/03" endDate="2022/08/17" label="Date range" locale="en-US" />\n

vModel #

By default, <CDateRangePicker> returns start-date and end-date as a Date objects. If no date is selected, <CDateRangePicker> returns null.

', 3); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; const _hoisted_13 = { class: "row mb-3" }; const _hoisted_14 = { class: "col-lg-6" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CDateRangePicker\n    label="Date range"\n    locale="en-US"\n    v-model:start-date="vStartDate"\n    v-model:end-date="vEndDate" \n  />\n  <div>\n    {{ vStartDate && vStartDate.toLocaleDateString([], options) }}\n    -\n    {{ vEndDate && vEndDate.toLocaleDateString([], options) }}\n  </div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const vStartDate = ref(new Date(2022, 2, 1))\n      const vEndDate = ref(new Date(2022, 2, 7))\n      const options = {\n        year: 'numeric',\n        month: 'long',\n        day: 'numeric',\n        weekday: 'long',\n      }\n      return {\n        vStartDate,\n        vEndDate,\n        options\n      }\n    }\n  }\n</script>\n

With timepicker

Our Vue DateRangePicker component not only supports date selection but also includes a time picker feature for selecting a specific time of day. Enable the Vue TimePicker by passing a timepicker prop to the <CDatePicker/> component.

', 3); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  \n  const vStartDate = ref(new Date(2022, 2, 1))\n  const vEndDate = ref(new Date(2022, 2, 7))\n  const options = {\n    year: 'numeric',\n    month: 'long',\n    day: 'numeric',\n    weekday: 'long',\n  }\n</script>\n<template>\n  <CDateRangePicker\n    label="Date range"\n    locale="en-US"\n    v-model:start-date="vStartDate"\n    v-model:end-date="vEndDate" \n  />\n  <div>\n    {{ vStartDate && vStartDate.toLocaleDateString([], options) }}\n    -\n    {{ vEndDate && vEndDate.toLocaleDateString([], options) }}\n  </div>\n</template>\n

With timepicker #

Our Vue DateRangePicker component not only supports date selection but also includes a time picker feature for selecting a specific time of day. Enable the Vue TimePicker by passing a timepicker prop to the <CDatePicker/> component.

', 3); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; const _hoisted_19 = { class: "row" }; const _hoisted_20 = { class: "col-lg-7 mb-3" }; const _hoisted_21 = { class: "col-lg-7" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="en-US" timepicker />\n<CDateRangePicker startDate="2022/08/03 02:34:17 AM" endDate="2022/09/17 11:29:41 PM" locale="en-US" timepicker />\n

Here's an example with an additional footer. The footer is useful for displaying extra information or actions related to the selected date, such as "Today" or "Clear" buttons. The footer component is fully customizable and can be styled to match the rest of the application.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="en-US" timepicker />\n<CDateRangePicker startDate="2022/08/03 02:34:17 AM" endDate="2022/09/17 11:29:41 PM" locale="en-US" timepicker />\n

Here's an example with an additional footer. The footer is useful for displaying extra information or actions related to the selected date, such as "Today" or "Clear" buttons. The footer component is fully customizable and can be styled to match the rest of the application.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = { class: "row" }; const _hoisted_27 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_28 = { class: "col-sm-6" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker footer locale="en-US" />\n<CDateRangePicker startDate="2022/08/03" endDate="2022/08/17" footer locale="en-US" />\n

Weeks

To enable week selection, set the selectionType property to week and pass the showWeekNumber prop to display week numbers.

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker footer locale="en-US" />\n<CDateRangePicker startDate="2022/08/03" endDate="2022/08/17" footer locale="en-US" />\n

Weeks #

To enable week selection, set the selectionType property to week and pass the showWeekNumber prop to display week numbers.

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; const _hoisted_33 = { class: "row" }; const _hoisted_34 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_35 = { class: "col-sm-6" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="week"\n  showWeekNumber\n/>\n<CDateRangePicker\n  startDate="2025W07"\n  endDate="2025W12"\n  label="Date range"\n  locale="en-US"\n  selectionType="week"\n  showWeekNumber\n/>\n

Months

Set the selectionType property to month to enable months range selection.

', 3); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="week"\n  showWeekNumber\n/>\n<CDateRangePicker\n  startDate="2025W07"\n  endDate="2025W12"\n  label="Date range"\n  locale="en-US"\n  selectionType="week"\n  showWeekNumber\n/>\n

Months #

Set the selectionType property to month to enable months range selection.

', 3); const _hoisted_39 = { class: "docs-example rounded-top p-4" }; const _hoisted_40 = { class: "row" }; const _hoisted_41 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_42 = { class: "col-sm-6" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="month"\n/>\n<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="month"\n  startDate="2022-8"\n  endDate="2023-5"\n/>\n

Years

Set the selectionType property to year to enable years range selection.

', 3); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="month"\n/>\n<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="month"\n  startDate="2022-8"\n  endDate="2023-5"\n/>\n

Years #

Set the selectionType property to year to enable years range selection.

', 3); const _hoisted_46 = { class: "docs-example rounded-top p-4" }; const _hoisted_47 = { class: "row" }; const _hoisted_48 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_49 = { class: "col-sm-6" }; -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="year"\n/>\n<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="year"\n  startDate="2022"\n  endDate="2028"\n/>\n

Sizing

Set heights using size property like size="lg" and size="sm".

', 3); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="year"\n/>\n<CDateRangePicker\n  label="Date range"\n  locale="en-US"\n  selectionType="year"\n  startDate="2022"\n  endDate="2028"\n/>\n

Sizing #

Set heights using size property like size="lg" and size="sm".

', 3); const _hoisted_53 = { class: "docs-example rounded-top p-4" }; const _hoisted_54 = { class: "row mb-4" }; const _hoisted_55 = { class: "col-lg-6" }; const _hoisted_56 = { class: "row" }; const _hoisted_57 = { class: "col-lg-5" }; -const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="en-US" size="lg" />\n<CDateRangePicker locale="en-US" size="sm" />\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="en-US" size="lg" />\n<CDateRangePicker locale="en-US" size="sm" />\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_61 = { class: "docs-example rounded-top p-4" }; const _hoisted_62 = { class: "row" }; const _hoisted_63 = { class: "col-lg-5" }; -const _hoisted_64 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker disabled locale="en-US" />\n

Readonly

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); +const _hoisted_64 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker disabled locale="en-US" />\n

Readonly #

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); const _hoisted_67 = { class: "docs-example rounded-top p-4" }; const _hoisted_68 = { class: "row" }; const _hoisted_69 = { class: "col-lg-5" }; -const _hoisted_70 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker inputReadOnly locale="en-US" />\n

Disabled dates

Our Vue Date Range Picker component features the ability to disable specific dates, such as weekends or holidays, by using the disabledDate prop. This prop takes an array and uses custom logic to determine which dates should be disabled.

', 3); +const _hoisted_70 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker inputReadOnly locale="en-US" />\n

Disabled dates #

Our Vue Date Range Picker component features the ability to disable specific dates, such as weekends or holidays, by using the disabledDate prop. This prop takes an array and uses custom logic to determine which dates should be disabled.

', 3); const _hoisted_73 = { class: "docs-example rounded-top p-4" }; const _hoisted_74 = { class: "row" }; const _hoisted_75 = { class: "col-lg-5" }; -const _hoisted_76 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CDateRangePicker\n    :calendarDate="calendarDate"\n    :disabledDates="disabledDates"\n    locale="en-US"\n    :maxDate="maxDate"\n    :minDate="minDate"\n  />\n</template>\n<script>\n  export default {\n    setup() {\n      const calendarDate = new Date(2022, 2, 1)\n      const disabledDates = [\n        [new Date(2022, 2, 4), new Date(2022, 2, 7)],\n        new Date(2022, 2, 16),\n        new Date(2022, 3, 16),\n        [new Date(2022, 4, 2), new Date(2022, 4, 8)],\n      ]\n      const maxDate = new Date(2022, 5, 0)\n      const minDate = new Date(2022, 1, 1)\n      return { \n        calendarDate,\n        disabledDates,\n        maxDate,\n        minDate,\n      }\n    }\n  }\n</script>\n

Custom ranges

In order to configure custom date ranges in the Date Range component, you must use the ranges prop to define a set of predefined ranges. These ranges can include predefined options such as "Today", "Yesterday", "Last 7 Days", etc.

', 3); +const _hoisted_76 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const calendarDate = new Date(2022, 2, 1)\n  const disabledDates = [\n    [new Date(2022, 2, 4), new Date(2022, 2, 7)],\n    new Date(2022, 2, 16),\n    new Date(2022, 3, 16),\n    [new Date(2022, 4, 2), new Date(2022, 4, 8)],\n  ]\n  const maxDate = new Date(2022, 5, 0)\n  const minDate = new Date(2022, 1, 1)\n</script>\n<template>\n  <CDateRangePicker\n    :calendarDate="calendarDate"\n    :disabledDates="disabledDates"\n    locale="en-US"\n    :maxDate="maxDate"\n    :minDate="minDate"\n  />\n</template>\n

Custom ranges #

In order to configure custom date ranges in the Date Range component, you must use the ranges prop to define a set of predefined ranges. These ranges can include predefined options such as "Today", "Yesterday", "Last 7 Days", etc.

', 3); const _hoisted_79 = { class: "docs-example rounded-top p-4" }; const _hoisted_80 = { class: "row" }; const _hoisted_81 = { class: "col-lg-5" }; -const _hoisted_82 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CDateRangePicker :ranges="customRanges" />\n</template>\n<script>\n  export default {\n    setup() {\n      const customRanges = {\n        Today: [new Date(), new Date()],\n        Yesterday: [\n          new Date(new Date().setDate(new Date().getDate() - 1)),\n          new Date(new Date().setDate(new Date().getDate() - 1)),\n        ],\n        'Last 7 Days': [\n          new Date(new Date().setDate(new Date().getDate() - 6)),\n          new Date(new Date()),\n        ],\n        'Last 30 Days': [\n          new Date(new Date().setDate(new Date().getDate() - 29)),\n          new Date(new Date()),\n        ],\n        'This Month': [\n          new Date(new Date().setDate(1)),\n          new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0),\n        ],\n        'Last Month': [\n          new Date(new Date().getFullYear(), new Date().getMonth() - 1, 1),\n          new Date(new Date().getFullYear(), new Date().getMonth(), 0),\n        ],\n      }\n      return { \n        customRanges,\n      }\n    }\n  }\n</script>\n

Non-english locale

CoreUI's Vue Date Range Picker enables the display of dates and times in non-English locales, making it essential for international users and multilingual support.

Auto

By default, the DateRangePicker component uses the default browser locale, but it can be easily configured to use a different locale supported by the JavaScript Internationalization API. To set the locale, you can pass the desired language code as a prop to the DateRangePicker component. This feature enables the creation of more inclusive and accessible applications that cater to a diverse audience.

', 5); +const _hoisted_82 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const customRanges = {\n    Today: [new Date(), new Date()],\n    Yesterday: [\n      new Date(new Date().setDate(new Date().getDate() - 1)),\n      new Date(new Date().setDate(new Date().getDate() - 1)),\n    ],\n    'Last 7 Days': [\n      new Date(new Date().setDate(new Date().getDate() - 6)),\n      new Date(new Date()),\n    ],\n    'Last 30 Days': [\n      new Date(new Date().setDate(new Date().getDate() - 29)),\n      new Date(new Date()),\n    ],\n    'This Month': [\n      new Date(new Date().setDate(1)),\n      new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0),\n    ],\n    'Last Month': [\n      new Date(new Date().getFullYear(), new Date().getMonth() - 1, 1),\n      new Date(new Date().getFullYear(), new Date().getMonth(), 0),\n    ],\n  }\n</script>\n<template>\n  <CDateRangePicker :ranges="customRanges" />\n</template>\n

Non-english locale #

CoreUI's Vue Date Range Picker enables the display of dates and times in non-English locales, making it essential for international users and multilingual support.

Auto #

By default, the DateRangePicker component uses the default browser locale, but it can be easily configured to use a different locale supported by the JavaScript Internationalization API. To set the locale, you can pass the desired language code as a prop to the DateRangePicker component. This feature enables the creation of more inclusive and accessible applications that cater to a diverse audience.

', 5); const _hoisted_87 = { class: "docs-example rounded-top p-4" }; const _hoisted_88 = { class: "row" }; const _hoisted_89 = { class: "col-lg-5" }; -const _hoisted_90 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker />\n

Chinese

Here is an example of a simple Vue Date Range Picker with Chinese localization.

', 3); +const _hoisted_90 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker />\n

Chinese #

Here is an example of a simple Vue Date Range Picker with Chinese localization.

', 3); const _hoisted_93 = { class: "docs-example rounded-top p-4" }; const _hoisted_94 = { class: "row" }; const _hoisted_95 = { class: "col-lg-5" }; -const _hoisted_96 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="zh-CN" :placeholder="['入住日期', '退房日期']" />\n

Japanese

Below is an example of a basic Vue Date Range Picker with Japanese locales.

', 3); +const _hoisted_96 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="zh-CN" :placeholder="['入住日期', '退房日期']" />\n

Japanese #

Below is an example of a basic Vue Date Range Picker with Japanese locales.

', 3); const _hoisted_99 = { class: "docs-example rounded-top p-4" }; const _hoisted_100 = { class: "row" }; const _hoisted_101 = { class: "col-lg-5" }; -const _hoisted_102 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="ja" :placeholder="['日付を選択', '終了日']" />\n

Korean

Here's a simple example of a Date Range Picker with Korean locales.

', 3); +const _hoisted_102 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="ja" :placeholder="['日付を選択', '終了日']" />\n

Korean #

Here's a simple example of a Date Range Picker with Korean locales.

', 3); const _hoisted_105 = { class: "docs-example rounded-top p-4" }; const _hoisted_106 = { class: "row" }; const _hoisted_107 = { class: "col-lg-5" }; -const _hoisted_108 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="ko" :placeholder="['날짜 선택', '종료일']" />\n

Right to left support

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew

', 4); +const _hoisted_108 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="ko" :placeholder="['날짜 선택', '종료일']" />\n

Right to left support #

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew #

', 4); const _hoisted_112 = { class: "docs-example rounded-top p-4" }; const _hoisted_113 = { class: "row", dir: "rtl" }; const _hoisted_114 = { class: "col-lg-5" }; -const _hoisted_115 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker :placeholder="['בחר תאריך', 'תאריך סיום']" locale="he-IL" />\n

Persian

', 2); +const _hoisted_115 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker :placeholder="['בחר תאריך', 'תאריך סיום']" locale="he-IL" />\n

Persian #

', 2); const _hoisted_117 = { class: "docs-example rounded-top p-4" }; const _hoisted_118 = { class: "row", dir: "rtl" }; const _hoisted_119 = { class: "col-lg-5" }; -const _hoisted_120 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="fa-IR" :placeholder="['تاریخ شروع', 'تاریخ پایان']" />\n

Custom formats

', 2); +const _hoisted_120 = /* @__PURE__ */ createStaticVNode('
<CDateRangePicker locale="fa-IR" :placeholder="['تاریخ شروع', 'تاریخ پایان']" />\n

Custom formats #

', 2); const _hoisted_122 = /* @__PURE__ */ createBaseVNode("code", null, "format", -1); const _hoisted_123 = /* @__PURE__ */ createBaseVNode("code", null, "", -1); const _hoisted_124 = /* @__PURE__ */ createBaseVNode("code", null, "inputDateFormat", -1); @@ -176,14 +172,14 @@ const _hoisted_128 = { class: "docs-example rounded-top p-4" }; const _hoisted_129 = { class: "row" }; const _hoisted_130 = { class: "col-sm-6 mb-3 mb-sm-0" }; const _hoisted_131 = { class: "col-sm-6" }; -const _hoisted_132 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-6">\n    <CDateRangePicker\n      startDate="2022/08/03"\n      endDate="2022/08/17"\n      label="Date range"\n      locale="en-US"\n      :inputDateParse="(date) => parse(date, 'MMMM dd, yyyy', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMMM dd, yyyy')"\n    />\n  </div>\n  <div class="col-lg-6">\n    <CDateRangePicker\n      startDate="2022/08/03"\n      endDate="2022/08/17"\n      label="Rango de fechas"\n      locale="es-ES"\n      :placeholder="['Fecha de inicio', 'Fecha de fin']"\n      :inputDateParse="(date) => parse(date, 'yyyy MMMM dd', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMMM dd', { locale: es })"\n    />\n  </div>\n</div>\n

With timepicker

This example demonstrates how to integrate a timepicker into a date range picker using the timepicker property.

', 3); +const _hoisted_132 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-6">\n    <CDateRangePicker\n      startDate="2022/08/03"\n      endDate="2022/08/17"\n      label="Date range"\n      locale="en-US"\n      :inputDateParse="(date) => parse(date, 'MMMM dd, yyyy', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMMM dd, yyyy')"\n    />\n  </div>\n  <div class="col-lg-6">\n    <CDateRangePicker\n      startDate="2022/08/03"\n      endDate="2022/08/17"\n      label="Rango de fechas"\n      locale="es-ES"\n      :placeholder="['Fecha de inicio', 'Fecha de fin']"\n      :inputDateParse="(date) => parse(date, 'yyyy MMMM dd', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMMM dd', { locale: es })"\n    />\n  </div>\n</div>\n

With timepicker #

This example demonstrates how to integrate a timepicker into a date range picker using the timepicker property.

', 3); const _hoisted_135 = { class: "docs-example rounded-top p-4" }; const _hoisted_136 = { class: "row" }; const _hoisted_137 = { class: "col-lg-8 mb-3" }; const _hoisted_138 = { class: "col-lg-8" }; -const _hoisted_139 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-8 mb-3">\n    <CDateRangePicker\n      startDate="2022/08/03 02:34:17 AM"\n      endDate="2022/09/17 11:29:41 PM"\n      label="Date range"\n      locale="en-US"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'MMM dd, yyyy h:mm:ss a', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMM dd, yyyy h:mm:ss a')"\n    />\n  </div>\n  <div class="col-lg-8">\n    <CDateRangePicker\n      startDate="2022/08/03 02:34:17 AM"\n      endDate="2022/09/17 11:29:41 PM"\n      label="Rango de fechas"\n      locale="es-ES"\n      :placeholder="['Fecha de inicio', 'Fecha de fin']"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'yyyy MMM dd h:mm:ss a', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMM dd h:mm:ss a', { locale: es })"\n    />\n  </div>\n</div>\n

Customizing

CSS variables

Vue date range pickers use local CSS variables on .date-picker and .calendar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_143 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDateRangePicker :style="vars">...</CDateRangePicker>\n

SASS variables

', 3); -const _hoisted_146 = /* @__PURE__ */ createStaticVNode('

API

CDateRangePicker

import { CDateRangePicker } from '@coreui/vue-pro'\n// or\nimport CDateRangePicker from '@coreui/vue-pro/src/components/date-range-picker/CDateRangePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
calendarsThe number of calendars that render on desktop devices.number-2
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
close-on-select
4.7.0+
If true the dropdown will be immediately closed after submitting the full date.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).date|string--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the IDs unique. Alternatively, you can use an array of two strings for start and end dates separately.

[Deprecated since v5.3.0] If the property is a type of string, the name attributes for input elements are generated based on this property until you define name prop ex.:
- {id}-start-date
- {id}-end-date
string | [string, string]--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the names unique. Alternatively, you can use an array of two strings for start and end dates separately.

Example for single string: 'date-input'
Result: 'date-input-start-date', 'date-input-end-date'

Example for array: ['start-date-input', 'end-date-input']
Result: 'start-date-input', 'end-date-input'
string | [string, string]--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string | [string, string]-() => ['Start date', 'End date']
rangesPredefined date ranges the user can select from.object--
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
separatorDefault icon or character character that separates two dates.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
start-dateInitial selected date.date|string--
text
4.6.0+
Add helper text to the component.string--
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
today-buttonToggle visibility or set the content of today button.boolean|string-'Today'
today-button-colorSets the color context of the today button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
today-button-sizeSize the today button small or large.string'sm', 'lg''sm'
today-button-variantSet the today button variant to an outlined button or a ghost button.string'ghost', 'outline'-
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
visibleToggle the visibility of the component.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events

Event nameDescriptionProperties
end-date-changeCallback fired when the end date changed.date Date - date object
formatedDate string - formated date
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
start-date-changeCallback fired when the start date changed.date Date - date object
formatedDate string - formated date
update:start-dateCallback fired when the start date changed.date Date | null - date object
update:end-dateCallback fired when the end date changed.date Date | null - date object
', 7); +const _hoisted_139 = /* @__PURE__ */ createStaticVNode('
<div class="row">\n  <div class="col-lg-8 mb-3">\n    <CDateRangePicker\n      startDate="2022/08/03 02:34:17 AM"\n      endDate="2022/09/17 11:29:41 PM"\n      label="Date range"\n      locale="en-US"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'MMM dd, yyyy h:mm:ss a', new Date())"\n      :inputDateFormat="(date) => format(new Date(date), 'MMM dd, yyyy h:mm:ss a')"\n    />\n  </div>\n  <div class="col-lg-8">\n    <CDateRangePicker\n      startDate="2022/08/03 02:34:17 AM"\n      endDate="2022/09/17 11:29:41 PM"\n      label="Rango de fechas"\n      locale="es-ES"\n      :placeholder="['Fecha de inicio', 'Fecha de fin']"\n      timepicker\n      :inputDateParse="(date) => parse(date, 'yyyy MMM dd h:mm:ss a', new Date(), { locale: es })"\n      :inputDateFormat="(date) => format(new Date(date), 'yyyy MMM dd h:mm:ss a', { locale: es })"\n    />\n  </div>\n</div>\n

Customizing #

CSS variables #

Vue date range pickers use local CSS variables on .date-picker and .calendar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_143 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDateRangePicker :style="vars">...</CDateRangePicker>\n

SASS variables #

', 3); +const _hoisted_146 = /* @__PURE__ */ createStaticVNode('

API #

CDateRangePicker #

import { CDateRangePicker } from '@coreui/vue-pro'\n// or\nimport CDateRangePicker from '@coreui/vue-pro/src/components/date-range-picker/CDateRangePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
aria-nav-next-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next month in the calendar. This label is read by screen readers to describe the action associated with the button.string-'Next month'
aria-nav-next-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the next year in the calendar. This label is intended for screen readers to help users understand the button's functionality.string-'Next year'
aria-nav-prev-month-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous month in the calendar. Screen readers will use this label to explain the purpose of the button.string-'Previous month'
aria-nav-prev-year-label
5.4.0+
A string that provides an accessible label for the button that navigates to the previous year in the calendar. This label helps screen reader users understand the button's function.string-'Previous year'
calendarsThe number of calendars that render on desktop devices.number-2
calendar-dateDefault date of the componentdate|string--
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
close-on-select
4.7.0+
If true the dropdown will be immediately closed after submitting the full date.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
day-format
4.6.0+
Set the format of day name.
@default 'numeric'
func|string-'numeric'
disabledToggle the disabled state for the component.boolean--
disabled-datesSpecify the list of dates that cannot be selected.Date[] | Date[][]--
end-dateInitial selected to date (range).date|string--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
first-day-of-weekSets the day of start week.
- 0 - Sunday,
- 1 - Monday,
- 2 - Tuesday,
- 3 - Wednesday,
- 4 - Thursday,
- 5 - Friday,
- 6 - Saturday,
number-1
formatSet date format.
We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
string--
footerToggle visibility of footer element or set the content of footer.boolean--
idThe id attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the IDs unique. Alternatively, you can use an array of two strings for start and end dates separately.

[Deprecated since v5.3.0] If the property is a type of string, the name attributes for input elements are generated based on this property until you define name prop ex.:
- {id}-start-date
- {id}-end-date
string | [string, string]--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-date-format
v5.0.0+
Custom function to format the selected date into a string according to a custom format.func--
input-date-parse
v5.0.0+
Custom function to parse the input value into a valid Date object.func--
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string-'default'
max-dateMax selectable date.date|string--
min-dateMin selectable date.date|string--
name
5.3.0+
The name attribute for the input elements. It can be a single string for both the start and end dates. If a single string is used, the postfix "-start-date" and "-end-date" will be automatically added to make the names unique. Alternatively, you can use an array of two strings for start and end dates separately.

Example for single string: 'date-input'
Result: 'date-input-start-date', 'date-input-end-date'

Example for array: ['start-date-input', 'end-date-input']
Result: 'start-date-input', 'end-date-input'
string | [string, string]--
navigationShow arrows navigation.boolean-true
nav-year-first
4.6.0+
Reorder year-month navigation, and render year first.boolean--
placeholderSpecifies a short hint that is visible in the input.string | [string, string]-() => ['Start date', 'End date']
rangesPredefined date ranges the user can select from.object--
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
select-end-dateToggle select mode between start and end date.boolean--
select-adjacement-days
4.9.0+
Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the showAdjacementDays option is set to true.boolean--
selection-type
5.0.0+
Specify the type of date selection as day, week, month, or year.stringday, week, month, year'day'
show-adjacement-days
4.9.0+
Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.boolean-true
show-week-number
5.0.0+
Set whether to display week numbers in the calendar.boolean--
separatorDefault icon or character character that separates two dates.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
start-dateInitial selected date.date|string--
text
4.6.0+
Add helper text to the component.string--
timepickerProvide an additional time selection by adding select boxes to choose times.boolean--
today-buttonToggle visibility or set the content of today button.boolean|string-'Today'
today-button-colorSets the color context of the today button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
today-button-sizeSize the today button small or large.string'sm', 'lg''sm'
today-button-variantSet the today button variant to an outlined button or a ghost button.string'ghost', 'outline'-
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
visibleToggle the visibility of the component.boolean--
weekday-formatSet length or format of day name.
@type number | 'long' | 'narrow' | 'short'
func|number|string-2
week-numbers-label
5.0.0+
Label displayed over week numbers in the calendar.string--

Events #

Event nameDescriptionProperties
end-date-changeCallback fired when the end date changed.date Date - date object
formatedDate string - formated date
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
start-date-changeCallback fired when the start date changed.date Date - date object
formatedDate string - formated date
update:start-dateCallback fired when the start date changed.date Date | null - date object
update:end-dateCallback fired when the end date changed.date Date | null - date object
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CDateRangePicker = resolveComponent("CDateRangePicker"); const _component_Callout = resolveComponent("Callout"); @@ -381,7 +377,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { locale: "en-US", maxDate: $setup.maxDate, minDate: $setup.minDate - }, null, 8, ["calendarDate", "disabledDates", "maxDate", "minDate"]) + }, null, 8, ["calendarDate", "maxDate", "minDate"]) ]) ]) ]), @@ -389,7 +385,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createBaseVNode("div", _hoisted_79, [ createBaseVNode("div", _hoisted_80, [ createBaseVNode("div", _hoisted_81, [ - createVNode(_component_CDateRangePicker, { ranges: $setup.customRanges }, null, 8, ["ranges"]) + createVNode(_component_CDateRangePicker, { ranges: $setup.customRanges }) ]) ]) ]), diff --git a/vue/docs/assets/download.html-91eC3PyH.js b/vue/docs/assets/download.html-91eC3PyH.js deleted file mode 100644 index b646d93c48b..00000000000 --- a/vue/docs/assets/download.html-91eC3PyH.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Source files

Compile CoreUI Vue Admin with your own asset pipeline by downloading our source Sass, and JavaScript files. This option requires some additional tooling:

  • Vue, Vue CLI
  • Sass compiler for compiling your CSS.

Download


PRO Templates

If you have a valid PRO license you can re-download on our website. In case if your license has been expired, or you don't have a PRO license please visit our website to buy one.

Download PRO  Buy PRO


Clone repo

You can also fork CoreUI Vue Admin Template's repository.

git clone https://github.com/coreui/coreui-free-vue-admin-template.git my-project\n

If you have a valid Enterprise subscription you can fork CoreUI PRO Bootstrap Admin Template's repository.

git clone https://github.com/coreui/coreui-pro-vue-admin-template.git my-project\n
', 14); -const _hoisted_15 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_15); -} -const download_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "download.html.vue"]]); -const data = JSON.parse('{"path":"/templates/download.html","title":"Download vue templates","lang":"en-US","frontmatter":{"title":"Download vue templates","name":"Download vue templates","description":"Download CoreUI Vue Admin Templates to get the source code that lets you customize and create your vue-based application.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/download.html"}]]},"headers":[{"level":2,"title":"Source files","slug":"source-files","link":"#source-files","children":[{"level":3,"title":"PRO Templates","slug":"pro-templates","link":"#pro-templates","children":[]},{"level":3,"title":"Clone repo","slug":"clone-repo","link":"#clone-repo","children":[]}]}],"filePathRelative":"templates/download.md"}'); -export { - download_html as comp, - data -}; diff --git a/vue/docs/assets/download.html-B0ATzToD.js b/vue/docs/assets/download.html-B0ATzToD.js new file mode 100644 index 00000000000..cfa6cc3c660 --- /dev/null +++ b/vue/docs/assets/download.html-B0ATzToD.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Source files #

Compile CoreUI Vue Admin with your own asset pipeline by downloading our source Sass, and JavaScript files. This option requires some additional tooling:

  • Vue, Vue CLI
  • Sass compiler for compiling your CSS.

Download


PRO Templates #

If you have a valid PRO license you can re-download on our website. In case if your license has been expired, or you don't have a PRO license please visit our website to buy one.

Download PRO  Buy PRO


Clone repo #

You can also fork CoreUI Vue Admin Template's repository.

git clone https://github.com/coreui/coreui-free-vue-admin-template.git my-project\n

If you have a valid Enterprise subscription you can fork CoreUI PRO Bootstrap Admin Template's repository.

git clone https://github.com/coreui/coreui-pro-vue-admin-template.git my-project\n
', 14); +const _hoisted_15 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_15); +} +const download_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "download.html.vue"]]); +const data = JSON.parse('{"path":"/templates/download.html","title":"Download vue templates","lang":"en-US","frontmatter":{"title":"Download vue templates","name":"Download vue templates","description":"Download CoreUI Vue Admin Templates to get the source code that lets you customize and create your vue-based application.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/download.html"}]]},"headers":[{"level":2,"title":"Source files","slug":"source-files","link":"#source-files","children":[{"level":3,"title":"PRO Templates","slug":"pro-templates","link":"#pro-templates","children":[]},{"level":3,"title":"Clone repo","slug":"clone-repo","link":"#clone-repo","children":[]}]}],"filePathRelative":"templates/download.md"}'); +export { + download_html as comp, + data +}; diff --git a/vue/docs/assets/dropdown.html-D58fBbQW.js b/vue/docs/assets/dropdown.html-C4NgwOey.js similarity index 88% rename from vue/docs/assets/dropdown.html-D58fBbQW.js rename to vue/docs/assets/dropdown.html-C4NgwOey.js index dd552d37cc5..0dd619f86e5 100644 --- a/vue/docs/assets/dropdown.html-D58fBbQW.js +++ b/vue/docs/assets/dropdown.html-C4NgwOey.js @@ -1,22 +1,22 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, F as Fragment, j as renderList, a as createStaticVNode, f as createTextVNode, t as toDisplayString } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, F as Fragment, h as renderList, a as createStaticVNode, f as createTextVNode, t as toDisplayString } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview

Dropdowns are toggleable, contextual overlays for displaying lists of links and more.

Dropdowns are built on a third party library, Popper.js, which provides dynamic positioning and viewport detection. Popper.js isn't used to position dropdowns in navbars though as dynamic positioning isn't required.

Examples

Bind the dropdown's toggle and the dropdown menu inside <CDropdown>, or different element that declares position: relative;. Dropdowns can be triggered from <a> or <button> elements to better fit your possible requirements.

Single button

Here's how you can put them to work with either <button> elements:

', 7); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview #

Dropdowns are toggleable, contextual overlays for displaying lists of links and more.

Dropdowns are built on a third party library, Popper.js, which provides dynamic positioning and viewport detection. Popper.js isn't used to position dropdowns in navbars though as dynamic positioning isn't required.

Examples #

Bind the dropdown's toggle and the dropdown menu inside <CDropdown>, or different element that declares position: relative;. Dropdowns can be triggered from <a> or <button> elements to better fit your possible requirements.

Single button #

Here's how you can put them to work with either <button> elements:

', 7); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CDropdown>\n  <CDropdownToggle color="primary">Dropdown Button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

And with <a> elements:

', 2); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" togglerText="Dropdown button">\n  <CDropdownToggle as="a" color="primary">Dropdown Button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n  </CDropdownMenu>  \n</CDropdown>\n

The best part is you can do this with any button variant, too:

', 2); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['primary', 'secondary', 'success', 'info', 'warning', 'danger']">\n  <CDropdown :color="item" :togglerText="item" variant="btn-group">\n    <CDropdownToggle :color="item">{{togglerText}}</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</template>\n

Split button

Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of boolean prop split for proper spacing around the dropdown caret.

We use this extra class to reduce the horizontal padding on either side of the caret by 25% and remove the margin-left that's attached for normal button dropdowns. Those additional changes hold the caret centered in the split button and implement a more properly sized hit area next to the main button.

', 4); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['primary', 'secondary', 'success', 'info', 'warning', 'danger']">\n  <CDropdown :color="item" :togglerText="item" variant="btn-group">\n    <CDropdownToggle :color="item">{{togglerText}}</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</template>\n

Split button #

Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of boolean prop split for proper spacing around the dropdown caret.

We use this extra class to reduce the horizontal padding on either side of the caret by 25% and remove the margin-left that's attached for normal button dropdowns. Those additional changes hold the caret centered in the split button and implement a more properly sized hit area next to the main button.

', 4); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['primary', 'secondary', 'success', 'info', 'warning', 'danger']">\n  <CDropdown :color="item" :togglerText="item" variant="btn-group">\n    <CButton :color="item">{{ item }}</CButton>\n    <CDropdownToggle :color="item" split>{{item}}</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</template>\n

Sizing

Button dropdowns work with buttons of all sizes, including default and split dropdown buttons.

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['primary', 'secondary', 'success', 'info', 'warning', 'danger']">\n  <CDropdown :color="item" :togglerText="item" variant="btn-group">\n    <CButton :color="item">{{ item }}</CButton>\n    <CDropdownToggle :color="item" split>{{item}}</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</template>\n

Sizing #

Button dropdowns work with buttons of all sizes, including default and split dropdown buttons.

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CDropdown variant="btn-group">\n  <CDropdownToggle color="secondary" size="lg">Large button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown variant="btn-group">\n  <CButton color="secondary" size="lg">Large split button</CButton>\n  <CDropdownToggle color="secondary" size="lg" split>Large button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n
', 1); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CDropdown variant="btn-group">\n  <CDropdownToggle color="secondary" size="sm">Small button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown variant="btn-group">\n  <CButton color="secondary" size="sm">Small split button</CButton>\n  <CDropdownToggle color="secondary" size="sm" split>Small button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dark dropdowns

Opt into darker dropdowns to match a dark navbar or custom style by set dark property. No changes are required to the dropdown items.

', 3); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CDropdown variant="btn-group">\n  <CDropdownToggle color="secondary" size="sm">Small button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown variant="btn-group">\n  <CButton color="secondary" size="sm">Small split button</CButton>\n  <CDropdownToggle color="secondary" size="sm" split>Small button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dark dropdowns #

Opt into darker dropdowns to match a dark navbar or custom style by set dark property. No changes are required to the dropdown items.

', 3); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" dark>\n  <CDropdownToggle color="primary">Dropdown Button</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

And putting it to use in a navbar:

', 2); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="dark" class="bg-dark">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarNav>\n      <CDropdown dark variant="nav-item">\n        <CDropdownToggle color="dark" :navLink="false">Dropdown Button</CDropdownToggle>\n        <CDropdownMenu>\n          <CDropdownItem href="#">Action</CDropdownItem>\n          <CDropdownItem href="#">Another action</CDropdownItem>\n          <CDropdownItem href="#">Something else here</CDropdownItem>\n          <CDropdownDivider/>\n          <CDropdownItem href="#">Separated link</CDropdownItem>\n        </CDropdownMenu>\n      </CDropdown>\n    </CNavbarNav>\n  </CContainer>\n</CNavbar>\n

Directions

', 2); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="dark" class="bg-dark">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarNav>\n      <CDropdown dark variant="nav-item">\n        <CDropdownToggle color="dark" :navLink="false">Dropdown Button</CDropdownToggle>\n        <CDropdownMenu>\n          <CDropdownItem href="#">Action</CDropdownItem>\n          <CDropdownItem href="#">Another action</CDropdownItem>\n          <CDropdownItem href="#">Something else here</CDropdownItem>\n          <CDropdownDivider/>\n          <CDropdownItem href="#">Separated link</CDropdownItem>\n        </CDropdownMenu>\n      </CDropdown>\n    </CNavbarNav>\n  </CContainer>\n</CNavbar>\n

Directions #

', 2); const _hoisted_35 = /* @__PURE__ */ createBaseVNode("h3", { id: "centered", tabindex: "-1" @@ -24,8 +24,7 @@ const _hoisted_35 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Centered "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#centered", - "aria-hidden": "true" + href: "#centered" }, "#") ], -1); const _hoisted_36 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -36,40 +35,40 @@ const _hoisted_36 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" component.") ], -1); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; -const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="center">\n  <CDropdownToggle color="secondary">Centered dropdown</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropup

Trigger dropdown menus above elements by adding direction="dropup" to the <CDropdown> component.

', 3); +const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="center">\n  <CDropdownToggle color="secondary">Centered dropdown</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropup #

Trigger dropdown menus above elements by adding direction="dropup" to the <CDropdown> component.

', 3); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropup">\n  <CDropdownToggle color="secondary">Dropup</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown color="secondary" direction="dropup">\n  <CButton color="secondary">Split dropup</CButton>\n  <CDropdownToggle color="secondary" split/>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropup centered

Make the dropup menu centered above the toggle by adding direction="dropup-center" to the <CDropdown> component.

', 3); +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropup">\n  <CDropdownToggle color="secondary">Dropup</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown color="secondary" direction="dropup">\n  <CButton color="secondary">Split dropup</CButton>\n  <CDropdownToggle color="secondary" split/>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropup centered #

Make the dropup menu centered above the toggle by adding direction="dropup-center" to the <CDropdown> component.

', 3); const _hoisted_45 = { class: "docs-example rounded-top p-4" }; -const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropup-center">\n  <CDropdownToggle color="secondary">Centered dropup</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropend

Trigger dropdown menus at the right of the elements by adding direction="dropend" to the <CDropdown> component.

', 3); +const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropup-center">\n  <CDropdownToggle color="secondary">Centered dropup</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropend #

Trigger dropdown menus at the right of the elements by adding direction="dropend" to the <CDropdown> component.

', 3); const _hoisted_49 = { class: "docs-example rounded-top p-4" }; -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropend">\n  <CDropdownToggle color="secondary">Dropend</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown color="secondary" direction="dropend">\n  <CButton color="secondary">Split dropend</CButton>\n  <CDropdownToggle color="secondary" split/>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropstart

Trigger dropdown menus at the left of the elements by adding direction="dropstart" to the <CDropdown> component.

', 3); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropend">\n  <CDropdownToggle color="secondary">Dropend</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CDropdown color="secondary" direction="dropend">\n  <CButton color="secondary">Split dropend</CButton>\n  <CDropdownToggle color="secondary" split/>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Dropstart #

Trigger dropdown menus at the left of the elements by adding direction="dropstart" to the <CDropdown> component.

', 3); const _hoisted_53 = { class: "docs-example rounded-top p-4" }; -const _hoisted_54 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropstart">\n  <CDropdownToggle color="secondary">Dropstart</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CButtonGroup>\n  <CDropdown color="secondary" direction="dropstart">\n    <CDropdownToggle color="secondary" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CButton color="secondary">Split dropstart</CButton>\n</CButtonGroup>\n

Responsive alignment

If you use responsive alignment, dynamic positioning is disabled.

To align right the dropdown menu with the given breakpoint or larger, add aligment="xs|sm|md|lg|xl|xxl: end".

', 4); +const _hoisted_54 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" direction="dropstart">\n  <CDropdownToggle color="secondary">Dropstart</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n<CButtonGroup>\n  <CDropdown color="secondary" direction="dropstart">\n    <CDropdownToggle color="secondary" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CButton color="secondary">Split dropstart</CButton>\n</CButtonGroup>\n

Responsive alignment #

If you use responsive alignment, dynamic positioning is disabled.

To align right the dropdown menu with the given breakpoint or larger, add aligment="xs|sm|md|lg|xl|xxl: end".

', 4); const _hoisted_58 = { class: "docs-example rounded-top p-4" }; const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" :alignment="{ 'lg': 'end' }">\n  <CDropdownToggle color="secondary">Left-aligned but right aligned when large screen</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

To align left the dropdown menu with the given breakpoint or larger, add aligment="xs|sm|md|lg|xl|xxl: start".

', 2); const _hoisted_61 = { class: "docs-example rounded-top p-4" }; -const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" :alignment="{ 'xs': 'end', 'lg': 'start' }">\n  <CDropdownToggle color="secondary">Right-aligned but left aligned when large screen</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Headers

Add a header to label sections of actions in any dropdown menu.

In the following example we use div instead of <CDropdownMenu> to show <CDropdownMenu> content.

', 5); +const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CDropdown color="secondary" :alignment="{ 'xs': 'end', 'lg': 'start' }">\n  <CDropdownToggle color="secondary">Right-aligned but left aligned when large screen</CDropdownToggle>\n  <CDropdownMenu>\n    <CDropdownItem href="#">Action</CDropdownItem>\n    <CDropdownItem href="#">Another action</CDropdownItem>\n    <CDropdownItem href="#">Something else here</CDropdownItem>\n    <CDropdownDivider/>\n    <CDropdownItem href="#">Separated link</CDropdownItem>\n  </CDropdownMenu>\n</CDropdown>\n

Headers #

Add a header to label sections of actions in any dropdown menu.

In the following example we use div instead of <CDropdownMenu> to show <CDropdownMenu> content.

', 5); const _hoisted_67 = { class: "docs-example rounded-top p-4" }; const _hoisted_68 = { class: "dropdown-menu" }; -const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CDropdownHeader>Dropdown header</CDropdownHeader>\n<CDropdownItem href="#">Action</CDropdownItem>\n<CDropdownItem href="#">Another action</CDropdownItem>\n

Dividers

Separate groups of related menu items with a divider.

In the following example we use div instead of <CDropdownMenu> to show <CDropdownMenu> content.

', 4); +const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<CDropdownHeader>Dropdown header</CDropdownHeader>\n<CDropdownItem href="#">Action</CDropdownItem>\n<CDropdownItem href="#">Another action</CDropdownItem>\n

Dividers #

Separate groups of related menu items with a divider.

In the following example we use div instead of <CDropdownMenu> to show <CDropdownMenu> content.

', 4); const _hoisted_73 = { class: "docs-example rounded-top p-4" }; const _hoisted_74 = { class: "dropdown-menu" }; -const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<CDropdownItem href="#">Action</CDropdownItem>\n<CDropdownItem href="#">Another action</CDropdownItem>\n<CDropdownItem href="#">Something else here</CDropdownItem>\n<CDropdownDivider/>\n<CDropdownItem href="#">Separated link</CDropdownItem>\n

Text

Place any freeform text within a dropdown menu with text. Note that you'll likely need additional sizing styles to constrain the menu width.

Some example text that's free-flowing within the dropdown menu.

And this is more example text.

<p>\n  Some example text that's free-flowing within the dropdown menu.\n</p>\n<p class="mb-0">\n  And this is more example text.\n</p>\n

Forms

Put a form within a dropdown menu, or make it into a dropdown menu.

', 7); +const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<CDropdownItem href="#">Action</CDropdownItem>\n<CDropdownItem href="#">Another action</CDropdownItem>\n<CDropdownItem href="#">Something else here</CDropdownItem>\n<CDropdownDivider/>\n<CDropdownItem href="#">Separated link</CDropdownItem>\n

Text #

Place any freeform text within a dropdown menu with text. Note that you'll likely need additional sizing styles to constrain the menu width.

Some example text that's free-flowing within the dropdown menu.

And this is more example text.

<p>\n  Some example text that's free-flowing within the dropdown menu.\n</p>\n<p class="mb-0">\n  And this is more example text.\n</p>\n

Forms #

Put a form within a dropdown menu, or make it into a dropdown menu.

', 7); const _hoisted_82 = { class: "docs-example rounded-top p-4" }; const _hoisted_83 = { class: "dropdown-menu" }; const _hoisted_84 = { class: "mb-3" }; const _hoisted_85 = { class: "mb-3" }; const _hoisted_86 = { class: "mb-3" }; -const _hoisted_87 = /* @__PURE__ */ createStaticVNode('
<CForm class="px-4 py-4">\n  <div class="mb-3">\n    <CFormLabel for="exampleDropdownFormEmail1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleDropdownFormEmail1" placeholder="email@example.com"/>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleDropdownFormPassword1">Password</CFormLabel>\n    <CFormInput type="password" id="exampleDropdownFormPassword1" placeholder="Password"/>\n  </div>\n  <div class="mb-3">\n    <CFormCheck id="dropdownCheck" label="Remember me"/>\n  </div>\n  <CButton color="primary" type="submit">Sign in</CButton>\n</CForm>\n<CDropdownDivider/>\n<CDropdownItem href="#">New around here? Sign up</CDropdownItem>\n<CDropdownItem href="#">Forgot password?</CDropdownItem>\n

Customizing

CSS variables

Vue dropdowns use local CSS variables on .dropdown for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_87 = /* @__PURE__ */ createStaticVNode('
<CForm class="px-4 py-4">\n  <div class="mb-3">\n    <CFormLabel for="exampleDropdownFormEmail1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleDropdownFormEmail1" placeholder="email@example.com"/>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleDropdownFormPassword1">Password</CFormLabel>\n    <CFormInput type="password" id="exampleDropdownFormPassword1" placeholder="Password"/>\n  </div>\n  <div class="mb-3">\n    <CFormCheck id="dropdownCheck" label="Remember me"/>\n  </div>\n  <CButton color="primary" type="submit">Sign in</CButton>\n</CForm>\n<CDropdownDivider/>\n<CDropdownItem href="#">New around here? Sign up</CDropdownItem>\n<CDropdownItem href="#">Forgot password?</CDropdownItem>\n

Customizing #

CSS variables #

Vue dropdowns use local CSS variables on .dropdown for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); const _hoisted_91 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("Customization through CSS variables can be seen on the "), /* @__PURE__ */ createBaseVNode("code", null, ".dropdown-menu-dark"), /* @__PURE__ */ createTextVNode(" class where we override specific values without adding duplicate CSS selectors.") ], -1); -const _hoisted_92 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDropdown :style="vars">...</CDropdown>\n

SASS variables

', 3); +const _hoisted_92 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CDropdown :style="vars">...</CDropdown>\n

SASS variables #

', 3); const _hoisted_95 = /* @__PURE__ */ createBaseVNode("p", null, "Variables for the dark dropdown:", -1); const _hoisted_96 = /* @__PURE__ */ createBaseVNode("p", null, "Variables for the CSS-based carets that indicate a dropdown's interactivity:", -1); -const _hoisted_97 = /* @__PURE__ */ createStaticVNode('

API

CDropdown

import { CDropdown } from '@coreui/vue'\n// or\nimport CDropdown from '@coreui/vue/src/components/dropdown/CDropdown'\n

Props

Prop nameDescriptionTypeValuesDefault
alignmentSet aligment of dropdown menu.string | Alignments{ 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }-
auto-closeConfigure the auto close behavior of the dropdown:
- true - the dropdown will be closed by clicking outside or inside the dropdown menu.
- false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)
- 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu.
- 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu.
boolean|string-true
container
v5.0.0+
Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
darkSets a darker color scheme to match a dark navbar.boolean--
directionSets a specified direction and location of the dropdown menu.string'center', 'dropup', 'dropup-center', 'dropend', 'dropstart'-
disabledToggle the disabled state for the component.boolean--
offset
4.9.0+
Offset of the dropdown menu relative to its target.array-[0, 2]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement'auto', 'top-end', 'top', 'top-start', 'bottom-end', 'bottom', 'bottom-start', 'right-start', 'right', 'right-end', 'left-start', 'left', 'left-end''bottom-start'
popperIf you want to disable dynamic positioning set this property to true.boolean-true
teleport
v5.0.0+
Generates dropdown menu using Teleport.boolean-false
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers-'click'
variantSet the dropdown variant to an btn-group, dropdown, input-group, and nav-item.string'btn-group', 'dropdown', 'input-group', 'nav-item''btn-group'
visibleToggle the visibility of dropdown menu component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

CDropdownHeader

import { CDropdownHeader } from '@coreui/vue'\n// or\nimport CDropdownHeader from '@coreui/vue/src/components/dropdown/CDropdownHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'

CDropdownItem

import { CDropdownItem } from '@coreui/vue'\n// or\nimport CDropdownItem from '@coreui/vue/src/components/dropdown/CDropdownItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--

CDropdownMenu

import { CDropdownMenu } from '@coreui/vue'\n// or\nimport CDropdownMenu from '@coreui/vue/src/components/dropdown/CDropdownMenu'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string'div', 'ul''div'

CDropdownToggle

import { CDropdownToggle } from '@coreui/vue'\n// or\nimport CDropdownToggle from '@coreui/vue/src/components/dropdown/CDropdownToggle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
caretEnables pseudo element caret on toggler.boolean-true
customCreate a custom toggler which accepts any content.boolean--
disabledToggle the disabled state for the component.boolean--
nav-link
v5.0.0+
If a dropdown variant is set to nav-item then render the toggler as a link instead of a button.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
splitSimilarly, 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.boolean--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
@type 'hover' | 'focus' | 'click'
Triggers-'click'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-
', 23); +const _hoisted_97 = /* @__PURE__ */ createStaticVNode('

API #

CDropdown #

import { CDropdown } from '@coreui/vue'\n// or\nimport CDropdown from '@coreui/vue/src/components/dropdown/CDropdown'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignmentSet aligment of dropdown menu.string | Alignments{ 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'} }-
auto-closeConfigure the auto close behavior of the dropdown:
- true - the dropdown will be closed by clicking outside or inside the dropdown menu.
- false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)
- 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu.
- 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu.
boolean|string-true
container
5.0.0+
Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
darkSets a darker color scheme to match a dark navbar.boolean--
directionSets a specified direction and location of the dropdown menu.string'center', 'dropup', 'dropup-center', 'dropend', 'dropstart'-
disabledToggle the disabled state for the component.boolean--
offset
4.9.0+
Offset of the dropdown menu relative to its target.array-[0, 2]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement'auto', 'top-end', 'top', 'top-start', 'bottom-end', 'bottom', 'bottom-start', 'right-start', 'right', 'right-end', 'left-start', 'left', 'left-end''bottom-start'
popperIf you want to disable dynamic positioning set this property to true.boolean-true
teleport
5.0.0+
Generates dropdown menu using Teleport.boolean-false
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers-'click'
variantSet the dropdown variant to an btn-group, dropdown, input-group, and nav-item.string'btn-group', 'dropdown', 'input-group', 'nav-item''btn-group'
visibleToggle the visibility of dropdown menu component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

CDropdownHeader #

import { CDropdownHeader } from '@coreui/vue'\n// or\nimport CDropdownHeader from '@coreui/vue/src/components/dropdown/CDropdownHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h6'

CDropdownItem #

import { CDropdownItem } from '@coreui/vue'\n// or\nimport CDropdownItem from '@coreui/vue/src/components/dropdown/CDropdownItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--

CDropdownMenu #

import { CDropdownMenu } from '@coreui/vue'\n// or\nimport CDropdownMenu from '@coreui/vue/src/components/dropdown/CDropdownMenu'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string'div', 'ul''div'

CDropdownToggle #

import { CDropdownToggle } from '@coreui/vue'\n// or\nimport CDropdownToggle from '@coreui/vue/src/components/dropdown/CDropdownToggle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'button'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
caretEnables pseudo element caret on toggler.boolean-true
customCreate a custom toggler which accepts any content.boolean--
disabledToggle the disabled state for the component.boolean--
nav-link
5.0.0+
If a dropdown variant is set to nav-item then render the toggler as a link instead of a button.boolean-true
sizeSize the component small or large.string'sm', 'lg'-
splitSimilarly, 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.boolean--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
@type 'hover' | 'focus' | 'click'
Triggers-'click'
variantSet the button variant to an outlined button or a ghost button.string'ghost', 'outline'-
', 23); function _sfc_render(_ctx, _cache) { const _component_CDropdownToggle = resolveComponent("CDropdownToggle"); const _component_CDropdownItem = resolveComponent("CDropdownItem"); diff --git a/vue/docs/assets/floating-labels.html-OoHunpjU.js b/vue/docs/assets/floating-labels.html-CCkOOAc0.js similarity index 96% rename from vue/docs/assets/floating-labels.html-OoHunpjU.js rename to vue/docs/assets/floating-labels.html-CCkOOAc0.js index 7e1acb3c507..e4520fa026b 100644 --- a/vue/docs/assets/floating-labels.html-OoHunpjU.js +++ b/vue/docs/assets/floating-labels.html-CCkOOAc0.js @@ -1,28 +1,28 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example

Use floatingLabel property on <CFormInput>, <CFormSelect> or <CFormTextarea> to enable floating labels with textual form fields. A placeholder is required on each <CFormInput>, <CFormSelect> and <CFormTextarea> as our method of CSS-only floating labels uses the :placeholder-shown pseudo-element.

', 2); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example #

Use floatingLabel property on <CFormInput>, <CFormSelect> or <CFormTextarea> to enable floating labels with textual form fields. A placeholder is required on each <CFormInput>, <CFormSelect> and <CFormTextarea> as our method of CSS-only floating labels uses the :placeholder-shown pseudo-element.

', 2); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="email" id="floatingInput" floatingLabel="Email address" placeholder="name@example.com" />\n<CFormInput type="password" id="floatingPassword" floatingLabel="Password" placeholder="Password" />\n

You can create the same form control by wrapping a pair of <CFormInput> and <CFormLabel> elements in <CFormFloating> to enable floating labels with textual form fields. A placeholder is required on each <CFormInput> as our method of CSS-only floating labels uses the :placeholder-shown pseudo-element. Also, note that the <CFormInput> must come first so we can utilize a sibling selector (e.g., ~).

<CFormFloating class="mb-3">\n  <CFormInput type="email" id="floatingInput" placeholder="name@example.com" />\n  <CFormLabel for="floatingInput">Email address</CFormLabel>\n</CFormFloating>\n<CFormFloating>\n  <CFormInput type="password" id="floatingPassword" placeholder="Password" />\n  <CFormLabel for="exampleFormControlPassword">Password</CFormLabel>\n</CFormFloating>\n

When there's a value already defined, <CFormLabel>s will automatically adjust to their floated position.

', 4); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormInput\n    type="email"\n    id="floatingInputValue"\n    floatingLabel="Input with value"\n    placeholder="name@example.com"\n    value="test@example.com"\n  />\n</CFormFloating>\n

Form validation styles also work as expected.

', 2); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormInput\n  class="mb-3"\n  type="email"\n  id="floatingInputInvalid"\n  floatingLabel="Email addresss"\n  placeholder="name@example.com"\n  valid\n  value="test@example.com"\n/>\n<CFormInput\n  type="email"\n  id="floatingInputInvalid"\n  invalid\n  floatingLabel="Email addresss"\n  placeholder="name@example.com"\n  value="test@example.com"\n/>\n

Textareas

By default, <CFormTextarea>s will be the same height as <CFormInput>s.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormInput\n  class="mb-3"\n  type="email"\n  id="floatingInputInvalid"\n  floatingLabel="Email addresss"\n  placeholder="name@example.com"\n  valid\n  value="test@example.com"\n/>\n<CFormInput\n  type="email"\n  id="floatingInputInvalid"\n  invalid\n  floatingLabel="Email addresss"\n  placeholder="name@example.com"\n  value="test@example.com"\n/>\n

Textareas #

By default, <CFormTextarea>s will be the same height as <CFormInput>s.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormTextarea\n    id="floatingTextarea"\n    floatingLabel="Comments"\n    placeholder="Leave a comment here"\n  ></CFormTextarea>\n</CFormFloating>\n

To set a custom height on your <CFormTextarea>, do not use the rows attribute. Instead, set an explicit height (either inline or via custom CSS).

', 2); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormTextarea\n    placeholder="Leave a comment here"\n    id="floatingTextarea2"\n    floatingLabel="Comments"\n    style="height: 100px"\n  ></CFormTextarea>\n</CFormFloating>\n

Selects

Other than <CFormInput>, floating labels are only available on <CFormSelect>s. They work in the same way, but unlike <CFormInput>s, they'll always show the <CFormLabel> in its floated state. Selects with size and multiple are not supported.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormTextarea\n    placeholder="Leave a comment here"\n    id="floatingTextarea2"\n    floatingLabel="Comments"\n    style="height: 100px"\n  ></CFormTextarea>\n</CFormFloating>\n

Selects #

Other than <CFormInput>, floating labels are only available on <CFormSelect>s. They work in the same way, but unlike <CFormInput>s, they'll always show the <CFormLabel> in its floated state. Selects with size and multiple are not supported.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; const _hoisted_23 = /* @__PURE__ */ createBaseVNode("option", null, "Open this select menu", -1); const _hoisted_24 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_25 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_26 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormSelect \n    id="floatingSelect"\n    floatingLabel="Works with selects" \n    aria-label="Floating label select example"\n  >\n    <option>Open this select menu</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CFormFloating>\n

Layout

When working with the CoreUI for Bootstrap grid system, be sure to place form elements within column classes.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CFormFloating>\n  <CFormSelect \n    id="floatingSelect"\n    floatingLabel="Works with selects" \n    aria-label="Floating label select example"\n  >\n    <option>Open this select menu</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CFormFloating>\n

Layout #

When working with the CoreUI for Bootstrap grid system, be sure to place form elements within column classes.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; const _hoisted_31 = /* @__PURE__ */ createBaseVNode("option", null, "Open this select menu", -1); const _hoisted_32 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_33 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{gutter: 2}">\n  <CCol md>\n    <CFormFloating>\n      <CFormInput \n        type="email"\n        id="floatingInputGrid"\n        floatingLabel="Email address"\n        placeholder="name@example.com"\n        value="email@example.com"\n      />\n    </CFormFloating>\n  </CCol>\n  <CCol md>\n    <CFormFloating>\n      <CFormSelect \n        id="floatingSelectGrid"\n        floatingLabel="Works with selects"\n        aria-label="Floating label select example"\n      >\n        <option>Open this select menu</option>\n        <option value="1">One</option>\n        <option value="2">Two</option>\n        <option value="3">Three</option>\n      </CFormSelect>\n    </CFormFloating>\n  </CCol>\n</CRow>\n

Customizing

SASS variables

', 3); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{gutter: 2}">\n  <CCol md>\n    <CFormFloating>\n      <CFormInput \n        type="email"\n        id="floatingInputGrid"\n        floatingLabel="Email address"\n        placeholder="name@example.com"\n        value="email@example.com"\n      />\n    </CFormFloating>\n  </CCol>\n  <CCol md>\n    <CFormFloating>\n      <CFormSelect \n        id="floatingSelectGrid"\n        floatingLabel="Works with selects"\n        aria-label="Floating label select example"\n      >\n        <option>Open this select menu</option>\n        <option value="1">One</option>\n        <option value="2">Two</option>\n        <option value="3">Three</option>\n      </CFormSelect>\n    </CFormFloating>\n  </CCol>\n</CRow>\n

Customizing #

SASS variables #

', 3); function _sfc_render(_ctx, _cache) { const _component_CFormInput = resolveComponent("CFormInput"); const _component_CFormFloating = resolveComponent("CFormFloating"); diff --git a/vue/docs/assets/footer.html-DN3ns744.js b/vue/docs/assets/footer.html-CSFrT_Wq.js similarity index 63% rename from vue/docs/assets/footer.html-DN3ns744.js rename to vue/docs/assets/footer.html-CSFrT_Wq.js index 8f9567055cf..af43139994b 100644 --- a/vue/docs/assets/footer.html-DN3ns744.js +++ b/vue/docs/assets/footer.html-CSFrT_Wq.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "examples", @@ -7,16 +7,15 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; const _hoisted_3 = /* @__PURE__ */ createBaseVNode("span", null, "© 2021 creativeLabs.", -1); const _hoisted_4 = /* @__PURE__ */ createBaseVNode("span", null, "Powered by", -1); -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFooter>\n  <div>\n    <CLink href="https://coreui.io">CoreUI</CLink>\n    <span>&copy; 2021 creativeLabs.</span>\n  </div>\n  <div>\n    <span>Powered by</span>\n    <CLink href="https://coreui.io">CoreUI</CLink>\n  </div>\n</CFooter>\n

Customizing

CSS variables

Vue footers use local CSS variables on .footer for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CFooter :style="vars">...</CFooter>\n

SASS variables

', 3); -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('

API

CFooter

import { CFooter } from '@coreui/vue'\n// or\nimport CFooter from '@coreui/vue/src/components/footer/CFooter'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
positionPlace footer in non-static positions.string'fixed', 'sticky'-
', 5); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CFooter>\n  <div>\n    <CLink href="https://coreui.io">CoreUI</CLink>\n    <span>&copy; 2021 creativeLabs.</span>\n  </div>\n  <div>\n    <span>Powered by</span>\n    <CLink href="https://coreui.io">CoreUI</CLink>\n  </div>\n</CFooter>\n

Customizing #

CSS variables #

Vue footers use local CSS variables on .footer for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CFooter :style="vars">...</CFooter>\n

SASS variables #

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('

API #

CFooter #

import { CFooter } from '@coreui/vue'\n// or\nimport CFooter from '@coreui/vue/src/components/footer/CFooter'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
positionPlace footer in non-static positions.string'fixed', 'sticky'-
', 5); function _sfc_render(_ctx, _cache) { const _component_CLink = resolveComponent("CLink"); const _component_CFooter = resolveComponent("CFooter"); diff --git a/vue/docs/assets/form-control.html-Dq3LSWS5.js b/vue/docs/assets/form-control.html-CxCiB4bb.js similarity index 85% rename from vue/docs/assets/form-control.html-Dq3LSWS5.js rename to vue/docs/assets/form-control.html-CxCiB4bb.js index 43add5b8098..40b6ab89e38 100644 --- a/vue/docs/assets/form-control.html-Dq3LSWS5.js +++ b/vue/docs/assets/form-control.html-CxCiB4bb.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,24 +7,23 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; const _hoisted_3 = { class: "mb-3" }; const _hoisted_4 = { class: "mb-3" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <div class="mb-3">\n    <CFormLabel for="exampleFormControlInput1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleFormControlInput1" placeholder="name@example.com"/>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleFormControlTextarea1">Example textarea</CFormLabel>\n    <CFormTextarea id="exampleFormControlTextarea1" rows="3"></CFormTextarea>\n  </div>\n</CForm>\n

Sizing

Set heights using size property like size="lg" and size="sm".

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <div class="mb-3">\n    <CFormLabel for="exampleFormControlInput1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleFormControlInput1" placeholder="name@example.com"/>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleFormControlTextarea1">Example textarea</CFormLabel>\n    <CFormTextarea id="exampleFormControlTextarea1" rows="3"></CFormTextarea>\n  </div>\n</CForm>\n

Sizing #

Set heights using size property like size="lg" and size="sm".

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; const _hoisted_9 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_10 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" size="lg" placeholder="Large input" aria-label="lg input example"/>\n<br/>\n<CFormInput type="text" placeholder="Default input" aria-label="default input example"/>\n<br/>\n<CFormInput type="text" size="sm" placeholder="Small input" aria-label="sm input example"/>\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" size="lg" placeholder="Large input" aria-label="lg input example"/>\n<br/>\n<CFormInput type="text" placeholder="Default input" aria-label="default input example"/>\n<br/>\n<CFormInput type="text" size="sm" placeholder="Small input" aria-label="sm input example"/>\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; const _hoisted_15 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_16 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled/>\n<br/>\n<CFormInput type="text" placeholder="Disabled readonly input" aria-label="Disabled input example" disabled readonly/>\n<br/>\n

Readonly

Add the readonly boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled/>\n<br/>\n<CFormInput type="text" placeholder="Disabled readonly input" aria-label="Disabled input example" disabled readonly/>\n<br/>\n

Readonly #

Add the readonly boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.

', 3); const _hoisted_20 = { class: "docs-example rounded-top p-4" }; -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Readonly input here..." aria-label="readonly input example" readonly/>\n

Readonly plain text

If you want to have <input readonly> elements in your form styled as plain text, use the plain-text boolean property to remove the default form field styling and preserve the correct margin and padding.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Readonly input here..." aria-label="readonly input example" readonly/>\n

Readonly plain text #

If you want to have <input readonly> elements in your form styled as plain text, use the plain-text boolean property to remove the default form field styling and preserve the correct margin and padding.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = { class: "col-sm-10" }; const _hoisted_26 = { class: "col-sm-10" }; @@ -33,15 +32,15 @@ const _hoisted_28 = { class: "docs-example rounded-top p-4" }; const _hoisted_29 = { class: "col-auto" }; const _hoisted_30 = { class: "col-auto" }; const _hoisted_31 = { class: "col-auto" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <div class="col-auto">\n    <CFormLabel for="staticEmail2" class="visually-hidden">Email</CFormLabel>\n    <CFormInput type="text" id="staticEmail2" value="email@example.com" readonly plain-text/>\n  </div>\n  <div class="col-auto">\n    <CFormLabel for="inputPassword2" class="visually-hidden">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword2" placeholder="Password"/>\n  </div>\n  <div class="col-auto">\n    <CButton type="submit" color="primary" class="mb-3">Confirm identity</CButton>\n  </div>\n</CForm>\n

File input

', 2); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <div class="col-auto">\n    <CFormLabel for="staticEmail2" class="visually-hidden">Email</CFormLabel>\n    <CFormInput type="text" id="staticEmail2" value="email@example.com" readonly plain-text/>\n  </div>\n  <div class="col-auto">\n    <CFormLabel for="inputPassword2" class="visually-hidden">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword2" placeholder="Password"/>\n  </div>\n  <div class="col-auto">\n    <CButton type="submit" color="primary" class="mb-3">Confirm identity</CButton>\n  </div>\n</CForm>\n

File input #

', 2); const _hoisted_34 = { class: "docs-example rounded-top p-4" }; const _hoisted_35 = { class: "mb-3" }; const _hoisted_36 = { class: "mb-3" }; const _hoisted_37 = { class: "mb-3" }; const _hoisted_38 = { class: "mb-3" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<div class="mb-3">\n  <CFormLabel for="formFile">Default file input example</CFormLabel>\n  <CFormInput type="file" id="formFile"/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileMultiple">Multiple files input example</CFormLabel>\n  <CFormInput type="file" id="formFileMultiple" multiple/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileDisabled">Disabled file input example</CFormLabel>\n  <CFormInput type="file" id="formFileDisabled" disabled/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileSm">Small file input example</CFormLabel>\n  <CFormInput type="file" size="sm" id="formFileSm"/>\n</div>\n<div>\n  <CFormLabel for="formFileLg">Large file input example</CFormLabel>\n  <CFormInput type="file" size="lg" id="formFileLg"/>\n</div>\n

Color

', 2); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<div class="mb-3">\n  <CFormLabel for="formFile">Default file input example</CFormLabel>\n  <CFormInput type="file" id="formFile"/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileMultiple">Multiple files input example</CFormLabel>\n  <CFormInput type="file" id="formFileMultiple" multiple/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileDisabled">Disabled file input example</CFormLabel>\n  <CFormInput type="file" id="formFileDisabled" disabled/>\n</div>\n<div class="mb-3">\n  <CFormLabel for="formFileSm">Small file input example</CFormLabel>\n  <CFormInput type="file" size="sm" id="formFileSm"/>\n</div>\n<div>\n  <CFormLabel for="formFileLg">Large file input example</CFormLabel>\n  <CFormInput type="file" size="lg" id="formFileLg"/>\n</div>\n

Color #

', 2); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CFormLabel for="exampleColorInput">Color picker</CFormLabel>\n<CFormInput type="color" id="exampleColorInput" value="#563d7c" title="Choose your color" />\n

API

CFormInput

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormTextarea

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 14); +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CFormLabel for="exampleColorInput">Color picker</CFormLabel>\n<CFormInput type="color" id="exampleColorInput" value="#563d7c" title="Choose your color" />\n

API #

CFormInput #

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormTextarea #

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.
', 14); function _sfc_render(_ctx, _cache) { const _component_CFormLabel = resolveComponent("CFormLabel"); const _component_CFormInput = resolveComponent("CFormInput"); diff --git a/vue/docs/assets/grid.html-D9aeBmOt.js b/vue/docs/assets/grid.html-t8D6bS23.js similarity index 82% rename from vue/docs/assets/grid.html-D9aeBmOt.js rename to vue/docs/assets/grid.html-t8D6bS23.js index cf6e60f89b5..b7cc99bcffe 100644 --- a/vue/docs/assets/grid.html-D9aeBmOt.js +++ b/vue/docs/assets/grid.html-t8D6bS23.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -22,26 +21,26 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; const _hoisted_4 = { class: "docs-example-row" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n  </CRow>\n</CContainer>\n

The above example creates three equal-width columns across all devices and viewports using our predefined grid classes. Those columns are centered in the page with the parent <CContainer>.

How it works

Breaking it down, here's how the grid system comes together:

  • Our grid supports six responsive breakpoints. Breakpoints are based on min-width media queries, meaning they affect that breakpoint and all those above it (e.g., sm="4" applies to sm, md, lg, xl, and xxl). This means you can control container and column sizing and behavior by each breakpoint.

  • Containers center and horizontally pad your content. Use <CContainer> for a responsive pixel width, <CContainer fluid> for width: 100% across all viewports and devices, or a responsive container (e.g., <CContainer md>) for a combination of fluid and pixel widths.

  • Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.

  • Columns are incredibly flexible. There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g., CCol xs="4" spans four). widths are set in percentages so you always have the same relative sizing.

  • Gutters are also responsive and customizable. Gutter classes are available across all breakpoints, with all the same sizes as our margin and padding spacing. Change horizontal gutters with xs|sm|md|lg|xl|xxl="{ gutterX: * }" classes, vertical gutters with xs|sm|md|lg|xl|xxl="{ gutterY: * }", or all gutters with xs|sm|md|lg|xl|xxl="{ gutter: * }" classes. xs|sm|md|lg|xl|xxl="{ gutter: 0 }" is also available to remove gutters.

Be aware of the limitations and bugs around flexbox, like the inability to use some HTML elements as flex containers.

Grid options

CoreUI's grid system can adapt across all six default breakpoints, and any breakpoints you customize. The six default grid tiers are as follow:

  • Extra small (xs)
  • Small (sm)
  • Medium (md)
  • Large (lg)
  • Extra large (xl)
  • Extra extra large (xxl)

As noted above, each of these breakpoints have their own container, unique class prefix, and modifiers. Here's how the grid changes across these breakpoints:

xs
<576px
sm
≥576px
md
≥768px
lg
≥992px
xl
≥1200px
xxl
≥1400px
Container max-widthNone (auto)540px720px960px1140px1320px
Class prefix<CCol xs=><CCol sm=><CCol md=><CCol lg=><CCol xl=><CCol xxl=>
# of columns12
Gutter width1.5rem (.75rem on left and right)
Custom guttersYes
NestableYes
Column orderingYes

Auto-layout columns

Utilize breakpoint-specific column classes for easy column sizing without an explicit numbered class like <CCol sm={6}>.

Equal-width

For example, here are two grid layouts that apply to every device and viewport, from xs to xxl. Add any number of unit-less classes for each breakpoint you need and every column will be the same width.

', 15); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n    <CCol sm="auto">\n      One of three columns\n    </CCol>\n  </CRow>\n</CContainer>\n

The above example creates three equal-width columns across all devices and viewports using our predefined grid classes. Those columns are centered in the page with the parent <CContainer>.

How it works #

Breaking it down, here's how the grid system comes together:

  • Our grid supports six responsive breakpoints. Breakpoints are based on min-width media queries, meaning they affect that breakpoint and all those above it (e.g., sm="4" applies to sm, md, lg, xl, and xxl). This means you can control container and column sizing and behavior by each breakpoint.

  • Containers center and horizontally pad your content. Use <CContainer> for a responsive pixel width, <CContainer fluid> for width: 100% across all viewports and devices, or a responsive container (e.g., <CContainer md>) for a combination of fluid and pixel widths.

  • Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.

  • Columns are incredibly flexible. There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g., CCol xs="4" spans four). widths are set in percentages so you always have the same relative sizing.

  • Gutters are also responsive and customizable. Gutter classes are available across all breakpoints, with all the same sizes as our margin and padding spacing. Change horizontal gutters with xs|sm|md|lg|xl|xxl="{ gutterX: * }" classes, vertical gutters with xs|sm|md|lg|xl|xxl="{ gutterY: * }", or all gutters with xs|sm|md|lg|xl|xxl="{ gutter: * }" classes. xs|sm|md|lg|xl|xxl="{ gutter: 0 }" is also available to remove gutters.

Be aware of the limitations and bugs around flexbox, like the inability to use some HTML elements as flex containers.

Grid options #

CoreUI's grid system can adapt across all six default breakpoints, and any breakpoints you customize. The six default grid tiers are as follow:

  • Extra small (xs)
  • Small (sm)
  • Medium (md)
  • Large (lg)
  • Extra large (xl)
  • Extra extra large (xxl)

As noted above, each of these breakpoints have their own container, unique class prefix, and modifiers. Here's how the grid changes across these breakpoints:

xs
<576px
sm
≥576px
md
≥768px
lg
≥992px
xl
≥1200px
xxl
≥1400px
Container max-widthNone (auto)540px720px960px1140px1320px
Class prefix<CCol xs=><CCol sm=><CCol md=><CCol lg=><CCol xl=><CCol xxl=>
# of columns12
Gutter width1.5rem (.75rem on left and right)
Custom guttersYes
NestableYes
Column orderingYes

Auto-layout columns #

Utilize breakpoint-specific column classes for easy column sizing without an explicit numbered class like <CCol sm={6}>.

Equal-width #

For example, here are two grid layouts that apply to every device and viewport, from xs to xxl. Add any number of unit-less classes for each breakpoint you need and every column will be the same width.

', 15); const _hoisted_20 = { class: "docs-example rounded-top p-4" }; const _hoisted_21 = { class: "docs-example-row" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>\n      1 of 2\n    </CCol>\n    <CCol>\n      2 of 2\n    </CCol>\n  </CRow>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol>\n      2 of 3\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Setting one column width

Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it. You may use predefined grid classes (as shown below), grid mixins, or inline widths. Note that the other columns will resize no matter the width of the center column.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>\n      1 of 2\n    </CCol>\n    <CCol>\n      2 of 2\n    </CCol>\n  </CRow>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol>\n      2 of 3\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Setting one column width #

Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it. You may use predefined grid classes (as shown below), grid mixins, or inline widths. Note that the other columns will resize no matter the width of the center column.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = { class: "docs-example-row" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol xs="6">\n      2 of 3 (wider)\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol xs="6">\n      2 of 3 (wider)\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Variable width content

Use <CCol {breakpoint}="auto" props to size columns based on the natural width of their content.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol xs="6">\n      2 of 3 (wider)\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol xs="6">\n      2 of 3 (wider)\n    </CCol>\n    <CCol>\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Variable width content #

Use <CCol {breakpoint}="auto" props to size columns based on the natural width of their content.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; const _hoisted_31 = { class: "docs-example-row" }; const _hoisted_32 = { class: "row justify-content-md-center" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <div class="row justify-content-md-center">\n    <CCol xs lg="2">\n      1 of 3\n    </CCol>\n    <CCol md="auto">\n      Variable width content\n    </CCol>\n    <CCol xs lg="2">\n      3 of 3\n    </CCol>\n  </div>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol md="auto">\n      Variable width content\n    </CCol>\n    <CCol xs lg="2">\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Responsive classes

CoreUI's grid includes six tiers of predefined classes for building complex responsive layouts. Customize the size of your columns on extra small, small, medium, large, or extra large devices however you see fit.

All breakpoints

For grids that are the same from the smallest of devices to the largest, use the <CCol> and <CCol xs={*}> classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to <CCol>.

', 5); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <div class="row justify-content-md-center">\n    <CCol xs lg="2">\n      1 of 3\n    </CCol>\n    <CCol md="auto">\n      Variable width content\n    </CCol>\n    <CCol xs lg="2">\n      3 of 3\n    </CCol>\n  </div>\n  <CRow>\n    <CCol>\n      1 of 3\n    </CCol>\n    <CCol md="auto">\n      Variable width content\n    </CCol>\n    <CCol xs lg="2">\n      3 of 3\n    </CCol>\n  </CRow>\n</CContainer>\n

Responsive classes #

CoreUI's grid includes six tiers of predefined classes for building complex responsive layouts. Customize the size of your columns on extra small, small, medium, large, or extra large devices however you see fit.

All breakpoints #

For grids that are the same from the smallest of devices to the largest, use the <CCol> and <CCol xs={*}> classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to <CCol>.

', 5); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; const _hoisted_39 = { class: "docs-example-row" }; -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="8">col-8</CCol>\n    <CCol xs="4">col-4</CCol>\n  </CRow>\n</CContainer>\n

Stacked to horizontal

Using a single set of <CCol sm={*}> classes, you can create a basic grid system that starts out stacked and becomes horizontal at the small breakpoint (sm).

', 3); +const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n    <CCol>col</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="8">col-8</CCol>\n    <CCol xs="4">col-4</CCol>\n  </CRow>\n</CContainer>\n

Stacked to horizontal #

Using a single set of <CCol sm={*}> classes, you can create a basic grid system that starts out stacked and becomes horizontal at the small breakpoint (sm).

', 3); const _hoisted_43 = { class: "docs-example rounded-top p-4" }; const _hoisted_44 = { class: "docs-example-row" }; -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="8">col-sm-8</CCol>\n    <CCol sm="4">col-sm-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol sm>col-sm</CCol>\n    <CCol sm>col-sm</CCol>\n    <CCol sm>col-sm</CCol>\n  </CRow>\n</CContainer>\n

Mix and match

Don't want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed. See the example below for a better idea of how it all works.

', 3); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol sm="8">col-sm-8</CCol>\n    <CCol sm="4">col-sm-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol sm>col-sm</CCol>\n    <CCol sm>col-sm</CCol>\n    <CCol sm>col-sm</CCol>\n  </CRow>\n</CContainer>\n

Mix and match #

Don't want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed. See the example below for a better idea of how it all works.

', 3); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; const _hoisted_49 = { class: "docs-example-row" }; -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol md="8">.col-md-8</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="6">.col-6</CCol>\n    <CCol xs="6">.col-6</CCol>\n  </CRow>\n</CContainer>\n

Row columns

Use the responsive :{breakpoint}="{ cols: * }" classes to quickly set the number of columns that best render your content and layout. Whereas normal <CCol xs="*"> classes apply to the individual columns (e.g., <CCol xs="4">), the row columns classes are set on the parent <CRow> as a shortcut. With :{breakpoint}="{ cols: 'auto' }" you can give the columns their natural width.

Use these row columns classes to quickly create basic grid layouts or to control your card layouts.

', 4); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow>\n    <CCol md="8">.col-md-8</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n    <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n  </CRow>\n  <CRow>\n    <CCol xs="6">.col-6</CCol>\n    <CCol xs="6">.col-6</CCol>\n  </CRow>\n</CContainer>\n

Row columns #

Use the responsive :{breakpoint}="{ cols: * }" classes to quickly set the number of columns that best render your content and layout. Whereas normal <CCol xs="*"> classes apply to the individual columns (e.g., <CCol xs="4">), the row columns classes are set on the parent <CRow> as a shortcut. With :{breakpoint}="{ cols: 'auto' }" you can give the columns their natural width.

Use these row columns classes to quickly create basic grid layouts or to control your card layouts.

', 4); const _hoisted_54 = { class: "docs-example rounded-top p-4" }; const _hoisted_55 = { class: "docs-example-row" }; const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols: 2 }">\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n  </CRow>\n</CContainer>\n
', 1); @@ -59,7 +58,7 @@ const _hoisted_67 = { class: "docs-example-row" }; const _hoisted_68 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols: 4 }">\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol xs="6">Column</CCol>\n    <CCol>Column</CCol>\n  </CRow>\n</CContainer>\n
', 1); const _hoisted_69 = { class: "docs-example rounded-top p-4" }; const _hoisted_70 = { class: "docs-example-row" }; -const _hoisted_71 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols: 1 }" :sm="{ cols: 2 }" :md="{ cols: 4 }">\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n  </CRow>\n</CContainer>\n

API

CContainer

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--

CRow

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-

CCol

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 14); +const _hoisted_71 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols: 1 }" :sm="{ cols: 2 }" :md="{ cols: 4 }">\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n    <CCol>Column</CCol>\n  </CRow>\n</CContainer>\n

API #

CContainer #

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props #

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--

CRow #

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-

CCol #

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 14); function _sfc_render(_ctx, _cache) { const _component_CCol = resolveComponent("CCol"); const _component_CRow = resolveComponent("CRow"); diff --git a/vue/docs/assets/gutters.html-BqQUwcbR.js b/vue/docs/assets/gutters.html-SyYvHCgl.js similarity index 80% rename from vue/docs/assets/gutters.html-BqQUwcbR.js rename to vue/docs/assets/gutters.html-SyYvHCgl.js index 7c0faddf07f..0fa391290ed 100644 --- a/vue/docs/assets/gutters.html-BqQUwcbR.js +++ b/vue/docs/assets/gutters.html-SyYvHCgl.js @@ -1,6 +1,6 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work

  • Gutters are the gaps between column content, created by horizontal padding. We set padding-right and padding-left on each column, and use negative margin to offset that at the start and end of each row to align content.

  • Gutters start at 1.5rem (24px) wide. This allows us to match our grid to the padding and margin spacers scale.

  • Gutters can be responsively adjusted. Use breakpoint-specific gutter props to modify horizontal gutters, vertical gutters, and all gutters.

Horizontal gutters

:{breakpoint}="{ gutterX: * }" props can be used to control the horizontal gutter widths. The <CContainer> or <CContainer fluid> parent may need to be adjusted if larger gutters are used too to avoid unwanted overflow, using a matching padding utility. For example, in the following example we've increased the padding with .px-4:

', 4); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

How they work #

  • Gutters are the gaps between column content, created by horizontal padding. We set padding-right and padding-left on each column, and use negative margin to offset that at the start and end of each row to align content.

  • Gutters start at 1.5rem (24px) wide. This allows us to match our grid to the padding and margin spacers scale.

  • Gutters can be responsively adjusted. Use breakpoint-specific gutter props to modify horizontal gutters, vertical gutters, and all gutters.

Horizontal gutters #

:{breakpoint}="{ gutterX: * }" props can be used to control the horizontal gutter widths. The <CContainer> or <CContainer fluid> parent may need to be adjusted if larger gutters are used too to avoid unwanted overflow, using a matching padding utility. For example, in the following example we've increased the padding with .px-4:

', 4); const _hoisted_5 = { class: "docs-example rounded-top p-4" }; const _hoisted_6 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_7 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); @@ -8,19 +8,19 @@ const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CContainer class="overflow-hidden">\n  <CRow :xs="{ gutterX: 5 }">\n    <CCol>\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Vertical gutters

:{breakpoint}="{ gutterY: * }" props can be used to control the vertical gutter widths. Like the horizontal gutters, the vertical gutters can cause some overflow below the <CRow> at the end of a page. If this occurs, you add a wrapper around <CRow> with the .overflow-hidden class:

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CContainer class="overflow-hidden">\n  <CRow :xs="{ gutterX: 5 }">\n    <CCol>\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Vertical gutters #

:{breakpoint}="{ gutterY: * }" props can be used to control the vertical gutter widths. Like the horizontal gutters, the vertical gutters can cause some overflow below the <CRow> at the end of a page. If this occurs, you add a wrapper around <CRow> with the .overflow-hidden class:

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; const _hoisted_17 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_18 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_19 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_20 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CContainer class="overflow-hidden">\n  <CRow :xs="{ gutterY: 5 }">\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Horizontal & vertical gutters

:{breakpoint}="{ gutter: * }" props can be used to control the horizontal gutter widths, for the following example we use a smaller gutter width, so there won't be a need to add the .overflow-hidden wrapper class.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CContainer class="overflow-hidden">\n  <CRow :xs="{ gutterY: 5 }">\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Horizontal & vertical gutters #

:{breakpoint}="{ gutter: * }" props can be used to control the horizontal gutter widths, for the following example we use a smaller gutter width, so there won't be a need to add the .overflow-hidden wrapper class.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_26 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_27 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); const _hoisted_28 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Custom column padding", -1); -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ gutter: 2 }">\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Row columns gutters

Gutter props can also be added to row columns. In the following example, we use responsive row columns and responsive gutter props.

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ gutter: 2 }">\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n    <CCol :xs="{ span: 6 }">\n      <div class="p-3 border bg-light">Custom column padding</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

Row columns gutters #

Gutter props can also be added to row columns. In the following example, we use responsive row columns and responsive gutter props.

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; const _hoisted_33 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Row column", -1); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Row column", -1); @@ -32,10 +32,10 @@ const _hoisted_39 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border const _hoisted_40 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Row column", -1); const _hoisted_41 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Row column", -1); const _hoisted_42 = /* @__PURE__ */ createBaseVNode("div", { class: "p-3 border bg-light" }, "Row column", -1); -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols:2, gutter: 2 }" :lg="{ cols: 5, gutter: 3}">\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

No gutters

The gutters between columns in our predefined grid props can be removed with :{breakpoint}="{ gutter: 0 }". This removes the negative margins from <CRow> and the horizontal padding from all immediate children columns.

Need an edge-to-edge design? Drop the parent <CContainer> or <CContainer fluid>.

In practice, here's how it looks. Note you can continue to use this with all other predefined grid props (including column widths, responsive tiers, reorders, and more).

', 5); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CRow :xs="{ cols:2, gutter: 2 }" :lg="{ cols: 5, gutter: 3}">\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n    <CCol>\n      <div class="p-3 border bg-light">Row column</div>\n    </CCol>\n  </CRow>\n</CContainer>\n

No gutters #

The gutters between columns in our predefined grid props can be removed with :{breakpoint}="{ gutter: 0 }". This removes the negative margins from <CRow> and the horizontal padding from all immediate children columns.

Need an edge-to-edge design? Drop the parent <CContainer> or <CContainer fluid>.

In practice, here's how it looks. Note you can continue to use this with all other predefined grid props (including column widths, responsive tiers, reorders, and more).

', 5); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; const _hoisted_49 = { class: "docs-example-row" }; -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{ gutter: 0 }">\n  <CCol sm="6" md="8">.col-sm-6 .col-md-8</CCol>\n  <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n</CRow>\n

API

CContainer

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--

CRow

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-

CCol

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 14); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CRow :xs="{ gutter: 0 }">\n  <CCol sm="6" md="8">.col-sm-6 .col-md-8</CCol>\n  <CCol xs="6" md="4">.col-6 .col-md-4</CCol>\n</CRow>\n

API #

CContainer #

import { CContainer } from '@coreui/vue'\n// or\nimport CContainer from '@coreui/vue/src/components/grid/CContainer'\n

Props #

Prop nameDescriptionTypeValuesDefault
smSet container 100% wide until small breakpoint.boolean--
mdSet container 100% wide until medium breakpoint.boolean--
lgSet container 100% wide until large breakpoint.boolean--
xlSet container 100% wide until X-large breakpoint.boolean--
xxlSet container 100% wide until XX-large breakpoint.boolean--
fluidSet container 100% wide, spanning the entire width of the viewport.boolean--

CRow #

import { CRow } from '@coreui/vue'\n// or\nimport CRow from '@coreui/vue/src/components/grid/CRow'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
smThe number of columns/offset/order on small devices (<768px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Object as () => BPObject{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }-

CCol #

import { CCol } from '@coreui/vue'\n// or\nimport CCol from '@coreui/vue/src/components/grid/CCol'\n

Props #

Prop nameDescriptionTypeValuesDefault
xsThe number of columns/offset/order on extra small devices (<576px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
smThe number of columns/offset/order on small devices (<768px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
mdThe number of columns/offset/order on medium devices (<992px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
lgThe number of columns/offset/order on large devices (<1200px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xlThe number of columns/offset/order on X-Large devices (<1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
xxlThe number of columns/offset/order on XX-Large devices (≥1400px).Col'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }-
', 14); function _sfc_render(_ctx, _cache) { const _component_CCol = resolveComponent("CCol"); const _component_CRow = resolveComponent("CRow"); diff --git a/vue/docs/assets/header.html-B_Q5U0MU.js b/vue/docs/assets/header.html-B_Q5U0MU.js new file mode 100644 index 00000000000..079f8cd0985 --- /dev/null +++ b/vue/docs/assets/header.html-B_Q5U0MU.js @@ -0,0 +1,183 @@ +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = { + __name: "header.html", + setup(__props, { expose: __expose }) { + __expose(); + const visible = ref(true); + const __returned__ = { visible, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example #

Here's what you need to know before getting started with the header:

  • Headers require a wrapping .header with .header-expand{-sm|-md|-lg|-xl|-xxl} for responsive collapsing and color scheme classes.
  • Headers and their contents are fluid by default. Change the container to limit their horizontal width in different ways.
  • Use our spacing and flex utility classes for controlling spacing and alignment within headers.
  • Headers are responsive by default, but you can easily modify them to change that. Responsive behavior depends on our Collapse JavaScript plugin.
  • Ensure accessibility by using a <nav> element or, if using a more generic element such as a <div>, add a role="navigation" to every header to explicitly identify it as a landmark region for users of assistive technologies.
  • Indicate the current item by using aria-current="page" for the current page or aria-current="true" for the current item in a set.

Supported content #

Headers come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CHeaderBrand> for your company, product, or project name.
  • <CHeaderNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CHeaderToggler> for use with our collapse plugin and other navigation toggling behaviors.
  • Flex and spacing utilities for any form controls and actions.
  • <CHeaderText> for adding vertically centered strings of text.
  • <CCollapse class="header-collapse"> for grouping and hiding header contents by a parent breakpoint.

Here's an example of all the sub-components included in a responsive light-themed header that automatically collapses at the lg (large) breakpoint.

', 7); +const _hoisted_8 = { class: "docs-example rounded-top p-4" }; +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visible = ref(true)\n</script>\n<template>\n  <CHeader>\n    <CContainer fluid>\n      <CHeaderBrand href="#">Header</CHeaderBrand>\n      <CHeaderToggler @click="visible = !visible" />\n      <CCollapse class="header-collapse" :visible="visible">\n        <CHeaderNav>\n          <CNavItem>\n            <CNavLink href="#" active>\n              Home\n            </CNavLink>\n          </CNavItem>\n          <CNavItem>\n            <CNavLink href="#">Link</CNavLink>\n          </CNavItem>\n          <CDropdown togglerText="Dropdown" variant="nav-item">\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdown>\n          <CNavItem>\n            <CNavLink href="#" disabled>\n              Disabled\n            </CNavLink>\n          </CNavItem>\n        </CHeaderNav>\n      </CCollapse>\n    </CContainer>\n  </CHeader>\n</template>\n

Customizing #

CSS variables #

Vue headers use local CSS variables on .header for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CHeader :style="vars">...</CHeader>\n

SASS variables #

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('

API #

CHeader #

import { CHeader } from '@coreui/vue'\n// or\nimport CHeader from '@coreui/vue/src/components/header/CHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
positionPlace header in non-static positions.string'fixed', 'sticky'-

CHeaderBrand #

import { CHeaderBrand } from '@coreui/vue'\n// or\nimport CHeaderBrand from '@coreui/vue/src/components/header/CHeaderBrand'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'

CHeaderNav #

import { CHeaderNav } from '@coreui/vue'\n// or\nimport CHeaderNav from '@coreui/vue/src/components/header/CHeaderNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 13); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CHeaderBrand = resolveComponent("CHeaderBrand"); + const _component_CHeaderToggler = resolveComponent("CHeaderToggler"); + const _component_CNavLink = resolveComponent("CNavLink"); + const _component_CNavItem = resolveComponent("CNavItem"); + const _component_CDropdownToggle = resolveComponent("CDropdownToggle"); + const _component_CDropdownItem = resolveComponent("CDropdownItem"); + const _component_CDropdownDivider = resolveComponent("CDropdownDivider"); + const _component_CDropdownMenu = resolveComponent("CDropdownMenu"); + const _component_CDropdown = resolveComponent("CDropdown"); + const _component_CHeaderNav = resolveComponent("CHeaderNav"); + const _component_CFormInput = resolveComponent("CFormInput"); + const _component_CButton = resolveComponent("CButton"); + const _component_CForm = resolveComponent("CForm"); + const _component_CCollapse = resolveComponent("CCollapse"); + const _component_CContainer = resolveComponent("CContainer"); + const _component_CHeader = resolveComponent("CHeader"); + const _component_ScssDocs = resolveComponent("ScssDocs"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + createBaseVNode("div", _hoisted_8, [ + createVNode(_component_CHeader, null, { + default: withCtx(() => [ + createVNode(_component_CContainer, { fluid: "" }, { + default: withCtx(() => [ + createVNode(_component_CHeaderBrand, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("Header") + ]), + _: 1 + }), + createVNode(_component_CHeaderToggler, { + onClick: _cache[0] || (_cache[0] = ($event) => $setup.visible = !$setup.visible) + }), + createVNode(_component_CCollapse, { + class: "header-collapse", + visible: $setup.visible + }, { + default: withCtx(() => [ + createVNode(_component_CHeaderNav, null, { + default: withCtx(() => [ + createVNode(_component_CNavItem, null, { + default: withCtx(() => [ + createVNode(_component_CNavLink, { + href: "#", + active: "" + }, { + default: withCtx(() => [ + createTextVNode(" Home ") + ]), + _: 1 + }) + ]), + _: 1 + }), + createVNode(_component_CNavItem, null, { + default: withCtx(() => [ + createVNode(_component_CNavLink, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("Link") + ]), + _: 1 + }) + ]), + _: 1 + }), + createVNode(_component_CDropdown, { variant: "nav-item" }, { + default: withCtx(() => [ + createVNode(_component_CDropdownToggle, { color: "secondary" }, { + default: withCtx(() => [ + createTextVNode("Dropdown button") + ]), + _: 1 + }), + createVNode(_component_CDropdownMenu, null, { + default: withCtx(() => [ + createVNode(_component_CDropdownItem, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("Action") + ]), + _: 1 + }), + createVNode(_component_CDropdownItem, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("Another action") + ]), + _: 1 + }), + createVNode(_component_CDropdownDivider), + createVNode(_component_CDropdownItem, { href: "#" }, { + default: withCtx(() => [ + createTextVNode("Something else here") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }), + createVNode(_component_CNavItem, null, { + default: withCtx(() => [ + createVNode(_component_CNavLink, { + href: "#", + disabled: "" + }, { + default: withCtx(() => [ + createTextVNode(" Disabled ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }), + createVNode(_component_CForm, { class: "d-flex" }, { + default: withCtx(() => [ + createVNode(_component_CFormInput, { + class: "me-2", + type: "search", + placeholder: "Search" + }), + createVNode(_component_CButton, { + type: "submit", + color: "success", + variant: "outline" + }, { + default: withCtx(() => [ + createTextVNode("Search") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _hoisted_9, + createVNode(_component_ScssDocs, { + file: "_header.scss", + capture: "header-css-vars" + }), + _hoisted_13, + createVNode(_component_ScssDocs, { + file: "_variables.scss", + capture: "header-variables" + }), + _hoisted_16 + ]); +} +const header_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "header.html.vue"]]); +const data = JSON.parse('{"path":"/components/header.html","title":"Vue Header Component","lang":"en-US","frontmatter":{"title":"Vue Header Component","name":"Header","description":"Documentation and examples for the Header powerful, responsive navigation header. Includes support for branding, links, dropdowns, and more.","other_frameworks":"header","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/header.html"}]]},"headers":[{"level":2,"title":"Example","slug":"example","link":"#example","children":[]},{"level":2,"title":"Supported content","slug":"supported-content","link":"#supported-content","children":[]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]},{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]},{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]}]}],"filePathRelative":"components/header.md"}'); +export { + header_html as comp, + data +}; diff --git a/vue/docs/assets/header.html-DBfVFFNJ.js b/vue/docs/assets/header.html-DBfVFFNJ.js deleted file mode 100644 index 03c5dc37976..00000000000 --- a/vue/docs/assets/header.html-DBfVFFNJ.js +++ /dev/null @@ -1,180 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = { - data() { - return { - visible: true - }; - } -}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example

Here's what you need to know before getting started with the header:

  • Headers require a wrapping .header with .header-expand{-sm|-md|-lg|-xl|-xxl} for responsive collapsing and color scheme classes.
  • Headers and their contents are fluid by default. Change the container to limit their horizontal width in different ways.
  • Use our spacing and flex utility classes for controlling spacing and alignment within headers.
  • Headers are responsive by default, but you can easily modify them to change that. Responsive behavior depends on our Collapse JavaScript plugin.
  • Ensure accessibility by using a <nav> element or, if using a more generic element such as a <div>, add a role="navigation" to every header to explicitly identify it as a landmark region for users of assistive technologies.
  • Indicate the current item by using aria-current="page" for the current page or aria-current="true" for the current item in a set.

Supported content

Headers come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CHeaderBrand> for your company, product, or project name.
  • <CHeaderNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CHeaderToggler> for use with our collapse plugin and other navigation toggling behaviors.
  • Flex and spacing utilities for any form controls and actions.
  • <CHeaderText> for adding vertically centered strings of text.
  • <CCollapse class="header-collapse"> for grouping and hiding header contents by a parent breakpoint.

Here's an example of all the sub-components included in a responsive light-themed header that automatically collapses at the lg (large) breakpoint.

', 7); -const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CHeader>\n  <CContainer fluid>\n    <CHeaderBrand href="#">Header</CHeaderBrand>\n    <CHeaderToggler @click="visible = !visible" />\n    <CCollapse class="header-collapse" :visible="visible">\n      <CHeaderNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown togglerText="Dropdown" variant="nav-item">\n          <CDropdownItem href="#">Action</CDropdownItem>\n          <CDropdownItem href="#">Another action</CDropdownItem>\n          <CDropdownItem href="#">Something else here</CDropdownItem>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CHeaderNav>\n      <!-- <form class="d-flex">\n        <input class="form-control me-2" type="search" placeholder="Search">\n        <button class="btn btn-outline-success" type="submit">Search</button>\n      </form> -->\n    </CCollapse>\n  </CContainer>\n</CHeader>\n<script>\n  export default {\n    data() {\n      return { \n        visible: true,\n      }\n    }\n  }\n</script>\n

Customizing

CSS variables

Vue headers use local CSS variables on .header for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CHeader :style="vars">...</CHeader>\n

SASS variables

', 3); -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('

API

CHeader

import { CHeader } from '@coreui/vue'\n// or\nimport CHeader from '@coreui/vue/src/components/header/CHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
positionPlace header in non-static positions.string'fixed', 'sticky'-

CHeaderBrand

import { CHeaderBrand } from '@coreui/vue'\n// or\nimport CHeaderBrand from '@coreui/vue/src/components/header/CHeaderBrand'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'

CHeaderNav

import { CHeaderNav } from '@coreui/vue'\n// or\nimport CHeaderNav from '@coreui/vue/src/components/header/CHeaderNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 13); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CHeaderBrand = resolveComponent("CHeaderBrand"); - const _component_CHeaderToggler = resolveComponent("CHeaderToggler"); - const _component_CNavLink = resolveComponent("CNavLink"); - const _component_CNavItem = resolveComponent("CNavItem"); - const _component_CDropdownToggle = resolveComponent("CDropdownToggle"); - const _component_CDropdownItem = resolveComponent("CDropdownItem"); - const _component_CDropdownDivider = resolveComponent("CDropdownDivider"); - const _component_CDropdownMenu = resolveComponent("CDropdownMenu"); - const _component_CDropdown = resolveComponent("CDropdown"); - const _component_CHeaderNav = resolveComponent("CHeaderNav"); - const _component_CFormInput = resolveComponent("CFormInput"); - const _component_CButton = resolveComponent("CButton"); - const _component_CForm = resolveComponent("CForm"); - const _component_CCollapse = resolveComponent("CCollapse"); - const _component_CContainer = resolveComponent("CContainer"); - const _component_CHeader = resolveComponent("CHeader"); - const _component_ScssDocs = resolveComponent("ScssDocs"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - createBaseVNode("div", _hoisted_8, [ - createVNode(_component_CHeader, null, { - default: withCtx(() => [ - createVNode(_component_CContainer, { fluid: "" }, { - default: withCtx(() => [ - createVNode(_component_CHeaderBrand, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("Header") - ]), - _: 1 - }), - createVNode(_component_CHeaderToggler, { - onClick: _cache[0] || (_cache[0] = ($event) => $data.visible = !$data.visible) - }), - createVNode(_component_CCollapse, { - class: "header-collapse", - visible: $data.visible - }, { - default: withCtx(() => [ - createVNode(_component_CHeaderNav, null, { - default: withCtx(() => [ - createVNode(_component_CNavItem, null, { - default: withCtx(() => [ - createVNode(_component_CNavLink, { - href: "#", - active: "" - }, { - default: withCtx(() => [ - createTextVNode(" Home ") - ]), - _: 1 - }) - ]), - _: 1 - }), - createVNode(_component_CNavItem, null, { - default: withCtx(() => [ - createVNode(_component_CNavLink, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("Link") - ]), - _: 1 - }) - ]), - _: 1 - }), - createVNode(_component_CDropdown, { variant: "nav-item" }, { - default: withCtx(() => [ - createVNode(_component_CDropdownToggle, { color: "secondary" }, { - default: withCtx(() => [ - createTextVNode("Dropdown button") - ]), - _: 1 - }), - createVNode(_component_CDropdownMenu, null, { - default: withCtx(() => [ - createVNode(_component_CDropdownItem, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("Action") - ]), - _: 1 - }), - createVNode(_component_CDropdownItem, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("Another action") - ]), - _: 1 - }), - createVNode(_component_CDropdownDivider), - createVNode(_component_CDropdownItem, { href: "#" }, { - default: withCtx(() => [ - createTextVNode("Something else here") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }), - createVNode(_component_CNavItem, null, { - default: withCtx(() => [ - createVNode(_component_CNavLink, { - href: "#", - disabled: "" - }, { - default: withCtx(() => [ - createTextVNode(" Disabled ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }), - createVNode(_component_CForm, { class: "d-flex" }, { - default: withCtx(() => [ - createVNode(_component_CFormInput, { - class: "me-2", - type: "search", - placeholder: "Search" - }), - createVNode(_component_CButton, { - type: "submit", - color: "success", - variant: "outline" - }, { - default: withCtx(() => [ - createTextVNode("Search") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _hoisted_9, - createVNode(_component_ScssDocs, { - file: "_header.scss", - capture: "header-css-vars" - }), - _hoisted_13, - createVNode(_component_ScssDocs, { - file: "_variables.scss", - capture: "header-variables" - }), - _hoisted_16 - ]); -} -const header_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "header.html.vue"]]); -const data = JSON.parse('{"path":"/components/header.html","title":"Vue Header Component","lang":"en-US","frontmatter":{"title":"Vue Header Component","name":"Header","description":"Documentation and examples for the Header powerful, responsive navigation header. Includes support for branding, links, dropdowns, and more.","other_frameworks":"header","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/header.html"}]]},"headers":[{"level":2,"title":"Example","slug":"example","link":"#example","children":[]},{"level":2,"title":"Supported content","slug":"supported-content","link":"#supported-content","children":[]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]},{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]},{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]}]}],"filePathRelative":"components/header.md"}'); -export { - header_html as comp, - data -}; diff --git a/vue/docs/assets/icon.html-C2C1fAVP.js b/vue/docs/assets/icon.html-ivU2m4Fv.js similarity index 99% rename from vue/docs/assets/icon.html-C2C1fAVP.js rename to vue/docs/assets/icon.html-ivU2m4Fv.js index cb2ec6b9b9f..aa73169599f 100644 --- a/vue/docs/assets/icon.html-C2C1fAVP.js +++ b/vue/docs/assets/icon.html-ivU2m4Fv.js @@ -1,4 +1,4 @@ -import { m as cibCoreuiC, p as cibDiscourse, q as cibFacebook, u as cibGithub, v as cibOpenCollective, x as cibTwitter, y as cilArrowBottom, z as cilArrowRight, A as cilArrowTop, B as cilBasket, C as cilBurn, D as cilCheckCircle, E as cilCloudDownload, G as cilContrast, H as cilFilterX, I as cilHandshake, J as cilInfo, K as cilLayers, L as cilMenu, M as cilMoon, N as cilOptions, O as cilPeople, P as cilPuzzle, Q as cilSettings, R as cilSpeedometer, S as cilSun, T as cilSwapVertical, U as cilUserFollow, V as cilWarning, _ as _export_sfc, W as CIcon, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode, h as createBlock, F as Fragment, j as renderList, t as toDisplayString, i as createCommentVNode } from "./app-BoHWg5jI.js"; +import { k as cibCoreuiC, l as cibDiscourse, m as cibFacebook, p as cibGithub, q as cibOpenCollective, u as cibTwitter, v as cilArrowBottom, x as cilArrowRight, y as cilArrowTop, z as cilBasket, A as cilBurn, B as cilCheckCircle, C as cilCloudDownload, D as cilContrast, E as cilFilterX, G as cilHandshake, H as cilInfo, I as cilLayers, J as cilMenu, K as cilMoon, L as cilOptions, M as cilPeople, N as cilPuzzle, O as cilSettings, P as cilSpeedometer, Q as cilSun, R as cilSwapVertical, S as cilUserFollow, T as cilWarning, _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, U as CIcon, a as createStaticVNode, f as createTextVNode, V as createBlock, F as Fragment, h as renderList, t as toDisplayString, W as createCommentVNode } from "./app-DGOUrGv-.js"; import { c as cifDe, a as cifEs, b as cifGb, d as cifPl, e as cifUs } from "./cif-us-C2ywU_oW.js"; var cib500px5 = ["32 32", ""]; var cib500px = ["32 32", ""]; @@ -4728,32 +4728,31 @@ const icon = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty freeSet: index }, Symbol.toStringTag, { value: "Module" })); const _sfc_main = { - components: { - CIcon - }, - setup() { + __name: "icon.html", + setup(__props, { expose: __expose }) { + __expose(); const linearIcons = ["cilAccountLogout", "cilActionRedo", "cilActionUndo", "cilAddressBook", "cilAirplaneModeOff", "cilAirplaneMode", "cilAirplay", "cilAlarm", "cilAlbum", "cilAlignCenter", "cilAlignLeft", "cilAlignRight", "cilAmericanFootball", "cilAnimal", "cilAperture", "cilApple", "cilApplicationsSettings", "cilApplications", "cilAppsSettings", "cilApps", "cilArrowBottom", "cilArrowCircleBottom", "cilArrowCircleLeft", "cilArrowCircleRight", "cilArrowCircleTop", "cilArrowLeft", "cilArrowRight", "cilArrowThickBottom", "cilArrowThickFromBottom", "cilArrowThickFromLeft", "cilArrowThickFromRight", "cilArrowThickFromTop", "cilArrowThickLeft", "cilArrowThickRight", "cilArrowThickToBottom", "cilArrowThickToLeft", "cilArrowThickToRight", "cilArrowThickToTop", "cilArrowThickTop", "cilArrowTop", "cilAssistiveListeningSystem", "cilAsteriskCircle", "cilAsterisk", "cilAt", "cilAudioDescription", "cilAudioSpectrum", "cilAudio", "cilAvTimer", "cilBabyCarriage", "cilBaby", "cilBackspace", "cilBadge", "cilBalanceScale", "cilBan", "cilBank", "cilBarChart", "cilBarcode", "cilBaseball", "cilBasket", "cilBasketball", "cilBath", "cilBathroom", "cilBattery0", "cilBattery3", "cilBattery5", "cilBatteryAlert", "cilBatteryEmpty", "cilBatteryFull", "cilBatterySlash", "cilBeachAccess", "cilBeaker", "cilBed", "cilBellExclamation", "cilBell", "cilBike", "cilBirthdayCake", "cilBlind", "cilBluetooth", "cilBlurCircular", "cilBlurLinear", "cilBlur", "cilBoatAlt", "cilBold", "cilBoltCircle", "cilBolt", "cilBook", "cilBookmark", "cilBorderAll", "cilBorderBottom", "cilBorderClear", "cilBorderHorizontal", "cilBorderInner", "cilBorderLeft", "cilBorderOuter", "cilBorderRight", "cilBorderStyle", "cilBorderTop", "cilBorderVertical", "cilBowling", "cilBraille", "cilBriefcase", "cilBrightness", "cilBritishPound", "cilBrowser", "cilBrushAlt", "cilBrush", "cilBug", "cilBuilding", "cilBullhorn", "cilBurger", "cilBurn", "cilBusAlt", "cilCalculator", "cilCalendarCheck", "cilCalendar", "cilCameraControl", "cilCameraRoll", "cilCamera", "cilCarAlt", "cilCaretBottom", "cilCaretLeft", "cilCaretRight", "cilCaretTop", "cilCart", "cilCash", "cilCasino", "cilCast", "cilCat", "cilCc", "cilCenterFocus", "cilChartLine", "cilChartPie", "cilChart", "cilChatBubble", "cilCheckAlt", "cilCheckCircle", "cilCheck", "cilChevronBottom", "cilChevronCircleDownAlt", "cilChevronCircleLeftAlt", "cilChevronCircleRightAlt", "cilChevronCircleUpAlt", "cilChevronDoubleDown", "cilChevronDoubleLeft", "cilChevronDoubleRight", "cilChevronDoubleUp", "cilChevronLeft", "cilChevronRight", "cilChevronTop", "cilChildFriendly", "cilChild", "cilCircle", "cilClearAll", "cilClipboard", "cilClock", "cilClone", "cilClosedCaptioning", "cilCloudDownload", "cilCloudUpload", "cilCloud", "cilCloudy", "cilCode", "cilCoffee", "cilCog", "cilColorBorder", "cilColorFill", "cilColorPalette", "cilColumns", "cilCommand", "cilCommentBubble", "cilCommentSquare", "cilCompass", "cilCompress", "cilContact", "cilContrast", "cilControl", "cilCopy", "cilCouch", "cilCreditCard", "cilCropRotate", "cilCrop", "cilCursorMove", "cilCursor", "cilCut", "cilDataTransferDown", "cilDataTransferUp", "cilDeaf", "cilDelete", "cilDescription", "cilDevices", "cilDialpad", "cilDiamond", "cilDinner", "cilDisabled", "cilDog", "cilDollar", "cilDoor", "cilDoubleQuoteSansLeft", "cilDoubleQuoteSansRight", "cilDrinkAlcohol", "cilDrink", "cilDrop", "cilEco", "cilEducation", "cilElevator", "cilEnvelopeClosed", "cilEnvelopeLetter", "cilEnvelopeOpen", "cilEqualizer", "cilEthernet", "cilEuro", "cilExcerpt", "cilExitToApp", "cilExpandDown", "cilExpandLeft", "cilExpandRight", "cilExpandUp", "cilExposure", "cilExternalLink", "cilEyedropper", "cilFaceDead", "cilFace", "cilFactorySlash", "cilFactory", "cilFastfood", "cilFax", "cilFeaturedPlaylist", "cilFile", "cilFilterFrames", "cilFilterPhoto", "cilFilterSquare", "cilFilterX", "cilFilter", "cilFindInPage", "cilFingerprint", "cilFire", "cilFlagAlt", "cilFlightTakeoff", "cilFlipToBack", "cilFlipToFront", "cilFlip", "cilFlower", "cilFolderOpen", "cilFolder", "cilFont", "cilFootball", "cilFork", "cilFridge", "cilFrown", "cilFullscreenExit", "cilFullscreen", "cilFunctionsAlt", "cilFunctions", "cilGamepad", "cilGarage", "cilGem", "cilGif", "cilGift", "cilGlobeAlt", "cilGolfAlt", "cilGolf", "cilGradient", "cilGrain", "cilGraph", "cilGridSlash", "cilGrid", "cilGroup", "cilHamburgerMenu", "cilHandPointDown", "cilHandPointLeft", "cilHandPointRight", "cilHandPointUp", "cilHappy", "cilHd", "cilHdr", "cilHeader", "cilHeadphones", "cilHealing", "cilHeart", "cilHighlighter", "cilHighligt", "cilHistory", "cilHome", "cilHospital", "cilHotTub", "cilHouse", "cilHttps", "cilImageBroken", "cilImagePlus", "cilImage", "cilInbox", "cilIndentDecrease", "cilIndentIncrease", "cilIndustrySlash", "cilIndustry", "cilInfinity", "cilInfo", "cilInputHdmi", "cilInputPower", "cilInput", "cilInstitution", "cilItalic", "cilJustifyCenter", "cilJustifyLeft", "cilJustifyRight", "cilKeyboard", "cilLan", "cilLanguage", "cilLaptop", "cilLayers", "cilLeaf", "cilLemon", "cilLevelDown", "cilLevelUp", "cilLibraryAdd", "cilLibraryBuilding", "cilLibrary", "cilLifeRing", "cilLightbulb", "cilLineSpacing", "cilLineStyle", "cilLineWeight", "cilLinkAlt", "cilLinkBroken", "cilLink", "cilListFilter", "cilListHighPriority", "cilListLowPriority", "cilListNumberedRtl", "cilListNumbered", "cilListRich", "cilList", "cilLocationPin", "cilLockLocked", "cilLockUnlocked", "cilLocomotive", "cilLoop1", "cilLoopCircular", "cilLoop", "cilLowVision", "cilMagnifyingGlass", "cilMap", "cilMediaEject", "cilMediaPause", "cilMediaPlay", "cilMediaRecord", "cilMediaSkipBackward", "cilMediaSkipForward", "cilMediaStepBackward", "cilMediaStepForward", "cilMediaStop", "cilMedicalCross", "cilMeh", "cilMemory", "cilMenu", "cilMic", "cilMicrophone", "cilMinus", "cilMobileLandscape", "cilMobile", "cilMoney", "cilMonitor", "cilMoodBad", "cilMoodGood", "cilMoodVeryBad", "cilMoodVeryGood", "cilMoon", "cilMouse", "cilMouthSlash", "cilMove", "cilMovie", "cilMugTea", "cilMug", "cilMusicNote", "cilNewspaper", "cilNoteAdd", "cilNotes", "cilObjectGroup", "cilObjectUngroup", "cilOpacity", "cilOpentype", "cilOptions", "cilPaintBucket", "cilPaint", "cilPaperPlane", "cilPaperclip", "cilParagraph", "cilPaw", "cilPenAlt", "cilPenNib", "cilPen", "cilPencil", "cilPeople", "cilPhone", "cilPin", "cilPizza", "cilPlant", "cilPlaylistAdd", "cilPlus", "cilPool", "cilPowerStandby", "cilPregnant", "cilPrint", "cilPushchair", "cilPuzzle", "cilQrCode", "cilRain", "cilRectangle", "cilRecycle", "cilReload", "cilReportSlash", "cilResizeBoth", "cilResizeHeight", "cilResizeWidth", "cilRestaurant", "cilRoom", "cilRouter", "cilRowing", "cilRss", "cilRuble", "cilRunning", "cilSad", "cilSatelite", "cilSave", "cilSchool", "cilScreenDesktop", "cilScreenSmartphone", "cilScrubber", "cilSearch", "cilSend", "cilSettings", "cilShareAll", "cilShareAlt", "cilShareBoxed", "cilShare", "cilShieldAlt", "cilShortText", "cilShower", "cilSignLanguage", "cilSignalCellular0", "cilSignalCellular3", "cilSignalCellular4", "cilSim", "cilSitemap", "cilSmilePlus", "cilSmile", "cilSmokeFree", "cilSmokeSlash", "cilSmoke", "cilSmokingRoom", "cilSnowflake", "cilSoccer", "cilSofa", "cilSortAlphaDown", "cilSortAlphaUp", "cilSortAscending", "cilSortDescending", "cilSortNumericDown", "cilSortNumericUp", "cilSpa", "cilSpaceBar", "cilSpeak", "cilSpeaker", "cilSpeech", "cilSpeedometer", "cilSpreadsheet", "cilSquare", "cilStarHalf", "cilStar", "cilStorage", "cilStream", "cilStrikethrough", "cilSun", "cilSwapHorizontal", "cilSwapVertical", "cilSwimming", "cilSync", "cilTablet", "cilTag", "cilTags", "cilTask", "cilTaxi", "cilTennisBall", "cilTennis", "cilTerminal", "cilTerrain", "cilTextShapes", "cilTextSize", "cilTextSquare", "cilTextStrike", "cilText", "cilThumbDown", "cilThumbUp", "cilToggleOff", "cilToggleOn", "cilToilet", "cilTouchApp", "cilTransfer", "cilTranslate", "cilTrash", "cilTriangle", "cilTruck", "cilTv", "cilUnderline", "cilUsb", "cilUserFemale", "cilUserFollow", "cilUserPlus", "cilUserUnfollow", "cilUserX", "cilUser", "cilVector", "cilVerticalAlignBottom", "cilVerticalAlignCenter", "cilVerticalAlignTop", "cilVideo", "cilVideogame", "cilViewColumn", "cilViewModule", "cilViewQuilt", "cilViewStream", "cilVoiceOverRecord", "cilVoice", "cilVolumeHigh", "cilVolumeLow", "cilVolumeOff", "cilWalk", "cilWallet", "cilWallpaper", "cilWarning", "cilWatch", "cilWc", "cilWeightlifitng", "cilWheelchair", "cilWifiSignal0", "cilWifiSignal1", "cilWifiSignal2", "cilWifiSignal3", "cilWifiSignal4", "cilWifiSignalOff", "cilWindowMaximize", "cilWindowMinimize", "cilWindowRestore", "cilWindow", "cilWrapText", "cilXCircle", "cilX", "cilYen", "cilZoomIn", "cilZoomOut", "cilZoom"]; const brandIcons = ["cib500px5", "cib500px", "cibAboutMe", "cibAbstract", "cibAcm", "cibAddthis", "cibAdguard", "cibAdobeAcrobatReader", "cibAdobeAfterEffects", "cibAdobeAudition", "cibAdobeCreativeCloud", "cibAdobeDreamweaver", "cibAdobeIllustrator", "cibAdobeIndesign", "cibAdobeLightroomClassic", "cibAdobeLightroom", "cibAdobePhotoshop", "cibAdobePremiere", "cibAdobeTypekit", "cibAdobeXd", "cibAdobe", "cibAirbnb", "cibAlgolia", "cibAlipay", "cibAllocine", "cibAmazonAws", "cibAmazonPay", "cibAmazon", "cibAmd", "cibAmericanExpress", "cibAnaconda", "cibAnalogue", "cibAndroidAlt", "cibAndroid", "cibAngellist", "cibAngularUniversal", "cibAngular", "cibAnsible", "cibApacheAirflow", "cibApacheFlink", "cibApacheSpark", "cibApache", "cibAppStoreIos", "cibAppStore", "cibAppleMusic", "cibApplePay", "cibApplePodcasts", "cibApple", "cibAppveyor", "cibAral", "cibArchLinux", "cibArchiveOfOurOwn", "cibArduino", "cibArtstation", "cibArxiv", "cibAsana", "cibAtAndT", "cibAtlassian", "cibAtom", "cibAudible", "cibAurelia", "cibAuth0", "cibAutomatic", "cibAutotask", "cibAventrix", "cibAzureArtifacts", "cibAzureDevops", "cibAzurePipelines", "cibBabel", "cibBaidu", "cibBamboo", "cibBancontact", "cibBandcamp", "cibBasecamp", "cibBathasu", "cibBehance", "cibBigCartel", "cibBing", "cibBit", "cibBitbucket", "cibBitcoin", "cibBitdefender", "cibBitly", "cibBlackberry", "cibBlender", "cibBloggerB", "cibBlogger", "cibBluetoothB", "cibBluetooth", "cibBoeing", "cibBoost", "cibBootstrap", "cibBower", "cibBrandAi", "cibBrave", "cibBtc", "cibBuddy", "cibBuffer", "cibBuyMeACoffee", "cibBuysellads", "cibBuzzfeed", "cibC", "cibCakephp", "cibCampaignMonitor", "cibCanva", "cibCashapp", "cibCassandra", "cibCastro", "cibCcAmazonPay", "cibCcAmex", "cibCcApplePay", "cibCcDinersClub", "cibCcDiscover", "cibCcJcb", "cibCcMastercard", "cibCcPaypal", "cibCcStripe", "cibCcVisa", "cibCentos", "cibCevo", "cibChase", "cibChef", "cibChromecast", "cibCircle", "cibCircleci", "cibCirrusci", "cibCisco", "cibCivicrm", "cibClockify", "cibClojure", "cibCloudbees", "cibCloudflare", "cibCmake", "cibCoOp", "cibCodacy", "cibCodeClimate", "cibCodecademy", "cibCodecov", "cibCodeigniter", "cibCodepen", "cibCoderwall", "cibCodesandbox", "cibCodeship", "cibCodewars", "cibCodio", "cibCoffeescript", "cibCommonWorkflowLanguage", "cibComposer", "cibCondaForge", "cibConekta", "cibConfluence", "cibCoreuiC", "cibCoreui", "cibCoursera", "cibCoveralls", "cibCpanel", "cibCplusplus", "cibCreativeCommonsBy", "cibCreativeCommonsNcEu", "cibCreativeCommonsNcJp", "cibCreativeCommonsNc", "cibCreativeCommonsNd", "cibCreativeCommonsPdAlt", "cibCreativeCommonsPd", "cibCreativeCommonsRemix", "cibCreativeCommonsSa", "cibCreativeCommonsSamplingPlus", "cibCreativeCommonsSampling", "cibCreativeCommonsShare", "cibCreativeCommonsZero", "cibCreativeCommons", "cibCrunchbase", "cibCrunchyroll", "cibCss3Shiled", "cibCss3", "cibCsswizardry", "cibD3Js", "cibDailymotion", "cibDashlane", "cibDazn", "cibDblp", "cibDebian", "cibDeepin", "cibDeezer", "cibDelicious", "cibDell", "cibDeno", "cibDependabot", "cibDesignerNews", "cibDevTo", "cibDeviantart", "cibDevrant", "cibDiaspora", "cibDigg", "cibDigitalOcean", "cibDiscord", "cibDiscourse", "cibDiscover", "cibDisqus", "cibDisroot", "cibDjango", "cibDocker", "cibDocusign", "cibDotNet", "cibDraugiemLv", "cibDribbble", "cibDrone", "cibDropbox", "cibDrupal", "cibDtube", "cibDuckduckgo", "cibDynatrace", "cibEbay", "cibEclipseide", "cibElasticCloud", "cibElasticSearch", "cibElasticStack", "cibElastic", "cibElectron", "cibElementary", "cibEleventy", "cibEllo", "cibElsevier", "cibEmlakjet", "cibEmpirekred", "cibEnvato", "cibEpicGames", "cibEpson", "cibEsea", "cibEslint", "cibEthereum", "cibEtsy", "cibEventStore", "cibEventbrite", "cibEvernote", "cibEverplaces", "cibEvry", "cibExercism", "cibExpertsExchange", "cibExpo", "cibEyeem", "cibFSecure", "cibFacebookF", "cibFacebook", "cibFaceit", "cibFandango", "cibFavro", "cibFeathub", "cibFedex", "cibFedora", "cibFeedly", "cibFidoAlliance", "cibFigma", "cibFilezilla", "cibFirebase", "cibFitbit", "cibFlask", "cibFlattr", "cibFlickr", "cibFlipboard", "cibFlutter", "cibFnac", "cibFoursquare", "cibFramer", "cibFreebsd", "cibFreecodecamp", "cibFurAffinity", "cibFurryNetwork", "cibGarmin", "cibGatsby", "cibGauges", "cibGenius", "cibGentoo", "cibGeocaching", "cibGerrit", "cibGg", "cibGhost", "cibGimp", "cibGit", "cibGitea", "cibGithub", "cibGitkraken", "cibGitlab", "cibGitpod", "cibGitter", "cibGlassdoor", "cibGlitch", "cibGmail", "cibGnuPrivacyGuard", "cibGnuSocial", "cibGnu", "cibGo", "cibGodotEngine", "cibGogCom", "cibGoldenline", "cibGoodreads", "cibGoogleAds", "cibGoogleAllo", "cibGoogleAnalytics", "cibGoogleChrome", "cibGoogleCloud", "cibGoogleKeep", "cibGooglePay", "cibGooglePlay", "cibGooglePodcasts", "cibGoogle", "cibGooglesCholar", "cibGovUk", "cibGradle", "cibGrafana", "cibGraphcool", "cibGraphql", "cibGrav", "cibGravatar", "cibGreenkeeper", "cibGreensock", "cibGroovy", "cibGroupon", "cibGrunt", "cibGulp", "cibGumroad", "cibGumtree", "cibHabr", "cibHackaday", "cibHackerearth", "cibHackerone", "cibHackerrank", "cibHackhands", "cibHackster", "cibHappycow", "cibHashnode", "cibHaskell", "cibHatenaBookmark", "cibHaxe", "cibHelm", "cibHere", "cibHeroku", "cibHexo", "cibHighly", "cibHipchat", "cibHitachi", "cibHockeyapp", "cibHomify", "cibHootsuite", "cibHotjar", "cibHouzz", "cibHp", "cibHtml5Shield", "cibHtml5", "cibHtmlacademy", "cibHuawei", "cibHubspot", "cibHulu", "cibHumbleBundle", "cibIata", "cibIbm", "cibIcloud", "cibIconjar", "cibIcq", "cibIdeal", "cibIfixit", "cibImdb", "cibIndeed", "cibInkscape", "cibInstacart", "cibInstagram", "cibInstapaper", "cibIntel", "cibIntellijidea", "cibIntercom", "cibInternetExplorer", "cibInvision", "cibIonic", "cibIssuu", "cibItchIo", "cibJabber", "cibJava", "cibJavascript", "cibJekyll", "cibJenkins", "cibJest", "cibJet", "cibJetbrains", "cibJira", "cibJoomla", "cibJquery", "cibJs", "cibJsdelivr", "cibJsfiddle", "cibJson", "cibJupyter", "cibJustgiving", "cibKaggle", "cibKaios", "cibKaspersky", "cibKentico", "cibKeras", "cibKeybase", "cibKeycdn", "cibKhanAcademy", "cibKibana", "cibKickstarter", "cibKik", "cibKirby", "cibKlout", "cibKnown", "cibKoFi", "cibKodi", "cibKoding", "cibKotlin", "cibKrita", "cibKubernetes", "cibLanyrd", "cibLaravelHorizon", "cibLaravelNova", "cibLaravel", "cibLastFm", "cibLatex", "cibLaunchpad", "cibLeetcode", "cibLenovo", "cibLess", "cibLetsEncrypt", "cibLetterboxd", "cibLgtm", "cibLiberapay", "cibLibrarything", "cibLibreoffice", "cibLine", "cibLinkedinIn", "cibLinkedin", "cibLinuxFoundation", "cibLinuxMint", "cibLinux", "cibLivejournal", "cibLivestream", "cibLogstash", "cibLua", "cibLumen", "cibLyft", "cibMacys", "cibMagento", "cibMagisk", "cibMailRu", "cibMailchimp", "cibMakerbot", "cibManjaro", "cibMarkdown", "cibMarketo", "cibMastercard", "cibMastodon", "cibMaterialDesign", "cibMathworks", "cibMatrix", "cibMattermost", "cibMatternet", "cibMaxcdn", "cibMcafee", "cibMediaTemple", "cibMediafire", "cibMediumM", "cibMedium", "cibMeetup", "cibMega", "cibMendeley", "cibMessenger", "cibMeteor", "cibMicroBlog", "cibMicrogenetics", "cibMicrosoftEdge", "cibMicrosoft", "cibMinetest", "cibMinutemailer", "cibMix", "cibMixcloud", "cibMixer", "cibMojang", "cibMonero", "cibMongodb", "cibMonkeytie", "cibMonogram", "cibMonzo", "cibMoo", "cibMozillaFirefox", "cibMozilla", "cibMusescore", "cibMxlinux", "cibMyspace", "cibMysql", "cibNativescript", "cibNec", "cibNeo4J", "cibNetflix", "cibNetlify", "cibNextJs", "cibNextcloud", "cibNextdoor", "cibNginx", "cibNim", "cibNintendo3Ds", "cibNintendoGamecube", "cibNintendoSwitch", "cibNintendo", "cibNodeJs", "cibNodeRed", "cibNodemon", "cibNokia", "cibNotion", "cibNpm", "cibNucleo", "cibNuget", "cibNuxtJs", "cibNvidia", "cibOcaml", "cibOctave", "cibOctopusDeploy", "cibOculus", "cibOdnoklassniki", "cibOpenAccess", "cibOpenCollective", "cibOpenId", "cibOpenSourceInitiative", "cibOpenstreetmap", "cibOpensuse", "cibOpenvpn", "cibOpera", "cibOpsgenie", "cibOracle", "cibOrcid", "cibOrigin", "cibOsi", "cibOsmc", "cibOvercast", "cibOverleaf", "cibOvh", "cibPagekit", "cibPalantir", "cibPandora", "cibPantheon", "cibPatreon", "cibPaypal", "cibPeriscope", "cibPhp", "cibPicartoTv", "cibPinboard", "cibPingdom", "cibPingup", "cibPinterestP", "cibPinterest", "cibPivotaltracker", "cibPlangrid", "cibPlayerMe", "cibPlayerfm", "cibPlaystation", "cibPlaystation3", "cibPlaystation4", "cibPlesk", "cibPlex", "cibPluralsight", "cibPlurk", "cibPocket", "cibPostgresql", "cibPostman", "cibPostwoman", "cibPowershell", "cibPrettier", "cibPrismic", "cibProbot", "cibProcesswire", "cibProductHunt", "cibProtoIo", "cibProtonmail", "cibProxmox", "cibPypi", "cibPython", "cibPytorch", "cibQgis", "cibQiita", "cibQq", "cibQualcomm", "cibQuantcast", "cibQuantopian", "cibQuarkus", "cibQuora", "cibQwiklabs", "cibQzone", "cibR", "cibRadiopublic", "cibRails", "cibRaspberryPi", "cibReact", "cibReadTheDocs", "cibReadme", "cibRealm", "cibReason", "cibRedbubble", "cibRedditAlt", "cibReddit", "cibRedhat", "cibRedis", "cibRedux", "cibRenren", "cibReverbnation", "cibRiot", "cibRipple", "cibRiseup", "cibRollupJs", "cibRoots", "cibRoundcube", "cibRss", "cibRstudio", "cibRuby", "cibRubygems", "cibRunkeeper", "cibRust", "cibSafari", "cibSahibinden", "cibSalesforce", "cibSaltstack", "cibSamsungPay", "cibSamsung", "cibSap", "cibSassAlt", "cibSass", "cibSaucelabs", "cibScala", "cibScaleway", "cibScribd", "cibScrutinizerci", "cibSeagate", "cibSega", "cibSellfy", "cibSemaphoreci", "cibSensu", "cibSentry", "cibServerFault", "cibShazam", "cibShell", "cibShopify", "cibShowpad", "cibSiemens", "cibSignal", "cibSinaWeibo", "cibSitepoint", "cibSketch", "cibSkillshare", "cibSkyliner", "cibSkype", "cibSlack", "cibSlashdot", "cibSlickpic", "cibSlides", "cibSlideshare", "cibSmashingmagazine", "cibSnapchat", "cibSnapcraft", "cibSnyk", "cibSociety6", "cibSocketIo", "cibSogou", "cibSolus", "cibSongkick", "cibSonos", "cibSoundcloud", "cibSourceforge", "cibSourcegraph", "cibSpacemacs", "cibSpacex", "cibSparkfun", "cibSparkpost", "cibSpdx", "cibSpeakerDeck", "cibSpectrum", "cibSpotify", "cibSpotlight", "cibSpreaker", "cibSpring", "cibSprint", "cibSquarespace", "cibStackbit", "cibStackexchange", "cibStackoverflow", "cibStackpath", "cibStackshare", "cibStadia", "cibStatamic", "cibStaticman", "cibStatuspage", "cibSteam", "cibSteem", "cibSteemit", "cibStitcher", "cibStorify", "cibStorybook", "cibStrapi", "cibStrava", "cibStripeS", "cibStripe", "cibStubhub", "cibStumbleupon", "cibStyleshare", "cibStylus", "cibSublimeText", "cibSubversion", "cibSuperuser", "cibSvelte", "cibSvg", "cibSwagger", "cibSwarm", "cibSwift", "cibSymantec", "cibSymfony", "cibSynology", "cibTMobile", "cibTableau", "cibTails", "cibTapas", "cibTeamviewer", "cibTed", "cibTeespring", "cibTelegramPlane", "cibTelegram", "cibTencentQq", "cibTencentWeibo", "cibTensorflow", "cibTerraform", "cibTesla", "cibTheMighty", "cibTheMovieDatabase", "cibTidal", "cibTiktok", "cibTinder", "cibTodoist", "cibToggl", "cibTopcoder", "cibToptal", "cibTor", "cibToshiba", "cibTrainerroad", "cibTrakt", "cibTravisci", "cibTreehouse", "cibTrello", "cibTripadvisor", "cibTrulia", "cibTumblr", "cibTwilio", "cibTwitch", "cibTwitter", "cibTwoo", "cibTypescript", "cibTypo3", "cibUber", "cibUbisoft", "cibUblockOrigin", "cibUbuntu", "cibUdacity", "cibUdemy", "cibUikit", "cibUmbraco", "cibUnity", "cibUnrealEngine", "cibUnsplash", "cibUntappd", "cibUpwork", "cibUsb", "cibV8", "cibVagrant", "cibVenmo", "cibVerizon", "cibViadeo", "cibViber", "cibVim", "cibVimeoV", "cibVimeo", "cibVine", "cibVirb", "cibVisa", "cibVisualStudioCode", "cibVisualStudio", "cibVk", "cibVlc", "cibVsco", "cibVueJs", "cibWattpad", "cibWeasyl", "cibWebcomponentsOrg", "cibWebpack", "cibWebstorm", "cibWechat", "cibWhatsapp", "cibWhenIWork", "cibWii", "cibWiiu", "cibWikipedia", "cibWindows", "cibWire", "cibWireguard", "cibWix", "cibWolframLanguage", "cibWolframMathematica", "cibWolfram", "cibWordpress", "cibWpengine", "cibXPack", "cibXbox", "cibXcode", "cibXero", "cibXiaomi", "cibXing", "cibXrp", "cibXsplit", "cibYCombinator", "cibYahoo", "cibYammer", "cibYandex", "cibYarn", "cibYelp", "cibYoutube", "cibZalando", "cibZapier", "cibZeit", "cibZendesk", "cibZerply", "cibZillow", "cibZingat", "cibZoom", "cibZorin", "cibZulip"]; const flagIcons = ["cifAd", "cifAe", "cifAf", "cifAg", "cifAl", "cifAm", "cifAo", "cifAr", "cifAt", "cifAu", "cifAz", "cifBa", "cifBb", "cifBd", "cifBe", "cifBf", "cifBg", "cifBh", "cifBi", "cifBj", "cifBn", "cifBo", "cifBr", "cifBs", "cifBt", "cifBw", "cifBy", "cifBz", "cifCa", "cifCd", "cifCf", "cifCg", "cifCh", "cifCi", "cifCl", "cifCm", "cifCn", "cifCo", "cifCr", "cifCu", "cifCv", "cifCy", "cifCz", "cifDe", "cifDj", "cifDk", "cifDm", "cifDo", "cifDz", "cifEc", "cifEe", "cifEg", "cifEr", "cifEs", "cifEt", "cifFi", "cifFj", "cifFm", "cifFr", "cifGa", "cifGb", "cifGd", "cifGe", "cifGh", "cifGm", "cifGn", "cifGq", "cifGr", "cifGt", "cifGw", "cifGy", "cifHk", "cifHn", "cifHr", "cifHt", "cifHu", "cifId", "cifIe", "cifIl", "cifIn", "cifIq", "cifIr", "cifIs", "cifIt", "cifJm", "cifJo", "cifJp", "cifKe", "cifKg", "cifKh", "cifKi", "cifKm", "cifKn", "cifKp", "cifKr", "cifKw", "cifKz", "cifLa", "cifLb", "cifLc", "cifLi", "cifLk", "cifLr", "cifLs", "cifLt", "cifLu", "cifLv", "cifLy", "cifMa", "cifMc", "cifMd", "cifMe", "cifMg", "cifMh", "cifMk", "cifMl", "cifMm", "cifMn", "cifMr", "cifMt", "cifMu", "cifMv", "cifMw", "cifMx", "cifMy", "cifMz", "cifNa", "cifNe", "cifNg", "cifNi", "cifNl", "cifNo", "cifNp", "cifNr", "cifNu", "cifNz", "cifOm", "cifPa", "cifPe", "cifPg", "cifPh", "cifPk", "cifPl", "cifPt", "cifPw", "cifPy", "cifQa", "cifRo", "cifRs", "cifRu", "cifRw", "cifSa", "cifSb", "cifSc", "cifSd", "cifSe", "cifSg", "cifSi", "cifSk", "cifSl", "cifSm", "cifSn", "cifSo", "cifSr", "cifSs", "cifSt", "cifSv", "cifSy", "cifSz", "cifTd", "cifTg", "cifTh", "cifTj", "cifTl", "cifTm", "cifTn", "cifTo", "cifTr", "cifTt", "cifTv", "cifTw", "cifTz", "cifUa", "cifUg", "cifUs", "cifUy", "cifUz", "cifVa", "cifVc", "cifVe", "cifVn", "cifWs", "cifXk", "cifYe", "cifZa", "cifZm", "cifZw"]; const tabPaneActiveKey = ref(1); - return { - tabPaneActiveKey, - linearIcons, - brandIcons, - flagIcons, - icon - }; + const __returned__ = { linearIcons, brandIcons, flagIcons, tabPaneActiveKey, ref, get CIcon() { + return CIcon; + }, get icon() { + return icon; + } }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Installation

To start using CoreUI Vue Icons in your project, you need to install it as a dependency. Follow the instructions below based on your package manager of choice:

Npm

// CoreUI Icons library\nnpm install @coreui/icons\n\n// CIcon component\nnpm install @coreui/icons-vue \n

Yarn

yarn add @coreui/icons\nyarn add @coreui/icons-vue\n

Usage

Import vue.js icons using one of these two options:

Single Vue.js icon

To use a single Vue.js icon, import the <CIcon> component and the desired icon(s) from the @coreui/icons library. Then, include the <CIcon> component in your code and specify the icon prop with the imported icon variable. Additionally, you can set the desired size for the icon using the size prop.

', 10); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Installation #

To start using CoreUI Vue Icons in your project, you need to install it as a dependency. Follow the instructions below based on your package manager of choice:

Npm #

// CoreUI Icons library\nnpm install @coreui/icons\n\n// CIcon component\nnpm install @coreui/icons-vue \n

Yarn #

yarn add @coreui/icons\nyarn add @coreui/icons-vue\n

Usage #

Import vue.js icons using one of these two options:

Single Vue.js icon #

To use a single Vue.js icon, import the <CIcon> component and the desired icon(s) from the @coreui/icons library. Then, include the <CIcon> component in your code and specify the icon prop with the imported icon variable. Additionally, you can set the desired size for the icon using the size prop.

', 10); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CIcon :icon="cilList" size="xl"/>\n  <CIcon :icon="cilShieldAlt" size="xl"/>\n</template>\n<script>\nimport { CIcon } from '@coreui/icons-vue';\nimport { cilList, cilShieldAlt } from '@coreui/icons';\nexport default {\n  components: {\n    CIcon\n  },\n  setup() {\n    return {\n      cilList,\n      cilShieldAlt,\n    }\n  }\n}\n</script>\n

All icons

To use all icons available in the CoreUI Vue.js Icons package, import the CIcon component and the entire @coreui/icons library using the * as syntax. Then, reference the desired icon within the icon prop.

<template>\n  <CIcon :icon="icon.cilList" size="xxl"/>\n</template>\n<script>\nimport { CIcon } from '@coreui/icons-vue';\nimport * as icon from '@coreui/icons';\nexport default {\n  components: {\n    CIcon\n  },\n  setup() {\n    return {\n      icon,\n    }\n  }\n}\n</script>\n

Icons object

This way you import your needed Vue.js icons once and pass them to $root object on 'icons' key

// main.js / main.ts\nimport { CIcon } from '@coreui/icons-vue';\nimport {\n  cilArrowBottom,\n  cilArrowRight,\n  cilArrowTop,\n  cilBan,\n  cilBasket,\n  cilBell,\n  cilCalculator,\n  cilCalendar\n} from '@coreui/icons'\n\nconst icons = {\n  cilArrowBottom,\n  cilArrowRight,\n  cilArrowTop,\n  cilBan,\n  cilBasket,\n  cilBell,\n  cilCalculator,\n  cilCalendar\n}\n\nconst app = createApp(App)\n...\napp.provide('icons', icons)\napp.component('CIcon', CIcon)\n...\napp.mount('#app')\n\n

Later anywhere in the app:

<CIcon icon="cilArrowBottom" size="xxl"/>\n<CIcon icon="cil-arrow-bottom" size="xxl"/>\n

You can pass the name of the icon both in camelCase and kebab-case

Color

The CoreUI Vue Icon component offers versatile color customization options, empowering you to personalize the icons in multiple ways. You can effortlessly modify the colors by utilizing either class names or CSS variables, providing flexibility and ease in creating visually stunning and cohesive icon designs.

Utility classes

With some color utility classes, you may use color to convey message.

', 14); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CIcon :icon="cilList" size="xl"/>\n  <CIcon :icon="cilShieldAlt" size="xl"/>\n</template>\n<script setup>\n  import { CIcon } from '@coreui/icons-vue';\n  import { cilList, cilShieldAlt } from '@coreui/icons';\n</script>\n

All icons #

To use all icons available in the CoreUI Vue.js Icons package, import the CIcon component and the entire @coreui/icons library using the * as syntax. Then, reference the desired icon within the icon prop.

<template>\n  <CIcon :icon="icon.cilList" size="xxl"/>\n</template>\n<script setup>\n  import { CIcon } from '@coreui/icons-vue';\n  import * as icon from '@coreui/icons';\n</script>\n

Icons object #

This way you import your needed Vue.js icons once and pass them to $root object on 'icons' key

// main.js / main.ts\nimport { CIcon } from '@coreui/icons-vue';\nimport {\n  cilArrowBottom,\n  cilArrowRight,\n  cilArrowTop,\n  cilBan,\n  cilBasket,\n  cilBell,\n  cilCalculator,\n  cilCalendar\n} from '@coreui/icons'\n\nconst icons = {\n  cilArrowBottom,\n  cilArrowRight,\n  cilArrowTop,\n  cilBan,\n  cilBasket,\n  cilBell,\n  cilCalculator,\n  cilCalendar\n}\n\nconst app = createApp(App)\n...\napp.provide('icons', icons)\napp.component('CIcon', CIcon)\n...\napp.mount('#app')\n\n

Later anywhere in the app:

<CIcon icon="cilArrowBottom" size="xxl"/>\n<CIcon icon="cil-arrow-bottom" size="xxl"/>\n

You can pass the name of the icon both in camelCase and kebab-case

Color #

The CoreUI Vue Icon component offers versatile color customization options, empowering you to personalize the icons in multiple ways. You can effortlessly modify the colors by utilizing either class names or CSS variables, providing flexibility and ease in creating visually stunning and cohesive icon designs.

Utility classes #

With some color utility classes, you may use color to convey message.

', 14); const _hoisted_26 = { class: "docs-example rounded-top p-4" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
::: demo\n<CIcon :icon="cilList" size="xl" />\n<CIcon :icon="cilList" class="text-primary" size="xl" />\n<CIcon :icon="cilList" class="text-secondary" size="xl" />\n<CIcon :icon="cilList" class="text-success" size="xl" />\n<CIcon :icon="cilList" class="text-danger" size="xl" />\n<CIcon :icon="cilList" class="text-warning" size="xl" />\n<CIcon :icon="cilList" class="text-info" size="xl" />\n:::\n

CSS Variables

CoreUI Vue Icons leverage local CSS variables, such as --ci-primary-color and --ci-secondary-color (for Duotone icons), to facilitate real-time customization. This allows developers to easily customize the icons by providing their own custom CSS variables.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CIcon :icon="cilList" size="xl" />\n<CIcon :icon="cilList" class="text-primary" size="xl" />\n<CIcon :icon="cilList" class="text-secondary" size="xl" />\n<CIcon :icon="cilList" class="text-success" size="xl" />\n<CIcon :icon="cilList" class="text-danger" size="xl" />\n<CIcon :icon="cilList" class="text-warning" size="xl" />\n<CIcon :icon="cilList" class="text-info" size="xl" />\n

CSS Variables #

CoreUI Vue Icons leverage local CSS variables, such as --ci-primary-color and --ci-secondary-color (for Duotone icons), to facilitate real-time customization. This allows developers to easily customize the icons by providing their own custom CSS variables.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CIcon :icon="cilList" size="xl" :style="{'--ci-primary-color': 'red'}" />\n<CIcon :icon="cilList" size="xl" :style="{'--ci-primary-color': 'green'}" />\n

Sizing

Set heights of vue icons using size property like size="lg" and size="sm".

', 3); +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CIcon :icon="cilList" size="xl" :style="{'--ci-primary-color': 'red'}" />\n<CIcon :icon="cilList" size="xl" :style="{'--ci-primary-color': 'green'}" />\n

Sizing #

Set heights of vue icons using size property like size="lg" and size="sm".

', 3); const _hoisted_34 = { class: "docs-example rounded-top p-4" }; -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CIcon :icon="cilList" size="sm" />\n<CIcon :icon="cilList" />\n<CIcon :icon="cilList" size="lg" />\n<CIcon :icon="cilList" size="xl" />\n<CIcon :icon="cilList" size="xxl" />\n<CIcon :icon="cilList" size="3xl" />\n

Custom SVG Icons

The <CIconSvg> component allows you to add custom SVG icons to your application. In case you want to use custom SVG icons, this component provides the flexibility to include bespoke SVG graphics that align with your design requirements.

', 3); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CIcon :icon="cilList" size="sm" />\n<CIcon :icon="cilList" />\n<CIcon :icon="cilList" size="lg" />\n<CIcon :icon="cilList" size="xl" />\n<CIcon :icon="cilList" size="xxl" />\n<CIcon :icon="cilList" size="3xl" />\n

Custom SVG Icons #

The <CIconSvg> component allows you to add custom SVG icons to your application. In case you want to use custom SVG icons, this component provides the flexibility to include bespoke SVG graphics that align with your design requirements.

', 3); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; const _hoisted_39 = /* @__PURE__ */ createBaseVNode("svg", { viewBox: "0 0 102 116", @@ -4782,16 +4781,15 @@ const _hoisted_39 = /* @__PURE__ */ createBaseVNode("svg", { ]) ]) ], -1); -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CIconSvg size="4xl">\n    <svg\n      viewBox="0 0 102 116"\n      version="1.1"\n      xmlns="http://www.w3.org/2000/svg"\n      xmlnsXlink="http://www.w3.org/1999/xlink"\n    >\n      <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">\n        <g fill="#3C4B64" fillRule="nonzero">\n          <path\n            d="M96,25.091 L57,2.5743 C53.2871871,0.430706461 48.7128129,0.430706461 45,2.5743 L6,25.091 C2.292246,27.239646 0.00690676667,31.1979678 0,35.4833 L0,80.5167 C0.00688629146,84.8020377 2.29223099,88.760369 6,90.909 L45,113.4256 C48.7127742,115.569338 53.2872258,115.569338 57,113.4256 L96,90.909 C99.707769,88.760369 101.993114,84.8020377 102,80.5167 L102,35.4833 C101.993093,31.1979678 99.707754,27.239646 96,25.091 Z M94,80.5167 C94,81.9457261 93.2375729,83.266187 92,83.9807 L53,106.4974 C51.7623957,107.211931 50.2376043,107.211931 49,106.4974 L10,83.9807 C8.76242713,83.266187 8,81.9457261 8,80.5167 L8,35.4833 C8,34.0542382 8.76239619,32.7337309 10,32.0192 L49,9.5025 C50.2376043,8.78796882 51.7623957,8.78796882 53,9.5025 L92,32.0192 C93.2376038,32.7337309 94,34.0542382 94,35.4833 L94,80.5167 Z"\n            id="Shape"\n          />\n          <path\n            d="M74.0216,71.0379 L71.1556,71.0379 C70.4827717,71.0379163 69.8208181,71.2076524 69.231,71.5314 L51.95,81.0167 L32,69.4981 L32,46.5206 L51.95,35.002 L69.2394,44.457 C69.8278903,44.7788245 70.4878603,44.9474965 71.1586,44.9475 L74.0218,44.9475 C75.1263695,44.9475 76.0218,44.0520695 76.0218,42.9475 L76.0218,40.2357 C76.0218,39.5046907 75.6230914,38.8318844 74.9818,38.481 L55.793,27.9854 C53.3404536,26.651551 50.3714915,26.6856213 47.9502,28.0754 L28,39.5929 C25.5282949,41.025705 24.0048155,43.6646378 24,46.5216 L24,69.4976 C24,72.3557593 25.5247614,74.9968204 28,76.4259 L47.95,87.9444 C50.3719491,89.3331078 53.3408366,89.3663802 55.7933,88.0323 L74.9833,77.5012 C75.623333,77.1499602 76.021125,76.4778764 76.0211,75.7478 L76.0211,73.0378 C76.0210448,71.9334648 75.1259352,71.0381761 74.0216,71.0379 L74.0216,71.0379 Z"\n            id="Path"\n          />\n        </g>\n      </g>\n    </svg>\n  </CIconSvg>\n</template>\n<script>\n  import { CIconSvg } from '@coreui/icons-vue';\n  export default {\n    components: {\n      CIconSvg\n    }\n  }\n</script>\n

Available icons

CoreUI Icons package is delivered with more than 1500 icons in multiple formats SVG, PNG, and Webfonts. CoreUI Icons are beautifully crafted symbols for common actions and items. You can use them in your digital products for web or mobile app.

', 3); +const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { CIconSvg } from '@coreui/icons-vue';\n</script>\n<template>\n  <CIconSvg size="4xl">\n    <svg\n      viewBox="0 0 102 116"\n      version="1.1"\n      xmlns="http://www.w3.org/2000/svg"\n      xmlnsXlink="http://www.w3.org/1999/xlink"\n    >\n      <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">\n        <g fill="#3C4B64" fillRule="nonzero">\n          <path\n            d="M96,25.091 L57,2.5743 C53.2871871,0.430706461 48.7128129,0.430706461 45,2.5743 L6,25.091 C2.292246,27.239646 0.00690676667,31.1979678 0,35.4833 L0,80.5167 C0.00688629146,84.8020377 2.29223099,88.760369 6,90.909 L45,113.4256 C48.7127742,115.569338 53.2872258,115.569338 57,113.4256 L96,90.909 C99.707769,88.760369 101.993114,84.8020377 102,80.5167 L102,35.4833 C101.993093,31.1979678 99.707754,27.239646 96,25.091 Z M94,80.5167 C94,81.9457261 93.2375729,83.266187 92,83.9807 L53,106.4974 C51.7623957,107.211931 50.2376043,107.211931 49,106.4974 L10,83.9807 C8.76242713,83.266187 8,81.9457261 8,80.5167 L8,35.4833 C8,34.0542382 8.76239619,32.7337309 10,32.0192 L49,9.5025 C50.2376043,8.78796882 51.7623957,8.78796882 53,9.5025 L92,32.0192 C93.2376038,32.7337309 94,34.0542382 94,35.4833 L94,80.5167 Z"\n            id="Shape"\n          />\n          <path\n            d="M74.0216,71.0379 L71.1556,71.0379 C70.4827717,71.0379163 69.8208181,71.2076524 69.231,71.5314 L51.95,81.0167 L32,69.4981 L32,46.5206 L51.95,35.002 L69.2394,44.457 C69.8278903,44.7788245 70.4878603,44.9474965 71.1586,44.9475 L74.0218,44.9475 C75.1263695,44.9475 76.0218,44.0520695 76.0218,42.9475 L76.0218,40.2357 C76.0218,39.5046907 75.6230914,38.8318844 74.9818,38.481 L55.793,27.9854 C53.3404536,26.651551 50.3714915,26.6856213 47.9502,28.0754 L28,39.5929 C25.5282949,41.025705 24.0048155,43.6646378 24,46.5216 L24,69.4976 C24,72.3557593 25.5247614,74.9968204 28,76.4259 L47.95,87.9444 C50.3719491,89.3331078 53.3408366,89.3663802 55.7933,88.0323 L74.9833,77.5012 C75.623333,77.1499602 76.021125,76.4778764 76.0211,75.7478 L76.0211,73.0378 C76.0210448,71.9334648 75.1259352,71.0381761 74.0216,71.0379 L74.0216,71.0379 Z"\n            id="Path"\n          />\n        </g>\n      </g>\n    </svg>\n  </CIconSvg>\n</template>\n

Available icons #

CoreUI Icons package is delivered with more than 1500 icons in multiple formats SVG, PNG, and Webfonts. CoreUI Icons are beautifully crafted symbols for common actions and items. You can use them in your digital products for web or mobile app.

', 3); const _hoisted_43 = { class: "p-3 py-4 mb-2 bg-body-tertiary text-center rounded" }; const _hoisted_44 = { class: "text-body-secondary text-center pt-1 small" }; const _hoisted_45 = { class: "p-3 py-4 mb-2 bg-body-tertiary text-center rounded" }; const _hoisted_46 = { class: "text-body-secondary text-center pt-1 small" }; const _hoisted_47 = { class: "p-3 py-4 mb-2 bg-body-tertiary text-center rounded" }; const _hoisted_48 = { class: "text-body-secondary text-center pt-1 small" }; -const _hoisted_49 = /* @__PURE__ */ createStaticVNode('

API

CIcon

import { CIcon } from '@coreui/icons-vue'\n// or\nimport CIcon from '@coreui/icons-vue/src/CIcon'\n

Props

Prop nameDescriptionTypeValuesDefault
contentUse :icon="..." instead of
@deprecated since version 3.0
string|array--
custom-class-nameUse for replacing default CIcon component classes. Prop is overriding the 'size' prop.string|array|object--
iconName of the icon placed in React object or SVG content.string | string[]--
nameUse icon="..." instead of
@deprecated since version 3.0
string--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
useIf defined component will be rendered using 'use' tag.string--

CIconSvg

import { CIconSvg } from '@coreui/icons-vue'\n// or\nimport CIconSvg from '@coreui/icons-vue/src/CIconSvg'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-class-nameUse for replacing default CIconSvg component classes. Prop is overriding the 'size' prop.string|array|object--
heightThe height attribute defines the vertical length of an icon.number--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
widthThe width attribute defines the horizontal length of an icon.number--
', 9); +const _hoisted_49 = /* @__PURE__ */ createStaticVNode('

API #

CIcon #

import { CIcon } from '@coreui/icons-vue'\n// or\nimport CIcon from '@coreui/icons-vue/src/CIcon'\n

Props #

Prop nameDescriptionTypeValuesDefault
contentUse :icon="..." instead of
@deprecated since version 3.0
string|array--
custom-class-nameUse for replacing default CIcon component classes. Prop is overriding the 'size' prop.string|array|object--
iconName of the icon placed in React object or SVG content.string | string[]--
nameUse icon="..." instead of
@deprecated since version 3.0
string--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
useIf defined component will be rendered using 'use' tag.string--

CIconSvg #

import { CIconSvg } from '@coreui/icons-vue'\n// or\nimport CIconSvg from '@coreui/icons-vue/src/CIconSvg'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-class-nameUse for replacing default CIconSvg component classes. Prop is overriding the 'size' prop.string|array|object--
heightThe height attribute defines the vertical length of an icon.number--
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.string--
titleTitle tag content.string--
widthThe width attribute defines the horizontal length of an icon.number--
', 9); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CIcon = resolveComponent("CIcon"); const _component_CIconSvg = resolveComponent("CIconSvg"); const _component_CNavLink = resolveComponent("CNavLink"); const _component_CNavItem = resolveComponent("CNavItem"); @@ -4803,47 +4801,47 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("div", null, [ _hoisted_1, createBaseVNode("div", _hoisted_11, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilShieldAlt, size: "xl" }, null, 8, ["icon"]) ]), _hoisted_12, createBaseVNode("div", _hoisted_26, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-primary", size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-secondary", size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-success", size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-danger", size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-warning", size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, class: "text-info", size: "xl" @@ -4851,12 +4849,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]), _hoisted_27, createBaseVNode("div", _hoisted_30, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xl", style: { "--ci-primary-color": "red" } }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xl", style: { "--ci-primary-color": "green" } @@ -4864,26 +4862,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]), _hoisted_31, createBaseVNode("div", _hoisted_34, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "sm" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "lg" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "xxl" }, null, 8, ["icon"]), - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon.cilList, size: "3xl" }, null, 8, ["icon"]) @@ -4975,11 +4973,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { lg: { cols: 5 } }, { default: withCtx(() => [ - (openBlock(true), createElementBlock(Fragment, null, renderList($setup.linearIcons, (i) => { - return openBlock(), createBlock(_component_CCol, { class: "mb-4" }, { + (openBlock(), createElementBlock(Fragment, null, renderList($setup.linearIcons, (i) => { + return createVNode(_component_CCol, { class: "mb-4" }, { default: withCtx(() => [ createBaseVNode("div", _hoisted_43, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon[i], size: "xxl" }, null, 8, ["icon"]) @@ -4988,7 +4986,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]), _: 2 }, 1024); - }), 256)) + }), 64)) ]), _: 1 })) : createCommentVNode("", true) @@ -5008,11 +5006,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { lg: { cols: 5 } }, { default: withCtx(() => [ - (openBlock(true), createElementBlock(Fragment, null, renderList($setup.brandIcons, (i) => { - return openBlock(), createBlock(_component_CCol, { class: "mb-4" }, { + (openBlock(), createElementBlock(Fragment, null, renderList($setup.brandIcons, (i) => { + return createVNode(_component_CCol, { class: "mb-4" }, { default: withCtx(() => [ createBaseVNode("div", _hoisted_45, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon[i], size: "xxl" }, null, 8, ["icon"]) @@ -5021,7 +5019,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]), _: 2 }, 1024); - }), 256)) + }), 64)) ]), _: 1 })) : createCommentVNode("", true) @@ -5041,11 +5039,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { lg: { cols: 5 } }, { default: withCtx(() => [ - (openBlock(true), createElementBlock(Fragment, null, renderList($setup.flagIcons, (i) => { - return openBlock(), createBlock(_component_CCol, { class: "mb-4" }, { + (openBlock(), createElementBlock(Fragment, null, renderList($setup.flagIcons, (i) => { + return createVNode(_component_CCol, { class: "mb-4" }, { default: withCtx(() => [ createBaseVNode("div", _hoisted_47, [ - createVNode(_component_CIcon, { + createVNode($setup["CIcon"], { icon: $setup.icon[i], size: "xxl" }, null, 8, ["icon"]) @@ -5054,7 +5052,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]), _: 2 }, 1024); - }), 256)) + }), 64)) ]), _: 1 })) : createCommentVNode("", true) diff --git a/vue/docs/assets/image.html-DC5HLYH1.js b/vue/docs/assets/image.html-G4Gptwhr.js similarity index 85% rename from vue/docs/assets/image.html-DC5HLYH1.js rename to vue/docs/assets/image.html-G4Gptwhr.js index de931277e5d..4913be37682 100644 --- a/vue/docs/assets/image.html-DC5HLYH1.js +++ b/vue/docs/assets/image.html-G4Gptwhr.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "responsive-images", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Responsive images "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#responsive-images", - "aria-hidden": "true" + href: "#responsive-images" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -21,9 +20,9 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" to the image so that it scales with the parent element.") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CImage fluid src="/images/vue.jpg" />\n

Image thumbnails

In addition to our border-radius utilities, you can use propthumbnail to give an image a rounded 1px border appearance.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CImage fluid src="/images/vue.jpg" />\n

Image thumbnails #

In addition to our border-radius utilities, you can use propthumbnail to give an image a rounded 1px border appearance.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CImage rounded thumbnail src="/images/vue400.jpg" width="200" height="200"/>\n

Aligning images

Align images with the align property.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CImage rounded thumbnail src="/images/vue400.jpg" width="200" height="200"/>\n

Aligning images #

Align images with the align property.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; const _hoisted_12 = { class: "clearfix" }; const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<div class="clearfix">\n  <CImage align="start" rounded src="/images/vue400.jpg" width="200" height="200"/>\n  <CImage align="end" rounded src="/images/vue400.jpg" width="200" height="200"/>\n</div>\n
', 1); @@ -32,7 +31,7 @@ const _hoisted_15 = { class: "clearfix" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<div class="clearfix">\n  <CImage align="center" rounded src="/images/vue400.jpg" width="200" height="200"/>\n</div>\n
', 1); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; const _hoisted_18 = { class: "text-center" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<div class="text-center">\n  <CImage rounded src="/images/vue400.jpg" width="200" height="200"/>\n</div>\n

API

CImage

import { CImage } from '@coreui/vue'\n// or\nimport CImage from '@coreui/vue/src/components/image/CImage'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the horizontal aligment.string'start', 'center', 'end'-
fluidMake image responsive.boolean--
roundedMake image rounded.boolean--
thumbnailGive an image a rounded 1px border appearance.boolean--
', 6); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<div class="text-center">\n  <CImage rounded src="/images/vue400.jpg" width="200" height="200"/>\n</div>\n

API #

CImage #

import { CImage } from '@coreui/vue'\n// or\nimport CImage from '@coreui/vue/src/components/image/CImage'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the horizontal aligment.string'start', 'center', 'end'-
fluidMake image responsive.boolean--
roundedMake image rounded.boolean--
thumbnailGive an image a rounded 1px border appearance.boolean--
', 6); function _sfc_render(_ctx, _cache) { const _component_CImage = resolveComponent("CImage"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/index.html-CXtJwXEn.js b/vue/docs/assets/index.html-CXtJwXEn.js new file mode 100644 index 00000000000..1bb7a1788ec --- /dev/null +++ b/vue/docs/assets/index.html-CXtJwXEn.js @@ -0,0 +1,11 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div"); +} +const index_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "index.html.vue"]]); +const data = JSON.parse('{"path":"/","title":"","lang":"en-US","frontmatter":{"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/"}]]},"headers":[],"filePathRelative":"index.md"}'); +export { + index_html as comp, + data +}; diff --git a/vue/docs/assets/input-group.html-BD4KH7gA.js b/vue/docs/assets/input-group.html-DD48IpLE.js similarity index 97% rename from vue/docs/assets/input-group.html-BD4KH7gA.js rename to vue/docs/assets/input-group.html-DD48IpLE.js index 4072e6c4df2..d73fce05807 100644 --- a/vue/docs/assets/input-group.html-BD4KH7gA.js +++ b/vue/docs/assets/input-group.html-DD48IpLE.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "basic-example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Basic example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#basic-example", - "aria-hidden": "true" + href: "#basic-example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -17,23 +16,23 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("s outside the input group.") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText id="basic-addon1">@</CInputGroupText>\n  <CFormInput placeholder="Username" aria-label="Username" aria-describedby="basic-addon1"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2"/>\n  <CInputGroupText id="basic-addon2">@example.com</CInputGroupText>\n</CInputGroup>\n<CFormLabel for="basic-url">Your vanity URL</CFormLabel>\n<CInputGroup class="mb-3">\n  <CInputGroupText id="basic-addon3">https://example.com/users/</CInputGroupText>\n  <CFormInput id="basic-url" aria-describedby="basic-addon3"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CInputGroupText>$</CInputGroupText>\n  <CFormInput aria-label="Amount (to the nearest dollar)"/>\n  <CInputGroupText>.00</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Username" aria-label="Username"/>\n  <CInputGroupText>@</CInputGroupText>\n  <CFormInput placeholder="Server" aria-label="Server"/>\n</CInputGroup>\n<CInputGroup>\n  <CInputGroupText>With textarea</CInputGroupText>\n  <CFormTextarea aria-label="With textarea"></CFormTextarea>\n</CInputGroup>\n

Wrapping

Input groups wrap by default via flex-wrap: wrap in order to accommodate custom form field validation within an input group. You may disable this with .flex-nowrap.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText id="basic-addon1">@</CInputGroupText>\n  <CFormInput placeholder="Username" aria-label="Username" aria-describedby="basic-addon1"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2"/>\n  <CInputGroupText id="basic-addon2">@example.com</CInputGroupText>\n</CInputGroup>\n<CFormLabel for="basic-url">Your vanity URL</CFormLabel>\n<CInputGroup class="mb-3">\n  <CInputGroupText id="basic-addon3">https://example.com/users/</CInputGroupText>\n  <CFormInput id="basic-url" aria-describedby="basic-addon3"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CInputGroupText>$</CInputGroupText>\n  <CFormInput aria-label="Amount (to the nearest dollar)"/>\n  <CInputGroupText>.00</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Username" aria-label="Username"/>\n  <CInputGroupText>@</CInputGroupText>\n  <CFormInput placeholder="Server" aria-label="Server"/>\n</CInputGroup>\n<CInputGroup>\n  <CInputGroupText>With textarea</CInputGroupText>\n  <CFormTextarea aria-label="With textarea"></CFormTextarea>\n</CInputGroup>\n

Wrapping #

Input groups wrap by default via flex-wrap: wrap in order to accommodate custom form field validation within an input group. You may disable this with .flex-nowrap.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="flex-nowrap">\n  <CInputGroupText id="addon-wrapping">@</CInputGroupText>\n  <CFormInput placeholder="Username" aria-label="Username" aria-describedby="addon-wrapping"/>\n</CInputGroup>\n

Sizing

Add the relative form sizing classes to the <CInputGroup> itself and contents within will automatically resize—no need for repeating the form control size classes on each element.

Sizing on the individual input group elements isn't supported.

', 4); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="flex-nowrap">\n  <CInputGroupText id="addon-wrapping">@</CInputGroupText>\n  <CFormInput placeholder="Username" aria-label="Username" aria-describedby="addon-wrapping"/>\n</CInputGroup>\n

Sizing #

Add the relative form sizing classes to the <CInputGroup> itself and contents within will automatically resize—no need for repeating the form control size classes on each element.

Sizing on the individual input group elements isn't supported.

', 4); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CInputGroup size="sm" class="mb-3">\n  <CInputGroupText id="inputGroup-sizing-sm">Small</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CInputGroupText id="inputGroup-sizing-default">Default</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default"/>\n</CInputGroup>\n<CInputGroup size="lg">\n  <CInputGroupText id="inputGroup-sizing-lg">Large</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg"/>\n</CInputGroup>\n

Checkboxes and radios

Place any checkbox or radio option within an input group's addon instead of text.

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CInputGroup size="sm" class="mb-3">\n  <CInputGroupText id="inputGroup-sizing-sm">Small</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CInputGroupText id="inputGroup-sizing-default">Default</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default"/>\n</CInputGroup>\n<CInputGroup size="lg">\n  <CInputGroupText id="inputGroup-sizing-lg">Large</CInputGroupText>\n  <CFormInput aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg"/>\n</CInputGroup>\n

Checkboxes and radios #

Place any checkbox or radio option within an input group's addon instead of text.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText>\n    <CFormCheck type="checkbox" value="" aria-label="Checkbox for following text input"/>\n  </CInputGroupText>\n  <CFormInput aria-label="Text input with checkbox"/>\n</CInputGroup>\n<CInputGroup>\n  <CInputGroupText>\n    <CFormCheck type="radio" value="" aria-label="Radio button for following text input"/>\n  </CInputGroupText>\n  <CFormInput aria-label="Text input with radio button"/>\n</CInputGroup>\n

Multiple inputs

While multiple <CFormInput>s are supported visually, validation styles are only available for input groups with a single <CFormInput>.

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText>\n    <CFormCheck type="checkbox" value="" aria-label="Checkbox for following text input"/>\n  </CInputGroupText>\n  <CFormInput aria-label="Text input with checkbox"/>\n</CInputGroup>\n<CInputGroup>\n  <CInputGroupText>\n    <CFormCheck type="radio" value="" aria-label="Radio button for following text input"/>\n  </CInputGroupText>\n  <CFormInput aria-label="Text input with radio button"/>\n</CInputGroup>\n

Multiple inputs #

While multiple <CFormInput>s are supported visually, validation styles are only available for input groups with a single <CFormInput>.

', 3); const _hoisted_20 = { class: "docs-example rounded-top p-4" }; -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CInputGroup>\n  <CInputGroupText>First and last name</CInputGroupText>\n  <CFormInput aria-label="First name"/>\n  <CFormInput aria-label="Last name"/>\n</CInputGroup>\n

Multiple addons

Multiple add-ons are supported and can be mixed with checkbox and radio input versions.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CInputGroup>\n  <CInputGroupText>First and last name</CInputGroupText>\n  <CFormInput aria-label="First name"/>\n  <CFormInput aria-label="Last name"/>\n</CInputGroup>\n

Multiple addons #

Multiple add-ons are supported and can be mixed with checkbox and radio input versions.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText>$</CInputGroupText>\n  <CInputGroupText>0.00</CInputGroupText>\n  <CFormInput aria-label="Dollar amount (with dot and two decimal places)"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput aria-label="Dollar amount (with dot and two decimal places)"/>\n  <CInputGroupText>$</CInputGroupText>\n  <CInputGroupText>0.00</CInputGroupText>\n</CInputGroup>\n

Button addons

', 2); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText>$</CInputGroupText>\n  <CInputGroupText>0.00</CInputGroupText>\n  <CFormInput aria-label="Dollar amount (with dot and two decimal places)"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput aria-label="Dollar amount (with dot and two decimal places)"/>\n  <CInputGroupText>$</CInputGroupText>\n  <CInputGroupText>0.00</CInputGroupText>\n</CInputGroup>\n

Button addons #

', 2); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline" id="button-addon1">Button</CButton>\n  <CFormInput placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2"/>\n  <CButton type="button" color="secondary" variant="outline" id="button-addon2">Button</CButton>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CFormInput placeholder="" aria-label="Example text with two button addons"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username with two button addons"/>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n</CInputGroup>\n

Buttons with dropdowns

', 2); +const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline" id="button-addon1">Button</CButton>\n  <CFormInput placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2"/>\n  <CButton type="button" color="secondary" variant="outline" id="button-addon2">Button</CButton>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CFormInput placeholder="" aria-label="Example text with two button addons"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput placeholder="Recipient's username" aria-label="Recipient's username with two button addons"/>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n</CInputGroup>\n

Buttons with dropdowns #

', 2); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CDropdown variant="input-group"> \n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with dropdown button"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput aria-label="Text input with dropdown button"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n<CInputGroup>\n  <CDropdown variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with 2 dropdown buttons"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n

Segmented buttons

', 2); +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CDropdown variant="input-group"> \n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with dropdown button"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput aria-label="Text input with dropdown button"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n<CInputGroup>\n  <CDropdown variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with 2 dropdown buttons"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CDropdownToggle color="secondary" variant="outline">Dropdown</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n

Segmented buttons #

', 2); const _hoisted_33 = { class: "docs-example rounded-top p-4" }; -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CDropdown variant="input-group">\n    <CButton type="button" color="secondary" variant="outline">Action</CButton>\n    <CDropdownToggle color="secondary" variant="outline" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with segmented dropdown button"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput aria-label="Text input with segmented dropdown button"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CButton type="button" color="secondary" variant="outline">Action</CButton>\n    <CDropdownToggle color="secondary" variant="outline" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n

Custom forms

Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.

Custom select

', 4); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CDropdown variant="input-group">\n    <CButton type="button" color="secondary" variant="outline">Action</CButton>\n    <CDropdownToggle color="secondary" variant="outline" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CFormInput aria-label="Text input with segmented dropdown button"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput aria-label="Text input with segmented dropdown button"/>\n  <CDropdown alignment="end" variant="input-group">\n    <CButton type="button" color="secondary" variant="outline">Action</CButton>\n    <CDropdownToggle color="secondary" variant="outline" split/>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n      <CDropdownDivider/>\n      <CDropdownItem href="#">Separated link</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n</CInputGroup>\n

Custom forms #

Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.

Custom select #

', 4); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; const _hoisted_39 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", -1); const _hoisted_40 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); @@ -51,10 +50,10 @@ const _hoisted_51 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", const _hoisted_52 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_53 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_54 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText as="label" for="inputGroupSelect01">Options</CInputGroupText>\n  <CFormSelect id="inputGroupSelect01">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormSelect id="inputGroupSelect02">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n  <CInputGroupText as="label" for="inputGroupSelect02">Options</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CFormSelect id="inputGroupSelect03" aria-label="Example select with button addon">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CInputGroup>\n<CInputGroup>\n  <CFormSelect id="inputGroupSelect04" aria-label="Example select with button addon">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n</CInputGroup>\n

Custom file input

', 2); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText as="label" for="inputGroupSelect01">Options</CInputGroupText>\n  <CFormSelect id="inputGroupSelect01">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormSelect id="inputGroupSelect02">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n  <CInputGroupText as="label" for="inputGroupSelect02">Options</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n  <CFormSelect id="inputGroupSelect03" aria-label="Example select with button addon">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n</CInputGroup>\n<CInputGroup>\n  <CFormSelect id="inputGroupSelect04" aria-label="Example select with button addon">\n    <option>Choose...</option>\n    <option value="1">One</option>\n    <option value="2">Two</option>\n    <option value="3">Three</option>\n  </CFormSelect>\n  <CButton type="button" color="secondary" variant="outline">Button</CButton>\n</CInputGroup>\n

Custom file input #

', 2); const _hoisted_57 = { class: "docs-example rounded-top p-4" }; -const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText as="label" for="inputGroupFile01">Upload</CInputGroupText>\n  <CFormInput type="file" id="inputGroupFile01"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput type="file" id="inputGroupFile02"/>\n  <CInputGroupText as="label" for="inputGroupFile02">Upload</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline" id="inputGroupFileAddon03">Button</CButton>\n  <CFormInput type="file" id="inputGroupFile03" aria-describedby="inputGroupFileAddon03" aria-label="Upload"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput type="file" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04" aria-label="Upload"/>\n  <CButton type="button" color="secondary" variant="outline" id="inputGroupFileAddon04">Button</CButton>\n</CInputGroup>\n

Customizing

SASS variables

', 3); -const _hoisted_61 = /* @__PURE__ */ createStaticVNode('

API

CInputGroup

import { CInputGroup } from '@coreui/vue'\n// or\nimport CInputGroup from '@coreui/vue/src/components/form/CInputGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
', 5); +const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CInputGroup class="mb-3">\n  <CInputGroupText as="label" for="inputGroupFile01">Upload</CInputGroupText>\n  <CFormInput type="file" id="inputGroupFile01"/>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CFormInput type="file" id="inputGroupFile02"/>\n  <CInputGroupText as="label" for="inputGroupFile02">Upload</CInputGroupText>\n</CInputGroup>\n<CInputGroup class="mb-3">\n  <CButton type="button" color="secondary" variant="outline" id="inputGroupFileAddon03">Button</CButton>\n  <CFormInput type="file" id="inputGroupFile03" aria-describedby="inputGroupFileAddon03" aria-label="Upload"/>\n</CInputGroup>\n<CInputGroup>\n  <CFormInput type="file" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04" aria-label="Upload"/>\n  <CButton type="button" color="secondary" variant="outline" id="inputGroupFileAddon04">Button</CButton>\n</CInputGroup>\n

Customizing #

SASS variables #

', 3); +const _hoisted_61 = /* @__PURE__ */ createStaticVNode('

API #

CInputGroup #

import { CInputGroup } from '@coreui/vue'\n// or\nimport CInputGroup from '@coreui/vue/src/components/form/CInputGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
sizeSize the component small or large.string'sm', 'lg'-
', 5); function _sfc_render(_ctx, _cache) { const _component_CInputGroupText = resolveComponent("CInputGroupText"); const _component_CFormInput = resolveComponent("CFormInput"); diff --git a/vue/docs/assets/input.html-BPr4o7jo.js b/vue/docs/assets/input.html-DQVoju7F.js similarity index 82% rename from vue/docs/assets/input.html-BPr4o7jo.js rename to vue/docs/assets/input.html-DQVoju7F.js index 09d2bc4a450..6374790ebb2 100644 --- a/vue/docs/assets/input.html-BPr4o7jo.js +++ b/vue/docs/assets/input.html-DQVoju7F.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,20 +7,19 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; -const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <CFormInput\n    type="email"\n    id="exampleFormControlInput1"\n    label="Email address"\n    placeholder="name@example.com"\n    text="Must be 8-20 characters long."\n    aria-describedby="exampleFormControlInputHelpInline"\n  />\n</CForm>\n

If you need to add custom classs to form's components, or need to add some custom elements you can add each form component separately. Please check the example below.

<CForm>\n  <CFormLabel for="exampleFormControlInput1">Email address</CFormLabel>\n  <CFormInput type="email" id="exampleFormControlInput1" placeholder="name@example.com" aria-describedby="exampleFormControlInputHelpInline" />\n  <CFormText as="span" id="exampleFormControlInputHelpInline">\n    Must be 8-20 characters long.\n  </CFormText>\n</CForm>\n

You can also use slots.

<CFormInput\n  type="email"\n  id="exampleFormControlInput1"\n  placeholder="name@example.com"\n  aria-describedby="exampleFormControlInputHelpInline"\n>\n  <template #label>Email address</template>\n  <template #text>Must be 8-20 characters long.</template>\n</CFormInput>\n

Sizing

Set heights using size property like size="lg" and size="sm".

', 7); +const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <CFormInput\n    type="email"\n    id="exampleFormControlInput1"\n    label="Email address"\n    placeholder="name@example.com"\n    text="Must be 8-20 characters long."\n    aria-describedby="exampleFormControlInputHelpInline"\n  />\n</CForm>\n

If you need to add custom classs to form's components, or need to add some custom elements you can add each form component separately. Please check the example below.

<CForm>\n  <CFormLabel for="exampleFormControlInput1">Email address</CFormLabel>\n  <CFormInput type="email" id="exampleFormControlInput1" placeholder="name@example.com" aria-describedby="exampleFormControlInputHelpInline" />\n  <CFormText as="span" id="exampleFormControlInputHelpInline">\n    Must be 8-20 characters long.\n  </CFormText>\n</CForm>\n

You can also use slots.

<CFormInput\n  type="email"\n  id="exampleFormControlInput1"\n  placeholder="name@example.com"\n  aria-describedby="exampleFormControlInputHelpInline"\n>\n  <template #label>Email address</template>\n  <template #text>Must be 8-20 characters long.</template>\n</CFormInput>\n

Sizing #

Set heights using size property like size="lg" and size="sm".

', 7); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" size="lg" placeholder="Large input" aria-label="lg input example"/>\n<CFormInput type="text" placeholder="Default input" aria-label="default input example"/>\n<CFormInput type="text" size="sm" placeholder="Small input" aria-label="sm input example"/>\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" size="lg" placeholder="Large input" aria-label="lg input example"/>\n<CFormInput type="text" placeholder="Default input" aria-label="default input example"/>\n<CFormInput type="text" size="sm" placeholder="Small input" aria-label="sm input example"/>\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; const _hoisted_15 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_16 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled/>\n<br/>\n<CFormInput type="text" placeholder="Disabled readonly input" aria-label="Disabled input example" disabled readonly/>\n<br/>\n

Readonly

Add the readonly boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled/>\n<br/>\n<CFormInput type="text" placeholder="Disabled readonly input" aria-label="Disabled input example" disabled readonly/>\n<br/>\n

Readonly #

Add the readonly boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.

', 3); const _hoisted_20 = { class: "docs-example rounded-top p-4" }; -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Readonly input here..." aria-label="readonly input example" readonly/>\n

Readonly plain text

If you want to have <input readonly> elements in your form styled as plain text, use the plain-text boolean property to remove the default form field styling and preserve the correct margin and padding.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="text" placeholder="Readonly input here..." aria-label="readonly input example" readonly/>\n

Readonly plain text #

If you want to have <input readonly> elements in your form styled as plain text, use the plain-text boolean property to remove the default form field styling and preserve the correct margin and padding.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = { class: "col-sm-10" }; const _hoisted_26 = { class: "col-sm-10" }; @@ -29,15 +28,15 @@ const _hoisted_28 = { class: "docs-example rounded-top p-4" }; const _hoisted_29 = { class: "col-auto" }; const _hoisted_30 = { class: "col-auto" }; const _hoisted_31 = { class: "col-auto" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <div class="col-auto">\n    <CFormLabel for="staticEmail2" class="visually-hidden">Email</CFormLabel>\n    <CFormInput type="text" id="staticEmail2" value="email@example.com" readonly plain-text/>\n  </div>\n  <div class="col-auto">\n    <CFormLabel for="inputPassword2" class="visually-hidden">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword2" placeholder="Password"/>\n  </div>\n  <div class="col-auto">\n    <CButton type="submit" color="primary" class="mb-3">Confirm identity</CButton>\n  </div>\n</CForm>\n

File input

', 2); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <div class="col-auto">\n    <CFormLabel for="staticEmail2" class="visually-hidden">Email</CFormLabel>\n    <CFormInput type="text" id="staticEmail2" value="email@example.com" readonly plain-text/>\n  </div>\n  <div class="col-auto">\n    <CFormLabel for="inputPassword2" class="visually-hidden">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword2" placeholder="Password"/>\n  </div>\n  <div class="col-auto">\n    <CButton type="submit" color="primary" class="mb-3">Confirm identity</CButton>\n  </div>\n</CForm>\n

File input #

', 2); const _hoisted_34 = { class: "docs-example rounded-top p-4" }; const _hoisted_35 = { class: "mb-3" }; const _hoisted_36 = { class: "mb-3" }; const _hoisted_37 = { class: "mb-3" }; const _hoisted_38 = { class: "mb-3" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="file" id="formFile" label="Default file input example" />\n<CFormInput type="file" id="formFileMultiple" label="Multiple files input example" multiple />\n<CFormInput type="file" id="formFileDisabled" label="Disabled file input example" disabled />\n<CFormInput type="file" size="sm" id="formFileSm" label="Small file input example" />\n<CFormInput type="file" size="lg" id="formFileLg" label="Large file input example" />\n

Color

', 2); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CFormInput type="file" id="formFile" label="Default file input example" />\n<CFormInput type="file" id="formFileMultiple" label="Multiple files input example" multiple />\n<CFormInput type="file" id="formFileDisabled" label="Disabled file input example" disabled />\n<CFormInput type="file" size="sm" id="formFileSm" label="Small file input example" />\n<CFormInput type="file" size="lg" id="formFileLg" label="Large file input example" />\n

Color #

', 2); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CFormInput\n  type="color"\n  id="exampleColorInput"\n  label="Color picker"\n  title="Choose your color"\n  value="#563d7c"\n/>\n

Customizing

SASS variables

$input-* are shared across most of our form controls (and not buttons).

', 4); +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CFormInput\n  type="color"\n  id="exampleColorInput"\n  label="Color picker"\n  title="Choose your color"\n  value="#563d7c"\n/>\n

Customizing #

SASS variables #

$input-* are shared across most of our form controls (and not buttons).

', 4); const _hoisted_46 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, "$form-label-*"), /* @__PURE__ */ createTextVNode(" and "), @@ -52,7 +51,7 @@ const _hoisted_47 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, "$form-file-*"), /* @__PURE__ */ createTextVNode(" are for file input.") ], -1); -const _hoisted_48 = /* @__PURE__ */ createStaticVNode('

API

CFormInput

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormFeedback

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

CFormLabel

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--

CFormText

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 19); +const _hoisted_48 = /* @__PURE__ */ createStaticVNode('

API #

CFormInput #

import { CFormInput } from '@coreui/vue'\n// or\nimport CFormInput from '@coreui/vue/src/components/form/CFormInput'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.File|number|string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
typeSpecifies the type of component.string'color' | 'file' | 'text' | string'text'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormFeedback #

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

CFormLabel #

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--

CFormText #

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 19); function _sfc_render(_ctx, _cache) { const _component_CFormInput = resolveComponent("CFormInput"); const _component_CForm = resolveComponent("CForm"); diff --git a/vue/docs/assets/installation.html-B9oaQNAO.js b/vue/docs/assets/installation.html-B9oaQNAO.js deleted file mode 100644 index 5b4f6bcbbd8..00000000000 --- a/vue/docs/assets/installation.html-B9oaQNAO.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Tooling setup

CoreUI Vue Admin Templates uses npm scripts for its build system. Our package.json includes convenient methods for working with the framework, including compiling code, running tests, and more.

To use our build system and run our admin template locally, you'll need a copy of source files and Node. Follow these steps and you should be ready to rock:

  1. Download and install Node.js, which we use to manage our dependencies.
  2. If you prefer to use Yarn instead of NPM, you have to download and install it
  3. Download CoreUI Vue Admin Template or Download CoreUI PRO Vue Admin Template.
  4. Navigate to the root template directory and run npm install or yarn install to install our local dependencies listed in package.json.

When completed, you'll be able to run the various commands provided from the command line.

Using npm scripts

Our package.json includes numerous tasks for developing the project. Run npm run or yarn run to see all the npm scripts in your terminal. Primary tasks include:

TaskDescription
npm run serve or yarn serveCompiles CSS and JavaScript, builds the documentation, and starts a local server.
npm run build or yarn buildCreates the dist/ directory with compiled files. Uses Sass, Autoprefixer.
npm test or yarn testRuns tests locally

Sass

CoreUI uses Dart Sass for compiling our Sass source files into CSS files (included in our build process), and we recommend you do the same if you're compiling Sass using your own asset pipeline.

Dart Sass uses a rounding precision of 10 and for efficiency reasons does not allow adjustment of this value. We don't lower this precision during further processing of our generated CSS, such as during minification, but if you chose to do so we recommend maintaining a precision of at least 6 to prevent issues with browser rounding.

Autoprefixer

We uses [Autoprefixer][autoprefixer] (included in our build process) to automatically add vendor prefixes to some CSS properties at build time. Doing so saves us time and code by allowing us to write key parts of our CSS a single time while eliminating the need for vendor mixins like those found in v3.

We maintain the list of browsers supported through Autoprefixer in a separate file within our GitHub repository. See .browserslistrc.

Local template

Here's how to get it started:

  1. Run through the tooling setup above to install all dependencies.
  2. From the root template directory, run npm run start or yarn start in the command line.
  3. Open http://localhost:8080 in your browser, and voilà.

Troubleshooting

Should you encounter problems with installing dependencies, uninstall all previous dependency versions (global and local). Then, rerun npm install or yarn install.

', 19); -const _hoisted_20 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_20); -} -const installation_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "installation.html.vue"]]); -const data = JSON.parse('{"path":"/templates/installation.html","title":"Vue templates installation","lang":"en-US","frontmatter":{"title":"Vue templates installation","name":"Vue templates installation","description":"Learn how to use CoreUI Vue Admin Dashboard Templates including npm scripts to build templates, compile source code, run tests, and more.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/installation.html"}]]},"headers":[{"level":2,"title":"Tooling setup","slug":"tooling-setup","link":"#tooling-setup","children":[]},{"level":2,"title":"Using npm scripts","slug":"using-npm-scripts","link":"#using-npm-scripts","children":[]},{"level":2,"title":"Sass","slug":"sass","link":"#sass","children":[]},{"level":2,"title":"Autoprefixer","slug":"autoprefixer","link":"#autoprefixer","children":[]},{"level":2,"title":"Local template","slug":"local-template","link":"#local-template","children":[]},{"level":2,"title":"Troubleshooting","slug":"troubleshooting","link":"#troubleshooting","children":[]}],"filePathRelative":"templates/installation.md"}'); -export { - installation_html as comp, - data -}; diff --git a/vue/docs/assets/installation.html-CwOfF37v.js b/vue/docs/assets/installation.html-CwOfF37v.js new file mode 100644 index 00000000000..6938d43767f --- /dev/null +++ b/vue/docs/assets/installation.html-CwOfF37v.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Tooling setup #

CoreUI Vue Admin Templates uses npm scripts for its build system. Our package.json includes convenient methods for working with the framework, including compiling code, running tests, and more.

To use our build system and run our admin template locally, you'll need a copy of source files and Node. Follow these steps and you should be ready to rock:

  1. Download and install Node.js, which we use to manage our dependencies.
  2. If you prefer to use Yarn instead of NPM, you have to download and install it
  3. Download CoreUI Vue Admin Template or Download CoreUI PRO Vue Admin Template.
  4. Navigate to the root template directory and run npm install or yarn install to install our local dependencies listed in package.json.

When completed, you'll be able to run the various commands provided from the command line.

Using npm scripts #

Our package.json includes numerous tasks for developing the project. Run npm run or yarn run to see all the npm scripts in your terminal. Primary tasks include:

TaskDescription
npm run serve or yarn serveCompiles CSS and JavaScript, builds the documentation, and starts a local server.
npm run build or yarn buildCreates the dist/ directory with compiled files. Uses Sass, Autoprefixer.
npm test or yarn testRuns tests locally

Sass #

CoreUI uses Dart Sass for compiling our Sass source files into CSS files (included in our build process), and we recommend you do the same if you're compiling Sass using your own asset pipeline.

Dart Sass uses a rounding precision of 10 and for efficiency reasons does not allow adjustment of this value. We don't lower this precision during further processing of our generated CSS, such as during minification, but if you chose to do so we recommend maintaining a precision of at least 6 to prevent issues with browser rounding.

Autoprefixer #

We uses [Autoprefixer][autoprefixer] (included in our build process) to automatically add vendor prefixes to some CSS properties at build time. Doing so saves us time and code by allowing us to write key parts of our CSS a single time while eliminating the need for vendor mixins like those found in v3.

We maintain the list of browsers supported through Autoprefixer in a separate file within our GitHub repository. See .browserslistrc.

Local template #

Here's how to get it started:

  1. Run through the tooling setup above to install all dependencies.
  2. From the root template directory, run npm run start or yarn start in the command line.
  3. Open http://localhost:8080 in your browser, and voilà.

Troubleshooting #

Should you encounter problems with installing dependencies, uninstall all previous dependency versions (global and local). Then, rerun npm install or yarn install.

', 19); +const _hoisted_20 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_20); +} +const installation_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "installation.html.vue"]]); +const data = JSON.parse('{"path":"/templates/installation.html","title":"Vue templates installation","lang":"en-US","frontmatter":{"title":"Vue templates installation","name":"Vue templates installation","description":"Learn how to use CoreUI Vue Admin Dashboard Templates including npm scripts to build templates, compile source code, run tests, and more.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/templates/installation.html"}]]},"headers":[{"level":2,"title":"Tooling setup","slug":"tooling-setup","link":"#tooling-setup","children":[]},{"level":2,"title":"Using npm scripts","slug":"using-npm-scripts","link":"#using-npm-scripts","children":[]},{"level":2,"title":"Sass","slug":"sass","link":"#sass","children":[]},{"level":2,"title":"Autoprefixer","slug":"autoprefixer","link":"#autoprefixer","children":[]},{"level":2,"title":"Local template","slug":"local-template","link":"#local-template","children":[]},{"level":2,"title":"Troubleshooting","slug":"troubleshooting","link":"#troubleshooting","children":[]}],"filePathRelative":"templates/installation.md"}'); +export { + installation_html as comp, + data +}; diff --git a/vue/docs/assets/introduction.html-CuiibolQ.js b/vue/docs/assets/introduction.html-B-WFaD00.js similarity index 88% rename from vue/docs/assets/introduction.html-CuiibolQ.js rename to vue/docs/assets/introduction.html-B-WFaD00.js index eb94544f293..f07d95f18c7 100644 --- a/vue/docs/assets/introduction.html-CuiibolQ.js +++ b/vue/docs/assets/introduction.html-B-WFaD00.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createVNode, d as withCtx, e as createBaseVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, d as createVNode, e as withCtx, b as createBaseVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "installation", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Installation "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#installation", - "aria-hidden": "true" + href: "#installation" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { @@ -18,8 +17,7 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Npm "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#npm", - "aria-hidden": "true" + href: "#npm" }, "#") ], -1); const _hoisted_3 = /* @__PURE__ */ createBaseVNode("div", { @@ -81,8 +79,7 @@ const _hoisted_5 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Yarn "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#yarn", - "aria-hidden": "true" + href: "#yarn" }, "#") ], -1); const _hoisted_6 = /* @__PURE__ */ createBaseVNode("div", { @@ -144,8 +141,7 @@ const _hoisted_8 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Using components "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#using-components", - "aria-hidden": "true" + href: "#using-components" }, "#") ], -1); const _hoisted_9 = /* @__PURE__ */ createBaseVNode("div", { @@ -212,7 +208,7 @@ const _hoisted_10 = /* @__PURE__ */ createBaseVNode("div", { /* @__PURE__ */ createBaseVNode("div", { class: "line-number" }) ]) ], -1); -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('

Stylesheets

Vue components are styled using the @coreui/coreui or @coreui/coreui-pro CSS library, but you can also use them with the bootstrap CSS library. That is possible because the @coreui/coreui library is compatible with Bootstrap, it just extends its functionalities. The only exceptions are custom CoreUI and CoreUI PRO components, which don't exist in the Bootstrap ecosystem.

CoreUI CSS files

Basic usage
', 4); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('

Stylesheets #

Vue components are styled using the @coreui/coreui or @coreui/coreui-pro CSS library, but you can also use them with the bootstrap CSS library. That is possible because the @coreui/coreui library is compatible with Bootstrap, it just extends its functionalities. The only exceptions are custom CoreUI and CoreUI PRO components, which don't exist in the Bootstrap ecosystem.

CoreUI CSS files #

Basic usage #
', 4); const _hoisted_15 = /* @__PURE__ */ createBaseVNode("div", { class: "language-javascript line-numbers-mode", "data-highlighter": "prismjs", @@ -263,7 +259,7 @@ const _hoisted_16 = /* @__PURE__ */ createBaseVNode("div", { /* @__PURE__ */ createBaseVNode("div", { class: "line-number" }) ]) ], -1); -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

Bootstrap CSS files

Installation
npm install bootstrap\n
Basic usage
import 'bootstrap/dist/css/bootstrap.min.css'\n
', 5); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

Bootstrap CSS files #

Installation #
npm install bootstrap\n
Basic usage #
import 'bootstrap/dist/css/bootstrap.min.css'\n
', 5); function _sfc_render(_ctx, _cache) { const _component_CTab = resolveComponent("CTab"); const _component_CTabList = resolveComponent("CTabList"); diff --git a/vue/docs/assets/layout.html-DARLKo8o.js b/vue/docs/assets/layout.html-B1WhSZXl.js similarity index 96% rename from vue/docs/assets/layout.html-DARLKo8o.js rename to vue/docs/assets/layout.html-B1WhSZXl.js index ef47a8954e9..792040726be 100644 --- a/vue/docs/assets/layout.html-DARLKo8o.js +++ b/vue/docs/assets/layout.html-B1WhSZXl.js @@ -1,23 +1,23 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Forms

Every group of form fields should reside in a <CForm> element. CoreUI provides no default styling for the <CForm> element, but there are some powerful browser features that are provided by default.

  • New to browser forms? Consider reviewing the MDN form docs for an overview and complete list of available attributes.
  • <CButton>s within a <CForm> default to type="submit", so strive to be specific and always include a type.
  • You can disable every form element within a form with the disabled attribute on the <CForm>.

Since CoreUI applies display: block and width: 100% to almost all our form controls, forms will by default stack vertically. Additional classes can be used to vary this layout on a per-form basis.

Utilities

Margin utilities are the easiest way to add some structure to forms. They provide basic grouping of labels, controls, optional form text, and form validation messaging. We recommend sticking to margin-bottom utilities, and using a single direction throughout the form for consistency.

Form grid

More complex forms can be built using our grid classes. Use these for form layouts that require multiple columns, varied widths, and additional alignment options.

', 8); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Forms #

Every group of form fields should reside in a <CForm> element. CoreUI provides no default styling for the <CForm> element, but there are some powerful browser features that are provided by default.

  • New to browser forms? Consider reviewing the MDN form docs for an overview and complete list of available attributes.
  • <CButton>s within a <CForm> default to type="submit", so strive to be specific and always include a type.
  • You can disable every form element within a form with the disabled attribute on the <CForm>.

Since CoreUI applies display: block and width: 100% to almost all our form controls, forms will by default stack vertically. Additional classes can be used to vary this layout on a per-form basis.

Utilities #

Margin utilities are the easiest way to add some structure to forms. They provide basic grouping of labels, controls, optional form text, and form validation messaging. We recommend sticking to margin-bottom utilities, and using a single direction throughout the form for consistency.

Form grid #

More complex forms can be built using our grid classes. Use these for form layouts that require multiple columns, varied widths, and additional alignment options.

', 8); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol xs>\n    <CFormInput placeholder="First name" aria-label="First name"/>\n  </CCol>\n  <CCol xs>\n    <CFormInput placeholder="Last name" aria-label="Last name"/>\n  </CCol>\n</CRow>\n

Gutters

By adding gutter modifier classes, you can have control over the gutter width in as well the inline as block direction.

', 3); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol xs>\n    <CFormInput placeholder="First name" aria-label="First name"/>\n  </CCol>\n  <CCol xs>\n    <CFormInput placeholder="Last name" aria-label="Last name"/>\n  </CCol>\n</CRow>\n

Gutters #

By adding gutter modifier classes, you can have control over the gutter width in as well the inline as block direction.

', 3); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CRow class="g-3">\n  <CCol xs>\n    <CFormInput placeholder="First name" aria-label="First name"/>\n  </CCol>\n  <CCol xs>\n    <CFormInput placeholder="Last name" aria-label="Last name"/>\n  </CCol>\n</CRow>\n

More complex layouts can also be created with the grid system.

', 2); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; const _hoisted_17 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", -1); const _hoisted_18 = /* @__PURE__ */ createBaseVNode("option", null, "...", -1); -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <CCol md="6">\n    <CFormLabel for="inputEmail4">Email</CFormLabel>\n    <CFormInput type="email" id="inputEmail4"/>\n  </CCol>\n  <CCol md="6">\n    <CFormLabel for="inputPassword4">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword4"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormLabel for="inputAddress">Address</CFormLabel>\n    <CFormInput id="inputAddress" placeholder="1234 Main St"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormLabel for="inputAddress2">Address 2</CFormLabel>\n    <CFormInput id="inputAddress2" placeholder="Apartment, studio, or floor"/>\n  </CCol>\n  <CCol md="6">\n    <CFormLabel for="inputCity">City</CFormLabel>\n    <CFormInput id="inputCity"/>\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="inputState">State</CFormLabel>\n    <CFormSelect id="inputState">\n      <option>Choose...</option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="2">\n    <CFormLabel for="inputZip">Zip</CFormLabel>\n    <CFormInput id="inputZip"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck type="checkbox" id="gridCheck" label="Check me out"/>\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Sign in</CButton>\n  </CCol>\n</CForm>\n

Horizontal form

Create horizontal forms with the grid by adding the .row class to form groups and using the .col-*-* classes to specify the width of your labels and controls. Be sure to add .col-form-label to your <CFormLabel>s as well so they're vertically centered with their associated form controls.

At times, you maybe need to use margin or padding utilities to create that perfect alignment you need. For example, we've removed the padding-top on our stacked radio inputs label to better align the text baseline.

', 4); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <CCol md="6">\n    <CFormLabel for="inputEmail4">Email</CFormLabel>\n    <CFormInput type="email" id="inputEmail4"/>\n  </CCol>\n  <CCol md="6">\n    <CFormLabel for="inputPassword4">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword4"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormLabel for="inputAddress">Address</CFormLabel>\n    <CFormInput id="inputAddress" placeholder="1234 Main St"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormLabel for="inputAddress2">Address 2</CFormLabel>\n    <CFormInput id="inputAddress2" placeholder="Apartment, studio, or floor"/>\n  </CCol>\n  <CCol md="6">\n    <CFormLabel for="inputCity">City</CFormLabel>\n    <CFormInput id="inputCity"/>\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="inputState">State</CFormLabel>\n    <CFormSelect id="inputState">\n      <option>Choose...</option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="2">\n    <CFormLabel for="inputZip">Zip</CFormLabel>\n    <CFormInput id="inputZip"/>\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck type="checkbox" id="gridCheck" label="Check me out"/>\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Sign in</CButton>\n  </CCol>\n</CForm>\n

Horizontal form #

Create horizontal forms with the grid by adding the .row class to form groups and using the .col-*-* classes to specify the width of your labels and controls. Be sure to add .col-form-label to your <CFormLabel>s as well so they're vertically centered with their associated form controls.

At times, you maybe need to use margin or padding utilities to create that perfect alignment you need. For example, we've removed the padding-top on our stacked radio inputs label to better align the text baseline.

', 4); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; const _hoisted_24 = { class: "row mb-3" }; const _hoisted_25 = /* @__PURE__ */ createBaseVNode("legend", { class: "col-form-label col-sm-2 pt-0" }, "Radios", -1); const _hoisted_26 = { class: "col-sm-10 offset-sm-2" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <CRow class="mb-3">\n    <CFormLabel for="inputEmail3" class="col-sm-2 col-form-label">Email</CFormLabel>\n    <CCol sm="10">\n      <CFormInput type="email" id="inputEmail3"/>\n    </CCol>\n  </CRow>\n  <CRow class="mb-3">\n    <CFormLabel for="inputPassword3" class="col-sm-2 col-form-label">Password</CFormLabel>\n    <CCol sm="10">\n      <CFormInput type="password" id="inputPassword3"/>\n    </CCol>\n  </CRow>\n  <fieldset class="row mb-3">\n    <legend class="col-form-label col-sm-2 pt-0">Radios</legend>\n    <CCol sm="10">\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios1" value="option1" label="First radio" checked/>\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios2" value="option2" label="Second radio"/>\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios3" value="option3" label="Third disabled radio" disabled/>\n    </CCol>\n  </fieldset>\n  <CRow class="mb-3">\n    <div class="col-sm-10 offset-sm-2">\n      <CFormCheck type="checkbox" id="gridCheck1" label="Example checkbox"/>\n    </div>\n  </CRow>\n  <CButton color="primary" type="submit">Sign in</CButton>\n</CForm>\n

Horizontal form label sizing

Be sure to use .col-form-label-sm or .col-form-label-lg to your <CFormLabel>s or <legend>s to correctly follow the size of .form-control-lg and .form-control-sm.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <CRow class="mb-3">\n    <CFormLabel for="inputEmail3" class="col-sm-2 col-form-label">Email</CFormLabel>\n    <CCol sm="10">\n      <CFormInput type="email" id="inputEmail3"/>\n    </CCol>\n  </CRow>\n  <CRow class="mb-3">\n    <CFormLabel for="inputPassword3" class="col-sm-2 col-form-label">Password</CFormLabel>\n    <CCol sm="10">\n      <CFormInput type="password" id="inputPassword3"/>\n    </CCol>\n  </CRow>\n  <fieldset class="row mb-3">\n    <legend class="col-form-label col-sm-2 pt-0">Radios</legend>\n    <CCol sm="10">\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios1" value="option1" label="First radio" checked/>\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios2" value="option2" label="Second radio"/>\n      <CFormCheck type="radio" name="gridRadios" id="gridRadios3" value="option3" label="Third disabled radio" disabled/>\n    </CCol>\n  </fieldset>\n  <CRow class="mb-3">\n    <div class="col-sm-10 offset-sm-2">\n      <CFormCheck type="checkbox" id="gridCheck1" label="Example checkbox"/>\n    </div>\n  </CRow>\n  <CButton color="primary" type="submit">Sign in</CButton>\n</CForm>\n

Horizontal form label sizing #

Be sure to use .col-form-label-sm or .col-form-label-lg to your <CFormLabel>s or <legend>s to correctly follow the size of .form-control-lg and .form-control-sm.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CRow class="mb-3">\n  <CFormLabel for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" class="form-control form-control-sm" id="colFormLabelSm" placeholder="col-form-label-sm"/>\n  </CCol>\n</CRow>\n<CRow class="mb-3">\n  <CFormLabel for="colFormLabel" class="col-sm-2 col-form-label">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" id="colFormLabel" placeholder="col-form-label"/>\n  </CCol>\n</CRow>\n<CRow>\n  <CFormLabel for="colFormLabelLg" class="col-sm-2 col-form-label col-form-label-lg">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" class="form-control form-control-lg" id="colFormLabelLg" placeholder="col-form-label-lg"/>\n  </CCol>\n</CRow>\n

Column sizing

As shown in the previous examples, our grid system allows you to place any number of <CCol>s within a <CRow>. They'll split the available width equally between them. You may also pick a subset of your columns to take up more or less space, while the remaining <CCol>s equally split the rest, with specific column classes like <CCol sm="7">.

', 3); +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<CRow class="mb-3">\n  <CFormLabel for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" class="form-control form-control-sm" id="colFormLabelSm" placeholder="col-form-label-sm"/>\n  </CCol>\n</CRow>\n<CRow class="mb-3">\n  <CFormLabel for="colFormLabel" class="col-sm-2 col-form-label">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" id="colFormLabel" placeholder="col-form-label"/>\n  </CCol>\n</CRow>\n<CRow>\n  <CFormLabel for="colFormLabelLg" class="col-sm-2 col-form-label col-form-label-lg">Email</CFormLabel>\n  <CCol sm="10">\n    <CFormInput type="email" class="form-control form-control-lg" id="colFormLabelLg" placeholder="col-form-label-lg"/>\n  </CCol>\n</CRow>\n

Column sizing #

As shown in the previous examples, our grid system allows you to place any number of <CCol>s within a <CRow>. They'll split the available width equally between them. You may also pick a subset of your columns to take up more or less space, while the remaining <CCol>s equally split the rest, with specific column classes like <CCol sm="7">.

', 3); const _hoisted_34 = { class: "docs-example rounded-top p-4" }; -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CRow class="g-3">\n  <CCol sm="7">\n    <CFormInput placeholder="City" aria-label="City"/>\n  </CCol>\n  <CCol sm>\n    <CFormInput placeholder="State" aria-label="State"/>\n  </CCol>\n  <CCol sm>\n    <CFormInput placeholder="Zip" aria-label="Zip"/>\n  </CCol>\n</CRow>\n

Auto-sizing

The example below uses a flexbox utility to vertically center the contents and changes <CCol> to <CCol xs="auto"> so that your columns only take up as much space as needed. Put another way, the column sizes itself based on the contents.

', 3); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<CRow class="g-3">\n  <CCol sm="7">\n    <CFormInput placeholder="City" aria-label="City"/>\n  </CCol>\n  <CCol sm>\n    <CFormInput placeholder="State" aria-label="State"/>\n  </CCol>\n  <CCol sm>\n    <CFormInput placeholder="Zip" aria-label="Zip"/>\n  </CCol>\n</CRow>\n

Auto-sizing #

The example below uses a flexbox utility to vertically center the contents and changes <CCol> to <CCol xs="auto"> so that your columns only take up as much space as needed. Put another way, the column sizes itself based on the contents.

', 3); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; const _hoisted_39 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", -1); const _hoisted_40 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); @@ -29,7 +29,7 @@ const _hoisted_46 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", const _hoisted_47 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_48 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_49 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CForm class="row gx-3 gy-2 align-items-center">\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeInputName">Name</CFormLabel>\n    <CFormInput id="specificSizeInputName" placeholder="Jane Doe"/>\n  </CCol>\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeInputGroupUsername">Username</CFormLabel>\n    <CInputGroup>\n      <CInputGroupText>@</CInputGroupText>\n      <CFormInput id="specificSizeInputGroupUsername" placeholder="Username"/>\n    </CInputGroup>\n  </CCol>\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeSelect">Preference</CFormLabel>\n    <CFormSelect id="specificSizeSelect">\n      <option>Choose...</option>\n      <option value="1">One</option>\n      <option value="2">Two</option>\n      <option value="3">Three</option>\n    </CFormSelect>\n  </CCol>\n  <CCol xs="auto">\n    <CFormCheck type="checkbox" id="autoSizingCheck2" label="Remember me"/>\n  </CCol>\n  <CCol xs="auto">\n    <CButton color="primary" type="submit">Submit</CButton>\n  </CCol>\n</CForm>\n

Inline forms

Use the <CCol xs="auto"> class to create horizontal layouts. By adding gutter modifier classes, we will have gutters in horizontal and vertical directions. The .align-items-center aligns the form elements to the middle, making the <CFormCheck> align properly.

', 3); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('
<CForm class="row gx-3 gy-2 align-items-center">\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeInputName">Name</CFormLabel>\n    <CFormInput id="specificSizeInputName" placeholder="Jane Doe"/>\n  </CCol>\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeInputGroupUsername">Username</CFormLabel>\n    <CInputGroup>\n      <CInputGroupText>@</CInputGroupText>\n      <CFormInput id="specificSizeInputGroupUsername" placeholder="Username"/>\n    </CInputGroup>\n  </CCol>\n  <CCol sm="3">\n    <CFormLabel class="visually-hidden" for="specificSizeSelect">Preference</CFormLabel>\n    <CFormSelect id="specificSizeSelect">\n      <option>Choose...</option>\n      <option value="1">One</option>\n      <option value="2">Two</option>\n      <option value="3">Three</option>\n    </CFormSelect>\n  </CCol>\n  <CCol xs="auto">\n    <CFormCheck type="checkbox" id="autoSizingCheck2" label="Remember me"/>\n  </CCol>\n  <CCol xs="auto">\n    <CButton color="primary" type="submit">Submit</CButton>\n  </CCol>\n</CForm>\n

Inline forms #

Use the <CCol xs="auto"> class to create horizontal layouts. By adding gutter modifier classes, we will have gutters in horizontal and vertical directions. The .align-items-center aligns the form elements to the middle, making the <CFormCheck> align properly.

', 3); const _hoisted_53 = { class: "docs-example rounded-top p-4" }; const _hoisted_54 = /* @__PURE__ */ createBaseVNode("option", null, "Choose...", -1); const _hoisted_55 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); diff --git a/vue/docs/assets/link.html-C2tbxGSf.js b/vue/docs/assets/link.html-DgFWlsMX.js similarity index 91% rename from vue/docs/assets/link.html-C2tbxGSf.js rename to vue/docs/assets/link.html-DgFWlsMX.js index 0216df25f69..0ee74cffd94 100644 --- a/vue/docs/assets/link.html-C2tbxGSf.js +++ b/vue/docs/assets/link.html-DgFWlsMX.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createVNode, d as withCtx, e as createBaseVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, d as createVNode, e as withCtx, b as createBaseVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "examples", @@ -7,11 +7,10 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); -const _hoisted_2 = /* @__PURE__ */ createStaticVNode('
\n<CLink href="#" >CLink</CLink>\n\n

Additional content

', 2); +const _hoisted_2 = /* @__PURE__ */ createStaticVNode('
\n<CLink href="#" >CLink</CLink>\n\n

Additional content #

', 2); function _sfc_render(_ctx, _cache) { const _component_CLink = resolveComponent("CLink"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/list-group.html-ChBEIPwp.js b/vue/docs/assets/list-group.html-_udCts7M.js similarity index 90% rename from vue/docs/assets/list-group.html-ChBEIPwp.js rename to vue/docs/assets/list-group.html-_udCts7M.js index aa1fd3b1193..d97a613cf3d 100644 --- a/vue/docs/assets/list-group.html-ChBEIPwp.js +++ b/vue/docs/assets/list-group.html-_udCts7M.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, F as Fragment, j as renderList, f as createTextVNode, a as createStaticVNode, t as toDisplayString } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, F as Fragment, h as renderList, f as createTextVNode, a as createStaticVNode, t as toDisplayString } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "basic-example", @@ -7,25 +7,24 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Basic example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#basic-example", - "aria-hidden": "true" + href: "#basic-example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "The default list group is an unordered list with items and the proper CSS classes. Build upon it with the options that follow, or with your CSS as required.", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Active items

Add active boolean property to a <CListGroupItem> to show the current active selection.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Active items #

Add active boolean property to a <CListGroupItem> to show the current active selection.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem active>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Disabled items

Add disabled boolean property to a <CListGroupItem> to make it appear disabled.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem active>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Disabled items #

Add disabled boolean property to a <CListGroupItem> to make it appear disabled.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem disabled>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Use <a>s or <button>s to create actionable list group items with hover, disabled, and active states by adding as="a|button". We separate these pseudo-classes to ensure list groups made of non-interactive elements (like <li>s or <div>s) don't provide a click or tap affordance.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem disabled>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Use <a>s or <button>s to create actionable list group items with hover, disabled, and active states by adding as="a|button". We separate these pseudo-classes to ensure list groups made of non-interactive elements (like <li>s or <div>s) don't provide a click or tap affordance.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem as="a" href="#" active>Cras justo odio</CListGroupItem>\n  <CListGroupItem as="a" href="#">Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem as="a" href="#">Morbi leo risus</CListGroupItem>\n  <CListGroupItem as="a" href="#">Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem as="a" href="#" disabled>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n
', 1); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem as="button" active>Cras justo odio</CListGroupItem>\n  <CListGroupItem as="button">Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem as="button">Morbi leo risus</CListGroupItem>\n  <CListGroupItem as="button">Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem as="button" disabled>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Flush

Add flush boolean property to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem as="button" active>Cras justo odio</CListGroupItem>\n  <CListGroupItem as="button">Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem as="button">Morbi leo risus</CListGroupItem>\n  <CListGroupItem as="button">Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem as="button" disabled>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Flush #

Add flush boolean property to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CListGroup flush>\n  <CListGroupItem>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Horizontal

Add layout="horizontal" to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant .layout="horizontal-{sm|md|lg|xl|xxl}" to make a list group horizontal starting at that breakpoint's min-width. Currently horizontal list groups cannot be combined with flush list groups.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CListGroup flush>\n  <CListGroupItem>Cras justo odio</CListGroupItem>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem>Morbi leo risus</CListGroupItem>\n  <CListGroupItem>Porta ac consectetur ac</CListGroupItem>\n  <CListGroupItem>Vestibulum at eros</CListGroupItem>\n</CListGroup>\n

Horizontal #

Add layout="horizontal" to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant .layout="horizontal-{sm|md|lg|xl|xxl}" to make a list group horizontal starting at that breakpoint's min-width. Currently horizontal list groups cannot be combined with flush list groups.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['', '-sm', '-md', '-lg', '-xl', '-xxl']">\n  <CListGroup class="mb-2" :layout="'horizontal' + item">\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Morbi leo risus</CListGroupItem>\n  </CListGroup>\n</template>\n

Contextual classes

Use contextual classes to style list items with a stateful background and color.

', 3); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<template v-for="(item) in ['', '-sm', '-md', '-lg', '-xl', '-xxl']">\n  <CListGroup class="mb-2" :layout="'horizontal' + item">\n    <CListGroupItem>Cras justo odio</CListGroupItem>\n    <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n    <CListGroupItem>Morbi leo risus</CListGroupItem>\n  </CListGroup>\n</template>\n

Contextual classes #

Use contextual classes to style list items with a stateful background and color.

', 3); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem>Dapibus ac facilisis in</CListGroupItem>\n  <CListGroupItem v-for="(item) in ['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark']" :color="item">A simple {{item}} list group item</CListGroupItem>\n</CListGroup>\n

Contextual classes also work with <a>s or <button>s. Note the addition of the hover styles here not present in the previous example. Also supported is the active state; apply it to indicate an active selection on a contextual list group item.

', 2); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; @@ -38,13 +37,12 @@ const _hoisted_35 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("With badges "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#with-badges", - "aria-hidden": "true" + href: "#with-badges" }, "#") ], -1); const _hoisted_36 = /* @__PURE__ */ createBaseVNode("p", null, "Add badges to any list group item to show unread counts, activity, and more.", -1); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; -const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Cras justo odio<CBadge color="primary" shape="rounded-pill">14</CBadge></CListGroupItem>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Dapibus ac facilisis in<CBadge color="primary" shape="rounded-pill">2</CBadge></CListGroupItem>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Morbi leo risus<CBadge color="primary" shape="rounded-pill">1</CBadge></CListGroupItem>\n</CListGroup>\n

Custom content

Add nearly any HTML within, even for linked list groups like the one below, with the help of flexbox utilities.

', 3); +const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Cras justo odio<CBadge color="primary" shape="rounded-pill">14</CBadge></CListGroupItem>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Dapibus ac facilisis in<CBadge color="primary" shape="rounded-pill">2</CBadge></CListGroupItem>\n  <CListGroupItem class="d-flex justify-content-between align-items-center">Morbi leo risus<CBadge color="primary" shape="rounded-pill">1</CBadge></CListGroupItem>\n</CListGroup>\n

Custom content #

Add nearly any HTML within, even for linked list groups like the one below, with the help of flexbox utilities.

', 3); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = /* @__PURE__ */ createBaseVNode("div", { class: "d-flex w-100 justify-content-between" }, [ /* @__PURE__ */ createBaseVNode("h5", { class: "mb-1" }, "List group item heading"), @@ -64,13 +62,13 @@ const _hoisted_48 = /* @__PURE__ */ createBaseVNode("div", { class: "d-flex w-10 ], -1); const _hoisted_49 = /* @__PURE__ */ createBaseVNode("p", { class: "mb-1" }, "Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.", -1); const _hoisted_50 = /* @__PURE__ */ createBaseVNode("small", { class: "text-body-secondary" }, "Donec id elit non mi porta.", -1); -const _hoisted_51 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem as="a" href="#" active>\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small>3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small>Donec id elit non mi porta.</small>\n  </CListGroupItem>\n  <CListGroupItem as="a" href="#">\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small class="text-body-secondary">3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small class="text-body-secondary">Donec id elit non mi porta.</small>\n  </CListGroupItem>\n  <CListGroupItem as="a" href="#">\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small class="text-body-secondary">3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small class="text-body-secondary">Donec id elit non mi porta.</small>\n  </CListGroupItem>\n</CListGroup>\n

Checkboxes and radios

Place CoreUI's checkboxes and radios within list group items and customize as needed.

', 3); +const _hoisted_51 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem as="a" href="#" active>\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small>3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small>Donec id elit non mi porta.</small>\n  </CListGroupItem>\n  <CListGroupItem as="a" href="#">\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small class="text-body-secondary">3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small class="text-body-secondary">Donec id elit non mi porta.</small>\n  </CListGroupItem>\n  <CListGroupItem as="a" href="#">\n    <div class="d-flex w-100 justify-content-between">\n    <h5 class="mb-1">List group item heading</h5>\n      <small class="text-body-secondary">3 days ago</small>\n    </div>\n    <p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n    <small class="text-body-secondary">Donec id elit non mi porta.</small>\n  </CListGroupItem>\n</CListGroup>\n

Checkboxes and radios #

Place CoreUI's checkboxes and radios within list group items and customize as needed.

', 3); const _hoisted_54 = { class: "docs-example rounded-top p-4" }; const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem><CFormCheck label="Cras justo odio"/></CListGroupItem>\n  <CListGroupItem><CFormCheck label="Dapibus ac facilisis in" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck label="Morbi leo risus" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck label="orta ac consectetur ac"/></CListGroupItem>\n  <CListGroupItem><CFormCheck label="Vestibulum at eros"/></CListGroupItem>\n</CListGroup>\n

And if you want <label>s as the .list-group-item for large hit areas, you can do that, too.

', 2); const _hoisted_57 = { class: "docs-example rounded-top p-4" }; -const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem><CFormCheck hitArea="full" label="Cras justo odio"/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Dapibus ac facilisis in" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Morbi leo risus" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="orta ac consectetur ac"/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Vestibulum at eros"/></CListGroupItem>\n</CListGroup>\n

Customizing

CSS variables

Vue list groups use local CSS variables on .list-group for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_62 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CListGroup :style="vars">...</CListGroup>\n

SASS variables

', 3); -const _hoisted_65 = /* @__PURE__ */ createStaticVNode('

API

CListGroup

import { CListGroup } from '@coreui/vue'\n// or\nimport CListGroup from '@coreui/vue/src/components/list-group/CListGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
flushRemove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., <CCard>)boolean--
layoutSpecify a layout type.string'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl', ``-

CListGroupItem

import { CListGroupItem } from '@coreui/vue'\n// or\nimport CListGroupItem from '@coreui/vue/src/components/list-group/CListGroupItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
disabledToggle the disabled state for the component.boolean--
', 9); +const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<CListGroup>\n  <CListGroupItem><CFormCheck hitArea="full" label="Cras justo odio"/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Dapibus ac facilisis in" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Morbi leo risus" checked/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="orta ac consectetur ac"/></CListGroupItem>\n  <CListGroupItem><CFormCheck hitArea="full" label="Vestibulum at eros"/></CListGroupItem>\n</CListGroup>\n

Customizing #

CSS variables #

Vue list groups use local CSS variables on .list-group for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_62 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CListGroup :style="vars">...</CListGroup>\n

SASS variables #

', 3); +const _hoisted_65 = /* @__PURE__ */ createStaticVNode('

API #

CListGroup #

import { CListGroup } from '@coreui/vue'\n// or\nimport CListGroup from '@coreui/vue/src/components/list-group/CListGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
flushRemove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., <CCard>)boolean--
layoutSpecify a layout type.string'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl', ``-

CListGroupItem #

import { CListGroupItem } from '@coreui/vue'\n// or\nimport CListGroupItem from '@coreui/vue/src/components/list-group/CListGroupItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
disabledToggle the disabled state for the component.boolean--
', 9); function _sfc_render(_ctx, _cache) { const _component_CListGroupItem = resolveComponent("CListGroupItem"); const _component_CListGroup = resolveComponent("CListGroup"); diff --git a/vue/docs/assets/loading-button.html-BwfYal81.js b/vue/docs/assets/loading-button.html-DU_pRN89.js similarity index 83% rename from vue/docs/assets/loading-button.html-BwfYal81.js rename to vue/docs/assets/loading-button.html-DU_pRN89.js index c2ccc9b7245..c8ec43c9a30 100644 --- a/vue/docs/assets/loading-button.html-BwfYal81.js +++ b/vue/docs/assets/loading-button.html-DU_pRN89.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,17 +7,16 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Create basic Vue Loading Buttons with different styles: primary, outline, and ghost. These buttons show a loading state when clicked.", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="primary" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="primary" :timeout="2000" variant="outline">Submit</CLoadingButton>\n<CLoadingButton color="primary" :timeout="2000" variant="ghost">Submit</CLoadingButton>\n

Spinners

Border (Default)

The default option. Use loading buttons with a border spinner to indicate loading status.

', 4); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="primary" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="primary" :timeout="2000" variant="outline">Submit</CLoadingButton>\n<CLoadingButton color="primary" :timeout="2000" variant="ghost">Submit</CLoadingButton>\n

Spinners #

Border (Default) #

The default option. Use loading buttons with a border spinner to indicate loading status.

', 4); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="info" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="success" variant="outline" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="warning" variant="ghost" :timeout="2000">Submit</CLoadingButton>\n

Grow

Switch to a grow spinner for Vue loading buttons by adding spinnerType="grow".

', 3); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="info" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="success" variant="outline" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="warning" variant="ghost" :timeout="2000">Submit</CLoadingButton>\n

Grow #

Switch to a grow spinner for Vue loading buttons by adding spinnerType="grow".

', 3); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="info" spinnerType="grow" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="success" spinnerType="grow" variant="outline" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="warning" spinnerType="grow" variant="ghost" :timeout="2000">Submit</CLoadingButton>\n

API

CLoadingButton

import { CLoadingButton } from '@coreui/vue-pro'\n// or\nimport CLoadingButton from '@coreui/vue-pro/src/components/loading-button/CLoadingButton'\n

Props

Prop nameDescriptionTypeValuesDefault
disabled-on-loadingMakes button disabled when loading.boolean--
loadingLoading state (set to true to start animation).boolean-false
spinner-typeSets type of spinner.
@default 'border'
string'border', 'grow''border'
timeoutAutomatically starts loading animation and stops after a determined amount of milliseconds.number--

Events

Event nameDescriptionProperties
clickEvent called when the user clicks on a component.
', 8); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CLoadingButton color="info" spinnerType="grow" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="success" spinnerType="grow" variant="outline" :timeout="2000">Submit</CLoadingButton>\n<CLoadingButton color="warning" spinnerType="grow" variant="ghost" :timeout="2000">Submit</CLoadingButton>\n

API #

CLoadingButton #

import { CLoadingButton } from '@coreui/vue-pro'\n// or\nimport CLoadingButton from '@coreui/vue-pro/src/components/loading-button/CLoadingButton'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabled-on-loadingMakes button disabled when loading.boolean--
loadingLoading state (set to true to start animation).boolean-false
spinner-typeSets type of spinner.
@default 'border'
string'border', 'grow''border'
timeoutAutomatically starts loading animation and stops after a determined amount of milliseconds.number--

Events #

Event nameDescriptionProperties
clickEvent called when the user clicks on a component.
', 8); function _sfc_render(_ctx, _cache) { const _component_CLoadingButton = resolveComponent("CLoadingButton"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/modal.html-KOyG7M6n.js b/vue/docs/assets/modal.html-BHtWUNx_.js similarity index 53% rename from vue/docs/assets/modal.html-KOyG7M6n.js rename to vue/docs/assets/modal.html-BHtWUNx_.js index 3c9cdb53413..434e0ed3e54 100644 --- a/vue/docs/assets/modal.html-KOyG7M6n.js +++ b/vue/docs/assets/modal.html-BHtWUNx_.js @@ -1,26 +1,29 @@ -import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode, Y as withDirectives, h as createBlock } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode, Y as withDirectives, V as createBlock } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - visibleLiveDemo: false, - visibleStaticBackdropDemo: false, - visibleScrollingLongContentDemo: false, - visibleScrollableDemo: false, - visibleVerticallyCenteredDemo: false, - visibleVerticallyCenteredScrollableDemo: false, - visibleTooltipsAndPopoversDemo: false, - visibleToggleBetweenModalsDemo1: false, - visibleToggleBetweenModalsDemo2: false, - xlDemo: false, - lgDemo: false, - smDemo: false, - fullscreenDemo: false, - fullscreenSmDemo: false, - fullscreenMdDemo: false, - fullscreenLgDemo: false, - fullscreenXlDemo: false, - fullscreenXxlDemo: false - }; + __name: "modal.html", + setup(__props, { expose: __expose }) { + __expose(); + const visibleLiveDemo = ref(false); + const visibleStaticBackdropDemo = ref(false); + const visibleScrollingLongContentDemo = ref(false); + const visibleScrollableDemo = ref(false); + const visibleVerticallyCenteredDemo = ref(false); + const visibleVerticallyCenteredScrollableDemo = ref(false); + const visibleTooltipsAndPopoversDemo = ref(false); + const visibleToggleBetweenModalsDemo1 = ref(false); + const visibleToggleBetweenModalsDemo2 = ref(false); + const xlDemo = ref(false); + const lgDemo = ref(false); + const smDemo = ref(false); + const fullscreenDemo = ref(false); + const fullscreenSmDemo = ref(false); + const fullscreenMdDemo = ref(false); + const fullscreenLgDemo = ref(false); + const fullscreenXlDemo = ref(false); + const fullscreenXxlDemo = ref(false); + const __returned__ = { visibleLiveDemo, visibleStaticBackdropDemo, visibleScrollingLongContentDemo, visibleScrollableDemo, visibleVerticallyCenteredDemo, visibleVerticallyCenteredScrollableDemo, visibleTooltipsAndPopoversDemo, visibleToggleBetweenModalsDemo1, visibleToggleBetweenModalsDemo2, xlDemo, lgDemo, smDemo, fullscreenDemo, fullscreenSmDemo, fullscreenMdDemo, fullscreenLgDemo, fullscreenXlDemo, fullscreenXxlDemo, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -30,8 +33,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { @@ -41,8 +43,7 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Modal components "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#modal-components", - "aria-hidden": "true" + href: "#modal-components" }, "#") ], -1); const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -55,11 +56,11 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("), and modal footer (optional). We ask that you include modal headers with actions whenever possible, or provide another explicit action.") ], -1); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CModal :backdrop="false" :keyboard="false" visible>\n  <CModalHeader>\n    <CModalTitle>Modal title</CModalTitle>\n  </CModalHeader>\n  <CModalBody>Modal body text goes here.</CModalBody>\n  <CModalFooter>\n    <CButton color="secondary">Close</CButton>\n    <CButton color="primary">Save changes</CButton>\n  </CModalFooter>\n</CModal>\n

Live demo

Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CModal :backdrop="false" :keyboard="false" visible>\n  <CModalHeader>\n    <CModalTitle>Modal title</CModalTitle>\n  </CModalHeader>\n  <CModalBody>Modal body text goes here.</CModalBody>\n  <CModalFooter>\n    <CButton color="secondary">Close</CButton>\n    <CButton color="primary">Save changes</CButton>\n  </CModalFooter>\n</CModal>\n

Live demo #

Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleLiveDemo = true }">Launch demo modal</CButton>\n  <CModal \n    :visible="visibleLiveDemo"\n    @close="() => { visibleLiveDemo = false }"\n    aria-labelledby="LiveDemoExampleLabel"\n  >\n    <CModalHeader>\n      <CModalTitle id="LiveDemoExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>Woohoo, you're reading this text in a modal!</CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleLiveDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleLiveDemo: false,\n      }\n    }\n  }\n</script>\n

Static backdrop

If you set backdrop property to static, your modal will behave as though the backdrop is static, meaning it will not close when clicking outside it. Click the button below to try it.

', 3); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleLiveDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleLiveDemo = true }">Launch demo modal</CButton>\n  <CModal \n    :visible="visibleLiveDemo"\n    @close="() => { visibleLiveDemo = false }"\n    aria-labelledby="LiveDemoExampleLabel"\n  >\n    <CModalHeader>\n      <CModalTitle id="LiveDemoExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>Woohoo, you're reading this text in a modal!</CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleLiveDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n

Static backdrop #

If you set backdrop property to static, your modal will behave as though the backdrop is static, meaning it will not close when clicking outside it. Click the button below to try it.

', 3); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleStaticBackdropDemo = true }">Launch demo modal</CButton>\n  <CModal \n    backdrop="static"\n    :visible="visibleStaticBackdropDemo"\n    @close="() => { visibleStaticBackdropDemo = false }" \n    aria-labelledby="StaticBackdropExampleLabel"\n  >\n    <CModalHeader>\n      <CModalTitle id="StaticBackdropExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>Woohoo, you're reading this text in a modal!</CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleStaticBackdropDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleStaticBackdropDemo: false,\n      }\n    }\n  }\n</script>\n

Scrolling long content

When modals become too long for the user's viewport or device, they scroll independent of the page itself. Try the demo below to see what we mean.

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleStaticBackdropDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleStaticBackdropDemo = true }">Launch demo modal</CButton>\n  <CModal \n    backdrop="static"\n    :visible="visibleStaticBackdropDemo"\n    @close="() => { visibleStaticBackdropDemo = false }" \n    aria-labelledby="StaticBackdropExampleLabel"\n  >\n    <CModalHeader>\n      <CModalTitle id="StaticBackdropExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>Woohoo, you're reading this text in a modal!</CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleStaticBackdropDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n

Scrolling long content #

When modals become too long for the user's viewport or device, they scroll independent of the page itself. Try the demo below to see what we mean.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; const _hoisted_17 = /* @__PURE__ */ createBaseVNode("p", null, " Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. ", -1); const _hoisted_18 = /* @__PURE__ */ createBaseVNode("p", null, " Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. ", -1); @@ -79,7 +80,7 @@ const _hoisted_31 = /* @__PURE__ */ createBaseVNode("p", null, " Aenean lacinia const _hoisted_32 = /* @__PURE__ */ createBaseVNode("p", null, " Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. ", -1); const _hoisted_33 = /* @__PURE__ */ createBaseVNode("p", null, " Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. ", -1); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("p", null, " Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. ", -1); -const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleScrollingLongContentDemo = true }">Launch demo modal</CButton>\n  <CModal \n    :visible="visibleScrollingLongContentDemo"\n    @close="() => { visibleScrollingLongContentDemo = false }"\n    aria-labelledby="ScrollingLongContentExampleLabel"\n  >\n    <CModalHeader>\n     <CModalTitle id="ScrollingLongContentExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n    </CModalBody>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleScrollingLongContentDemo: false,\n      }\n    }\n  }\n</script>\n

You can also create a scrollable modal that allows scroll the modal body by adding scrollable prop.

', 2); +const _hoisted_35 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleScrollingLongContentDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleScrollingLongContentDemo = true }">Launch demo modal</CButton>\n  <CModal \n    :visible="visibleScrollingLongContentDemo"\n    @close="() => { visibleScrollingLongContentDemo = false }"\n    aria-labelledby="ScrollingLongContentExampleLabel"\n  >\n    <CModalHeader>\n     <CModalTitle id="ScrollingLongContentExampleLabel">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n    </CModalBody>\n  </CModal>\n</template>\n

You can also create a scrollable modal that allows scroll the modal body by adding scrollable prop.

', 2); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = /* @__PURE__ */ createBaseVNode("p", null, " Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. ", -1); const _hoisted_39 = /* @__PURE__ */ createBaseVNode("p", null, " Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. ", -1); @@ -99,25 +100,25 @@ const _hoisted_52 = /* @__PURE__ */ createBaseVNode("p", null, " Aenean lacinia const _hoisted_53 = /* @__PURE__ */ createBaseVNode("p", null, " Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. ", -1); const _hoisted_54 = /* @__PURE__ */ createBaseVNode("p", null, " Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. ", -1); const _hoisted_55 = /* @__PURE__ */ createBaseVNode("p", null, " Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla. ", -1); -const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleScrollableDemo = true }">Launch demo modal</CButton>\n  <CModal\n    scrollable\n    :visible="visibleScrollableDemo"\n    @close="() => { visibleScrollableDemo = false }"\n    aria-labelledby="ScrollingLongContentExampleLabel2"\n  >\n    <CModalHeader>\n      <CModalTitle id="ScrollingLongContentExampleLabel2">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n    </CModalBody>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleScrollableDemo: false,\n      }\n    }\n  }\n</script>\n

Vertically centered

Add alignment="center to <CModal> to vertically center the modal.

', 3); +const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleScrollableDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleScrollableDemo = true }">Launch demo modal</CButton>\n  <CModal\n    scrollable\n    :visible="visibleScrollableDemo"\n    @close="() => { visibleScrollableDemo = false }"\n    aria-labelledby="ScrollingLongContentExampleLabel2"\n  >\n    <CModalHeader>\n      <CModalTitle id="ScrollingLongContentExampleLabel2">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n      <p>\n        Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac\n        facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum\n        at eros.\n      </p>\n      <p>\n        Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis\n        lacus vel augue laoreet rutrum faucibus dolor auctor.\n      </p>\n      <p>\n        Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel\n        scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus\n        auctor fringilla.\n      </p>\n    </CModalBody>\n  </CModal>\n</template>\n

Vertically centered #

Add alignment="center to <CModal> to vertically center the modal.

', 3); const _hoisted_59 = { class: "docs-example rounded-top p-4" }; -const _hoisted_60 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleVerticallyCenteredDemo = true }">Launch demo modal</CButton>\n  <CModal\n    alignment="center"\n    :visible="visibleVerticallyCenteredDemo"\n    @close="() => { visibleVerticallyCenteredDemo = false }"\n    aria-labelledby="VerticallyCenteredExample"\n  >\n    <CModalHeader>\n      <CModalTitle id="VerticallyCenteredExample">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleVerticallyCenteredDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleVerticallyCenteredDemo: false,\n      }\n    }\n  }\n</script>\n
', 1); +const _hoisted_60 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleVerticallyCenteredDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleVerticallyCenteredDemo = true }">Launch demo modal</CButton>\n  <CModal\n    alignment="center"\n    :visible="visibleVerticallyCenteredDemo"\n    @close="() => { visibleVerticallyCenteredDemo = false }"\n    aria-labelledby="VerticallyCenteredExample"\n  >\n    <CModalHeader>\n      <CModalTitle id="VerticallyCenteredExample">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleVerticallyCenteredDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n
', 1); const _hoisted_61 = { class: "docs-example rounded-top p-4" }; -const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleVerticallyCenteredScrollableDemo = true }">Vertically centered scrollable modal</CButton>\n  <CModal \n    alignment="center"\n    scrollable\n    :visible="visibleVerticallyCenteredScrollableDemo"\n    @close="() => { visibleVerticallyCenteredScrollableDemo = false }"\n    aria-labelledby="VerticallyCenteredExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="VerticallyCenteredExample2">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleVerticallyCenteredScrollableDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleVerticallyCenteredScrollableDemo: false,\n      }\n    }\n  }\n</script>\n

Tooltips and popovers

<CTooltips> and <CPopovers> can be placed within modals as needed. When modals are closed, any tooltips and popovers within are also automaticallyed.

', 3); +const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleVerticallyCenteredScrollableDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleVerticallyCenteredScrollableDemo = true }">Vertically centered scrollable modal</CButton>\n  <CModal \n    alignment="center"\n    scrollable\n    :visible="visibleVerticallyCenteredScrollableDemo"\n    @close="() => { visibleVerticallyCenteredScrollableDemo = false }"\n    aria-labelledby="VerticallyCenteredExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="VerticallyCenteredExample2">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleVerticallyCenteredScrollableDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n

Tooltips and popovers #

<CTooltips> and <CPopovers> can be placed within modals as needed. When modals are closed, any tooltips and popovers within are also automaticallyed.

', 3); const _hoisted_65 = { class: "docs-example rounded-top p-4" }; const _hoisted_66 = /* @__PURE__ */ createBaseVNode("h5", null, "Popover in a modal", -1); const _hoisted_67 = /* @__PURE__ */ createBaseVNode("hr", null, null, -1); const _hoisted_68 = /* @__PURE__ */ createBaseVNode("h5", null, "Tooltips in a modal", -1); -const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleTooltipsAndPopoversDemo = true }">Launch demo modal</CButton>\n  <CModal\n    :visible="visibleTooltipsAndPopoversDemo"\n    @close="() => { visibleTooltipsAndPopoversDemo = false }"\n    aria-labelledby="TooltipsAndPopoverExample"\n  >\n    <CModalHeader>\n      <CModalTitle id="TooltipsAndPopoverExample">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <h5>Popover in a modal</h5>\n      <p>This <CButton color="secondary" v-c-popover="{header: 'Popover title', content: 'Popover body content is set in this property.'}">button</CButton></p>\n      <hr/>\n      <h5>Tooltips in a modal</h5>\n      <p>\n        <CLink v-c-tooltip="'Tooltip'">This link</CLink> and <CLink v-c-tooltip="'Tooltip'">that link</CLink> have tooltips on hover.\n      </p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleTooltipsAndPopoversDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleTooltipsAndPopoversDemo: false,\n      }\n    }\n  }\n</script>\n

Toggle between modals

Toggle between multiple modals with some clever placement of the visible props. Please note multiple modals cannot be opened at the same time — this method simply toggles between two separate modals.

', 3); +const _hoisted_69 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleTooltipsAndPopoversDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleTooltipsAndPopoversDemo = true }">Launch demo modal</CButton>\n  <CModal\n    :visible="visibleTooltipsAndPopoversDemo"\n    @close="() => { visibleTooltipsAndPopoversDemo = false }"\n    aria-labelledby="TooltipsAndPopoverExample"\n  >\n    <CModalHeader>\n      <CModalTitle id="TooltipsAndPopoverExample">Modal title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <h5>Popover in a modal</h5>\n      <p>This <CButton color="secondary" v-c-popover="{header: 'Popover title', content: 'Popover body content is set in this property.'}">button</CButton></p>\n      <hr/>\n      <h5>Tooltips in a modal</h5>\n      <p>\n        <CLink v-c-tooltip="'Tooltip'">This link</CLink> and <CLink v-c-tooltip="'Tooltip'">that link</CLink> have tooltips on hover.\n      </p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton color="secondary" @click="() => { visibleTooltipsAndPopoversDemo = false }">\n        Close\n      </CButton>\n      <CButton color="primary">Save changes</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n

Toggle between modals #

Toggle between multiple modals with some clever placement of the visible props. Please note multiple modals cannot be opened at the same time — this method simply toggles between two separate modals.

', 3); const _hoisted_72 = { class: "docs-example rounded-top p-4" }; const _hoisted_73 = /* @__PURE__ */ createBaseVNode("p", null, "Show a second modal and hide this one with the button below.", -1); const _hoisted_74 = /* @__PURE__ */ createBaseVNode("p", null, "Hide this modal and show the first with the button below.", -1); -const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleToggleBetweenModalsDemo1 = true }">Open first modal</CButton>\n  <CModal\n    :visible="visibleToggleBetweenModalsDemo1"\n    @close="() => { visibleToggleBetweenModalsDemo1 = false }"\n    aria-labelledby="ToggleBetweenModalsExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="ToggleBetweenModalsExample1">Modal 1 title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>Show a second modal and hide this one with the button below.</p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton \n        color="primary"\n        @click="() => { \n          visibleToggleBetweenModalsDemo1 = false\n          visibleToggleBetweenModalsDemo2 = true\n        }"\n      >Open second modal</CButton>\n    </CModalFooter>\n  </CModal>\n  <CModal\n    :visible="visibleToggleBetweenModalsDemo2"\n    @close="() => {\n      visibleToggleBetweenModalsDemo1 = true\n      visibleToggleBetweenModalsDemo2 = false\n    }"\n    aria-labelledby="ToggleBetweenModalsExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="ToggleBetweenModalsExample2">Modal 2 title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>Hide this modal and show the first with the button below.</p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton \n        color="primary"\n        @click="() => { \n          visibleToggleBetweenModalsDemo1 = true\n          visibleToggleBetweenModalsDemo2 = false\n        }"\n      >Back to first</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleToggleBetweenModalsDemo1: false,\n        visibleToggleBetweenModalsDemo2: false,\n      }\n    }\n  }\n</script>\n

Change animation

The variable $modal-fade-transform determines the transform state of React Modal component before the modal fade-in animation, whereas the variable $modal-show-transform determines the transform state of Modal component after the modal fade-in animation. If you want a zoom-in animation, for example, set $modal-fade-transform: scale(.8).

Remove animation

For modals that simply appear rather than fade into view, set transition to false.

<CModal transition={false}>...</CModal>\n

Accessibility

Be sure to add aria-labelledby="...", referencing the modal title, to <CModal /> Additionally, you may give a description of your modal dialog with aria-describedby on <CModal>. Note that you don’t need to add role="dialog since we already add it.

Optional sizes

Modals have three optional sizes, available via modifier classes to be placed on a <CModal>. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.

SizeProperty sizeModal max-width
Small'sm'300px
DefaultNone500px
Large'lg'800px
Extra large'xl'1140px
', 11); +const _hoisted_75 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleToggleBetweenModalsDemo1 = ref(false)\n  const visibleToggleBetweenModalsDemo2 = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleToggleBetweenModalsDemo1 = true }">Open first modal</CButton>\n  <CModal\n    :visible="visibleToggleBetweenModalsDemo1"\n    @close="() => { visibleToggleBetweenModalsDemo1 = false }"\n    aria-labelledby="ToggleBetweenModalsExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="ToggleBetweenModalsExample1">Modal 1 title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>Show a second modal and hide this one with the button below.</p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton \n        color="primary"\n        @click="() => { \n          visibleToggleBetweenModalsDemo1 = false\n          visibleToggleBetweenModalsDemo2 = true\n        }"\n      >Open second modal</CButton>\n    </CModalFooter>\n  </CModal>\n  <CModal\n    :visible="visibleToggleBetweenModalsDemo2"\n    @close="() => {\n      visibleToggleBetweenModalsDemo1 = true\n      visibleToggleBetweenModalsDemo2 = false\n    }"\n    aria-labelledby="ToggleBetweenModalsExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="ToggleBetweenModalsExample2">Modal 2 title</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      <p>Hide this modal and show the first with the button below.</p>\n    </CModalBody>\n    <CModalFooter>\n      <CButton \n        color="primary"\n        @click="() => { \n          visibleToggleBetweenModalsDemo1 = true\n          visibleToggleBetweenModalsDemo2 = false\n        }"\n      >Back to first</CButton>\n    </CModalFooter>\n  </CModal>\n</template>\n

Change animation #

The variable $modal-fade-transform determines the transform state of React Modal component before the modal fade-in animation, whereas the variable $modal-show-transform determines the transform state of Modal component after the modal fade-in animation. If you want a zoom-in animation, for example, set $modal-fade-transform: scale(.8).

Remove animation #

For modals that simply appear rather than fade into view, set transition to false.

<CModal transition={false}>...</CModal>\n

Accessibility #

Be sure to add aria-labelledby="...", referencing the modal title, to <CModal /> Additionally, you may give a description of your modal dialog with aria-describedby on <CModal>. Note that you don’t need to add role="dialog since we already add it.

Optional sizes #

Modals have three optional sizes, available via modifier classes to be placed on a <CModal>. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.

SizeProperty sizeModal max-width
Small'sm'300px
DefaultNone500px
Large'lg'800px
Extra large'xl'1140px
', 11); const _hoisted_86 = { class: "docs-example rounded-top p-4" }; -const _hoisted_87 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { xlDemo = true }">Extra large modal</CButton>\n  <CButton color="primary" @click="() => { lgDemo = true }">Large modal</CButton>\n  <CButton color="primary" @click="() => { smDemo = true }">Small modal</CButton>\n  <CModal\n    size="xl"\n    :visible="xlDemo"\n    @close="() => { xlDemo = false }"\n    aria-labelledby="OptionalSizesExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="OptionalSizesExample1">Extra large modal</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    size="lg"\n    :visible="lgDemo"\n    @close="() => { lgDemo = false }"\n    aria-labelledby="OptionalSizesExample2"\n  >\n  <CModalHeader>\n    <CModalTitle id="OptionalSizesExample2">Large modal</CModalTitle>\n  </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    size="sm" \n    :visible="smDemo" \n    @close="() => { smDemo = false }"\n    aria-labelledby="OptionalSizesExample3"\n  >\n    <CModalHeader>\n      <CModalTitle id="OptionalSizesExample3">Small modal</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        xlDemo: false,\n        lgDemo: false,\n        smDemo: false,\n      }\n    }\n  }\n</script>\n

Fullscreen Modal

Another override is the option to pop up a modal that covers the user viewport, available via property fullscreen.

Property fullscreenAvailability
trueAlways
'sm'Below 576px
'md'Below 768px
'lg'Below 992px
'xl'Below 1200px
'xxl'Below 1400px
', 4); +const _hoisted_87 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const xlDemo = ref(false)\n  const lgDemo = ref(false)\n  const smDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { xlDemo = true }">Extra large modal</CButton>\n  <CButton color="primary" @click="() => { lgDemo = true }">Large modal</CButton>\n  <CButton color="primary" @click="() => { smDemo = true }">Small modal</CButton>\n  <CModal\n    size="xl"\n    :visible="xlDemo"\n    @close="() => { xlDemo = false }"\n    aria-labelledby="OptionalSizesExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="OptionalSizesExample1">Extra large modal</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    size="lg"\n    :visible="lgDemo"\n    @close="() => { lgDemo = false }"\n    aria-labelledby="OptionalSizesExample2"\n  >\n  <CModalHeader>\n    <CModalTitle id="OptionalSizesExample2">Large modal</CModalTitle>\n  </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    size="sm" \n    :visible="smDemo" \n    @close="() => { smDemo = false }"\n    aria-labelledby="OptionalSizesExample3"\n  >\n    <CModalHeader>\n      <CModalTitle id="OptionalSizesExample3">Small modal</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n</template>\n

Fullscreen Modal #

Another override is the option to pop up a modal that covers the user viewport, available via property fullscreen.

Property fullscreenAvailability
trueAlways
'sm'Below 576px
'md'Below 768px
'lg'Below 992px
'xl'Below 1200px
'xxl'Below 1400px
', 4); const _hoisted_91 = { class: "docs-example rounded-top p-4" }; -const _hoisted_92 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { fullscreenDemo = true }">Full screen</CButton>\n  <CButton color="primary" @click="() => { fullscreenSmDemo = true }">Full screen below sm</CButton>\n  <CButton color="primary" @click="() => { fullscreenMdDemo = true }">Full screen below md</CButton>\n  <CButton color="primary" @click="() => { fullscreenLgDemo = true }">Full screen below lg</CButton>\n  <CButton color="primary" @click="() => { fullscreenXlDemo = true }">Full screen below xl</CButton>\n  <CButton color="primary" @click="() => { fullscreenXxlDemo = true }">Full screen below xxl</CButton>\n  <CModal\n    fullscreen\n    :visible="fullscreenDemo"\n    @close="() => { fullscreenDemo = false }"\n    aria-labelledby="FullscreenExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample1">Full screen</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="sm"\n    :visible="fullscreenSmDemo"\n    @close="() => { fullscreenSmDemo = false }"\n    aria-labelledby="FullscreenExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample2">Full screen below sm</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="md"\n    :visible="fullscreenMdDemo"\n    @close="() => { fullscreenMdDemo = false }"\n    aria-labelledby="FullscreenExample3"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample3">Full screen below md</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="lg"\n    :visible="fullscreenLgDemo"\n    @close="() => { fullscreenLgDemo = false }"\n    aria-labelledby="FullscreenExample4"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample4">Full screen below lg</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="xl"\n    :visible="fullscreenXlDemo"\n    @close="() => { fullscreenXlDemo = false }"\n    aria-labelledby="FullscreenExample5"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample5">Full screen below xl</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="xxl"\n    :visible="fullscreenXxlDemo"\n    @close="() => { fullscreenXxlDemo = false }"\n    aria-labelledby="FullscreenExample6"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample6">Full screen below xxl</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        fullscreenDemo: false,\n        fullscreenSmDemo: false,\n        fullscreenMdDemo: false,\n        fullscreenLgDemo: false,\n        fullscreenXlDemo: false,\n        fullscreenXxlDemo: false,\n      }\n    }\n  }\n</script>\n

Customizing

CSS variables

Vue modals use local CSS variables on .modal and .modal-backdrop for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_96 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CModal :style="vars">...</CModal>\n

SASS variables

', 3); +const _hoisted_92 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const fullscreenDemo = ref(false)\n  const fullscreenSmDemo = ref(false)\n  const fullscreenMdDemo = ref(false)\n  const fullscreenLgDemo = ref(false)\n  const fullscreenXlDemo = ref(false)\n  const fullscreenXxlDemo = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { fullscreenDemo = true }">Full screen</CButton>\n  <CButton color="primary" @click="() => { fullscreenSmDemo = true }">Full screen below sm</CButton>\n  <CButton color="primary" @click="() => { fullscreenMdDemo = true }">Full screen below md</CButton>\n  <CButton color="primary" @click="() => { fullscreenLgDemo = true }">Full screen below lg</CButton>\n  <CButton color="primary" @click="() => { fullscreenXlDemo = true }">Full screen below xl</CButton>\n  <CButton color="primary" @click="() => { fullscreenXxlDemo = true }">Full screen below xxl</CButton>\n  <CModal\n    fullscreen\n    :visible="fullscreenDemo"\n    @close="() => { fullscreenDemo = false }"\n    aria-labelledby="FullscreenExample1"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample1">Full screen</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="sm"\n    :visible="fullscreenSmDemo"\n    @close="() => { fullscreenSmDemo = false }"\n    aria-labelledby="FullscreenExample2"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample2">Full screen below sm</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="md"\n    :visible="fullscreenMdDemo"\n    @close="() => { fullscreenMdDemo = false }"\n    aria-labelledby="FullscreenExample3"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample3">Full screen below md</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="lg"\n    :visible="fullscreenLgDemo"\n    @close="() => { fullscreenLgDemo = false }"\n    aria-labelledby="FullscreenExample4"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample4">Full screen below lg</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="xl"\n    :visible="fullscreenXlDemo"\n    @close="() => { fullscreenXlDemo = false }"\n    aria-labelledby="FullscreenExample5"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample5">Full screen below xl</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n  <CModal\n    fullscreen="xxl"\n    :visible="fullscreenXxlDemo"\n    @close="() => { fullscreenXxlDemo = false }"\n    aria-labelledby="FullscreenExample6"\n  >\n    <CModalHeader>\n      <CModalTitle id="FullscreenExample6">Full screen below xxl</CModalTitle>\n    </CModalHeader>\n    <CModalBody>\n      ...\n    </CModalBody>\n  </CModal>\n</template>\n

Customizing #

CSS variables #

Vue modals use local CSS variables on .modal and .modal-backdrop for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_96 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CModal :style="vars">...</CModal>\n

SASS variables #

', 3); const _hoisted_99 = /* @__PURE__ */ createBaseVNode("h3", { id: "sass-loops", tabindex: "-1" @@ -125,8 +126,7 @@ const _hoisted_99 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS loops "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-loops", - "aria-hidden": "true" + href: "#sass-loops" }, "#") ], -1); const _hoisted_100 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -137,7 +137,7 @@ const _hoisted_100 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, "scss/_modal.scss"), /* @__PURE__ */ createTextVNode(".") ], -1); -const _hoisted_101 = /* @__PURE__ */ createStaticVNode('

API

CModal

import { CModal } from '@coreui/vue'\n// or\nimport CModal from '@coreui/vue/src/components/modal/CModal'\n

Props

Prop nameDescriptionTypeValuesDefault
alignmentAlign the modal in the center or top of the screen.string'top', 'center''top'
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
content-class-nameA string of all className you want applied to the modal content component.string--
focus
v5.0.0+
Puts the focus on the modal when shown.boolean-true
fullscreenSet modal to covers the entire user viewportboolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
keyboardCloses the modal when escape key is pressed.boolean-true
scrollableCreate a scrollable modal that allows scrolling the modal body.boolean--
sizeSize the component small, large, or extra large.string'sm', 'lg', 'xl'-
transitionRemove animation to create modal that simply appear rather than fade in to view.boolean-true
unmount-on-closeBy default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.boolean-true
visibleToggle the visibility of alert component.boolean--

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
close-preventedCallback fired when the component requests to be closed.
showCallback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.

CModalHeader

import { CModalHeader } from '@coreui/vue'\n// or\nimport CModalHeader from '@coreui/vue/src/components/modal/CModalHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
close-buttonAdd a close button component to the header.boolean-true

CModalTitle

import { CModalTitle } from '@coreui/vue'\n// or\nimport CModalTitle from '@coreui/vue/src/components/modal/CModalTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 15); +const _hoisted_101 = /* @__PURE__ */ createStaticVNode('

API #

CModal #

import { CModal } from '@coreui/vue'\n// or\nimport CModal from '@coreui/vue/src/components/modal/CModal'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignmentAlign the modal in the center or top of the screen.string'top', 'center''top'
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
container
5.3.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
content-class-nameA string of all className you want applied to the modal content component.string--
focus
5.0.0+
Puts the focus on the modal when shown.boolean-true
fullscreenSet modal to covers the entire user viewportboolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
keyboardCloses the modal when escape key is pressed.boolean-true
scrollableCreate a scrollable modal that allows scrolling the modal body.boolean--
sizeSize the component small, large, or extra large.string'sm', 'lg', 'xl'-
teleport
5.3.0+
Generates modal using Teleport.boolean-false
transitionRemove animation to create modal that simply appear rather than fade in to view.boolean-true
unmount-on-closeBy default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.boolean-true
visibleToggle the visibility of alert component.boolean--

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
close-preventedCallback fired when the component requests to be closed.
showCallback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.

CModalHeader #

import { CModalHeader } from '@coreui/vue'\n// or\nimport CModalHeader from '@coreui/vue/src/components/modal/CModalHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
close-buttonAdd a close button component to the header.boolean-true

CModalTitle #

import { CModalTitle } from '@coreui/vue'\n// or\nimport CModalTitle from '@coreui/vue/src/components/modal/CModalTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 15); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CModalTitle = resolveComponent("CModalTitle"); const _component_CModalHeader = resolveComponent("CModalHeader"); @@ -204,7 +204,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[0] || (_cache[0] = () => { - $data.visibleLiveDemo = true; + $setup.visibleLiveDemo = true; }) }, { default: withCtx(() => [ @@ -213,9 +213,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }), createVNode(_component_CModal, { - visible: $data.visibleLiveDemo, + visible: $setup.visibleLiveDemo, onClose: _cache[2] || (_cache[2] = () => { - $data.visibleLiveDemo = false; + $setup.visibleLiveDemo = false; }), "aria-labelledby": "LiveDemoExampleLabel" }, { @@ -242,7 +242,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "secondary", onClick: _cache[1] || (_cache[1] = () => { - $data.visibleLiveDemo = false; + $setup.visibleLiveDemo = false; }) }, { default: withCtx(() => [ @@ -268,7 +268,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[3] || (_cache[3] = () => { - $data.visibleStaticBackdropDemo = true; + $setup.visibleStaticBackdropDemo = true; }) }, { default: withCtx(() => [ @@ -278,9 +278,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CModal, { backdrop: "static", - visible: $data.visibleStaticBackdropDemo, + visible: $setup.visibleStaticBackdropDemo, onClose: _cache[5] || (_cache[5] = () => { - $data.visibleStaticBackdropDemo = false; + $setup.visibleStaticBackdropDemo = false; }), "aria-labelledby": "StaticBackdropExampleLabel" }, { @@ -307,7 +307,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "secondary", onClick: _cache[4] || (_cache[4] = () => { - $data.visibleStaticBackdropDemo = false; + $setup.visibleStaticBackdropDemo = false; }) }, { default: withCtx(() => [ @@ -333,7 +333,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[6] || (_cache[6] = () => { - $data.visibleScrollingLongContentDemo = true; + $setup.visibleScrollingLongContentDemo = true; }) }, { default: withCtx(() => [ @@ -342,9 +342,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }), createVNode(_component_CModal, { - visible: $data.visibleScrollingLongContentDemo, + visible: $setup.visibleScrollingLongContentDemo, onClose: _cache[7] || (_cache[7] = () => { - $data.visibleScrollingLongContentDemo = false; + $setup.visibleScrollingLongContentDemo = false; }), "aria-labelledby": "ScrollingLongContentExampleLabel" }, { @@ -392,7 +392,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[8] || (_cache[8] = () => { - $data.visibleScrollableDemo = true; + $setup.visibleScrollableDemo = true; }) }, { default: withCtx(() => [ @@ -402,9 +402,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CModal, { scrollable: "", - visible: $data.visibleScrollableDemo, + visible: $setup.visibleScrollableDemo, onClose: _cache[9] || (_cache[9] = () => { - $data.visibleScrollableDemo = false; + $setup.visibleScrollableDemo = false; }), "aria-labelledby": "ScrollingLongContentExampleLabel2" }, { @@ -452,7 +452,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[10] || (_cache[10] = () => { - $data.visibleVerticallyCenteredDemo = true; + $setup.visibleVerticallyCenteredDemo = true; }) }, { default: withCtx(() => [ @@ -462,9 +462,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CModal, { alignment: "center", - visible: $data.visibleVerticallyCenteredDemo, + visible: $setup.visibleVerticallyCenteredDemo, onClose: _cache[12] || (_cache[12] = () => { - $data.visibleVerticallyCenteredDemo = false; + $setup.visibleVerticallyCenteredDemo = false; }), "aria-labelledby": "VerticallyCenteredExample" }, { @@ -491,7 +491,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "secondary", onClick: _cache[11] || (_cache[11] = () => { - $data.visibleVerticallyCenteredDemo = false; + $setup.visibleVerticallyCenteredDemo = false; }) }, { default: withCtx(() => [ @@ -517,7 +517,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[13] || (_cache[13] = () => { - $data.visibleVerticallyCenteredScrollableDemo = true; + $setup.visibleVerticallyCenteredScrollableDemo = true; }) }, { default: withCtx(() => [ @@ -528,9 +528,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CModal, { alignment: "center", scrollable: "", - visible: $data.visibleVerticallyCenteredScrollableDemo, + visible: $setup.visibleVerticallyCenteredScrollableDemo, onClose: _cache[15] || (_cache[15] = () => { - $data.visibleVerticallyCenteredScrollableDemo = false; + $setup.visibleVerticallyCenteredScrollableDemo = false; }), "aria-labelledby": "VerticallyCenteredExample2" }, { @@ -557,7 +557,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "secondary", onClick: _cache[14] || (_cache[14] = () => { - $data.visibleVerticallyCenteredScrollableDemo = false; + $setup.visibleVerticallyCenteredScrollableDemo = false; }) }, { default: withCtx(() => [ @@ -583,7 +583,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[16] || (_cache[16] = () => { - $data.visibleTooltipsAndPopoversDemo = true; + $setup.visibleTooltipsAndPopoversDemo = true; }) }, { default: withCtx(() => [ @@ -592,9 +592,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }), createVNode(_component_CModal, { - visible: $data.visibleTooltipsAndPopoversDemo, + visible: $setup.visibleTooltipsAndPopoversDemo, onClose: _cache[18] || (_cache[18] = () => { - $data.visibleTooltipsAndPopoversDemo = false; + $setup.visibleTooltipsAndPopoversDemo = false; }), "aria-labelledby": "TooltipsAndPopoverExample" }, { @@ -654,7 +654,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "secondary", onClick: _cache[17] || (_cache[17] = () => { - $data.visibleTooltipsAndPopoversDemo = false; + $setup.visibleTooltipsAndPopoversDemo = false; }) }, { default: withCtx(() => [ @@ -680,7 +680,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[19] || (_cache[19] = () => { - $data.visibleToggleBetweenModalsDemo1 = true; + $setup.visibleToggleBetweenModalsDemo1 = true; }) }, { default: withCtx(() => [ @@ -689,9 +689,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }), createVNode(_component_CModal, { - visible: $data.visibleToggleBetweenModalsDemo1, + visible: $setup.visibleToggleBetweenModalsDemo1, onClose: _cache[21] || (_cache[21] = () => { - $data.visibleToggleBetweenModalsDemo1 = false; + $setup.visibleToggleBetweenModalsDemo1 = false; }), "aria-labelledby": "ToggleBetweenModalsExample1" }, { @@ -718,8 +718,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[20] || (_cache[20] = () => { - $data.visibleToggleBetweenModalsDemo1 = false; - $data.visibleToggleBetweenModalsDemo2 = true; + $setup.visibleToggleBetweenModalsDemo1 = false; + $setup.visibleToggleBetweenModalsDemo2 = true; }) }, { default: withCtx(() => [ @@ -734,10 +734,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }, 8, ["visible"]), createVNode(_component_CModal, { - visible: $data.visibleToggleBetweenModalsDemo2, + visible: $setup.visibleToggleBetweenModalsDemo2, onClose: _cache[23] || (_cache[23] = () => { - $data.visibleToggleBetweenModalsDemo1 = true; - $data.visibleToggleBetweenModalsDemo2 = false; + $setup.visibleToggleBetweenModalsDemo1 = true; + $setup.visibleToggleBetweenModalsDemo2 = false; }), "aria-labelledby": "ToggleBetweenModalsExample2" }, { @@ -764,8 +764,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[22] || (_cache[22] = () => { - $data.visibleToggleBetweenModalsDemo1 = true; - $data.visibleToggleBetweenModalsDemo2 = false; + $setup.visibleToggleBetweenModalsDemo1 = true; + $setup.visibleToggleBetweenModalsDemo2 = false; }) }, { default: withCtx(() => [ @@ -785,7 +785,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[24] || (_cache[24] = () => { - $data.xlDemo = true; + $setup.xlDemo = true; }) }, { default: withCtx(() => [ @@ -796,7 +796,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[25] || (_cache[25] = () => { - $data.lgDemo = true; + $setup.lgDemo = true; }) }, { default: withCtx(() => [ @@ -807,7 +807,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[26] || (_cache[26] = () => { - $data.smDemo = true; + $setup.smDemo = true; }) }, { default: withCtx(() => [ @@ -817,9 +817,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CModal, { size: "xl", - visible: $data.xlDemo, + visible: $setup.xlDemo, onClose: _cache[27] || (_cache[27] = () => { - $data.xlDemo = false; + $setup.xlDemo = false; }), "aria-labelledby": "OptionalSizesExample1" }, { @@ -846,9 +846,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { size: "lg", - visible: $data.lgDemo, + visible: $setup.lgDemo, onClose: _cache[28] || (_cache[28] = () => { - $data.lgDemo = false; + $setup.lgDemo = false; }), "aria-labelledby": "OptionalSizesExample2" }, { @@ -875,9 +875,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { size: "sm", - visible: $data.smDemo, + visible: $setup.smDemo, onClose: _cache[29] || (_cache[29] = () => { - $data.smDemo = false; + $setup.smDemo = false; }), "aria-labelledby": "OptionalSizesExample3" }, { @@ -908,7 +908,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[30] || (_cache[30] = () => { - $data.fullscreenDemo = true; + $setup.fullscreenDemo = true; }) }, { default: withCtx(() => [ @@ -919,7 +919,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[31] || (_cache[31] = () => { - $data.fullscreenSmDemo = true; + $setup.fullscreenSmDemo = true; }) }, { default: withCtx(() => [ @@ -930,7 +930,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[32] || (_cache[32] = () => { - $data.fullscreenMdDemo = true; + $setup.fullscreenMdDemo = true; }) }, { default: withCtx(() => [ @@ -941,7 +941,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[33] || (_cache[33] = () => { - $data.fullscreenLgDemo = true; + $setup.fullscreenLgDemo = true; }) }, { default: withCtx(() => [ @@ -952,7 +952,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[34] || (_cache[34] = () => { - $data.fullscreenXlDemo = true; + $setup.fullscreenXlDemo = true; }) }, { default: withCtx(() => [ @@ -963,7 +963,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CButton, { color: "primary", onClick: _cache[35] || (_cache[35] = () => { - $data.fullscreenXxlDemo = true; + $setup.fullscreenXxlDemo = true; }) }, { default: withCtx(() => [ @@ -973,9 +973,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CModal, { fullscreen: "", - visible: $data.fullscreenDemo, + visible: $setup.fullscreenDemo, onClose: _cache[36] || (_cache[36] = () => { - $data.fullscreenDemo = false; + $setup.fullscreenDemo = false; }), "aria-labelledby": "FullscreenExample1" }, { @@ -1002,9 +1002,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { fullscreen: "sm", - visible: $data.fullscreenSmDemo, + visible: $setup.fullscreenSmDemo, onClose: _cache[37] || (_cache[37] = () => { - $data.fullscreenSmDemo = false; + $setup.fullscreenSmDemo = false; }), "aria-labelledby": "FullscreenExample2" }, { @@ -1031,9 +1031,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { fullscreen: "md", - visible: $data.fullscreenMdDemo, + visible: $setup.fullscreenMdDemo, onClose: _cache[38] || (_cache[38] = () => { - $data.fullscreenMdDemo = false; + $setup.fullscreenMdDemo = false; }), "aria-labelledby": "FullscreenExample3" }, { @@ -1060,9 +1060,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { fullscreen: "lg", - visible: $data.fullscreenLgDemo, + visible: $setup.fullscreenLgDemo, onClose: _cache[39] || (_cache[39] = () => { - $data.fullscreenLgDemo = false; + $setup.fullscreenLgDemo = false; }), "aria-labelledby": "FullscreenExample4" }, { @@ -1089,9 +1089,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { fullscreen: "xl", - visible: $data.fullscreenXlDemo, + visible: $setup.fullscreenXlDemo, onClose: _cache[40] || (_cache[40] = () => { - $data.fullscreenXlDemo = false; + $setup.fullscreenXlDemo = false; }), "aria-labelledby": "FullscreenExample5" }, { @@ -1118,9 +1118,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 8, ["visible"]), createVNode(_component_CModal, { fullscreen: "xxl", - visible: $data.fullscreenXxlDemo, + visible: $setup.fullscreenXxlDemo, onClose: _cache[41] || (_cache[41] = () => { - $data.fullscreenXxlDemo = false; + $setup.fullscreenXxlDemo = false; }), "aria-labelledby": "FullscreenExample6" }, { diff --git a/vue/docs/assets/multi-select.html-DP6UryqG.js b/vue/docs/assets/multi-select.html-DP6UryqG.js deleted file mode 100644 index 7ff7b1a32a3..00000000000 --- a/vue/docs/assets/multi-select.html-DP6UryqG.js +++ /dev/null @@ -1,539 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode, t as toDisplayString } from "./app-BoHWg5jI.js"; -import { c as cifDe, a as cifEs, b as cifGb, d as cifPl, e as cifUs } from "./cif-us-C2ywU_oW.js"; -const _sfc_main = { - data: () => { - return { - cities: [ - { - label: "United States", - code: "us", - options: [ - { - value: "au", - label: "Austin" - }, - { - value: "ch", - label: "Chicago" - }, - { - value: "la", - label: "Los Angeles" - }, - { - value: "ny", - label: "New York" - }, - { - value: "sa", - label: "San Jose" - } - ] - }, - { - label: "United Kingdom", - code: "gb", - options: [ - { - value: "li", - label: "Liverpool" - }, - { - value: "lo", - label: "London" - }, - { - value: "ma", - label: "Manchester" - } - ] - } - ], - cities2: [], - countries: [ - { - value: "pl", - label: "Poland" - }, - { - value: "de", - label: "Germany" - }, - { - value: "us", - label: "United States" - }, - { - value: "es", - label: "Spain" - }, - { - value: "gb", - label: "United Kingdom" - } - ], - countries2: [ - { - value: "pl", - label: "Poland", - cities: [ - { value: "warszawa", label: "Warszawa" }, - { value: "krakow", label: "Kraków" }, - { value: "lodz", label: "Łódź" }, - { value: "wroclaw", label: "Wrocław" }, - { value: "poznan", label: "Poznań" } - ] - }, - { - value: "de", - label: "Germany", - cities: [ - { value: "berlin", label: "Berlin" }, - { value: "hamburg", label: "Hamburg" }, - { value: "munich", label: "Munich" }, - { value: "cologne", label: "Cologne" }, - { value: "frankfurt", label: "Frankfurt" } - ] - }, - { - value: "us", - label: "United States", - cities: [ - { value: "new_york", label: "New York" }, - { value: "los_angeles", label: "Los Angeles" }, - { value: "chicago", label: "Chicago" }, - { value: "houston", label: "Houston" }, - { value: "phoenix", label: "Phoenix" } - ] - }, - { - value: "es", - label: "Spain", - cities: [ - { value: "madrid", label: "Madrid" }, - { value: "barcelona", label: "Barcelona" }, - { value: "valencia", label: "Valencia" }, - { value: "seville", label: "Seville" }, - { value: "zaragoza", label: "Zaragoza" } - ] - }, - { - value: "gb", - label: "United Kingdom", - cities: [ - { value: "london", label: "London" }, - { value: "birmingham", label: "Birmingham" }, - { value: "manchester", label: "Manchester" }, - { value: "glasgow", label: "Glasgow" }, - { value: "liverpool", label: "Liverpool" } - ] - } - ], - flags: { - de: cifDe, - es: cifEs, - gb: cifGb, - pl: cifPl, - us: cifUs - }, - loading: false, - options: [ - { - value: 0, - label: "Angular" - }, - { - value: 1, - label: "Bootstrap" - }, - { - value: 2, - label: "React.js" - }, - { - value: 3, - label: "Vue.js" - }, - { - label: "backend", - options: [ - { - value: 4, - label: "Django" - }, - { - value: 5, - label: "Laravel" - }, - { - value: 6, - label: "Node.js" - } - ] - } - ], - options2: [ - { - value: 0, - label: "Angular", - selected: true - }, - { - value: 1, - label: "Bootstrap", - selected: true, - disabled: true - }, - { - value: 2, - label: "React.js" - }, - { - value: 3, - label: "Vue.js" - }, - { - label: "backend", - options: [ - { - value: 4, - label: "Django" - }, - { - value: 5, - label: "Laravel", - selected: true - }, - { - value: 6, - label: "Node.js" - } - ] - } - ], - users: [] - }; - }, - methods: { - async getUsers(name = "") { - this.setLoading(true); - fetch(`https://apitest.coreui.io/demos/users?first_name=${name}`).then((response) => response.json()).then((result) => { - this.setLoading(false); - this.setUsers( - result.records.map((record) => { - return { - value: record.id, - label: record.first_name - }; - }) - ); - }); - }, - setCities(cities) { - this.cities2 = cities; - }, - setLoading(loading) { - this.loading = loading; - }, - setUsers(users) { - this.users = users; - } - } -}; -const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { - id: "examples", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Examples "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#examples", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "A clear demonstration of implementing a basic Vue Multi Select dropdown, highlighting essential options and configurations.", -1); -const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect label="Framework" :options="options" text="Please select your framework." />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n
', 1); -const _hoisted_5 = { class: "docs-example rounded-top p-4" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :options="options2" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options2: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Modes

Allow create options

Users can create new options as well as choose from a list of pre-existing options by using the allowCreateOptions property in the Vue Multi Select component.

If this propety is set to true, the user can enter a new option in the multiselect component's search input field, and if it doesn't already exist in the list, it will be created and added there. This can be useful when the list of available options is not comprehensive or when the user needs to select an option that is not already available.

', 5); -const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect allowCreateOptions :options="options" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        ...\n      ],\n    }\n  },\n}\n</script>\n

Clear search on select

The clearSearchOnSelect property is a Boolean attribute that can be used with the MultiSelect component in the CoreUI Vue library.

The MultiSelect component's search input field will be cleared as soon as the user chooses an item from the dropdown list if the property clearSearchOnSelect is set to true. This indicates that the user can instantly begin a fresh search after the search query is reset.

By default, the search input field will keep the user's search query even after an option has been picked because the value of the clearSearchOnSelect property is set to false. When a user must choose from a dropdown list several items that all match the same search term, this can be helpful.

You only need to specify the clearSearchOnSelect property to 'true' or 'false' as necessary in your code to use the MultiSelect component of the CoreUI Vue package. For example:

', 6); -const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect clearSearchOnSelect :options="options" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        ...\n      ],\n    }\n  },\n}\n</script>\n

In this example, the clearSearchOnSelect property is set to true, which means that the search input field will be cleared as soon as the user selects an option from the dropdown list.

Selection types

Users can present selected items in a variety of ways by using the Vue Multi Select component. Selected things can be shown to users as a counter, tags, or a list of values separated by commas.

Use the selectionType property to set the presentation type to alter how the selected items are displayed.

Counter

The items from the list that are chosen for the example below are counted and shown as a counter. Set the selectionType property to "counter" in order to use this option.

The selectionTypeCounterText property lets you set the text that appears after the counter, allowing for even more customization of the counter.

', 8); -const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :options="options" selectionType="counter" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Tags

The selectionType property is set to 'tags' by default, which causes the selected options to be shown as tags. The "X" button can be used to delete a selected option.

', 3); -const _hoisted_31 = { class: "docs-example rounded-top p-4" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :options="options" selectionType="tags" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Text

Set the selectionType property to '"text"' to show the list of selected options as comma-separated text values.

', 3); -const _hoisted_35 = { class: "docs-example rounded-top p-4" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :options="options" selectionType="text" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Single Selection

Set the multiple boolean property to false and allow select only one element.

', 3); -const _hoisted_39 = { class: "docs-example rounded-top p-4" }; -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :multiple="false" :options="options" />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Custom options and options group labels

The CoreUI Vue Multi Select component provides the flexibility to personalize options and group labels by utilizing custom templates. You can easily customize the options using the <template #options="{ option }">...</template>, and for groups, you can use <template #options-groups="{ option }">...</template>, as demonstrated in the examples below:

By using custom templates, the CoreUI Vue Multi Select component gives users the freedom to customize the options and group labels. The <template #options="{ option }">...</template> allows for customization of options and <template #options-groups="{ option }">...</template> for groups, as shown in the following examples:

', 4); -const _hoisted_44 = { class: "docs-example rounded-top p-4" }; -const _hoisted_45 = { class: "d-flex" }; -const _hoisted_46 = { class: "d-flex align-items-center" }; -const _hoisted_47 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CRow>\n    <CCol :md="6">\n      <CMultiSelect \n        label="Select country"\n        :options="countries"\n        optionsStyle="text"\n      >\n        <template #options="{ option }">\n          <div class="d-flex">\n            <CIcon class="me-3" :icon="flags[option.value]" size="xl"/> {{option.text}}\n          </div>\n        </template>\n      </CMultiSelect>\n    </CCol>\n    <CCol :md="6">\n      <CMultiSelect \n        label="Select city"\n        :options="cities"\n      >\n        <template #options-groups="{ option }">\n          <div class="d-flex align-items-center">\n            <CIcon class="me-3" :icon="flags[option.code]" size="xl"/> {{option.label}}\n          </div>\n        </template>\n      </CMultiSelect>\n    </CCol>\n  </CRow>\n</template>\n<script>\n  import { cifPl, cifDe, cifUs, cifEs, cifGb } from '@coreui/icons'\n  import CIcon from '@coreui/icons-vue'\n  export default {\n    data: () => {\n      return {\n        cities: [\n          {\n            label: 'United States',\n            code: 'us',\n            options: [\n              {\n                value: 'au',\n                label: 'Austin',\n              },\n              {\n                value: 'ch',\n                label: 'Chicago',\n              },\n              {\n                value: 'la',\n                label: 'Los Angeles',\n              },\n              {\n                value: 'ny',\n                label: 'New York',\n              },\n              {\n                value: 'sa',\n                label: 'San Jose',\n              },\n            ],\n          },\n          {\n            label: 'United Kingdom',\n            code: 'gb',\n            options: [\n              {\n                value: 'li',\n                label: 'Liverpool',\n              },\n              {\n                value: 'lo',\n                label: 'London',\n              },\n              {\n                value: 'ma',\n                label: 'Manchester',\n              },\n            ],\n          },\n        ],\n        countries: [\n          {\n            value: 'pl',\n            label: 'Poland',\n          },\n          {\n            value: 'de',\n            label: 'Germany',\n          },\n          {\n            value: 'us',\n            label: 'United States',\n          },\n          {\n            value: 'es',\n            label: 'Spain',\n          },\n          {\n            value: 'gb',\n            label: 'United Kingdom',\n          },\n        ],\n        flags: {\n          de: cifDe,\n          es: cifEs,\n          gb: cifGb,\n          pl: cifPl,\n          us: cifUs\n        },\n      }\n    },\n  }\n</script>\n

Coordinated selection

The selection of Vue select components can be coordinated by dynamically updating city options based on the selected country. Use the resetSelectionOnOptionsChange prop on the city select component to reset the selected city whenever the country changes, ensuring synchronized selections.

', 3); -const _hoisted_50 = { class: "docs-example rounded-top p-4" }; -const _hoisted_51 = { class: "d-flex" }; -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CRow>\n    <CCol :md="6">\n      <CMultiSelect \n        label="Select country"\n        :multiple="false"\n        :options="countries2"\n        optionsStyle="text"\n        @change="(country) => setCities(country.length ? country[0].cities : [])"\n      >\n        <template #options="{ option }">\n          <div class="d-flex">\n            <CIcon class="me-3" :icon="flags[option.value]" size="xl"/> {{ option.label }}\n          </div>\n        </template>\n      </CMultiSelect>\n    </CCol>\n    <CCol :md="6">\n      <CMultiSelect \n        label="Select city"\n        :multiple="false"\n        :options="cities2"\n        optionsStyle="text"\n        resetSelectionOnOptionsChange\n      />\n    </CCol>\n  </CRow>\n</template>\n<script>\n  import { cifPl, cifDe, cifUs, cifEs, cifGb } from '@coreui/icons'\n  import CIcon from '@coreui/icons-vue'\n  export default {\n    data: () => {\n      return {\n        cities2: [],\n        countries2: [\n          {\n            value: 'pl',\n            label: 'Poland',\n            cities: [\n              { value: 'warszawa', label: 'Warszawa' },\n              { value: 'krakow', label: 'Kraków' },\n              { value: 'lodz', label: 'Łódź' },\n              { value: 'wroclaw', label: 'Wrocław' },\n              { value: 'poznan', label: 'Poznań' }\n            ]\n          },\n          {\n            value: 'de',\n            label: 'Germany',\n            cities: [\n              { value: 'berlin', label: 'Berlin' },\n              { value: 'hamburg', label: 'Hamburg' },\n              { value: 'munich', label: 'Munich' },\n              { value: 'cologne', label: 'Cologne' },\n              { value: 'frankfurt', label: 'Frankfurt' }\n            ]\n          },\n          {\n            value: 'us',\n            label: 'United States',\n            cities: [\n              { value: 'new_york', label: 'New York' },\n              { value: 'los_angeles', label: 'Los Angeles' },\n              { value: 'chicago', label: 'Chicago' },\n              { value: 'houston', label: 'Houston' },\n              { value: 'phoenix', label: 'Phoenix' }\n            ]\n          },\n          {\n            value: 'es',\n            label: 'Spain',\n            cities: [\n              { value: 'madrid', label: 'Madrid' },\n              { value: 'barcelona', label: 'Barcelona' },\n              { value: 'valencia', label: 'Valencia' },\n              { value: 'seville', label: 'Seville' },\n              { value: 'zaragoza', label: 'Zaragoza' }\n            ]\n          },\n          {\n            value: 'gb',\n            label: 'United Kingdom',\n            cities: [\n              { value: 'london', label: 'London' },\n              { value: 'birmingham', label: 'Birmingham' },\n              { value: 'manchester', label: 'Manchester' },\n              { value: 'glasgow', label: 'Glasgow' },\n              { value: 'liverpool', label: 'Liverpool' }\n            ]\n          }\n        ],\n        flags: {\n          de: cifDe,\n          es: cifEs,\n          gb: cifGb,\n          pl: cifPl,\n          us: cifUs\n        }\n      }\n    },\n    methods: {\n      setCities(cities) {\n        this.cities2 = cities\n      }\n    },\n  }\n</script>\n

Disabled

Add the disabled boolean property to give it a grayed out appearance, remove pointer events, and prevent focusing.

', 3); -const _hoisted_55 = { class: "docs-example rounded-top p-4" }; -const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect :options="options" disabled />\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

Sizing

You may also choose from small and large multi selects to match our similarly sized text inputs.

', 3); -const _hoisted_59 = { class: "docs-example rounded-top p-4" }; -const _hoisted_60 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CRow>\n    <CCol :md="6" class="mb-3">\n      <CMultiSelect :options="options" selectionType="counter" size="lg" />\n    </CCol>\n    <CCol :md="6" class="mb-3">\n      <CMultiSelect :options="options" size="lg" />\n    </CCol>\n    <CCol :md="6">\n      <CMultiSelect :options="options" selectionType="counter" size="sm" />\n    </CCol>\n    <CCol :md="6">\n      <CMultiSelect :options="options" size="sm" />\n    </CCol>\n  </CRow>\n</template>\n<script>\nexport default {\n  data: () => {\n    return {\n      options: [\n        {\n          value: 0,\n          label: 'Angular',\n          selected: true,\n        },\n        {\n          value: 1,\n          label: 'Bootstrap',\n          selected: true,\n          disabled: true,\n        },\n        {\n          value: 2,\n          label: 'React.js',\n        },\n        {\n          value: 3,\n          label: 'Vue.js',\n        },\n        {\n          label: 'backend',\n          options: [\n            {\n              value: 4,\n              label: 'Django',\n            },\n            {\n              value: 5,\n              label: 'Laravel',\n              selected: true,\n            },\n            {\n              value: 6,\n              label: 'Node.js',\n            },\n          ],\n        },\n      ],\n    }\n  },\n}\n</script>\n

External Data

One of the key features of Vue Multi Select component is the ability to load data from an external source, such as an API or a server-side script. This can be useful if you have a large amount of data that you don't want to load all at once. To load external data into a Vue MultiSelect, you can use the Fetch API to the data source.

Here is an example of how you might use Vue Multi Select with external data:

', 4); -const _hoisted_64 = { class: "docs-example rounded-top p-4" }; -const _hoisted_65 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CMultiSelect\n    label="Users"\n    :loading="loading"\n    :options="users"\n    text="Please select your user."\n    virtual-scroller\n    @show="() => getUsers()"\n    @filter-change="(value) => getUsers(value)"\n  />\n</template>\n

Customizing

CSS variables

Vue multi selects use local CSS variables on .form-multi-select for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_69 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = {\n  '--my-css-var': 10,\n  '--my-another-css-var': "red"\n}\nreturn <CMultiSelect :style="vars">...</CMultiSelect>\n

SASS variables

', 3); -const _hoisted_72 = /* @__PURE__ */ createStaticVNode('

API

CMultiSelect

import { CMultiSelect } from '@coreui/vue-pro'\n// or\nimport CMultiSelect from '@coreui/vue-pro/src/components/multi-select/CMultiSelect'\n

Props

Prop nameDescriptionTypeValuesDefault
allow-create-options
4.9.0+
Allow users to create options if they are not in the list of options.boolean--
cleanerEnables selection cleaner element.
@default true
boolean-true
clear-search-on-select
4.9.0+
Clear current search on selecting an item.boolean--
disabledToggle the disabled state for the component.boolean--
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idSet the id attribute for the native select element.

[Deprecated since v5.3.0] The name attribute for the native select element is generated based on the id property:
- <select name="\\{id\\}-multi-select" />
string--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
loading
4.9.0+
When set, the options list will have a loading style: loading spinner and reduced opacity.boolean--
multipleIt specifies that multiple options can be selected at once.
@default true
boolean-true
name
5.3.0+
The name attribute for the select element.string--
optionsList of option elements.(Option | OptionsGroup)[]-() => []
options-max-heightSets maxHeight of options list.
@default 'auto'
number|string-'auto'
options-styleSets option style.
@default 'checkbox'
string'checkbox', 'text''checkbox'
placeholderSpecifies a short hint that is visible in the search input.
@default 'Select...''
string-'Select...'
requiredWhen it is present, it indicates that the user must choose a value before submitting the form.boolean--
reset-selection-on-options-change
5.3.0+
Determines whether the selected options should be cleared when the options list is updated. When set to true, any previously selected options will be reset whenever the options list undergoes a change. This ensures that outdated selections are not retained when new options are provided.boolean--
searchEnables search input element.boolean|string-true
search-no-results-labelSets the label for no results when filtering.string-'no items'
select-allEnables select all button.
@default true
boolean-true
select-all-labelSets the select all button label.
@default 'Select all options'
string-'Select all options'
selection-typeSets the selection style.
@default 'tags'
string'counter', 'tags', 'text''tags'
selection-type-counter-textSets the counter selection label.
@default 'item(s) selected'
string-'item(s) selected'
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
virtual-scroller
4.8.0+
Enable virtual scroller for the options list.boolean--
visibleToggle the visibility of multi select dropdown.
@default false
boolean--
visible-items
4.8.0+
Amount of visible items when virtualScroller is set to true.number-10

Events

Event nameDescriptionProperties
changeExecute a function when a user changes the selected option. [docs]
filter-changeExecute a function when the filter value changed.
hideThe callback is fired when the Multi Select component requests to be hidden.
showThe callback is fired when the Multi Select component requests to be shown.
', 7); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CMultiSelect = resolveComponent("CMultiSelect"); - const _component_CCallout = resolveComponent("CCallout"); - const _component_CIcon = resolveComponent("CIcon"); - const _component_CCol = resolveComponent("CCol"); - const _component_CRow = resolveComponent("CRow"); - const _component_ScssDocs = resolveComponent("ScssDocs"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - _hoisted_2, - createBaseVNode("div", _hoisted_3, [ - createVNode(_component_CMultiSelect, { - label: "Framework", - options: _ctx.options, - text: "Please select your framework." - }, null, 8, ["options"]) - ]), - _hoisted_4, - createBaseVNode("div", _hoisted_5, [ - createVNode(_component_CMultiSelect, { options: _ctx.options2 }, null, 8, ["options"]) - ]), - _hoisted_6, - createVNode(_component_CCallout, { color: "info" }, { - default: withCtx(() => [ - createTextVNode(" It's worth noting that this feature may not always be appropriate, depending on the specific use case of the multiselect component. In some cases, it may be preferable to restrict the user to selecting only pre-existing options, while in other cases, allowing for the creation of new options may be essential. It's important to consider the specific requirements of your application when deciding whether to enable this feature. ") - ]), - _: 1 - }), - createBaseVNode("div", _hoisted_11, [ - createVNode(_component_CMultiSelect, { - allowCreateOptions: "", - options: _ctx.options - }, null, 8, ["options"]) - ]), - _hoisted_12, - createBaseVNode("div", _hoisted_18, [ - createVNode(_component_CMultiSelect, { - clearSearchOnSelect: "", - options: _ctx.options - }, null, 8, ["options"]) - ]), - _hoisted_19, - createBaseVNode("div", _hoisted_27, [ - createVNode(_component_CMultiSelect, { - options: _ctx.options2, - selectionType: "counter" - }, null, 8, ["options"]) - ]), - _hoisted_28, - createBaseVNode("div", _hoisted_31, [ - createVNode(_component_CMultiSelect, { - options: _ctx.options2, - selectionType: "tags" - }, null, 8, ["options"]) - ]), - _hoisted_32, - createBaseVNode("div", _hoisted_35, [ - createVNode(_component_CMultiSelect, { - options: _ctx.options2, - selectionType: "text" - }, null, 8, ["options"]) - ]), - _hoisted_36, - createBaseVNode("div", _hoisted_39, [ - createVNode(_component_CMultiSelect, { - multiple: false, - options: _ctx.options - }, null, 8, ["options"]) - ]), - _hoisted_40, - createBaseVNode("div", _hoisted_44, [ - createVNode(_component_CRow, null, { - default: withCtx(() => [ - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - label: "Select country", - options: _ctx.countries, - optionsStyle: "text" - }, { - options: withCtx(({ option }) => [ - createBaseVNode("div", _hoisted_45, [ - createVNode(_component_CIcon, { - class: "me-3", - icon: _ctx.flags[option.value], - size: "xl" - }, null, 8, ["icon"]), - createTextVNode(" " + toDisplayString(option.text), 1) - ]) - ]), - _: 1 - }, 8, ["options"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - label: "Select city", - options: _ctx.cities - }, { - "options-groups": withCtx(({ option }) => [ - createBaseVNode("div", _hoisted_46, [ - createVNode(_component_CIcon, { - class: "me-3", - icon: _ctx.flags[option.code], - size: "xl" - }, null, 8, ["icon"]), - createTextVNode(" " + toDisplayString(option.label), 1) - ]) - ]), - _: 1 - }, 8, ["options"]) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _hoisted_47, - createBaseVNode("div", _hoisted_50, [ - createVNode(_component_CRow, null, { - default: withCtx(() => [ - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - label: "Select country", - multiple: false, - options: _ctx.countries2, - optionsStyle: "text", - onChange: _cache[0] || (_cache[0] = (country) => $options.setCities(country.length ? country[0].cities : [])) - }, { - options: withCtx(({ option }) => [ - createBaseVNode("div", _hoisted_51, [ - createVNode(_component_CIcon, { - class: "me-3", - icon: _ctx.flags[option.value], - size: "xl" - }, null, 8, ["icon"]), - createTextVNode(" " + toDisplayString(option.label), 1) - ]) - ]), - _: 1 - }, 8, ["options"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - label: "Select city", - multiple: false, - options: _ctx.cities2, - optionsStyle: "text", - resetSelectionOnOptionsChange: "" - }, null, 8, ["options"]) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _hoisted_52, - createBaseVNode("div", _hoisted_55, [ - createVNode(_component_CMultiSelect, { - options: _ctx.options2, - disabled: "" - }, null, 8, ["options"]) - ]), - _hoisted_56, - createBaseVNode("div", _hoisted_59, [ - createVNode(_component_CRow, null, { - default: withCtx(() => [ - createVNode(_component_CCol, { - md: 6, - class: "mb-3" - }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - options: _ctx.options, - selectionType: "counter", - size: "lg" - }, null, 8, ["options"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { - md: 6, - class: "mb-3" - }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - options: _ctx.options, - size: "lg" - }, null, 8, ["options"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - options: _ctx.options, - selectionType: "counter", - size: "sm" - }, null, 8, ["options"]) - ]), - _: 1 - }), - createVNode(_component_CCol, { md: 6 }, { - default: withCtx(() => [ - createVNode(_component_CMultiSelect, { - options: _ctx.options, - size: "sm" - }, null, 8, ["options"]) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _hoisted_60, - createBaseVNode("div", _hoisted_64, [ - createVNode(_component_CMultiSelect, { - label: "Users", - loading: _ctx.loading, - options: _ctx.users, - text: "Please select your user.", - "virtual-scroller": "", - onShow: _cache[1] || (_cache[1] = () => $options.getUsers()), - onFilterChange: _cache[2] || (_cache[2] = (value) => $options.getUsers(value)) - }, null, 8, ["loading", "options"]) - ]), - _hoisted_65, - createVNode(_component_ScssDocs, { - file: "forms/_form-multi-select.scss", - capture: "form-multi-select-css-vars" - }), - _hoisted_69, - createVNode(_component_ScssDocs, { - file: "_variables.scss", - capture: "form-multi-select-variables" - }), - _hoisted_72 - ]); -} -const multiSelect_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "multi-select.html.vue"]]); -const data = JSON.parse('{"path":"/forms/multi-select.html","title":"Vue Multi Select","lang":"en-US","frontmatter":{"title":"Vue Multi Select","description":"Customize the native s with a powerful Vue Multi Select component that changes the element’s initial appearance and brings some new functionalities.","other_frameworks":"multi-select","pro_component":true,"head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/forms/multi-select.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[]},{"level":2,"title":"Modes","slug":"modes","link":"#modes","children":[{"level":3,"title":"Allow create options","slug":"allow-create-options","link":"#allow-create-options","children":[]},{"level":3,"title":"Clear search on select","slug":"clear-search-on-select","link":"#clear-search-on-select","children":[]}]},{"level":2,"title":"Selection types","slug":"selection-types","link":"#selection-types","children":[{"level":3,"title":"Counter","slug":"counter","link":"#counter","children":[]},{"level":3,"title":"Tags","slug":"tags","link":"#tags","children":[]},{"level":3,"title":"Text","slug":"text","link":"#text","children":[]}]},{"level":2,"title":"Single Selection","slug":"single-selection","link":"#single-selection","children":[]},{"level":2,"title":"Custom options and options group labels","slug":"custom-options-and-options-group-labels","link":"#custom-options-and-options-group-labels","children":[]},{"level":2,"title":"Coordinated selection","slug":"coordinated-selection","link":"#coordinated-selection","children":[]},{"level":2,"title":"Disabled","slug":"disabled","link":"#disabled","children":[]},{"level":2,"title":"Sizing","slug":"sizing","link":"#sizing","children":[]},{"level":2,"title":"External Data","slug":"external-data","link":"#external-data","children":[]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CMultiSelect","slug":"cmultiselect","link":"#cmultiselect","children":[]}]}],"filePathRelative":"forms/multi-select.md"}'); +export { + multiSelect_html as comp, + data +}; diff --git a/vue/docs/assets/navbar.html-BCzYXKko.js b/vue/docs/assets/navbar.html-DiQHPkAN.js similarity index 81% rename from vue/docs/assets/navbar.html-BCzYXKko.js rename to vue/docs/assets/navbar.html-DiQHPkAN.js index 4dccfc4b691..867338f5979 100644 --- a/vue/docs/assets/navbar.html-BCzYXKko.js +++ b/vue/docs/assets/navbar.html-DiQHPkAN.js @@ -1,17 +1,20 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - visible: true, - visibleExternalContent: false, - visibleOffcanvas: false, - visibleOffcanvas2: false - }; + __name: "navbar.html", + setup(__props, { expose: __expose }) { + __expose(); + const visible = ref(true); + const visibleExternalContent = ref(false); + const visibleOffcanvas = ref(false); + const visibleOffcanvas2 = ref(false); + const __returned__ = { visible, visibleExternalContent, visibleOffcanvas, visibleOffcanvas2, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Supported content

<CNavbar> come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CNavbarBrand> for your company, product, or project name.
  • <CNavbarNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CNavbarToggler> for use with our collapse plugin and other navigation toggling behaviors.
  • Flex and spacing utilities for any form controls and actions.
  • <CNavbarText> for adding vertically centered strings of text.
  • <CCollapse> for grouping and hiding navbar contents by a parent breakpoint.

Here's an example of all the sub-components included in a responsive light-themed navbar that automatically collapses at the lg (large) breakpoint.

Basic usage

', 5); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Supported content #

<CNavbar> come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CNavbarBrand> for your company, product, or project name.
  • <CNavbarNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CNavbarToggler> for use with our collapse plugin and other navigation toggling behaviors.
  • Flex and spacing utilities for any form controls and actions.
  • <CNavbarText> for adding vertically centered strings of text.
  • <CCollapse> for grouping and hiding navbar contents by a parent breakpoint.

Here's an example of all the sub-components included in a responsive light-themed navbar that automatically collapses at the lg (large) breakpoint.

Basic usage #

', 5); const _hoisted_6 = { class: "docs-example rounded-top p-4" }; -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="success" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

Brand

The <CNavbarBrand> can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles.

', 3); +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visible = ref(true)\n</script>\n<template>\n  <CNavbar expand="lg" color-scheme="light" class="bg-light">\n    <CContainer fluid>\n      <CNavbarBrand href="#">Navbar</CNavbarBrand>\n      <CNavbarToggler @click="visible = !visible"/>\n      <CCollapse class="navbar-collapse" :visible="visible">\n        <CNavbarNav>\n          <CNavItem>\n            <CNavLink href="#" active>\n              Home\n            </CNavLink>\n          </CNavItem>\n          <CNavItem>\n            <CNavLink href="#">Link</CNavLink>\n          </CNavItem>\n          <CDropdown variant="nav-item" :popper="false">\n            <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n            <CDropdownMenu>\n              <CDropdownItem href="#">Action</CDropdownItem>\n              <CDropdownItem href="#">Another action</CDropdownItem>\n              <CDropdownDivider />\n              <CDropdownItem href="#">Something else here</CDropdownItem>\n            </CDropdownMenu>\n          </CDropdown>\n          <CNavItem>\n            <CNavLink href="#" disabled>\n              Disabled\n            </CNavLink>\n          </CNavItem>\n        </CNavbarNav>\n        <CForm class="d-flex">\n          <CFormInput type="search" class="me-2" placeholder="Search"/>\n          <CButton type="submit" color="success" variant="outline">Search</CButton>\n        </CForm>\n      </CCollapse>\n    </CContainer>\n  </CNavbar>\n</template>\n

Brand #

The <CNavbarBrand> can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles.

', 3); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; const _hoisted_11 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
// As a link\n<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n<br/>\n// As a heading\n<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand class="mb-0 h1">Navbar</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

Adding images to the <CNavbarBrand> will likely always require custom styles or utilities to properly size. Here are some examples to demonstrate.

', 2); @@ -20,13 +23,13 @@ const _hoisted_15 = ["src"]; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
// Just an image\n<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">\n      <img src="/images/brand/coreui-signet.svg" alt="" width="22" height="24"/>\n    </CNavbarBrand>\n  </CContainer>\n</CNavbar>\n
', 1); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; const _hoisted_18 = ["src"]; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
// Image and text\n<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">\n      <img src="/images/brand/coreui-signet.svg" alt="" width="22" height="24" class="d-inline-block align-top"/> CoreUI\n    </CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

<CNavbar> navigation is based on <CNavbarNav>. Navigation in navbars will also grow to occupy as much horizontal space as possible to keep your navbar contents securely aligned.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
// Image and text\n<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">\n      <img src="/images/brand/coreui-signet.svg" alt="" width="22" height="24" class="d-inline-block align-top"/> CoreUI\n    </CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

<CNavbar> navigation is based on <CNavbarNav>. Navigation in navbars will also grow to occupy as much horizontal space as possible to keep your navbar contents securely aligned.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Features</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Pricing</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#" disabled>Disabled</CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

And because we use classes for our navs, you can avoid the list-based approach entirely if you like.

', 2); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav as="nav">\n        <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        <CNavLink href="#">Features</CNavLink>\n        <CNavLink href="#">Pricing</CNavLink>\n        <CNavLink href="#" disabled>Disabled</CNavLink>\n      </CNavbarNav>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

You can also use dropdowns in your navbar. Please note that <CDropdown> component requires variant="nav-item".

', 2); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Features</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Pricing</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle>Dropdown link</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </CNavbarNav>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

Forms

Place various form controls and components within a navbar:

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Features</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Pricing</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle>Dropdown link</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </CNavbarNav>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

Forms #

Place various form controls and components within a navbar:

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CForm class="d-flex">\n      <CFormInput type="search" class="me-2" placeholder="Search"/>\n      <CButton type="submit" color="success" variant="outline">Search</CButton>\n    </CForm>\n  </CContainer>\n</CNavbar>\n

Immediate child elements of <CNavbar> use flex layout and will default to justify-content: space-between. Use additional flex utilities as needed to adjust this behavior.

', 2); const _hoisted_35 = { class: "docs-example rounded-top p-4" }; @@ -34,17 +37,17 @@ const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CForm class="container-fluid">\n    <CInputGroup>\n      <CInputGroupText id="basic-addon1">@</CInputGroupText>\n      <CFormInput placeholder="Username" aria-label="Username" aria-describedby="basic-addon1"/> \n    </CInputGroup>\n  </CForm>\n</CNavbar>\n

Various buttons are supported as part of these navbar forms, too. This is also a great reminder that vertical alignment utilities can be used to align different sized elements.

', 2); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CForm class="container-fluid justify-content-start">\n    <CButton type="button" color="success" variant="outline" class="me-2">Main button</CButton>\n    <CButton type="button" color="secondary" variant="outline" size="sm">Smaller button</CButton>\n  </CForm>\n</CNavbar>\n

Text

Navbars may contain bits of text with the help of <CNavbarText>. This class adjusts vertical alignment and horizontal spacing for strings of text.

', 3); +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CForm class="container-fluid justify-content-start">\n    <CButton type="button" color="success" variant="outline" class="me-2">Main button</CButton>\n    <CButton type="button" color="secondary" variant="outline" size="sm">Smaller button</CButton>\n  </CForm>\n</CNavbar>\n

Text #

Navbars may contain bits of text with the help of <CNavbarText>. This class adjusts vertical alignment and horizontal spacing for strings of text.

', 3); const _hoisted_45 = { class: "docs-example rounded-top p-4" }; -const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarText>Navbar text with an inline element</CNavbarText>\n  </CContainer>\n</CNavbar>\n

Color schemes

Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Set color-scheme="light" for use with light background colors, or color-scheme="dark" for dark background colors. Then, customize with .bg-* utilities.

', 3); +const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarText>Navbar text with an inline element</CNavbarText>\n  </CContainer>\n</CNavbar>\n

Color schemes #

Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Set color-scheme="light" for use with light background colors, or color-scheme="dark" for dark background colors. Then, customize with .bg-* utilities.

', 3); const _hoisted_49 = { class: "docs-example rounded-top p-4" }; const _hoisted_50 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); const _hoisted_51 = /* @__PURE__ */ createBaseVNode("br", null, null, -1); -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="dark" class="bg-dark">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="light" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n<br/>\n<CNavbar expand="lg" color-scheme="dark" class="bg-primary">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="light" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n<br/>\n<CNavbar expand="lg" color-scheme="light" style="background-color: #e3f2fd">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="primary" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

Containers

Although it's not required, you can wrap a <CNavbar> in a <CContainer> to center it on a page–though note that an inner container is still required. Or you can add a container inside the <CNavbar> to only center the contents of a fixed or static top navbar.

', 3); +const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="dark" class="bg-dark">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="light" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n<br/>\n<CNavbar expand="lg" color-scheme="dark" class="bg-primary">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="light" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n<br/>\n<CNavbar expand="lg" color-scheme="light" style="background-color: #e3f2fd">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav>\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CDropdown variant="nav-item" :popper="false">\n          <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownDivider />\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="primary" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

Containers #

Although it's not required, you can wrap a <CNavbar> in a <CContainer> to center it on a page–though note that an inner container is still required. Or you can add a container inside the <CNavbar> to only center the contents of a fixed or static top navbar.

', 3); const _hoisted_55 = { class: "docs-example rounded-top p-4" }; const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<CContainer>\n  <CNavbar color-scheme="light" class="bg-light">\n    <CContainer fluid>\n      <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    </CContainer>\n  </CNavbar>\n</CContainer>\n

Use any of the responsive containers to change how wide the content in your navbar is presented.

', 2); const _hoisted_58 = { class: "docs-example rounded-top p-4" }; -const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer breakpoint="md">\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

Placement

Use our placement properly to place navbars in non-static positions. Choose from fixed to the top, fixed to the bottom, or stickied to the top (scrolls with the page until it reaches the top, then stays there). Fixed navbars use position: fixed, meaning they're pulled from the normal flow of the DOM and may require custom CSS (e.g., padding-top on the <body>) to prevent overlap with other elements.

Also note that .sticky-top uses position: sticky, which isn't fully supported in every browser.

', 4); +const _hoisted_59 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer breakpoint="md">\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

Placement #

Use our placement properly to place navbars in non-static positions. Choose from fixed to the top, fixed to the bottom, or stickied to the top (scrolls with the page until it reaches the top, then stays there). Fixed navbars use position: fixed, meaning they're pulled from the normal flow of the DOM and may require custom CSS (e.g., padding-top on the <body>) to prevent overlap with other elements.

Also note that .sticky-top uses position: sticky, which isn't fully supported in every browser.

', 4); const _hoisted_63 = { class: "docs-example rounded-top p-4" }; const _hoisted_64 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Default</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n
', 1); const _hoisted_65 = { class: "docs-example rounded-top p-4" }; @@ -52,23 +55,23 @@ const _hoisted_66 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light" placement="fixed-bottom">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Fixed bottom</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n
', 1); const _hoisted_69 = { class: "docs-example rounded-top p-4" }; -const _hoisted_70 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light" placement="sticky-top">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Sticky top</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

Responsive behaviors

Navbars can use <CNavbarToggler>, <CCollapse>, and expand="{sm|md|lg|xl|xxl}" property to determine when their content collapses behind a button. In combination with other utilities, you can easily choose when to show or hide particular elements.

For navbars that never collapse, add the expand boolean property on the <CNavbar>. For navbars that always collapse, don't add any property.

Toggler

Navbar togglers are left-aligned by default, but should they follow a sibling element like a <CNavbarBrand>, they'll automatically be aligned to the far right. Reversing your markup will reverse the placement of the toggler. Below are examples of different toggle styles.

With no <CNavbarBrand> shown at the smallest breakpoint:

', 7); +const _hoisted_70 = /* @__PURE__ */ createStaticVNode('
<CNavbar color-scheme="light" class="bg-light" placement="sticky-top">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Sticky top</CNavbarBrand>\n  </CContainer>\n</CNavbar>\n

Responsive behaviors #

Navbars can use <CNavbarToggler>, <CCollapse>, and expand="{sm|md|lg|xl|xxl}" property to determine when their content collapses behind a button. In combination with other utilities, you can easily choose when to show or hide particular elements.

For navbars that never collapse, add the expand boolean property on the <CNavbar>. For navbars that always collapse, don't add any property.

Toggler #

Navbar togglers are left-aligned by default, but should they follow a sibling element like a <CNavbarBrand>, they'll automatically be aligned to the far right. Reversing your markup will reverse the placement of the toggler. Below are examples of different toggle styles.

With no <CNavbarBrand> shown at the smallest breakpoint:

', 7); const _hoisted_77 = { class: "docs-example rounded-top p-4" }; const _hoisted_78 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarBrand href="#">Hidden brand</CNavbarBrand>\n      <CNavbarNav class="me-auto mb-2 mb-lg-0">\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="success" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

With a brand name shown on the left and toggler on the right:

', 2); const _hoisted_80 = { class: "docs-example rounded-top p-4" }; const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav class="me-auto mb-2 mb-lg-0">\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="success" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

With a toggler on the left and brand name on the right:

', 2); const _hoisted_83 = { class: "docs-example rounded-top p-4" }; -const _hoisted_84 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav class="me-auto mb-2 mb-lg-0">\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="success" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

External content

Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the <CNavbar>.

', 3); +const _hoisted_84 = /* @__PURE__ */ createStaticVNode('
<CNavbar expand="lg" color-scheme="light" class="bg-light">\n  <CContainer fluid>\n    <CNavbarToggler aria-label="Toggle navigation" aria-expanded={visible} @click="visible = !visible"/>\n    <CNavbarBrand href="#">Navbar</CNavbarBrand>\n    <CCollapse class="navbar-collapse" :visible="visible">\n      <CNavbarNav class="me-auto mb-2 mb-lg-0">\n        <CNavItem>\n          <CNavLink href="#" active>\n            Home\n          </CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#">Link</CNavLink>\n        </CNavItem>\n        <CNavItem>\n          <CNavLink href="#" disabled>\n            Disabled\n          </CNavLink>\n        </CNavItem>\n      </CNavbarNav>\n      <CForm class="d-flex">\n        <CFormInput type="search" class="me-2" placeholder="Search"/>\n        <CButton type="submit" color="success" variant="outline">Search</CButton>\n      </CForm>\n    </CCollapse>\n  </CContainer>\n</CNavbar>\n

External content #

Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the <CNavbar>.

', 3); const _hoisted_87 = { class: "docs-example rounded-top p-4" }; const _hoisted_88 = /* @__PURE__ */ createBaseVNode("div", { class: "bg-dark p-4" }, [ /* @__PURE__ */ createBaseVNode("h5", { class: "text-body-emphasis h4" }, "Collapsed content"), /* @__PURE__ */ createBaseVNode("span", { class: "text-body-secondary" }, "Toggleable via the navbar brand.") ], -1); -const _hoisted_89 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CCollapse id="navbarToggleExternalContent" :visible="visibleExternalContent" data-coreui-theme="dark">\n    <div class="bg-dark p-4">\n      <h5 class="text-body-emphasis h4">Collapsed content</h5>\n      <span class="text-body-secondary">Toggleable via the navbar brand.</span>\n    </div>\n  </CCollapse>\n  <CNavbar colorScheme="dark" class="bg-dark">\n    <CContainer fluid>\n      <CNavbarToggler\n        aria-controls="navbarToggleExternalContent"\n        aria-label="Toggle navigation"\n        @click="visibleExternalContent = !visibleExternalContent"\n      />\n    </CContainer>\n  </CNavbar>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleExternalContent: false,\n      }\n    }\n  }\n</script>\n

Offcanvas

Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin. We extend both the offcanvas default styles and use our expand="*" prop to create a dynamic and flexible navigation sidebar.

In the example below, to create an offcanvas navbar that is always collapsed across all breakpoints, omit the expand="*" prop entirely.

', 4); +const _hoisted_89 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleExternalContent = ref(false)\n</script>\n<template>\n  <CCollapse id="navbarToggleExternalContent" :visible="visibleExternalContent" data-coreui-theme="dark">\n    <div class="bg-dark p-4">\n      <h5 class="text-body-emphasis h4">Collapsed content</h5>\n      <span class="text-body-secondary">Toggleable via the navbar brand.</span>\n    </div>\n  </CCollapse>\n  <CNavbar colorScheme="dark" class="bg-dark">\n    <CContainer fluid>\n      <CNavbarToggler\n        aria-controls="navbarToggleExternalContent"\n        aria-label="Toggle navigation"\n        @click="visibleExternalContent = !visibleExternalContent"\n      />\n    </CContainer>\n  </CNavbar>\n</template>\n

Offcanvas #

Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin. We extend both the offcanvas default styles and use our expand="*" prop to create a dynamic and flexible navigation sidebar.

In the example below, to create an offcanvas navbar that is always collapsed across all breakpoints, omit the expand="*" prop entirely.

', 4); const _hoisted_93 = { class: "docs-example rounded-top p-4" }; -const _hoisted_94 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CNavbar colorScheme="light" class="bg-light">\n    <CContainer fluid>\n      <CNavbarBrand>Offcanvas navbar</CNavbarBrand>\n      <CNavbarToggler\n        aria-controls="offcanvasNavbar"\n        aria-label="Toggle navigation"\n        @click="visibleOffcanvas = !visibleOffcanvas"\n      />\n      <COffcanvas id="offcanvasNavbar" placement="end" :visible="visibleOffcanvas" @hide="visibleOffcanvas = false">\n        <COffcanvasHeader>\n          <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n          <CCloseButton class="text-reset" @click="visibleOffcanvas = false" />\n        </COffcanvasHeader>\n        <COffcanvasBody>\n          <CNavbarNav>\n            <CNavItem>\n              <CNavLink href="#" active>\n                Home\n              </CNavLink>\n            </CNavItem>\n            <CNavItem>\n              <CNavLink href="#">Link</CNavLink>\n            </CNavItem>\n            <CDropdown variant="nav-item" :popper="false">\n              <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n              <CDropdownMenu>\n                <CDropdownItem href="#">Action</CDropdownItem>\n                <CDropdownItem href="#">Another action</CDropdownItem>\n                <CDropdownDivider />\n                <CDropdownItem href="#">Something else here</CDropdownItem>\n              </CDropdownMenu>\n            </CDropdown>\n            <CNavItem>\n              <CNavLink href="#" disabled>\n                Disabled\n              </CNavLink>\n            </CNavItem>\n          </CNavbarNav>\n          <CForm class="d-flex">\n            <CFormInput type="search" class="me-2" placeholder="Search" />\n            <CButton type="submit" color="success" variant="outline">\n              Search\n            </CButton>\n          </CForm>\n        </COffcanvasBody>\n      </COffcanvas>\n    </CContainer>\n  </CNavbar>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleOffcanvas: false,\n      }\n    }\n  }\n</script>\n

To create an offcanvas navbar that expands into a normal navbar at a specific breakpoint like xxl, use expand="xxl" property.

', 2); +const _hoisted_94 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleOffcanvas = ref(false)\n</script>\n<template>\n  <CNavbar colorScheme="light" class="bg-light">\n    <CContainer fluid>\n      <CNavbarBrand>Offcanvas navbar</CNavbarBrand>\n      <CNavbarToggler\n        aria-controls="offcanvasNavbar"\n        aria-label="Toggle navigation"\n        @click="visibleOffcanvas = !visibleOffcanvas"\n      />\n      <COffcanvas id="offcanvasNavbar" placement="end" :visible="visibleOffcanvas" @hide="visibleOffcanvas = false">\n        <COffcanvasHeader>\n          <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n          <CCloseButton class="text-reset" @click="visibleOffcanvas = false" />\n        </COffcanvasHeader>\n        <COffcanvasBody>\n          <CNavbarNav>\n            <CNavItem>\n              <CNavLink href="#" active>\n                Home\n              </CNavLink>\n            </CNavItem>\n            <CNavItem>\n              <CNavLink href="#">Link</CNavLink>\n            </CNavItem>\n            <CDropdown variant="nav-item" :popper="false">\n              <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n              <CDropdownMenu>\n                <CDropdownItem href="#">Action</CDropdownItem>\n                <CDropdownItem href="#">Another action</CDropdownItem>\n                <CDropdownDivider />\n                <CDropdownItem href="#">Something else here</CDropdownItem>\n              </CDropdownMenu>\n            </CDropdown>\n            <CNavItem>\n              <CNavLink href="#" disabled>\n                Disabled\n              </CNavLink>\n            </CNavItem>\n          </CNavbarNav>\n          <CForm class="d-flex">\n            <CFormInput type="search" class="me-2" placeholder="Search" />\n            <CButton type="submit" color="success" variant="outline">\n              Search\n            </CButton>\n          </CForm>\n        </COffcanvasBody>\n      </COffcanvas>\n    </CContainer>\n  </CNavbar>\n</template>\n

To create an offcanvas navbar that expands into a normal navbar at a specific breakpoint like xxl, use expand="xxl" property.

', 2); const _hoisted_96 = { class: "docs-example rounded-top p-4" }; -const _hoisted_97 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CNavbar colorScheme="light" class="bg-light" expand="xxl">\n    <CContainer fluid>\n      <CNavbarBrand>Offcanvas navbar</CNavbarBrand>\n      <CNavbarToggler\n        aria-controls="offcanvasNavbar2"\n        aria-label="Toggle navigation"\n        @click="visibleOffcanvas2 = !visibleOffcanvas2"\n      />\n      <COffcanvas id="offcanvasNavbar2" placement="end" :visible="visibleOffcanvas2" @hide="visibleOffcanvas2 = false">\n        <COffcanvasHeader>\n          <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n          <CCloseButton class="text-reset" @click="visibleOffcanvas2 = false" />\n        </COffcanvasHeader>\n        <COffcanvasBody>\n          <CNavbarNav>\n            <CNavItem>\n              <CNavLink href="#" active>\n                Home\n              </CNavLink>\n            </CNavItem>\n            <CNavItem>\n              <CNavLink href="#">Link</CNavLink>\n            </CNavItem>\n            <CDropdown variant="nav-item" :popper="false">\n              <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n              <CDropdownMenu>\n                <CDropdownItem href="#">Action</CDropdownItem>\n                <CDropdownItem href="#">Another action</CDropdownItem>\n                <CDropdownDivider />\n                <CDropdownItem href="#">Something else here</CDropdownItem>\n              </CDropdownMenu>\n            </CDropdown>\n            <CNavItem>\n              <CNavLink href="#" disabled>\n                Disabled\n              </CNavLink>\n            </CNavItem>\n          </CNavbarNav>\n          <CForm class="d-flex">\n            <CFormInput type="search" class="me-2" placeholder="Search" />\n            <CButton type="submit" color="success" variant="outline">\n              Search\n            </CButton>\n          </CForm>\n        </COffcanvasBody>\n      </COffcanvas>\n    </CContainer>\n  </CNavbar>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleOffcanvas2: false,\n      }\n    }\n  }\n</script>\n

Customizing

CSS variables

Vue navbars use local CSS variables on .navbar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_97 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleOffcanvas2 = ref(false)\n</script>\n<template>\n  <CNavbar colorScheme="light" class="bg-light" expand="xxl">\n    <CContainer fluid>\n      <CNavbarBrand>Offcanvas navbar</CNavbarBrand>\n      <CNavbarToggler\n        aria-controls="offcanvasNavbar2"\n        aria-label="Toggle navigation"\n        @click="visibleOffcanvas2 = !visibleOffcanvas2"\n      />\n      <COffcanvas id="offcanvasNavbar2" placement="end" :visible="visibleOffcanvas2" @hide="visibleOffcanvas2 = false">\n        <COffcanvasHeader>\n          <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n          <CCloseButton class="text-reset" @click="visibleOffcanvas2 = false" />\n        </COffcanvasHeader>\n        <COffcanvasBody>\n          <CNavbarNav>\n            <CNavItem>\n              <CNavLink href="#" active>\n                Home\n              </CNavLink>\n            </CNavItem>\n            <CNavItem>\n              <CNavLink href="#">Link</CNavLink>\n            </CNavItem>\n            <CDropdown variant="nav-item" :popper="false">\n              <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n              <CDropdownMenu>\n                <CDropdownItem href="#">Action</CDropdownItem>\n                <CDropdownItem href="#">Another action</CDropdownItem>\n                <CDropdownDivider />\n                <CDropdownItem href="#">Something else here</CDropdownItem>\n              </CDropdownMenu>\n            </CDropdown>\n            <CNavItem>\n              <CNavLink href="#" disabled>\n                Disabled\n              </CNavLink>\n            </CNavItem>\n          </CNavbarNav>\n          <CForm class="d-flex">\n            <CFormInput type="search" class="me-2" placeholder="Search" />\n            <CButton type="submit" color="success" variant="outline">\n              Search\n            </CButton>\n          </CForm>\n        </COffcanvasBody>\n      </COffcanvas>\n    </CContainer>\n  </CNavbar>\n</template>\n

Customizing #

CSS variables #

Vue navbars use local CSS variables on .navbar for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); const _hoisted_101 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("Some additional CSS variables are also present on "), /* @__PURE__ */ createBaseVNode("code", null, ".navbar-nav"), @@ -79,7 +82,7 @@ const _hoisted_102 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, ".navbar-dark"), /* @__PURE__ */ createTextVNode(" class where we override specific values without adding duplicate CSS selectors.") ], -1); -const _hoisted_103 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CNavbar :style="vars">...</CNavbar>\n

SASS variables

Variables for all navbars:

', 4); +const _hoisted_103 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CNavbar :style="vars">...</CNavbar>\n

SASS variables #

Variables for all navbars:

', 4); const _hoisted_107 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("Variables for the "), /* @__PURE__ */ createBaseVNode("a", { href: "#color-schemes" }, "dark navbar"), @@ -92,8 +95,7 @@ const _hoisted_108 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS loops "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-loops", - "aria-hidden": "true" + href: "#sass-loops" }, "#") ], -1); const _hoisted_109 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -106,7 +108,7 @@ const _hoisted_109 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, "scss/_navbar.scss"), /* @__PURE__ */ createTextVNode(".") ], -1); -const _hoisted_110 = /* @__PURE__ */ createStaticVNode('

API

CNavbar

import { CNavbar } from '@coreui/vue'\n// or\nimport CNavbar from '@coreui/vue/src/components/navbar/CNavbar'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'nav'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', 'light'-
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
expandDefines the responsive breakpoint to determine when content collapses.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
placementPlace component in non-static positions.string'fixed-top', 'fixed-bottom', 'sticky-top'-

CNavbarBrand

import { CNavbarBrand } from '@coreui/vue'\n// or\nimport CNavbarBrand from '@coreui/vue/src/components/navbar/CNavbarBrand'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
hrefThe href attribute specifies the URL of the page the link goes to.string--

CNavbarNav

import { CNavbarNav } from '@coreui/vue'\n// or\nimport CNavbarNav from '@coreui/vue/src/components/navbar/CNavbarNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 13); +const _hoisted_110 = /* @__PURE__ */ createStaticVNode('

API #

CNavbar #

import { CNavbar } from '@coreui/vue'\n// or\nimport CNavbar from '@coreui/vue/src/components/navbar/CNavbar'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'nav'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', 'light'-
containerDefines optional container wrapping children elements.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl', 'fluid'-
expandDefines the responsive breakpoint to determine when content collapses.boolean|stringboolean, 'sm', 'md', 'lg', 'xl', 'xxl'-
placementPlace component in non-static positions.string'fixed-top', 'fixed-bottom', 'sticky-top'-

CNavbarBrand #

import { CNavbarBrand } from '@coreui/vue'\n// or\nimport CNavbarBrand from '@coreui/vue/src/components/navbar/CNavbarBrand'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
hrefThe href attribute specifies the URL of the page the link goes to.string--

CNavbarNav #

import { CNavbarNav } from '@coreui/vue'\n// or\nimport CNavbarNav from '@coreui/vue/src/components/navbar/CNavbarNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
', 13); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CNavbarBrand = resolveComponent("CNavbarBrand"); const _component_CNavbarToggler = resolveComponent("CNavbarToggler"); @@ -151,11 +153,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }), createVNode(_component_CNavbarToggler, { - onClick: _cache[0] || (_cache[0] = ($event) => $data.visible = !$data.visible) + onClick: _cache[0] || (_cache[0] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -387,11 +389,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[1] || (_cache[1] = ($event) => $data.visible = !$data.visible) + onClick: _cache[1] || (_cache[1] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -478,11 +480,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[2] || (_cache[2] = ($event) => $data.visible = !$data.visible) + onClick: _cache[2] || (_cache[2] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, { as: "nav" }, { @@ -549,11 +551,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[3] || (_cache[3] = ($event) => $data.visible = !$data.visible) + onClick: _cache[3] || (_cache[3] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -834,11 +836,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[4] || (_cache[4] = ($event) => $data.visible = !$data.visible) + onClick: _cache[4] || (_cache[4] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -970,11 +972,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[5] || (_cache[5] = ($event) => $data.visible = !$data.visible) + onClick: _cache[5] || (_cache[5] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -1106,11 +1108,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[6] || (_cache[6] = ($event) => $data.visible = !$data.visible) + onClick: _cache[6] || (_cache[6] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, null, { @@ -1378,11 +1380,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[7] || (_cache[7] = ($event) => $data.visible = !$data.visible) + onClick: _cache[7] || (_cache[7] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarBrand, { href: "#" }, { @@ -1484,11 +1486,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[8] || (_cache[8] = ($event) => $data.visible = !$data.visible) + onClick: _cache[8] || (_cache[8] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, { class: "me-auto mb-2 mb-lg-0" }, { @@ -1578,7 +1580,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-label": "Toggle navigation", "aria-expanded": "{visible}", - onClick: _cache[9] || (_cache[9] = ($event) => $data.visible = !$data.visible) + onClick: _cache[9] || (_cache[9] = ($event) => $setup.visible = !$setup.visible) }), createVNode(_component_CNavbarBrand, { href: "#" }, { default: withCtx(() => [ @@ -1588,7 +1590,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CCollapse, { class: "navbar-collapse", - visible: $data.visible + visible: $setup.visible }, { default: withCtx(() => [ createVNode(_component_CNavbarNav, { class: "me-auto mb-2 mb-lg-0" }, { @@ -1669,7 +1671,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createBaseVNode("div", _hoisted_87, [ createVNode(_component_CCollapse, { id: "navbarToggleExternalContent", - visible: $data.visibleExternalContent, + visible: $setup.visibleExternalContent, "data-coreui-theme": "dark" }, { default: withCtx(() => [ @@ -1687,7 +1689,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-controls": "navbarToggleExternalContent", "aria-label": "Toggle navigation", - onClick: _cache[10] || (_cache[10] = ($event) => $data.visibleExternalContent = !$data.visibleExternalContent) + onClick: _cache[10] || (_cache[10] = ($event) => $setup.visibleExternalContent = !$setup.visibleExternalContent) }) ]), _: 1 @@ -1714,13 +1716,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-controls": "offcanvasNavbar", "aria-label": "Toggle navigation", - onClick: _cache[11] || (_cache[11] = ($event) => $data.visibleOffcanvas = !$data.visibleOffcanvas) + onClick: _cache[11] || (_cache[11] = ($event) => $setup.visibleOffcanvas = !$setup.visibleOffcanvas) }), createVNode(_component_COffcanvas, { id: "offcanvasNavbar", placement: "end", - visible: $data.visibleOffcanvas, - onHide: _cache[13] || (_cache[13] = ($event) => $data.visibleOffcanvas = false) + visible: $setup.visibleOffcanvas, + onHide: _cache[13] || (_cache[13] = ($event) => $setup.visibleOffcanvas = false) }, { default: withCtx(() => [ createVNode(_component_COffcanvasHeader, null, { @@ -1733,7 +1735,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CCloseButton, { class: "text-reset", - onClick: _cache[12] || (_cache[12] = ($event) => $data.visibleOffcanvas = false) + onClick: _cache[12] || (_cache[12] = ($event) => $setup.visibleOffcanvas = false) }) ]), _: 1 @@ -1874,13 +1876,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CNavbarToggler, { "aria-controls": "offcanvasNavbar2", "aria-label": "Toggle navigation", - onClick: _cache[14] || (_cache[14] = ($event) => $data.visibleOffcanvas2 = !$data.visibleOffcanvas2) + onClick: _cache[14] || (_cache[14] = ($event) => $setup.visibleOffcanvas2 = !$setup.visibleOffcanvas2) }), createVNode(_component_COffcanvas, { id: "offcanvasNavbar2", placement: "end", - visible: $data.visibleOffcanvas2, - onHide: _cache[16] || (_cache[16] = ($event) => $data.visibleOffcanvas2 = false) + visible: $setup.visibleOffcanvas2, + onHide: _cache[16] || (_cache[16] = ($event) => $setup.visibleOffcanvas2 = false) }, { default: withCtx(() => [ createVNode(_component_COffcanvasHeader, null, { @@ -1893,7 +1895,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }), createVNode(_component_CCloseButton, { class: "text-reset", - onClick: _cache[15] || (_cache[15] = ($event) => $data.visibleOffcanvas2 = false) + onClick: _cache[15] || (_cache[15] = ($event) => $setup.visibleOffcanvas2 = false) }) ]), _: 1 diff --git a/vue/docs/assets/navs-tabs.html-BwFsuHAs.js b/vue/docs/assets/navs-tabs.html-R9_id4Dp.js similarity index 75% rename from vue/docs/assets/navs-tabs.html-BwFsuHAs.js rename to vue/docs/assets/navs-tabs.html-R9_id4Dp.js index 2c131cdeb7b..653f8558be9 100644 --- a/vue/docs/assets/navs-tabs.html-BwFsuHAs.js +++ b/vue/docs/assets/navs-tabs.html-R9_id4Dp.js @@ -1,10 +1,13 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - tabPaneActiveKey: 1, - tabPanePillsActiveKey: 1 - }; + __name: "navs-tabs.html", + setup(__props, { expose: __expose }) { + __expose(); + const tabPaneActiveKey = ref(1); + const tabPanePillsActiveKey = ref(1); + const __returned__ = { tabPaneActiveKey, tabPanePillsActiveKey, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -14,8 +17,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Base nav "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#base-nav", - "aria-hidden": "true" + href: "#base-nav" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -31,35 +33,35 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ const _hoisted_4 = { class: "docs-example rounded-top p-4" }; const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CNav>\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Classes are used throughout, so your markup can be super flexible. Use <ul>s like above, <ol> if the order of your items is important, or roll your own with a <nav> element. Because the .nav uses display: flex, the nav links behave the same as nav items would, but without the extra markup.

', 2); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
\n  <CNav as="nav">\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n    <CNavLink href="#">Link</CNavLink>\n    <CNavLink href="#">Link</CNavLink>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNav>\n\n

Available styles

Change the style of .navs component with modifiers and utilities. Mix and match as needed, or build your own.

Horizontal alignment

Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.

Centered with .justify-content-center:

', 6); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
\n  <CNav as="nav">\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n    <CNavLink href="#">Link</CNavLink>\n    <CNavLink href="#">Link</CNavLink>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNav>\n\n

Available styles #

Change the style of .navs component with modifiers and utilities. Mix and match as needed, or build your own.

Horizontal alignment #

Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.

Centered with .justify-content-center:

', 6); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CNav class="justify-content-center">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Right-aligned with .justify-content-end:

', 2); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CNav class="justify-content-end">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Vertical

Stack your navigation by changing the flex item direction with the .flex-column utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column).

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CNav class="justify-content-end">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Vertical #

Stack your navigation by changing the flex item direction with the .flex-column utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column).

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CNav class="flex-column">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Tabs

Takes the basic nav from above and adds the variant="tabs" class to generate a tabbed interface

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CNav class="flex-column">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Tabs #

Takes the basic nav from above and adds the variant="tabs" class to generate a tabbed interface

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CNav variant="tabs">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Pills

Take that same HTML, but use variant="pills" instead:

', 3); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CNav variant="tabs">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Pills #

Take that same HTML, but use variant="pills" instead:

', 3); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Underline

Take that same code, but use variant="underline" instead:

', 3); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Underline #

Take that same code, but use variant="underline" instead:

', 3); const _hoisted_33 = { class: "docs-example rounded-top p-4" }; -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CNav variant="underline">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Underline border

Take that same code, but use variant="underline-border" instead:

', 3); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CNav variant="underline">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Underline border #

Take that same code, but use variant="underline-border" instead:

', 3); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; -const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CNav variant="underline-border">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Fill and justify

Force your .nav's contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use layout="fill". Notice that all horizontal space is occupied, but not every nav item has the same width.

', 3); +const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CNav variant="underline-border">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Fill and justify #

Force your .nav's contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use layout="fill". Notice that all horizontal space is occupied, but not every nav item has the same width.

', 3); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills" layout="fill">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

For equal-width elements, use layout="justified". All horizontal space will be occupied by nav links, but unlike the .nav-fill above, every nav item will be the same width.

', 2); const _hoisted_44 = { class: "docs-example rounded-top p-4" }; -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills" layout="justified">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Working with flex utilities

If you need responsive nav variations, consider using a series of flexbox utilities. While more verbose, these utilities offer greater customization across responsive breakpoints. In the example below, our nav will be stacked on the lowest breakpoint, then adapt to a horizontal layout that fills the available width starting from the small breakpoint.

', 3); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills" layout="justified">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Working with flex utilities #

If you need responsive nav variations, consider using a series of flexbox utilities. While more verbose, these utilities offer greater customization across responsive breakpoints. In the example below, our nav will be stacked on the lowest breakpoint, then adapt to a horizontal layout that fills the available width starting from the small breakpoint.

', 3); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; -const _hoisted_49 = /* @__PURE__ */ createStaticVNode('
<CNav as="nav" variant="pills" class="flex-column flex-sm-row">\n  <CNavLink href="#" active>\n    Active\n  </CNavLink>\n  <CNavLink href="#">Link</CNavLink>\n  <CNavLink href="#">Link</CNavLink>\n  <CNavLink href="#" disabled>\n    Disabled\n  </CNavLink>\n</CNav>\n

Regarding accessibility

If you're using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the <ul>, or wrap a <nav> element around the whole navigation. Do not add the role to the <ul> itself, as this would prevent it from being announced as an actual list by assistive technologies.

Note that navigation bars, even if visually styled as tabs with the .nav-tabs class, should not be given role="tablist", role="tab" or role="tabpanel" attributes. These are only appropriate for dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices. See JavaScript behavior for dynamic tabbed interfaces in this section for an example. The aria-current attribute is not necessary on dynamic tabbed interfaces since our JavaScript handles the selected state by adding aria-selected="true" on the active tab.

Using dropdowns

Add dropdown menus with a little extra HTML.

Tabs with dropdowns

', 7); +const _hoisted_49 = /* @__PURE__ */ createStaticVNode('
<CNav as="nav" variant="pills" class="flex-column flex-sm-row">\n  <CNavLink href="#" active>\n    Active\n  </CNavLink>\n  <CNavLink href="#">Link</CNavLink>\n  <CNavLink href="#">Link</CNavLink>\n  <CNavLink href="#" disabled>\n    Disabled\n  </CNavLink>\n</CNav>\n

Regarding accessibility #

If you're using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the <ul>, or wrap a <nav> element around the whole navigation. Do not add the role to the <ul> itself, as this would prevent it from being announced as an actual list by assistive technologies.

Note that navigation bars, even if visually styled as tabs with the .nav-tabs class, should not be given role="tablist", role="tab" or role="tabpanel" attributes. These are only appropriate for dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices. See JavaScript behavior for dynamic tabbed interfaces in this section for an example. The aria-current attribute is not necessary on dynamic tabbed interfaces since our JavaScript handles the selected state by adding aria-selected="true" on the active tab.

Using dropdowns #

Add dropdown menus with a little extra HTML.

Tabs with dropdowns #

', 7); const _hoisted_56 = { class: "docs-example rounded-top p-4" }; -const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<CNav>\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CDropdown variant="nav-item">\n    <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Pills with dropdowns

', 2); +const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<CNav>\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CDropdown variant="nav-item">\n    <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Pills with dropdowns #

', 2); const _hoisted_59 = { class: "docs-example rounded-top p-4" }; -const _hoisted_60 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CDropdown variant="nav-item">\n    <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Tab panes

Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers).

Note that dynamic tabbed interfaces should not contain dropdown menus, as this causes both usability and accessibility issues. From a usability perspective, the fact that the currently displayed tab's trigger element is not immediately visible (as it's inside the closed dropdown menu) can cause confusion. From an accessibility point of view, there is currently no sensible way to map this sort of construct to a standard WAI ARIA pattern, meaning that it cannot be easily made understandable to users of assistive technologies.

', 4); +const _hoisted_60 = /* @__PURE__ */ createStaticVNode('
<CNav variant="pills">\n  <CNavItem>\n    <CNavLink href="#" active>\n      Active\n    </CNavLink>\n  </CNavItem>\n  <CDropdown variant="nav-item">\n    <CDropdownToggle color="secondary">Dropdown button</CDropdownToggle>\n    <CDropdownMenu>\n      <CDropdownItem href="#">Action</CDropdownItem>\n      <CDropdownItem href="#">Another action</CDropdownItem>\n      <CDropdownItem href="#">Something else here</CDropdownItem>\n    </CDropdownMenu>\n  </CDropdown>\n  <CNavItem>\n    <CNavLink href="#">Link</CNavLink>\n  </CNavItem>\n  <CNavItem>\n    <CNavLink href="#" disabled>\n      Disabled\n    </CNavLink>\n  </CNavItem>\n</CNav>\n

Tab panes #

Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers).

Note that dynamic tabbed interfaces should not contain dropdown menus, as this causes both usability and accessibility issues. From a usability perspective, the fact that the currently displayed tab's trigger element is not immediately visible (as it's inside the closed dropdown menu) can cause confusion. From an accessibility point of view, there is currently no sensible way to map this sort of construct to a standard WAI ARIA pattern, meaning that it cannot be easily made understandable to users of assistive technologies.

', 4); const _hoisted_64 = { class: "docs-example rounded-top p-4" }; -const _hoisted_65 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CNav variant="tabs" role="tablist">\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 1"\n        @click="() => {tabPaneActiveKey = 1}"\n      >\n        Home\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 2"\n        @click="() => {tabPaneActiveKey = 2}"\n      >\n        Profile\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 3"\n        @click="() => {tabPaneActiveKey = 3}"\n      >\n        Contact\n      </CNavLink>\n    </CNavItem>\n  </CNav>\n  <CTabContent>\n    <CTabPane role="tabpanel" aria-labelledby="home-tab" :visible="tabPaneActiveKey === 1">\n      Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown\n      aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan\n      helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh\n      mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan\n      aliquip quis cardigan american apparel, butcher voluptate nisi qui.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="profile-tab" :visible="tabPaneActiveKey === 2">\n      Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.\n      Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan\n      four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft\n      beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic,\n      assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero\n      magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,\n      sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party\n      scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="contact-tab" :visible="tabPaneActiveKey === 3">\n      Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic\n      lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork\n      tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie\n      helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.\n      Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro\n      mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog\n      stumptown. Pitchfork sustainable tofu synth chambray yr.\n    </CTabPane>\n  </CTabContent>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        tabPaneActiveKey: 1,\n      }\n    }\n  }\n</script>\n

The tabs also works with pills.

', 2); +const _hoisted_65 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const tabPaneActiveKey = ref(1)\n</script>\n<template>\n  <CNav variant="tabs" role="tablist">\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 1"\n        @click="() => {tabPaneActiveKey = 1}"\n      >\n        Home\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 2"\n        @click="() => {tabPaneActiveKey = 2}"\n      >\n        Profile\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPaneActiveKey === 3"\n        @click="() => {tabPaneActiveKey = 3}"\n      >\n        Contact\n      </CNavLink>\n    </CNavItem>\n  </CNav>\n  <CTabContent>\n    <CTabPane role="tabpanel" aria-labelledby="home-tab" :visible="tabPaneActiveKey === 1">\n      Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown\n      aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan\n      helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh\n      mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan\n      aliquip quis cardigan american apparel, butcher voluptate nisi qui.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="profile-tab" :visible="tabPaneActiveKey === 2">\n      Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.\n      Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan\n      four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft\n      beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic,\n      assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero\n      magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,\n      sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party\n      scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="contact-tab" :visible="tabPaneActiveKey === 3">\n      Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic\n      lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork\n      tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie\n      helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.\n      Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro\n      mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog\n      stumptown. Pitchfork sustainable tofu synth chambray yr.\n    </CTabPane>\n  </CTabContent>\n</template>\n

The tabs also works with pills.

', 2); const _hoisted_67 = { class: "docs-example rounded-top p-4" }; -const _hoisted_68 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CNav variant="tabs" role="tablist">\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 1"\n        @click="() => {tabPanePillsActiveKey = 1}"\n      >\n        Home\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 2"\n        @click="() => {tabPanePillsActiveKey = 2}"\n      >\n        Profile\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 3"\n        @click="() => {tabPanePillsActiveKey = 3}"\n      >\n        Contact\n      </CNavLink>\n    </CNavItem>\n  </CNav>\n  <CTabContent>\n    <CTabPane role="tabpanel" aria-labelledby="home-tab" :visible="tabPanePillsActiveKey === 1">\n      Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown\n      aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan\n      helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh\n      mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan\n      aliquip quis cardigan american apparel, butcher voluptate nisi qui.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="profile-tab" :visible="tabPanePillsActiveKey === 2">\n      Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.\n      Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan\n      four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft\n      beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic,\n      assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero\n      magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,\n      sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party\n      scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="contact-tab" :visible="tabPanePillsActiveKey === 3">\n      Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic\n      lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork\n      tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie\n      helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.\n      Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro\n      mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog\n      stumptown. Pitchfork sustainable tofu synth chambray yr.\n    </CTabPane>\n  </CTabContent>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        tabPanePillsActiveKey: 1,\n      }\n    }\n  }\n</script>\n

Customizing

CSS variables

Vue cards use local CSS variables on .nav, .nav-tabs, and .nav-pills for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

On the .nav base class:

', 5); +const _hoisted_68 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const tabPanePillsActiveKey = ref(1)\n</script>\n<template>\n  <CNav variant="tabs" role="tablist">\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 1"\n        @click="() => {tabPanePillsActiveKey = 1}"\n      >\n        Home\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 2"\n        @click="() => {tabPanePillsActiveKey = 2}"\n      >\n        Profile\n      </CNavLink>\n    </CNavItem>\n    <CNavItem>\n      <CNavLink\n        href="javascript:void(0);"\n        :active="tabPanePillsActiveKey === 3"\n        @click="() => {tabPanePillsActiveKey = 3}"\n      >\n        Contact\n      </CNavLink>\n    </CNavItem>\n  </CNav>\n  <CTabContent>\n    <CTabPane role="tabpanel" aria-labelledby="home-tab" :visible="tabPanePillsActiveKey === 1">\n      Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown\n      aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan\n      helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh\n      mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan\n      aliquip quis cardigan american apparel, butcher voluptate nisi qui.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="profile-tab" :visible="tabPanePillsActiveKey === 2">\n      Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.\n      Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan\n      four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft\n      beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic,\n      assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero\n      magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,\n      sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party\n      scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.\n    </CTabPane>\n    <CTabPane role="tabpanel" aria-labelledby="contact-tab" :visible="tabPanePillsActiveKey === 3">\n      Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic\n      lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork\n      tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie\n      helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.\n      Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro\n      mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog\n      stumptown. Pitchfork sustainable tofu synth chambray yr.\n    </CTabPane>\n  </CTabContent>\n</template>\n

Customizing #

CSS variables #

Vue cards use local CSS variables on .nav, .nav-tabs, and .nav-pills for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

On the .nav base class:

', 5); const _hoisted_73 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("On the "), /* @__PURE__ */ createBaseVNode("code", null, ".nav-tabs"), @@ -70,8 +72,8 @@ const _hoisted_74 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, ".nav-pills"), /* @__PURE__ */ createTextVNode(" modifier class:") ], -1); -const _hoisted_75 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CNav :style="vars">...</CNav>\n

SASS variables

', 3); -const _hoisted_78 = /* @__PURE__ */ createStaticVNode('

API

CNav

import { CNav } from '@coreui/vue'\n// or\nimport CNav from '@coreui/vue/src/components/nav/CNav'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-

CNavGroup

import { CNavGroup } from '@coreui/vue'\n// or\nimport CNavGroup from '@coreui/vue/src/components/nav/CNavGroup'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
compactMake nav group more compact by cutting all padding in half.boolean--
visibleShow nav group items.boolean--

Events

Event nameDescriptionProperties
visible-change

CNavItem

import { CNavItem } from '@coreui/vue'\n// or\nimport CNavItem from '@coreui/vue/src/components/nav/CNavItem'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'

CNavItem and CNavLink have the same properties. If you set the href property on CNavItem then, CNavLink will be generated inside CNavItem.

import { CNavLink } from '@coreui/vue'\n// or\nimport CNavLink from '@coreui/vue/src/components/nav/CNavLink'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
', 20); +const _hoisted_75 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CNav :style="vars">...</CNav>\n

SASS variables #

', 3); +const _hoisted_78 = /* @__PURE__ */ createStaticVNode('

API #

CNav #

import { CNav } from '@coreui/vue'\n// or\nimport CNav from '@coreui/vue/src/components/nav/CNav'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'ul'
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-

CNavGroup #

import { CNavGroup } from '@coreui/vue'\n// or\nimport CNavGroup from '@coreui/vue/src/components/nav/CNavGroup'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'
compactMake nav group more compact by cutting all padding in half.boolean--
visibleShow nav group items.boolean--

Events #

Event nameDescriptionProperties
visible-change

CNavItem #

import { CNavItem } from '@coreui/vue'\n// or\nimport CNavItem from '@coreui/vue/src/components/nav/CNavItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'li'

CNavItem and CNavLink have the same properties. If you set the href property on CNavItem then, CNavLink will be generated inside CNavItem.

import { CNavLink } from '@coreui/vue'\n// or\nimport CNavLink from '@coreui/vue/src/components/nav/CNavLink'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string-'a'
disabledToggle the disabled state for the component.boolean--
', 20); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CNavLink = resolveComponent("CNavLink"); const _component_CNavItem = resolveComponent("CNavItem"); @@ -925,9 +927,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPaneActiveKey === 1, + active: $setup.tabPaneActiveKey === 1, onClick: _cache[0] || (_cache[0] = () => { - $data.tabPaneActiveKey = 1; + $setup.tabPaneActiveKey = 1; }) }, { default: withCtx(() => [ @@ -942,9 +944,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPaneActiveKey === 2, + active: $setup.tabPaneActiveKey === 2, onClick: _cache[1] || (_cache[1] = () => { - $data.tabPaneActiveKey = 2; + $setup.tabPaneActiveKey = 2; }) }, { default: withCtx(() => [ @@ -959,9 +961,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPaneActiveKey === 3, + active: $setup.tabPaneActiveKey === 3, onClick: _cache[2] || (_cache[2] = () => { - $data.tabPaneActiveKey = 3; + $setup.tabPaneActiveKey = 3; }) }, { default: withCtx(() => [ @@ -980,7 +982,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "home-tab", - visible: $data.tabPaneActiveKey === 1 + visible: $setup.tabPaneActiveKey === 1 }, { default: withCtx(() => [ createTextVNode(" Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. ") @@ -990,7 +992,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "profile-tab", - visible: $data.tabPaneActiveKey === 2 + visible: $setup.tabPaneActiveKey === 2 }, { default: withCtx(() => [ createTextVNode(" Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park. ") @@ -1000,7 +1002,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "contact-tab", - visible: $data.tabPaneActiveKey === 3 + visible: $setup.tabPaneActiveKey === 3 }, { default: withCtx(() => [ createTextVNode(" Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr. ") @@ -1022,9 +1024,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPanePillsActiveKey === 1, + active: $setup.tabPanePillsActiveKey === 1, onClick: _cache[3] || (_cache[3] = () => { - $data.tabPanePillsActiveKey = 1; + $setup.tabPanePillsActiveKey = 1; }) }, { default: withCtx(() => [ @@ -1039,9 +1041,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPanePillsActiveKey === 2, + active: $setup.tabPanePillsActiveKey === 2, onClick: _cache[4] || (_cache[4] = () => { - $data.tabPanePillsActiveKey = 2; + $setup.tabPanePillsActiveKey = 2; }) }, { default: withCtx(() => [ @@ -1056,9 +1058,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { default: withCtx(() => [ createVNode(_component_CNavLink, { href: "javascript:void(0);", - active: $data.tabPanePillsActiveKey === 3, + active: $setup.tabPanePillsActiveKey === 3, onClick: _cache[5] || (_cache[5] = () => { - $data.tabPanePillsActiveKey = 3; + $setup.tabPanePillsActiveKey = 3; }) }, { default: withCtx(() => [ @@ -1077,7 +1079,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "home-tab", - visible: $data.tabPanePillsActiveKey === 1 + visible: $setup.tabPanePillsActiveKey === 1 }, { default: withCtx(() => [ createTextVNode(" Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. ") @@ -1087,7 +1089,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "profile-tab", - visible: $data.tabPanePillsActiveKey === 2 + visible: $setup.tabPanePillsActiveKey === 2 }, { default: withCtx(() => [ createTextVNode(" Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park. ") @@ -1097,7 +1099,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTabPane, { role: "tabpanel", "aria-labelledby": "contact-tab", - visible: $data.tabPanePillsActiveKey === 3 + visible: $setup.tabPanePillsActiveKey === 3 }, { default: withCtx(() => [ createTextVNode(" Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr. ") diff --git a/vue/docs/assets/offcanvas.html-CuZ5zSJ3.js b/vue/docs/assets/offcanvas.html-CuZ5zSJ3.js new file mode 100644 index 00000000000..e47ebf791e9 --- /dev/null +++ b/vue/docs/assets/offcanvas.html-CuZ5zSJ3.js @@ -0,0 +1,571 @@ +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = { + __name: "offcanvas.html", + setup(__props, { expose: __expose }) { + __expose(); + const visible = ref(false); + const visibleTop = ref(false); + const visibleEnd = ref(false); + const visibleBottom = ref(false); + const visibleScrolling = ref(false); + const visibleResponsiveBackdrop = ref(false); + const visibleWithStaticBackdrop = ref(false); + const visibleWithBothOptions = ref(false); + const __returned__ = { visible, visibleTop, visibleEnd, visibleBottom, visibleScrolling, visibleResponsiveBackdrop, visibleWithStaticBackdrop, visibleWithBothOptions, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { + id: "examples", + tabindex: "-1" +}, [ + /* @__PURE__ */ createTextVNode("Examples "), + /* @__PURE__ */ createBaseVNode("a", { + class: "anchor-link", + href: "#examples" + }, "#") +], -1); +const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { + id: "offcanvas-components", + tabindex: "-1" +}, [ + /* @__PURE__ */ createTextVNode("Offcanvas components "), + /* @__PURE__ */ createBaseVNode("a", { + class: "anchor-link", + href: "#offcanvas-components" + }, "#") +], -1); +const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ + /* @__PURE__ */ createTextVNode("Below is an offcanvas example that is shown by default (via "), + /* @__PURE__ */ createBaseVNode("code", null, ':visible="true"'), + /* @__PURE__ */ createTextVNode("). Offcanvas includes support for a header with a close button and an optional body class for some initial "), + /* @__PURE__ */ createBaseVNode("code", null, "padding"), + /* @__PURE__ */ createTextVNode(". We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.") +], -1); +const _hoisted_4 = { class: "docs-example rounded-top p-4" }; +const _hoisted_5 = { class: "docs-example-offcanvas bg-light" }; +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<template>\n  <COffcanvas :backdrop="false" placement="start" :visible="true">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" />\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Live demo #

Use the buttons below to show and hide an offcanvas component.

  • :visible="false" hides content (default)
  • visible or :visible="true" shows content
', 4); +const _hoisted_10 = { class: "docs-example rounded-top p-4" }; +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visible = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visible = !visible }">Toggle offcanvas</CButton>\n  <COffcanvas placement="start" :visible="visible" @hide="() => { visible = !visible }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visible = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Body scrolling #

Scrolling the <body> element is disabled when an offcanvas and its backdrop are visible. Use the scroll property to toggle <body> scrolling and backdrop to toggle the backdrop.

', 3); +const _hoisted_14 = { class: "docs-example rounded-top p-4" }; +const _hoisted_15 = /* @__PURE__ */ createBaseVNode("p", null, "Try scrolling the rest of the page to see this option in action.", -1); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visible = ref(false)\n  const visibleScrolling = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleScrolling = !visibleScrolling }">Enable body scrolling</CButton>\n  <COffcanvas :backdrop="false" placement="start" scroll :visible="visibleScrolling" @hide="() => { visibleScrolling = !visibleScrolling }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleScrolling = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>Try scrolling the rest of the page to see this option in action.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Body scrolling and backdrop #

You can also enable <body> scrolling with a visible backdrop.

', 3); +const _hoisted_19 = { class: "docs-example rounded-top p-4" }; +const _hoisted_20 = /* @__PURE__ */ createBaseVNode("p", null, "Try scrolling the rest of the page to see this option in action.", -1); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleWithBothOptions = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleWithBothOptions = !visibleWithBothOptions }">Enable both scrolling &amp; backdrop</CButton>\n  <COffcanvas placement="start" scroll :visible="visibleWithBothOptions" @hide="() => { visibleWithBothOptions = !visibleWithBothOptions }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleWithBothOptions = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>Try scrolling the rest of the page to see this option in action.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Static backdrop #

If you set a backdrop to static, your Vue offcanvas component will not close when clicking outside of it.

', 3); +const _hoisted_24 = { class: "docs-example rounded-top p-4" }; +const _hoisted_25 = /* @__PURE__ */ createBaseVNode("p", null, "I will not close if you click outside of me.", -1); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleWithStaticBackdrop = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleWithStaticBackdrop = !visibleWithStaticBackdrop }">Toggle static offcanvas</CButton>\n  <COffcanvas backdrop="static" placement="start" :visible="visibleWithStaticBackdrop" @hide="() => { visibleWithStaticBackdrop = !visibleWithStaticBackdrop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleWithStaticBackdrop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>I will not close if you click outside of me.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Dark offcanvas #

Change the appearance of offcanvases with dark boolean property to better match them to different contexts like dark navbars.

', 3); +const _hoisted_29 = { class: "docs-example rounded-top p-4" }; +const _hoisted_30 = { class: "docs-example-offcanvas bg-body-secondary p-0 overflow-hidden" }; +const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<COffcanvas :backdrop="false" dark placement="start" :visible="true">\n  <COffcanvasHeader>\n    <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n    <CCloseButton class="text-reset" />\n  </COffcanvasHeader>\n  <COffcanvasBody>\n    Content for the offcanvas goes here. You can place just about any React component or custom elements here.\n  </COffcanvasBody>\n</COffcanvas>\n

Responsive #

Responsive offcanvas properties hide content outside the viewport from a specified breakpoint and down. Above that breakpoint, the contents within will behave as usual. For example, responsive="lg" hides content in an offcanvas below the lg breakpoint, but shows the content above the lg breakpoint.

', 3); +const _hoisted_34 = { class: "docs-example rounded-top p-4" }; +const _hoisted_35 = /* @__PURE__ */ createBaseVNode("p", null, [ + /* @__PURE__ */ createTextVNode("This is content within an "), + /* @__PURE__ */ createBaseVNode("code", null, ".offcanvas-lg") +], -1); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleResponsiveBackdrop = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleResponsiveBackdrop = !visibleResponsiveBackdrop }">Toggle static offcanvas</CButton>\n  <CAlert class="d-none d-lg-block" color="info">Resize your browser to show the responsive offcanvas toggle.</CAlert>\n  <COffcanvas placement="start" responsive="lg" :visible="visibleResponsiveBackdrop" @hide="() => { visibleResponsiveBackdrop = !visibleResponsiveBackdrop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Responsive offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleResponsiveBackdrop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>This is content within an <code>.offcanvas-lg</code></p>.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Placement #

There's no default placement for offcanvas components, so you must add one of the modifier classes below;

  • placement="start" places offcanvas on the left of the viewport (shown above)
  • placement="end" places offcanvas on the right of the viewport
  • placement="top" places offcanvas on the top of the viewport
  • placement="bottom" places offcanvas on the bottom of the viewport

Try the top, right, and bottom examples out below.

', 5); +const _hoisted_41 = { class: "docs-example rounded-top p-4" }; +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleTop = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleTop = !visibleTop }">Toggle top offcanvas</CButton>\n  <COffcanvas placement="top" :visible="visibleTop" @hide="() => { visibleTop = !visibleTop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleTop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n
', 1); +const _hoisted_43 = { class: "docs-example rounded-top p-4" }; +const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleEnd = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleEnd = !visibleEnd }">Toggle right offcanvas</CButton>\n  <COffcanvas placement="end" :visible="visibleEnd" @hide="() => { visibleEnd = !visibleEnd }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleEnd = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n
', 1); +const _hoisted_45 = { class: "docs-example rounded-top p-4" }; +const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const visibleBottom = ref(false)\n</script>\n<template>\n  <CButton color="primary" @click="() => { visibleBottom = !visibleBottom }">Toggle bottom offcanvas</CButton>\n  <COffcanvas placement="bottom" :visible="visibleBottom" @hide="() => { visibleBottom = !visibleBottom }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleBottom = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n

Accessibility #

Since the offcanvas panel is conceptually a modal dialog, be sure to add aria-labelledby="..."—referencing the offcanvas title—to <COffcanvas>. Note that you don’t need to add role="dialog" since we already add it automatically.

Customizing #

CSS variables #

Vue offcanvas uses local CSS variables on .offcanvas for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 6); +const _hoisted_52 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <COffcanvas :style="vars">...</COffcanvas>\n

SASS variables #

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API #

COffcanvas #

import { COffcanvas } from '@coreui/vue'\n// or\nimport COffcanvas from '@coreui/vue/src/components/offcanvas/COffcanvas'\n

Props #

Prop nameDescriptionTypeValuesDefault
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
darkSets a darker color scheme.boolean--
keyboardCloses the offcanvas when escape key is pressed.boolean-true
placementComponents placement, there’s no default placement.string'start', 'end', 'top', 'bottom'-
responsive
4.7.0+
Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down.boolean|stringboolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'true
scrollAllow body scrolling while offcanvas is openboolean-false
visibleToggle the visibility of offcanvas component.boolean-false

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

COffcanvasTitle #

import { COffcanvasTitle } from '@coreui/vue'\n// or\nimport COffcanvasTitle from '@coreui/vue/src/components/offcanvas/COffcanvasTitle'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 11); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + const _component_COffcanvasTitle = resolveComponent("COffcanvasTitle"); + const _component_CCloseButton = resolveComponent("CCloseButton"); + const _component_COffcanvasHeader = resolveComponent("COffcanvasHeader"); + const _component_COffcanvasBody = resolveComponent("COffcanvasBody"); + const _component_COffcanvas = resolveComponent("COffcanvas"); + const _component_CButton = resolveComponent("CButton"); + const _component_CAlert = resolveComponent("CAlert"); + const _component_ScssDocs = resolveComponent("ScssDocs"); + return openBlock(), createElementBlock("div", null, [ + _hoisted_1, + _hoisted_2, + _hoisted_3, + createBaseVNode("div", _hoisted_4, [ + createBaseVNode("div", _hoisted_5, [ + createVNode(_component_COffcanvas, { + backdrop: false, + placement: "start", + visible: true + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { class: "text-reset" }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]) + ]), + _hoisted_6, + createBaseVNode("div", _hoisted_10, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[0] || (_cache[0] = () => { + $setup.visible = !$setup.visible; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle offcanvas") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "start", + visible: $setup.visible, + onHide: _cache[2] || (_cache[2] = () => { + $setup.visible = !$setup.visible; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[1] || (_cache[1] = () => { + $setup.visible = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_11, + createBaseVNode("div", _hoisted_14, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[3] || (_cache[3] = () => { + $setup.visibleScrolling = !$setup.visibleScrolling; + }) + }, { + default: withCtx(() => [ + createTextVNode("Enable body scrolling") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + backdrop: false, + placement: "start", + scroll: "", + visible: $setup.visibleScrolling, + onHide: _cache[5] || (_cache[5] = () => { + $setup.visibleScrolling = !$setup.visibleScrolling; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[4] || (_cache[4] = () => { + $setup.visibleScrolling = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + _hoisted_15 + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_16, + createBaseVNode("div", _hoisted_19, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[6] || (_cache[6] = () => { + $setup.visibleWithBothOptions = !$setup.visibleWithBothOptions; + }) + }, { + default: withCtx(() => [ + createTextVNode("Enable both scrolling & backdrop") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "start", + scroll: "", + visible: $setup.visibleWithBothOptions, + onHide: _cache[8] || (_cache[8] = () => { + $setup.visibleWithBothOptions = !$setup.visibleWithBothOptions; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[7] || (_cache[7] = () => { + $setup.visibleWithBothOptions = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + _hoisted_20 + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_21, + createBaseVNode("div", _hoisted_24, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[9] || (_cache[9] = () => { + $setup.visibleWithStaticBackdrop = !$setup.visibleWithStaticBackdrop; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle static offcanvas") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + backdrop: "static", + placement: "start", + visible: $setup.visibleWithStaticBackdrop, + onHide: _cache[11] || (_cache[11] = () => { + $setup.visibleWithStaticBackdrop = !$setup.visibleWithStaticBackdrop; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[10] || (_cache[10] = () => { + $setup.visibleWithStaticBackdrop = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + _hoisted_25 + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_26, + createBaseVNode("div", _hoisted_29, [ + createBaseVNode("div", _hoisted_30, [ + createVNode(_component_COffcanvas, { + backdrop: false, + dark: "", + placement: "start", + visible: true + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { class: "text-reset" }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any React component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }) + ]) + ]), + _hoisted_31, + createBaseVNode("div", _hoisted_34, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[12] || (_cache[12] = () => { + $setup.visibleResponsiveBackdrop = !$setup.visibleResponsiveBackdrop; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle offcanvas") + ]), + _: 1 + }), + createVNode(_component_CAlert, { + class: "d-none d-lg-block", + color: "info" + }, { + default: withCtx(() => [ + createTextVNode("Resize your browser to show the responsive offcanvas toggle.") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "start", + responsive: "lg", + visible: $setup.visibleResponsiveBackdrop, + onHide: _cache[14] || (_cache[14] = () => { + $setup.visibleResponsiveBackdrop = !$setup.visibleResponsiveBackdrop; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Responsive offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[13] || (_cache[13] = () => { + $setup.visibleResponsiveBackdrop = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + _hoisted_35, + createTextVNode(". ") + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_36, + createBaseVNode("div", _hoisted_41, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[15] || (_cache[15] = () => { + $setup.visibleTop = !$setup.visibleTop; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle top offcanvas") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "top", + visible: $setup.visibleTop, + onHide: _cache[17] || (_cache[17] = () => { + $setup.visibleTop = !$setup.visibleTop; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[16] || (_cache[16] = () => { + $setup.visibleTop = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_42, + createBaseVNode("div", _hoisted_43, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[18] || (_cache[18] = () => { + $setup.visibleEnd = !$setup.visibleEnd; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle right offcanvas") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "end", + visible: $setup.visibleEnd, + onHide: _cache[20] || (_cache[20] = () => { + $setup.visibleEnd = !$setup.visibleEnd; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[19] || (_cache[19] = () => { + $setup.visibleEnd = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_44, + createBaseVNode("div", _hoisted_45, [ + createVNode(_component_CButton, { + color: "primary", + onClick: _cache[21] || (_cache[21] = () => { + $setup.visibleBottom = !$setup.visibleBottom; + }) + }, { + default: withCtx(() => [ + createTextVNode("Toggle bottom offcanvas") + ]), + _: 1 + }), + createVNode(_component_COffcanvas, { + placement: "bottom", + visible: $setup.visibleBottom, + onHide: _cache[23] || (_cache[23] = () => { + $setup.visibleBottom = !$setup.visibleBottom; + }) + }, { + default: withCtx(() => [ + createVNode(_component_COffcanvasHeader, null, { + default: withCtx(() => [ + createVNode(_component_COffcanvasTitle, null, { + default: withCtx(() => [ + createTextVNode("Offcanvas") + ]), + _: 1 + }), + createVNode(_component_CCloseButton, { + class: "text-reset", + onClick: _cache[22] || (_cache[22] = () => { + $setup.visibleBottom = false; + }) + }) + ]), + _: 1 + }), + createVNode(_component_COffcanvasBody, null, { + default: withCtx(() => [ + createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") + ]), + _: 1 + }) + ]), + _: 1 + }, 8, ["visible"]) + ]), + _hoisted_46, + createVNode(_component_ScssDocs, { + file: "_offcanvas.scss", + capture: "offcanvas-css-vars" + }), + _hoisted_52, + createVNode(_component_ScssDocs, { + file: "_variables.scss", + capture: "offcanvas-variables" + }), + _hoisted_55 + ]); +} +const offcanvas_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "offcanvas.html.vue"]]); +const data = JSON.parse('{"path":"/components/offcanvas.html","title":"Vue Offcanvas Component","lang":"en-US","frontmatter":{"title":"Vue Offcanvas Component","name":"Offcanvas","description":"Vue alert component allows build hidden sidebars into your project for navigation, shopping carts.","other_frameworks":"offcanvas","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/offcanvas.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Offcanvas components","slug":"offcanvas-components","link":"#offcanvas-components","children":[]},{"level":3,"title":"Live demo","slug":"live-demo","link":"#live-demo","children":[]},{"level":3,"title":"Body scrolling","slug":"body-scrolling","link":"#body-scrolling","children":[]},{"level":3,"title":"Body scrolling and backdrop","slug":"body-scrolling-and-backdrop","link":"#body-scrolling-and-backdrop","children":[]},{"level":3,"title":"Static backdrop","slug":"static-backdrop","link":"#static-backdrop","children":[]}]},{"level":2,"title":"Dark offcanvas","slug":"dark-offcanvas","link":"#dark-offcanvas","children":[]},{"level":2,"title":"Responsive","slug":"responsive","link":"#responsive","children":[]},{"level":2,"title":"Placement","slug":"placement","link":"#placement","children":[]},{"level":2,"title":"Accessibility","slug":"accessibility","link":"#accessibility","children":[]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"COffcanvas","slug":"coffcanvas","link":"#coffcanvas","children":[]},{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]}]}],"filePathRelative":"components/offcanvas.md"}'); +export { + offcanvas_html as comp, + data +}; diff --git a/vue/docs/assets/offcanvas.html-D6TxFWNe.js b/vue/docs/assets/offcanvas.html-D6TxFWNe.js deleted file mode 100644 index 61daa910671..00000000000 --- a/vue/docs/assets/offcanvas.html-D6TxFWNe.js +++ /dev/null @@ -1,570 +0,0 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = { - data() { - return { - visible: false, - visibleTop: false, - visibleEnd: false, - visibleBottom: false, - visibleScrolling: false, - visibleResponsiveBackdrop: false, - visibleWithStaticBackdrop: false, - visibleWithBothOptions: false - }; - } -}; -const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { - id: "examples", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Examples "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#examples", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { - id: "offcanvas-components", - tabindex: "-1" -}, [ - /* @__PURE__ */ createTextVNode("Offcanvas components "), - /* @__PURE__ */ createBaseVNode("a", { - class: "anchor-link", - href: "#offcanvas-components", - "aria-hidden": "true" - }, "#") -], -1); -const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ - /* @__PURE__ */ createTextVNode("Below is an offcanvas example that is shown by default (via "), - /* @__PURE__ */ createBaseVNode("code", null, ':visible="true"'), - /* @__PURE__ */ createTextVNode("). Offcanvas includes support for a header with a close button and an optional body class for some initial "), - /* @__PURE__ */ createBaseVNode("code", null, "padding"), - /* @__PURE__ */ createTextVNode(". We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.") -], -1); -const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = { class: "docs-example-offcanvas bg-light" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<COffcanvas :backdrop="false" placement="start" :visible="true">\n  <COffcanvasHeader>\n    <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n    <CCloseButton class="text-reset" />\n  </COffcanvasHeader>\n  <COffcanvasBody>\n    Content for the offcanvas goes here. You can place just about any Bootstrap component or\n    custom elements here.\n  </COffcanvasBody>\n</COffcanvas>\n

Live demo

Use the buttons below to show and hide an offcanvas component.

  • :visible="false" hides content (default)
  • visible or :visible="true" shows content
', 4); -const _hoisted_10 = { class: "docs-example rounded-top p-4" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visible = !visible }">Toggle offcanvas</CButton>\n  <COffcanvas placement="start" :visible="visible" @hide="() => { visible = !visible }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visible = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visible: false,\n      }\n    }\n  }\n</script>\n

Body scrolling

Scrolling the <body> element is disabled when an offcanvas and its backdrop are visible. Use the scroll property to toggle <body> scrolling and backdrop to toggle the backdrop.

', 3); -const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createBaseVNode("p", null, "Try scrolling the rest of the page to see this option in action.", -1); -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleScrolling = !visibleScrolling }">Enable body scrolling</CButton>\n  <COffcanvas :backdrop="false" placement="start" scroll :visible="visibleScrolling" @hide="() => { visibleScrolling = !visibleScrolling }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleScrolling = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>Try scrolling the rest of the page to see this option in action.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleScrolling: false,\n      }\n    }\n  }\n</script>\n

Body scrolling and backdrop

You can also enable <body> scrolling with a visible backdrop.

', 3); -const _hoisted_19 = { class: "docs-example rounded-top p-4" }; -const _hoisted_20 = /* @__PURE__ */ createBaseVNode("p", null, "Try scrolling the rest of the page to see this option in action.", -1); -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleWithBothOptions = !visibleWithBothOptions }">Enable both scrolling &amp; backdrop</CButton>\n  <COffcanvas placement="start" scroll :visible="visibleWithBothOptions" @hide="() => { visibleWithBothOptions = !visibleWithBothOptions }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleWithBothOptions = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>Try scrolling the rest of the page to see this option in action.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return {\n        visibleWithBothOptions: false,\n      }\n    }\n  }\n</script>\n

Static backdrop

If you set a backdrop to static, your Vue offcanvas component will not close when clicking outside of it.

', 3); -const _hoisted_24 = { class: "docs-example rounded-top p-4" }; -const _hoisted_25 = /* @__PURE__ */ createBaseVNode("p", null, "I will not close if you click outside of me.", -1); -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleWithStaticBackdrop = !visibleWithStaticBackdrop }">Toggle static offcanvas</CButton>\n  <COffcanvas backdrop="static" placement="start" :visible="visibleWithStaticBackdrop" @hide="() => { visibleWithStaticBackdrop = !visibleWithStaticBackdrop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleWithStaticBackdrop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>I will not close if you click outside of me.</p>\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleWithStaticBackdrop: false,\n      }\n    }\n  }\n</script>\n

Dark offcanvas

Change the appearance of offcanvases with dark boolean property to better match them to different contexts like dark navbars.

', 3); -const _hoisted_29 = { class: "docs-example rounded-top p-4" }; -const _hoisted_30 = { class: "docs-example-offcanvas bg-body-secondary p-0 overflow-hidden" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<COffcanvas :backdrop="false" dark placement="start" :visible="true">\n  <COffcanvasHeader>\n    <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n    <CCloseButton class="text-reset" />\n  </COffcanvasHeader>\n  <COffcanvasBody>\n    Content for the offcanvas goes here. You can place just about any React component or custom elements here.\n  </COffcanvasBody>\n</COffcanvas>\n

Responsive

Responsive offcanvas properties hide content outside the viewport from a specified breakpoint and down. Above that breakpoint, the contents within will behave as usual. For example, responsive="lg" hides content in an offcanvas below the lg breakpoint, but shows the content above the lg breakpoint.

', 3); -const _hoisted_34 = { class: "docs-example rounded-top p-4" }; -const _hoisted_35 = /* @__PURE__ */ createBaseVNode("p", null, [ - /* @__PURE__ */ createTextVNode("This is content within an "), - /* @__PURE__ */ createBaseVNode("code", null, ".offcanvas-lg") -], -1); -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleResponsiveBackdrop = !visibleResponsiveBackdrop }">Toggle static offcanvas</CButton>\n  <CAlert class="d-none d-lg-block" color="info">Resize your browser to show the responsive offcanvas toggle.</CAlert>\n  <COffcanvas placement="start" responsive="lg" :visible="visibleResponsiveBackdrop" @hide="() => { visibleResponsiveBackdrop = !visibleResponsiveBackdrop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Responsive offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleResponsiveBackdrop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      <p>This is content within an <code>.offcanvas-lg</code></p>.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleResponsiveBackdrop: false,\n      }\n    }\n  }\n</script>\n

Placement

There's no default placement for offcanvas components, so you must add one of the modifier classes below;

  • placement="start" places offcanvas on the left of the viewport (shown above)
  • placement="end" places offcanvas on the right of the viewport
  • placement="top" places offcanvas on the top of the viewport
  • placement="bottom" places offcanvas on the bottom of the viewport

Try the top, right, and bottom examples out below.

', 5); -const _hoisted_41 = { class: "docs-example rounded-top p-4" }; -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleTop = !visibleTop }">Toggle top offcanvas</CButton>\n  <COffcanvas placement="top" :visible="visibleTop" @hide="() => { visibleTop = !visibleTop }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleTop = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleTop: false,\n      }\n    }\n  }\n</script>\n
', 1); -const _hoisted_43 = { class: "docs-example rounded-top p-4" }; -const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleEnd = !visibleEnd }">Toggle right offcanvas</CButton>\n  <COffcanvas placement="end" :visible="visibleEnd" @hide="() => { visibleEnd = !visibleEnd }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleEnd = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleEnd: false,\n      }\n    }\n  }\n</script>\n
', 1); -const _hoisted_45 = { class: "docs-example rounded-top p-4" }; -const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="() => { visibleBottom = !visibleBottom }">Toggle bottom offcanvas</CButton>\n  <COffcanvas placement="bottom" :visible="visibleBottom" @hide="() => { visibleBottom = !visibleBottom }">\n    <COffcanvasHeader>\n      <COffcanvasTitle>Offcanvas</COffcanvasTitle>\n      <CCloseButton class="text-reset" @click="() => { visibleBottom = false }"/>\n    </COffcanvasHeader>\n    <COffcanvasBody>\n      Content for the offcanvas goes here. You can place just about any Bootstrap component or\n      custom elements here.\n    </COffcanvasBody>\n  </COffcanvas>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n        visibleBottom: false,\n      }\n    }\n  }\n</script>\n

Accessibility

Since the offcanvas panel is conceptually a modal dialog, be sure to add aria-labelledby="..."—referencing the offcanvas title—to <COffcanvas>. Note that you don’t need to add role="dialog" since we already add it automatically.

Customizing

CSS variables

Vue offcanvas uses local CSS variables on .offcanvas for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 6); -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <COffcanvas :style="vars">...</COffcanvas>\n

SASS variables

', 3); -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API

COffcanvas

import { COffcanvas } from '@coreui/vue'\n// or\nimport COffcanvas from '@coreui/vue/src/components/offcanvas/COffcanvas'\n

Props

Prop nameDescriptionTypeValuesDefault
backdropApply a backdrop on body while offcanvas is open.boolean|stringboolean | 'static'true
darkSets a darker color scheme.boolean--
keyboardCloses the offcanvas when escape key is pressed.boolean-true
placementComponents placement, there’s no default placement.string'start', 'end', 'top', 'bottom'-
responsive
4.7.0+
Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down.boolean|stringboolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'true
scrollAllow body scrolling while offcanvas is openboolean-false
visibleToggle the visibility of offcanvas component.boolean-false

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

COffcanvasTitle

import { COffcanvasTitle } from '@coreui/vue'\n// or\nimport COffcanvasTitle from '@coreui/vue/src/components/offcanvas/COffcanvasTitle'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'h5'
', 11); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_COffcanvasTitle = resolveComponent("COffcanvasTitle"); - const _component_CCloseButton = resolveComponent("CCloseButton"); - const _component_COffcanvasHeader = resolveComponent("COffcanvasHeader"); - const _component_COffcanvasBody = resolveComponent("COffcanvasBody"); - const _component_COffcanvas = resolveComponent("COffcanvas"); - const _component_CButton = resolveComponent("CButton"); - const _component_CAlert = resolveComponent("CAlert"); - const _component_ScssDocs = resolveComponent("ScssDocs"); - return openBlock(), createElementBlock("div", null, [ - _hoisted_1, - _hoisted_2, - _hoisted_3, - createBaseVNode("div", _hoisted_4, [ - createBaseVNode("div", _hoisted_5, [ - createVNode(_component_COffcanvas, { - backdrop: false, - placement: "start", - visible: true - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { class: "text-reset" }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]) - ]), - _hoisted_6, - createBaseVNode("div", _hoisted_10, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[0] || (_cache[0] = () => { - $data.visible = !$data.visible; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle offcanvas") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "start", - visible: $data.visible, - onHide: _cache[2] || (_cache[2] = () => { - $data.visible = !$data.visible; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[1] || (_cache[1] = () => { - $data.visible = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_11, - createBaseVNode("div", _hoisted_14, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[3] || (_cache[3] = () => { - $data.visibleScrolling = !$data.visibleScrolling; - }) - }, { - default: withCtx(() => [ - createTextVNode("Enable body scrolling") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - backdrop: false, - placement: "start", - scroll: "", - visible: $data.visibleScrolling, - onHide: _cache[5] || (_cache[5] = () => { - $data.visibleScrolling = !$data.visibleScrolling; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[4] || (_cache[4] = () => { - $data.visibleScrolling = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - _hoisted_15 - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_16, - createBaseVNode("div", _hoisted_19, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[6] || (_cache[6] = () => { - $data.visibleWithBothOptions = !$data.visibleWithBothOptions; - }) - }, { - default: withCtx(() => [ - createTextVNode("Enable both scrolling & backdrop") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "start", - scroll: "", - visible: $data.visibleWithBothOptions, - onHide: _cache[8] || (_cache[8] = () => { - $data.visibleWithBothOptions = !$data.visibleWithBothOptions; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[7] || (_cache[7] = () => { - $data.visibleWithBothOptions = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - _hoisted_20 - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_21, - createBaseVNode("div", _hoisted_24, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[9] || (_cache[9] = () => { - $data.visibleWithStaticBackdrop = !$data.visibleWithStaticBackdrop; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle static offcanvas") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - backdrop: "static", - placement: "start", - visible: $data.visibleWithStaticBackdrop, - onHide: _cache[11] || (_cache[11] = () => { - $data.visibleWithStaticBackdrop = !$data.visibleWithStaticBackdrop; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[10] || (_cache[10] = () => { - $data.visibleWithStaticBackdrop = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - _hoisted_25 - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_26, - createBaseVNode("div", _hoisted_29, [ - createBaseVNode("div", _hoisted_30, [ - createVNode(_component_COffcanvas, { - backdrop: false, - dark: "", - placement: "start", - visible: true - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { class: "text-reset" }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any React component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }) - ]) - ]), - _hoisted_31, - createBaseVNode("div", _hoisted_34, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[12] || (_cache[12] = () => { - $data.visibleResponsiveBackdrop = !$data.visibleResponsiveBackdrop; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle offcanvas") - ]), - _: 1 - }), - createVNode(_component_CAlert, { - class: "d-none d-lg-block", - color: "info" - }, { - default: withCtx(() => [ - createTextVNode("Resize your browser to show the responsive offcanvas toggle.") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "start", - responsive: "lg", - visible: $data.visibleResponsiveBackdrop, - onHide: _cache[14] || (_cache[14] = () => { - $data.visibleResponsiveBackdrop = !$data.visibleResponsiveBackdrop; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Responsive offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[13] || (_cache[13] = () => { - $data.visibleResponsiveBackdrop = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - _hoisted_35, - createTextVNode(". ") - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_36, - createBaseVNode("div", _hoisted_41, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[15] || (_cache[15] = () => { - $data.visibleTop = !$data.visibleTop; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle top offcanvas") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "top", - visible: $data.visibleTop, - onHide: _cache[17] || (_cache[17] = () => { - $data.visibleTop = !$data.visibleTop; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[16] || (_cache[16] = () => { - $data.visibleTop = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_42, - createBaseVNode("div", _hoisted_43, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[18] || (_cache[18] = () => { - $data.visibleEnd = !$data.visibleEnd; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle right offcanvas") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "end", - visible: $data.visibleEnd, - onHide: _cache[20] || (_cache[20] = () => { - $data.visibleEnd = !$data.visibleEnd; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[19] || (_cache[19] = () => { - $data.visibleEnd = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_44, - createBaseVNode("div", _hoisted_45, [ - createVNode(_component_CButton, { - color: "primary", - onClick: _cache[21] || (_cache[21] = () => { - $data.visibleBottom = !$data.visibleBottom; - }) - }, { - default: withCtx(() => [ - createTextVNode("Toggle bottom offcanvas") - ]), - _: 1 - }), - createVNode(_component_COffcanvas, { - placement: "bottom", - visible: $data.visibleBottom, - onHide: _cache[23] || (_cache[23] = () => { - $data.visibleBottom = !$data.visibleBottom; - }) - }, { - default: withCtx(() => [ - createVNode(_component_COffcanvasHeader, null, { - default: withCtx(() => [ - createVNode(_component_COffcanvasTitle, null, { - default: withCtx(() => [ - createTextVNode("Offcanvas") - ]), - _: 1 - }), - createVNode(_component_CCloseButton, { - class: "text-reset", - onClick: _cache[22] || (_cache[22] = () => { - $data.visibleBottom = false; - }) - }) - ]), - _: 1 - }), - createVNode(_component_COffcanvasBody, null, { - default: withCtx(() => [ - createTextVNode(" Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. ") - ]), - _: 1 - }) - ]), - _: 1 - }, 8, ["visible"]) - ]), - _hoisted_46, - createVNode(_component_ScssDocs, { - file: "_offcanvas.scss", - capture: "offcanvas-css-vars" - }), - _hoisted_52, - createVNode(_component_ScssDocs, { - file: "_variables.scss", - capture: "offcanvas-variables" - }), - _hoisted_55 - ]); -} -const offcanvas_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "offcanvas.html.vue"]]); -const data = JSON.parse('{"path":"/components/offcanvas.html","title":"Vue Offcanvas Component","lang":"en-US","frontmatter":{"title":"Vue Offcanvas Component","name":"Offcanvas","description":"Vue alert component allows build hidden sidebars into your project for navigation, shopping carts.","other_frameworks":"offcanvas","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/offcanvas.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Offcanvas components","slug":"offcanvas-components","link":"#offcanvas-components","children":[]},{"level":3,"title":"Live demo","slug":"live-demo","link":"#live-demo","children":[]},{"level":3,"title":"Body scrolling","slug":"body-scrolling","link":"#body-scrolling","children":[]},{"level":3,"title":"Body scrolling and backdrop","slug":"body-scrolling-and-backdrop","link":"#body-scrolling-and-backdrop","children":[]},{"level":3,"title":"Static backdrop","slug":"static-backdrop","link":"#static-backdrop","children":[]}]},{"level":2,"title":"Dark offcanvas","slug":"dark-offcanvas","link":"#dark-offcanvas","children":[]},{"level":2,"title":"Responsive","slug":"responsive","link":"#responsive","children":[]},{"level":2,"title":"Placement","slug":"placement","link":"#placement","children":[]},{"level":2,"title":"Accessibility","slug":"accessibility","link":"#accessibility","children":[]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"COffcanvas","slug":"coffcanvas","link":"#coffcanvas","children":[]},{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]}]}],"filePathRelative":"components/offcanvas.md"}'); -export { - offcanvas_html as comp, - data -}; diff --git a/vue/docs/assets/options.html-B9kdngTZ.js b/vue/docs/assets/options.html-Oj00yCyN.js similarity index 99% rename from vue/docs/assets/options.html-B9kdngTZ.js rename to vue/docs/assets/options.html-Oj00yCyN.js index cb3347c344d..2aa0a5973b3 100644 --- a/vue/docs/assets/options.html-B9kdngTZ.js +++ b/vue/docs/assets/options.html-Oj00yCyN.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Customize CoreUI for Vue with our built-in custom variables file and easily toggle global CSS preferences with new $enable-* Sass variables. Override a variable's value and recompile with npm run test as needed.

You can find and customize these variables for key global options in CoreUI's @coreui/coreui/scss/_variables.scss file.

VariableValuesDescription
$spacer1rem (default), or any value > 0Specifies the default spacer value to programmatically generate our spacer utilities.
$enable-roundedtrue (default) or falseEnables predefined border-radius styles on various components.
$enable-shadowstrue or false (default)Enables predefined decorative box-shadow styles on various components. Does not affect box-shadows used for focus states.
$enable-gradientstrue or false (default)Enables predefined gradients via background-image styles on various components.
$enable-transitionstrue (default) or falseEnables predefined transitions on various components.
$enable-reduced-motiontrue (default) or falseEnables the prefers-reduced-motion media query, which suppresses certain animations/transitions based on the users' browser/operating system preferences.
$enable-grid-classestrue (default) or falseEnables the generation of CSS classes for the grid system (e.g. .row, .col-md-1, etc.).
$enable-container-classestrue (default) or falseEnables the generation of CSS classes for layout containers. (New in v4.2.0)
$enable-carettrue (default) or falseEnables pseudo element caret on .dropdown-toggle.
$enable-button-pointerstrue (default) or falseAdd "hand" cursor to non-disabled button elements.
$enable-rfstrue (default) or falseGlobally enables RFS.
$enable-validation-iconstrue (default) or falseEnables background-image icons within textual inputs and some custom forms for validation states.
$enable-negative-marginstrue or false (default)Enables the generation of negative margin utilities.
$enable-deprecation-messagestrue (default) or falseSet to false to hide warnings when using any of the deprecated mixins and functions that are planned to be removed in v6.
$enable-important-utilitiestrue (default) or falseEnables the !important suffix in utility classes.
$enable-smooth-scrolltrue (default) or falseApplies scroll-behavior: smooth globally, except for users asking for reduced motion through prefers-reduced-motion media query
$enable-ltrfalse or false (default)Enables Left-to-Right
$enable-rtltrue (default) or falseEnables Right-to-Left
', 3); const _hoisted_4 = [ diff --git a/vue/docs/assets/overview.html-DEHhVOWL.js b/vue/docs/assets/overview.html-D68slxn-.js similarity index 91% rename from vue/docs/assets/overview.html-DEHhVOWL.js rename to vue/docs/assets/overview.html-D68slxn-.js index 003d40730c5..297de54e435 100644 --- a/vue/docs/assets/overview.html-DEHhVOWL.js +++ b/vue/docs/assets/overview.html-D68slxn-.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "overview", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Overview "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#overview", - "aria-hidden": "true" + href: "#overview" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "CoreUI’s form controls expand on our Rebooted form styles with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices.", -1); @@ -25,12 +24,12 @@ const _hoisted_4 = /* @__PURE__ */ createBaseVNode("p", null, "Here’s a quick const _hoisted_5 = { class: "docs-example rounded-top p-4" }; const _hoisted_6 = { class: "mb-3" }; const _hoisted_7 = { class: "mb-3" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <div class="mb-3">\n    <CFormLabel for="exampleInputEmail1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleInputEmail1" aria-describedby="emailHelp" />\n    <CFormText id="emailHelp">We'll never share your email with anyone else.</CFormText>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleInputPassword1">Email Password</CFormLabel>\n    <CFormInput type="password" id="exampleInputPassword1" />\n  </div>\n  <CFormCheck\n    class="mb-3"\n    label="Check me out"\n  />\n  <CButton type="submit" color="primary">\n    Submit\n  </CButton>\n</CForm>\n

Form text

Block-level or inline-level form text can be created using <CFormText>.

Associating form text with form controls Form text should be explicitly associated with the form control it relates to using the aria-describedby attribute. This will ensure that assistive technologies—such as screen readers—will announce this form text when the user focuses or enters the control.

Form text below inputs can be styled with <CFormText>. If a block-level element will be used, a top margin is added for easy spacing from the inputs above.

', 5); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <div class="mb-3">\n    <CFormLabel for="exampleInputEmail1">Email address</CFormLabel>\n    <CFormInput type="email" id="exampleInputEmail1" aria-describedby="emailHelp" />\n    <CFormText id="emailHelp">We'll never share your email with anyone else.</CFormText>\n  </div>\n  <div class="mb-3">\n    <CFormLabel for="exampleInputPassword1">Email Password</CFormLabel>\n    <CFormInput type="password" id="exampleInputPassword1" />\n  </div>\n  <CFormCheck\n    class="mb-3"\n    label="Check me out"\n  />\n  <CButton type="submit" color="primary">\n    Submit\n  </CButton>\n</CForm>\n

Form text #

Block-level or inline-level form text can be created using <CFormText>.

Associating form text with form controls Form text should be explicitly associated with the form control it relates to using the aria-describedby attribute. This will ensure that assistive technologies—such as screen readers—will announce this form text when the user focuses or enters the control.

Form text below inputs can be styled with <CFormText>. If a block-level element will be used, a top margin is added for easy spacing from the inputs above.

', 5); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; const _hoisted_14 = { class: "mb-3" }; const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CForm>\n  <div class="mb-3">\n    <CFormLabel for="inputPassword5">Password</CFormLabel>\n    <CFormInput type="password" id="inputPassword5" aria-describedby="passwordHelpBlock" />\n    <CFormText id="passwordHelpBlock">\n      Your password must be 8-20 characters long, contain letters and numbers, and must not\n      contain spaces, special characters, or emoji.\n    </CFormText>\n  </div>\n</CForm>\n\n

Inline text can use any typical inline HTML element (be it a <span>, <small>, or something else) with nothing more than the .form-text class.

', 2); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CRow class="g-3 align-items-center">\n  <CCol xs="auto">\n    <CFormLabel for="inputPassword6" class="col-form-label">\n      Password\n    </CFormLabel>\n  </CCol>\n  <CCol xs="auto">\n    <CFormInput type="password" id="inputPassword6" aria-describedby="passwordHelpInline" />\n  </CCol>\n  <CCol xs="auto">\n    <CFormText as="span" id="passwordHelpInline">\n      Must be 8-20 characters long.\n    </CFormText>\n  </CCol>\n</CRow>\n

Disabled forms

Add the disabled boolean attribute on an input to prevent user interactions and make it appear lighter.

<CFormLabel id="disabledInput" type="text" placeholder="Disabled input here..." disabled />\n

Add the disabled attribute to a <fieldset> to disable all the controls within. Browsers treat all native form controls (<input>, <select>, and <button> elements) inside a <fieldset disabled> as disabled, preventing both keyboard and mouse interactions on them.

However, if your form also includes custom button-like elements such as <CButton>...</CButton>, these will only be given a style of pointer-events: none, meaning they are still focusable and operable using the keyboard. In this case, you must manually modify these controls by adding tabindex="-1" to prevent them from receiving focus and aria-disabled="disabled" to signal their state to assistive technologies.

', 6); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CRow class="g-3 align-items-center">\n  <CCol xs="auto">\n    <CFormLabel for="inputPassword6" class="col-form-label">\n      Password\n    </CFormLabel>\n  </CCol>\n  <CCol xs="auto">\n    <CFormInput type="password" id="inputPassword6" aria-describedby="passwordHelpInline" />\n  </CCol>\n  <CCol xs="auto">\n    <CFormText as="span" id="passwordHelpInline">\n      Must be 8-20 characters long.\n    </CFormText>\n  </CCol>\n</CRow>\n

Disabled forms #

Add the disabled boolean attribute on an input to prevent user interactions and make it appear lighter.

<CFormLabel id="disabledInput" type="text" placeholder="Disabled input here..." disabled />\n

Add the disabled attribute to a <fieldset> to disable all the controls within. Browsers treat all native form controls (<input>, <select>, and <button> elements) inside a <fieldset disabled> as disabled, preventing both keyboard and mouse interactions on them.

However, if your form also includes custom button-like elements such as <CButton>...</CButton>, these will only be given a style of pointer-events: none, meaning they are still focusable and operable using the keyboard. In this case, you must manually modify these controls by adding tabindex="-1" to prevent them from receiving focus and aria-disabled="disabled" to signal their state to assistive technologies.

', 6); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = { disabled: "" }; const _hoisted_26 = /* @__PURE__ */ createBaseVNode("legend", null, "Disabled fieldset example", -1); diff --git a/vue/docs/assets/pagination.html-BlNq3AJ1.js b/vue/docs/assets/pagination.html-B6kiDLSr.js similarity index 85% rename from vue/docs/assets/pagination.html-BlNq3AJ1.js rename to vue/docs/assets/pagination.html-B6kiDLSr.js index 5e9abe122c1..2cbec6dfc50 100644 --- a/vue/docs/assets/pagination.html-BlNq3AJ1.js +++ b/vue/docs/assets/pagination.html-B6kiDLSr.js @@ -1,26 +1,26 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview

We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping <nav> element to identify it as a navigation section to screen readers and other assistive technologies.

In addition, as pages likely have more than one such navigation section, it's advisable to provide a descriptive aria-label for the <nav> to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages".

', 3); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview #

We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping <nav> element to identify it as a navigation section to screen readers and other assistive technologies.

In addition, as pages likely have more than one such navigation section, it's advisable to provide a descriptive aria-label for the <nav> to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages".

', 3); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem href="#">Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Working with icons

Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with aria attributes.

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem href="#">Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Working with icons #

Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with aria attributes.

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; const _hoisted_9 = /* @__PURE__ */ createBaseVNode("span", { "aria-hidden": "true" }, "«", -1); const _hoisted_10 = /* @__PURE__ */ createBaseVNode("span", { "aria-hidden": "true" }, "»", -1); -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem aria-label="Previous" href="#"><span aria-hidden="true">&laquo;</span></CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem aria-label="Next" href="#"><span aria-hidden="true">&raquo;</span></CPaginationItem>\n</CPagination>\n

Disabled and active states

Pagination links are customizable for different circumstances. Use disabled for links that appear un-clickable and .active to indicate the current page.

While the disabled prop uses pointer-events: none to try to disable the link functionality of <a>s, that CSS property is not yet standardized and doesn't account for keyboard navigation. As such, we always add tabindex="-1" on disabled links and use custom JavaScript to fully disable their functionality.

', 4); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem aria-label="Previous" href="#"><span aria-hidden="true">&laquo;</span></CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem aria-label="Next" href="#"><span aria-hidden="true">&raquo;</span></CPaginationItem>\n</CPagination>\n

Disabled and active states #

Pagination links are customizable for different circumstances. Use disabled for links that appear un-clickable and .active to indicate the current page.

While the disabled prop uses pointer-events: none to try to disable the link functionality of <a>s, that CSS property is not yet standardized and doesn't account for keyboard navigation. As such, we always add tabindex="-1" on disabled links and use custom JavaScript to fully disable their functionality.

', 4); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = /* @__PURE__ */ createBaseVNode("span", { "aria-hidden": "true" }, "«", -1); const _hoisted_17 = /* @__PURE__ */ createBaseVNode("span", { "aria-hidden": "true" }, "»", -1); -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem aria-label="Previous" href="#" disabled><span aria-hidden="true">&laquo;</span></CPaginationItem>\n  <CPaginationItem href="#" active>1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem aria-label="Next" href="#"><span aria-hidden="true">&raquo;</span></CPaginationItem>\n</CPagination>\n

Sizing

Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CPagination aria-label="Page navigation example">\n  <CPaginationItem aria-label="Previous" href="#" disabled><span aria-hidden="true">&laquo;</span></CPaginationItem>\n  <CPaginationItem href="#" active>1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem aria-label="Next" href="#"><span aria-hidden="true">&raquo;</span></CPaginationItem>\n</CPagination>\n

Sizing #

Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CPagination size="lg" aria-label="Page navigation example">\n  <CPaginationItem href="#">Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n
', 1); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CPagination size="sm" aria-label="Page navigation example">\n  <CPaginationItem href="#">Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Alignment

Change the alignment of pagination components with align property.

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CPagination size="sm" aria-label="Page navigation example">\n  <CPaginationItem href="#">Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Alignment #

Change the alignment of pagination components with align property.

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CPagination align="center" aria-label="Page navigation example">\n  <CPaginationItem disabled>Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n
', 1); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CPagination align="end" aria-label="Page navigation example">\n  <CPaginationItem disabled>Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Customizing

CSS variables

Vue pagination use local CSS variables on .pagination for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CPagination :style="vars">...</CCard>\n

SASS variables

', 3); -const _hoisted_37 = /* @__PURE__ */ createStaticVNode('

API

CPagination

import { CPagination } from '@coreui/vue'\n// or\nimport CPagination from '@coreui/vue/src/components/pagination/CPagination'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the alignment of pagination components.string'start', 'center', 'end'-
sizeSize the component small or large.string'sm', 'lg'-

CPaginationItem

import { CPaginationItem } from '@coreui/vue'\n// or\nimport CPaginationItem from '@coreui/vue/src/components/pagination/CPaginationItem'\n

Props

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string--
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 9); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CPagination align="end" aria-label="Page navigation example">\n  <CPaginationItem disabled>Previous</CPaginationItem>\n  <CPaginationItem href="#">1</CPaginationItem>\n  <CPaginationItem href="#">2</CPaginationItem>\n  <CPaginationItem href="#">3</CPaginationItem>\n  <CPaginationItem href="#">Next</CPaginationItem>\n</CPagination>\n

Customizing #

CSS variables #

Vue pagination use local CSS variables on .pagination for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CPagination :style="vars">...</CCard>\n

SASS variables #

', 3); +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('

API #

CPagination #

import { CPagination } from '@coreui/vue'\n// or\nimport CPagination from '@coreui/vue/src/components/pagination/CPagination'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the alignment of pagination components.string'start', 'center', 'end'-
sizeSize the component small or large.string'sm', 'lg'-

CPaginationItem #

import { CPaginationItem } from '@coreui/vue'\n// or\nimport CPaginationItem from '@coreui/vue/src/components/pagination/CPaginationItem'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeToggle the active state for the component.boolean--
asComponent used for the root node. Either a string to use a HTML element or a component.string--
disabledToggle the disabled state for the component.boolean--
hrefThe href attribute specifies the URL of the page the link goes to.string--
', 9); function _sfc_render(_ctx, _cache) { const _component_CPaginationItem = resolveComponent("CPaginationItem"); const _component_CPagination = resolveComponent("CPagination"); diff --git a/vue/docs/assets/placeholder.html-BBrpG9kK.js b/vue/docs/assets/placeholder.html-BZpO7heW.js similarity index 89% rename from vue/docs/assets/placeholder.html-BBrpG9kK.js rename to vue/docs/assets/placeholder.html-BZpO7heW.js index 0cbdb74a0ab..cf156f17044 100644 --- a/vue/docs/assets/placeholder.html-BBrpG9kK.js +++ b/vue/docs/assets/placeholder.html-BZpO7heW.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, Y as withDirectives, f as createTextVNode, a as createStaticVNode, h as createBlock } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, Y as withDirectives, f as createTextVNode, a as createStaticVNode, V as createBlock } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "about", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("About "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#about", - "aria-hidden": "true" + href: "#about" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Placeholders can be used to enhance the experience of your application. They're built only with HTML and CSS, meaning you don't need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, color, and sizing can be easily customized with our utility classes.", -1); @@ -19,8 +18,7 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_4 = /* @__PURE__ */ createBaseVNode("p", null, 'In the example below, we take a typical card component and recreate it with placeholders applied to create a "loading card". Size and proportions are the same between the two.', -1); @@ -33,7 +31,7 @@ const _hoisted_9 = /* @__PURE__ */ createBaseVNode("rect", { height: "100%", fill: "#868e96" }, null, -1); -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" :src="$withBase('/images/vue.jpg')" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>\n      Some quick example text to build on the card title and make up the bulk of the card's\n      content.\n    </CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard style="width: 18rem">\n  <CCardImage as="svg" orientation="top" width="100%" height="162" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder" preserveAspectRatio="xMidYMid slice" focusable="false">\n    <title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"></rect>\n  </CCardImage>  \n  <CCardBody>\n    <CCardTitle v-c-placeholder="{animation: 'glow', xs: 7}">\n      <CPlaceholder :xs="6" />\n    </CCardTitle>\n    <CCardText v-c-placeholder="{animation: 'glow'}">\n      <CPlaceholder :xs="7" />\n      <CPlaceholder :xs="4" />\n      <CPlaceholder :xs="4" />\n      <CPlaceholder :xs="6" />\n      <CPlaceholder :xs="8" />\n    </CCardText>\n    <CButton v-c-placeholder="{xs: 6}" color="primary" aria-hidden="true" disabled href="#" tabindex="-1"></CButton>\n  </CCardBody>\n</CCard>\n

How it works

Create placeholders with the <CPlaceholder> component and a grid column propx (e.g., :xs="6") to set the width. They can replace the text inside an element or be added as a modifier class to an existing component.

We apply additional styling to CButtons via ::before to ensure the height is respected. You may extend this pattern for other situations as needed, or add a &nbsp; within the element to reflect the height when actual text is rendered in its place.

', 4); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CCard style="width: 18rem">\n  <CCardImage orientation="top" :src="$withBase('/images/vue.jpg')" />\n  <CCardBody>\n    <CCardTitle>Card title</CCardTitle>\n    <CCardText>\n      Some quick example text to build on the card title and make up the bulk of the card's\n      content.\n    </CCardText>\n    <CButton color="primary" href="#">Go somewhere</CButton>\n  </CCardBody>\n</CCard>\n<CCard style="width: 18rem">\n  <CCardImage as="svg" orientation="top" width="100%" height="162" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder" preserveAspectRatio="xMidYMid slice" focusable="false">\n    <title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"></rect>\n  </CCardImage>  \n  <CCardBody>\n    <CCardTitle v-c-placeholder="{animation: 'glow', xs: 7}">\n      <CPlaceholder :xs="6" />\n    </CCardTitle>\n    <CCardText v-c-placeholder="{animation: 'glow'}">\n      <CPlaceholder :xs="7" />\n      <CPlaceholder :xs="4" />\n      <CPlaceholder :xs="4" />\n      <CPlaceholder :xs="6" />\n      <CPlaceholder :xs="8" />\n    </CCardText>\n    <CButton v-c-placeholder="{xs: 6}" color="primary" aria-hidden="true" disabled href="#" tabindex="-1"></CButton>\n  </CCardBody>\n</CCard>\n

How it works #

Create placeholders with the <CPlaceholder> component and a grid column propx (e.g., :xs="6") to set the width. They can replace the text inside an element or be added as a modifier class to an existing component.

We apply additional styling to CButtons via ::before to ensure the height is respected. You may extend this pattern for other situations as needed, or add a &nbsp; within the element to reflect the height when actual text is rendered in its place.

', 4); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; const _hoisted_15 = { "aria-hidden": "true" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<p aria-hidden="true">\n  <CPlaceholder :xs="6" />\n</p>\n<CButton v-c-placeholder="{xs: 4}" color="primary" aria-hidden="true" disabled href="#" tabindex="-1"></CButton>\n
', 1); @@ -46,8 +44,7 @@ const _hoisted_19 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Width "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#width", - "aria-hidden": "true" + href: "#width" }, "#") ], -1); const _hoisted_20 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -56,13 +53,13 @@ const _hoisted_20 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" through grid column classes, width utilities, or inline styles.") ], -1); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="6" />\n<CPlaceholder class="w-75" />\n<CPlaceholder style="width: 30%" />\n

Color

By default, the <CPlaceholder> uses currentColor. This can be overridden with a custom color or utility class.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="6" />\n<CPlaceholder class="w-75" />\n<CPlaceholder style="width: 30%" />\n

Color #

By default, the <CPlaceholder> uses currentColor. This can be overridden with a custom color or utility class.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="12" />\n\n<CPlaceholder color="primary" :xs="12" />\n<CPlaceholder color="secondary" :xs="12" />\n<CPlaceholder color="success" :xs="12" />\n<CPlaceholder color="danger" :xs="12" />\n<CPlaceholder color="warning" :xs="12" />\n<CPlaceholder color="info" :xs="12" />\n<CPlaceholder color="light" :xs="12" />\n<CPlaceholder color="dark" :xs="12" />\n

Sizing

The size of <CPlaceholder>s are based on the typographic style of the parent element. Customize them with size prop: lg, sm, or xs.

', 3); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="12" />\n\n<CPlaceholder color="primary" :xs="12" />\n<CPlaceholder color="secondary" :xs="12" />\n<CPlaceholder color="success" :xs="12" />\n<CPlaceholder color="danger" :xs="12" />\n<CPlaceholder color="warning" :xs="12" />\n<CPlaceholder color="info" :xs="12" />\n<CPlaceholder color="light" :xs="12" />\n<CPlaceholder color="dark" :xs="12" />\n

Sizing #

The size of <CPlaceholder>s are based on the typographic style of the parent element. Customize them with size prop: lg, sm, or xs.

', 3); const _hoisted_29 = { class: "docs-example rounded-top p-4" }; -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="12" size="lg"/>\n<CPlaceholder :xs="12"/>\n<CPlaceholder :xs="12" size="sm"/>\n<CPlaceholder :xs="12" size="xs"/>\n

Animation

Animate placeholders with animation="glow" or animation="wave" to better convey the perception of something being actively loaded.

', 3); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder :xs="12" size="lg"/>\n<CPlaceholder :xs="12"/>\n<CPlaceholder :xs="12" size="sm"/>\n<CPlaceholder :xs="12" size="xs"/>\n

Animation #

Animate placeholders with animation="glow" or animation="wave" to better convey the perception of something being actively loaded.

', 3); const _hoisted_33 = { class: "docs-example rounded-top p-4" }; -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder as="p" animation="glow">\n  <CPlaceholder :xs="12" />\n</CPlaceholder>  \n\n<CPlaceholder as="p" animation="wave">\n  <CPlaceholder :xs="12" />\n</CPlaceholder> \n

API

CPlaceholder

import { CPlaceholder } from '@coreui/vue'\n// or\nimport CPlaceholder from '@coreui/vue/src/components/placeholder/CPlaceholder'\n

Props

Prop nameDescriptionTypeValuesDefault
animationSet animation type to better convey the perception of something being actively loaded.string'glow', 'wave'-
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component extra small, small, or large.string'xs', 'sm', 'lg'-
xsThe number of columns on extra small devices (<576px).number--
smThe number of columns on small devices (<768px).number--
mdThe number of columns on medium devices (<992px).number--
lgThe number of columns on large devices (<1200px).number--
xlThe number of columns on X-Large devices (<1400px).number--
xxlThe number of columns on XX-Large devices (≥1400px).number--
', 6); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CPlaceholder as="p" animation="glow">\n  <CPlaceholder :xs="12" />\n</CPlaceholder>  \n\n<CPlaceholder as="p" animation="wave">\n  <CPlaceholder :xs="12" />\n</CPlaceholder> \n

API #

CPlaceholder #

import { CPlaceholder } from '@coreui/vue'\n// or\nimport CPlaceholder from '@coreui/vue/src/components/placeholder/CPlaceholder'\n

Props #

Prop nameDescriptionTypeValuesDefault
animationSet animation type to better convey the perception of something being actively loaded.string'glow', 'wave'-
asComponent used for the root node. Either a string to use a HTML element or a component.string-'span'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component extra small, small, or large.string'xs', 'sm', 'lg'-
xsThe number of columns on extra small devices (<576px).number--
smThe number of columns on small devices (<768px).number--
mdThe number of columns on medium devices (<992px).number--
lgThe number of columns on large devices (<1200px).number--
xlThe number of columns on X-Large devices (<1400px).number--
xxlThe number of columns on XX-Large devices (≥1400px).number--
', 6); function _sfc_render(_ctx, _cache) { const _component_CCardImage = resolveComponent("CCardImage"); const _component_CCardTitle = resolveComponent("CCardTitle"); diff --git a/vue/docs/assets/popover.html-CcictLyq.js b/vue/docs/assets/popover.html-DDOrxn8Z.js similarity index 69% rename from vue/docs/assets/popover.html-CcictLyq.js rename to vue/docs/assets/popover.html-DDOrxn8Z.js index 4cae395f5c6..7ced087d8ab 100644 --- a/vue/docs/assets/popover.html-CcictLyq.js +++ b/vue/docs/assets/popover.html-DDOrxn8Z.js @@ -1,16 +1,19 @@ -import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, Y as withDirectives, h as createBlock, Z as normalizeStyle, f as createTextVNode, a as createStaticVNode, $ as mergeProps, a0 as toHandlers } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, Y as withDirectives, V as createBlock, f as createTextVNode, a as createStaticVNode, Z as mergeProps, $ as toHandlers } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - customPopoverStyle: { - "--cui-popover-max-width": "200px", - "--cui-popover-border-color": "var(--cui-primary)", - "--cui-popover-header-bg": "var(--cui-primary)", - "--cui-popover-header-color": "var(--cui-white)", - "--cui-popover-body-padding-x": "1rem", - "--cui-popover-body-padding-y": ".5rem" - } + __name: "popover.html", + setup(__props, { expose: __expose }) { + __expose(); + const customPopoverStyle = { + "--cui-popover-max-width": "200px", + "--cui-popover-border-color": "var(--cui-primary)", + "--cui-popover-header-bg": "var(--cui-primary)", + "--cui-popover-header-color": "var(--cui-white)", + "--cui-popover-body-padding-x": "1rem", + "--cui-popover-body-padding-y": ".5rem" }; + const __returned__ = { customPopoverStyle }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -20,8 +23,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { @@ -31,25 +33,24 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Component "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#component", - "aria-hidden": "true" + href: "#component" }, "#") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CPopover title="Popover title" content="And here\\’s some amazing content. It’s very engaging. Right?" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="danger" size="lg" :aria-describedby="id" v-on="on">Click to toggle popover</CButton>\n  </template>\n</CPopover>\n

Directive

', 2); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CPopover title="Popover title" content="And here\\’s some amazing content. It’s very engaging. Right?" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="danger" size="lg" :aria-describedby="id" v-on="on">Click to toggle popover</CButton>\n  </template>\n</CPopover>\n

Directive #

', 2); const _hoisted_6 = { class: "docs-example rounded-top p-4" }; -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CButton color="danger" size="lg" v-c-popover="{header: 'Popover title', content: 'And here\\’s some amazing content. It’s very engaging. Right?', placement: 'right'}">Click to toggle popover</CButton>\n

Four directions

Four options are available: top, right, bottom, and left aligned. Directions are mirrored when using CoreUI for Vue in RTL.

Component

', 4); +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CButton color="danger" size="lg" v-c-popover="{header: 'Popover title', content: 'And here\\’s some amazing content. It’s very engaging. Right?', placement: 'right'}">Click to toggle popover</CButton>\n

Four directions #

Four options are available: top, right, bottom, and left aligned. Directions are mirrored when using CoreUI for Vue in RTL.

Component #

', 4); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="top">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on top</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on right</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="bottom">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on bottom</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="left">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on left</CButton>\n  </template>\n</CPopover>\n

Directive

', 2); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="top">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on top</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on right</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="bottom">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on bottom</CButton>\n  </template>\n</CPopover>\n<CPopover content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="left">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Popover on left</CButton>\n  </template>\n</CPopover>\n

Directive #

', 2); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'top'}">Popover on top</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'right'}">Popover on right</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'bottom'}">Popover on bottom</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'left'}">Popover on left</CButton>\n

Custom popovers

You can customize the appearance of popovers using CSS variables. We set a custom style to scope our custom appearance and use it to override some of the local CSS variables.

', 3); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'top'}">Popover on top</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'right'}">Popover on right</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'bottom'}">Popover on bottom</CButton>\n<CButton color="secondary" v-c-popover="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'left'}">Popover on left</CButton>\n

Custom popovers #

You can customize the appearance of popovers using CSS variables. We set a custom style to scope our custom appearance and use it to override some of the local CSS variables.

', 3); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CPopover\n    content="This popover is themed via CSS variables."\n    placement="right"\n    title="Custom popover"\n    :style="customPopoverStyle"\n  >\n    <template #toggler="{ id, on }">\n      <CButton color="secondary" :aria-describedby="id" v-on="on">Custom popover</CButton>\n    </template>\n  </CPopover>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n       customPopoverStyle: {\n          '--cui-popover-max-width': '200px',\n          '--cui-popover-border-color': 'var(--cui-primary)',\n          '--cui-popover-header-bg': 'var(--cui-primary)',\n          '--cui-popover-header-color': 'var(--cui-white)',\n          '--cui-popover-body-padding-x': '1rem',\n          '--cui-popover-body-padding-y': '.5rem',\n        }\n      }\n    }\n  }\n</script>\n

Usage

Disabled elements

Elements with the disabled attribute aren't interactive, meaning users cannot hover or click them to trigger a popover (or tooltip). As a workaround, you'll want to trigger the popover from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

For disabled popover triggers, you may also prefer :trigger="['hover', 'focus']" so that the popover appears as immediate visual feedback to your users as they may not expect to click on a disabled element.

', 5); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const customPopoverStyle = {\n    '--cui-popover-max-width': '200px',\n    '--cui-popover-border-color': 'var(--cui-primary)',\n    '--cui-popover-header-bg': 'var(--cui-primary)',\n    '--cui-popover-header-color': 'var(--cui-white)',\n    '--cui-popover-body-padding-x': '1rem',\n    '--cui-popover-body-padding-y': '.5rem',\n  }\n</script>\n<template>\n  <CPopover\n    content="This popover is themed via CSS variables."\n    placement="right"\n    title="Custom popover"\n    :style="customPopoverStyle"\n  >\n    <template #toggler="{ id, on }">\n      <CButton color="secondary" :aria-describedby="id" v-on="on">Custom popover</CButton>\n    </template>\n  </CPopover>\n</template>\n

Usage #

Disabled elements #

Elements with the disabled attribute aren't interactive, meaning users cannot hover or click them to trigger a popover (or tooltip). As a workaround, you'll want to trigger the popover from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

For disabled popover triggers, you may also prefer :trigger="['hover', 'focus']" so that the popover appears as immediate visual feedback to your users as they may not expect to click on a disabled element.

', 5); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = ["aria-describedby"]; -const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CPopover\n  content="Disabled popover"\n  placement="right"\n  :trigger="['hover', 'focus']"\n>\n  <template #toggler="{ id, on }">\n    <span class="d-inline-block" :tabindex="0" :aria-describedby="id" v-on="on">\n      <CButton color="primary" disabled>Disabled button</CButton>\n    </span>\n  </template>\n</CPopover>\n

Customizing

CSS variables

Vue popovers use local CSS variables on .popover for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CPopover :style="vars">...</CPopover>\n

SASS variables

', 3); -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('

API

CPopover

import { CPopover } from '@coreui/vue'\n// or\nimport CPopover from '@coreui/vue/src/components/popover/CPopover'\n

Props

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the popover.boolean-true
container
v5.0.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the popover relative to its target.array-[0, 8]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover''click'
visibleToggle the visibility of popover component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 7); +const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CPopover\n  content="Disabled popover"\n  placement="right"\n  :trigger="['hover', 'focus']"\n>\n  <template #toggler="{ id, on }">\n    <span class="d-inline-block" :tabindex="0" :aria-describedby="id" v-on="on">\n      <CButton color="primary" disabled>Disabled button</CButton>\n    </span>\n  </template>\n</CPopover>\n

Customizing #

CSS variables #

Vue popovers use local CSS variables on .popover for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CPopover :style="vars">...</CPopover>\n

SASS variables #

', 3); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('

API #

CPopover #

import { CPopover } from '@coreui/vue'\n// or\nimport CPopover from '@coreui/vue/src/components/popover/CPopover'\n

Props #

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the popover.boolean-true
container
5.0.0+
Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the popover relative to its target.array-[0, 8]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover''click'
visibleToggle the visibility of popover component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CButton = resolveComponent("CButton"); const _component_CPopover = resolveComponent("CPopover"); @@ -205,7 +206,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { content: "This popover is themed via CSS variables.", placement: "right", title: "Custom popover", - style: normalizeStyle($data.customPopoverStyle) + style: $setup.customPopoverStyle }, { toggler: withCtx(({ id, on }) => [ createVNode(_component_CButton, mergeProps({ @@ -219,7 +220,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }, 1040, ["aria-describedby"]) ]), _: 1 - }, 8, ["style"]) + }) ]), _hoisted_19, createBaseVNode("div", _hoisted_24, [ diff --git a/vue/docs/assets/progress.html-DAixQyXt.js b/vue/docs/assets/progress.html-DhAMxmt8.js similarity index 87% rename from vue/docs/assets/progress.html-DAixQyXt.js rename to vue/docs/assets/progress.html-DhAMxmt8.js index d62721d3e24..ad639c9cd4b 100644 --- a/vue/docs/assets/progress.html-DAixQyXt.js +++ b/vue/docs/assets/progress.html-DhAMxmt8.js @@ -1,30 +1,30 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example

Progress components are built with two HTML elements, some CSS to set the width, and a few attributes. We don't use the HTML5 <progress> element, ensuring you can stack progress bars, animate them, and place text labels over them.

Basic usage

', 3); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example #

Progress components are built with two HTML elements, some CSS to set the width, and a few attributes. We don't use the HTML5 <progress> element, ensuring you can stack progress bars, animate them, and place text labels over them.

Basic usage #

', 3); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CProgress :value="0"/>\n<CProgress :value="25"/>\n<CProgress :value="50"/>\n<CProgress :value="75"/>\n<CProgress :value="100"/>\n

Labels

Add labels to your progress bars by placing text within the <CProgressBar>.

', 3); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<CProgress :value="0"/>\n<CProgress :value="25"/>\n<CProgress :value="50"/>\n<CProgress :value="75"/>\n<CProgress :value="100"/>\n

Labels #

Add labels to your progress bars by placing text within the <CProgressBar>.

', 3); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<CProgress :value="25">25%</CProgress>\n

Please note that the default setting for the content within the <CProgressBar /> is to be limited by the overflow: hidden property, preventing it from extending beyond the bar's boundaries. If the progress bar is shorter than its label, the content will be truncated and could be difficult to read. To modify this behavior, you can utilize the .overflow-visible class from the overflow utilities. However, it is important to specify a specific text color to ensure readability. It's worth noting that this approach currently does not consider color modes.

', 2); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CProgress :value="10" color="success">\n  <CProgressBar class="overflow-visible text-dark px-2">Long label text for the progress bar, set to a dark color</CProgressBar>\n</CProgress>\n

Since v5.0.0 you can also use the progressBarClassName property directly on the <CProgress /> component to achieve the same.

<CProgress progressBarClassName="overflow-visible text-dark px-2" color="success" :value="10">Long label text for the progress bar, set to a dark color</CProgress>\n

Height

We only set a height value on the <CProgress>, so if you change that value the inner <CProgressBar> will automatically resize accordingly.

', 5); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CProgress :value="10" color="success">\n  <CProgressBar class="overflow-visible text-dark px-2">Long label text for the progress bar, set to a dark color</CProgressBar>\n</CProgress>\n

Since v5.0.0 you can also use the progressBarClassName property directly on the <CProgress /> component to achieve the same.

<CProgress progressBarClassName="overflow-visible text-dark px-2" color="success" :value="10">Long label text for the progress bar, set to a dark color</CProgress>\n

Height #

We only set a height value on the <CProgress>, so if you change that value the inner <CProgressBar> will automatically resize accordingly.

', 5); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CProgress :height="1" :value="25" />\n<CProgress :height="20" :value="25" />\n

Backgrounds

Use color prop to change the appearance of individual progress bars.

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CProgress :height="1" :value="25" />\n<CProgress :height="20" :value="25" />\n

Backgrounds #

Use color prop to change the appearance of individual progress bars.

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" :value="25"/>\n<CProgress color="info" :value="50"/>\n<CProgress color="warning" :value="75"/>\n<CProgress color="danger" :value="100"/>\n

Ensure that when you incorporate labels into progress bars featuring a custom background color, you also select an appropriate text color to ensure readability and maintain adequate contrast for the labels.

', 2); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" :value="25">\n  <CProgressBar>25%</CProgressBar>\n</CProgress>\n<CProgress color="info" :value="50">\n  <CProgressBar class="text-dark">50%</CProgressBar>\n</CProgress>\n<CProgress color="warning" :value="75">\n  <CProgressBar class="text-dark">75%</CProgressBar>\n</CProgress>\n<CProgress color="danger" :value="100">\n  <CProgressBar>100%</CProgressBar>\n</CProgress>\n

Since v5.0.0 you can also use the progressBarClassName property directly on the <CProgress /> component to achieve the same.

<CProgress color="success" :value="25">25%</CProgress>\n<CProgress color="info" progressBarClassName="text-dark" :value="50">50%</CProgress>\n<CProgress color="warning" progressBarClassName="text-dark" :value="75">75%</CProgress>\n<CProgress color="danger" :value="100">100%</CProgress>\n

Multiple bars

Include multiple progress bars in a progress component if you need.

', 5); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" :value="25">\n  <CProgressBar>25%</CProgressBar>\n</CProgress>\n<CProgress color="info" :value="50">\n  <CProgressBar class="text-dark">50%</CProgressBar>\n</CProgress>\n<CProgress color="warning" :value="75">\n  <CProgressBar class="text-dark">75%</CProgressBar>\n</CProgress>\n<CProgress color="danger" :value="100">\n  <CProgressBar>100%</CProgressBar>\n</CProgress>\n

Since v5.0.0 you can also use the progressBarClassName property directly on the <CProgress /> component to achieve the same.

<CProgress color="success" :value="25">25%</CProgress>\n<CProgress color="info" progressBarClassName="text-dark" :value="50">50%</CProgress>\n<CProgress color="warning" progressBarClassName="text-dark" :value="75">75%</CProgress>\n<CProgress color="danger" :value="100">100%</CProgress>\n

Multiple bars #

Include multiple progress bars in a progress component if you need.

', 5); const _hoisted_30 = /* @__PURE__ */ createBaseVNode("code", null, "", -1); const _hoisted_31 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("strong", null, "New markup") ], -1); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CProgressStacked>\n  <CProgress :value="15" />\n  <CProgress color="success" :value="30" />\n  <CProgress color="info" :value="20" />\n</CProgressStacked>\n

Previous markup

<CProgress>\n  <CProgressBar :value="15" />\n  <CProgressBar color="success" :value="30" />\n  <CProgressBar color="info" :value="20" />\n</CProgress>\n

Striped

Add variant="striped" to any <CProgressBar> to apply a stripe via CSS gradient over the progress bar's background color.

', 5); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CProgressStacked>\n  <CProgress :value="15" />\n  <CProgress color="success" :value="30" />\n  <CProgress color="info" :value="20" />\n</CProgressStacked>\n

Previous markup

<CProgress>\n  <CProgressBar :value="15" />\n  <CProgressBar color="success" :value="30" />\n  <CProgressBar color="info" :value="20" />\n</CProgress>\n

Striped #

Add variant="striped" to any <CProgressBar> to apply a stripe via CSS gradient over the progress bar's background color.

', 5); const _hoisted_38 = { class: "docs-example rounded-top p-4" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" variant="striped" :value="25"/>\n<CProgress color="info" variant="striped" :value="50"/>\n<CProgress color="warning" variant="striped" :value="75"/>\n<CProgress color="danger" variant="striped" :value="100"/>\n

Animated stripes

The striped gradient can also be animated. Add animated property to <CProgressBar> to animate the stripes right to left via CSS3 animations.

', 3); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" variant="striped" :value="25"/>\n<CProgress color="info" variant="striped" :value="50"/>\n<CProgress color="warning" variant="striped" :value="75"/>\n<CProgress color="danger" variant="striped" :value="100"/>\n

Animated stripes #

The striped gradient can also be animated. Add animated property to <CProgressBar> to animate the stripes right to left via CSS3 animations.

', 3); const _hoisted_42 = { class: "docs-example rounded-top p-4" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" variant="striped" animated :value="25"/>\n<CProgress color="info" variant="striped" animated :value="50"/>\n<CProgress color="warning" variant="striped" animated :value="75"/>\n<CProgress color="danger" variant="striped" animated :value="100"/>\n

Customizing

CSS variables

Vue cards use local CSS variables on .card for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_47 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CProgress :style="vars">...</CProgress>\n

SASS variables

', 3); -const _hoisted_50 = /* @__PURE__ */ createStaticVNode('

API

CProgress

import { CProgress } from '@coreui/vue'\n// or\nimport CProgress from '@coreui/vue/src/components/progress/CProgress'\n

Props

', 4); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CProgress color="success" variant="striped" animated :value="25"/>\n<CProgress color="info" variant="striped" animated :value="50"/>\n<CProgress color="warning" variant="striped" animated :value="75"/>\n<CProgress color="danger" variant="striped" animated :value="100"/>\n

Customizing #

CSS variables #

Vue cards use local CSS variables on .card for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_47 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CProgress :style="vars">...</CProgress>\n

SASS variables #

', 3); +const _hoisted_50 = /* @__PURE__ */ createStaticVNode('

API #

CProgress #

import { CProgress } from '@coreui/vue'\n// or\nimport CProgress from '@coreui/vue/src/components/progress/CProgress'\n

Props #

', 4); const _hoisted_54 = { class: "table table-striped table-api" }; const _hoisted_55 = /* @__PURE__ */ createBaseVNode("thead", null, [ /* @__PURE__ */ createBaseVNode("tr", null, [ @@ -129,7 +129,7 @@ const _hoisted_66 = /* @__PURE__ */ createBaseVNode("tr", null, [ /* @__PURE__ */ createBaseVNode("td", null, "-"), /* @__PURE__ */ createBaseVNode("td", null, "-") ], -1); -const _hoisted_67 = /* @__PURE__ */ createStaticVNode('

CProgressBar

import { CProgressBar } from '@coreui/vue'\n// or\nimport CProgressBar from '@coreui/vue/src/components/progress/CProgressBar'\n

Props

Prop nameDescriptionTypeValuesDefault
animatedUse to animate the stripes right to left via CSS3 animations.boolean--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valueThe percent to progress the ProgressBar.number-0
variantSet the progress bar variant to optional striped.string'striped'-
', 4); +const _hoisted_67 = /* @__PURE__ */ createStaticVNode('

CProgressBar #

import { CProgressBar } from '@coreui/vue'\n// or\nimport CProgressBar from '@coreui/vue/src/components/progress/CProgressBar'\n

Props #

Prop nameDescriptionTypeValuesDefault
animatedUse to animate the stripes right to left via CSS3 animations.boolean--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valueThe percent to progress the ProgressBar.number-0
variantSet the progress bar variant to optional striped.string'striped'-
', 4); function _sfc_render(_ctx, _cache) { const _component_CProgress = resolveComponent("CProgress"); const _component_CProgressBar = resolveComponent("CProgressBar"); diff --git a/vue/docs/assets/radio.html-cF7KwA9W.js b/vue/docs/assets/radio.html-DdZZGITP.js similarity index 70% rename from vue/docs/assets/radio.html-cF7KwA9W.js rename to vue/docs/assets/radio.html-DdZZGITP.js index c1d9028cb02..d992a63c5aa 100644 --- a/vue/docs/assets/radio.html-cF7KwA9W.js +++ b/vue/docs/assets/radio.html-DdZZGITP.js @@ -1,32 +1,34 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - setup() { + __name: "radio.html", + setup(__props, { expose: __expose }) { + __expose(); const picked = ref("Four"); - return { - picked - }; + const __returned__ = { picked, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Approach

Browser default radios are replaced with the help of <CFormCheck radio>. Radios are for selecting one option from many.

Radios

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 4); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Approach #

Browser default radios are replaced with the help of <CFormCheck radio>. Radios are for selecting one option from many.

Radios #

Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input's state.

', 4); const _hoisted_5 = { class: "docs-example rounded-top p-4" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault1" label="Default radio"/>\n<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault2" label="Checked radio" checked/>\n

vModel

', 2); +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault1" label="Default radio"/>\n<CFormCheck type="radio" name="flexRadioDefault" id="flexRadioDefault2" label="Checked radio" checked/>\n

vModel #

', 2); const _hoisted_8 = { class: "docs-example rounded-top p-4" }; -const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CFormCheck type="radio" id="flexRadioVModel1" inline label="One" value="One" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel2" inline label="Two" value="Two" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel3" inline label="Three" value="Three" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel4" inline label="Four" value="Four" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel5" inline label="Five" value="Five" v-model="picked"/>\n  <div>Picked: {{ picked }}</div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const picked = ref('Four')\n      return {\n        picked\n      }\n    }\n  }\n</script>\n

Disabled

', 2); +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const picked = ref('Four')\n</script>\n<template>\n  <CFormCheck type="radio" id="flexRadioVModel1" inline label="One" value="One" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel2" inline label="Two" value="Two" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel3" inline label="Three" value="Three" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel4" inline label="Four" value="Four" v-model="picked"/>\n  <CFormCheck type="radio" id="flexRadioVModel5" inline label="Five" value="Five" v-model="picked"/>\n  <div>Picked: {{ picked }}</div>\n</template>\n

Disabled #

', 2); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioDisabled" label="Disabled radio" disabled/>\n<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" label="Disabled checked radio" checked disabled/>\n

Default (stacked)

By default, any number of radios that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioDisabled" label="Disabled radio" disabled/>\n<CFormCheck type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" label="Disabled checked radio" checked disabled/>\n

Default (stacked) #

By default, any number of radios that are immediate sibling will be vertically stacked and appropriately spaced.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="exampleRadios" id="exampleRadios1" value="option1" label="Default radio" checked/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios2" value="option2" label="Second default radio"/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios3" value="option3" label="Disabled radio" disabled/>\n

Inline

Group radios on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="exampleRadios" id="exampleRadios1" value="option1" label="Default radio" checked/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios2" value="option2" label="Second default radio"/>\n<CFormCheck type="radio" name="exampleRadios" id="exampleRadios3" value="option3" label="Disabled radio" disabled/>\n

Inline #

Group radios on the same horizontal row by adding inline boolean property to any <CFormCheck>.

', 3); const _hoisted_19 = { class: "docs-example rounded-top p-4" }; -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Reverse

Put your radios on the opposite side by adding reverse boolean property.

', 3); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('
<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox1" value="option1" label="1"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox2" value="option2" label="2"/>\n<CFormCheck inline type="radio" name="inlineRadioOptions" id="inlineCheckbox3" value="option3" label="3 (disabled)" disabled/>\n

Reverse #

Put your radios on the opposite side by adding reverse boolean property.

', 3); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormCheck reverse type="radio" id="reverseOption1" value="option1" label="Reverse radio"/>\n<CFormCheck reverse type="radio" id="reverseOption2" value="option2" label="Disabled reverse radio" disabled/>\n

Without labels

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CFormCheck reverse type="radio" id="reverseOption1" value="option1" label="Reverse radio"/>\n<CFormCheck reverse type="radio" id="reverseOption2" value="option2" label="Disabled reverse radio" disabled/>\n

Without labels #

Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label).

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; -const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="radioNoLabel" id="radioNoLabel" value="" aria-label="..."/>\n

Toggle buttons

Create button-like radio buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

', 3); +const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CFormCheck type="radio" name="radioNoLabel" id="radioNoLabel" value="" aria-label="..."/>\n

Toggle buttons #

Create button-like radio buttons by using button boolean property on the <CFormCheck> component. These toggle buttons can further be grouped in a button group if needed.

', 3); const _hoisted_31 = { class: "docs-example rounded-top p-4" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option1" autocomplete="off" label="Checked" checked/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option2" autocomplete="off" label="Radio"/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option3" autocomplete="off" label="Radio" disabled/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option4" autocomplete="off" label="Radio"/>\n

Outlined styles

Different variants of button, such at the various outlined styles, are supported.

', 3); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option1" autocomplete="off" label="Checked" checked/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option2" autocomplete="off" label="Radio"/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option3" autocomplete="off" label="Radio" disabled/>\n<CFormCheck :button="{ color: 'secondary' }" type="radio" name="options" id="option4" autocomplete="off" label="Radio"/>\n

Outlined styles #

Different variants of button, such at the various outlined styles, are supported.

', 3); const _hoisted_35 = { class: "docs-example rounded-top p-4" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'success', variant: 'outline' }" type="radio" name="options-outlined" id="success-outlined" autocomplete="off" label="Radio" checked/>\n<CFormCheck :button="{ color: 'danger', variant: 'outline' }" type="radio" name="options-outlined" id="danger-outlined" autocomplete="off" label="Radio"/>\n

Customizing

SASS variables

', 3); -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

API

CFormCheck

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CFormCheck :button="{ color: 'success', variant: 'outline' }" type="radio" name="options-outlined" id="success-outlined" autocomplete="off" label="Radio" checked/>\n<CFormCheck :button="{ color: 'danger', variant: 'outline' }" type="radio" name="options-outlined" id="danger-outlined" autocomplete="off" label="Radio"/>\n

Customizing #

SASS variables #

', 3); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

API #

CFormCheck #

import { CFormCheck } from '@coreui/vue'\n// or\nimport CFormCheck from '@coreui/vue/src/components/form/CFormCheck'\n

Props #

Prop nameDescriptionTypeValuesDefault
buttonCreate button-like checkboxes and radio buttons.
@see http://coreui.io/vue/docs/components/button.html
object--
false-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the false state.string--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hit-areaSets hit area to the full area of the component.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indeterminateInput Checkbox indeterminate Propertyboolean--
inlineGroup checkboxes or radios on the same horizontal row by adding.boolean--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.array|boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
true-value
4.10.0+
Use in conjunction with the v-model directive to specify the value that should be assigned to the bound variable when the checkbox is in the true state.string--
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--
valueThe value attribute of component.string--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CFormCheck = resolveComponent("CFormCheck"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/range.html-DLE7qJRM.js b/vue/docs/assets/range.html-DnftQdHW.js similarity index 70% rename from vue/docs/assets/range.html-DLE7qJRM.js rename to vue/docs/assets/range.html-DnftQdHW.js index b7e1503e602..ac43d30cf99 100644 --- a/vue/docs/assets/range.html-DLE7qJRM.js +++ b/vue/docs/assets/range.html-DnftQdHW.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "overview", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Overview "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#overview", - "aria-hidden": "true" + href: "#overview" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -19,14 +18,14 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode('. The track (the background) and thumb (the value) are both styled to appear the same across browsers. As only Edge Legacy and Firefox supports "filling" their track from the left or right of the thumb as a means to visually indicate progress, we do not currently support it.') ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CFormRange id="customRange1" label="Example range" />\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CFormRange id="customRange1" label="Example range" />\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CFormRange id="disabledRange" disabled label="Disabled range" />\n

Min and max

Range inputs have implicit values for min and max0 and 100, respectively. You may specify new values for those using the min and max attributes.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CFormRange id="disabledRange" disabled label="Disabled range" />\n

Min and max #

Range inputs have implicit values for min and max0 and 100, respectively. You may specify new values for those using the min and max attributes.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormRange label="Example range" :min="0" :max="5" :value="3" id="customRange2"/>\n

Steps

By default, range inputs "snap" to integer values. To change this, you can specify a step value. In the example below, we double the number of steps by using :step="0.5".

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CFormRange label="Example range" :min="0" :max="5" :value="3" id="customRange2"/>\n

Steps #

By default, range inputs "snap" to integer values. To change this, you can specify a step value. In the example below, we double the number of steps by using :step="0.5".

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormRange label="Example range" :min="0" :max="5" :step="0.5" :value="3" id="customRange3"/> \n

Customizing

SASS variables

', 3); -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('

API

CFormRange

import { CFormRange } from '@coreui/vue'\n// or\nimport CFormRange from '@coreui/vue/src/components/form/CFormRange'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
label
4.3.0+
Add a caption for a component.string--
maxSpecifies the maximum value for the component.number--
minSpecifies the minimum value for the component.number--
model-valueThe default name for a value passed using v-model.string--
readonlyToggle the readonly state for the component.boolean--
stepsSpecifies the interval between legal numbers in the component.number--
valueThe value attribute of component.
@controllable onChange
number--

Events

Event nameDescriptionProperties
changeEvent occurs when the value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CFormRange label="Example range" :min="0" :max="5" :step="0.5" :value="3" id="customRange3"/> \n

Customizing #

SASS variables #

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('

API #

CFormRange #

import { CFormRange } from '@coreui/vue'\n// or\nimport CFormRange from '@coreui/vue/src/components/form/CFormRange'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
label
4.3.0+
Add a caption for a component.string--
maxSpecifies the maximum value for the component.number--
minSpecifies the minimum value for the component.number--
model-valueThe default name for a value passed using v-model.string--
readonlyToggle the readonly state for the component.boolean--
stepsSpecifies the interval between legal numbers in the component.number--
valueThe value attribute of component.
@controllable onChange
number--

Events #

Event nameDescriptionProperties
changeEvent occurs when the value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache) { const _component_CFormRange = resolveComponent("CFormRange"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/rating.html-COUjsjjF.js b/vue/docs/assets/rating.html-DDgDjKeh.js similarity index 87% rename from vue/docs/assets/rating.html-COUjsjjF.js rename to vue/docs/assets/rating.html-DDgDjKeh.js index 5667d84c3ec..04ef9b7dba1 100644 --- a/vue/docs/assets/rating.html-COUjsjjF.js +++ b/vue/docs/assets/rating.html-DDgDjKeh.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, d as withCtx, h as createBlock, i as createCommentVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, e as withCtx, V as createBlock, W as createCommentVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; var cilHeart = ["512 512", ""]; var cilMeh = ["512 512", ""]; var cilMoodBad = ["512 512", ""]; @@ -69,49 +69,48 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("How to use Vue Rating Component. "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#how-to-use-vue-rating-component", - "aria-hidden": "true" + href: "#how-to-use-vue-rating-component" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "Embed the Rating component in your Vue application like this:", -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CRating :value="3" />\n

vModel

', 2); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CRating :value="3" />\n

vModel #

', 2); const _hoisted_6 = { class: "docs-example rounded-top p-4" }; const _hoisted_7 = { class: "mt-3" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const selected = ref(2)\n</script>\n<template>\n  <CRating v-model="selected" />\n  <div class="mt-3">Selected value: {{selected}}</div>\n</template>\n

Allow clear

Enable users to clear their selected rating by clicking on the current rating again. This functionality is activated by setting allowClear boolean property.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const selected = ref(2)\n</script>\n<template>\n  <CRating v-model="selected" />\n  <div class="mt-3">Selected value: {{selected}}</div>\n</template>\n

Allow clear #

Enable users to clear their selected rating by clicking on the current rating again. This functionality is activated by setting allowClear boolean property.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CRating allowClear :value="3" />\n

Resettable

This allows the selected rating to be deselected, effectively resetting the rating to a state where no value is selected.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CRating allowClear :value="3" />\n

Resettable #

This allows the selected rating to be deselected, effectively resetting the rating to a state where no value is selected.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = { class: "d-flex align-items-center" }; -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n\n  const currentValue = ref(3)\n  const setCurrentValue = (value) => {\n    currentValue.value = value\n  }\n</script>\n\n<template>\n  <div class="d-flex align-items-center">\n    <CRating @change="(value) => setCurrentValue(value)" :value="currentValue" />\n    <CButton class="ms-3" color="primary" @click="setCurrentValue(null)">reset</CButton>\n  </div>\n</template>\n

Read only

Set the Vue rating component to read-only by adding readOnly property. This disables interaction, preventing users from changing the displayed rating value.

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n\n  const currentValue = ref(3)\n  const setCurrentValue = (value) => {\n    currentValue.value = value\n  }\n</script>\n\n<template>\n  <div class="d-flex align-items-center">\n    <CRating @change="(value) => setCurrentValue(value)" :value="currentValue" />\n    <CButton class="ms-3" color="primary" @click="setCurrentValue(null)">reset</CButton>\n  </div>\n</template>\n

Read only #

Set the Vue rating component to read-only by adding readOnly property. This disables interaction, preventing users from changing the displayed rating value.

', 3); const _hoisted_20 = { class: "docs-example rounded-top p-4" }; -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CRating readOnly :value="3" />\n

Disabled

Add the disabled boolean property to give it a grayed out appearance, remove pointer events, and prevent focusing.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CRating readOnly :value="3" />\n

Disabled #

Add the disabled boolean property to give it a grayed out appearance, remove pointer events, and prevent focusing.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; -const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CRating disabled :value="3"  />\n

Tooltips

Enable descriptive text on hover by adding tooltips prop. This provides immediate feedback or guidance as the user interacts with the rating items.

', 3); +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<CRating disabled :value="3"  />\n

Tooltips #

Enable descriptive text on hover by adding tooltips prop. This provides immediate feedback or guidance as the user interacts with the rating items.

', 3); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CRating tooltips :value="3" />\n

For custom messages, provide an array of labels corresponding to each rating value to enhance the user's understanding of each rating level.

', 2); const _hoisted_31 = { class: "docs-example rounded-top p-4" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CRating :tooltips="['Very bad', 'Bad', 'Meh', 'Good', 'Very good']" :value="3" />\n

Sizes

Larger or smaller vue rating component? Add size="lg" or size="sm" for additional sizes.

', 3); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CRating :tooltips="['Very bad', 'Bad', 'Meh', 'Good', 'Very good']" :value="3" />\n

Sizes #

Larger or smaller vue rating component? Add size="lg" or size="sm" for additional sizes.

', 3); const _hoisted_35 = { class: "docs-example rounded-top p-4" }; -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CRating size="sm" :value="3" />\n<CRating :value="3" />\n<CRating  size="lg" :value="3" />\n

Precision

Adjust the granularity of the Rating component by setting precision prop. This attribute allows for fractional ratings, such as quarter values, to provide more precise feedback.

', 3); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CRating size="sm" :value="3" />\n<CRating :value="3" />\n<CRating  size="lg" :value="3" />\n

Precision #

Adjust the granularity of the Rating component by setting precision prop. This attribute allows for fractional ratings, such as quarter values, to provide more precise feedback.

', 3); const _hoisted_39 = { class: "docs-example rounded-top p-4" }; -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<CRating :precision="0.25" :value="3" />\n

Number of items

Control the total number of rating items displayed by using itemCount property. You can create a Vue rating component with a custom scale, be it larger for detailed assessments or smaller for simplicity.

', 3); +const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<CRating :precision="0.25" :value="3" />\n

Number of items #

Control the total number of rating items displayed by using itemCount property. You can create a Vue rating component with a custom scale, be it larger for detailed assessments or smaller for simplicity.

', 3); const _hoisted_43 = { class: "docs-example rounded-top p-4" }; const _hoisted_44 = /* @__PURE__ */ createStaticVNode('
<CRating :itemCount="20" :value="5" />\n
', 1); const _hoisted_45 = { class: "docs-example rounded-top p-4" }; -const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CRating :itemCount="3" :value="1" />\n

Custom icons

Customize the Vue rating component with your choice of SVG icons by assigning new values to the activeIcon and icon properties in the JavaScript options. This allows for a unique look tailored to the design language of your site or application.

The Rating component can be customized with either SVG or font icons, allowing for visual alignment with your application's design. You can specify different icons for each rating value to enhance user interaction.

In the example below, we demonstrate how to set custom icons using SVG, allowing for detailed customization of the visual elements within the Rating component.

', 5); +const _hoisted_46 = /* @__PURE__ */ createStaticVNode('
<CRating :itemCount="3" :value="1" />\n

Custom icons #

Customize the Vue rating component with your choice of SVG icons by assigning new values to the activeIcon and icon properties in the JavaScript options. This allows for a unique look tailored to the design language of your site or application.

The Rating component can be customized with either SVG or font icons, allowing for visual alignment with your application's design. You can specify different icons for each rating value to enhance user interaction.

In the example below, we demonstrate how to set custom icons using SVG, allowing for detailed customization of the visual elements within the Rating component.

', 5); const _hoisted_51 = { class: "docs-example rounded-top p-4" }; const _hoisted_52 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { cilStar, cisStar } from '@coreui/icons-pro'\n</script>\n\n<template>\n  <CRating :value="3">\n    <template #activeIcon>\n      <CIcon :icon="cisStar" customClassName=" " />\n    </template>\n    <template #icon>\n      <CIcon :icon="cilStar" customClassName=" " />\n    </template>\n  </CRating>\n</template>\n

In the example below, we use font icons from the CoreUI Icons set. In the activeIcon configuration, we also apply the utility class text-danger to change the icon's color to red when it is active.

', 2); const _hoisted_54 = { class: "docs-example rounded-top p-4" }; const _hoisted_55 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { cilHeart } from '@coreui/icons-pro'\n</script>\n\n<template>\n  <CRating :value="3">\n    <template #activeIcon>\n      <CIcon :icon="cilHeart" customClassName="text-danger" />\n    </template>\n    <template #icon>\n      <CIcon :icon="cilHeart" customClassName=" " />\n    </template>\n  </CRating>\n</template>\n

For a more dynamic experience, define different icons for each rating value, enhancing the visual feedback:

', 2); const _hoisted_57 = { class: "docs-example rounded-top p-4" }; -const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { cilMoodVeryBad, cilMoodBad, cilMoodGood, cilMoodVeryGood, cilMeh } from '@coreui/icons-pro'\n\nconst icons = {\n  1: {icon: cilMoodVeryBad, customClassName: " "},\n  2: {icon: cilMoodBad, customClassName: " "},\n  3: {icon: cilMeh, customClassName: " "},\n  4: {icon: cilMoodGood, customClassName: " "},\n  5: {icon: cilMoodVeryGood, customClassName: " "},\n}\n\nconst activeIcons = {\n  1: {icon: cilMoodVeryBad, customClassName: "text-danger-emphasis"},\n  2: {icon: cilMoodBad, customClassName: "text-danger"},\n  3: {icon: cilMeh, customClassName: "text-warning"},\n  4: {icon: cilMoodGood, customClassName: "text-success"},\n  5: {icon: cilMoodVeryGood, customClassName: "text-success-emphasis"},\n}\n</script>\n\n<template>\n  <CRating \n    highlightOnlySelected\n    :tooltips="['Very bad', 'Bad', 'Meh', 'Good', 'Very good']"\n    :value="3"\n  >\n    <template #icon={value}>\n      <CIcon :icon="icons[value].icon" :customClassName="icons[value].customClassName" />\n    </template>\n    <template #activeIcon={value}>\n      <CIcon :icon="activeIcons[value].icon" :customClassName="activeIcons[value].customClassName" />\n    </template>\n  </CRating>\n</template>\n

Custom feedback

The Vue Rating component integrates interactive star ratings with dynamic textual feedback using other components from CoreUI. It enables users to select a rating that updates the display and label in real-time, enhancing the interactive experience. Hover effects provide immediate feedback on potential ratings before selection, ensuring an intuitive user interface.

', 3); +const _hoisted_58 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { cilMoodVeryBad, cilMoodBad, cilMoodGood, cilMoodVeryGood, cilMeh } from '@coreui/icons-pro'\n\nconst icons = {\n  1: {icon: cilMoodVeryBad, customClassName: " "},\n  2: {icon: cilMoodBad, customClassName: " "},\n  3: {icon: cilMeh, customClassName: " "},\n  4: {icon: cilMoodGood, customClassName: " "},\n  5: {icon: cilMoodVeryGood, customClassName: " "},\n}\n\nconst activeIcons = {\n  1: {icon: cilMoodVeryBad, customClassName: "text-danger-emphasis"},\n  2: {icon: cilMoodBad, customClassName: "text-danger"},\n  3: {icon: cilMeh, customClassName: "text-warning"},\n  4: {icon: cilMoodGood, customClassName: "text-success"},\n  5: {icon: cilMoodVeryGood, customClassName: "text-success-emphasis"},\n}\n</script>\n\n<template>\n  <CRating \n    highlightOnlySelected\n    :tooltips="['Very bad', 'Bad', 'Meh', 'Good', 'Very good']"\n    :value="3"\n  >\n    <template #icon={value}>\n      <CIcon :icon="icons[value].icon" :customClassName="icons[value].customClassName" />\n    </template>\n    <template #activeIcon={value}>\n      <CIcon :icon="activeIcons[value].icon" :customClassName="activeIcons[value].customClassName" />\n    </template>\n  </CRating>\n</template>\n

Custom feedback #

The Vue Rating component integrates interactive star ratings with dynamic textual feedback using other components from CoreUI. It enables users to select a rating that updates the display and label in real-time, enhancing the interactive experience. Hover effects provide immediate feedback on potential ratings before selection, ensuring an intuitive user interface.

', 3); const _hoisted_61 = { class: "docs-example rounded-top p-4" }; const _hoisted_62 = { class: "d-flex align-items-center" }; const _hoisted_63 = { class: "text-body-secondary me-3" }; -const _hoisted_64 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { ref } from 'vue'\n\nconst currentValue = ref(3)\nconst setCurrentValue = (value) => {\n  currentValue.value = value\n}\n\nconst labels = {\n  1: 'Very bad',\n  2: 'Bad',\n  3: 'Meh',\n  4: 'Good',\n  5: 'Very good'\n}\n\nconst label = ref(labels[3])\nconst setLabel = (_label) => {\n  label.value = _label\n}\n</script>\n\n<template>\n  <div class="d-flex align-items-center">\n    <div class="text-body-secondary me-3">{{currentValue}} / 5</div>\n    <CRating\n      class="d-inline-flex"\n      :value="currentValue"\n      @change="(value) => setCurrentValue(value)"\n      @hover="(value) => setLabel(value ? labels[value] : labels[currentValue])"\n    />\n    <CBadge v-if="label" class="ms-3" color="dark">{{label}}</CBadge>\n  </div>\n</template>\n

Customizing

CSS variables

Vue ratings use local CSS variables on .rating for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_68 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CRating :style="vars">...</CRating>\n

SASS variables

', 3); -const _hoisted_71 = /* @__PURE__ */ createStaticVNode('

API

CRating

import { CRating } from '@coreui/vue-pro'\n// or\nimport CRating from '@coreui/vue-pro/src/components/rating/CRating'\n

Props

Prop nameDescriptionTypeValuesDefault
allow-clearEnables the clearing upon clicking the selected item again.boolean--
disabledToggle the disabled state for the component.boolean--
highlight-only-selectedIf enabled, only the currently selected icon will be visibly highlighted.boolean--
item-countSpecifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating, such as out of 5 stars, 10 stars, etc.number-5
model-valueThe default name for a value passed using v-model.number--
nameThe name attribute of the radio input elements.string--
precisionMinimum increment value change allowed.number-1
read-onlyToggle the readonly state for the component.boolean--
sizeSize the component small, large, or custom if you define custom icons with custom height.string'sm', 'lg', 'custom'-
tooltipsEnable tooltips with default values or set specific labels for each icon.boolean | string[]--
valueThe value attribute of component.number--

Events

Event nameDescriptionProperties
changeExecute a function when a user changes the selected element.value number | null - undefined
hoverExecute a function when a user hover the element.value number | null - undefined
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_64 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { ref } from 'vue'\n\nconst currentValue = ref(3)\nconst setCurrentValue = (value) => {\n  currentValue.value = value\n}\n\nconst labels = {\n  1: 'Very bad',\n  2: 'Bad',\n  3: 'Meh',\n  4: 'Good',\n  5: 'Very good'\n}\n\nconst label = ref(labels[3])\nconst setLabel = (_label) => {\n  label.value = _label\n}\n</script>\n\n<template>\n  <div class="d-flex align-items-center">\n    <div class="text-body-secondary me-3">{{currentValue}} / 5</div>\n    <CRating\n      class="d-inline-flex"\n      :value="currentValue"\n      @change="(value) => setCurrentValue(value)"\n      @hover="(value) => setLabel(value ? labels[value] : labels[currentValue])"\n    />\n    <CBadge v-if="label" class="ms-3" color="dark">{{label}}</CBadge>\n  </div>\n</template>\n

Customizing #

CSS variables #

Vue ratings use local CSS variables on .rating for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_68 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CRating :style="vars">...</CRating>\n

SASS variables #

', 3); +const _hoisted_71 = /* @__PURE__ */ createStaticVNode('

API #

CRating #

import { CRating } from '@coreui/vue-pro'\n// or\nimport CRating from '@coreui/vue-pro/src/components/rating/CRating'\n

Props #

Prop nameDescriptionTypeValuesDefault
allow-clearEnables the clearing upon clicking the selected item again.boolean--
disabledToggle the disabled state for the component.boolean--
highlight-only-selectedIf enabled, only the currently selected icon will be visibly highlighted.boolean--
item-countSpecifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating, such as out of 5 stars, 10 stars, etc.number-5
model-valueThe default name for a value passed using v-model.number--
nameThe name attribute of the radio input elements.string--
precisionMinimum increment value change allowed.number-1
read-onlyToggle the readonly state for the component.boolean--
sizeSize the component small, large, or custom if you define custom icons with custom height.string'sm', 'lg', 'custom'-
tooltipsEnable tooltips with default values or set specific labels for each icon.boolean | string[]--
valueThe value attribute of component.number--

Events #

Event nameDescriptionProperties
changeExecute a function when a user changes the selected element.value number | null - undefined
hoverExecute a function when a user hover the element.value number | null - undefined
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CRating = resolveComponent("CRating"); const _component_CButton = resolveComponent("CButton"); diff --git a/vue/docs/assets/sass.html-DHfDOQ32.js b/vue/docs/assets/sass.html-DHfDOQ32.js deleted file mode 100644 index 2ffac2cea1a..00000000000 --- a/vue/docs/assets/sass.html-DHfDOQ32.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Utilize our source Sass files to take advantage of variables, maps, mixins, and more.

File structure

Whenever possible, avoid modifying CoreUI's core files. For Sass, that means creating your own stylesheet that imports CoreUI for Bootstrap so you can modify and extend it. Assuming you're using a package manager like npm, you'll have a file structure that looks like this:

your-project/\n├── scss\n│   └── custom.scss\n└── node_modules/\n    └── @coreui/coreui\n        ├── js\n        └── scss\n

If you've downloaded our source files and aren't using a package manager, you'll want to manually create something similar to that structure, keeping CoreUI's source files separate from your own.

your-project/\n├── scss\n│   └── custom.scss\n└── @coreui/coreui/\n    ├── js\n    └── scss\n

Importing

In your custom.scss, you'll import CoreUI's source Sass files. You have two options: include all of CoreUI, or pick the parts you need. We encourage the latter, though be aware there are some requirements and dependencies across our components. You also will need to include some JavaScript for our plugins.

// Custom.scss\n// Option A: Include all of CoreUI\n\n@import "../node_modules/@coreui/coreui/scss/coreui";\n\n// Then add additional custom code here\n
// Custom.scss\n// Option B: Include parts of CoreUI\n\n// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)\n@import "../node_modules/@coreui/coreui/scss/functions";\n\n// 2. Include any default variable overrides here\n\n// 3. Include remainder of required CoreUI stylesheets\n@import "../node_modules/@coreui/coreui/scss/variables";\n\n// 4. Include any default map overrides here\n\n// 5. Include remainder of required parts\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n// 6. Optionally include any other parts as needed\n@import "../node_modules/@coreui/coreui/scss/utilities";\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n@import "../node_modules/@coreui/coreui/scss/images";\n@import "../node_modules/@coreui/coreui/scss/containers";\n@import "../node_modules/@coreui/coreui/scss/grid";\n@import "../node_modules/@coreui/coreui/scss/helpers";\n\n// 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`\n@import "../node_modules/@coreui/coreui/scss/utilities/api";\n\n// 8. Add additional custom code here\n

With that setup in place, you can begin to modify any of the Sass variables and maps in your custom.scss. You can also start to add parts of CoreUI for Bootstrap under the // Optional section as needed. We suggest using the full import stack from our coreui.scss file as your starting point.

Variable defaults

Every Sass variable in CoreUI for Bootstrap includes the !default flag allowing you to override the variable's default value in your own Sass without modifying CoreUI's source code. Copy and paste variables as needed, modify their values, and remove the !default flag. If a variable has already been assigned, then it won't be re-assigned by the default values in Bootstrap.

You will find the complete list of CoreUI's variables in @coreui/coreui/scss/_variables.scss. Some variables are set to null, these variables don't output the property unless they are overridden in your configuration.

Variable overrides must come after our functions are imported, but before the rest of the imports.

Here's an example that changes the background-color and color for the <body> when importing and compiling CoreUI for Bootstrap via npm:

// Required\n@import "../node_modules/@coreui/coreui/scss/functions";\n\n// Default variable overrides\n$body-bg: #000;\n$body-color: #111;\n\n// Required\n@import "../node_modules/@coreui/coreui/scss/variables";\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n// Optional CoreUI components here\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n// etc\n

Repeat as necessary for any variable in CoreUI, including the global options below.

Maps and loops

CoreUI for Bootstrap includes a handful of Sass maps, key value pairs that make it easier to generate families of related CSS. We use Sass maps for our colors, grid breakpoints, and more. Just like Sass variables, all Sass maps include the !default flag and can be overridden and extended.

Some of our Sass maps are merged into empty ones by default. This is done to allow easy expansion of a given Sass map, but comes at the cost of making removing items from a map slightly more difficult.

Modify map

All variables in the $theme-colors map are defined as standalone variables. To modify an existing color in our $theme-colors map, add the following to your custom Sass file:

$primary: #0074d9;\n$danger: #ff4136;\n

Later on, these variables are set in CoreUI's $theme-colors map:

$theme-colors: (\n  "primary": $primary,\n  "danger": $danger\n);\n

Add to map

Add new colors to $theme-colors, or any other map, by creating a new Sass map with your custom values and merging it with the original map. In this case, we'll create a new $custom-colors map and merge it with $theme-colors.

// Create your own map\n$custom-colors: (\n  "custom-color": #900\n);\n\n// Merge the maps\n$theme-colors: map-merge($theme-colors, $custom-colors);\n

Remove from map

To remove colors from $theme-colors, or any other map, use map-remove. Be aware you must insert it between our requirements and options:

// Required\n@import "../node_modules/@coreui/coreui/scss/functions";\n@import "../node_modules/@coreui/coreui/scss/variables";\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n$theme-colors: map-remove($theme-colors, "info", "light", "dark");\n\n// Optional\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n// etc\n

Required keys

CoreUI for Bootstrap assumes the presence of some specific keys within Sass maps as we used and extend these ourselves. As you customize the included maps, you may encounter errors where a specific Sass map's key is being used.

For example, we use the primary, success, and danger keys from $theme-colors for links, buttons, and form states. Replacing the values of these keys should present no issues, but removing them may cause Sass compilation issues. In these instances, you'll need to modify the Sass code that makes use of those values.

Functions

Colors

Next to the Sass maps we have, theme colors can also be used as standalone variables, like $primary.

.custom-element {\n  color: $gray-100;\n  background-color: $dark;\n}\n

You can lighten or darken colors with CoreUI's tint-color() and shade-color() functions. These functions will mix colors with black or white, unlike Sass' native lighten() and darken() functions which will change the lightness by a fixed amount, which often doesn't lead to the desired effect.

// Tint a color: mix a color with white\n@function tint-color($color, $weight) {\n  @return mix(white, $color, $weight);\n}\n\n// Shade a color: mix a color with black\n@function shade-color($color, $weight) {\n  @return mix(black, $color, $weight);\n}\n\n// Shade the color if the weight is positive, else tint it\n@function shift-color($color, $weight) {\n  @return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));\n}\n

In practice, you'd call the function and pass in the color and weight parameters.

.custom-element {\n  color: tint-color($primary, 10%);\n}\n\n.custom-element-2 {\n  color: shade-color($danger, 30%);\n}\n

Color contrast

In order to meet the Web Content Accessibility Guidelines (WCAG) contrast requirements, authors must provide a minimum text color contrast of 4.5:1 and a minimum non-text color contrast of 3:1, with very few exceptions.

An additional function we include in CoreUI for Bootstrap is the color contrast function, color-contrast. It utilizes the WCAG 2.0 algorithm for calculating contrast thresholds based on relative luminance in a sRGB colorspace to automatically return a light (#fff), dark (#212529) or black (#000) contrast color based on the specified base color. This function is especially useful for mixins or loops where you're generating multiple classes.

For example, to generate color swatches from our $theme-colors map:

@each $color, $value in $theme-colors {\n  .swatch-#{$color} {\n    color: color-contrast($value);\n  }\n}\n

It can also be used for one-off contrast needs:

.custom-element {\n  color: color-contrast(#000); // returns `color: #fff`\n}\n

You can also specify a base color with our color map functions:

.custom-element {\n  color: color-contrast($dark); // returns `color: #fff`\n}\n

Escape SVG

We use the escape-svg function to escape the <, > and # characters for SVG background images. When using the escape-svg function, data URIs must be quoted.

Add and Subtract functions

We use the add and subtract functions to wrap the CSS calc function. The primary purpose of these functions is to avoid errors when a "unitless" 0 value is passed into a calc expression. Expressions like calc(10px - 0) will return an error in all browsers, despite being mathematically correct.

Example where the calc is valid:

$border-radius: .25rem;\n$border-width: 1px;\n\n.element {\n  // Output calc(.25rem - 1px) is valid\n  border-radius: calc($border-radius - $border-width);\n}\n\n.element {\n  // Output the same calc(.25rem - 1px) as above\n  border-radius: subtract($border-radius, $border-width);\n}\n

Example where the calc is invalid:

$border-radius: .25rem;\n$border-width: 0;\n\n.element {\n  // Output calc(.25rem - 0) is invalid\n  border-radius: calc($border-radius - $border-width);\n}\n\n.element {\n  // Output .25rem\n  border-radius: subtract($border-radius, $border-width);\n}\n

Mixins

Our @coreui/coreui/scss/mixins/ directory has a ton of mixins that power parts of CoreUI and can also be used across your own project.

Color schemes

A shorthand mixin for the prefers-color-scheme media query is available with support for light, dark, and custom color schemes.

@mixin color-scheme($name) {\n  @media (prefers-color-scheme: #{$name}) {\n    @content;\n  }\n}\n
.custom-element {\n  @include color-scheme(dark) {\n    // Insert dark mode styles here\n  }\n\n  @include color-scheme(custom-named-scheme) {\n    // Insert custom color scheme styles here\n  }\n}\n
', 66); -const _hoisted_67 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_67); -} -const sass_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "sass.html.vue"]]); -const data = JSON.parse('{"path":"/customize/sass.html","title":"Sass","lang":"en-US","frontmatter":{"title":"Sass","name":"Sass","description":"Utilize our source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project.","menu":"customize","route":"/customize/sass","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/customize/sass.html"}]]},"headers":[{"level":2,"title":"File structure","slug":"file-structure","link":"#file-structure","children":[]},{"level":2,"title":"Importing","slug":"importing","link":"#importing","children":[]},{"level":2,"title":"Variable defaults","slug":"variable-defaults","link":"#variable-defaults","children":[]},{"level":2,"title":"Maps and loops","slug":"maps-and-loops","link":"#maps-and-loops","children":[{"level":3,"title":"Modify map","slug":"modify-map","link":"#modify-map","children":[]},{"level":3,"title":"Add to map","slug":"add-to-map","link":"#add-to-map","children":[]},{"level":3,"title":"Remove from map","slug":"remove-from-map","link":"#remove-from-map","children":[]}]},{"level":2,"title":"Required keys","slug":"required-keys","link":"#required-keys","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[{"level":3,"title":"Colors","slug":"colors","link":"#colors","children":[]},{"level":3,"title":"Color contrast","slug":"color-contrast","link":"#color-contrast","children":[]},{"level":3,"title":"Escape SVG","slug":"escape-svg","link":"#escape-svg","children":[]},{"level":3,"title":"Add and Subtract functions","slug":"add-and-subtract-functions","link":"#add-and-subtract-functions","children":[]}]},{"level":2,"title":"Mixins","slug":"mixins","link":"#mixins","children":[{"level":3,"title":"Color schemes","slug":"color-schemes","link":"#color-schemes","children":[]}]}],"filePathRelative":"customize/sass.md"}'); -export { - sass_html as comp, - data -}; diff --git a/vue/docs/assets/sass.html-QPkiTP49.js b/vue/docs/assets/sass.html-QPkiTP49.js new file mode 100644 index 00000000000..cfb72287767 --- /dev/null +++ b/vue/docs/assets/sass.html-QPkiTP49.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Utilize our source Sass files to take advantage of variables, maps, mixins, and more.

File structure #

Whenever possible, avoid modifying CoreUI's core files. For Sass, that means creating your own stylesheet that imports CoreUI for Bootstrap so you can modify and extend it. Assuming you're using a package manager like npm, you'll have a file structure that looks like this:

your-project/\n├── scss\n│   └── custom.scss\n└── node_modules/\n    └── @coreui/coreui\n        ├── js\n        └── scss\n

If you've downloaded our source files and aren't using a package manager, you'll want to manually create something similar to that structure, keeping CoreUI's source files separate from your own.

your-project/\n├── scss\n│   └── custom.scss\n└── @coreui/coreui/\n    ├── js\n    └── scss\n

Importing #

In your custom.scss, you'll import CoreUI's source Sass files. You have two options: include all of CoreUI, or pick the parts you need. We encourage the latter, though be aware there are some requirements and dependencies across our components. You also will need to include some JavaScript for our plugins.

// Custom.scss\n// Option A: Include all of CoreUI\n\n@import "../node_modules/@coreui/coreui/scss/coreui";\n\n// Then add additional custom code here\n
// Custom.scss\n// Option B: Include parts of CoreUI\n\n// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)\n@import "../node_modules/@coreui/coreui/scss/functions";\n\n// 2. Include any default variable overrides here\n\n// 3. Include remainder of required CoreUI stylesheets\n@import "../node_modules/@coreui/coreui/scss/variables";\n\n// 4. Include any default map overrides here\n\n// 5. Include remainder of required parts\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n// 6. Optionally include any other parts as needed\n@import "../node_modules/@coreui/coreui/scss/utilities";\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n@import "../node_modules/@coreui/coreui/scss/images";\n@import "../node_modules/@coreui/coreui/scss/containers";\n@import "../node_modules/@coreui/coreui/scss/grid";\n@import "../node_modules/@coreui/coreui/scss/helpers";\n\n// 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`\n@import "../node_modules/@coreui/coreui/scss/utilities/api";\n\n// 8. Add additional custom code here\n

With that setup in place, you can begin to modify any of the Sass variables and maps in your custom.scss. You can also start to add parts of CoreUI for Bootstrap under the // Optional section as needed. We suggest using the full import stack from our coreui.scss file as your starting point.

Variable defaults #

Every Sass variable in CoreUI for Bootstrap includes the !default flag allowing you to override the variable's default value in your own Sass without modifying CoreUI's source code. Copy and paste variables as needed, modify their values, and remove the !default flag. If a variable has already been assigned, then it won't be re-assigned by the default values in Bootstrap.

You will find the complete list of CoreUI's variables in @coreui/coreui/scss/_variables.scss. Some variables are set to null, these variables don't output the property unless they are overridden in your configuration.

Variable overrides must come after our functions are imported, but before the rest of the imports.

Here's an example that changes the background-color and color for the <body> when importing and compiling CoreUI for Bootstrap via npm:

// Required\n@import "../node_modules/@coreui/coreui/scss/functions";\n\n// Default variable overrides\n$body-bg: #000;\n$body-color: #111;\n\n// Required\n@import "../node_modules/@coreui/coreui/scss/variables";\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n// Optional CoreUI components here\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n// etc\n

Repeat as necessary for any variable in CoreUI, including the global options below.

Maps and loops #

CoreUI for Bootstrap includes a handful of Sass maps, key value pairs that make it easier to generate families of related CSS. We use Sass maps for our colors, grid breakpoints, and more. Just like Sass variables, all Sass maps include the !default flag and can be overridden and extended.

Some of our Sass maps are merged into empty ones by default. This is done to allow easy expansion of a given Sass map, but comes at the cost of making removing items from a map slightly more difficult.

Modify map #

All variables in the $theme-colors map are defined as standalone variables. To modify an existing color in our $theme-colors map, add the following to your custom Sass file:

$primary: #0074d9;\n$danger: #ff4136;\n

Later on, these variables are set in CoreUI's $theme-colors map:

$theme-colors: (\n  "primary": $primary,\n  "danger": $danger\n);\n

Add to map #

Add new colors to $theme-colors, or any other map, by creating a new Sass map with your custom values and merging it with the original map. In this case, we'll create a new $custom-colors map and merge it with $theme-colors.

// Create your own map\n$custom-colors: (\n  "custom-color": #900\n);\n\n// Merge the maps\n$theme-colors: map-merge($theme-colors, $custom-colors);\n

Remove from map #

To remove colors from $theme-colors, or any other map, use map-remove. Be aware you must insert it between our requirements and options:

// Required\n@import "../node_modules/@coreui/coreui/scss/functions";\n@import "../node_modules/@coreui/coreui/scss/variables";\n@import "../node_modules/@coreui/coreui/scss/maps";\n@import "../node_modules/@coreui/coreui/scss/mixins";\n@import "../node_modules/@coreui/coreui/scss/root";\n\n$theme-colors: map-remove($theme-colors, "info", "light", "dark");\n\n// Optional\n@import "../node_modules/@coreui/coreui/scss/reboot";\n@import "../node_modules/@coreui/coreui/scss/type";\n// etc\n

Required keys #

CoreUI for Bootstrap assumes the presence of some specific keys within Sass maps as we used and extend these ourselves. As you customize the included maps, you may encounter errors where a specific Sass map's key is being used.

For example, we use the primary, success, and danger keys from $theme-colors for links, buttons, and form states. Replacing the values of these keys should present no issues, but removing them may cause Sass compilation issues. In these instances, you'll need to modify the Sass code that makes use of those values.

Functions #

Colors #

Next to the Sass maps we have, theme colors can also be used as standalone variables, like $primary.

.custom-element {\n  color: $gray-100;\n  background-color: $dark;\n}\n

You can lighten or darken colors with CoreUI's tint-color() and shade-color() functions. These functions will mix colors with black or white, unlike Sass' native lighten() and darken() functions which will change the lightness by a fixed amount, which often doesn't lead to the desired effect.

// Tint a color: mix a color with white\n@function tint-color($color, $weight) {\n  @return mix(white, $color, $weight);\n}\n\n// Shade a color: mix a color with black\n@function shade-color($color, $weight) {\n  @return mix(black, $color, $weight);\n}\n\n// Shade the color if the weight is positive, else tint it\n@function shift-color($color, $weight) {\n  @return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));\n}\n

In practice, you'd call the function and pass in the color and weight parameters.

.custom-element {\n  color: tint-color($primary, 10%);\n}\n\n.custom-element-2 {\n  color: shade-color($danger, 30%);\n}\n

Color contrast #

In order to meet the Web Content Accessibility Guidelines (WCAG) contrast requirements, authors must provide a minimum text color contrast of 4.5:1 and a minimum non-text color contrast of 3:1, with very few exceptions.

An additional function we include in CoreUI for Bootstrap is the color contrast function, color-contrast. It utilizes the WCAG 2.0 algorithm for calculating contrast thresholds based on relative luminance in a sRGB colorspace to automatically return a light (#fff), dark (#212529) or black (#000) contrast color based on the specified base color. This function is especially useful for mixins or loops where you're generating multiple classes.

For example, to generate color swatches from our $theme-colors map:

@each $color, $value in $theme-colors {\n  .swatch-#{$color} {\n    color: color-contrast($value);\n  }\n}\n

It can also be used for one-off contrast needs:

.custom-element {\n  color: color-contrast(#000); // returns `color: #fff`\n}\n

You can also specify a base color with our color map functions:

.custom-element {\n  color: color-contrast($dark); // returns `color: #fff`\n}\n

Escape SVG #

We use the escape-svg function to escape the <, > and # characters for SVG background images. When using the escape-svg function, data URIs must be quoted.

Add and Subtract functions #

We use the add and subtract functions to wrap the CSS calc function. The primary purpose of these functions is to avoid errors when a "unitless" 0 value is passed into a calc expression. Expressions like calc(10px - 0) will return an error in all browsers, despite being mathematically correct.

Example where the calc is valid:

$border-radius: .25rem;\n$border-width: 1px;\n\n.element {\n  // Output calc(.25rem - 1px) is valid\n  border-radius: calc($border-radius - $border-width);\n}\n\n.element {\n  // Output the same calc(.25rem - 1px) as above\n  border-radius: subtract($border-radius, $border-width);\n}\n

Example where the calc is invalid:

$border-radius: .25rem;\n$border-width: 0;\n\n.element {\n  // Output calc(.25rem - 0) is invalid\n  border-radius: calc($border-radius - $border-width);\n}\n\n.element {\n  // Output .25rem\n  border-radius: subtract($border-radius, $border-width);\n}\n

Mixins #

Our @coreui/coreui/scss/mixins/ directory has a ton of mixins that power parts of CoreUI and can also be used across your own project.

Color schemes #

A shorthand mixin for the prefers-color-scheme media query is available with support for light, dark, and custom color schemes.

@mixin color-scheme($name) {\n  @media (prefers-color-scheme: #{$name}) {\n    @content;\n  }\n}\n
.custom-element {\n  @include color-scheme(dark) {\n    // Insert dark mode styles here\n  }\n\n  @include color-scheme(custom-named-scheme) {\n    // Insert custom color scheme styles here\n  }\n}\n
', 66); +const _hoisted_67 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_67); +} +const sass_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "sass.html.vue"]]); +const data = JSON.parse('{"path":"/customize/sass.html","title":"Sass","lang":"en-US","frontmatter":{"title":"Sass","name":"Sass","description":"Utilize our source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project.","menu":"customize","route":"/customize/sass","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/customize/sass.html"}]]},"headers":[{"level":2,"title":"File structure","slug":"file-structure","link":"#file-structure","children":[]},{"level":2,"title":"Importing","slug":"importing","link":"#importing","children":[]},{"level":2,"title":"Variable defaults","slug":"variable-defaults","link":"#variable-defaults","children":[]},{"level":2,"title":"Maps and loops","slug":"maps-and-loops","link":"#maps-and-loops","children":[{"level":3,"title":"Modify map","slug":"modify-map","link":"#modify-map","children":[]},{"level":3,"title":"Add to map","slug":"add-to-map","link":"#add-to-map","children":[]},{"level":3,"title":"Remove from map","slug":"remove-from-map","link":"#remove-from-map","children":[]}]},{"level":2,"title":"Required keys","slug":"required-keys","link":"#required-keys","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[{"level":3,"title":"Colors","slug":"colors","link":"#colors","children":[]},{"level":3,"title":"Color contrast","slug":"color-contrast","link":"#color-contrast","children":[]},{"level":3,"title":"Escape SVG","slug":"escape-svg","link":"#escape-svg","children":[]},{"level":3,"title":"Add and Subtract functions","slug":"add-and-subtract-functions","link":"#add-and-subtract-functions","children":[]}]},{"level":2,"title":"Mixins","slug":"mixins","link":"#mixins","children":[{"level":3,"title":"Color schemes","slug":"color-schemes","link":"#color-schemes","children":[]}]}],"filePathRelative":"customize/sass.md"}'); +export { + sass_html as comp, + data +}; diff --git a/vue/docs/assets/select.html-CGOG4_GI.js b/vue/docs/assets/select.html-HAuQZbve.js similarity index 84% rename from vue/docs/assets/select.html-CGOG4_GI.js rename to vue/docs/assets/select.html-HAuQZbve.js index e250003fd19..62277dc14af 100644 --- a/vue/docs/assets/select.html-CGOG4_GI.js +++ b/vue/docs/assets/select.html-HAuQZbve.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "default", @@ -7,12 +7,11 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Default "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#default", - "aria-hidden": "true" + href: "#default" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; -const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CFormSelect\n  aria-label="Default select example"\n  :options="[\n    'Open this select menu',\n    { label: 'One', value: '1' },\n    { label: 'Two', value: '2' },\n    { label: 'Three', value: '3', disabled: true }\n  ]">\n</CFormSelect>\n\n// You can also add options manually\n<CFormSelect aria-label="Default select example">\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3" disabled>Three</option>\n</CFormSelect>\n

Sizing

You may also choose from small and large custom selects to match our similarly sized text inputs.

', 3); +const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CFormSelect\n  aria-label="Default select example"\n  :options="[\n    'Open this select menu',\n    { label: 'One', value: '1' },\n    { label: 'Two', value: '2' },\n    { label: 'Three', value: '3', disabled: true }\n  ]">\n</CFormSelect>\n\n// You can also add options manually\n<CFormSelect aria-label="Default select example">\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3" disabled>Three</option>\n</CFormSelect>\n

Sizing #

You may also choose from small and large custom selects to match our similarly sized text inputs.

', 3); const _hoisted_6 = { class: "docs-example rounded-top p-4" }; const _hoisted_7 = /* @__PURE__ */ createBaseVNode("option", null, "Open this select menu", -1); const _hoisted_8 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); @@ -34,14 +33,14 @@ const _hoisted_25 = /* @__PURE__ */ createBaseVNode("option", null, "Open this s const _hoisted_26 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_27 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_28 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CFormSelect :html-size="3" multiple aria-label="size 3 select example">\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3">Three</option>\n</CFormSelect>\n

Disabled

Add the disabled boolean attribute on a select to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CFormSelect :html-size="3" multiple aria-label="size 3 select example">\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3">Three</option>\n</CFormSelect>\n

Disabled #

Add the disabled boolean attribute on a select to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_32 = { class: "docs-example rounded-top p-4" }; const _hoisted_33 = /* @__PURE__ */ createBaseVNode("option", null, "Open this select menu", -1); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("option", { value: "1" }, "One", -1); const _hoisted_35 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "Two", -1); const _hoisted_36 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); -const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CFormSelect aria-label="Disabled select example" disabled>\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3">Three</option>\n</CFormSelect>\n

Customizing

SASS variables

', 3); -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('

API

CFormSelect

import { CFormSelect } from '@coreui/vue'\n// or\nimport CFormSelect from '@coreui/vue/src/components/form/CFormSelect'\n

Props

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
html-sizeSpecifies the number of visible options in a drop-down list.number--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string | string[]--
optionsOptions list of the select component. Available keys: label, value, disabled.
Examples:
- :options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"
- :options="['js', 'html']"
Option[] | string[]--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when when a user changes the selected option of a <select> element.
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<CFormSelect aria-label="Disabled select example" disabled>\n  <option>Open this select menu</option>\n  <option value="1">One</option>\n  <option value="2">Two</option>\n  <option value="3">Three</option>\n</CFormSelect>\n

Customizing #

SASS variables #

', 3); +const _hoisted_40 = /* @__PURE__ */ createStaticVNode('

API #

CFormSelect #

import { CFormSelect } from '@coreui/vue'\n// or\nimport CFormSelect from '@coreui/vue/src/components/form/CFormSelect'\n

Props #

Prop nameDescriptionTypeValuesDefault
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
html-sizeSpecifies the number of visible options in a drop-down list.number--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string | string[]--
optionsOptions list of the select component. Available keys: label, value, disabled.
Examples:
- :options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"
- :options="['js', 'html']"
Option[] | string[]--
sizeSize the component small or large.string'sm' | 'lg'-
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when when a user changes the selected option of a <select> element.
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache) { const _component_CFormSelect = resolveComponent("CFormSelect"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/setupDevtools-HHDGOOYC-BQImv-dR.js b/vue/docs/assets/setupDevtools-HHDGOOYC-8SYwYjCZ.js similarity index 97% rename from vue/docs/assets/setupDevtools-HHDGOOYC-BQImv-dR.js rename to vue/docs/assets/setupDevtools-HHDGOOYC-8SYwYjCZ.js index e1ff5125a34..e6d7b5a93ff 100644 --- a/vue/docs/assets/setupDevtools-HHDGOOYC-BQImv-dR.js +++ b/vue/docs/assets/setupDevtools-HHDGOOYC-8SYwYjCZ.js @@ -1,4 +1,4 @@ -import { s as setupDevtoolsPlugin, w as watch } from "./app-BoHWg5jI.js"; +import { s as setupDevtoolsPlugin, w as watch } from "./app-DGOUrGv-.js"; var PLUGIN_ID = "org.vuejs.vuepress"; var PLUGIN_LABEL = "VuePress"; var PLUGIN_COMPONENT_STATE_TYPE = PLUGIN_LABEL; diff --git a/vue/docs/assets/sidebar.html-CrmBFQhh.js b/vue/docs/assets/sidebar.html-sk3JAtdU.js similarity index 92% rename from vue/docs/assets/sidebar.html-CrmBFQhh.js rename to vue/docs/assets/sidebar.html-sk3JAtdU.js index 524ceeccc1c..4b68606cce6 100644 --- a/vue/docs/assets/sidebar.html-CrmBFQhh.js +++ b/vue/docs/assets/sidebar.html-sk3JAtdU.js @@ -1,6 +1,6 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Supported content

Sidebar come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CSidebarHeader> for optional header.
  • <CSidebarBrand> for your company, product, or project name.
  • <CSidebarNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CSidebarFooter> for optional footer.
  • <CSidebarToggler> for use with our minimizer plugin.

Examples

Below is an sidebar example that is shown by default on desktop devices.

', 6); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Supported content #

Sidebar come with built-in support for a handful of sub-components. Choose from the following as needed:

  • <CSidebarHeader> for optional header.
  • <CSidebarBrand> for your company, product, or project name.
  • <CSidebarNav> for a full-height and lightweight navigation (including support for dropdowns).
  • <CSidebarFooter> for optional footer.
  • <CSidebarToggler> for use with our minimizer plugin.

Examples #

Below is an sidebar example that is shown by default on desktop devices.

', 6); const _hoisted_7 = { class: "docs-example rounded-top p-0 bg-body-secondary overflow-hidden" }; const _hoisted_8 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) @@ -14,9 +14,9 @@ const _hoisted_10 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" const _hoisted_11 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) ], -1); -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSidebar>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CoreUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n  <CSidebarFooter class="border-top">\n    <CSidebarToggler/>\n  </CSidebarFooter>\n</CSidebar>\n

Narrow sidebar

Add the narrow property to make the sidebar narrow.

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSidebar>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CoreUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n  <CSidebarFooter class="border-top">\n    <CSidebarToggler/>\n  </CSidebarFooter>\n</CSidebar>\n

Narrow sidebar #

Add the narrow property to make the sidebar narrow.

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-0 bg-body-secondary overflow-hidden" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CSidebar narrow>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/>\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/>\n    </CNavItem>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" />\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" />\n    </CNavItem>\n  </CSidebarNav>\n</CSidebar>\n

Unfoldable sidebar

Add the unfoldable property to make the sidebar narrow with unfoldable on hover.

', 3); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CSidebar narrow>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/>\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/>\n    </CNavItem>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" />\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" />\n    </CNavItem>\n  </CSidebarNav>\n</CSidebar>\n

Unfoldable sidebar #

Add the unfoldable property to make the sidebar narrow with unfoldable on hover.

', 3); const _hoisted_19 = { class: "docs-example rounded-top p-0 bg-body-secondary overflow-hidden" }; const _hoisted_20 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) @@ -30,7 +30,7 @@ const _hoisted_22 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" const _hoisted_23 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) ], -1); -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CSidebar unfoldable>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n</CSidebar>\n

Dark sidebar

Change the appearance of sidebars with the colorScheme="dark".

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CSidebar unfoldable>\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n</CSidebar>\n

Dark sidebar #

Change the appearance of sidebars with the colorScheme="dark".

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-0 bg-body-secondary overflow-hidden" }; const _hoisted_28 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) @@ -44,9 +44,9 @@ const _hoisted_30 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" const _hoisted_31 = /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon" }, [ /* @__PURE__ */ createBaseVNode("span", { class: "nav-icon-bullet" }) ], -1); -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CSidebar colorScheme="dark">\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CoreUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n  <CSidebarFooter class="border-top">\n    <CSidebarToggler/>\n  </CSidebarFooter>\n</CSidebar>\n

Placement

By default placement for sidebar components is on the left of the viewport, but you can add one of the modifier classes below.

  • placement="start" places sidebar on the left of the viewport (shown above)
  • placement="end" places sidebar on the right of the viewport

Customizing

CSS variables

Vue sidebars use local CSS variables on .sidebar and .sidebar-backdrop for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 7); -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CSidebar :style="vars">...</CSidebar>\n

SASS variables

', 3); -const _hoisted_42 = /* @__PURE__ */ createStaticVNode('

API

CSidebar

import { CSidebar } from '@coreui/vue'\n// or\nimport CSidebar from '@coreui/vue/src/components/sidebar/CSidebar'\n

Props

Prop nameDescriptionTypeValuesDefault
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', light'-
narrowMake sidebar narrow.boolean--
overlaidSet sidebar to overlaid variant.boolean--
placementComponents placement, there’s no default placement.string'start', 'end'-
positionPlace sidebar in non-static positions.string--
sizeSize the component small, large, or extra large.string--
unfoldableExpand narrowed sidebar on hover.boolean--
visibleToggle the visibility of sidebar component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
visible-changeEvent emitted after visibility of component changed.
', 7); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CSidebar colorScheme="dark">\n  <CSidebarHeader class="border-bottom">\n    <CSidebarBrand>CoreUI</CSidebarBrand>\n  </CSidebarHeader>\n  <CSidebarNav>\n    <CNavTitle>Nav Title</CNavTitle>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> Nav item\n    </CNavItem>\n    <CNavItem href="#">\n      <CIcon  customClassName="nav-icon" icon="cil-speedometer"/> With badge\n      <CBadge class="ms-auto" color="primary">NEW</CBadge>\n    </CNavItem>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavGroup>\n      <template #togglerContent>\n        <CIcon  customClassName="nav-icon" icon="cil-puzzle"/> Nav dropdown2\n      </template>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n      <CNavItem href="#">\n        <span class="nav-icon"><span class="nav-icon-bullet"></span></span> Nav dropdown item\n      </CNavItem>\n    </CNavGroup>\n    <CNavItem href="https://coreui.io">\n      <CIcon customClassName="nav-icon" icon="cil-cloud-download" /> Download CoreUI\n    </CNavItem>\n    <CNavItem href="https://coreui.io/pro/">\n      <CIcon customClassName="nav-icon" icon="cil-layers" /> Try CoreUI PRO\n    </CNavItem>\n  </CSidebarNav>\n  <CSidebarFooter class="border-top">\n    <CSidebarToggler/>\n  </CSidebarFooter>\n</CSidebar>\n

Placement #

By default placement for sidebar components is on the left of the viewport, but you can add one of the modifier classes below.

  • placement="start" places sidebar on the left of the viewport (shown above)
  • placement="end" places sidebar on the right of the viewport

Customizing #

CSS variables #

Vue sidebars use local CSS variables on .sidebar and .sidebar-backdrop for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 7); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CSidebar :style="vars">...</CSidebar>\n

SASS variables #

', 3); +const _hoisted_42 = /* @__PURE__ */ createStaticVNode('

API #

CSidebar #

import { CSidebar } from '@coreui/vue'\n// or\nimport CSidebar from '@coreui/vue/src/components/sidebar/CSidebar'\n

Props #

Prop nameDescriptionTypeValuesDefault
color-schemeSets if the color of text should be colored for a light or dark dark background.string'dark', light'-
narrowMake sidebar narrow.boolean--
overlaidSet sidebar to overlaid variant.boolean--
placementComponents placement, there’s no default placement.string'start', 'end'-
positionPlace sidebar in non-static positions.string--
sizeSize the component small, large, or extra large.string--
unfoldableExpand narrowed sidebar on hover.boolean--
visibleToggle the visibility of sidebar component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
visible-changeEvent emitted after visibility of component changed.
', 7); function _sfc_render(_ctx, _cache) { const _component_CSidebarBrand = resolveComponent("CSidebarBrand"); const _component_CSidebarHeader = resolveComponent("CSidebarHeader"); diff --git a/vue/docs/assets/smart-pagination.html-CYqfH6pM.js b/vue/docs/assets/smart-pagination.html-C0KPe66-.js similarity index 66% rename from vue/docs/assets/smart-pagination.html-CYqfH6pM.js rename to vue/docs/assets/smart-pagination.html-C0KPe66-.js index 5fa8bd51664..2a57aec8fe8 100644 --- a/vue/docs/assets/smart-pagination.html-CYqfH6pM.js +++ b/vue/docs/assets/smart-pagination.html-C0KPe66-.js @@ -1,16 +1,16 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview

React smart pagination component consists of button-like styled links, that are arranged side by side in a horizontal list.

We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. SmartPagination is built with list HTML elements so screen readers can announce the number of available links. SmartPagination also use a wrapping <nav> element to identify it as a navigation section to screen readers and other assistive technologies.

In addition, as pages likely have more than one such navigation section, SmartPagination provide a descriptive aria-label for the <nav> to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages".???

', 4); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Overview #

React smart pagination component consists of button-like styled links, that are arranged side by side in a horizontal list.

We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. SmartPagination is built with list HTML elements so screen readers can announce the number of available links. SmartPagination also use a wrapping <nav> element to identify it as a navigation section to screen readers and other assistive technologies.

In addition, as pages likely have more than one such navigation section, SmartPagination provide a descriptive aria-label for the <nav> to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages".???

', 4); const _hoisted_5 = { class: "docs-example rounded-top p-4" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="pages"\n/>\n

Sizing

Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.

', 3); +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="pages"\n/>\n

Sizing #

Fancy larger or smaller pagination? Add size="lg" or size="sm" for additional sizes.

', 3); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  size="lg"\n/>\n
', 1); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  size="sm"\n/>\n

Alignment

Change the alignment of pagination components with align="start", align="center" or align="end".

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  size="sm"\n/>\n

Alignment #

Change the alignment of pagination components with align="start", align="center" or align="end".

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  align="center"\n/>\n
', 1); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  align="end"\n/>\n

API

CSmartPagination

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/pagination/CSmartPagination'\n

Props

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 8); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CSmartPagination\n  :activePage="6"\n  :pages="10"\n  align="end"\n/>\n

API #

CSmartPagination #

import { CSmartPagination } from '@coreui/vue-pro'\n// or\nimport CSmartPagination from '@coreui/vue-pro/src/components/pagination/CSmartPagination'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignHorizontall align
@default 'start'
string-'start'
active-pageCurrent page number
@default 1
number-1
arrowsShow/hide arrows
@default true
boolean-true
dotsShow/hide dots
@default true
boolean-true
double-arrowsShow double arrows buttons
@default true
boolean-true
first-buttonThe content of 'firstButton' button
@default '«'
string-'«'
last-buttonThe content of 'lastButton' button
@default '»'
string-'»'
limitMaximum items number
@default 5
number-5
next-buttonThe content of 'nextButton' button
@default '›'
string-'›'
pagesNumber of pagesnumber-1000
previous-buttonThe content of 'previousButton' button
@default '‹'
string-'‹'
sizeSize of pagination, valid values: 'sm', 'lg'string--

Events #

Event nameDescriptionProperties
active-page-changeOn active page change callback.
', 8); function _sfc_render(_ctx, _cache) { const _component_CSmartPagination = resolveComponent("CSmartPagination"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/smart-table.html-DMqyM7wC.js b/vue/docs/assets/smart-table.html-CuXPF5Vb.js similarity index 52% rename from vue/docs/assets/smart-table.html-DMqyM7wC.js rename to vue/docs/assets/smart-table.html-CuXPF5Vb.js index d6c66a7147c..97def961e5f 100644 --- a/vue/docs/assets/smart-table.html-DMqyM7wC.js +++ b/vue/docs/assets/smart-table.html-CuXPF5Vb.js @@ -1,4 +1,541 @@ -import { a1 as defineComponent, a2 as h$1, g as ref, w as watch, a3 as cloneVNode, a4 as createPopper, k as onMounted, a5 as onUnmounted, a6 as onUpdated, a7 as nextTick, a8 as inject, a9 as computed, aa as provide, ab as onBeforeUnmount, _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode, t as toDisplayString, F as Fragment, j as renderList } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, V as createBlock, e as withCtx, b as createBaseVNode, d as createVNode, f as createTextVNode, t as toDisplayString, c as createElementBlock, F as Fragment, h as renderList, a0 as defineComponent, a1 as h$1, w as watch, a2 as cloneVNode, a3 as createPopper, i as onMounted, a4 as onUnmounted, a5 as onUpdated, a6 as nextTick, a7 as inject, a8 as computed, a9 as provide, aa as onBeforeUnmount, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main$8 = { + __name: "BasicUsage", + setup(__props, { expose: __expose }) { + __expose(); + const details = ref([]); + const columns = [ + { + key: "avatar", + label: "", + filter: false, + sorter: false + }, + { + key: "name", + _style: { width: "20%" } + }, + "registered", + { + key: "role", + _style: { width: "20%" } + }, + { + key: "status", + _style: { width: "20%" } + }, + { + key: "show_details", + label: "", + _style: { width: "1%" }, + filter: false, + sorter: false + } + ]; + const items = [ + { + id: 1, + name: "Samppa Nori", + avatar: "1.jpg", + registered: "2022/01/01", + role: "Member", + status: "Active" + }, + { + id: 2, + name: "Estavan Lykos", + avatar: "2.jpg", + registered: "2022/02/07", + role: "Staff", + status: "Banned" + }, + { + id: 3, + name: "Chetan Mohamed", + avatar: "3.jpg", + registered: "2022/02/07", + role: "Admin", + status: "Inactive", + _selected: true + }, + { + id: 4, + name: "Derick Maximinus", + avatar: "4.jpg", + registered: "2022/03/19", + role: "Member", + status: "Pending" + }, + { + id: 5, + name: "Friderik Dávid", + avatar: "5.jpg", + registered: "2022/01/21", + role: "Staff", + status: "Active" + }, + { + id: 6, + name: "Yiorgos Avraamu", + avatar: "6.jpg", + registered: "2022/01/01", + role: "Member", + status: "Active" + }, + { + id: 7, + name: "Avram Tarasios", + avatar: "7.jpg", + registered: "2022/02/07", + role: "Staff", + status: "Banned", + _selected: true + }, + { + id: 8, + name: "Quintin Ed", + avatar: "8.jpg", + registered: "2022/02/07", + role: "Admin", + status: "Inactive" + }, + { + id: 9, + name: "Enéas Kwadwo", + avatar: "9.jpg", + registered: "2022/03/19", + role: "Member", + status: "Pending" + }, + { + id: 10, + name: "Agapetus Tadeáš", + avatar: "10.jpg", + registered: "2022/01/21", + role: "Staff", + status: "Active" + }, + { + id: 11, + name: "Carwyn Fachtna", + avatar: "11.jpg", + registered: "2022/01/01", + role: "Member", + status: "Active" + }, + { + id: 12, + name: "Nehemiah Tatius", + avatar: "12.jpg", + registered: "2022/02/07", + role: "Staff", + status: "Banned", + _selected: true + }, + { + id: 13, + name: "Ebbe Gemariah", + avatar: "13.jpg", + registered: "2022/02/07", + role: "Admin", + status: "Inactive" + }, + { + id: 14, + name: "Eustorgios Amulius", + avatar: "14.jpg", + registered: "2022/03/19", + role: "Member", + status: "Pending" + }, + { + id: 15, + name: "Leopold Gáspár", + avatar: "15.jpg", + registered: "2022/01/21", + role: "Staff", + status: "Active" + } + ]; + const getBadge = (status) => { + switch (status) { + case "Active": + return "success"; + case "Inactive": + return "secondary"; + case "Pending": + return "warning"; + case "Banned": + return "danger"; + } + }; + const toggleDetails = (item) => { + if (details.value.includes(item._id)) { + details.value = details.value.filter((_item) => _item !== item._id); + return; + } + details.value.push(item._id); + }; + const __returned__ = { details, columns, items, getBadge, toggleDetails, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +const _hoisted_1$1 = { class: "py-2" }; +const _hoisted_2 = { class: "text-muted" }; +function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CAvatar = resolveComponent("CAvatar"); + const _component_CBadge = resolveComponent("CBadge"); + const _component_CButton = resolveComponent("CButton"); + const _component_CCardBody = resolveComponent("CCardBody"); + const _component_CCollapse = resolveComponent("CCollapse"); + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + clickableRows: "", + tableProps: { + striped: true, + hover: true + }, + activePage: 2, + footer: "", + header: "", + items: $setup.items, + columns: $setup.columns, + columnFilter: "", + tableFilter: "", + cleaner: "", + itemsPerPageSelect: "", + itemsPerPage: 5, + columnSorter: "", + sorterValue: { column: "status", state: "asc" }, + pagination: "" + }, { + avatar: withCtx(({ item }) => [ + createBaseVNode("td", null, [ + createVNode(_component_CAvatar, { + src: _ctx.$withBase(`/images/avatars/${item.avatar}`) + }, null, 8, ["src"]) + ]) + ]), + status: withCtx(({ item }) => [ + createBaseVNode("td", null, [ + createVNode(_component_CBadge, { + color: $setup.getBadge(item.status) + }, { + default: withCtx(() => [ + createTextVNode(toDisplayString(item.status), 1) + ]), + _: 2 + }, 1032, ["color"]) + ]) + ]), + show_details: withCtx(({ item, index }) => [ + createBaseVNode("td", _hoisted_1$1, [ + createVNode(_component_CButton, { + color: "primary", + variant: "outline", + square: "", + size: "sm", + onClick: ($event) => $setup.toggleDetails(item, index) + }, { + default: withCtx(() => [ + createTextVNode(toDisplayString(Boolean(item._toggled) ? "Hide" : "Show"), 1) + ]), + _: 2 + }, 1032, ["onClick"]) + ]) + ]), + details: withCtx(({ item }) => [ + createVNode(_component_CCollapse, { + visible: $setup.details.includes(item._id) + }, { + default: withCtx(() => [ + createVNode(_component_CCardBody, null, { + default: withCtx(() => [ + createBaseVNode("h4", null, toDisplayString(item.username), 1), + createBaseVNode("p", _hoisted_2, "User since: " + toDisplayString(item.registered), 1), + createVNode(_component_CButton, { + size: "sm", + color: "info", + class: "" + }, { + default: withCtx(() => [ + createTextVNode(" User Settings ") + ]), + _: 1 + }), + createVNode(_component_CButton, { + size: "sm", + color: "danger", + class: "ml-1" + }, { + default: withCtx(() => [ + createTextVNode(" Delete ") + ]), + _: 1 + }) + ]), + _: 2 + }, 1024) + ]), + _: 2 + }, 1032, ["visible"]) + ]), + _: 1 + }); +} +const BasicUsage = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__file", "BasicUsage.vue"]]); +const _sfc_main$7 = { + __name: "ColumnNames", + setup(__props, { expose: __expose }) { + __expose(); + const items = [ + { name: "John Doe", registered: "2018/01/01", role: "Guest", status: "Pending" }, + { + name: "Samppa Nori", + registered: "2018/01/01", + role: "Member", + status: "Active", + _props: { color: "primary", align: "middle" } + }, + { + name: "Estavan Lykos", + registered: "2018/02/01", + role: "Staff", + status: "Banned", + _cellProps: { all: { class: "fw-semibold" }, name: { color: "info" } } + }, + { name: "Chetan Mohamed", registered: "2018/02/01", role: "Admin", status: "Inactive" }, + { name: "Derick Maximinus", registered: "2018/03/01", role: "Member", status: "Pending" }, + { name: "Friderik Dávid", registered: "2018/01/21", role: "Staff", status: "Active" }, + { name: "Yiorgos Avraamu", registered: "2018/01/01", role: "Member", status: "Active" }, + { + name: "Avram Tarasios", + registered: "2018/02/01", + role: "Staff", + status: "Banned", + _props: { color: "warning", align: "middle" } + }, + { name: "Quintin Ed", registered: "2018/02/01", role: "Admin", status: "Inactive" }, + { name: "Enéas Kwadwo", registered: "2018/03/01", role: "Member", status: "Pending" }, + { name: "Agapetus Tadeáš", registered: "2018/01/21", role: "Staff", status: "Active" }, + { name: "Carwyn Fachtna", registered: "2018/01/01", role: "Member", status: "Active" }, + { name: "Nehemiah Tatius", registered: "2018/02/01", role: "Staff", status: "Banned" }, + { name: "Ebbe Gemariah", registered: "2018/02/01", role: "Admin", status: "Inactive" }, + { name: "Eustorgios Amulius", registered: "2018/03/01", role: "Member", status: "Pending" }, + { name: "Leopold Gáspár", registered: "2018/01/21", role: "Staff", status: "Active" }, + { name: "Pompeius René", registered: "2018/01/01", role: "Member", status: "Active" }, + { name: "Paĉjo Jadon", registered: "2018/02/01", role: "Staff", status: "Banned" }, + { name: "Micheal Mercurius", registered: "2018/02/01", role: "Admin", status: "Inactive" }, + { name: "Ganesha Dubhghall", registered: "2018/03/01", role: "Member", status: "Pending" }, + { name: "Hiroto Šimun", registered: "2018/01/21", role: "Staff", status: "Active" }, + { name: "Vishnu Serghei", registered: "2018/01/01", role: "Member", status: "Active" }, + { name: "Zbyněk Phoibos", registered: "2018/02/01", role: "Staff", status: "Banned" }, + { name: "Aulus Agmundr", registered: "2018/01/01", role: "Member", status: "Pending" }, + { name: "Ford Prefect", registered: "2001/05/25", role: "Alien", status: "Don't panic!" } + ]; + const __returned__ = { items }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + items: $setup.items, + columnFilter: "", + columnSorter: "", + pagination: "", + tableProps: { + hover: true + } + }); +} +const ColumnNames = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__file", "ColumnNames.vue"]]); +const _sfc_main$6 = { + __name: "ColumnGroups", + setup(__props, { expose: __expose }) { + __expose(); + const columns = [ + { + group: "Group 1", + children: [ + { + group: "Subgroup 1", + children: [ + { + group: "Subgroup 1A", + children: [ + { + key: "name", + _style: { width: "20%" } + }, + "registered" + ] + }, + { + group: "Subgroup 1B", + children: [{ key: "role", _style: { width: "20%" } }] + } + ] + }, + { + group: "Subgroup 2", + children: [ + { + group: "Subgroup 2A", + children: [{ key: "status", _style: { width: "20%" } }] + } + ] + } + ] + } + ]; + const items = [ + { + id: 0, + name: "John Doe", + registered: "2022/01/01", + role: "Guest", + status: "Pending" + }, + { + id: 1, + name: "Samppa Nori", + registered: "2022/01/01", + role: "Member", + status: "Active" + }, + { + id: 2, + name: "Estavan Lykos", + role: "Staff", + status: "Banned", + _cellProps: { name: { colSpan: 2 } } + }, + { + id: 3, + name: "Chetan Mohamed", + registered: "2022/02/07", + role: "Admin", + status: "Inactive" + }, + { + id: 4, + name: "Derick Maximinus", + registered: "2022/03/19", + role: "Member", + status: "Pending" + }, + { + id: 5, + name: "Friderik Dávid", + registered: "2022/01/21", + role: "Staff", + status: "Active" + } + ]; + const __returned__ = { columns, items }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + columns: $setup.columns, + columnSorter: "", + footer: "", + items: $setup.items, + tableHeadProps: { color: "light" }, + tableProps: { bordered: true } + }); +} +const ColumnGroups = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__file", "ColumnGroups.vue"]]); +const _sfc_main$5 = { + __name: "TableWithHeadersSpanningMultipleRowsOrColumns", + setup(__props, { expose: __expose }) { + __expose(); + const columnsColumnGroupsExample2 = [ + { + group: "Poster availability", + _props: { colSpan: 5 }, + children: [ + { + key: "poster", + label: "Poster name", + _props: { scope: "col" } + }, + { + key: "color", + _props: { scope: "col" } + }, + { + key: "size", + label: "Sizes available", + _props: { colSpan: 3, scope: "colgroup" }, + _style: { width: "50%" } + } + ] + } + ]; + const itemsColumnGroupsExample2 = [ + { + poster: "Zodiac", + color: "Full color", + size: ["A2", "A3", "A4"], + _cellProps: { + color: { color: "light", scope: "row" }, + poster: { color: "light", rowSpan: 3, scope: "rowgroup" } + } + }, + { + color: "Black and white", + size: ["A1", "A2", "A3"], + _cellProps: { color: { color: "light", scope: "row" } } + }, + { + color: "Sepia", + size: ["A3", "A4", "A5"], + _cellProps: { color: { color: "light", scope: "row" } } + }, + { + poster: "Angels", + color: "Black and white", + size: ["A1", "A3", "A4"], + _cellProps: { + color: { color: "light", scope: "row" }, + poster: { color: "light", rowSpan: 2, scope: "rowgroup" } + } + }, + { + color: "Sepia", + size: ["A2", "A3", "A5"], + _cellProps: { color: { color: "light", scope: "row" } } + } + ]; + const __returned__ = { columnsColumnGroupsExample2, itemsColumnGroupsExample2 }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + columns: $setup.columnsColumnGroupsExample2, + items: $setup.itemsColumnGroupsExample2, + tableHeadProps: { color: "light" }, + tableProps: { bordered: true } + }, { + size: withCtx(({ item }) => [ + (openBlock(true), createElementBlock(Fragment, null, renderList(item.size, (_item) => { + return openBlock(), createElementBlock("td", null, toDisplayString(_item), 1); + }), 256)) + ]), + _: 1 + }); +} +const TableWithHeadersSpanningMultipleRowsOrColumns = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__file", "TableWithHeadersSpanningMultipleRowsOrColumns.vue"]]); const CCloseButton = defineComponent({ name: "CCloseButton", props: { @@ -4953,928 +5490,520 @@ defineComponent({ ])); } }); -const _sfc_main = { - data() { - return { - columns: [ - { - key: "avatar", - label: "", - filter: false, - sorter: false - }, - { - key: "name", - _style: { width: "20%" } - }, - "registered", - { - key: "role", - _style: { width: "20%" } - }, - { - key: "status", - _style: { width: "20%" } - }, - { - key: "show_details", - label: "", - _style: { width: "1%" }, - filter: false, - sorter: false - } - ], - details: [], - items: [ - { - id: 1, - name: "Samppa Nori", - avatar: "1.jpg", - registered: "2022/01/01", - role: "Member", - status: "Active" - }, - { - id: 2, - name: "Estavan Lykos", - avatar: "2.jpg", - registered: "2022/02/07", - role: "Staff", - status: "Banned" - }, - { - id: 3, - name: "Chetan Mohamed", - avatar: "3.jpg", - registered: "2022/02/07", - role: "Admin", - status: "Inactive", - _selected: true - }, - { - id: 4, - name: "Derick Maximinus", - avatar: "4.jpg", - registered: "2022/03/19", - role: "Member", - status: "Pending" - }, - { - id: 5, - name: "Friderik Dávid", - avatar: "5.jpg", - registered: "2022/01/21", - role: "Staff", - status: "Active" - }, - { - id: 6, - name: "Yiorgos Avraamu", - avatar: "6.jpg", - registered: "2022/01/01", - role: "Member", - status: "Active" - }, - { - id: 7, - name: "Avram Tarasios", - avatar: "7.jpg", - registered: "2022/02/07", - role: "Staff", - status: "Banned", - _selected: true - }, - { - id: 8, - name: "Quintin Ed", - avatar: "8.jpg", - registered: "2022/02/07", - role: "Admin", - status: "Inactive" - }, - { - id: 9, - name: "Enéas Kwadwo", - avatar: "9.jpg", - registered: "2022/03/19", - role: "Member", - status: "Pending" - }, - { - id: 10, - name: "Agapetus Tadeáš", - avatar: "10.jpg", - registered: "2022/01/21", - role: "Staff", - status: "Active" - }, - { - id: 11, - name: "Carwyn Fachtna", - avatar: "11.jpg", - registered: "2022/01/01", - role: "Member", - status: "Active" - }, - { - id: 12, - name: "Nehemiah Tatius", - avatar: "12.jpg", - registered: "2022/02/07", - role: "Staff", - status: "Banned", - _selected: true - }, - { - id: 13, - name: "Ebbe Gemariah", - avatar: "13.jpg", - registered: "2022/02/07", - role: "Admin", - status: "Inactive" - }, - { - id: 14, - name: "Eustorgios Amulius", - avatar: "14.jpg", - registered: "2022/03/19", - role: "Member", - status: "Pending" - }, - { - id: 15, - name: "Leopold Gáspár", - avatar: "15.jpg", - registered: "2022/01/21", - role: "Staff", - status: "Active" - } - ], - columnsColumnGroupsExample: [ - { - group: "Group 1", - children: [ - { - group: "Subgroup 1", - children: [ - { - group: "Subgroup 1A", - children: [ - { - key: "name", - _style: { width: "20%" } - }, - "registered" - ] - }, - { - group: "Subgroup 1B", - children: [ - { key: "role", _style: { width: "20%" } } - ] +const _sfc_main$4 = { + __name: "CustomFiltersDateRangePicker", + setup(__props, { expose: __expose }) { + __expose(); + const startDate = ref(/* @__PURE__ */ new Date("2022-01-21")); + const endDate = ref(/* @__PURE__ */ new Date("2022-02-07")); + const columns = [ + { + key: "name", + _style: { width: "50%" } + }, + { + key: "registered", + _style: { width: "50%" }, + filter: (onChange) => { + return h$1(CDateRangePicker, { + size: "sm", + startDate: startDate.value, + endDate: endDate.value, + minDate: minDate.value, + maxDate: maxDate.value, + onStartDateChange: (date) => { + startDate.value = date; + onChange((item) => { + if (date) { + const itemDate = new Date(Date.parse(item)); + return endDate.value ? itemDate >= date && itemDate <= endDate.value : itemDate >= date; } - ] + return true; + }); }, - { - group: "Subgroup 2", - children: [ - { - group: "Subgroup 2A", - children: [ - { key: "status", _style: { width: "20%" } } - ] + onEndDateChange: (date) => { + endDate.value = date; + onChange((item) => { + if (date) { + const itemDate = new Date(Date.parse(item)); + return startDate.value ? itemDate <= date && itemDate >= startDate.value : itemDate <= date; } - ] - } - ] - } - ], - itemsColumnGroupsExample: [ - { - id: 0, - name: "John Doe", - registered: "2022/01/01", - role: "Guest", - status: "Pending" - }, - { - id: 1, - name: "Samppa Nori", - registered: "2022/01/01", - role: "Member", - status: "Active" - }, - { - id: 2, - name: "Estavan Lykos", - role: "Staff", - status: "Banned", - _cellProps: { name: { colSpan: 2 } } - }, - { - id: 3, - name: "Chetan Mohamed", - registered: "2022/02/07", - role: "Admin", - status: "Inactive" - }, - { - id: 4, - name: "Derick Maximinus", - registered: "2022/03/19", - role: "Member", - status: "Pending" - }, - { - id: 5, - name: "Friderik Dávid", - registered: "2022/01/21", - role: "Staff", - status: "Active" - } - ], - columnsColumnGroupsExample2: [ - { - group: "Poster availability", - _props: { colSpan: 5 }, - children: [ - { - key: "poster", - label: "Poster name", - _props: { scope: "col" } - }, - { - key: "color", - _props: { scope: "col" } - }, - { - key: "size", - label: "Sizes available", - _props: { colSpan: 3, scope: "colgroup" }, - _style: { width: "50%" } + return true; + }); } - ] + }); } - ], - itemsColumnGroupsExample2: [ - { - poster: "Zodiac", - color: "Full color", - size: ["A2", "A3", "A4"], - _cellProps: { - color: { color: "light", scope: "row" }, - poster: { color: "light", rowSpan: 3, scope: "rowgroup" } - } - }, - { - color: "Black and white", - size: ["A1", "A2", "A3"], - _cellProps: { color: { color: "light", scope: "row" } } - }, - { - color: "Sepia", - size: ["A3", "A4", "A5"], - _cellProps: { color: { color: "light", scope: "row" } } - }, - { - poster: "Angels", - color: "Black and white", - size: ["A1", "A3", "A4"], - _cellProps: { - color: { color: "light", scope: "row" }, - poster: { color: "light", rowSpan: 2, scope: "rowgroup" } - } - }, - { - color: "Sepia", - size: ["A2", "A3", "A5"], - _cellProps: { color: { color: "light", scope: "row" } } - } - ], - itemsDateRangePicker: [ - { id: 0, name: "John Doe", registered: "2022/01/01" }, - { - id: 1, - name: "Samppa Nori", - registered: "2022/01/01" - }, - { - id: 2, - name: "Estavan Lykos", - registered: "2022/02/07" - }, - { id: 3, name: "Chetan Mohamed", registered: "2022/02/07" }, - { - id: 4, - name: "Derick Maximinus", - registered: "2022/03/19" - }, - { id: 5, name: "Friderik Dávid", registered: "2022/01/21" }, - { id: 6, name: "Yiorgos Avraamu", registered: "2022/01/01" }, - { - id: 7, - name: "Avram Tarasios", - registered: "2022/02/07" - }, - { id: 8, name: "Quintin Ed", registered: "2022/02/07" }, - { id: 9, name: "Enéas Kwadwo", registered: "2022/02/19", role: "Member", status: "Pending" }, - { id: 10, name: "Agapetus Tadeáš", registered: "2022/01/21" }, - { id: 11, name: "Carwyn Fachtna", registered: "2022/01/01" }, - { id: 12, name: "Nehemiah Tatius", registered: "2022/02/07" }, - { id: 13, name: "Ebbe Gemariah", registered: "2022/02/07" }, - { - id: 14, - name: "Eustorgios Amulius", - registered: "2022/02/19" - }, - { id: 15, name: "Leopold Gáspár", registered: "2022/01/21" }, - { id: 16, name: "Pompeius René", registered: "2022/01/01" }, - { id: 17, name: "Paĉjo Jadon", registered: "2022/02/07" }, - { - id: 18, - name: "Micheal Mercurius", - registered: "2022/02/07" - }, - { - id: 19, - name: "Ganesha Dubhghall", - registered: "2022/01/19" - }, - { id: 20, name: "Hiroto Šimun", registered: "2022/01/21" }, - { id: 21, name: "Vishnu Serghei", registered: "2022/01/01" }, - { id: 22, name: "Zbyněk Phoibos", registered: "2022/02/07" }, - { - id: 23, - name: "Aulus Agmundr", - registered: "2022/01/01" - }, - { - id: 42, - name: "Ford Prefect", - registered: "2022/02/25" - } - ], - startDate: /* @__PURE__ */ new Date("2022-01-21"), - endDate: /* @__PURE__ */ new Date("2022-02-07"), - columnsDateRangePicker: [ - { - key: "name", - _style: { width: "50%" } - }, - { - key: "registered", - _style: { width: "50%" }, - filter: (values, onChange) => { - [...new Set(values)].sort(); - return h$1(CDateRangePicker, { - size: "sm", - startDate: this.startDate, - endDate: this.endDate, - minDate: this.minDate, - maxDate: this.maxDate, - onStartDateChange: (date) => { - this.setStartDate(date); - onChange((item) => { - if (date) { - const itemDate = new Date(Date.parse(item)); - return this.endDate ? itemDate >= date && itemDate <= this.endDate : itemDate >= date; - } - return true; - }); - }, - onEndDateChange: (date) => { - this.setEndDate(date); - onChange((item) => { - if (date) { - const itemDate = new Date(Date.parse(item)); - return this.startDate ? itemDate <= date && itemDate >= this.startDate : itemDate <= date; - } - return true; - }); - } - }); - } - } - ], - columnsMultiSelect: [ - { - key: "name", - _style: { width: "50%" } - }, - { - key: "role", - _style: { width: "50%" }, - filter: (values, onChange) => { - const unique = [...new Set(values)].sort(); - return h$1(CMultiSelect, { - size: "sm", - onChange: (selected) => { - const _selected = selected.map((element) => element.value); - onChange(function(item) { - return Array.isArray(_selected) && _selected.length ? _selected.includes(item.toLowerCase()) : true; - }); - }, - options: unique.map((element) => { - return { - value: element.toLowerCase(), - text: element - }; - }) - }); - }, - sorter: false - } - ], - itemsMultiSelect: [ - { id: 0, name: "John Doe", role: "Guest" }, - { - id: 1, - name: "Samppa Nori", - role: "Member" - }, - { - id: 2, - name: "Estavan Lykos", - role: "Staff" - }, - { id: 3, name: "Chetan Mohamed", role: "Admin" }, - { - id: 4, - name: "Derick Maximinus", - role: "Member" - }, - { id: 5, name: "Friderik Dávid", role: "Staff" }, - { id: 6, name: "Yiorgos Avraamu", role: "Member" }, - { - id: 7, - name: "Avram Tarasios", - role: "Staff" - }, - { id: 8, name: "Quintin Ed", role: "Admin" }, - { id: 9, name: "Enéas Kwadwo", role: "Member" }, - { id: 10, name: "Agapetus Tadeáš", role: "Staff" }, - { id: 11, name: "Carwyn Fachtna", role: "Member" }, - { id: 12, name: "Nehemiah Tatius", role: "Staff" }, - { id: 13, name: "Ebbe Gemariah", role: "Admin" }, - { - id: 14, - name: "Eustorgios Amulius", - role: "Member" - }, - { id: 15, name: "Leopold Gáspár", role: "Staff" }, - { id: 16, name: "Pompeius René", role: "Member" }, - { id: 17, name: "Paĉjo Jadon", role: "Staff" }, - { - id: 18, - name: "Micheal Mercurius", - role: "Admin" - }, - { - id: 19, - name: "Ganesha Dubhghall", - role: "Member" - }, - { id: 20, name: "Hiroto Šimun", role: "Staff" }, - { id: 21, name: "Vishnu Serghei", role: "Member" }, - { id: 22, name: "Zbyněk Phoibos", role: "Staff" }, - { - id: 23, - name: "Aulus Agmundr", - role: "Member" - }, - { - id: 42, - name: "Ford Prefect", - role: "Alien" - } - ], - activePage: 3, - columnFilter: [], - columnSorter: null, - itemsPerPage: 10, - loading: false, - loadingJSON: false, - users: [], - usersJSON: [], - records: [], - columnsExternalDataExample: [ - { - key: "first_name", - _style: { minWidth: "130px" } - }, - { - key: "last_name", - _style: { minWidth: "130px" } - }, - "email", - { - key: "country", - _style: { minWidth: "120px" } - }, - { - key: "ip_address", - label: "IP" - } - ], - columnsJSONDataExample: [ - { - key: "first_name", - _style: { minWidth: "130px" } - }, - { - key: "last_name", - _style: { minWidth: "130px" } - }, - "email", - { - key: "country", - _style: { minWidth: "120px" } - }, - { - key: "ip_address", - label: "IP" - } - ] - }; - }, - computed: { - minDate: function() { - return new Date( + } + ]; + const items = [ + { id: 0, name: "John Doe", registered: "2022/01/01" }, + { + id: 1, + name: "Samppa Nori", + registered: "2022/01/01" + }, + { + id: 2, + name: "Estavan Lykos", + registered: "2022/02/07" + }, + { id: 3, name: "Chetan Mohamed", registered: "2022/02/07" }, + { + id: 4, + name: "Derick Maximinus", + registered: "2022/03/19" + }, + { id: 5, name: "Friderik Dávid", registered: "2022/01/21" }, + { id: 6, name: "Yiorgos Avraamu", registered: "2022/01/01" }, + { + id: 7, + name: "Avram Tarasios", + registered: "2022/02/07" + }, + { id: 8, name: "Quintin Ed", registered: "2022/02/07" }, + { + id: 9, + name: "Enéas Kwadwo", + registered: "2022/02/19", + role: "Member", + status: "Pending" + }, + { id: 10, name: "Agapetus Tadeáš", registered: "2022/01/21" }, + { id: 11, name: "Carwyn Fachtna", registered: "2022/01/01" }, + { id: 12, name: "Nehemiah Tatius", registered: "2022/02/07" }, + { id: 13, name: "Ebbe Gemariah", registered: "2022/02/07" }, + { + id: 14, + name: "Eustorgios Amulius", + registered: "2022/02/19" + }, + { id: 15, name: "Leopold Gáspár", registered: "2022/01/21" }, + { id: 16, name: "Pompeius René", registered: "2022/01/01" }, + { id: 17, name: "Paĉjo Jadon", registered: "2022/02/07" }, + { + id: 18, + name: "Micheal Mercurius", + registered: "2022/02/07" + }, + { + id: 19, + name: "Ganesha Dubhghall", + registered: "2022/01/19" + }, + { id: 20, name: "Hiroto Šimun", registered: "2022/01/21" }, + { id: 21, name: "Vishnu Serghei", registered: "2022/01/01" }, + { id: 22, name: "Zbyněk Phoibos", registered: "2022/02/07" }, + { + id: 23, + name: "Aulus Agmundr", + registered: "2022/01/01" + }, + { + id: 42, + name: "Ford Prefect", + registered: "2022/02/25" + } + ]; + const minDate = computed( + () => new Date( Math.min( - ...this.itemsDateRangePicker.map((item) => { + ...items.map((item) => { return new Date(Date.parse(item.registered)); }) ) - ); - }, - maxDate: function() { - return new Date( + ) + ); + const maxDate = computed( + () => new Date( Math.max( - ...this.itemsDateRangePicker.map((item) => { + ...items.map((item) => { return new Date(Date.parse(item.registered)); }) ) - ); - } - }, - methods: { - getBadge(status) { - switch (status) { - case "Active": - return "success"; - case "Inactive": - return "secondary"; - case "Pending": - return "warning"; - case "Banned": - return "danger"; - } - }, - toggleDetails(item) { - if (this.details.includes(item._id)) { - this.details = this.details.filter((_item) => _item !== item._id); - return; - } - this.details.push(item._id); - }, - convertToDate(date) { + ) + ); + const convertToDate = (date) => { const _date = new Date(Date.parse(date)); return _date.toLocaleDateString(); + }; + const __returned__ = { startDate, endDate, columns, items, minDate, maxDate, convertToDate, computed, h: h$1, ref, get CDateRangePicker() { + return CDateRangePicker; + } }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + cleaner: "", + clickableRows: "", + columns: $setup.columns, + columnFilter: "", + columnFilterValue: { + registered: (date) => new Date(Date.parse(date)) >= $setup.startDate && new Date(Date.parse(date)) <= $setup.endDate }, - setStartDate(date) { - this.startDate = date; - }, - setEndDate(date) { - this.endDate = date; - }, - async getUsers() { - const offset = this.itemsPerPage * this.activePage - this.itemsPerPage; - let params = new URLSearchParams(); - Object.keys(this.columnFilter).forEach((key) => { - params.append(key, this.columnFilter[key]); - }); - this.columnSorter && this.columnSorter.column !== void 0 && params.append("sort", `${this.columnSorter.column}%${this.columnSorter.state}`); - this.setLoading(true); - fetch(`https://apitest.coreui.io/demos/users?offset=${offset}&limit=${this.itemsPerPage}&${params}`).then((response) => response.json()).then((result) => { - this.setRecords(result.number_of_matching_records); - result.number_of_matching_records ? this.setUsers(result.records) : this.setUsers([]); - this.setLoading(false); - }); - }, - async getUsersJSON() { - this.setLoadingJSON(true); - fetch("https://apitest.coreui.io/fake_data/users.json").then((response) => response.json()).then((result) => { - this.setUsersJSON(result); - this.setLoadingJSON(false); + columnSorter: "", + footer: "", + items: $setup.items, + itemsPerPageSelect: "", + itemsPerPage: 10, + pagination: "", + tableFilter: "" + }, { + registered: withCtx(({ item }) => [ + createBaseVNode("td", null, toDisplayString($setup.convertToDate(item.registered)), 1) + ]), + _: 1 + }, 8, ["columnFilterValue"]); +} +const CustomFiltersDateRangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "CustomFiltersDateRangePicker.vue"]]); +const _sfc_main$3 = { + __name: "CustomFiltersMultiSelect", + setup(__props, { expose: __expose }) { + __expose(); + const columns = [ + { + key: "name", + _style: { width: "50%" } + }, + { + key: "role", + _style: { width: "50%" }, + filter: (values, onChange) => { + const unique = [...new Set(values)].sort(); + return h$1(CMultiSelect, { + size: "sm", + onChange: (selected) => { + const _selected = selected.map((element) => element.value); + onChange(function(item) { + return Array.isArray(_selected) && _selected.length ? _selected.includes(item.toLowerCase()) : true; + }); + }, + options: unique.map((element) => { + return { + value: element.toLowerCase(), + text: element + }; + }) + }); + }, + sorter: false + } + ]; + const items = [ + { id: 0, name: "John Doe", role: "Guest" }, + { + id: 1, + name: "Samppa Nori", + role: "Member" + }, + { + id: 2, + name: "Estavan Lykos", + role: "Staff" + }, + { id: 3, name: "Chetan Mohamed", role: "Admin" }, + { + id: 4, + name: "Derick Maximinus", + role: "Member" + }, + { id: 5, name: "Friderik Dávid", role: "Staff" }, + { id: 6, name: "Yiorgos Avraamu", role: "Member" }, + { + id: 7, + name: "Avram Tarasios", + role: "Staff" + }, + { id: 8, name: "Quintin Ed", role: "Admin" }, + { id: 9, name: "Enéas Kwadwo", role: "Member" }, + { id: 10, name: "Agapetus Tadeáš", role: "Staff" }, + { id: 11, name: "Carwyn Fachtna", role: "Member" }, + { id: 12, name: "Nehemiah Tatius", role: "Staff" }, + { id: 13, name: "Ebbe Gemariah", role: "Admin" }, + { + id: 14, + name: "Eustorgios Amulius", + role: "Member" + }, + { id: 15, name: "Leopold Gáspár", role: "Staff" }, + { id: 16, name: "Pompeius René", role: "Member" }, + { id: 17, name: "Paĉjo Jadon", role: "Staff" }, + { + id: 18, + name: "Micheal Mercurius", + role: "Admin" + }, + { + id: 19, + name: "Ganesha Dubhghall", + role: "Member" + }, + { id: 20, name: "Hiroto Šimun", role: "Staff" }, + { id: 21, name: "Vishnu Serghei", role: "Member" }, + { id: 22, name: "Zbyněk Phoibos", role: "Staff" }, + { + id: 23, + name: "Aulus Agmundr", + role: "Member" + }, + { + id: 42, + name: "Ford Prefect", + role: "Alien" + } + ]; + const __returned__ = { columns, items, h: h$1, get CMultiSelect() { + return CMultiSelect; + } }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + cleaner: "", + clickableRows: "", + columns: $setup.columns, + columnFilter: "", + columnSorter: "", + footer: "", + items: $setup.items, + itemsPerPageSelect: "", + itemsPerPage: 10, + pagination: "", + tableFilter: "" + }); +} +const CustomFiltersMultiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__file", "CustomFiltersMultiSelect.vue"]]); +const _sfc_main$2 = { + __name: "DataSourcesExternalData", + setup(__props, { expose: __expose }) { + __expose(); + const activePage = ref(3); + const columnFilter = ref({}); + const columnSorter = ref(null); + const itemsPerPage = ref(10); + const loading = ref(false); + const records = ref(0); + const users = ref([]); + const columns = [ + { + key: "first_name", + _style: { minWidth: "130px" } + }, + { + key: "last_name", + _style: { minWidth: "130px" } + }, + "email", + { + key: "country", + _style: { minWidth: "120px" } + }, + { + key: "ip_address", + label: "IP" + } + ]; + const getUsers = async () => { + var _a; + const offset = itemsPerPage.value * (activePage.value - 1); + const params = new URLSearchParams(); + Object.entries(columnFilter.value).forEach(([key, value]) => { + params.append(key, value); }); + if ((_a = columnSorter.value) == null ? void 0 : _a.column) { + params.append("sort", `${columnSorter.value.column}%${columnSorter.value.state}`); + } + loading.value = true; + try { + const response = await fetch( + `https://apitest.coreui.io/demos/users?offset=${offset}&limit=${itemsPerPage.value}&${params.toString()}` + ); + const result = await response.json(); + records.value = result.number_of_matching_records || 0; + users.value = result.records || []; + } catch (error) { + console.error("Failed to fetch users:", error); + users.value = []; + } finally { + loading.value = false; + } + }; + onMounted(() => { + getUsers(); + }); + watch([activePage, columnFilter, itemsPerPage], getUsers); + watch(columnSorter, getUsers, { + deep: true + }); + const __returned__ = { activePage, columnFilter, columnSorter, itemsPerPage, loading, records, users, columns, getUsers, onMounted, ref, watch }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + columns: $setup.columns, + columnFilter: { external: true }, + columnSorter: { external: true }, + items: $setup.users, + itemsPerPage: $setup.itemsPerPage, + itemsPerPageSelect: "", + loading: $setup.loading, + pagination: { external: true }, + paginationProps: { + activePage: $setup.activePage, + pages: Math.ceil($setup.records / $setup.itemsPerPage) || 1 }, - setActivePage(activePage) { - this.activePage = activePage; - }, - setColumnFilter(columnFilter) { - this.columnFilter = columnFilter; - }, - setColumnSorter(columnSorter) { - this.columnSorter = columnSorter; - }, - setItemsPerPage(itemsPerPage) { - this.itemsPerPage = itemsPerPage; - }, - setLoading(loading) { - this.loading = loading; - }, - setLoadingJSON(loading) { - this.loadingJSON = loading; - }, - setRecords(records) { - this.records = records; - }, - setUsers(users) { - this.users = users; - }, - setUsersJSON(users) { - this.usersJSON = users; - } - }, - watch: { - activePage() { - this.getUsers(); - }, - columnFilter() { - this.getUsers(); + tableProps: { + hover: true, + responsive: true }, - columnSorter: { - handler() { - this.getUsers(); + onActivePageChange: _cache[0] || (_cache[0] = (_activePage) => { + $setup.activePage = _activePage; + }), + onColumnFilterChange: _cache[1] || (_cache[1] = (filter) => { + $setup.activePage = 1; + $setup.columnFilter = filter; + }), + onItemsPerPageChange: _cache[2] || (_cache[2] = (_itemsPerPage) => { + $setup.activePage = 1; + $setup.itemsPerPage = _itemsPerPage; + }), + onSorterChange: _cache[3] || (_cache[3] = (sorter) => { + $setup.columnSorter = sorter; + }) + }, null, 8, ["items", "itemsPerPage", "loading", "paginationProps"]); +} +const DataSourcesExternalData = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__file", "DataSourcesExternalData.vue"]]); +const _sfc_main$1 = { + __name: "DataSourcesJSON", + setup(__props, { expose: __expose }) { + __expose(); + const loading = ref(false); + const users = ref([]); + const columns = [ + { + key: "first_name", + _style: { minWidth: "130px" } }, - deep: true - }, - itemsPerPage() { - this.getUsers(); + { + key: "last_name", + _style: { minWidth: "130px" } + }, + "email", + { + key: "country", + _style: { minWidth: "120px" } + }, + { + key: "ip_address", + label: "IP" + } + ]; + const getUsers = async () => { + loading.value = true; + try { + const response = await fetch("https://apitest.coreui.io/fake_data/users.json"); + const result = await response.json(); + users.value = result; + } catch (error) { + console.error("Failed to fetch users:", error); + } finally { + loading.value = false; + } + }; + onMounted(() => { + getUsers(); + }); + const __returned__ = { loading, users, columns, getUsers, onMounted, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; + } +}; +function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { + const _component_CSmartTable = resolveComponent("CSmartTable"); + return openBlock(), createBlock(_component_CSmartTable, { + columns: $setup.columns, + columnFilter: "", + columnSorter: "", + items: $setup.users, + itemsPerPageSelect: "", + loading: $setup.loading, + pagination: "", + tableProps: { + hover: true, + responsive: true } - }, - mounted() { - this.getUsers(); - this.getUsersJSON(); + }, null, 8, ["items", "loading"]); +} +const DataSourcesJSON = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "DataSourcesJSON.vue"]]); +const _sfc_main = { + __name: "smart-table.html", + setup(__props, { expose: __expose }) { + __expose(); + const __returned__ = { BasicUsage, ColumnNames, ColumnGroups, TableWithHeadersSpanningMultipleRowsOrColumns, CustomFiltersDateRangePicker, CustomFiltersMultiSelect, DataSourcesExternalData, DataSourcesJSON }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Features

  • Filter items by one or all columns
  • Sort items by column
  • Integrated with CPagination component by default
  • Customize style of specific rows, columns and cells
  • Customize display of columns
  • Load with initial filters and sorter state
  • Loading state visualization
  • Default header labels generation based on column names

Basic usage

', 3); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Features #

  • Filter items by one or all columns
  • Sort items by column
  • Integrated with CPagination component by default
  • Customize style of specific rows, columns and cells
  • Customize display of columns
  • Load with initial filters and sorter state
  • Loading state visualization
  • Default header labels generation based on column names

Basic usage #

', 3); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; -const _hoisted_5 = { class: "py-2" }; -const _hoisted_6 = { class: "text-muted" }; -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    clickableRows\n    :tableProps="{\n      striped: true,\n      hover: true,\n    }"\n    :activePage="2"\n    footer\n    header\n    :items="items"\n    :columns="columns"\n    columnFilter\n    tableFilter\n    cleaner\n    itemsPerPageSelect\n    :itemsPerPage="5"\n    columnSorter\n    :sorterValue="{ column: 'status', state: 'asc' }"\n    pagination\n  >\n    <template #avatar="{item}">\n      <td>\n        <CAvatar :src="$withBase(`/images/avatars/${item.avatar}`)"/>\n      </td>\n    </template>\n    <template #status="{ item }">\n      <td>\n        <CBadge :color="getBadge(item.status)">{{ item.status }}</CBadge>\n      </td>\n    </template>\n    <template #show_details="{ item, index }">\n      <td class="py-2">\n        <CButton\n          color="primary"\n          variant="outline"\n          square\n          size="sm"\n          @click="toggleDetails(item, index)"\n        >\n          {{ Boolean(item._toggled) ? 'Hide' : 'Show' }}\n        </CButton>\n      </td>\n    </template>\n    <template #details="{ item }">\n      <CCollapse :visible="this.details.includes(item._id)">\n        <CCardBody>\n          <h4>\n            {{ item.username }}\n          </h4>\n          <p class="text-muted">User since: {{ item.registered }}</p>\n          <CButton size="sm" color="info" class=""> User Settings </CButton>\n          <CButton size="sm" color="danger" class="ml-1"> Delete </CButton>\n        </CCardBody>\n      </CCollapse>\n    </template>\n  </CSmartTable>\n</template>\n<script>\nexport default {\n  data() {\n    return {\n      columns: [\n        {\n          key: 'avatar',\n          label: '',\n          filter: false,\n          sorter: false,\n        },\n        {\n          key: 'name',\n          _style: { width: '20%' },\n        },\n        'registered',\n        { \n          key: 'role',\n          _style: { width: '20%' }\n        },\n        { \n          key: 'status',\n          _style: { width: '20%' }\n        },\n        {\n          key: 'show_details',\n          label: '',\n          _style: { width: '1%' },\n          filter: false,\n          sorter: false,\n        },\n      ],\n      details: [],\n      items: [\n        {\n          id: 1,\n          name: 'Samppa Nori',\n          avatar: '1.jpg',\n          registered: '2022/01/01',\n          role: 'Member',\n          status: 'Active',\n        },\n        {\n          id: 2,\n          name: 'Estavan Lykos',\n          avatar: '2.jpg',\n          registered: '2022/02/07',\n          role: 'Staff',\n          status: 'Banned',\n        },\n        {\n          id: 3,\n          name: 'Chetan Mohamed',\n          avatar: '3.jpg',\n          registered: '2022/02/07',\n          role: 'Admin',\n          status: 'Inactive',\n          _selected: true,\n        },\n        {\n          id: 4,\n          name: 'Derick Maximinus',\n          avatar: '4.jpg',\n          registered: '2022/03/19',\n          role: 'Member',\n          status: 'Pending',\n        },\n        {\n          id: 5,\n          name: 'Friderik Dávid',\n          avatar: '5.jpg',\n          registered: '2022/01/21',\n          role: 'Staff',\n          status: 'Active'\n        },\n        { \n          id: 6,\n          name: 'Yiorgos Avraamu',\n          avatar: '6.jpg',\n          registered: '2022/01/01',\n          role: 'Member',\n          status: 'Active'\n        },\n        {\n          id: 7,\n          name: 'Avram Tarasios',\n          avatar: '7.jpg',\n          registered: '2022/02/07',\n          role: 'Staff',\n          status: 'Banned',\n          _selected: true,\n        },\n        {\n          id: 8,\n          name: 'Quintin Ed',\n          avatar: '8.jpg',\n          registered: '2022/02/07',\n          role: 'Admin',\n          status: 'Inactive'\n        },\n        { \n          id: 9,\n          name: 'Enéas Kwadwo',\n          avatar: '9.jpg',\n          registered: '2022/03/19',\n          role: 'Member',\n          status: 'Pending'\n        },\n        { \n          id: 10,\n          name: 'Agapetus Tadeáš',\n          avatar: '10.jpg',\n          registered: '2022/01/21',\n          role: 'Staff',\n          status: 'Active'\n        },\n        { \n          id: 11,\n          name: 'Carwyn Fachtna',\n          avatar: '11.jpg',\n          registered: '2022/01/01',\n          role: 'Member',\n          status: 'Active'\n        },\n        {\n          id: 12,\n          name: 'Nehemiah Tatius',\n          avatar: '12.jpg',\n          registered: '2022/02/07',\n          role: 'Staff',\n          status: 'Banned',\n          _selected: true,\n        },\n        {\n          id: 13,\n          name: 'Ebbe Gemariah',\n          avatar: '13.jpg',\n          registered: '2022/02/07',\n          role: 'Admin',\n          status: 'Inactive'\n        },\n        {\n          id: 14,\n          name: 'Eustorgios Amulius',\n          avatar: '14.jpg',\n          registered: '2022/03/19',\n          role: 'Member',\n          status: 'Pending',\n        },\n        {\n          id: 15,\n          name: 'Leopold Gáspár',\n          avatar: '15.jpg',\n          registered: '2022/01/21',\n          role: 'Staff',\n          status: 'Active'\n        },\n      ],\n    }\n  },\n  methods: {\n    getBadge(status) {\n      switch (status) {\n        case 'Active':\n          return 'success'\n        case 'Inactive':\n          return 'secondary'\n        case 'Pending':\n          return 'warning'\n        case 'Banned':\n          return 'danger'\n        default:\n          'primary'\n      }\n    },\n    toggleDetails(item) {\n      if (this.details.includes(item._id)) {\n        this.details = this.details.filter((_item) => _item !== item._id)\n        return\n      }\n      this.details.push(item._id)\n    },\n  },\n}\n</script>\n

Column names

By default, Vue Table component will generate the header labels for each column based on the column's data source.

', 3); -const _hoisted_10 = { class: "docs-example rounded-top p-4" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    :items="items"\n    columnFilter\n    columnSorter\n    pagination\n    :tableProps="{\n      hover: true,\n    }"\n  />\n</template>\n<script>\nexport default {\n  data() {\n    return {\n      items: [\n        { name: 'John Doe', registered: '2018/01/01', role: 'Guest', status: 'Pending' },\n        {\n          name: 'Samppa Nori',\n          registered: '2018/01/01',\n          role: 'Member',\n          status: 'Active',\n          _props: { color: 'primary', align: 'middle' },\n        },\n        {\n          name: 'Estavan Lykos',\n          registered: '2018/02/01',\n          role: 'Staff',\n          status: 'Banned',\n          _cellProps: { all: { class: 'fw-semibold' }, name: { color: 'info' } },\n        },\n        { name: 'Chetan Mohamed', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n        { name: 'Derick Maximinus', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n        { name: 'Friderik Dávid', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n        { name: 'Yiorgos Avraamu', registered: '2018/01/01', role: 'Member', status: 'Active' },\n        {\n          name: 'Avram Tarasios',\n          registered: '2018/02/01',\n          role: 'Staff',\n          status: 'Banned',\n          _props: { color: 'warning', align: 'middle' },\n        },\n        { name: 'Quintin Ed', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n        { name: 'Enéas Kwadwo', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n        { name: 'Agapetus Tadeáš', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n        { name: 'Carwyn Fachtna', registered: '2018/01/01', role: 'Member', status: 'Active' },\n        { name: 'Nehemiah Tatius', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n        { name: 'Ebbe Gemariah', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n        { name: 'Eustorgios Amulius', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n        { name: 'Leopold Gáspár', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n        { name: 'Pompeius René', registered: '2018/01/01', role: 'Member', status: 'Active' },\n        { name: 'Paĉjo Jadon', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n        { name: 'Micheal Mercurius', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n        { name: 'Ganesha Dubhghall', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n        { name: 'Hiroto Šimun', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n        { name: 'Vishnu Serghei', registered: '2018/01/01', role: 'Member', status: 'Active' },\n        { name: 'Zbyněk Phoibos', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n        { name: 'Aulus Agmundr', registered: '2018/01/01', role: 'Member', status: 'Pending' },\n        { name: 'Ford Prefect', registered: '2001/05/25', role: 'Alien', status: "Don't panic!" },\n      ],\n    }\n  },\n}\n</script>\n

Column groups

The Vue Smart Table component allows users to group related columns under a common header. This can be useful when displaying data that has multiple categories or when comparing different sets of data. When the Smart Table is rendered, the header group will be displayed as a single header cell that spans the width of the columns included in the group. The group header cells feature can help to make the Smart Table component more organized and easier to read by grouping related data together and making it more visually distinct from other columns.

', 3); -const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    :columns="columnsColumnGroupsExample"\n    columnSorter\n    footer\n    :items="itemsColumnGroupsExample"\n    :tableHeadProps="{ color: 'light' }"\n    :tableProps="{ bordered: true }"\n  />\n</template>\n<script>\nexport default {\n  data() {\n    return {\n      columnsColumnGroupsExample: [\n        {\n          group: 'Group 1',\n          children: [\n            {\n              group: 'Subgroup 1',\n              children: [\n                {\n                  group: 'Subgroup 1A',\n                  children: [\n                    {\n                      key: 'name',\n                      _style: { width: '20%' },\n                    },\n                    'registered',\n                  ],\n                },\n                {\n                  group: 'Subgroup 1B',\n                  children: [\n                    { key: 'role', _style: { width: '20%' } },\n                  ],\n                },\n              ]\n            },\n            {\n              group: 'Subgroup 2',\n              children: [\n                {\n                  group: 'Subgroup 2A',\n                  children: [\n                    { key: 'status', _style: { width: '20%' } },\n                  ],\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      itemsColumnGroupsExample: [\n        { \n          id: 0, \n          name: 'John Doe',\n          registered: '2022/01/01',\n          role: 'Guest',\n          status: 'Pending' \n        },\n        {\n          id: 1,\n          name: 'Samppa Nori',\n          registered: '2022/01/01',\n          role: 'Member',\n          status: 'Active',\n        },\n        {\n          id: 2,\n          name: 'Estavan Lykos',\n          role: 'Staff',\n          status: 'Banned',\n          _cellProps: { name: { colSpan: 2 } },\n        },\n        { \n          id: 3, \n          name: 'Chetan Mohamed', \n          registered: '2022/02/07', \n          role: 'Admin', \n          status: 'Inactive' \n        },\n        {\n          id: 4,\n          name: 'Derick Maximinus',\n          registered: '2022/03/19',\n          role: 'Member',\n          status: 'Pending',\n        },\n        { \n          id: 5, \n          name: 'Friderik Dávid', \n          registered: '2022/01/21', \n          role: 'Staff', \n          status: 'Active' \n        }\n      ],\n    }\n  },\n}\n</script>\n

Table with headers spanning multiple rows or columns

In the example below, the table consists of two individual columns and one column group spanning three columns. It has six rows. Two headers that span multiple rows.

', 3); -const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable \n    :columns="columnsColumnGroupsExample2"\n    :items="itemsColumnGroupsExample2"\n    :tableHeadProps="{ color: 'light' }"\n    :tableProps="{ bordered: true }"\n  >\n    <template #size="{item}">\n      <td v-for="_item in item.size">\n        {{ _item }}\n      </td>\n    </template>\n  </CSmartTable>\n</template>\n<script>\nexport default {\n  data() {\n    return {\n      columnsColumnGroupsExample2: [\n        {\n          group: 'Poster availability',\n          _props: { colSpan: 5 },\n          children: [\n            {\n              key: 'poster',\n              label: 'Poster name',\n              _props: { scope: 'col' },\n            },\n            {\n              key: 'color',\n              _props: { scope: 'col' },\n            },\n            {\n              key: 'size',\n              label: 'Sizes available',\n              _props: { colSpan: 3, scope: 'colgroup' },\n              _style: { width: '50%' },\n            },\n          ]\n        }\n      ],\n      itemsColumnGroupsExample2: [\n        {\n          poster: 'Zodiac',\n          color: 'Full color',\n          size: ['A2', 'A3', 'A4'],\n          _cellProps: { \n            color: { color: 'light', scope: 'row' },\n            poster: { color: 'light', rowSpan: 3, scope: 'rowgroup' }\n          },\n        },\n        {\n          color: 'Black and white',\n          size: ['A1', 'A2', 'A3'],\n          _cellProps: { color: { color: 'light', scope: 'row' } },\n        },\n        {\n          color: 'Sepia',\n          size: ['A3', 'A4', 'A5'],\n          _cellProps: { color: { color: 'light', scope: 'row' } },\n        },\n        {\n          poster: 'Angels',\n          color: 'Black and white',\n          size: ['A1', 'A3', 'A4'],\n          _cellProps: { \n            color: { color: 'light', scope: 'row' },\n            poster: { color: 'light', rowSpan: 2, scope: 'rowgroup' }\n          },\n        },\n        {\n          color: 'Sepia',\n          size: ['A2', 'A3', 'A5'],\n          _cellProps: { color: { color: 'light', scope: 'row' } },\n        },\n      ],\n    }\n  },\n}\n</script>\n

Example source: https://www.w3.org/WAI/tutorials/tables/irregular/

Custom filters

CoreUI Vue Smart Table (Vue DataTables) provides a number of built-in features for filtering, searching, and sorting data, including the ability to use custom filtering functions.

To use a custom filter in Vue Smart Table (DataTables), you can use the filter option to specify a custom filter for each column.

Date Range Picker

Here is an example of how you might use the <CDateRangePicker /> component to apply custom filters to a Vue DataTable component:

', 7); -const _hoisted_26 = { class: "docs-example rounded-top p-4" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable \n    cleaner\n    clickableRows\n    :columns="columnsDateRangePicker"\n    columnFilter\n    :columnFilterValue="{\n      registered: \n        (date) => new Date(Date.parse(date)) >= startDate && new Date(Date.parse(date)) <= endDate\n    }"\n    columnSorter\n    footer\n    :items="itemsDateRangePicker"\n    itemsPerPageSelect\n    :itemsPerPage="10"\n    pagination\n    tableFilter\n  >\n    <template #registered="{ item }">\n      <td>{{ convertToDate(item.registered) }}</td>\n    </template>\n  </CSmartTable>    \n</template>\n<script>\n  import { h } from 'vue'\n  import { CDateRangePicker } from '@coreui/vue-pro'\n  export default {\n    data() {\n      return {\n        startDate: new Date('2022-01-21'),\n        endDate: new Date('2022-02-07'),\n        columnsDateRangePicker: [\n          {\n            key: 'name',\n            _style: { width: '50%' },\n          },\n          {\n            key: 'registered',\n            _style: { width: '50%' },\n            filter: (values, onChange) => {\n              const unique = [...new Set(values)].sort()\n              return h(CDateRangePicker, {\n                size: 'sm',\n                startDate: this.startDate,\n                endDate: this.endDate,\n                minDate: this.minDate,\n                maxDate: this.maxDate,\n                onStartDateChange: (date) => {\n                  this.setStartDate(date)\n                  onChange((item) => {\n                    if (date) {\n                      const itemDate = new Date(Date.parse(item))\n                      return this.endDate ? itemDate >= date && itemDate <= this.endDate : itemDate >= date\n                    } \n                    return true\n                  })\n                },\n                onEndDateChange: (date) => {\n                  this.setEndDate(date)\n                  onChange((item) => {\n                    if (date) {\n                      const itemDate = new Date(Date.parse(item))\n                      return this.startDate ? itemDate <= date && itemDate >= this.startDate : itemDate <= date\n                    } \n                    return true\n                  })\n                }\n              })\n            },\n          }\n        ],\n        itemsDateRangePicker: [\n          { id: 0, name: 'John Doe', registered: '2022/01/01' },\n          {\n            id: 1,\n            name: 'Samppa Nori',\n            registered: '2022/01/01',\n          },\n          {\n            id: 2,\n            name: 'Estavan Lykos',\n            registered: '2022/02/07',\n          },\n          { id: 3, name: 'Chetan Mohamed', registered: '2022/02/07' },\n          {\n            id: 4,\n            name: 'Derick Maximinus',\n            registered: '2022/03/19',\n          },\n          { id: 5, name: 'Friderik Dávid', registered: '2022/01/21' },\n          { id: 6, name: 'Yiorgos Avraamu', registered: '2022/01/01' },\n          {\n            id: 7,\n            name: 'Avram Tarasios',\n            registered: '2022/02/07',\n          },\n          { id: 8, name: 'Quintin Ed', registered: '2022/02/07' },\n          { id: 9, name: 'Enéas Kwadwo', registered: '2022/02/19', role: 'Member', status: 'Pending' },\n          { id: 10, name: 'Agapetus Tadeáš', registered: '2022/01/21' },\n          { id: 11, name: 'Carwyn Fachtna', registered: '2022/01/01' },\n          { id: 12, name: 'Nehemiah Tatius', registered: '2022/02/07' },\n          { id: 13, name: 'Ebbe Gemariah', registered: '2022/02/07' },\n          {\n            id: 14,\n            name: 'Eustorgios Amulius',\n            registered: '2022/02/19',\n          },\n          { id: 15, name: 'Leopold Gáspár', registered: '2022/01/21' },\n          { id: 16, name: 'Pompeius René', registered: '2022/01/01' },\n          { id: 17, name: 'Paĉjo Jadon', registered: '2022/02/07' },\n          {\n            id: 18,\n            name: 'Micheal Mercurius',\n            registered: '2022/02/07',\n          },\n          {\n            id: 19,\n            name: 'Ganesha Dubhghall',\n            registered: '2022/01/19',\n          },\n          { id: 20, name: 'Hiroto Šimun', registered: '2022/01/21' },\n          { id: 21, name: 'Vishnu Serghei', registered: '2022/01/01' },\n          { id: 22, name: 'Zbyněk Phoibos', registered: '2022/02/07' },\n          {\n            id: 23,\n            name: 'Aulus Agmundr',\n            registered: '2022/01/01',\n          },\n          {\n            id: 42,\n            name: 'Ford Prefect',\n            registered: '2022/02/25',\n          },\n        ],\n      }\n    },\n    computed: {\n      minDate: function () {\n        return new Date(\n          Math.min(\n            ...this.itemsDateRangePicker.map((item) => {\n              return new Date(Date.parse(item.registered))\n            }),\n          ),\n        )\n      },\n      maxDate: function () {\n        return new Date(\n          Math.max(\n            ...this.itemsDateRangePicker.map((item) => {\n              return new Date(Date.parse(item.registered))\n            }),\n          ),\n        )\n      }\n    },\n    methods: {\n      convertToDate (date) {\n        const _date = new Date(Date.parse(date))\n        return _date.toLocaleDateString()\n      },\n      setStartDate (date) {\n        this.startDate = date\n      },\n      setEndDate (date) {\n        this.endDate = date\n      }\n    }\n  }\n</script>\n

Multi Select

Here is an example of how you might use the <CMultiSelect /> component to apply custom filters to a Vue DataTable:

', 3); -const _hoisted_30 = { class: "docs-example rounded-top p-4" }; -const _hoisted_31 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    cleaner\n    clickableRows\n    :columns="columnsMultiSelect"\n    columnFilter\n    columnSorter\n    footer\n    :items="itemsMultiSelect"\n    itemsPerPageSelect\n    :itemsPerPage="10"\n    pagination\n    tableFilter\n  />\n</template>\n<script>\n  import { h } from 'vue'\n  import { CMultiSelect } from '@coreui/vue-pro'\n  export default {\n    data() {\n      return {\n        columnsMultiSelect: [\n          {\n            key: 'name',\n            _style: { width: '50%' },\n          },\n          {\n            key: 'role',\n            _style: { width: '50%' },\n            filter: (values, onChange) => {\n              const unique = [...new Set(values)].sort()\n              return h(CMultiSelect, {\n                size: 'sm',\n                onChange: (selected) => {\n                  const _selected = selected.map((element) => element.value)\n                  onChange(function(item) {\n                    return Array.isArray(_selected) && _selected.length\n                      ? _selected.includes(item.toLowerCase())\n                      : true\n                  })\n                },\n                options: unique.map((element) => {\n                  return {\n                    value: element.toLowerCase(),\n                    text: element,\n                  }\n                })})\n            },\n            sorter: false,\n          },\n        ],\n        itemsMultiSelect: [\n          { id: 0, name: 'John Doe', role: 'Guest' },\n          {\n            id: 1,\n            name: 'Samppa Nori',\n            role: 'Member',\n          },\n          {\n            id: 2,\n            name: 'Estavan Lykos',\n            role: 'Staff',\n          },\n          { id: 3, name: 'Chetan Mohamed', role: 'Admin' },\n          {\n            id: 4,\n            name: 'Derick Maximinus',\n            role: 'Member',\n          },\n          { id: 5, name: 'Friderik Dávid', role: 'Staff' },\n          { id: 6, name: 'Yiorgos Avraamu', role: 'Member' },\n          {\n            id: 7,\n            name: 'Avram Tarasios',\n            role: 'Staff',\n          },\n          { id: 8, name: 'Quintin Ed', role: 'Admin' },\n          { id: 9, name: 'Enéas Kwadwo', role: 'Member' },\n          { id: 10, name: 'Agapetus Tadeáš', role: 'Staff' },\n          { id: 11, name: 'Carwyn Fachtna', role: 'Member' },\n          { id: 12, name: 'Nehemiah Tatius', role: 'Staff' },\n          { id: 13, name: 'Ebbe Gemariah', role: 'Admin' },\n          {\n            id: 14,\n            name: 'Eustorgios Amulius',\n            role: 'Member',\n          },\n          { id: 15, name: 'Leopold Gáspár', role: 'Staff' },\n          { id: 16, name: 'Pompeius René', role: 'Member' },\n          { id: 17, name: 'Paĉjo Jadon', role: 'Staff' },\n          {\n            id: 18,\n            name: 'Micheal Mercurius',\n            role: 'Admin',\n          },\n          {\n            id: 19,\n            name: 'Ganesha Dubhghall',\n            role: 'Member',\n          },\n          { id: 20, name: 'Hiroto Šimun', role: 'Staff' },\n          { id: 21, name: 'Vishnu Serghei', role: 'Member' },\n          { id: 22, name: 'Zbyněk Phoibos', role: 'Staff' },\n          {\n            id: 23,\n            name: 'Aulus Agmundr',\n            role: 'Member',\n          },\n          {\n            id: 42,\n            name: 'Ford Prefect',\n            role: 'Alien',\n          },\n        ]\n      }\n    }\n  }\n</script>\n

Data sources

You can use Fetch API to load data from different sources and then pass them to <CSmartTable>

External Data (10.000+ records)

One of the key features of Vue Smart Table (Vue DataTables) is the ability to load data from an external source, such as an API or a server-side script. This can be useful if you have a large amount of data that you don't want to load all at once, or if you want to allow users to interact with the data without having to reload the page.

To load external data into a Vue Smart Table (Vue DataTables), you can use the Fetch API to the data source.

Here is an example of how you might use Vue Smart Table with external data:

', 7); -const _hoisted_38 = { class: "docs-example rounded-top p-4" }; -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    :columns="columnsExternalDataExample"\n    :columnFilter="{\n      external: true,\n    }"\n    :columnSorter="{\n      external: true,\n    }"\n    :items="users"\n    :itemsPerPage="itemsPerPage"\n    itemsPerPageSelect\n    :loading="loading"\n    :pagination="{\n      external: true,\n    }"\n    :paginationProps="{\n      activePage: activePage,\n      pages: Math.ceil(records / itemsPerPage) || 1,\n    }"\n    :tableProps="{\n      hover: true,\n      responsive: true,\n    }"\n    @active-Page-change="(activePage) => setActivePage(activePage)"\n    @column-filter-change="(filter) => {\n      setActivePage(1)\n      setColumnFilter(filter)\n    }"\n    @items-per-page-change="(itemsPerPage) => {\n      setActivePage(1)\n      setItemsPerPage(itemsPerPage)\n    }"\n    @sorter-change="(sorter) => setColumnSorter(sorter)"\n  />\n</template>\n<script>\n  export default {\n    data() {\n      return {\n        items: []\n        activePage: 3,\n        columnFilter: [],\n        columnSorter: null,\n        itemsPerPage: 10,\n        users: [],\n        records: [],\n        columnsExternalDataExample: [\n          {\n            key: 'first_name',\n            _style: { minWidth: '130px' },\n          },\n          {\n            key: 'last_name',\n            _style: { minWidth: '130px' },\n          },\n          'email',\n          {\n            key: 'country',\n            _style: { minWidth: '120px' },\n          },\n          {\n            key: 'ip_address',\n            label: 'IP',\n          },\n        ]\n      }\n    },\n    methods: {\n      async getUsers () {\n        const offset = this.itemsPerPage * this.activePage - this.itemsPerPage\n        let params = new URLSearchParams()\n        Object.keys(this.columnFilter).forEach((key) => {\n          params.append(key, this.columnFilter[key])\n        })\n        this.columnSorter &&\n          this.columnSorter.column !== undefined &&\n          params.append('sort', `${this.columnSorter.column}%${this.columnSorter.state}`)\n        this.setLoading(true)\n        fetch(`https://apitest.coreui.io/demos/users?offset=${offset}&limit=${this.itemsPerPage}&${params}`)\n          .then((response) => response.json())\n          .then((result) => {\n            this.setRecords(result.number_of_matching_records)\n            result.number_of_matching_records ? this.setUsers(result.records) : this.setUsers([])\n            this.setLoading(false)\n          })\n      },\n      setActivePage (activePage) {\n        this.activePage = activePage\n      },\n      setColumnFilter (columnFilter) {\n        this.columnFilter = columnFilter\n      },\n      setColumnSorter (columnSorter) {\n        this.columnSorter = columnSorter\n      },\n      setItemsPerPage (itemsPerPage) {\n        this.itemsPerPage = itemsPerPage\n      },\n      setLoading (loading) {\n        this.loading = loading\n      },\n      setRecords (records) {\n        this.records = records\n      },\n      setUsers (users) {\n        this.users = users\n      }\n    },\n    watch: {\n      activePage() {\n        this.getUsers()\n      },\n      columnFilter() {\n        this.getUsers()\n      },\n      columnSorter: {\n        handler() {\n          this.getUsers()\n        },\n        deep: true\n      },\n      itemsPerPage() {\n        this.getUsers()\n      }\n    }, \n    mounted() {\n      this.getUsers()\n    }\n  }\n</script>\n

JSON (10.000+ records)

The Fetch API can be used to load JSON data by making a GET request to the endpoint where the data is located. In this example, the fetch() method is used to make a GET request to the endpoint https://apitest.coreui.io/fake_data/users.json, which returns a response. The response.json() method is then used to parse the response as a JSON object. The resulting JSON object is stored in the users and loaded by <CSmartTable />.

', 3); -const _hoisted_42 = { class: "docs-example rounded-top p-4" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CSmartTable\n    :columns="columnsJSONDataExample"\n    columnFilter\n    columnSorter\n    :items="usersJSON"\n    itemsPerPageSelect\n    :loading="loadingJSON"\n    pagination\n    :tableProps="{\n      hover: true,\n      responsive: true,\n    }"\n  />\n</template>\n<script>\n  export default {\n    data() {\n      return {\n        loadingJSON: false,\n        usersJSON: [],\n        columnsJSONDataExample: [\n          {\n            key: 'first_name',\n            _style: { minWidth: '130px' },\n          },\n          {\n            key: 'last_name',\n            _style: { minWidth: '130px' },\n          },\n          'email',\n          {\n            key: 'country',\n            _style: { minWidth: '120px' },\n          },\n          {\n            key: 'ip_address',\n            label: 'IP',\n          },\n        ]\n      }\n    },\n    methods: {\n      async getUsersJSON () {\n        this.setLoadingJSON(true)\n        fetch('https://apitest.coreui.io/fake_data/users.json')\n          .then((response) => response.json())\n          .then((result) => {\n            this.setUsersJSON(result)\n            this.setLoadingJSON(false)\n          })\n      },\n      setLoadingJSON (loading) {\n        this.loadingJSON = loading\n      },\n      setUsersJSON (users) {\n        this.usersJSON = users\n      }\n    },\n    mounted() {\n      this.getUsersJSON()\n    }\n  }\n</script>\n

API

CSmartTable

import { CSmartTable } from '@coreui/vue-pro'\n// or\nimport CSmartTable from '@coreui/vue-pro/src/components/smart-table/CSmartTable'\n

Props

Prop nameDescriptionTypeValuesDefault
active-pageSets active page. If 'pagination' prop is enabled, activePage is set only initially.number-1
cleanerWhen set, displays table cleaner above table, next to the table filter (or in place of table filter if tableFilter prop is not set)
Cleaner resets tableFilterValue, columnFilterValue, sorterValue. If clean is possible it is clickable (tabIndex="0" role="button", color="danger"), otherwise it is not clickable and transparent. Cleaner can be customized through the cleanerIcon slot.
boolean--
clickable-rowsStyle table items as clickable.boolean--
column-filterWhen set, displays additional filter row between table header and items, allowing filtering by specific column.
Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | ColumnFilter--
column-filter-valueValue of table filter. To set pass object where keys are column names and values are filter strings e.g.:
{ user: 'John', age: 12 }
ColumnFilterValue--
columnsProp 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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- filter (Boolean) - removes filter from column when set to false.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- sorter (Boolean) - disables sorting of the column when set to false
- _props (String/Array/Object) - add props to CTableHeaderCell.
- _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
column-sorterEnables table sorting by column value. Sorting will be performed corectly only if values in column are of one type: string (case insensitive) or number.

Sorter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic sorting inside component.
- resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
boolean | Sorter--
footerIf true Displays table footer, which mirrors table header. (without column filter).
Or Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
boolean | (FooterItem | string)[]--
headerSet to false to remove table header.boolean-true
itemsArray of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by _props key and single cell by _cellProps.

Examples:
- _props: { color: 'primary', align: 'middle'}
- _cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}
Item[]-() => []
items-number
4.8.0+
The total number of items. Use if you pass a portion of data from an external source to let know component what is the total number of items.number--
items-per-pageNumber of items per site, when pagination is enabled.number-10
items-per-page-labelLabel for items per page selector.string-'Items per page:'
items-per-page-optionsItems per page selector options.number[]-() => [5, 10, 20, 50]
items-per-page-selectAdds select element over table, which is used for control items per page in pagination. If you want to customize this element, pass object with optional values:
- external (Boolean) - disables automatic 'itemsPerPage' change (use to change pages externaly by 'pagination-change' event).
boolean | ItemsPerPageSelect--
loadingWhen set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.boolean--
no-items-labelReactNode or string for passing custom noItemsLabel texts.string-'No items found'
paginationEnables default pagination. Set to true for default setup or pass an object with additional CPagination props. Default pagination will always have the computed number of pages that cannot be changed. The number of pages is generated based on the number of passed items and 'itemsPerPage' prop. If this restriction is an obstacle, you can make external CPagination instead.boolean | Pagination--
pagination-propsProperties to CSmartPagination component.object--
selectableAdd checkboxes to make table rows selectable.boolean--
select-all
4.8.0+
Enables select all checkbox displayed in the header of the table.

Can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic selection inside the component.
boolean | { external?: boolean }--
selected
4.8.0+
Array of selected objects, where each object represents one item - row in table.

Example item: { name: 'John' , age: 12 }
Item[]-() => []
sorter-valueState of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
{ column: 'status', state: 'asc' }
SorterValue--
table-body-propsProperties to CTableBody component.object--
table-foot-propsProperties to CTableFoot component.object--
table-filterWhen set, displays table filter above table, allowing filtering by specific column.

Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | TableFilter--
table-filter-labelThe element represents a caption for a component.string-'Filter:'
table-filter-placeholderSpecifies a short hint that is visible in the search input.string-'type string...'
table-filter-valueValue of table filter.string--
table-head-propsProperties to CTableHead component.object--
table-propsProperties to CTable component.object--

Events

Event nameDescriptionProperties
active-page-changePage change callback.page number - active page number
column-filter-changeColumn filter change callback.ColumnFilterValue object - {[key: string]: string | number}
filtered-items-changeFiltered items change callback.items array - undefined
items-per-page-changePagination change callback.itemsPerPageNumber number - items per page number
row-clickRow click callback.item object - undefined
index number - undefined
columnName string - undefined
event event - undefined
select-allSelect all callback.
selected-items-changeSelected items change callback.items array - undefined
sorter-changeSorter value change callback.SorterValue object - { column?: string, state?: number | string}
table-filter-changeTable filter change callback.tableFilterValue string - undefined
', 8); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { ref } from 'vue'\n\nconst details = ref([])\nconst columns = [\n  {\n    key: 'avatar',\n    label: '',\n    filter: false,\n    sorter: false,\n  },\n  {\n    key: 'name',\n    _style: { width: '20%' },\n  },\n  'registered',\n  {\n    key: 'role',\n    _style: { width: '20%' },\n  },\n  {\n    key: 'status',\n    _style: { width: '20%' },\n  },\n  {\n    key: 'show_details',\n    label: '',\n    _style: { width: '1%' },\n    filter: false,\n    sorter: false,\n  },\n]\nconst items = [\n  {\n    id: 1,\n    name: 'Samppa Nori',\n    avatar: '1.jpg',\n    registered: '2022/01/01',\n    role: 'Member',\n    status: 'Active',\n  },\n  {\n    id: 2,\n    name: 'Estavan Lykos',\n    avatar: '2.jpg',\n    registered: '2022/02/07',\n    role: 'Staff',\n    status: 'Banned',\n  },\n  {\n    id: 3,\n    name: 'Chetan Mohamed',\n    avatar: '3.jpg',\n    registered: '2022/02/07',\n    role: 'Admin',\n    status: 'Inactive',\n    _selected: true,\n  },\n  {\n    id: 4,\n    name: 'Derick Maximinus',\n    avatar: '4.jpg',\n    registered: '2022/03/19',\n    role: 'Member',\n    status: 'Pending',\n  },\n  {\n    id: 5,\n    name: 'Friderik Dávid',\n    avatar: '5.jpg',\n    registered: '2022/01/21',\n    role: 'Staff',\n    status: 'Active',\n  },\n  {\n    id: 6,\n    name: 'Yiorgos Avraamu',\n    avatar: '6.jpg',\n    registered: '2022/01/01',\n    role: 'Member',\n    status: 'Active',\n  },\n  {\n    id: 7,\n    name: 'Avram Tarasios',\n    avatar: '7.jpg',\n    registered: '2022/02/07',\n    role: 'Staff',\n    status: 'Banned',\n    _selected: true,\n  },\n  {\n    id: 8,\n    name: 'Quintin Ed',\n    avatar: '8.jpg',\n    registered: '2022/02/07',\n    role: 'Admin',\n    status: 'Inactive',\n  },\n  {\n    id: 9,\n    name: 'Enéas Kwadwo',\n    avatar: '9.jpg',\n    registered: '2022/03/19',\n    role: 'Member',\n    status: 'Pending',\n  },\n  {\n    id: 10,\n    name: 'Agapetus Tadeáš',\n    avatar: '10.jpg',\n    registered: '2022/01/21',\n    role: 'Staff',\n    status: 'Active',\n  },\n  {\n    id: 11,\n    name: 'Carwyn Fachtna',\n    avatar: '11.jpg',\n    registered: '2022/01/01',\n    role: 'Member',\n    status: 'Active',\n  },\n  {\n    id: 12,\n    name: 'Nehemiah Tatius',\n    avatar: '12.jpg',\n    registered: '2022/02/07',\n    role: 'Staff',\n    status: 'Banned',\n    _selected: true,\n  },\n  {\n    id: 13,\n    name: 'Ebbe Gemariah',\n    avatar: '13.jpg',\n    registered: '2022/02/07',\n    role: 'Admin',\n    status: 'Inactive',\n  },\n  {\n    id: 14,\n    name: 'Eustorgios Amulius',\n    avatar: '14.jpg',\n    registered: '2022/03/19',\n    role: 'Member',\n    status: 'Pending',\n  },\n  {\n    id: 15,\n    name: 'Leopold Gáspár',\n    avatar: '15.jpg',\n    registered: '2022/01/21',\n    role: 'Staff',\n    status: 'Active',\n  },\n]\n\nconst getBadge = (status) => {\n  switch (status) {\n    case 'Active':\n      return 'success'\n    case 'Inactive':\n      return 'secondary'\n    case 'Pending':\n      return 'warning'\n    case 'Banned':\n      return 'danger'\n    default:\n      'primary'\n  }\n}\n\nconst toggleDetails = (item) => {\n  if (details.value.includes(item._id)) {\n    details.value = details.value.filter((_item) => _item !== item._id)\n    return\n  }\n\n  details.value.push(item._id)\n}\n</script>\n<template>\n  <CSmartTable\n    clickableRows\n    :tableProps="{\n      striped: true,\n      hover: true,\n    }"\n    :activePage="2"\n    footer\n    header\n    :items="items"\n    :columns="columns"\n    columnFilter\n    tableFilter\n    cleaner\n    itemsPerPageSelect\n    :itemsPerPage="5"\n    columnSorter\n    :sorterValue="{ column: 'status', state: 'asc' }"\n    pagination\n  >\n    <template #avatar="{ item }">\n      <td>\n        <CAvatar :src="$withBase(`/images/avatars/${item.avatar}`)" />\n      </td>\n    </template>\n    <template #status="{ item }">\n      <td>\n        <CBadge :color="getBadge(item.status)">{{ item.status }}</CBadge>\n      </td>\n    </template>\n    <template #show_details="{ item, index }">\n      <td class="py-2">\n        <CButton\n          color="primary"\n          variant="outline"\n          square\n          size="sm"\n          @click="toggleDetails(item, index)"\n        >\n          {{ Boolean(item._toggled) ? 'Hide' : 'Show' }}\n        </CButton>\n      </td>\n    </template>\n    <template #details="{ item }">\n      <CCollapse :visible="details.includes(item._id)">\n        <CCardBody>\n          <h4>\n            {{ item.username }}\n          </h4>\n          <p class="text-muted">User since: {{ item.registered }}</p>\n          <CButton size="sm" color="info" class=""> User Settings </CButton>\n          <CButton size="sm" color="danger" class="ml-1"> Delete </CButton>\n        </CCardBody>\n      </CCollapse>\n    </template>\n  </CSmartTable>\n</template>\n

Column names #

By default, Vue Table component will generate the header labels for each column based on the column's data source.

', 3); +const _hoisted_8 = { class: "docs-example rounded-top p-4" }; +const _hoisted_9 = /* @__PURE__ */ createStaticVNode('
<script setup>\nconst items = [\n  { name: 'John Doe', registered: '2018/01/01', role: 'Guest', status: 'Pending' },\n  {\n    name: 'Samppa Nori',\n    registered: '2018/01/01',\n    role: 'Member',\n    status: 'Active',\n    _props: { color: 'primary', align: 'middle' },\n  },\n  {\n    name: 'Estavan Lykos',\n    registered: '2018/02/01',\n    role: 'Staff',\n    status: 'Banned',\n    _cellProps: { all: { class: 'fw-semibold' }, name: { color: 'info' } },\n  },\n  { name: 'Chetan Mohamed', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n  { name: 'Derick Maximinus', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n  { name: 'Friderik Dávid', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n  { name: 'Yiorgos Avraamu', registered: '2018/01/01', role: 'Member', status: 'Active' },\n  {\n    name: 'Avram Tarasios',\n    registered: '2018/02/01',\n    role: 'Staff',\n    status: 'Banned',\n    _props: { color: 'warning', align: 'middle' },\n  },\n  { name: 'Quintin Ed', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n  { name: 'Enéas Kwadwo', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n  { name: 'Agapetus Tadeáš', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n  { name: 'Carwyn Fachtna', registered: '2018/01/01', role: 'Member', status: 'Active' },\n  { name: 'Nehemiah Tatius', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n  { name: 'Ebbe Gemariah', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n  { name: 'Eustorgios Amulius', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n  { name: 'Leopold Gáspár', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n  { name: 'Pompeius René', registered: '2018/01/01', role: 'Member', status: 'Active' },\n  { name: 'Paĉjo Jadon', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n  { name: 'Micheal Mercurius', registered: '2018/02/01', role: 'Admin', status: 'Inactive' },\n  { name: 'Ganesha Dubhghall', registered: '2018/03/01', role: 'Member', status: 'Pending' },\n  { name: 'Hiroto Šimun', registered: '2018/01/21', role: 'Staff', status: 'Active' },\n  { name: 'Vishnu Serghei', registered: '2018/01/01', role: 'Member', status: 'Active' },\n  { name: 'Zbyněk Phoibos', registered: '2018/02/01', role: 'Staff', status: 'Banned' },\n  { name: 'Aulus Agmundr', registered: '2018/01/01', role: 'Member', status: 'Pending' },\n  { name: 'Ford Prefect', registered: '2001/05/25', role: 'Alien', status: "Don't panic!" },\n]\n</script>\n<template>\n  <CSmartTable\n    :items="items"\n    columnFilter\n    columnSorter\n    pagination\n    :tableProps="{\n      hover: true,\n    }"\n  />\n</template>\n

Column groups #

The Vue Smart Table component allows users to group related columns under a common header. This can be useful when displaying data that has multiple categories or when comparing different sets of data. When the Smart Table is rendered, the header group will be displayed as a single header cell that spans the width of the columns included in the group. The group header cells feature can help to make the Smart Table component more organized and easier to read by grouping related data together and making it more visually distinct from other columns.

', 3); +const _hoisted_12 = { class: "docs-example rounded-top p-4" }; +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<script setup>\nconst columns = [\n  {\n    group: 'Group 1',\n    children: [\n      {\n        group: 'Subgroup 1',\n        children: [\n          {\n            group: 'Subgroup 1A',\n            children: [\n              {\n                key: 'name',\n                _style: { width: '20%' },\n              },\n              'registered',\n            ],\n          },\n          {\n            group: 'Subgroup 1B',\n            children: [{ key: 'role', _style: { width: '20%' } }],\n          },\n        ],\n      },\n      {\n        group: 'Subgroup 2',\n        children: [\n          {\n            group: 'Subgroup 2A',\n            children: [{ key: 'status', _style: { width: '20%' } }],\n          },\n        ],\n      },\n    ],\n  },\n]\nconst items = [\n  {\n    id: 0,\n    name: 'John Doe',\n    registered: '2022/01/01',\n    role: 'Guest',\n    status: 'Pending',\n  },\n  {\n    id: 1,\n    name: 'Samppa Nori',\n    registered: '2022/01/01',\n    role: 'Member',\n    status: 'Active',\n  },\n  {\n    id: 2,\n    name: 'Estavan Lykos',\n    role: 'Staff',\n    status: 'Banned',\n    _cellProps: { name: { colSpan: 2 } },\n  },\n  {\n    id: 3,\n    name: 'Chetan Mohamed',\n    registered: '2022/02/07',\n    role: 'Admin',\n    status: 'Inactive',\n  },\n  {\n    id: 4,\n    name: 'Derick Maximinus',\n    registered: '2022/03/19',\n    role: 'Member',\n    status: 'Pending',\n  },\n  {\n    id: 5,\n    name: 'Friderik Dávid',\n    registered: '2022/01/21',\n    role: 'Staff',\n    status: 'Active',\n  },\n]\n</script>\n<template>\n  <CSmartTable\n    :columns="columns"\n    columnSorter\n    footer\n    :items="items"\n    :tableHeadProps="{ color: 'light' }"\n    :tableProps="{ bordered: true }"\n  />\n</template>\n

Table with headers spanning multiple rows or columns #

In the example below, the table consists of two individual columns and one column group spanning three columns. It has six rows. Two headers that span multiple rows.

', 3); +const _hoisted_16 = { class: "docs-example rounded-top p-4" }; +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<script setup>\nconst columnsColumnGroupsExample2 = [\n  {\n    group: 'Poster availability',\n    _props: { colSpan: 5 },\n    children: [\n      {\n        key: 'poster',\n        label: 'Poster name',\n        _props: { scope: 'col' },\n      },\n      {\n        key: 'color',\n        _props: { scope: 'col' },\n      },\n      {\n        key: 'size',\n        label: 'Sizes available',\n        _props: { colSpan: 3, scope: 'colgroup' },\n        _style: { width: '50%' },\n      },\n    ],\n  },\n]\nconst itemsColumnGroupsExample2 = [\n  {\n    poster: 'Zodiac',\n    color: 'Full color',\n    size: ['A2', 'A3', 'A4'],\n    _cellProps: {\n      color: { color: 'light', scope: 'row' },\n      poster: { color: 'light', rowSpan: 3, scope: 'rowgroup' },\n    },\n  },\n  {\n    color: 'Black and white',\n    size: ['A1', 'A2', 'A3'],\n    _cellProps: { color: { color: 'light', scope: 'row' } },\n  },\n  {\n    color: 'Sepia',\n    size: ['A3', 'A4', 'A5'],\n    _cellProps: { color: { color: 'light', scope: 'row' } },\n  },\n  {\n    poster: 'Angels',\n    color: 'Black and white',\n    size: ['A1', 'A3', 'A4'],\n    _cellProps: {\n      color: { color: 'light', scope: 'row' },\n      poster: { color: 'light', rowSpan: 2, scope: 'rowgroup' },\n    },\n  },\n  {\n    color: 'Sepia',\n    size: ['A2', 'A3', 'A5'],\n    _cellProps: { color: { color: 'light', scope: 'row' } },\n  },\n]\n</script>\n<template>\n  <CSmartTable\n    :columns="columnsColumnGroupsExample2"\n    :items="itemsColumnGroupsExample2"\n    :tableHeadProps="{ color: 'light' }"\n    :tableProps="{ bordered: true }"\n  >\n    <template #size="{ item }">\n      <td v-for="_item in item.size">\n        {{ _item }}\n      </td>\n    </template>\n  </CSmartTable>\n</template>\n

Example source: https://www.w3.org/WAI/tutorials/tables/irregular/

Custom filters #

CoreUI Vue Smart Table (Vue DataTables) provides a number of built-in features for filtering, searching, and sorting data, including the ability to use custom filtering functions.

To use a custom filter in Vue Smart Table (DataTables), you can use the filter option to specify a custom filter for each column.

Date Range Picker #

Here is an example of how you might use the <CDateRangePicker /> component to apply custom filters to a Vue DataTable component:

', 7); +const _hoisted_24 = { class: "docs-example rounded-top p-4" }; +const _hoisted_25 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { computed, h, ref } from 'vue'\nimport { CDateRangePicker } from '@coreui/vue-pro'\n\nconst startDate = ref(new Date('2022-01-21'))\nconst endDate = ref(new Date('2022-02-07'))\n\nconst columns = [\n  {\n    key: 'name',\n    _style: { width: '50%' },\n  },\n  {\n    key: 'registered',\n    _style: { width: '50%' },\n    filter: (onChange) => {\n      return h(CDateRangePicker, {\n        size: 'sm',\n        startDate: startDate.value,\n        endDate: endDate.value,\n        minDate: minDate.value,\n        maxDate: maxDate.value,\n        onStartDateChange: (date) => {\n          startDate.value = date\n          onChange((item) => {\n            if (date) {\n              const itemDate = new Date(Date.parse(item))\n              return endDate.value ? itemDate >= date && itemDate <= endDate.value : itemDate >= date\n            }\n            return true\n          })\n        },\n        onEndDateChange: (date) => {\n          endDate.value = date\n          onChange((item) => {\n            if (date) {\n              const itemDate = new Date(Date.parse(item))\n              return startDate.value\n                ? itemDate <= date && itemDate >= startDate.value\n                : itemDate <= date\n            }\n            return true\n          })\n        },\n      })\n    },\n  },\n]\n\nconst items = [\n  { id: 0, name: 'John Doe', registered: '2022/01/01' },\n  {\n    id: 1,\n    name: 'Samppa Nori',\n    registered: '2022/01/01',\n  },\n  {\n    id: 2,\n    name: 'Estavan Lykos',\n    registered: '2022/02/07',\n  },\n  { id: 3, name: 'Chetan Mohamed', registered: '2022/02/07' },\n  {\n    id: 4,\n    name: 'Derick Maximinus',\n    registered: '2022/03/19',\n  },\n  { id: 5, name: 'Friderik Dávid', registered: '2022/01/21' },\n  { id: 6, name: 'Yiorgos Avraamu', registered: '2022/01/01' },\n  {\n    id: 7,\n    name: 'Avram Tarasios',\n    registered: '2022/02/07',\n  },\n  { id: 8, name: 'Quintin Ed', registered: '2022/02/07' },\n  {\n    id: 9,\n    name: 'Enéas Kwadwo',\n    registered: '2022/02/19',\n    role: 'Member',\n    status: 'Pending',\n  },\n  { id: 10, name: 'Agapetus Tadeáš', registered: '2022/01/21' },\n  { id: 11, name: 'Carwyn Fachtna', registered: '2022/01/01' },\n  { id: 12, name: 'Nehemiah Tatius', registered: '2022/02/07' },\n  { id: 13, name: 'Ebbe Gemariah', registered: '2022/02/07' },\n  {\n    id: 14,\n    name: 'Eustorgios Amulius',\n    registered: '2022/02/19',\n  },\n  { id: 15, name: 'Leopold Gáspár', registered: '2022/01/21' },\n  { id: 16, name: 'Pompeius René', registered: '2022/01/01' },\n  { id: 17, name: 'Paĉjo Jadon', registered: '2022/02/07' },\n  {\n    id: 18,\n    name: 'Micheal Mercurius',\n    registered: '2022/02/07',\n  },\n  {\n    id: 19,\n    name: 'Ganesha Dubhghall',\n    registered: '2022/01/19',\n  },\n  { id: 20, name: 'Hiroto Šimun', registered: '2022/01/21' },\n  { id: 21, name: 'Vishnu Serghei', registered: '2022/01/01' },\n  { id: 22, name: 'Zbyněk Phoibos', registered: '2022/02/07' },\n  {\n    id: 23,\n    name: 'Aulus Agmundr',\n    registered: '2022/01/01',\n  },\n  {\n    id: 42,\n    name: 'Ford Prefect',\n    registered: '2022/02/25',\n  },\n]\n\nconst minDate = computed(\n  () =>\n    new Date(\n      Math.min(\n        ...items.map((item) => {\n          return new Date(Date.parse(item.registered))\n        }),\n      ),\n    ),\n)\nconst maxDate = computed(\n  () =>\n    new Date(\n      Math.max(\n        ...items.map((item) => {\n          return new Date(Date.parse(item.registered))\n        }),\n      ),\n    ),\n)\n\nconst convertToDate = (date) => {\n  const _date = new Date(Date.parse(date))\n  return _date.toLocaleDateString()\n}\n</script>\n<template>\n  <CSmartTable\n    cleaner\n    clickableRows\n    :columns="columns"\n    columnFilter\n    :columnFilterValue="{\n      registered: (date) =>\n        new Date(Date.parse(date)) >= startDate && new Date(Date.parse(date)) <= endDate,\n    }"\n    columnSorter\n    footer\n    :items="items"\n    itemsPerPageSelect\n    :itemsPerPage="10"\n    pagination\n    tableFilter\n  >\n    <template #registered="{ item }">\n      <td>{{ convertToDate(item.registered) }}</td>\n    </template>\n  </CSmartTable>\n</template>\n

Multi Select #

Here is an example of how you might use the <CMultiSelect /> component to apply custom filters to a Vue DataTable:

', 3); +const _hoisted_28 = { class: "docs-example rounded-top p-4" }; +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { h } from 'vue'\nimport { CMultiSelect } from '@coreui/vue-pro'\n\nconst columns = [\n  {\n    key: 'name',\n    _style: { width: '50%' },\n  },\n  {\n    key: 'role',\n    _style: { width: '50%' },\n    filter: (values, onChange) => {\n      const unique = [...new Set(values)].sort()\n      return h(CMultiSelect, {\n        size: 'sm',\n        onChange: (selected) => {\n          const _selected = selected.map((element) => element.value)\n          onChange(function (item) {\n            return Array.isArray(_selected) && _selected.length\n              ? _selected.includes(item.toLowerCase())\n              : true\n          })\n        },\n        options: unique.map((element) => {\n          return {\n            value: element.toLowerCase(),\n            text: element,\n          }\n        }),\n      })\n    },\n    sorter: false,\n  },\n]\nconst items = [\n  { id: 0, name: 'John Doe', role: 'Guest' },\n  {\n    id: 1,\n    name: 'Samppa Nori',\n    role: 'Member',\n  },\n  {\n    id: 2,\n    name: 'Estavan Lykos',\n    role: 'Staff',\n  },\n  { id: 3, name: 'Chetan Mohamed', role: 'Admin' },\n  {\n    id: 4,\n    name: 'Derick Maximinus',\n    role: 'Member',\n  },\n  { id: 5, name: 'Friderik Dávid', role: 'Staff' },\n  { id: 6, name: 'Yiorgos Avraamu', role: 'Member' },\n  {\n    id: 7,\n    name: 'Avram Tarasios',\n    role: 'Staff',\n  },\n  { id: 8, name: 'Quintin Ed', role: 'Admin' },\n  { id: 9, name: 'Enéas Kwadwo', role: 'Member' },\n  { id: 10, name: 'Agapetus Tadeáš', role: 'Staff' },\n  { id: 11, name: 'Carwyn Fachtna', role: 'Member' },\n  { id: 12, name: 'Nehemiah Tatius', role: 'Staff' },\n  { id: 13, name: 'Ebbe Gemariah', role: 'Admin' },\n  {\n    id: 14,\n    name: 'Eustorgios Amulius',\n    role: 'Member',\n  },\n  { id: 15, name: 'Leopold Gáspár', role: 'Staff' },\n  { id: 16, name: 'Pompeius René', role: 'Member' },\n  { id: 17, name: 'Paĉjo Jadon', role: 'Staff' },\n  {\n    id: 18,\n    name: 'Micheal Mercurius',\n    role: 'Admin',\n  },\n  {\n    id: 19,\n    name: 'Ganesha Dubhghall',\n    role: 'Member',\n  },\n  { id: 20, name: 'Hiroto Šimun', role: 'Staff' },\n  { id: 21, name: 'Vishnu Serghei', role: 'Member' },\n  { id: 22, name: 'Zbyněk Phoibos', role: 'Staff' },\n  {\n    id: 23,\n    name: 'Aulus Agmundr',\n    role: 'Member',\n  },\n  {\n    id: 42,\n    name: 'Ford Prefect',\n    role: 'Alien',\n  },\n]\n</script>\n<template>\n  <CSmartTable\n    cleaner\n    clickableRows\n    :columns="columns"\n    columnFilter\n    columnSorter\n    footer\n    :items="items"\n    itemsPerPageSelect\n    :itemsPerPage="10"\n    pagination\n    tableFilter\n  />\n</template>\n

Data sources #

You can use Fetch API to load data from different sources and then pass them to <CSmartTable>

External Data (10.000+ records) #

One of the key features of Vue Smart Table (Vue DataTables) is the ability to load data from an external source, such as an API or a server-side script. This can be useful if you have a large amount of data that you don't want to load all at once, or if you want to allow users to interact with the data without having to reload the page.

To load external data into a Vue Smart Table (Vue DataTables), you can use the Fetch API to the data source.

Here is an example of how you might use Vue Smart Table with external data:

', 7); +const _hoisted_36 = { class: "docs-example rounded-top p-4" }; +const _hoisted_37 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { onMounted, ref, watch } from 'vue'\n\nconst activePage = ref(3)\nconst columnFilter = ref({})\nconst columnSorter = ref(null)\nconst itemsPerPage = ref(10)\nconst loading = ref(false)\nconst records = ref(0)\nconst users = ref([])\n\nconst columns = [\n  {\n    key: 'first_name',\n    _style: { minWidth: '130px' },\n  },\n  {\n    key: 'last_name',\n    _style: { minWidth: '130px' },\n  },\n  'email',\n  {\n    key: 'country',\n    _style: { minWidth: '120px' },\n  },\n  {\n    key: 'ip_address',\n    label: 'IP',\n  },\n]\n\nconst getUsers = async () => {\n  const offset = itemsPerPage.value * (activePage.value - 1)\n  const params = new URLSearchParams()\n\n  // Append filters to params\n  Object.entries(columnFilter.value).forEach(([key, value]) => {\n    params.append(key, value)\n  })\n\n  // Append sorting to params if available\n  if (columnSorter.value?.column) {\n    params.append('sort', `${columnSorter.value.column}%${columnSorter.value.state}`)\n  }\n\n  // Set loading state\n  loading.value = true\n\n  try {\n    const response = await fetch(\n      `https://apitest.coreui.io/demos/users?offset=${offset}&limit=${itemsPerPage.value}&${params.toString()}`\n    )\n    const result = await response.json()\n\n    records.value = result.number_of_matching_records || 0\n    users.value = result.records || []\n  } catch (error) {\n    console.error('Failed to fetch users:', error)\n    users.value = []\n  } finally {\n    loading.value = false\n  }\n}\n\nonMounted(() => {\n  getUsers()\n})\n\nwatch([activePage, columnFilter, itemsPerPage], getUsers)\n\nwatch(columnSorter, getUsers, {\n  deep: true,\n})\n</script>\n\n<template>\n  <CSmartTable\n    :columns="columns"\n    :columnFilter="{ external: true }"\n    :columnSorter="{ external: true }"\n    :items="users"\n    :itemsPerPage="itemsPerPage"\n    itemsPerPageSelect\n    :loading="loading"\n    :pagination="{ external: true }"\n    :paginationProps="{\n      activePage: activePage,\n      pages: Math.ceil(records / itemsPerPage) || 1,\n    }"\n    :tableProps="{\n      hover: true,\n      responsive: true\n    }"\n    @active-page-change="(_activePage) => {\n      activePage = _activePage\n    }"\n    @column-filter-change="(filter) => {\n      activePage = 1\n      columnFilter = filter\n    }"\n    @items-per-page-change="(_itemsPerPage) => {\n      activePage = 1\n      itemsPerPage = _itemsPerPage\n    }"\n    @sorter-change="(sorter) => {\n      columnSorter = sorter\n    }"\n  />\n</template>\n

JSON (10.000+ records) #

The Fetch API can be used to load JSON data by making a GET request to the endpoint where the data is located. In this example, the fetch() method is used to make a GET request to the endpoint https://apitest.coreui.io/fake_data/users.json, which returns a response. The response.json() method is then used to parse the response as a JSON object. The resulting JSON object is stored in the users and loaded by <CSmartTable />.

', 3); +const _hoisted_40 = { class: "docs-example rounded-top p-4" }; +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<script setup>\nimport { onMounted, ref } from 'vue'\n\nconst loading = ref(false)\nconst users = ref([])\n\nconst columns = [\n  {\n    key: 'first_name',\n    _style: { minWidth: '130px' },\n  },\n  {\n    key: 'last_name',\n    _style: { minWidth: '130px' },\n  },\n  'email',\n  {\n    key: 'country',\n    _style: { minWidth: '120px' },\n  },\n  {\n    key: 'ip_address',\n    label: 'IP',\n  },\n]\n\nconst getUsers = async () => {\n  // Set loading to true to indicate that the data fetching process is starting\n  loading.value = true\n  \n  try {\n    // Make a GET request to fetch the users data from the API\n    const response = await fetch('https://apitest.coreui.io/fake_data/users.json')\n    \n    // Parse the JSON response into a JavaScript object\n    const result = await response.json()\n    \n    // Update the 'users' reactive variable with the fetched data\n    users.value = result\n  } catch (error) {\n    // Log an error message to the console if the fetch fails\n    console.error('Failed to fetch users:', error)\n  } finally {\n    // Set loading to false to indicate that the data fetching process has finished\n    loading.value = false\n  }\n}\n\n\nonMounted(() => {\n  getUsers()\n})\n</script>\n\n<template>\n  <CSmartTable\n    :columns="columns"\n    columnFilter\n    columnSorter\n    :items="users"\n    itemsPerPageSelect\n    :loading="loading"\n    pagination\n    :tableProps="{\n      hover: true,\n      responsive: true,\n    }"\n  />\n</template>\n

API #

CSmartTable #

import { CSmartTable } from '@coreui/vue-pro'\n// or\nimport CSmartTable from '@coreui/vue-pro/src/components/smart-table/CSmartTable'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-pageSets active page. If 'pagination' prop is enabled, activePage is set only initially.number-1
cleanerWhen set, displays table cleaner above table, next to the table filter (or in place of table filter if tableFilter prop is not set)
Cleaner resets tableFilterValue, columnFilterValue, sorterValue. If clean is possible it is clickable (tabIndex="0" role="button", color="danger"), otherwise it is not clickable and transparent. Cleaner can be customized through the cleanerIcon slot.
boolean--
clickable-rowsStyle table items as clickable.boolean--
column-filterWhen set, displays additional filter row between table header and items, allowing filtering by specific column.
Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | ColumnFilter--
column-filter-valueValue of table filter. To set pass object where keys are column names and values are filter strings e.g.:
{ user: 'John', age: 12 }
ColumnFilterValue--
columnsProp 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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- filter (Boolean) - removes filter from column when set to false.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- sorter (Boolean) - disables sorting of the column when set to false
- _props (String/Array/Object) - add props to CTableHeaderCell.
- _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
column-sorterEnables table sorting by column value. Sorting will be performed corectly only if values in column are of one type: string (case insensitive) or number.

Sorter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic sorting inside component.
- resetable (Boolean) - If set to true clicking on sorter have three states: ascending, descending and null. That means that third click on sorter will reset sorting, and restore table to original order.
boolean | Sorter--
footerIf true Displays table footer, which mirrors table header. (without column filter).
Or Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
boolean | (FooterItem | string)[]--
headerSet to false to remove table header.boolean-true
itemsArray of objects, where each object represents one item - row in table. Additionally, you can customize each row by passing them by _props key and single cell by _cellProps.

Examples:
- _props: { color: 'primary', align: 'middle'}
- _cellProps: { all: { class: 'fw-semibold'}, 'name': { color: 'info' }}
Item[]-() => []
items-number
4.8.0+
The total number of items. Use if you pass a portion of data from an external source to let know component what is the total number of items.number--
items-per-pageNumber of items per site, when pagination is enabled.number-10
items-per-page-labelLabel for items per page selector.string-'Items per page:'
items-per-page-optionsItems per page selector options.number[]-() => [5, 10, 20, 50]
items-per-page-selectAdds select element over table, which is used for control items per page in pagination. If you want to customize this element, pass object with optional values:
- external (Boolean) - disables automatic 'itemsPerPage' change (use to change pages externaly by 'pagination-change' event).
boolean | ItemsPerPageSelect--
loadingWhen set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.boolean--
no-items-labelReactNode or string for passing custom noItemsLabel texts.string-'No items found'
paginationEnables default pagination. Set to true for default setup or pass an object with additional CPagination props. Default pagination will always have the computed number of pages that cannot be changed. The number of pages is generated based on the number of passed items and 'itemsPerPage' prop. If this restriction is an obstacle, you can make external CPagination instead.boolean | Pagination--
pagination-propsProperties to CSmartPagination component.object--
selectableAdd checkboxes to make table rows selectable.boolean--
select-all
4.8.0+
Enables select all checkbox displayed in the header of the table.

Can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic selection inside the component.
boolean | { external?: boolean }--
selected
4.8.0+
Array of selected objects, where each object represents one item - row in table.

Example item: { name: 'John' , age: 12 }
Item[]-() => []
sorter-valueState of the sorter. Name key is column name, direction can be 'asc' or 'desc'. eg.:
{ column: 'status', state: 'asc' }
SorterValue--
table-body-propsProperties to CTableBody component.object--
table-foot-propsProperties to CTableFoot component.object--
table-filterWhen set, displays table filter above table, allowing filtering by specific column.

Column filter can be customized, by passing prop as object with additional options as keys. Available options:
- external (Boolean) - Disables automatic filtering inside component.
- lazy (Boolean) - Set to true to trigger filter updates only on change event.
boolean | TableFilter--
table-filter-labelThe element represents a caption for a component.string-'Filter:'
table-filter-placeholderSpecifies a short hint that is visible in the search input.string-'type string...'
table-filter-valueValue of table filter.string--
table-head-propsProperties to CTableHead component.object--
table-propsProperties to CTable component.object--

Events #

Event nameDescriptionProperties
active-page-changePage change callback.page number - active page number
column-filter-changeColumn filter change callback.ColumnFilterValue object - {[key: string]: string | number}
filtered-items-changeFiltered items change callback.items array - undefined
items-per-page-changePagination change callback.itemsPerPageNumber number - items per page number
row-clickRow click callback.item object - undefined
index number - undefined
columnName string - undefined
event event - undefined
select-allSelect all callback.
selected-items-changeSelected items change callback.items array - undefined
sorter-changeSorter value change callback.SorterValue object - { column?: string, state?: number | string}
table-filter-changeTable filter change callback.tableFilterValue string - undefined
', 8); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_CAvatar = resolveComponent("CAvatar"); - const _component_CBadge = resolveComponent("CBadge"); - const _component_CButton = resolveComponent("CButton"); - const _component_CCardBody = resolveComponent("CCardBody"); - const _component_CCollapse = resolveComponent("CCollapse"); - const _component_CSmartTable = resolveComponent("CSmartTable"); return openBlock(), createElementBlock("div", null, [ _hoisted_1, createBaseVNode("div", _hoisted_4, [ - createVNode(_component_CSmartTable, { - clickableRows: "", - tableProps: { - striped: true, - hover: true - }, - activePage: 2, - footer: "", - header: "", - items: $data.items, - columns: $data.columns, - columnFilter: "", - tableFilter: "", - cleaner: "", - itemsPerPageSelect: "", - itemsPerPage: 5, - columnSorter: "", - sorterValue: { column: "status", state: "asc" }, - selectable: "", - pagination: "" - }, { - avatar: withCtx(({ item }) => [ - createBaseVNode("td", null, [ - createVNode(_component_CAvatar, { - src: _ctx.$withBase(`/images/avatars/${item.avatar}`) - }, null, 8, ["src"]) - ]) - ]), - status: withCtx(({ item }) => [ - createBaseVNode("td", null, [ - createVNode(_component_CBadge, { - color: $options.getBadge(item.status) - }, { - default: withCtx(() => [ - createTextVNode(toDisplayString(item.status), 1) - ]), - _: 2 - }, 1032, ["color"]) - ]) - ]), - show_details: withCtx(({ item }) => [ - createBaseVNode("td", _hoisted_5, [ - createVNode(_component_CButton, { - color: "primary", - variant: "outline", - square: "", - size: "sm", - onClick: ($event) => $options.toggleDetails(item) - }, { - default: withCtx(() => [ - createTextVNode(toDisplayString($data.details.includes(item._id) ? "Hide" : "Show"), 1) - ]), - _: 2 - }, 1032, ["onClick"]) - ]) - ]), - details: withCtx(({ item }) => [ - createVNode(_component_CCollapse, { - visible: $data.details.includes(item._id) - }, { - default: withCtx(() => [ - createVNode(_component_CCardBody, null, { - default: withCtx(() => [ - createBaseVNode("h4", null, toDisplayString(item.username), 1), - createBaseVNode("p", _hoisted_6, "User since: " + toDisplayString(item.registered), 1), - createVNode(_component_CButton, { - size: "sm", - color: "info", - class: "" - }, { - default: withCtx(() => [ - createTextVNode(" User Settings ") - ]), - _: 1 - }), - createVNode(_component_CButton, { - size: "sm", - color: "danger", - class: "ms-1" - }, { - default: withCtx(() => [ - createTextVNode(" Delete ") - ]), - _: 1 - }) - ]), - _: 2 - }, 1024) - ]), - _: 2 - }, 1032, ["visible"]) - ]), - _: 1 - }, 8, ["items", "columns"]) + createVNode($setup["BasicUsage"]) ]), - _hoisted_7, - createBaseVNode("div", _hoisted_10, [ - createVNode(_component_CSmartTable, { - items: $data.items, - columnFilter: "", - columnSorter: "", - pagination: "", - tableProps: { - hover: true - } - }, null, 8, ["items"]) + _hoisted_5, + createBaseVNode("div", _hoisted_8, [ + createVNode($setup["ColumnNames"]) ]), - _hoisted_11, - createBaseVNode("div", _hoisted_14, [ - createVNode(_component_CSmartTable, { - columns: $data.columnsColumnGroupsExample, - columnSorter: "", - footer: "", - items: $data.itemsColumnGroupsExample, - tableHeadProps: { color: "light" }, - tableProps: { bordered: true } - }, null, 8, ["columns", "items"]) + _hoisted_9, + createBaseVNode("div", _hoisted_12, [ + createVNode($setup["ColumnGroups"]) ]), - _hoisted_15, - createBaseVNode("div", _hoisted_18, [ - createVNode(_component_CSmartTable, { - columns: $data.columnsColumnGroupsExample2, - items: $data.itemsColumnGroupsExample2, - tableHeadProps: { color: "light" }, - tableProps: { bordered: true } - }, { - size: withCtx(({ item }) => [ - (openBlock(true), createElementBlock(Fragment, null, renderList(item.size, (_item) => { - return openBlock(), createElementBlock("td", null, toDisplayString(_item), 1); - }), 256)) - ]), - _: 1 - }, 8, ["columns", "items"]) + _hoisted_13, + createBaseVNode("div", _hoisted_16, [ + createVNode($setup["TableWithHeadersSpanningMultipleRowsOrColumns"]) ]), - _hoisted_19, - createBaseVNode("div", _hoisted_26, [ - createVNode(_component_CSmartTable, { - cleaner: "", - clickableRows: "", - columns: $data.columnsDateRangePicker, - columnFilter: "", - columnFilterValue: { - registered: (date) => new Date(Date.parse(date)) >= $data.startDate && new Date(Date.parse(date)) <= $data.endDate - }, - columnSorter: "", - footer: "", - items: $data.itemsDateRangePicker, - itemsPerPageSelect: "", - itemsPerPage: 10, - pagination: "", - tableFilter: "" - }, { - registered: withCtx(({ item }) => [ - createBaseVNode("td", null, toDisplayString($options.convertToDate(item.registered)), 1) - ]), - _: 1 - }, 8, ["columns", "columnFilterValue", "items"]) + _hoisted_17, + createBaseVNode("div", _hoisted_24, [ + createVNode($setup["CustomFiltersDateRangePicker"]) ]), - _hoisted_27, - createBaseVNode("div", _hoisted_30, [ - createVNode(_component_CSmartTable, { - cleaner: "", - clickableRows: "", - columns: $data.columnsMultiSelect, - columnFilter: "", - columnSorter: "", - footer: "", - items: $data.itemsMultiSelect, - itemsPerPageSelect: "", - itemsPerPage: 10, - pagination: "", - tableFilter: "" - }, null, 8, ["columns", "items"]) + _hoisted_25, + createBaseVNode("div", _hoisted_28, [ + createVNode($setup["CustomFiltersMultiSelect"]) ]), - _hoisted_31, - createBaseVNode("div", _hoisted_38, [ - createVNode(_component_CSmartTable, { - columns: $data.columnsExternalDataExample, - columnFilter: { - external: true - }, - columnSorter: { - external: true - }, - items: $data.users, - itemsPerPage: $data.itemsPerPage, - itemsPerPageSelect: "", - loading: $data.loading, - pagination: { - external: true - }, - paginationProps: { - activePage: $data.activePage, - pages: Math.ceil($data.records / $data.itemsPerPage) || 1 - }, - tableProps: { - hover: true, - responsive: true - }, - onActivePageChange: _cache[0] || (_cache[0] = (activePage) => $options.setActivePage(activePage)), - onColumnFilterChange: _cache[1] || (_cache[1] = (filter) => { - $options.setActivePage(1); - $options.setColumnFilter(filter); - }), - onItemsPerPageChange: _cache[2] || (_cache[2] = (itemsPerPage) => { - $options.setActivePage(1); - $options.setItemsPerPage(itemsPerPage); - }), - onSorterChange: _cache[3] || (_cache[3] = (sorter) => $options.setColumnSorter(sorter)) - }, null, 8, ["columns", "items", "itemsPerPage", "loading", "paginationProps"]) + _hoisted_29, + createBaseVNode("div", _hoisted_36, [ + createVNode($setup["DataSourcesExternalData"]) ]), - _hoisted_39, - createBaseVNode("div", _hoisted_42, [ - createVNode(_component_CSmartTable, { - columns: $data.columnsJSONDataExample, - columnFilter: "", - columnSorter: "", - items: $data.usersJSON, - itemsPerPageSelect: "", - loading: $data.loadingJSON, - pagination: "", - tableProps: { - hover: true, - responsive: true - } - }, null, 8, ["columns", "items", "loading"]) + _hoisted_37, + createBaseVNode("div", _hoisted_40, [ + createVNode($setup["DataSourcesJSON"]) ]), - _hoisted_43 + _hoisted_41 ]); } const smartTable_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "smart-table.html.vue"]]); diff --git a/vue/docs/assets/spinner.html-Dja_Ea9Q.js b/vue/docs/assets/spinner.html-CbcVdjbB.js similarity index 80% rename from vue/docs/assets/spinner.html-Dja_Ea9Q.js rename to vue/docs/assets/spinner.html-CbcVdjbB.js index b82a485449b..b29bf4ba9be 100644 --- a/vue/docs/assets/spinner.html-Dja_Ea9Q.js +++ b/vue/docs/assets/spinner.html-CbcVdjbB.js @@ -1,28 +1,28 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

About

CoreUI "spinners" can be used to show the loading state in your projects. They're built only with HTML and CSS, meaning you don't need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, alignment, and sizing can be easily customized with our amazing utility classes.

For accessibility purposes, each loader here includes role="status" and a nested <span class="visually-hidden">Loading...</span>.

Border spinner

Use the border spinners for a lightweight loading indicator.

Basic usage

', 6); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

About #

CoreUI "spinners" can be used to show the loading state in your projects. They're built only with HTML and CSS, meaning you don't need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, alignment, and sizing can be easily customized with our amazing utility classes.

For accessibility purposes, each loader here includes role="status" and a nested <span class="visually-hidden">Loading...</span>.

Border spinner #

Use the border spinners for a lightweight loading indicator.

Basic usage #

', 6); const _hoisted_7 = { class: "docs-example rounded-top p-4" }; -const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CSpinner/>\n

Colors

The border spinner uses currentColor for its border-color. You can use any of our text color utilities on the standard spinner.

', 3); +const _hoisted_8 = /* @__PURE__ */ createStaticVNode('
<CSpinner/>\n

Colors #

The border spinner uses currentColor for its border-color. You can use any of our text color utilities on the standard spinner.

', 3); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSpinner color="primary"/>\n<CSpinner color="secondary"/>\n<CSpinner color="success"/>\n<CSpinner color="danger"/>\n<CSpinner color="warning"/>\n<CSpinner color="info"/>\n<CSpinner color="light"/>\n<CSpinner color="dark"/>\n

Growing spinner

If you don't fancy a border spinner, switch to the grow spinner. While it doesn't technically spin, it does repeatedly grow!

', 3); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CSpinner color="primary"/>\n<CSpinner color="secondary"/>\n<CSpinner color="success"/>\n<CSpinner color="danger"/>\n<CSpinner color="warning"/>\n<CSpinner color="info"/>\n<CSpinner color="light"/>\n<CSpinner color="dark"/>\n

Growing spinner #

If you don't fancy a border spinner, switch to the grow spinner. While it doesn't technically spin, it does repeatedly grow!

', 3); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CSpinner variant="grow"/>\n

Once again, this spinner is built with currentColor, so you can easily change its appearance. Here it is in blue, along with the supported variants.

', 2); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CSpinner color="primary" variant="grow"/>\n<CSpinner color="secondary" variant="grow"/>\n<CSpinner color="success" variant="grow"/>\n<CSpinner color="danger" variant="grow"/>\n<CSpinner color="warning" variant="grow"/>\n<CSpinner color="info" variant="grow"/>\n<CSpinner color="light" variant="grow"/>\n<CSpinner color="dark" variant="grow"/>\n

Size

Add size="sm"property` to make a smaller spinner that can quickly be used within other components.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CSpinner color="primary" variant="grow"/>\n<CSpinner color="secondary" variant="grow"/>\n<CSpinner color="success" variant="grow"/>\n<CSpinner color="danger" variant="grow"/>\n<CSpinner color="warning" variant="grow"/>\n<CSpinner color="info" variant="grow"/>\n<CSpinner color="light" variant="grow"/>\n<CSpinner color="dark" variant="grow"/>\n

Size #

Add size="sm"property` to make a smaller spinner that can quickly be used within other components.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; -const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CSpinner size="sm"/>\n<CSpinner size="sm" variant="grow"/>\n

Buttons

Use spinners within buttons to indicate an action is currently processing or taking place. You may also swap the text out of the spinner element and utilize button text as needed.

', 3); +const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CSpinner size="sm"/>\n<CSpinner size="sm" variant="grow"/>\n

Buttons #

Use spinners within buttons to indicate an action is currently processing or taking place. You may also swap the text out of the spinner element and utilize button text as needed.

', 3); const _hoisted_26 = { class: "docs-example rounded-top p-4" }; const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" aria-hidden="true"/>\n</CButton>\n<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" aria-hidden="true"/>\n  Loading...\n</CButton>\n
', 1); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" variant="grow" aria-hidden="true"/>\n</CButton>\n<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" variant="grow" aria-hidden="true"/>\n  Loading...\n</CButton>\n

Customizing

CSS variables

Vue spinners use local CSS variables on .spinner-border and .spinner-grow for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

Border spinner variables:

', 5); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" variant="grow" aria-hidden="true"/>\n</CButton>\n<CButton color="primary" disabled>\n  <CSpinner as="span" size="sm" variant="grow" aria-hidden="true"/>\n  Loading...\n</CButton>\n

Customizing #

CSS variables #

Vue spinners use local CSS variables on .spinner-border and .spinner-grow for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

Border spinner variables:

', 5); const _hoisted_34 = /* @__PURE__ */ createBaseVNode("p", null, "Growing spinner variables:", -1); const _hoisted_35 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("For both spinners, small spinner modifier classes are used to update the values of these CSS variables as needed. For example, the "), /* @__PURE__ */ createBaseVNode("code", null, ".spinner-border-sm"), /* @__PURE__ */ createTextVNode(" class does the following:") ], -1); -const _hoisted_36 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CSpinner :style="vars">...</CSpinner>\n

SASS variables

', 3); -const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

API

CSpinner

import { CSpinner } from '@coreui/vue'\n// or\nimport CSpinner from '@coreui/vue/src/components/spinner/CSpinner'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component small.string'sm'-
variantSet the button variant to an outlined button or a ghost button.string'border', 'grow''border'
visually-hidden-labelSet visually hidden label for accessibility purposes.string-'Loading...'
', 5); +const _hoisted_36 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CSpinner :style="vars">...</CSpinner>\n

SASS variables #

', 3); +const _hoisted_39 = /* @__PURE__ */ createStaticVNode('

API #

CSpinner #

import { CSpinner } from '@coreui/vue'\n// or\nimport CSpinner from '@coreui/vue/src/components/spinner/CSpinner'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
sizeSize the component small.string'sm'-
variantSet the button variant to an outlined button or a ghost button.string'border', 'grow''border'
visually-hidden-labelSet visually hidden label for accessibility purposes.string-'Loading...'
', 5); function _sfc_render(_ctx, _cache) { const _component_CSpinner = resolveComponent("CSpinner"); const _component_CButton = resolveComponent("CButton"); diff --git a/vue/docs/assets/style-CM2j93lE.css b/vue/docs/assets/style-V4DqbpUk.css similarity index 99% rename from vue/docs/assets/style-CM2j93lE.css rename to vue/docs/assets/style-V4DqbpUk.css index ef22fb86129..69a38546ef0 100644 --- a/vue/docs/assets/style-CM2j93lE.css +++ b/vue/docs/assets/style-V4DqbpUk.css @@ -1,5 +1,5 @@ /*! - * CoreUI PRO v5.3.0 (https://coreui.io) + * CoreUI PRO v5.4.0 (https://coreui.io) * Copyright (c) 2024 creativeLabs Łukasz Holeczek * License (https://coreui.io/pro/license/) */ @@ -92,7 +92,7 @@ svg.DocSearch-Hit-Select-Icon{display:none} .DocSearch-Commands li{align-items:center;display:flex} .DocSearch-Commands li:not(:last-of-type){margin-right:.8em} .DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px} -.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px} +.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px} @media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}} @keyframes fade-in{0%{opacity:0}to{opacity:1}} :root, @@ -3006,9 +3006,11 @@ select.form-multi-select { top: 0; left: 0; z-index: 2; + max-width: 100%; height: 100%; padding: 1rem 0.75rem; overflow: hidden; + color: rgba(var(--cui-body-color-rgb), 0.65); text-align: start; text-overflow: ellipsis; white-space: nowrap; @@ -3053,17 +3055,18 @@ select.form-multi-select { padding-bottom: 0.625rem; } .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-control-plaintext ~ label, .form-floating > .form-select ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } -.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label::after { +.form-floating > .form-control:-webkit-autofill ~ label { + transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); +} +.form-floating > textarea:not(:-moz-placeholder-shown) ~ label::after { position: absolute; inset: 1rem 0.375rem; z-index: -1; @@ -3072,10 +3075,8 @@ select.form-multi-select { background-color: var(--cui-body-bg); border-radius: var(--cui-border-radius); } -.form-floating > .form-control:focus ~ label::after, -.form-floating > .form-control:not(:placeholder-shown) ~ label::after, -.form-floating > .form-control-plaintext ~ label::after, -.form-floating > .form-select ~ label::after { +.form-floating > textarea:focus ~ label::after, +.form-floating > textarea:not(:placeholder-shown) ~ label::after { position: absolute; inset: 1rem 0.375rem; z-index: -1; @@ -3084,9 +3085,8 @@ select.form-multi-select { background-color: var(--cui-body-bg); border-radius: var(--cui-border-radius); } -.form-floating > .form-control:-webkit-autofill ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); - transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); +.form-floating > textarea:disabled ~ label::after { + background-color: var(--cui-secondary-bg); } .form-floating > .form-control-plaintext ~ label { border-width: var(--cui-border-width) 0; @@ -3095,10 +3095,6 @@ select.form-multi-select { .form-floating > .form-control:disabled ~ label { color: #6d7d9c; } -.form-floating > :disabled ~ label::after, -.form-floating > .form-control:disabled ~ label::after { - background-color: var(--cui-secondary-bg); -} .input-group { position: relative; display: flex; @@ -3213,7 +3209,7 @@ select.form-multi-select { .was-validated .form-control:valid, .form-control.is-valid { border-color: var(--cui-form-valid-border-color); padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); @@ -3230,7 +3226,7 @@ select.form-multi-select { border-color: var(--cui-form-valid-border-color); } .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] { - --cui-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + --cui-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e"); padding-right: 4.125rem; background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); @@ -4511,7 +4507,8 @@ select.form-multi-select { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.btn-group-vertical > .btn ~ .btn, +.btn-group-vertical > .btn:nth-child(n+3), +.btn-group-vertical > :not(.btn-check) + .btn, .btn-group-vertical > .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-top-right-radius: 0; @@ -5278,11 +5275,11 @@ select.form-multi-select { --cui-accordion-btn-padding-y: 1rem; --cui-accordion-btn-color: var(--cui-body-color); --cui-accordion-btn-bg: var(--cui-accordion-bg); - --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba%2837, 43, 54, 0.95%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); + --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba%2837, 43, 54, 0.95%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); --cui-accordion-btn-icon-width: 1.25rem; --cui-accordion-btn-icon-transform: rotate(-180deg); --cui-accordion-btn-icon-transition: transform 0.2s ease-in-out; - --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233634a3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); + --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233634a3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); --cui-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25); --cui-accordion-body-padding-x: 1.25rem; --cui-accordion-body-padding-y: 1rem; @@ -5387,16 +5384,15 @@ select.form-multi-select { .accordion-flush > .accordion-item:last-child { border-bottom: 0; } -.accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed { - border-radius: 0; -} -.accordion-flush > .accordion-item > .accordion-collapse { +.accordion-flush > .accordion-item > .accordion-collapse, +.accordion-flush > .accordion-item > .accordion-header .accordion-button, +.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed { border-radius: 0; } .dark-theme .accordion-button::after, [data-coreui-theme=dark] .accordion-button::after { - --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.87%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); - --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23403f98'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.87%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); + --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23403f98'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); } .breadcrumb { --cui-breadcrumb-padding-x: 0; @@ -6051,7 +6047,7 @@ select.form-multi-select { } .btn-close { --cui-btn-close-color: #080a0c; - --cui-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23080a0c'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e"); + --cui-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23080a0c'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e"); --cui-btn-close-opacity: 0.5; --cui-btn-close-hover-opacity: 0.75; --cui-btn-close-focus-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25); @@ -6804,10 +6800,10 @@ select.form-multi-select { } ] } */ .carousel-control-prev-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e"); } .carousel-control-next-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); } .carousel-indicators { position: absolute; @@ -7594,11 +7590,22 @@ select.form-multi-select { .calendar.months ~ .time-picker, .calendar.years ~ .time-picker { display: none; } +@media (max-width: 575.98px) { + .calendar:not(:first-child) .calendar-nav { + border-top: var(--cui-calendar-nav-border); + } +} .show-week-numbers table { width: calc(var(--cui-calendar-table-cell-size) * 8); } .calendars { display: flex; + flex-basis: min-content; +} +@media (max-width: 575.98px) { + .calendars { + flex-wrap: wrap; + } } .calendar-nav { display: flex; @@ -8746,9 +8753,9 @@ select.form-multi-select { --cui-sidebar-nav-group-items-padding-y: 0; --cui-sidebar-nav-group-items-padding-x: 0; --cui-sidebar-nav-group-indicator-color: var(--cui-tertiary-color); - --cui-sidebar-nav-group-indicator-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-sidebar-nav-group-indicator-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); --cui-sidebar-nav-group-indicator-hover-color: var(--cui-emphasis-color); - --cui-sidebar-nav-group-indicator-hover-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-sidebar-nav-group-indicator-hover-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); --cui-sidebar-nav-group-toggle-show-color: var(--cui-body-color); position: relative; display: flex; @@ -9008,10 +9015,10 @@ select.form-multi-select { } } .sidebar-narrow:not(.sidebar-end) ~ * { - --cui-sidebar-occupy-start: 4rem; + --cui-sidebar-occupy-start: 4rem !important; } .sidebar-narrow.sidebar-end ~ * { - --cui-sidebar-occupy-end: 4rem; + --cui-sidebar-occupy-end: 4rem !important; } .sidebar-narrow .nav-link { overflow: hidden; @@ -9020,10 +9027,10 @@ select.form-multi-select { position: fixed; } .sidebar-narrow-unfoldable:not(.sidebar-end) ~ * { - --cui-sidebar-occupy-start: 4rem; + --cui-sidebar-occupy-start: 4rem !important; } .sidebar-narrow-unfoldable.sidebar-end ~ * { - --cui-sidebar-occupy-end: 4rem; + --cui-sidebar-occupy-end: 4rem !important; } .sidebar-narrow-unfoldable:hover { box-shadow: 0 0.5rem 1rem rgba(8, 10, 12, 0.15); @@ -9286,11 +9293,11 @@ select.form-multi-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; + scrollbar-width: none; /* Firefox */ background-color: transparent; border: 0; font-size: var(--cui-time-picker-inline-select-font-size); -ms-overflow-style: none; /* Internet Explorer 10+ */ - scrollbar-width: none; /* Firefox */ } .time-picker-inline-select::-webkit-scrollbar { width: 10px; @@ -15518,11 +15525,22 @@ div[dir=rtl] .calendar table td { div[dir=rtl] .calendar.months ~ .time-picker, div[dir=rtl] .calendar.years ~ .time-picker { display: none; } +@media (max-width: 575.98px) { + div[dir=rtl] .calendar:not(:first-child) .calendar-nav { + border-top: var(--cui-calendar-nav-border); + } +} div[dir=rtl] .show-week-numbers table { width: calc(var(--cui-calendar-table-cell-size) * 8); } div[dir=rtl] .calendars { display: flex; + flex-basis: min-content; +} +@media (max-width: 575.98px) { + div[dir=rtl] .calendars { + flex-wrap: wrap; + } } div[dir=rtl] .calendar-nav { display: flex; @@ -16181,11 +16199,11 @@ div[dir=rtl] .time-picker-inline-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; + scrollbar-width: none; /* Firefox */ background-color: transparent; border: 0; font-size: var(--cui-time-picker-inline-select-font-size); -ms-overflow-style: none; /* Internet Explorer 10+ */ - scrollbar-width: none; /* Firefox */ } div[dir=rtl] .time-picker-inline-select::-webkit-scrollbar { width: 10px; @@ -16252,7 +16270,7 @@ div[dir=rtl] .time-picker-lg { --cui-time-picker-cleaner-icon-size: 1.25rem; --cui-time-picker-indicator-icon-size: 1.25rem; }/*! - * CoreUI PRO v5.3.0 (https://coreui.io) + * CoreUI PRO v5.4.0 (https://coreui.io) * Copyright (c) 2024 creativeLabs Łukasz Holeczek * License (https://coreui.io/pro/license/) */ @@ -19167,9 +19185,11 @@ select.form-multi-select { top: 0; left: 0; z-index: 2; + max-width: 100%; height: 100%; padding: 1rem 0.75rem; overflow: hidden; + color: rgba(var(--cui-body-color-rgb), 0.65); text-align: start; text-overflow: ellipsis; white-space: nowrap; @@ -19214,17 +19234,18 @@ select.form-multi-select { padding-bottom: 0.625rem; } .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-control-plaintext ~ label, .form-floating > .form-select ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } -.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label::after { +.form-floating > .form-control:-webkit-autofill ~ label { + transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); +} +.form-floating > textarea:not(:-moz-placeholder-shown) ~ label::after { position: absolute; inset: 1rem 0.375rem; z-index: -1; @@ -19233,10 +19254,8 @@ select.form-multi-select { background-color: var(--cui-body-bg); border-radius: var(--cui-border-radius); } -.form-floating > .form-control:focus ~ label::after, -.form-floating > .form-control:not(:placeholder-shown) ~ label::after, -.form-floating > .form-control-plaintext ~ label::after, -.form-floating > .form-select ~ label::after { +.form-floating > textarea:focus ~ label::after, +.form-floating > textarea:not(:placeholder-shown) ~ label::after { position: absolute; inset: 1rem 0.375rem; z-index: -1; @@ -19245,9 +19264,8 @@ select.form-multi-select { background-color: var(--cui-body-bg); border-radius: var(--cui-border-radius); } -.form-floating > .form-control:-webkit-autofill ~ label { - color: rgba(var(--cui-body-color-rgb), 0.65); - transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); +.form-floating > textarea:disabled ~ label::after { + background-color: var(--cui-secondary-bg); } .form-floating > .form-control-plaintext ~ label { border-width: var(--cui-border-width) 0; @@ -19256,10 +19274,6 @@ select.form-multi-select { .form-floating > .form-control:disabled ~ label { color: #6d7d9c; } -.form-floating > :disabled ~ label::after, -.form-floating > .form-control:disabled ~ label::after { - background-color: var(--cui-secondary-bg); -} .input-group { position: relative; display: flex; @@ -19374,7 +19388,7 @@ select.form-multi-select { .was-validated .form-control:valid, .form-control.is-valid { border-color: var(--cui-form-valid-border-color); padding-right: calc(1.5em + 0.75rem); - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); @@ -19391,7 +19405,7 @@ select.form-multi-select { border-color: var(--cui-form-valid-border-color); } .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] { - --cui-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + --cui-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%231b9e3e' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e"); padding-right: 4.125rem; background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); @@ -20672,7 +20686,8 @@ select.form-multi-select { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.btn-group-vertical > .btn ~ .btn, +.btn-group-vertical > .btn:nth-child(n+3), +.btn-group-vertical > :not(.btn-check) + .btn, .btn-group-vertical > .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-top-right-radius: 0; @@ -21439,11 +21454,11 @@ select.form-multi-select { --cui-accordion-btn-padding-y: 1rem; --cui-accordion-btn-color: var(--cui-body-color); --cui-accordion-btn-bg: var(--cui-accordion-bg); - --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba%2837, 43, 54, 0.95%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); + --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba%2837, 43, 54, 0.95%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); --cui-accordion-btn-icon-width: 1.25rem; --cui-accordion-btn-icon-transform: rotate(-180deg); --cui-accordion-btn-icon-transition: transform 0.2s ease-in-out; - --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233634a3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); + --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233634a3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); --cui-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25); --cui-accordion-body-padding-x: 1.25rem; --cui-accordion-body-padding-y: 1rem; @@ -21548,16 +21563,15 @@ select.form-multi-select { .accordion-flush > .accordion-item:last-child { border-bottom: 0; } -.accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed { - border-radius: 0; -} -.accordion-flush > .accordion-item > .accordion-collapse { +.accordion-flush > .accordion-item > .accordion-collapse, +.accordion-flush > .accordion-item > .accordion-header .accordion-button, +.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed { border-radius: 0; } .dark-theme .accordion-button::after, [data-coreui-theme=dark] .accordion-button::after { - --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.87%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); - --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23403f98'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28255, 255, 255, 0.87%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); + --cui-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23403f98'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); } .breadcrumb { --cui-breadcrumb-padding-x: 0; @@ -22212,7 +22226,7 @@ select.form-multi-select { } .btn-close { --cui-btn-close-color: #080a0c; - --cui-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23080a0c'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e"); + --cui-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23080a0c'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e"); --cui-btn-close-opacity: 0.5; --cui-btn-close-hover-opacity: 0.75; --cui-btn-close-focus-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25); @@ -22965,10 +22979,10 @@ select.form-multi-select { } ] } */ .carousel-control-prev-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e"); } .carousel-control-next-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); } .carousel-indicators { position: absolute; @@ -23755,11 +23769,22 @@ select.form-multi-select { .calendar.months ~ .time-picker, .calendar.years ~ .time-picker { display: none; } +@media (max-width: 575.98px) { + .calendar:not(:first-child) .calendar-nav { + border-top: var(--cui-calendar-nav-border); + } +} .show-week-numbers table { width: calc(var(--cui-calendar-table-cell-size) * 8); } .calendars { display: flex; + flex-basis: min-content; +} +@media (max-width: 575.98px) { + .calendars { + flex-wrap: wrap; + } } .calendar-nav { display: flex; @@ -24907,9 +24932,9 @@ select.form-multi-select { --cui-sidebar-nav-group-items-padding-y: 0; --cui-sidebar-nav-group-items-padding-x: 0; --cui-sidebar-nav-group-indicator-color: var(--cui-tertiary-color); - --cui-sidebar-nav-group-indicator-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-sidebar-nav-group-indicator-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); --cui-sidebar-nav-group-indicator-hover-color: var(--cui-emphasis-color); - --cui-sidebar-nav-group-indicator-hover-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --cui-sidebar-nav-group-indicator-hover-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e"); --cui-sidebar-nav-group-toggle-show-color: var(--cui-body-color); position: relative; display: flex; @@ -25169,10 +25194,10 @@ select.form-multi-select { } } .sidebar-narrow:not(.sidebar-end) ~ * { - --cui-sidebar-occupy-start: 4rem; + --cui-sidebar-occupy-start: 4rem !important; } .sidebar-narrow.sidebar-end ~ * { - --cui-sidebar-occupy-end: 4rem; + --cui-sidebar-occupy-end: 4rem !important; } .sidebar-narrow .nav-link { overflow: hidden; @@ -25181,10 +25206,10 @@ select.form-multi-select { position: fixed; } .sidebar-narrow-unfoldable:not(.sidebar-end) ~ * { - --cui-sidebar-occupy-start: 4rem; + --cui-sidebar-occupy-start: 4rem !important; } .sidebar-narrow-unfoldable.sidebar-end ~ * { - --cui-sidebar-occupy-end: 4rem; + --cui-sidebar-occupy-end: 4rem !important; } .sidebar-narrow-unfoldable:hover { box-shadow: 0 0.5rem 1rem rgba(8, 10, 12, 0.15); @@ -25447,11 +25472,11 @@ select.form-multi-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; + scrollbar-width: none; /* Firefox */ background-color: transparent; border: 0; font-size: var(--cui-time-picker-inline-select-font-size); -ms-overflow-style: none; /* Internet Explorer 10+ */ - scrollbar-width: none; /* Firefox */ } .time-picker-inline-select::-webkit-scrollbar { width: 10px; diff --git a/vue/docs/assets/switch.html-CzcyoMGb.js b/vue/docs/assets/switch.html-C_xLNHwA.js similarity index 77% rename from vue/docs/assets/switch.html-CzcyoMGb.js rename to vue/docs/assets/switch.html-C_xLNHwA.js index 7e56cec8ea5..1ec0e8255f6 100644 --- a/vue/docs/assets/switch.html-CzcyoMGb.js +++ b/vue/docs/assets/switch.html-C_xLNHwA.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "about", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("About "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#about", - "aria-hidden": "true" + href: "#about" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, 'Vue Switch Components are a type of UI component that allows users to toggle between two states, usually represented as "on" or "off", "enabled" or "disabled", or "checked" or "unchecked".', -1); @@ -20,17 +19,16 @@ const _hoisted_4 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_5 = { class: "docs-example rounded-top p-4" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch label="Checked switch checkbox input" id="formSwitchCheckChecked" checked/>\n<CFormSwitch label="Disabled switch checkbox input" id="formSwitchCheckDisabled" disabled/>\n<CFormSwitch label="Disabled checked switch checkbox input" id="formSwitchCheckCheckedDisabled" checked disabled/>\n

Sizing

Larger or smaller react switches? Add size="lg" or size="xl" for additional sizes.

', 3); +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch label="Checked switch checkbox input" id="formSwitchCheckChecked" checked/>\n<CFormSwitch label="Disabled switch checkbox input" id="formSwitchCheckDisabled" disabled/>\n<CFormSwitch label="Disabled checked switch checkbox input" id="formSwitchCheckCheckedDisabled" checked disabled/>\n

Sizing #

Larger or smaller react switches? Add size="lg" or size="xl" for additional sizes.

', 3); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch size="lg" label="Large switch checkbox input" id="formSwitchCheckDefaultLg"/>\n<CFormSwitch size="xl" label="Extra large switch checkbox input" id="formSwitchCheckDefaultXL"/>\n

Reverse

Put your switches on the opposite side by adding reverse boolean property.

', 3); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch label="Default switch checkbox input" id="formSwitchCheckDefault"/>\n<CFormSwitch size="lg" label="Large switch checkbox input" id="formSwitchCheckDefaultLg"/>\n<CFormSwitch size="xl" label="Extra large switch checkbox input" id="formSwitchCheckDefaultXL"/>\n

Reverse #

Put your switches on the opposite side by adding reverse boolean property.

', 3); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch reverse type="radio" id="reverseFormSwitch1" label="Reverse switch"/>\n<CFormSwitch reverse type="radio" id="reverseFormSwitch2" label="Disabled reverse switch" disabled/>\n

Customizing

SASS variables

', 3); -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

API

CFormSwitch

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CFormSwitch reverse type="radio" id="reverseFormSwitch1" label="Reverse switch"/>\n<CFormSwitch reverse type="radio" id="reverseFormSwitch2" label="Disabled reverse switch" disabled/>\n

Customizing #

SASS variables #

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('

API #

CFormSwitch #

import { CFormSwitch } from '@coreui/vue'\n// or\nimport CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch'\n

Props #

Prop nameDescriptionTypeValuesDefault
idThe id global attribute defines an identifier (ID) that must be unique in the whole documentstring--
invalidSet component validation state to invalid.boolean--
labelThe element represents a caption for a component.string--
model-valueThe default name for a value passed using v-model.boolean|string--
reverse
4.8.0+
Put checkboxes or radios on the opposite side.boolean--
sizeSize the component large or extra large. Works only with switch.string'lg' | 'xl'-
typeSpecifies the type of component.string'checkbox', 'radio''checkbox'
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the checked value has been changed.
update:modelValueEmit the new value whenever there’s a change event.
', 7); function _sfc_render(_ctx, _cache) { const _component_CFormSwitch = resolveComponent("CFormSwitch"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/table.html-BKhXilE_.js b/vue/docs/assets/table.html-aCVCSEDl.js similarity index 75% rename from vue/docs/assets/table.html-BKhXilE_.js rename to vue/docs/assets/table.html-aCVCSEDl.js index d4481779e19..3ee4600d7be 100644 --- a/vue/docs/assets/table.html-BKhXilE_.js +++ b/vue/docs/assets/table.html-aCVCSEDl.js @@ -1,164 +1,167 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - data: () => { - return { - columns: [ - { - key: "id", - label: "#", - _props: { scope: "col" } - }, - { - key: "class", - _props: { scope: "col" } - }, - { - key: "heading_1", - label: "Heading", - _props: { scope: "col" } - }, - { - key: "heading_2", - label: "Heading", - _props: { scope: "col" } - } - ], - items: [ - { - id: 1, - class: "Mark", - heading_1: "Otto", - heading_2: "@mdo", - _cellProps: { id: { scope: "row" } } - }, - { - id: 2, - class: "Jacob", - heading_1: "Thornton", - heading_2: "@fat", - _cellProps: { id: { scope: "row" } } - }, - { - id: 3, - class: "Larry the Bird", - heading_2: "@twitter", - _cellProps: { id: { scope: "row" }, class: { colSpan: 2 } } - } - ], - columnsActiveTableExample: [ - { - key: "id", - label: "#", - _props: { scope: "col" } - }, - { - key: "class", - _props: { scope: "col" } - }, - { - key: "heading_1", - label: "Heading", - _props: { scope: "col" } - }, - { - key: "heading_2", - label: "Heading", - _props: { scope: "col" } - } - ], - itemsActiveTableExample: [ - { - id: 1, - class: "Mark", - heading_1: "Otto", - heading_2: "@mdo", - _props: { active: true }, - _cellProps: { id: { scope: "row" } } - }, - { - id: 2, - class: "Jacob", - heading_1: "Thornton", - heading_2: "@fat", - _cellProps: { id: { scope: "row" } } - }, - { - id: 3, - class: "Larry the Bird", - heading_2: "@twitter", - _cellProps: { id: { scope: "row" }, class: { active: true, colSpan: 2 } } - } - ], - columnsVariantExample: [ - { key: "class", _props: { scope: "col" } }, - { key: "heading_1", label: "Heading", _props: { scope: "col" } }, - { key: "heading_2", label: "Heading", _props: { scope: "col" } } - ], - itemsVariantExample: [ - { - class: "Default", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } } - }, - { - class: "Primary", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "primary" } - }, - { - class: "Secondary", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "secondary" } - }, - { - class: "Success", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "success" } - }, - { - class: "Danger", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "danger" } - }, - { - class: "Warning", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "warning" } - }, - { - class: "Info", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "info" } - }, - { - class: "Light", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "light" } - }, - { - class: "Dark", - heading_1: "Cell", - heading_2: "Cell", - _cellProps: { class: { scope: "row" } }, - _props: { color: "dark" } - } - ] - }; + __name: "table.html", + setup(__props, { expose: __expose }) { + __expose(); + const columns = [ + { + key: "id", + label: "#", + _props: { scope: "col" } + }, + { + key: "class", + _props: { scope: "col" } + }, + { + key: "heading_1", + label: "Heading", + _props: { scope: "col" } + }, + { + key: "heading_2", + label: "Heading", + _props: { scope: "col" } + } + ]; + const items = [ + { + id: 1, + class: "Mark", + heading_1: "Otto", + heading_2: "@mdo", + _cellProps: { id: { scope: "row" } } + }, + { + id: 2, + class: "Jacob", + heading_1: "Thornton", + heading_2: "@fat", + _cellProps: { id: { scope: "row" } } + }, + { + id: 3, + class: "Larry the Bird", + heading_2: "@twitter", + _cellProps: { id: { scope: "row" }, class: { colSpan: 2 } } + } + ]; + const columnsActiveTableExample = [ + { + key: "id", + label: "#", + _props: { scope: "col" } + }, + { + key: "class", + _props: { scope: "col" } + }, + { + key: "heading_1", + label: "Heading", + _props: { scope: "col" } + }, + { + key: "heading_2", + label: "Heading", + _props: { scope: "col" } + } + ]; + const itemsActiveTableExample = [ + { + id: 1, + class: "Mark", + heading_1: "Otto", + heading_2: "@mdo", + _props: { active: true }, + _cellProps: { id: { scope: "row" } } + }, + { + id: 2, + class: "Jacob", + heading_1: "Thornton", + heading_2: "@fat", + _cellProps: { id: { scope: "row" } } + }, + { + id: 3, + class: "Larry the Bird", + heading_2: "@twitter", + _cellProps: { id: { scope: "row" }, class: { active: true, colSpan: 2 } } + } + ]; + const columnsVariantExample = [ + { key: "class", _props: { scope: "col" } }, + { key: "heading_1", label: "Heading", _props: { scope: "col" } }, + { key: "heading_2", label: "Heading", _props: { scope: "col" } } + ]; + const itemsVariantExample = [ + { + class: "Default", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } } + }, + { + class: "Primary", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "primary" } + }, + { + class: "Secondary", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "secondary" } + }, + { + class: "Success", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "success" } + }, + { + class: "Danger", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "danger" } + }, + { + class: "Warning", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "warning" } + }, + { + class: "Info", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "info" } + }, + { + class: "Light", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "light" } + }, + { + class: "Dark", + heading_1: "Cell", + heading_2: "Cell", + _cellProps: { class: { scope: "row" } }, + _props: { color: "dark" } + } + ]; + const __returned__ = { columns, items, columnsActiveTableExample, itemsActiveTableExample, columnsVariantExample, itemsVariantExample }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -168,8 +171,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("How to use Vue Table Component "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#how-to-use-vue-table-component", - "aria-hidden": "true" + href: "#how-to-use-vue-table-component" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -185,11 +187,11 @@ const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("-based tables look in CoreUI.") ], -1); const _hoisted_4 = { class: "docs-example rounded p-4" }; -const _hoisted_5 = /* @__PURE__ */ createStaticVNode('

In version 4.5.0 we introduced a new way to create a table, similarly to our Smart Table component.

<template>\n  <CTable :columns="columns" :items="items" />\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        columns: [\n          {\n            key: 'id',\n            label: '#',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'class',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_1',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_2',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n        ],\n        items: [\n          {\n            id: 1,\n            class: 'Mark',\n            heading_1: 'Otto',\n            heading_2: '@mdo',\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 2,\n            class: 'Jacob',\n            heading_1: 'Thornton',\n            heading_2: '@fat',\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 3,\n            class: 'Larry the Bird',\n            heading_2: '@twitter',\n            _cellProps: { id: { scope: 'row' }, class: { colSpan: 2 } },\n          },\n        ]\n      }\n    },\n  }\n</script>\n

You can also put all table components together manually as hitherto.

<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Variants

Use contextual classes to color tables, table rows or individual cells.

', 6); +const _hoisted_5 = /* @__PURE__ */ createStaticVNode('

In version 4.5.0 we introduced a new way to create a table, similarly to our Smart Table component.

<script setup>\n  const columns = [\n    {\n      key: 'id',\n      label: '#',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'class',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_1',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_2',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n  ]\n  const items = [\n    {\n      id: 1,\n      class: 'Mark',\n      heading_1: 'Otto',\n      heading_2: '@mdo',\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 2,\n      class: 'Jacob',\n      heading_1: 'Thornton',\n      heading_2: '@fat',\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 3,\n      class: 'Larry the Bird',\n      heading_2: '@twitter',\n      _cellProps: { id: { scope: 'row' }, class: { colSpan: 2 } },\n    },\n  ]\n</script>\n<template>\n  <CTable :columns="columns" :items="items" />\n</template>\n

You can also put all table components together manually as hitherto.

<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Variants #

Use contextual classes to color tables, table rows or individual cells.

', 6); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; -const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">Default</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="primary">\n      <CTableHeaderCell scope="row">Primary</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="secondary">\n      <CTableHeaderCell scope="row">Secondary</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="success">\n      <CTableHeaderCell scope="row">Success</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="danger">\n      <CTableHeaderCell scope="row">Danger</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="warning">\n      <CTableHeaderCell scope="row">Warning</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="info">\n      <CTableHeaderCell scope="row">Info</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="light">\n      <CTableHeaderCell scope="row">Light</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="dark">\n      <CTableHeaderCell scope="row">Dark</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Since version 4.5.0 also this way.

<template>\n  <CTable :columns="columnsVariantExample" :items="itemsVariantExample" />\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        columnsVariantExample: [\n          { key: 'class', _props: { scope: 'col' } },\n          { key: 'heading_1', label: 'Heading', _props: { scope: 'col' } },\n          { key: 'heading_2', label: 'Heading', _props: { scope: 'col' } },\n        ],\n        itemsVariantExample: [\n          {\n            class: 'Default',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n          },\n          {\n            class: 'Primary',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'primary' },\n          },\n          {\n            class: 'Secondary',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'secondary' },\n          },\n          {\n            class: 'Success',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'success' },\n          },\n          {\n            class: 'Danger',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'danger' },\n          },\n          {\n            class: 'Warning',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'warning' },\n          },\n          {\n            class: 'Info',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'info' },\n          },\n          {\n            class: 'Light',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'light' },\n          },\n          {\n            class: 'Dark',\n            heading_1: 'Cell',\n            heading_2: 'Cell',\n            _cellProps: { class: { scope: 'row' } },\n            _props: { color: 'dark' },\n          },\n        ]\n      }\n    },\n  }\n</script>\n

Accented tables

Striped rows

Use striped property to add zebra-striping to any table row within the <CTableBody>.

', 6); +const _hoisted_12 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">Default</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="primary">\n      <CTableHeaderCell scope="row">Primary</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="secondary">\n      <CTableHeaderCell scope="row">Secondary</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="success">\n      <CTableHeaderCell scope="row">Success</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="danger">\n      <CTableHeaderCell scope="row">Danger</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="warning">\n      <CTableHeaderCell scope="row">Warning</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="info">\n      <CTableHeaderCell scope="row">Info</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="light">\n      <CTableHeaderCell scope="row">Light</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n    <CTableRow color="dark">\n      <CTableHeaderCell scope="row">Dark</CTableHeaderCell>\n      <CTableDataCell>Cell</CTableDataCell>\n      <CTableDataCell>Cell</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Since version 4.5.0 also this way.

<script setup>\n  const columnsVariantExample = [\n    { key: 'class', _props: { scope: 'col' } },\n    { key: 'heading_1', label: 'Heading', _props: { scope: 'col' } },\n    { key: 'heading_2', label: 'Heading', _props: { scope: 'col' } },\n  ]\n  const itemsVariantExample = [\n    {\n      class: 'Default',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n    },\n    {\n      class: 'Primary',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'primary' },\n    },\n    {\n      class: 'Secondary',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'secondary' },\n    },\n    {\n      class: 'Success',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'success' },\n    },\n    {\n      class: 'Danger',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'danger' },\n    },\n    {\n      class: 'Warning',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'warning' },\n    },\n    {\n      class: 'Info',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'info' },\n    },\n    {\n      class: 'Light',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'light' },\n    },\n    {\n      class: 'Dark',\n      heading_1: 'Cell',\n      heading_2: 'Cell',\n      _cellProps: { class: { scope: 'row' } },\n      _props: { color: 'dark' },\n    },\n  ]\n</script>\n<template>\n  <CTable :columns="columnsVariantExample" :items="itemsVariantExample" />\n</template>\n

Accented tables #

Striped rows #

Use striped property to add zebra-striping to any table row within the <CTableBody>.

', 6); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CTable striped>\n  ...\n</CTable>\n

Striped columns

Use stripedColumns boolean property to add zebra-striping to any table column.

', 3); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CTable striped>\n  ...\n</CTable>\n

Striped columns #

Use stripedColumns boolean property to add zebra-striping to any table column.

', 3); const _hoisted_22 = { class: "docs-example rounded-top p-4" }; const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CTable stripedColumns>\n  ...\n</CTable>\n

These classes can also be added to table variants:

', 2); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; @@ -199,27 +201,27 @@ const _hoisted_28 = /* @__PURE__ */ createStaticVNode('
<CTable color="success" striped>\n  ...\n</CTable>\n
', 1); const _hoisted_31 = { class: "docs-example rounded-top p-4" }; -const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CTable color="success" striped>\n  ...\n</CTable>\n

Hoverable rows

Use hover property to enable a hover state on table rows within a <CTableBody>.

', 3); +const _hoisted_32 = /* @__PURE__ */ createStaticVNode('
<CTable color="success" striped>\n  ...\n</CTable>\n

Hoverable rows #

Use hover property to enable a hover state on table rows within a <CTableBody>.

', 3); const _hoisted_35 = { class: "docs-example rounded-top p-4" }; const _hoisted_36 = /* @__PURE__ */ createStaticVNode('
<CTable hover>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n
', 1); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = /* @__PURE__ */ createStaticVNode('
<CTable color="dark" hover>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

These hoverable rows can also be combined with the striped variant:

', 2); const _hoisted_40 = { class: "docs-example rounded-top p-4" }; -const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CTable striped hover>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Active tables

Highlight a table row or cell by adding a active property.

', 3); +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CTable striped hover>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Active tables #

Highlight a table row or cell by adding a active property.

', 3); const _hoisted_44 = { class: "docs-example rounded p-4" }; -const _hoisted_45 = /* @__PURE__ */ createStaticVNode('

As mentioned before since version 4.5.0 we have two ways to generate tables, also with custom properties for rows, and cells.

<template>\n  <CTable :columns="columnsActiveTableExample" :items="itemsActiveTableExample" />\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        columnsActiveTableExample: [\n          {\n            key: 'id',\n            label: '#',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'class',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_1',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_2',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n        ],\n        itemsActiveTableExample: [\n          {\n            id: 1,\n            class: 'Mark',\n            heading_1: 'Otto',\n            heading_2: '@mdo',\n            _props: { active: true },\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 2,\n            class: 'Jacob',\n            heading_1: 'Thornton',\n            heading_2: '@fat',\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 3,\n            class: 'Larry the Bird',\n            heading_2: '@twitter',\n            _cellProps: { id: { scope: 'row' }, class: { active: true, colSpan: 2 } },\n          },\n        ],\n      }\n    },\n  }\n</script>\n
<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow active>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2" active>Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n
', 3); +const _hoisted_45 = /* @__PURE__ */ createStaticVNode('

As mentioned before since version 4.5.0 we have two ways to generate tables, also with custom properties for rows, and cells.

<script setup>\n  const columnsActiveTableExample = [\n    {\n      key: 'id',\n      label: '#',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'class',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_1',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_2',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n  ]\n  const itemsActiveTableExample = [\n    {\n      id: 1,\n      class: 'Mark',\n      heading_1: 'Otto',\n      heading_2: '@mdo',\n      _props: { active: true },\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 2,\n      class: 'Jacob',\n      heading_1: 'Thornton',\n      heading_2: '@fat',\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 3,\n      class: 'Larry the Bird',\n      heading_2: '@twitter',\n      _cellProps: { id: { scope: 'row' }, class: { active: true, colSpan: 2 } },\n    },\n  ]\n</script>\n<template>\n  <CTable :columns="columnsActiveTableExample" :items="itemsActiveTableExample" />\n</template>\n
<CTable>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow active>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2" active>Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n
', 3); const _hoisted_48 = { class: "docs-example rounded-top p-4" }; -const _hoisted_49 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CTable color="dark" :columns="columnsActiveTableExample" :items="itemsActiveTableExample" />\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        columnsActiveTableExample: [\n          {\n            key: 'id',\n            label: '#',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'class',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_1',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n          {\n            key: 'heading_2',\n            label: 'Heading',\n            _props: { scope: 'col' },\n          },\n        ],\n        itemsActiveTableExample: [\n          {\n            id: 1,\n            class: 'Mark',\n            heading_1: 'Otto',\n            heading_2: '@mdo',\n            _props: { active: true },\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 2,\n            class: 'Jacob',\n            heading_1: 'Thornton',\n            heading_2: '@fat',\n            _cellProps: { id: { scope: 'row' } },\n          },\n          {\n            id: 3,\n            class: 'Larry the Bird',\n            heading_2: '@twitter',\n            _cellProps: { id: { scope: 'row' }, class: { active: true, colSpan: 2 } },\n          },\n        ],\n      }\n    },\n  }\n</script>\n

Table borders

Bordered tables

Add bordered property for borders on all sides of the table and cells.

', 4); +const _hoisted_49 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const columnsActiveTableExample = [\n    {\n      key: 'id',\n      label: '#',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'class',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_1',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n    {\n      key: 'heading_2',\n      label: 'Heading',\n      _props: { scope: 'col' },\n    },\n  ]\n  const itemsActiveTableExample = [\n    {\n      id: 1,\n      class: 'Mark',\n      heading_1: 'Otto',\n      heading_2: '@mdo',\n      _props: { active: true },\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 2,\n      class: 'Jacob',\n      heading_1: 'Thornton',\n      heading_2: '@fat',\n      _cellProps: { id: { scope: 'row' } },\n    },\n    {\n      id: 3,\n      class: 'Larry the Bird',\n      heading_2: '@twitter',\n      _cellProps: { id: { scope: 'row' }, class: { active: true, colSpan: 2 } },\n    },\n  ]\n</script>\n<template>\n  <CTable color="dark" :columns="columnsActiveTableExample" :items="itemsActiveTableExample" />\n</template>\n

Table borders #

Bordered tables #

Add bordered property for borders on all sides of the table and cells.

', 4); const _hoisted_53 = { class: "docs-example rounded-top p-4" }; const _hoisted_54 = /* @__PURE__ */ createStaticVNode('
<CTable bordered>\n  ...\n</CTable>\n

Border color utilities can be added to change colors:

', 2); const _hoisted_56 = { class: "docs-example rounded-top p-4" }; -const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<CTable bordered border-color="primary">\n  ...\n</CTable>\n

Tables without borders

Add borderless property for a table without borders.

', 3); +const _hoisted_57 = /* @__PURE__ */ createStaticVNode('
<CTable bordered border-color="primary">\n  ...\n</CTable>\n

Tables without borders #

Add borderless property for a table without borders.

', 3); const _hoisted_60 = { class: "docs-example rounded-top p-4" }; const _hoisted_61 = /* @__PURE__ */ createStaticVNode('
<CTable borderless>\n  ...\n</CTable>\n
', 1); const _hoisted_62 = { class: "docs-example rounded-top p-4" }; -const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CTable color="dark" borderless>\n  ...\n</CTable>\n

Small tables

Add small property to make any <CTable> more compact by cutting all cell padding in half.

', 3); +const _hoisted_63 = /* @__PURE__ */ createStaticVNode('
<CTable color="dark" borderless>\n  ...\n</CTable>\n

Small tables #

Add small property to make any <CTable> more compact by cutting all cell padding in half.

', 3); const _hoisted_66 = { class: "docs-example rounded-top p-4" }; -const _hoisted_67 = /* @__PURE__ */ createStaticVNode('
<CTable small>\n  ...\n</CTable>\n

Vertical alignment

Table cells of <CTableHead> are always vertical aligned to the bottom. Table cells in <CTableBody> inherit their alignment from <CTable> and are aligned to the the top by default. Use the align property to re-align where needed.

', 3); +const _hoisted_67 = /* @__PURE__ */ createStaticVNode('
<CTable small>\n  ...\n</CTable>\n

Vertical alignment #

Table cells of <CTableHead> are always vertical aligned to the bottom. Table cells in <CTableBody> inherit their alignment from <CTable> and are aligned to the the top by default. Use the align property to re-align where needed.

', 3); const _hoisted_70 = { class: "docs-example rounded-top p-4" }; const _hoisted_71 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-align: middle;", -1); const _hoisted_72 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-align: middle;", -1); @@ -229,19 +231,19 @@ const _hoisted_75 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-alig const _hoisted_76 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-align: bottom;", -1); const _hoisted_77 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-align: middle;", -1); const _hoisted_78 = /* @__PURE__ */ createBaseVNode("code", null, "vertical-align: middle;", -1); -const _hoisted_79 = /* @__PURE__ */ createStaticVNode('
<CTable align="middle" reponsive>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col" class="w-25">Heading 1</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 2</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 3</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 4</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n    <CTableRow align="bottom">\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell align="top">This cell is aligned to the top.</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable> \n

Nesting

Border styles, active styles, and table variants are not inherited by nested tables.

', 3); +const _hoisted_79 = /* @__PURE__ */ createStaticVNode('
<CTable align="middle" reponsive>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col" class="w-25">Heading 1</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 2</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 3</CTableHeaderCell>\n      <CTableHeaderCell scope="col" class="w-25">Heading 4</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n    <CTableRow align="bottom">\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: bottom;</code> from the table row</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell>This cell inherits <code>vertical-align: middle;</code> from the table</CTableDataCell>\n      <CTableDataCell align="top">This cell is aligned to the top.</CTableDataCell>\n      <CTableDataCell>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonsCTableRowate how the vertical alignment works in the preceding cells.</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable> \n

Nesting #

Border styles, active styles, and table variants are not inherited by nested tables.

', 3); const _hoisted_82 = { class: "docs-example rounded-top p-4" }; -const _hoisted_83 = /* @__PURE__ */ createStaticVNode('
<CTable striped>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell colspan="4">\n        <CTable>\n          <CTableHead>\n            <CTableRow>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n            </CTableRow>\n          </CTableHead>\n          <CTableBody>\n            <CTableRow>\n              <CTableHeaderCell scope="row">A</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n            <CTableRow>\n              <CTableHeaderCell scope="row">B</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n            <CTableRow>\n              <CTableHeaderCell scope="row">C</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n          </CTableBody>\n        </CTable>\n      </CTableHeaderCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Anatomy

Table head

Similar to tables and dark tables, use the modifier prop color="light" or color="dark" to make <CTableHead>s appear light or dark gray.

', 4); +const _hoisted_83 = /* @__PURE__ */ createStaticVNode('
<CTable striped>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell colspan="4">\n        <CTable>\n          <CTableHead>\n            <CTableRow>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n              <CTableHeaderCell scope="col">Header</CTableHeaderCell>\n            </CTableRow>\n          </CTableHead>\n          <CTableBody>\n            <CTableRow>\n              <CTableHeaderCell scope="row">A</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n            <CTableRow>\n              <CTableHeaderCell scope="row">B</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n            <CTableRow>\n              <CTableHeaderCell scope="row">C</CTableHeaderCell>\n              <CTableDataCell>First</CTableDataCell>\n              <CTableDataCell>Last</CTableDataCell>\n            </CTableRow>\n          </CTableBody>\n        </CTable>\n      </CTableHeaderCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell colspan="2">Larry the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Anatomy #

Table head #

Similar to tables and dark tables, use the modifier prop color="light" or color="dark" to make <CTableHead>s appear light or dark gray.

', 4); const _hoisted_87 = { class: "docs-example rounded-top p-4" }; -const _hoisted_88 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="light">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

If you generate a table using the new method incorporated in version 4.5.0, you have to use tableHeadProps property to pass properties to the table header component.

<template>\n  <CTable :columns="columns" :items="items" :tableHeadProps="{ color: 'light' }" />\n</template>\n<script>\n export default {\n    data: () => {\n      return {\n        columns: [ ... ],\n        items: [ ... ]\n      }\n    },\n  }\n</script>\n
', 3); +const _hoisted_88 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="light">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

If you generate a table using the new method incorporated in version 4.5.0, you have to use tableHeadProps property to pass properties to the table header component.

<script setup>\n  const columns = [ ... ]\n  const items = [ ... ]\n</script>\n<template>\n  <CTable :columns="columns" :items="items" :tableHeadProps="{ color: 'light' }" />\n</template>\n
', 3); const _hoisted_91 = { class: "docs-example rounded-top p-4" }; -const _hoisted_92 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="dark">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

Starting from version 4.5.0 also this way.

<template>\n  <CTable :columns="columns" :items="items" :tableHeadProps="{ color: 'dark' }" />\n</template>\n<script>\n export default {\n    data: () => {\n      return {\n        columns: [ ... ],\n        items: [ ... ]\n      }\n    },\n  }\n</script>\n

Table foot

', 4); +const _hoisted_92 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="dark">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

Starting from version 4.5.0 also this way.

<script setup>\n  const columns = [ ... ]\n  const items = [ ... ]\n</script>\n<template>\n  <CTable :columns="columns" :items="items" :tableHeadProps="{ color: 'dark' }" />\n</template>\n

Table foot #

', 4); const _hoisted_96 = { class: "docs-example rounded-top p-4" }; -const _hoisted_97 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="light">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n  <CTableHead>\n    <CTableRow>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n    </CTableRow>\n  </CTableHead>\n</CTable>\n

Starting from version 4.5.0 also this way.

<template>\n  <CTable :columns="columns" :footer="footer" :items="items" :tableHeadProps="{ color: 'dark' }" />\n</template>\n<script>\n export default {\n    data: () => {\n      return {\n        columns: [ ... ],\n        footer: [\n          'Footer',\n          'Footer',\n          'Footer',\n          'Footer',\n        ],\n        items: [ ... ]\n      }\n    },\n  }\n</script>\n

Captions

A <CTableCaption> functions like a heading for a table. It helps users with screen readers to find a table and understand what it's about and decide if they want to read it.

', 5); +const _hoisted_97 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableHead color="light">\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n  <CTableHead>\n    <CTableRow>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n      <CTableDataCell>Footer</CTableDataCell>\n    </CTableRow>\n  </CTableHead>\n</CTable>\n

Starting from version 4.5.0 also this way.

<script setup>\n  const columns = [ ... ]\n  const footer = [\n    'Footer',\n    'Footer',\n    'Footer',\n    'Footer',\n  ]\n  const items = [ ... ]\n</script>\n<template>\n  <CTable :columns="columns" :footer="footer" :items="items" :tableHeadProps="{ color: 'dark' }" />\n</template>\n

Captions #

A <CTableCaption> functions like a heading for a table. It helps users with screen readers to find a table and understand what it's about and decide if they want to read it.

', 5); const _hoisted_102 = { class: "docs-example rounded-top p-4" }; -const _hoisted_103 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableCaption>List of users</CTableCaption>\n  <CTableHead>\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

Starting from version 4.5.0 also this way.

<template>\n  <CTable caption="List of users" :columns="columns" :items="items"  />\n</template>\n<script>\n export default {\n    data: () => {\n      return {\n        columns: [ ... ],\n        items: [ ... ]\n      }\n    },\n  }\n</script>\n

You can also put the <CTableCaption> on the top of the table with caption="top".

', 4); +const _hoisted_103 = /* @__PURE__ */ createStaticVNode('
<CTable>\n  <CTableCaption>List of users</CTableCaption>\n  <CTableHead>\n    ...\n  </CTableHead>\n  <CTableBody>\n    ...\n  </CTableBody>\n</CTable>\n

Starting from version 4.5.0 also this way.

<script setup>\n  const columns = [ ... ]\n  const items = [ ... ]\n</script>\n<template>\n  <CTable caption="List of users" :columns="columns" :items="items"  />\n</template>\n

You can also put the <CTableCaption> on the top of the table with caption="top".

', 4); const _hoisted_107 = { class: "docs-example rounded-top p-4" }; -const _hoisted_108 = /* @__PURE__ */ createStaticVNode('
<CTable caption="top">\n  <CTableCaption>List of users</CTableCaption>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell>Larry</CTableDataCell>\n      <CTableDataCell>the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Since version 4.5.0 also this way.

<template>\n  <CTable captionTop="List of users" :columns="columns" :items="items"  />\n</template>\n<script>\n export default {\n    data: () => {\n      return {\n        columns: [ ... ],\n        items: [ ... ]\n      }\n    },\n  }\n</script>\n

Responsive tables

Responsive tables allow tables to be scrolled horizontally with ease. Make any table responsive across all viewports by adding a responsive property. Or, pick a maximum breakpoint with which to have a responsive table up to by using responsive="{-sm|-md|-lg|-xl|-xxl}".

', 5); +const _hoisted_108 = /* @__PURE__ */ createStaticVNode('
<CTable caption="top">\n  <CTableCaption>List of users</CTableCaption>\n  <CTableHead>\n    <CTableRow>\n      <CTableHeaderCell scope="col">#</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Class</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n      <CTableHeaderCell scope="col">Heading</CTableHeaderCell>\n    </CTableRow>\n  </CTableHead>\n  <CTableBody>\n    <CTableRow>\n      <CTableHeaderCell scope="row">1</CTableHeaderCell>\n      <CTableDataCell>Mark</CTableDataCell>\n      <CTableDataCell>Otto</CTableDataCell>\n      <CTableDataCell>@mdo</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">2</CTableHeaderCell>\n      <CTableDataCell>Jacob</CTableDataCell>\n      <CTableDataCell>Thornton</CTableDataCell>\n      <CTableDataCell>@fat</CTableDataCell>\n    </CTableRow>\n    <CTableRow>\n      <CTableHeaderCell scope="row">3</CTableHeaderCell>\n      <CTableDataCell>Larry</CTableDataCell>\n      <CTableDataCell>the Bird</CTableDataCell>\n      <CTableDataCell>@twitter</CTableDataCell>\n    </CTableRow>\n  </CTableBody>\n</CTable>\n

Since version 4.5.0 also this way.

<script setup>\n  const columns = [ ... ]\n  const items = [ ... ]\n</script>\n<template>\n  <CTable captionTop="List of users" :columns="columns" :items="items"  />\n</template>\n

Responsive tables #

Responsive tables allow tables to be scrolled horizontally with ease. Make any table responsive across all viewports by adding a responsive property. Or, pick a maximum breakpoint with which to have a responsive table up to by using responsive="{-sm|-md|-lg|-xl|-xxl}".

', 5); const _hoisted_113 = { class: "docs-example rounded-top p-4" }; const _hoisted_114 = /* @__PURE__ */ createStaticVNode('
<CTable responsive>\n  ...\n</CTable>\n
', 1); const _hoisted_115 = { class: "docs-example rounded-top p-4" }; @@ -253,7 +255,7 @@ const _hoisted_120 = /* @__PURE__ */ createStaticVNode('
<CTable responsive="xl">\n  ...\n</CTable>\n
', 1); const _hoisted_123 = { class: "docs-example rounded-top p-4" }; -const _hoisted_124 = /* @__PURE__ */ createStaticVNode('
<CTable responsive="xxl">\n  ...\n</CTable>\n

API

CTable

import { CTable } from '@coreui/vue'\n// or\nimport CTable from '@coreui/vue/src/components/table/CTable'\n

Props

Prop nameDescriptionTypeValuesDefault
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
border-colorSets the border color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
borderedAdd borders on all sides of the table and cells.boolean--
borderlessRemove borders on all sides of the table and cells.boolean--
captionPut the <caption> on the top of the table.string'top' | string-
caption-top
4.5.0+
Set the text of the table caption and the caption on the top of the table.string--
columns
4.5.0+
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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },
- _style (Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
footer
4.5.0+
Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
(FooterItem | string)[]--
hoverEnable a hover state on table rows within a <CTableBody>.boolean--
items
4.5.0+
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'.

Example item:
{ name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}
Item[]--
smallMake table more compact by cutting all cell padding in half.boolean--
stripedAdd zebra-striping to any table row within the <CTableBody>.boolean--
striped-columns
4.4.0+
Add zebra-striping to any table column.boolean--
table-foot-props
4.5.0+
Properties that will be passed to the table footer component.

Properties to CTableFoot component.
object--
table-head-props
4.5.0+
Properties that will be passed to the table head component.

Properties to CTableHead component.
object--

CTableBody

import { CTableBody } from '@coreui/vue'\n// or\nimport CTableBody from '@coreui/vue/src/components/table/CTableBody'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableDataCell

import { CTableDataCell } from '@coreui/vue'\n// or\nimport CTableDataCell from '@coreui/vue/src/components/table/CTableDataCell'\n

Props

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell.boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableFoot

import { CTableFoot } from '@coreui/vue'\n// or\nimport CTableFoot from '@coreui/vue/src/components/table/CTableFoot'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableHead

import { CTableHead } from '@coreui/vue'\n// or\nimport CTableHead from '@coreui/vue/src/components/table/CTableHead'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableHeaderCell

import { CTableHeaderCell } from '@coreui/vue'\n// or\nimport CTableHeaderCell from '@coreui/vue/src/components/table/CTableHeaderCell'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableRow

import { CTableRow } from '@coreui/vue'\n// or\nimport CTableRow from '@coreui/vue/src/components/table/CTableRow'\n

Props

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell..boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 30); +const _hoisted_124 = /* @__PURE__ */ createStaticVNode('
<CTable responsive="xxl">\n  ...\n</CTable>\n

API #

CTable #

import { CTable } from '@coreui/vue'\n// or\nimport CTable from '@coreui/vue/src/components/table/CTable'\n

Props #

Prop nameDescriptionTypeValuesDefault
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
border-colorSets the border color of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
borderedAdd borders on all sides of the table and cells.boolean--
borderlessRemove borders on all sides of the table and cells.boolean--
captionPut the <caption> on the top of the table.string'top' | string-
caption-top
4.5.0+
Set the text of the table caption and the caption on the top of the table.string--
columns
4.5.0+
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')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },
- _style (Object) - adds styles to the column header (useful for defining widths)
(Column | string)[]--
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
footer
4.5.0+
Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...]
(FooterItem | string)[]--
hoverEnable a hover state on table rows within a <CTableBody>.boolean--
items
4.5.0+
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'.

Example item:
{ name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}
Item[]--
smallMake table more compact by cutting all cell padding in half.boolean--
stripedAdd zebra-striping to any table row within the <CTableBody>.boolean--
striped-columns
4.4.0+
Add zebra-striping to any table column.boolean--
table-foot-props
4.5.0+
Properties that will be passed to the table footer component.

Properties to CTableFoot component.
object--
table-head-props
4.5.0+
Properties that will be passed to the table head component.

Properties to CTableHead component.
object--

CTableBody #

import { CTableBody } from '@coreui/vue'\n// or\nimport CTableBody from '@coreui/vue/src/components/table/CTableBody'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableDataCell #

import { CTableDataCell } from '@coreui/vue'\n// or\nimport CTableDataCell from '@coreui/vue/src/components/table/CTableDataCell'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell.boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableFoot #

import { CTableFoot } from '@coreui/vue'\n// or\nimport CTableFoot from '@coreui/vue/src/components/table/CTableFoot'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableHead #

import { CTableHead } from '@coreui/vue'\n// or\nimport CTableHead from '@coreui/vue/src/components/table/CTableHead'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableHeaderCell #

import { CTableHeaderCell } from '@coreui/vue'\n// or\nimport CTableHeaderCell from '@coreui/vue/src/components/table/CTableHeaderCell'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-

CTableRow #

import { CTableRow } from '@coreui/vue'\n// or\nimport CTableRow from '@coreui/vue/src/components/table/CTableRow'\n

Props #

Prop nameDescriptionTypeValuesDefault
activeHighlight a table row or cell..boolean--
alignSet the vertical aligment.string'bottom', 'middle', 'top'-
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
', 30); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CTable = resolveComponent("CTable"); const _component_CTableHeaderCell = resolveComponent("CTableHeaderCell"); @@ -268,16 +270,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _hoisted_3, createBaseVNode("div", _hoisted_4, [ createVNode(_component_CTable, { - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_5, createBaseVNode("div", _hoisted_11, [ createVNode(_component_CTable, { - columns: _ctx.columnsVariantExample, - items: _ctx.itemsVariantExample - }, null, 8, ["columns", "items"]) + columns: $setup.columnsVariantExample, + items: $setup.itemsVariantExample + }) ]), _hoisted_12, createBaseVNode("div", _hoisted_18, [ @@ -1452,59 +1454,59 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { _hoisted_41, createBaseVNode("div", _hoisted_44, [ createVNode(_component_CTable, { - columns: _ctx.columnsActiveTableExample, - items: _ctx.itemsActiveTableExample - }, null, 8, ["columns", "items"]) + columns: $setup.columnsActiveTableExample, + items: $setup.itemsActiveTableExample + }) ]), _hoisted_45, createBaseVNode("div", _hoisted_48, [ createVNode(_component_CTable, { color: "dark", - columns: _ctx.columnsActiveTableExample, - items: _ctx.itemsActiveTableExample - }, null, 8, ["columns", "items"]) + columns: $setup.columnsActiveTableExample, + items: $setup.itemsActiveTableExample + }) ]), _hoisted_49, createBaseVNode("div", _hoisted_53, [ createVNode(_component_CTable, { bordered: "", - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_54, createBaseVNode("div", _hoisted_56, [ createVNode(_component_CTable, { bordered: "", "border-color": "primary", - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_57, createBaseVNode("div", _hoisted_60, [ createVNode(_component_CTable, { borderless: "", - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_61, createBaseVNode("div", _hoisted_62, [ createVNode(_component_CTable, { color: "dark", borderless: "", - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_63, createBaseVNode("div", _hoisted_66, [ createVNode(_component_CTable, { small: "", - columns: _ctx.columns, - items: _ctx.items - }, null, 8, ["columns", "items"]) + columns: $setup.columns, + items: $setup.items + }) ]), _hoisted_67, createBaseVNode("div", _hoisted_70, [ diff --git a/vue/docs/assets/tabs.html-BryTxUY8.js b/vue/docs/assets/tabs.html-BjypzLaI.js similarity index 78% rename from vue/docs/assets/tabs.html-BryTxUY8.js rename to vue/docs/assets/tabs.html-BjypzLaI.js index 1546ad39f6f..fbdc93c9bfd 100644 --- a/vue/docs/assets/tabs.html-BryTxUY8.js +++ b/vue/docs/assets/tabs.html-BjypzLaI.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -17,19 +16,19 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode(" props to generate a tabbed interface.") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CTabs activeItemKey="profile">\n  <CTabList variant="tabs">\n    <CTab itemKey="home">Home</CTab>\n    <CTab itemKey="profile">Profile</CTab>\n    <CTab itemKey="contact">Contact</CTab>\n    <CTab disabled itemKey="disabled">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel class="p-3" itemKey="home">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="profile">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="contact">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="disabled">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Available styles

Change the style of <CTabs>'s component with modifiers and utilities. Mix and match as needed, or build your own.

Unstyled

If you don’t provide the variant prop, the component will default to a basic style.

', 5); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CTabs activeItemKey="profile">\n  <CTabList variant="tabs">\n    <CTab itemKey="home">Home</CTab>\n    <CTab itemKey="profile">Profile</CTab>\n    <CTab itemKey="contact">Contact</CTab>\n    <CTab disabled itemKey="disabled">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel class="p-3" itemKey="home">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="profile">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="contact">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel class="p-3" itemKey="disabled">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Available styles #

Change the style of <CTabs>'s component with modifiers and utilities. Mix and match as needed, or build your own.

Unstyled #

If you don’t provide the variant prop, the component will default to a basic style.

', 5); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CTabs activeItemKey="profile">\n  <CTabList>\n    <CTab itemKey="home">Home</CTab>\n    <CTab itemKey="profile">Profile</CTab>\n    <CTab itemKey="contact">Contact</CTab>\n    <CTab disabled itemKey="disabled">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="p-3" itemKey="home">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="profile">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="contact">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="disabled">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Pills

Take that same code, but use variant="pills" instead:

', 3); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CTabs activeItemKey="profile">\n  <CTabList>\n    <CTab itemKey="home">Home</CTab>\n    <CTab itemKey="profile">Profile</CTab>\n    <CTab itemKey="contact">Contact</CTab>\n    <CTab disabled itemKey="disabled">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="p-3" itemKey="home">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="profile">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="contact">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" itemKey="disabled">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Pills #

Take that same code, but use variant="pills" instead:

', 3); const _hoisted_13 = { class: "docs-example rounded-top p-4" }; -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey=2>\n  <CTabList variant="pills">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="p-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Underline

Take that same code, but use variant="underline" instead:

', 3); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey=2>\n  <CTabList variant="pills">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="p-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="p-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Underline #

Take that same code, but use variant="underline" instead:

', 3); const _hoisted_17 = { class: "docs-example rounded-top p-4" }; -const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="underline">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Underline border

Take that same code, but use variant="underline-border" instead:

', 3); +const _hoisted_18 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="underline">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Underline border #

Take that same code, but use variant="underline-border" instead:

', 3); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; -const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="underline-border">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Fill and justify

Force your <CTabs>'s contents to extend the full available width one of two modifier classes. To proportionately fill all available space use layout="fill". Notice that all horizontal space is occupied, but not every nav item has the same width.

', 3); +const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="underline-border">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Fill and justify #

Force your <CTabs>'s contents to extend the full available width one of two modifier classes. To proportionately fill all available space use layout="fill". Notice that all horizontal space is occupied, but not every nav item has the same width.

', 3); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="tabs" layout="fill">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile tab with longer content</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

For equal-width elements, use layout="justified". All horizontal space will be occupied by nav links, but unlike the layout="fill" above, every nav item will be the same width.

', 2); const _hoisted_28 = { class: "docs-example rounded-top p-4" }; -const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="tabs" layout="justified">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Accessibility

Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers).

WAI-ARIA Roles

  • The element that serves as the container for the set of tabs has the role tablist.
  • Each element that serves as a tab has the role tab and is contained within the element with the role tablist.
  • Each element that contains the content panel for a tab has the role tabpanel.
  • If the tab list has a visible label, the element with the role tablist has aria-labelledby set to a value that refers to the labeling element. Otherwise, the tablist element has a label provided by aria-label.
  • Each element with the role tab has the property aria-controls referring to its associated tabpanel element.
  • The active tab element has the state aria-selected set to true, and all other tab elements have it set to false.
  • Each element with the role tabpanel has the property aria-labelledby referring to its associated tab element.

Our Vue Tabs component automatically manages all role="..." and aria- attributes for accessibility. It also handles the selected state by adding aria-selected="true" to the active tab. Additionally, you have the flexibility to manually set these attributes, as shown in the example below:

<CTabs :activeItemKey="2">\n  <CTabList variant="tabs">\n    <CTab id="home-tab" aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab id="profile-tab" aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab id="contact-tab" aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab id="disabled-tab" aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel id="home-tab-pane" className="p-3" aria-labelledby="home-tab-pane" aria-labelledby="home-tab" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel id="profile-tab-pane" className="p-3" aria-labelledby="profile-tab-pane" aria-labelledby="profile-tab" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel id="contact-tab-pane" className="p-3" aria-labelledby="contact-tab-pane" aria-labelledby="contact-tab" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel id="disabled-tab-pane" className="p-3" aria-labelledby="disabled-tab-pane" aria-labelledby="disabled-tab" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

This example demonstrates how to manually set aria-selected, aria-controls, and aria-labelledby attributes on your <CTab>'s and <CTabPanels>'s.

Keyboard Interaction

When focus enters the tab list:

Tab: It places focus on the active tab element.

When focus is on a tab element:

Tab: Moves focus to the next element in the tab sequence, typically the tabpanel unless the first focusable element inside the tabpanel is found earlier.

Left Arrow: Moves focus to the previous tab. If on the first tab, it wraps around to the last tab.

Right Arrow: Moves focus to the next tab. If on the last tab, it wraps around to the first tab.

Home: Moves focus to the first tab.

End: Moves focus to the last tab.

Customizing

CSS variables

Vue tabs use local CSS variables on .nav, .nav-tabs, .nav-pills, .nav-underline and .nav-underline-border for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

On the .nav base class:

', 21); +const _hoisted_29 = /* @__PURE__ */ createStaticVNode('
<CTabs :activeItemKey="2">\n  <CTabList variant="tabs" layout="justified">\n    <CTab aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel className="py-3" aria-labelledby="home-tab-pane" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="profile-tab-pane" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="contact-tab-pane" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel className="py-3" aria-labelledby="disabled-tab-pane" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

Accessibility #

Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers).

WAI-ARIA Roles #

  • The element that serves as the container for the set of tabs has the role tablist.
  • Each element that serves as a tab has the role tab and is contained within the element with the role tablist.
  • Each element that contains the content panel for a tab has the role tabpanel.
  • If the tab list has a visible label, the element with the role tablist has aria-labelledby set to a value that refers to the labeling element. Otherwise, the tablist element has a label provided by aria-label.
  • Each element with the role tab has the property aria-controls referring to its associated tabpanel element.
  • The active tab element has the state aria-selected set to true, and all other tab elements have it set to false.
  • Each element with the role tabpanel has the property aria-labelledby referring to its associated tab element.

Our Vue Tabs component automatically manages all role="..." and aria- attributes for accessibility. It also handles the selected state by adding aria-selected="true" to the active tab. Additionally, you have the flexibility to manually set these attributes, as shown in the example below:

<CTabs :activeItemKey="2">\n  <CTabList variant="tabs">\n    <CTab id="home-tab" aria-controls="home-tab-pane" :itemKey="1">Home</CTab>\n    <CTab id="profile-tab" aria-controls="profile-tab-pane" :itemKey="2">Profile</CTab>\n    <CTab id="contact-tab" aria-controls="contact-tab-pane" :itemKey="3">Contact</CTab>\n    <CTab id="disabled-tab" aria-controls="disabled-tab-pane" disabled :itemKey="4">Disabled</CTab>\n  </CTabList>\n  <CTabContent>\n    <CTabPanel id="home-tab-pane" className="p-3" aria-labelledby="home-tab-pane" aria-labelledby="home-tab" :itemKey="1">\n      Home tab content\n    </CTabPanel>\n    <CTabPanel id="profile-tab-pane" className="p-3" aria-labelledby="profile-tab-pane" aria-labelledby="profile-tab" :itemKey="2">\n      Profile tab content\n    </CTabPanel>\n    <CTabPanel id="contact-tab-pane" className="p-3" aria-labelledby="contact-tab-pane" aria-labelledby="contact-tab" :itemKey="3">\n      Contact tab content\n    </CTabPanel>\n    <CTabPanel id="disabled-tab-pane" className="p-3" aria-labelledby="disabled-tab-pane" aria-labelledby="disabled-tab" :itemKey="4">\n      Disabled tab content\n    </CTabPanel>\n  </CTabContent>\n</CTabs>\n

This example demonstrates how to manually set aria-selected, aria-controls, and aria-labelledby attributes on your <CTab>'s and <CTabPanels>'s.

Keyboard Interaction #

When focus enters the tab list:

Tab: It places focus on the active tab element.

When focus is on a tab element:

Tab: Moves focus to the next element in the tab sequence, typically the tabpanel unless the first focusable element inside the tabpanel is found earlier.

Left Arrow: Moves focus to the previous tab. If on the first tab, it wraps around to the last tab.

Right Arrow: Moves focus to the next tab. If on the last tab, it wraps around to the first tab.

Home: Moves focus to the first tab.

End: Moves focus to the last tab.

Customizing #

CSS variables #

Vue tabs use local CSS variables on .nav, .nav-tabs, .nav-pills, .nav-underline and .nav-underline-border for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

On the .nav base class:

', 21); const _hoisted_50 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createTextVNode("On the "), /* @__PURE__ */ createBaseVNode("code", null, ".nav-tabs"), @@ -50,8 +49,8 @@ const _hoisted_53 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, ".nav-underline-border"), /* @__PURE__ */ createTextVNode(" modifier class:") ], -1); -const _hoisted_54 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTabs :style="vars">...</CTabs>\n

SASS variables

', 3); -const _hoisted_57 = /* @__PURE__ */ createStaticVNode('

API

CTab

import { CTab } from '@coreui/vue'\n// or\nimport CTab from '@coreui/vue/src/components/tabs/CTab'\n

Props

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--

CTabContent

import { CTabContent } from '@coreui/vue'\n// or\nimport CTabContent from '@coreui/vue/src/components/tabs/CTabContent'\n

CTabList

import { CTabList } from '@coreui/vue'\n// or\nimport CTabList from '@coreui/vue/src/components/tabs/CTabList'\n

Props

Prop nameDescriptionTypeValuesDefault
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-

CTabPanel

import { CTabPanel } from '@coreui/vue'\n// or\nimport CTabPanel from '@coreui/vue/src/components/tabs/CTabPanel'\n

Props

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
transitionEnable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

CTabs

import { CTabs } from '@coreui/vue'\n// or\nimport CTabs from '@coreui/vue/src/components/tabs/CTabs'\n

Props

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--

Events

Event nameDescriptionProperties
changeThe callback is fired when the active tab changes.
', 23); +const _hoisted_54 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTabs :style="vars">...</CTabs>\n

SASS variables #

', 3); +const _hoisted_57 = /* @__PURE__ */ createStaticVNode('

API #

CTab #

import { CTab } from '@coreui/vue'\n// or\nimport CTab from '@coreui/vue/src/components/tabs/CTab'\n

Props #

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--

CTabContent #

import { CTabContent } from '@coreui/vue'\n// or\nimport CTabContent from '@coreui/vue/src/components/tabs/CTabContent'\n

CTabList #

import { CTabList } from '@coreui/vue'\n// or\nimport CTabList from '@coreui/vue/src/components/tabs/CTabList'\n

Props #

Prop nameDescriptionTypeValuesDefault
layoutSpecify a layout type for component.string'fill', 'justified'-
variantSet the nav variant to tabs or pills.string'pills', 'tabs', 'underline', 'underline-border'-

CTabPanel #

import { CTabPanel } from '@coreui/vue'\n// or\nimport CTabPanel from '@coreui/vue/src/components/tabs/CTabPanel'\n

Props #

Prop nameDescriptionTypeValuesDefault
item-keyItem key.number|string--
transitionEnable fade in and fade out transition.boolean-true
visibleToggle the visibility of component.boolean-false

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.

CTabs #

import { CTabs } from '@coreui/vue'\n// or\nimport CTabs from '@coreui/vue/src/components/tabs/CTabs'\n

Props #

Prop nameDescriptionTypeValuesDefault
active-item-keyThe active item key.number|string--

Events #

Event nameDescriptionProperties
changeThe callback is fired when the active tab changes.
', 23); function _sfc_render(_ctx, _cache) { const _component_CTab = resolveComponent("CTab"); const _component_CTabList = resolveComponent("CTabList"); diff --git a/vue/docs/assets/textarea.html-VjAtYprD.js b/vue/docs/assets/textarea.html-Ck18GNEv.js similarity index 59% rename from vue/docs/assets/textarea.html-VjAtYprD.js rename to vue/docs/assets/textarea.html-Ck18GNEv.js index 9333960b55d..fbbb3fe91d7 100644 --- a/vue/docs/assets/textarea.html-VjAtYprD.js +++ b/vue/docs/assets/textarea.html-Ck18GNEv.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "example", @@ -7,16 +7,15 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; -const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  id="exampleFormControlTextarea1"\n  label="Example textarea"\n  rows="3"\n  text="Must be 8-20 words long."\n></CFormTextarea>\n</CForm>\n

If you need to add custom classs to form's components, or need to add some custom elements you can add each form component separately. Please check the example below.

<CFormLabel for="exampleFormControlTextarea1">Example textarea</CFormLabel>\n<CFormTextarea id="exampleFormControlTextarea1" rows="3"></CFormTextarea>\n<CFormText as="span" id="passwordHelpInline">Must be 8-20 words long.</CFormText>\n

You can also use slots.

<CFormTextarea id="exampleFormControlTextarea1" rows="3">\n  <template #label>Example textarea</template>\n  <template #text>Must be 8-20 word long.</template>\n</CFormTextarea>\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 7); +const _hoisted_3 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  id="exampleFormControlTextarea1"\n  label="Example textarea"\n  rows="3"\n  text="Must be 8-20 words long."\n></CFormTextarea>\n</CForm>\n

If you need to add custom classs to form's components, or need to add some custom elements you can add each form component separately. Please check the example below.

<CFormLabel for="exampleFormControlTextarea1">Example textarea</CFormLabel>\n<CFormTextarea id="exampleFormControlTextarea1" rows="3"></CFormTextarea>\n<CFormText as="span" id="passwordHelpInline">Must be 8-20 words long.</CFormText>\n

You can also use slots.

<CFormTextarea id="exampleFormControlTextarea1" rows="3">\n  <template #label>Example textarea</template>\n  <template #text>Must be 8-20 word long.</template>\n</CFormTextarea>\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 7); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; -const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  class="mb-3"\n  placeholder="Disabled textarea"\n  aria-label="Disabled textarea example"\n  disabled>\n</CFormTextarea>\n

Readonly

Add the readonly boolean attribute on an textarea to prevent modification of the textarea's value. Read-only textareas appear lighter (just like disabled textareas), but retain the standard cursor.

', 3); +const _hoisted_11 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  class="mb-3"\n  placeholder="Disabled textarea"\n  aria-label="Disabled textarea example"\n  disabled>\n</CFormTextarea>\n

Readonly #

Add the readonly boolean attribute on an textarea to prevent modification of the textarea's value. Read-only textareas appear lighter (just like disabled textareas), but retain the standard cursor.

', 3); const _hoisted_14 = { class: "docs-example rounded-top p-4" }; -const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  placeholder="Readonly textarea"\n  aria-label="Readonly textarea example"\n  disabled\n  readonly\n></CFormTextarea>\n

Customizing

SASS variables

$input-* are shared across most of our form controls (and not buttons).

', 4); +const _hoisted_15 = /* @__PURE__ */ createStaticVNode('
<CFormTextarea\n  placeholder="Readonly textarea"\n  aria-label="Readonly textarea example"\n  disabled\n  readonly\n></CFormTextarea>\n

Customizing #

SASS variables #

$input-* are shared across most of our form controls (and not buttons).

', 4); const _hoisted_19 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, "$form-label-*"), /* @__PURE__ */ createTextVNode(" and "), @@ -27,7 +26,7 @@ const _hoisted_19 = /* @__PURE__ */ createBaseVNode("p", null, [ /* @__PURE__ */ createBaseVNode("code", null, ""), /* @__PURE__ */ createTextVNode(" component.") ], -1); -const _hoisted_20 = /* @__PURE__ */ createStaticVNode('

API

CFormTextarea

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormFeedback

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

CFormLabel

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--

CFormText

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 19); +const _hoisted_20 = /* @__PURE__ */ createStaticVNode('

API #

CFormTextarea #

import { CFormTextarea } from '@coreui/vue'\n// or\nimport CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea'\n

Props #

Prop nameDescriptionTypeValuesDefault
disabledToggle the disabled state for the component.boolean--
feedback
4.3.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.3.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.3.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
floating-label
4.3.0+
Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
invalidSet component validation state to invalid.boolean--
label
4.3.0+
Add a caption for a component.string--
model-valueThe default name for a value passed using v-model.string--
plain-textRender 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.boolean--
readonlyToggle the readonly state for the component.boolean--
text
4.3.0+
Add helper text to the component.string--
tooltip-feedback
4.3.0+
Display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

Events #

Event nameDescriptionProperties
changeEvent occurs when the element loses focus, after the content has been changed.
inputEvent occurs immediately after the value of a component has changed.
update:modelValueEmit the new value whenever there’s an input or change event.

CFormFeedback #

import { CFormFeedback } from '@coreui/vue'\n// or\nimport CFormFeedback from '@coreui/vue/src/components/form/CFormFeedback'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
invalidMethod called immediately after the value prop changes.boolean--
tooltipIf your form layout allows it, you can display validation feedback in a styled tooltip.boolean--
validSet component validation state to valid.boolean--

CFormLabel #

import { CFormLabel } from '@coreui/vue'\n// or\nimport CFormLabel from '@coreui/vue/src/components/form/CFormLabel'\n

Props #

Prop nameDescriptionTypeValuesDefault
custom-class-nameA string of all className you want to be applied to the component, and override standard className value.array|string--

CFormText #

import { CFormText } from '@coreui/vue'\n// or\nimport CFormText from '@coreui/vue/src/components/form/CFormText'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string-'div'
', 19); function _sfc_render(_ctx, _cache) { const _component_CFormTextarea = resolveComponent("CFormTextarea"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/time-picker.html-DlV52mWV.js b/vue/docs/assets/time-picker.html-CvM-vSGB.js similarity index 59% rename from vue/docs/assets/time-picker.html-DlV52mWV.js rename to vue/docs/assets/time-picker.html-CvM-vSGB.js index bd09935017f..7e3a1a91d34 100644 --- a/vue/docs/assets/time-picker.html-DlV52mWV.js +++ b/vue/docs/assets/time-picker.html-CvM-vSGB.js @@ -1,10 +1,12 @@ -import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, t as toDisplayString, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, t as toDisplayString, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - setup() { + __name: "time-picker.html", + setup(__props, { expose: __expose }) { + __expose(); const vTime = ref("02:17:35 PM"); - return { - vTime - }; + const __returned__ = { vTime, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -14,8 +16,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Example "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#example", - "aria-hidden": "true" + href: "#example" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("p", null, "To create a basic Vue Time Picker, use:", -1); @@ -23,66 +24,66 @@ const _hoisted_3 = { class: "docs-example rounded-top p-4" }; const _hoisted_4 = { class: "row" }; const _hoisted_5 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_6 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CTimePicker label="Time" locale="en-US" />\n<CTimePicker label="Time" locale="en-US" time="02:17:35 PM" />\n

vModel

By default, <CTimePicker> returns time as a Date.prototype.toLocaleTimeString(). If no date is selected, <CTimePicker> returns null.

', 3); +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CTimePicker label="Time" locale="en-US" />\n<CTimePicker label="Time" locale="en-US" time="02:17:35 PM" />\n

vModel #

By default, <CTimePicker> returns time as a Date.prototype.toLocaleTimeString(). If no date is selected, <CTimePicker> returns null.

', 3); const _hoisted_10 = { class: "docs-example rounded-top p-4" }; const _hoisted_11 = { class: "row mb-3" }; const _hoisted_12 = { class: "col-lg-6" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CTimePicker label="Time" locale="en-US" v-model:time="vTime" />\n  <div>{{ vTime }}</div>\n</template>\n<script>\n  import { ref } from 'vue'\n  export default {\n    setup() {\n      const vTime = ref('02:17:35 PM')\n      return {\n        vTime\n      }\n    }\n  }\n</script>\n

Sizing

Set heights using size property like size="lg" and size="sm".

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const vTime = ref('02:17:35 PM')\n</script>\n<template>\n  <CTimePicker label="Time" locale="en-US" v-model:time="vTime" />\n  <div>{{ vTime }}</div>\n</template>\n

Sizing #

Set heights using size property like size="lg" and size="sm".

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; const _hoisted_17 = { class: "row" }; const _hoisted_18 = { class: "col-lg-4 mb-3" }; const _hoisted_19 = { class: "row" }; const _hoisted_20 = { class: "col-lg-3" }; -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CTimePicker locale="en-US" size="lg" />\n<CTimePicker locale="en-US" size="sm" />\n

Disabled

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CTimePicker locale="en-US" size="lg" />\n<CTimePicker locale="en-US" size="sm" />\n

Disabled #

Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

', 3); const _hoisted_24 = { class: "docs-example rounded-top p-4" }; const _hoisted_25 = { class: "row" }; const _hoisted_26 = { class: "col-lg-4" }; -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CTimePicker disabled locale="en-US" />\n

Readonly

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('
<CTimePicker disabled locale="en-US" />\n

Readonly #

Add the inputReadOnly boolean attribute to prevent modification of the input's value.

', 3); const _hoisted_30 = { class: "docs-example rounded-top p-4" }; const _hoisted_31 = { class: "row" }; const _hoisted_32 = { class: "col-lg-4" }; -const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CTimePicker inputReadOnly locale="en-US" />\n

Custom formats

Disable minutes and seconds

Customize Vue Time Picker to display only hours, or hours and minutes by disabling minutes/seconds.

', 4); +const _hoisted_33 = /* @__PURE__ */ createStaticVNode('
<CTimePicker inputReadOnly locale="en-US" />\n

Custom formats #

Disable minutes and seconds #

Customize Vue Time Picker to display only hours, or hours and minutes by disabling minutes/seconds.

', 4); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = { class: "row" }; const _hoisted_39 = { class: "col-sm-6 col-lg-5 mb-3 mb-sm-0" }; const _hoisted_40 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CTimePicker label="Only hours and minutes" locale="en-US" :seconds="false" />\n<CTimePicker label="Only hours" locale="en-US" :minutes="false" :seconds="false" />\n

Custom hours, minutes and seconds

Tailor the Vue Time Picker to your needs by specifying custom values for hours, minutes, and seconds. Use arrays to define selectable options or functions for dynamic filtering. The example below demonstrates setting specific hour options, minute intervals, and a condition for seconds only to include values less than 20.

', 3); +const _hoisted_41 = /* @__PURE__ */ createStaticVNode('
<CTimePicker label="Only hours and minutes" locale="en-US" :seconds="false" />\n<CTimePicker label="Only hours" locale="en-US" :minutes="false" :seconds="false" />\n

Custom hours, minutes and seconds #

Tailor the Vue Time Picker to your needs by specifying custom values for hours, minutes, and seconds. Use arrays to define selectable options or functions for dynamic filtering. The example below demonstrates setting specific hour options, minute intervals, and a condition for seconds only to include values less than 20.

', 3); const _hoisted_44 = { class: "docs-example rounded-top p-4" }; const _hoisted_45 = { class: "row" }; const _hoisted_46 = { class: "col-sm-6 col-lg-5" }; -const _hoisted_47 = /* @__PURE__ */ createStaticVNode('
<CTimePicker locale="en-US" :hours="[1, 3, 5, 7]" :minutes="[0, 15, 30, 45]" :seconds="(s) => s < 20" />\n

In this configuration, the Vue TimePicker restricts hours to a predefined set, minutes to quarter intervals, and seconds to values under 20, offering a high degree of customization for precise time selection scenarios.

Non-english locale

Tailor the Vue Time Picker to match different locales, offering an inclusive user experience across diverse languages. Automatically adapt or set specific locales to meet your application's needs.

Auto

Our Time Picker compoennt automatically detects and adapts to the user's locale, ensuring a localized experience without explicit configuration.

', 6); +const _hoisted_47 = /* @__PURE__ */ createStaticVNode('
<CTimePicker locale="en-US" :hours="[1, 3, 5, 7]" :minutes="[0, 15, 30, 45]" :seconds="(s) => s < 20" />\n

In this configuration, the Vue TimePicker restricts hours to a predefined set, minutes to quarter intervals, and seconds to values under 20, offering a high degree of customization for precise time selection scenarios.

Non-english locale #

Tailor the Vue Time Picker to match different locales, offering an inclusive user experience across diverse languages. Automatically adapt or set specific locales to meet your application's needs.

Auto #

Our Time Picker compoennt automatically detects and adapts to the user's locale, ensuring a localized experience without explicit configuration.

', 6); const _hoisted_53 = { class: "docs-example rounded-top p-4" }; const _hoisted_54 = { class: "row" }; const _hoisted_55 = { class: "col-lg-4" }; -const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<CTimePicker />\n

Chinese

Specify the locale to Chinese (zh-CN) for users in China, enhancing usability with a familiar format and language.

', 3); +const _hoisted_56 = /* @__PURE__ */ createStaticVNode('
<CTimePicker />\n

Chinese #

Specify the locale to Chinese (zh-CN) for users in China, enhancing usability with a familiar format and language.

', 3); const _hoisted_59 = { class: "docs-example rounded-top p-4" }; const _hoisted_60 = { class: "row" }; const _hoisted_61 = { class: "col-lg-4" }; -const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="入住日期" locale="zh-CN" />\n

Japanese

Set the Time Picker's locale to Japanese (ja) to cater to Japanese users, presenting date and time in a localized format.

', 3); +const _hoisted_62 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="入住日期" locale="zh-CN" />\n

Japanese #

Set the Time Picker's locale to Japanese (ja) to cater to Japanese users, presenting date and time in a localized format.

', 3); const _hoisted_65 = { class: "docs-example rounded-top p-4" }; const _hoisted_66 = { class: "row" }; const _hoisted_67 = { class: "col-lg-4" }; -const _hoisted_68 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="日付を選択" locale="ja" />\n

Korean

Configure the locale to Korean (ko) for a tailored experience in Korea, offering date and time selection in the local language.

', 3); +const _hoisted_68 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="日付を選択" locale="ja" />\n

Korean #

Configure the locale to Korean (ko) for a tailored experience in Korea, offering date and time selection in the local language.

', 3); const _hoisted_71 = { class: "docs-example rounded-top p-4" }; const _hoisted_72 = { class: "row" }; const _hoisted_73 = { class: "col-lg-4" }; -const _hoisted_74 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="날짜 선택" locale="ko" />\n

Right to left support

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew

', 4); +const _hoisted_74 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="날짜 선택" locale="ko" />\n

Right to left support #

RTL support is built-in and can be explicitly controlled through the $enable-rtl variables in scss.

Hebrew #

', 4); const _hoisted_78 = { class: "docs-example rounded-top p-4" }; const _hoisted_79 = { class: "row", dir: "rtl" }; const _hoisted_80 = { class: "col-lg-4" }; -const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="בחר תאריך" locale="he-IL" />\n

Persian

', 2); +const _hoisted_81 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="בחר תאריך" locale="he-IL" />\n

Persian #

', 2); const _hoisted_83 = { class: "docs-example rounded-top p-4" }; const _hoisted_84 = { class: "row", dir: "rtl" }; const _hoisted_85 = { class: "col-lg-4" }; -const _hoisted_86 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="تاریخ شروع" locale="fa-IR" />\n

Customizing

CSS variables

Vue time pickers use local CSS variables on .time-picker for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_90 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTimePicker :style="vars">...</CTimePicker>\n

SASS variables

', 3); -const _hoisted_93 = /* @__PURE__ */ createStaticVNode('

API

CTimePicker

import { CTimePicker } from '@coreui/vue-pro'\n// or\nimport CTimePicker from '@coreui/vue-pro/src/components/time-picker/CTimePicker'\n

Props

Prop nameDescriptionTypeValuesDefault
ampm
4.7.0+
Set if the component should use the 12/24 hour format. If true forces the interface to a 12-hour format. If false forces the interface into a 24-hour format. If auto the current locale will determine the 12 or 24-hour interface by default locales.boolean|string-'auto'
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hours
5.0.0+
Specify a list of available hours using an array, or customize the filtering of hours through a function.number[] | ((hour: number) => number[])--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string--
minutes
5.0.0+
Toggle the display of minutes, specify a list of available minutes using an array, or customize the filtering of minutes through a function.number[] | ((hour: number) => number[]) | boolean-true
name
5.3.0+
Set the name attribute for the input element.string--
placeholderSpecifies a short hint that is visible in the input.string-'Select time'
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
seconds
4.7.0+
Toggle the display of seconds, specify a list of available seconds using an array, or customize the filtering of seconds through a function.number[] | ((hour: number) => number[]) | boolean-true
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
timeInitial selected time.date|string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
variantSet the time picker variant to a roll or select.string'roll', 'select''roll'
visibleToggle the visibility of the component.boolean--

Events

Event nameDescriptionProperties
changeCallback fired when the time changed.
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
update:timeCallback fired when the time changed.
', 7); +const _hoisted_86 = /* @__PURE__ */ createStaticVNode('
<CTimePicker placeholder="تاریخ شروع" locale="fa-IR" />\n

Customizing #

CSS variables #

Vue time pickers use local CSS variables on .time-picker for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_90 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTimePicker :style="vars">...</CTimePicker>\n

SASS variables #

', 3); +const _hoisted_93 = /* @__PURE__ */ createStaticVNode('

API #

CTimePicker #

import { CTimePicker } from '@coreui/vue-pro'\n// or\nimport CTimePicker from '@coreui/vue-pro/src/components/time-picker/CTimePicker'\n

Props #

Prop nameDescriptionTypeValuesDefault
ampm
4.7.0+
Set if the component should use the 12/24 hour format. If true forces the interface to a 12-hour format. If false forces the interface into a 24-hour format. If auto the current locale will determine the 12 or 24-hour interface by default locales.boolean|string-'auto'
cancel-buttonToggle visibility or set the content of cancel button.boolean|string-'Cancel'
cancel-button-colorSets the color context of the cancel button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
cancel-button-sizeSize the cancel button small or large.string'sm', 'lg''sm'
cancel-button-variantSet the cancel button variant to an outlined button or a ghost button.string'ghost', 'outline''ghost'
cleanerToggle visibility of the cleaner button.boolean-true
confirm-buttonToggle visibility or set the content of confirm button.boolean|string-'OK'
confirm-button-colorSets the color context of the confirm button to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light''primary'
confirm-button-sizeSize the confirm button small or large.string'sm', 'lg''sm'
confirm-button-variantSet the confirm button variant to an outlined button or a ghost button.string'ghost', 'outline'-
feedback
4.6.0+
Provide valuable, actionable feedback.string--
feedback-invalid
4.6.0+
Provide valuable, actionable feedback.string--
feedback-valid
4.6.0+
Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, :invalid and :valid.string--
hours
5.0.0+
Specify a list of available hours using an array, or customize the filtering of hours through a function.number[] | ((hour: number) => number[])--
idThe id global attribute defines an identifier (ID) that must be unique in the whole document.string--
indicatorToggle visibility or set the content of the input indicator.boolean-true
input-on-change-delay
v5.0.0+
Defines the delay (in milliseconds) for the input field's onChange event.number-750
input-read-onlyToggle the readonly state for the component.boolean--
invalid
4.6.0+
Set component validation state to invalid.boolean--
label
4.6.0+
Add a caption for a component.string--
localeSets the default locale for components. If not set, it is inherited from the navigator.language.string--
minutes
5.0.0+
Toggle the display of minutes, specify a list of available minutes using an array, or customize the filtering of minutes through a function.number[] | ((hour: number) => number[]) | boolean-true
name
5.3.0+
Set the name attribute for the input element.string--
placeholderSpecifies a short hint that is visible in the input.string-'Select time'
required
4.9.0+
When present, it specifies that must be filled out before submitting the form.boolean--
seconds
4.7.0+
Toggle the display of seconds, specify a list of available seconds using an array, or customize the filtering of seconds through a function.number[] | ((hour: number) => number[]) | boolean-true
sizeSize the component small or large.string'sm', 'lg'-
text
4.6.0+
Add helper text to the component.string--
timeInitial selected time.date|string--
tooltip-feedback
4.6.0+
Display validation feedback in a styled tooltip.boolean--
valid
4.6.0+
Set component validation state to valid.boolean--
variantSet the time picker variant to a roll or select.string'roll', 'select''roll'
visibleToggle the visibility of the component.boolean--

Events #

Event nameDescriptionProperties
changeCallback fired when the time changed.
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
update:timeCallback fired when the time changed.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CTimePicker = resolveComponent("CTimePicker"); const _component_ScssDocs = resolveComponent("ScssDocs"); diff --git a/vue/docs/assets/toast.html-B70IM5zC.js b/vue/docs/assets/toast.html-DUmgmbI1.js similarity index 70% rename from vue/docs/assets/toast.html-B70IM5zC.js rename to vue/docs/assets/toast.html-DUmgmbI1.js index bd86351c978..d47514e9264 100644 --- a/vue/docs/assets/toast.html-B70IM5zC.js +++ b/vue/docs/assets/toast.html-DUmgmbI1.js @@ -1,20 +1,21 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode, F as Fragment, j as renderList, h as createBlock, t as toDisplayString } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode, F as Fragment, h as renderList, V as createBlock, t as toDisplayString } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - toasts: [] - }; - }, - methods: { - createToast() { - this.toasts.push({ + __name: "toast.html", + setup(__props, { expose: __expose }) { + __expose(); + const toasts = ref([]); + const createToast = () => { + toasts.value.push({ title: "new toast", content: "Lorem ipsum dolor cet emit" }); - } + }; + const __returned__ = { toasts, createToast, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Vue toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems. They’re built with flexbox, so they’re easy to align and position.

Overview

Things to know when using the toast plugin:

  • Toasts are opt-in for performance reasons, so you must initialize them yourself.
  • Toasts will automatically hide if you do not specify autohide: false.

Examples

Basic

To encourage extensible and predictable toasts, we recommend a header and body. Toast headers use display: flex, allowing easy alignment of content thanks to our margin and flexbox utilities.

Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your "toasted" content and strongly encourage a dismiss button.

', 8); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Vue toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems. They’re built with flexbox, so they’re easy to align and position.

Overview #

Things to know when using the toast plugin:

  • Toasts are opt-in for performance reasons, so you must initialize them yourself.
  • Toasts will automatically hide if you do not specify autohide: false.

Examples #

Basic #

To encourage extensible and predictable toasts, we recommend a header and body. Toast headers use display: flex, allowing easy alignment of content thanks to our margin and flexbox utilities.

Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your "toasted" content and strongly encourage a dismiss button.

', 8); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; const _hoisted_10 = /* @__PURE__ */ createBaseVNode("svg", { class: "rounded me-2", @@ -37,7 +38,7 @@ const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CButton color="primary" @click="createToast">Send a toast</CButton>\n  <CToaster class="p-3" placement="top-end">\n    <CToast v-for="(toast, index) in toasts" visible :key="index">\n      <CToastHeader closeButton>\n      <span class="me-auto fw-bold">{{toast.title}}</span>\n      <small>7 min ago</small>\n      </CToastHeader>\n      <CToastBody>\n        {{ toast.content }}\n      </CToastBody>  \n    </CToast>\n  </CToaster>\n</template>\n<script>\n  export default {\n    data() {\n      return {\n        toasts: []\n      }\n    },\n    methods: {\n      createToast() {\n        this.toasts.push({\n          title: 'new toast',\n          content: 'Lorem ipsum dolor cet emit'\n        })\n      }\n    }\n  }\n</script>\n

Translucent

Toasts are slightly translucent to blend in with what's below them.

', 3); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const toasts = ref([])\n  const createToast = () => {\n    toasts.value.push({\n      title: 'new toast',\n      content: 'Lorem ipsum dolor cet emit'\n    })\n  }\n</script>\n<template>\n  <CButton color="primary" @click="createToast">Send a toast</CButton>\n  <CToaster class="p-3" placement="top-end">\n    <CToast v-for="(toast, index) in toasts" visible :key="index">\n      <CToastHeader closeButton>\n      <span class="me-auto fw-bold">{{toast.title}}</span>\n      <small>7 min ago</small>\n      </CToastHeader>\n      <CToastBody>\n        {{ toast.content }}\n      </CToastBody>  \n    </CToast>\n  </CToaster>\n</template>\n

Translucent #

Toasts are slightly translucent to blend in with what's below them.

', 3); const _hoisted_20 = { class: "docs-example rounded-top p-4 bg-dark" }; const _hoisted_21 = /* @__PURE__ */ createBaseVNode("svg", { class: "rounded me-2", @@ -56,7 +57,7 @@ const _hoisted_21 = /* @__PURE__ */ createBaseVNode("svg", { ], -1); const _hoisted_22 = /* @__PURE__ */ createBaseVNode("span", { class: "me-auto fw-bold" }, "CoreUI for Vue.js", -1); const _hoisted_23 = /* @__PURE__ */ createBaseVNode("small", null, "7 min ago", -1); -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" visible>\n  <CToastHeader closeButton>\n    <svg\n      class="rounded me-2"\n      width="20"\n      height="20"\n      xmlns="http://www.w3.org/2000/svg"\n      preserveAspectRatio="xMidYMid slice"\n      focusable="false"\n      role="img"\n    >\n      <rect width="100%" height="100%" fill="#007aff"></rect>\n    </svg>\n    <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n    <small>7 min ago</small>\n  </CToastHeader>\n  <CToastBody>Hello, world! This is a toast message.</CToastBody>\n</CToast>\n

Stacking

You can stack toasts by wrapping them in a toast container, which will vertically add some spacing.

', 3); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" visible>\n  <CToastHeader closeButton>\n    <svg\n      class="rounded me-2"\n      width="20"\n      height="20"\n      xmlns="http://www.w3.org/2000/svg"\n      preserveAspectRatio="xMidYMid slice"\n      focusable="false"\n      role="img"\n    >\n      <rect width="100%" height="100%" fill="#007aff"></rect>\n    </svg>\n    <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n    <small>7 min ago</small>\n  </CToastHeader>\n  <CToastBody>Hello, world! This is a toast message.</CToastBody>\n</CToast>\n

Stacking #

You can stack toasts by wrapping them in a toast container, which will vertically add some spacing.

', 3); const _hoisted_27 = { class: "docs-example rounded-top p-4" }; const _hoisted_28 = /* @__PURE__ */ createBaseVNode("svg", { class: "rounded me-2", @@ -92,18 +93,18 @@ const _hoisted_31 = /* @__PURE__ */ createBaseVNode("svg", { ], -1); const _hoisted_32 = /* @__PURE__ */ createBaseVNode("span", { class: "me-auto fw-bold" }, "CoreUI for Vue.js", -1); const _hoisted_33 = /* @__PURE__ */ createBaseVNode("small", null, "7 min ago", -1); -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CToaster class="position-static">\n  <CToast :autohide="false" visible>\n    <CToastHeader closeButton>\n      <svg\n        class="rounded me-2"\n        width="20"\n        height="20"\n        xmlns="http://www.w3.org/2000/svg"\n        preserveAspectRatio="xMidYMid slice"\n        focusable="false"\n        role="img"\n      >\n        <rect width="100%" height="100%" fill="#007aff"></rect>\n      </svg>\n      <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n      <small>7 min ago</small>\n    </CToastHeader>\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n  </CToast>\n  <CToast :autohide="false" visible>\n    <CToastHeader closeButton>\n      <svg\n        class="rounded me-2"\n        width="20"\n        height="20"\n        xmlns="http://www.w3.org/2000/svg"\n        preserveAspectRatio="xMidYMid slice"\n        focusable="false"\n        role="img"\n      >\n        <rect width="100%" height="100%" fill="#007aff"></rect>\n      </svg>\n      <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n      <small>7 min ago</small>\n    </CToastHeader>\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n  </CToast>\n</CToaster>\n

Custom content

Customize your toasts by removing sub-components, tweaking them with utilities, or by adding your own markup. Here we've created a simpler toast by removing the default <CToastHeader>, adding a custom hide icon from CoreUI Icons, and using some flexbox utilities to adjust the layout.

', 3); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CToaster class="position-static">\n  <CToast :autohide="false" visible>\n    <CToastHeader closeButton>\n      <svg\n        class="rounded me-2"\n        width="20"\n        height="20"\n        xmlns="http://www.w3.org/2000/svg"\n        preserveAspectRatio="xMidYMid slice"\n        focusable="false"\n        role="img"\n      >\n        <rect width="100%" height="100%" fill="#007aff"></rect>\n      </svg>\n      <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n      <small>7 min ago</small>\n    </CToastHeader>\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n  </CToast>\n  <CToast :autohide="false" visible>\n    <CToastHeader closeButton>\n      <svg\n        class="rounded me-2"\n        width="20"\n        height="20"\n        xmlns="http://www.w3.org/2000/svg"\n        preserveAspectRatio="xMidYMid slice"\n        focusable="false"\n        role="img"\n      >\n        <rect width="100%" height="100%" fill="#007aff"></rect>\n      </svg>\n      <span class="me-auto fw-bold">CoreUI for Vue.js</span>\n      <small>7 min ago</small>\n    </CToastHeader>\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n  </CToast>\n</CToaster>\n

Custom content #

Customize your toasts by removing sub-components, tweaking them with utilities, or by adding your own markup. Here we've created a simpler toast by removing the default <CToastHeader>, adding a custom hide icon from CoreUI Icons, and using some flexbox utilities to adjust the layout.

', 3); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = { class: "d-flex" }; const _hoisted_39 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" class="align-items-center" visible>\n  <div class="d-flex">\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n    <CToastClose class="me-2 m-auto"/>\n  </div>\n</CToast>\n

Alternatively, you can also add additional controls and components to toasts.

', 2); const _hoisted_41 = { class: "docs-example rounded-top p-4" }; const _hoisted_42 = { class: "mt-2 pt-2 border-top" }; -const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" class="align-items-center" visible>\n  <CToastBody>\n    Hello, world! This is a toast message.\n    <div class="mt-2 pt-2 border-top">\n    <CButton type="button" color="primary" size="sm">\n    Take action\n    </CButton>\n    <CToastClose as="CButton" color="secondary" size="sm" class="ms-1">Close</CToastClose>\n    </div>\n  </CToastBody>\n</CToast>\n

Color schemes

Building on the above example, you can create different toast color schemes with our color and background utilities. Here we've set color="primary" and added .text-white class to the <Ctoast>, and then set white property to our close button. For a crisp edge, we remove the default border with .border-0.

', 3); +const _hoisted_43 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" class="align-items-center" visible>\n  <CToastBody>\n    Hello, world! This is a toast message.\n    <div class="mt-2 pt-2 border-top">\n    <CButton type="button" color="primary" size="sm">\n    Take action\n    </CButton>\n    <CToastClose as="CButton" color="secondary" size="sm" class="ms-1">Close</CToastClose>\n    </div>\n  </CToastBody>\n</CToast>\n

Color schemes #

Building on the above example, you can create different toast color schemes with our color and background utilities. Here we've set color="primary" and added .text-white class to the <Ctoast>, and then set white property to our close button. For a crisp edge, we remove the default border with .border-0.

', 3); const _hoisted_46 = { class: "docs-example rounded-top p-4" }; const _hoisted_47 = { class: "d-flex" }; -const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" color="primary" class="text-white align-items-center" visible>\n  <div class="d-flex">\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n    <CToastClose class="me-2 m-auto" white />\n  </div>\n</CToast>\n

Customizing

CSS variables

Vue toasts use local CSS variables on .toast for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_52 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CToast :style="vars">...</CToast>\n

SASS variables

', 3); -const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API

CToast

import { CToast } from '@coreui/vue'\n// or\nimport CToast from '@coreui/vue/src/components/toast/CToast'\n

Props

Prop nameDescriptionTypeValuesDefault
autohideAuto hide the toast.boolean-true
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
delayDelay hiding the toast (ms).number-5000
dismissibleOptionally add a close button to component and allow it to self dismiss.boolean-true
indexindex of the component.number--
titleTitle node for your component.string--
visibleToggle the visibility of component.boolean--

Events

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
showCallback fired when the component requests to be shown.

CToastClose

import { CToastClose } from '@coreui/vue'\n// or\nimport CToastClose from '@coreui/vue/src/components/toast/CToastClose'\n

Props

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string--

Events

Event nameDescriptionProperties
closeEvent called before the dissmiss animation has started.

CToastHeader

import { CToastHeader } from '@coreui/vue'\n// or\nimport CToastHeader from '@coreui/vue/src/components/toast/CToastHeader'\n

Props

Prop nameDescriptionTypeValuesDefault
close-buttonAutomatically add a close button to the header.boolean--

Events

Event nameDescriptionProperties
closeEvent called after clicking the close button.

CToaster

import { CToaster } from '@coreui/vue'\n// or\nimport CToaster from '@coreui/vue/src/components/toast/CToaster'\n

Props

Prop nameDescriptionTypeValuesDefault
placementDescribes the placement of component.string'top-start', 'top', 'top-end', 'middle-start', 'middle', 'middle-end', 'bottom-start', 'bottom', 'bottom-end'-
', 23); +const _hoisted_48 = /* @__PURE__ */ createStaticVNode('
<CToast :autohide="false" color="primary" class="text-white align-items-center" visible>\n  <div class="d-flex">\n    <CToastBody>Hello, world! This is a toast message.</CToastBody>\n    <CToastClose class="me-2 m-auto" white />\n  </div>\n</CToast>\n

Customizing #

CSS variables #

Vue toasts use local CSS variables on .toast for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_52 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CToast :style="vars">...</CToast>\n

SASS variables #

', 3); +const _hoisted_55 = /* @__PURE__ */ createStaticVNode('

API #

CToast #

import { CToast } from '@coreui/vue'\n// or\nimport CToast from '@coreui/vue/src/components/toast/CToast'\n

Props #

Prop nameDescriptionTypeValuesDefault
autohideAuto hide the toast.boolean-true
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string-
delayDelay hiding the toast (ms).number-5000
dismissibleOptionally add a close button to component and allow it to self dismiss.boolean-true
indexindex of the component.number--
titleTitle node for your component.string--
visibleToggle the visibility of component.boolean--

Events #

Event nameDescriptionProperties
closeCallback fired when the component requests to be closed.
showCallback fired when the component requests to be shown.

CToastClose #

import { CToastClose } from '@coreui/vue'\n// or\nimport CToastClose from '@coreui/vue/src/components/toast/CToastClose'\n

Props #

Prop nameDescriptionTypeValuesDefault
asComponent used for the root node. Either a string to use a HTML element or a component.string--

Events #

Event nameDescriptionProperties
closeEvent called before the dissmiss animation has started.

CToastHeader #

import { CToastHeader } from '@coreui/vue'\n// or\nimport CToastHeader from '@coreui/vue/src/components/toast/CToastHeader'\n

Props #

Prop nameDescriptionTypeValuesDefault
close-buttonAutomatically add a close button to the header.boolean--

Events #

Event nameDescriptionProperties
closeEvent called after clicking the close button.

CToaster #

import { CToaster } from '@coreui/vue'\n// or\nimport CToaster from '@coreui/vue/src/components/toast/CToaster'\n

Props #

Prop nameDescriptionTypeValuesDefault
placementDescribes the placement of component.string'top-start', 'top', 'top-end', 'middle-start', 'middle', 'middle-end', 'bottom-start', 'bottom', 'bottom-end'-
', 23); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CToastHeader = resolveComponent("CToastHeader"); const _component_CToastBody = resolveComponent("CToastBody"); @@ -142,19 +143,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createBaseVNode("div", _hoisted_14, [ createVNode(_component_CButton, { color: "primary", - onClick: $options.createToast + onClick: $setup.createToast }, { default: withCtx(() => [ createTextVNode("Send a toast") ]), _: 1 - }, 8, ["onClick"]), + }), createVNode(_component_CToaster, { class: "p-3", placement: "top-end" }, { default: withCtx(() => [ - (openBlock(true), createElementBlock(Fragment, null, renderList($data.toasts, (toast, index) => { + (openBlock(true), createElementBlock(Fragment, null, renderList($setup.toasts, (toast, index) => { return openBlock(), createBlock(_component_CToast, { visible: "", key: index diff --git a/vue/docs/assets/tooltip.html-D2DMDPTK.js b/vue/docs/assets/tooltip.html-COZMp0t7.js similarity index 71% rename from vue/docs/assets/tooltip.html-D2DMDPTK.js rename to vue/docs/assets/tooltip.html-COZMp0t7.js index c1e2eca232b..7a24fa62dae 100644 --- a/vue/docs/assets/tooltip.html-D2DMDPTK.js +++ b/vue/docs/assets/tooltip.html-COZMp0t7.js @@ -1,11 +1,14 @@ -import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, e as createBaseVNode, f as createTextVNode, Y as withDirectives, h as createBlock, d as withCtx, b as createVNode, Z as normalizeStyle, a as createStaticVNode, $ as mergeProps, a0 as toHandlers } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, X as resolveDirective, o as openBlock, c as createElementBlock, b as createBaseVNode, f as createTextVNode, Y as withDirectives, V as createBlock, e as withCtx, d as createVNode, a as createStaticVNode, Z as mergeProps, $ as toHandlers } from "./app-DGOUrGv-.js"; const _sfc_main = { - data() { - return { - customTooltipStyle: { - "--cui-tooltip-bg": "var(--cui-primary)" - } + __name: "tooltip.html", + setup(__props, { expose: __expose }) { + __expose(); + const customTooltipStyle = { + "--cui-tooltip-bg": "var(--cui-primary)" }; + const __returned__ = { customTooltipStyle }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { @@ -15,8 +18,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Examples "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#examples", - "aria-hidden": "true" + href: "#examples" }, "#") ], -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { @@ -26,25 +28,24 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("Tooltips on links "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#tooltips-on-links", - "aria-hidden": "true" + href: "#tooltips-on-links" }, "#") ], -1); const _hoisted_3 = /* @__PURE__ */ createBaseVNode("p", null, "Hover over the links below to see tooltips:", -1); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; const _hoisted_5 = { class: "text-body-secondary" }; -const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<p class="text-body-secondary">\n  Tight pants next level keffiyeh\n  <CLink v-c-tooltip="'Tooltip text'"> you probably </CLink>\n    haven't heard of them.\n  Photo booth beard raw denim letterpress vegan messenger\n  bag stumptown. Farm-to-table seitan, mcsweeney's fixie\n  sustainable quinoa 8-bit american apparel\n  <CLink v-c-tooltip="'Tooltip text'"> have a </CLink>\n  terry richardson vinyl chambray. Beard stumptown,\n  cardigans banh mi lomo thundercats. Tofu biodiesel\n  williamsburg marfa, four loko mcsweeney''s cleanse\n  vegan chambray. A really ironic artisan\n  <CLink v-c-tooltip="'Tooltip text'"> whatever keytar </CLink>\n  scenester farm-to-table banksy Austin\n  <CLink v-c-tooltip="'Tooltip text'"> twitter handle </CLink>\n  freegan cred raw denim single-origin coffee viral.\n</p>\n

Component

Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left. Directions are mirrored when using CoreUI in RTL.

', 3); +const _hoisted_6 = /* @__PURE__ */ createStaticVNode('
<p class="text-body-secondary">\n  Tight pants next level keffiyeh\n  <CLink v-c-tooltip="'Tooltip text'"> you probably </CLink>\n    haven't heard of them.\n  Photo booth beard raw denim letterpress vegan messenger\n  bag stumptown. Farm-to-table seitan, mcsweeney's fixie\n  sustainable quinoa 8-bit american apparel\n  <CLink v-c-tooltip="'Tooltip text'"> have a </CLink>\n  terry richardson vinyl chambray. Beard stumptown,\n  cardigans banh mi lomo thundercats. Tofu biodiesel\n  williamsburg marfa, four loko mcsweeney''s cleanse\n  vegan chambray. A really ironic artisan\n  <CLink v-c-tooltip="'Tooltip text'"> whatever keytar </CLink>\n  scenester farm-to-table banksy Austin\n  <CLink v-c-tooltip="'Tooltip text'"> twitter handle </CLink>\n  freegan cred raw denim single-origin coffee viral.\n</p>\n

Component #

Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left. Directions are mirrored when using CoreUI in RTL.

', 3); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="top">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on top</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on right</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="bottom">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on bottom</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="left">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on left</CButton>\n  </template>\n</CTooltip>\n

Directive

', 2); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="top">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on top</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="right">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on right</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="bottom">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on bottom</CButton>\n  </template>\n</CTooltip>\n<CTooltip content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus" placement="left">\n  <template #toggler="{ id, on }">\n    <CButton color="secondary" :aria-describedby="id" v-on="on">Tooltip on left</CButton>\n  </template>\n</CTooltip>\n

Directive #

', 2); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'top'}">Tooltip on top</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'right'}">Tooltip on right</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'bottom'}">Tooltip on bottom</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'left'}">Tooltip on left</CButton>\n

Custom popovers

You can customize the appearance of tooltips using CSS variables. We set a custom style to scope our custom appearance and use it to override some of the local CSS variables.

', 3); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'top'}">Tooltip on top</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'right'}">Tooltip on right</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'bottom'}">Tooltip on bottom</CButton>\n<CButton color="secondary" v-c-tooltip="{content: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus.', placement: 'left'}">Tooltip on left</CButton>\n

Custom tooltips #

You can customize the appearance of tooltips using CSS variables. We set a custom style to scope our custom appearance and use it to override some of the local CSS variables.

', 3); const _hoisted_16 = { class: "docs-example rounded-top p-4" }; -const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CTooltip\n    content="This top tooltip is themed via CSS variables."\n    placement="top"\n    :style="customTooltipStyle"\n  >\n    <template #toggler="{ id, on }">\n      <CButton color="secondary" :aria-describedby="id" v-on="on">Custom popover</CButton>\n    </template>\n  </CTooltip>\n</template>\n<script>\n  export default {\n    data() {\n      return { \n       customTooltipStyle: {\n          '--cui-tooltip-bg': 'var(--cui-primary)',\n        }\n      }\n    }\n  }\n</script>\n

Usage

Disabled elements

Elements with the disabled attribute aren’t interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you’ll want to trigger the tooltip from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

', 4); +const _hoisted_17 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  const customTooltipStyle = {\n    '--cui-tooltip-bg': 'var(--cui-primary)',\n  }\n</script>\n<template>\n  <CTooltip\n    content="This top tooltip is themed via CSS variables."\n    placement="top"\n    :style="customTooltipStyle"\n  >\n    <template #toggler="{ id, on }">\n      <CButton color="secondary" :aria-describedby="id" v-on="on">Custom tooltip</CButton>\n    </template>\n  </CTooltip>\n</template>\n

Usage #

Disabled elements #

Elements with the disabled attribute aren’t interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you’ll want to trigger the tooltip from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

', 4); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; const _hoisted_22 = ["aria-describedby"]; -const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CTooltip content="Disabled tooltip">\n  <template #toggler="{ id, on }">\n    <span class="d-inline-block" :tabindex="0" :aria-describedby="id" v-on="on">\n      <CButton color="primary" disabled>Disabled button</CButton>\n    </span>\n  </template>\n</CTooltip>\n

Customizing

CSS variables

Vue toltips use local CSS variables on .tooltip for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); -const _hoisted_27 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTooltip :style="vars">...</CTooltip>\n

SASS variables

', 3); -const _hoisted_30 = /* @__PURE__ */ createStaticVNode('

API

CTooltip

import { CTooltip } from '@coreui/vue'\n// or\nimport CTooltip from '@coreui/vue/src/components/tooltip/CTooltip'\n

Props

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the tooltip.boolean-true
container
v5.0.0+
Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the tooltip relative to its target.array-[0, 6]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover'() => ['hover', 'focus']
visibleToggle the visibility of tooltip component.boolean--

Events

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 7); +const _hoisted_23 = /* @__PURE__ */ createStaticVNode('
<CTooltip content="Disabled tooltip">\n  <template #toggler="{ id, on }">\n    <span class="d-inline-block" :tabindex="0" :aria-describedby="id" v-on="on">\n      <CButton color="primary" disabled>Disabled button</CButton>\n    </span>\n  </template>\n</CTooltip>\n

Customizing #

CSS variables #

Vue toltips use local CSS variables on .tooltip for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_27 = /* @__PURE__ */ createStaticVNode('

How to use CSS variables #

const vars = { \n  '--my-css-var': 10,\n  '--my-another-css-var': "red" \n}\nreturn <CTooltip :style="vars">...</CTooltip>\n

SASS variables #

', 3); +const _hoisted_30 = /* @__PURE__ */ createStaticVNode('

API #

CTooltip #

import { CTooltip } from '@coreui/vue'\n// or\nimport CTooltip from '@coreui/vue/src/components/tooltip/CTooltip'\n

Props #

Prop nameDescriptionTypeValuesDefault
animation
4.9.0+
Apply a CSS fade transition to the tooltip.boolean-true
container
5.0.0+
Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default document.body.HTMLElement | (() => HTMLElement) | string-'body'
contentContent for your component. If you want to pass non-string value please use dedicated slot <template #content>...</template>string--
delay
4.9.0+
The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: { 'show': 500, 'hide': 100 }.number | { show: number; hide: number }-0
fallback-placements
4.9.0+
Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference.Placements | Placements[]-() => ['top', 'right', 'bottom', 'left']
offsetOffset of the tooltip relative to its target.array-[0, 6]
placementDescribes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.Placement-'top'
triggerSets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.Triggers | Triggers[]'click', 'focus', 'hover'() => ['hover', 'focus']
visibleToggle the visibility of tooltip component.boolean--

Events #

Event nameDescriptionProperties
hideCallback fired when the component requests to be hidden.
showCallback fired when the component requests to be shown.
', 7); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CLink = resolveComponent("CLink"); const _component_CButton = resolveComponent("CButton"); @@ -207,7 +208,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CTooltip, { content: "This top tooltip is themed via CSS variables.", placement: "top", - style: normalizeStyle($data.customTooltipStyle) + style: $setup.customTooltipStyle }, { toggler: withCtx(({ id, on }) => [ createVNode(_component_CButton, mergeProps({ @@ -215,13 +216,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { "aria-describedby": id }, toHandlers(on)), { default: withCtx(() => [ - createTextVNode("Custom popover") + createTextVNode("Custom tooltip") ]), _: 2 }, 1040, ["aria-describedby"]) ]), _: 1 - }, 8, ["style"]) + }) ]), _hoisted_17, createBaseVNode("div", _hoisted_21, [ @@ -260,7 +261,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ]); } const tooltip_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "tooltip.html.vue"]]); -const data = JSON.parse('{"path":"/components/tooltip.html","title":"Vue Tooltip Component and Directive","lang":"en-US","frontmatter":{"title":"Vue Tooltip Component and Directive","name":"Tooltip","description":"Documentation and examples for adding Vue Tooltips.","other_frameworks":"tooltip","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/tooltip.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Tooltips on links","slug":"tooltips-on-links","link":"#tooltips-on-links","children":[]},{"level":3,"title":"Component","slug":"component","link":"#component","children":[]},{"level":3,"title":"Directive","slug":"directive","link":"#directive","children":[]},{"level":3,"title":"Custom popovers","slug":"custom-popovers","link":"#custom-popovers","children":[]}]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[{"level":3,"title":"Disabled elements","slug":"disabled-elements","link":"#disabled-elements","children":[]}]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}]}],"filePathRelative":"components/tooltip.md"}'); +const data = JSON.parse('{"path":"/components/tooltip.html","title":"Vue Tooltip Component and Directive","lang":"en-US","frontmatter":{"title":"Vue Tooltip Component and Directive","name":"Tooltip","description":"Documentation and examples for adding Vue Tooltips.","other_frameworks":"tooltip","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/components/tooltip.html"}]]},"headers":[{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Tooltips on links","slug":"tooltips-on-links","link":"#tooltips-on-links","children":[]},{"level":3,"title":"Component","slug":"component","link":"#component","children":[]},{"level":3,"title":"Directive","slug":"directive","link":"#directive","children":[]},{"level":3,"title":"Custom tooltips","slug":"custom-tooltips","link":"#custom-tooltips","children":[]}]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[{"level":3,"title":"Disabled elements","slug":"disabled-elements","link":"#disabled-elements","children":[]}]},{"level":2,"title":"Customizing","slug":"customizing","link":"#customizing","children":[{"level":3,"title":"CSS variables","slug":"css-variables","link":"#css-variables","children":[]},{"level":3,"title":"SASS variables","slug":"sass-variables","link":"#sass-variables","children":[]}]},{"level":2,"title":"API","slug":"api","link":"#api","children":[{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}]}],"filePathRelative":"components/tooltip.md"}'); export { tooltip_html as comp, data diff --git a/vue/docs/assets/v4.html-Br_AIuga.js b/vue/docs/assets/v4.html-Br_AIuga.js deleted file mode 100644 index 2ff09992e83..00000000000 --- a/vue/docs/assets/v4.html-Br_AIuga.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also CoreUI 3 to 4 migration guide.

Components

CAlert

  • Deprecated property fade.
  • Deprecated property closeButton, use dismissible instead of.
  • Deprecated property show, use visible instead of.

CBadge

  • Deprecated property tag, use component instead of.

CBreadcrumb

  • Deprecated property addClasses.
  • Deprecated property addLinkClasses.
  • Deprecated property addLastItemClasses.
  • Deprecated property items.

CButton

  • Deprecated property block.
  • Deprecated property pressed.

CCard

  • Deprecated property accentColor, use utilities class="border-top-{#color} border-top-3" instead of.
  • Deprecated property align.
  • Deprecated property bodyWrapper.
  • Deprecated property borderColor.
  • Deprecated property tag.

CCardBody

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag.
  • Deprecated property textColor.

CCardFooter

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag.
  • Deprecated property textColor.

CCardGroup

  • Deprecated property columns.
  • Deprecated property deck.
  • Deprecated property tag.

CCardHeader

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag, use component instead of.
  • Deprecated property textColor.

CCardImg

  • Component renamed to CCardImage
  • Deprecated property variant, use orientation instead of.

CCardImgOverlay

  • Component renamed to CCardImageOverlay
  • Deprecated property tag.

CCardSubtitle

  • Deprecated property tag, use component instead of.

CCardText

  • Deprecated property tag, use component instead of.

CCardTitle

  • Deprecated property tag, use component instead of.

CCarousel

  • Deprecated property animate.
  • Deprecated property arrows, use controls instead of.
  • Deprecated property indicatorClasses.
  • Deprecated property height.

CCarouselControl

  • Component is depracated, use <CCarousel controls> instead of.

CCarouselIndicators

  • Component is depracated, use <CCarousel indicators> instead of.

CCarouselInner

  • Component is depracated.

CCollapse

  • Deprecated property duration.
  • Deprecated property navbar.
  • Deprecated property transition.
  • Deprecated property show, use visible instead of.

CDropdown

  • Deprecated property addMenuClasses.
  • Deprecated property addTogglerClasses.
  • Deprecated property caret.
  • Deprecated property color.
  • Deprecated property inNav, use variant="nav-item" instead of.
  • Deprecated property togglerText.
  • Deprecated property show, use visible instead of.
  • Deprecated property size.
  • Deprecated property split.

CDropdownHeader

  • Deprecated property tag, use component instead of.

CEmbed

  • Component is depracated.

CFade

  • Component is depracated.

CHeader

  • Deprecated property withSubheader.
  • Deprecated component CHeaderNavItem, use CNavItem instead of.
  • Deprecated component CHeaderNavLink, use CNavLink instead of.

CImg

  • Component renamed to CImage
  • Deprecated property block.
  • Deprecated property fluidGrow.
  • Deprecated property placeholderColor.
  • Deprecated property shape.
  • Deprecated property tag.

CJumbotron

  • Component is depracated.

CListGroup

  • Deprecated property horizontal, use layout instead of.
  • Deprecated property tag, use component instead of.

CListGroupItem

  • Deprecated property accent.
  • Deprecated property action, use property component="a" or component="button" instead of.
  • Deprecated property tag, use component instead of.

CMedia

  • Component is depracated.

CModal

  • Deprecated property addContentClass.
  • Deprecated property borderColor, use utilities class="border border-{#color}" instead of.
  • Deprecated property centered.
  • Deprecated property closeOnBackdrop.
  • Deprecated property fade, use transition instead of.
  • Deprecated property onClosed.
  • Deprecated property onOpened.
  • Deprecated property show, use visible instead of.

CModalBody

  • Deprecated property tag.

CModalFooter

  • Deprecated property tag.

CModalHeader

  • Deprecated property tag.

CNav

  • Deprecated property inCard.
  • Deprecated property fill, use layout="fill" instead of.
  • Deprecated property justified, use layout="justified" instead of.

CNavItem

  • Deprecated property default.

CNavbar

  • Deprecated property expandable, use expand instead of.
  • Deprecated property fixed, use placement="fixed-top" instead of.
  • Deprecated property light, use colorScheme="light" instead of.
  • Deprecated property sticky, use placement="sticky-top" instead of.
  • Deprecated property tag, use component instead of.

CNavbarNav

  • Deprecated property tag, use component instead of.

CNavbarText

  • Deprecated property tag, use component instead of.

CPagination

  • **The component has been split into CPagination and to CSmartPagination components.

CPopover

  • Deprecated property header, use title instead of.

CProgress

  • Deprecated property max.
  • Deprecated property precision.
  • Deprecated property showPercentage.
  • Deprecated property showValue.
  • Deprecated property size, use height instead of.
  • Deprecated property striped, use variant="striped" instead of.

CProgressBar

  • Deprecated property max.
  • Deprecated property precision.
  • Deprecated property showPercentage.
  • Deprecated property showValue.
  • Deprecated property size, use height instead of.
  • Deprecated property striped, use variant="striped" instead of.

CSidebar

  • Deprecated property minimize use narrow instead of.
  • Deprecated property dropdownMode.
  • Deprecated component CSidebarForm, use CForm instead of.
  • Deprecated component CSidebarNavDivider, use CNavDivider instead of.
  • Deprecated component CSidebarNavDropdown, use CNavGroup instead of.
  • Deprecated component CSidebarNavLink, use CNavLink instead of.
  • Deprecated component CSidebarNavItem, use CNavItem instead of.
  • Deprecated component CSidebarNavTitile, use CNavTitle instead of.

CSwitch

  • Component is depracated, use CFormSwitch instead of.

CSpinner

  • Deprecated property grow, use variant="grow" instead of.
  • Deprecated property tag, use component instead of.

CTabs

  • Component is depracated, use <CNav variant="tabs" role="tablist"> instead of

CTabContent

  • Deprecated property fade.

CTabPane

  • Deprecated property active, use visible instead of.

CToast

  • Deprecated property fade, use animation instead of.
  • Deprecated property show, use visible instead of.
  • Deprecated property onStateChange.

CToastBody

CToastHeader

CToggler

  • Component is depracated.

CTooltip

  • Deprecated property interactive.
  • Deprecated property advancedOptions.

Forms

CFormGroup

  • Component is depracated.

CInput

  • Component renamed to CFormInput
  • Deprecated property plaintext, use plain-text instead of.

CInputCheckbox

  • Component is depracated, use <CFormCheck> instead of.

CInputFile

  • Component is depracated, use <CFormInput type="file"> instead of.

CInputRadio

  • Component is depracated, use <CFormCheck type="radio"> instead of.

CInputGroup

CInputGroupAddon

  • Component is depracated, use CInputGroupText instead of.

CSelect

  • Component is depracated, use <CFormSelect> instead of.

CValidFeedback

  • Component is depracated, use <CFormFeedback valid> instead of.

CInvalidFeedback

  • Component is depracated, use <CCFormFeedback invalid> instead of.

Layout

CContainer

  • Deprecated property tag.

CCol

  • Deprecated property tag.
  • Deprecated property width, use xs, sm, md, lg, xl, xxl.

CRow

  • Deprecated property alignHorizontal.
  • Deprecated property alignVertical.
  • Deprecated property form.
  • Deprecated property gutters.
  • Deprecated property tag.
  • Deprecated property width, use xs, sm, md, lg, xl, xxl.
', 133); -const _hoisted_134 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_134); -} -const v4_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "v4.html.vue"]]); -const data = JSON.parse('{"path":"/migration/v4.html","title":"Migration to v4","lang":"en-US","frontmatter":{"title":"Migration to v4","description":"Track and review changes to the CoreUI for Vue.js components to help you migrate from v3 to v4.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/migration/v4.html"}]]},"headers":[{"level":2,"title":"Components","slug":"components","link":"#components","children":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]},{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]},{"level":3,"title":"CBreadcrumb","slug":"cbreadcrumb","link":"#cbreadcrumb","children":[]},{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]},{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]},{"level":3,"title":"CCarousel","slug":"ccarousel","link":"#ccarousel","children":[]},{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]},{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]},{"level":3,"title":"CEmbed","slug":"cembed","link":"#cembed","children":[]},{"level":3,"title":"CFade","slug":"cfade","link":"#cfade","children":[]},{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]},{"level":3,"title":"CImg","slug":"cimg","link":"#cimg","children":[]},{"level":3,"title":"CJumbotron","slug":"cjumbotron","link":"#cjumbotron","children":[]},{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]},{"level":3,"title":"CMedia","slug":"cmedia","link":"#cmedia","children":[]},{"level":3,"title":"CModal","slug":"cmodal","link":"#cmodal","children":[]},{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]},{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]},{"level":3,"title":"CPagination","slug":"cpagination","link":"#cpagination","children":[]},{"level":3,"title":"CPopover","slug":"cpopover","link":"#cpopover","children":[]},{"level":3,"title":"CProgress","slug":"cprogress","link":"#cprogress","children":[]},{"level":3,"title":"CProgressBar","slug":"cprogressbar","link":"#cprogressbar","children":[]},{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]},{"level":3,"title":"CSwitch","slug":"cswitch","link":"#cswitch","children":[]},{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]},{"level":3,"title":"CTabs","slug":"ctabs","link":"#ctabs","children":[]},{"level":3,"title":"CToast","slug":"ctoast","link":"#ctoast","children":[]},{"level":3,"title":"CToggler","slug":"ctoggler","link":"#ctoggler","children":[]},{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}]},{"level":2,"title":"Forms","slug":"forms","link":"#forms","children":[{"level":3,"title":"CFormGroup","slug":"cformgroup","link":"#cformgroup","children":[]},{"level":3,"title":"CInput","slug":"cinput","link":"#cinput","children":[]},{"level":3,"title":"CInputCheckbox","slug":"cinputcheckbox","link":"#cinputcheckbox","children":[]},{"level":3,"title":"CInputFile","slug":"cinputfile","link":"#cinputfile","children":[]},{"level":3,"title":"CInputRadio","slug":"cinputradio","link":"#cinputradio","children":[]},{"level":3,"title":"CInputGroup","slug":"cinputgroup","link":"#cinputgroup","children":[]},{"level":3,"title":"CSelect","slug":"cselect","link":"#cselect","children":[]},{"level":3,"title":"CValidFeedback","slug":"cvalidfeedback","link":"#cvalidfeedback","children":[]},{"level":3,"title":"CInvalidFeedback","slug":"cinvalidfeedback","link":"#cinvalidfeedback","children":[]}]},{"level":2,"title":"Layout","slug":"layout","link":"#layout","children":[{"level":3,"title":"CContainer","slug":"ccontainer","link":"#ccontainer","children":[]},{"level":3,"title":"CCol","slug":"ccol","link":"#ccol","children":[]},{"level":3,"title":"CRow","slug":"crow","link":"#crow","children":[]}]}],"filePathRelative":"migration/v4.md"}'); -export { - v4_html as comp, - data -}; diff --git a/vue/docs/assets/v4.html-qK__BZTD.js b/vue/docs/assets/v4.html-qK__BZTD.js new file mode 100644 index 00000000000..34d989ecff6 --- /dev/null +++ b/vue/docs/assets/v4.html-qK__BZTD.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also CoreUI 3 to 4 migration guide.

Components #

CAlert #

  • Deprecated property fade.
  • Deprecated property closeButton, use dismissible instead of.
  • Deprecated property show, use visible instead of.

CBadge #

  • Deprecated property tag, use component instead of.

CBreadcrumb #

  • Deprecated property addClasses.
  • Deprecated property addLinkClasses.
  • Deprecated property addLastItemClasses.
  • Deprecated property items.

CButton #

  • Deprecated property block.
  • Deprecated property pressed.

CCard #

  • Deprecated property accentColor, use utilities class="border-top-{#color} border-top-3" instead of.
  • Deprecated property align.
  • Deprecated property bodyWrapper.
  • Deprecated property borderColor.
  • Deprecated property tag.

CCardBody #

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag.
  • Deprecated property textColor.

CCardFooter #

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag.
  • Deprecated property textColor.

CCardGroup #

  • Deprecated property columns.
  • Deprecated property deck.
  • Deprecated property tag.

CCardHeader #

  • Deprecated property align.
  • Deprecated property color.
  • Deprecated property borderColor.
  • Deprecated property tag, use component instead of.
  • Deprecated property textColor.

CCardImg #

  • Component renamed to CCardImage
  • Deprecated property variant, use orientation instead of.

CCardImgOverlay #

  • Component renamed to CCardImageOverlay
  • Deprecated property tag.

CCardSubtitle #

  • Deprecated property tag, use component instead of.

CCardText #

  • Deprecated property tag, use component instead of.

CCardTitle #

  • Deprecated property tag, use component instead of.

CCarousel #

  • Deprecated property animate.
  • Deprecated property arrows, use controls instead of.
  • Deprecated property indicatorClasses.
  • Deprecated property height.

CCarouselControl #

  • Component is depracated, use <CCarousel controls> instead of.

CCarouselIndicators #

  • Component is depracated, use <CCarousel indicators> instead of.

CCarouselInner #

  • Component is depracated.

CCollapse #

  • Deprecated property duration.
  • Deprecated property navbar.
  • Deprecated property transition.
  • Deprecated property show, use visible instead of.

CDropdown #

  • Deprecated property addMenuClasses.
  • Deprecated property addTogglerClasses.
  • Deprecated property caret.
  • Deprecated property color.
  • Deprecated property inNav, use variant="nav-item" instead of.
  • Deprecated property togglerText.
  • Deprecated property show, use visible instead of.
  • Deprecated property size.
  • Deprecated property split.

CDropdownHeader #

  • Deprecated property tag, use component instead of.

CEmbed #

  • Component is depracated.

CFade #

  • Component is depracated.

CHeader #

  • Deprecated property withSubheader.
  • Deprecated component CHeaderNavItem, use CNavItem instead of.
  • Deprecated component CHeaderNavLink, use CNavLink instead of.

CImg #

  • Component renamed to CImage
  • Deprecated property block.
  • Deprecated property fluidGrow.
  • Deprecated property placeholderColor.
  • Deprecated property shape.
  • Deprecated property tag.

CJumbotron #

  • Component is depracated.

CListGroup #

  • Deprecated property horizontal, use layout instead of.
  • Deprecated property tag, use component instead of.

CListGroupItem #

  • Deprecated property accent.
  • Deprecated property action, use property component="a" or component="button" instead of.
  • Deprecated property tag, use component instead of.

CMedia #

  • Component is depracated.

CModal #

  • Deprecated property addContentClass.
  • Deprecated property borderColor, use utilities class="border border-{#color}" instead of.
  • Deprecated property centered.
  • Deprecated property closeOnBackdrop.
  • Deprecated property fade, use transition instead of.
  • Deprecated property onClosed.
  • Deprecated property onOpened.
  • Deprecated property show, use visible instead of.

CModalBody #

  • Deprecated property tag.

CModalFooter #

  • Deprecated property tag.

CModalHeader #

  • Deprecated property tag.

CNav #

  • Deprecated property inCard.
  • Deprecated property fill, use layout="fill" instead of.
  • Deprecated property justified, use layout="justified" instead of.

CNavItem #

  • Deprecated property default.

CNavbar #

  • Deprecated property expandable, use expand instead of.
  • Deprecated property fixed, use placement="fixed-top" instead of.
  • Deprecated property light, use colorScheme="light" instead of.
  • Deprecated property sticky, use placement="sticky-top" instead of.
  • Deprecated property tag, use component instead of.

CNavbarNav #

  • Deprecated property tag, use component instead of.

CNavbarText #

  • Deprecated property tag, use component instead of.

CPagination #

  • **The component has been split into CPagination and to CSmartPagination components.

CPopover #

  • Deprecated property header, use title instead of.

CProgress #

  • Deprecated property max.
  • Deprecated property precision.
  • Deprecated property showPercentage.
  • Deprecated property showValue.
  • Deprecated property size, use height instead of.
  • Deprecated property striped, use variant="striped" instead of.

CProgressBar #

  • Deprecated property max.
  • Deprecated property precision.
  • Deprecated property showPercentage.
  • Deprecated property showValue.
  • Deprecated property size, use height instead of.
  • Deprecated property striped, use variant="striped" instead of.

CSidebar #

  • Deprecated property minimize use narrow instead of.
  • Deprecated property dropdownMode.
  • Deprecated component CSidebarForm, use CForm instead of.
  • Deprecated component CSidebarNavDivider, use CNavDivider instead of.
  • Deprecated component CSidebarNavDropdown, use CNavGroup instead of.
  • Deprecated component CSidebarNavLink, use CNavLink instead of.
  • Deprecated component CSidebarNavItem, use CNavItem instead of.
  • Deprecated component CSidebarNavTitile, use CNavTitle instead of.

CSwitch #

  • Component is depracated, use CFormSwitch instead of.

CSpinner #

  • Deprecated property grow, use variant="grow" instead of.
  • Deprecated property tag, use component instead of.

CTabs #

  • Component is depracated, use <CNav variant="tabs" role="tablist"> instead of

CTabContent #

  • Deprecated property fade.

CTabPane #

  • Deprecated property active, use visible instead of.

CToast #

  • Deprecated property fade, use animation instead of.
  • Deprecated property show, use visible instead of.
  • Deprecated property onStateChange.

CToastBody #

CToastHeader #

CToggler #

  • Component is depracated.

CTooltip #

  • Deprecated property interactive.
  • Deprecated property advancedOptions.

Forms #

CFormGroup #

  • Component is depracated.

CInput #

  • Component renamed to CFormInput
  • Deprecated property plaintext, use plain-text instead of.

CInputCheckbox #

  • Component is depracated, use <CFormCheck> instead of.

CInputFile #

  • Component is depracated, use <CFormInput type="file"> instead of.

CInputRadio #

  • Component is depracated, use <CFormCheck type="radio"> instead of.

CInputGroup #

CInputGroupAddon #

  • Component is depracated, use CInputGroupText instead of.

CSelect #

  • Component is depracated, use <CFormSelect> instead of.

CValidFeedback #

  • Component is depracated, use <CFormFeedback valid> instead of.

CInvalidFeedback #

  • Component is depracated, use <CCFormFeedback invalid> instead of.

Layout #

CContainer #

  • Deprecated property tag.

CCol #

  • Deprecated property tag.
  • Deprecated property width, use xs, sm, md, lg, xl, xxl.

CRow #

  • Deprecated property alignHorizontal.
  • Deprecated property alignVertical.
  • Deprecated property form.
  • Deprecated property gutters.
  • Deprecated property tag.
  • Deprecated property width, use xs, sm, md, lg, xl, xxl.
', 133); +const _hoisted_134 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_134); +} +const v4_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "v4.html.vue"]]); +const data = JSON.parse('{"path":"/migration/v4.html","title":"Migration to v4","lang":"en-US","frontmatter":{"title":"Migration to v4","description":"Track and review changes to the CoreUI for Vue.js components to help you migrate from v3 to v4.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/migration/v4.html"}]]},"headers":[{"level":2,"title":"Components","slug":"components","link":"#components","children":[{"level":3,"title":"CAlert","slug":"calert","link":"#calert","children":[]},{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]},{"level":3,"title":"CBreadcrumb","slug":"cbreadcrumb","link":"#cbreadcrumb","children":[]},{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]},{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]},{"level":3,"title":"CCarousel","slug":"ccarousel","link":"#ccarousel","children":[]},{"level":3,"title":"CCollapse","slug":"ccollapse","link":"#ccollapse","children":[]},{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]},{"level":3,"title":"CEmbed","slug":"cembed","link":"#cembed","children":[]},{"level":3,"title":"CFade","slug":"cfade","link":"#cfade","children":[]},{"level":3,"title":"CHeader","slug":"cheader","link":"#cheader","children":[]},{"level":3,"title":"CImg","slug":"cimg","link":"#cimg","children":[]},{"level":3,"title":"CJumbotron","slug":"cjumbotron","link":"#cjumbotron","children":[]},{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]},{"level":3,"title":"CMedia","slug":"cmedia","link":"#cmedia","children":[]},{"level":3,"title":"CModal","slug":"cmodal","link":"#cmodal","children":[]},{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]},{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]},{"level":3,"title":"CPagination","slug":"cpagination","link":"#cpagination","children":[]},{"level":3,"title":"CPopover","slug":"cpopover","link":"#cpopover","children":[]},{"level":3,"title":"CProgress","slug":"cprogress","link":"#cprogress","children":[]},{"level":3,"title":"CProgressBar","slug":"cprogressbar","link":"#cprogressbar","children":[]},{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]},{"level":3,"title":"CSwitch","slug":"cswitch","link":"#cswitch","children":[]},{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]},{"level":3,"title":"CTabs","slug":"ctabs","link":"#ctabs","children":[]},{"level":3,"title":"CToast","slug":"ctoast","link":"#ctoast","children":[]},{"level":3,"title":"CToggler","slug":"ctoggler","link":"#ctoggler","children":[]},{"level":3,"title":"CTooltip","slug":"ctooltip","link":"#ctooltip","children":[]}]},{"level":2,"title":"Forms","slug":"forms","link":"#forms","children":[{"level":3,"title":"CFormGroup","slug":"cformgroup","link":"#cformgroup","children":[]},{"level":3,"title":"CInput","slug":"cinput","link":"#cinput","children":[]},{"level":3,"title":"CInputCheckbox","slug":"cinputcheckbox","link":"#cinputcheckbox","children":[]},{"level":3,"title":"CInputFile","slug":"cinputfile","link":"#cinputfile","children":[]},{"level":3,"title":"CInputRadio","slug":"cinputradio","link":"#cinputradio","children":[]},{"level":3,"title":"CInputGroup","slug":"cinputgroup","link":"#cinputgroup","children":[]},{"level":3,"title":"CSelect","slug":"cselect","link":"#cselect","children":[]},{"level":3,"title":"CValidFeedback","slug":"cvalidfeedback","link":"#cvalidfeedback","children":[]},{"level":3,"title":"CInvalidFeedback","slug":"cinvalidfeedback","link":"#cinvalidfeedback","children":[]}]},{"level":2,"title":"Layout","slug":"layout","link":"#layout","children":[{"level":3,"title":"CContainer","slug":"ccontainer","link":"#ccontainer","children":[]},{"level":3,"title":"CCol","slug":"ccol","link":"#ccol","children":[]},{"level":3,"title":"CRow","slug":"crow","link":"#crow","children":[]}]}],"filePathRelative":"migration/v4.md"}'); +export { + v4_html as comp, + data +}; diff --git a/vue/docs/assets/v5.html-Csxq3zcX.js b/vue/docs/assets/v5.html-Csxq3zcX.js new file mode 100644 index 00000000000..cd5415f3dae --- /dev/null +++ b/vue/docs/assets/v5.html-Csxq3zcX.js @@ -0,0 +1,15 @@ +import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-DGOUrGv-.js"; +const _sfc_main = {}; +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also CoreUI 4 to 5 migration guide.

Components #

CAlertHeading #

  • Breaking Renamed component property to as.

CAvatar #

  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CBadge #

  • Breaking Renamed component property to as.
  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CButton #

  • Breaking Renamed component property to as.

CCard #

  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CCardHeader #

  • Breaking Renamed component property to as.

CCardImage #

  • Breaking Renamed component property to as.

CCardSubtitle #

  • Breaking Renamed component property to as.

CCardText #

  • Breaking Renamed component property to as.

CCardTitle #

  • Breaking Renamed component property to as.

CCloseButton #

  • Deprecated property white, use dark instead of.

CDatePicker #

  • Removed property format, use inputDateFormat instead of.
// Previous markup\n<CDatePicker format="MMMM-dd-yyyy"/>\n\n// New markup\nimport { format } from 'date-fns'\n//...\n<CDatePicker :inputDateFormat="(date) => format(new Date(date), 'MMMM-dd-yyyy')" />\n
  • date-change event return only the date object, instead of the date object and formatted string.

CDateRangePicker #

  • Removed property format, use inputDateFormat instead of.
// Previous markup\n<CDateRangePicker format="MMMM-dd-yyyy"/>\n\n// New markup\nimport { format } from 'date-fns'\n//...\n<CDateRangePicker :inputDateFormat="(date) => format(new Date(date), 'MMMM-dd-yyyy')" />\n
  • start-date-change and end-date-change events return only the date object, instead of the date object and formatted string.

CDropdown #

  • Breaking Renamed component property to as.

CDropdownHeader #

  • Breaking Renamed component property to as.

CDropdownItem #

  • Breaking Renamed component property to as.

CDropdownItemPlain #

  • Breaking Renamed component property to as.

CDropdownMenu #

  • Breaking Renamed component property to as.

CDropdownToggle #

  • Breaking Renamed component property to as.

CFormFeedback #

  • Breaking Renamed component property to as.

CFormText #

  • Breaking Renamed component property to as.

CHeaderBrand #

  • Breaking Renamed component property to as.

CHeaderNav #

  • Breaking Renamed component property to as.

CInputGroupText #

  • Breaking Renamed component property to as.
  • Breaking Renamed component property to as.

CListGroup #

  • Breaking Renamed component property to as.

CListGroupItem #

  • Breaking Renamed component property to as.

CModalTitle #

  • Breaking Renamed component property to as.

CMultiSelect #

  • Removed key text in the options list, use label instead

CNav #

  • The underline variant has been changed to underline-border

CNavbar #

  • Breaking Renamed component property to as.

CNavbarBrand #

  • Breaking Renamed component property to as.

CNavbarNav #

  • Breaking Renamed component property to as.

CNavItem #

  • Breaking Renamed component property to as.
  • Breaking Renamed component property to as.

CNavTitle #

  • Breaking Renamed component property to as.

COffcanvasTitle #

  • Breaking Renamed component property to as.

CPaginationItem #

  • Breaking Renamed component property to as.

CPlaceholder #

  • Breaking Renamed component property to as.

CSidebar #

  • Breaking Sidebar has a light color scheme by default, use colorScheme="dark" to make it dark.

CSpinner #

  • Breaking Renamed component property to as.

CToastClose #

  • Breaking Renamed component property to as.
  • Deprecated property white, use dark instead of.
', 90); +const _hoisted_91 = [ + _hoisted_1 +]; +function _sfc_render(_ctx, _cache) { + return openBlock(), createElementBlock("div", null, _hoisted_91); +} +const v5_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "v5.html.vue"]]); +const data = JSON.parse('{"path":"/migration/v5.html","title":"Migration to v5","lang":"en-US","frontmatter":{"title":"Migration to v5","description":"Track and review changes to the CoreUI for Vue.js components to help you migrate from v4 to v5.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/migration/v5.html"}]]},"headers":[{"level":2,"title":"Components","slug":"components","link":"#components","children":[{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]},{"level":3,"title":"CAvatar","slug":"cavatar","link":"#cavatar","children":[]},{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]},{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]},{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]},{"level":3,"title":"CCardHeader","slug":"ccardheader","link":"#ccardheader","children":[]},{"level":3,"title":"CCardImage","slug":"ccardimage","link":"#ccardimage","children":[]},{"level":3,"title":"CCardSubtitle","slug":"ccardsubtitle","link":"#ccardsubtitle","children":[]},{"level":3,"title":"CCardText","slug":"ccardtext","link":"#ccardtext","children":[]},{"level":3,"title":"CCardTitle","slug":"ccardtitle","link":"#ccardtitle","children":[]},{"level":3,"title":"CCloseButton","slug":"cclosebutton","link":"#cclosebutton","children":[]},{"level":3,"title":"CDatePicker","slug":"cdatepicker","link":"#cdatepicker","children":[]},{"level":3,"title":"CDateRangePicker","slug":"cdaterangepicker","link":"#cdaterangepicker","children":[]},{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]},{"level":3,"title":"CDropdownHeader","slug":"cdropdownheader","link":"#cdropdownheader","children":[]},{"level":3,"title":"CDropdownItem","slug":"cdropdownitem","link":"#cdropdownitem","children":[]},{"level":3,"title":"CDropdownItemPlain","slug":"cdropdownitemplain","link":"#cdropdownitemplain","children":[]},{"level":3,"title":"CDropdownMenu","slug":"cdropdownmenu","link":"#cdropdownmenu","children":[]},{"level":3,"title":"CDropdownToggle","slug":"cdropdowntoggle","link":"#cdropdowntoggle","children":[]},{"level":3,"title":"CFormFeedback","slug":"cformfeedback","link":"#cformfeedback","children":[]},{"level":3,"title":"CFormText","slug":"cformtext","link":"#cformtext","children":[]},{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]},{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]},{"level":3,"title":"CInputGroupText","slug":"cinputgrouptext","link":"#cinputgrouptext","children":[]},{"level":3,"title":"CLink","slug":"clink","link":"#clink","children":[]},{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]},{"level":3,"title":"CListGroupItem","slug":"clistgroupitem","link":"#clistgroupitem","children":[]},{"level":3,"title":"CModalTitle","slug":"cmodaltitle","link":"#cmodaltitle","children":[]},{"level":3,"title":"CMultiSelect","slug":"cmultiselect","link":"#cmultiselect","children":[]},{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]},{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]},{"level":3,"title":"CNavbarBrand","slug":"cnavbarbrand","link":"#cnavbarbrand","children":[]},{"level":3,"title":"CNavbarNav","slug":"cnavbarnav","link":"#cnavbarnav","children":[]},{"level":3,"title":"CNavItem","slug":"cnavitem","link":"#cnavitem","children":[]},{"level":3,"title":"CNavLink","slug":"cnavlink","link":"#cnavlink","children":[]},{"level":3,"title":"CNavTitle","slug":"cnavtitle","link":"#cnavtitle","children":[]},{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]},{"level":3,"title":"CPaginationItem","slug":"cpaginationitem","link":"#cpaginationitem","children":[]},{"level":3,"title":"CPlaceholder","slug":"cplaceholder","link":"#cplaceholder","children":[]},{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]},{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]},{"level":3,"title":"CToastClose","slug":"ctoastclose","link":"#ctoastclose","children":[]}]}],"filePathRelative":"migration/v5.md"}'); +export { + v5_html as comp, + data +}; diff --git a/vue/docs/assets/v5.html-D8yxOVYF.js b/vue/docs/assets/v5.html-D8yxOVYF.js deleted file mode 100644 index fdd074d78e9..00000000000 --- a/vue/docs/assets/v5.html-D8yxOVYF.js +++ /dev/null @@ -1,15 +0,0 @@ -import { _ as _export_sfc, o as openBlock, c as createElementBlock, a as createStaticVNode } from "./app-BoHWg5jI.js"; -const _sfc_main = {}; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also CoreUI 4 to 5 migration guide.

Components

CAlertHeading

  • Breaking Renamed component property to as.

CAvatar

  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CBadge

  • Breaking Renamed component property to as.
  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CButton

  • Breaking Renamed component property to as.

CCard

  • Deprecated textColor values: muted, high-emphasis, medium-emphasis, disabled, high-emphasis-inverse, medium-emphasis-inverse, disabled-inverse.
  • New textColor values: primary-emphasis, secondary-emphasis, success-emphasis, danger-emphasis, warning-emphasis, info-emphasis, light-emphasis, body, body-emphasis, body-secondary, body-tertiary, black, black-50, white, white-50.

CCardHeader

  • Breaking Renamed component property to as.

CCardImage

  • Breaking Renamed component property to as.

CCardSubtitle

  • Breaking Renamed component property to as.

CCardText

  • Breaking Renamed component property to as.

CCardTitle

  • Breaking Renamed component property to as.

CCloseButton

  • Deprecated property white, use dark instead of.

CDatePicker

  • Removed property format, use inputDateFormat instead of.
// Previous markup\n<CDatePicker format="MMMM-dd-yyyy"/>\n\n// New markup\nimport { format } from 'date-fns'\n//...\n<CDatePicker :inputDateFormat="(date) => format(new Date(date), 'MMMM-dd-yyyy')" />\n
  • date-change event return only the date object, instead of the date object and formatted string.

CDateRangePicker

  • Removed property format, use inputDateFormat instead of.
// Previous markup\n<CDateRangePicker format="MMMM-dd-yyyy"/>\n\n// New markup\nimport { format } from 'date-fns'\n//...\n<CDateRangePicker :inputDateFormat="(date) => format(new Date(date), 'MMMM-dd-yyyy')" />\n
  • start-date-change and end-date-change events return only the date object, instead of the date object and formatted string.

CDropdown

  • Breaking Renamed component property to as.

CDropdownHeader

  • Breaking Renamed component property to as.

CDropdownItem

  • Breaking Renamed component property to as.

CDropdownItemPlain

  • Breaking Renamed component property to as.

CDropdownMenu

  • Breaking Renamed component property to as.

CDropdownToggle

  • Breaking Renamed component property to as.

CFormFeedback

  • Breaking Renamed component property to as.

CFormText

  • Breaking Renamed component property to as.

CHeaderBrand

  • Breaking Renamed component property to as.

CHeaderNav

  • Breaking Renamed component property to as.

CInputGroupText

  • Breaking Renamed component property to as.
  • Breaking Renamed component property to as.

CListGroup

  • Breaking Renamed component property to as.

CListGroupItem

  • Breaking Renamed component property to as.

CModalTitle

  • Breaking Renamed component property to as.

CMultiSelect

  • Removed key text in the options list, use label instead

CNav

  • The underline variant has been changed to underline-border

CNavbar

  • Breaking Renamed component property to as.

CNavbarBrand

  • Breaking Renamed component property to as.

CNavbarNav

  • Breaking Renamed component property to as.

CNavItem

  • Breaking Renamed component property to as.
  • Breaking Renamed component property to as.

CNavTitle

  • Breaking Renamed component property to as.

COffcanvasTitle

  • Breaking Renamed component property to as.

CPaginationItem

  • Breaking Renamed component property to as.

CPlaceholder

  • Breaking Renamed component property to as.

CSidebar

  • Breaking Sidebar has a light color scheme by default, use colorScheme="dark" to make it dark.

CSpinner

  • Breaking Renamed component property to as.

CToastClose

  • Breaking Renamed component property to as.
  • Deprecated property white, use dark instead of.
', 90); -const _hoisted_91 = [ - _hoisted_1 -]; -function _sfc_render(_ctx, _cache) { - return openBlock(), createElementBlock("div", null, _hoisted_91); -} -const v5_html = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "v5.html.vue"]]); -const data = JSON.parse('{"path":"/migration/v5.html","title":"Migration to v5","lang":"en-US","frontmatter":{"title":"Migration to v5","description":"Track and review changes to the CoreUI for Vue.js components to help you migrate from v4 to v5.","head":[["link",{"rel":"canonical","href":"https://coreui.io/vue/docs/migration/v5.html"}]]},"headers":[{"level":2,"title":"Components","slug":"components","link":"#components","children":[{"level":3,"title":"CAlertHeading","slug":"calertheading","link":"#calertheading","children":[]},{"level":3,"title":"CAvatar","slug":"cavatar","link":"#cavatar","children":[]},{"level":3,"title":"CBadge","slug":"cbadge","link":"#cbadge","children":[]},{"level":3,"title":"CButton","slug":"cbutton","link":"#cbutton","children":[]},{"level":3,"title":"CCard","slug":"ccard","link":"#ccard","children":[]},{"level":3,"title":"CCardHeader","slug":"ccardheader","link":"#ccardheader","children":[]},{"level":3,"title":"CCardImage","slug":"ccardimage","link":"#ccardimage","children":[]},{"level":3,"title":"CCardSubtitle","slug":"ccardsubtitle","link":"#ccardsubtitle","children":[]},{"level":3,"title":"CCardText","slug":"ccardtext","link":"#ccardtext","children":[]},{"level":3,"title":"CCardTitle","slug":"ccardtitle","link":"#ccardtitle","children":[]},{"level":3,"title":"CCloseButton","slug":"cclosebutton","link":"#cclosebutton","children":[]},{"level":3,"title":"CDatePicker","slug":"cdatepicker","link":"#cdatepicker","children":[]},{"level":3,"title":"CDateRangePicker","slug":"cdaterangepicker","link":"#cdaterangepicker","children":[]},{"level":3,"title":"CDropdown","slug":"cdropdown","link":"#cdropdown","children":[]},{"level":3,"title":"CDropdownHeader","slug":"cdropdownheader","link":"#cdropdownheader","children":[]},{"level":3,"title":"CDropdownItem","slug":"cdropdownitem","link":"#cdropdownitem","children":[]},{"level":3,"title":"CDropdownItemPlain","slug":"cdropdownitemplain","link":"#cdropdownitemplain","children":[]},{"level":3,"title":"CDropdownMenu","slug":"cdropdownmenu","link":"#cdropdownmenu","children":[]},{"level":3,"title":"CDropdownToggle","slug":"cdropdowntoggle","link":"#cdropdowntoggle","children":[]},{"level":3,"title":"CFormFeedback","slug":"cformfeedback","link":"#cformfeedback","children":[]},{"level":3,"title":"CFormText","slug":"cformtext","link":"#cformtext","children":[]},{"level":3,"title":"CHeaderBrand","slug":"cheaderbrand","link":"#cheaderbrand","children":[]},{"level":3,"title":"CHeaderNav","slug":"cheadernav","link":"#cheadernav","children":[]},{"level":3,"title":"CInputGroupText","slug":"cinputgrouptext","link":"#cinputgrouptext","children":[]},{"level":3,"title":"CLink","slug":"clink","link":"#clink","children":[]},{"level":3,"title":"CListGroup","slug":"clistgroup","link":"#clistgroup","children":[]},{"level":3,"title":"CListGroupItem","slug":"clistgroupitem","link":"#clistgroupitem","children":[]},{"level":3,"title":"CModalTitle","slug":"cmodaltitle","link":"#cmodaltitle","children":[]},{"level":3,"title":"CMultiSelect","slug":"cmultiselect","link":"#cmultiselect","children":[]},{"level":3,"title":"CNav","slug":"cnav","link":"#cnav","children":[]},{"level":3,"title":"CNavbar","slug":"cnavbar","link":"#cnavbar","children":[]},{"level":3,"title":"CNavbarBrand","slug":"cnavbarbrand","link":"#cnavbarbrand","children":[]},{"level":3,"title":"CNavbarNav","slug":"cnavbarnav","link":"#cnavbarnav","children":[]},{"level":3,"title":"CNavItem","slug":"cnavitem","link":"#cnavitem","children":[]},{"level":3,"title":"CNavLink","slug":"cnavlink","link":"#cnavlink","children":[]},{"level":3,"title":"CNavTitle","slug":"cnavtitle","link":"#cnavtitle","children":[]},{"level":3,"title":"COffcanvasTitle","slug":"coffcanvastitle","link":"#coffcanvastitle","children":[]},{"level":3,"title":"CPaginationItem","slug":"cpaginationitem","link":"#cpaginationitem","children":[]},{"level":3,"title":"CPlaceholder","slug":"cplaceholder","link":"#cplaceholder","children":[]},{"level":3,"title":"CSidebar","slug":"csidebar","link":"#csidebar","children":[]},{"level":3,"title":"CSpinner","slug":"cspinner","link":"#cspinner","children":[]},{"level":3,"title":"CToastClose","slug":"ctoastclose","link":"#ctoastclose","children":[]}]}],"filePathRelative":"migration/v5.md"}'); -export { - v5_html as comp, - data -}; diff --git a/vue/docs/assets/validation.html-2QwCYaBH.js b/vue/docs/assets/validation.html-BZBLONBB.js similarity index 64% rename from vue/docs/assets/validation.html-2QwCYaBH.js rename to vue/docs/assets/validation.html-BZBLONBB.js index 486af9eac42..3305ee59219 100644 --- a/vue/docs/assets/validation.html-2QwCYaBH.js +++ b/vue/docs/assets/validation.html-BZBLONBB.js @@ -1,31 +1,32 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, g as ref, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, a as createStaticVNode, f as createTextVNode } from "./app-DGOUrGv-.js"; const _sfc_main = { - data: () => { - return { - validatedCustom01: null, - validatedTooltip01: null - }; - }, - methods: { - handleSubmitCustom01(event) { + __name: "validation.html", + setup(__props, { expose: __expose }) { + __expose(); + const validatedCustom01 = ref(); + const validatedTooltip01 = ref(); + const handleSubmitCustom01 = (event) => { const form = event.currentTarget; if (form.checkValidity() === false) { event.preventDefault(); event.stopPropagation(); } - this.validatedCustom01 = true; - }, - handleSubmitTooltip01(event) { + validatedCustom01.value = true; + }; + const handleSubmitTooltip01 = (event) => { const form = event.currentTarget; if (form.checkValidity() === false) { event.preventDefault(); event.stopPropagation(); } - this.validatedTooltip01 = true; - } + validatedTooltip01.value = true; + }; + const __returned__ = { validatedCustom01, validatedTooltip01, handleSubmitCustom01, handleSubmitTooltip01, ref }; + Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); + return __returned__; } }; -const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example

For custom CoreUI form validation messages, you'll need to add the novalidate boolean property to your <CForm>. This disables the browser default feedback tooltips, but still provides access to the form validation APIs in JavaScript. Try to submit the form below; our JavaScript will intercept the submit button and relay feedback to you. When attempting to submit, you'll see the :invalid and :valid styles applied to your form controls.

Custom feedback styles apply custom colors, borders, focus styles, and background icons to better communicate feedback.

', 3); +const _hoisted_1 = /* @__PURE__ */ createStaticVNode('

Example #

For custom CoreUI form validation messages, you'll need to add the novalidate boolean property to your <CForm>. This disables the browser default feedback tooltips, but still provides access to the form validation APIs in JavaScript. Try to submit the form below; our JavaScript will intercept the submit button and relay feedback to you. When attempting to submit, you'll see the :invalid and :valid styles applied to your form controls.

Custom feedback styles apply custom colors, borders, focus styles, and background icons to better communicate feedback.

', 3); const _hoisted_4 = { class: "docs-example rounded-top p-4" }; const _hoisted_5 = /* @__PURE__ */ createBaseVNode("option", { selected: "", @@ -33,19 +34,19 @@ const _hoisted_5 = /* @__PURE__ */ createBaseVNode("option", { value: "" }, " Choose... ", -1); const _hoisted_6 = /* @__PURE__ */ createBaseVNode("option", null, "...", -1); -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CForm \n    class="row g-3 needs-validation" \n    novalidate \n    :validated="validatedCustom01" \n    @submit="handleSubmitCustom01"\n  >\n    <CCol md="4">\n      <CFormInput\n        feedbackValid="Looks good!"\n        id="validationCustom01"\n        label="First name"\n        required\n        value="Mark"\n      />\n    </CCol>\n    <CCol md="4">\n      <CFormInput \n        feedbackValid="Looks good!"\n        id="validationCustom02" \n        label="Email" value="Otto" \n        required\n      />\n    </CCol>\n    <CCol md="4">\n      <CFormLabel for="validationCustomUsername">Username</CFormLabel>\n      <CInputGroup class="has-validation">\n        <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n        <CFormInput \n          id="validationCustomUsername"\n          aria-describedby="inputGroupPrepend" \n          feedbackInvalid="Please choose a username."\n          required\n        />\n      </CInputGroup>\n    </CCol>\n    <CCol md="6">\n      <CFormInput \n        feedbackInvalid="Please provide a valid city."\n        id="validationCustom03"\n        label="City"\n        required\n      />\n    </CCol>\n    <CCol md="3">\n      <CFormSelect\n        aria-describedby="validationCustom04Feedback"\n        feedbackInvalid="Please select a valid state."\n        id="validationCustom04"\n        label="State"\n        required\n      >\n        <option selected="" disabled="" value="">\n          Choose...\n        </option>\n        <option>...</option>\n      </CFormSelect>\n    </CCol>\n    <CCol md="3">\n      <CFormInput \n        feedbackInvalid="Please provide a valid zip."\n        id="validationCustom05"\n        label="Zip"\n        required\n      />\n    </CCol>\n    <CCol md="8">\n      <CDateRangePicker\n        feedbackInvalid="Please select a valid date range."\n        id="validationCustom06"\n        label="Date range"\n        required\n      />\n    </CCol>\n    <CCol md="4">\n      <CTimePicker\n        feedbackInvalid="Please select a valid time."\n        id="validationCustom07"\n        label="Time"\n        required\n      />\n    </CCol>\n    <CCol xs="12">\n      <CFormCheck\n        feedbackInvalid="You must agree before submitting."\n        id="invalidCheck"\n        label="Agree to terms and conditions"\n        required\n        type="checkbox"\n      />\n    </CCol>\n    <CCol xs="12">\n      <CButton color="primary" type="submit">Submit form</CButton>\n    </CCol>\n  </CForm>\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        validatedCustom01: null,\n      }\n    },\n    methods: {\n      handleSubmitCustom01(event) {\n        const form = event.currentTarget\n        if (form.checkValidity() === false) {\n          event.preventDefault()\n          event.stopPropagation()\n        }\n        this.validatedCustom01 = true\n      },\n    }\n  }\n</script> \n

Browser defaults

Not interested in custom validation feedback messages or writing JavaScript to change form behaviors? All good, you can use the browser defaults. Try submitting the form below. Depending on your browser and OS, you'll see a slightly different style of feedback.

While these feedback styles cannot be styled with CSS, you can still customize the feedback text through JavaScript.

', 4); +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const validatedCustom01 = ref()\n  const handleSubmitCustom01 = (event) => {\n    const form = event.currentTarget\n    if (form.checkValidity() === false) {\n      event.preventDefault()\n      event.stopPropagation()\n    }\n    validatedCustom01.value = true\n  }\n</script>\n<template>\n  <CForm \n    class="row g-3 needs-validation" \n    novalidate \n    :validated="validatedCustom01" \n    @submit="handleSubmitCustom01"\n  >\n    <CCol md="4">\n      <CFormInput\n        feedbackValid="Looks good!"\n        id="validationCustom01"\n        label="First name"\n        required\n        value="Mark"\n      />\n    </CCol>\n    <CCol md="4">\n      <CFormInput \n        feedbackValid="Looks good!"\n        id="validationCustom02" \n        label="Email" value="Otto" \n        required\n      />\n    </CCol>\n    <CCol md="4">\n      <CFormLabel for="validationCustomUsername">Username</CFormLabel>\n      <CInputGroup class="has-validation">\n        <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n        <CFormInput \n          id="validationCustomUsername"\n          aria-describedby="inputGroupPrepend" \n          feedbackInvalid="Please choose a username."\n          required\n        />\n      </CInputGroup>\n    </CCol>\n    <CCol md="6">\n      <CFormInput \n        feedbackInvalid="Please provide a valid city."\n        id="validationCustom03"\n        label="City"\n        required\n      />\n    </CCol>\n    <CCol md="3">\n      <CFormSelect\n        aria-describedby="validationCustom04Feedback"\n        feedbackInvalid="Please select a valid state."\n        id="validationCustom04"\n        label="State"\n        required\n      >\n        <option selected="" disabled="" value="">\n          Choose...\n        </option>\n        <option>...</option>\n      </CFormSelect>\n    </CCol>\n    <CCol md="3">\n      <CFormInput \n        feedbackInvalid="Please provide a valid zip."\n        id="validationCustom05"\n        label="Zip"\n        required\n      />\n    </CCol>\n    <CCol md="8">\n      <CDateRangePicker\n        feedbackInvalid="Please select a valid date range."\n        id="validationCustom06"\n        label="Date range"\n        required\n      />\n    </CCol>\n    <CCol md="4">\n      <CTimePicker\n        feedbackInvalid="Please select a valid time."\n        id="validationCustom07"\n        label="Time"\n        required\n      />\n    </CCol>\n    <CCol xs="12">\n      <CFormCheck\n        feedbackInvalid="You must agree before submitting."\n        id="invalidCheck"\n        label="Agree to terms and conditions"\n        required\n        type="checkbox"\n      />\n    </CCol>\n    <CCol xs="12">\n      <CButton color="primary" type="submit">Submit form</CButton>\n    </CCol>\n  </CForm>\n</template>\n

Browser defaults #

Not interested in custom validation feedback messages or writing JavaScript to change form behaviors? All good, you can use the browser defaults. Try submitting the form below. Depending on your browser and OS, you'll see a slightly different style of feedback.

While these feedback styles cannot be styled with CSS, you can still customize the feedback text through JavaScript.

', 4); const _hoisted_11 = { class: "docs-example rounded-top p-4" }; const _hoisted_12 = /* @__PURE__ */ createBaseVNode("option", { selected: "", disabled: "", value: "" -}, " Choose... ", -1); +}, "Choose...", -1); const _hoisted_13 = /* @__PURE__ */ createBaseVNode("option", null, "...", -1); -const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <CCol md="4">\n    <CFormInput\n      feedbackValid="Looks good!"\n      id="validationDefault01"\n      label="First name"\n      required\n      value="Mark"\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormInput \n      feedbackValid="Looks good!"\n      id="validationDefault02" \n      label="Email" value="Otto" \n      required\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="validationDefaultUsername">Username</CFormLabel>\n    <CInputGroup class="has-validation">\n      <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n      <CFormInput \n        id="validationDefaultUsername"\n        aria-describedby="inputGroupPrepend" \n        feedbackInvalid="Please choose a username."\n        required\n      />\n    </CInputGroup>\n  </CCol>\n  <CCol md="6">\n    <CFormInput \n      feedbackInvalid="Please provide a valid city."\n      id="validationDefault03"\n      label="City"\n      required\n    />\n  </CCol>\n  <CCol md="3">\n    <CFormSelect\n      aria-describedby="validationDefault04Feedback"\n      feedbackInvalid="Please select a valid state."\n      id="validationDefault04"\n      label="State"\n      required\n    >\n      <option selected="" disabled="" value="">\n        Choose...\n      </option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="3">\n    <CFormInput \n      feedbackInvalid="Please provide a valid zip."\n      id="validationDefault05"\n      label="Zip"\n      required\n    />\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck\n      feedbackInvalid="You must agree before submitting."\n      id="invalidCheck"\n      label="Agree to terms and conditions"\n      required\n      type="checkbox"\n    />\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Submit form</CButton>\n  </CCol>\n</CForm>\n

Custom validation

In case you require custom or server-side validation, you can indicate invalid and valid form fields with invalid and valid boolean properties.

For invalid fields, ensure that the invalid feedback/error message is associated with the relevant form field using aria-describedby (noting that this attribute allows more than one id to be referenced, in case the field already points to additional form text).

', 4); +const _hoisted_14 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3">\n  <CCol md="4">\n    <CFormInput\n      feedbackValid="Looks good!"\n      id="validationDefault01"\n      label="First name"\n      required\n      value="Mark"\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormInput \n      feedbackValid="Looks good!"\n      id="validationDefault02" \n      label="Email" value="Otto" \n      required\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="validationDefaultUsername">Username</CFormLabel>\n    <CInputGroup class="has-validation">\n      <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n      <CFormInput \n        id="validationDefaultUsername"\n        aria-describedby="inputGroupPrepend" \n        feedbackInvalid="Please choose a username."\n        required\n      />\n    </CInputGroup>\n  </CCol>\n  <CCol md="6">\n    <CFormInput \n      feedbackInvalid="Please provide a valid city."\n      id="validationDefault03"\n      label="City"\n      required\n    />\n  </CCol>\n  <CCol md="3">\n    <CFormSelect\n      aria-describedby="validationDefault04Feedback"\n      feedbackInvalid="Please select a valid state."\n      id="validationDefault04"\n      label="State"\n      required\n    >\n      <option selected="" disabled="" value="">\n        Choose...\n      </option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="3">\n    <CFormInput \n      feedbackInvalid="Please provide a valid zip."\n      id="validationDefault05"\n      label="Zip"\n      required\n    />\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck\n      feedbackInvalid="You must agree before submitting."\n      id="invalidCheck"\n      label="Agree to terms and conditions"\n      required\n      type="checkbox"\n    />\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Submit form</CButton>\n  </CCol>\n</CForm>\n

Custom validation #

In case you require custom or server-side validation, you can indicate invalid and valid form fields with invalid and valid boolean properties.

For invalid fields, ensure that the invalid feedback/error message is associated with the relevant form field using aria-describedby (noting that this attribute allows more than one id to be referenced, in case the field already points to additional form text).

', 4); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; const _hoisted_19 = /* @__PURE__ */ createBaseVNode("option", { disabled: "" }, "Choose...", -1); const _hoisted_20 = /* @__PURE__ */ createBaseVNode("option", null, "...", -1); -const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3 needs-validation">\n  <CCol md="4">\n    <CFormInput\n      feedback="Looks good!"\n      id="validationServer01"\n      label="Email"\n      required\n      valid\n      value="name@surname.com"\n      />\n  </CCol>\n  <CCol md="4">\n    <CFormInput\n      feedback="Looks good!"\n      id="validationServer02"\n      label="Repeat email"\n      required\n      valid\n      value="name@surname.com"\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="validationServerUsername">Username</CFormLabel>\n    <CInputGroup class="has-validation">\n      <CInputGroupText id="inputGroupPrepend03">@</CInputGroupText>\n        <CFormInput\n          aria-describedby="inputGroupPrepend03"\n          feedback="Please choose a username."\n          id="validationServerUsername"\n          invalid\n          required\n        />\n    </CInputGroup>\n  </CCol>\n  <CCol md="6">\n    <CFormInput\n      feedback="Please provide a valid city."\n      id="validationServer03"\n      invalid\n      label="City"\n      required\n    />\n  </CCol>\n  <CCol md="3">\n    <CFormSelect\n      feedback="Please provide a valid city."\n      id="validationServer04"\n      invalid\n      label="State"\n    >\n      <option disabled>Choose...</option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="3">\n    <CFormInput\n      feedback="Please provide a valid zip."\n      id="validationServer05"\n      invalid\n      label="zip"\n      required\n    />\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck\n      feedbackInvalid="You must agree before submitting."\n      id="invalidCheck"\n      invalid\n      label="Agree to terms and conditions"\n      required\n      type="checkbox"\n    />\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Submit form</CButton>\n  </CCol>\n</CForm>\n

Supported elements

Validation styles are available for the following form controls and components:

  • <CFormCheck>s
  • <CFormInput>s
  • <CFormSelect>s
  • <CFormTextarea>s
', 4); +const _hoisted_21 = /* @__PURE__ */ createStaticVNode('
<CForm class="row g-3 needs-validation">\n  <CCol md="4">\n    <CFormInput\n      feedback="Looks good!"\n      id="validationServer01"\n      label="Email"\n      required\n      valid\n      value="name@surname.com"\n      />\n  </CCol>\n  <CCol md="4">\n    <CFormInput\n      feedback="Looks good!"\n      id="validationServer02"\n      label="Repeat email"\n      required\n      valid\n      value="name@surname.com"\n    />\n  </CCol>\n  <CCol md="4">\n    <CFormLabel for="validationServerUsername">Username</CFormLabel>\n    <CInputGroup class="has-validation">\n      <CInputGroupText id="inputGroupPrepend03">@</CInputGroupText>\n        <CFormInput\n          aria-describedby="inputGroupPrepend03"\n          feedback="Please choose a username."\n          id="validationServerUsername"\n          invalid\n          required\n        />\n    </CInputGroup>\n  </CCol>\n  <CCol md="6">\n    <CFormInput\n      feedback="Please provide a valid city."\n      id="validationServer03"\n      invalid\n      label="City"\n      required\n    />\n  </CCol>\n  <CCol md="3">\n    <CFormSelect\n      feedback="Please provide a valid city."\n      id="validationServer04"\n      invalid\n      label="State"\n    >\n      <option disabled>Choose...</option>\n      <option>...</option>\n    </CFormSelect>\n  </CCol>\n  <CCol md="3">\n    <CFormInput\n      feedback="Please provide a valid zip."\n      id="validationServer05"\n      invalid\n      label="zip"\n      required\n    />\n  </CCol>\n  <CCol xs="12">\n    <CFormCheck\n      feedbackInvalid="You must agree before submitting."\n      id="invalidCheck"\n      invalid\n      label="Agree to terms and conditions"\n      required\n      type="checkbox"\n    />\n  </CCol>\n  <CCol xs="12">\n    <CButton color="primary" type="submit">Submit form</CButton>\n  </CCol>\n</CForm>\n

Supported elements #

Validation styles are available for the following form controls and components:

  • <CFormCheck>s
  • <CFormInput>s
  • <CFormSelect>s
  • <CFormTextarea>s
', 4); const _hoisted_25 = { class: "docs-example rounded-top p-4" }; const _hoisted_26 = { class: "mb-3" }; const _hoisted_27 = { class: "mb-3" }; @@ -58,15 +59,15 @@ const _hoisted_30 = /* @__PURE__ */ createBaseVNode("option", { value: "2" }, "T const _hoisted_31 = /* @__PURE__ */ createBaseVNode("option", { value: "3" }, "Three", -1); const _hoisted_32 = { class: "mb-3" }; const _hoisted_33 = { class: "mb-3" }; -const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CForm :validated="true">\n  <div class="mb-3">\n    <CFormTextarea\n      feedbackInvalid="Please enter a message in the textarea."\n      id="validationTextarea"\n      label="Textarea"\n      placeholder="Required example textarea"\n      required\n    ></CFormTextarea>\n  </div>\n  <CFormCheck\n    class="mb-3"\n    id="validationFormCheck1"\n    label="Check this checkbox"\n    feedbackInvalid="Example invalid feedback text"\n    required\n  />\n  <CFormCheck\n    type="radio"\n    name="radio-stacked"\n    id="validationFormCheck2"\n    label="Check this checkbox"\n    required\n  />\n  <CFormCheck\n    class="mb-3"\n    type="radio"\n    name="radio-stacked"\n    id="validationFormCheck3"\n    label="Or toggle this other radio"\n    feedbackInvalid="More example invalid feedback text"\n    required\n  />\n  <div class="mb-3">\n    <CFormSelect\n      feedbackInvalid="Example invalid select feedback"\n      aria-label="select example"\n      required\n    >\n      <option selected="" value="">\n        Open this select menu\n      </option>\n      <option value="1">One</option>\n      <option value="2">Two</option>\n      <option value="3">Three</option>\n    </CFormSelect>\n  </div>\n  <div class="mb-3">\n    <CFormInput\n      type="file"\n      id="validationTextarea"\n      feedbackInvalid="Example invalid form file feedback"\n      aria-label="file example"\n      required\n    />\n  </div>\n  <div class="mb-3">\n    <CButton type="submit" color="primary" disabled>Submit form</CButton>\n  </div>\n</CForm>\n

Tooltips

If your form layout allows it, you can swap the text for the tooltip to display validation feedback in a styled tooltip. Be sure to have a parent with position: relative on it for tooltip positioning. In the example below, our column classes have this already, but your project may require an alternative setup.

', 3); +const _hoisted_34 = /* @__PURE__ */ createStaticVNode('
<CForm :validated="true">\n  <div class="mb-3">\n    <CFormTextarea\n      feedbackInvalid="Please enter a message in the textarea."\n      id="validationTextarea"\n      label="Textarea"\n      placeholder="Required example textarea"\n      required\n    />\n  </div>\n  <CFormCheck\n    class="mb-3"\n    id="validationFormCheck1"\n    label="Check this checkbox"\n    feedbackInvalid="Example invalid feedback text"\n    required\n  />\n  <CFormCheck\n    type="radio"\n    name="radio-stacked"\n    id="validationFormCheck2"\n    label="Check this checkbox"\n    required\n  />\n  <CFormCheck\n    class="mb-3"\n    type="radio"\n    name="radio-stacked"\n    id="validationFormCheck3"\n    label="Or toggle this other radio"\n    feedbackInvalid="More example invalid feedback text"\n    required\n  />\n  <div class="mb-3">\n    <CFormSelect\n      feedbackInvalid="Example invalid select feedback"\n      aria-label="select example"\n      required\n    >\n      <option selected="" value="">\n        Open this select menu\n      </option>\n      <option value="1">One</option>\n      <option value="2">Two</option>\n      <option value="3">Three</option>\n    </CFormSelect>\n  </div>\n  <div class="mb-3">\n    <CFormInput\n      type="file"\n      id="validationTextarea"\n      feedbackInvalid="Example invalid form file feedback"\n      aria-label="file example"\n      required\n    />\n  </div>\n  <div class="mb-3">\n    <CButton type="submit" color="primary" disabled>Submit form</CButton>\n  </div>\n</CForm>\n

Tooltips #

If your form layout allows it, you can swap the text for the tooltip to display validation feedback in a styled tooltip. Be sure to have a parent with position: relative on it for tooltip positioning. In the example below, our column classes have this already, but your project may require an alternative setup.

', 3); const _hoisted_37 = { class: "docs-example rounded-top p-4" }; const _hoisted_38 = /* @__PURE__ */ createBaseVNode("option", { selected: "", disabled: "", value: "" -}, " Choose... ", -1); +}, "Choose...", -1); const _hoisted_39 = /* @__PURE__ */ createBaseVNode("option", null, "...", -1); -const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<template>\n  <CForm class="row g-3 needs-validation" novalidate :validated="validatedTooltip01" @submit="handleSubmitTooltip01">\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltip01">Email</CFormLabel>\n      <CFormInput id="validationTooltip01" value="Mark" required/>\n      <CFormFeedback tooltip valid>\n        Looks good!\n      </CFormFeedback>\n    </CCol>\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltip02">Email</CFormLabel>\n      <CFormInput id="validationTooltip02" value="Otto" required/>\n      <CFormFeedback tooltip valid>\n        Looks good!\n      </CFormFeedback>\n    </CCol>\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltipUsername">Username</CFormLabel>\n      <CInputGroup class="has-validation">\n        <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n        <CFormInput id="validationTooltipUsername" value="" aria-describedby="inputGroupPrepend" required/>\n        <CFormFeedback tooltip invalid>\n        Please choose a username.\n        </CFormFeedback>\n      </CInputGroup>\n    </CCol>\n    <CCol md="6" class="position-relative">\n      <CFormLabel for="validationTooltip03">City</CFormLabel>\n      <CFormInput id="validationTooltip03" required/>\n      <CFormFeedback tooltip invalid>\n        Please provide a valid city.\n      </CFormFeedback>\n    </CCol>\n    <CCol md="3" class="position-relative">\n      <CFormLabel for="validationTooltip04">City</CFormLabel>\n      <CFormSelect id="validationTooltip04" required>\n        <option disabled value="">Choose...</option>\n        <option>...</option>\n      </CFormSelect>\n      <CFormFeedback tooltip invalid>\n        Please provide a valid city.\n      </CFormFeedback>\n    </CCol>\n    <CCol md="3" class="position-relative">\n      <CFormLabel for="validationTooltip05">City</CFormLabel>\n      <CFormInput id="validationTooltip05" required/>\n      <CFormFeedback tooltip invalid>\n        Please provide a valid zip.\n      </CFormFeedback>\n    </CCol>\n    <CCol xs="12" class="position-relative">\n      <CButton color="primary" type="submit">Submit form</CButton>\n    </CCol>\n  </CForm>\n</template>\n<script>\n  export default {\n    data: () => {\n      return {\n        validatedTooltip01: null,\n      }\n    },\n    methods: {\n      handleSubmitTooltip01(event) {\n        const form = event.currentTarget\n        if (form.checkValidity() === false) {\n          event.preventDefault()\n          event.stopPropagation()\n        }\n        this.validatedTooltip01 = true\n      }\n    }\n  }\n</script>\n

Customizing

CSS variables

CoreUI for Vue components use local CSS variables for validation for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); +const _hoisted_40 = /* @__PURE__ */ createStaticVNode('
<script setup>\n  import { ref } from 'vue'\n  const validatedTooltip01 = ref()\n  const handleSubmitTooltip01 = (event) => {\n    const form = event.currentTarget\n    if (form.checkValidity() === false) {\n      event.preventDefault()\n      event.stopPropagation()\n    }\n    \n    validatedTooltip01.value = true\n  }\n</script>\n<template>\n  <CForm\n    class="row g-3 needs-validation"\n    novalidate\n    :validated="validatedTooltip01"\n    @submit="handleSubmitTooltip01"\n  >\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltip01">Email</CFormLabel>\n      <CFormInput id="validationTooltip01" value="Mark" required />\n      <CFormFeedback tooltip valid> Looks good! </CFormFeedback>\n    </CCol>\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltip02">Email</CFormLabel>\n      <CFormInput id="validationTooltip02" value="Otto" required />\n      <CFormFeedback tooltip valid> Looks good! </CFormFeedback>\n    </CCol>\n    <CCol md="4" class="position-relative">\n      <CFormLabel for="validationTooltipUsername">Username</CFormLabel>\n      <CInputGroup class="has-validation">\n        <CInputGroupText id="inputGroupPrepend">@</CInputGroupText>\n        <CFormInput\n          id="validationTooltipUsername"\n          value=""\n          aria-describedby="inputGroupPrepend"\n          required\n        />\n        <CFormFeedback tooltip invalid> Please choose a username. </CFormFeedback>\n      </CInputGroup>\n    </CCol>\n    <CCol md="6" class="position-relative">\n      <CFormLabel for="validationTooltip03">City</CFormLabel>\n      <CFormInput id="validationTooltip03" required />\n      <CFormFeedback tooltip invalid> Please provide a valid city. </CFormFeedback>\n    </CCol>\n    <CCol md="3" class="position-relative">\n      <CFormLabel for="validationTooltip04">City</CFormLabel>\n      <CFormSelect id="validationTooltip04" required>\n        <option disabled value="">Choose...</option>\n        <option>...</option>\n      </CFormSelect>\n      <CFormFeedback tooltip invalid> Please provide a valid city. </CFormFeedback>\n    </CCol>\n    <CCol md="3" class="position-relative">\n      <CFormLabel for="validationTooltip05">City</CFormLabel>\n      <CFormInput id="validationTooltip05" required />\n      <CFormFeedback tooltip invalid> Please provide a valid zip. </CFormFeedback>\n    </CCol>\n    <CCol xs="12" class="position-relative">\n      <CButton color="primary" type="submit">Submit form</CButton>\n    </CCol>\n  </CForm>\n</template>\n

Customizing #

CSS variables #

CoreUI for Vue components use local CSS variables for validation for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

', 4); const _hoisted_44 = /* @__PURE__ */ createBaseVNode("p", null, "These variables are also color mode adaptive, meaning they change color while in dark mode.", -1); const _hoisted_45 = /* @__PURE__ */ createBaseVNode("h3", { id: "sass-variables", @@ -75,8 +76,7 @@ const _hoisted_45 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS variables "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-variables", - "aria-hidden": "true" + href: "#sass-variables" }, "#") ], -1); const _hoisted_46 = /* @__PURE__ */ createBaseVNode("h3", { @@ -86,8 +86,7 @@ const _hoisted_46 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS mixins "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-mixins", - "aria-hidden": "true" + href: "#sass-mixins" }, "#") ], -1); const _hoisted_47 = /* @__PURE__ */ createBaseVNode("p", null, "Two mixins are combined, through our loop, to generate our form validation feedback styles.", -1); @@ -98,8 +97,7 @@ const _hoisted_48 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS maps "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-maps", - "aria-hidden": "true" + href: "#sass-maps" }, "#") ], -1); const _hoisted_49 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -119,8 +117,7 @@ const _hoisted_51 = /* @__PURE__ */ createBaseVNode("h3", { /* @__PURE__ */ createTextVNode("SASS loops "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#sass-loops", - "aria-hidden": "true" + href: "#sass-loops" }, "#") ], -1); const _hoisted_52 = /* @__PURE__ */ createBaseVNode("p", null, [ @@ -148,8 +145,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CForm, { class: "row g-3 needs-validation", novalidate: "", - validated: _ctx.validatedCustom01, - onSubmit: $options.handleSubmitCustom01 + validated: $setup.validatedCustom01, + onSubmit: $setup.handleSubmitCustom01 }, { default: withCtx(() => [ createVNode(_component_CCol, { md: "4" }, { @@ -294,7 +291,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }) ]), _: 1 - }, 8, ["validated", "onSubmit"]) + }, 8, ["validated"]) ]), _hoisted_7, createBaseVNode("div", _hoisted_11, [ @@ -634,8 +631,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { createVNode(_component_CForm, { class: "row g-3 needs-validation", novalidate: "", - validated: _ctx.validatedTooltip01, - onSubmit: $options.handleSubmitTooltip01 + validated: $setup.validatedTooltip01, + onSubmit: $setup.handleSubmitTooltip01 }, { default: withCtx(() => [ createVNode(_component_CCol, { @@ -775,7 +772,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { }) ]), _: 1 - }, 8, ["validated", "onSubmit"]) + }, 8, ["validated"]) ]), _hoisted_40, createVNode(_component_ScssDocs, { diff --git a/vue/docs/assets/virtual-scroller.html-eMrz1664.js b/vue/docs/assets/virtual-scroller.html-se47tihX.js similarity index 71% rename from vue/docs/assets/virtual-scroller.html-eMrz1664.js rename to vue/docs/assets/virtual-scroller.html-se47tihX.js index 297e8237e95..d3a4670908d 100644 --- a/vue/docs/assets/virtual-scroller.html-eMrz1664.js +++ b/vue/docs/assets/virtual-scroller.html-se47tihX.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode, F as Fragment, j as renderList, t as toDisplayString } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode, F as Fragment, h as renderList, t as toDisplayString } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("p", null, "Virtual scrollers work by only rendering the items that are currently visible on the screen, and as the user scrolls through the list, new items are dynamically loaded and added to the view. This helps to reduce the amount of data that needs to be loaded and processed at any given time, which can improve the performance and responsiveness of the UI.", -1); const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h2", { @@ -8,12 +8,11 @@ const _hoisted_2 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("Virtual scroll (10000 Items) "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#virtual-scroll-10000-items", - "aria-hidden": "true" + href: "#virtual-scroll-10000-items" }, "#") ], -1); const _hoisted_3 = { class: "docs-example rounded-top p-4" }; -const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CVirtualScroller class="border" :visibleItems="20">\n  <div v-for="item in 10000">Option {{ item }}</div>\n</CVirtualScroller>\n

API

CVirtualScroller

import { CVirtualScroller } from '@coreui/vue'\n// or\nimport CVirtualScroller from '@coreui/vue/src/components/virtual-scroller/CVirtualScroller'\n

Props

Prop nameDescriptionTypeValuesDefault
visible-itemsAmount of visible itemsnumber-10
', 6); +const _hoisted_4 = /* @__PURE__ */ createStaticVNode('
<CVirtualScroller class="border" :visibleItems="20">\n  <div v-for="item in 10000">Option {{ item }}</div>\n</CVirtualScroller>\n

API #

CVirtualScroller #

import { CVirtualScroller } from '@coreui/vue'\n// or\nimport CVirtualScroller from '@coreui/vue/src/components/virtual-scroller/CVirtualScroller'\n

Props #

Prop nameDescriptionTypeValuesDefault
visible-itemsAmount of visible itemsnumber-10
', 6); function _sfc_render(_ctx, _cache) { const _component_CVirtualScroller = resolveComponent("CVirtualScroller"); return openBlock(), createElementBlock("div", null, [ diff --git a/vue/docs/assets/widgets.html-CX3InA_E.js b/vue/docs/assets/widgets.html-DaxyknU_.js similarity index 92% rename from vue/docs/assets/widgets.html-CX3InA_E.js rename to vue/docs/assets/widgets.html-DaxyknU_.js index c4c79983958..218bc869997 100644 --- a/vue/docs/assets/widgets.html-CX3InA_E.js +++ b/vue/docs/assets/widgets.html-DaxyknU_.js @@ -1,4 +1,4 @@ -import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, b as createVNode, d as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-BoHWg5jI.js"; +import { _ as _export_sfc, r as resolveComponent, o as openBlock, c as createElementBlock, b as createBaseVNode, d as createVNode, e as withCtx, f as createTextVNode, a as createStaticVNode } from "./app-DGOUrGv-.js"; const _sfc_main = {}; const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { id: "widgetstatsa", @@ -7,8 +7,7 @@ const _hoisted_1 = /* @__PURE__ */ createBaseVNode("h2", { /* @__PURE__ */ createTextVNode("WidgetStatsA "), /* @__PURE__ */ createBaseVNode("a", { class: "anchor-link", - href: "#widgetstatsa", - "aria-hidden": "true" + href: "#widgetstatsa" }, "#") ], -1); const _hoisted_2 = { class: "docs-example rounded-top p-4" }; @@ -16,19 +15,19 @@ const _hoisted_3 = { class: "fs-6 fw-normal" }; const _hoisted_4 = { class: "fs-6 fw-normal" }; const _hoisted_5 = { class: "fs-6 fw-normal" }; const _hoisted_6 = { class: "fs-6 fw-normal" }; -const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="primary">\n      <template #value\n        >26K\n        <span class="fs-6 fw-normal">\n          (-12.4% <CIcon icon="cil-arrow-bottom" />)\n        </span>\n      </template>\n      <template #title>Users</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'transparent',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointBackgroundColor: '#5856d6',\n                data: [65, 59, 84, 84, 51, 55, 40],\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                min: 30,\n                max: 89,\n                display: false,\n                grid: {\n                  display: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 1,\n                tension: 0.4,\n              },\n              point: {\n                radius: 4,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="info">\n      <template #value\n        >$6.200\n        <span class="fs-6 fw-normal">\n          (40.9% <CIcon icon="cil-arrow-top" />)\n        </span>\n      </template>\n      <template #title>Income</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'transparent',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointBackgroundColor: '#39f',\n                data: [1, 18, 9, 17, 34, 22, 11],\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                min: -9,\n                max: 39,\n                display: false,\n                grid: {\n                  display: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 1,\n              },\n              point: {\n                radius: 4,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="warning">\n      <template #value\n        >2.49%\n        <span class="fs-6 fw-normal">\n          (84.7% <CIcon icon="cil-arrow-top" />)\n        </span>\n      </template>\n      <template #title>Conversion Rate</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'rgba(255,255,255,.2)',\n                borderColor: 'rgba(255,255,255,.55)',\n                data: [78, 81, 80, 45, 34, 12, 40],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 2,\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="danger">\n      <template #value\n        >44K\n        <span class="fs-6 fw-normal">\n          (-23.6% <CIcon icon="cil-arrow-bottom" />)\n        </span>\n      </template>\n      <template #title>Sessions</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="bar"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n              'August',\n              'September',\n              'October',\n              'November',\n              'December',\n              'January',\n              'February',\n              'March',\n              'April',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'rgba(255,255,255,.2)',\n                borderColor: 'rgba(255,255,255,.55)',\n                data: [\n                  78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67,\n                  82,\n                ],\n                barPercentage: 0.6,\n              },\n            ],\n          }"\n          :options="{\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                grid: {\n                  display: false,\n                  drawTicks: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                  drawTicks: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n</CRow>\n

WidgetStatsB

', 2); +const _hoisted_7 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="primary">\n      <template #value\n        >26K\n        <span class="fs-6 fw-normal">\n          (-12.4% <CIcon icon="cil-arrow-bottom" />)\n        </span>\n      </template>\n      <template #title>Users</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'transparent',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointBackgroundColor: '#5856d6',\n                data: [65, 59, 84, 84, 51, 55, 40],\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                min: 30,\n                max: 89,\n                display: false,\n                grid: {\n                  display: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 1,\n                tension: 0.4,\n              },\n              point: {\n                radius: 4,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="info">\n      <template #value\n        >$6.200\n        <span class="fs-6 fw-normal">\n          (40.9% <CIcon icon="cil-arrow-top" />)\n        </span>\n      </template>\n      <template #title>Income</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'transparent',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointBackgroundColor: '#39f',\n                data: [1, 18, 9, 17, 34, 22, 11],\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                min: -9,\n                max: 39,\n                display: false,\n                grid: {\n                  display: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 1,\n              },\n              point: {\n                radius: 4,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="warning">\n      <template #value\n        >2.49%\n        <span class="fs-6 fw-normal">\n          (84.7% <CIcon icon="cil-arrow-top" />)\n        </span>\n      </template>\n      <template #title>Conversion Rate</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="line"\n          class="mt-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'rgba(255,255,255,.2)',\n                borderColor: 'rgba(255,255,255,.55)',\n                data: [78, 81, 80, 45, 34, 12, 40],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            maintainAspectRatio: false,\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n            elements: {\n              line: {\n                borderWidth: 2,\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsA class="mb-3" color="danger">\n      <template #value\n        >44K\n        <span class="fs-6 fw-normal">\n          (-23.6% <CIcon icon="cil-arrow-bottom" />)\n        </span>\n      </template>\n      <template #title>Sessions</template>\n      <template #action>\n        <CDropdown placement="bottom-end">\n          <CDropdownToggle\n            color="transparent"\n            class="p-0 text-white"\n            :caret="false"\n          >\n            <CIcon icon="cil-options" class="text-high-emphasis-inverse" />\n          </CDropdownToggle>\n          <CDropdownMenu>\n            <CDropdownItem href="#">Action</CDropdownItem>\n            <CDropdownItem href="#">Another action</CDropdownItem>\n            <CDropdownItem href="#">Something else here</CDropdownItem>\n          </CDropdownMenu>\n        </CDropdown>\n      </template>\n      <template #chart>\n        <CChart\n          type="bar"\n          class="mt-3 mx-3"\n          style="height: 70px"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n              'August',\n              'September',\n              'October',\n              'November',\n              'December',\n              'January',\n              'February',\n              'March',\n              'April',\n            ],\n            datasets: [\n              {\n                label: 'My First dataset',\n                backgroundColor: 'rgba(255,255,255,.2)',\n                borderColor: 'rgba(255,255,255,.55)',\n                data: [\n                  78, 81, 80, 45, 34, 12, 40, 85, 65, 23, 12, 98, 34, 84, 67,\n                  82,\n                ],\n                barPercentage: 0.6,\n              },\n            ],\n          }"\n          :options="{\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                grid: {\n                  display: false,\n                  drawTicks: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n              y: {\n                border: {\n                  display: false,\n                },\n                grid: {\n                  display: false,\n                  drawBorder: false,\n                  drawTicks: false,\n                },\n                ticks: {\n                  display: false,\n                },\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsA>\n  </CCol>\n</CRow>\n

WidgetStatsB #

', 2); const _hoisted_9 = { class: "docs-example rounded-top p-4" }; -const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsB\n      class="mb-3"\n      :progress="{ color: 'success', value: 75}"\n    >\n      <template #text>Widget helper text</template>\n      <template #title>Widget title</template>\n      <template #value>89.9%</template>\n    </CWidgetStatsB>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsB\n      class="mb-3"\n      color="primary"\n      inverse\n      :progress="{ value: 75}"\n      text="Widget helper text"\n      title="Widget title"\n      value="12.124"/>\n  </CCol>\n</CRow>\n

WidgetStatsC

', 2); +const _hoisted_10 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsB\n      class="mb-3"\n      :progress="{ color: 'success', value: 75}"\n    >\n      <template #text>Widget helper text</template>\n      <template #title>Widget title</template>\n      <template #value>89.9%</template>\n    </CWidgetStatsB>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsB\n      class="mb-3"\n      color="primary"\n      inverse\n      :progress="{ value: 75}"\n      text="Widget helper text"\n      title="Widget title"\n      value="12.124"/>\n  </CCol>\n</CRow>\n

WidgetStatsC #

', 2); const _hoisted_12 = { class: "docs-example rounded-top p-4" }; -const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsC\n      class="mb-3"\n      value="87.500"\n      :progress="{ color: 'info', value: 75 }"\n      title="Visitors"\n    >\n      <template #icon><CIcon icon="cil-people" height="36" /></template>\n      <template #title>Visitors</template>\n    </CWidgetStatsC>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsC\n      class="mb-3"\n      inverse\n      color="info"\n      value="385"\n      :progress="{ value: 75 }"\n      title="New clients"\n    >\n      <template #icon><CIcon icon="cil-user-follow" height="36" /></template>\n    </CWidgetStatsC>\n  </CCol>\n</CRow>\n

WidgetStatsD

', 2); +const _hoisted_13 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsC\n      class="mb-3"\n      value="87.500"\n      :progress="{ color: 'info', value: 75 }"\n      title="Visitors"\n    >\n      <template #icon><CIcon icon="cil-people" height="36" /></template>\n      <template #title>Visitors</template>\n    </CWidgetStatsC>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsC\n      class="mb-3"\n      inverse\n      color="info"\n      value="385"\n      :progress="{ value: 75 }"\n      title="New clients"\n    >\n      <template #icon><CIcon icon="cil-user-follow" height="36" /></template>\n    </CWidgetStatsC>\n  </CCol>\n</CRow>\n

WidgetStatsD #

', 2); const _hoisted_15 = { class: "docs-example rounded-top p-4" }; -const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsD\n      class="mb-4"\n      style="--cui-card-cap-bg: #3b5998"\n      :values="[\n        { title: 'friends', value: '89K' },\n        { title: 'feeds', value: '459' },\n      ]"\n    >\n      <template #icon>\n        <CIcon icon="cib-facebook" height="52" class="my-4 text-white"/>\n      </template>\n      <template #chart>\n        <CChart\n          class="position-absolute w-100 h-100"\n          type="line"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                backgroundColor: 'rgba(255,255,255,.1)',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointHoverBackgroundColor: '#fff',\n                borderWidth: 2,\n                data: [65, 59, 84, 84, 51, 55, 40],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            elements: {\n              line: {\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n                hoverBorderWidth: 3,\n              },\n            },\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsD>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsD\n      class="mb-4"\n      style="--cui-card-cap-bg: #00aced"\n      :values="[\n        { title: 'followers', value: '973k' },\n        { title: 'tweets', value: '1.792' },\n      ]"\n    >\n      <template #icon>\n        <CIcon icon="cib-twitter" height="52" class="my-4 text-white" />\n      </template>\n      <template #chart>\n        <CChart\n          class="position-absolute w-100 h-100"\n          type="line"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                backgroundColor: 'rgba(255,255,255,.1)',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointHoverBackgroundColor: '#fff',\n                borderWidth: 2,\n                data: [1, 13, 9, 17, 34, 41, 38],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            elements: {\n              line: {\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n                hoverBorderWidth: 3,\n              },\n            },\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsD>\n  </CCol>\n</CRow>\n

WidgetStatsE

', 2); +const _hoisted_16 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsD\n      class="mb-4"\n      style="--cui-card-cap-bg: #3b5998"\n      :values="[\n        { title: 'friends', value: '89K' },\n        { title: 'feeds', value: '459' },\n      ]"\n    >\n      <template #icon>\n        <CIcon icon="cib-facebook" height="52" class="my-4 text-white"/>\n      </template>\n      <template #chart>\n        <CChart\n          class="position-absolute w-100 h-100"\n          type="line"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                backgroundColor: 'rgba(255,255,255,.1)',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointHoverBackgroundColor: '#fff',\n                borderWidth: 2,\n                data: [65, 59, 84, 84, 51, 55, 40],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            elements: {\n              line: {\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n                hoverBorderWidth: 3,\n              },\n            },\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsD>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsD\n      class="mb-4"\n      style="--cui-card-cap-bg: #00aced"\n      :values="[\n        { title: 'followers', value: '973k' },\n        { title: 'tweets', value: '1.792' },\n      ]"\n    >\n      <template #icon>\n        <CIcon icon="cib-twitter" height="52" class="my-4 text-white" />\n      </template>\n      <template #chart>\n        <CChart\n          class="position-absolute w-100 h-100"\n          type="line"\n          :data="{\n            labels: [\n              'January',\n              'February',\n              'March',\n              'April',\n              'May',\n              'June',\n              'July',\n            ],\n            datasets: [\n              {\n                backgroundColor: 'rgba(255,255,255,.1)',\n                borderColor: 'rgba(255,255,255,.55)',\n                pointHoverBackgroundColor: '#fff',\n                borderWidth: 2,\n                data: [1, 13, 9, 17, 34, 41, 38],\n                fill: true,\n              },\n            ],\n          }"\n          :options="{\n            elements: {\n              line: {\n                tension: 0.4,\n              },\n              point: {\n                radius: 0,\n                hitRadius: 10,\n                hoverRadius: 4,\n                hoverBorderWidth: 3,\n              },\n            },\n            maintainAspectRatio: false,\n            plugins: {\n              legend: {\n                display: false,\n              },\n            },\n            scales: {\n              x: {\n                display: false,\n              },\n              y: {\n                display: false,\n              },\n            },\n          }"\n        />\n      </template>\n    </CWidgetStatsD>\n  </CCol>\n</CRow>\n

WidgetStatsE #

', 2); const _hoisted_18 = { class: "docs-example rounded-top p-4" }; -const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CWidgetStatsE title="title" value="1,123">\n  <CChart\n    type="bar"\n    style="height: 40px"\n    :data="{\n      labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'],\n      datasets: [\n        {\n          backgroundColor: '#321fdb',\n          borderColor: 'transparent',\n          borderWidth: 1,\n          data: [41, 78, 51, 66, 74, 42, 89, 97, 87, 84, 78, 88, 67, 45, 47],\n        },\n      ],\n    }"\n    :options="{\n      maintainAspectRatio: false,\n      plugins: {\n        legend: {\n          display: false,\n        },\n      },\n      scales: {\n        x: {\n          display: false,\n        },\n        y: {\n          display: false,\n        },\n      },\n    }"\n  />\n</CWidgetStatsE>\n

WidgetStatsF

', 2); +const _hoisted_19 = /* @__PURE__ */ createStaticVNode('
<CWidgetStatsE title="title" value="1,123">\n  <CChart\n    type="bar"\n    style="height: 40px"\n    :data="{\n      labels: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M'],\n      datasets: [\n        {\n          backgroundColor: '#321fdb',\n          borderColor: 'transparent',\n          borderWidth: 1,\n          data: [41, 78, 51, 66, 74, 42, 89, 97, 87, 84, 78, 88, 67, 45, 47],\n        },\n      ],\n    }"\n    :options="{\n      maintainAspectRatio: false,\n      plugins: {\n        legend: {\n          display: false,\n        },\n      },\n      scales: {\n        x: {\n          display: false,\n        },\n        y: {\n          display: false,\n        },\n      },\n    }"\n  />\n</CWidgetStatsE>\n

WidgetStatsF #

', 2); const _hoisted_21 = { class: "docs-example rounded-top p-4" }; const _hoisted_22 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsF color="primary" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n    </CWidgetStatsF>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsF color="info" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n    </CWidgetStatsF>\n  </CCol>\n</CRow>\n
', 1); const _hoisted_23 = { class: "docs-example rounded-top p-4" }; -const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsF color="primary" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n      <template #footer>\n        <CLink\n          class="font-weight-bold font-xs text-body-secondary"\n          href="https://coreui.io/"\n          rel="noopener norefferer"\n          target="_blank"\n        >\n          View more\n          <CIcon icon="cil-arrow-right" class="ms-auto" width="16" />\n        </CLink>\n      </template>  \n    </CWidgetStatsF>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsF color="info" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n      <template #footer>\n        <CLink\n          class="font-weight-bold font-xs text-body-secondary"\n          href="https://coreui.io/"\n          rel="noopener norefferer"\n          target="_blank"\n        >\n          View more\n          <CIcon icon="cil-arrow-right" class="ms-auto" width="16" />\n        </CLink>\n      </template>  \n    </CWidgetStatsF>\n  </CCol>\n</CRow>\n

API

CWidgetStatsA

import { CWidgetStatsA } from '@coreui/vue'\n// or\nimport CWidgetStatsA from '@coreui/vue/src/components/widgets/CWidgetStatsA'\n

Props

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
chartLocation for chart component.
actionLocation for action component, ex. <CDropdown>.

CWidgetStatsB

import { CWidgetStatsB } from '@coreui/vue'\n// or\nimport CWidgetStatsB from '@coreui/vue/src/components/widgets/CWidgetStatsB'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colorsstring'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

CWidgetStatsC

import { CWidgetStatsC } from '@coreui/vue'\n// or\nimport CWidgetStatsC from '@coreui/vue/src/components/widgets/CWidgetStatsC'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
iconLocation for icon component.

CWidgetStatsD

import { CWidgetStatsD } from '@coreui/vue'\n// or\nimport CWidgetStatsD from '@coreui/vue/src/components/widgets/CWidgetStatsD'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valuesValues and titles for your component.Value[]-() => []

Slots

NameDescriptionBindings
chartLocation for chart component.
iconLocation for icon component, ex. <CDropdown>.

CWidgetStatsE

import { CWidgetStatsE } from '@coreui/vue'\n// or\nimport CWidgetStatsE from '@coreui/vue/src/components/widgets/CWidgetStatsE'\n

Props

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
chartLocation for chart component.

CWidgetStatsF

import { CWidgetStatsF } from '@coreui/vue'\n// or\nimport CWidgetStatsF from '@coreui/vue/src/components/widgets/CWidgetStatsF'\n

Props

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
paddingSet padding of your component.boolean-true
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots

NameDescriptionBindings
iconLocation for icon component.
', 36); +const _hoisted_24 = /* @__PURE__ */ createStaticVNode('
<CRow>\n  <CCol :sm="6">\n    <CWidgetStatsF color="primary" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n      <template #footer>\n        <CLink\n          class="font-weight-bold font-xs text-body-secondary"\n          href="https://coreui.io/"\n          rel="noopener norefferer"\n          target="_blank"\n        >\n          View more\n          <CIcon icon="cil-arrow-right" class="ms-auto" width="16" />\n        </CLink>\n      </template>  \n    </CWidgetStatsF>\n  </CCol>\n  <CCol :sm="6">\n    <CWidgetStatsF color="info" title="Title" value="$1.999,50">\n      <template #icon>\n        <CIcon icon="cil-settings" size="xl"/>\n      </template>\n      <template #footer>\n        <CLink\n          class="font-weight-bold font-xs text-body-secondary"\n          href="https://coreui.io/"\n          rel="noopener norefferer"\n          target="_blank"\n        >\n          View more\n          <CIcon icon="cil-arrow-right" class="ms-auto" width="16" />\n        </CLink>\n      </template>  \n    </CWidgetStatsF>\n  </CCol>\n</CRow>\n

API #

CWidgetStatsA #

import { CWidgetStatsA } from '@coreui/vue'\n// or\nimport CWidgetStatsA from '@coreui/vue/src/components/widgets/CWidgetStatsA'\n

Props #

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
chartLocation for chart component.
actionLocation for action component, ex. <CDropdown>.

CWidgetStatsB #

import { CWidgetStatsB } from '@coreui/vue'\n// or\nimport CWidgetStatsB from '@coreui/vue/src/components/widgets/CWidgetStatsB'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colorsstring'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

CWidgetStatsC #

import { CWidgetStatsC } from '@coreui/vue'\n// or\nimport CWidgetStatsC from '@coreui/vue/src/components/widgets/CWidgetStatsC'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
inverseColors have been inverted from their default dark shade.boolean--
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
iconLocation for icon component.

CWidgetStatsD #

import { CWidgetStatsD } from '@coreui/vue'\n// or\nimport CWidgetStatsD from '@coreui/vue/src/components/widgets/CWidgetStatsD'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
valuesValues and titles for your component.Value[]-() => []

Slots #

NameDescriptionBindings
chartLocation for chart component.
iconLocation for icon component, ex. <CDropdown>.

CWidgetStatsE #

import { CWidgetStatsE } from '@coreui/vue'\n// or\nimport CWidgetStatsE from '@coreui/vue/src/components/widgets/CWidgetStatsE'\n

Props #

Prop nameDescriptionTypeValuesDefault
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
chartLocation for chart component.

CWidgetStatsF #

import { CWidgetStatsF } from '@coreui/vue'\n// or\nimport CWidgetStatsF from '@coreui/vue/src/components/widgets/CWidgetStatsF'\n

Props #

Prop nameDescriptionTypeValuesDefault
colorSets the color context of the component to one of CoreUI’s themed colors.string'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'-
paddingSet padding of your component.boolean-true
titleTitle for your component. If you want to pass non-string value please use dedicated slot <template #title>...</template>string--
textHelper text for your component. If you want to pass non-string value please use dedicated slot <template #text>...</template>string--
valueValue for your component. If you want to pass non-string or non-number value please use dedicated slot <template #value>...</template>number|string-0

Slots #

NameDescriptionBindings
iconLocation for icon component.
', 36); function _sfc_render(_ctx, _cache) { const _component_CIcon = resolveComponent("CIcon"); const _component_CDropdownToggle = resolveComponent("CDropdownToggle"); diff --git a/vue/docs/components/accordion.html b/vue/docs/components/accordion.html index 11e204e609e..18e619557cc 100644 --- a/vue/docs/components/accordion.html +++ b/vue/docs/components/accordion.html @@ -3,7 +3,7 @@ - + Vue Accordion Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/alert.html b/vue/docs/components/alert.html index 4258f4d5b93..a3824f3253d 100644 --- a/vue/docs/components/alert.html +++ b/vue/docs/components/alert.html @@ -3,7 +3,7 @@ - + Vue Alert Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/avatar.html b/vue/docs/components/avatar.html index efa541995b8..449e86663b2 100644 --- a/vue/docs/components/avatar.html +++ b/vue/docs/components/avatar.html @@ -3,7 +3,7 @@ - + Vue Avatar Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/badge.html b/vue/docs/components/badge.html index b4954e40559..a8127b80976 100644 --- a/vue/docs/components/badge.html +++ b/vue/docs/components/badge.html @@ -3,7 +3,7 @@ - + Vue Badge Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/breadcrumb.html b/vue/docs/components/breadcrumb.html index 717ed7f4bc2..b424dbd387a 100644 --- a/vue/docs/components/breadcrumb.html +++ b/vue/docs/components/breadcrumb.html @@ -3,7 +3,7 @@ - + Vue Breadcrumb Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/button-group.html b/vue/docs/components/button-group.html index 626e1588613..436bfeef08e 100644 --- a/vue/docs/components/button-group.html +++ b/vue/docs/components/button-group.html @@ -3,7 +3,7 @@ - + Vue Button Group Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/button.html b/vue/docs/components/button.html index e7f73cd0bb5..1f2ea825eaf 100644 --- a/vue/docs/components/button.html +++ b/vue/docs/components/button.html @@ -3,7 +3,7 @@ - + Vue Buttons Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/calendar.html b/vue/docs/components/calendar.html index 89f6a96a824..ea095ed5bd4 100644 --- a/vue/docs/components/calendar.html +++ b/vue/docs/components/calendar.html @@ -3,7 +3,7 @@ - + Vue Calendar Component | Vue UI Components · CoreUI - + })(window,document,'script','dataLayer','GTM-KX4JH47');Vue Calendar Component | Vue UI Components · CoreUI + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/callout.html b/vue/docs/components/callout.html index 154f70dd7a6..4e9c1a7a292 100644 --- a/vue/docs/components/callout.html +++ b/vue/docs/components/callout.html @@ -3,7 +3,7 @@ - + Vue Callout Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/card.html b/vue/docs/components/card.html index 8ea8a04e4ac..88798cbca18 100644 --- a/vue/docs/components/card.html +++ b/vue/docs/components/card.html @@ -3,7 +3,7 @@ - + Vue Card Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/carousel.html b/vue/docs/components/carousel.html index 9037448c556..e964d2ea13e 100644 --- a/vue/docs/components/carousel.html +++ b/vue/docs/components/carousel.html @@ -3,7 +3,7 @@ - + Vue Carousel Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/chart.html b/vue/docs/components/chart.html index 92eeac97a63..101c6316fef 100644 --- a/vue/docs/components/chart.html +++ b/vue/docs/components/chart.html @@ -3,7 +3,7 @@ - + Vue Chart.js Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/close-button.html b/vue/docs/components/close-button.html index b222f84e783..94ff32bcede 100644 --- a/vue/docs/components/close-button.html +++ b/vue/docs/components/close-button.html @@ -3,7 +3,7 @@ - + Vue Close Button Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/collapse.html b/vue/docs/components/collapse.html index 6f0521def49..cd278c462b1 100644 --- a/vue/docs/components/collapse.html +++ b/vue/docs/components/collapse.html @@ -3,7 +3,7 @@ - + Vue Collapse Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/dropdown.html b/vue/docs/components/dropdown.html index 5caeb656123..811e627b674 100644 --- a/vue/docs/components/dropdown.html +++ b/vue/docs/components/dropdown.html @@ -3,7 +3,7 @@ - + Vue Dropdown Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/footer.html b/vue/docs/components/footer.html index 30f2d767a48..5da14857433 100644 --- a/vue/docs/components/footer.html +++ b/vue/docs/components/footer.html @@ -3,7 +3,7 @@ - + Vue Footer Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/header.html b/vue/docs/components/header.html index 6c5eb06d91f..80a02400a03 100644 --- a/vue/docs/components/header.html +++ b/vue/docs/components/header.html @@ -3,7 +3,7 @@ - + Vue Header Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/icon.html b/vue/docs/components/icon.html index 4670251fc19..b498dc2ce8a 100644 --- a/vue/docs/components/icon.html +++ b/vue/docs/components/icon.html @@ -3,7 +3,7 @@ - + Vue Icon Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/image.html b/vue/docs/components/image.html index 410e5a205b9..68a036b563a 100644 --- a/vue/docs/components/image.html +++ b/vue/docs/components/image.html @@ -3,7 +3,7 @@ - + Vue Image Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/link.html b/vue/docs/components/link.html index 687be7ffca1..60da5fe25d5 100644 --- a/vue/docs/components/link.html +++ b/vue/docs/components/link.html @@ -3,7 +3,7 @@ - + CLink | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/list-group.html b/vue/docs/components/list-group.html index 0b52374819c..c2e88974356 100644 --- a/vue/docs/components/list-group.html +++ b/vue/docs/components/list-group.html @@ -3,7 +3,7 @@ - + Vue List Group Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/loading-button.html b/vue/docs/components/loading-button.html index f5a81aa416a..2f23be51c60 100644 --- a/vue/docs/components/loading-button.html +++ b/vue/docs/components/loading-button.html @@ -3,7 +3,7 @@ - + Vue Loading Button Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/modal.html b/vue/docs/components/modal.html index 758fc603bb9..b8c96304b11 100644 --- a/vue/docs/components/modal.html +++ b/vue/docs/components/modal.html @@ -3,7 +3,7 @@ - + Vue Modal Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/navbar.html b/vue/docs/components/navbar.html index b206d703b91..798a575efb8 100644 --- a/vue/docs/components/navbar.html +++ b/vue/docs/components/navbar.html @@ -3,7 +3,7 @@ - + Vue Navbar Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/navs-tabs.html b/vue/docs/components/navs-tabs.html index 4a20a753459..1051b7b21fd 100644 --- a/vue/docs/components/navs-tabs.html +++ b/vue/docs/components/navs-tabs.html @@ -3,7 +3,7 @@ - + Vue Navs & Tabs Components | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/offcanvas.html b/vue/docs/components/offcanvas.html index e507f6799fd..73f6d4b8ece 100644 --- a/vue/docs/components/offcanvas.html +++ b/vue/docs/components/offcanvas.html @@ -3,7 +3,7 @@ - + Vue Offcanvas Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/pagination.html b/vue/docs/components/pagination.html index 736b4be9188..0347119c58f 100644 --- a/vue/docs/components/pagination.html +++ b/vue/docs/components/pagination.html @@ -3,7 +3,7 @@ - + Vue Pagination Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/placeholder.html b/vue/docs/components/placeholder.html index b0d1c6a67ca..7c45c2fae75 100644 --- a/vue/docs/components/placeholder.html +++ b/vue/docs/components/placeholder.html @@ -3,7 +3,7 @@ - + Vue Placeholder Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/popover.html b/vue/docs/components/popover.html index 1da91c965f4..4e88eb2f5e7 100644 --- a/vue/docs/components/popover.html +++ b/vue/docs/components/popover.html @@ -3,7 +3,7 @@ - + Vue Popover Component and Directive | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/progress.html b/vue/docs/components/progress.html index f2c8422a729..6e61e76d366 100644 --- a/vue/docs/components/progress.html +++ b/vue/docs/components/progress.html @@ -3,7 +3,7 @@ - + Vue Progress Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/sidebar.html b/vue/docs/components/sidebar.html index d8d9f6d84e1..f9d41fb2d60 100644 --- a/vue/docs/components/sidebar.html +++ b/vue/docs/components/sidebar.html @@ -3,7 +3,7 @@ - + Vue Sidebar Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/smart-pagination.html b/vue/docs/components/smart-pagination.html index 53762f207e4..a922f3cd6d5 100644 --- a/vue/docs/components/smart-pagination.html +++ b/vue/docs/components/smart-pagination.html @@ -3,7 +3,7 @@ - + Vue Smart Pagination Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/smart-table.html b/vue/docs/components/smart-table.html index 6747fbc60e0..c14bd27a01a 100644 --- a/vue/docs/components/smart-table.html +++ b/vue/docs/components/smart-table.html @@ -3,7 +3,7 @@ - + Vue Smart Table Component (DataTable) | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/spinner.html b/vue/docs/components/spinner.html index 2e2086c229d..3aef55d7f6d 100644 --- a/vue/docs/components/spinner.html +++ b/vue/docs/components/spinner.html @@ -3,7 +3,7 @@ - + Vue Spinner Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/table.html b/vue/docs/components/table.html index de12b87f6a0..2df3a2c998b 100644 --- a/vue/docs/components/table.html +++ b/vue/docs/components/table.html @@ -3,7 +3,7 @@ - + Vue Table Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/tabs.html b/vue/docs/components/tabs.html index b0c80b54003..9b2b7cc17e1 100644 --- a/vue/docs/components/tabs.html +++ b/vue/docs/components/tabs.html @@ -3,7 +3,7 @@ - + Vue Tabs Components | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/toast.html b/vue/docs/components/toast.html index f2712779253..c46a8afe133 100644 --- a/vue/docs/components/toast.html +++ b/vue/docs/components/toast.html @@ -3,7 +3,7 @@ - + Vue Toast Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/tooltip.html b/vue/docs/components/tooltip.html index 683a2d3af91..92405e0cbee 100644 --- a/vue/docs/components/tooltip.html +++ b/vue/docs/components/tooltip.html @@ -3,7 +3,7 @@ - + Vue Tooltip Component and Directive | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/virtual-scroller.html b/vue/docs/components/virtual-scroller.html index c4f2d794e26..88e27a3c612 100644 --- a/vue/docs/components/virtual-scroller.html +++ b/vue/docs/components/virtual-scroller.html @@ -3,7 +3,7 @@ - + Vue Virtual Scroller Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/components/widgets.html b/vue/docs/components/widgets.html index 276fcac35b9..d8eff769437 100644 --- a/vue/docs/components/widgets.html +++ b/vue/docs/components/widgets.html @@ -3,7 +3,7 @@ - + Vue Widgets Components | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/customize/css-variables.html b/vue/docs/customize/css-variables.html index 044d6127cac..85b0f020ac9 100644 --- a/vue/docs/customize/css-variables.html +++ b/vue/docs/customize/css-variables.html @@ -3,7 +3,7 @@ - + CSS variables | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/customize/options.html b/vue/docs/customize/options.html index 451ef11f85d..1c04dde95d5 100644 --- a/vue/docs/customize/options.html +++ b/vue/docs/customize/options.html @@ -3,7 +3,7 @@ - + Options | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/customize/sass.html b/vue/docs/customize/sass.html index 1ab9f0af366..b2bb86ee9fa 100644 --- a/vue/docs/customize/sass.html +++ b/vue/docs/customize/sass.html @@ -3,7 +3,7 @@ - + Sass | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/checkbox.html b/vue/docs/forms/checkbox.html index 6b422056236..7e4bb585e33 100644 --- a/vue/docs/forms/checkbox.html +++ b/vue/docs/forms/checkbox.html @@ -3,7 +3,7 @@ - + Vue Checkbox Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/checks-radios.html b/vue/docs/forms/checks-radios.html index e9081f8134a..b5aff1babfd 100644 --- a/vue/docs/forms/checks-radios.html +++ b/vue/docs/forms/checks-radios.html @@ -3,7 +3,7 @@ - + Vue Radio Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/date-picker.html b/vue/docs/forms/date-picker.html index 4d5249510c3..6cee352e038 100644 --- a/vue/docs/forms/date-picker.html +++ b/vue/docs/forms/date-picker.html @@ -3,7 +3,7 @@ - + Vue Date Picker Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/date-range-picker.html b/vue/docs/forms/date-range-picker.html index 5ded1cbe8e5..a0a227406d1 100644 --- a/vue/docs/forms/date-range-picker.html +++ b/vue/docs/forms/date-range-picker.html @@ -3,7 +3,7 @@ - + Vue Date Range Picker Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/floating-labels.html b/vue/docs/forms/floating-labels.html index 402ee4ad8ab..1b2ba218c42 100644 --- a/vue/docs/forms/floating-labels.html +++ b/vue/docs/forms/floating-labels.html @@ -3,7 +3,7 @@ - + Vue Floating labels | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/form-control.html b/vue/docs/forms/form-control.html index 4f82503f8f4..13d32044274 100644 --- a/vue/docs/forms/form-control.html +++ b/vue/docs/forms/form-control.html @@ -3,7 +3,7 @@ - + Vue Form Controls | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/input-group.html b/vue/docs/forms/input-group.html index 82319656b01..95bd4071903 100644 --- a/vue/docs/forms/input-group.html +++ b/vue/docs/forms/input-group.html @@ -3,7 +3,7 @@ - + Vue Input Group Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/input.html b/vue/docs/forms/input.html index 71b2338984c..254c5e17663 100644 --- a/vue/docs/forms/input.html +++ b/vue/docs/forms/input.html @@ -3,7 +3,7 @@ - + Vue Form Input | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/layout.html b/vue/docs/forms/layout.html index 25d41fa5ce5..4fb028b4553 100644 --- a/vue/docs/forms/layout.html +++ b/vue/docs/forms/layout.html @@ -3,7 +3,7 @@ - + Vue Form Layout | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/multi-select.html b/vue/docs/forms/multi-select.html index 2157c38f20a..7bfb42c6ce4 100644 --- a/vue/docs/forms/multi-select.html +++ b/vue/docs/forms/multi-select.html @@ -3,7 +3,7 @@ - + Vue Multi Select | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/overview.html b/vue/docs/forms/overview.html index 0fa16015dc0..5ec4532fc57 100644 --- a/vue/docs/forms/overview.html +++ b/vue/docs/forms/overview.html @@ -3,7 +3,7 @@ - + Vue Form Components | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/radio.html b/vue/docs/forms/radio.html index 85ca23b14b0..714d65ab9cb 100644 --- a/vue/docs/forms/radio.html +++ b/vue/docs/forms/radio.html @@ -3,7 +3,7 @@ - + Vue Checkbox & Radio Components | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/range.html b/vue/docs/forms/range.html index 34cb3653e20..67b5ae79d3e 100644 --- a/vue/docs/forms/range.html +++ b/vue/docs/forms/range.html @@ -3,7 +3,7 @@ - + Vue Range Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/rating.html b/vue/docs/forms/rating.html index e4955ecffe1..c1c03f55b79 100644 --- a/vue/docs/forms/rating.html +++ b/vue/docs/forms/rating.html @@ -3,7 +3,7 @@ - + Vue Rating Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/select.html b/vue/docs/forms/select.html index 09f1b2f3228..cbd41eeef6b 100644 --- a/vue/docs/forms/select.html +++ b/vue/docs/forms/select.html @@ -3,7 +3,7 @@ - + Vue Select Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/switch.html b/vue/docs/forms/switch.html index c2165bf9cbd..f30e9534515 100644 --- a/vue/docs/forms/switch.html +++ b/vue/docs/forms/switch.html @@ -3,7 +3,7 @@ - + Vue Switch Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/textarea.html b/vue/docs/forms/textarea.html index 54cbcee7371..ff12fdc4dc4 100644 --- a/vue/docs/forms/textarea.html +++ b/vue/docs/forms/textarea.html @@ -3,7 +3,7 @@ - + Vue Form Text Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/time-picker.html b/vue/docs/forms/time-picker.html index 3b1a67ac2df..b15f0f6a997 100644 --- a/vue/docs/forms/time-picker.html +++ b/vue/docs/forms/time-picker.html @@ -3,7 +3,7 @@ - + Vue Time Picker Component | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/forms/validation.html b/vue/docs/forms/validation.html index 52e735502d2..5f52410a221 100644 --- a/vue/docs/forms/validation.html +++ b/vue/docs/forms/validation.html @@ -3,7 +3,7 @@ - + Vue Form Validation | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/getting-started/accessibility.html b/vue/docs/getting-started/accessibility.html index 9b8db0c8883..ce464633139 100644 --- a/vue/docs/getting-started/accessibility.html +++ b/vue/docs/getting-started/accessibility.html @@ -3,7 +3,7 @@ - + Accessibility | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/getting-started/introduction.html b/vue/docs/getting-started/introduction.html index a8ef61bbcd3..2a57ec1a862 100644 --- a/vue/docs/getting-started/introduction.html +++ b/vue/docs/getting-started/introduction.html @@ -3,7 +3,7 @@ - + Introduction | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/index.html b/vue/docs/index.html index b8dd7058fa3..2a57ec1a862 100644 --- a/vue/docs/index.html +++ b/vue/docs/index.html @@ -3,7 +3,7 @@ - + Introduction | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/layout/breakpoints.html b/vue/docs/layout/breakpoints.html index 1978c347a51..74c82fdaa73 100644 --- a/vue/docs/layout/breakpoints.html +++ b/vue/docs/layout/breakpoints.html @@ -3,7 +3,7 @@ - + Breakpoints | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/layout/columns.html b/vue/docs/layout/columns.html index 1303f93b59e..7e457ef918b 100644 --- a/vue/docs/layout/columns.html +++ b/vue/docs/layout/columns.html @@ -3,7 +3,7 @@ - + Columns | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/layout/containers.html b/vue/docs/layout/containers.html index 4b8c6c02be6..b4a76f64c2b 100644 --- a/vue/docs/layout/containers.html +++ b/vue/docs/layout/containers.html @@ -3,7 +3,7 @@ - + Containers | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/layout/grid.html b/vue/docs/layout/grid.html index 975ba9451c5..cccd96149a3 100644 --- a/vue/docs/layout/grid.html +++ b/vue/docs/layout/grid.html @@ -3,7 +3,7 @@ - + Grid | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/layout/gutters.html b/vue/docs/layout/gutters.html index f44690d9af5..abafda4d223 100644 --- a/vue/docs/layout/gutters.html +++ b/vue/docs/layout/gutters.html @@ -3,7 +3,7 @@ - + Gutters | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/migration/v4.html b/vue/docs/migration/v4.html index 7ac21fbfd67..7732a520f4f 100644 --- a/vue/docs/migration/v4.html +++ b/vue/docs/migration/v4.html @@ -3,7 +3,7 @@ - + Migration to v4 | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/migration/v5.html b/vue/docs/migration/v5.html index 2b654285b69..cb03baa9c6a 100644 --- a/vue/docs/migration/v5.html +++ b/vue/docs/migration/v5.html @@ -3,7 +3,7 @@ - + Migration to v5 | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/templates/admin-dashboard.html b/vue/docs/templates/admin-dashboard.html index 4305c54822e..8b617edd69d 100644 --- a/vue/docs/templates/admin-dashboard.html +++ b/vue/docs/templates/admin-dashboard.html @@ -3,7 +3,7 @@ - + Vue Templates | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/templates/contents.html b/vue/docs/templates/contents.html index 26cf9710c50..620331319a7 100644 --- a/vue/docs/templates/contents.html +++ b/vue/docs/templates/contents.html @@ -3,7 +3,7 @@ - + Vue templates contents | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/templates/customize.html b/vue/docs/templates/customize.html index 764b6b1c215..53f38c020cd 100644 --- a/vue/docs/templates/customize.html +++ b/vue/docs/templates/customize.html @@ -3,7 +3,7 @@ - + Customize vue templates | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/templates/download.html b/vue/docs/templates/download.html index 608348c7ad1..6bf3ee01140 100644 --- a/vue/docs/templates/download.html +++ b/vue/docs/templates/download.html @@ -3,7 +3,7 @@ - + Download vue templates | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- + diff --git a/vue/docs/templates/installation.html b/vue/docs/templates/installation.html index ceb5f70892d..2cc1638e749 100644 --- a/vue/docs/templates/installation.html +++ b/vue/docs/templates/installation.html @@ -3,7 +3,7 @@ - + Vue templates installation | Vue UI Components · CoreUI - + @@ -32,6 +32,6 @@ >
- +