quasar 2.9.2 → 2.10.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/Dialog.json +25 -68
- package/dist/api/Intersection.json +25 -100
- package/dist/api/Loading.json +5 -20
- package/dist/api/LoadingBar.json +1 -7
- package/dist/api/LocalStorage.json +4 -16
- package/dist/api/Morph.json +2 -14
- package/dist/api/Notify.json +0 -3
- package/dist/api/Platform.json +1 -4
- package/dist/api/QAjaxBar.json +1 -11
- package/dist/api/QBreadcrumbs.json +0 -8
- package/dist/api/QBreadcrumbsEl.json +0 -14
- package/dist/api/QBtn.json +0 -3
- package/dist/api/QBtnDropdown.json +32 -8
- package/dist/api/QCarousel.json +0 -10
- package/dist/api/QCarouselControl.json +0 -3
- package/dist/api/QCircularProgress.json +0 -23
- package/dist/api/QColor.json +0 -3
- package/dist/api/QDialog.json +18 -9
- package/dist/api/QDrawer.json +0 -6
- package/dist/api/QExpansionItem.json +0 -3
- package/dist/api/QFab.json +1 -6
- package/dist/api/QFabAction.json +1 -3
- package/dist/api/QField.json +1 -6
- package/dist/api/QFile.json +12 -29
- package/dist/api/QFooter.json +0 -3
- package/dist/api/QHeader.json +0 -6
- package/dist/api/QInfiniteScroll.json +9 -16
- package/dist/api/QInnerLoading.json +0 -4
- package/dist/api/QInput.json +8 -15
- package/dist/api/QIntersection.json +0 -4
- package/dist/api/QItemLabel.json +0 -5
- package/dist/api/QKnob.json +3 -36
- package/dist/api/QLayout.json +6 -24
- package/dist/api/QLinearProgress.json +0 -6
- package/dist/api/QList.json +15 -0
- package/dist/api/QMenu.json +7 -12
- package/dist/api/QOptionGroup.json +0 -3
- package/dist/api/QPage.json +2 -8
- package/dist/api/QPageScroller.json +0 -9
- package/dist/api/QPageSticky.json +0 -3
- package/dist/api/QPagination.json +138 -127
- package/dist/api/QParallax.json +2 -14
- package/dist/api/QPopupEdit.json +0 -8
- package/dist/api/QPopupProxy.json +0 -4
- package/dist/api/QRange.json +5 -32
- package/dist/api/QRating.json +0 -4
- package/dist/api/QResizeObserver.json +2 -8
- package/dist/api/QScrollArea.json +8 -36
- package/dist/api/QScrollObserver.json +6 -24
- package/dist/api/QSelect.json +18 -108
- package/dist/api/QSlideItem.json +1 -6
- package/dist/api/QSlideTransition.json +0 -4
- package/dist/api/QSlider.json +3 -24
- package/dist/api/QSpinner.json +0 -4
- package/dist/api/QSplitter.json +1 -4
- package/dist/api/QStepper.json +0 -7
- package/dist/api/QTabPanels.json +0 -7
- package/dist/api/QTable.json +43 -191
- package/dist/api/QTabs.json +1 -7
- package/dist/api/QTime.json +3 -12
- package/dist/api/QTooltip.json +7 -18
- package/dist/api/QTree.json +0 -3
- package/dist/api/QUploader.json +5 -16
- package/dist/api/QVirtualScroll.json +11 -56
- package/dist/api/Screen.json +9 -36
- package/dist/api/Scroll.json +2 -8
- package/dist/api/SessionStorage.json +4 -16
- package/dist/api/TouchHold.json +3 -12
- package/dist/api/TouchPan.json +7 -28
- package/dist/api/TouchRepeat.json +6 -24
- package/dist/api/TouchSwipe.json +3 -12
- 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/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-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.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/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/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/kz.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/ml.umd.prod.js +1 -1
- package/dist/lang/mm.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/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.cjs.prod.js +2 -2
- package/dist/quasar.css +12 -2
- package/dist/quasar.esm.js +603 -445
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +28 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +13 -3
- package/dist/quasar.umd.js +603 -445
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/transforms/auto-import.json +7 -3
- package/dist/transforms/import-map.json +2 -0
- package/dist/types/index.d.ts +116 -106
- package/dist/vetur/quasar-attributes.json +65 -49
- package/dist/vetur/quasar-tags.json +18 -14
- package/dist/web-types/web-types.json +261 -222
- package/package.json +3 -3
- package/src/api.extends.json +1 -2
- package/src/components/ajax-bar/QAjaxBar.json +5 -11
- package/src/components/badge/QBadge.js +1 -1
- package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -6
- package/src/components/breadcrumbs/__tests__/BasicBreadcrumbs.vue +7 -0
- package/src/components/breadcrumbs/__tests__/BreadcrumbWithSeparatorSlot.vue +11 -0
- package/src/components/breadcrumbs/__tests__/QBreadcrumbs.spec.js +112 -0
- package/src/components/breadcrumbs/__tests__/QBreadcrumbsEl.spec.js +87 -0
- package/src/components/btn/QBtn.json +1 -3
- package/src/components/btn/__tests__/QBtn.spec.js +87 -14
- package/src/components/btn/__tests__/use-btn.spec.js +385 -58
- package/src/components/btn/use-btn.js +24 -14
- package/src/components/btn-dropdown/QBtnDropdown.js +34 -18
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -3
- package/src/components/btn-toggle/QBtnToggle.js +14 -14
- package/src/components/btn-toggle/QBtnToggle.json +2 -4
- package/src/components/carousel/QCarousel.json +4 -9
- package/src/components/carousel/QCarouselControl.json +0 -1
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/checkbox/use-checkbox.json +1 -2
- package/src/components/chip/QChip.js +14 -11
- package/src/components/circular-progress/QCircularProgress.json +0 -5
- package/src/components/color/QColor.json +0 -1
- package/src/components/date/QDate.js +3 -3
- package/src/components/date/QDate.json +28 -56
- package/src/components/dialog/QDialog.js +32 -41
- package/src/components/dialog/QDialog.json +9 -2
- package/src/components/dialog-bottom-sheet/BottomSheet.js +7 -4
- package/src/components/dialog-plugin/DialogPlugin.js +4 -4
- package/src/components/drawer/QDrawer.js +10 -8
- package/src/components/drawer/QDrawer.json +0 -4
- package/src/components/editor/QEditor.json +3 -6
- package/src/components/expansion-item/QExpansionItem.js +3 -3
- package/src/components/expansion-item/QExpansionItem.json +3 -8
- package/src/components/fab/QFab.json +0 -1
- package/src/components/fab/use-fab.json +0 -1
- package/src/components/field/QField.json +0 -1
- package/src/components/file/QFile.js +4 -1
- package/src/components/file/QFile.json +19 -20
- package/src/components/footer/QFooter.js +5 -3
- package/src/components/footer/QFooter.json +0 -1
- package/src/components/form/QForm.js +5 -3
- package/src/components/form/QForm.json +2 -4
- package/src/components/header/QHeader.js +5 -3
- package/src/components/header/QHeader.json +0 -4
- package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
- package/src/components/inner-loading/QInnerLoading.js +2 -5
- package/src/components/input/QInput.js +4 -1
- package/src/components/input/QInput.json +11 -7
- package/src/components/input/use-mask.js +2 -2
- package/src/components/intersection/QIntersection.json +0 -1
- package/src/components/item/QItem.js +1 -0
- package/src/components/item/QItem.json +1 -2
- package/src/components/item/QItemLabel.json +0 -1
- package/src/components/item/QList.js +7 -2
- package/src/components/item/QList.json +7 -0
- package/src/components/knob/QKnob.js +3 -3
- package/src/components/knob/QKnob.json +3 -12
- package/src/components/layout/QLayout.js +1 -1
- package/src/components/layout/QLayout.json +6 -12
- package/src/components/linear-progress/QLinearProgress.json +0 -2
- package/src/components/menu/QMenu.js +8 -5
- package/src/components/menu/QMenu.json +0 -2
- package/src/components/option-group/QOptionGroup.js +1 -1
- package/src/components/option-group/QOptionGroup.json +2 -5
- package/src/components/page/QPage.js +11 -4
- package/src/components/page/QPage.json +3 -6
- package/src/components/page/QPageContainer.js +5 -3
- package/src/components/page-scroller/QPageScroller.json +0 -2
- package/src/components/page-sticky/QPageSticky.json +0 -1
- package/src/components/page-sticky/use-page-sticky.js +5 -3
- package/src/components/pagination/QPagination.js +265 -188
- package/src/components/pagination/QPagination.json +87 -78
- package/src/components/pagination/QPagination.sass +14 -0
- package/src/components/parallax/QParallax.json +2 -6
- package/src/components/popup-edit/QPopupEdit.js +3 -3
- package/src/components/popup-edit/QPopupEdit.json +4 -10
- package/src/components/popup-proxy/QPopupProxy.json +0 -1
- package/src/components/radio/QRadio.json +1 -2
- package/src/components/range/QRange.json +2 -4
- package/src/components/rating/QRating.json +0 -1
- package/src/components/resize-observer/QResizeObserver.js +14 -10
- package/src/components/resize-observer/QResizeObserver.json +2 -4
- package/src/components/scroll-area/QScrollArea.js +15 -4
- package/src/components/scroll-area/QScrollArea.json +24 -50
- package/src/components/scroll-observer/QScrollObserver.js +2 -0
- package/src/components/scroll-observer/QScrollObserver.json +6 -12
- package/src/components/select/QSelect.js +20 -24
- package/src/components/select/QSelect.json +30 -65
- package/src/components/select/QSelect.sass +2 -2
- package/src/components/slide-item/QSlideItem.json +1 -2
- package/src/components/slide-transition/QSlideTransition.json +0 -1
- package/src/components/slider/use-slider.json +33 -70
- package/src/components/spinner/QSpinner.json +0 -1
- package/src/components/splitter/QSplitter.json +1 -2
- package/src/components/stepper/QStep.js +7 -5
- package/src/components/tab-panels/QTabPanel.js +1 -1
- package/src/components/table/QTable.js +3 -3
- package/src/components/table/QTable.json +118 -239
- package/src/components/tabs/QRouteTab.json +0 -1
- package/src/components/tabs/QTabs.js +0 -7
- package/src/components/tabs/QTabs.json +1 -3
- package/src/components/tabs/use-tab.js +5 -3
- package/src/components/time/QTime.json +10 -20
- package/src/components/timeline/QTimelineEntry.js +5 -3
- package/src/components/toolbar/QToolbar.js +1 -1
- package/src/components/tooltip/QTooltip.js +3 -6
- package/src/components/tooltip/QTooltip.json +0 -4
- package/src/components/tree/QTree.js +6 -6
- package/src/components/tree/QTree.json +15 -31
- package/src/components/uploader/QUploader.json +13 -22
- package/src/components/uploader/QUploaderAddTrigger.js +7 -3
- package/src/components/uploader/xhr-uploader-plugin.js +1 -1
- package/src/components/uploader/xhr-uploader-plugin.json +25 -50
- package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
- package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
- package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
- package/src/composables/private/use-field.js +1 -1
- package/src/composables/private/use-field.json +2 -3
- package/src/composables/private/use-file.js +10 -1
- package/src/composables/private/use-file.json +4 -13
- package/src/composables/private/use-model-toggle.js +3 -3
- package/src/composables/private/use-panel.js +2 -2
- package/src/composables/private/use-panel.json +0 -2
- package/src/composables/private/use-portal.js +5 -1
- package/src/composables/private/use-portal.json +7 -1
- package/src/composables/private/use-transition.js +17 -11
- package/src/composables/private/use-transition.json +0 -1
- package/src/composables/private/use-validate.json +1 -3
- package/src/directives/Intersection.json +26 -53
- package/src/directives/Morph.json +4 -8
- package/src/directives/Mutation.json +6 -12
- package/src/directives/Scroll.json +2 -4
- package/src/directives/TouchHold.json +3 -6
- package/src/directives/TouchPan.json +7 -14
- package/src/directives/TouchRepeat.json +6 -12
- package/src/directives/TouchSwipe.json +3 -6
- package/src/plugins/BottomSheet.json +1 -2
- package/src/plugins/Cookies.json +2 -4
- package/src/plugins/Dialog.json +32 -72
- package/src/plugins/Loading.json +6 -11
- package/src/plugins/LoadingBar.json +3 -6
- package/src/plugins/Notify.json +4 -5
- package/src/plugins/Platform.json +3 -6
- package/src/plugins/Screen.json +9 -18
- package/src/utils/private/global-dialog.json +6 -12
- package/src/utils/private/portal.js +4 -4
- package/src/utils/private/symbols.js +2 -0
- package/src/utils/private/web-storage.json +6 -10
|
@@ -148,8 +148,7 @@
|
|
|
148
148
|
"ratio": {
|
|
149
149
|
"type": "Number",
|
|
150
150
|
"required": true,
|
|
151
|
-
"desc": "Ratio of how much of the required slide was performed (0
|
|
152
|
-
"examples": [ 0, 0.5, 1 ]
|
|
151
|
+
"desc": "Ratio of how much of the required slide was performed (0 <= x <= 1)"
|
|
153
152
|
},
|
|
154
153
|
"isReset": {
|
|
155
154
|
"type": "Boolean",
|
|
@@ -14,14 +14,12 @@
|
|
|
14
14
|
"type": "Number",
|
|
15
15
|
"desc": "Maximum value of the model; Set track's maximum value",
|
|
16
16
|
"default": 100,
|
|
17
|
-
"examples": [ ":max=\"100\"" ],
|
|
18
17
|
"category": "model"
|
|
19
18
|
},
|
|
20
19
|
|
|
21
20
|
"inner-min": {
|
|
22
21
|
"type": "Number",
|
|
23
22
|
"desc": "Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop",
|
|
24
|
-
"examples": [ ":inner-min=\"0\"" ],
|
|
25
23
|
"category": "model",
|
|
26
24
|
"addedIn": "v2.4"
|
|
27
25
|
},
|
|
@@ -29,7 +27,6 @@
|
|
|
29
27
|
"inner-max": {
|
|
30
28
|
"type": "Number",
|
|
31
29
|
"desc": "Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop",
|
|
32
|
-
"examples": [ ":inner-max=\"100\"" ],
|
|
33
30
|
"category": "model",
|
|
34
31
|
"addedIn": "v2.4"
|
|
35
32
|
},
|
|
@@ -38,7 +35,6 @@
|
|
|
38
35
|
"type": "Number",
|
|
39
36
|
"desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
|
|
40
37
|
"default": 1,
|
|
41
|
-
"examples": [ ":step=\"1\"" ],
|
|
42
38
|
"category": "model"
|
|
43
39
|
},
|
|
44
40
|
|
|
@@ -154,13 +150,11 @@
|
|
|
154
150
|
"value": {
|
|
155
151
|
"type": "Number",
|
|
156
152
|
"required": true,
|
|
157
|
-
"desc": "Value of equivalent model where to position the marker"
|
|
158
|
-
"__exemption": [ "examples" ]
|
|
153
|
+
"desc": "Value of equivalent model where to position the marker"
|
|
159
154
|
},
|
|
160
155
|
"label": {
|
|
161
156
|
"type": [ "Number", "String" ],
|
|
162
|
-
"desc": "Label to use"
|
|
163
|
-
"__exemption": [ "examples" ]
|
|
157
|
+
"desc": "Label to use"
|
|
164
158
|
},
|
|
165
159
|
"classes": {
|
|
166
160
|
"type": [ "String", "Array", "Object" ],
|
|
@@ -179,8 +173,7 @@
|
|
|
179
173
|
"value": {
|
|
180
174
|
"type": "Number",
|
|
181
175
|
"desc": "The marker value to transform",
|
|
182
|
-
"required": true
|
|
183
|
-
"examples": [ "5" ]
|
|
176
|
+
"required": true
|
|
184
177
|
}
|
|
185
178
|
},
|
|
186
179
|
"returns": {
|
|
@@ -189,13 +182,11 @@
|
|
|
189
182
|
"definition": {
|
|
190
183
|
"value": {
|
|
191
184
|
"type": "Number",
|
|
192
|
-
"desc": "Value of equivalent model where to position the marker"
|
|
193
|
-
"__exemption": [ "examples" ]
|
|
185
|
+
"desc": "Value of equivalent model where to position the marker"
|
|
194
186
|
},
|
|
195
187
|
"label": {
|
|
196
188
|
"type": [ "Number", "String" ],
|
|
197
|
-
"desc": "Label to use"
|
|
198
|
-
"__exemption": [ "examples" ]
|
|
189
|
+
"desc": "Label to use"
|
|
199
190
|
},
|
|
200
191
|
"classes": {
|
|
201
192
|
"type": [ "String", "Array", "Object" ],
|
|
@@ -301,23 +292,19 @@
|
|
|
301
292
|
"definition": {
|
|
302
293
|
"index": {
|
|
303
294
|
"type": "Number",
|
|
304
|
-
"desc": "Index of the marker label (0-based)"
|
|
305
|
-
"__exemption": [ "examples" ]
|
|
295
|
+
"desc": "Index of the marker label (0-based)"
|
|
306
296
|
},
|
|
307
297
|
"value": {
|
|
308
298
|
"type": "Number",
|
|
309
|
-
"desc": "Equivalent model value for the marker label"
|
|
310
|
-
"__exemption": [ "examples" ]
|
|
299
|
+
"desc": "Equivalent model value for the marker label"
|
|
311
300
|
},
|
|
312
301
|
"label": {
|
|
313
302
|
"type": [ "Number", "String" ],
|
|
314
|
-
"desc": "Configured label for the marker"
|
|
315
|
-
"__exemption": [ "examples" ]
|
|
303
|
+
"desc": "Configured label for the marker"
|
|
316
304
|
},
|
|
317
305
|
"classes": {
|
|
318
306
|
"type": "String",
|
|
319
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
320
|
-
"__exemption": [ "examples" ]
|
|
307
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
321
308
|
},
|
|
322
309
|
"style": {
|
|
323
310
|
"type": "Object",
|
|
@@ -335,23 +322,19 @@
|
|
|
335
322
|
"definition": {
|
|
336
323
|
"index": {
|
|
337
324
|
"type": "Number",
|
|
338
|
-
"desc": "Index of the marker label (0-based)"
|
|
339
|
-
"__exemption": [ "examples" ]
|
|
325
|
+
"desc": "Index of the marker label (0-based)"
|
|
340
326
|
},
|
|
341
327
|
"value": {
|
|
342
328
|
"type": "Number",
|
|
343
|
-
"desc": "Equivalent model value for the marker label"
|
|
344
|
-
"__exemption": [ "examples" ]
|
|
329
|
+
"desc": "Equivalent model value for the marker label"
|
|
345
330
|
},
|
|
346
331
|
"label": {
|
|
347
332
|
"type": [ "Number", "String" ],
|
|
348
|
-
"desc": "Configured label for the marker"
|
|
349
|
-
"__exemption": [ "examples" ]
|
|
333
|
+
"desc": "Configured label for the marker"
|
|
350
334
|
},
|
|
351
335
|
"classes": {
|
|
352
336
|
"type": "String",
|
|
353
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
354
|
-
"__exemption": [ "examples" ]
|
|
337
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
355
338
|
},
|
|
356
339
|
"style": {
|
|
357
340
|
"type": "Object",
|
|
@@ -373,23 +356,19 @@
|
|
|
373
356
|
"definition": {
|
|
374
357
|
"index": {
|
|
375
358
|
"type": "Number",
|
|
376
|
-
"desc": "Index of the marker label (0-based)"
|
|
377
|
-
"__exemption": [ "examples" ]
|
|
359
|
+
"desc": "Index of the marker label (0-based)"
|
|
378
360
|
},
|
|
379
361
|
"value": {
|
|
380
362
|
"type": "Number",
|
|
381
|
-
"desc": "Equivalent model value for the marker label"
|
|
382
|
-
"__exemption": [ "examples" ]
|
|
363
|
+
"desc": "Equivalent model value for the marker label"
|
|
383
364
|
},
|
|
384
365
|
"label": {
|
|
385
366
|
"type": [ "Number", "String" ],
|
|
386
|
-
"desc": "Configured label for the marker"
|
|
387
|
-
"__exemption": [ "examples" ]
|
|
367
|
+
"desc": "Configured label for the marker"
|
|
388
368
|
},
|
|
389
369
|
"classes": {
|
|
390
370
|
"type": "String",
|
|
391
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
392
|
-
"__exemption": [ "examples" ]
|
|
371
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
393
372
|
},
|
|
394
373
|
"style": {
|
|
395
374
|
"type": "Object",
|
|
@@ -404,8 +383,7 @@
|
|
|
404
383
|
|
|
405
384
|
"classes": {
|
|
406
385
|
"type": "String",
|
|
407
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
408
|
-
"__exemption": [ "examples" ]
|
|
386
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
409
387
|
},
|
|
410
388
|
|
|
411
389
|
"getStyle": {
|
|
@@ -415,16 +393,13 @@
|
|
|
415
393
|
"value": {
|
|
416
394
|
"type": "Number",
|
|
417
395
|
"desc": "The marker label equivalent model value",
|
|
418
|
-
"required": true
|
|
419
|
-
"examples": [ "5" ]
|
|
396
|
+
"required": true
|
|
420
397
|
}
|
|
421
398
|
},
|
|
422
399
|
"returns": {
|
|
423
400
|
"type": "Object",
|
|
424
|
-
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
425
|
-
|
|
426
|
-
},
|
|
427
|
-
"__exemption": [ "examples" ]
|
|
401
|
+
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
402
|
+
}
|
|
428
403
|
}
|
|
429
404
|
}
|
|
430
405
|
},
|
|
@@ -440,23 +415,19 @@
|
|
|
440
415
|
"definition": {
|
|
441
416
|
"index": {
|
|
442
417
|
"type": "Number",
|
|
443
|
-
"desc": "Index of the marker label (0-based)"
|
|
444
|
-
"__exemption": [ "examples" ]
|
|
418
|
+
"desc": "Index of the marker label (0-based)"
|
|
445
419
|
},
|
|
446
420
|
"value": {
|
|
447
421
|
"type": "Number",
|
|
448
|
-
"desc": "Equivalent model value for the marker label"
|
|
449
|
-
"__exemption": [ "examples" ]
|
|
422
|
+
"desc": "Equivalent model value for the marker label"
|
|
450
423
|
},
|
|
451
424
|
"label": {
|
|
452
425
|
"type": [ "Number", "String" ],
|
|
453
|
-
"desc": "Configured label for the marker"
|
|
454
|
-
"__exemption": [ "examples" ]
|
|
426
|
+
"desc": "Configured label for the marker"
|
|
455
427
|
},
|
|
456
428
|
"classes": {
|
|
457
429
|
"type": "String",
|
|
458
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
459
|
-
"__exemption": [ "examples" ]
|
|
430
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
460
431
|
},
|
|
461
432
|
"style": {
|
|
462
433
|
"type": "Object",
|
|
@@ -478,23 +449,19 @@
|
|
|
478
449
|
"definition": {
|
|
479
450
|
"index": {
|
|
480
451
|
"type": "Number",
|
|
481
|
-
"desc": "Index of the marker label (0-based)"
|
|
482
|
-
"__exemption": [ "examples" ]
|
|
452
|
+
"desc": "Index of the marker label (0-based)"
|
|
483
453
|
},
|
|
484
454
|
"value": {
|
|
485
455
|
"type": "Number",
|
|
486
|
-
"desc": "Equivalent model value for the marker label"
|
|
487
|
-
"__exemption": [ "examples" ]
|
|
456
|
+
"desc": "Equivalent model value for the marker label"
|
|
488
457
|
},
|
|
489
458
|
"label": {
|
|
490
459
|
"type": [ "Number", "String" ],
|
|
491
|
-
"desc": "Configured label for the marker"
|
|
492
|
-
"__exemption": [ "examples" ]
|
|
460
|
+
"desc": "Configured label for the marker"
|
|
493
461
|
},
|
|
494
462
|
"classes": {
|
|
495
463
|
"type": "String",
|
|
496
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
497
|
-
"__exemption": [ "examples" ]
|
|
464
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
498
465
|
},
|
|
499
466
|
"style": {
|
|
500
467
|
"type": "Object",
|
|
@@ -509,8 +476,7 @@
|
|
|
509
476
|
|
|
510
477
|
"classes": {
|
|
511
478
|
"type": "String",
|
|
512
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
513
|
-
"__exemption": [ "examples" ]
|
|
479
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
514
480
|
},
|
|
515
481
|
|
|
516
482
|
"getStyle": {
|
|
@@ -520,16 +486,13 @@
|
|
|
520
486
|
"value": {
|
|
521
487
|
"type": "Number",
|
|
522
488
|
"desc": "The marker label equivalent model value",
|
|
523
|
-
"required": true
|
|
524
|
-
"examples": [ "5" ]
|
|
489
|
+
"required": true
|
|
525
490
|
}
|
|
526
491
|
},
|
|
527
492
|
"returns": {
|
|
528
493
|
"type": "Object",
|
|
529
|
-
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
530
|
-
|
|
531
|
-
},
|
|
532
|
-
"__exemption": [ "examples" ]
|
|
494
|
+
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
495
|
+
}
|
|
533
496
|
}
|
|
534
497
|
}
|
|
535
498
|
}
|
|
@@ -124,8 +124,7 @@
|
|
|
124
124
|
"params": {
|
|
125
125
|
"value": {
|
|
126
126
|
"type": "Number",
|
|
127
|
-
"desc": "New model value (0.0 < x < 100.0) defining the ratio between panels"
|
|
128
|
-
"examples": [ 0.22 ]
|
|
127
|
+
"desc": "New model value (0.0 < x < 100.0) defining the ratio between panels"
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
}
|
|
@@ -7,7 +7,7 @@ import { usePanelChildProps } from '../../composables/private/use-panel.js'
|
|
|
7
7
|
import useCache from '../../composables/private/use-cache.js'
|
|
8
8
|
|
|
9
9
|
import { createComponent } from '../../utils/private/create.js'
|
|
10
|
-
import { stepperKey } from '../../utils/private/symbols.js'
|
|
10
|
+
import { stepperKey, emptyRenderFn } from '../../utils/private/symbols.js'
|
|
11
11
|
import { hSlot } from '../../utils/private/render.js'
|
|
12
12
|
|
|
13
13
|
function getStepWrapper (slots) {
|
|
@@ -61,9 +61,11 @@ export default createComponent({
|
|
|
61
61
|
setup (props, { slots, emit }) {
|
|
62
62
|
const { proxy: { $q } } = getCurrentInstance()
|
|
63
63
|
|
|
64
|
-
const $stepper = inject(stepperKey,
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
const $stepper = inject(stepperKey, emptyRenderFn)
|
|
65
|
+
if ($stepper === emptyRenderFn) {
|
|
66
|
+
console.error('QStep needs to be a child of QStepper')
|
|
67
|
+
return emptyRenderFn
|
|
68
|
+
}
|
|
67
69
|
|
|
68
70
|
const { getCacheWithFn } = useCache()
|
|
69
71
|
|
|
@@ -121,7 +123,7 @@ export default createComponent({
|
|
|
121
123
|
|
|
122
124
|
return () => h(
|
|
123
125
|
'div',
|
|
124
|
-
{ ref: rootRef, class: 'q-stepper__step', ...scrollEvent.value },
|
|
126
|
+
{ ref: rootRef, class: 'q-stepper__step', role: 'tabpanel', ...scrollEvent.value },
|
|
125
127
|
$stepper.value.vertical === true
|
|
126
128
|
? [
|
|
127
129
|
h(StepHeader, {
|
|
@@ -11,6 +11,6 @@ export default createComponent({
|
|
|
11
11
|
props: usePanelChildProps,
|
|
12
12
|
|
|
13
13
|
setup (_, { slots }) {
|
|
14
|
-
return () => h('div', { class: 'q-tab-panel' }, hSlot(slots.default))
|
|
14
|
+
return () => h('div', { class: 'q-tab-panel', role: 'tabpanel' }, hSlot(slots.default))
|
|
15
15
|
}
|
|
16
16
|
})
|
|
@@ -119,7 +119,7 @@ export default createComponent({
|
|
|
119
119
|
},
|
|
120
120
|
|
|
121
121
|
emits: [
|
|
122
|
-
'request', '
|
|
122
|
+
'request', 'virtualScroll',
|
|
123
123
|
...useFullscreenEmits,
|
|
124
124
|
...useTableRowExpandEmits,
|
|
125
125
|
...useTableRowSelectionEmits
|
|
@@ -353,7 +353,7 @@ export default createComponent({
|
|
|
353
353
|
|
|
354
354
|
scrollTarget.scrollTop = offsetTop
|
|
355
355
|
|
|
356
|
-
emit('
|
|
356
|
+
emit('virtualScroll', {
|
|
357
357
|
index: toIndex,
|
|
358
358
|
from: 0,
|
|
359
359
|
to: innerPagination.value.rowsPerPage - 1,
|
|
@@ -363,7 +363,7 @@ export default createComponent({
|
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
function onVScroll (info) {
|
|
366
|
-
emit('
|
|
366
|
+
emit('virtualScroll', info)
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
function getProgress () {
|