quasar 2.3.2 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/api/AppFullscreen.json +15 -8
  2. package/dist/api/BottomSheet.json +6 -0
  3. package/dist/api/Cookies.json +4 -3
  4. package/dist/api/Dialog.json +24 -10
  5. package/dist/api/Loading.json +0 -2
  6. package/dist/api/LoadingBar.json +8 -3
  7. package/dist/api/Morph.json +14 -7
  8. package/dist/api/Mutation.json +1 -1
  9. package/dist/api/Notify.json +41 -27
  10. package/dist/api/QAjaxBar.json +6 -3
  11. package/dist/api/QBreadcrumbs.json +8 -4
  12. package/dist/api/QBreadcrumbsEl.json +35 -12
  13. package/dist/api/QBtn.json +36 -17
  14. package/dist/api/QBtnDropdown.json +41 -20
  15. package/dist/api/QBtnToggle.json +7 -2
  16. package/dist/api/QCard.json +2 -1
  17. package/dist/api/QCardActions.json +2 -1
  18. package/dist/api/QCardSection.json +2 -1
  19. package/dist/api/QCarousel.json +10 -5
  20. package/dist/api/QCarouselControl.json +4 -2
  21. package/dist/api/QChatMessage.json +0 -4
  22. package/dist/api/QCheckbox.json +8 -4
  23. package/dist/api/QChip.json +2 -1
  24. package/dist/api/QCircularProgress.json +14 -7
  25. package/dist/api/QColor.json +6 -3
  26. package/dist/api/QDate.json +33 -5
  27. package/dist/api/QDialog.json +8 -4
  28. package/dist/api/QDrawer.json +10 -5
  29. package/dist/api/QEditor.json +10 -5
  30. package/dist/api/QExpansionItem.json +36 -13
  31. package/dist/api/QFab.json +41 -6
  32. package/dist/api/QFabAction.json +12 -2
  33. package/dist/api/QField.json +3 -1
  34. package/dist/api/QFile.json +8 -2
  35. package/dist/api/QFooter.json +2 -1
  36. package/dist/api/QForm.json +1 -1
  37. package/dist/api/QHeader.json +4 -2
  38. package/dist/api/QIcon.json +2 -1
  39. package/dist/api/QImg.json +8 -4
  40. package/dist/api/QInfiniteScroll.json +6 -3
  41. package/dist/api/QInnerLoading.json +8 -4
  42. package/dist/api/QInput.json +3 -1
  43. package/dist/api/QIntersection.json +4 -2
  44. package/dist/api/QItem.json +33 -11
  45. package/dist/api/QKnob.json +8 -4
  46. package/dist/api/QLayout.json +9 -1
  47. package/dist/api/QLinearProgress.json +4 -2
  48. package/dist/api/QMarkupTable.json +2 -1
  49. package/dist/api/QMenu.json +8 -4
  50. package/dist/api/QNoSsr.json +2 -1
  51. package/dist/api/QOptionGroup.json +76 -5
  52. package/dist/api/QPage.json +2 -1
  53. package/dist/api/QPageScroller.json +8 -4
  54. package/dist/api/QPageSticky.json +2 -1
  55. package/dist/api/QPagination.json +10 -6
  56. package/dist/api/QParallax.json +2 -1
  57. package/dist/api/QPopupEdit.json +5 -2
  58. package/dist/api/QPopupProxy.json +7 -4
  59. package/dist/api/QRange.json +600 -111
  60. package/dist/api/QRating.json +5 -2
  61. package/dist/api/QResizeObserver.json +4 -1
  62. package/dist/api/QRouteTab.json +35 -13
  63. package/dist/api/QScrollArea.json +29 -6
  64. package/dist/api/QScrollObserver.json +13 -1
  65. package/dist/api/QSelect.json +76 -47
  66. package/dist/api/QSeparator.json +2 -1
  67. package/dist/api/QSkeleton.json +8 -4
  68. package/dist/api/QSlideItem.json +9 -0
  69. package/dist/api/QSlideTransition.json +2 -1
  70. package/dist/api/QSlider.json +512 -43
  71. package/dist/api/QSpinner.json +2 -1
  72. package/dist/api/QSplitter.json +4 -2
  73. package/dist/api/QStep.json +2 -1
  74. package/dist/api/QStepper.json +6 -3
  75. package/dist/api/QTab.json +4 -2
  76. package/dist/api/QTabPanels.json +6 -3
  77. package/dist/api/QTable.json +154 -88
  78. package/dist/api/QTabs.json +4 -2
  79. package/dist/api/QTime.json +16 -4
  80. package/dist/api/QTimeline.json +4 -2
  81. package/dist/api/QTimelineEntry.json +4 -2
  82. package/dist/api/QToggle.json +8 -4
  83. package/dist/api/QTooltip.json +18 -9
  84. package/dist/api/QTree.json +34 -19
  85. package/dist/api/QUploader.json +28 -6
  86. package/dist/api/QVirtualScroll.json +26 -11
  87. package/dist/api/ScrollFire.json +1 -1
  88. package/dist/api/TouchHold.json +2 -1
  89. package/dist/api/TouchRepeat.json +2 -1
  90. package/dist/api/TouchSwipe.json +2 -1
  91. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  94. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  95. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  96. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  97. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  98. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  101. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  102. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  111. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  112. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  113. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  120. package/dist/icon-set/themify.umd.prod.js +1 -1
  121. package/dist/lang/ar.umd.prod.js +1 -1
  122. package/dist/lang/az-Latn.umd.prod.js +1 -1
  123. package/dist/lang/bg.umd.prod.js +1 -1
  124. package/dist/lang/bn.umd.prod.js +1 -1
  125. package/dist/lang/ca.umd.prod.js +1 -1
  126. package/dist/lang/cs.umd.prod.js +1 -1
  127. package/dist/lang/da.umd.prod.js +1 -1
  128. package/dist/lang/de.umd.prod.js +1 -1
  129. package/dist/lang/el.umd.prod.js +1 -1
  130. package/dist/lang/en-GB.umd.prod.js +1 -1
  131. package/dist/lang/en-US.umd.prod.js +1 -1
  132. package/dist/lang/eo.umd.prod.js +1 -1
  133. package/dist/lang/es.umd.prod.js +1 -1
  134. package/dist/lang/et.umd.prod.js +1 -1
  135. package/dist/lang/fa-IR.umd.prod.js +1 -1
  136. package/dist/lang/fa.umd.prod.js +1 -1
  137. package/dist/lang/fi.umd.prod.js +1 -1
  138. package/dist/lang/fr.umd.prod.js +1 -1
  139. package/dist/lang/gn.umd.prod.js +1 -1
  140. package/dist/lang/he.umd.prod.js +1 -1
  141. package/dist/lang/hr.umd.prod.js +1 -1
  142. package/dist/lang/hu.umd.prod.js +1 -1
  143. package/dist/lang/id.umd.prod.js +1 -1
  144. package/dist/lang/is.umd.prod.js +1 -1
  145. package/dist/lang/it.umd.prod.js +1 -1
  146. package/dist/lang/ja.umd.prod.js +1 -1
  147. package/dist/lang/km.umd.prod.js +1 -1
  148. package/dist/lang/ko-KR.umd.prod.js +1 -1
  149. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  150. package/dist/lang/lt.umd.prod.js +1 -1
  151. package/dist/lang/lu.umd.prod.js +1 -1
  152. package/dist/lang/lv.umd.prod.js +1 -1
  153. package/dist/lang/ml.umd.prod.js +1 -1
  154. package/dist/lang/ms.umd.prod.js +1 -1
  155. package/dist/lang/nb-NO.umd.prod.js +1 -1
  156. package/dist/lang/nl.umd.prod.js +1 -1
  157. package/dist/lang/pl.umd.prod.js +1 -1
  158. package/dist/lang/pt-BR.umd.prod.js +1 -1
  159. package/dist/lang/pt.umd.prod.js +1 -1
  160. package/dist/lang/ro.umd.prod.js +1 -1
  161. package/dist/lang/ru.umd.prod.js +1 -1
  162. package/dist/lang/sk.umd.prod.js +1 -1
  163. package/dist/lang/sl.umd.prod.js +1 -1
  164. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  165. package/dist/lang/sr.umd.prod.js +1 -1
  166. package/dist/lang/sv.umd.prod.js +1 -1
  167. package/dist/lang/ta.umd.prod.js +1 -1
  168. package/dist/lang/th.umd.prod.js +1 -1
  169. package/dist/lang/tr.umd.prod.js +1 -1
  170. package/dist/lang/ug.umd.prod.js +1 -1
  171. package/dist/lang/uk.umd.prod.js +1 -1
  172. package/dist/lang/vi.umd.prod.js +1 -1
  173. package/dist/lang/zh-CN.umd.prod.js +1 -1
  174. package/dist/lang/zh-TW.umd.prod.js +1 -1
  175. package/dist/quasar.cjs.prod.js +2 -2
  176. package/dist/quasar.css +268 -184
  177. package/dist/quasar.esm.prod.js +2 -2
  178. package/dist/quasar.prod.css +1 -1
  179. package/dist/quasar.rtl.css +340 -263
  180. package/dist/quasar.rtl.prod.css +1 -1
  181. package/dist/quasar.sass +272 -212
  182. package/dist/quasar.umd.js +16522 -16213
  183. package/dist/quasar.umd.prod.js +2 -2
  184. package/dist/ssr-directives/Morph.js +1 -1
  185. package/dist/transforms/loader-asset-urls.json +20 -0
  186. package/dist/types/api/cookies.d.ts +1 -1
  187. package/dist/types/api/slider.d.ts +46 -0
  188. package/dist/types/api/validation.d.ts +4 -0
  189. package/dist/types/api.d.ts +2 -0
  190. package/dist/types/composables.d.ts +3 -3
  191. package/dist/types/index.d.ts +759 -177
  192. package/dist/vetur/quasar-attributes.json +251 -83
  193. package/dist/vetur/quasar-tags.json +59 -17
  194. package/dist/web-types/web-types.json +587 -155
  195. package/package.json +1 -1
  196. package/src/api.extends.json +0 -1
  197. package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
  198. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  199. package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
  200. package/src/components/btn/QBtn.js +6 -5
  201. package/src/components/btn/use-btn.js +21 -21
  202. package/src/components/btn/use-btn.json +22 -13
  203. package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
  204. package/src/components/btn-toggle/QBtnToggle.json +3 -0
  205. package/src/components/checkbox/use-checkbox.js +1 -1
  206. package/src/components/chip/QChip.json +1 -2
  207. package/src/components/color/QColor.js +32 -26
  208. package/src/components/color/QColor.sass +10 -23
  209. package/src/components/date/QDate.json +25 -1
  210. package/src/components/date/QDate.sass +2 -0
  211. package/src/components/drawer/QDrawer.js +18 -15
  212. package/src/components/editor/QEditor.js +1 -1
  213. package/src/components/editor/QEditor.sass +10 -1
  214. package/src/components/expansion-item/QExpansionItem.js +4 -1
  215. package/src/components/expansion-item/QExpansionItem.json +2 -1
  216. package/src/components/fab/QFab.js +18 -12
  217. package/src/components/fab/QFab.json +36 -1
  218. package/src/components/fab/QFab.sass +1 -1
  219. package/src/components/fab/QFabAction.js +14 -7
  220. package/src/components/fab/QFabAction.json +10 -0
  221. package/src/components/field/QField.json +3 -3
  222. package/src/components/file/QFile.js +12 -5
  223. package/src/components/file/QFile.json +9 -6
  224. package/src/components/file/QFile.sass +4 -2
  225. package/src/components/footer/QFooter.js +1 -1
  226. package/src/components/form/QForm.json +2 -3
  227. package/src/components/header/QHeader.js +1 -1
  228. package/src/components/icon/QIcon.js +2 -2
  229. package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
  230. package/src/components/item/QItem.js +2 -3
  231. package/src/components/layout/QLayout.json +8 -1
  232. package/src/components/linear-progress/QLinearProgress.js +3 -2
  233. package/src/components/linear-progress/QLinearProgress.sass +1 -1
  234. package/src/components/option-group/QOptionGroup.js +3 -0
  235. package/src/components/option-group/QOptionGroup.json +48 -2
  236. package/src/components/pagination/QPagination.json +0 -1
  237. package/src/components/parallax/QParallax.js +4 -2
  238. package/src/components/popup-edit/QPopupEdit.js +2 -5
  239. package/src/components/popup-edit/QPopupEdit.json +1 -0
  240. package/src/components/popup-proxy/QPopupProxy.json +2 -1
  241. package/src/components/radio/QRadio.js +2 -7
  242. package/src/components/range/QRange.js +103 -222
  243. package/src/components/range/QRange.json +11 -121
  244. package/src/components/rating/QRating.json +1 -1
  245. package/src/components/resize-observer/QResizeObserver.json +2 -0
  246. package/src/components/scroll-area/QScrollArea.js +10 -13
  247. package/src/components/scroll-area/QScrollArea.json +29 -9
  248. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  249. package/src/components/select/QSelect.json +41 -15
  250. package/src/components/slide-item/QSlideItem.json +9 -0
  251. package/src/components/slider/QSlider.js +46 -132
  252. package/src/components/slider/QSlider.json +1 -121
  253. package/src/components/slider/QSlider.sass +198 -132
  254. package/src/components/slider/use-slider.js +453 -109
  255. package/src/components/slider/use-slider.json +546 -0
  256. package/src/components/stepper/QStepper.js +3 -3
  257. package/src/components/stepper/QStepper.sass +24 -26
  258. package/src/components/table/QTable.js +27 -47
  259. package/src/components/table/QTable.json +104 -55
  260. package/src/components/table/table-pagination.js +4 -0
  261. package/src/components/tabs/QRouteTab.js +1 -2
  262. package/src/components/tabs/QRouteTab.json +0 -7
  263. package/src/components/tabs/QTabs.js +71 -20
  264. package/src/components/tabs/use-tab.js +26 -13
  265. package/src/components/time/QTime.json +8 -0
  266. package/src/components/tree/QTree.js +14 -12
  267. package/src/components/tree/QTree.json +26 -21
  268. package/src/components/tree/QTree.sass +45 -41
  269. package/src/components/uploader/QUploader.json +14 -2
  270. package/src/components/uploader/uploader-core.js +16 -9
  271. package/src/components/uploader/xhr-uploader-plugin.json +8 -3
  272. package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
  273. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  274. package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
  275. package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
  276. package/src/composables/private/use-field.js +5 -5
  277. package/src/composables/private/use-file.js +20 -5
  278. package/src/composables/private/use-form.js +2 -3
  279. package/src/composables/private/use-fullscreen.js +15 -4
  280. package/src/composables/private/use-router-link.js +44 -23
  281. package/src/composables/private/use-router-link.json +26 -10
  282. package/src/composables/private/use-split-attrs.js +7 -10
  283. package/src/composables/private/use-validate.js +21 -15
  284. package/src/composables/private/use-validate.json +1 -0
  285. package/src/css/core/helpers.sass +3 -0
  286. package/src/css/core/positioning.sass +5 -0
  287. package/src/directives/Mutation.json +2 -3
  288. package/src/directives/ScrollFire.js +1 -0
  289. package/src/directives/ScrollFire.json +2 -3
  290. package/src/icon-set.js +2 -4
  291. package/src/plugins/AppFullscreen.js +70 -53
  292. package/src/plugins/AppFullscreen.json +8 -8
  293. package/src/plugins/AppVisibility.js +2 -3
  294. package/src/plugins/BottomSheet.js +3 -5
  295. package/src/plugins/Cookies.json +2 -2
  296. package/src/plugins/Dialog.js +3 -5
  297. package/src/plugins/Dialog.json +6 -5
  298. package/src/plugins/LoadingBar.js +17 -18
  299. package/src/plugins/LoadingBar.json +4 -3
  300. package/src/plugins/Notify.js +296 -295
  301. package/src/plugins/Notify.json +13 -19
  302. package/src/plugins/Platform.js +14 -14
  303. package/src/utils/date.js +4 -4
  304. package/src/utils/dom.js +2 -2
  305. package/src/utils/open-url.js +2 -2
  306. package/src/utils/patterns.js +1 -0
  307. package/src/utils/private/define-reactive-plugin.js +10 -8
  308. package/src/utils/private/global-dialog.js +6 -8
  309. package/src/utils/private/global-dialog.json +6 -0
  310. package/src/utils/private/inject-obj-prop.js +13 -0
  311. package/src/utils/private/is.js +2 -2
@@ -26,7 +26,8 @@
26
26
  "YYYY-MM-DD",
27
27
  "MMMM Do, YYYY",
28
28
  "YYYY-MM-DD HH:mm:ss"
29
- ]
29
+ ],
30
+ "required": false
30
31
  },
31
32
  "locale": {
32
33
  "type": "Object",
@@ -74,7 +75,8 @@
74
75
  "gregorian",
75
76
  "persian"
76
77
  ],
77
- "category": "model"
78
+ "category": "model",
79
+ "required": false
78
80
  },
79
81
  "color": {
80
82
  "type": "String",
@@ -175,7 +177,8 @@
175
177
  "Months",
176
178
  "Years"
177
179
  ],
178
- "category": "model"
180
+ "category": "model",
181
+ "required": false
179
182
  },
180
183
  "years-in-month-view": {
181
184
  "type": "Boolean",
@@ -297,7 +300,8 @@
297
300
  "first-day-of-week=\"1\"",
298
301
  ":first-day-of-week=\"selectedFirstDayOfTheWeek\""
299
302
  ],
300
- "category": "model"
303
+ "category": "model",
304
+ "required": false
301
305
  },
302
306
  "today-btn": {
303
307
  "type": "Boolean",
@@ -364,48 +368,59 @@
364
368
  "definition": {
365
369
  "year": {
366
370
  "type": "Number",
371
+ "required": true,
367
372
  "desc": "The year of the date that the user has clicked/tapped on"
368
373
  },
369
374
  "month": {
370
375
  "type": "Number",
376
+ "required": true,
371
377
  "desc": "The month of the date that the user has clicked/tapped on"
372
378
  },
373
379
  "day": {
374
380
  "type": "Number",
381
+ "required": true,
375
382
  "desc": "The day of the month that the user has clicked/tapped on"
376
383
  },
377
384
  "from": {
378
385
  "type": "Object",
386
+ "required": false,
379
387
  "desc": "Object of properties of the range starting point (only if range)",
380
388
  "definition": {
381
389
  "year": {
382
390
  "type": "Number",
391
+ "required": true,
383
392
  "desc": "The year"
384
393
  },
385
394
  "month": {
386
395
  "type": "Number",
396
+ "required": true,
387
397
  "desc": "The month"
388
398
  },
389
399
  "day": {
390
400
  "type": "Number",
401
+ "required": true,
391
402
  "desc": "The day of month"
392
403
  }
393
404
  }
394
405
  },
395
406
  "to": {
396
407
  "type": "Object",
408
+ "required": false,
397
409
  "desc": "Object of properties of the range ending point (only if range)",
398
410
  "definition": {
399
411
  "year": {
400
412
  "type": "Number",
413
+ "required": true,
401
414
  "desc": "The year"
402
415
  },
403
416
  "month": {
404
417
  "type": "Number",
418
+ "required": true,
405
419
  "desc": "The month"
406
420
  },
407
421
  "day": {
408
422
  "type": "Number",
423
+ "required": true,
409
424
  "desc": "The day of month"
410
425
  }
411
426
  }
@@ -423,10 +438,12 @@
423
438
  "definition": {
424
439
  "year": {
425
440
  "type": "Number",
441
+ "required": true,
426
442
  "desc": "The year"
427
443
  },
428
444
  "month": {
429
445
  "type": "Number",
446
+ "required": true,
430
447
  "desc": "The month"
431
448
  }
432
449
  }
@@ -442,14 +459,17 @@
442
459
  "definition": {
443
460
  "year": {
444
461
  "type": "Number",
462
+ "required": true,
445
463
  "desc": "The year"
446
464
  },
447
465
  "month": {
448
466
  "type": "Number",
467
+ "required": true,
449
468
  "desc": "The month"
450
469
  },
451
470
  "day": {
452
471
  "type": "Number",
472
+ "required": true,
453
473
  "desc": "The day of month"
454
474
  }
455
475
  }
@@ -465,36 +485,44 @@
465
485
  "definition": {
466
486
  "from": {
467
487
  "type": "Object",
488
+ "required": true,
468
489
  "desc": "Definition of date from where the range begins",
469
490
  "definition": {
470
491
  "year": {
471
492
  "type": "Number",
493
+ "required": true,
472
494
  "desc": "The year"
473
495
  },
474
496
  "month": {
475
497
  "type": "Number",
498
+ "required": true,
476
499
  "desc": "The month"
477
500
  },
478
501
  "day": {
479
502
  "type": "Number",
503
+ "required": true,
480
504
  "desc": "The day of month"
481
505
  }
482
506
  }
483
507
  },
484
508
  "to": {
485
509
  "type": "Object",
510
+ "required": true,
486
511
  "desc": "Definition of date to where the range ends",
487
512
  "definition": {
488
513
  "year": {
489
514
  "type": "Number",
515
+ "required": true,
490
516
  "desc": "The year"
491
517
  },
492
518
  "month": {
493
519
  "type": "Number",
520
+ "required": true,
494
521
  "desc": "The month"
495
522
  },
496
523
  "day": {
497
524
  "type": "Number",
525
+ "required": true,
498
526
  "desc": "The day of month"
499
527
  }
500
528
  }
@@ -513,8 +541,8 @@
513
541
  "params": {
514
542
  "view": {
515
543
  "type": "String",
516
- "desc": "QDate view name",
517
544
  "required": true,
545
+ "desc": "QDate view name",
518
546
  "values": [
519
547
  "Calendar",
520
548
  "Months",
@@ -12,7 +12,8 @@
12
12
  "slide-down"
13
13
  ],
14
14
  "category": "transition",
15
- "default": "fade"
15
+ "default": "fade",
16
+ "required": false
16
17
  },
17
18
  "transition-hide": {
18
19
  "type": "String",
@@ -22,7 +23,8 @@
22
23
  "slide-down"
23
24
  ],
24
25
  "category": "transition",
25
- "default": "fade"
26
+ "default": "fade",
27
+ "required": false
26
28
  },
27
29
  "transition-duration": {
28
30
  "type": [
@@ -35,7 +37,8 @@
35
37
  500,
36
38
  "1200"
37
39
  ],
38
- "category": "transition"
40
+ "category": "transition",
41
+ "required": false
39
42
  },
40
43
  "model-value": {
41
44
  "type": "Boolean",
@@ -102,7 +105,8 @@
102
105
  "top",
103
106
  "right"
104
107
  ],
105
- "category": "content"
108
+ "category": "content",
109
+ "required": false
106
110
  },
107
111
  "square": {
108
112
  "type": "Boolean",
@@ -20,7 +20,8 @@
20
20
  "examples": [
21
21
  "right"
22
22
  ],
23
- "category": "behavior"
23
+ "category": "behavior",
24
+ "required": false
24
25
  },
25
26
  "overlay": {
26
27
  "type": "Boolean",
@@ -34,7 +35,8 @@
34
35
  "examples": [
35
36
  ":width=\"350\""
36
37
  ],
37
- "category": "style"
38
+ "category": "style",
39
+ "required": false
38
40
  },
39
41
  "mini": {
40
42
  "type": "Boolean",
@@ -48,7 +50,8 @@
48
50
  "examples": [
49
51
  ":mini-width=\"100\""
50
52
  ],
51
- "category": "style"
53
+ "category": "style",
54
+ "required": false
52
55
  },
53
56
  "dark": {
54
57
  "type": "Boolean",
@@ -68,7 +71,8 @@
68
71
  1200,
69
72
  ":breakpoint=\"1400\""
70
73
  ],
71
- "category": "behavior"
74
+ "category": "behavior",
75
+ "required": false
72
76
  },
73
77
  "behavior": {
74
78
  "type": "String",
@@ -82,7 +86,8 @@
82
86
  "examples": [
83
87
  "mobile"
84
88
  ],
85
- "category": "behavior"
89
+ "category": "behavior",
90
+ "required": false
86
91
  },
87
92
  "bordered": {
88
93
  "type": "Boolean",
@@ -65,7 +65,8 @@
65
65
  "15rem",
66
66
  "50vh"
67
67
  ],
68
- "category": "style"
68
+ "category": "style",
69
+ "required": false
69
70
  },
70
71
  "max-height": {
71
72
  "type": "String",
@@ -230,7 +231,8 @@
230
231
  "justify"
231
232
  ]
232
233
  ],
233
- "category": "toolbar"
234
+ "category": "toolbar",
235
+ "required": false
234
236
  },
235
237
  "toolbar-color": {
236
238
  "type": "String",
@@ -258,7 +260,8 @@
258
260
  "secondary",
259
261
  "blue-3"
260
262
  ],
261
- "category": "toolbar"
263
+ "category": "toolbar",
264
+ "required": false
262
265
  },
263
266
  "toolbar-bg": {
264
267
  "type": "String",
@@ -268,7 +271,8 @@
268
271
  "secondary",
269
272
  "blue-3"
270
273
  ],
271
- "category": "toolbar"
274
+ "category": "toolbar",
275
+ "required": false
272
276
  },
273
277
  "toolbar-outline": {
274
278
  "type": "Boolean",
@@ -369,7 +373,8 @@
369
373
  "update": {
370
374
  "type": "Boolean",
371
375
  "desc": "Refresh the toolbar",
372
- "default": true
376
+ "default": true,
377
+ "required": false
373
378
  }
374
379
  }
375
380
  },
@@ -9,38 +9,59 @@
9
9
  "String",
10
10
  "Object"
11
11
  ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
12
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
13
13
  "examples": [
14
14
  "/home/dashboard",
15
15
  ":to=\"{ name: 'my-route-name' }\""
16
16
  ],
17
- "category": "behavior"
17
+ "category": "navigation"
18
18
  },
19
19
  "exact": {
20
20
  "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
22
- "category": "behavior"
21
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
22
+ "category": "navigation"
23
23
  },
24
24
  "replace": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "active-class": {
30
30
  "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
31
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
32
32
  "examples": [
33
33
  "my-active-class"
34
34
  ],
35
- "category": "behavior"
35
+ "category": "navigation"
36
36
  },
37
37
  "exact-active-class": {
38
38
  "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
39
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
40
40
  "examples": [
41
41
  "my-exact-active-class"
42
42
  ],
43
- "category": "behavior"
43
+ "category": "navigation"
44
+ },
45
+ "href": {
46
+ "type": "String",
47
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
+ "examples": [
49
+ "http://quasar.dev"
50
+ ],
51
+ "category": "navigation",
52
+ "addedIn": "v2.4"
53
+ },
54
+ "target": {
55
+ "type": "String",
56
+ "desc": "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",
57
+ "examples": [
58
+ "_blank",
59
+ "_self",
60
+ "_parent",
61
+ "_top"
62
+ ],
63
+ "category": "navigation",
64
+ "addedIn": "v2.4"
44
65
  },
45
66
  "disable": {
46
67
  "type": "Boolean",
@@ -48,9 +69,10 @@
48
69
  "category": "state"
49
70
  },
50
71
  "model-value": {
51
- "type": "Boolean",
52
72
  "desc": "Model of the component defining 'open' state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
53
- "category": "model"
73
+ "required": false,
74
+ "category": "model",
75
+ "type": "Boolean"
54
76
  },
55
77
  "icon": {
56
78
  "type": "String",
@@ -156,7 +178,8 @@
156
178
  "examples": [
157
179
  ":duration=\"1000\""
158
180
  ],
159
- "category": "behavior"
181
+ "category": "behavior",
182
+ "required": false
160
183
  },
161
184
  "header-inset-level": {
162
185
  "type": "Number",
@@ -14,7 +14,8 @@
14
14
  "button",
15
15
  "reset"
16
16
  ],
17
- "category": "general"
17
+ "category": "general",
18
+ "required": false
18
19
  },
19
20
  "outline": {
20
21
  "type": "Boolean",
@@ -86,7 +87,8 @@
86
87
  "examples": [
87
88
  "Button Label"
88
89
  ],
89
- "category": "content"
90
+ "category": "content",
91
+ "required": false
90
92
  },
91
93
  "label-position": {
92
94
  "type": "String",
@@ -153,9 +155,10 @@
153
155
  "category": "general"
154
156
  },
155
157
  "model-value": {
156
- "type": "Boolean",
157
158
  "desc": "Controls state of fab actions (showing/hidden); Works best with v-model directive, otherwise use along listening to 'update:modelValue' event",
158
- "category": "model"
159
+ "required": false,
160
+ "category": "model",
161
+ "type": "Boolean"
159
162
  },
160
163
  "icon": {
161
164
  "type": "String",
@@ -197,7 +200,8 @@
197
200
  "examples": [
198
201
  "down"
199
202
  ],
200
- "category": "behavior"
203
+ "category": "behavior",
204
+ "required": false
201
205
  },
202
206
  "vertical-actions-align": {
203
207
  "type": "String",
@@ -208,7 +212,8 @@
208
212
  "center",
209
213
  "right"
210
214
  ],
211
- "category": "style|content"
215
+ "category": "style|content",
216
+ "required": false
212
217
  },
213
218
  "persistent": {
214
219
  "type": "Boolean",
@@ -222,6 +227,36 @@
222
227
  },
223
228
  "tooltip": {
224
229
  "desc": "Slot specifically designed for a QTooltip"
230
+ },
231
+ "icon": {
232
+ "desc": "Slot for icon shown when FAB is closed; Suggestion: QIcon",
233
+ "scope": {
234
+ "opened": {
235
+ "type": "Boolean",
236
+ "desc": "FAB is opened"
237
+ }
238
+ },
239
+ "addedIn": "v2.4"
240
+ },
241
+ "active-icon": {
242
+ "desc": "Slot for icon shown when FAB is opened; Suggestion: QIcon",
243
+ "scope": {
244
+ "opened": {
245
+ "type": "Boolean",
246
+ "desc": "FAB is opened"
247
+ }
248
+ },
249
+ "addedIn": "v2.4"
250
+ },
251
+ "label": {
252
+ "desc": "Slot for label",
253
+ "scope": {
254
+ "opened": {
255
+ "type": "Boolean",
256
+ "desc": "FAB is opened"
257
+ }
258
+ },
259
+ "addedIn": "v2.4"
225
260
  }
226
261
  },
227
262
  "events": {
@@ -14,7 +14,8 @@
14
14
  "button",
15
15
  "reset"
16
16
  ],
17
- "category": "general"
17
+ "category": "general",
18
+ "required": false
18
19
  },
19
20
  "outline": {
20
21
  "type": "Boolean",
@@ -86,7 +87,8 @@
86
87
  "examples": [
87
88
  "Button Label"
88
89
  ],
89
- "category": "content"
90
+ "category": "content",
91
+ "required": false
90
92
  },
91
93
  "label-position": {
92
94
  "type": "String",
@@ -194,6 +196,14 @@
194
196
  "slots": {
195
197
  "default": {
196
198
  "desc": "Suggestion for this slot: QTooltip"
199
+ },
200
+ "icon": {
201
+ "desc": "Slot for icon; Suggestion: QIcon",
202
+ "addedIn": "v2.4"
203
+ },
204
+ "label": {
205
+ "desc": "Slot for label",
206
+ "addedIn": "v2.4"
197
207
  }
198
208
  },
199
209
  "events": {
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "rules": {
31
31
  "type": "Array",
32
+ "tsType": "ValidationRule",
32
33
  "desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
33
34
  "examples": [
34
35
  ":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
@@ -298,7 +299,7 @@
298
299
  ]
299
300
  },
300
301
  "field": {
301
- "type": "Object",
302
+ "type": "Element",
302
303
  "desc": "DOM element of the field"
303
304
  },
304
305
  "editable": {
@@ -327,6 +328,7 @@
327
328
  "params": {
328
329
  "value": {
329
330
  "type": "Any",
331
+ "required": true,
330
332
  "desc": "Value to be emitted",
331
333
  "examples": [
332
334
  0,
@@ -128,6 +128,7 @@
128
128
  },
129
129
  "rules": {
130
130
  "type": "Array",
131
+ "tsType": "ValidationRule",
131
132
  "desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
132
133
  "examples": [
133
134
  ":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
@@ -366,6 +367,7 @@
366
367
  "definition": {
367
368
  "totalSize": {
368
369
  "type": "String",
370
+ "required": true,
369
371
  "desc": "The total size of files in human readable format",
370
372
  "examples": [
371
373
  "1.42MB"
@@ -373,6 +375,7 @@
373
375
  },
374
376
  "filesNumber": {
375
377
  "type": "Number",
378
+ "required": true,
376
379
  "desc": "Number of picked files",
377
380
  "examples": [
378
381
  5
@@ -383,6 +386,7 @@
383
386
  "Number",
384
387
  "String"
385
388
  ],
389
+ "required": true,
386
390
  "desc": "Maximum number of files (same as 'max-files' prop, if specified); When 'max-files' is not specified, this has 'void 0' as value",
387
391
  "examples": [
388
392
  5
@@ -485,7 +489,8 @@
485
489
  "desc": "File object"
486
490
  },
487
491
  "ref": {
488
- "type": "Object",
492
+ "type": "Component",
493
+ "tsType": "QFile",
489
494
  "desc": "Reference to the QFile component"
490
495
  }
491
496
  }
@@ -501,7 +506,8 @@
501
506
  "desc": "Array of File objects"
502
507
  },
503
508
  "ref": {
504
- "type": "Object",
509
+ "type": "Component",
510
+ "tsType": "QFile",
505
511
  "desc": "Reference to the QFile component"
506
512
  }
507
513
  }
@@ -39,7 +39,8 @@
39
39
  "examples": [
40
40
  "150"
41
41
  ],
42
- "category": "behavior"
42
+ "category": "behavior",
43
+ "required": false
43
44
  }
44
45
  },
45
46
  "slots": {
@@ -44,7 +44,7 @@
44
44
  "desc": "Emitted after a validation was triggered and at least one of the inner Quasar components models are NOT valid",
45
45
  "params": {
46
46
  "ref": {
47
- "type": "Object",
47
+ "type": "Component",
48
48
  "desc": "Vue reference to the first component that triggered the validation error"
49
49
  }
50
50
  }
@@ -26,7 +26,8 @@
26
26
  "examples": [
27
27
  ":reveal-offset=\"500\""
28
28
  ],
29
- "category": "behavior"
29
+ "category": "behavior",
30
+ "required": false
30
31
  },
31
32
  "bordered": {
32
33
  "type": "Boolean",
@@ -48,7 +49,8 @@
48
49
  "examples": [
49
50
  "150"
50
51
  ],
51
- "category": "behavior"
52
+ "category": "behavior",
53
+ "required": false
52
54
  }
53
55
  },
54
56
  "slots": {
@@ -25,7 +25,8 @@
25
25
  "i"
26
26
  ],
27
27
  "category": "content",
28
- "default": "i"
28
+ "default": "i",
29
+ "required": false
29
30
  },
30
31
  "name": {
31
32
  "type": "String",