quasar 2.15.4 → 2.16.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/api/Brand.json +1 -1
- package/dist/api/QBreadcrumbs.json +1 -1
- package/dist/api/QBreadcrumbsEl.json +1 -1
- package/dist/api/QBtnDropdown.json +1 -1
- package/dist/api/QCarousel.json +1 -1
- package/dist/api/QCheckbox.json +1 -1
- package/dist/api/QCircularProgress.json +1 -1
- package/dist/api/QDialog.json +1 -1
- package/dist/api/QDrawer.json +1 -1
- package/dist/api/QEditor.json +1 -1
- package/dist/api/QExpansionItem.json +1 -1
- package/dist/api/QFab.json +1 -1
- package/dist/api/QFabAction.json +1 -1
- package/dist/api/QField.json +1 -1
- package/dist/api/QFile.json +1 -1
- package/dist/api/QImg.json +1 -1
- package/dist/api/QInnerLoading.json +1 -1
- package/dist/api/QInput.json +1 -1
- package/dist/api/QIntersection.json +1 -1
- package/dist/api/QItem.json +1 -1
- package/dist/api/QKnob.json +1 -1
- package/dist/api/QMenu.json +1 -1
- package/dist/api/QPage.json +1 -1
- package/dist/api/QPagination.json +1 -1
- package/dist/api/QParallax.json +1 -1
- package/dist/api/QPopupEdit.json +1 -1
- package/dist/api/QRadio.json +1 -1
- package/dist/api/QRange.json +1 -1
- package/dist/api/QRouteTab.json +1 -1
- package/dist/api/QSelect.json +1 -1
- package/dist/api/QSeparator.json +1 -1
- package/dist/api/QSkeleton.json +1 -1
- package/dist/api/QSlider.json +1 -1
- package/dist/api/QSpinner.json +1 -1
- package/dist/api/QSpinnerAudio.json +1 -1
- package/dist/api/QSpinnerBall.json +1 -1
- package/dist/api/QSpinnerBars.json +1 -1
- package/dist/api/QSpinnerBox.json +1 -1
- package/dist/api/QSpinnerClock.json +1 -1
- package/dist/api/QSpinnerComment.json +1 -1
- package/dist/api/QSpinnerCube.json +1 -1
- package/dist/api/QSpinnerDots.json +1 -1
- package/dist/api/QSpinnerFacebook.json +1 -1
- package/dist/api/QSpinnerGears.json +1 -1
- package/dist/api/QSpinnerGrid.json +1 -1
- package/dist/api/QSpinnerHearts.json +1 -1
- package/dist/api/QSpinnerHourglass.json +1 -1
- package/dist/api/QSpinnerInfinity.json +1 -1
- package/dist/api/QSpinnerIos.json +1 -1
- package/dist/api/QSpinnerOrbit.json +1 -1
- package/dist/api/QSpinnerOval.json +1 -1
- package/dist/api/QSpinnerPie.json +1 -1
- package/dist/api/QSpinnerPuff.json +1 -1
- package/dist/api/QSpinnerRadio.json +1 -1
- package/dist/api/QSpinnerRings.json +1 -1
- package/dist/api/QSpinnerTail.json +1 -1
- package/dist/api/QSplitter.json +1 -1
- package/dist/api/QStepper.json +1 -1
- package/dist/api/QTabPanels.json +1 -1
- package/dist/api/QTable.json +1 -1
- package/dist/api/QTimeline.json +1 -1
- package/dist/api/QToggle.json +1 -1
- package/dist/api/QTooltip.json +1 -1
- package/dist/api/QTree.json +1 -1
- package/dist/api/QVirtualScroll.json +1 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de-CH.umd.prod.js +1 -1
- package/dist/lang/de-DE.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hi.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/kk.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/mk.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms-MY.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tl.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/{quasar.esm.js → quasar.client.js} +333 -361
- package/dist/quasar.sass +1 -1
- package/dist/quasar.server.prod.cjs +127 -0
- package/dist/quasar.server.prod.js +127 -0
- package/dist/quasar.umd.js +333 -360
- package/dist/quasar.umd.prod.js +8 -8
- package/dist/transforms/api-list.json +1 -1
- package/dist/types/index.d.ts +191 -93
- package/dist/vetur/quasar-attributes.json +1 -1
- package/dist/vetur/quasar-tags.json +1 -1
- package/dist/web-types/web-types.json +1 -1
- package/icon-set/bootstrap-icons.js +3 -8
- package/icon-set/eva-icons.js +3 -8
- package/icon-set/fontawesome-v5-pro.js +1 -6
- package/icon-set/fontawesome-v5.js +1 -6
- package/icon-set/fontawesome-v6-pro.js +1 -6
- package/icon-set/fontawesome-v6.js +1 -6
- package/icon-set/ionicons-v4.js +3 -8
- package/icon-set/line-awesome.js +1 -6
- package/icon-set/material-icons-outlined.js +1 -6
- package/icon-set/material-icons-round.js +1 -6
- package/icon-set/material-icons-sharp.js +1 -6
- package/icon-set/material-icons.js +1 -6
- package/icon-set/material-symbols-outlined.js +1 -6
- package/icon-set/material-symbols-rounded.js +1 -6
- package/icon-set/material-symbols-sharp.js +1 -6
- package/icon-set/mdi-v3.js +1 -6
- package/icon-set/mdi-v4.js +1 -6
- package/icon-set/mdi-v5.js +1 -6
- package/icon-set/mdi-v6.js +1 -6
- package/icon-set/mdi-v7.js +1 -6
- package/icon-set/svg-bootstrap-icons.js +6 -6
- package/icon-set/svg-eva-icons.js +6 -6
- package/icon-set/svg-fontawesome-v5.js +3 -3
- package/icon-set/svg-fontawesome-v6.js +4 -5
- package/icon-set/svg-ionicons-v4.js +6 -6
- package/icon-set/svg-ionicons-v5.js +5 -5
- package/icon-set/svg-ionicons-v6.js +5 -5
- package/icon-set/svg-line-awesome.js +4 -5
- package/icon-set/svg-material-icons-outlined.js +4 -5
- package/icon-set/svg-material-icons-round.js +4 -5
- package/icon-set/svg-material-icons-sharp.js +4 -5
- package/icon-set/svg-material-icons.js +4 -5
- package/icon-set/svg-material-symbols-outlined.js +4 -4
- package/icon-set/svg-material-symbols-rounded.js +4 -4
- package/icon-set/svg-material-symbols-sharp.js +4 -4
- package/icon-set/svg-mdi-v6.js +4 -5
- package/icon-set/svg-mdi-v7.js +4 -4
- package/icon-set/svg-themify.js +6 -6
- package/icon-set/themify.js +3 -8
- package/lang/ar-TN.js +1 -6
- package/lang/ar.js +1 -6
- package/lang/az-Latn.js +1 -6
- package/lang/bg.js +1 -6
- package/lang/bn.js +1 -6
- package/lang/ca.js +1 -6
- package/lang/cs.js +1 -6
- package/lang/da.js +1 -6
- package/lang/de-CH.js +1 -6
- package/lang/de-DE.js +1 -6
- package/lang/de.js +1 -6
- package/lang/el.js +1 -6
- package/lang/en-GB.js +1 -6
- package/lang/en-US.js +1 -6
- package/lang/eo.js +1 -6
- package/lang/es.js +1 -6
- package/lang/et.js +1 -6
- package/lang/eu.js +1 -6
- package/lang/fa-IR.js +1 -6
- package/lang/fa.js +1 -6
- package/lang/fi.js +1 -6
- package/lang/fr.js +1 -6
- package/lang/gn.js +1 -6
- package/lang/he.js +1 -6
- package/lang/hi.js +1 -6
- package/lang/hr.js +1 -6
- package/lang/hu.js +1 -6
- package/lang/id.js +1 -6
- package/lang/is.js +1 -6
- package/lang/it.js +1 -6
- package/lang/ja.js +1 -6
- package/lang/kk.js +1 -6
- package/lang/km.js +1 -6
- package/lang/ko-KR.js +1 -6
- package/lang/kur-CKB.js +1 -6
- package/lang/lt.js +1 -6
- package/lang/lu.js +1 -6
- package/lang/lv.js +1 -6
- package/lang/mk.js +1 -6
- package/lang/ml.js +1 -6
- package/lang/mm.js +1 -6
- package/lang/ms-MY.js +1 -6
- package/lang/ms.js +1 -6
- package/lang/my.js +1 -6
- package/lang/nb-NO.js +1 -6
- package/lang/nl.js +1 -6
- package/lang/pl.js +1 -6
- package/lang/pt-BR.js +1 -6
- package/lang/pt.js +1 -6
- package/lang/ro.js +1 -6
- package/lang/ru.js +1 -6
- package/lang/sk.js +1 -6
- package/lang/sl.js +1 -6
- package/lang/sm.js +1 -6
- package/lang/sr-CYR.js +1 -6
- package/lang/sr.js +1 -6
- package/lang/sv.js +1 -6
- package/lang/ta.js +1 -6
- package/lang/th.js +1 -6
- package/lang/tl.js +1 -6
- package/lang/tr.js +1 -6
- package/lang/ug.js +1 -6
- package/lang/uk.js +1 -6
- package/lang/uz-Cyrl.js +1 -6
- package/lang/uz-Latn.js +1 -6
- package/lang/vi.js +1 -6
- package/lang/zh-CN.js +1 -6
- package/lang/zh-TW.js +1 -6
- package/package.json +19 -7
- package/src/components/avatar/QAvatar.test.js +0 -28
- package/src/components/badge/QBadge.test.js +0 -36
- package/src/components/banner/QBanner.test.js +0 -16
- package/src/components/bar/QBar.test.js +0 -8
- package/src/components/breadcrumbs/QBreadcrumbs.json +2 -1
- package/src/components/breadcrumbs/QBreadcrumbs.test.js +1 -21
- package/src/components/breadcrumbs/QBreadcrumbsEl.test.js +0 -51
- package/src/components/btn/QBtn.json +6 -1
- package/src/components/btn/QBtn.test.js +0 -143
- package/src/components/btn/use-btn.js +8 -4
- package/src/components/btn/use-btn.test.js +9 -1
- package/src/components/btn-dropdown/QBtnDropdown.js +3 -3
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -4
- package/src/components/btn-toggle/QBtnToggle.json +3 -1
- package/src/components/card/QCardActions.json +1 -0
- package/src/components/carousel/QCarousel.js +4 -3
- package/src/components/carousel/QCarousel.json +6 -3
- package/src/components/checkbox/use-checkbox.json +1 -1
- package/src/components/chip/QChip.test.js +0 -108
- package/src/components/circular-progress/QCircularProgress.json +0 -1
- package/src/components/color/QColor.json +1 -0
- package/src/components/date/QDate.js +8 -2
- package/src/components/date/QDate.json +1 -0
- package/src/components/date/use-datetime.js +1 -3
- package/src/components/dialog/QDialog.js +1 -2
- package/src/components/dialog/QDialog.json +11 -1
- package/src/components/dialog/QDialog.test.js +38 -160
- package/src/components/drawer/QDrawer.json +2 -2
- package/src/components/editor/QEditor.js +3 -8
- package/src/components/editor/QEditor.json +9 -2
- package/src/components/expansion-item/QExpansionItem.js +1 -1
- package/src/components/expansion-item/QExpansionItem.json +5 -6
- package/src/components/fab/QFab.js +1 -0
- package/src/components/fab/QFab.json +5 -4
- package/src/components/fab/QFabAction.json +2 -1
- package/src/components/fab/use-fab.json +2 -1
- package/src/components/field/QField.json +0 -39
- package/src/components/file/QFile.js +2 -2
- package/src/components/file/QFile.json +2 -7
- package/src/components/footer/QFooter.json +3 -1
- package/src/components/form/QForm.js +1 -1
- package/src/components/header/QHeader.json +3 -1
- package/src/components/img/QImg.json +1 -1
- package/src/components/infinite-scroll/QInfiniteScroll.js +7 -6
- package/src/components/inner-loading/QInnerLoading.js +1 -1
- package/src/components/inner-loading/QInnerLoading.json +1 -0
- package/src/components/input/QInput.js +2 -1
- package/src/components/input/QInput.json +7 -24
- package/src/components/intersection/QIntersection.json +1 -1
- package/src/components/item/QItem.json +3 -1
- package/src/components/knob/QKnob.json +11 -2
- package/src/components/menu/QMenu.js +2 -4
- package/src/components/menu/QMenu.json +3 -1
- package/src/components/option-group/QOptionGroup.js +1 -0
- package/src/components/page/QPage.json +1 -2
- package/src/components/page-scroller/QPageScroller.js +1 -0
- package/src/components/page-scroller/QPageScroller.json +4 -0
- package/src/components/page-sticky/QPageSticky.js +1 -1
- package/src/components/pagination/QPagination.json +7 -2
- package/src/components/parallax/QParallax.js +2 -4
- package/src/components/parallax/QParallax.json +1 -0
- package/src/components/popup-edit/QPopupEdit.json +2 -1
- package/src/components/pull-to-refresh/QPullToRefresh.js +2 -4
- package/src/components/radio/QRadio.json +2 -2
- package/src/components/range/QRange.json +1 -0
- package/src/components/scroll-observer/QScrollObserver.js +2 -4
- package/src/components/select/QSelect.js +7 -7
- package/src/components/select/QSelect.json +27 -16
- package/src/components/separator/QSeparator.json +0 -1
- package/src/components/skeleton/QSkeleton.json +1 -1
- package/src/components/slider/QSlider.json +1 -0
- package/src/components/slider/use-slider.js +0 -2
- package/src/components/spinner/QSpinner.json +1 -5
- package/src/components/spinner/QSpinner.test.js +79 -0
- package/src/components/spinner/QSpinnerAudio.test.js +59 -0
- package/src/components/spinner/QSpinnerBall.test.js +59 -0
- package/src/components/spinner/QSpinnerBars.test.js +59 -0
- package/src/components/spinner/QSpinnerBox.test.js +59 -0
- package/src/components/spinner/QSpinnerClock.test.js +59 -0
- package/src/components/spinner/QSpinnerComment.test.js +59 -0
- package/src/components/spinner/QSpinnerCube.test.js +59 -0
- package/src/components/spinner/QSpinnerDots.test.js +59 -0
- package/src/components/spinner/QSpinnerFacebook.test.js +59 -0
- package/src/components/spinner/QSpinnerGears.test.js +59 -0
- package/src/components/spinner/QSpinnerGrid.test.js +59 -0
- package/src/components/spinner/QSpinnerHearts.test.js +59 -0
- package/src/components/spinner/QSpinnerHourglass.test.js +59 -0
- package/src/components/spinner/QSpinnerInfinity.test.js +59 -0
- package/src/components/spinner/QSpinnerIos.test.js +59 -0
- package/src/components/spinner/QSpinnerOrbit.test.js +59 -0
- package/src/components/spinner/QSpinnerOval.test.js +59 -0
- package/src/components/spinner/QSpinnerPie.test.js +59 -0
- package/src/components/spinner/QSpinnerPuff.test.js +59 -0
- package/src/components/spinner/QSpinnerRadio.test.js +59 -0
- package/src/components/spinner/QSpinnerRings.test.js +59 -0
- package/src/components/spinner/QSpinnerTail.test.js +59 -0
- package/src/components/spinner/spinner.json +5 -0
- package/src/components/spinner/use-spinner.js +1 -1
- package/src/components/spinner/use-spinner.test.js +59 -0
- package/src/components/splitter/QSplitter.json +3 -3
- package/src/components/stepper/QStep.json +6 -0
- package/src/components/tab-panels/QTabPanels.json +6 -0
- package/src/components/table/QTable.js +6 -8
- package/src/components/table/QTable.json +13 -8
- package/src/components/table/QTh.json +4 -0
- package/src/components/tabs/QRouteTab.json +3 -2
- package/src/components/tabs/QTab.json +1 -65
- package/src/components/tabs/use-tab.json +72 -0
- package/src/components/time/QTime.js +6 -0
- package/src/components/time/QTime.json +2 -0
- package/src/components/timeline/QTimeline.json +2 -1
- package/src/components/toolbar/QToolbar.test.js +0 -4
- package/src/components/toolbar/QToolbarTitle.test.js +0 -4
- package/src/components/tooltip/QTooltip.js +6 -6
- package/src/components/tooltip/QTooltip.json +6 -15
- package/src/components/tree/QTree.js +1 -1
- package/src/components/tree/QTree.json +2 -1
- package/src/components/uploader/xhr-uploader-plugin.js +1 -3
- package/src/components/video/QVideo.test.js +0 -24
- package/src/components/virtual-scroll/QVirtualScroll.js +2 -4
- package/src/components/virtual-scroll/QVirtualScroll.json +0 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +2 -2
- package/src/components/virtual-scroll/use-virtual-scroll.json +1 -1
- package/src/composables/private.use-anchor/use-anchor-static.json +22 -0
- package/src/composables/private.use-anchor/use-anchor.js +13 -4
- package/src/composables/private.use-anchor/use-anchor.json +2 -19
- package/src/composables/private.use-field/use-field.js +6 -3
- package/src/composables/private.use-field/use-field.json +22 -0
- package/src/composables/private.use-fullscreen/use-fullscreen.json +10 -0
- package/src/composables/private.use-model-toggle/use-model-toggle.json +4 -2
- package/src/composables/private.use-panel/use-panel.json +3 -0
- package/src/composables/private.use-portal/use-portal.js +1 -1
- package/src/composables/private.use-router-link/use-router-link.js +15 -9
- package/src/composables/private.use-router-link/use-router-link.json +2 -0
- package/src/composables/private.use-validate/use-validate.json +1 -0
- package/src/composables/use-id/use-id.test.js +0 -1
- package/src/install-quasar.js +1 -1
- package/src/plugins/app-fullscreen/AppFullscreen.js +1 -1
- package/src/plugins/app-fullscreen/test/mock-fullscreen.js +1 -1
- package/src/plugins/bottom-sheet/BottomSheet.js +1 -1
- package/src/plugins/bottom-sheet/BottomSheet.json +1 -1
- package/src/plugins/dialog/Dialog.js +1 -1
- package/src/plugins/dialog/Dialog.json +1 -1
- package/src/plugins/icon-set/IconSet.js +1 -2
- package/src/plugins/icon-set/IconSet.test.js +2 -2
- package/src/plugins/lang/Lang.js +1 -2
- package/src/plugins/lang/Lang.test.js +2 -2
- package/src/plugins/loading/Loading.js +1 -1
- package/src/plugins/loading-bar/LoadingBar.js +1 -1
- package/src/plugins/notify/Notify.js +1 -1
- package/src/utils/{private.global/global-config.test.js → private.config/instance-config.test.js} +2 -2
- package/src/utils/{private.global/global-nodes.js → private.config/nodes.js} +1 -1
- package/src/utils/{private.global/global-nodes.test.js → private.config/nodes.test.js} +3 -3
- package/src/utils/{private.global/global-dialog.js → private.dialog/create-dialog.js} +1 -1
- package/src/utils/scroll/scroll.js +4 -0
- package/wrappers/{index.mjs → index.cjs} +15 -15
- package/wrappers/index.js +15 -15
- package/dist/quasar.cjs.prod.js +0 -127
- package/dist/quasar.esm.prod.js +0 -127
- package/dist/transforms/import-transformation.js +0 -9
- package/icon-set/bootstrap-icons.mjs +0 -136
- package/icon-set/eva-icons.mjs +0 -186
- package/icon-set/fontawesome-v5-pro.mjs +0 -128
- package/icon-set/fontawesome-v5.mjs +0 -128
- package/icon-set/fontawesome-v6-pro.mjs +0 -128
- package/icon-set/fontawesome-v6.mjs +0 -128
- package/icon-set/ionicons-v4.mjs +0 -180
- package/icon-set/line-awesome.mjs +0 -128
- package/icon-set/material-icons-outlined.mjs +0 -128
- package/icon-set/material-icons-round.mjs +0 -128
- package/icon-set/material-icons-sharp.mjs +0 -128
- package/icon-set/material-icons.mjs +0 -128
- package/icon-set/material-symbols-outlined.mjs +0 -128
- package/icon-set/material-symbols-rounded.mjs +0 -128
- package/icon-set/material-symbols-sharp.mjs +0 -128
- package/icon-set/mdi-v3.mjs +0 -141
- package/icon-set/mdi-v4.mjs +0 -141
- package/icon-set/mdi-v5.mjs +0 -141
- package/icon-set/mdi-v6.mjs +0 -141
- package/icon-set/mdi-v7.mjs +0 -141
- package/icon-set/svg-bootstrap-icons.mjs +0 -210
- package/icon-set/svg-eva-icons.mjs +0 -233
- package/icon-set/svg-fontawesome-v5.mjs +0 -197
- package/icon-set/svg-fontawesome-v6.mjs +0 -198
- package/icon-set/svg-ionicons-v4.mjs +0 -234
- package/icon-set/svg-ionicons-v5.mjs +0 -225
- package/icon-set/svg-ionicons-v6.mjs +0 -224
- package/icon-set/svg-line-awesome.mjs +0 -198
- package/icon-set/svg-material-icons-outlined.mjs +0 -203
- package/icon-set/svg-material-icons-round.mjs +0 -203
- package/icon-set/svg-material-icons-sharp.mjs +0 -203
- package/icon-set/svg-material-icons.mjs +0 -203
- package/icon-set/svg-material-symbols-outlined.mjs +0 -201
- package/icon-set/svg-material-symbols-rounded.mjs +0 -201
- package/icon-set/svg-material-symbols-sharp.mjs +0 -201
- package/icon-set/svg-mdi-v6.mjs +0 -225
- package/icon-set/svg-mdi-v7.mjs +0 -224
- package/icon-set/svg-themify.mjs +0 -231
- package/icon-set/themify.mjs +0 -169
- package/lang/ar-TN.mjs +0 -98
- package/lang/ar.mjs +0 -98
- package/lang/az-Latn.mjs +0 -93
- package/lang/bg.mjs +0 -93
- package/lang/bn.mjs +0 -93
- package/lang/ca.mjs +0 -93
- package/lang/cs.mjs +0 -104
- package/lang/da.mjs +0 -93
- package/lang/de-CH.mjs +0 -93
- package/lang/de-DE.mjs +0 -93
- package/lang/de.mjs +0 -93
- package/lang/el.mjs +0 -93
- package/lang/en-GB.mjs +0 -93
- package/lang/en-US.mjs +0 -93
- package/lang/eo.mjs +0 -93
- package/lang/es.mjs +0 -93
- package/lang/et.mjs +0 -93
- package/lang/eu.mjs +0 -93
- package/lang/fa-IR.mjs +0 -94
- package/lang/fa.mjs +0 -94
- package/lang/fi.mjs +0 -94
- package/lang/fr.mjs +0 -96
- package/lang/gn.mjs +0 -93
- package/lang/he.mjs +0 -94
- package/lang/hi.mjs +0 -93
- package/lang/hr.mjs +0 -93
- package/lang/hu.mjs +0 -93
- package/lang/id.mjs +0 -93
- package/lang/is.mjs +0 -93
- package/lang/it.mjs +0 -93
- package/lang/ja.mjs +0 -92
- package/lang/kk.mjs +0 -97
- package/lang/km.mjs +0 -93
- package/lang/ko-KR.mjs +0 -93
- package/lang/kur-CKB.mjs +0 -103
- package/lang/lt.mjs +0 -105
- package/lang/lu.mjs +0 -93
- package/lang/lv.mjs +0 -93
- package/lang/mk.mjs +0 -93
- package/lang/ml.mjs +0 -97
- package/lang/mm.mjs +0 -94
- package/lang/ms-MY.mjs +0 -96
- package/lang/ms.mjs +0 -93
- package/lang/my.mjs +0 -92
- package/lang/nb-NO.mjs +0 -94
- package/lang/nl.mjs +0 -93
- package/lang/pl.mjs +0 -93
- package/lang/pt-BR.mjs +0 -93
- package/lang/pt.mjs +0 -93
- package/lang/ro.mjs +0 -93
- package/lang/ru.mjs +0 -97
- package/lang/sk.mjs +0 -93
- package/lang/sl.mjs +0 -93
- package/lang/sm.mjs +0 -93
- package/lang/sr-CYR.mjs +0 -93
- package/lang/sr.mjs +0 -93
- package/lang/sv.mjs +0 -93
- package/lang/ta.mjs +0 -93
- package/lang/th.mjs +0 -93
- package/lang/tl.mjs +0 -93
- package/lang/tr.mjs +0 -89
- package/lang/ug.mjs +0 -93
- package/lang/uk.mjs +0 -97
- package/lang/uz-Cyrl.mjs +0 -95
- package/lang/uz-Latn.mjs +0 -99
- package/lang/vi.mjs +0 -93
- package/lang/zh-CN.mjs +0 -92
- package/lang/zh-TW.mjs +0 -92
- /package/src/utils/{private.global/global-config.js → private.config/instance-config.js} +0 -0
- /package/src/utils/{private.global/global-dialog.json → private.dialog/create-dialog.json} +0 -0
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"type": "String",
|
|
9
9
|
"desc": "Specify how to align the actions; For horizontal mode, the default is 'left', while for vertical mode, the default is 'stretch'",
|
|
10
10
|
"default": "# 'left'/'stretch'",
|
|
11
|
+
"__runtimeDefault": true,
|
|
11
12
|
"values": [ "'left'", "'center'", "'right'", "'between'", "'around'", "'evenly'", "'stretch'" ],
|
|
12
13
|
"category": "content"
|
|
13
14
|
},
|
|
@@ -87,6 +87,10 @@ export default createComponent({
|
|
|
87
87
|
|
|
88
88
|
const direction = computed(() => (props.vertical === true ? 'vertical' : 'horizontal'))
|
|
89
89
|
|
|
90
|
+
const navigationPosition = computed(() => props.navigationPosition
|
|
91
|
+
|| (props.vertical === true ? 'right' : 'bottom')
|
|
92
|
+
)
|
|
93
|
+
|
|
90
94
|
const classes = computed(() =>
|
|
91
95
|
`q-carousel q-panel-parent q-carousel--with${ props.padding === true ? '' : 'out' }-padding`
|
|
92
96
|
+ (inFullscreen.value === true ? ' fullscreen' : '')
|
|
@@ -108,9 +112,6 @@ export default createComponent({
|
|
|
108
112
|
|
|
109
113
|
const navIcon = computed(() => props.navigationIcon || $q.iconSet.carousel.navigationIcon)
|
|
110
114
|
const navActiveIcon = computed(() => props.navigationActiveIcon || navIcon.value)
|
|
111
|
-
const navigationPosition = computed(() => props.navigationPosition
|
|
112
|
-
|| (props.vertical === true ? 'right' : 'bottom')
|
|
113
|
-
)
|
|
114
115
|
|
|
115
116
|
const controlProps = computed(() => ({
|
|
116
117
|
color: props.controlColor,
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"type": "String",
|
|
36
36
|
"desc": "Type of button to use for controls (arrows, navigation)",
|
|
37
37
|
"values": [ "'regular'", "'flat'", "'outline'", "'push'", "'unelevated'" ],
|
|
38
|
+
"default": "'flat'",
|
|
38
39
|
"category": "style"
|
|
39
40
|
},
|
|
40
41
|
|
|
41
42
|
"autoplay": {
|
|
42
43
|
"type": [ "Number", "Boolean" ],
|
|
43
44
|
"desc": "Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals",
|
|
44
|
-
"default": "false",
|
|
45
45
|
"examples": [
|
|
46
46
|
"true",
|
|
47
47
|
"false",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"type": "String",
|
|
75
75
|
"desc": "Side to stick navigation to",
|
|
76
76
|
"default": "# 'bottom'/'right'",
|
|
77
|
+
"__runtimeDefault": true,
|
|
77
78
|
"values": [ "'top'", "'right'", "'bottom'", "'left'" ],
|
|
78
79
|
"category": "content"
|
|
79
80
|
},
|
|
@@ -94,11 +95,13 @@
|
|
|
94
95
|
},
|
|
95
96
|
|
|
96
97
|
"transition-prev": {
|
|
97
|
-
"default": "'fade'"
|
|
98
|
+
"default": "'fade'",
|
|
99
|
+
"__delete": [ "__runtimeDefault" ]
|
|
98
100
|
},
|
|
99
101
|
|
|
100
102
|
"transition-next": {
|
|
101
|
-
"default": "'fade'"
|
|
103
|
+
"default": "'fade'",
|
|
104
|
+
"__delete": [ "__runtimeDefault" ]
|
|
102
105
|
}
|
|
103
106
|
},
|
|
104
107
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"model-value": {
|
|
6
6
|
"extends": "model-value",
|
|
7
7
|
"type": [ "Any", "Array" ],
|
|
8
|
+
"default": "null",
|
|
8
9
|
"examples": [ "false", "[ 'car', 'building' ]" ]
|
|
9
10
|
},
|
|
10
11
|
|
|
@@ -42,7 +43,6 @@
|
|
|
42
43
|
"toggle-order": {
|
|
43
44
|
"type": "String",
|
|
44
45
|
"desc": "Determines toggle order of the two states ('t' stands for state of true, 'f' for state of false); If 'toggle-indeterminate' is true, then the order is: indet -> first state -> second state -> indet (and repeat), otherwise: indet -> first state -> second state -> first state -> second state -> ...",
|
|
45
|
-
"default": "'tf'",
|
|
46
46
|
"values": [ "'tf'", "'ft'" ],
|
|
47
47
|
"category": "behavior"
|
|
48
48
|
},
|
|
@@ -6,10 +6,6 @@ import QChip, { defaultSizes } from './QChip.js'
|
|
|
6
6
|
describe('[QChip API]', () => {
|
|
7
7
|
describe('[Props]', () => {
|
|
8
8
|
describe('[(prop)dense]', () => {
|
|
9
|
-
test('is defined correctly', () => {
|
|
10
|
-
expect(QChip.props.dense).toBeDefined()
|
|
11
|
-
})
|
|
12
|
-
|
|
13
9
|
test('type Boolean has effect', async () => {
|
|
14
10
|
const wrapper = mount(QChip)
|
|
15
11
|
const target = wrapper.get('.q-chip')
|
|
@@ -28,10 +24,6 @@ describe('[QChip API]', () => {
|
|
|
28
24
|
})
|
|
29
25
|
|
|
30
26
|
describe('[(prop)size]', () => {
|
|
31
|
-
test('is defined correctly', () => {
|
|
32
|
-
expect(QChip.props.size).toBeDefined()
|
|
33
|
-
})
|
|
34
|
-
|
|
35
27
|
test('type String has effect', async () => {
|
|
36
28
|
const wrapper = mount(QChip)
|
|
37
29
|
const target = wrapper.get('.q-chip')
|
|
@@ -56,10 +48,6 @@ describe('[QChip API]', () => {
|
|
|
56
48
|
})
|
|
57
49
|
|
|
58
50
|
describe('[(prop)dark]', () => {
|
|
59
|
-
test('is defined correctly', () => {
|
|
60
|
-
expect(QChip.props.dark).toBeDefined()
|
|
61
|
-
})
|
|
62
|
-
|
|
63
51
|
test('type Boolean has effect', async () => {
|
|
64
52
|
const wrapper = mount(QChip)
|
|
65
53
|
const target = wrapper.get('.q-chip')
|
|
@@ -94,10 +82,6 @@ describe('[QChip API]', () => {
|
|
|
94
82
|
})
|
|
95
83
|
|
|
96
84
|
describe('[(prop)icon]', () => {
|
|
97
|
-
test('is defined correctly', () => {
|
|
98
|
-
expect(QChip.props.icon).toBeDefined()
|
|
99
|
-
})
|
|
100
|
-
|
|
101
85
|
test('type String has effect', async () => {
|
|
102
86
|
const propVal = 'map'
|
|
103
87
|
const wrapper = mount(QChip)
|
|
@@ -116,10 +100,6 @@ describe('[QChip API]', () => {
|
|
|
116
100
|
})
|
|
117
101
|
|
|
118
102
|
describe('[(prop)icon-right]', () => {
|
|
119
|
-
test('is defined correctly', () => {
|
|
120
|
-
expect(QChip.props.iconRight).toBeDefined()
|
|
121
|
-
})
|
|
122
|
-
|
|
123
103
|
test('type String has effect', async () => {
|
|
124
104
|
const propVal = 'map'
|
|
125
105
|
const wrapper = mount(QChip)
|
|
@@ -138,10 +118,6 @@ describe('[QChip API]', () => {
|
|
|
138
118
|
})
|
|
139
119
|
|
|
140
120
|
describe('[(prop)icon-remove]', () => {
|
|
141
|
-
test('is defined correctly', () => {
|
|
142
|
-
expect(QChip.props.iconRemove).toBeDefined()
|
|
143
|
-
})
|
|
144
|
-
|
|
145
121
|
test('type String has effect', async () => {
|
|
146
122
|
const propVal = 'map'
|
|
147
123
|
const wrapper = mount(QChip)
|
|
@@ -164,10 +140,6 @@ describe('[QChip API]', () => {
|
|
|
164
140
|
})
|
|
165
141
|
|
|
166
142
|
describe('[(prop)icon-selected]', () => {
|
|
167
|
-
test('is defined correctly', () => {
|
|
168
|
-
expect(QChip.props.iconSelected).toBeDefined()
|
|
169
|
-
})
|
|
170
|
-
|
|
171
143
|
test('type String has effect', async () => {
|
|
172
144
|
const propVal = 'map'
|
|
173
145
|
const wrapper = mount(QChip)
|
|
@@ -191,10 +163,6 @@ describe('[QChip API]', () => {
|
|
|
191
163
|
})
|
|
192
164
|
|
|
193
165
|
describe('[(prop)label]', () => {
|
|
194
|
-
test('is defined correctly', () => {
|
|
195
|
-
expect(QChip.props.label).toBeDefined()
|
|
196
|
-
})
|
|
197
|
-
|
|
198
166
|
test.each([
|
|
199
167
|
[ 'String', 'John Doe' ],
|
|
200
168
|
[ 'Number', 22 ]
|
|
@@ -217,10 +185,6 @@ describe('[QChip API]', () => {
|
|
|
217
185
|
})
|
|
218
186
|
|
|
219
187
|
describe('[(prop)color]', () => {
|
|
220
|
-
test('is defined correctly', () => {
|
|
221
|
-
expect(QChip.props.color).toBeDefined()
|
|
222
|
-
})
|
|
223
|
-
|
|
224
188
|
test('with default design', async () => {
|
|
225
189
|
const propVal = 'red'
|
|
226
190
|
const wrapper = mount(QChip)
|
|
@@ -262,10 +226,6 @@ describe('[QChip API]', () => {
|
|
|
262
226
|
})
|
|
263
227
|
|
|
264
228
|
describe('[(prop)text-color]', () => {
|
|
265
|
-
test('is defined correctly', () => {
|
|
266
|
-
expect(QChip.props.textColor).toBeDefined()
|
|
267
|
-
})
|
|
268
|
-
|
|
269
229
|
test('with default design', async () => {
|
|
270
230
|
const propVal = 'red'
|
|
271
231
|
const wrapper = mount(QChip)
|
|
@@ -368,10 +328,6 @@ describe('[QChip API]', () => {
|
|
|
368
328
|
})
|
|
369
329
|
|
|
370
330
|
describe('[(prop)model-value]', () => {
|
|
371
|
-
test('is defined correctly', () => {
|
|
372
|
-
expect(QChip.props.modelValue).toBeDefined()
|
|
373
|
-
})
|
|
374
|
-
|
|
375
331
|
test('type Boolean has effect', async () => {
|
|
376
332
|
const wrapper = mount(QChip, {
|
|
377
333
|
props: {
|
|
@@ -394,10 +350,6 @@ describe('[QChip API]', () => {
|
|
|
394
350
|
})
|
|
395
351
|
|
|
396
352
|
describe('[(prop)selected]', () => {
|
|
397
|
-
test('is defined correctly', () => {
|
|
398
|
-
expect(QChip.props.selected).toBeDefined()
|
|
399
|
-
})
|
|
400
|
-
|
|
401
353
|
test('type Boolean has effect', async () => {
|
|
402
354
|
const wrapper = mount(QChip)
|
|
403
355
|
const target = wrapper.get('.q-chip')
|
|
@@ -438,10 +390,6 @@ describe('[QChip API]', () => {
|
|
|
438
390
|
})
|
|
439
391
|
|
|
440
392
|
describe('[(prop)square]', () => {
|
|
441
|
-
test('is defined correctly', () => {
|
|
442
|
-
expect(QChip.props.square).toBeDefined()
|
|
443
|
-
})
|
|
444
|
-
|
|
445
393
|
test('type Boolean has effect', async () => {
|
|
446
394
|
const wrapper = mount(QChip)
|
|
447
395
|
const target = wrapper.get('.q-chip')
|
|
@@ -464,10 +412,6 @@ describe('[QChip API]', () => {
|
|
|
464
412
|
})
|
|
465
413
|
|
|
466
414
|
describe('[(prop)outline]', () => {
|
|
467
|
-
test('is defined correctly', () => {
|
|
468
|
-
expect(QChip.props.outline).toBeDefined()
|
|
469
|
-
})
|
|
470
|
-
|
|
471
415
|
test('type Boolean has effect', async () => {
|
|
472
416
|
const wrapper = mount(QChip)
|
|
473
417
|
const target = wrapper.get('.q-chip')
|
|
@@ -486,10 +430,6 @@ describe('[QChip API]', () => {
|
|
|
486
430
|
})
|
|
487
431
|
|
|
488
432
|
describe('[(prop)clickable]', () => {
|
|
489
|
-
test('is defined correctly', () => {
|
|
490
|
-
expect(QChip.props.clickable).toBeDefined()
|
|
491
|
-
})
|
|
492
|
-
|
|
493
433
|
test('type Boolean has effect', async () => {
|
|
494
434
|
const wrapper = mount(QChip)
|
|
495
435
|
const target = wrapper.get('.q-chip')
|
|
@@ -512,10 +452,6 @@ describe('[QChip API]', () => {
|
|
|
512
452
|
})
|
|
513
453
|
|
|
514
454
|
describe('[(prop)removable]', () => {
|
|
515
|
-
test('is defined correctly', () => {
|
|
516
|
-
expect(QChip.props.removable).toBeDefined()
|
|
517
|
-
})
|
|
518
|
-
|
|
519
455
|
test('type Boolean has effect', async () => {
|
|
520
456
|
const wrapper = mount(QChip)
|
|
521
457
|
|
|
@@ -535,10 +471,6 @@ describe('[QChip API]', () => {
|
|
|
535
471
|
})
|
|
536
472
|
|
|
537
473
|
describe('[(prop)ripple]', () => {
|
|
538
|
-
test('is defined correctly', () => {
|
|
539
|
-
expect(QChip.props.ripple).toBeDefined()
|
|
540
|
-
})
|
|
541
|
-
|
|
542
474
|
test('type Boolean has effect', async () => {
|
|
543
475
|
const wrapper = mount(QChip)
|
|
544
476
|
|
|
@@ -580,10 +512,6 @@ describe('[QChip API]', () => {
|
|
|
580
512
|
})
|
|
581
513
|
|
|
582
514
|
describe('[(prop)remove-aria-label]', () => {
|
|
583
|
-
test('is defined correctly', () => {
|
|
584
|
-
expect(QChip.props.removeAriaLabel).toBeDefined()
|
|
585
|
-
})
|
|
586
|
-
|
|
587
515
|
test('type String has effect', async () => {
|
|
588
516
|
const propVal = 'Remove item'
|
|
589
517
|
const wrapper = mount(QChip, {
|
|
@@ -612,10 +540,6 @@ describe('[QChip API]', () => {
|
|
|
612
540
|
})
|
|
613
541
|
|
|
614
542
|
describe('[(prop)tabindex]', () => {
|
|
615
|
-
test('is defined correctly', () => {
|
|
616
|
-
expect(QChip.props.tabindex).toBeDefined()
|
|
617
|
-
})
|
|
618
|
-
|
|
619
543
|
test.each([
|
|
620
544
|
[ 'Number', 100 ],
|
|
621
545
|
[ 'String', '100' ]
|
|
@@ -677,10 +601,6 @@ describe('[QChip API]', () => {
|
|
|
677
601
|
})
|
|
678
602
|
|
|
679
603
|
describe('[(prop)disable]', () => {
|
|
680
|
-
test('is defined correctly', () => {
|
|
681
|
-
expect(QChip.props.disable).toBeDefined()
|
|
682
|
-
})
|
|
683
|
-
|
|
684
604
|
test('type Boolean has effect', async () => {
|
|
685
605
|
const wrapper = mount(QChip)
|
|
686
606
|
|
|
@@ -715,13 +635,6 @@ describe('[QChip API]', () => {
|
|
|
715
635
|
|
|
716
636
|
describe('[Events]', () => {
|
|
717
637
|
describe('[(event)click]', () => {
|
|
718
|
-
test('is defined correctly', () => {
|
|
719
|
-
expect(
|
|
720
|
-
QChip.emits?.includes('click')
|
|
721
|
-
^ (QChip.props?.onClick !== void 0)
|
|
722
|
-
).toBe(1)
|
|
723
|
-
})
|
|
724
|
-
|
|
725
638
|
test('is emitting when clickable', async () => {
|
|
726
639
|
const wrapper = mount(QChip, {
|
|
727
640
|
props: {
|
|
@@ -795,13 +708,6 @@ describe('[QChip API]', () => {
|
|
|
795
708
|
})
|
|
796
709
|
|
|
797
710
|
describe('[(event)update:selected]', () => {
|
|
798
|
-
test('is defined correctly', () => {
|
|
799
|
-
expect(
|
|
800
|
-
QChip.emits?.includes('update:selected')
|
|
801
|
-
^ (QChip.props?.[ 'onUpdate:selected' ] !== void 0)
|
|
802
|
-
).toBe(1)
|
|
803
|
-
})
|
|
804
|
-
|
|
805
711
|
test('is emitting', async () => {
|
|
806
712
|
const wrapper = mount(QChip, {
|
|
807
713
|
props: {
|
|
@@ -843,13 +749,6 @@ describe('[QChip API]', () => {
|
|
|
843
749
|
})
|
|
844
750
|
|
|
845
751
|
describe('[(event)remove]', () => {
|
|
846
|
-
test('is defined correctly', () => {
|
|
847
|
-
expect(
|
|
848
|
-
QChip.emits?.includes('remove')
|
|
849
|
-
^ (QChip.props?.onRemove !== void 0)
|
|
850
|
-
).toBe(1)
|
|
851
|
-
})
|
|
852
|
-
|
|
853
752
|
test('is emitting', async () => {
|
|
854
753
|
const wrapper = mount(QChip, {
|
|
855
754
|
props: {
|
|
@@ -869,13 +768,6 @@ describe('[QChip API]', () => {
|
|
|
869
768
|
})
|
|
870
769
|
|
|
871
770
|
describe('[(event)update:model-value]', () => {
|
|
872
|
-
test('is defined correctly', () => {
|
|
873
|
-
expect(
|
|
874
|
-
QChip.emits?.includes('update:modelValue')
|
|
875
|
-
^ (QChip.props?.[ 'onUpdate:modelValue' ] !== void 0)
|
|
876
|
-
).toBe(1)
|
|
877
|
-
})
|
|
878
|
-
|
|
879
771
|
test('is emitting', async () => {
|
|
880
772
|
const wrapper = mount(QChip, {
|
|
881
773
|
props: {
|
|
@@ -32,6 +32,11 @@ export default createComponent({
|
|
|
32
32
|
...useFormProps,
|
|
33
33
|
...useDarkProps,
|
|
34
34
|
|
|
35
|
+
modelValue: {
|
|
36
|
+
required: true,
|
|
37
|
+
validator: val => (typeof val === 'string' || Array.isArray(val) === true || Object(val) === val || val === null)
|
|
38
|
+
},
|
|
39
|
+
|
|
35
40
|
multiple: Boolean,
|
|
36
41
|
range: Boolean,
|
|
37
42
|
|
|
@@ -39,6 +44,7 @@ export default createComponent({
|
|
|
39
44
|
subtitle: String,
|
|
40
45
|
|
|
41
46
|
mask: {
|
|
47
|
+
...useDatetimeProps.mask,
|
|
42
48
|
// this mask is forced
|
|
43
49
|
// when using persian calendar
|
|
44
50
|
default: 'YYYY/MM/DD'
|
|
@@ -112,7 +118,7 @@ export default createComponent({
|
|
|
112
118
|
|
|
113
119
|
const view = ref(props.defaultView)
|
|
114
120
|
|
|
115
|
-
const direction = $q.lang.rtl === true ? 'right' : 'left'
|
|
121
|
+
const direction = computed(() => ($q.lang.rtl === true ? 'right' : 'left'))
|
|
116
122
|
const monthDirection = ref(direction.value)
|
|
117
123
|
const yearDirection = ref(direction.value)
|
|
118
124
|
|
|
@@ -931,7 +937,7 @@ export default createComponent({
|
|
|
931
937
|
const newHash = year + '/' + pad(month) + '/01'
|
|
932
938
|
|
|
933
939
|
if (newHash !== viewModel.value.dateHash) {
|
|
934
|
-
monthDirection.value = (viewModel.value.dateHash < newHash) ===
|
|
940
|
+
monthDirection.value = (viewModel.value.dateHash < newHash) === direction.value
|
|
935
941
|
if (year !== viewModel.value.year) {
|
|
936
942
|
yearDirection.value = monthDirection.value
|
|
937
943
|
}
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
"type": [ "String", "Number" ],
|
|
148
148
|
"desc": "Sets the day of the week that is considered the first day (0 - Sunday, 1 - Monday, ...); This day will show in the left-most column of the calendar",
|
|
149
149
|
"default": "# based on configured Quasar lang language",
|
|
150
|
+
"__runtimeDefault": true,
|
|
150
151
|
"examples": [
|
|
151
152
|
"1",
|
|
152
153
|
"# first-day-of-week=\"1\"",
|
|
@@ -69,8 +69,7 @@ export default createComponent({
|
|
|
69
69
|
position: {
|
|
70
70
|
type: String,
|
|
71
71
|
default: 'standard',
|
|
72
|
-
validator: val =>
|
|
73
|
-
|| [ 'top', 'bottom', 'left', 'right' ].includes(val)
|
|
72
|
+
validator: val => [ 'standard', 'top', 'bottom', 'left', 'right' ].includes(val)
|
|
74
73
|
}
|
|
75
74
|
},
|
|
76
75
|
|
|
@@ -117,6 +117,14 @@
|
|
|
117
117
|
"desc": "Allow elements outside of the Dialog to be focusable; By default, for accessibility reasons, QDialog does not allow outer focus",
|
|
118
118
|
"category": "behavior",
|
|
119
119
|
"addedIn": "v2.7.2"
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
"transition-show": {
|
|
123
|
+
"__runtimeDefault": true
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
"transition-hide": {
|
|
127
|
+
"__runtimeDefault": true
|
|
120
128
|
}
|
|
121
129
|
},
|
|
122
130
|
|
|
@@ -127,7 +135,9 @@
|
|
|
127
135
|
|
|
128
136
|
"escape-key": {
|
|
129
137
|
"desc": "Emitted when ESC key is pressed; Does not get emitted if Dialog is 'persistent' or it has 'no-esc-key' set"
|
|
130
|
-
}
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
"click": { "internal": true }
|
|
131
141
|
},
|
|
132
142
|
|
|
133
143
|
"methods": {
|