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
@@ -26,27 +26,18 @@
26
26
  "type": "Number",
27
27
  "desc": "Maximum value of the model; Set track's maximum value",
28
28
  "default": 100,
29
- "examples": [
30
- ":max=\"100\""
31
- ],
32
29
  "category": "model",
33
30
  "required": false
34
31
  },
35
32
  "inner-min": {
36
33
  "type": "Number",
37
34
  "desc": "Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop",
38
- "examples": [
39
- ":inner-min=\"0\""
40
- ],
41
35
  "category": "model",
42
36
  "addedIn": "v2.4"
43
37
  },
44
38
  "inner-max": {
45
39
  "type": "Number",
46
40
  "desc": "Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop",
47
- "examples": [
48
- ":inner-max=\"100\""
49
- ],
50
41
  "category": "model",
51
42
  "addedIn": "v2.4"
52
43
  },
@@ -54,9 +45,6 @@
54
45
  "type": "Number",
55
46
  "desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
56
47
  "default": 1,
57
- "examples": [
58
- ":step=\"1\""
59
- ],
60
48
  "category": "model",
61
49
  "required": false
62
50
  },
@@ -237,10 +225,7 @@
237
225
  "value": {
238
226
  "type": "Number",
239
227
  "desc": "The marker value to transform",
240
- "required": true,
241
- "examples": [
242
- "5"
243
- ]
228
+ "required": true
244
229
  }
245
230
  },
246
231
  "returns": {
@@ -398,20 +383,14 @@
398
383
  "Number",
399
384
  "null"
400
385
  ],
401
- "desc": "Model value for left thumb",
402
- "examples": [
403
- 2
404
- ]
386
+ "desc": "Model value for left thumb"
405
387
  },
406
388
  "max": {
407
389
  "type": [
408
390
  "Number",
409
391
  "null"
410
392
  ],
411
- "desc": "Model value for right thumb",
412
- "examples": [
413
- 12
414
- ]
393
+ "desc": "Model value for right thumb"
415
394
  }
416
395
  },
417
396
  "examples": [
@@ -631,10 +610,7 @@
631
610
  "value": {
632
611
  "type": "Number",
633
612
  "desc": "The marker label equivalent model value",
634
- "required": true,
635
- "examples": [
636
- "5"
637
- ]
613
+ "required": true
638
614
  }
639
615
  },
640
616
  "returns": {
@@ -733,10 +709,7 @@
733
709
  "value": {
734
710
  "type": "Number",
735
711
  "desc": "The marker label equivalent model value",
736
- "required": true,
737
- "examples": [
738
- "5"
739
- ]
712
+ "required": true
740
713
  }
741
714
  },
742
715
  "returns": {
@@ -42,10 +42,6 @@
42
42
  ],
43
43
  "desc": "Number of icons to display",
44
44
  "default": 5,
45
- "examples": [
46
- "3",
47
- ":max=\"5\""
48
- ],
49
45
  "category": "general",
50
46
  "required": false
51
47
  },
@@ -30,18 +30,12 @@
30
30
  "height": {
31
31
  "type": "Number",
32
32
  "required": true,
33
- "desc": "Layout height",
34
- "examples": [
35
- 822
36
- ]
33
+ "desc": "Layout height"
37
34
  },
38
35
  "width": {
39
36
  "type": "Number",
40
37
  "required": true,
41
- "desc": "Layout width",
42
- "examples": [
43
- 822
44
- ]
38
+ "desc": "Layout width"
45
39
  }
46
40
  }
47
41
  }
@@ -113,10 +113,6 @@
113
113
  ],
114
114
  "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)",
115
115
  "default": 1000,
116
- "examples": [
117
- 500,
118
- ":delay=\"550\""
119
- ],
120
116
  "category": "behavior",
121
117
  "required": false
122
118
  },
@@ -263,18 +259,12 @@
263
259
  "top": {
264
260
  "type": "Number",
265
261
  "required": true,
266
- "desc": "Scroll offset from top (vertical)",
267
- "examples": [
268
- 120
269
- ]
262
+ "desc": "Scroll offset from top (vertical)"
270
263
  },
271
264
  "left": {
272
265
  "type": "Number",
273
266
  "required": true,
274
- "desc": "Scroll offset from left (horizontal)",
275
- "examples": [
276
- 10
277
- ]
267
+ "desc": "Scroll offset from left (horizontal)"
278
268
  }
279
269
  },
280
270
  "examples": [
@@ -291,18 +281,12 @@
291
281
  "top": {
292
282
  "type": "Number",
293
283
  "required": true,
294
- "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
295
- "examples": [
296
- 0.12
297
- ]
284
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)"
298
285
  },
299
286
  "left": {
300
287
  "type": "Number",
301
288
  "required": true,
302
- "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
303
- "examples": [
304
- 0.92
305
- ]
289
+ "desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)"
306
290
  }
307
291
  },
308
292
  "examples": [
@@ -325,17 +309,11 @@
325
309
  "offset": {
326
310
  "type": "Number",
327
311
  "required": true,
328
- "desc": "Scroll position offset from top (in pixels)",
329
- "examples": [
330
- 220
331
- ]
312
+ "desc": "Scroll position offset from top (in pixels)"
332
313
  },
333
314
  "duration": {
334
315
  "type": "Number",
335
- "desc": "Duration (in milliseconds) enabling animated scroll",
336
- "examples": [
337
- 300
338
- ]
316
+ "desc": "Duration (in milliseconds) enabling animated scroll"
339
317
  }
340
318
  }
341
319
  },
@@ -354,17 +332,11 @@
354
332
  "offset": {
355
333
  "type": "Number",
356
334
  "desc": "Scroll percentage (0.0 <= x <= 1.0) of the total scrolling size",
357
- "required": true,
358
- "examples": [
359
- 220
360
- ]
335
+ "required": true
361
336
  },
362
337
  "duration": {
363
338
  "type": "Number",
364
- "desc": "Duration (in milliseconds) enabling animated scroll",
365
- "examples": [
366
- 300
367
- ]
339
+ "desc": "Duration (in milliseconds) enabling animated scroll"
368
340
  }
369
341
  }
370
342
  }
@@ -59,18 +59,12 @@
59
59
  "top": {
60
60
  "type": "Number",
61
61
  "required": true,
62
- "desc": "Scroll offset from top (vertical)",
63
- "examples": [
64
- 120
65
- ]
62
+ "desc": "Scroll offset from top (vertical)"
66
63
  },
67
64
  "left": {
68
65
  "type": "Number",
69
66
  "required": true,
70
- "desc": "Scroll offset from left (horizontal)",
71
- "examples": [
72
- 10
73
- ]
67
+ "desc": "Scroll offset from left (horizontal)"
74
68
  }
75
69
  }
76
70
  },
@@ -98,18 +92,12 @@
98
92
  "top": {
99
93
  "type": "Number",
100
94
  "required": true,
101
- "desc": "Vertical delta distance since event was last emitted",
102
- "examples": [
103
- 120
104
- ]
95
+ "desc": "Vertical delta distance since event was last emitted"
105
96
  },
106
97
  "left": {
107
98
  "type": "Number",
108
99
  "required": true,
109
- "desc": "Horizontal delta distance since event was last emitted",
110
- "examples": [
111
- 10
112
- ]
100
+ "desc": "Horizontal delta distance since event was last emitted"
113
101
  }
114
102
  }
115
103
  },
@@ -121,18 +109,12 @@
121
109
  "top": {
122
110
  "type": "Number",
123
111
  "required": true,
124
- "desc": "Scroll offset from top (vertical)",
125
- "examples": [
126
- 120
127
- ]
112
+ "desc": "Scroll offset from top (vertical)"
128
113
  },
129
114
  "left": {
130
115
  "type": "Number",
131
116
  "required": true,
132
- "desc": "Scroll offset from left (horizontal)",
133
- "examples": [
134
- 10
135
- ]
117
+ "desc": "Scroll offset from left (horizontal)"
136
118
  }
137
119
  }
138
120
  }
@@ -37,10 +37,7 @@
37
37
  "String"
38
38
  ],
39
39
  "desc": "Ratio of number of items in visible zone to render before it",
40
- "default": "1",
41
- "examples": [
42
- "virtual-scroll-slice-ratio-before=\"0.3\""
43
- ],
40
+ "default": 1,
44
41
  "category": "virtual-scroll",
45
42
  "required": false
46
43
  },
@@ -50,10 +47,7 @@
50
47
  "String"
51
48
  ],
52
49
  "desc": "Ratio of number of items in visible zone to render after it",
53
- "default": "1",
54
- "examples": [
55
- "virtual-scroll-slice-ratio-after=\"2\""
56
- ],
50
+ "default": 1,
57
51
  "category": "virtual-scroll",
58
52
  "required": false
59
53
  },
@@ -63,10 +57,7 @@
63
57
  "String"
64
58
  ],
65
59
  "desc": "Default size in pixels (height if vertical, width if horizontal) of an item; This value is used for rendering the initial list; Try to use a value close to the minimum size of an item",
66
- "default": "24",
67
- "examples": [
68
- "virtual-scroll-item-size=\"48\""
69
- ],
60
+ "default": 24,
70
61
  "category": "virtual-scroll",
71
62
  "required": false
72
63
  },
@@ -77,9 +68,6 @@
77
68
  ],
78
69
  "desc": "Size in pixels (height if vertical, width if horizontal) of the sticky part (if using one) at the start of the list; A correct value will improve scroll precision",
79
70
  "default": "0",
80
- "examples": [
81
- "virtual-scroll-sticky-size-start=\"48\""
82
- ],
83
71
  "category": "virtual-scroll",
84
72
  "required": false
85
73
  },
@@ -90,9 +78,6 @@
90
78
  ],
91
79
  "desc": "Size in pixels (height if vertical, width if horizontal) of the sticky part (if using one) at the end of the list; A correct value will improve scroll precision",
92
80
  "default": "0",
93
- "examples": [
94
- "virtual-scroll-sticky-size-end=\"48\""
95
- ],
96
81
  "category": "virtual-scroll",
97
82
  "required": false
98
83
  },
@@ -102,9 +87,6 @@
102
87
  "String"
103
88
  ],
104
89
  "desc": "The number of columns in the table (you need this if you use table-layout: fixed)",
105
- "examples": [
106
- "table-colspan=\"12\""
107
- ],
108
90
  "category": "virtual-scroll|content"
109
91
  },
110
92
  "model-value": {
@@ -509,9 +491,6 @@
509
491
  "String"
510
492
  ],
511
493
  "desc": "Allow a maximum number of selections that the user can do",
512
- "examples": [
513
- "5"
514
- ],
515
494
  "category": "selection"
516
495
  },
517
496
  "options-dense": {
@@ -567,10 +546,6 @@
567
546
  "bottom start",
568
547
  "bottom end"
569
548
  ],
570
- "examples": [
571
- "top left",
572
- "bottom right"
573
- ],
574
549
  "category": "position"
575
550
  },
576
551
  "menu-self": {
@@ -593,10 +568,6 @@
593
568
  "bottom start",
594
569
  "bottom end"
595
570
  ],
596
- "examples": [
597
- "top left",
598
- "bottom right"
599
- ],
600
571
  "category": "position"
601
572
  },
602
573
  "menu-offset": {
@@ -672,9 +643,6 @@
672
643
  ],
673
644
  "desc": "Debounce the input model update with an amount of milliseconds",
674
645
  "default": 500,
675
- "examples": [
676
- 650
677
- ],
678
646
  "category": "content",
679
647
  "required": false
680
648
  },
@@ -755,10 +723,6 @@
755
723
  ],
756
724
  "desc": "Transition duration when hiding the menu/dialog (in milliseconds, without unit)",
757
725
  "default": 300,
758
- "examples": [
759
- 500,
760
- "1200"
761
- ],
762
726
  "category": "behavior",
763
727
  "required": false
764
728
  },
@@ -832,10 +796,7 @@
832
796
  "scope": {
833
797
  "index": {
834
798
  "type": "Number",
835
- "desc": "Selection index",
836
- "examples": [
837
- 0
838
- ]
799
+ "desc": "Selection index"
839
800
  },
840
801
  "opt": {
841
802
  "type": "Any",
@@ -852,10 +813,7 @@
852
813
  "index": {
853
814
  "type": "Number",
854
815
  "required": true,
855
- "desc": "Index at which to remove selection",
856
- "examples": [
857
- 0
858
- ]
816
+ "desc": "Index at which to remove selection"
859
817
  }
860
818
  },
861
819
  "returns": null
@@ -887,10 +845,7 @@
887
845
  "scope": {
888
846
  "index": {
889
847
  "type": "Number",
890
- "desc": "Option index",
891
- "examples": [
892
- 0
893
- ]
848
+ "desc": "Option index"
894
849
  },
895
850
  "opt": {
896
851
  "type": "Any",
@@ -923,10 +878,7 @@
923
878
  "index": {
924
879
  "type": "Number",
925
880
  "required": true,
926
- "desc": "Index of option from menu",
927
- "examples": [
928
- 10
929
- ]
881
+ "desc": "Index of option from menu"
930
882
  }
931
883
  },
932
884
  "returns": null
@@ -949,26 +901,17 @@
949
901
  "index": {
950
902
  "type": "Number",
951
903
  "required": true,
952
- "desc": "Index of the list item that was scrolled into view (0 based)",
953
- "examples": [
954
- 30
955
- ]
904
+ "desc": "Index of the list item that was scrolled into view (0 based)"
956
905
  },
957
906
  "from": {
958
907
  "type": "Number",
959
908
  "required": true,
960
- "desc": "The index of the first list item that is rendered (0 based)",
961
- "examples": [
962
- 10
963
- ]
909
+ "desc": "The index of the first list item that is rendered (0 based)"
964
910
  },
965
911
  "to": {
966
912
  "type": "Number",
967
913
  "required": true,
968
- "desc": "The index of the last list item that is rendered (0 based)",
969
- "examples": [
970
- 50
971
- ]
914
+ "desc": "The index of the last list item that is rendered (0 based)"
972
915
  },
973
916
  "direction": {
974
917
  "type": "String",
@@ -993,9 +936,7 @@
993
936
  "desc": "When using the 'clearable' property, this event is emitted when the clear icon is clicked",
994
937
  "params": {
995
938
  "value": {
996
- "type": [
997
- "Any"
998
- ],
939
+ "type": "Any",
999
940
  "desc": "The previous value before clearing it"
1000
941
  }
1001
942
  }
@@ -1029,10 +970,7 @@
1029
970
  "index": {
1030
971
  "type": "Number",
1031
972
  "required": true,
1032
- "desc": "Model index at which removal took place",
1033
- "examples": [
1034
- 2
1035
- ]
973
+ "desc": "Model index at which removal took place"
1036
974
  },
1037
975
  "value": {
1038
976
  "type": "Any",
@@ -1053,10 +991,7 @@
1053
991
  "index": {
1054
992
  "type": "Number",
1055
993
  "required": true,
1056
- "desc": "Model index at which addition took place",
1057
- "examples": [
1058
- 2
1059
- ]
994
+ "desc": "Model index at which addition took place"
1060
995
  },
1061
996
  "value": {
1062
997
  "type": "Any",
@@ -1180,11 +1115,7 @@
1180
1115
  "Number"
1181
1116
  ],
1182
1117
  "desc": "The index of the list item (0 based)",
1183
- "required": true,
1184
- "examples": [
1185
- "1",
1186
- 23
1187
- ]
1118
+ "required": true
1188
1119
  },
1189
1120
  "edge": {
1190
1121
  "type": "String",
@@ -1211,12 +1142,7 @@
1211
1142
  "String",
1212
1143
  "Number"
1213
1144
  ],
1214
- "desc": "The index of the list item to scroll to after refresh (0 based); If it's not specified the scroll position is not changed; Use a negative value to keep scroll position",
1215
- "examples": [
1216
- "1",
1217
- 23,
1218
- -1
1219
- ]
1145
+ "desc": "The index of the list item to scroll to after refresh (0 based); If it's not specified the scroll position is not changed; Use a negative value to keep scroll position"
1220
1146
  }
1221
1147
  }
1222
1148
  },
@@ -1261,10 +1187,7 @@
1261
1187
  "index": {
1262
1188
  "type": "Number",
1263
1189
  "required": true,
1264
- "desc": "Index at which to remove selection",
1265
- "examples": [
1266
- 0
1267
- ]
1190
+ "desc": "Index at which to remove selection"
1268
1191
  }
1269
1192
  }
1270
1193
  },
@@ -1300,12 +1223,7 @@
1300
1223
  "desc": "Gets current focused option index from menu; It's -1 if no option is focused",
1301
1224
  "returns": {
1302
1225
  "type": "Number",
1303
- "desc": "Index of option from menu; It's -1 if no option is focused",
1304
- "examples": [
1305
- -1,
1306
- 0,
1307
- 10
1308
- ]
1226
+ "desc": "Index of option from menu; It's -1 if no option is focused"
1309
1227
  },
1310
1228
  "addedIn": "v2.5.4"
1311
1229
  },
@@ -1315,10 +1233,7 @@
1315
1233
  "index": {
1316
1234
  "type": "Number",
1317
1235
  "required": true,
1318
- "desc": "Index of option from menu; -1 to focus none",
1319
- "examples": [
1320
- 10
1321
- ]
1236
+ "desc": "Index of option from menu; -1 to focus none"
1322
1237
  }
1323
1238
  }
1324
1239
  },
@@ -1329,11 +1244,6 @@
1329
1244
  "type": "Number",
1330
1245
  "desc": "Number of options to move up or down",
1331
1246
  "default": 1,
1332
- "examples": [
1333
- -1,
1334
- 1,
1335
- 5
1336
- ],
1337
1247
  "required": false
1338
1248
  },
1339
1249
  "skipInputValue": {
@@ -157,12 +157,7 @@
157
157
  "ratio": {
158
158
  "type": "Number",
159
159
  "required": true,
160
- "desc": "Ratio of how much of the required slide was performed (0..1)",
161
- "examples": [
162
- 0,
163
- 0.5,
164
- 1
165
- ]
160
+ "desc": "Ratio of how much of the required slide was performed (0 <= x <= 1)"
166
161
  },
167
162
  "isReset": {
168
163
  "type": "Boolean",
@@ -13,10 +13,6 @@
13
13
  "type": "Number",
14
14
  "desc": "Duration (in milliseconds) enabling animated scroll.",
15
15
  "default": 300,
16
- "examples": [
17
- 500,
18
- ":duration=\"500\""
19
- ],
20
16
  "category": "behavior",
21
17
  "required": false
22
18
  }
@@ -26,27 +26,18 @@
26
26
  "type": "Number",
27
27
  "desc": "Maximum value of the model; Set track's maximum value",
28
28
  "default": 100,
29
- "examples": [
30
- ":max=\"100\""
31
- ],
32
29
  "category": "model",
33
30
  "required": false
34
31
  },
35
32
  "inner-min": {
36
33
  "type": "Number",
37
34
  "desc": "Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop",
38
- "examples": [
39
- ":inner-min=\"0\""
40
- ],
41
35
  "category": "model",
42
36
  "addedIn": "v2.4"
43
37
  },
44
38
  "inner-max": {
45
39
  "type": "Number",
46
40
  "desc": "Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop",
47
- "examples": [
48
- ":inner-max=\"100\""
49
- ],
50
41
  "category": "model",
51
42
  "addedIn": "v2.4"
52
43
  },
@@ -54,9 +45,6 @@
54
45
  "type": "Number",
55
46
  "desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
56
47
  "default": 1,
57
- "examples": [
58
- ":step=\"1\""
59
- ],
60
48
  "category": "model",
61
49
  "required": false
62
50
  },
@@ -237,10 +225,7 @@
237
225
  "value": {
238
226
  "type": "Number",
239
227
  "desc": "The marker value to transform",
240
- "required": true,
241
- "examples": [
242
- "5"
243
- ]
228
+ "required": true
244
229
  }
245
230
  },
246
231
  "returns": {
@@ -532,10 +517,7 @@
532
517
  "value": {
533
518
  "type": "Number",
534
519
  "desc": "The marker label equivalent model value",
535
- "required": true,
536
- "examples": [
537
- "5"
538
- ]
520
+ "required": true
539
521
  }
540
522
  },
541
523
  "returns": {
@@ -634,10 +616,7 @@
634
616
  "value": {
635
617
  "type": "Number",
636
618
  "desc": "The marker label equivalent model value",
637
- "required": true,
638
- "examples": [
639
- "5"
640
- ]
619
+ "required": true
641
620
  }
642
621
  },
643
622
  "returns": {