quasar 2.14.4 → 2.14.6

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 (361) hide show
  1. package/dist/api/AddressbarColor.json +1 -22
  2. package/dist/api/AppFullscreen.json +1 -78
  3. package/dist/api/AppVisibility.json +1 -15
  4. package/dist/api/BottomSheet.json +1 -264
  5. package/dist/api/Brand.json +1 -49
  6. package/dist/api/ClosePopup.json +1 -21
  7. package/dist/api/Cookies.json +1 -190
  8. package/dist/api/Dark.json +1 -63
  9. package/dist/api/Dialog.json +1 -479
  10. package/dist/api/Intersection.json +1 -204
  11. package/dist/api/Lang.json +1 -18
  12. package/dist/api/Loading.json +1 -317
  13. package/dist/api/LoadingBar.json +1 -62
  14. package/dist/api/LocalStorage.json +1 -187
  15. package/dist/api/Meta.json +1 -6
  16. package/dist/api/Morph.json +1 -188
  17. package/dist/api/Mutation.json +1 -122
  18. package/dist/api/Notify.json +1 -697
  19. package/dist/api/Platform.json +1 -238
  20. package/dist/api/QAjaxBar.json +1 -117
  21. package/dist/api/QAvatar.json +1 -76
  22. package/dist/api/QBadge.json +1 -82
  23. package/dist/api/QBanner.json +1 -44
  24. package/dist/api/QBar.json +1 -28
  25. package/dist/api/QBreadcrumbs.json +1 -82
  26. package/dist/api/QBreadcrumbsEl.json +1 -162
  27. package/dist/api/QBtn.json +1 -354
  28. package/dist/api/QBtnDropdown.json +1 -560
  29. package/dist/api/QBtnGroup.json +1 -59
  30. package/dist/api/QBtnToggle.json +1 -263
  31. package/dist/api/QCard.json +1 -51
  32. package/dist/api/QCardActions.json +1 -34
  33. package/dist/api/QCardSection.json +1 -31
  34. package/dist/api/QCarousel.json +1 -421
  35. package/dist/api/QCarouselControl.json +1 -41
  36. package/dist/api/QCarouselSlide.json +1 -44
  37. package/dist/api/QChatMessage.json +1 -128
  38. package/dist/api/QCheckbox.json +1 -211
  39. package/dist/api/QChip.json +1 -232
  40. package/dist/api/QCircularProgress.json +1 -145
  41. package/dist/api/QColor.json +1 -150
  42. package/dist/api/QDate.json +1 -637
  43. package/dist/api/QDialog.json +1 -259
  44. package/dist/api/QDrawer.json +1 -272
  45. package/dist/api/QEditor.json +1 -485
  46. package/dist/api/QExpansionItem.json +1 -434
  47. package/dist/api/QFab.json +1 -352
  48. package/dist/api/QFabAction.json +1 -241
  49. package/dist/api/QField.json +1 -448
  50. package/dist/api/QFile.json +1 -643
  51. package/dist/api/QFooter.json +1 -60
  52. package/dist/api/QForm.json +1 -112
  53. package/dist/api/QFormChildMixin.json +1 -24
  54. package/dist/api/QHeader.json +1 -67
  55. package/dist/api/QIcon.json +1 -69
  56. package/dist/api/QImg.json +1 -279
  57. package/dist/api/QInfiniteScroll.json +1 -116
  58. package/dist/api/QInnerLoading.json +1 -117
  59. package/dist/api/QInput.json +1 -521
  60. package/dist/api/QIntersection.json +1 -112
  61. package/dist/api/QItem.json +1 -203
  62. package/dist/api/QItemLabel.json +1 -36
  63. package/dist/api/QItemSection.json +1 -38
  64. package/dist/api/QKnob.json +1 -197
  65. package/dist/api/QLayout.json +1 -100
  66. package/dist/api/QLinearProgress.json +1 -113
  67. package/dist/api/QList.json +1 -58
  68. package/dist/api/QMarkupTable.json +1 -64
  69. package/dist/api/QMenu.json +1 -337
  70. package/dist/api/QNoSsr.json +1 -38
  71. package/dist/api/QOptionGroup.json +1 -242
  72. package/dist/api/QPage.json +1 -42
  73. package/dist/api/QPageContainer.json +1 -11
  74. package/dist/api/QPageScroller.json +1 -68
  75. package/dist/api/QPageSticky.json +1 -44
  76. package/dist/api/QPagination.json +1 -376
  77. package/dist/api/QParallax.json +1 -74
  78. package/dist/api/QPopupEdit.json +1 -335
  79. package/dist/api/QPopupProxy.json +1 -168
  80. package/dist/api/QPullToRefresh.json +1 -91
  81. package/dist/api/QRadio.json +1 -163
  82. package/dist/api/QRange.json +1 -789
  83. package/dist/api/QRating.json +1 -186
  84. package/dist/api/QResizeObserver.json +1 -56
  85. package/dist/api/QResponsive.json +1 -26
  86. package/dist/api/QRouteTab.json +1 -225
  87. package/dist/api/QScrollArea.json +1 -354
  88. package/dist/api/QScrollObserver.json +1 -140
  89. package/dist/api/QSelect.json +1 -1387
  90. package/dist/api/QSeparator.json +1 -72
  91. package/dist/api/QSkeleton.json +1 -127
  92. package/dist/api/QSlideItem.json +1 -219
  93. package/dist/api/QSlideTransition.json +1 -33
  94. package/dist/api/QSlider.json +1 -687
  95. package/dist/api/QSpace.json +1 -6
  96. package/dist/api/QSpinner.json +1 -37
  97. package/dist/api/QSpinnerAudio.json +1 -30
  98. package/dist/api/QSpinnerBall.json +1 -30
  99. package/dist/api/QSpinnerBars.json +1 -30
  100. package/dist/api/QSpinnerBox.json +1 -30
  101. package/dist/api/QSpinnerClock.json +1 -30
  102. package/dist/api/QSpinnerComment.json +1 -30
  103. package/dist/api/QSpinnerCube.json +1 -30
  104. package/dist/api/QSpinnerDots.json +1 -30
  105. package/dist/api/QSpinnerFacebook.json +1 -30
  106. package/dist/api/QSpinnerGears.json +1 -30
  107. package/dist/api/QSpinnerGrid.json +1 -30
  108. package/dist/api/QSpinnerHearts.json +1 -30
  109. package/dist/api/QSpinnerHourglass.json +1 -30
  110. package/dist/api/QSpinnerInfinity.json +1 -30
  111. package/dist/api/QSpinnerIos.json +1 -30
  112. package/dist/api/QSpinnerOrbit.json +1 -30
  113. package/dist/api/QSpinnerOval.json +1 -30
  114. package/dist/api/QSpinnerPie.json +1 -30
  115. package/dist/api/QSpinnerPuff.json +1 -30
  116. package/dist/api/QSpinnerRadio.json +1 -30
  117. package/dist/api/QSpinnerRings.json +1 -30
  118. package/dist/api/QSpinnerTail.json +1 -30
  119. package/dist/api/QSplitter.json +1 -146
  120. package/dist/api/QStep.json +1 -167
  121. package/dist/api/QStepper.json +1 -340
  122. package/dist/api/QStepperNavigation.json +1 -11
  123. package/dist/api/QTab.json +1 -113
  124. package/dist/api/QTabPanel.json +1 -39
  125. package/dist/api/QTabPanels.json +1 -203
  126. package/dist/api/QTable.json +1 -2799
  127. package/dist/api/QTabs.json +1 -179
  128. package/dist/api/QTd.json +1 -31
  129. package/dist/api/QTh.json +1 -26
  130. package/dist/api/QTime.json +1 -317
  131. package/dist/api/QTimeline.json +1 -57
  132. package/dist/api/QTimelineEntry.json +1 -105
  133. package/dist/api/QToggle.json +1 -230
  134. package/dist/api/QToolbar.json +1 -18
  135. package/dist/api/QToolbarTitle.json +1 -18
  136. package/dist/api/QTooltip.json +1 -282
  137. package/dist/api/QTr.json +1 -26
  138. package/dist/api/QTree.json +1 -599
  139. package/dist/api/QUploader.json +1 -665
  140. package/dist/api/QUploaderAddTrigger.json +1 -6
  141. package/dist/api/QVideo.json +1 -83
  142. package/dist/api/QVirtualScroll.json +1 -260
  143. package/dist/api/Ripple.json +1 -115
  144. package/dist/api/Screen.json +1 -190
  145. package/dist/api/Scroll.json +1 -28
  146. package/dist/api/ScrollFire.json +1 -24
  147. package/dist/api/SessionStorage.json +1 -187
  148. package/dist/api/TouchHold.json +1 -81
  149. package/dist/api/TouchPan.json +1 -178
  150. package/dist/api/TouchRepeat.json +1 -142
  151. package/dist/api/TouchSwipe.json +1 -113
  152. package/dist/icon-set/bootstrap-icons.umd.prod.js +3 -2
  153. package/dist/icon-set/eva-icons.umd.prod.js +3 -2
  154. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +3 -2
  155. package/dist/icon-set/fontawesome-v5.umd.prod.js +3 -2
  156. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +3 -2
  157. package/dist/icon-set/fontawesome-v6.umd.prod.js +3 -2
  158. package/dist/icon-set/ionicons-v4.umd.prod.js +3 -2
  159. package/dist/icon-set/line-awesome.umd.prod.js +3 -2
  160. package/dist/icon-set/material-icons-outlined.umd.prod.js +3 -2
  161. package/dist/icon-set/material-icons-round.umd.prod.js +3 -2
  162. package/dist/icon-set/material-icons-sharp.umd.prod.js +3 -2
  163. package/dist/icon-set/material-icons.umd.prod.js +3 -2
  164. package/dist/icon-set/material-symbols-outlined.umd.prod.js +3 -2
  165. package/dist/icon-set/material-symbols-rounded.umd.prod.js +3 -2
  166. package/dist/icon-set/material-symbols-sharp.umd.prod.js +3 -2
  167. package/dist/icon-set/mdi-v3.umd.prod.js +3 -2
  168. package/dist/icon-set/mdi-v4.umd.prod.js +3 -2
  169. package/dist/icon-set/mdi-v5.umd.prod.js +3 -2
  170. package/dist/icon-set/mdi-v6.umd.prod.js +3 -2
  171. package/dist/icon-set/mdi-v7.umd.prod.js +3 -2
  172. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +3 -2
  173. package/dist/icon-set/svg-eva-icons.umd.prod.js +3 -2
  174. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +3 -2
  175. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +3 -2
  176. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +3 -2
  177. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +3 -2
  178. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +3 -2
  179. package/dist/icon-set/svg-line-awesome.umd.prod.js +3 -2
  180. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +3 -2
  181. package/dist/icon-set/svg-material-icons-round.umd.prod.js +3 -2
  182. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +3 -2
  183. package/dist/icon-set/svg-material-icons.umd.prod.js +3 -2
  184. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +3 -2
  185. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +3 -2
  186. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +3 -2
  187. package/dist/icon-set/svg-mdi-v6.umd.prod.js +3 -2
  188. package/dist/icon-set/svg-mdi-v7.umd.prod.js +3 -2
  189. package/dist/icon-set/svg-themify.umd.prod.js +3 -2
  190. package/dist/icon-set/themify.umd.prod.js +3 -2
  191. package/dist/lang/ar-TN.umd.prod.js +3 -2
  192. package/dist/lang/ar.umd.prod.js +3 -2
  193. package/dist/lang/az-Latn.umd.prod.js +3 -2
  194. package/dist/lang/bg.umd.prod.js +3 -2
  195. package/dist/lang/bn.umd.prod.js +3 -2
  196. package/dist/lang/ca.umd.prod.js +3 -2
  197. package/dist/lang/cs.umd.prod.js +3 -2
  198. package/dist/lang/da.umd.prod.js +3 -2
  199. package/dist/lang/de-CH.umd.prod.js +3 -2
  200. package/dist/lang/de-DE.umd.prod.js +3 -2
  201. package/dist/lang/de.umd.prod.js +3 -2
  202. package/dist/lang/el.umd.prod.js +3 -2
  203. package/dist/lang/en-GB.umd.prod.js +3 -2
  204. package/dist/lang/en-US.umd.prod.js +3 -2
  205. package/dist/lang/eo.umd.prod.js +3 -2
  206. package/dist/lang/es.umd.prod.js +3 -2
  207. package/dist/lang/et.umd.prod.js +3 -2
  208. package/dist/lang/eu.umd.prod.js +3 -2
  209. package/dist/lang/fa-IR.umd.prod.js +3 -2
  210. package/dist/lang/fa.umd.prod.js +3 -2
  211. package/dist/lang/fi.umd.prod.js +3 -2
  212. package/dist/lang/fr.umd.prod.js +3 -2
  213. package/dist/lang/gn.umd.prod.js +3 -2
  214. package/dist/lang/he.umd.prod.js +3 -2
  215. package/dist/lang/hi.umd.prod.js +3 -2
  216. package/dist/lang/hr.umd.prod.js +3 -2
  217. package/dist/lang/hu.umd.prod.js +3 -2
  218. package/dist/lang/id.umd.prod.js +3 -2
  219. package/dist/lang/is.umd.prod.js +3 -2
  220. package/dist/lang/it.umd.prod.js +3 -2
  221. package/dist/lang/ja.umd.prod.js +3 -2
  222. package/dist/lang/kk.umd.prod.js +3 -2
  223. package/dist/lang/km.umd.prod.js +3 -2
  224. package/dist/lang/ko-KR.umd.prod.js +3 -2
  225. package/dist/lang/kur-CKB.umd.prod.js +3 -2
  226. package/dist/lang/lt.umd.prod.js +3 -2
  227. package/dist/lang/lu.umd.prod.js +3 -2
  228. package/dist/lang/lv.umd.prod.js +3 -2
  229. package/dist/lang/mk.umd.prod.js +3 -2
  230. package/dist/lang/ml.umd.prod.js +3 -2
  231. package/dist/lang/mm.umd.prod.js +3 -2
  232. package/dist/lang/ms.umd.prod.js +3 -2
  233. package/dist/lang/my.umd.prod.js +3 -2
  234. package/dist/lang/nb-NO.umd.prod.js +3 -2
  235. package/dist/lang/nl.umd.prod.js +3 -2
  236. package/dist/lang/pl.umd.prod.js +3 -2
  237. package/dist/lang/pt-BR.umd.prod.js +3 -2
  238. package/dist/lang/pt.umd.prod.js +3 -2
  239. package/dist/lang/ro.umd.prod.js +3 -2
  240. package/dist/lang/ru.umd.prod.js +3 -2
  241. package/dist/lang/sk.umd.prod.js +3 -2
  242. package/dist/lang/sl.umd.prod.js +3 -2
  243. package/dist/lang/sm.umd.prod.js +3 -2
  244. package/dist/lang/sr-CYR.umd.prod.js +3 -2
  245. package/dist/lang/sr.umd.prod.js +3 -2
  246. package/dist/lang/sv.umd.prod.js +3 -2
  247. package/dist/lang/ta.umd.prod.js +3 -2
  248. package/dist/lang/th.umd.prod.js +3 -2
  249. package/dist/lang/tl.umd.prod.js +7 -0
  250. package/dist/lang/tr.umd.prod.js +3 -2
  251. package/dist/lang/ug.umd.prod.js +3 -2
  252. package/dist/lang/uk.umd.prod.js +3 -2
  253. package/dist/lang/uz-Cyrl.umd.prod.js +3 -2
  254. package/dist/lang/uz-Latn.umd.prod.js +3 -2
  255. package/dist/lang/vi.umd.prod.js +3 -2
  256. package/dist/lang/zh-CN.umd.prod.js +3 -2
  257. package/dist/lang/zh-TW.umd.prod.js +3 -2
  258. package/dist/quasar.cjs.prod.js +123 -2
  259. package/dist/quasar.css +25 -30
  260. package/dist/quasar.esm.js +16930 -26278
  261. package/dist/quasar.esm.prod.js +123 -2
  262. package/dist/quasar.prod.css +1 -1
  263. package/dist/quasar.rtl.css +31 -50
  264. package/dist/quasar.rtl.prod.css +1 -1
  265. package/dist/quasar.sass +18 -25
  266. package/dist/quasar.umd.js +16733 -26521
  267. package/dist/quasar.umd.prod.js +123 -2
  268. package/dist/transforms/api-list.json +1 -153
  269. package/dist/transforms/auto-import.json +1 -267
  270. package/dist/transforms/import-map.json +1 -181
  271. package/dist/transforms/loader-asset-urls.json +1 -60
  272. package/dist/types/api/dialog.d.ts +1 -1
  273. package/dist/types/api/qinput.d.ts +1 -1
  274. package/dist/types/api/qtable.d.ts +1 -1
  275. package/dist/types/api/qtree.d.ts +1 -1
  276. package/dist/types/api/quploader.d.ts +1 -1
  277. package/dist/types/api/validation.d.ts +1 -1
  278. package/dist/types/api/web-storage.d.ts +6 -6
  279. package/dist/types/feature-flag.d.ts +1 -1
  280. package/dist/types/globals.d.ts +22 -15
  281. package/dist/types/index.d.ts +45 -36
  282. package/dist/types/lang.d.ts +3 -3
  283. package/dist/types/plugin.d.ts +3 -1
  284. package/dist/types/ts-helpers.d.ts +3 -3
  285. package/dist/types/utils/colors.d.ts +1 -1
  286. package/dist/types/utils/date.d.ts +10 -10
  287. package/dist/types/utils/dom.d.ts +1 -1
  288. package/dist/types/utils/run-sequential-promises.d.ts +12 -12
  289. package/dist/types/utils/scroll.d.ts +5 -5
  290. package/dist/types/utils.d.ts +15 -13
  291. package/dist/vetur/quasar-attributes.json +1 -5890
  292. package/dist/vetur/quasar-tags.json +1 -2084
  293. package/dist/web-types/web-types.json +1 -19595
  294. package/lang/index.json +1 -266
  295. package/lang/tl.js +98 -0
  296. package/lang/tl.mjs +93 -0
  297. package/package.json +18 -22
  298. package/src/body.js +6 -14
  299. package/src/components/ajax-bar/QAjaxBar.js +1 -1
  300. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  301. package/src/components/btn/QBtn.js +6 -6
  302. package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
  303. package/src/components/card/QCard.sass +17 -24
  304. package/src/components/checkbox/use-checkbox.js +1 -1
  305. package/src/components/chip/QChip.js +1 -1
  306. package/src/components/color/QColor.js +4 -4
  307. package/src/components/date/QDate.js +1 -1
  308. package/src/components/dialog/__tests__/DialogWrapper.vue +33 -0
  309. package/src/components/dialog/__tests__/QDialog.cy.js +450 -36
  310. package/src/components/drawer/QDrawer.js +1 -1
  311. package/src/components/drawer/QDrawer.json +1 -1
  312. package/src/components/file/QFile.js +2 -2
  313. package/src/components/footer/QFooter.js +2 -2
  314. package/src/components/form/QForm.js +3 -3
  315. package/src/components/header/QHeader.js +1 -1
  316. package/src/components/img/QImg.js +47 -39
  317. package/src/components/img/QImg.json +9 -0
  318. package/src/components/inner-loading/QInnerLoading.js +1 -1
  319. package/src/components/inner-loading/QInnerLoading.sass +1 -0
  320. package/src/components/input/use-mask.js +3 -3
  321. package/src/components/menu/QMenu.json +1 -1
  322. package/src/components/no-ssr/QNoSsr.js +4 -4
  323. package/src/components/page-sticky/use-page-sticky.js +4 -4
  324. package/src/components/popup-edit/QPopupEdit.js +1 -1
  325. package/src/components/resize-observer/QResizeObserver.js +1 -0
  326. package/src/components/scroll-area/QScrollArea.js +1 -1
  327. package/src/components/select/QSelect.js +9 -9
  328. package/src/components/table/QTd.js +1 -1
  329. package/src/components/table/QTh.js +1 -1
  330. package/src/components/tabs/QTabs.js +3 -3
  331. package/src/components/time/QTime.js +3 -3
  332. package/src/components/tooltip/QTooltip.js +4 -2
  333. package/src/components/tooltip/QTooltip.json +6 -0
  334. package/src/components/tree/QTree.js +1 -1
  335. package/src/components/uploader/uploader-core.js +2 -2
  336. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  337. package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
  338. package/src/composables/private/__tests__/use-model-toggle.cy.js +43 -3
  339. package/src/composables/private/use-anchor.js +1 -1
  340. package/src/composables/private/use-key-composition.js +1 -1
  341. package/src/composables/private/use-panel.js +1 -1
  342. package/src/composables/private/use-portal.js +1 -1
  343. package/src/composables/private/use-router-link.js +1 -1
  344. package/src/directives/TouchPan.js +1 -1
  345. package/src/history.js +1 -1
  346. package/src/index.umd.js +5 -1
  347. package/src/lang.js +1 -1
  348. package/src/plugins/BottomSheet.json +1 -1
  349. package/src/plugins/Cookies.js +1 -1
  350. package/src/plugins/Dark.js +1 -1
  351. package/src/plugins/Loading.js +1 -1
  352. package/src/plugins/LoadingBar.js +1 -1
  353. package/src/plugins/Notify.js +4 -4
  354. package/src/plugins/Platform.js +111 -93
  355. package/src/plugins/Screen.js +1 -1
  356. package/src/utils/event.js +1 -1
  357. package/src/utils/frame-debounce.js +1 -1
  358. package/src/utils/morph.js +1 -1
  359. package/src/utils/private/click-outside.js +1 -1
  360. package/src/utils/private/escape-key.js +1 -1
  361. package/src/utils/private/focusout.js +1 -1
@@ -1,186 +1 @@
1
- {
2
- "type": "component",
3
- "meta": {
4
- "docsUrl": "https://v2.quasar.dev/vue-components/rating"
5
- },
6
- "props": {
7
- "name": {
8
- "type": "String",
9
- "desc": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL",
10
- "examples": [
11
- "car_id"
12
- ],
13
- "category": "behavior"
14
- },
15
- "size": {
16
- "type": "String",
17
- "desc": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)",
18
- "examples": [
19
- "16px",
20
- "2rem",
21
- "xs",
22
- "md"
23
- ],
24
- "category": "style"
25
- },
26
- "model-value": {
27
- "desc": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive",
28
- "required": true,
29
- "syncable": true,
30
- "category": "model",
31
- "type": "Number",
32
- "examples": [
33
- "v-model=\"rating\"",
34
- ":model-value=\"rating\"",
35
- ":model-value=\"2\""
36
- ]
37
- },
38
- "max": {
39
- "type": [
40
- "Number",
41
- "String"
42
- ],
43
- "desc": "Number of icons to display",
44
- "default": 5,
45
- "category": "general",
46
- "required": false
47
- },
48
- "icon": {
49
- "type": [
50
- "String",
51
- "Array"
52
- ],
53
- "desc": "Icon name following Quasar convention; make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)",
54
- "examples": [
55
- "map",
56
- "ion-add",
57
- "img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
58
- "img:path/to/some_image.png"
59
- ],
60
- "category": "content"
61
- },
62
- "icon-selected": {
63
- "type": [
64
- "String",
65
- "Array"
66
- ],
67
- "desc": "Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)",
68
- "examples": [
69
- "map",
70
- "ion-add",
71
- "img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
72
- "img:path/to/some_image.png"
73
- ],
74
- "category": "content"
75
- },
76
- "icon-half": {
77
- "type": [
78
- "String",
79
- "Array"
80
- ],
81
- "desc": "Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)",
82
- "examples": [
83
- "map",
84
- "ion-add",
85
- "img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
86
- "img:path/to/some_image.png"
87
- ],
88
- "category": "content"
89
- },
90
- "icon-aria-label": {
91
- "type": [
92
- "String",
93
- "Array"
94
- ],
95
- "desc": "Label to be set on aria-label for Icon; If an array is provided each rating value will use the corresponding aria-label in the array (0 based); If string value is provided the rating value will be appended; If not provided the name of the icon will be used",
96
- "examples": [
97
- "Rating",
98
- "[\"Bad\", \"Normal\", \"Good\"]"
99
- ],
100
- "category": "accessibility",
101
- "addedIn": "v1.20.3"
102
- },
103
- "color": {
104
- "type": [
105
- "String",
106
- "Array"
107
- ],
108
- "tsType": "NamedColor",
109
- "desc": "Color name for component from the Quasar Color Palette; v1.5.0+: If an array is provided each rating value will use the corresponding color in the array (0 based)",
110
- "examples": [
111
- "primary",
112
- "teal",
113
- "teal-10",
114
- "primary",
115
- "teal-10",
116
- "[\"accent\", \"grey-7\"] "
117
- ],
118
- "category": "style"
119
- },
120
- "color-selected": {
121
- "type": [
122
- "String",
123
- "Array"
124
- ],
125
- "tsType": "NamedColor",
126
- "desc": "Color name from the Quasar Palette for selected icons",
127
- "examples": [
128
- "primary",
129
- "teal",
130
- "teal-10"
131
- ],
132
- "category": "style"
133
- },
134
- "color-half": {
135
- "type": [
136
- "String",
137
- "Array"
138
- ],
139
- "tsType": "NamedColor",
140
- "desc": "Color name from the Quasar Palette for half selected icons",
141
- "examples": [
142
- "primary",
143
- "teal",
144
- "teal-10"
145
- ],
146
- "category": "style"
147
- },
148
- "no-dimming": {
149
- "type": "Boolean",
150
- "desc": "Does not lower opacity for unselected icons",
151
- "category": "style"
152
- },
153
- "no-reset": {
154
- "type": "Boolean",
155
- "desc": "When used, disables default behavior of clicking/tapping on icon which represents current model value to reset model to 0",
156
- "category": "model"
157
- },
158
- "readonly": {
159
- "type": "Boolean",
160
- "desc": "Put component in readonly mode",
161
- "category": "state"
162
- },
163
- "disable": {
164
- "type": "Boolean",
165
- "desc": "Put component in disabled mode",
166
- "category": "state"
167
- }
168
- },
169
- "slots": {
170
- "tip-[name]": {
171
- "desc": "Slot to define the tooltip of icon at '[name]' where name is a 1-based index; Suggestion: QTooltip"
172
- }
173
- },
174
- "events": {
175
- "update:model-value": {
176
- "desc": "Emitted when the component needs to change the model; Is also used by v-model",
177
- "params": {
178
- "value": {
179
- "type": "Any",
180
- "desc": "New model value",
181
- "required": true
182
- }
183
- }
184
- }
185
- }
186
- }
1
+ {"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/rating"},"props":{"name":{"type":"String","desc":"Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL","examples":["car_id"],"category":"behavior"},"size":{"type":"String","desc":"Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)","examples":["16px","2rem","xs","md"],"category":"style"},"model-value":{"desc":"Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive","required":true,"syncable":true,"category":"model","type":"Number","examples":["v-model=\"rating\"",":model-value=\"rating\"",":model-value=\"2\""]},"max":{"type":["Number","String"],"desc":"Number of icons to display","default":5,"category":"general","required":false},"icon":{"type":["String","Array"],"desc":"Icon name following Quasar convention; make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"icon-selected":{"type":["String","Array"],"desc":"Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"icon-half":{"type":["String","Array"],"desc":"Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"icon-aria-label":{"type":["String","Array"],"desc":"Label to be set on aria-label for Icon; If an array is provided each rating value will use the corresponding aria-label in the array (0 based); If string value is provided the rating value will be appended; If not provided the name of the icon will be used","examples":["Rating","[\"Bad\", \"Normal\", \"Good\"]"],"category":"accessibility","addedIn":"v1.20.3"},"color":{"type":["String","Array"],"tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette; v1.5.0+: If an array is provided each rating value will use the corresponding color in the array (0 based)","examples":["primary","teal","teal-10","primary","teal-10","[\"accent\", \"grey-7\"] "],"category":"style"},"color-selected":{"type":["String","Array"],"tsType":"NamedColor","desc":"Color name from the Quasar Palette for selected icons","examples":["primary","teal","teal-10"],"category":"style"},"color-half":{"type":["String","Array"],"tsType":"NamedColor","desc":"Color name from the Quasar Palette for half selected icons","examples":["primary","teal","teal-10"],"category":"style"},"no-dimming":{"type":"Boolean","desc":"Does not lower opacity for unselected icons","category":"style"},"no-reset":{"type":"Boolean","desc":"When used, disables default behavior of clicking/tapping on icon which represents current model value to reset model to 0","category":"model"},"readonly":{"type":"Boolean","desc":"Put component in readonly mode","category":"state"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"}},"slots":{"tip-[name]":{"desc":"Slot to define the tooltip of icon at '[name]' where name is a 1-based index; Suggestion: QTooltip"}},"events":{"update:model-value":{"desc":"Emitted when the component needs to change the model; Is also used by v-model","params":{"value":{"type":"Any","desc":"New model value","required":true}}}}}
@@ -1,56 +1 @@
1
- {
2
- "type": "component",
3
- "meta": {
4
- "docsUrl": "https://v2.quasar.dev/vue-components/resize-observer"
5
- },
6
- "props": {
7
- "debounce": {
8
- "type": [
9
- "String",
10
- "Number"
11
- ],
12
- "desc": "Debounce amount (in milliseconds)",
13
- "default": 100,
14
- "examples": [
15
- "0",
16
- "530"
17
- ],
18
- "category": "behavior",
19
- "required": false
20
- }
21
- },
22
- "events": {
23
- "resize": {
24
- "desc": "Parent element has resized (width or height changed)",
25
- "params": {
26
- "size": {
27
- "type": "Object",
28
- "desc": "New size",
29
- "definition": {
30
- "height": {
31
- "type": "Number",
32
- "required": true,
33
- "desc": "Layout height"
34
- },
35
- "width": {
36
- "type": "Number",
37
- "required": true,
38
- "desc": "Layout width"
39
- }
40
- }
41
- }
42
- }
43
- }
44
- },
45
- "methods": {
46
- "trigger": {
47
- "desc": "Emit a 'resize' event",
48
- "params": {
49
- "immediately": {
50
- "type": "Boolean",
51
- "desc": "Skip over the debounce amount"
52
- }
53
- }
54
- }
55
- }
56
- }
1
+ {"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/resize-observer"},"props":{"debounce":{"type":["String","Number"],"desc":"Debounce amount (in milliseconds)","default":100,"examples":["0","530"],"category":"behavior","required":false}},"events":{"resize":{"desc":"Parent element has resized (width or height changed)","params":{"size":{"type":"Object","desc":"New size","definition":{"height":{"type":"Number","required":true,"desc":"Layout height"},"width":{"type":"Number","required":true,"desc":"Layout width"}}}}}},"methods":{"trigger":{"desc":"Emit a 'resize' event","params":{"immediately":{"type":"Boolean","desc":"Skip over the debounce amount"}}}}}
@@ -1,26 +1 @@
1
- {
2
- "type": "component",
3
- "meta": {
4
- "docsUrl": "https://v2.quasar.dev/vue-components/responsive"
5
- },
6
- "props": {
7
- "ratio": {
8
- "type": [
9
- "String",
10
- "Number"
11
- ],
12
- "desc": "Aspect ratio for the content; If value is a String, then avoid using a computational statement (like '16/9') and instead specify the String value of the result directly (eg. '1.7777')",
13
- "examples": [
14
- ":ratio=\"4/3\"",
15
- ":ratio=\"16/9\"",
16
- "ratio=\"1\""
17
- ],
18
- "category": "style"
19
- }
20
- },
21
- "slots": {
22
- "default": {
23
- "desc": "Default slot in the devland unslotted content of the component"
24
- }
25
- }
26
- }
1
+ {"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/responsive"},"props":{"ratio":{"type":["String","Number"],"desc":"Aspect ratio for the content; If value is a String, then avoid using a computational statement (like '16/9') and instead specify the String value of the result directly (eg. '1.7777')","examples":[":ratio=\"4/3\"",":ratio=\"16/9\"","ratio=\"1\""],"category":"style"}},"slots":{"default":{"desc":"Default slot in the devland unslotted content of the component"}}}
@@ -1,225 +1 @@
1
- {
2
- "type": "component",
3
- "meta": {
4
- "docsUrl": "https://v2.quasar.dev/vue-components/tabs"
5
- },
6
- "props": {
7
- "to": {
8
- "type": [
9
- "String",
10
- "Object"
11
- ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used",
13
- "examples": [
14
- "/home/dashboard",
15
- ":to=\"{ name: 'my-route-name' }\""
16
- ],
17
- "category": "navigation"
18
- },
19
- "exact": {
20
- "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseded by 'href' prop if used",
22
- "category": "navigation"
23
- },
24
- "replace": {
25
- "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
27
- "category": "navigation"
28
- },
29
- "active-class": {
30
- "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
32
- "examples": [
33
- "my-active-class"
34
- ],
35
- "category": "navigation"
36
- },
37
- "exact-active-class": {
38
- "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
40
- "examples": [
41
- "my-exact-active-class"
42
- ],
43
- "category": "navigation"
44
- },
45
- "href": {
46
- "type": "String",
47
- "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
- "examples": [
49
- "https://quasar.dev"
50
- ],
51
- "category": "navigation",
52
- "addedIn": "v2.4"
53
- },
54
- "target": {
55
- "type": "String",
56
- "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
57
- "examples": [
58
- "_blank",
59
- "_self",
60
- "_parent",
61
- "_top"
62
- ],
63
- "category": "navigation",
64
- "addedIn": "v2.4"
65
- },
66
- "disable": {
67
- "type": "Boolean",
68
- "desc": "Put component in disabled mode",
69
- "category": "state"
70
- },
71
- "icon": {
72
- "type": "String",
73
- "desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)",
74
- "examples": [
75
- "map",
76
- "ion-add",
77
- "img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
78
- "img:path/to/some_image.png"
79
- ],
80
- "category": "content"
81
- },
82
- "label": {
83
- "type": [
84
- "Number",
85
- "String"
86
- ],
87
- "desc": "A number or string to label the tab",
88
- "examples": [
89
- "Home"
90
- ],
91
- "category": "content"
92
- },
93
- "alert": {
94
- "type": [
95
- "Boolean",
96
- "String"
97
- ],
98
- "desc": "Adds an alert symbol to the tab, notifying the user there are some updates; If its value is not a Boolean, then you can specify a color",
99
- "examples": [
100
- "alert",
101
- "alert=\"purple\""
102
- ],
103
- "category": "content"
104
- },
105
- "alert-icon": {
106
- "type": "String",
107
- "desc": "Adds a floating icon to the tab, notifying the user there are some updates; It's displayed only if 'alert' is set; Can use the color specified by 'alert' prop",
108
- "examples": [
109
- "alert-icon=\"alarm_on\""
110
- ],
111
- "category": "content"
112
- },
113
- "name": {
114
- "type": [
115
- "Number",
116
- "String"
117
- ],
118
- "desc": "Panel name",
119
- "default": "A random UID",
120
- "examples": [
121
- "home",
122
- ":name=\"1\""
123
- ],
124
- "category": "general",
125
- "required": false
126
- },
127
- "no-caps": {
128
- "type": "Boolean",
129
- "desc": "Turns off capitalizing all letters within the tab (which is the default)",
130
- "category": "content"
131
- },
132
- "content-class": {
133
- "type": "String",
134
- "desc": "Class definitions to be attributed to the content wrapper",
135
- "examples": [
136
- "my-special-class"
137
- ],
138
- "category": "style"
139
- },
140
- "ripple": {
141
- "type": [
142
- "Boolean",
143
- "Object"
144
- ],
145
- "desc": "Configure material ripple (disable it by setting it to 'false' or supply a config object)",
146
- "default": true,
147
- "examples": [
148
- false,
149
- "{ early: true, center: true, color: 'teal', keyCodes: [] }"
150
- ],
151
- "category": "style",
152
- "required": false
153
- },
154
- "tabindex": {
155
- "type": [
156
- "Number",
157
- "String"
158
- ],
159
- "desc": "Tabindex HTML attribute value",
160
- "examples": [
161
- "0",
162
- "100"
163
- ],
164
- "category": "general"
165
- }
166
- },
167
- "slots": {
168
- "default": {
169
- "desc": "Suggestion: QMenu, QTooltip"
170
- }
171
- },
172
- "events": {
173
- "click": {
174
- "desc": "Emitted when the component is clicked",
175
- "params": {
176
- "evt": {
177
- "type": "Event",
178
- "desc": "JS event object; If you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
179
- },
180
- "go": {
181
- "type": "Function",
182
- "desc": "When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
183
- "required": false,
184
- "params": {
185
- "opts": {
186
- "type": "Object",
187
- "desc": "Optional options",
188
- "required": false,
189
- "definition": {
190
- "to": {
191
- "type": [
192
- "String",
193
- "Object"
194
- ],
195
- "desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
196
- "required": false,
197
- "examples": [
198
- "/home/dashboard",
199
- "{ name: 'my-route-name' }"
200
- ]
201
- },
202
- "replace": {
203
- "type": "Boolean",
204
- "desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
205
- "required": false
206
- },
207
- "returnRouterError": {
208
- "type": "Boolean",
209
- "desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
210
- "required": false
211
- }
212
- },
213
- "addedIn": "v2.9"
214
- }
215
- },
216
- "returns": {
217
- "type": "Promise<any>",
218
- "desc": "Returns the router's navigation promise",
219
- "addedIn": "v2.9"
220
- }
221
- }
222
- }
223
- }
224
- }
225
- }
1
+ {"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/tabs"},"props":{"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used","examples":["/home/dashboard",":to=\"{ name: 'my-route-name' }\""],"category":"navigation"},"exact":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'exact' property; Superseded by 'href' prop if used","category":"navigation"},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used","category":"navigation"},"active-class":{"type":"String","desc":"Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used","examples":["my-active-class"],"category":"navigation"},"exact-active-class":{"type":"String","desc":"Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used","examples":["my-exact-active-class"],"category":"navigation"},"href":{"type":"String","desc":"Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props","examples":["https://quasar.dev"],"category":"navigation","addedIn":"v2.4"},"target":{"type":"String","desc":"Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props","examples":["_blank","_self","_parent","_top"],"category":"navigation","addedIn":"v2.4"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"icon":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"label":{"type":["Number","String"],"desc":"A number or string to label the tab","examples":["Home"],"category":"content"},"alert":{"type":["Boolean","String"],"desc":"Adds an alert symbol to the tab, notifying the user there are some updates; If its value is not a Boolean, then you can specify a color","examples":["alert","alert=\"purple\""],"category":"content"},"alert-icon":{"type":"String","desc":"Adds a floating icon to the tab, notifying the user there are some updates; It's displayed only if 'alert' is set; Can use the color specified by 'alert' prop","examples":["alert-icon=\"alarm_on\""],"category":"content"},"name":{"type":["Number","String"],"desc":"Panel name","default":"A random UID","examples":["home",":name=\"1\""],"category":"general","required":false},"no-caps":{"type":"Boolean","desc":"Turns off capitalizing all letters within the tab (which is the default)","category":"content"},"content-class":{"type":"String","desc":"Class definitions to be attributed to the content wrapper","examples":["my-special-class"],"category":"style"},"ripple":{"type":["Boolean","Object"],"desc":"Configure material ripple (disable it by setting it to 'false' or supply a config object)","default":true,"examples":[false,"{ early: true, center: true, color: 'teal', keyCodes: [] }"],"category":"style","required":false},"tabindex":{"type":["Number","String"],"desc":"Tabindex HTML attribute value","examples":["0","100"],"category":"general"}},"slots":{"default":{"desc":"Suggestion: QMenu, QTooltip"}},"events":{"click":{"desc":"Emitted when the component is clicked","params":{"evt":{"type":"Event","desc":"JS event object; If you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"},"go":{"type":"Function","desc":"When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else","required":false,"params":{"opts":{"type":"Object","desc":"Optional options","required":false,"definition":{"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop","required":false,"examples":["/home/dashboard","{ name: 'my-route-name' }"]},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop","required":false},"returnRouterError":{"type":"Boolean","desc":"Return the router error, if any; Otherwise the returned Promise will always fulfill","required":false}},"addedIn":"v2.9"}},"returns":{"type":"Promise<any>","desc":"Returns the router's navigation promise","addedIn":"v2.9"}}}}}}