quasar 2.3.1 → 2.4.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 (315) hide show
  1. package/dist/api/AppFullscreen.json +15 -8
  2. package/dist/api/BottomSheet.json +6 -0
  3. package/dist/api/Cookies.json +4 -3
  4. package/dist/api/Dialog.json +24 -10
  5. package/dist/api/Loading.json +0 -2
  6. package/dist/api/LoadingBar.json +8 -3
  7. package/dist/api/Morph.json +14 -7
  8. package/dist/api/Mutation.json +1 -1
  9. package/dist/api/Notify.json +41 -27
  10. package/dist/api/QAjaxBar.json +6 -3
  11. package/dist/api/QBreadcrumbs.json +8 -4
  12. package/dist/api/QBreadcrumbsEl.json +35 -12
  13. package/dist/api/QBtn.json +36 -17
  14. package/dist/api/QBtnDropdown.json +41 -20
  15. package/dist/api/QBtnToggle.json +7 -2
  16. package/dist/api/QCard.json +2 -1
  17. package/dist/api/QCardActions.json +2 -1
  18. package/dist/api/QCardSection.json +2 -1
  19. package/dist/api/QCarousel.json +10 -5
  20. package/dist/api/QCarouselControl.json +4 -2
  21. package/dist/api/QChatMessage.json +0 -4
  22. package/dist/api/QCheckbox.json +8 -4
  23. package/dist/api/QChip.json +2 -1
  24. package/dist/api/QCircularProgress.json +14 -7
  25. package/dist/api/QColor.json +6 -3
  26. package/dist/api/QDate.json +33 -5
  27. package/dist/api/QDialog.json +8 -4
  28. package/dist/api/QDrawer.json +10 -5
  29. package/dist/api/QEditor.json +10 -5
  30. package/dist/api/QExpansionItem.json +36 -13
  31. package/dist/api/QFab.json +41 -6
  32. package/dist/api/QFabAction.json +12 -2
  33. package/dist/api/QField.json +3 -1
  34. package/dist/api/QFile.json +8 -2
  35. package/dist/api/QFooter.json +2 -1
  36. package/dist/api/QForm.json +1 -1
  37. package/dist/api/QHeader.json +4 -2
  38. package/dist/api/QIcon.json +2 -1
  39. package/dist/api/QImg.json +8 -4
  40. package/dist/api/QInfiniteScroll.json +6 -3
  41. package/dist/api/QInnerLoading.json +8 -4
  42. package/dist/api/QInput.json +3 -1
  43. package/dist/api/QIntersection.json +4 -2
  44. package/dist/api/QItem.json +33 -11
  45. package/dist/api/QKnob.json +8 -4
  46. package/dist/api/QLayout.json +9 -1
  47. package/dist/api/QLinearProgress.json +4 -2
  48. package/dist/api/QMarkupTable.json +2 -1
  49. package/dist/api/QMenu.json +8 -4
  50. package/dist/api/QNoSsr.json +2 -1
  51. package/dist/api/QOptionGroup.json +76 -5
  52. package/dist/api/QPage.json +2 -1
  53. package/dist/api/QPageScroller.json +8 -4
  54. package/dist/api/QPageSticky.json +2 -1
  55. package/dist/api/QPagination.json +10 -6
  56. package/dist/api/QParallax.json +2 -1
  57. package/dist/api/QPopupEdit.json +5 -2
  58. package/dist/api/QPopupProxy.json +7 -4
  59. package/dist/api/QRange.json +600 -111
  60. package/dist/api/QRating.json +5 -2
  61. package/dist/api/QResizeObserver.json +4 -1
  62. package/dist/api/QRouteTab.json +35 -13
  63. package/dist/api/QScrollArea.json +29 -6
  64. package/dist/api/QScrollObserver.json +13 -1
  65. package/dist/api/QSelect.json +76 -47
  66. package/dist/api/QSeparator.json +2 -1
  67. package/dist/api/QSkeleton.json +8 -4
  68. package/dist/api/QSlideItem.json +9 -0
  69. package/dist/api/QSlideTransition.json +2 -1
  70. package/dist/api/QSlider.json +512 -43
  71. package/dist/api/QSpinner.json +2 -1
  72. package/dist/api/QSplitter.json +4 -2
  73. package/dist/api/QStep.json +2 -1
  74. package/dist/api/QStepper.json +6 -3
  75. package/dist/api/QTab.json +4 -2
  76. package/dist/api/QTabPanels.json +6 -3
  77. package/dist/api/QTable.json +154 -88
  78. package/dist/api/QTabs.json +4 -2
  79. package/dist/api/QTime.json +16 -4
  80. package/dist/api/QTimeline.json +4 -2
  81. package/dist/api/QTimelineEntry.json +4 -2
  82. package/dist/api/QToggle.json +8 -4
  83. package/dist/api/QTooltip.json +18 -9
  84. package/dist/api/QTree.json +34 -19
  85. package/dist/api/QUploader.json +28 -6
  86. package/dist/api/QVirtualScroll.json +26 -11
  87. package/dist/api/ScrollFire.json +1 -1
  88. package/dist/api/TouchHold.json +2 -1
  89. package/dist/api/TouchRepeat.json +2 -1
  90. package/dist/api/TouchSwipe.json +2 -1
  91. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  94. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  95. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  96. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  97. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  98. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  101. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  102. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
  111. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  112. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  113. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  120. package/dist/icon-set/themify.umd.prod.js +1 -1
  121. package/dist/lang/ar.umd.prod.js +1 -1
  122. package/dist/lang/az-Latn.umd.prod.js +1 -1
  123. package/dist/lang/bg.umd.prod.js +1 -1
  124. package/dist/lang/bn.umd.prod.js +1 -1
  125. package/dist/lang/ca.umd.prod.js +1 -1
  126. package/dist/lang/cs.umd.prod.js +1 -1
  127. package/dist/lang/da.umd.prod.js +1 -1
  128. package/dist/lang/de.umd.prod.js +1 -1
  129. package/dist/lang/el.umd.prod.js +1 -1
  130. package/dist/lang/en-GB.umd.prod.js +1 -1
  131. package/dist/lang/en-US.umd.prod.js +1 -1
  132. package/dist/lang/eo.umd.prod.js +1 -1
  133. package/dist/lang/es.umd.prod.js +1 -1
  134. package/dist/lang/et.umd.prod.js +1 -1
  135. package/dist/lang/fa-IR.umd.prod.js +1 -1
  136. package/dist/lang/fa.umd.prod.js +1 -1
  137. package/dist/lang/fi.umd.prod.js +1 -1
  138. package/dist/lang/fr.umd.prod.js +1 -1
  139. package/dist/lang/gn.umd.prod.js +1 -1
  140. package/dist/lang/he.umd.prod.js +1 -1
  141. package/dist/lang/hr.umd.prod.js +1 -1
  142. package/dist/lang/hu.umd.prod.js +1 -1
  143. package/dist/lang/id.umd.prod.js +1 -1
  144. package/dist/lang/is.umd.prod.js +1 -1
  145. package/dist/lang/it.umd.prod.js +1 -1
  146. package/dist/lang/ja.umd.prod.js +1 -1
  147. package/dist/lang/km.umd.prod.js +1 -1
  148. package/dist/lang/ko-KR.umd.prod.js +1 -1
  149. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  150. package/dist/lang/lt.umd.prod.js +1 -1
  151. package/dist/lang/lu.umd.prod.js +1 -1
  152. package/dist/lang/lv.umd.prod.js +1 -1
  153. package/dist/lang/ml.umd.prod.js +1 -1
  154. package/dist/lang/ms.umd.prod.js +1 -1
  155. package/dist/lang/nb-NO.umd.prod.js +1 -1
  156. package/dist/lang/nl.umd.prod.js +1 -1
  157. package/dist/lang/pl.umd.prod.js +1 -1
  158. package/dist/lang/pt-BR.umd.prod.js +1 -1
  159. package/dist/lang/pt.umd.prod.js +1 -1
  160. package/dist/lang/ro.umd.prod.js +1 -1
  161. package/dist/lang/ru.umd.prod.js +1 -1
  162. package/dist/lang/sk.umd.prod.js +1 -1
  163. package/dist/lang/sl.umd.prod.js +1 -1
  164. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  165. package/dist/lang/sr.umd.prod.js +1 -1
  166. package/dist/lang/sv.umd.prod.js +1 -1
  167. package/dist/lang/ta.umd.prod.js +1 -1
  168. package/dist/lang/th.umd.prod.js +1 -1
  169. package/dist/lang/tr.umd.prod.js +1 -1
  170. package/dist/lang/ug.umd.prod.js +1 -1
  171. package/dist/lang/uk.umd.prod.js +1 -1
  172. package/dist/lang/vi.umd.prod.js +1 -1
  173. package/dist/lang/zh-CN.umd.prod.js +1 -1
  174. package/dist/lang/zh-TW.umd.prod.js +1 -1
  175. package/dist/quasar.cjs.prod.js +2 -2
  176. package/dist/quasar.css +268 -184
  177. package/dist/quasar.esm.prod.js +2 -2
  178. package/dist/quasar.prod.css +1 -1
  179. package/dist/quasar.rtl.css +340 -263
  180. package/dist/quasar.rtl.prod.css +1 -1
  181. package/dist/quasar.sass +272 -212
  182. package/dist/quasar.umd.js +16532 -16216
  183. package/dist/quasar.umd.prod.js +2 -2
  184. package/dist/ssr-directives/Morph.js +1 -1
  185. package/dist/transforms/loader-asset-urls.json +20 -0
  186. package/dist/types/api/cookies.d.ts +1 -1
  187. package/dist/types/api/slider.d.ts +46 -0
  188. package/dist/types/api/validation.d.ts +4 -0
  189. package/dist/types/api.d.ts +2 -0
  190. package/dist/types/composables.d.ts +7 -3
  191. package/dist/types/extras/icon-set.d.ts +1 -0
  192. package/dist/types/index.d.ts +759 -177
  193. package/dist/vetur/quasar-attributes.json +251 -83
  194. package/dist/vetur/quasar-tags.json +59 -17
  195. package/dist/web-types/web-types.json +587 -155
  196. package/icon-set/svg-ionicons-v6.js +225 -0
  197. package/package.json +2 -2
  198. package/src/api.extends.json +0 -1
  199. package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
  200. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  201. package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
  202. package/src/components/btn/QBtn.js +6 -5
  203. package/src/components/btn/use-btn.js +21 -21
  204. package/src/components/btn/use-btn.json +22 -13
  205. package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
  206. package/src/components/btn-toggle/QBtnToggle.json +3 -0
  207. package/src/components/checkbox/use-checkbox.js +1 -1
  208. package/src/components/chip/QChip.json +1 -2
  209. package/src/components/color/QColor.js +32 -26
  210. package/src/components/color/QColor.sass +10 -23
  211. package/src/components/date/QDate.json +25 -1
  212. package/src/components/date/QDate.sass +2 -0
  213. package/src/components/drawer/QDrawer.js +18 -15
  214. package/src/components/editor/QEditor.js +3 -3
  215. package/src/components/editor/QEditor.sass +10 -1
  216. package/src/components/expansion-item/QExpansionItem.js +4 -1
  217. package/src/components/expansion-item/QExpansionItem.json +2 -1
  218. package/src/components/fab/QFab.js +18 -12
  219. package/src/components/fab/QFab.json +36 -1
  220. package/src/components/fab/QFab.sass +1 -1
  221. package/src/components/fab/QFabAction.js +14 -7
  222. package/src/components/fab/QFabAction.json +10 -0
  223. package/src/components/field/QField.json +3 -3
  224. package/src/components/file/QFile.js +12 -5
  225. package/src/components/file/QFile.json +9 -6
  226. package/src/components/file/QFile.sass +4 -2
  227. package/src/components/footer/QFooter.js +1 -1
  228. package/src/components/form/QForm.json +2 -3
  229. package/src/components/header/QHeader.js +1 -1
  230. package/src/components/icon/QIcon.js +2 -2
  231. package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
  232. package/src/components/item/QItem.js +2 -3
  233. package/src/components/layout/QLayout.json +8 -1
  234. package/src/components/linear-progress/QLinearProgress.js +3 -2
  235. package/src/components/linear-progress/QLinearProgress.sass +1 -1
  236. package/src/components/option-group/QOptionGroup.js +3 -0
  237. package/src/components/option-group/QOptionGroup.json +48 -2
  238. package/src/components/pagination/QPagination.json +0 -1
  239. package/src/components/parallax/QParallax.js +4 -2
  240. package/src/components/popup-edit/QPopupEdit.js +2 -5
  241. package/src/components/popup-edit/QPopupEdit.json +1 -0
  242. package/src/components/popup-proxy/QPopupProxy.json +2 -1
  243. package/src/components/radio/QRadio.js +2 -7
  244. package/src/components/range/QRange.js +103 -222
  245. package/src/components/range/QRange.json +11 -121
  246. package/src/components/rating/QRating.json +1 -1
  247. package/src/components/resize-observer/QResizeObserver.json +2 -0
  248. package/src/components/scroll-area/QScrollArea.js +11 -14
  249. package/src/components/scroll-area/QScrollArea.json +29 -9
  250. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  251. package/src/components/select/QSelect.js +1 -1
  252. package/src/components/select/QSelect.json +41 -15
  253. package/src/components/slide-item/QSlideItem.json +9 -0
  254. package/src/components/slider/QSlider.js +46 -132
  255. package/src/components/slider/QSlider.json +1 -121
  256. package/src/components/slider/QSlider.sass +198 -132
  257. package/src/components/slider/use-slider.js +453 -109
  258. package/src/components/slider/use-slider.json +546 -0
  259. package/src/components/stepper/QStepper.js +3 -3
  260. package/src/components/stepper/QStepper.sass +24 -26
  261. package/src/components/table/QTable.js +27 -47
  262. package/src/components/table/QTable.json +104 -55
  263. package/src/components/table/table-pagination.js +4 -0
  264. package/src/components/tabs/QRouteTab.js +1 -2
  265. package/src/components/tabs/QRouteTab.json +0 -7
  266. package/src/components/tabs/QTabs.js +71 -20
  267. package/src/components/tabs/use-tab.js +26 -13
  268. package/src/components/time/QTime.json +8 -0
  269. package/src/components/tree/QTree.js +14 -12
  270. package/src/components/tree/QTree.json +26 -21
  271. package/src/components/tree/QTree.sass +45 -41
  272. package/src/components/uploader/QUploader.json +14 -2
  273. package/src/components/uploader/uploader-core.js +16 -9
  274. package/src/components/uploader/xhr-uploader-plugin.json +8 -3
  275. package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
  276. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  277. package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
  278. package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
  279. package/src/composables/private/use-field.js +7 -7
  280. package/src/composables/private/use-file.js +20 -5
  281. package/src/composables/private/use-form.js +2 -3
  282. package/src/composables/private/use-fullscreen.js +15 -4
  283. package/src/composables/private/use-router-link.js +44 -23
  284. package/src/composables/private/use-router-link.json +26 -10
  285. package/src/composables/private/use-split-attrs.js +12 -9
  286. package/src/composables/private/use-validate.js +21 -15
  287. package/src/composables/private/use-validate.json +1 -0
  288. package/src/composables/use-dialog-plugin-component.js +1 -0
  289. package/src/css/core/helpers.sass +3 -0
  290. package/src/css/core/positioning.sass +5 -0
  291. package/src/directives/Mutation.json +2 -3
  292. package/src/directives/ScrollFire.js +1 -0
  293. package/src/directives/ScrollFire.json +2 -3
  294. package/src/icon-set.js +2 -4
  295. package/src/plugins/AppFullscreen.js +70 -53
  296. package/src/plugins/AppFullscreen.json +8 -8
  297. package/src/plugins/AppVisibility.js +2 -3
  298. package/src/plugins/BottomSheet.js +3 -5
  299. package/src/plugins/Cookies.json +2 -2
  300. package/src/plugins/Dialog.js +3 -5
  301. package/src/plugins/Dialog.json +6 -5
  302. package/src/plugins/LoadingBar.js +17 -18
  303. package/src/plugins/LoadingBar.json +4 -3
  304. package/src/plugins/Notify.js +296 -295
  305. package/src/plugins/Notify.json +13 -19
  306. package/src/plugins/Platform.js +14 -14
  307. package/src/utils/date.js +4 -4
  308. package/src/utils/dom.js +2 -2
  309. package/src/utils/open-url.js +2 -2
  310. package/src/utils/patterns.js +1 -0
  311. package/src/utils/private/define-reactive-plugin.js +10 -8
  312. package/src/utils/private/global-dialog.js +6 -8
  313. package/src/utils/private/global-dialog.json +6 -0
  314. package/src/utils/private/inject-obj-prop.js +13 -0
  315. package/src/utils/private/is.js +2 -2
@@ -46,7 +46,8 @@
46
46
  "examples": [
47
47
  "right"
48
48
  ],
49
- "category": "content"
49
+ "category": "content",
50
+ "required": false
50
51
  },
51
52
  "breakpoint": {
52
53
  "type": [
@@ -58,7 +59,8 @@
58
59
  "examples": [
59
60
  ":breakpoint=\"500\""
60
61
  ],
61
- "category": "content|behavior"
62
+ "category": "content|behavior",
63
+ "required": false
62
64
  },
63
65
  "active-color": {
64
66
  "type": "String",
@@ -26,7 +26,8 @@
26
26
  "HH:mm:ss",
27
27
  "YYYY-MM-DD HH:mm:ss",
28
28
  "HH:mm MMMM Do, YYYY"
29
- ]
29
+ ],
30
+ "required": false
30
31
  },
31
32
  "locale": {
32
33
  "type": "Object",
@@ -74,7 +75,8 @@
74
75
  "gregorian",
75
76
  "persian"
76
77
  ],
77
- "category": "model"
78
+ "category": "model",
79
+ "required": false
78
80
  },
79
81
  "color": {
80
82
  "type": "String",
@@ -141,7 +143,8 @@
141
143
  "type": "Boolean",
142
144
  "desc": "Forces 24 hour time display instead of AM/PM system",
143
145
  "default": "(based on Quasar lang language being used)",
144
- "category": "behavior"
146
+ "category": "behavior",
147
+ "required": false
145
148
  },
146
149
  "default-date": {
147
150
  "type": "String",
@@ -150,7 +153,8 @@
150
153
  "examples": [
151
154
  "1995/02/23"
152
155
  ],
153
- "category": "model"
156
+ "category": "model",
157
+ "required": false
154
158
  },
155
159
  "options": {
156
160
  "type": "Function",
@@ -242,34 +246,42 @@
242
246
  "definition": {
243
247
  "year": {
244
248
  "type": "Number",
249
+ "required": true,
245
250
  "desc": "The year"
246
251
  },
247
252
  "month": {
248
253
  "type": "Number",
254
+ "required": true,
249
255
  "desc": "The month"
250
256
  },
251
257
  "day": {
252
258
  "type": "Number",
259
+ "required": true,
253
260
  "desc": "The day of the month"
254
261
  },
255
262
  "hour": {
256
263
  "type": "Number",
264
+ "required": true,
257
265
  "desc": "The hour"
258
266
  },
259
267
  "minute": {
260
268
  "type": "Number",
269
+ "required": true,
261
270
  "desc": "The minute"
262
271
  },
263
272
  "second": {
264
273
  "type": "Number",
274
+ "required": true,
265
275
  "desc": "The second"
266
276
  },
267
277
  "millisecond": {
268
278
  "type": "Number",
279
+ "required": true,
269
280
  "desc": "The millisecond"
270
281
  },
271
282
  "changed": {
272
283
  "type": "Boolean",
284
+ "required": true,
273
285
  "desc": "Did the model change?"
274
286
  }
275
287
  }
@@ -21,7 +21,8 @@
21
21
  "left",
22
22
  "right"
23
23
  ],
24
- "category": "behavior"
24
+ "category": "behavior",
25
+ "required": false
25
26
  },
26
27
  "layout": {
27
28
  "type": "String",
@@ -32,7 +33,8 @@
32
33
  "comfortable",
33
34
  "loose"
34
35
  ],
35
- "category": "behavior"
36
+ "category": "behavior",
37
+ "required": false
36
38
  },
37
39
  "dark": {
38
40
  "type": "Boolean",
@@ -18,7 +18,8 @@
18
18
  "h1"
19
19
  ],
20
20
  "category": "content",
21
- "default": "h3"
21
+ "default": "h3",
22
+ "required": false
22
23
  },
23
24
  "side": {
24
25
  "type": "String",
@@ -28,7 +29,8 @@
28
29
  "left",
29
30
  "right"
30
31
  ],
31
- "category": "behavior"
32
+ "category": "behavior",
33
+ "required": false
32
34
  },
33
35
  "icon": {
34
36
  "type": "String",
@@ -51,7 +51,8 @@
51
51
  "examples": [
52
52
  "Agreed"
53
53
  ],
54
- "category": "model"
54
+ "category": "model",
55
+ "required": false
55
56
  },
56
57
  "false-value": {
57
58
  "type": "Any",
@@ -60,7 +61,8 @@
60
61
  "examples": [
61
62
  "Disagree"
62
63
  ],
63
- "category": "model"
64
+ "category": "model",
65
+ "required": false
64
66
  },
65
67
  "indeterminate-value": {
66
68
  "type": "Any",
@@ -70,7 +72,8 @@
70
72
  0,
71
73
  "not_answered"
72
74
  ],
73
- "category": "behavior"
75
+ "category": "behavior",
76
+ "required": false
74
77
  },
75
78
  "toggle-order": {
76
79
  "type": "String",
@@ -80,7 +83,8 @@
80
83
  "tf",
81
84
  "ft"
82
85
  ],
83
- "category": "behavior"
86
+ "category": "behavior",
87
+ "required": false
84
88
  },
85
89
  "toggle-indeterminate": {
86
90
  "type": "Boolean",
@@ -12,7 +12,8 @@
12
12
  "slide-down"
13
13
  ],
14
14
  "category": "transition",
15
- "default": "jump-down"
15
+ "default": "jump-down",
16
+ "required": false
16
17
  },
17
18
  "transition-hide": {
18
19
  "type": "String",
@@ -22,7 +23,8 @@
22
23
  "slide-down"
23
24
  ],
24
25
  "category": "transition",
25
- "default": "jump-up"
26
+ "default": "jump-up",
27
+ "required": false
26
28
  },
27
29
  "transition-duration": {
28
30
  "type": [
@@ -35,7 +37,8 @@
35
37
  500,
36
38
  "1200"
37
39
  ],
38
- "category": "transition"
40
+ "category": "transition",
41
+ "required": false
39
42
  },
40
43
  "model-value": {
41
44
  "type": "Boolean",
@@ -85,7 +88,8 @@
85
88
  "top left",
86
89
  "bottom right"
87
90
  ],
88
- "category": "position"
91
+ "category": "position",
92
+ "required": false
89
93
  },
90
94
  "self": {
91
95
  "type": "String",
@@ -112,7 +116,8 @@
112
116
  "top left",
113
117
  "bottom right"
114
118
  ],
115
- "category": "position"
119
+ "category": "position",
120
+ "required": false
116
121
  },
117
122
  "offset": {
118
123
  "type": "Array",
@@ -122,7 +127,8 @@
122
127
  "[8, 8]",
123
128
  "[5, 10]"
124
129
  ],
125
- "category": "position"
130
+ "category": "position",
131
+ "required": false
126
132
  },
127
133
  "scroll-target": {
128
134
  "type": [
@@ -154,7 +160,8 @@
154
160
  ":target=\"false\"",
155
161
  "target=\".my-parent\""
156
162
  ],
157
- "category": "behavior"
163
+ "category": "behavior",
164
+ "required": false
158
165
  },
159
166
  "no-parent-event": {
160
167
  "type": "Boolean",
@@ -168,7 +175,8 @@
168
175
  "examples": [
169
176
  ":delay=\"550\""
170
177
  ],
171
- "category": "behavior"
178
+ "category": "behavior",
179
+ "required": false
172
180
  },
173
181
  "hide-delay": {
174
182
  "type": "Number",
@@ -177,7 +185,8 @@
177
185
  "examples": [
178
186
  ":hide-delay=\"650\""
179
187
  ],
180
- "category": "behavior"
188
+ "category": "behavior",
189
+ "required": false
181
190
  }
182
191
  },
183
192
  "slots": {
@@ -31,7 +31,8 @@
31
31
  "name",
32
32
  "description"
33
33
  ],
34
- "category": "content"
34
+ "category": "content",
35
+ "required": false
35
36
  },
36
37
  "children-key": {
37
38
  "type": "String",
@@ -41,7 +42,8 @@
41
42
  "roles",
42
43
  "relatives"
43
44
  ],
44
- "category": "content"
45
+ "category": "content",
46
+ "required": false
45
47
  },
46
48
  "no-connectors": {
47
49
  "type": "Boolean",
@@ -116,7 +118,8 @@
116
118
  "leaf",
117
119
  "leaf-filtered"
118
120
  ],
119
- "category": "behavior"
121
+ "category": "behavior",
122
+ "required": false
120
123
  },
121
124
  "ticked": {
122
125
  "type": "Array",
@@ -181,7 +184,8 @@
181
184
  "type": "Boolean",
182
185
  "desc": "Matches or not"
183
186
  },
184
- "category": "filter"
187
+ "category": "filter",
188
+ "required": false
185
189
  },
186
190
  "duration": {
187
191
  "type": "Number",
@@ -190,7 +194,8 @@
190
194
  "examples": [
191
195
  ":duration=\"500\""
192
196
  ],
193
- "category": "style"
197
+ "category": "style",
198
+ "required": false
194
199
  },
195
200
  "no-nodes-label": {
196
201
  "type": "String",
@@ -224,7 +229,8 @@
224
229
  "reactive": true
225
230
  },
226
231
  "tree": {
227
- "type": "Object",
232
+ "type": "Component",
233
+ "tsType": "QTree",
228
234
  "desc": "QTree instance"
229
235
  },
230
236
  "node": {
@@ -262,7 +268,8 @@
262
268
  "reactive": true
263
269
  },
264
270
  "tree": {
265
- "type": "Object",
271
+ "type": "Component",
272
+ "tsType": "QTree",
266
273
  "desc": "QTree instance"
267
274
  },
268
275
  "node": {
@@ -300,7 +307,8 @@
300
307
  "reactive": true
301
308
  },
302
309
  "tree": {
303
- "type": "Object",
310
+ "type": "Component",
311
+ "tsType": "QTree",
304
312
  "desc": "QTree instance"
305
313
  },
306
314
  "node": {
@@ -338,7 +346,8 @@
338
346
  "reactive": true
339
347
  },
340
348
  "tree": {
341
- "type": "Object",
349
+ "type": "Component",
350
+ "tsType": "QTree",
342
351
  "desc": "QTree instance"
343
352
  },
344
353
  "node": {
@@ -385,10 +394,12 @@
385
394
  "definition": {
386
395
  "node": {
387
396
  "type": "Object",
397
+ "required": true,
388
398
  "desc": "The node to which the new nodes (the children) will be appended"
389
399
  },
390
400
  "key": {
391
401
  "type": "String",
402
+ "required": true,
392
403
  "desc": "The key of the node getting the newly loaded child nodes",
393
404
  "examples": [
394
405
  "New Node"
@@ -396,17 +407,21 @@
396
407
  },
397
408
  "done": {
398
409
  "type": "Function",
410
+ "required": true,
399
411
  "desc": "The callback to be carried out when the loading is successful",
400
412
  "params": {
401
413
  "children": {
402
414
  "type": "Array",
403
- "desc": "Array of nodes"
415
+ "desc": "Array of nodes",
416
+ "default": "[]",
417
+ "required": false
404
418
  }
405
419
  },
406
420
  "returns": null
407
421
  },
408
422
  "fail": {
409
423
  "type": "Function",
424
+ "required": true,
410
425
  "desc": "The callback to be carried out should the loading fails",
411
426
  "params": null,
412
427
  "returns": null
@@ -452,8 +467,8 @@
452
467
  "params": {
453
468
  "key": {
454
469
  "type": "Any",
455
- "desc": "The key of a node",
456
470
  "required": true,
471
+ "desc": "The key of a node",
457
472
  "examples": [
458
473
  "Node 1"
459
474
  ]
@@ -483,8 +498,8 @@
483
498
  "params": {
484
499
  "key": {
485
500
  "type": "Any",
486
- "desc": "The key of a node",
487
501
  "required": true,
502
+ "desc": "The key of a node",
488
503
  "examples": [
489
504
  "Node 1"
490
505
  ]
@@ -506,16 +521,16 @@
506
521
  "params": {
507
522
  "key": {
508
523
  "type": "Any",
509
- "desc": "The key of a node",
510
524
  "required": true,
525
+ "desc": "The key of a node",
511
526
  "examples": [
512
527
  "Node 1"
513
528
  ]
514
529
  },
515
530
  "state": {
516
531
  "type": "Boolean",
517
- "desc": "Set to 'true' to expand the branch of the tree, otherwise 'false' collapses it",
518
- "required": true
532
+ "required": true,
533
+ "desc": "Set to 'true' to expand the branch of the tree, otherwise 'false' collapses it"
519
534
  }
520
535
  }
521
536
  },
@@ -524,8 +539,8 @@
524
539
  "params": {
525
540
  "key": {
526
541
  "type": "Any",
527
- "desc": "The key of a node",
528
542
  "required": true,
543
+ "desc": "The key of a node",
529
544
  "examples": [
530
545
  "Node 1"
531
546
  ]
@@ -541,16 +556,16 @@
541
556
  "params": {
542
557
  "keys": {
543
558
  "type": "Array",
544
- "desc": "The keys of nodes to tick/untick",
545
559
  "required": true,
560
+ "desc": "The keys of nodes to tick/untick",
546
561
  "examples": [
547
562
  "[ 'Node 1', 'Node 2' ]"
548
563
  ]
549
564
  },
550
565
  "state": {
551
566
  "type": "Boolean",
552
- "desc": "Set to 'true' to tick the checkbox of nodes, otherwise 'false' unticks them",
553
- "required": true
567
+ "required": true,
568
+ "desc": "Set to 'true' to tick the checkbox of nodes, otherwise 'false' unticks them"
554
569
  }
555
570
  }
556
571
  }
@@ -69,7 +69,8 @@
69
69
  "type": "String",
70
70
  "desc": "HTTP method to use for upload"
71
71
  },
72
- "category": "upload"
72
+ "category": "upload",
73
+ "required": false
73
74
  },
74
75
  "field-name": {
75
76
  "type": [
@@ -92,7 +93,8 @@
92
93
  "type": "String",
93
94
  "desc": "Field name for the current file upload"
94
95
  },
95
- "category": "upload"
96
+ "category": "upload",
97
+ "required": false
96
98
  },
97
99
  "headers": {
98
100
  "type": [
@@ -398,10 +400,24 @@
398
400
  },
399
401
  "slots": {
400
402
  "header": {
401
- "desc": "Slot for custom header; Scope is the QUploader instance itself"
403
+ "desc": "Slot for custom header; Scope is the QUploader instance itself",
404
+ "scope": {
405
+ "...self": {
406
+ "type": "Component",
407
+ "tsType": "QUploader",
408
+ "desc": "QUploader instance"
409
+ }
410
+ }
402
411
  },
403
412
  "list": {
404
- "desc": "Slot for custom list; Scope is the QUploader instance itself"
413
+ "desc": "Slot for custom list; Scope is the QUploader instance itself",
414
+ "scope": {
415
+ "...self": {
416
+ "type": "Component",
417
+ "tsType": "QUploader",
418
+ "desc": "QUploader instance"
419
+ }
420
+ }
405
421
  }
406
422
  },
407
423
  "events": {
@@ -414,10 +430,12 @@
414
430
  "definition": {
415
431
  "files": {
416
432
  "type": "Array",
433
+ "required": true,
417
434
  "desc": "Uploaded files"
418
435
  },
419
436
  "xhr": {
420
437
  "type": "Object",
438
+ "required": true,
421
439
  "desc": "XMLHttpRequest that has been used to upload this batch of files"
422
440
  }
423
441
  }
@@ -433,10 +451,12 @@
433
451
  "definition": {
434
452
  "files": {
435
453
  "type": "Array",
454
+ "required": true,
436
455
  "desc": "Files which encountered error"
437
456
  },
438
457
  "xhr": {
439
458
  "type": "Object",
459
+ "required": true,
440
460
  "desc": "XMLHttpRequest that has been used to upload this batch of files"
441
461
  }
442
462
  }
@@ -452,10 +472,12 @@
452
472
  "definition": {
453
473
  "files": {
454
474
  "type": "Array",
475
+ "required": true,
455
476
  "desc": "Files which are now uploading"
456
477
  },
457
478
  "xhr": {
458
479
  "type": "Object",
480
+ "required": true,
459
481
  "desc": "XMLHttpRequest used for uploading"
460
482
  }
461
483
  }
@@ -466,8 +488,8 @@
466
488
  "desc": "Emitted when factory function is supplied with a Promise which is rejected",
467
489
  "params": {
468
490
  "err": {
469
- "type": "Object",
470
- "desc": "Error Object which is the Promise rejection reason"
491
+ "type": "Error",
492
+ "desc": "Error object which is the Promise rejection reason"
471
493
  },
472
494
  "files": {
473
495
  "type": "Array",
@@ -19,7 +19,8 @@
19
19
  "examples": [
20
20
  "virtual-scroll-slice-size=\"60\""
21
21
  ],
22
- "category": "virtual-scroll"
22
+ "category": "virtual-scroll",
23
+ "required": false
23
24
  },
24
25
  "virtual-scroll-slice-ratio-before": {
25
26
  "type": [
@@ -31,7 +32,8 @@
31
32
  "examples": [
32
33
  "virtual-scroll-slice-ratio-before=\"0.3\""
33
34
  ],
34
- "category": "virtual-scroll"
35
+ "category": "virtual-scroll",
36
+ "required": false
35
37
  },
36
38
  "virtual-scroll-slice-ratio-after": {
37
39
  "type": [
@@ -43,7 +45,8 @@
43
45
  "examples": [
44
46
  "virtual-scroll-slice-ratio-after=\"2\""
45
47
  ],
46
- "category": "virtual-scroll"
48
+ "category": "virtual-scroll",
49
+ "required": false
47
50
  },
48
51
  "virtual-scroll-item-size": {
49
52
  "type": [
@@ -55,7 +58,8 @@
55
58
  "examples": [
56
59
  "virtual-scroll-item-size=\"48\""
57
60
  ],
58
- "category": "virtual-scroll"
61
+ "category": "virtual-scroll",
62
+ "required": false
59
63
  },
60
64
  "virtual-scroll-sticky-size-start": {
61
65
  "type": [
@@ -67,7 +71,8 @@
67
71
  "examples": [
68
72
  "virtual-scroll-sticky-size-start=\"48\""
69
73
  ],
70
- "category": "virtual-scroll"
74
+ "category": "virtual-scroll",
75
+ "required": false
71
76
  },
72
77
  "virtual-scroll-sticky-size-end": {
73
78
  "type": [
@@ -79,7 +84,8 @@
79
84
  "examples": [
80
85
  "virtual-scroll-sticky-size-end=\"48\""
81
86
  ],
82
- "category": "virtual-scroll"
87
+ "category": "virtual-scroll",
88
+ "required": false
83
89
  },
84
90
  "table-colspan": {
85
91
  "type": [
@@ -100,7 +106,8 @@
100
106
  "list",
101
107
  "table"
102
108
  ],
103
- "category": "content"
109
+ "category": "content",
110
+ "required": false
104
111
  },
105
112
  "items": {
106
113
  "type": "Array",
@@ -110,7 +117,8 @@
110
117
  ":items=\"[ 'BMW', 'Samsung Phone' ]\"",
111
118
  ":items=\"[ { label: 'BMW', value: 'car' }, { label: 'Samsung Phone', value: 'phone' } ]\""
112
119
  ],
113
- "category": "content"
120
+ "category": "content",
121
+ "required": false
114
122
  },
115
123
  "items-size": {
116
124
  "type": "Number",
@@ -120,7 +128,8 @@
120
128
  ":items-size=\"100000\"",
121
129
  ":items-size=\"500\""
122
130
  ],
123
- "category": "content"
131
+ "category": "content",
132
+ "required": false
124
133
  },
125
134
  "items-fn": {
126
135
  "type": "Function",
@@ -199,6 +208,7 @@
199
208
  "definition": {
200
209
  "index": {
201
210
  "type": "Number",
211
+ "required": true,
202
212
  "desc": "Index of the list item that was scrolled into view (0 based)",
203
213
  "examples": [
204
214
  30
@@ -206,6 +216,7 @@
206
216
  },
207
217
  "from": {
208
218
  "type": "Number",
219
+ "required": true,
209
220
  "desc": "The index of the first list item that is rendered (0 based)",
210
221
  "examples": [
211
222
  10
@@ -213,6 +224,7 @@
213
224
  },
214
225
  "to": {
215
226
  "type": "Number",
227
+ "required": true,
216
228
  "desc": "The index of the last list item that is rendered (0 based)",
217
229
  "examples": [
218
230
  50
@@ -220,6 +232,7 @@
220
232
  },
221
233
  "direction": {
222
234
  "type": "String",
235
+ "required": true,
223
236
  "desc": "Direction of change",
224
237
  "values": [
225
238
  "increase",
@@ -227,8 +240,10 @@
227
240
  ]
228
241
  },
229
242
  "ref": {
230
- "type": "Object",
231
- "desc": "Vue reference to the QVirtualList which triggered the event"
243
+ "type": "Component",
244
+ "required": true,
245
+ "desc": "Vue reference to the QVirtualScroll",
246
+ "tsType": "QVirtualScroll"
232
247
  }
233
248
  }
234
249
  }