quasar 2.10.0 → 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 (306) 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/QBtn.json +0 -3
  12. package/dist/api/QBtnDropdown.json +0 -12
  13. package/dist/api/QCarousel.json +0 -10
  14. package/dist/api/QCarouselControl.json +0 -3
  15. package/dist/api/QCircularProgress.json +0 -23
  16. package/dist/api/QColor.json +0 -3
  17. package/dist/api/QDialog.json +18 -9
  18. package/dist/api/QDrawer.json +0 -6
  19. package/dist/api/QExpansionItem.json +0 -3
  20. package/dist/api/QFab.json +1 -6
  21. package/dist/api/QFabAction.json +1 -3
  22. package/dist/api/QField.json +1 -6
  23. package/dist/api/QFile.json +12 -29
  24. package/dist/api/QFooter.json +0 -3
  25. package/dist/api/QHeader.json +0 -6
  26. package/dist/api/QInfiniteScroll.json +9 -16
  27. package/dist/api/QInnerLoading.json +0 -4
  28. package/dist/api/QInput.json +8 -15
  29. package/dist/api/QIntersection.json +0 -4
  30. package/dist/api/QItemLabel.json +0 -5
  31. package/dist/api/QKnob.json +3 -36
  32. package/dist/api/QLayout.json +6 -24
  33. package/dist/api/QLinearProgress.json +0 -6
  34. package/dist/api/QList.json +15 -0
  35. package/dist/api/QMenu.json +7 -12
  36. package/dist/api/QOptionGroup.json +0 -3
  37. package/dist/api/QPage.json +2 -8
  38. package/dist/api/QPageScroller.json +0 -9
  39. package/dist/api/QPageSticky.json +0 -3
  40. package/dist/api/QPagination.json +4 -25
  41. package/dist/api/QParallax.json +2 -14
  42. package/dist/api/QPopupEdit.json +0 -8
  43. package/dist/api/QPopupProxy.json +0 -4
  44. package/dist/api/QRange.json +5 -32
  45. package/dist/api/QRating.json +0 -4
  46. package/dist/api/QResizeObserver.json +2 -8
  47. package/dist/api/QScrollArea.json +8 -36
  48. package/dist/api/QScrollObserver.json +6 -24
  49. package/dist/api/QSelect.json +18 -108
  50. package/dist/api/QSlideItem.json +1 -6
  51. package/dist/api/QSlideTransition.json +0 -4
  52. package/dist/api/QSlider.json +3 -24
  53. package/dist/api/QSpinner.json +0 -4
  54. package/dist/api/QSplitter.json +1 -4
  55. package/dist/api/QStepper.json +0 -7
  56. package/dist/api/QTabPanels.json +0 -7
  57. package/dist/api/QTable.json +43 -191
  58. package/dist/api/QTabs.json +0 -6
  59. package/dist/api/QTime.json +3 -12
  60. package/dist/api/QTooltip.json +7 -18
  61. package/dist/api/QTree.json +0 -3
  62. package/dist/api/QUploader.json +5 -16
  63. package/dist/api/QVirtualScroll.json +11 -56
  64. package/dist/api/Screen.json +9 -36
  65. package/dist/api/Scroll.json +2 -8
  66. package/dist/api/SessionStorage.json +4 -16
  67. package/dist/api/TouchHold.json +3 -12
  68. package/dist/api/TouchPan.json +7 -28
  69. package/dist/api/TouchRepeat.json +6 -24
  70. package/dist/api/TouchSwipe.json +3 -12
  71. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  72. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  73. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  74. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  75. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  76. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  77. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  78. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  79. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  80. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  81. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  82. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  83. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  84. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  85. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  86. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  87. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  88. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  89. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  90. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  91. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  93. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  94. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  95. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  96. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  97. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  98. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  99. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  100. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  101. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  102. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  103. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  104. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  107. package/dist/icon-set/themify.umd.prod.js +1 -1
  108. package/dist/lang/ar-TN.umd.prod.js +1 -1
  109. package/dist/lang/ar.umd.prod.js +1 -1
  110. package/dist/lang/az-Latn.umd.prod.js +1 -1
  111. package/dist/lang/bg.umd.prod.js +1 -1
  112. package/dist/lang/bn.umd.prod.js +1 -1
  113. package/dist/lang/ca.umd.prod.js +1 -1
  114. package/dist/lang/cs.umd.prod.js +1 -1
  115. package/dist/lang/da.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/hr.umd.prod.js +1 -1
  131. package/dist/lang/hu.umd.prod.js +1 -1
  132. package/dist/lang/id.umd.prod.js +1 -1
  133. package/dist/lang/is.umd.prod.js +1 -1
  134. package/dist/lang/it.umd.prod.js +1 -1
  135. package/dist/lang/ja.umd.prod.js +1 -1
  136. package/dist/lang/km.umd.prod.js +1 -1
  137. package/dist/lang/ko-KR.umd.prod.js +1 -1
  138. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  139. package/dist/lang/kz.umd.prod.js +1 -1
  140. package/dist/lang/lt.umd.prod.js +1 -1
  141. package/dist/lang/lu.umd.prod.js +1 -1
  142. package/dist/lang/lv.umd.prod.js +1 -1
  143. package/dist/lang/ml.umd.prod.js +1 -1
  144. package/dist/lang/mm.umd.prod.js +1 -1
  145. package/dist/lang/ms.umd.prod.js +1 -1
  146. package/dist/lang/my.umd.prod.js +1 -1
  147. package/dist/lang/nb-NO.umd.prod.js +1 -1
  148. package/dist/lang/nl.umd.prod.js +1 -1
  149. package/dist/lang/pl.umd.prod.js +1 -1
  150. package/dist/lang/pt-BR.umd.prod.js +1 -1
  151. package/dist/lang/pt.umd.prod.js +1 -1
  152. package/dist/lang/ro.umd.prod.js +1 -1
  153. package/dist/lang/ru.umd.prod.js +1 -1
  154. package/dist/lang/sk.umd.prod.js +1 -1
  155. package/dist/lang/sl.umd.prod.js +1 -1
  156. package/dist/lang/sm.umd.prod.js +1 -1
  157. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  158. package/dist/lang/sr.umd.prod.js +1 -1
  159. package/dist/lang/sv.umd.prod.js +1 -1
  160. package/dist/lang/ta.umd.prod.js +1 -1
  161. package/dist/lang/th.umd.prod.js +1 -1
  162. package/dist/lang/tr.umd.prod.js +1 -1
  163. package/dist/lang/ug.umd.prod.js +1 -1
  164. package/dist/lang/uk.umd.prod.js +1 -1
  165. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  166. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  167. package/dist/lang/vi.umd.prod.js +1 -1
  168. package/dist/lang/zh-CN.umd.prod.js +1 -1
  169. package/dist/lang/zh-TW.umd.prod.js +1 -1
  170. package/dist/quasar.cjs.prod.js +2 -2
  171. package/dist/quasar.css +2 -2
  172. package/dist/quasar.esm.js +166 -158
  173. package/dist/quasar.esm.prod.js +2 -2
  174. package/dist/quasar.prod.css +1 -1
  175. package/dist/quasar.rtl.css +2 -2
  176. package/dist/quasar.rtl.prod.css +1 -1
  177. package/dist/quasar.sass +3 -3
  178. package/dist/quasar.umd.js +166 -158
  179. package/dist/quasar.umd.prod.js +2 -2
  180. package/dist/types/index.d.ts +50 -55
  181. package/dist/vetur/quasar-attributes.json +4 -0
  182. package/dist/vetur/quasar-tags.json +2 -1
  183. package/dist/web-types/web-types.json +142 -132
  184. package/package.json +3 -3
  185. package/src/api.extends.json +1 -2
  186. package/src/components/ajax-bar/QAjaxBar.json +5 -11
  187. package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
  188. package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -2
  189. package/src/components/btn/QBtn.json +1 -3
  190. package/src/components/btn/__tests__/QBtn.spec.js +87 -14
  191. package/src/components/btn/__tests__/use-btn.spec.js +385 -58
  192. package/src/components/btn-dropdown/QBtnDropdown.js +4 -11
  193. package/src/components/btn-dropdown/QBtnDropdown.json +0 -2
  194. package/src/components/btn-toggle/QBtnToggle.json +2 -4
  195. package/src/components/carousel/QCarousel.json +4 -9
  196. package/src/components/carousel/QCarouselControl.json +0 -1
  197. package/src/components/checkbox/use-checkbox.json +1 -2
  198. package/src/components/circular-progress/QCircularProgress.json +0 -5
  199. package/src/components/color/QColor.json +0 -1
  200. package/src/components/date/QDate.js +3 -3
  201. package/src/components/date/QDate.json +28 -56
  202. package/src/components/dialog/QDialog.js +30 -40
  203. package/src/components/dialog/QDialog.json +9 -2
  204. package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -2
  205. package/src/components/dialog-plugin/DialogPlugin.js +4 -4
  206. package/src/components/drawer/QDrawer.js +5 -5
  207. package/src/components/drawer/QDrawer.json +0 -4
  208. package/src/components/editor/QEditor.json +3 -6
  209. package/src/components/expansion-item/QExpansionItem.js +3 -3
  210. package/src/components/expansion-item/QExpansionItem.json +3 -8
  211. package/src/components/fab/QFab.json +0 -1
  212. package/src/components/fab/use-fab.json +0 -1
  213. package/src/components/field/QField.json +0 -1
  214. package/src/components/file/QFile.js +4 -1
  215. package/src/components/file/QFile.json +19 -20
  216. package/src/components/footer/QFooter.json +0 -1
  217. package/src/components/form/QForm.js +5 -3
  218. package/src/components/form/QForm.json +2 -4
  219. package/src/components/header/QHeader.json +0 -4
  220. package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
  221. package/src/components/inner-loading/QInnerLoading.js +2 -5
  222. package/src/components/input/QInput.js +4 -1
  223. package/src/components/input/QInput.json +11 -7
  224. package/src/components/input/use-mask.js +1 -1
  225. package/src/components/intersection/QIntersection.json +0 -1
  226. package/src/components/item/QItem.json +1 -2
  227. package/src/components/item/QItemLabel.json +0 -1
  228. package/src/components/item/QList.js +7 -2
  229. package/src/components/item/QList.json +7 -0
  230. package/src/components/knob/QKnob.js +3 -3
  231. package/src/components/knob/QKnob.json +3 -12
  232. package/src/components/layout/QLayout.js +1 -1
  233. package/src/components/layout/QLayout.json +6 -12
  234. package/src/components/linear-progress/QLinearProgress.json +0 -2
  235. package/src/components/menu/QMenu.js +8 -5
  236. package/src/components/menu/QMenu.json +0 -2
  237. package/src/components/option-group/QOptionGroup.json +2 -5
  238. package/src/components/page/QPage.json +3 -6
  239. package/src/components/page-scroller/QPageScroller.json +0 -2
  240. package/src/components/page-sticky/QPageSticky.json +0 -1
  241. package/src/components/pagination/QPagination.json +5 -13
  242. package/src/components/parallax/QParallax.json +2 -6
  243. package/src/components/popup-edit/QPopupEdit.js +3 -3
  244. package/src/components/popup-edit/QPopupEdit.json +4 -10
  245. package/src/components/popup-proxy/QPopupProxy.json +0 -1
  246. package/src/components/radio/QRadio.json +1 -2
  247. package/src/components/range/QRange.json +2 -4
  248. package/src/components/rating/QRating.json +0 -1
  249. package/src/components/resize-observer/QResizeObserver.json +2 -4
  250. package/src/components/scroll-area/QScrollArea.js +15 -4
  251. package/src/components/scroll-area/QScrollArea.json +24 -50
  252. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  253. package/src/components/scroll-observer/QScrollObserver.json +6 -12
  254. package/src/components/select/QSelect.js +20 -24
  255. package/src/components/select/QSelect.json +30 -65
  256. package/src/components/select/QSelect.sass +2 -2
  257. package/src/components/slide-item/QSlideItem.json +1 -2
  258. package/src/components/slide-transition/QSlideTransition.json +0 -1
  259. package/src/components/slider/use-slider.json +33 -70
  260. package/src/components/spinner/QSpinner.json +0 -1
  261. package/src/components/splitter/QSplitter.json +1 -2
  262. package/src/components/table/QTable.js +3 -3
  263. package/src/components/table/QTable.json +118 -239
  264. package/src/components/tabs/QRouteTab.json +0 -1
  265. package/src/components/tabs/QTabs.json +0 -2
  266. package/src/components/time/QTime.json +10 -20
  267. package/src/components/tooltip/QTooltip.js +2 -5
  268. package/src/components/tooltip/QTooltip.json +0 -4
  269. package/src/components/tree/QTree.js +6 -6
  270. package/src/components/tree/QTree.json +15 -31
  271. package/src/components/uploader/QUploader.json +13 -22
  272. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  273. package/src/components/uploader/xhr-uploader-plugin.json +25 -50
  274. package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
  275. package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
  276. package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
  277. package/src/composables/private/use-field.js +1 -1
  278. package/src/composables/private/use-field.json +2 -3
  279. package/src/composables/private/use-file.json +4 -13
  280. package/src/composables/private/use-model-toggle.js +3 -3
  281. package/src/composables/private/use-panel.js +2 -2
  282. package/src/composables/private/use-panel.json +0 -2
  283. package/src/composables/private/use-portal.js +5 -1
  284. package/src/composables/private/use-portal.json +7 -1
  285. package/src/composables/private/use-transition.js +17 -11
  286. package/src/composables/private/use-transition.json +0 -1
  287. package/src/composables/private/use-validate.json +1 -3
  288. package/src/directives/Intersection.json +26 -53
  289. package/src/directives/Morph.json +4 -8
  290. package/src/directives/Mutation.json +6 -12
  291. package/src/directives/Scroll.json +2 -4
  292. package/src/directives/TouchHold.json +3 -6
  293. package/src/directives/TouchPan.json +7 -14
  294. package/src/directives/TouchRepeat.json +6 -12
  295. package/src/directives/TouchSwipe.json +3 -6
  296. package/src/plugins/BottomSheet.json +1 -2
  297. package/src/plugins/Cookies.json +2 -4
  298. package/src/plugins/Dialog.json +32 -72
  299. package/src/plugins/Loading.json +6 -11
  300. package/src/plugins/LoadingBar.json +3 -6
  301. package/src/plugins/Notify.json +4 -5
  302. package/src/plugins/Platform.json +3 -6
  303. package/src/plugins/Screen.json +9 -18
  304. package/src/utils/private/global-dialog.json +6 -12
  305. package/src/utils/private/portal.js +4 -4
  306. package/src/utils/private/web-storage.json +6 -10
@@ -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
@@ -148,8 +148,7 @@
148
148
  "ratio": {
149
149
  "type": "Number",
150
150
  "required": true,
151
- "desc": "Ratio of how much of the required slide was performed (0..1)",
152
- "examples": [ 0, 0.5, 1 ]
151
+ "desc": "Ratio of how much of the required slide was performed (0 <= x <= 1)"
153
152
  },
154
153
  "isReset": {
155
154
  "type": "Boolean",
@@ -14,7 +14,6 @@
14
14
  "type": "Number",
15
15
  "desc": "Duration (in milliseconds) enabling animated scroll.",
16
16
  "default": 300,
17
- "examples": [ 500, ":duration=\"500\"" ],
18
17
  "category": "behavior"
19
18
  }
20
19
  },