quasar 2.14.5 → 2.14.7

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 (368) 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-MY.umd.prod.js +7 -0
  233. package/dist/lang/ms.umd.prod.js +3 -2
  234. package/dist/lang/my.umd.prod.js +3 -2
  235. package/dist/lang/nb-NO.umd.prod.js +3 -2
  236. package/dist/lang/nl.umd.prod.js +3 -2
  237. package/dist/lang/pl.umd.prod.js +3 -2
  238. package/dist/lang/pt-BR.umd.prod.js +3 -2
  239. package/dist/lang/pt.umd.prod.js +3 -2
  240. package/dist/lang/ro.umd.prod.js +3 -2
  241. package/dist/lang/ru.umd.prod.js +3 -2
  242. package/dist/lang/sk.umd.prod.js +3 -2
  243. package/dist/lang/sl.umd.prod.js +3 -2
  244. package/dist/lang/sm.umd.prod.js +3 -2
  245. package/dist/lang/sr-CYR.umd.prod.js +3 -2
  246. package/dist/lang/sr.umd.prod.js +3 -2
  247. package/dist/lang/sv.umd.prod.js +3 -2
  248. package/dist/lang/ta.umd.prod.js +3 -2
  249. package/dist/lang/th.umd.prod.js +3 -2
  250. package/dist/lang/tl.umd.prod.js +7 -0
  251. package/dist/lang/tr.umd.prod.js +3 -2
  252. package/dist/lang/ug.umd.prod.js +3 -2
  253. package/dist/lang/uk.umd.prod.js +3 -2
  254. package/dist/lang/uz-Cyrl.umd.prod.js +3 -2
  255. package/dist/lang/uz-Latn.umd.prod.js +3 -2
  256. package/dist/lang/vi.umd.prod.js +3 -2
  257. package/dist/lang/zh-CN.umd.prod.js +3 -2
  258. package/dist/lang/zh-TW.umd.prod.js +3 -2
  259. package/dist/quasar.addon.prod.css +1 -1
  260. package/dist/quasar.addon.rtl.prod.css +1 -1
  261. package/dist/quasar.cjs.prod.js +123 -2
  262. package/dist/quasar.css +5 -2
  263. package/dist/quasar.esm.js +16928 -26277
  264. package/dist/quasar.esm.prod.js +123 -2
  265. package/dist/quasar.prod.css +1 -1
  266. package/dist/quasar.rtl.css +5 -2
  267. package/dist/quasar.rtl.prod.css +1 -1
  268. package/dist/quasar.sass +9 -7
  269. package/dist/quasar.umd.js +16732 -26521
  270. package/dist/quasar.umd.prod.js +123 -2
  271. package/dist/transforms/api-list.json +1 -153
  272. package/dist/transforms/auto-import.json +1 -267
  273. package/dist/transforms/import-map.json +1 -181
  274. package/dist/transforms/loader-asset-urls.json +1 -60
  275. package/dist/types/api/dialog.d.ts +1 -1
  276. package/dist/types/api/qinput.d.ts +1 -1
  277. package/dist/types/api/qtable.d.ts +1 -1
  278. package/dist/types/api/qtree.d.ts +1 -1
  279. package/dist/types/api/quploader.d.ts +1 -1
  280. package/dist/types/api/validation.d.ts +1 -1
  281. package/dist/types/api/web-storage.d.ts +6 -6
  282. package/dist/types/feature-flag.d.ts +1 -1
  283. package/dist/types/globals.d.ts +22 -15
  284. package/dist/types/index.d.ts +48 -166
  285. package/dist/types/lang.d.ts +3 -3
  286. package/dist/types/plugin.d.ts +3 -1
  287. package/dist/types/ts-helpers.d.ts +3 -3
  288. package/dist/types/utils/colors.d.ts +1 -1
  289. package/dist/types/utils/date.d.ts +10 -10
  290. package/dist/types/utils/dom.d.ts +1 -1
  291. package/dist/types/utils/run-sequential-promises.d.ts +12 -12
  292. package/dist/types/utils/scroll.d.ts +5 -5
  293. package/dist/types/utils.d.ts +15 -13
  294. package/dist/vetur/quasar-attributes.json +1 -5890
  295. package/dist/vetur/quasar-tags.json +1 -2084
  296. package/dist/web-types/web-types.json +1 -19595
  297. package/lang/index.json +1 -266
  298. package/lang/ms-MY.js +101 -0
  299. package/lang/ms-MY.mjs +96 -0
  300. package/lang/tl.js +98 -0
  301. package/lang/tl.mjs +93 -0
  302. package/package.json +17 -21
  303. package/src/body.js +6 -14
  304. package/src/components/ajax-bar/QAjaxBar.js +1 -1
  305. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  306. package/src/components/btn/QBtn.js +6 -6
  307. package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
  308. package/src/components/checkbox/use-checkbox.js +1 -1
  309. package/src/components/chip/QChip.js +1 -1
  310. package/src/components/color/QColor.js +4 -4
  311. package/src/components/color/QColor.sass +1 -1
  312. package/src/components/date/QDate.js +1 -1
  313. package/src/components/dialog/__tests__/DialogWrapper.vue +33 -0
  314. package/src/components/dialog/__tests__/QDialog.cy.js +450 -36
  315. package/src/components/drawer/QDrawer.js +1 -1
  316. package/src/components/drawer/QDrawer.json +1 -1
  317. package/src/components/field/QField.sass +2 -1
  318. package/src/components/file/QFile.js +2 -2
  319. package/src/components/footer/QFooter.js +2 -2
  320. package/src/components/form/QForm.js +3 -3
  321. package/src/components/header/QHeader.js +1 -1
  322. package/src/components/img/QImg.js +47 -39
  323. package/src/components/img/QImg.json +9 -0
  324. package/src/components/input/use-mask.js +3 -3
  325. package/src/components/menu/QMenu.json +1 -1
  326. package/src/components/page-sticky/use-page-sticky.js +4 -4
  327. package/src/components/popup-edit/QPopupEdit.js +1 -1
  328. package/src/components/scroll-area/QScrollArea.js +1 -1
  329. package/src/components/select/QSelect.js +9 -9
  330. package/src/components/table/QTable.sass +2 -2
  331. package/src/components/table/QTd.js +1 -1
  332. package/src/components/table/QTh.js +1 -1
  333. package/src/components/tabs/QTabs.js +3 -3
  334. package/src/components/time/QTime.js +3 -3
  335. package/src/components/tooltip/QTooltip.js +4 -2
  336. package/src/components/tooltip/QTooltip.json +6 -0
  337. package/src/components/tree/QTree.js +1 -1
  338. package/src/components/uploader/uploader-core.js +2 -2
  339. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  340. package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
  341. package/src/composables/private/__tests__/use-model-toggle.cy.js +43 -3
  342. package/src/composables/private/use-anchor.js +1 -1
  343. package/src/composables/private/use-key-composition.js +1 -1
  344. package/src/composables/private/use-panel.js +1 -1
  345. package/src/composables/private/use-portal.js +1 -1
  346. package/src/composables/private/use-router-link.js +1 -1
  347. package/src/css/core/colors.sass +0 -2
  348. package/src/css/core/visibility.sass +2 -1
  349. package/src/css/normalize.sass +1 -1
  350. package/src/directives/Intersection.json +13 -0
  351. package/src/directives/TouchPan.js +1 -1
  352. package/src/history.js +1 -1
  353. package/src/index.umd.js +5 -1
  354. package/src/lang.js +1 -1
  355. package/src/plugins/BottomSheet.json +1 -1
  356. package/src/plugins/Cookies.js +1 -1
  357. package/src/plugins/Dark.js +1 -1
  358. package/src/plugins/Loading.js +1 -1
  359. package/src/plugins/LoadingBar.js +1 -1
  360. package/src/plugins/Notify.js +4 -4
  361. package/src/plugins/Platform.js +111 -93
  362. package/src/plugins/Screen.js +1 -1
  363. package/src/utils/event.js +1 -1
  364. package/src/utils/frame-debounce.js +1 -1
  365. package/src/utils/morph.js +1 -1
  366. package/src/utils/private/click-outside.js +1 -1
  367. package/src/utils/private/escape-key.js +1 -1
  368. package/src/utils/private/focusout.js +1 -1
@@ -121,7 +121,7 @@ export interface BottomSheet {
121
121
  */
122
122
  seamless?: boolean;
123
123
  /**
124
- * User cannot dismiss Bottom Sheet if clicking outside of it or hitting ESC key
124
+ * User cannot dismiss Bottom Sheet if clicking outside of it or hitting ESC key; Also, an app route change won't dismiss it
125
125
  */
126
126
  persistent?: boolean;
127
127
  }) => DialogChainObject;
@@ -177,7 +177,7 @@ export interface Cookies {
177
177
  * Raw string for other cookie options; To be used as a last resort for possible newer props that are currently not yet implemented in Quasar
178
178
  */
179
179
  other?: string;
180
- }
180
+ },
181
181
  ) => void;
182
182
  /**
183
183
  * Check if cookie exists
@@ -201,7 +201,7 @@ export interface Cookies {
201
201
  * Cookie domain
202
202
  */
203
203
  domain?: string;
204
- }
204
+ },
205
205
  ) => void;
206
206
  /**
207
207
  * For SSR usage only, and only on the global import (not on $q.cookies)
@@ -383,7 +383,7 @@ export interface LocalStorage {
383
383
  | any
384
384
  | readonly any[]
385
385
  | string
386
- | null
386
+ | null,
387
387
  ) => void;
388
388
  /**
389
389
  * Remove a storage item
@@ -410,7 +410,7 @@ export interface Notify {
410
410
  * @returns Calling this function with no parameters hides the notification; When called with one Object parameter (the original notification must NOT be grouped), it updates the notification (specified properties are shallow merged with previous ones; note that group and position cannot be changed while updating and so they are ignored)
411
411
  */
412
412
  create: (
413
- opts: QNotifyCreateOptions | string
413
+ opts: QNotifyCreateOptions | string,
414
414
  ) => (props?: QNotifyUpdateOptions) => void;
415
415
  /**
416
416
  * Merge options into the default ones
@@ -770,7 +770,7 @@ export interface SessionStorage {
770
770
  | any
771
771
  | readonly any[]
772
772
  | string
773
- | null
773
+ | null,
774
774
  ) => void;
775
775
  /**
776
776
  * Remove a storage item
@@ -812,135 +812,7 @@ export type IntersectionValue =
812
812
  * @param entry The IntersectionObserverEntry object
813
813
  * @returns If you return Boolean false from the handler, the observer stops
814
814
  */
815
- handler?: (entry?: {
816
- /**
817
- * Object containing the client rect information
818
- */
819
- boundingClientRect?: {
820
- /**
821
- * The bottom of the client rect
822
- */
823
- bottom?: number;
824
- /**
825
- * The height of the client rect
826
- */
827
- height?: number;
828
- /**
829
- * The left of the client rect
830
- */
831
- left?: number;
832
- /**
833
- * The right of the client rect
834
- */
835
- right?: number;
836
- /**
837
- * The top of the client rect
838
- */
839
- top?: number;
840
- /**
841
- * The width of the client rect
842
- */
843
- width?: number;
844
- /**
845
- * The x position of the client rect
846
- */
847
- x?: number;
848
- /**
849
- * The y position of the client rect
850
- */
851
- y?: number;
852
- };
853
- /**
854
- * The ratio of the observed objects visibility
855
- */
856
- intersectionRatio?: number;
857
- /**
858
- * Object containing the client rect information
859
- */
860
- intersectionRect?: {
861
- /**
862
- * The bottom of the client rect
863
- */
864
- bottom?: number;
865
- /**
866
- * The height of the client rect
867
- */
868
- height?: number;
869
- /**
870
- * The left of the client rect
871
- */
872
- left?: number;
873
- /**
874
- * The right of the client rect
875
- */
876
- right?: number;
877
- /**
878
- * The top of the client rect
879
- */
880
- top?: number;
881
- /**
882
- * The width of the client rect
883
- */
884
- width?: number;
885
- /**
886
- * The x position of the client rect
887
- */
888
- x?: number;
889
- /**
890
- * The y position of the client rect
891
- */
892
- y?: number;
893
- };
894
- /**
895
- * It is Boolean true if intersecting the scrollable area
896
- */
897
- isIntersecting?: boolean;
898
- /**
899
- * Object containing the client rect information
900
- */
901
- rootBounds?: {
902
- /**
903
- * The bottom of the client rect
904
- */
905
- bottom?: number;
906
- /**
907
- * The height of the client rect
908
- */
909
- height?: number;
910
- /**
911
- * The left of the client rect
912
- */
913
- left?: number;
914
- /**
915
- * The right of the client rect
916
- */
917
- right?: number;
918
- /**
919
- * The top of the client rect
920
- */
921
- top?: number;
922
- /**
923
- * The width of the client rect
924
- */
925
- width?: number;
926
- /**
927
- * The x position of the client rect
928
- */
929
- x?: number;
930
- /**
931
- * The y position of the client rect
932
- */
933
- y?: number;
934
- };
935
- /**
936
- * The target element
937
- */
938
- target?: Element;
939
- /**
940
- * The timestamp of the event
941
- */
942
- time?: number;
943
- }) => boolean;
815
+ handler?: (entry?: IntersectionObserverEntry) => boolean;
944
816
  /**
945
817
  * Intersection observer options (can be omitted and all its props are optional)
946
818
  */
@@ -959,7 +831,7 @@ export type IntersectionValue =
959
831
  threshold?: readonly any[];
960
832
  };
961
833
  }
962
- | (() => void);
834
+ | ((entry: IntersectionObserverEntry) => boolean);
963
835
  /**
964
836
  * Function to call when scrolling occurs (identical to description of 'handler' prop of the Object form); If using the Object form, it is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
965
837
  *
@@ -1139,7 +1011,7 @@ export type MutationValue = (
1139
1011
  * Value depends on the mutation type; For attributes, it is the value of the changed attribute before the change; For characterData it is data of the changed node before the change; For childList it is null; Note that for this to work as expected, attributeOldValue or characterDataOldValue must be set
1140
1012
  */
1141
1013
  oldValue?: string;
1142
- }[]
1014
+ }[],
1143
1015
  ) => boolean;
1144
1016
  /**
1145
1017
  * Function to call when mutation occurs; It is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
@@ -1982,7 +1854,7 @@ export interface QBreadcrumbsElProps {
1982
1854
  * Return the router error, if any; Otherwise the returned Promise will always fulfill
1983
1855
  */
1984
1856
  returnRouterError?: boolean;
1985
- }) => Promise<any>
1857
+ }) => Promise<any>,
1986
1858
  ) => void;
1987
1859
  }
1988
1860
 
@@ -2163,7 +2035,7 @@ export interface QBtnProps {
2163
2035
  * Return the router error, if any; Otherwise the returned Promise will always fulfill
2164
2036
  */
2165
2037
  returnRouterError?: boolean;
2166
- }) => Promise<any>
2038
+ }) => Promise<any>,
2167
2039
  ) => void;
2168
2040
  }
2169
2041
 
@@ -2373,7 +2245,7 @@ export interface QBtnDropdownProps {
2373
2245
  */
2374
2246
  cover?: boolean | undefined;
2375
2247
  /**
2376
- * Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key
2248
+ * Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key; Also, an app route change won't dismiss it
2377
2249
  */
2378
2250
  persistent?: boolean | undefined;
2379
2251
  /**
@@ -2929,7 +2801,7 @@ export interface QCarouselProps {
2929
2801
  */
2930
2802
  onBeforeTransition?: (
2931
2803
  newVal: string | number,
2932
- oldVal: string | number
2804
+ oldVal: string | number,
2933
2805
  ) => void;
2934
2806
  /**
2935
2807
  * Emitted after component transitioned to a new panel
@@ -3740,7 +3612,7 @@ export interface QDateProps {
3740
3612
  */
3741
3613
  day: number;
3742
3614
  };
3743
- }
3615
+ },
3744
3616
  ) => void;
3745
3617
  /**
3746
3618
  * Emitted when user navigates to a different month or year (and even when the model changes from an outside source)
@@ -3878,7 +3750,7 @@ export interface QDate extends ComponentPublicInstance<QDateProps> {
3878
3750
  * The day of month
3879
3751
  */
3880
3752
  day?: number;
3881
- }
3753
+ },
3882
3754
  ) => void;
3883
3755
  }
3884
3756
 
@@ -4096,7 +3968,7 @@ export interface QDrawerProps {
4096
3968
  */
4097
3969
  elevated?: boolean | undefined;
4098
3970
  /**
4099
- * Prevents drawer from auto-closing when app's route changes
3971
+ * Prevents drawer from auto-closing when app's route changes; Also, an app route change won't hide it
4100
3972
  */
4101
3973
  persistent?: boolean | undefined;
4102
3974
  /**
@@ -5835,6 +5707,10 @@ export interface QImgProps {
5835
5707
  * Default value: lazy
5836
5708
  */
5837
5709
  loading?: "lazy" | "eager" | undefined;
5710
+ /**
5711
+ * Delay showing the spinner when image changes; Gives time for the browser to load the image from cache to prevent flashing the spinner unnecessarily; Value should represent milliseconds
5712
+ */
5713
+ loadingShowDelay?: number | string | undefined;
5838
5714
  /**
5839
5715
  * Same syntax as <img> crossorigin attribute
5840
5716
  */
@@ -6532,7 +6408,7 @@ export interface QItemProps {
6532
6408
  * Return the router error, if any; Otherwise the returned Promise will always fulfill
6533
6409
  */
6534
6410
  returnRouterError?: boolean;
6535
- }) => Promise<any>
6411
+ }) => Promise<any>,
6536
6412
  ) => void;
6537
6413
  }
6538
6414
 
@@ -7025,7 +6901,7 @@ export interface QMenuProps {
7025
6901
  */
7026
6902
  touchPosition?: boolean | undefined;
7027
6903
  /**
7028
- * Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key
6904
+ * Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key; Also, an app route change won't dismiss it
7029
6905
  */
7030
6906
  persistent?: boolean | undefined;
7031
6907
  /**
@@ -8626,7 +8502,7 @@ export interface QScrollArea extends ComponentPublicInstance<QScrollAreaProps> {
8626
8502
  setScrollPosition: (
8627
8503
  axis: "vertical" | "horizontal",
8628
8504
  offset: number,
8629
- duration?: number
8505
+ duration?: number,
8630
8506
  ) => void;
8631
8507
  /**
8632
8508
  * Set scroll position to a percentage (0.0 <= x <= 1.0) of the total scrolling size; If a duration (in milliseconds) is specified then the scroll is animated
@@ -8637,7 +8513,7 @@ export interface QScrollArea extends ComponentPublicInstance<QScrollAreaProps> {
8637
8513
  setScrollPercentage: (
8638
8514
  axis: "vertical" | "horizontal",
8639
8515
  offset: number,
8640
- duration?: number
8516
+ duration?: number,
8641
8517
  ) => void;
8642
8518
  }
8643
8519
 
@@ -9183,7 +9059,7 @@ export interface QSelectProps {
9183
9059
  */
9184
9060
  onNewValue?: (
9185
9061
  inputValue: string,
9186
- doneFn: (item?: any, mode?: "add" | "add-unique" | "toggle") => void
9062
+ doneFn: (item?: any, mode?: "add" | "add-unique" | "toggle") => void,
9187
9063
  ) => void;
9188
9064
  /**
9189
9065
  * Emitted when user wants to filter a value
@@ -9194,7 +9070,7 @@ export interface QSelectProps {
9194
9070
  onFilter?: (
9195
9071
  inputValue: string,
9196
9072
  doneFn: (callbackFn: () => void, afterFn?: (ref: QSelect) => void) => void,
9197
- abortFn: () => void
9073
+ abortFn: () => void,
9198
9074
  ) => void;
9199
9075
  /**
9200
9076
  * Emitted when a filtering was aborted; Probably a new one was requested?
@@ -9359,7 +9235,7 @@ export interface QSelect extends ComponentPublicInstance<QSelectProps> {
9359
9235
  | "end"
9360
9236
  | "start-force"
9361
9237
  | "center-force"
9362
- | "end-force"
9238
+ | "end-force",
9363
9239
  ) => void;
9364
9240
  /**
9365
9241
  * Resets the virtual scroll computations; Needed for custom edge-cases
@@ -10630,7 +10506,7 @@ export interface QStepperProps {
10630
10506
  */
10631
10507
  onBeforeTransition?: (
10632
10508
  newVal: string | number,
10633
- oldVal: string | number
10509
+ oldVal: string | number,
10634
10510
  ) => void;
10635
10511
  /**
10636
10512
  * Emitted after component transitioned to a new panel
@@ -10771,7 +10647,7 @@ export interface QTabPanelsProps {
10771
10647
  */
10772
10648
  onBeforeTransition?: (
10773
10649
  newVal: string | number,
10774
- oldVal: string | number
10650
+ oldVal: string | number,
10775
10651
  ) => void;
10776
10652
  /**
10777
10653
  * Emitted after component transitioned to a new panel
@@ -11080,7 +10956,7 @@ export interface QTableProps {
11080
10956
  | ((
11081
10957
  firstRowIndex: number,
11082
10958
  endRowIndex: number,
11083
- totalRowsNumber: number
10959
+ totalRowsNumber: number,
11084
10960
  ) => string)
11085
10961
  | undefined;
11086
10962
  /**
@@ -11137,7 +11013,7 @@ export interface QTableProps {
11137
11013
  rows: readonly any[],
11138
11014
  terms: string | any,
11139
11015
  cols: readonly any[],
11140
- getCellValue: (col: any, row: any) => any
11016
+ getCellValue: (col: any, row: any) => any,
11141
11017
  ) => readonly any[])
11142
11018
  | undefined;
11143
11019
  /**
@@ -11199,7 +11075,7 @@ export interface QTableProps {
11199
11075
  | ((
11200
11076
  rows: readonly any[],
11201
11077
  sortBy: string,
11202
- descending: boolean
11078
+ descending: boolean,
11203
11079
  ) => readonly any[])
11204
11080
  | undefined;
11205
11081
  /**
@@ -12293,7 +12169,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
12293
12169
  rows: readonly any[],
12294
12170
  terms: string | any,
12295
12171
  cols?: readonly any[],
12296
- getCellValue?: (col?: any, row?: any) => any
12172
+ getCellValue?: (col?: any, row?: any) => any,
12297
12173
  ) => readonly any[];
12298
12174
  }) => void;
12299
12175
  /**
@@ -12320,7 +12196,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
12320
12196
  */
12321
12197
  rowsPerPage?: number;
12322
12198
  },
12323
- forceServerRequest?: boolean
12199
+ forceServerRequest?: boolean,
12324
12200
  ) => void;
12325
12201
  /**
12326
12202
  * Navigates to first page
@@ -12381,7 +12257,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
12381
12257
  | "end"
12382
12258
  | "start-force"
12383
12259
  | "center-force"
12384
- | "end-force"
12260
+ | "end-force",
12385
12261
  ) => void;
12386
12262
  /**
12387
12263
  * The filtered and sorted rows (same as the rows prop if using server-side fetching)
@@ -12552,7 +12428,7 @@ export interface QRouteTabProps {
12552
12428
  * Return the router error, if any; Otherwise the returned Promise will always fulfill
12553
12429
  */
12554
12430
  returnRouterError?: boolean;
12555
- }) => Promise<any>
12431
+ }) => Promise<any>,
12556
12432
  ) => void;
12557
12433
  }
12558
12434
 
@@ -12815,7 +12691,7 @@ export interface QTimeProps {
12815
12691
  options?: (
12816
12692
  hr: number,
12817
12693
  min: number | null,
12818
- sec: number | null
12694
+ sec: number | null,
12819
12695
  ) => boolean | null | undefined;
12820
12696
  /**
12821
12697
  * Optionally configure what hours is the user allowed to set; Overrides 'options' prop if that is also set
@@ -12877,7 +12753,7 @@ export interface QTimeProps {
12877
12753
  * Did the model change?
12878
12754
  */
12879
12755
  changed: boolean;
12880
- }
12756
+ },
12881
12757
  ) => void;
12882
12758
  }
12883
12759
 
@@ -13226,6 +13102,10 @@ export interface QTooltipProps {
13226
13102
  * Configure Tooltip to disappear with delay
13227
13103
  */
13228
13104
  hideDelay?: number | undefined;
13105
+ /**
13106
+ * Prevents Tooltip from auto-closing when app's route changes
13107
+ */
13108
+ persistent?: boolean | undefined;
13229
13109
  /**
13230
13110
  * Emitted when showing/hidden state changes; Is also used by v-model
13231
13111
  * @param value New state (showing/hidden)
@@ -13923,7 +13803,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
13923
13803
  updateFileStatus: (
13924
13804
  file: File,
13925
13805
  status: "idle" | "failed" | "uploading" | "uploaded",
13926
- uploadedSize: number
13806
+ uploadedSize: number,
13927
13807
  ) => void;
13928
13808
  /**
13929
13809
  * Is the component alive (activated but not unmounted); Useful to determine if you still need to compute anything going further
@@ -14155,7 +14035,7 @@ export interface QVirtualScroll
14155
14035
  | "end"
14156
14036
  | "start-force"
14157
14037
  | "center-force"
14158
- | "end-force"
14038
+ | "end-force",
14159
14039
  ) => void;
14160
14040
  /**
14161
14041
  * Resets the virtual scroll computations; Needed for custom edge-cases
@@ -14691,7 +14571,7 @@ declare module "./globals" {
14691
14571
  */
14692
14572
  seamless?: boolean;
14693
14573
  /**
14694
- * User cannot dismiss Bottom Sheet if clicking outside of it or hitting ESC key
14574
+ * User cannot dismiss Bottom Sheet if clicking outside of it or hitting ESC key; Also, an app route change won't dismiss it
14695
14575
  */
14696
14576
  persistent?: boolean;
14697
14577
  }) => DialogChainObject;
@@ -14712,7 +14592,7 @@ declare module "./globals" {
14712
14592
  * @returns Calling this function with no parameters hides the notification; When called with one Object parameter (the original notification must NOT be grouped), it updates the notification (specified properties are shallow merged with previous ones; note that group and position cannot be changed while updating and so they are ignored)
14713
14593
  */
14714
14594
  notify: (
14715
- opts: QNotifyCreateOptions | string
14595
+ opts: QNotifyCreateOptions | string,
14716
14596
  ) => (props?: QNotifyUpdateOptions) => void;
14717
14597
  platform: Platform;
14718
14598
  screen: Screen;
@@ -15628,6 +15508,7 @@ declare module "./lang" {
15628
15508
  mk: true;
15629
15509
  ml: true;
15630
15510
  mm: true;
15511
+ "ms-MY": true;
15631
15512
  ms: true;
15632
15513
  my: true;
15633
15514
  "nb-NO": true;
@@ -15645,6 +15526,7 @@ declare module "./lang" {
15645
15526
  sv: true;
15646
15527
  ta: true;
15647
15528
  th: true;
15529
+ tl: true;
15648
15530
  tr: true;
15649
15531
  ug: true;
15650
15532
  uk: true;
@@ -88,7 +88,7 @@ type QuasarLanguageDayTuple = [
88
88
  string,
89
89
  string,
90
90
  string,
91
- string
91
+ string,
92
92
  ];
93
93
  type QuasarLanguageMonthTuple = [
94
94
  string,
@@ -102,7 +102,7 @@ type QuasarLanguageMonthTuple = [
102
102
  string,
103
103
  string,
104
104
  string,
105
- string
105
+ string,
106
106
  ];
107
107
 
108
108
  export interface QuasarLanguage {
@@ -119,7 +119,7 @@ export interface QuasarLanguage {
119
119
  format24h: boolean;
120
120
  headerTitle?: (
121
121
  date: Date,
122
- model: { year: number; month: number; day: number }
122
+ model: { year: number; month: number; day: number },
123
123
  ) => string;
124
124
  };
125
125
  table: StringDictionary<QuasarLanguageTableLabel> & {
@@ -1,9 +1,10 @@
1
1
  import { QuasarUIConfiguration } from "./config";
2
2
  import { QuasarIconSet } from "./extras";
3
+ import { GlobalQuasarIconMapFn } from "./globals";
3
4
  import { QuasarLanguage } from "./lang";
4
5
 
5
6
  // These interfaces are used as forward-references
6
- // filled at build-time via TS interface mergin capabilities
7
+ // filled at build-time via TS interface merging capabilities
7
8
  export interface QuasarComponents {}
8
9
  export interface QuasarDirectives {}
9
10
  export interface QuasarPlugins {}
@@ -15,4 +16,5 @@ export interface QuasarPluginOptions {
15
16
  components: QuasarComponents;
16
17
  directives: QuasarDirectives;
17
18
  plugins: QuasarPlugins;
19
+ iconMapFn: GlobalQuasarIconMapFn;
18
20
  }
@@ -23,8 +23,8 @@ export type DeepPartial<T> = {
23
23
  [P in keyof T]?: T[P] extends Array<infer U>
24
24
  ? Array<DeepPartial<U>>
25
25
  : T[P] extends ReadonlyArray<infer U>
26
- ? ReadonlyArray<DeepPartial<U>>
27
- : DeepPartial<T[P]>;
26
+ ? ReadonlyArray<DeepPartial<U>>
27
+ : DeepPartial<T[P]>;
28
28
  };
29
29
 
30
30
  // Create a fake constructor signature for a Vue component, needed to correctly extract/infer Component type in many situation,
@@ -43,7 +43,7 @@ export type ComponentConstructor<
43
43
  RawBindings = any,
44
44
  D = any,
45
45
  C extends ComputedOptions = ComputedOptions,
46
- M extends MethodOptions = MethodOptions
46
+ M extends MethodOptions = MethodOptions,
47
47
  > = { new (): Component } & ComponentOptions<Props, RawBindings, D, C, M>;
48
48
 
49
49
  // https://github.com/vuejs/vue-next/blob/d84d5ecdbdf709570122175d6565bb61fae877f2/packages/runtime-core/src/apiDefineComponent.ts#L29-L31
@@ -26,7 +26,7 @@ export namespace colors {
26
26
  function brightness(color: string | colorsRgba): number;
27
27
  function blend(
28
28
  foregroundColor: string | colorsRgba,
29
- backgroundColor: string | colorsRgba
29
+ backgroundColor: string | colorsRgba,
30
30
  ): string;
31
31
  function changeAlpha(color: string, offset: number): string;
32
32
  function getPaletteColor(colorName: NamedColor): string;
@@ -48,27 +48,27 @@ export namespace date {
48
48
  date: Date | number | string,
49
49
  from: Date | number | string,
50
50
  to: Date | number | string,
51
- opts?: { inclusiveFrom: boolean; inclusiveTo: boolean; onlyDate: boolean }
51
+ opts?: { inclusiveFrom: boolean; inclusiveTo: boolean; onlyDate: boolean },
52
52
  ): boolean;
53
53
  function addToDate(date: Date | number | string, options: DateOptions): Date;
54
54
  function subtractFromDate(
55
55
  date: Date | number | string,
56
- options: DateOptions
56
+ options: DateOptions,
57
57
  ): Date;
58
58
  function adjustDate(
59
59
  date: Date | number | string,
60
60
  options: DateOptions,
61
- utc?: boolean
61
+ utc?: boolean,
62
62
  ): Date;
63
63
  function startOfDate(
64
64
  date: Date | number | string,
65
65
  option: DateUnitOptions,
66
- utc?: boolean
66
+ utc?: boolean,
67
67
  ): Date;
68
68
  function endOfDate(
69
69
  date: Date | number | string,
70
70
  option: DateUnitOptions,
71
- utc?: boolean
71
+ utc?: boolean,
72
72
  ): Date;
73
73
  function getMaxDate(
74
74
  date: Date | number | string,
@@ -81,21 +81,21 @@ export namespace date {
81
81
  function getDateDiff(
82
82
  date: Date | number | string,
83
83
  subtract: Date | number | string,
84
- unit?: `${DateUnitOptions}s`
84
+ unit?: `${DateUnitOptions}s`,
85
85
  ): number;
86
86
  function getDayOfYear(date: Date | number | string): number;
87
87
  function inferDateFormat(
88
- date: Date | number | string
88
+ date: Date | number | string,
89
89
  ): "date" | "number" | "string";
90
90
  function getDateBetween(
91
91
  date: Date | number | string,
92
92
  min?: Date | number | string,
93
- max?: Date | number | string
93
+ max?: Date | number | string,
94
94
  ): Date;
95
95
  function isSameDate(
96
96
  date: Date | number | string,
97
97
  date2: Date | number | string,
98
- unit?: DateUnitOptions
98
+ unit?: DateUnitOptions,
99
99
  ): boolean;
100
100
  function daysInMonth(date: Date | number | string): number;
101
101
  function formatDate(
@@ -103,7 +103,7 @@ export namespace date {
103
103
  format?: string,
104
104
  locale?: DateLocale,
105
105
  __forcedYear?: number,
106
- __forcedTimezoneOffset?: number
106
+ __forcedTimezoneOffset?: number,
107
107
  ): string;
108
108
  function clone<D extends Date | number | string>(date: D): D;
109
109
  }
@@ -13,7 +13,7 @@ export namespace dom {
13
13
  function css(el: Element, css: VueStyleObjectProp): void;
14
14
  function cssBatch(
15
15
  elements: readonly Element[],
16
- css: VueStyleObjectProp
16
+ css: VueStyleObjectProp,
17
17
  ): void;
18
18
  function ready<F extends (...args: any[]) => any>(fn: F): ReturnType<F>;
19
19
  }