quasar 2.15.3 → 2.16.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 (582) hide show
  1. package/dist/api/AppFullscreen.json +1 -1
  2. package/dist/api/Brand.json +1 -1
  3. package/dist/api/QBreadcrumbs.json +1 -1
  4. package/dist/api/QBreadcrumbsEl.json +1 -1
  5. package/dist/api/QBtnDropdown.json +1 -1
  6. package/dist/api/QCarousel.json +1 -1
  7. package/dist/api/QCheckbox.json +1 -1
  8. package/dist/api/QCircularProgress.json +1 -1
  9. package/dist/api/QDialog.json +1 -1
  10. package/dist/api/QDrawer.json +1 -1
  11. package/dist/api/QEditor.json +1 -1
  12. package/dist/api/QExpansionItem.json +1 -1
  13. package/dist/api/QFab.json +1 -1
  14. package/dist/api/QFabAction.json +1 -1
  15. package/dist/api/QField.json +1 -1
  16. package/dist/api/QFile.json +1 -1
  17. package/dist/api/QImg.json +1 -1
  18. package/dist/api/QInnerLoading.json +1 -1
  19. package/dist/api/QInput.json +1 -1
  20. package/dist/api/QIntersection.json +1 -1
  21. package/dist/api/QItem.json +1 -1
  22. package/dist/api/QKnob.json +1 -1
  23. package/dist/api/QMenu.json +1 -1
  24. package/dist/api/QPage.json +1 -1
  25. package/dist/api/QPagination.json +1 -1
  26. package/dist/api/QParallax.json +1 -1
  27. package/dist/api/QPopupEdit.json +1 -1
  28. package/dist/api/QRadio.json +1 -1
  29. package/dist/api/QRange.json +1 -1
  30. package/dist/api/QRouteTab.json +1 -1
  31. package/dist/api/QSelect.json +1 -1
  32. package/dist/api/QSeparator.json +1 -1
  33. package/dist/api/QSkeleton.json +1 -1
  34. package/dist/api/QSlider.json +1 -1
  35. package/dist/api/QSpinner.json +1 -1
  36. package/dist/api/QSpinnerAudio.json +1 -1
  37. package/dist/api/QSpinnerBall.json +1 -1
  38. package/dist/api/QSpinnerBars.json +1 -1
  39. package/dist/api/QSpinnerBox.json +1 -1
  40. package/dist/api/QSpinnerClock.json +1 -1
  41. package/dist/api/QSpinnerComment.json +1 -1
  42. package/dist/api/QSpinnerCube.json +1 -1
  43. package/dist/api/QSpinnerDots.json +1 -1
  44. package/dist/api/QSpinnerFacebook.json +1 -1
  45. package/dist/api/QSpinnerGears.json +1 -1
  46. package/dist/api/QSpinnerGrid.json +1 -1
  47. package/dist/api/QSpinnerHearts.json +1 -1
  48. package/dist/api/QSpinnerHourglass.json +1 -1
  49. package/dist/api/QSpinnerInfinity.json +1 -1
  50. package/dist/api/QSpinnerIos.json +1 -1
  51. package/dist/api/QSpinnerOrbit.json +1 -1
  52. package/dist/api/QSpinnerOval.json +1 -1
  53. package/dist/api/QSpinnerPie.json +1 -1
  54. package/dist/api/QSpinnerPuff.json +1 -1
  55. package/dist/api/QSpinnerRadio.json +1 -1
  56. package/dist/api/QSpinnerRings.json +1 -1
  57. package/dist/api/QSpinnerTail.json +1 -1
  58. package/dist/api/QSplitter.json +1 -1
  59. package/dist/api/QStepper.json +1 -1
  60. package/dist/api/QTabPanels.json +1 -1
  61. package/dist/api/QTable.json +1 -1
  62. package/dist/api/QTimeline.json +1 -1
  63. package/dist/api/QToggle.json +1 -1
  64. package/dist/api/QTooltip.json +1 -1
  65. package/dist/api/QTree.json +1 -1
  66. package/dist/api/QVirtualScroll.json +1 -1
  67. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  68. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  69. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  70. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  71. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  72. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  73. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  74. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  75. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  76. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  77. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  78. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  79. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  80. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  81. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  82. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  83. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  84. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  85. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  86. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  87. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  88. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  89. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  90. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  91. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  92. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  93. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  94. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  95. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  96. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  97. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  98. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  99. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  100. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  101. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  102. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  103. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  104. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  105. package/dist/icon-set/themify.umd.prod.js +1 -1
  106. package/dist/lang/ar-TN.umd.prod.js +1 -1
  107. package/dist/lang/ar.umd.prod.js +1 -1
  108. package/dist/lang/az-Latn.umd.prod.js +1 -1
  109. package/dist/lang/bg.umd.prod.js +1 -1
  110. package/dist/lang/bn.umd.prod.js +1 -1
  111. package/dist/lang/ca.umd.prod.js +1 -1
  112. package/dist/lang/cs.umd.prod.js +1 -1
  113. package/dist/lang/da.umd.prod.js +1 -1
  114. package/dist/lang/de-CH.umd.prod.js +1 -1
  115. package/dist/lang/de-DE.umd.prod.js +1 -1
  116. package/dist/lang/de.umd.prod.js +1 -1
  117. package/dist/lang/el.umd.prod.js +1 -1
  118. package/dist/lang/en-GB.umd.prod.js +1 -1
  119. package/dist/lang/en-US.umd.prod.js +1 -1
  120. package/dist/lang/eo.umd.prod.js +1 -1
  121. package/dist/lang/es.umd.prod.js +1 -1
  122. package/dist/lang/et.umd.prod.js +1 -1
  123. package/dist/lang/eu.umd.prod.js +1 -1
  124. package/dist/lang/fa-IR.umd.prod.js +1 -1
  125. package/dist/lang/fa.umd.prod.js +1 -1
  126. package/dist/lang/fi.umd.prod.js +1 -1
  127. package/dist/lang/fr.umd.prod.js +1 -1
  128. package/dist/lang/gn.umd.prod.js +1 -1
  129. package/dist/lang/he.umd.prod.js +1 -1
  130. package/dist/lang/hi.umd.prod.js +1 -1
  131. package/dist/lang/hr.umd.prod.js +1 -1
  132. package/dist/lang/hu.umd.prod.js +1 -1
  133. package/dist/lang/id.umd.prod.js +1 -1
  134. package/dist/lang/is.umd.prod.js +1 -1
  135. package/dist/lang/it.umd.prod.js +1 -1
  136. package/dist/lang/ja.umd.prod.js +1 -1
  137. package/dist/lang/kk.umd.prod.js +1 -1
  138. package/dist/lang/km.umd.prod.js +1 -1
  139. package/dist/lang/ko-KR.umd.prod.js +1 -1
  140. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  141. package/dist/lang/lt.umd.prod.js +1 -1
  142. package/dist/lang/lu.umd.prod.js +1 -1
  143. package/dist/lang/lv.umd.prod.js +1 -1
  144. package/dist/lang/mk.umd.prod.js +1 -1
  145. package/dist/lang/ml.umd.prod.js +1 -1
  146. package/dist/lang/mm.umd.prod.js +1 -1
  147. package/dist/lang/ms-MY.umd.prod.js +1 -1
  148. package/dist/lang/ms.umd.prod.js +1 -1
  149. package/dist/lang/my.umd.prod.js +1 -1
  150. package/dist/lang/nb-NO.umd.prod.js +1 -1
  151. package/dist/lang/nl.umd.prod.js +1 -1
  152. package/dist/lang/pl.umd.prod.js +1 -1
  153. package/dist/lang/pt-BR.umd.prod.js +1 -1
  154. package/dist/lang/pt.umd.prod.js +1 -1
  155. package/dist/lang/ro.umd.prod.js +1 -1
  156. package/dist/lang/ru.umd.prod.js +1 -1
  157. package/dist/lang/sk.umd.prod.js +1 -1
  158. package/dist/lang/sl.umd.prod.js +1 -1
  159. package/dist/lang/sm.umd.prod.js +1 -1
  160. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  161. package/dist/lang/sr.umd.prod.js +1 -1
  162. package/dist/lang/sv.umd.prod.js +1 -1
  163. package/dist/lang/ta.umd.prod.js +1 -1
  164. package/dist/lang/th.umd.prod.js +1 -1
  165. package/dist/lang/tl.umd.prod.js +1 -1
  166. package/dist/lang/tr.umd.prod.js +1 -1
  167. package/dist/lang/ug.umd.prod.js +1 -1
  168. package/dist/lang/uk.umd.prod.js +1 -1
  169. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  170. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  171. package/dist/lang/vi.umd.prod.js +1 -1
  172. package/dist/lang/zh-CN.umd.prod.js +1 -1
  173. package/dist/lang/zh-TW.umd.prod.js +1 -1
  174. package/dist/{quasar.esm.js → quasar.client.js} +337 -364
  175. package/dist/quasar.sass +1 -1
  176. package/dist/quasar.server.prod.cjs +127 -0
  177. package/dist/quasar.server.prod.js +127 -0
  178. package/dist/quasar.umd.js +337 -363
  179. package/dist/quasar.umd.prod.js +8 -8
  180. package/dist/transforms/api-list.json +1 -1
  181. package/dist/types/index.d.ts +191 -93
  182. package/dist/vetur/quasar-attributes.json +1 -1
  183. package/dist/vetur/quasar-tags.json +1 -1
  184. package/dist/web-types/web-types.json +1 -1
  185. package/icon-set/bootstrap-icons.js +3 -8
  186. package/icon-set/eva-icons.js +3 -8
  187. package/icon-set/fontawesome-v5-pro.js +1 -6
  188. package/icon-set/fontawesome-v5.js +1 -6
  189. package/icon-set/fontawesome-v6-pro.js +1 -6
  190. package/icon-set/fontawesome-v6.js +1 -6
  191. package/icon-set/ionicons-v4.js +3 -8
  192. package/icon-set/line-awesome.js +1 -6
  193. package/icon-set/material-icons-outlined.js +1 -6
  194. package/icon-set/material-icons-round.js +1 -6
  195. package/icon-set/material-icons-sharp.js +1 -6
  196. package/icon-set/material-icons.js +1 -6
  197. package/icon-set/material-symbols-outlined.js +1 -6
  198. package/icon-set/material-symbols-rounded.js +1 -6
  199. package/icon-set/material-symbols-sharp.js +1 -6
  200. package/icon-set/mdi-v3.js +1 -6
  201. package/icon-set/mdi-v4.js +1 -6
  202. package/icon-set/mdi-v5.js +1 -6
  203. package/icon-set/mdi-v6.js +1 -6
  204. package/icon-set/mdi-v7.js +1 -6
  205. package/icon-set/svg-bootstrap-icons.js +6 -6
  206. package/icon-set/svg-eva-icons.js +6 -6
  207. package/icon-set/svg-fontawesome-v5.js +3 -3
  208. package/icon-set/svg-fontawesome-v6.js +4 -5
  209. package/icon-set/svg-ionicons-v4.js +6 -6
  210. package/icon-set/svg-ionicons-v5.js +5 -5
  211. package/icon-set/svg-ionicons-v6.js +5 -5
  212. package/icon-set/svg-line-awesome.js +4 -5
  213. package/icon-set/svg-material-icons-outlined.js +4 -5
  214. package/icon-set/svg-material-icons-round.js +4 -5
  215. package/icon-set/svg-material-icons-sharp.js +4 -5
  216. package/icon-set/svg-material-icons.js +4 -5
  217. package/icon-set/svg-material-symbols-outlined.js +4 -4
  218. package/icon-set/svg-material-symbols-rounded.js +4 -4
  219. package/icon-set/svg-material-symbols-sharp.js +4 -4
  220. package/icon-set/svg-mdi-v6.js +4 -5
  221. package/icon-set/svg-mdi-v7.js +4 -4
  222. package/icon-set/svg-themify.js +6 -6
  223. package/icon-set/themify.js +3 -8
  224. package/lang/ar-TN.js +1 -6
  225. package/lang/ar.js +1 -6
  226. package/lang/az-Latn.js +1 -6
  227. package/lang/bg.js +1 -6
  228. package/lang/bn.js +1 -6
  229. package/lang/ca.js +1 -6
  230. package/lang/cs.js +1 -6
  231. package/lang/da.js +1 -6
  232. package/lang/de-CH.js +1 -6
  233. package/lang/de-DE.js +1 -6
  234. package/lang/de.js +1 -6
  235. package/lang/el.js +1 -6
  236. package/lang/en-GB.js +1 -6
  237. package/lang/en-US.js +1 -6
  238. package/lang/eo.js +1 -6
  239. package/lang/es.js +1 -6
  240. package/lang/et.js +1 -6
  241. package/lang/eu.js +1 -6
  242. package/lang/fa-IR.js +1 -6
  243. package/lang/fa.js +1 -6
  244. package/lang/fi.js +1 -6
  245. package/lang/fr.js +1 -6
  246. package/lang/gn.js +1 -6
  247. package/lang/he.js +1 -6
  248. package/lang/hi.js +1 -6
  249. package/lang/hr.js +1 -6
  250. package/lang/hu.js +1 -6
  251. package/lang/id.js +1 -6
  252. package/lang/is.js +1 -6
  253. package/lang/it.js +1 -6
  254. package/lang/ja.js +1 -6
  255. package/lang/kk.js +1 -6
  256. package/lang/km.js +1 -6
  257. package/lang/ko-KR.js +1 -6
  258. package/lang/kur-CKB.js +1 -6
  259. package/lang/lt.js +1 -6
  260. package/lang/lu.js +1 -6
  261. package/lang/lv.js +1 -6
  262. package/lang/mk.js +1 -6
  263. package/lang/ml.js +1 -6
  264. package/lang/mm.js +1 -6
  265. package/lang/ms-MY.js +1 -6
  266. package/lang/ms.js +1 -6
  267. package/lang/my.js +1 -6
  268. package/lang/nb-NO.js +1 -6
  269. package/lang/nl.js +1 -6
  270. package/lang/pl.js +1 -6
  271. package/lang/pt-BR.js +1 -6
  272. package/lang/pt.js +1 -6
  273. package/lang/ro.js +1 -6
  274. package/lang/ru.js +1 -6
  275. package/lang/sk.js +1 -6
  276. package/lang/sl.js +1 -6
  277. package/lang/sm.js +1 -6
  278. package/lang/sr-CYR.js +1 -6
  279. package/lang/sr.js +1 -6
  280. package/lang/sv.js +1 -6
  281. package/lang/ta.js +1 -6
  282. package/lang/th.js +1 -6
  283. package/lang/tl.js +1 -6
  284. package/lang/tr.js +1 -6
  285. package/lang/ug.js +1 -6
  286. package/lang/uk.js +1 -6
  287. package/lang/uz-Cyrl.js +1 -6
  288. package/lang/uz-Latn.js +1 -6
  289. package/lang/vi.js +1 -6
  290. package/lang/zh-CN.js +1 -6
  291. package/lang/zh-TW.js +1 -6
  292. package/package.json +20 -9
  293. package/src/components/avatar/QAvatar.test.js +0 -28
  294. package/src/components/badge/QBadge.test.js +0 -36
  295. package/src/components/banner/QBanner.test.js +0 -16
  296. package/src/components/bar/QBar.test.js +0 -8
  297. package/src/components/breadcrumbs/QBreadcrumbs.json +2 -1
  298. package/src/components/breadcrumbs/QBreadcrumbs.test.js +1 -21
  299. package/src/components/breadcrumbs/QBreadcrumbsEl.test.js +0 -51
  300. package/src/components/btn/QBtn.json +6 -1
  301. package/src/components/btn/QBtn.test.js +0 -143
  302. package/src/components/btn/use-btn.js +8 -4
  303. package/src/components/btn/use-btn.test.js +9 -1
  304. package/src/components/btn-dropdown/QBtnDropdown.js +3 -3
  305. package/src/components/btn-dropdown/QBtnDropdown.json +1 -4
  306. package/src/components/btn-toggle/QBtnToggle.json +3 -1
  307. package/src/components/card/QCardActions.json +1 -0
  308. package/src/components/carousel/QCarousel.js +4 -3
  309. package/src/components/carousel/QCarousel.json +6 -3
  310. package/src/components/checkbox/use-checkbox.json +1 -1
  311. package/src/components/chip/QChip.test.js +0 -108
  312. package/src/components/circular-progress/QCircularProgress.json +0 -1
  313. package/src/components/color/QColor.json +1 -0
  314. package/src/components/date/QDate.js +8 -2
  315. package/src/components/date/QDate.json +1 -0
  316. package/src/components/date/use-datetime.js +1 -3
  317. package/src/components/dialog/QDialog.js +1 -2
  318. package/src/components/dialog/QDialog.json +11 -1
  319. package/src/components/dialog/QDialog.test.js +38 -160
  320. package/src/components/drawer/QDrawer.json +2 -2
  321. package/src/components/editor/QEditor.js +3 -8
  322. package/src/components/editor/QEditor.json +9 -2
  323. package/src/components/expansion-item/QExpansionItem.js +1 -1
  324. package/src/components/expansion-item/QExpansionItem.json +5 -6
  325. package/src/components/fab/QFab.js +1 -0
  326. package/src/components/fab/QFab.json +5 -4
  327. package/src/components/fab/QFabAction.json +2 -1
  328. package/src/components/fab/use-fab.json +2 -1
  329. package/src/components/field/QField.json +0 -39
  330. package/src/components/file/QFile.js +2 -2
  331. package/src/components/file/QFile.json +2 -7
  332. package/src/components/footer/QFooter.json +3 -1
  333. package/src/components/form/QForm.js +1 -1
  334. package/src/components/header/QHeader.json +3 -1
  335. package/src/components/img/QImg.json +1 -1
  336. package/src/components/infinite-scroll/QInfiniteScroll.js +7 -6
  337. package/src/components/inner-loading/QInnerLoading.js +1 -1
  338. package/src/components/inner-loading/QInnerLoading.json +1 -0
  339. package/src/components/input/QInput.js +2 -1
  340. package/src/components/input/QInput.json +7 -24
  341. package/src/components/intersection/QIntersection.json +1 -1
  342. package/src/components/item/QItem.json +3 -1
  343. package/src/components/knob/QKnob.json +11 -2
  344. package/src/components/menu/QMenu.js +2 -4
  345. package/src/components/menu/QMenu.json +3 -1
  346. package/src/components/option-group/QOptionGroup.js +1 -0
  347. package/src/components/page/QPage.json +1 -2
  348. package/src/components/page-scroller/QPageScroller.js +1 -0
  349. package/src/components/page-scroller/QPageScroller.json +4 -0
  350. package/src/components/page-sticky/QPageSticky.js +1 -1
  351. package/src/components/pagination/QPagination.json +7 -2
  352. package/src/components/parallax/QParallax.js +2 -4
  353. package/src/components/parallax/QParallax.json +1 -0
  354. package/src/components/popup-edit/QPopupEdit.json +2 -1
  355. package/src/components/pull-to-refresh/QPullToRefresh.js +2 -4
  356. package/src/components/radio/QRadio.json +2 -2
  357. package/src/components/range/QRange.json +1 -0
  358. package/src/components/scroll-observer/QScrollObserver.js +2 -4
  359. package/src/components/select/QSelect.js +7 -7
  360. package/src/components/select/QSelect.json +27 -16
  361. package/src/components/separator/QSeparator.json +0 -1
  362. package/src/components/skeleton/QSkeleton.json +1 -1
  363. package/src/components/slider/QSlider.json +1 -0
  364. package/src/components/slider/use-slider.js +0 -2
  365. package/src/components/spinner/QSpinner.json +1 -5
  366. package/src/components/spinner/QSpinner.test.js +79 -0
  367. package/src/components/spinner/QSpinnerAudio.test.js +59 -0
  368. package/src/components/spinner/QSpinnerBall.test.js +59 -0
  369. package/src/components/spinner/QSpinnerBars.test.js +59 -0
  370. package/src/components/spinner/QSpinnerBox.test.js +59 -0
  371. package/src/components/spinner/QSpinnerClock.test.js +59 -0
  372. package/src/components/spinner/QSpinnerComment.test.js +59 -0
  373. package/src/components/spinner/QSpinnerCube.test.js +59 -0
  374. package/src/components/spinner/QSpinnerDots.test.js +59 -0
  375. package/src/components/spinner/QSpinnerFacebook.test.js +59 -0
  376. package/src/components/spinner/QSpinnerGears.test.js +59 -0
  377. package/src/components/spinner/QSpinnerGrid.test.js +59 -0
  378. package/src/components/spinner/QSpinnerHearts.test.js +59 -0
  379. package/src/components/spinner/QSpinnerHourglass.test.js +59 -0
  380. package/src/components/spinner/QSpinnerInfinity.test.js +59 -0
  381. package/src/components/spinner/QSpinnerIos.test.js +59 -0
  382. package/src/components/spinner/QSpinnerOrbit.test.js +59 -0
  383. package/src/components/spinner/QSpinnerOval.test.js +59 -0
  384. package/src/components/spinner/QSpinnerPie.test.js +59 -0
  385. package/src/components/spinner/QSpinnerPuff.test.js +59 -0
  386. package/src/components/spinner/QSpinnerRadio.test.js +59 -0
  387. package/src/components/spinner/QSpinnerRings.test.js +59 -0
  388. package/src/components/spinner/QSpinnerTail.test.js +59 -0
  389. package/src/components/spinner/spinner.json +5 -0
  390. package/src/components/spinner/use-spinner.js +1 -1
  391. package/src/components/spinner/use-spinner.test.js +59 -0
  392. package/src/components/splitter/QSplitter.json +3 -3
  393. package/src/components/stepper/QStep.json +6 -0
  394. package/src/components/tab-panels/QTabPanels.json +6 -0
  395. package/src/components/table/QTable.js +6 -8
  396. package/src/components/table/QTable.json +13 -8
  397. package/src/components/table/QTh.json +4 -0
  398. package/src/components/tabs/QRouteTab.json +3 -2
  399. package/src/components/tabs/QTab.json +1 -65
  400. package/src/components/tabs/use-tab.json +72 -0
  401. package/src/components/time/QTime.js +6 -0
  402. package/src/components/time/QTime.json +2 -0
  403. package/src/components/timeline/QTimeline.json +2 -1
  404. package/src/components/toolbar/QToolbar.test.js +41 -0
  405. package/src/components/toolbar/QToolbarTitle.test.js +41 -0
  406. package/src/components/tooltip/QTooltip.js +6 -6
  407. package/src/components/tooltip/QTooltip.json +6 -15
  408. package/src/components/tree/QTree.js +1 -1
  409. package/src/components/tree/QTree.json +2 -1
  410. package/src/components/uploader/xhr-uploader-plugin.js +1 -3
  411. package/src/components/video/QVideo.test.js +0 -24
  412. package/src/components/virtual-scroll/QVirtualScroll.js +2 -4
  413. package/src/components/virtual-scroll/QVirtualScroll.json +0 -1
  414. package/src/components/virtual-scroll/use-virtual-scroll.js +2 -2
  415. package/src/components/virtual-scroll/use-virtual-scroll.json +1 -1
  416. package/src/composables/private.use-anchor/use-anchor-static.json +22 -0
  417. package/src/composables/private.use-anchor/use-anchor.js +13 -4
  418. package/src/composables/private.use-anchor/use-anchor.json +2 -19
  419. package/src/composables/private.use-field/use-field.js +6 -3
  420. package/src/composables/private.use-field/use-field.json +22 -0
  421. package/src/composables/private.use-fullscreen/use-fullscreen.json +10 -0
  422. package/src/composables/private.use-model-toggle/use-model-toggle.json +4 -2
  423. package/src/composables/private.use-panel/use-panel.json +3 -0
  424. package/src/composables/private.use-portal/use-portal.js +1 -1
  425. package/src/composables/private.use-router-link/use-router-link.js +15 -9
  426. package/src/composables/private.use-router-link/use-router-link.json +2 -0
  427. package/src/composables/private.use-validate/use-validate.json +1 -0
  428. package/src/composables/use-id/use-id.test.js +0 -1
  429. package/src/composables/use-interval/use-interval.test.js +173 -0
  430. package/src/composables/use-render-cache/use-render-cache.js +2 -2
  431. package/src/composables/use-render-cache/use-render-cache.test.js +73 -0
  432. package/src/composables/use-split-attrs/use-split-attrs.test.js +55 -0
  433. package/src/composables/use-tick/use-tick.test.js +118 -0
  434. package/src/composables/use-timeout/use-timeout.test.js +169 -0
  435. package/src/install-quasar.js +1 -1
  436. package/src/plugins/addressbar/AddressbarColor.test.js +53 -0
  437. package/src/plugins/app-fullscreen/AppFullscreen.js +1 -1
  438. package/src/plugins/app-fullscreen/AppFullscreen.json +3 -1
  439. package/src/plugins/app-fullscreen/AppFullscreen.test.js +206 -0
  440. package/src/plugins/app-fullscreen/test/mock-fullscreen.js +43 -0
  441. package/src/plugins/app-visibility/AppVisibility.test.js +45 -0
  442. package/src/plugins/bottom-sheet/BottomSheet.js +1 -1
  443. package/src/plugins/bottom-sheet/BottomSheet.json +1 -1
  444. package/src/plugins/dark/Dark.test.js +158 -0
  445. package/src/plugins/dialog/Dialog.js +1 -1
  446. package/src/plugins/dialog/Dialog.json +1 -1
  447. package/src/plugins/icon-set/IconSet.js +1 -2
  448. package/src/plugins/icon-set/IconSet.test.js +2 -2
  449. package/src/plugins/lang/Lang.js +1 -2
  450. package/src/plugins/lang/Lang.test.js +2 -2
  451. package/src/plugins/loading/Loading.js +1 -1
  452. package/src/plugins/loading-bar/LoadingBar.js +1 -1
  453. package/src/plugins/notify/Notify.js +1 -1
  454. package/src/plugins/platform/Platform.js +2 -1
  455. package/src/plugins/private.body/Body.test.js +28 -0
  456. package/src/plugins/private.history/History.test.js +38 -0
  457. package/src/plugins/screen/Screen.test.js +453 -0
  458. package/src/utils/css-var/get-css-var.test.js +12 -0
  459. package/src/utils/css-var/set-css-var.test.js +18 -0
  460. package/src/utils/dom/dom.test.js +222 -0
  461. package/src/utils/{private.global/global-config.test.js → private.config/instance-config.test.js} +2 -2
  462. package/src/utils/{private.global/global-nodes.js → private.config/nodes.js} +1 -1
  463. package/src/utils/{private.global/global-nodes.test.js → private.config/nodes.test.js} +3 -3
  464. package/src/utils/{private.global/global-dialog.js → private.dialog/create-dialog.js} +1 -1
  465. package/src/utils/private.render/render.test.js +187 -0
  466. package/src/utils/private.selection/selection.test.js +40 -0
  467. package/src/utils/private.vm/vm.test.js +175 -0
  468. package/src/utils/scroll/scroll.js +4 -0
  469. package/wrappers/{index.mjs → index.cjs} +15 -15
  470. package/wrappers/index.js +15 -15
  471. package/dist/quasar.cjs.prod.js +0 -127
  472. package/dist/quasar.esm.prod.js +0 -127
  473. package/dist/transforms/import-transformation.js +0 -9
  474. package/icon-set/bootstrap-icons.mjs +0 -136
  475. package/icon-set/eva-icons.mjs +0 -186
  476. package/icon-set/fontawesome-v5-pro.mjs +0 -128
  477. package/icon-set/fontawesome-v5.mjs +0 -128
  478. package/icon-set/fontawesome-v6-pro.mjs +0 -128
  479. package/icon-set/fontawesome-v6.mjs +0 -128
  480. package/icon-set/ionicons-v4.mjs +0 -180
  481. package/icon-set/line-awesome.mjs +0 -128
  482. package/icon-set/material-icons-outlined.mjs +0 -128
  483. package/icon-set/material-icons-round.mjs +0 -128
  484. package/icon-set/material-icons-sharp.mjs +0 -128
  485. package/icon-set/material-icons.mjs +0 -128
  486. package/icon-set/material-symbols-outlined.mjs +0 -128
  487. package/icon-set/material-symbols-rounded.mjs +0 -128
  488. package/icon-set/material-symbols-sharp.mjs +0 -128
  489. package/icon-set/mdi-v3.mjs +0 -141
  490. package/icon-set/mdi-v4.mjs +0 -141
  491. package/icon-set/mdi-v5.mjs +0 -141
  492. package/icon-set/mdi-v6.mjs +0 -141
  493. package/icon-set/mdi-v7.mjs +0 -141
  494. package/icon-set/svg-bootstrap-icons.mjs +0 -210
  495. package/icon-set/svg-eva-icons.mjs +0 -233
  496. package/icon-set/svg-fontawesome-v5.mjs +0 -197
  497. package/icon-set/svg-fontawesome-v6.mjs +0 -198
  498. package/icon-set/svg-ionicons-v4.mjs +0 -234
  499. package/icon-set/svg-ionicons-v5.mjs +0 -225
  500. package/icon-set/svg-ionicons-v6.mjs +0 -224
  501. package/icon-set/svg-line-awesome.mjs +0 -198
  502. package/icon-set/svg-material-icons-outlined.mjs +0 -203
  503. package/icon-set/svg-material-icons-round.mjs +0 -203
  504. package/icon-set/svg-material-icons-sharp.mjs +0 -203
  505. package/icon-set/svg-material-icons.mjs +0 -203
  506. package/icon-set/svg-material-symbols-outlined.mjs +0 -201
  507. package/icon-set/svg-material-symbols-rounded.mjs +0 -201
  508. package/icon-set/svg-material-symbols-sharp.mjs +0 -201
  509. package/icon-set/svg-mdi-v6.mjs +0 -225
  510. package/icon-set/svg-mdi-v7.mjs +0 -224
  511. package/icon-set/svg-themify.mjs +0 -231
  512. package/icon-set/themify.mjs +0 -169
  513. package/lang/ar-TN.mjs +0 -98
  514. package/lang/ar.mjs +0 -98
  515. package/lang/az-Latn.mjs +0 -93
  516. package/lang/bg.mjs +0 -93
  517. package/lang/bn.mjs +0 -93
  518. package/lang/ca.mjs +0 -93
  519. package/lang/cs.mjs +0 -104
  520. package/lang/da.mjs +0 -93
  521. package/lang/de-CH.mjs +0 -93
  522. package/lang/de-DE.mjs +0 -93
  523. package/lang/de.mjs +0 -93
  524. package/lang/el.mjs +0 -93
  525. package/lang/en-GB.mjs +0 -93
  526. package/lang/en-US.mjs +0 -93
  527. package/lang/eo.mjs +0 -93
  528. package/lang/es.mjs +0 -93
  529. package/lang/et.mjs +0 -93
  530. package/lang/eu.mjs +0 -93
  531. package/lang/fa-IR.mjs +0 -94
  532. package/lang/fa.mjs +0 -94
  533. package/lang/fi.mjs +0 -94
  534. package/lang/fr.mjs +0 -96
  535. package/lang/gn.mjs +0 -93
  536. package/lang/he.mjs +0 -94
  537. package/lang/hi.mjs +0 -93
  538. package/lang/hr.mjs +0 -93
  539. package/lang/hu.mjs +0 -93
  540. package/lang/id.mjs +0 -93
  541. package/lang/is.mjs +0 -93
  542. package/lang/it.mjs +0 -93
  543. package/lang/ja.mjs +0 -92
  544. package/lang/kk.mjs +0 -97
  545. package/lang/km.mjs +0 -93
  546. package/lang/ko-KR.mjs +0 -93
  547. package/lang/kur-CKB.mjs +0 -103
  548. package/lang/lt.mjs +0 -105
  549. package/lang/lu.mjs +0 -93
  550. package/lang/lv.mjs +0 -93
  551. package/lang/mk.mjs +0 -93
  552. package/lang/ml.mjs +0 -97
  553. package/lang/mm.mjs +0 -94
  554. package/lang/ms-MY.mjs +0 -96
  555. package/lang/ms.mjs +0 -93
  556. package/lang/my.mjs +0 -92
  557. package/lang/nb-NO.mjs +0 -94
  558. package/lang/nl.mjs +0 -93
  559. package/lang/pl.mjs +0 -93
  560. package/lang/pt-BR.mjs +0 -93
  561. package/lang/pt.mjs +0 -93
  562. package/lang/ro.mjs +0 -93
  563. package/lang/ru.mjs +0 -97
  564. package/lang/sk.mjs +0 -93
  565. package/lang/sl.mjs +0 -93
  566. package/lang/sm.mjs +0 -93
  567. package/lang/sr-CYR.mjs +0 -93
  568. package/lang/sr.mjs +0 -93
  569. package/lang/sv.mjs +0 -93
  570. package/lang/ta.mjs +0 -93
  571. package/lang/th.mjs +0 -93
  572. package/lang/tl.mjs +0 -93
  573. package/lang/tr.mjs +0 -89
  574. package/lang/ug.mjs +0 -93
  575. package/lang/uk.mjs +0 -97
  576. package/lang/uz-Cyrl.mjs +0 -95
  577. package/lang/uz-Latn.mjs +0 -99
  578. package/lang/vi.mjs +0 -93
  579. package/lang/zh-CN.mjs +0 -92
  580. package/lang/zh-TW.mjs +0 -92
  581. /package/src/utils/{private.global/global-config.js → private.config/instance-config.js} +0 -0
  582. /package/src/utils/{private.global/global-dialog.json → private.dialog/create-dialog.json} +0 -0
@@ -59,6 +59,8 @@
59
59
  "desc": "New 'reveal' state"
60
60
  }
61
61
  }
62
- }
62
+ },
63
+
64
+ "focusin": { "internal": true }
63
65
  }
64
66
  }
@@ -73,7 +73,7 @@
73
73
  "initial-ratio": {
74
74
  "type": [ "String", "Number" ],
75
75
  "desc": "Use it when not specifying 'ratio' but still wanting an initial aspect ratio",
76
- "default": "1.77778",
76
+ "default": "1.7778",
77
77
  "examples": [
78
78
  "# (Number format) :initial-ratio=\"16/9\"",
79
79
  "# (String format) initial-ratio=\"1\""
@@ -3,7 +3,7 @@ import { h, ref, computed, watch, onMounted, onActivated, onDeactivated, onBefor
3
3
  import { createComponent } from '../../utils/private.create/create.js'
4
4
  import debounce from '../../utils/debounce/debounce.js'
5
5
  import { height } from '../../utils/dom/dom.js'
6
- import { getScrollTarget, getScrollHeight, getVerticalScrollPosition, setVerticalScrollPosition } from '../../utils/scroll/scroll.js'
6
+ import { getScrollTarget, getScrollHeight, getVerticalScrollPosition, setVerticalScrollPosition, scrollTargetProp } from '../../utils/scroll/scroll.js'
7
7
  import { listenOpts } from '../../utils/event/event.js'
8
8
  import { hSlot, hUniqueSlot } from '../../utils/private.render/render.js'
9
9
 
@@ -23,11 +23,12 @@ export default createComponent({
23
23
  default: 100
24
24
  },
25
25
 
26
- scrollTarget: {
27
- default: void 0
28
- },
26
+ scrollTarget: scrollTargetProp,
29
27
 
30
- initialIndex: Number,
28
+ initialIndex: {
29
+ type: Number,
30
+ default: 0
31
+ },
31
32
 
32
33
  disable: Boolean,
33
34
  reverse: Boolean
@@ -41,7 +42,7 @@ export default createComponent({
41
42
  const rootRef = ref(null)
42
43
  const loadingRef = ref(null)
43
44
 
44
- let index = props.initialIndex || 0
45
+ let index = props.initialIndex
45
46
  let localScrollTarget, poll
46
47
 
47
48
  const classes = computed(() =>
@@ -18,7 +18,7 @@ export default createComponent({
18
18
 
19
19
  size: {
20
20
  type: [ String, Number ],
21
- default: 42
21
+ default: '42px'
22
22
  },
23
23
 
24
24
  label: String,
@@ -18,6 +18,7 @@
18
18
  },
19
19
 
20
20
  "size": {
21
+ "type": [ "String", "Number" ],
21
22
  "desc": "Size in CSS units, including unit name, or standard size name (xs|sm|md|lg|xl), for the inner Spinner (unless using the default slot)",
22
23
  "default": "'42px'"
23
24
  },
@@ -21,7 +21,8 @@ export default createComponent({
21
21
  ...useMaskProps,
22
22
  ...useFormProps,
23
23
 
24
- modelValue: { required: false },
24
+ // override of useFieldProps > modelValue
25
+ modelValue: [ String, Number ],
25
26
 
26
27
  shadowText: String,
27
28
 
@@ -79,7 +79,6 @@
79
79
 
80
80
  "events": {
81
81
  "update:model-value": {
82
- "extends": "update:model-value",
83
82
  "params": {
84
83
  "value": {
85
84
  "type": [ "String", "Number", "null" ]
@@ -87,36 +86,20 @@
87
86
  }
88
87
  },
89
88
 
90
- "focus": {
91
- "desc": "Emitted when component gets focused",
92
- "params": {
93
- "evt": {
94
- "extends": "evt"
95
- }
96
- }
97
- },
98
-
99
- "blur": {
100
- "desc": "Emitted when component loses focus",
101
- "params": {
102
- "evt": {
103
- "extends": "evt"
104
- }
105
- }
106
- }
89
+ "click": { "internal": true },
90
+ "paste": { "internal": true },
91
+ "animationend": { "internal": true },
92
+ "change": { "internal": true },
93
+ "keydown": { "internal": true }
107
94
  },
108
95
 
109
96
  "methods": {
110
97
  "focus": {
111
- "desc": "Focus underlying input tag",
112
- "params": null,
113
- "returns": null
98
+ "desc": "Focus underlying input tag"
114
99
  },
115
100
 
116
101
  "blur": {
117
- "desc": "Lose focus on underlying input tag",
118
- "params": null,
119
- "returns": null
102
+ "desc": "Lose focus on underlying input tag"
120
103
  },
121
104
 
122
105
  "select": {
@@ -74,7 +74,7 @@
74
74
 
75
75
  "hidden": {
76
76
  "desc": "Slot for content to render when component is not on screen; Example: a text that the user can search for with the browser's search function",
77
- "addedIn": "v2.12.0"
77
+ "addedIn": "v2.12"
78
78
  }
79
79
  },
80
80
 
@@ -113,6 +113,8 @@
113
113
  }
114
114
  }
115
115
  }
116
- }
116
+ },
117
+
118
+ "keyup": { "internal": true }
117
119
  }
118
120
  }
@@ -16,12 +16,14 @@
16
16
  "min": {
17
17
  "type": "Number",
18
18
  "desc": "The minimum value that the model (the knob value) should start at",
19
+ "default": "0",
19
20
  "category": "model"
20
21
  },
21
22
 
22
23
  "max": {
23
24
  "type": "Number",
24
25
  "desc": "The maximum value that the model (the knob value) should go to",
26
+ "default": "100",
25
27
  "category": "model"
26
28
  },
27
29
 
@@ -75,11 +77,17 @@
75
77
  "font-size": {
76
78
  "type": "String",
77
79
  "desc": "Size of text in CSS units, including unit name. Suggestion: use 'em' units to sync with component size",
78
- "default": "'0.25em'",
79
80
  "examples": [ "'1em'", "'16px'", "'2rem'" ],
80
81
  "category": "style"
81
82
  },
82
83
 
84
+ "rounded": {
85
+ "type": "Boolean",
86
+ "desc": "Rounding the arc of progress",
87
+ "category": "style",
88
+ "addedIn": "v2.8.4"
89
+ },
90
+
83
91
  "thickness": {
84
92
  "type": "Number",
85
93
  "default": "0.2",
@@ -101,7 +109,8 @@
101
109
  },
102
110
 
103
111
  "tabindex": {
104
- "extends": "tabindex"
112
+ "extends": "tabindex",
113
+ "default": "0"
105
114
  },
106
115
 
107
116
  "disable": {
@@ -11,7 +11,7 @@ import useTimeout from '../../composables/use-timeout/use-timeout.js'
11
11
 
12
12
  import { createComponent } from '../../utils/private.create/create.js'
13
13
  import { closePortalMenus } from '../../utils/private.portal/portal.js'
14
- import { getScrollTarget } from '../../utils/scroll/scroll.js'
14
+ import { getScrollTarget, scrollTargetProp } from '../../utils/scroll/scroll.js'
15
15
  import { position, stopAndPrevent } from '../../utils/event/event.js'
16
16
  import { hSlot } from '../../utils/private.render/render.js'
17
17
  import { addEscapeKey, removeEscapeKey } from '../../utils/private.keyboard/escape-key.js'
@@ -61,9 +61,7 @@ export default createComponent({
61
61
  validator: validateOffset
62
62
  },
63
63
 
64
- scrollTarget: {
65
- default: void 0
66
- },
64
+ scrollTarget: scrollTargetProp,
67
65
 
68
66
  touchPosition: Boolean,
69
67
 
@@ -129,7 +129,9 @@
129
129
  "events": {
130
130
  "escape-key": {
131
131
  "desc": "Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent'"
132
- }
132
+ },
133
+
134
+ "click": { "internal": true }
133
135
  },
134
136
 
135
137
  "methods": {
@@ -33,6 +33,7 @@ export default createComponent({
33
33
  name: String,
34
34
 
35
35
  type: {
36
+ type: String,
36
37
  default: 'radio',
37
38
  validator: v => typeValues.includes(v)
38
39
  },
@@ -27,8 +27,7 @@
27
27
  "type": "Object",
28
28
  "desc": "Object with CSS properties to apply to Page DOM element"
29
29
  },
30
- "default": "# see source code",
31
- "examples": [ "# see source code" ],
30
+ "examples": [ "(offset, height) => ({ minHeight: offset + 'px' })" ],
32
31
  "category": "style"
33
32
  }
34
33
  },
@@ -24,6 +24,7 @@ export default createComponent({
24
24
  },
25
25
 
26
26
  offset: {
27
+ ...usePageStickyProps.offset,
27
28
  default: () => [ 18, 18 ]
28
29
  }
29
30
  },
@@ -30,5 +30,9 @@
30
30
  "default": "[ 18, 18 ]",
31
31
  "category": "content"
32
32
  }
33
+ },
34
+
35
+ "events": {
36
+ "click": { "internal": true }
33
37
  }
34
38
  }
@@ -1,5 +1,5 @@
1
1
  import { createComponent } from '../../utils/private.create/create.js'
2
- import usePageSticky, { usePageStickyProps } from './use-page-sticky'
2
+ import usePageSticky, { usePageStickyProps } from './use-page-sticky.js'
3
3
 
4
4
  export default createComponent({
5
5
  name: 'QPageSticky',
@@ -152,7 +152,8 @@
152
152
  "active-design": {
153
153
  "type": "String",
154
154
  "desc": "The design of the ACTIVE button, similar to the flat/outline/push/unelevated props (but those are used for non-active buttons)",
155
- "values": [ "'flat'", "'outline'", "'push'", "'unelevated'" ],
155
+ "values": [ "'flat'", "'outline'", "'push'", "'unelevated'", "''" ],
156
+ "default": "''",
156
157
  "category": "style",
157
158
  "addedIn": "v2.10"
158
159
  },
@@ -160,7 +161,8 @@
160
161
  "active-color": {
161
162
  "extends": "color",
162
163
  "desc": "Color name from the Quasar Color Palette for the ACTIVE button",
163
- "default": "'primary'"
164
+ "default": "'primary'",
165
+ "__runtimeDefault": true
164
166
  },
165
167
 
166
168
  "active-text-color": {
@@ -190,6 +192,7 @@
190
192
  "type": "String",
191
193
  "desc": "Apply custom gutter; Size in CSS units, including unit name or standard size name (none|xs|sm|md|lg|xl)",
192
194
  "default": "'2px'",
195
+ "__runtimeDefault": true,
193
196
  "examples": [ "'16px'", "'10px 5px'", "'2rem'", "'xs'", "'md lg'", "'2px 2px 5px 7px'" ],
194
197
  "category": "style",
195
198
  "addedIn": "v2.10"
@@ -199,6 +202,7 @@
199
202
  "type": "String",
200
203
  "desc": "Apply custom padding (vertical [horizontal]); Size in CSS units, including unit name or standard size name (none|xs|sm|md|lg|xl); Also removes the min width and height when set",
201
204
  "examples": [ "'16px'", "'10px 5px'", "'2rem'", "'xs'", "'md lg'", "'2px 2px 5px 7px'" ],
205
+ "default": "'3px 2px'",
202
206
  "category": "style"
203
207
  },
204
208
 
@@ -228,6 +232,7 @@
228
232
  "type": [ "Boolean", "Object", "null" ],
229
233
  "desc": "Configure buttons material ripple (disable it by setting it to 'false' or supply a config object); Does not applies to boundary and ellipsis buttons",
230
234
  "default": "true",
235
+ "__runtimeDefault": true,
231
236
  "examples": [ "false", "{ early: true, center: true, color: 'teal', keyCodes: [] }" ],
232
237
  "category": "style"
233
238
  }
@@ -3,7 +3,7 @@ import { h, ref, watch, onMounted, onBeforeUnmount } from 'vue'
3
3
  import { createComponent } from '../../utils/private.create/create.js'
4
4
  import { height, offset } from '../../utils/dom/dom.js'
5
5
  import frameDebounce from '../../utils/frame-debounce/frame-debounce.js'
6
- import { getScrollTarget } from '../../utils/scroll/scroll.js'
6
+ import { getScrollTarget, scrollTargetProp } from '../../utils/scroll/scroll.js'
7
7
  import { hSlot } from '../../utils/private.render/render.js'
8
8
  import { listenOpts } from '../../utils/event/event.js'
9
9
 
@@ -24,9 +24,7 @@ export default createComponent({
24
24
  validator: v => v >= 0 && v <= 1
25
25
  },
26
26
 
27
- scrollTarget: {
28
- default: void 0
29
- },
27
+ scrollTarget: scrollTargetProp,
30
28
 
31
29
  onScroll: Function
32
30
  },
@@ -27,6 +27,7 @@
27
27
  "speed": {
28
28
  "type": "Number",
29
29
  "desc": "Speed of parallax effect (0.0 < x < 1.0)",
30
+ "default": "1",
30
31
  "category": "behavior"
31
32
  },
32
33
 
@@ -62,7 +62,8 @@
62
62
  "type": "Boolean",
63
63
  "desc": "Is the model valid or not?"
64
64
  },
65
- "examples": [ "# :validate=\"myValidation\"" ],
65
+ "default": "() => true",
66
+ "examples": [ "value => value !== 0" ],
66
67
  "category": "model"
67
68
  },
68
69
 
@@ -5,7 +5,7 @@ import QSpinner from '../spinner/QSpinner.js'
5
5
  import TouchPan from '../../directives/touch-pan/TouchPan.js'
6
6
 
7
7
  import { createComponent } from '../../utils/private.create/create.js'
8
- import { getScrollTarget, getVerticalScrollPosition } from '../../utils/scroll/scroll.js'
8
+ import { getScrollTarget, getVerticalScrollPosition, scrollTargetProp } from '../../utils/scroll/scroll.js'
9
9
  import { between } from '../../utils/format/format.js'
10
10
  import { prevent } from '../../utils/event/event.js'
11
11
  import { hSlot, hDir } from '../../utils/private.render/render.js'
@@ -24,9 +24,7 @@ export default createComponent({
24
24
  noMouse: Boolean,
25
25
  disable: Boolean,
26
26
 
27
- scrollTarget: {
28
- default: void 0
29
- }
27
+ scrollTarget: scrollTargetProp
30
28
  },
31
29
 
32
30
  emits: [ 'refresh' ],
@@ -8,12 +8,12 @@
8
8
  "props": {
9
9
  "model-value": {
10
10
  "extends": "model-value",
11
- "type": [ "Number", "String", "null", "undefined" ],
11
+ "type": [ "Any" ],
12
12
  "examples": [ "# v-model=\"option\"" ]
13
13
  },
14
14
 
15
15
  "val": {
16
- "type": [ "Number", "String", "null", "undefined" ],
16
+ "type": [ "Any" ],
17
17
  "required": true,
18
18
  "desc": "The actual value of the option with which model value is changed",
19
19
  "examples": [ "'opt1'", "50" ],
@@ -20,6 +20,7 @@
20
20
  "desc": "Model value for right thumb"
21
21
  }
22
22
  },
23
+ "default": "{ min: null, max: null }",
23
24
  "examples": [ "# v-model=\"positionModel\"" ]
24
25
  },
25
26
 
@@ -1,7 +1,7 @@
1
1
  import { watch, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
2
2
 
3
3
  import { createComponent } from '../../utils/private.create/create.js'
4
- import { getScrollTarget, getVerticalScrollPosition, getHorizontalScrollPosition } from '../../utils/scroll/scroll.js'
4
+ import { getScrollTarget, getVerticalScrollPosition, getHorizontalScrollPosition, scrollTargetProp } from '../../utils/scroll/scroll.js'
5
5
  import { listenOpts, noop } from '../../utils/event/event.js'
6
6
 
7
7
  const { passive } = listenOpts
@@ -19,9 +19,7 @@ export default createComponent({
19
19
 
20
20
  debounce: [ String, Number ],
21
21
 
22
- scrollTarget: {
23
- default: void 0
24
- }
22
+ scrollTarget: scrollTargetProp
25
23
  },
26
24
 
27
25
  emits: [ 'scroll' ],
@@ -37,6 +37,7 @@ export default createComponent({
37
37
  ...useFormProps,
38
38
  ...useFieldProps,
39
39
 
40
+ // override of useFieldProps > modelValue
40
41
  modelValue: {
41
42
  required: true
42
43
  },
@@ -107,9 +108,9 @@ export default createComponent({
107
108
 
108
109
  autocomplete: String,
109
110
 
110
- transitionShow: String,
111
- transitionHide: String,
112
- transitionDuration: [ String, Number ],
111
+ transitionShow: {},
112
+ transitionHide: {},
113
+ transitionDuration: {},
113
114
 
114
115
  behavior: {
115
116
  type: String,
@@ -117,10 +118,8 @@ export default createComponent({
117
118
  default: 'default'
118
119
  },
119
120
 
120
- virtualScrollItemSize: {
121
- type: [ Number, String ],
122
- default: void 0
123
- },
121
+ // override of useVirtualScrollProps > virtualScrollItemSize (no default)
122
+ virtualScrollItemSize: useVirtualScrollProps.virtualScrollItemSize.type,
124
123
 
125
124
  onNewValue: Function,
126
125
  onFilter: Function
@@ -130,6 +129,7 @@ export default createComponent({
130
129
  ...useFieldEmits,
131
130
  'add', 'remove', 'inputValue',
132
131
  'keyup', 'keypress', 'keydown',
132
+ 'popupShow', 'popupHide',
133
133
  'filterAbort'
134
134
  ],
135
135
 
@@ -47,6 +47,7 @@
47
47
  "type": [ "Function", "String" ],
48
48
  "desc": "Property of option which holds the 'value'; If using a function then for best performance, reference it from your scope and do not define it inline",
49
49
  "default": "'value'",
50
+ "__runtimeDefault": true,
50
51
  "params": {
51
52
  "option": {
52
53
  "type": [ "String", "Object" ],
@@ -74,6 +75,7 @@
74
75
  "type": [ "Function", "String" ],
75
76
  "desc": "Property of option which holds the 'label'; If using a function then for best performance, reference it from your scope and do not define it inline",
76
77
  "default": "'label'",
78
+ "__runtimeDefault": true,
77
79
  "params": {
78
80
  "option": {
79
81
  "type": [ "String", "Object" ],
@@ -101,6 +103,7 @@
101
103
  "type": [ "Function", "String" ],
102
104
  "desc": "Property of option which tells it's disabled; The value of the property must be a Boolean; If using a function then for best performance, reference it from your scope and do not define it inline",
103
105
  "default": "'disable'",
106
+ "__runtimeDefault": true,
104
107
  "params": {
105
108
  "option": {
106
109
  "type": [ "String", "Object" ],
@@ -237,16 +240,22 @@
237
240
  "addedIn": "v2.15"
238
241
  },
239
242
 
243
+ "use-chips": {
244
+ "type": "Boolean",
245
+ "desc": "Use QChip to show what is currently selected",
246
+ "category": "selection"
247
+ },
248
+
240
249
  "use-input": {
241
250
  "type": "Boolean",
242
251
  "desc": "Use an input tag where users can type",
243
252
  "category": "content"
244
253
  },
245
254
 
246
- "use-chips": {
247
- "type": "Boolean",
248
- "desc": "Use QChip to show what is currently selected",
249
- "category": "selection"
255
+ "maxlength": {
256
+ "type": [ "String", "Number" ],
257
+ "desc": "Specify a max length for the inner input tag (if 'use-input' is enabled)",
258
+ "category": "content"
250
259
  },
251
260
 
252
261
  "fill-input": {
@@ -304,7 +313,8 @@
304
313
  },
305
314
 
306
315
  "tabindex": {
307
- "extends": "tabindex"
316
+ "extends": "tabindex",
317
+ "default": "0"
308
318
  },
309
319
 
310
320
  "autocomplete": {
@@ -318,6 +328,7 @@
318
328
  "extends": "transition",
319
329
  "desc": "Transition when showing the menu/dialog; One of Quasar's embedded transitions",
320
330
  "default": "'fade'",
331
+ "passthrough": "child",
321
332
  "category": "behavior"
322
333
  },
323
334
 
@@ -325,6 +336,7 @@
325
336
  "extends": "transition",
326
337
  "desc": "Transition when hiding the menu/dialog; One of Quasar's embedded transitions",
327
338
  "default": "'fade'",
339
+ "passthrough": "child",
328
340
  "category": "behavior"
329
341
  },
330
342
 
@@ -332,6 +344,7 @@
332
344
  "type": [ "String", "Number" ],
333
345
  "desc": "Transition duration when hiding the menu/dialog (in milliseconds, without unit)",
334
346
  "default": "300",
347
+ "passthrough": "child",
335
348
  "category": "behavior"
336
349
  },
337
350
 
@@ -345,6 +358,10 @@
345
358
 
346
359
  "name": {
347
360
  "desc": "Used to specify the name of the control; Useful if dealing with forms; If not specified, it takes the value of 'for' prop, if it exists"
361
+ },
362
+
363
+ "virtual-scroll-item-size": {
364
+ "__runtimeDefault": true
348
365
  }
349
366
  },
350
367
 
@@ -475,10 +492,6 @@
475
492
  },
476
493
 
477
494
  "events": {
478
- "update:model-value": {
479
- "extends": "update:model-value"
480
- },
481
-
482
495
  "input-value": {
483
496
  "desc": "Emitted when the value in the text input changes",
484
497
  "params": {
@@ -642,16 +655,14 @@
642
655
  }
643
656
  }
644
657
  }
645
- }
658
+ },
659
+
660
+ "keyup": { "internal": true },
661
+ "keydown": { "internal": true },
662
+ "keypress": { "internal": true }
646
663
  },
647
664
 
648
665
  "methods": {
649
- "focus": {
650
- "desc": "Focus component",
651
- "params": null,
652
- "returns": null
653
- },
654
-
655
666
  "showPopup": {
656
667
  "desc": "Focus and open popup",
657
668
  "params": null,
@@ -11,7 +11,6 @@
11
11
  "spaced": {
12
12
  "type": [ "Boolean", "String" ],
13
13
  "desc": "If set to true, the corresponding direction margins will be set to 8px; It can also be set to a size in CSS units, including unit name, or one of the xs|sm|md|lg|xl predefined sizes",
14
- "default": "'md'",
15
14
  "examples": [ "'12px'", "'sm'", "'md'" ],
16
15
  "category": "content"
17
16
  },
@@ -32,7 +32,7 @@
32
32
 
33
33
  "animation-speed": {
34
34
  "extends": "animation-speed",
35
- "default": "300",
35
+ "default": "1500",
36
36
  "addedIn": "v2.2"
37
37
  },
38
38
 
@@ -10,6 +10,7 @@
10
10
  "extends": "model-value",
11
11
  "type": [ "Number", "null", "undefined" ],
12
12
  "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",
13
+ "default": "null",
13
14
  "examples": [ "# v-model=\"positionModel\"" ]
14
15
  },
15
16
 
@@ -47,8 +47,6 @@ export const useSliderProps = {
47
47
  vertical: Boolean,
48
48
  reverse: Boolean,
49
49
 
50
- hideSelection: Boolean,
51
-
52
50
  color: String,
53
51
  markerLabelsClass: String,
54
52