quasar 2.8.3 → 2.9.0

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 (314) hide show
  1. package/dist/api/QBreadcrumbsEl.json +52 -0
  2. package/dist/api/QBtn.json +41 -6
  3. package/dist/api/QBtnDropdown.json +9 -0
  4. package/dist/api/QChip.json +9 -0
  5. package/dist/api/QCircularProgress.json +6 -0
  6. package/dist/api/QEditor.json +7 -0
  7. package/dist/api/QExpansionItem.json +59 -0
  8. package/dist/api/QItem.json +52 -0
  9. package/dist/api/QRating.json +13 -0
  10. package/dist/api/QRouteTab.json +42 -6
  11. package/dist/api/QTable.json +2 -2
  12. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  13. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  14. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  15. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  16. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  17. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  18. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  19. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  20. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  21. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  22. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  23. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  24. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  25. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  26. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  27. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  28. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  29. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  30. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  48. package/dist/icon-set/themify.umd.prod.js +1 -1
  49. package/dist/lang/ar-TN.umd.prod.js +2 -2
  50. package/dist/lang/ar.umd.prod.js +2 -2
  51. package/dist/lang/az-Latn.umd.prod.js +2 -2
  52. package/dist/lang/bg.umd.prod.js +2 -2
  53. package/dist/lang/bn.umd.prod.js +2 -2
  54. package/dist/lang/ca.umd.prod.js +2 -2
  55. package/dist/lang/cs.umd.prod.js +2 -2
  56. package/dist/lang/da.umd.prod.js +2 -2
  57. package/dist/lang/de.umd.prod.js +2 -2
  58. package/dist/lang/el.umd.prod.js +2 -2
  59. package/dist/lang/en-GB.umd.prod.js +2 -2
  60. package/dist/lang/en-US.umd.prod.js +2 -2
  61. package/dist/lang/eo.umd.prod.js +2 -2
  62. package/dist/lang/es.umd.prod.js +2 -2
  63. package/dist/lang/et.umd.prod.js +2 -2
  64. package/dist/lang/eu.umd.prod.js +2 -2
  65. package/dist/lang/fa-IR.umd.prod.js +2 -2
  66. package/dist/lang/fa.umd.prod.js +2 -2
  67. package/dist/lang/fi.umd.prod.js +2 -2
  68. package/dist/lang/fr.umd.prod.js +2 -2
  69. package/dist/lang/gn.umd.prod.js +2 -2
  70. package/dist/lang/he.umd.prod.js +2 -2
  71. package/dist/lang/hr.umd.prod.js +2 -2
  72. package/dist/lang/hu.umd.prod.js +2 -2
  73. package/dist/lang/id.umd.prod.js +2 -2
  74. package/dist/lang/is.umd.prod.js +2 -2
  75. package/dist/lang/it.umd.prod.js +2 -2
  76. package/dist/lang/ja.umd.prod.js +2 -2
  77. package/dist/lang/km.umd.prod.js +2 -2
  78. package/dist/lang/ko-KR.umd.prod.js +2 -2
  79. package/dist/lang/kur-CKB.umd.prod.js +2 -2
  80. package/dist/lang/kz.umd.prod.js +2 -2
  81. package/dist/lang/lt.umd.prod.js +2 -2
  82. package/dist/lang/lu.umd.prod.js +2 -2
  83. package/dist/lang/lv.umd.prod.js +2 -2
  84. package/dist/lang/ml.umd.prod.js +2 -2
  85. package/dist/lang/mm.umd.prod.js +2 -2
  86. package/dist/lang/ms.umd.prod.js +2 -2
  87. package/dist/lang/my.umd.prod.js +2 -2
  88. package/dist/lang/nb-NO.umd.prod.js +2 -2
  89. package/dist/lang/nl.umd.prod.js +2 -2
  90. package/dist/lang/pl.umd.prod.js +2 -2
  91. package/dist/lang/pt-BR.umd.prod.js +2 -2
  92. package/dist/lang/pt.umd.prod.js +2 -2
  93. package/dist/lang/ro.umd.prod.js +2 -2
  94. package/dist/lang/ru.umd.prod.js +2 -2
  95. package/dist/lang/sk.umd.prod.js +2 -2
  96. package/dist/lang/sl.umd.prod.js +2 -2
  97. package/dist/lang/sm.umd.prod.js +2 -2
  98. package/dist/lang/sr-CYR.umd.prod.js +2 -2
  99. package/dist/lang/sr.umd.prod.js +2 -2
  100. package/dist/lang/sv.umd.prod.js +2 -2
  101. package/dist/lang/ta.umd.prod.js +2 -2
  102. package/dist/lang/th.umd.prod.js +2 -2
  103. package/dist/lang/tr.umd.prod.js +2 -2
  104. package/dist/lang/ug.umd.prod.js +2 -2
  105. package/dist/lang/uk.umd.prod.js +2 -2
  106. package/dist/lang/uz-Cyrl.umd.prod.js +2 -2
  107. package/dist/lang/uz-Latn.umd.prod.js +2 -2
  108. package/dist/lang/vi.umd.prod.js +2 -2
  109. package/dist/lang/zh-CN.umd.prod.js +2 -2
  110. package/dist/lang/zh-TW.umd.prod.js +2 -2
  111. package/dist/quasar.cjs.prod.js +2 -2
  112. package/dist/quasar.esm.js +16157 -15723
  113. package/dist/quasar.esm.prod.js +2 -2
  114. package/dist/quasar.sass +1 -1
  115. package/dist/quasar.umd.js +16290 -15854
  116. package/dist/quasar.umd.prod.js +2 -2
  117. package/dist/transforms/import-map.json +2 -0
  118. package/dist/types/api/qeditor.d.ts +17 -0
  119. package/dist/types/api/qloading.d.ts +5 -0
  120. package/dist/types/api.d.ts +2 -0
  121. package/dist/types/index.d.ts +133 -9
  122. package/dist/types/utils/is.d.ts +67 -0
  123. package/dist/types/utils/run-sequential-promises.d.ts +119 -0
  124. package/dist/types/utils.d.ts +9 -0
  125. package/dist/vetur/quasar-attributes.json +25 -1
  126. package/dist/vetur/quasar-tags.json +7 -1
  127. package/dist/web-types/web-types.json +108 -10
  128. package/lang/ar-TN.js +3 -1
  129. package/lang/ar-TN.mjs +3 -1
  130. package/lang/ar.js +3 -1
  131. package/lang/ar.mjs +3 -1
  132. package/lang/az-Latn.js +3 -1
  133. package/lang/az-Latn.mjs +3 -1
  134. package/lang/bg.js +3 -1
  135. package/lang/bg.mjs +3 -1
  136. package/lang/bn.js +3 -1
  137. package/lang/bn.mjs +3 -1
  138. package/lang/ca.js +3 -1
  139. package/lang/ca.mjs +3 -1
  140. package/lang/cs.js +3 -1
  141. package/lang/cs.mjs +3 -1
  142. package/lang/da.js +3 -1
  143. package/lang/da.mjs +3 -1
  144. package/lang/de.js +3 -1
  145. package/lang/de.mjs +3 -1
  146. package/lang/el.js +3 -1
  147. package/lang/el.mjs +3 -1
  148. package/lang/en-GB.js +3 -1
  149. package/lang/en-GB.mjs +3 -1
  150. package/lang/en-US.js +3 -1
  151. package/lang/en-US.mjs +3 -1
  152. package/lang/eo.js +3 -1
  153. package/lang/eo.mjs +3 -1
  154. package/lang/es.js +3 -1
  155. package/lang/es.mjs +3 -1
  156. package/lang/et.js +3 -1
  157. package/lang/et.mjs +3 -1
  158. package/lang/eu.js +3 -1
  159. package/lang/eu.mjs +3 -1
  160. package/lang/fa-IR.js +5 -3
  161. package/lang/fa-IR.mjs +5 -3
  162. package/lang/fa.js +5 -3
  163. package/lang/fa.mjs +5 -3
  164. package/lang/fi.js +3 -1
  165. package/lang/fi.mjs +3 -1
  166. package/lang/fr.js +3 -1
  167. package/lang/fr.mjs +3 -1
  168. package/lang/gn.js +3 -1
  169. package/lang/gn.mjs +3 -1
  170. package/lang/he.js +3 -1
  171. package/lang/he.mjs +3 -1
  172. package/lang/hr.js +3 -1
  173. package/lang/hr.mjs +3 -1
  174. package/lang/hu.js +3 -1
  175. package/lang/hu.mjs +3 -1
  176. package/lang/id.js +3 -1
  177. package/lang/id.mjs +3 -1
  178. package/lang/is.js +3 -1
  179. package/lang/is.mjs +3 -1
  180. package/lang/it.js +3 -1
  181. package/lang/it.mjs +3 -1
  182. package/lang/ja.js +3 -1
  183. package/lang/ja.mjs +3 -1
  184. package/lang/km.js +3 -1
  185. package/lang/km.mjs +3 -1
  186. package/lang/ko-KR.js +3 -1
  187. package/lang/ko-KR.mjs +3 -1
  188. package/lang/kur-CKB.js +3 -1
  189. package/lang/kur-CKB.mjs +3 -1
  190. package/lang/kz.js +3 -1
  191. package/lang/kz.mjs +3 -1
  192. package/lang/lt.js +3 -1
  193. package/lang/lt.mjs +3 -1
  194. package/lang/lu.js +3 -1
  195. package/lang/lu.mjs +3 -1
  196. package/lang/lv.js +3 -1
  197. package/lang/lv.mjs +3 -1
  198. package/lang/ml.js +3 -1
  199. package/lang/ml.mjs +3 -1
  200. package/lang/mm.js +4 -1
  201. package/lang/mm.mjs +4 -1
  202. package/lang/ms.js +3 -1
  203. package/lang/ms.mjs +3 -1
  204. package/lang/my.js +3 -1
  205. package/lang/my.mjs +3 -1
  206. package/lang/nb-NO.js +3 -1
  207. package/lang/nb-NO.mjs +3 -1
  208. package/lang/nl.js +3 -1
  209. package/lang/nl.mjs +3 -1
  210. package/lang/pl.js +3 -1
  211. package/lang/pl.mjs +3 -1
  212. package/lang/pt-BR.js +3 -1
  213. package/lang/pt-BR.mjs +3 -1
  214. package/lang/pt.js +3 -1
  215. package/lang/pt.mjs +3 -1
  216. package/lang/ro.js +3 -1
  217. package/lang/ro.mjs +3 -1
  218. package/lang/ru.js +3 -1
  219. package/lang/ru.mjs +3 -1
  220. package/lang/sk.js +3 -1
  221. package/lang/sk.mjs +3 -1
  222. package/lang/sl.js +3 -1
  223. package/lang/sl.mjs +3 -1
  224. package/lang/sm.js +3 -1
  225. package/lang/sm.mjs +3 -1
  226. package/lang/sr-CYR.js +3 -1
  227. package/lang/sr-CYR.mjs +3 -1
  228. package/lang/sr.js +3 -1
  229. package/lang/sr.mjs +3 -1
  230. package/lang/sv.js +3 -1
  231. package/lang/sv.mjs +3 -1
  232. package/lang/ta.js +3 -1
  233. package/lang/ta.mjs +3 -1
  234. package/lang/th.js +3 -1
  235. package/lang/th.mjs +3 -1
  236. package/lang/tr.js +3 -1
  237. package/lang/tr.mjs +3 -1
  238. package/lang/ug.js +5 -3
  239. package/lang/ug.mjs +5 -3
  240. package/lang/uk.js +3 -1
  241. package/lang/uk.mjs +3 -1
  242. package/lang/uz-Cyrl.js +3 -1
  243. package/lang/uz-Cyrl.mjs +3 -1
  244. package/lang/uz-Latn.js +3 -1
  245. package/lang/uz-Latn.mjs +3 -1
  246. package/lang/vi.js +3 -1
  247. package/lang/vi.mjs +3 -1
  248. package/lang/zh-CN.js +3 -1
  249. package/lang/zh-CN.mjs +3 -1
  250. package/lang/zh-TW.js +3 -1
  251. package/lang/zh-TW.mjs +3 -1
  252. package/package.json +6 -5
  253. package/src/components/breadcrumbs/QBreadcrumbsEl.js +6 -7
  254. package/src/components/breadcrumbs/QBreadcrumbsEl.json +53 -0
  255. package/src/components/btn/QBtn.js +19 -19
  256. package/src/components/btn/QBtn.json +41 -6
  257. package/src/components/btn/use-btn.js +6 -4
  258. package/src/components/btn-dropdown/QBtnDropdown.js +10 -2
  259. package/src/components/btn-dropdown/QBtnDropdown.json +8 -0
  260. package/src/components/checkbox/QCheckbox.js +1 -2
  261. package/src/components/checkbox/use-checkbox.js +2 -1
  262. package/src/components/chip/QChip.js +9 -2
  263. package/src/components/chip/QChip.json +8 -0
  264. package/src/components/chip/__tests__/QChip.spec.js +359 -46
  265. package/src/components/circular-progress/QCircularProgress.js +4 -2
  266. package/src/components/circular-progress/QCircularProgress.json +7 -0
  267. package/src/components/circular-progress/use-circular-progress.js +1 -0
  268. package/src/components/dialog/QDialog.js +7 -4
  269. package/src/components/drawer/QDrawer.js +7 -4
  270. package/src/components/editor/QEditor.json +9 -0
  271. package/src/components/expansion-item/QExpansionItem.js +37 -8
  272. package/src/components/expansion-item/QExpansionItem.json +67 -0
  273. package/src/components/fab/QFab.js +20 -1
  274. package/src/components/form/QForm.js +35 -40
  275. package/src/components/form/QFormChildMixin.js +3 -1
  276. package/src/components/item/QItem.js +4 -5
  277. package/src/components/item/QItem.json +53 -0
  278. package/src/components/menu/QMenu.js +5 -5
  279. package/src/components/menu/__tests__/QMenu.spec.js +7 -0
  280. package/src/components/page/QPage.js +1 -1
  281. package/src/components/popup-edit/QPopupEdit.js +2 -5
  282. package/src/components/radio/QRadio.js +3 -3
  283. package/src/components/rating/QRating.js +48 -10
  284. package/src/components/rating/QRating.json +11 -0
  285. package/src/components/select/QSelect.js +1 -4
  286. package/src/components/stepper/QStep.js +5 -3
  287. package/src/components/table/QTable.js +4 -6
  288. package/src/components/table/QTable.json +2 -2
  289. package/src/components/tabs/QRouteTab.js +6 -4
  290. package/src/components/tabs/QRouteTab.json +42 -6
  291. package/src/components/tabs/QTabs.js +188 -107
  292. package/src/components/tabs/use-tab.js +62 -38
  293. package/src/components/time/QTime.js +2 -2
  294. package/src/components/tooltip/QTooltip.js +7 -13
  295. package/src/components/tree/QTree.js +1 -1
  296. package/src/components/uploader/uploader-core.js +2 -3
  297. package/src/composables/private/__tests__/use-model-toggle.spec.js +2 -0
  298. package/src/composables/private/__tests__/use-transition.spec.js +4 -0
  299. package/src/composables/private/use-file.js +1 -1
  300. package/src/composables/private/use-router-link.js +80 -43
  301. package/src/composables/private/use-tick.js +15 -9
  302. package/src/composables/private/use-timeout.js +20 -7
  303. package/src/composables/private/use-validate.js +7 -13
  304. package/src/composables/use-form-child.js +6 -4
  305. package/src/directives/TouchPan.js +1 -1
  306. package/src/directives/TouchRepeat.js +1 -1
  307. package/src/directives/TouchSwipe.js +1 -1
  308. package/src/utils/EventBus.js +64 -0
  309. package/src/utils/extend.js +19 -19
  310. package/src/utils/private/inject-obj-prop.js +2 -0
  311. package/src/utils/private/rtl.js +10 -7
  312. package/src/utils/private/vm.js +4 -0
  313. package/src/utils/run-sequential-promises.js +115 -0
  314. package/src/utils.js +4 -0
@@ -120,5 +120,57 @@
120
120
  "default": {
121
121
  "desc": "This is where custom content goes, unless 'icon' and 'label' props are not enough"
122
122
  }
123
+ },
124
+ "events": {
125
+ "click": {
126
+ "desc": "Emitted when the component is clicked",
127
+ "params": {
128
+ "evt": {
129
+ "type": "Event",
130
+ "desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
131
+ },
132
+ "go": {
133
+ "type": "Function",
134
+ "desc": "Available ONLY if you are using route navigation ('to'/'replace' props); 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",
135
+ "required": false,
136
+ "addedIn": "v2.9",
137
+ "params": {
138
+ "opts": {
139
+ "type": "Object",
140
+ "desc": "Optional options",
141
+ "required": false,
142
+ "definition": {
143
+ "to": {
144
+ "type": [
145
+ "String",
146
+ "Object"
147
+ ],
148
+ "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",
149
+ "required": false,
150
+ "examples": [
151
+ "/home/dashboard",
152
+ "{ name: 'my-route-name' }"
153
+ ]
154
+ },
155
+ "replace": {
156
+ "type": "Boolean",
157
+ "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",
158
+ "required": false
159
+ },
160
+ "returnRouterError": {
161
+ "type": "Boolean",
162
+ "desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
163
+ "required": false
164
+ }
165
+ }
166
+ }
167
+ },
168
+ "returns": {
169
+ "type": "Promise<any>",
170
+ "desc": "Returns the router's navigation promise"
171
+ }
172
+ }
173
+ }
174
+ }
123
175
  }
124
176
  }
@@ -284,17 +284,52 @@
284
284
  },
285
285
  "events": {
286
286
  "click": {
287
- "desc": "Emitted when component is clicked (activated)",
287
+ "desc": "Emitted when the component is clicked",
288
288
  "params": {
289
289
  "evt": {
290
290
  "type": "Event",
291
- "desc": "JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false"
291
+ "desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
292
292
  },
293
- "navigateFn": {
293
+ "go": {
294
294
  "type": "Function",
295
- "desc": "When you need to control the time at which the button should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation",
296
- "params": null,
297
- "returns": null
295
+ "desc": "Available ONLY if you are using route navigation ('to'/'replace' props); 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",
296
+ "required": false,
297
+ "addedIn": "v2.9",
298
+ "params": {
299
+ "opts": {
300
+ "type": "Object",
301
+ "desc": "Optional options",
302
+ "required": false,
303
+ "definition": {
304
+ "to": {
305
+ "type": [
306
+ "String",
307
+ "Object"
308
+ ],
309
+ "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",
310
+ "required": false,
311
+ "examples": [
312
+ "/home/dashboard",
313
+ "{ name: 'my-route-name' }"
314
+ ]
315
+ },
316
+ "replace": {
317
+ "type": "Boolean",
318
+ "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",
319
+ "required": false
320
+ },
321
+ "returnRouterError": {
322
+ "type": "Boolean",
323
+ "desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
324
+ "required": false
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "returns": {
330
+ "type": "Promise<any>",
331
+ "desc": "Returns the router's navigation promise"
332
+ }
298
333
  }
299
334
  }
300
335
  }
@@ -408,6 +408,15 @@
408
408
  "[5, 10]"
409
409
  ],
410
410
  "category": "position"
411
+ },
412
+ "toggle-aria-label": {
413
+ "type": "String",
414
+ "desc": "aria-label to be used on the dropdown toggle element",
415
+ "examples": [
416
+ "Open menu"
417
+ ],
418
+ "category": "accessibility",
419
+ "addedIn": "v2.8.4"
411
420
  }
412
421
  },
413
422
  "slots": {
@@ -154,6 +154,15 @@
154
154
  "category": "style",
155
155
  "required": false
156
156
  },
157
+ "remove-aria-label": {
158
+ "type": "String",
159
+ "desc": "aria-label to be used on the remove icon",
160
+ "examples": [
161
+ "Remove item"
162
+ ],
163
+ "category": "accessibility",
164
+ "addedIn": "v2.8.4"
165
+ },
157
166
  "tabindex": {
158
167
  "type": [
159
168
  "Number",
@@ -89,6 +89,12 @@
89
89
  "category": "style",
90
90
  "required": false
91
91
  },
92
+ "rounded": {
93
+ "type": "Boolean",
94
+ "desc": "Rounding the arc of progress",
95
+ "category": "style",
96
+ "addedIn": "v2.8.4"
97
+ },
92
98
  "thickness": {
93
99
  "type": "Number",
94
100
  "default": 0.2,
@@ -403,5 +403,12 @@
403
403
  "desc": "Provides the pure HTML within the editable area"
404
404
  }
405
405
  }
406
+ },
407
+ "computedProps": {
408
+ "caret": {
409
+ "type": "Object",
410
+ "tsType": "QEditorCaret",
411
+ "desc": "The current caret state"
412
+ }
406
413
  }
407
414
  }
@@ -121,6 +121,15 @@
121
121
  ],
122
122
  "category": "style"
123
123
  },
124
+ "toggle-aria-label": {
125
+ "type": "String",
126
+ "desc": "aria-label to be used on the expansion toggle element",
127
+ "examples": [
128
+ "Open details"
129
+ ],
130
+ "category": "accessibility",
131
+ "addedIn": "v2.8.4"
132
+ },
124
133
  "label": {
125
134
  "type": "String",
126
135
  "desc": "Header label (unless using 'header' slot)",
@@ -209,6 +218,12 @@
209
218
  "desc": "Puts expansion item into open state on initial render; Overridden by v-model if used",
210
219
  "category": "behavior"
211
220
  },
221
+ "hide-expand-icon": {
222
+ "type": "Boolean",
223
+ "desc": "Do not show the expand icon",
224
+ "category": "content",
225
+ "addedIn": "v2.8.4"
226
+ },
212
227
  "expand-icon-toggle": {
213
228
  "type": "Boolean",
214
229
  "desc": "Applies the expansion events to the expand icon only and not to the whole header",
@@ -277,6 +292,50 @@
277
292
  "type": "Boolean",
278
293
  "desc": "QExpansionItem expanded status",
279
294
  "addedIn": "v2.7.6"
295
+ },
296
+ "detailsId": {
297
+ "type": "String",
298
+ "desc": "QExpansionItem details panel id (for use in aria-controls)",
299
+ "addedIn": "v2.8.4"
300
+ },
301
+ "show": {
302
+ "type": "Function",
303
+ "desc": "Triggers component to show",
304
+ "params": {
305
+ "evt": {
306
+ "type": "Object",
307
+ "required": false,
308
+ "desc": "JS event object"
309
+ }
310
+ },
311
+ "returns": null,
312
+ "addedIn": "v2.8.4"
313
+ },
314
+ "hide": {
315
+ "type": "Function",
316
+ "desc": "Triggers component to hide",
317
+ "params": {
318
+ "evt": {
319
+ "type": "Object",
320
+ "required": false,
321
+ "desc": "JS event object"
322
+ }
323
+ },
324
+ "returns": null,
325
+ "addedIn": "v2.8.4"
326
+ },
327
+ "toggle": {
328
+ "type": "Function",
329
+ "desc": "Triggers component to toggle between show/hide",
330
+ "params": {
331
+ "evt": {
332
+ "type": "Object",
333
+ "required": false,
334
+ "desc": "JS event object"
335
+ }
336
+ },
337
+ "returns": null,
338
+ "addedIn": "v2.8.4"
280
339
  }
281
340
  }
282
341
  }
@@ -139,5 +139,57 @@
139
139
  "default": {
140
140
  "desc": "This is where QItem's content goes"
141
141
  }
142
+ },
143
+ "events": {
144
+ "click": {
145
+ "desc": "Emitted when the component is clicked",
146
+ "params": {
147
+ "evt": {
148
+ "type": "Event",
149
+ "desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
150
+ },
151
+ "go": {
152
+ "type": "Function",
153
+ "desc": "Available ONLY if you are using route navigation ('to'/'replace' props); 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",
154
+ "required": false,
155
+ "addedIn": "v2.9",
156
+ "params": {
157
+ "opts": {
158
+ "type": "Object",
159
+ "desc": "Optional options",
160
+ "required": false,
161
+ "definition": {
162
+ "to": {
163
+ "type": [
164
+ "String",
165
+ "Object"
166
+ ],
167
+ "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",
168
+ "required": false,
169
+ "examples": [
170
+ "/home/dashboard",
171
+ "{ name: 'my-route-name' }"
172
+ ]
173
+ },
174
+ "replace": {
175
+ "type": "Boolean",
176
+ "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",
177
+ "required": false
178
+ },
179
+ "returnRouterError": {
180
+ "type": "Boolean",
181
+ "desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
182
+ "required": false
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "returns": {
188
+ "type": "Promise<any>",
189
+ "desc": "Returns the router's navigation promise"
190
+ }
191
+ }
192
+ }
193
+ }
142
194
  }
143
195
  }
@@ -91,6 +91,19 @@
91
91
  ],
92
92
  "category": "content"
93
93
  },
94
+ "icon-aria-label": {
95
+ "type": [
96
+ "String",
97
+ "Array"
98
+ ],
99
+ "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",
100
+ "examples": [
101
+ "Rating",
102
+ "[\"Bad\", \"Normal\", \"Good\"]"
103
+ ],
104
+ "category": "accessibility",
105
+ "addedIn": "v1.20.3"
106
+ },
94
107
  "color": {
95
108
  "type": [
96
109
  "String",
@@ -171,17 +171,53 @@
171
171
  },
172
172
  "events": {
173
173
  "click": {
174
- "desc": "Emitted when component is clicked (activated)",
174
+ "desc": "Emitted when the component is clicked",
175
175
  "params": {
176
176
  "evt": {
177
177
  "type": "Event",
178
- "desc": "JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false"
178
+ "desc": "JS event object; If you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
179
179
  },
180
- "navigateFn": {
180
+ "go": {
181
181
  "type": "Function",
182
- "desc": "When you need to control the time at which the tab should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation",
183
- "params": null,
184
- "returns": null
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
+ }
185
221
  }
186
222
  }
187
223
  }
@@ -134,12 +134,12 @@
134
134
  "Number",
135
135
  "String"
136
136
  ],
137
- "desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision",
137
+ "desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision; Will be also used for non-virtual-scroll tables for fixing top alignment when using scrollTo method",
138
138
  "default": "0",
139
139
  "examples": [
140
140
  "virtual-scroll-sticky-size-start=\"48\""
141
141
  ],
142
- "category": "virtual-scroll",
142
+ "category": "virtual-scroll|behavior",
143
143
  "required": false
144
144
  },
145
145
  "virtual-scroll-sticky-size-end": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.8.3
2
+ * Quasar Framework v2.9.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */