quasar 2.9.2 → 2.10.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 (337) hide show
  1. package/dist/api/Dialog.json +25 -68
  2. package/dist/api/Intersection.json +25 -100
  3. package/dist/api/Loading.json +5 -20
  4. package/dist/api/LoadingBar.json +1 -7
  5. package/dist/api/LocalStorage.json +4 -16
  6. package/dist/api/Morph.json +2 -14
  7. package/dist/api/Notify.json +0 -3
  8. package/dist/api/Platform.json +1 -4
  9. package/dist/api/QAjaxBar.json +1 -11
  10. package/dist/api/QBreadcrumbs.json +0 -8
  11. package/dist/api/QBreadcrumbsEl.json +0 -14
  12. package/dist/api/QBtn.json +0 -3
  13. package/dist/api/QBtnDropdown.json +32 -8
  14. package/dist/api/QCarousel.json +0 -10
  15. package/dist/api/QCarouselControl.json +0 -3
  16. package/dist/api/QCircularProgress.json +0 -23
  17. package/dist/api/QColor.json +0 -3
  18. package/dist/api/QDialog.json +18 -9
  19. package/dist/api/QDrawer.json +0 -6
  20. package/dist/api/QExpansionItem.json +0 -3
  21. package/dist/api/QFab.json +1 -6
  22. package/dist/api/QFabAction.json +1 -3
  23. package/dist/api/QField.json +1 -6
  24. package/dist/api/QFile.json +12 -29
  25. package/dist/api/QFooter.json +0 -3
  26. package/dist/api/QHeader.json +0 -6
  27. package/dist/api/QInfiniteScroll.json +9 -16
  28. package/dist/api/QInnerLoading.json +0 -4
  29. package/dist/api/QInput.json +8 -15
  30. package/dist/api/QIntersection.json +0 -4
  31. package/dist/api/QItemLabel.json +0 -5
  32. package/dist/api/QKnob.json +3 -36
  33. package/dist/api/QLayout.json +6 -24
  34. package/dist/api/QLinearProgress.json +0 -6
  35. package/dist/api/QList.json +15 -0
  36. package/dist/api/QMenu.json +7 -12
  37. package/dist/api/QOptionGroup.json +0 -3
  38. package/dist/api/QPage.json +2 -8
  39. package/dist/api/QPageScroller.json +0 -9
  40. package/dist/api/QPageSticky.json +0 -3
  41. package/dist/api/QPagination.json +138 -127
  42. package/dist/api/QParallax.json +2 -14
  43. package/dist/api/QPopupEdit.json +0 -8
  44. package/dist/api/QPopupProxy.json +0 -4
  45. package/dist/api/QRange.json +5 -32
  46. package/dist/api/QRating.json +0 -4
  47. package/dist/api/QResizeObserver.json +2 -8
  48. package/dist/api/QScrollArea.json +8 -36
  49. package/dist/api/QScrollObserver.json +6 -24
  50. package/dist/api/QSelect.json +18 -108
  51. package/dist/api/QSlideItem.json +1 -6
  52. package/dist/api/QSlideTransition.json +0 -4
  53. package/dist/api/QSlider.json +3 -24
  54. package/dist/api/QSpinner.json +0 -4
  55. package/dist/api/QSplitter.json +1 -4
  56. package/dist/api/QStepper.json +0 -7
  57. package/dist/api/QTabPanels.json +0 -7
  58. package/dist/api/QTable.json +43 -191
  59. package/dist/api/QTabs.json +1 -7
  60. package/dist/api/QTime.json +3 -12
  61. package/dist/api/QTooltip.json +7 -18
  62. package/dist/api/QTree.json +0 -3
  63. package/dist/api/QUploader.json +5 -16
  64. package/dist/api/QVirtualScroll.json +11 -56
  65. package/dist/api/Screen.json +9 -36
  66. package/dist/api/Scroll.json +2 -8
  67. package/dist/api/SessionStorage.json +4 -16
  68. package/dist/api/TouchHold.json +3 -12
  69. package/dist/api/TouchPan.json +7 -28
  70. package/dist/api/TouchRepeat.json +6 -24
  71. package/dist/api/TouchSwipe.json +3 -12
  72. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  73. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  74. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  75. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  76. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  77. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  78. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  79. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  80. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  81. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  82. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  83. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  84. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  85. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  86. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  87. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  88. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  89. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  90. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  91. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  94. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  95. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  96. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  97. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  98. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  99. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  100. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  101. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  102. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  103. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  104. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  108. package/dist/icon-set/themify.umd.prod.js +1 -1
  109. package/dist/lang/ar-TN.umd.prod.js +1 -1
  110. package/dist/lang/ar.umd.prod.js +1 -1
  111. package/dist/lang/az-Latn.umd.prod.js +1 -1
  112. package/dist/lang/bg.umd.prod.js +1 -1
  113. package/dist/lang/bn.umd.prod.js +1 -1
  114. package/dist/lang/ca.umd.prod.js +1 -1
  115. package/dist/lang/cs.umd.prod.js +1 -1
  116. package/dist/lang/da.umd.prod.js +1 -1
  117. package/dist/lang/de.umd.prod.js +1 -1
  118. package/dist/lang/el.umd.prod.js +1 -1
  119. package/dist/lang/en-GB.umd.prod.js +1 -1
  120. package/dist/lang/en-US.umd.prod.js +1 -1
  121. package/dist/lang/eo.umd.prod.js +1 -1
  122. package/dist/lang/es.umd.prod.js +1 -1
  123. package/dist/lang/et.umd.prod.js +1 -1
  124. package/dist/lang/eu.umd.prod.js +1 -1
  125. package/dist/lang/fa-IR.umd.prod.js +1 -1
  126. package/dist/lang/fa.umd.prod.js +1 -1
  127. package/dist/lang/fi.umd.prod.js +1 -1
  128. package/dist/lang/fr.umd.prod.js +1 -1
  129. package/dist/lang/gn.umd.prod.js +1 -1
  130. package/dist/lang/he.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/km.umd.prod.js +1 -1
  138. package/dist/lang/ko-KR.umd.prod.js +1 -1
  139. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  140. package/dist/lang/kz.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/ml.umd.prod.js +1 -1
  145. package/dist/lang/mm.umd.prod.js +1 -1
  146. package/dist/lang/ms.umd.prod.js +1 -1
  147. package/dist/lang/my.umd.prod.js +1 -1
  148. package/dist/lang/nb-NO.umd.prod.js +1 -1
  149. package/dist/lang/nl.umd.prod.js +1 -1
  150. package/dist/lang/pl.umd.prod.js +1 -1
  151. package/dist/lang/pt-BR.umd.prod.js +1 -1
  152. package/dist/lang/pt.umd.prod.js +1 -1
  153. package/dist/lang/ro.umd.prod.js +1 -1
  154. package/dist/lang/ru.umd.prod.js +1 -1
  155. package/dist/lang/sk.umd.prod.js +1 -1
  156. package/dist/lang/sl.umd.prod.js +1 -1
  157. package/dist/lang/sm.umd.prod.js +1 -1
  158. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  159. package/dist/lang/sr.umd.prod.js +1 -1
  160. package/dist/lang/sv.umd.prod.js +1 -1
  161. package/dist/lang/ta.umd.prod.js +1 -1
  162. package/dist/lang/th.umd.prod.js +1 -1
  163. package/dist/lang/tr.umd.prod.js +1 -1
  164. package/dist/lang/ug.umd.prod.js +1 -1
  165. package/dist/lang/uk.umd.prod.js +1 -1
  166. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  167. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  168. package/dist/lang/vi.umd.prod.js +1 -1
  169. package/dist/lang/zh-CN.umd.prod.js +1 -1
  170. package/dist/lang/zh-TW.umd.prod.js +1 -1
  171. package/dist/quasar.cjs.prod.js +2 -2
  172. package/dist/quasar.css +12 -2
  173. package/dist/quasar.esm.js +603 -445
  174. package/dist/quasar.esm.prod.js +2 -2
  175. package/dist/quasar.prod.css +1 -1
  176. package/dist/quasar.rtl.css +28 -2
  177. package/dist/quasar.rtl.prod.css +1 -1
  178. package/dist/quasar.sass +13 -3
  179. package/dist/quasar.umd.js +603 -445
  180. package/dist/quasar.umd.prod.js +2 -2
  181. package/dist/transforms/auto-import.json +7 -3
  182. package/dist/transforms/import-map.json +2 -0
  183. package/dist/types/index.d.ts +116 -106
  184. package/dist/vetur/quasar-attributes.json +65 -49
  185. package/dist/vetur/quasar-tags.json +18 -14
  186. package/dist/web-types/web-types.json +261 -222
  187. package/package.json +3 -3
  188. package/src/api.extends.json +1 -2
  189. package/src/components/ajax-bar/QAjaxBar.json +5 -11
  190. package/src/components/badge/QBadge.js +1 -1
  191. package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
  192. package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -6
  193. package/src/components/breadcrumbs/__tests__/BasicBreadcrumbs.vue +7 -0
  194. package/src/components/breadcrumbs/__tests__/BreadcrumbWithSeparatorSlot.vue +11 -0
  195. package/src/components/breadcrumbs/__tests__/QBreadcrumbs.spec.js +112 -0
  196. package/src/components/breadcrumbs/__tests__/QBreadcrumbsEl.spec.js +87 -0
  197. package/src/components/btn/QBtn.json +1 -3
  198. package/src/components/btn/__tests__/QBtn.spec.js +87 -14
  199. package/src/components/btn/__tests__/use-btn.spec.js +385 -58
  200. package/src/components/btn/use-btn.js +24 -14
  201. package/src/components/btn-dropdown/QBtnDropdown.js +34 -18
  202. package/src/components/btn-dropdown/QBtnDropdown.json +1 -3
  203. package/src/components/btn-toggle/QBtnToggle.js +14 -14
  204. package/src/components/btn-toggle/QBtnToggle.json +2 -4
  205. package/src/components/carousel/QCarousel.json +4 -9
  206. package/src/components/carousel/QCarouselControl.json +0 -1
  207. package/src/components/checkbox/use-checkbox.js +1 -1
  208. package/src/components/checkbox/use-checkbox.json +1 -2
  209. package/src/components/chip/QChip.js +14 -11
  210. package/src/components/circular-progress/QCircularProgress.json +0 -5
  211. package/src/components/color/QColor.json +0 -1
  212. package/src/components/date/QDate.js +3 -3
  213. package/src/components/date/QDate.json +28 -56
  214. package/src/components/dialog/QDialog.js +32 -41
  215. package/src/components/dialog/QDialog.json +9 -2
  216. package/src/components/dialog-bottom-sheet/BottomSheet.js +7 -4
  217. package/src/components/dialog-plugin/DialogPlugin.js +4 -4
  218. package/src/components/drawer/QDrawer.js +10 -8
  219. package/src/components/drawer/QDrawer.json +0 -4
  220. package/src/components/editor/QEditor.json +3 -6
  221. package/src/components/expansion-item/QExpansionItem.js +3 -3
  222. package/src/components/expansion-item/QExpansionItem.json +3 -8
  223. package/src/components/fab/QFab.json +0 -1
  224. package/src/components/fab/use-fab.json +0 -1
  225. package/src/components/field/QField.json +0 -1
  226. package/src/components/file/QFile.js +4 -1
  227. package/src/components/file/QFile.json +19 -20
  228. package/src/components/footer/QFooter.js +5 -3
  229. package/src/components/footer/QFooter.json +0 -1
  230. package/src/components/form/QForm.js +5 -3
  231. package/src/components/form/QForm.json +2 -4
  232. package/src/components/header/QHeader.js +5 -3
  233. package/src/components/header/QHeader.json +0 -4
  234. package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
  235. package/src/components/inner-loading/QInnerLoading.js +2 -5
  236. package/src/components/input/QInput.js +4 -1
  237. package/src/components/input/QInput.json +11 -7
  238. package/src/components/input/use-mask.js +2 -2
  239. package/src/components/intersection/QIntersection.json +0 -1
  240. package/src/components/item/QItem.js +1 -0
  241. package/src/components/item/QItem.json +1 -2
  242. package/src/components/item/QItemLabel.json +0 -1
  243. package/src/components/item/QList.js +7 -2
  244. package/src/components/item/QList.json +7 -0
  245. package/src/components/knob/QKnob.js +3 -3
  246. package/src/components/knob/QKnob.json +3 -12
  247. package/src/components/layout/QLayout.js +1 -1
  248. package/src/components/layout/QLayout.json +6 -12
  249. package/src/components/linear-progress/QLinearProgress.json +0 -2
  250. package/src/components/menu/QMenu.js +8 -5
  251. package/src/components/menu/QMenu.json +0 -2
  252. package/src/components/option-group/QOptionGroup.js +1 -1
  253. package/src/components/option-group/QOptionGroup.json +2 -5
  254. package/src/components/page/QPage.js +11 -4
  255. package/src/components/page/QPage.json +3 -6
  256. package/src/components/page/QPageContainer.js +5 -3
  257. package/src/components/page-scroller/QPageScroller.json +0 -2
  258. package/src/components/page-sticky/QPageSticky.json +0 -1
  259. package/src/components/page-sticky/use-page-sticky.js +5 -3
  260. package/src/components/pagination/QPagination.js +265 -188
  261. package/src/components/pagination/QPagination.json +87 -78
  262. package/src/components/pagination/QPagination.sass +14 -0
  263. package/src/components/parallax/QParallax.json +2 -6
  264. package/src/components/popup-edit/QPopupEdit.js +3 -3
  265. package/src/components/popup-edit/QPopupEdit.json +4 -10
  266. package/src/components/popup-proxy/QPopupProxy.json +0 -1
  267. package/src/components/radio/QRadio.json +1 -2
  268. package/src/components/range/QRange.json +2 -4
  269. package/src/components/rating/QRating.json +0 -1
  270. package/src/components/resize-observer/QResizeObserver.js +14 -10
  271. package/src/components/resize-observer/QResizeObserver.json +2 -4
  272. package/src/components/scroll-area/QScrollArea.js +15 -4
  273. package/src/components/scroll-area/QScrollArea.json +24 -50
  274. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  275. package/src/components/scroll-observer/QScrollObserver.json +6 -12
  276. package/src/components/select/QSelect.js +20 -24
  277. package/src/components/select/QSelect.json +30 -65
  278. package/src/components/select/QSelect.sass +2 -2
  279. package/src/components/slide-item/QSlideItem.json +1 -2
  280. package/src/components/slide-transition/QSlideTransition.json +0 -1
  281. package/src/components/slider/use-slider.json +33 -70
  282. package/src/components/spinner/QSpinner.json +0 -1
  283. package/src/components/splitter/QSplitter.json +1 -2
  284. package/src/components/stepper/QStep.js +7 -5
  285. package/src/components/tab-panels/QTabPanel.js +1 -1
  286. package/src/components/table/QTable.js +3 -3
  287. package/src/components/table/QTable.json +118 -239
  288. package/src/components/tabs/QRouteTab.json +0 -1
  289. package/src/components/tabs/QTabs.js +0 -7
  290. package/src/components/tabs/QTabs.json +1 -3
  291. package/src/components/tabs/use-tab.js +5 -3
  292. package/src/components/time/QTime.json +10 -20
  293. package/src/components/timeline/QTimelineEntry.js +5 -3
  294. package/src/components/toolbar/QToolbar.js +1 -1
  295. package/src/components/tooltip/QTooltip.js +3 -6
  296. package/src/components/tooltip/QTooltip.json +0 -4
  297. package/src/components/tree/QTree.js +6 -6
  298. package/src/components/tree/QTree.json +15 -31
  299. package/src/components/uploader/QUploader.json +13 -22
  300. package/src/components/uploader/QUploaderAddTrigger.js +7 -3
  301. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  302. package/src/components/uploader/xhr-uploader-plugin.json +25 -50
  303. package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
  304. package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
  305. package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
  306. package/src/composables/private/use-field.js +1 -1
  307. package/src/composables/private/use-field.json +2 -3
  308. package/src/composables/private/use-file.js +10 -1
  309. package/src/composables/private/use-file.json +4 -13
  310. package/src/composables/private/use-model-toggle.js +3 -3
  311. package/src/composables/private/use-panel.js +2 -2
  312. package/src/composables/private/use-panel.json +0 -2
  313. package/src/composables/private/use-portal.js +5 -1
  314. package/src/composables/private/use-portal.json +7 -1
  315. package/src/composables/private/use-transition.js +17 -11
  316. package/src/composables/private/use-transition.json +0 -1
  317. package/src/composables/private/use-validate.json +1 -3
  318. package/src/directives/Intersection.json +26 -53
  319. package/src/directives/Morph.json +4 -8
  320. package/src/directives/Mutation.json +6 -12
  321. package/src/directives/Scroll.json +2 -4
  322. package/src/directives/TouchHold.json +3 -6
  323. package/src/directives/TouchPan.json +7 -14
  324. package/src/directives/TouchRepeat.json +6 -12
  325. package/src/directives/TouchSwipe.json +3 -6
  326. package/src/plugins/BottomSheet.json +1 -2
  327. package/src/plugins/Cookies.json +2 -4
  328. package/src/plugins/Dialog.json +32 -72
  329. package/src/plugins/Loading.json +6 -11
  330. package/src/plugins/LoadingBar.json +3 -6
  331. package/src/plugins/Notify.json +4 -5
  332. package/src/plugins/Platform.json +3 -6
  333. package/src/plugins/Screen.json +9 -18
  334. package/src/utils/private/global-dialog.json +6 -12
  335. package/src/utils/private/portal.js +4 -4
  336. package/src/utils/private/symbols.js +2 -0
  337. package/src/utils/private/web-storage.json +6 -10
@@ -82,7 +82,6 @@
82
82
  "type": [ "Number", "String" ],
83
83
  "desc": "When content changes, the scrollbar appears; this delay defines the amount of time (in milliseconds) before scrollbars disappear again (if component is not hovered)",
84
84
  "default": 1000,
85
- "examples": [ 500, ":delay=\"550\"" ],
86
85
  "category": "behavior"
87
86
  },
88
87
 
@@ -115,51 +114,43 @@
115
114
  "verticalPosition": {
116
115
  "type": "Number",
117
116
  "required": true,
118
- "desc": "Vertical scroll position (in px)",
119
- "__exemption": [ "examples" ]
117
+ "desc": "Vertical scroll position (in px)"
120
118
  },
121
119
  "verticalPercentage": {
122
120
  "type": "Number",
123
121
  "required": true,
124
- "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)",
125
- "__exemption": [ "examples" ]
122
+ "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
126
123
  },
127
124
  "verticalSize": {
128
125
  "type": "Number",
129
126
  "required": true,
130
- "desc": "Vertical scroll size (in px)",
131
- "__exemption": [ "examples" ]
127
+ "desc": "Vertical scroll size (in px)"
132
128
  },
133
129
  "verticalContainerSize": {
134
130
  "type": "Number",
135
131
  "required": true,
136
- "desc": "Height of the container (in px)",
137
- "__exemption": [ "examples" ]
132
+ "desc": "Height of the container (in px)"
138
133
  },
139
134
 
140
135
  "horizontalPosition": {
141
136
  "type": "Number",
142
137
  "required": true,
143
- "desc": "Horizontal scroll position (in px)",
144
- "__exemption": [ "examples" ]
138
+ "desc": "Horizontal scroll position (in px)"
145
139
  },
146
140
  "horizontalPercentage": {
147
141
  "type": "Number",
148
142
  "required": true,
149
- "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)",
150
- "__exemption": [ "examples" ]
143
+ "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
151
144
  },
152
145
  "horizontalSize": {
153
146
  "type": "Number",
154
147
  "required": true,
155
- "desc": "Horizontal scroll size (in px)",
156
- "__exemption": [ "examples" ]
148
+ "desc": "Horizontal scroll size (in px)"
157
149
  },
158
150
  "horizontalContainerSize": {
159
151
  "type": "Number",
160
152
  "required": true,
161
- "desc": "Width of the container (in px)",
162
- "__exemption": [ "examples" ]
153
+ "desc": "Width of the container (in px)"
163
154
  }
164
155
  }
165
156
  }
@@ -181,56 +172,47 @@
181
172
  "returns": {
182
173
  "type": "Object",
183
174
  "desc": "Scroll information",
184
- "__exemption": [ "examples" ],
185
175
  "definition": {
186
176
  "verticalPosition": {
187
177
  "type": "Number",
188
178
  "required": true,
189
- "desc": "Vertical scroll position (in px)",
190
- "__exemption": [ "examples" ]
179
+ "desc": "Vertical scroll position (in px)"
191
180
  },
192
181
  "verticalPercentage": {
193
182
  "type": "Number",
194
183
  "required": true,
195
- "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)",
196
- "__exemption": [ "examples" ]
184
+ "desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
197
185
  },
198
186
  "verticalSize": {
199
187
  "type": "Number",
200
188
  "required": true,
201
- "desc": "Vertical scroll size (in px)",
202
- "__exemption": [ "examples" ]
189
+ "desc": "Vertical scroll size (in px)"
203
190
  },
204
191
  "verticalContainerSize": {
205
192
  "type": "Number",
206
193
  "required": true,
207
- "desc": "Height of the container (in px)",
208
- "__exemption": [ "examples" ]
194
+ "desc": "Height of the container (in px)"
209
195
  },
210
196
 
211
197
  "horizontalPosition": {
212
198
  "type": "Number",
213
199
  "required": true,
214
- "desc": "Horizontal scroll position (in px)",
215
- "__exemption": [ "examples" ]
200
+ "desc": "Horizontal scroll position (in px)"
216
201
  },
217
202
  "horizontalPercentage": {
218
203
  "type": "Number",
219
204
  "required": true,
220
- "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)",
221
- "__exemption": [ "examples" ]
205
+ "desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
222
206
  },
223
207
  "horizontalSize": {
224
208
  "type": "Number",
225
209
  "required": true,
226
- "desc": "Horizontal scroll size (in px)",
227
- "__exemption": [ "examples" ]
210
+ "desc": "Horizontal scroll size (in px)"
228
211
  },
229
212
  "horizontalContainerSize": {
230
213
  "type": "Number",
231
214
  "required": true,
232
- "desc": "Width of the container (in px)",
233
- "__exemption": [ "examples" ]
215
+ "desc": "Width of the container (in px)"
234
216
  }
235
217
  }
236
218
  }
@@ -245,14 +227,12 @@
245
227
  "top": {
246
228
  "type": "Number",
247
229
  "required": true,
248
- "desc": "Scroll offset from top (vertical)",
249
- "examples": [ 120 ]
230
+ "desc": "Scroll offset from top (vertical)"
250
231
  },
251
232
  "left": {
252
233
  "type": "Number",
253
234
  "required": true,
254
- "desc": "Scroll offset from left (horizontal)",
255
- "examples": [ 10 ]
235
+ "desc": "Scroll offset from left (horizontal)"
256
236
  }
257
237
  },
258
238
  "examples": [ "{ top: 10, left: 0 }" ]
@@ -268,14 +248,12 @@
268
248
  "top": {
269
249
  "type": "Number",
270
250
  "required": true,
271
- "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
272
- "examples": [ 0.12 ]
251
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)"
273
252
  },
274
253
  "left": {
275
254
  "type": "Number",
276
255
  "required": true,
277
- "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
278
- "examples": [ 0.92 ]
256
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)"
279
257
  }
280
258
  },
281
259
  "examples": [ "{ top: 0.212, left: 0 }" ]
@@ -294,13 +272,11 @@
294
272
  "offset": {
295
273
  "type": "Number",
296
274
  "required": true,
297
- "desc": "Scroll position offset from top (in pixels)",
298
- "examples": [ 220 ]
275
+ "desc": "Scroll position offset from top (in pixels)"
299
276
  },
300
277
  "duration": {
301
278
  "type": "Number",
302
- "desc": "Duration (in milliseconds) enabling animated scroll",
303
- "examples": [ 300 ]
279
+ "desc": "Duration (in milliseconds) enabling animated scroll"
304
280
  }
305
281
  }
306
282
  },
@@ -317,13 +293,11 @@
317
293
  "offset": {
318
294
  "type": "Number",
319
295
  "desc": "Scroll percentage (0.0 <= x <= 1.0) of the total scrolling size",
320
- "required": true,
321
- "examples": [ 220 ]
296
+ "required": true
322
297
  },
323
298
  "duration": {
324
299
  "type": "Number",
325
- "desc": "Duration (in milliseconds) enabling animated scroll",
326
- "examples": [ 300 ]
300
+ "desc": "Duration (in milliseconds) enabling animated scroll"
327
301
  }
328
302
  }
329
303
  }
@@ -119,6 +119,8 @@ export default createComponent({
119
119
 
120
120
  const { proxy } = getCurrentInstance()
121
121
 
122
+ watch(() => proxy.$q.lang.rtl, emitEvent)
123
+
122
124
  onMounted(() => {
123
125
  parentEl = proxy.$el.parentNode
124
126
  configureScrollTarget()
@@ -40,14 +40,12 @@
40
40
  "top": {
41
41
  "type": "Number",
42
42
  "required": true,
43
- "desc": "Scroll offset from top (vertical)",
44
- "examples": [ 120 ]
43
+ "desc": "Scroll offset from top (vertical)"
45
44
  },
46
45
  "left": {
47
46
  "type": "Number",
48
47
  "required": true,
49
- "desc": "Scroll offset from left (horizontal)",
50
- "examples": [ 10 ]
48
+ "desc": "Scroll offset from left (horizontal)"
51
49
  }
52
50
  }
53
51
  },
@@ -71,14 +69,12 @@
71
69
  "top": {
72
70
  "type": "Number",
73
71
  "required": true,
74
- "desc": "Vertical delta distance since event was last emitted",
75
- "examples": [ 120 ]
72
+ "desc": "Vertical delta distance since event was last emitted"
76
73
  },
77
74
  "left": {
78
75
  "type": "Number",
79
76
  "required": true,
80
- "desc": "Horizontal delta distance since event was last emitted",
81
- "examples": [ 10 ]
77
+ "desc": "Horizontal delta distance since event was last emitted"
82
78
  }
83
79
  }
84
80
  },
@@ -91,14 +87,12 @@
91
87
  "top": {
92
88
  "type": "Number",
93
89
  "required": true,
94
- "desc": "Scroll offset from top (vertical)",
95
- "examples": [ 120 ]
90
+ "desc": "Scroll offset from top (vertical)"
96
91
  },
97
92
  "left": {
98
93
  "type": "Number",
99
94
  "required": true,
100
- "desc": "Scroll offset from left (horizontal)",
101
- "examples": [ 10 ]
95
+ "desc": "Scroll offset from left (horizontal)"
102
96
  }
103
97
  }
104
98
  }
@@ -127,9 +127,9 @@ export default createComponent({
127
127
 
128
128
  emits: [
129
129
  ...useFieldEmits,
130
- 'add', 'remove', 'input-value', 'new-value',
130
+ 'add', 'remove', 'inputValue', 'newValue',
131
131
  'keyup', 'keypress', 'keydown',
132
- 'filter-abort'
132
+ 'filterAbort'
133
133
  ],
134
134
 
135
135
  setup (props, { slots, emit }) {
@@ -268,20 +268,16 @@ export default createComponent({
268
268
 
269
269
  const tabindex = computed(() => (state.focused.value === true ? props.tabindex : -1))
270
270
 
271
- const comboboxAttrs = computed(() => {
272
- const attrs = {
273
- tabindex: props.tabindex,
274
- role: 'combobox',
275
- 'aria-label': props.label,
276
- 'aria-readonly': props.readonly === true ? 'true' : 'false',
277
- 'aria-autocomplete': props.useInput === true ? 'list' : 'none',
278
- 'aria-expanded': menu.value === true ? 'true' : 'false',
279
- 'aria-owns': `${ state.targetUid.value }_lb`,
280
- 'aria-controls': `${ state.targetUid.value }_lb`
281
- }
282
-
283
- return attrs
284
- })
271
+ const comboboxAttrs = computed(() => ({
272
+ tabindex: props.tabindex,
273
+ role: 'combobox',
274
+ 'aria-label': props.label,
275
+ 'aria-readonly': props.readonly === true ? 'true' : 'false',
276
+ 'aria-autocomplete': props.useInput === true ? 'list' : 'none',
277
+ 'aria-expanded': menu.value === true ? 'true' : 'false',
278
+ 'aria-owns': `${ state.targetUid.value }_lb`,
279
+ 'aria-controls': `${ state.targetUid.value }_lb`
280
+ }))
285
281
 
286
282
  const listboxAttrs = computed(() => {
287
283
  const attrs = {
@@ -877,7 +873,7 @@ export default createComponent({
877
873
  }
878
874
 
879
875
  if (props.onNewValue !== void 0) {
880
- emit('new-value', inputValue.value, done)
876
+ emit('newValue', inputValue.value, done)
881
877
  }
882
878
  else {
883
879
  done(inputValue.value)
@@ -900,8 +896,8 @@ export default createComponent({
900
896
  return hasDialog === true
901
897
  ? menuContentRef.value
902
898
  : (
903
- menuRef.value !== null && menuRef.value.__qPortalInnerRef.value !== null
904
- ? menuRef.value.__qPortalInnerRef.value
899
+ menuRef.value !== null && menuRef.value.contentEl !== null
900
+ ? menuRef.value.contentEl
905
901
  : void 0
906
902
  )
907
903
  }
@@ -1044,7 +1040,7 @@ export default createComponent({
1044
1040
  function setInputValue (val) {
1045
1041
  if (inputValue.value !== val) {
1046
1042
  inputValue.value = val
1047
- emit('input-value', val)
1043
+ emit('inputValue', val)
1048
1044
  }
1049
1045
  }
1050
1046
 
@@ -1068,7 +1064,7 @@ export default createComponent({
1068
1064
  }
1069
1065
 
1070
1066
  if (state.innerLoading.value === true) {
1071
- emit('filter-abort')
1067
+ emit('filterAbort')
1072
1068
  }
1073
1069
  else {
1074
1070
  state.innerLoading.value = true
@@ -1285,7 +1281,7 @@ export default createComponent({
1285
1281
  filterId = void 0
1286
1282
 
1287
1283
  if (state.innerLoading.value === true) {
1288
- emit('filter-abort')
1284
+ emit('filterAbort')
1289
1285
  state.innerLoading.value = false
1290
1286
  innerLoadingIndicator.value = false
1291
1287
  }
@@ -1371,14 +1367,14 @@ export default createComponent({
1371
1367
 
1372
1368
  function onControlPopupShow (e) {
1373
1369
  e !== void 0 && stop(e)
1374
- emit('popup-show', e)
1370
+ emit('popupShow', e)
1375
1371
  state.hasPopupOpen = true
1376
1372
  state.onControlFocusin(e)
1377
1373
  }
1378
1374
 
1379
1375
  function onControlPopupHide (e) {
1380
1376
  e !== void 0 && stop(e)
1381
- emit('popup-hide', e)
1377
+ emit('popupHide', e)
1382
1378
  state.hasPopupOpen = false
1383
1379
  state.onControlFocusout(e)
1384
1380
  }
@@ -142,7 +142,6 @@
142
142
  "max-values": {
143
143
  "type": [ "Number", "String" ],
144
144
  "desc": "Allow a maximum number of selections that the user can do",
145
- "examples": [ "5" ],
146
145
  "category": "selection"
147
146
  },
148
147
 
@@ -191,7 +190,6 @@
191
190
  "center left", "center middle", "center right", "center start", "center end",
192
191
  "bottom left", "bottom middle", "bottom right", "bottom start", "bottom end"
193
192
  ],
194
- "examples": [ "top left", "bottom right" ],
195
193
  "category": "position"
196
194
  },
197
195
 
@@ -203,7 +201,6 @@
203
201
  "center left", "center middle", "center right", "center start", "center end",
204
202
  "bottom left", "bottom middle", "bottom right", "bottom start", "bottom end"
205
203
  ],
206
- "examples": [ "top left", "bottom right" ],
207
204
  "category": "position"
208
205
  },
209
206
 
@@ -275,7 +272,6 @@
275
272
  "type": [ "Number", "String" ],
276
273
  "desc": "Debounce the input model update with an amount of milliseconds",
277
274
  "default": 500,
278
- "examples": [ 650 ],
279
275
  "category": "content"
280
276
  },
281
277
 
@@ -330,7 +326,6 @@
330
326
  "type": [ "String", "Number" ],
331
327
  "desc": "Transition duration when hiding the menu/dialog (in milliseconds, without unit)",
332
328
  "default": 300,
333
- "examples": [ 500, "1200" ],
334
329
  "category": "behavior"
335
330
  },
336
331
 
@@ -378,13 +373,11 @@
378
373
  "scope": {
379
374
  "index": {
380
375
  "type": "Number",
381
- "desc": "Selection index",
382
- "examples": [ 0 ]
376
+ "desc": "Selection index"
383
377
  },
384
378
  "opt": {
385
379
  "type": "Any",
386
- "desc": "Selected option -- its value is taken from model",
387
- "__exemption": [ "examples" ]
380
+ "desc": "Selected option -- its value is taken from model"
388
381
  },
389
382
  "selected": {
390
383
  "type": "Boolean",
@@ -397,8 +390,7 @@
397
390
  "index": {
398
391
  "type": "Number",
399
392
  "required": true,
400
- "desc": "Index at which to remove selection",
401
- "examples": [ 0 ]
393
+ "desc": "Index at which to remove selection"
402
394
  }
403
395
  },
404
396
  "returns": null
@@ -410,8 +402,7 @@
410
402
  "opt": {
411
403
  "type": "Any",
412
404
  "required": true,
413
- "desc": "Option to add to model",
414
- "__exemption": [ "examples" ]
405
+ "desc": "Option to add to model"
415
406
  }
416
407
  },
417
408
  "returns": null
@@ -429,13 +420,11 @@
429
420
  "scope": {
430
421
  "index": {
431
422
  "type": "Number",
432
- "desc": "Option index",
433
- "examples": [ 0 ]
423
+ "desc": "Option index"
434
424
  },
435
425
  "opt": {
436
426
  "type": "Any",
437
- "desc": "Option -- its value is taken from 'options' prop",
438
- "__exemption": [ "examples" ]
427
+ "desc": "Option -- its value is taken from 'options' prop"
439
428
  },
440
429
  "selected": {
441
430
  "type": "Boolean",
@@ -452,8 +441,7 @@
452
441
  "opt": {
453
442
  "type": "Any",
454
443
  "required": true,
455
- "desc": "Option to add to model",
456
- "__exemption": [ "examples" ]
444
+ "desc": "Option to add to model"
457
445
  }
458
446
  },
459
447
  "returns": null
@@ -465,16 +453,14 @@
465
453
  "index": {
466
454
  "type": "Number",
467
455
  "required": true,
468
- "desc": "Index of option from menu",
469
- "examples": [ 10 ]
456
+ "desc": "Index of option from menu"
470
457
  }
471
458
  },
472
459
  "returns": null
473
460
  },
474
461
  "itemProps": {
475
462
  "type": "Object",
476
- "desc": "Computed properties passed down to QItem",
477
- "__exemption": [ "examples" ]
463
+ "desc": "Computed properties passed down to QItem"
478
464
  }
479
465
  }
480
466
  }
@@ -490,8 +476,7 @@
490
476
  "params": {
491
477
  "value": {
492
478
  "type": "String",
493
- "desc": "New text value",
494
- "__exemption": [ "examples" ]
479
+ "desc": "New text value"
495
480
  }
496
481
  }
497
482
  },
@@ -506,14 +491,12 @@
506
491
  "index": {
507
492
  "type": "Number",
508
493
  "required": true,
509
- "desc": "Model index at which removal took place",
510
- "examples": [ 2 ]
494
+ "desc": "Model index at which removal took place"
511
495
  },
512
496
  "value": {
513
497
  "type": "Any",
514
498
  "required": true,
515
- "desc": "The actual value that was removed",
516
- "__exemption": [ "examples" ]
499
+ "desc": "The actual value that was removed"
517
500
  }
518
501
  }
519
502
  }
@@ -530,14 +513,12 @@
530
513
  "index": {
531
514
  "type": "Number",
532
515
  "required": true,
533
- "desc": "Model index at which addition took place",
534
- "examples": [ 2 ]
516
+ "desc": "Model index at which addition took place"
535
517
  },
536
518
  "value": {
537
519
  "type": "Any",
538
520
  "required": true,
539
- "desc": "The actual value that was added",
540
- "__exemption": [ "examples" ]
521
+ "desc": "The actual value that was added"
541
522
  }
542
523
  }
543
524
  }
@@ -559,8 +540,7 @@
559
540
  "item": {
560
541
  "type": "Any",
561
542
  "required": false,
562
- "desc": "Item to add",
563
- "__exemption": [ "examples" ]
543
+ "desc": "Item to add"
564
544
  },
565
545
  "mode": {
566
546
  "type": "String",
@@ -675,8 +655,7 @@
675
655
  "index": {
676
656
  "type": "Number",
677
657
  "required": true,
678
- "desc": "Index at which to remove selection",
679
- "examples": [ 0 ]
658
+ "desc": "Index at which to remove selection"
680
659
  }
681
660
  }
682
661
  },
@@ -687,13 +666,11 @@
687
666
  "opt": {
688
667
  "type": "Any",
689
668
  "required": true,
690
- "desc": "Option to add to model",
691
- "__exemption": [ "examples" ]
669
+ "desc": "Option to add to model"
692
670
  },
693
671
  "unique": {
694
672
  "type": "Boolean",
695
- "desc": "Option must be unique",
696
- "__exemption": [ "examples" ]
673
+ "desc": "Option must be unique"
697
674
  }
698
675
  }
699
676
  },
@@ -704,8 +681,7 @@
704
681
  "opt": {
705
682
  "type": "Any",
706
683
  "required": true,
707
- "desc": "Option to add to model",
708
- "__exemption": [ "examples" ]
684
+ "desc": "Option to add to model"
709
685
  },
710
686
  "keepOpen": {
711
687
  "type": "Boolean",
@@ -718,8 +694,7 @@
718
694
  "desc": "Gets current focused option index from menu; It's -1 if no option is focused",
719
695
  "returns": {
720
696
  "type": "Number",
721
- "desc": "Index of option from menu; It's -1 if no option is focused",
722
- "examples": [ -1, 0, 10 ]
697
+ "desc": "Index of option from menu; It's -1 if no option is focused"
723
698
  },
724
699
  "addedIn": "v2.5.4"
725
700
  },
@@ -730,8 +705,7 @@
730
705
  "index": {
731
706
  "type": "Number",
732
707
  "required": true,
733
- "desc": "Index of option from menu; -1 to focus none",
734
- "examples": [ 10 ]
708
+ "desc": "Index of option from menu; -1 to focus none"
735
709
  }
736
710
  }
737
711
  },
@@ -742,8 +716,7 @@
742
716
  "offset": {
743
717
  "type": "Number",
744
718
  "desc": "Number of options to move up or down",
745
- "default": 1,
746
- "examples": [ -1, 1, 5 ]
719
+ "default": 1
747
720
  },
748
721
  "skipInputValue": {
749
722
  "type": "Boolean",
@@ -790,8 +763,7 @@
790
763
  "opt": {
791
764
  "type": "Any",
792
765
  "required": true,
793
- "desc": "Option entry",
794
- "__exemption": [ "examples" ]
766
+ "desc": "Option entry"
795
767
  }
796
768
  },
797
769
  "returns": {
@@ -806,14 +778,12 @@
806
778
  "opt": {
807
779
  "type": "Any",
808
780
  "required": true,
809
- "desc": "Option entry",
810
- "__exemption": [ "examples" ]
781
+ "desc": "Option entry"
811
782
  }
812
783
  },
813
784
  "returns": {
814
785
  "type": "Any",
815
- "desc": "Emitting model value of said option",
816
- "__exemption": [ "examples" ]
786
+ "desc": "Emitting model value of said option"
817
787
  }
818
788
  },
819
789
 
@@ -823,14 +793,12 @@
823
793
  "opt": {
824
794
  "type": "Any",
825
795
  "required": true,
826
- "desc": "Option entry",
827
- "__exemption": [ "examples" ]
796
+ "desc": "Option entry"
828
797
  }
829
798
  },
830
799
  "returns": {
831
800
  "type": "Any",
832
- "desc": "Model value of said option",
833
- "__exemption": [ "examples" ]
801
+ "desc": "Model value of said option"
834
802
  }
835
803
  },
836
804
 
@@ -840,14 +808,12 @@
840
808
  "opt": {
841
809
  "type": "Any",
842
810
  "required": true,
843
- "desc": "Option entry",
844
- "__exemption": [ "examples" ]
811
+ "desc": "Option entry"
845
812
  }
846
813
  },
847
814
  "returns": {
848
815
  "type": "Any",
849
- "desc": "Label of said option",
850
- "__exemption": [ "examples" ]
816
+ "desc": "Label of said option"
851
817
  }
852
818
  },
853
819
 
@@ -857,8 +823,7 @@
857
823
  "opt": {
858
824
  "type": "Any",
859
825
  "required": true,
860
- "desc": "Option entry",
861
- "__exemption": [ "examples" ]
826
+ "desc": "Option entry"
862
827
  }
863
828
  },
864
829
  "returns": {
@@ -17,8 +17,8 @@
17
17
  &__autocomplete-input
18
18
  position: absolute
19
19
  outline: 0 !important
20
- width: 0
21
- height: 0
20
+ width: 1px // Safari scrolls on top if 0
21
+ height: 1px // Safari scrolls on top if 0
22
22
  padding: 0
23
23
  border: 0
24
24
  opacity: 0