quasar 2.2.4 → 2.3.3

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 (253) hide show
  1. package/dist/api/AppFullscreen.json +15 -8
  2. package/dist/api/BottomSheet.json +23 -2
  3. package/dist/api/Cookies.json +4 -3
  4. package/dist/api/Dialog.json +40 -11
  5. package/dist/api/Loading.json +4 -2
  6. package/dist/api/LoadingBar.json +8 -3
  7. package/dist/api/LocalStorage.json +8 -0
  8. package/dist/api/Morph.json +14 -7
  9. package/dist/api/Mutation.json +1 -1
  10. package/dist/api/Notify.json +41 -27
  11. package/dist/api/QAjaxBar.json +6 -3
  12. package/dist/api/QBreadcrumbs.json +8 -4
  13. package/dist/api/QBreadcrumbsEl.json +4 -2
  14. package/dist/api/QBtn.json +6 -3
  15. package/dist/api/QBtnDropdown.json +10 -5
  16. package/dist/api/QBtnToggle.json +4 -2
  17. package/dist/api/QCard.json +2 -1
  18. package/dist/api/QCardActions.json +2 -1
  19. package/dist/api/QCardSection.json +2 -1
  20. package/dist/api/QCarousel.json +10 -5
  21. package/dist/api/QCarouselControl.json +4 -2
  22. package/dist/api/QChatMessage.json +8 -4
  23. package/dist/api/QCheckbox.json +8 -4
  24. package/dist/api/QChip.json +2 -1
  25. package/dist/api/QCircularProgress.json +27 -6
  26. package/dist/api/QColor.json +6 -3
  27. package/dist/api/QDate.json +79 -5
  28. package/dist/api/QDialog.json +8 -4
  29. package/dist/api/QDrawer.json +10 -5
  30. package/dist/api/QEditor.json +17 -7
  31. package/dist/api/QExpansionItem.json +2 -1
  32. package/dist/api/QFab.json +8 -4
  33. package/dist/api/QFabAction.json +4 -2
  34. package/dist/api/QField.json +2 -1
  35. package/dist/api/QFile.json +3 -0
  36. package/dist/api/QFooter.json +3 -2
  37. package/dist/api/QHeader.json +5 -3
  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 +2 -1
  43. package/dist/api/QIntersection.json +17 -1
  44. package/dist/api/QItem.json +2 -1
  45. package/dist/api/QKnob.json +8 -4
  46. package/dist/api/QLayout.json +9 -1
  47. package/dist/api/QLinearProgress.json +17 -1
  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 +2 -1
  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 +4 -2
  59. package/dist/api/QRange.json +8 -4
  60. package/dist/api/QRating.json +2 -1
  61. package/dist/api/QResizeObserver.json +4 -1
  62. package/dist/api/QRouteTab.json +5 -26
  63. package/dist/api/QScrollArea.json +29 -4
  64. package/dist/api/QScrollObserver.json +13 -1
  65. package/dist/api/QSelect.json +135 -37
  66. package/dist/api/QSeparator.json +2 -1
  67. package/dist/api/QSkeleton.json +9 -5
  68. package/dist/api/QSlideItem.json +9 -0
  69. package/dist/api/QSlideTransition.json +2 -1
  70. package/dist/api/QSlider.json +8 -4
  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 +216 -93
  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 +26 -15
  85. package/dist/api/QUploader.json +93 -5
  86. package/dist/api/QVirtualScroll.json +23 -9
  87. package/dist/api/ScrollFire.json +1 -1
  88. package/dist/api/SessionStorage.json +8 -0
  89. package/dist/api/TouchHold.json +2 -1
  90. package/dist/api/TouchRepeat.json +2 -1
  91. package/dist/api/TouchSwipe.json +2 -1
  92. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  94. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  95. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  96. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  97. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  98. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  101. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  102. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  105. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  111. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
  112. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  113. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  120. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  121. package/dist/icon-set/themify.umd.prod.js +1 -1
  122. package/dist/lang/ar.umd.prod.js +1 -1
  123. package/dist/lang/az-Latn.umd.prod.js +1 -1
  124. package/dist/lang/bg.umd.prod.js +1 -1
  125. package/dist/lang/bn.umd.prod.js +1 -1
  126. package/dist/lang/ca.umd.prod.js +1 -1
  127. package/dist/lang/cs.umd.prod.js +1 -1
  128. package/dist/lang/da.umd.prod.js +1 -1
  129. package/dist/lang/de.umd.prod.js +1 -1
  130. package/dist/lang/el.umd.prod.js +1 -1
  131. package/dist/lang/en-GB.umd.prod.js +1 -1
  132. package/dist/lang/en-US.umd.prod.js +1 -1
  133. package/dist/lang/eo.umd.prod.js +1 -1
  134. package/dist/lang/es.umd.prod.js +1 -1
  135. package/dist/lang/et.umd.prod.js +1 -1
  136. package/dist/lang/fa-IR.umd.prod.js +1 -1
  137. package/dist/lang/fa.umd.prod.js +1 -1
  138. package/dist/lang/fi.umd.prod.js +1 -1
  139. package/dist/lang/fr.umd.prod.js +1 -1
  140. package/dist/lang/gn.umd.prod.js +1 -1
  141. package/dist/lang/he.umd.prod.js +1 -1
  142. package/dist/lang/hr.umd.prod.js +1 -1
  143. package/dist/lang/hu.umd.prod.js +1 -1
  144. package/dist/lang/id.umd.prod.js +1 -1
  145. package/dist/lang/is.umd.prod.js +1 -1
  146. package/dist/lang/it.umd.prod.js +1 -1
  147. package/dist/lang/ja.umd.prod.js +1 -1
  148. package/dist/lang/km.umd.prod.js +1 -1
  149. package/dist/lang/ko-KR.umd.prod.js +1 -1
  150. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  151. package/dist/lang/lt.umd.prod.js +1 -1
  152. package/dist/lang/lu.umd.prod.js +1 -1
  153. package/dist/lang/lv.umd.prod.js +1 -1
  154. package/dist/lang/ml.umd.prod.js +1 -1
  155. package/dist/lang/ms.umd.prod.js +1 -1
  156. package/dist/lang/nb-NO.umd.prod.js +1 -1
  157. package/dist/lang/nl.umd.prod.js +1 -1
  158. package/dist/lang/pl.umd.prod.js +1 -1
  159. package/dist/lang/pt-BR.umd.prod.js +1 -1
  160. package/dist/lang/pt.umd.prod.js +1 -1
  161. package/dist/lang/ro.umd.prod.js +1 -1
  162. package/dist/lang/ru.umd.prod.js +1 -1
  163. package/dist/lang/sk.umd.prod.js +1 -1
  164. package/dist/lang/sl.umd.prod.js +1 -1
  165. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  166. package/dist/lang/sr.umd.prod.js +1 -1
  167. package/dist/lang/sv.umd.prod.js +1 -1
  168. package/dist/lang/ta.umd.prod.js +1 -1
  169. package/dist/lang/th.umd.prod.js +1 -1
  170. package/dist/lang/tr.umd.prod.js +1 -1
  171. package/dist/lang/ug.umd.prod.js +1 -1
  172. package/dist/lang/uk.umd.prod.js +1 -1
  173. package/dist/lang/vi.umd.prod.js +1 -1
  174. package/dist/lang/zh-CN.umd.prod.js +1 -1
  175. package/dist/lang/zh-TW.umd.prod.js +1 -1
  176. package/dist/quasar.cjs.prod.js +2 -2
  177. package/dist/quasar.css +7 -2
  178. package/dist/quasar.esm.prod.js +2 -2
  179. package/dist/quasar.prod.css +1 -1
  180. package/dist/quasar.rtl.css +7 -2
  181. package/dist/quasar.rtl.prod.css +1 -1
  182. package/dist/quasar.sass +6 -3
  183. package/dist/quasar.umd.js +185 -105
  184. package/dist/quasar.umd.prod.js +2 -2
  185. package/dist/ssr-directives/Morph.js +1 -1
  186. package/dist/types/api/cookies.d.ts +1 -1
  187. package/dist/types/composables.d.ts +5 -1
  188. package/dist/types/extras/icon-set.d.ts +1 -0
  189. package/dist/types/index.d.ts +516 -176
  190. package/dist/vetur/quasar-attributes.json +14 -2
  191. package/dist/vetur/quasar-tags.json +5 -2
  192. package/dist/web-types/web-types.json +43 -8
  193. package/icon-set/svg-ionicons-v6.js +225 -0
  194. package/package.json +5 -2
  195. package/src/api.extends.json +7 -0
  196. package/src/body.js +14 -4
  197. package/src/components/btn/QBtn.js +1 -0
  198. package/src/components/circular-progress/QCircularProgress.js +6 -1
  199. package/src/components/circular-progress/QCircularProgress.json +6 -0
  200. package/src/components/date/QDate.json +59 -1
  201. package/src/components/editor/QEditor.js +2 -2
  202. package/src/components/editor/QEditor.json +6 -2
  203. package/src/components/field/QField.json +3 -3
  204. package/src/components/file/QFile.json +3 -0
  205. package/src/components/footer/QFooter.json +1 -1
  206. package/src/components/header/QHeader.json +1 -1
  207. package/src/components/icon/QIcon.js +1 -1
  208. package/src/components/infinite-scroll/QInfiniteScroll.js +48 -31
  209. package/src/components/intersection/QIntersection.js +9 -1
  210. package/src/components/intersection/QIntersection.json +9 -0
  211. package/src/components/layout/QLayout.json +8 -1
  212. package/src/components/linear-progress/QLinearProgress.js +10 -1
  213. package/src/components/linear-progress/QLinearProgress.json +6 -0
  214. package/src/components/linear-progress/QLinearProgress.sass +3 -2
  215. package/src/components/pagination/QPagination.json +0 -1
  216. package/src/components/popup-edit/QPopupEdit.json +1 -0
  217. package/src/components/popup-proxy/QPopupProxy.js +6 -15
  218. package/src/components/resize-observer/QResizeObserver.json +2 -0
  219. package/src/components/scroll-area/QScrollArea.js +8 -13
  220. package/src/components/scroll-area/QScrollArea.json +28 -4
  221. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  222. package/src/components/select/QSelect.js +7 -3
  223. package/src/components/select/QSelect.json +71 -11
  224. package/src/components/skeleton/QSkeleton.json +1 -4
  225. package/src/components/slide-item/QSlideItem.json +9 -0
  226. package/src/components/slider/use-slider.js +3 -3
  227. package/src/components/table/QTable.json +155 -60
  228. package/src/components/table/table-pagination.js +6 -2
  229. package/src/components/tabs/QRouteTab.json +1 -23
  230. package/src/components/time/QTime.json +8 -0
  231. package/src/components/tree/QTree.json +14 -9
  232. package/src/components/uploader/xhr-uploader-plugin.json +105 -4
  233. package/src/components/virtual-scroll/use-virtual-scroll.js +17 -1
  234. package/src/components/virtual-scroll/use-virtual-scroll.json +5 -0
  235. package/src/composables/private/use-field.js +4 -4
  236. package/src/composables/private/use-refocus-target.js +12 -3
  237. package/src/composables/private/use-split-attrs.js +10 -7
  238. package/src/composables/use-dialog-plugin-component.js +7 -1
  239. package/src/css/core/transitions.sass +3 -1
  240. package/src/directives/Mutation.json +2 -3
  241. package/src/directives/ScrollFire.json +2 -3
  242. package/src/install-quasar.js +1 -0
  243. package/src/plugins/AppFullscreen.json +8 -8
  244. package/src/plugins/Cookies.json +2 -2
  245. package/src/plugins/Dialog.json +4 -2
  246. package/src/plugins/LoadingBar.json +4 -3
  247. package/src/plugins/Notify.json +13 -19
  248. package/src/utils/create-uploader-component.js +6 -4
  249. package/src/utils/private/get-emits-object.js +11 -0
  250. package/src/utils/private/global-dialog.json +16 -2
  251. package/src/utils/private/vm.js +3 -3
  252. package/src/utils/private/web-storage.json +10 -0
  253. package/wrappers/index.js +4 -0
@@ -28,7 +28,8 @@
28
28
  "examples": [
29
29
  "virtual-scroll-slice-size=\"60\""
30
30
  ],
31
- "category": "virtual-scroll"
31
+ "category": "virtual-scroll",
32
+ "required": false
32
33
  },
33
34
  "virtual-scroll-slice-ratio-before": {
34
35
  "type": [
@@ -40,7 +41,8 @@
40
41
  "examples": [
41
42
  "virtual-scroll-slice-ratio-before=\"0.3\""
42
43
  ],
43
- "category": "virtual-scroll"
44
+ "category": "virtual-scroll",
45
+ "required": false
44
46
  },
45
47
  "virtual-scroll-slice-ratio-after": {
46
48
  "type": [
@@ -52,7 +54,8 @@
52
54
  "examples": [
53
55
  "virtual-scroll-slice-ratio-after=\"2\""
54
56
  ],
55
- "category": "virtual-scroll"
57
+ "category": "virtual-scroll",
58
+ "required": false
56
59
  },
57
60
  "virtual-scroll-item-size": {
58
61
  "type": [
@@ -64,7 +67,8 @@
64
67
  "examples": [
65
68
  "virtual-scroll-item-size=\"48\""
66
69
  ],
67
- "category": "virtual-scroll"
70
+ "category": "virtual-scroll",
71
+ "required": false
68
72
  },
69
73
  "virtual-scroll-sticky-size-start": {
70
74
  "type": [
@@ -76,7 +80,8 @@
76
80
  "examples": [
77
81
  "virtual-scroll-sticky-size-start=\"48\""
78
82
  ],
79
- "category": "virtual-scroll"
83
+ "category": "virtual-scroll",
84
+ "required": false
80
85
  },
81
86
  "virtual-scroll-sticky-size-end": {
82
87
  "type": [
@@ -88,7 +93,8 @@
88
93
  "examples": [
89
94
  "virtual-scroll-sticky-size-end=\"48\""
90
95
  ],
91
- "category": "virtual-scroll"
96
+ "category": "virtual-scroll",
97
+ "required": false
92
98
  },
93
99
  "table-colspan": {
94
100
  "type": [
@@ -363,7 +369,8 @@
363
369
  "type": "Boolean",
364
370
  "default": "false",
365
371
  "desc": "Force render the selected option(s) as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'selected' or 'selected-item' slots!",
366
- "category": "selection"
372
+ "category": "selection",
373
+ "required": false
367
374
  },
368
375
  "options": {
369
376
  "type": "Array",
@@ -373,7 +380,8 @@
373
380
  ":options=\"[ 'BMW', 'Samsung Phone' ]\"",
374
381
  ":options=\"[ { label: 'BMW', value: 'car' }, { label: 'Samsung Phone', value: 'phone' } ]\""
375
382
  ],
376
- "category": "options"
383
+ "category": "options",
384
+ "required": false
377
385
  },
378
386
  "option-value": {
379
387
  "type": [
@@ -382,11 +390,34 @@
382
390
  ],
383
391
  "desc": "Property of option which holds the 'value'; If using a function then for best performance, reference it from your scope and do not define it inline",
384
392
  "default": "value",
393
+ "params": {
394
+ "option": {
395
+ "type": [
396
+ "String",
397
+ "Object"
398
+ ],
399
+ "desc": "The current option being processed",
400
+ "examples": [
401
+ "'BMW'",
402
+ "'Samsung Phone'",
403
+ "{ label: 'BMW', value: 'car', cannotSelect: true }"
404
+ ]
405
+ }
406
+ },
407
+ "returns": {
408
+ "type": "Any",
409
+ "desc": "Value of the current option",
410
+ "examples": [
411
+ "'car'",
412
+ "34"
413
+ ]
414
+ },
385
415
  "examples": [
386
416
  "option-value=\"modelNumber\"",
387
417
  ":option-value=\"(item) => item === null ? null : item.modelNumber\""
388
418
  ],
389
- "category": "options"
419
+ "category": "options",
420
+ "required": false
390
421
  },
391
422
  "option-label": {
392
423
  "type": [
@@ -395,11 +426,34 @@
395
426
  ],
396
427
  "desc": "Property of option which holds the 'label'; If using a function then for best performance, reference it from your scope and do not define it inline",
397
428
  "default": "label",
429
+ "params": {
430
+ "option": {
431
+ "type": [
432
+ "String",
433
+ "Object"
434
+ ],
435
+ "desc": "The current option being processed",
436
+ "examples": [
437
+ "'BMW'",
438
+ "'Samsung Phone'",
439
+ "{ label: 'BMW', value: 'car', cannotSelect: true }"
440
+ ]
441
+ }
442
+ },
443
+ "returns": {
444
+ "type": "String",
445
+ "desc": "Label of the current option",
446
+ "examples": [
447
+ "'BMW'",
448
+ "'Samsung Phone'"
449
+ ]
450
+ },
398
451
  "examples": [
399
452
  "option-label=\"itemName\"",
400
453
  ":option-label=\"(item) => item === null ? 'Null value' : item.itemName\""
401
454
  ],
402
- "category": "options"
455
+ "category": "options",
456
+ "required": false
403
457
  },
404
458
  "option-disable": {
405
459
  "type": [
@@ -408,11 +462,30 @@
408
462
  ],
409
463
  "desc": "Property of option which tells it's disabled; The value of the property must be a Boolean; If using a function then for best performance, reference it from your scope and do not define it inline",
410
464
  "default": "disable",
465
+ "params": {
466
+ "option": {
467
+ "type": [
468
+ "String",
469
+ "Object"
470
+ ],
471
+ "desc": "The current option being processed",
472
+ "examples": [
473
+ "'BMW'",
474
+ "'Samsung Phone'",
475
+ "{ label: 'BMW', value: 'car', cannotSelect: true }"
476
+ ]
477
+ }
478
+ },
479
+ "returns": {
480
+ "type": "Boolean",
481
+ "desc": "If true, the current option will be disabled"
482
+ },
411
483
  "examples": [
412
484
  "option-disable=\"cannotSelect\"",
413
485
  ":option-disable=\"(item) => item === null ? true : item.cannotSelect\""
414
486
  ],
415
- "category": "options"
487
+ "category": "options",
488
+ "required": false
416
489
  },
417
490
  "hide-selected": {
418
491
  "type": "Boolean",
@@ -468,7 +541,8 @@
468
541
  "type": "Boolean",
469
542
  "default": "false",
470
543
  "desc": "Force render the options as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'option' slot!",
471
- "category": "options"
544
+ "category": "options",
545
+ "required": false
472
546
  },
473
547
  "options-cover": {
474
548
  "type": "Boolean",
@@ -607,7 +681,8 @@
607
681
  "examples": [
608
682
  650
609
683
  ],
610
- "category": "content"
684
+ "category": "content",
685
+ "required": false
611
686
  },
612
687
  "input-class": {
613
688
  "type": [
@@ -663,7 +738,8 @@
663
738
  "slide-down"
664
739
  ],
665
740
  "category": "behavior",
666
- "default": "fade"
741
+ "default": "fade",
742
+ "required": false
667
743
  },
668
744
  "transition-hide": {
669
745
  "type": "String",
@@ -673,7 +749,8 @@
673
749
  "slide-down"
674
750
  ],
675
751
  "category": "behavior",
676
- "default": "fade"
752
+ "default": "fade",
753
+ "required": false
677
754
  },
678
755
  "transition-duration": {
679
756
  "type": [
@@ -686,7 +763,8 @@
686
763
  500,
687
764
  "1200"
688
765
  ],
689
- "category": "behavior"
766
+ "category": "behavior",
767
+ "required": false
690
768
  },
691
769
  "behavior": {
692
770
  "type": "String",
@@ -697,7 +775,8 @@
697
775
  "dialog"
698
776
  ],
699
777
  "default": "default",
700
- "category": "behavior"
778
+ "category": "behavior",
779
+ "required": false
701
780
  }
702
781
  },
703
782
  "slots": {
@@ -776,6 +855,7 @@
776
855
  "params": {
777
856
  "index": {
778
857
  "type": "Number",
858
+ "required": true,
779
859
  "desc": "Index at which to remove selection",
780
860
  "examples": [
781
861
  0
@@ -790,6 +870,7 @@
790
870
  "params": {
791
871
  "opt": {
792
872
  "type": "Any",
873
+ "required": true,
793
874
  "desc": "Option to add to model"
794
875
  }
795
876
  },
@@ -833,6 +914,7 @@
833
914
  "params": {
834
915
  "opt": {
835
916
  "type": "Any",
917
+ "required": true,
836
918
  "desc": "Option to add to model"
837
919
  }
838
920
  },
@@ -844,6 +926,7 @@
844
926
  "params": {
845
927
  "index": {
846
928
  "type": "Number",
929
+ "required": true,
847
930
  "desc": "Index of option from menu",
848
931
  "examples": [
849
932
  10
@@ -869,6 +952,7 @@
869
952
  "definition": {
870
953
  "index": {
871
954
  "type": "Number",
955
+ "required": true,
872
956
  "desc": "Index of the list item that was scrolled into view (0 based)",
873
957
  "examples": [
874
958
  30
@@ -876,6 +960,7 @@
876
960
  },
877
961
  "from": {
878
962
  "type": "Number",
963
+ "required": true,
879
964
  "desc": "The index of the first list item that is rendered (0 based)",
880
965
  "examples": [
881
966
  10
@@ -883,6 +968,7 @@
883
968
  },
884
969
  "to": {
885
970
  "type": "Number",
971
+ "required": true,
886
972
  "desc": "The index of the last list item that is rendered (0 based)",
887
973
  "examples": [
888
974
  50
@@ -890,6 +976,7 @@
890
976
  },
891
977
  "direction": {
892
978
  "type": "String",
979
+ "required": true,
893
980
  "desc": "Direction of change",
894
981
  "values": [
895
982
  "increase",
@@ -898,6 +985,7 @@
898
985
  },
899
986
  "ref": {
900
987
  "type": "Object",
988
+ "required": true,
901
989
  "desc": "Vue reference to the QVirtualList which triggered the event"
902
990
  }
903
991
  }
@@ -930,8 +1018,7 @@
930
1018
  "params": {
931
1019
  "value": {
932
1020
  "type": "String",
933
- "desc": "New text value",
934
- "required": true
1021
+ "desc": "New text value"
935
1022
  }
936
1023
  }
937
1024
  },
@@ -944,6 +1031,7 @@
944
1031
  "definition": {
945
1032
  "index": {
946
1033
  "type": "Number",
1034
+ "required": true,
947
1035
  "desc": "Model index at which removal took place",
948
1036
  "examples": [
949
1037
  2
@@ -951,6 +1039,7 @@
951
1039
  },
952
1040
  "value": {
953
1041
  "type": "Any",
1042
+ "required": true,
954
1043
  "desc": "The actual value that was removed"
955
1044
  }
956
1045
  }
@@ -966,6 +1055,7 @@
966
1055
  "definition": {
967
1056
  "index": {
968
1057
  "type": "Number",
1058
+ "required": true,
969
1059
  "desc": "Model index at which addition took place",
970
1060
  "examples": [
971
1061
  2
@@ -973,6 +1063,7 @@
973
1063
  },
974
1064
  "value": {
975
1065
  "type": "Any",
1066
+ "required": true,
976
1067
  "desc": "The actual value that was added"
977
1068
  }
978
1069
  }
@@ -995,10 +1086,12 @@
995
1086
  "params": {
996
1087
  "item": {
997
1088
  "type": "Any",
1089
+ "required": false,
998
1090
  "desc": "Item to add"
999
1091
  },
1000
1092
  "mode": {
1001
1093
  "type": "String",
1094
+ "required": false,
1002
1095
  "desc": "Override 'new-value-mode' (prop) behavior should you wish to",
1003
1096
  "values": [
1004
1097
  "add",
@@ -1028,16 +1121,19 @@
1028
1121
  "params": {
1029
1122
  "callbackFn": {
1030
1123
  "type": "Function",
1124
+ "required": true,
1031
1125
  "desc": "Callback to call to make the actual updates",
1032
1126
  "params": null,
1033
1127
  "returns": null
1034
1128
  },
1035
1129
  "afterFn": {
1036
1130
  "type": "Function",
1131
+ "required": false,
1037
1132
  "desc": "Callback to call at the end after the update has been fully processed by QSelect",
1038
1133
  "params": {
1039
1134
  "ref": {
1040
1135
  "type": "Object",
1136
+ "required": true,
1041
1137
  "desc": "Vue reference to the QSelect which triggered the filtering"
1042
1138
  }
1043
1139
  },
@@ -1166,8 +1262,8 @@
1166
1262
  "params": {
1167
1263
  "index": {
1168
1264
  "type": "Number",
1169
- "desc": "Index at which to remove selection",
1170
1265
  "required": true,
1266
+ "desc": "Index at which to remove selection",
1171
1267
  "examples": [
1172
1268
  0
1173
1269
  ]
@@ -1179,8 +1275,8 @@
1179
1275
  "params": {
1180
1276
  "opt": {
1181
1277
  "type": "Any",
1182
- "desc": "Option to add to model",
1183
- "required": true
1278
+ "required": true,
1279
+ "desc": "Option to add to model"
1184
1280
  },
1185
1281
  "unique": {
1186
1282
  "type": "Boolean",
@@ -1193,8 +1289,8 @@
1193
1289
  "params": {
1194
1290
  "opt": {
1195
1291
  "type": "Any",
1196
- "desc": "Option to add to model",
1197
- "required": true
1292
+ "required": true,
1293
+ "desc": "Option to add to model"
1198
1294
  },
1199
1295
  "keepOpen": {
1200
1296
  "type": "Boolean",
@@ -1207,8 +1303,8 @@
1207
1303
  "params": {
1208
1304
  "index": {
1209
1305
  "type": "Number",
1210
- "desc": "Index of option from menu",
1211
1306
  "required": true,
1307
+ "desc": "Index of option from menu",
1212
1308
  "examples": [
1213
1309
  10
1214
1310
  ]
@@ -1226,7 +1322,8 @@
1226
1322
  -1,
1227
1323
  1,
1228
1324
  5
1229
- ]
1325
+ ],
1326
+ "required": false
1230
1327
  },
1231
1328
  "skipInputValue": {
1232
1329
  "type": "Boolean",
@@ -1239,8 +1336,8 @@
1239
1336
  "params": {
1240
1337
  "value": {
1241
1338
  "type": "String",
1242
- "desc": "String to filter with",
1243
1339
  "required": true,
1340
+ "desc": "String to filter with",
1244
1341
  "examples": [
1245
1342
  "car"
1246
1343
  ]
@@ -1255,6 +1352,7 @@
1255
1352
  "params": {
1256
1353
  "value": {
1257
1354
  "type": "String",
1355
+ "required": true,
1258
1356
  "desc": "String to set the input value to",
1259
1357
  "examples": [
1260
1358
  "hotel"
@@ -1271,8 +1369,8 @@
1271
1369
  "params": {
1272
1370
  "opt": {
1273
1371
  "type": "Any",
1274
- "desc": "Option entry",
1275
- "required": true
1372
+ "required": true,
1373
+ "desc": "Option entry"
1276
1374
  }
1277
1375
  },
1278
1376
  "returns": {
@@ -1285,8 +1383,8 @@
1285
1383
  "params": {
1286
1384
  "opt": {
1287
1385
  "type": "Any",
1288
- "desc": "Option entry",
1289
- "required": true
1386
+ "required": true,
1387
+ "desc": "Option entry"
1290
1388
  }
1291
1389
  },
1292
1390
  "returns": {
@@ -1299,8 +1397,8 @@
1299
1397
  "params": {
1300
1398
  "opt": {
1301
1399
  "type": "Any",
1302
- "desc": "Option entry",
1303
- "required": true
1400
+ "required": true,
1401
+ "desc": "Option entry"
1304
1402
  }
1305
1403
  },
1306
1404
  "returns": {
@@ -1313,8 +1411,8 @@
1313
1411
  "params": {
1314
1412
  "opt": {
1315
1413
  "type": "Any",
1316
- "desc": "Option entry",
1317
- "required": true
1414
+ "required": true,
1415
+ "desc": "Option entry"
1318
1416
  }
1319
1417
  },
1320
1418
  "returns": {
@@ -1327,8 +1425,8 @@
1327
1425
  "params": {
1328
1426
  "opt": {
1329
1427
  "type": "Any",
1330
- "desc": "Option entry",
1331
- "required": true
1428
+ "required": true,
1429
+ "desc": "Option entry"
1332
1430
  }
1333
1431
  },
1334
1432
  "returns": {
@@ -21,7 +21,8 @@
21
21
  "sm",
22
22
  "md"
23
23
  ],
24
- "category": "content"
24
+ "category": "content",
25
+ "required": false
25
26
  },
26
27
  "inset": {
27
28
  "type": [
@@ -29,7 +29,8 @@
29
29
  "QAvatar"
30
30
  ],
31
31
  "default": "rect",
32
- "category": "content"
32
+ "category": "content",
33
+ "required": false
33
34
  },
34
35
  "animation": {
35
36
  "type": "String",
@@ -44,7 +45,8 @@
44
45
  "none"
45
46
  ],
46
47
  "default": "wave",
47
- "category": "style"
48
+ "category": "style",
49
+ "required": false
48
50
  },
49
51
  "animation-speed": {
50
52
  "type": [
@@ -52,13 +54,14 @@
52
54
  "Number"
53
55
  ],
54
56
  "desc": "Animation speed (in milliseconds, without unit)",
55
- "default": 300,
56
57
  "examples": [
57
58
  500,
58
59
  "1200"
59
60
  ],
60
61
  "category": "style",
61
- "addedIn": "v2.2"
62
+ "default": 300,
63
+ "addedIn": "v2.2",
64
+ "required": false
62
65
  },
63
66
  "square": {
64
67
  "type": "Boolean",
@@ -107,7 +110,8 @@
107
110
  "span"
108
111
  ],
109
112
  "category": "content",
110
- "default": "div"
113
+ "default": "div",
114
+ "required": false
111
115
  }
112
116
  },
113
117
  "slots": {
@@ -73,6 +73,7 @@
73
73
  "definition": {
74
74
  "reset": {
75
75
  "type": "Function",
76
+ "required": true,
76
77
  "desc": "When called, it resets the component to its initial non-slided state",
77
78
  "params": null,
78
79
  "returns": null
@@ -90,6 +91,7 @@
90
91
  "definition": {
91
92
  "reset": {
92
93
  "type": "Function",
94
+ "required": true,
93
95
  "desc": "When called, it resets the component to its initial non-slided state",
94
96
  "params": null,
95
97
  "returns": null
@@ -107,6 +109,7 @@
107
109
  "definition": {
108
110
  "reset": {
109
111
  "type": "Function",
112
+ "required": true,
110
113
  "desc": "When called, it resets the component to its initial non-slided state",
111
114
  "params": null,
112
115
  "returns": null
@@ -124,6 +127,7 @@
124
127
  "definition": {
125
128
  "reset": {
126
129
  "type": "Function",
130
+ "required": true,
127
131
  "desc": "When called, it resets the component to its initial non-slided state",
128
132
  "params": null,
129
133
  "returns": null
@@ -141,6 +145,7 @@
141
145
  "definition": {
142
146
  "side": {
143
147
  "type": "String",
148
+ "required": true,
144
149
  "desc": "Side to which sliding is taking effect",
145
150
  "values": [
146
151
  "left",
@@ -151,6 +156,7 @@
151
156
  },
152
157
  "ratio": {
153
158
  "type": "Number",
159
+ "required": true,
154
160
  "desc": "Ratio of how much of the required slide was performed (0..1)",
155
161
  "examples": [
156
162
  0,
@@ -160,6 +166,7 @@
160
166
  },
161
167
  "isReset": {
162
168
  "type": "Boolean",
169
+ "required": true,
163
170
  "desc": "Ratio has been reset"
164
171
  }
165
172
  }
@@ -175,6 +182,7 @@
175
182
  "definition": {
176
183
  "side": {
177
184
  "type": "String",
185
+ "required": true,
178
186
  "desc": "Side to which sliding has taken effect",
179
187
  "values": [
180
188
  "left",
@@ -185,6 +193,7 @@
185
193
  },
186
194
  "reset": {
187
195
  "type": "Function",
196
+ "required": true,
188
197
  "desc": "When called, it resets the component to its initial non-slided state",
189
198
  "params": null,
190
199
  "returns": null
@@ -17,7 +17,8 @@
17
17
  500,
18
18
  ":duration=\"500\""
19
19
  ],
20
- "category": "behavior"
20
+ "category": "behavior",
21
+ "required": false
21
22
  }
22
23
  },
23
24
  "slots": {
@@ -32,7 +32,8 @@
32
32
  "examples": [
33
33
  ":min=\"0\""
34
34
  ],
35
- "category": "model"
35
+ "category": "model",
36
+ "required": false
36
37
  },
37
38
  "max": {
38
39
  "type": "Number",
@@ -41,7 +42,8 @@
41
42
  "examples": [
42
43
  ":max=\"100\""
43
44
  ],
44
- "category": "model"
45
+ "category": "model",
46
+ "required": false
45
47
  },
46
48
  "step": {
47
49
  "type": "Number",
@@ -50,7 +52,8 @@
50
52
  "examples": [
51
53
  ":step=\"1\""
52
54
  ],
53
- "category": "model"
55
+ "category": "model",
56
+ "required": false
54
57
  },
55
58
  "reverse": {
56
59
  "type": "Boolean",
@@ -134,7 +137,8 @@
134
137
  "examples": [
135
138
  "M5 5 h10 v10 h-10 v-10"
136
139
  ],
137
- "category": "style"
140
+ "category": "style",
141
+ "required": false
138
142
  },
139
143
  "dark": {
140
144
  "type": "Boolean",
@@ -32,7 +32,8 @@
32
32
  "2",
33
33
  "5"
34
34
  ],
35
- "category": "style"
35
+ "category": "style",
36
+ "required": false
36
37
  }
37
38
  }
38
39
  }