vitrify 0.16.4 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/frameworks/vue/prerender.js +3 -3
- package/dist/index.js +31 -1
- package/dist/plugins/quasar/unocss/components/QAjaxBar.unocss.js +20 -0
- package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +22 -0
- package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +24 -0
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +26 -0
- package/dist/plugins/quasar/unocss/components/QBreadcrumbs.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +62 -0
- package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +19 -0
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +30 -0
- package/dist/plugins/quasar/unocss/components/QBtnToggle.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +57 -0
- package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +82 -0
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +38 -0
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +65 -0
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +90 -0
- package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +32 -0
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +174 -0
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +122 -0
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +110 -0
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +53 -0
- package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +66 -0
- package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +38 -0
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +100 -0
- package/dist/plugins/quasar/unocss/components/QField.unocss.js +153 -0
- package/dist/plugins/quasar/unocss/components/QFile.unocss.js +15 -0
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QForm.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QIcon.unocss.js +22 -0
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +29 -0
- package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +9 -0
- package/dist/plugins/quasar/unocss/components/QInput.unocss.js +27 -0
- package/dist/plugins/quasar/unocss/components/QIntersection.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QItem.unocss.js +71 -0
- package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +13 -0
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +81 -0
- package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +80 -0
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QOptionGroup.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QPage.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +7 -0
- package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +15 -0
- package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +8 -0
- package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +60 -0
- package/dist/plugins/quasar/unocss/components/QRating.unocss.js +23 -0
- package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +12 -0
- package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +31 -0
- package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +56 -0
- package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +26 -0
- package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +153 -0
- package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +24 -0
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +163 -0
- package/dist/plugins/quasar/unocss/components/QSpace.unocss.js +4 -0
- package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +44 -0
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +39 -0
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +102 -0
- package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/components/QTable.unocss.js +132 -0
- package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +96 -0
- package/dist/plugins/quasar/unocss/components/QTime.unocss.js +123 -0
- package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +80 -0
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +67 -0
- package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +14 -0
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QTree.unocss.js +87 -0
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +72 -0
- package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +16 -0
- package/dist/plugins/quasar/unocss/composables/panel.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/core/colors.unocss.js +17 -0
- package/dist/plugins/quasar/unocss/core/dark.unocss.js +14 -0
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +67 -0
- package/dist/plugins/quasar/unocss/core/flex.unocss.js +76 -0
- package/dist/plugins/quasar/unocss/core/helpers.unocss.js +57 -0
- package/dist/plugins/quasar/unocss/core/mouse.unocss.js +32 -0
- package/dist/plugins/quasar/unocss/core/orientation.unocss.js +5 -0
- package/dist/plugins/quasar/unocss/core/position.unocss.js +48 -0
- package/dist/plugins/quasar/unocss/core/size.unocss.js +98 -0
- package/dist/plugins/quasar/unocss/core/touch.unocss.js +6 -0
- package/dist/plugins/quasar/unocss/core/transitions.unocss.js +271 -0
- package/dist/plugins/quasar/unocss/core/typography.unocss.js +147 -0
- package/dist/plugins/quasar/unocss/core/visibility.unocss.js +219 -0
- package/dist/plugins/quasar/unocss/directives/QMorph.unocss.js +11 -0
- package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +19 -0
- package/dist/plugins/quasar/unocss/index.js +1282 -0
- package/dist/plugins/quasar/unocss/plugins/QBottomSheet.unocss.js +17 -0
- package/dist/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.js +9 -0
- package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +16 -0
- package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +207 -0
- package/dist/plugins/quasar/unocss/theme.js +439 -0
- package/dist/plugins/quasar.js +104 -4
- package/dist/types/frameworks/vue/server.d.ts +3 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/plugins/quasar/unocss/components/QAjaxBar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QAvatar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBadge.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBanner.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBreadcrumbs.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QBtn.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnDropdown.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnGroup.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QBtnToggle.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCard.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCarousel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QChatMessage.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QCheckbox.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QChip.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QCircularProgress.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QColorPicker.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QDate.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QDialog.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QDrawer.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QEditor.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QExpansionItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QFab.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QField.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QFile.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QFooter.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QForm.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QHeader.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QIcon.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QImg.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QInnerLoading.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QInput.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QIntersection.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QKnob.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QLayout.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QLinearProgress.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QMenu.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QOptionGroup.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPage.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPageSticky.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPagination.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QParallax.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPopupEdit.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QPullToRefresh.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QRadio.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QRating.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QResponsive.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QScrollarea.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSelect.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSeparator.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSkeleton.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSlideItem.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSlider.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSpace.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QSpinner.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QSplitter.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QStepper.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTabPanel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTable.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QTabs.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTime.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTimeline.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QToggle.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QToolbar.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTooltip.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QTree.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/components/QUploader.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QVideo.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/components/QVirtualScroll.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/composables/panel.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/colors.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/dark.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/flex.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/helpers.unocss.d.ts +6 -0
- package/dist/types/plugins/quasar/unocss/core/mouse.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/orientation.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/position.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/size.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/touch.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/core/typography.unocss.d.ts +5 -0
- package/dist/types/plugins/quasar/unocss/core/visibility.unocss.d.ts +6 -0
- package/dist/types/plugins/quasar/unocss/directives/QMorph.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/directives/QRipple.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/index.d.ts +11 -0
- package/dist/types/plugins/quasar/unocss/plugins/QBottomSheet.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QLoading.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/plugins/QNotify.unocss.d.ts +4 -0
- package/dist/types/plugins/quasar/unocss/theme.d.ts +425 -0
- package/dist/types/plugins/quasar.d.ts +1 -0
- package/dist/types/vitrify-config.d.ts +11 -3
- package/package.json +17 -10
- package/src/node/frameworks/vue/prerender.ts +3 -3
- package/src/node/frameworks/vue/server.ts +3 -3
- package/src/node/index.ts +37 -3
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +34 -0
- package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +32 -0
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/components/QBreadcrumbs.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +93 -0
- package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +27 -0
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +48 -0
- package/src/node/plugins/quasar/unocss/components/QBtnToggle.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +64 -0
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +115 -0
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +59 -0
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +89 -0
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +98 -0
- package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +41 -0
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +178 -0
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +181 -0
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +118 -0
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +76 -0
- package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +85 -0
- package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +54 -0
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +148 -0
- package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +220 -0
- package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +23 -0
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/components/QForm.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QIcon.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +43 -0
- package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +16 -0
- package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +40 -0
- package/src/node/plugins/quasar/unocss/components/QIntersection.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +102 -0
- package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +22 -0
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +91 -0
- package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +104 -0
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QOptionGroup.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QPage.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +12 -0
- package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +13 -0
- package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +82 -0
- package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +36 -0
- package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +20 -0
- package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +48 -0
- package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +69 -0
- package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +38 -0
- package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +192 -0
- package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +38 -0
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +246 -0
- package/src/node/plugins/quasar/unocss/components/QSpace.unocss.ts +8 -0
- package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +51 -0
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +58 -0
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +150 -0
- package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +10 -0
- package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +194 -0
- package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +139 -0
- package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +195 -0
- package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +122 -0
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +89 -0
- package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +22 -0
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +124 -0
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +107 -0
- package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +26 -0
- package/src/node/plugins/quasar/unocss/composables/panel.unocss.ts +9 -0
- package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +21 -0
- package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +19 -0
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +94 -0
- package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +99 -0
- package/src/node/plugins/quasar/unocss/core/helpers.unocss.ts +78 -0
- package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +46 -0
- package/src/node/plugins/quasar/unocss/core/orientation.unocss.ts +10 -0
- package/src/node/plugins/quasar/unocss/core/position.unocss.ts +81 -0
- package/src/node/plugins/quasar/unocss/core/size.unocss.ts +196 -0
- package/src/node/plugins/quasar/unocss/core/touch.unocss.ts +12 -0
- package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +392 -0
- package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +192 -0
- package/src/node/plugins/quasar/unocss/core/visibility.unocss.ts +250 -0
- package/src/node/plugins/quasar/unocss/createSafelist.js +2549 -0
- package/src/node/plugins/quasar/unocss/directives/QMorph.unocss.ts +18 -0
- package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +30 -0
- package/src/node/plugins/quasar/unocss/index.ts +1482 -0
- package/src/node/plugins/quasar/unocss/parse.js +132 -0
- package/src/node/plugins/quasar/unocss/plugins/QBottomSheet.unocss.ts +27 -0
- package/src/node/plugins/quasar/unocss/plugins/QDialogPlugin.unocss.ts +16 -0
- package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +24 -0
- package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +266 -0
- package/src/node/plugins/quasar/unocss/theme.ts +452 -0
- package/src/node/plugins/quasar.ts +113 -4
- package/src/node/vitrify-config.ts +14 -7
- package/src/vite/fastify/server.ts +3 -1
- package/src/vite/vue/main.ts +2 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import { type QuasarPresetOptions } from './index.js';
|
|
2
|
+
declare const theme: (options?: QuasarPresetOptions) => {
|
|
3
|
+
colors: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
accent: string;
|
|
7
|
+
positive: string;
|
|
8
|
+
negative: string;
|
|
9
|
+
info: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
'dark-page': string;
|
|
12
|
+
'q-dark': string;
|
|
13
|
+
red: string;
|
|
14
|
+
'red-1 ': string;
|
|
15
|
+
'red-2 ': string;
|
|
16
|
+
'red-3 ': string;
|
|
17
|
+
'red-4 ': string;
|
|
18
|
+
'red-5 ': string;
|
|
19
|
+
'red-6 ': string;
|
|
20
|
+
'red-7 ': string;
|
|
21
|
+
'red-8 ': string;
|
|
22
|
+
'red-9 ': string;
|
|
23
|
+
'red-10 ': string;
|
|
24
|
+
'red-11 ': string;
|
|
25
|
+
'red-12 ': string;
|
|
26
|
+
'red-13 ': string;
|
|
27
|
+
'red-14 ': string;
|
|
28
|
+
'pink ': string;
|
|
29
|
+
'pink-1 ': string;
|
|
30
|
+
'pink-2 ': string;
|
|
31
|
+
'pink-3 ': string;
|
|
32
|
+
'pink-4 ': string;
|
|
33
|
+
'pink-5 ': string;
|
|
34
|
+
'pink-6 ': string;
|
|
35
|
+
'pink-7 ': string;
|
|
36
|
+
'pink-8 ': string;
|
|
37
|
+
'pink-9 ': string;
|
|
38
|
+
'pink-10 ': string;
|
|
39
|
+
'pink-11 ': string;
|
|
40
|
+
'pink-12 ': string;
|
|
41
|
+
'pink-13 ': string;
|
|
42
|
+
'pink-14 ': string;
|
|
43
|
+
'purple ': string;
|
|
44
|
+
'purple-1 ': string;
|
|
45
|
+
'purple-2 ': string;
|
|
46
|
+
'purple-3 ': string;
|
|
47
|
+
'purple-4 ': string;
|
|
48
|
+
'purple-5 ': string;
|
|
49
|
+
'purple-6 ': string;
|
|
50
|
+
'purple-7 ': string;
|
|
51
|
+
'purple-8 ': string;
|
|
52
|
+
'purple-9 ': string;
|
|
53
|
+
'purple-10 ': string;
|
|
54
|
+
'purple-11 ': string;
|
|
55
|
+
'purple-12 ': string;
|
|
56
|
+
'purple-13 ': string;
|
|
57
|
+
'purple-14 ': string;
|
|
58
|
+
'deep-purple ': string;
|
|
59
|
+
'deep-purple-1 ': string;
|
|
60
|
+
'deep-purple-2 ': string;
|
|
61
|
+
'deep-purple-3 ': string;
|
|
62
|
+
'deep-purple-4 ': string;
|
|
63
|
+
'deep-purple-5 ': string;
|
|
64
|
+
'deep-purple-6 ': string;
|
|
65
|
+
'deep-purple-7 ': string;
|
|
66
|
+
'deep-purple-8 ': string;
|
|
67
|
+
'deep-purple-9 ': string;
|
|
68
|
+
'deep-purple-10 ': string;
|
|
69
|
+
'deep-purple-11 ': string;
|
|
70
|
+
'deep-purple-12 ': string;
|
|
71
|
+
'deep-purple-13 ': string;
|
|
72
|
+
'deep-purple-14 ': string;
|
|
73
|
+
'indigo ': string;
|
|
74
|
+
'indigo-1 ': string;
|
|
75
|
+
'indigo-2 ': string;
|
|
76
|
+
'indigo-3 ': string;
|
|
77
|
+
'indigo-4 ': string;
|
|
78
|
+
'indigo-5 ': string;
|
|
79
|
+
'indigo-6 ': string;
|
|
80
|
+
'indigo-7 ': string;
|
|
81
|
+
'indigo-8 ': string;
|
|
82
|
+
'indigo-9 ': string;
|
|
83
|
+
'indigo-10 ': string;
|
|
84
|
+
'indigo-11 ': string;
|
|
85
|
+
'indigo-12 ': string;
|
|
86
|
+
'indigo-13 ': string;
|
|
87
|
+
'indigo-14 ': string;
|
|
88
|
+
'blue ': string;
|
|
89
|
+
'blue-1 ': string;
|
|
90
|
+
'blue-2 ': string;
|
|
91
|
+
'blue-3 ': string;
|
|
92
|
+
'blue-4 ': string;
|
|
93
|
+
'blue-5 ': string;
|
|
94
|
+
'blue-6 ': string;
|
|
95
|
+
'blue-7 ': string;
|
|
96
|
+
'blue-8 ': string;
|
|
97
|
+
'blue-9 ': string;
|
|
98
|
+
'blue-10 ': string;
|
|
99
|
+
'blue-11 ': string;
|
|
100
|
+
'blue-12 ': string;
|
|
101
|
+
'blue-13 ': string;
|
|
102
|
+
'blue-14 ': string;
|
|
103
|
+
'light-blue ': string;
|
|
104
|
+
'light-blue-1 ': string;
|
|
105
|
+
'light-blue-2 ': string;
|
|
106
|
+
'light-blue-3 ': string;
|
|
107
|
+
'light-blue-4 ': string;
|
|
108
|
+
'light-blue-5 ': string;
|
|
109
|
+
'light-blue-6 ': string;
|
|
110
|
+
'light-blue-7 ': string;
|
|
111
|
+
'light-blue-8 ': string;
|
|
112
|
+
'light-blue-9 ': string;
|
|
113
|
+
'light-blue-10 ': string;
|
|
114
|
+
'light-blue-11 ': string;
|
|
115
|
+
'light-blue-12 ': string;
|
|
116
|
+
'light-blue-13 ': string;
|
|
117
|
+
'light-blue-14 ': string;
|
|
118
|
+
'cyan ': string;
|
|
119
|
+
'cyan-1 ': string;
|
|
120
|
+
'cyan-2 ': string;
|
|
121
|
+
'cyan-3 ': string;
|
|
122
|
+
'cyan-4 ': string;
|
|
123
|
+
'cyan-5 ': string;
|
|
124
|
+
'cyan-6 ': string;
|
|
125
|
+
'cyan-7 ': string;
|
|
126
|
+
'cyan-8 ': string;
|
|
127
|
+
'cyan-9 ': string;
|
|
128
|
+
'cyan-10 ': string;
|
|
129
|
+
'cyan-11 ': string;
|
|
130
|
+
'cyan-12 ': string;
|
|
131
|
+
'cyan-13 ': string;
|
|
132
|
+
'cyan-14 ': string;
|
|
133
|
+
'teal ': string;
|
|
134
|
+
'teal-1 ': string;
|
|
135
|
+
'teal-2 ': string;
|
|
136
|
+
'teal-3 ': string;
|
|
137
|
+
'teal-4 ': string;
|
|
138
|
+
'teal-5 ': string;
|
|
139
|
+
'teal-6 ': string;
|
|
140
|
+
'teal-7 ': string;
|
|
141
|
+
'teal-8 ': string;
|
|
142
|
+
'teal-9 ': string;
|
|
143
|
+
'teal-10 ': string;
|
|
144
|
+
'teal-11 ': string;
|
|
145
|
+
'teal-12 ': string;
|
|
146
|
+
'teal-13 ': string;
|
|
147
|
+
'teal-14 ': string;
|
|
148
|
+
'green ': string;
|
|
149
|
+
'green-1 ': string;
|
|
150
|
+
'green-2 ': string;
|
|
151
|
+
'green-3 ': string;
|
|
152
|
+
'green-4 ': string;
|
|
153
|
+
'green-5 ': string;
|
|
154
|
+
'green-6 ': string;
|
|
155
|
+
'green-7 ': string;
|
|
156
|
+
'green-8 ': string;
|
|
157
|
+
'green-9 ': string;
|
|
158
|
+
'green-10 ': string;
|
|
159
|
+
'green-11 ': string;
|
|
160
|
+
'green-12 ': string;
|
|
161
|
+
'green-13 ': string;
|
|
162
|
+
'green-14 ': string;
|
|
163
|
+
'light-green ': string;
|
|
164
|
+
'light-green-1 ': string;
|
|
165
|
+
'light-green-2 ': string;
|
|
166
|
+
'light-green-3 ': string;
|
|
167
|
+
'light-green-4 ': string;
|
|
168
|
+
'light-green-5 ': string;
|
|
169
|
+
'light-green-6 ': string;
|
|
170
|
+
'light-green-7 ': string;
|
|
171
|
+
'light-green-8 ': string;
|
|
172
|
+
'light-green-9 ': string;
|
|
173
|
+
'light-green-10 ': string;
|
|
174
|
+
'light-green-11 ': string;
|
|
175
|
+
'light-green-12 ': string;
|
|
176
|
+
'light-green-13 ': string;
|
|
177
|
+
'light-green-14 ': string;
|
|
178
|
+
'lime ': string;
|
|
179
|
+
'lime-1 ': string;
|
|
180
|
+
'lime-2 ': string;
|
|
181
|
+
'lime-3 ': string;
|
|
182
|
+
'lime-4 ': string;
|
|
183
|
+
'lime-5 ': string;
|
|
184
|
+
'lime-6 ': string;
|
|
185
|
+
'lime-7 ': string;
|
|
186
|
+
'lime-8 ': string;
|
|
187
|
+
'lime-9 ': string;
|
|
188
|
+
'lime-10 ': string;
|
|
189
|
+
'lime-11 ': string;
|
|
190
|
+
'lime-12 ': string;
|
|
191
|
+
'lime-13 ': string;
|
|
192
|
+
'lime-14 ': string;
|
|
193
|
+
'yellow ': string;
|
|
194
|
+
'yellow-1 ': string;
|
|
195
|
+
'yellow-2 ': string;
|
|
196
|
+
'yellow-3 ': string;
|
|
197
|
+
'yellow-4 ': string;
|
|
198
|
+
'yellow-5 ': string;
|
|
199
|
+
'yellow-6 ': string;
|
|
200
|
+
'yellow-7 ': string;
|
|
201
|
+
'yellow-8 ': string;
|
|
202
|
+
'yellow-9 ': string;
|
|
203
|
+
'yellow-10 ': string;
|
|
204
|
+
'yellow-11 ': string;
|
|
205
|
+
'yellow-12 ': string;
|
|
206
|
+
'yellow-13 ': string;
|
|
207
|
+
'yellow-14 ': string;
|
|
208
|
+
'amber ': string;
|
|
209
|
+
'amber-1 ': string;
|
|
210
|
+
'amber-2 ': string;
|
|
211
|
+
'amber-3 ': string;
|
|
212
|
+
'amber-4 ': string;
|
|
213
|
+
'amber-5 ': string;
|
|
214
|
+
'amber-6 ': string;
|
|
215
|
+
'amber-7 ': string;
|
|
216
|
+
'amber-8 ': string;
|
|
217
|
+
'amber-9 ': string;
|
|
218
|
+
'amber-10 ': string;
|
|
219
|
+
'amber-11 ': string;
|
|
220
|
+
'amber-12 ': string;
|
|
221
|
+
'amber-13 ': string;
|
|
222
|
+
'amber-14 ': string;
|
|
223
|
+
'orange ': string;
|
|
224
|
+
'orange-1 ': string;
|
|
225
|
+
'orange-2 ': string;
|
|
226
|
+
'orange-3 ': string;
|
|
227
|
+
'orange-4 ': string;
|
|
228
|
+
'orange-5 ': string;
|
|
229
|
+
'orange-6 ': string;
|
|
230
|
+
'orange-7 ': string;
|
|
231
|
+
'orange-8 ': string;
|
|
232
|
+
'orange-9 ': string;
|
|
233
|
+
'orange-10 ': string;
|
|
234
|
+
'orange-11 ': string;
|
|
235
|
+
'orange-12 ': string;
|
|
236
|
+
'orange-13 ': string;
|
|
237
|
+
'orange-14 ': string;
|
|
238
|
+
'deep-orange ': string;
|
|
239
|
+
'deep-orange-1 ': string;
|
|
240
|
+
'deep-orange-2 ': string;
|
|
241
|
+
'deep-orange-3 ': string;
|
|
242
|
+
'deep-orange-4 ': string;
|
|
243
|
+
'deep-orange-5 ': string;
|
|
244
|
+
'deep-orange-6 ': string;
|
|
245
|
+
'deep-orange-7 ': string;
|
|
246
|
+
'deep-orange-8 ': string;
|
|
247
|
+
'deep-orange-9 ': string;
|
|
248
|
+
'deep-orange-10 ': string;
|
|
249
|
+
'deep-orange-11 ': string;
|
|
250
|
+
'deep-orange-12 ': string;
|
|
251
|
+
'deep-orange-13 ': string;
|
|
252
|
+
'deep-orange-14 ': string;
|
|
253
|
+
'brown ': string;
|
|
254
|
+
'brown-1 ': string;
|
|
255
|
+
'brown-2 ': string;
|
|
256
|
+
'brown-3 ': string;
|
|
257
|
+
'brown-4 ': string;
|
|
258
|
+
'brown-5 ': string;
|
|
259
|
+
'brown-6 ': string;
|
|
260
|
+
'brown-7 ': string;
|
|
261
|
+
'brown-8 ': string;
|
|
262
|
+
'brown-9 ': string;
|
|
263
|
+
'brown-10 ': string;
|
|
264
|
+
'brown-11 ': string;
|
|
265
|
+
'brown-12 ': string;
|
|
266
|
+
'brown-13 ': string;
|
|
267
|
+
'brown-14 ': string;
|
|
268
|
+
'grey ': string;
|
|
269
|
+
'grey-1 ': string;
|
|
270
|
+
'grey-2 ': string;
|
|
271
|
+
'grey-3 ': string;
|
|
272
|
+
'grey-4 ': string;
|
|
273
|
+
'grey-5 ': string;
|
|
274
|
+
'grey-6 ': string;
|
|
275
|
+
'grey-7 ': string;
|
|
276
|
+
'grey-8 ': string;
|
|
277
|
+
'grey-9 ': string;
|
|
278
|
+
'grey-10 ': string;
|
|
279
|
+
'grey-11 ': string;
|
|
280
|
+
'grey-12 ': string;
|
|
281
|
+
'grey-13 ': string;
|
|
282
|
+
'grey-14 ': string;
|
|
283
|
+
'blue-grey ': string;
|
|
284
|
+
'blue-grey-1 ': string;
|
|
285
|
+
'blue-grey-2 ': string;
|
|
286
|
+
'blue-grey-3 ': string;
|
|
287
|
+
'blue-grey-4 ': string;
|
|
288
|
+
'blue-grey-5 ': string;
|
|
289
|
+
'blue-grey-6 ': string;
|
|
290
|
+
'blue-grey-7 ': string;
|
|
291
|
+
'blue-grey-8 ': string;
|
|
292
|
+
'blue-grey-9 ': string;
|
|
293
|
+
'blue-grey-10 ': string;
|
|
294
|
+
'blue-grey-11 ': string;
|
|
295
|
+
'blue-grey-12 ': string;
|
|
296
|
+
'blue-grey-13 ': string;
|
|
297
|
+
'blue-grey-14 ': string;
|
|
298
|
+
};
|
|
299
|
+
shadowColor: string;
|
|
300
|
+
shadowTransition: string;
|
|
301
|
+
insetShadow: string;
|
|
302
|
+
insetShadowDown: string;
|
|
303
|
+
shadows: {
|
|
304
|
+
0: string;
|
|
305
|
+
1: string;
|
|
306
|
+
2: string;
|
|
307
|
+
3: string;
|
|
308
|
+
4: string;
|
|
309
|
+
5: string;
|
|
310
|
+
6: string;
|
|
311
|
+
7: string;
|
|
312
|
+
8: string;
|
|
313
|
+
9: string;
|
|
314
|
+
10: string;
|
|
315
|
+
11: string;
|
|
316
|
+
12: string;
|
|
317
|
+
13: string;
|
|
318
|
+
14: string;
|
|
319
|
+
15: string;
|
|
320
|
+
16: string;
|
|
321
|
+
17: string;
|
|
322
|
+
18: string;
|
|
323
|
+
19: string;
|
|
324
|
+
20: string;
|
|
325
|
+
21: string;
|
|
326
|
+
22: string;
|
|
327
|
+
23: string;
|
|
328
|
+
24: string;
|
|
329
|
+
up: {
|
|
330
|
+
0: string;
|
|
331
|
+
1: string;
|
|
332
|
+
2: string;
|
|
333
|
+
3: string;
|
|
334
|
+
4: string;
|
|
335
|
+
5: string;
|
|
336
|
+
6: string;
|
|
337
|
+
7: string;
|
|
338
|
+
8: string;
|
|
339
|
+
9: string;
|
|
340
|
+
10: string;
|
|
341
|
+
11: string;
|
|
342
|
+
12: string;
|
|
343
|
+
13: string;
|
|
344
|
+
14: string;
|
|
345
|
+
15: string;
|
|
346
|
+
16: string;
|
|
347
|
+
17: string;
|
|
348
|
+
18: string;
|
|
349
|
+
19: string;
|
|
350
|
+
20: string;
|
|
351
|
+
21: string;
|
|
352
|
+
22: string;
|
|
353
|
+
23: string;
|
|
354
|
+
24: string;
|
|
355
|
+
};
|
|
356
|
+
dark: {
|
|
357
|
+
0: string;
|
|
358
|
+
1: string;
|
|
359
|
+
2: string;
|
|
360
|
+
3: string;
|
|
361
|
+
4: string;
|
|
362
|
+
5: string;
|
|
363
|
+
6: string;
|
|
364
|
+
7: string;
|
|
365
|
+
8: string;
|
|
366
|
+
9: string;
|
|
367
|
+
10: string;
|
|
368
|
+
11: string;
|
|
369
|
+
12: string;
|
|
370
|
+
13: string;
|
|
371
|
+
14: string;
|
|
372
|
+
15: string;
|
|
373
|
+
16: string;
|
|
374
|
+
17: string;
|
|
375
|
+
18: string;
|
|
376
|
+
19: string;
|
|
377
|
+
20: string;
|
|
378
|
+
21: string;
|
|
379
|
+
22: string;
|
|
380
|
+
23: string;
|
|
381
|
+
24: string;
|
|
382
|
+
up: {
|
|
383
|
+
0: string;
|
|
384
|
+
1: string;
|
|
385
|
+
2: string;
|
|
386
|
+
3: string;
|
|
387
|
+
4: string;
|
|
388
|
+
5: string;
|
|
389
|
+
6: string;
|
|
390
|
+
7: string;
|
|
391
|
+
8: string;
|
|
392
|
+
9: string;
|
|
393
|
+
10: string;
|
|
394
|
+
11: string;
|
|
395
|
+
12: string;
|
|
396
|
+
13: string;
|
|
397
|
+
14: string;
|
|
398
|
+
15: string;
|
|
399
|
+
16: string;
|
|
400
|
+
17: string;
|
|
401
|
+
18: string;
|
|
402
|
+
19: string;
|
|
403
|
+
20: string;
|
|
404
|
+
21: string;
|
|
405
|
+
22: string;
|
|
406
|
+
23: string;
|
|
407
|
+
24: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
z: {
|
|
412
|
+
fab: number;
|
|
413
|
+
side: number;
|
|
414
|
+
marginals: number;
|
|
415
|
+
'fixed-drawer': number;
|
|
416
|
+
fullscreen: number;
|
|
417
|
+
menu: number;
|
|
418
|
+
top: number;
|
|
419
|
+
tooltip: number;
|
|
420
|
+
notify: number;
|
|
421
|
+
max: number;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
export default theme;
|
|
425
|
+
export type QuasarTheme = ReturnType<typeof theme>;
|
|
@@ -11,6 +11,7 @@ export interface QuasarConf {
|
|
|
11
11
|
iconSet?: string;
|
|
12
12
|
};
|
|
13
13
|
extras?: string[];
|
|
14
|
+
disableSass?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export declare const injectSsrContext: (html: string, ssrContext: Record<string, any>) => string;
|
|
16
17
|
export declare const QuasarPlugin: VitrifyPlugin;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { Alias, UserConfig } from 'vite';
|
|
1
|
+
import type { Alias, UserConfig as ViteUserConfig, ViteDevServer } from 'vite';
|
|
2
2
|
import type { QuasarConf } from './plugins/quasar.js';
|
|
3
3
|
import type { ComponentInternalInstance } from '@vue/runtime-core';
|
|
4
|
-
import type { FastifyServerOptions } from 'fastify';
|
|
4
|
+
import type { FastifyInstance, FastifyServerOptions } from 'fastify';
|
|
5
5
|
import type { VitePWAOptions } from 'vite-plugin-pwa';
|
|
6
|
+
import type { UserConfig as UnoCSSUserConfig } from '@unocss/core';
|
|
6
7
|
export type BootFunction = ({ app, ssrContext, staticImports }: {
|
|
7
8
|
app: any;
|
|
8
9
|
ssrContext: Record<string, unknown>;
|
|
@@ -17,8 +18,11 @@ export type OnMountedHook = (instance: ComponentInternalInstance) => Promise<voi
|
|
|
17
18
|
export type StaticImports = Record<string, string[]>;
|
|
18
19
|
export type SsrFunction = (html: string, ssrContext: Record<string, any>) => string;
|
|
19
20
|
export type OnRenderedHook = (html: string, ssrContext: Record<string, any>) => string;
|
|
21
|
+
export type OnSetupHook = (fastify: FastifyInstance, options?: {
|
|
22
|
+
vite?: ViteDevServer;
|
|
23
|
+
}) => any;
|
|
20
24
|
export type OnSetupFile = URL;
|
|
21
|
-
export interface VitrifyConfig extends
|
|
25
|
+
export interface VitrifyConfig extends ViteUserConfig {
|
|
22
26
|
vitrify?: {
|
|
23
27
|
lang?: string;
|
|
24
28
|
/**
|
|
@@ -89,6 +93,10 @@ export interface VitrifyConfig extends UserConfig {
|
|
|
89
93
|
* Enables vite-plugin-pwa
|
|
90
94
|
*/
|
|
91
95
|
pwa?: Partial<VitePWAOptions>;
|
|
96
|
+
/**
|
|
97
|
+
* UnoCSS Configuration
|
|
98
|
+
*/
|
|
99
|
+
unocss?: UnoCSSUserConfig;
|
|
92
100
|
};
|
|
93
101
|
quasar?: QuasarConf;
|
|
94
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitrify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Stefan van Herwijnen",
|
|
6
6
|
"description": "Vite as your Full Stack development tool",
|
|
@@ -46,24 +46,28 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@fastify/middie": "^9.0.2",
|
|
48
48
|
"@fastify/static": "^8.0.3",
|
|
49
|
+
"@unocss/core": "^0.65.2",
|
|
50
|
+
"@unocss/preset-uno": "^0.65.3",
|
|
51
|
+
"@unocss/preset-wind": "^0.65.3",
|
|
49
52
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
50
53
|
"ajv": "^8.17.1",
|
|
54
|
+
"animated-unocss": "^0.0.6",
|
|
51
55
|
"cac": "^6.7.14",
|
|
52
56
|
"chalk": "^5.3.0",
|
|
53
|
-
"critters": "^0.0.25",
|
|
54
57
|
"cross-env": "^7.0.3",
|
|
55
58
|
"esbuild": "^0.24.0",
|
|
56
|
-
"fastify": "^5.
|
|
59
|
+
"fastify": "^5.2.0",
|
|
57
60
|
"glob": "^11.0.0",
|
|
58
61
|
"happy-dom": "^15.11.7",
|
|
59
62
|
"is-port-reachable": "^4.0.0",
|
|
60
|
-
"magic-string": "^0.30.
|
|
63
|
+
"magic-string": "^0.30.17",
|
|
61
64
|
"merge-deep": "^3.0.3",
|
|
62
65
|
"readline": "^1.3.0",
|
|
63
66
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
64
|
-
"sass": "1.
|
|
67
|
+
"sass": "1.83.0",
|
|
65
68
|
"ts-node": "^10.9.2",
|
|
66
|
-
"
|
|
69
|
+
"unocss": "^0.65.2",
|
|
70
|
+
"unplugin-vue-components": "^0.28.0",
|
|
67
71
|
"vite": "^6.0.3",
|
|
68
72
|
"vite-plugin-pwa": "^0.21.1",
|
|
69
73
|
"vitefu": "^1.0.4",
|
|
@@ -75,10 +79,13 @@
|
|
|
75
79
|
"@types/connect": "^3.4.38",
|
|
76
80
|
"@types/glob": "^8.1.0",
|
|
77
81
|
"@types/merge-deep": "^3.0.3",
|
|
78
|
-
"@types/node": "^22.10.
|
|
82
|
+
"@types/node": "^22.10.2",
|
|
79
83
|
"@types/ws": "^8.5.13",
|
|
80
84
|
"@vue/runtime-core": "^3.5.13",
|
|
81
|
-
"
|
|
85
|
+
"beasties": "^0.2.0",
|
|
86
|
+
"css": "^3.0.0",
|
|
87
|
+
"css-to-tailwind-translator": "^1.2.8",
|
|
88
|
+
"quasar": "^2.17.5",
|
|
82
89
|
"rollup": "^4.28.1",
|
|
83
90
|
"typescript": "^5.7.2",
|
|
84
91
|
"vue": "^3.5.13",
|
|
@@ -86,8 +93,8 @@
|
|
|
86
93
|
},
|
|
87
94
|
"peerDependencies": {
|
|
88
95
|
"@fastify/static": "^8.0.3",
|
|
89
|
-
"fastify": "^5.
|
|
90
|
-
"quasar": "^2.17.
|
|
96
|
+
"fastify": "^5.2.0",
|
|
97
|
+
"quasar": "^2.17.5",
|
|
91
98
|
"vue": "^3.5.13",
|
|
92
99
|
"vue-router": "^4.5.0"
|
|
93
100
|
},
|
|
@@ -24,9 +24,9 @@ export const prerender = async ({
|
|
|
24
24
|
const paths = routesToPaths(routes).filter(
|
|
25
25
|
(i) => !i.includes(':') && !i.includes('*')
|
|
26
26
|
)
|
|
27
|
-
const
|
|
27
|
+
const beasties = new (await import('beasties')).default({
|
|
28
28
|
path: outDir,
|
|
29
|
-
logLevel: '
|
|
29
|
+
logLevel: 'info',
|
|
30
30
|
external: true,
|
|
31
31
|
inlineFonts: true,
|
|
32
32
|
preloadFonts: true
|
|
@@ -59,7 +59,7 @@ export const prerender = async ({
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
html = await
|
|
62
|
+
html = await beasties.process(html)
|
|
63
63
|
|
|
64
64
|
promises.push(fs.writeFile(outDir + filename, html, 'utf-8'))
|
|
65
65
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FastifyInstance } from 'fastify'
|
|
2
2
|
import fastify from 'fastify'
|
|
3
|
-
import type { OnRenderedHook,
|
|
3
|
+
import type { OnRenderedHook, OnSetupHook } from '../../vitrify-config.js'
|
|
4
4
|
import type { FastifyCsrPlugin } from './fastify-csr-plugin.js'
|
|
5
5
|
import type { FastifySsrPlugin } from './fastify-ssr-plugin.js'
|
|
6
6
|
|
|
@@ -13,11 +13,11 @@ export const createApp = ({
|
|
|
13
13
|
vitrifyDir,
|
|
14
14
|
mode
|
|
15
15
|
}: {
|
|
16
|
-
onSetup:
|
|
16
|
+
onSetup: OnSetupHook[]
|
|
17
17
|
appDir: URL
|
|
18
18
|
baseUrl?: string
|
|
19
19
|
fastifyPlugin: FastifySsrPlugin | FastifyCsrPlugin
|
|
20
|
-
onRendered
|
|
20
|
+
onRendered?: OnRenderedHook[]
|
|
21
21
|
vitrifyDir?: URL
|
|
22
22
|
mode: string
|
|
23
23
|
}) => {
|
package/src/node/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import vuePlugin from '@vitejs/plugin-vue'
|
|
2
|
-
import type { Alias, InlineConfig, UserConfig } from 'vite'
|
|
2
|
+
import type { Alias, InlineConfig, UserConfig as ViteUserConfig } from 'vite'
|
|
3
3
|
import { findDepPkgJsonPath } from 'vitefu'
|
|
4
4
|
import { mergeConfig } from 'vite'
|
|
5
5
|
import { build } from 'esbuild'
|
|
@@ -32,6 +32,9 @@ import { addOrReplaceTitle, appendToBody } from './helpers/utils.js'
|
|
|
32
32
|
import type { ComponentResolver } from 'unplugin-vue-components'
|
|
33
33
|
import Components from 'unplugin-vue-components/vite'
|
|
34
34
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
35
|
+
import UnoCSS from 'unocss/vite'
|
|
36
|
+
|
|
37
|
+
import QuasarPreset from './plugins/quasar/unocss/index.js'
|
|
35
38
|
|
|
36
39
|
const internalServerModules = [
|
|
37
40
|
'util',
|
|
@@ -254,7 +257,12 @@ export const baseConfig = async ({
|
|
|
254
257
|
throw e
|
|
255
258
|
}
|
|
256
259
|
|
|
257
|
-
const localPackages = [
|
|
260
|
+
const localPackages = [
|
|
261
|
+
'vue',
|
|
262
|
+
'vue-router',
|
|
263
|
+
'@vue/server-renderer',
|
|
264
|
+
'@unocss/reset'
|
|
265
|
+
]
|
|
258
266
|
// const localPackages: string[] = []
|
|
259
267
|
const cliPackages = []
|
|
260
268
|
const packageUrls: Record<string, URL> =
|
|
@@ -323,7 +331,20 @@ export const baseConfig = async ({
|
|
|
323
331
|
...vitrifyConfig.vitrify.ssr.serverModules
|
|
324
332
|
]
|
|
325
333
|
|
|
326
|
-
const
|
|
334
|
+
const unoCssContentPipelineInclude = [
|
|
335
|
+
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/
|
|
336
|
+
]
|
|
337
|
+
if (
|
|
338
|
+
vitrifyConfig.vitrify?.unocss?.presets?.some(async (preset) => {
|
|
339
|
+
if (!Array.isArray(preset)) {
|
|
340
|
+
return (await preset).name === 'quasar'
|
|
341
|
+
}
|
|
342
|
+
})
|
|
343
|
+
) {
|
|
344
|
+
// unoCssContentPipelineInclude.push(/quasar\/src\/.*\.js/)
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
const plugins: ViteUserConfig['plugins'] = [
|
|
327
348
|
{
|
|
328
349
|
name: 'vitrify-transforms',
|
|
329
350
|
enforce: 'pre',
|
|
@@ -458,6 +479,14 @@ export const baseConfig = async ({
|
|
|
458
479
|
/[\\/]\.nuxt[\\/]/
|
|
459
480
|
],
|
|
460
481
|
resolvers
|
|
482
|
+
}),
|
|
483
|
+
UnoCSS({
|
|
484
|
+
...vitrifyConfig.vitrify?.unocss,
|
|
485
|
+
content: {
|
|
486
|
+
pipeline: {
|
|
487
|
+
include: unoCssContentPipelineInclude
|
|
488
|
+
}
|
|
489
|
+
}
|
|
461
490
|
})
|
|
462
491
|
]
|
|
463
492
|
if (isPwa) {
|
|
@@ -576,6 +605,10 @@ export const baseConfig = async ({
|
|
|
576
605
|
new URL('./dist/vue-router.esm-bundler.js', packageUrls['vue-router'])
|
|
577
606
|
)
|
|
578
607
|
},
|
|
608
|
+
{
|
|
609
|
+
find: new RegExp('@unocss/reset'),
|
|
610
|
+
replacement: fileURLToPath(new URL('./', packageUrls['@unocss/reset']))
|
|
611
|
+
},
|
|
579
612
|
...vuePkgAliases
|
|
580
613
|
]
|
|
581
614
|
if (mode === 'development' && vitrifyConfig.vitrify?.dev?.alias)
|
|
@@ -691,6 +724,7 @@ export const baseConfig = async ({
|
|
|
691
724
|
|
|
692
725
|
export const vitrifyDir = new URL('..', import.meta.url)
|
|
693
726
|
export { prerender } from './frameworks/vue/prerender.js'
|
|
727
|
+
export { QuasarPreset }
|
|
694
728
|
export type {
|
|
695
729
|
VitrifyConfig,
|
|
696
730
|
VitrifyConfigAsync,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { UserShortcuts } from '@unocss/core'
|
|
2
|
+
import type { QuasarTheme } from '../theme.js'
|
|
3
|
+
|
|
4
|
+
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
+
[
|
|
6
|
+
/^q-loading-bar$/,
|
|
7
|
+
([, c], { theme }) => `fixed z-9998 transition-transform bg-red`
|
|
8
|
+
],
|
|
9
|
+
[/^q-loading-bar--top$/, ([, c], { theme }) => `left-0 right-0 top-0 w-full`],
|
|
10
|
+
[
|
|
11
|
+
/^q-loading-bar--bottom$/,
|
|
12
|
+
([, c], { theme }) => `left-0 right-0 bottom-0 w-full`
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
/^q-loading-bar--right$/,
|
|
16
|
+
([, c], { theme }) => `top-0 bottom-0 right-0 h-full`
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
/^q-loading-bar--left$/,
|
|
20
|
+
([, c], { theme }) => `top-0 bottom-0 left-0 h-full`
|
|
21
|
+
]
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
export { shortcuts }
|