quasar 2.3.4 → 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/Loading.json +2 -6
- package/dist/api/QBreadcrumbsEl.json +31 -10
- package/dist/api/QBtn.json +30 -14
- package/dist/api/QBtnDropdown.json +30 -14
- package/dist/api/QBtnToggle.json +3 -0
- package/dist/api/QChatMessage.json +4 -12
- package/dist/api/QExpansionItem.json +31 -10
- package/dist/api/QFab.json +30 -0
- package/dist/api/QFabAction.json +8 -0
- package/dist/api/QField.json +1 -0
- package/dist/api/QFile.json +1 -0
- package/dist/api/QInput.json +1 -0
- package/dist/api/QItem.json +31 -10
- package/dist/api/QOptionGroup.json +74 -4
- package/dist/api/QRange.json +592 -107
- package/dist/api/QRouteTab.json +31 -11
- package/dist/api/QSelect.json +3 -6
- package/dist/api/QSlider.json +504 -39
- package/dist/api/QUploader.json +16 -2
- 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 +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-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 +264 -183
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +331 -262
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +235 -178
- package/dist/quasar.umd.js +16537 -16226
- 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/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 +3 -3
- package/dist/types/index.d.ts +594 -120
- package/dist/vetur/quasar-attributes.json +250 -82
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +578 -149
- package/package.json +1 -1
- 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 +5 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +33 -0
- 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/file/QFile.js +12 -5
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +1 -1
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- 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/scroll-area/QScrollArea.js +3 -1
- 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 +26 -46
- 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/tree/QTree.js +14 -12
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/composables/private/use-field.js +5 -5
- 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 +4 -4
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/directives/ScrollFire.js +1 -0
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/Notify.js +296 -295
- 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/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
package/dist/api/QSlider.json
CHANGED
|
@@ -12,22 +12,9 @@
|
|
|
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\""
|
|
@@ -37,7 +24,7 @@
|
|
|
37
24
|
},
|
|
38
25
|
"max": {
|
|
39
26
|
"type": "Number",
|
|
40
|
-
"desc": "Maximum value of the model",
|
|
27
|
+
"desc": "Maximum value of the model; Set track's maximum value",
|
|
41
28
|
"default": 100,
|
|
42
29
|
"examples": [
|
|
43
30
|
":max=\"100\""
|
|
@@ -45,6 +32,24 @@
|
|
|
45
32
|
"category": "model",
|
|
46
33
|
"required": false
|
|
47
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"
|
|
52
|
+
},
|
|
48
53
|
"step": {
|
|
49
54
|
"type": "Number",
|
|
50
55
|
"desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
|
|
@@ -55,6 +60,11 @@
|
|
|
55
60
|
"category": "model",
|
|
56
61
|
"required": false
|
|
57
62
|
},
|
|
63
|
+
"snap": {
|
|
64
|
+
"type": "Boolean",
|
|
65
|
+
"desc": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop",
|
|
66
|
+
"category": "behavior"
|
|
67
|
+
},
|
|
58
68
|
"reverse": {
|
|
59
69
|
"type": "Boolean",
|
|
60
70
|
"desc": "Work in reverse (changes direction)",
|
|
@@ -74,6 +84,66 @@
|
|
|
74
84
|
],
|
|
75
85
|
"category": "style"
|
|
76
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
|
+
},
|
|
77
147
|
"label": {
|
|
78
148
|
"type": "Boolean",
|
|
79
149
|
"desc": "Popup a label when user clicks/taps on the slider thumb and moves it",
|
|
@@ -97,16 +167,11 @@
|
|
|
97
167
|
],
|
|
98
168
|
"category": "style"
|
|
99
169
|
},
|
|
100
|
-
"label-
|
|
101
|
-
"type":
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"desc": "Override default label value",
|
|
106
|
-
"examples": [
|
|
107
|
-
":label-value=\"model + 'px'\""
|
|
108
|
-
],
|
|
109
|
-
"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"
|
|
110
175
|
},
|
|
111
176
|
"label-always": {
|
|
112
177
|
"type": "Boolean",
|
|
@@ -125,10 +190,151 @@
|
|
|
125
190
|
":markers=\"5\""
|
|
126
191
|
]
|
|
127
192
|
},
|
|
128
|
-
"
|
|
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": {
|
|
129
302
|
"type": "Boolean",
|
|
130
|
-
"desc": "
|
|
131
|
-
"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"
|
|
132
338
|
},
|
|
133
339
|
"thumb-path": {
|
|
134
340
|
"type": "String",
|
|
@@ -171,22 +377,268 @@
|
|
|
171
377
|
"100"
|
|
172
378
|
],
|
|
173
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"
|
|
174
404
|
}
|
|
175
405
|
},
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"desc": "
|
|
179
|
-
"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
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
|
+
}
|
|
187
537
|
}
|
|
188
538
|
}
|
|
189
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": {
|
|
190
642
|
"change": {
|
|
191
643
|
"desc": "Emitted on lazy model value change (after user slides then releases the thumb)",
|
|
192
644
|
"params": {
|
|
@@ -209,6 +661,19 @@
|
|
|
209
661
|
]
|
|
210
662
|
}
|
|
211
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
|
+
}
|
|
212
677
|
}
|
|
213
678
|
}
|
|
214
679
|
}
|
package/dist/api/QUploader.json
CHANGED
|
@@ -400,10 +400,24 @@
|
|
|
400
400
|
},
|
|
401
401
|
"slots": {
|
|
402
402
|
"header": {
|
|
403
|
-
"desc": "Slot for custom header; Scope is the QUploader instance itself"
|
|
403
|
+
"desc": "Slot for custom header; Scope is the QUploader instance itself",
|
|
404
|
+
"scope": {
|
|
405
|
+
"...self": {
|
|
406
|
+
"type": "Component",
|
|
407
|
+
"tsType": "QUploader",
|
|
408
|
+
"desc": "QUploader instance"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
404
411
|
},
|
|
405
412
|
"list": {
|
|
406
|
-
"desc": "Slot for custom list; Scope is the QUploader instance itself"
|
|
413
|
+
"desc": "Slot for custom list; Scope is the QUploader instance itself",
|
|
414
|
+
"scope": {
|
|
415
|
+
"...self": {
|
|
416
|
+
"type": "Component",
|
|
417
|
+
"tsType": "QUploader",
|
|
418
|
+
"desc": "QUploader instance"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
407
421
|
}
|
|
408
422
|
},
|
|
409
423
|
"events": {
|