quasar 2.3.1 → 2.4.0
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/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +6 -0
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +24 -10
- package/dist/api/Loading.json +0 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/Morph.json +14 -7
- package/dist/api/Mutation.json +1 -1
- package/dist/api/Notify.json +41 -27
- package/dist/api/QAjaxBar.json +6 -3
- package/dist/api/QBreadcrumbs.json +8 -4
- package/dist/api/QBreadcrumbsEl.json +35 -12
- package/dist/api/QBtn.json +36 -17
- package/dist/api/QBtnDropdown.json +41 -20
- package/dist/api/QBtnToggle.json +7 -2
- package/dist/api/QCard.json +2 -1
- package/dist/api/QCardActions.json +2 -1
- package/dist/api/QCardSection.json +2 -1
- package/dist/api/QCarousel.json +10 -5
- package/dist/api/QCarouselControl.json +4 -2
- package/dist/api/QChatMessage.json +0 -4
- package/dist/api/QCheckbox.json +8 -4
- package/dist/api/QChip.json +2 -1
- package/dist/api/QCircularProgress.json +14 -7
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +33 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +10 -5
- package/dist/api/QExpansionItem.json +36 -13
- package/dist/api/QFab.json +41 -6
- package/dist/api/QFabAction.json +12 -2
- package/dist/api/QField.json +3 -1
- package/dist/api/QFile.json +8 -2
- package/dist/api/QFooter.json +2 -1
- package/dist/api/QForm.json +1 -1
- package/dist/api/QHeader.json +4 -2
- package/dist/api/QIcon.json +2 -1
- package/dist/api/QImg.json +8 -4
- package/dist/api/QInfiniteScroll.json +6 -3
- package/dist/api/QInnerLoading.json +8 -4
- package/dist/api/QInput.json +3 -1
- package/dist/api/QIntersection.json +4 -2
- package/dist/api/QItem.json +33 -11
- package/dist/api/QKnob.json +8 -4
- package/dist/api/QLayout.json +9 -1
- package/dist/api/QLinearProgress.json +4 -2
- package/dist/api/QMarkupTable.json +2 -1
- package/dist/api/QMenu.json +8 -4
- package/dist/api/QNoSsr.json +2 -1
- package/dist/api/QOptionGroup.json +76 -5
- package/dist/api/QPage.json +2 -1
- package/dist/api/QPageScroller.json +8 -4
- package/dist/api/QPageSticky.json +2 -1
- package/dist/api/QPagination.json +10 -6
- package/dist/api/QParallax.json +2 -1
- package/dist/api/QPopupEdit.json +5 -2
- package/dist/api/QPopupProxy.json +7 -4
- package/dist/api/QRange.json +600 -111
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +35 -13
- package/dist/api/QScrollArea.json +29 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +76 -47
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +8 -4
- package/dist/api/QSlideItem.json +9 -0
- package/dist/api/QSlideTransition.json +2 -1
- package/dist/api/QSlider.json +512 -43
- package/dist/api/QSpinner.json +2 -1
- package/dist/api/QSplitter.json +4 -2
- package/dist/api/QStep.json +2 -1
- package/dist/api/QStepper.json +6 -3
- package/dist/api/QTab.json +4 -2
- package/dist/api/QTabPanels.json +6 -3
- package/dist/api/QTable.json +154 -88
- package/dist/api/QTabs.json +4 -2
- package/dist/api/QTime.json +16 -4
- package/dist/api/QTimeline.json +4 -2
- package/dist/api/QTimelineEntry.json +4 -2
- package/dist/api/QToggle.json +8 -4
- package/dist/api/QTooltip.json +18 -9
- package/dist/api/QTree.json +34 -19
- package/dist/api/QUploader.json +28 -6
- package/dist/api/QVirtualScroll.json +26 -11
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/TouchHold.json +2 -1
- package/dist/api/TouchRepeat.json +2 -1
- package/dist/api/TouchSwipe.json +2 -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/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/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-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 +6 -0
- 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-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.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.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/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/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/ms.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/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/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 +268 -184
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +340 -263
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +272 -212
- package/dist/quasar.umd.js +16532 -16216
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/loader-asset-urls.json +20 -0
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/api/slider.d.ts +46 -0
- package/dist/types/api/validation.d.ts +4 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/composables.d.ts +7 -3
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +759 -177
- package/dist/vetur/quasar-attributes.json +251 -83
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +587 -155
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +2 -2
- package/src/api.extends.json +0 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
- package/src/components/btn/QBtn.js +6 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.json +1 -2
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.json +25 -1
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +3 -3
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +36 -1
- package/src/components/fab/QFab.sass +1 -1
- package/src/components/fab/QFabAction.js +14 -7
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.js +12 -5
- package/src/components/file/QFile.json +9 -6
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/radio/QRadio.js +2 -7
- package/src/components/range/QRange.js +103 -222
- package/src/components/range/QRange.json +11 -121
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +11 -14
- package/src/components/scroll-area/QScrollArea.json +29 -9
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +1 -1
- package/src/components/select/QSelect.json +41 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/QSlider.js +46 -132
- package/src/components/slider/QSlider.json +1 -121
- package/src/components/slider/QSlider.sass +198 -132
- package/src/components/slider/use-slider.js +453 -109
- package/src/components/slider/use-slider.json +546 -0
- package/src/components/stepper/QStepper.js +3 -3
- package/src/components/stepper/QStepper.sass +24 -26
- package/src/components/table/QTable.js +27 -47
- package/src/components/table/QTable.json +104 -55
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.js +1 -2
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTabs.js +71 -20
- package/src/components/tabs/use-tab.js +26 -13
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.js +14 -12
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/uploader/xhr-uploader-plugin.json +8 -3
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +7 -7
- package/src/composables/private/use-file.js +20 -5
- package/src/composables/private/use-form.js +2 -3
- package/src/composables/private/use-fullscreen.js +15 -4
- package/src/composables/private/use-router-link.js +44 -23
- package/src/composables/private/use-router-link.json +26 -10
- package/src/composables/private/use-split-attrs.js +12 -9
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/composables/use-dialog-plugin-component.js +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.js +1 -0
- package/src/directives/ScrollFire.json +2 -3
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.js +296 -295
- package/src/plugins/Notify.json +13 -19
- package/src/plugins/Platform.js +14 -14
- package/src/utils/date.js +4 -4
- package/src/utils/dom.js +2 -2
- package/src/utils/open-url.js +2 -2
- package/src/utils/patterns.js +1 -0
- package/src/utils/private/define-reactive-plugin.js +10 -8
- package/src/utils/private/global-dialog.js +6 -8
- package/src/utils/private/global-dialog.json +6 -0
- package/src/utils/private/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
package/dist/api/QSlider.json
CHANGED
|
@@ -12,36 +12,43 @@
|
|
|
12
12
|
],
|
|
13
13
|
"category": "behavior"
|
|
14
14
|
},
|
|
15
|
-
"model-value": {
|
|
16
|
-
"desc": "Model of the component (must be between min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
17
|
-
"required": true,
|
|
18
|
-
"category": "model",
|
|
19
|
-
"type": [
|
|
20
|
-
"Number",
|
|
21
|
-
"null",
|
|
22
|
-
"undefined"
|
|
23
|
-
],
|
|
24
|
-
"examples": [
|
|
25
|
-
"v-model=\"positionModel\""
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
15
|
"min": {
|
|
29
16
|
"type": "Number",
|
|
30
|
-
"desc": "Minimum value of the model",
|
|
17
|
+
"desc": "Minimum value of the model; Set track's minimum value",
|
|
31
18
|
"default": 0,
|
|
32
19
|
"examples": [
|
|
33
20
|
":min=\"0\""
|
|
34
21
|
],
|
|
35
|
-
"category": "model"
|
|
22
|
+
"category": "model",
|
|
23
|
+
"required": false
|
|
36
24
|
},
|
|
37
25
|
"max": {
|
|
38
26
|
"type": "Number",
|
|
39
|
-
"desc": "Maximum value of the model",
|
|
27
|
+
"desc": "Maximum value of the model; Set track's maximum value",
|
|
40
28
|
"default": 100,
|
|
41
29
|
"examples": [
|
|
42
30
|
":max=\"100\""
|
|
43
31
|
],
|
|
44
|
-
"category": "model"
|
|
32
|
+
"category": "model",
|
|
33
|
+
"required": false
|
|
34
|
+
},
|
|
35
|
+
"inner-min": {
|
|
36
|
+
"type": "Number",
|
|
37
|
+
"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",
|
|
38
|
+
"examples": [
|
|
39
|
+
":inner-min=\"0\""
|
|
40
|
+
],
|
|
41
|
+
"category": "model",
|
|
42
|
+
"addedIn": "v2.4"
|
|
43
|
+
},
|
|
44
|
+
"inner-max": {
|
|
45
|
+
"type": "Number",
|
|
46
|
+
"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",
|
|
47
|
+
"examples": [
|
|
48
|
+
":max-value=\"100\""
|
|
49
|
+
],
|
|
50
|
+
"category": "model",
|
|
51
|
+
"addedIn": "v2.4"
|
|
45
52
|
},
|
|
46
53
|
"step": {
|
|
47
54
|
"type": "Number",
|
|
@@ -50,7 +57,13 @@
|
|
|
50
57
|
"examples": [
|
|
51
58
|
":step=\"1\""
|
|
52
59
|
],
|
|
53
|
-
"category": "model"
|
|
60
|
+
"category": "model",
|
|
61
|
+
"required": false
|
|
62
|
+
},
|
|
63
|
+
"snap": {
|
|
64
|
+
"type": "Boolean",
|
|
65
|
+
"desc": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop",
|
|
66
|
+
"category": "behavior"
|
|
54
67
|
},
|
|
55
68
|
"reverse": {
|
|
56
69
|
"type": "Boolean",
|
|
@@ -71,6 +84,66 @@
|
|
|
71
84
|
],
|
|
72
85
|
"category": "style"
|
|
73
86
|
},
|
|
87
|
+
"track-color": {
|
|
88
|
+
"type": "String",
|
|
89
|
+
"desc": "Color name for the track (can be 'transparent' too) from the Quasar Color Palette",
|
|
90
|
+
"examples": [
|
|
91
|
+
"primary",
|
|
92
|
+
"teal-10"
|
|
93
|
+
],
|
|
94
|
+
"category": "style",
|
|
95
|
+
"addedIn": "v2.4"
|
|
96
|
+
},
|
|
97
|
+
"track-img": {
|
|
98
|
+
"type": "String",
|
|
99
|
+
"desc": "Apply a pattern image on the track",
|
|
100
|
+
"transformAssetUrls": true,
|
|
101
|
+
"examples": [
|
|
102
|
+
"~assets/my-pattern.png"
|
|
103
|
+
],
|
|
104
|
+
"category": "style",
|
|
105
|
+
"addedIn": "v2.4"
|
|
106
|
+
},
|
|
107
|
+
"inner-track-color": {
|
|
108
|
+
"type": "String",
|
|
109
|
+
"desc": "Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette",
|
|
110
|
+
"examples": [
|
|
111
|
+
"primary",
|
|
112
|
+
"teal-10"
|
|
113
|
+
],
|
|
114
|
+
"category": "style",
|
|
115
|
+
"addedIn": "v2.4"
|
|
116
|
+
},
|
|
117
|
+
"inner-track-img": {
|
|
118
|
+
"type": "String",
|
|
119
|
+
"desc": "Apply a pattern image on the inner track",
|
|
120
|
+
"transformAssetUrls": true,
|
|
121
|
+
"examples": [
|
|
122
|
+
"~assets/my-pattern.png"
|
|
123
|
+
],
|
|
124
|
+
"category": "style",
|
|
125
|
+
"addedIn": "v2.4"
|
|
126
|
+
},
|
|
127
|
+
"selection-color": {
|
|
128
|
+
"type": "String",
|
|
129
|
+
"desc": "Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette",
|
|
130
|
+
"examples": [
|
|
131
|
+
"primary",
|
|
132
|
+
"teal-10"
|
|
133
|
+
],
|
|
134
|
+
"category": "style",
|
|
135
|
+
"addedIn": "v2.4"
|
|
136
|
+
},
|
|
137
|
+
"selection-img": {
|
|
138
|
+
"type": "String",
|
|
139
|
+
"desc": "Apply a pattern image on the selection bar",
|
|
140
|
+
"transformAssetUrls": true,
|
|
141
|
+
"examples": [
|
|
142
|
+
"~assets/my-pattern.png"
|
|
143
|
+
],
|
|
144
|
+
"category": "style",
|
|
145
|
+
"addedIn": "v2.4"
|
|
146
|
+
},
|
|
74
147
|
"label": {
|
|
75
148
|
"type": "Boolean",
|
|
76
149
|
"desc": "Popup a label when user clicks/taps on the slider thumb and moves it",
|
|
@@ -94,16 +167,11 @@
|
|
|
94
167
|
],
|
|
95
168
|
"category": "style"
|
|
96
169
|
},
|
|
97
|
-
"label-
|
|
98
|
-
"type":
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"desc": "Override default label value",
|
|
103
|
-
"examples": [
|
|
104
|
-
":label-value=\"model + 'px'\""
|
|
105
|
-
],
|
|
106
|
-
"category": "content"
|
|
170
|
+
"switch-label-side": {
|
|
171
|
+
"type": "Boolean",
|
|
172
|
+
"desc": "Switch the position of the label (top <-> bottom or left <-> right)",
|
|
173
|
+
"category": "style",
|
|
174
|
+
"addedIn": "v2.4"
|
|
107
175
|
},
|
|
108
176
|
"label-always": {
|
|
109
177
|
"type": "Boolean",
|
|
@@ -122,10 +190,151 @@
|
|
|
122
190
|
":markers=\"5\""
|
|
123
191
|
]
|
|
124
192
|
},
|
|
125
|
-
"
|
|
193
|
+
"marker-labels": {
|
|
194
|
+
"type": [
|
|
195
|
+
"Boolean",
|
|
196
|
+
"Array",
|
|
197
|
+
"Object",
|
|
198
|
+
"Function"
|
|
199
|
+
],
|
|
200
|
+
"tsType": "SliderMarkerLabels",
|
|
201
|
+
"desc": "Configure the marker labels (or show the default ones if 'true'); Array of definition Objects or Object with key-value where key is the model and the value is the marker label definition",
|
|
202
|
+
"definition": {
|
|
203
|
+
"value": {
|
|
204
|
+
"type": "Number",
|
|
205
|
+
"required": true,
|
|
206
|
+
"desc": "Value of equivalent model where to position the marker"
|
|
207
|
+
},
|
|
208
|
+
"label": {
|
|
209
|
+
"type": [
|
|
210
|
+
"Number",
|
|
211
|
+
"String"
|
|
212
|
+
],
|
|
213
|
+
"desc": "Label to use"
|
|
214
|
+
},
|
|
215
|
+
"classes": {
|
|
216
|
+
"type": [
|
|
217
|
+
"String",
|
|
218
|
+
"Array",
|
|
219
|
+
"Object"
|
|
220
|
+
],
|
|
221
|
+
"desc": "CSS classes to be attributed to the marker label",
|
|
222
|
+
"examples": [
|
|
223
|
+
"my-class-name"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"style": {
|
|
227
|
+
"type": "Object",
|
|
228
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
229
|
+
"examples": [
|
|
230
|
+
"{ height: '24px' }"
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"params": {
|
|
235
|
+
"value": {
|
|
236
|
+
"type": "Number",
|
|
237
|
+
"desc": "The marker value to transform",
|
|
238
|
+
"required": true,
|
|
239
|
+
"examples": [
|
|
240
|
+
"5"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"returns": {
|
|
245
|
+
"type": [
|
|
246
|
+
"String",
|
|
247
|
+
"Object"
|
|
248
|
+
],
|
|
249
|
+
"desc": "Marker definition Object or directly a String for the label of the marker",
|
|
250
|
+
"definition": {
|
|
251
|
+
"value": {
|
|
252
|
+
"type": "Number",
|
|
253
|
+
"desc": "Value of equivalent model where to position the marker"
|
|
254
|
+
},
|
|
255
|
+
"label": {
|
|
256
|
+
"type": [
|
|
257
|
+
"Number",
|
|
258
|
+
"String"
|
|
259
|
+
],
|
|
260
|
+
"desc": "Label to use"
|
|
261
|
+
},
|
|
262
|
+
"classes": {
|
|
263
|
+
"type": [
|
|
264
|
+
"String",
|
|
265
|
+
"Array",
|
|
266
|
+
"Object"
|
|
267
|
+
],
|
|
268
|
+
"desc": "CSS classes to be attributed to the marker label",
|
|
269
|
+
"examples": [
|
|
270
|
+
"my-class-name"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"style": {
|
|
274
|
+
"type": "Object",
|
|
275
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
276
|
+
"examples": [
|
|
277
|
+
"{ height: '24px' }"
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"category": "content",
|
|
283
|
+
"examples": [
|
|
284
|
+
true,
|
|
285
|
+
"[ { value: 0, label: '0%' }, { value: 5, classes: 'my-class', style: { width: '24px' } } ]",
|
|
286
|
+
"{ 0: '0%', 5: { label: '5%', classes: 'my-class', style: { width: '24px' } } }",
|
|
287
|
+
"val => (10 * val) + '%'",
|
|
288
|
+
"val => ({ label: (10 * val) + '%', classes: 'my-class', style: { width: '24px' } })"
|
|
289
|
+
],
|
|
290
|
+
"addedIn": "v2.4"
|
|
291
|
+
},
|
|
292
|
+
"marker-labels-class": {
|
|
293
|
+
"type": "String",
|
|
294
|
+
"desc": "CSS class(es) to apply to the marker labels container",
|
|
295
|
+
"examples": [
|
|
296
|
+
"text-orange"
|
|
297
|
+
],
|
|
298
|
+
"category": "style",
|
|
299
|
+
"addedIn": "v2.4"
|
|
300
|
+
},
|
|
301
|
+
"switch-marker-labels-side": {
|
|
126
302
|
"type": "Boolean",
|
|
127
|
-
"desc": "
|
|
128
|
-
"category": "
|
|
303
|
+
"desc": "Switch the position of the marker labels (top <-> bottom or left <-> right)",
|
|
304
|
+
"category": "style",
|
|
305
|
+
"addedIn": "v2.4"
|
|
306
|
+
},
|
|
307
|
+
"track-size": {
|
|
308
|
+
"type": "String",
|
|
309
|
+
"desc": "Track size (including CSS unit)",
|
|
310
|
+
"default": "4px",
|
|
311
|
+
"examples": [
|
|
312
|
+
"35px"
|
|
313
|
+
],
|
|
314
|
+
"category": "style",
|
|
315
|
+
"addedIn": "v2.4",
|
|
316
|
+
"required": false
|
|
317
|
+
},
|
|
318
|
+
"thumb-size": {
|
|
319
|
+
"type": "String",
|
|
320
|
+
"desc": "Thumb size (including CSS unit)",
|
|
321
|
+
"default": "20px",
|
|
322
|
+
"examples": [
|
|
323
|
+
"20px"
|
|
324
|
+
],
|
|
325
|
+
"category": "style",
|
|
326
|
+
"addedIn": "v2.4",
|
|
327
|
+
"required": false
|
|
328
|
+
},
|
|
329
|
+
"thumb-color": {
|
|
330
|
+
"type": "String",
|
|
331
|
+
"desc": "Color name for component from the Quasar Color Palette",
|
|
332
|
+
"examples": [
|
|
333
|
+
"primary",
|
|
334
|
+
"teal-10"
|
|
335
|
+
],
|
|
336
|
+
"category": "style",
|
|
337
|
+
"addedIn": "v2.4"
|
|
129
338
|
},
|
|
130
339
|
"thumb-path": {
|
|
131
340
|
"type": "String",
|
|
@@ -134,7 +343,8 @@
|
|
|
134
343
|
"examples": [
|
|
135
344
|
"M5 5 h10 v10 h-10 v-10"
|
|
136
345
|
],
|
|
137
|
-
"category": "style"
|
|
346
|
+
"category": "style",
|
|
347
|
+
"required": false
|
|
138
348
|
},
|
|
139
349
|
"dark": {
|
|
140
350
|
"type": "Boolean",
|
|
@@ -167,22 +377,268 @@
|
|
|
167
377
|
"100"
|
|
168
378
|
],
|
|
169
379
|
"category": "general"
|
|
380
|
+
},
|
|
381
|
+
"model-value": {
|
|
382
|
+
"desc": "Model of the component (must be between min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
383
|
+
"required": true,
|
|
384
|
+
"category": "model",
|
|
385
|
+
"type": [
|
|
386
|
+
"Number",
|
|
387
|
+
"null",
|
|
388
|
+
"undefined"
|
|
389
|
+
],
|
|
390
|
+
"examples": [
|
|
391
|
+
"v-model=\"positionModel\""
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
"label-value": {
|
|
395
|
+
"type": [
|
|
396
|
+
"String",
|
|
397
|
+
"Number"
|
|
398
|
+
],
|
|
399
|
+
"desc": "Override default label value",
|
|
400
|
+
"examples": [
|
|
401
|
+
":label-value=\"model + 'px'\""
|
|
402
|
+
],
|
|
403
|
+
"category": "content"
|
|
170
404
|
}
|
|
171
405
|
},
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"desc": "
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"
|
|
182
|
-
|
|
406
|
+
"slots": {
|
|
407
|
+
"marker-label": {
|
|
408
|
+
"desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
|
|
409
|
+
"addedIn": "v2.4",
|
|
410
|
+
"scope": {
|
|
411
|
+
"marker": {
|
|
412
|
+
"type": "Object",
|
|
413
|
+
"tsType": "SliderMarkerLabelConfig",
|
|
414
|
+
"desc": "Config for current marker label",
|
|
415
|
+
"definition": {
|
|
416
|
+
"index": {
|
|
417
|
+
"type": "Number",
|
|
418
|
+
"desc": "Index of the marker label (0-based)"
|
|
419
|
+
},
|
|
420
|
+
"value": {
|
|
421
|
+
"type": "Number",
|
|
422
|
+
"desc": "Equivalent model value for the marker label"
|
|
423
|
+
},
|
|
424
|
+
"label": {
|
|
425
|
+
"type": [
|
|
426
|
+
"Number",
|
|
427
|
+
"String"
|
|
428
|
+
],
|
|
429
|
+
"desc": "Configured label for the marker"
|
|
430
|
+
},
|
|
431
|
+
"classes": {
|
|
432
|
+
"type": "String",
|
|
433
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
434
|
+
},
|
|
435
|
+
"style": {
|
|
436
|
+
"type": "Object",
|
|
437
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
438
|
+
"examples": [
|
|
439
|
+
"{ height: '24px' }"
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"markerList": {
|
|
445
|
+
"type": "Array",
|
|
446
|
+
"tsType": "SliderMarkerLabelArrayConfig",
|
|
447
|
+
"desc": "Array of marker label configs",
|
|
448
|
+
"definition": {
|
|
449
|
+
"index": {
|
|
450
|
+
"type": "Number",
|
|
451
|
+
"desc": "Index of the marker label (0-based)"
|
|
452
|
+
},
|
|
453
|
+
"value": {
|
|
454
|
+
"type": "Number",
|
|
455
|
+
"desc": "Equivalent model value for the marker label"
|
|
456
|
+
},
|
|
457
|
+
"label": {
|
|
458
|
+
"type": [
|
|
459
|
+
"Number",
|
|
460
|
+
"String"
|
|
461
|
+
],
|
|
462
|
+
"desc": "Configured label for the marker"
|
|
463
|
+
},
|
|
464
|
+
"classes": {
|
|
465
|
+
"type": "String",
|
|
466
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
467
|
+
},
|
|
468
|
+
"style": {
|
|
469
|
+
"type": "Object",
|
|
470
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
471
|
+
"examples": [
|
|
472
|
+
"{ height: '24px' }"
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"markerMap": {
|
|
478
|
+
"type": "Object",
|
|
479
|
+
"tsType": "SliderMarkerLabelObjectConfig",
|
|
480
|
+
"desc": "Object with key-value where key is the model and the value is the marker label config",
|
|
481
|
+
"definition": {
|
|
482
|
+
"...key": {
|
|
483
|
+
"type": "Object",
|
|
484
|
+
"desc": "Marker label config",
|
|
485
|
+
"definition": {
|
|
486
|
+
"index": {
|
|
487
|
+
"type": "Number",
|
|
488
|
+
"desc": "Index of the marker label (0-based)"
|
|
489
|
+
},
|
|
490
|
+
"value": {
|
|
491
|
+
"type": "Number",
|
|
492
|
+
"desc": "Equivalent model value for the marker label"
|
|
493
|
+
},
|
|
494
|
+
"label": {
|
|
495
|
+
"type": [
|
|
496
|
+
"Number",
|
|
497
|
+
"String"
|
|
498
|
+
],
|
|
499
|
+
"desc": "Configured label for the marker"
|
|
500
|
+
},
|
|
501
|
+
"classes": {
|
|
502
|
+
"type": "String",
|
|
503
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
504
|
+
},
|
|
505
|
+
"style": {
|
|
506
|
+
"type": "Object",
|
|
507
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
508
|
+
"examples": [
|
|
509
|
+
"{ height: '24px' }"
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"classes": {
|
|
517
|
+
"type": "String",
|
|
518
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
519
|
+
},
|
|
520
|
+
"getStyle": {
|
|
521
|
+
"type": "Function",
|
|
522
|
+
"desc": "Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap",
|
|
523
|
+
"params": {
|
|
524
|
+
"value": {
|
|
525
|
+
"type": "Number",
|
|
526
|
+
"desc": "The marker label equivalent model value",
|
|
527
|
+
"required": true,
|
|
528
|
+
"examples": [
|
|
529
|
+
"5"
|
|
530
|
+
]
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"returns": {
|
|
534
|
+
"type": "Object",
|
|
535
|
+
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
536
|
+
}
|
|
183
537
|
}
|
|
184
538
|
}
|
|
185
539
|
},
|
|
540
|
+
"marker-label-group": {
|
|
541
|
+
"desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
|
|
542
|
+
"addedIn": "v2.4",
|
|
543
|
+
"scope": {
|
|
544
|
+
"markerList": {
|
|
545
|
+
"type": "Array",
|
|
546
|
+
"tsType": "SliderMarkerLabelArrayConfig",
|
|
547
|
+
"desc": "Array of marker label configs",
|
|
548
|
+
"definition": {
|
|
549
|
+
"index": {
|
|
550
|
+
"type": "Number",
|
|
551
|
+
"desc": "Index of the marker label (0-based)"
|
|
552
|
+
},
|
|
553
|
+
"value": {
|
|
554
|
+
"type": "Number",
|
|
555
|
+
"desc": "Equivalent model value for the marker label"
|
|
556
|
+
},
|
|
557
|
+
"label": {
|
|
558
|
+
"type": [
|
|
559
|
+
"Number",
|
|
560
|
+
"String"
|
|
561
|
+
],
|
|
562
|
+
"desc": "Configured label for the marker"
|
|
563
|
+
},
|
|
564
|
+
"classes": {
|
|
565
|
+
"type": "String",
|
|
566
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
567
|
+
},
|
|
568
|
+
"style": {
|
|
569
|
+
"type": "Object",
|
|
570
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
571
|
+
"examples": [
|
|
572
|
+
"{ height: '24px' }"
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"markerMap": {
|
|
578
|
+
"type": "Object",
|
|
579
|
+
"tsType": "SliderMarkerLabelObjectConfig",
|
|
580
|
+
"desc": "Object with key-value where key is the model and the value is the marker label config",
|
|
581
|
+
"definition": {
|
|
582
|
+
"...key": {
|
|
583
|
+
"type": "Object",
|
|
584
|
+
"desc": "Marker label config",
|
|
585
|
+
"definition": {
|
|
586
|
+
"index": {
|
|
587
|
+
"type": "Number",
|
|
588
|
+
"desc": "Index of the marker label (0-based)"
|
|
589
|
+
},
|
|
590
|
+
"value": {
|
|
591
|
+
"type": "Number",
|
|
592
|
+
"desc": "Equivalent model value for the marker label"
|
|
593
|
+
},
|
|
594
|
+
"label": {
|
|
595
|
+
"type": [
|
|
596
|
+
"Number",
|
|
597
|
+
"String"
|
|
598
|
+
],
|
|
599
|
+
"desc": "Configured label for the marker"
|
|
600
|
+
},
|
|
601
|
+
"classes": {
|
|
602
|
+
"type": "String",
|
|
603
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
604
|
+
},
|
|
605
|
+
"style": {
|
|
606
|
+
"type": "Object",
|
|
607
|
+
"desc": "Style definitions to be attributed to the marker label",
|
|
608
|
+
"examples": [
|
|
609
|
+
"{ height: '24px' }"
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"classes": {
|
|
617
|
+
"type": "String",
|
|
618
|
+
"desc": "Required CSS classes to be applied to the marker element"
|
|
619
|
+
},
|
|
620
|
+
"getStyle": {
|
|
621
|
+
"type": "Function",
|
|
622
|
+
"desc": "Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap",
|
|
623
|
+
"params": {
|
|
624
|
+
"value": {
|
|
625
|
+
"type": "Number",
|
|
626
|
+
"desc": "The marker label equivalent model value",
|
|
627
|
+
"required": true,
|
|
628
|
+
"examples": [
|
|
629
|
+
"5"
|
|
630
|
+
]
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"returns": {
|
|
634
|
+
"type": "Object",
|
|
635
|
+
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"events": {
|
|
186
642
|
"change": {
|
|
187
643
|
"desc": "Emitted on lazy model value change (after user slides then releases the thumb)",
|
|
188
644
|
"params": {
|
|
@@ -205,6 +661,19 @@
|
|
|
205
661
|
]
|
|
206
662
|
}
|
|
207
663
|
}
|
|
664
|
+
},
|
|
665
|
+
"update:model-value": {
|
|
666
|
+
"desc": "Emitted when the component needs to change the model; Is also used by v-model",
|
|
667
|
+
"params": {
|
|
668
|
+
"value": {
|
|
669
|
+
"type": [
|
|
670
|
+
"Number",
|
|
671
|
+
"null"
|
|
672
|
+
],
|
|
673
|
+
"desc": "New model value",
|
|
674
|
+
"required": true
|
|
675
|
+
}
|
|
676
|
+
}
|
|
208
677
|
}
|
|
209
678
|
}
|
|
210
679
|
}
|
package/dist/api/QSpinner.json
CHANGED
package/dist/api/QSplitter.json
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"%",
|
|
27
27
|
"px"
|
|
28
28
|
],
|
|
29
|
-
"category": "model"
|
|
29
|
+
"category": "model",
|
|
30
|
+
"required": false
|
|
30
31
|
},
|
|
31
32
|
"emit-immediately": {
|
|
32
33
|
"type": "Boolean",
|
|
@@ -46,7 +47,8 @@
|
|
|
46
47
|
":limits=\"[30, 70]\"",
|
|
47
48
|
":limits=\"[0, Infinity]\""
|
|
48
49
|
],
|
|
49
|
-
"category": "content|model"
|
|
50
|
+
"category": "content|model",
|
|
51
|
+
"required": false
|
|
50
52
|
},
|
|
51
53
|
"disable": {
|
|
52
54
|
"type": "Boolean",
|
package/dist/api/QStep.json
CHANGED