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.
Files changed (204) hide show
  1. package/dist/api/Loading.json +2 -6
  2. package/dist/api/QBreadcrumbsEl.json +31 -10
  3. package/dist/api/QBtn.json +30 -14
  4. package/dist/api/QBtnDropdown.json +30 -14
  5. package/dist/api/QBtnToggle.json +3 -0
  6. package/dist/api/QChatMessage.json +4 -12
  7. package/dist/api/QExpansionItem.json +31 -10
  8. package/dist/api/QFab.json +30 -0
  9. package/dist/api/QFabAction.json +8 -0
  10. package/dist/api/QField.json +1 -0
  11. package/dist/api/QFile.json +1 -0
  12. package/dist/api/QInput.json +1 -0
  13. package/dist/api/QItem.json +31 -10
  14. package/dist/api/QOptionGroup.json +74 -4
  15. package/dist/api/QRange.json +592 -107
  16. package/dist/api/QRouteTab.json +31 -11
  17. package/dist/api/QSelect.json +3 -6
  18. package/dist/api/QSlider.json +504 -39
  19. package/dist/api/QUploader.json +16 -2
  20. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  21. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  22. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  23. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  24. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  25. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  26. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  27. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  28. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  29. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  30. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  31. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  32. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  33. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  49. package/dist/icon-set/themify.umd.prod.js +1 -1
  50. package/dist/lang/ar.umd.prod.js +1 -1
  51. package/dist/lang/az-Latn.umd.prod.js +1 -1
  52. package/dist/lang/bg.umd.prod.js +1 -1
  53. package/dist/lang/bn.umd.prod.js +1 -1
  54. package/dist/lang/ca.umd.prod.js +1 -1
  55. package/dist/lang/cs.umd.prod.js +1 -1
  56. package/dist/lang/da.umd.prod.js +1 -1
  57. package/dist/lang/de.umd.prod.js +1 -1
  58. package/dist/lang/el.umd.prod.js +1 -1
  59. package/dist/lang/en-GB.umd.prod.js +1 -1
  60. package/dist/lang/en-US.umd.prod.js +1 -1
  61. package/dist/lang/eo.umd.prod.js +1 -1
  62. package/dist/lang/es.umd.prod.js +1 -1
  63. package/dist/lang/et.umd.prod.js +1 -1
  64. package/dist/lang/fa-IR.umd.prod.js +1 -1
  65. package/dist/lang/fa.umd.prod.js +1 -1
  66. package/dist/lang/fi.umd.prod.js +1 -1
  67. package/dist/lang/fr.umd.prod.js +1 -1
  68. package/dist/lang/gn.umd.prod.js +1 -1
  69. package/dist/lang/he.umd.prod.js +1 -1
  70. package/dist/lang/hr.umd.prod.js +1 -1
  71. package/dist/lang/hu.umd.prod.js +1 -1
  72. package/dist/lang/id.umd.prod.js +1 -1
  73. package/dist/lang/is.umd.prod.js +1 -1
  74. package/dist/lang/it.umd.prod.js +1 -1
  75. package/dist/lang/ja.umd.prod.js +1 -1
  76. package/dist/lang/km.umd.prod.js +1 -1
  77. package/dist/lang/ko-KR.umd.prod.js +1 -1
  78. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  79. package/dist/lang/lt.umd.prod.js +1 -1
  80. package/dist/lang/lu.umd.prod.js +1 -1
  81. package/dist/lang/lv.umd.prod.js +1 -1
  82. package/dist/lang/ml.umd.prod.js +1 -1
  83. package/dist/lang/ms.umd.prod.js +1 -1
  84. package/dist/lang/nb-NO.umd.prod.js +1 -1
  85. package/dist/lang/nl.umd.prod.js +1 -1
  86. package/dist/lang/pl.umd.prod.js +1 -1
  87. package/dist/lang/pt-BR.umd.prod.js +1 -1
  88. package/dist/lang/pt.umd.prod.js +1 -1
  89. package/dist/lang/ro.umd.prod.js +1 -1
  90. package/dist/lang/ru.umd.prod.js +1 -1
  91. package/dist/lang/sk.umd.prod.js +1 -1
  92. package/dist/lang/sl.umd.prod.js +1 -1
  93. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  94. package/dist/lang/sr.umd.prod.js +1 -1
  95. package/dist/lang/sv.umd.prod.js +1 -1
  96. package/dist/lang/ta.umd.prod.js +1 -1
  97. package/dist/lang/th.umd.prod.js +1 -1
  98. package/dist/lang/tr.umd.prod.js +1 -1
  99. package/dist/lang/ug.umd.prod.js +1 -1
  100. package/dist/lang/uk.umd.prod.js +1 -1
  101. package/dist/lang/vi.umd.prod.js +1 -1
  102. package/dist/lang/zh-CN.umd.prod.js +1 -1
  103. package/dist/lang/zh-TW.umd.prod.js +1 -1
  104. package/dist/quasar.cjs.prod.js +2 -2
  105. package/dist/quasar.css +264 -183
  106. package/dist/quasar.esm.prod.js +2 -2
  107. package/dist/quasar.prod.css +1 -1
  108. package/dist/quasar.rtl.css +331 -262
  109. package/dist/quasar.rtl.prod.css +1 -1
  110. package/dist/quasar.sass +235 -178
  111. package/dist/quasar.umd.js +16537 -16226
  112. package/dist/quasar.umd.prod.js +2 -2
  113. package/dist/ssr-directives/Morph.js +1 -1
  114. package/dist/transforms/loader-asset-urls.json +20 -0
  115. package/dist/types/api/slider.d.ts +46 -0
  116. package/dist/types/api/validation.d.ts +4 -0
  117. package/dist/types/api.d.ts +2 -0
  118. package/dist/types/composables.d.ts +3 -3
  119. package/dist/types/index.d.ts +594 -120
  120. package/dist/vetur/quasar-attributes.json +250 -82
  121. package/dist/vetur/quasar-tags.json +59 -17
  122. package/dist/web-types/web-types.json +578 -149
  123. package/package.json +1 -1
  124. package/src/api.extends.json +0 -1
  125. package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
  126. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  127. package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
  128. package/src/components/btn/QBtn.js +5 -5
  129. package/src/components/btn/use-btn.js +21 -21
  130. package/src/components/btn/use-btn.json +22 -13
  131. package/src/components/btn-toggle/QBtnToggle.json +3 -0
  132. package/src/components/checkbox/use-checkbox.js +1 -1
  133. package/src/components/color/QColor.js +32 -26
  134. package/src/components/color/QColor.sass +10 -23
  135. package/src/components/date/QDate.sass +2 -0
  136. package/src/components/drawer/QDrawer.js +18 -15
  137. package/src/components/editor/QEditor.js +1 -1
  138. package/src/components/editor/QEditor.sass +10 -1
  139. package/src/components/expansion-item/QExpansionItem.js +4 -1
  140. package/src/components/fab/QFab.js +18 -12
  141. package/src/components/fab/QFab.json +33 -0
  142. package/src/components/fab/QFab.sass +1 -1
  143. package/src/components/fab/QFabAction.js +14 -7
  144. package/src/components/fab/QFabAction.json +10 -0
  145. package/src/components/file/QFile.js +12 -5
  146. package/src/components/file/QFile.sass +4 -2
  147. package/src/components/footer/QFooter.js +1 -1
  148. package/src/components/header/QHeader.js +1 -1
  149. package/src/components/icon/QIcon.js +1 -1
  150. package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
  151. package/src/components/item/QItem.js +2 -3
  152. package/src/components/option-group/QOptionGroup.js +3 -0
  153. package/src/components/option-group/QOptionGroup.json +48 -2
  154. package/src/components/parallax/QParallax.js +4 -2
  155. package/src/components/popup-edit/QPopupEdit.js +2 -5
  156. package/src/components/radio/QRadio.js +2 -7
  157. package/src/components/range/QRange.js +103 -222
  158. package/src/components/range/QRange.json +11 -121
  159. package/src/components/scroll-area/QScrollArea.js +3 -1
  160. package/src/components/slider/QSlider.js +46 -132
  161. package/src/components/slider/QSlider.json +1 -121
  162. package/src/components/slider/QSlider.sass +198 -132
  163. package/src/components/slider/use-slider.js +453 -109
  164. package/src/components/slider/use-slider.json +546 -0
  165. package/src/components/stepper/QStepper.js +3 -3
  166. package/src/components/stepper/QStepper.sass +24 -26
  167. package/src/components/table/QTable.js +26 -46
  168. package/src/components/tabs/QRouteTab.js +1 -2
  169. package/src/components/tabs/QRouteTab.json +0 -7
  170. package/src/components/tabs/QTabs.js +71 -20
  171. package/src/components/tabs/use-tab.js +26 -13
  172. package/src/components/tree/QTree.js +14 -12
  173. package/src/components/uploader/QUploader.json +14 -2
  174. package/src/components/uploader/uploader-core.js +16 -9
  175. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  176. package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
  177. package/src/composables/private/use-field.js +5 -5
  178. package/src/composables/private/use-file.js +20 -5
  179. package/src/composables/private/use-form.js +2 -3
  180. package/src/composables/private/use-fullscreen.js +15 -4
  181. package/src/composables/private/use-router-link.js +44 -23
  182. package/src/composables/private/use-router-link.json +26 -10
  183. package/src/composables/private/use-split-attrs.js +4 -4
  184. package/src/composables/private/use-validate.js +21 -15
  185. package/src/composables/private/use-validate.json +1 -0
  186. package/src/css/core/helpers.sass +3 -0
  187. package/src/css/core/positioning.sass +5 -0
  188. package/src/directives/ScrollFire.js +1 -0
  189. package/src/icon-set.js +2 -4
  190. package/src/plugins/AppFullscreen.js +70 -53
  191. package/src/plugins/AppVisibility.js +2 -3
  192. package/src/plugins/BottomSheet.js +3 -5
  193. package/src/plugins/Dialog.js +3 -5
  194. package/src/plugins/LoadingBar.js +17 -18
  195. package/src/plugins/Notify.js +296 -295
  196. package/src/plugins/Platform.js +14 -14
  197. package/src/utils/date.js +4 -4
  198. package/src/utils/dom.js +2 -2
  199. package/src/utils/open-url.js +2 -2
  200. package/src/utils/patterns.js +1 -0
  201. package/src/utils/private/define-reactive-plugin.js +10 -8
  202. package/src/utils/private/global-dialog.js +6 -8
  203. package/src/utils/private/inject-obj-prop.js +13 -0
  204. package/src/utils/private/is.js +2 -2
@@ -129,23 +129,31 @@
129
129
  },
130
130
  "q-breadcrumbs-el/to": {
131
131
  "type": "string|object",
132
- "description": "Equivalent to Vue Router <router-link> 'to' property"
132
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
133
133
  },
134
134
  "q-breadcrumbs-el/exact": {
135
135
  "type": "boolean",
136
- "description": "Equivalent to Vue Router <router-link> 'exact' property"
136
+ "description": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used"
137
137
  },
138
138
  "q-breadcrumbs-el/replace": {
139
139
  "type": "boolean",
140
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
140
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
141
141
  },
142
142
  "q-breadcrumbs-el/active-class": {
143
143
  "type": "string",
144
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
144
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
145
145
  },
146
146
  "q-breadcrumbs-el/exact-active-class": {
147
147
  "type": "string",
148
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
148
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
149
+ },
150
+ "q-breadcrumbs-el/href": {
151
+ "type": "string",
152
+ "description": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
153
+ },
154
+ "q-breadcrumbs-el/target": {
155
+ "type": "string",
156
+ "description": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
149
157
  },
150
158
  "q-breadcrumbs-el/disable": {
151
159
  "type": "boolean",
@@ -177,19 +185,23 @@
177
185
  },
178
186
  "q-btn-dropdown/type": {
179
187
  "type": "string",
180
- "description": "Define the button HTML DOM type"
188
+ "description": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag"
181
189
  },
182
190
  "q-btn-dropdown/to": {
183
191
  "type": "string|object",
184
- "description": "Equivalent to Vue Router <router-link> 'to' property"
192
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
185
193
  },
186
194
  "q-btn-dropdown/replace": {
187
195
  "type": "boolean",
188
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
196
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
189
197
  },
190
- "q-btn-dropdown/append": {
191
- "type": "boolean",
192
- "description": "Equivalent to Vue Router <router-link> 'append' property"
198
+ "q-btn-dropdown/href": {
199
+ "type": "string",
200
+ "description": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props"
201
+ },
202
+ "q-btn-dropdown/target": {
203
+ "type": "string",
204
+ "description": "Native <a> link target attribute; Use it only with 'to' or 'href' props"
193
205
  },
194
206
  "q-btn-dropdown/label": {
195
207
  "type": "string|number",
@@ -481,19 +493,23 @@
481
493
  },
482
494
  "q-btn/type": {
483
495
  "type": "string",
484
- "description": "Define the button HTML DOM type"
496
+ "description": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag"
485
497
  },
486
498
  "q-btn/to": {
487
499
  "type": "string|object",
488
- "description": "Equivalent to Vue Router <router-link> 'to' property"
500
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
489
501
  },
490
502
  "q-btn/replace": {
491
503
  "type": "boolean",
492
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
504
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
493
505
  },
494
- "q-btn/append": {
495
- "type": "boolean",
496
- "description": "Equivalent to Vue Router <router-link> 'append' property"
506
+ "q-btn/href": {
507
+ "type": "string",
508
+ "description": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props"
509
+ },
510
+ "q-btn/target": {
511
+ "type": "string",
512
+ "description": "Native <a> link target attribute; Use it only with 'to' or 'href' props"
497
513
  },
498
514
  "q-btn/label": {
499
515
  "type": "string|number",
@@ -1461,23 +1477,31 @@
1461
1477
  },
1462
1478
  "q-expansion-item/to": {
1463
1479
  "type": "string|object",
1464
- "description": "Equivalent to Vue Router <router-link> 'to' property"
1480
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
1465
1481
  },
1466
1482
  "q-expansion-item/exact": {
1467
1483
  "type": "boolean",
1468
- "description": "Equivalent to Vue Router <router-link> 'exact' property"
1484
+ "description": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used"
1469
1485
  },
1470
1486
  "q-expansion-item/replace": {
1471
1487
  "type": "boolean",
1472
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
1488
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
1473
1489
  },
1474
1490
  "q-expansion-item/active-class": {
1475
1491
  "type": "string",
1476
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
1492
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
1477
1493
  },
1478
1494
  "q-expansion-item/exact-active-class": {
1479
1495
  "type": "string",
1480
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
1496
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
1497
+ },
1498
+ "q-expansion-item/href": {
1499
+ "type": "string",
1500
+ "description": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
1501
+ },
1502
+ "q-expansion-item/target": {
1503
+ "type": "string",
1504
+ "description": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
1481
1505
  },
1482
1506
  "q-expansion-item/disable": {
1483
1507
  "type": "boolean",
@@ -2589,23 +2613,31 @@
2589
2613
  },
2590
2614
  "q-item/to": {
2591
2615
  "type": "string|object",
2592
- "description": "Equivalent to Vue Router <router-link> 'to' property"
2616
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
2593
2617
  },
2594
2618
  "q-item/exact": {
2595
2619
  "type": "boolean",
2596
- "description": "Equivalent to Vue Router <router-link> 'exact' property"
2620
+ "description": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used"
2597
2621
  },
2598
2622
  "q-item/replace": {
2599
2623
  "type": "boolean",
2600
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
2624
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
2601
2625
  },
2602
2626
  "q-item/active-class": {
2603
2627
  "type": "string",
2604
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
2628
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
2605
2629
  },
2606
2630
  "q-item/exact-active-class": {
2607
2631
  "type": "string",
2608
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
2632
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
2633
+ },
2634
+ "q-item/href": {
2635
+ "type": "string",
2636
+ "description": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
2637
+ },
2638
+ "q-item/target": {
2639
+ "type": "string",
2640
+ "description": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
2609
2641
  },
2610
2642
  "q-item/disable": {
2611
2643
  "type": "boolean",
@@ -3379,22 +3411,30 @@
3379
3411
  "type": "string",
3380
3412
  "description": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL"
3381
3413
  },
3382
- "q-range/model-value": {
3383
- "type": "object|null|undefined",
3384
- "description": "Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive"
3385
- },
3386
3414
  "q-range/min": {
3387
3415
  "type": "number",
3388
- "description": "Minimum value of the model"
3416
+ "description": "Minimum value of the model; Set track's minimum value"
3389
3417
  },
3390
3418
  "q-range/max": {
3391
3419
  "type": "number",
3392
- "description": "Maximum value of the model"
3420
+ "description": "Maximum value of the model; Set track's maximum value"
3421
+ },
3422
+ "q-range/inner-min": {
3423
+ "type": "number",
3424
+ "description": "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"
3425
+ },
3426
+ "q-range/inner-max": {
3427
+ "type": "number",
3428
+ "description": "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"
3393
3429
  },
3394
3430
  "q-range/step": {
3395
3431
  "type": "number",
3396
3432
  "description": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity"
3397
3433
  },
3434
+ "q-range/snap": {
3435
+ "type": "boolean",
3436
+ "description": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop"
3437
+ },
3398
3438
  "q-range/reverse": {
3399
3439
  "type": "boolean",
3400
3440
  "description": "Work in reverse (changes direction)"
@@ -3403,69 +3443,85 @@
3403
3443
  "type": "boolean",
3404
3444
  "description": "Display in vertical direction"
3405
3445
  },
3406
- "q-range/drag-range": {
3407
- "type": "boolean",
3408
- "description": "User can drag range instead of just the two thumbs"
3409
- },
3410
- "q-range/drag-only-range": {
3411
- "type": "boolean",
3412
- "description": "User can drag only the range instead and NOT the two thumbs"
3413
- },
3414
3446
  "q-range/color": {
3415
3447
  "type": "string",
3416
3448
  "description": "Color name for component from the Quasar Color Palette"
3417
3449
  },
3418
- "q-range/label": {
3419
- "type": "boolean",
3420
- "description": "Popup labels (for left and right thumbs) when user clicks/taps on the slider thumb and moves it"
3450
+ "q-range/track-color": {
3451
+ "type": "string",
3452
+ "description": "Color name for the track (can be 'transparent' too) from the Quasar Color Palette"
3421
3453
  },
3422
- "q-range/label-color": {
3454
+ "q-range/track-img": {
3423
3455
  "type": "string",
3424
- "description": "Color name for labels background from the Quasar Color Palette; Applies to both labels, unless specific label color props are used"
3456
+ "description": "Apply a pattern image on the track"
3425
3457
  },
3426
- "q-range/label-text-color": {
3458
+ "q-range/inner-track-color": {
3427
3459
  "type": "string",
3428
- "description": "Color name for labels text from the Quasar Color Palette; Applies to both labels, unless specific label text color props are used"
3460
+ "description": "Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette"
3429
3461
  },
3430
- "q-range/left-label-color": {
3462
+ "q-range/inner-track-img": {
3431
3463
  "type": "string",
3432
- "description": "Color name for left label background from the Quasar Color Palette"
3464
+ "description": "Apply a pattern image on the inner track"
3433
3465
  },
3434
- "q-range/left-label-text-color": {
3466
+ "q-range/selection-color": {
3435
3467
  "type": "string",
3436
- "description": "Color name for left label text from the Quasar Color Palette"
3468
+ "description": "Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette"
3437
3469
  },
3438
- "q-range/right-label-color": {
3470
+ "q-range/selection-img": {
3439
3471
  "type": "string",
3440
- "description": "Color name for right label background from the Quasar Color Palette"
3472
+ "description": "Apply a pattern image on the selection bar"
3441
3473
  },
3442
- "q-range/right-label-text-color": {
3474
+ "q-range/label": {
3475
+ "type": "boolean",
3476
+ "description": "Popup a label when user clicks/taps on the slider thumb and moves it"
3477
+ },
3478
+ "q-range/label-color": {
3443
3479
  "type": "string",
3444
- "description": "Color name for right label text from the Quasar Color Palette"
3480
+ "description": "Color name for component from the Quasar Color Palette"
3445
3481
  },
3446
- "q-range/left-label-value": {
3447
- "type": "string|number",
3448
- "description": "Override default label for min value"
3482
+ "q-range/label-text-color": {
3483
+ "type": "string",
3484
+ "description": "Color name for component from the Quasar Color Palette"
3449
3485
  },
3450
- "q-range/right-label-value": {
3451
- "type": "string|number",
3452
- "description": "Override default label for max value"
3486
+ "q-range/switch-label-side": {
3487
+ "type": "boolean",
3488
+ "description": "Switch the position of the label (top <-> bottom or left <-> right)"
3453
3489
  },
3454
3490
  "q-range/label-always": {
3455
3491
  "type": "boolean",
3456
- "description": "Always display the labels"
3492
+ "description": "Always display the label"
3457
3493
  },
3458
3494
  "q-range/markers": {
3459
3495
  "type": "boolean|number",
3460
3496
  "description": "Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)"
3461
3497
  },
3462
- "q-range/snap": {
3498
+ "q-range/marker-labels": {
3499
+ "type": "boolean|array|object|function",
3500
+ "description": "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"
3501
+ },
3502
+ "q-range/marker-labels-class": {
3503
+ "type": "string",
3504
+ "description": "CSS class(es) to apply to the marker labels container"
3505
+ },
3506
+ "q-range/switch-marker-labels-side": {
3463
3507
  "type": "boolean",
3464
- "description": "Snap thumbs on valid values, rather than sliding freely; Suggestion: use with 'step' prop"
3508
+ "description": "Switch the position of the marker labels (top <-> bottom or left <-> right)"
3509
+ },
3510
+ "q-range/track-size": {
3511
+ "type": "string",
3512
+ "description": "Track size (including CSS unit)"
3513
+ },
3514
+ "q-range/thumb-size": {
3515
+ "type": "string",
3516
+ "description": "Thumb size (including CSS unit)"
3517
+ },
3518
+ "q-range/thumb-color": {
3519
+ "type": "string",
3520
+ "description": "Color name for component from the Quasar Color Palette"
3465
3521
  },
3466
3522
  "q-range/thumb-path": {
3467
3523
  "type": "string",
3468
- "description": "Set custom thumbs svg path"
3524
+ "description": "Set custom thumb svg path"
3469
3525
  },
3470
3526
  "q-range/dark": {
3471
3527
  "type": "boolean",
@@ -3487,6 +3543,50 @@
3487
3543
  "type": "number|string",
3488
3544
  "description": "Tabindex HTML attribute value"
3489
3545
  },
3546
+ "q-range/model-value": {
3547
+ "type": "object|null|undefined",
3548
+ "description": "Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive"
3549
+ },
3550
+ "q-range/drag-range": {
3551
+ "type": "boolean",
3552
+ "description": "User can drag range instead of just the two thumbs"
3553
+ },
3554
+ "q-range/drag-only-range": {
3555
+ "type": "boolean",
3556
+ "description": "User can drag only the range instead and NOT the two thumbs"
3557
+ },
3558
+ "q-range/left-label-color": {
3559
+ "type": "string",
3560
+ "description": "Color name for left label background from the Quasar Color Palette"
3561
+ },
3562
+ "q-range/left-label-text-color": {
3563
+ "type": "string",
3564
+ "description": "Color name for left label text from the Quasar Color Palette"
3565
+ },
3566
+ "q-range/right-label-color": {
3567
+ "type": "string",
3568
+ "description": "Color name for right label background from the Quasar Color Palette"
3569
+ },
3570
+ "q-range/right-label-text-color": {
3571
+ "type": "string",
3572
+ "description": "Color name for right label text from the Quasar Color Palette"
3573
+ },
3574
+ "q-range/left-label-value": {
3575
+ "type": "string|number",
3576
+ "description": "Override default label for min value"
3577
+ },
3578
+ "q-range/right-label-value": {
3579
+ "type": "string|number",
3580
+ "description": "Override default label for max value"
3581
+ },
3582
+ "q-range/left-thumb-color": {
3583
+ "type": "string",
3584
+ "description": "Color name (from the Quasar Color Palette) for left thumb"
3585
+ },
3586
+ "q-range/right-thumb-color": {
3587
+ "type": "string",
3588
+ "description": "Color name (from the Quasar Color Palette) for right thumb"
3589
+ },
3490
3590
  "q-rating/name": {
3491
3591
  "type": "string",
3492
3592
  "description": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL"
@@ -4035,22 +4135,30 @@
4035
4135
  "type": "string",
4036
4136
  "description": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL"
4037
4137
  },
4038
- "q-slider/model-value": {
4039
- "type": "number|null|undefined",
4040
- "description": "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"
4041
- },
4042
4138
  "q-slider/min": {
4043
4139
  "type": "number",
4044
- "description": "Minimum value of the model"
4140
+ "description": "Minimum value of the model; Set track's minimum value"
4045
4141
  },
4046
4142
  "q-slider/max": {
4047
4143
  "type": "number",
4048
- "description": "Maximum value of the model"
4144
+ "description": "Maximum value of the model; Set track's maximum value"
4145
+ },
4146
+ "q-slider/inner-min": {
4147
+ "type": "number",
4148
+ "description": "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"
4149
+ },
4150
+ "q-slider/inner-max": {
4151
+ "type": "number",
4152
+ "description": "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"
4049
4153
  },
4050
4154
  "q-slider/step": {
4051
4155
  "type": "number",
4052
4156
  "description": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity"
4053
4157
  },
4158
+ "q-slider/snap": {
4159
+ "type": "boolean",
4160
+ "description": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop"
4161
+ },
4054
4162
  "q-slider/reverse": {
4055
4163
  "type": "boolean",
4056
4164
  "description": "Work in reverse (changes direction)"
@@ -4063,6 +4171,30 @@
4063
4171
  "type": "string",
4064
4172
  "description": "Color name for component from the Quasar Color Palette"
4065
4173
  },
4174
+ "q-slider/track-color": {
4175
+ "type": "string",
4176
+ "description": "Color name for the track (can be 'transparent' too) from the Quasar Color Palette"
4177
+ },
4178
+ "q-slider/track-img": {
4179
+ "type": "string",
4180
+ "description": "Apply a pattern image on the track"
4181
+ },
4182
+ "q-slider/inner-track-color": {
4183
+ "type": "string",
4184
+ "description": "Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette"
4185
+ },
4186
+ "q-slider/inner-track-img": {
4187
+ "type": "string",
4188
+ "description": "Apply a pattern image on the inner track"
4189
+ },
4190
+ "q-slider/selection-color": {
4191
+ "type": "string",
4192
+ "description": "Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette"
4193
+ },
4194
+ "q-slider/selection-img": {
4195
+ "type": "string",
4196
+ "description": "Apply a pattern image on the selection bar"
4197
+ },
4066
4198
  "q-slider/label": {
4067
4199
  "type": "boolean",
4068
4200
  "description": "Popup a label when user clicks/taps on the slider thumb and moves it"
@@ -4075,9 +4207,9 @@
4075
4207
  "type": "string",
4076
4208
  "description": "Color name for component from the Quasar Color Palette"
4077
4209
  },
4078
- "q-slider/label-value": {
4079
- "type": "string|number",
4080
- "description": "Override default label value"
4210
+ "q-slider/switch-label-side": {
4211
+ "type": "boolean",
4212
+ "description": "Switch the position of the label (top <-> bottom or left <-> right)"
4081
4213
  },
4082
4214
  "q-slider/label-always": {
4083
4215
  "type": "boolean",
@@ -4087,9 +4219,29 @@
4087
4219
  "type": "boolean|number",
4088
4220
  "description": "Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)"
4089
4221
  },
4090
- "q-slider/snap": {
4222
+ "q-slider/marker-labels": {
4223
+ "type": "boolean|array|object|function",
4224
+ "description": "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"
4225
+ },
4226
+ "q-slider/marker-labels-class": {
4227
+ "type": "string",
4228
+ "description": "CSS class(es) to apply to the marker labels container"
4229
+ },
4230
+ "q-slider/switch-marker-labels-side": {
4091
4231
  "type": "boolean",
4092
- "description": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop"
4232
+ "description": "Switch the position of the marker labels (top <-> bottom or left <-> right)"
4233
+ },
4234
+ "q-slider/track-size": {
4235
+ "type": "string",
4236
+ "description": "Track size (including CSS unit)"
4237
+ },
4238
+ "q-slider/thumb-size": {
4239
+ "type": "string",
4240
+ "description": "Thumb size (including CSS unit)"
4241
+ },
4242
+ "q-slider/thumb-color": {
4243
+ "type": "string",
4244
+ "description": "Color name for component from the Quasar Color Palette"
4093
4245
  },
4094
4246
  "q-slider/thumb-path": {
4095
4247
  "type": "string",
@@ -4115,6 +4267,14 @@
4115
4267
  "type": "number|string",
4116
4268
  "description": "Tabindex HTML attribute value"
4117
4269
  },
4270
+ "q-slider/model-value": {
4271
+ "type": "number|null|undefined",
4272
+ "description": "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"
4273
+ },
4274
+ "q-slider/label-value": {
4275
+ "type": "string|number",
4276
+ "description": "Override default label value"
4277
+ },
4118
4278
  "q-spinner/size": {
4119
4279
  "type": "string",
4120
4280
  "description": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)"
@@ -4853,23 +5013,31 @@
4853
5013
  },
4854
5014
  "q-route-tab/to": {
4855
5015
  "type": "string|object",
4856
- "description": "Equivalent to Vue Router <router-link> 'to' property"
5016
+ "description": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used"
4857
5017
  },
4858
5018
  "q-route-tab/exact": {
4859
5019
  "type": "boolean",
4860
- "description": "Equivalent to Vue Router <router-link> 'exact' property"
5020
+ "description": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used"
4861
5021
  },
4862
5022
  "q-route-tab/replace": {
4863
5023
  "type": "boolean",
4864
- "description": "Equivalent to Vue Router <router-link> 'replace' property"
5024
+ "description": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used"
4865
5025
  },
4866
5026
  "q-route-tab/active-class": {
4867
5027
  "type": "string",
4868
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
5028
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
4869
5029
  },
4870
5030
  "q-route-tab/exact-active-class": {
4871
5031
  "type": "string",
4872
- "description": "Equivalent to Vue Router <router-link> 'active-class' property"
5032
+ "description": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used"
5033
+ },
5034
+ "q-route-tab/href": {
5035
+ "type": "string",
5036
+ "description": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
5037
+ },
5038
+ "q-route-tab/target": {
5039
+ "type": "string",
5040
+ "description": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props"
4873
5041
  },
4874
5042
  "q-route-tab/disable": {
4875
5043
  "type": "boolean",