quasar 2.10.0 → 2.10.1

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 (306) hide show
  1. package/dist/api/Dialog.json +25 -68
  2. package/dist/api/Intersection.json +25 -100
  3. package/dist/api/Loading.json +5 -20
  4. package/dist/api/LoadingBar.json +1 -7
  5. package/dist/api/LocalStorage.json +4 -16
  6. package/dist/api/Morph.json +2 -14
  7. package/dist/api/Notify.json +0 -3
  8. package/dist/api/Platform.json +1 -4
  9. package/dist/api/QAjaxBar.json +1 -11
  10. package/dist/api/QBreadcrumbs.json +0 -8
  11. package/dist/api/QBtn.json +0 -3
  12. package/dist/api/QBtnDropdown.json +0 -12
  13. package/dist/api/QCarousel.json +0 -10
  14. package/dist/api/QCarouselControl.json +0 -3
  15. package/dist/api/QCircularProgress.json +0 -23
  16. package/dist/api/QColor.json +0 -3
  17. package/dist/api/QDialog.json +18 -9
  18. package/dist/api/QDrawer.json +0 -6
  19. package/dist/api/QExpansionItem.json +0 -3
  20. package/dist/api/QFab.json +1 -6
  21. package/dist/api/QFabAction.json +1 -3
  22. package/dist/api/QField.json +1 -6
  23. package/dist/api/QFile.json +12 -29
  24. package/dist/api/QFooter.json +0 -3
  25. package/dist/api/QHeader.json +0 -6
  26. package/dist/api/QInfiniteScroll.json +9 -16
  27. package/dist/api/QInnerLoading.json +0 -4
  28. package/dist/api/QInput.json +8 -15
  29. package/dist/api/QIntersection.json +0 -4
  30. package/dist/api/QItemLabel.json +0 -5
  31. package/dist/api/QKnob.json +3 -36
  32. package/dist/api/QLayout.json +6 -24
  33. package/dist/api/QLinearProgress.json +0 -6
  34. package/dist/api/QList.json +15 -0
  35. package/dist/api/QMenu.json +7 -12
  36. package/dist/api/QOptionGroup.json +0 -3
  37. package/dist/api/QPage.json +2 -8
  38. package/dist/api/QPageScroller.json +0 -9
  39. package/dist/api/QPageSticky.json +0 -3
  40. package/dist/api/QPagination.json +4 -25
  41. package/dist/api/QParallax.json +2 -14
  42. package/dist/api/QPopupEdit.json +0 -8
  43. package/dist/api/QPopupProxy.json +0 -4
  44. package/dist/api/QRange.json +5 -32
  45. package/dist/api/QRating.json +0 -4
  46. package/dist/api/QResizeObserver.json +2 -8
  47. package/dist/api/QScrollArea.json +8 -36
  48. package/dist/api/QScrollObserver.json +6 -24
  49. package/dist/api/QSelect.json +18 -108
  50. package/dist/api/QSlideItem.json +1 -6
  51. package/dist/api/QSlideTransition.json +0 -4
  52. package/dist/api/QSlider.json +3 -24
  53. package/dist/api/QSpinner.json +0 -4
  54. package/dist/api/QSplitter.json +1 -4
  55. package/dist/api/QStepper.json +0 -7
  56. package/dist/api/QTabPanels.json +0 -7
  57. package/dist/api/QTable.json +43 -191
  58. package/dist/api/QTabs.json +0 -6
  59. package/dist/api/QTime.json +3 -12
  60. package/dist/api/QTooltip.json +7 -18
  61. package/dist/api/QTree.json +0 -3
  62. package/dist/api/QUploader.json +5 -16
  63. package/dist/api/QVirtualScroll.json +11 -56
  64. package/dist/api/Screen.json +9 -36
  65. package/dist/api/Scroll.json +2 -8
  66. package/dist/api/SessionStorage.json +4 -16
  67. package/dist/api/TouchHold.json +3 -12
  68. package/dist/api/TouchPan.json +7 -28
  69. package/dist/api/TouchRepeat.json +6 -24
  70. package/dist/api/TouchSwipe.json +3 -12
  71. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  72. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  73. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  74. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  75. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  76. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  77. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  78. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  79. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  80. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  81. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  82. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  83. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  84. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  85. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  86. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  87. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  88. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  89. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  90. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  91. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  92. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  93. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  94. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  95. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  96. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  97. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  98. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  99. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  100. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  101. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  102. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  103. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  104. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  105. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  107. package/dist/icon-set/themify.umd.prod.js +1 -1
  108. package/dist/lang/ar-TN.umd.prod.js +1 -1
  109. package/dist/lang/ar.umd.prod.js +1 -1
  110. package/dist/lang/az-Latn.umd.prod.js +1 -1
  111. package/dist/lang/bg.umd.prod.js +1 -1
  112. package/dist/lang/bn.umd.prod.js +1 -1
  113. package/dist/lang/ca.umd.prod.js +1 -1
  114. package/dist/lang/cs.umd.prod.js +1 -1
  115. package/dist/lang/da.umd.prod.js +1 -1
  116. package/dist/lang/de.umd.prod.js +1 -1
  117. package/dist/lang/el.umd.prod.js +1 -1
  118. package/dist/lang/en-GB.umd.prod.js +1 -1
  119. package/dist/lang/en-US.umd.prod.js +1 -1
  120. package/dist/lang/eo.umd.prod.js +1 -1
  121. package/dist/lang/es.umd.prod.js +1 -1
  122. package/dist/lang/et.umd.prod.js +1 -1
  123. package/dist/lang/eu.umd.prod.js +1 -1
  124. package/dist/lang/fa-IR.umd.prod.js +1 -1
  125. package/dist/lang/fa.umd.prod.js +1 -1
  126. package/dist/lang/fi.umd.prod.js +1 -1
  127. package/dist/lang/fr.umd.prod.js +1 -1
  128. package/dist/lang/gn.umd.prod.js +1 -1
  129. package/dist/lang/he.umd.prod.js +1 -1
  130. package/dist/lang/hr.umd.prod.js +1 -1
  131. package/dist/lang/hu.umd.prod.js +1 -1
  132. package/dist/lang/id.umd.prod.js +1 -1
  133. package/dist/lang/is.umd.prod.js +1 -1
  134. package/dist/lang/it.umd.prod.js +1 -1
  135. package/dist/lang/ja.umd.prod.js +1 -1
  136. package/dist/lang/km.umd.prod.js +1 -1
  137. package/dist/lang/ko-KR.umd.prod.js +1 -1
  138. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  139. package/dist/lang/kz.umd.prod.js +1 -1
  140. package/dist/lang/lt.umd.prod.js +1 -1
  141. package/dist/lang/lu.umd.prod.js +1 -1
  142. package/dist/lang/lv.umd.prod.js +1 -1
  143. package/dist/lang/ml.umd.prod.js +1 -1
  144. package/dist/lang/mm.umd.prod.js +1 -1
  145. package/dist/lang/ms.umd.prod.js +1 -1
  146. package/dist/lang/my.umd.prod.js +1 -1
  147. package/dist/lang/nb-NO.umd.prod.js +1 -1
  148. package/dist/lang/nl.umd.prod.js +1 -1
  149. package/dist/lang/pl.umd.prod.js +1 -1
  150. package/dist/lang/pt-BR.umd.prod.js +1 -1
  151. package/dist/lang/pt.umd.prod.js +1 -1
  152. package/dist/lang/ro.umd.prod.js +1 -1
  153. package/dist/lang/ru.umd.prod.js +1 -1
  154. package/dist/lang/sk.umd.prod.js +1 -1
  155. package/dist/lang/sl.umd.prod.js +1 -1
  156. package/dist/lang/sm.umd.prod.js +1 -1
  157. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  158. package/dist/lang/sr.umd.prod.js +1 -1
  159. package/dist/lang/sv.umd.prod.js +1 -1
  160. package/dist/lang/ta.umd.prod.js +1 -1
  161. package/dist/lang/th.umd.prod.js +1 -1
  162. package/dist/lang/tr.umd.prod.js +1 -1
  163. package/dist/lang/ug.umd.prod.js +1 -1
  164. package/dist/lang/uk.umd.prod.js +1 -1
  165. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  166. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  167. package/dist/lang/vi.umd.prod.js +1 -1
  168. package/dist/lang/zh-CN.umd.prod.js +1 -1
  169. package/dist/lang/zh-TW.umd.prod.js +1 -1
  170. package/dist/quasar.cjs.prod.js +2 -2
  171. package/dist/quasar.css +2 -2
  172. package/dist/quasar.esm.js +166 -158
  173. package/dist/quasar.esm.prod.js +2 -2
  174. package/dist/quasar.prod.css +1 -1
  175. package/dist/quasar.rtl.css +2 -2
  176. package/dist/quasar.rtl.prod.css +1 -1
  177. package/dist/quasar.sass +3 -3
  178. package/dist/quasar.umd.js +166 -158
  179. package/dist/quasar.umd.prod.js +2 -2
  180. package/dist/types/index.d.ts +50 -55
  181. package/dist/vetur/quasar-attributes.json +4 -0
  182. package/dist/vetur/quasar-tags.json +2 -1
  183. package/dist/web-types/web-types.json +142 -132
  184. package/package.json +3 -3
  185. package/src/api.extends.json +1 -2
  186. package/src/components/ajax-bar/QAjaxBar.json +5 -11
  187. package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
  188. package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -2
  189. package/src/components/btn/QBtn.json +1 -3
  190. package/src/components/btn/__tests__/QBtn.spec.js +87 -14
  191. package/src/components/btn/__tests__/use-btn.spec.js +385 -58
  192. package/src/components/btn-dropdown/QBtnDropdown.js +4 -11
  193. package/src/components/btn-dropdown/QBtnDropdown.json +0 -2
  194. package/src/components/btn-toggle/QBtnToggle.json +2 -4
  195. package/src/components/carousel/QCarousel.json +4 -9
  196. package/src/components/carousel/QCarouselControl.json +0 -1
  197. package/src/components/checkbox/use-checkbox.json +1 -2
  198. package/src/components/circular-progress/QCircularProgress.json +0 -5
  199. package/src/components/color/QColor.json +0 -1
  200. package/src/components/date/QDate.js +3 -3
  201. package/src/components/date/QDate.json +28 -56
  202. package/src/components/dialog/QDialog.js +30 -40
  203. package/src/components/dialog/QDialog.json +9 -2
  204. package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -2
  205. package/src/components/dialog-plugin/DialogPlugin.js +4 -4
  206. package/src/components/drawer/QDrawer.js +5 -5
  207. package/src/components/drawer/QDrawer.json +0 -4
  208. package/src/components/editor/QEditor.json +3 -6
  209. package/src/components/expansion-item/QExpansionItem.js +3 -3
  210. package/src/components/expansion-item/QExpansionItem.json +3 -8
  211. package/src/components/fab/QFab.json +0 -1
  212. package/src/components/fab/use-fab.json +0 -1
  213. package/src/components/field/QField.json +0 -1
  214. package/src/components/file/QFile.js +4 -1
  215. package/src/components/file/QFile.json +19 -20
  216. package/src/components/footer/QFooter.json +0 -1
  217. package/src/components/form/QForm.js +5 -3
  218. package/src/components/form/QForm.json +2 -4
  219. package/src/components/header/QHeader.json +0 -4
  220. package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
  221. package/src/components/inner-loading/QInnerLoading.js +2 -5
  222. package/src/components/input/QInput.js +4 -1
  223. package/src/components/input/QInput.json +11 -7
  224. package/src/components/input/use-mask.js +1 -1
  225. package/src/components/intersection/QIntersection.json +0 -1
  226. package/src/components/item/QItem.json +1 -2
  227. package/src/components/item/QItemLabel.json +0 -1
  228. package/src/components/item/QList.js +7 -2
  229. package/src/components/item/QList.json +7 -0
  230. package/src/components/knob/QKnob.js +3 -3
  231. package/src/components/knob/QKnob.json +3 -12
  232. package/src/components/layout/QLayout.js +1 -1
  233. package/src/components/layout/QLayout.json +6 -12
  234. package/src/components/linear-progress/QLinearProgress.json +0 -2
  235. package/src/components/menu/QMenu.js +8 -5
  236. package/src/components/menu/QMenu.json +0 -2
  237. package/src/components/option-group/QOptionGroup.json +2 -5
  238. package/src/components/page/QPage.json +3 -6
  239. package/src/components/page-scroller/QPageScroller.json +0 -2
  240. package/src/components/page-sticky/QPageSticky.json +0 -1
  241. package/src/components/pagination/QPagination.json +5 -13
  242. package/src/components/parallax/QParallax.json +2 -6
  243. package/src/components/popup-edit/QPopupEdit.js +3 -3
  244. package/src/components/popup-edit/QPopupEdit.json +4 -10
  245. package/src/components/popup-proxy/QPopupProxy.json +0 -1
  246. package/src/components/radio/QRadio.json +1 -2
  247. package/src/components/range/QRange.json +2 -4
  248. package/src/components/rating/QRating.json +0 -1
  249. package/src/components/resize-observer/QResizeObserver.json +2 -4
  250. package/src/components/scroll-area/QScrollArea.js +15 -4
  251. package/src/components/scroll-area/QScrollArea.json +24 -50
  252. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  253. package/src/components/scroll-observer/QScrollObserver.json +6 -12
  254. package/src/components/select/QSelect.js +20 -24
  255. package/src/components/select/QSelect.json +30 -65
  256. package/src/components/select/QSelect.sass +2 -2
  257. package/src/components/slide-item/QSlideItem.json +1 -2
  258. package/src/components/slide-transition/QSlideTransition.json +0 -1
  259. package/src/components/slider/use-slider.json +33 -70
  260. package/src/components/spinner/QSpinner.json +0 -1
  261. package/src/components/splitter/QSplitter.json +1 -2
  262. package/src/components/table/QTable.js +3 -3
  263. package/src/components/table/QTable.json +118 -239
  264. package/src/components/tabs/QRouteTab.json +0 -1
  265. package/src/components/tabs/QTabs.json +0 -2
  266. package/src/components/time/QTime.json +10 -20
  267. package/src/components/tooltip/QTooltip.js +2 -5
  268. package/src/components/tooltip/QTooltip.json +0 -4
  269. package/src/components/tree/QTree.js +6 -6
  270. package/src/components/tree/QTree.json +15 -31
  271. package/src/components/uploader/QUploader.json +13 -22
  272. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  273. package/src/components/uploader/xhr-uploader-plugin.json +25 -50
  274. package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
  275. package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
  276. package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
  277. package/src/composables/private/use-field.js +1 -1
  278. package/src/composables/private/use-field.json +2 -3
  279. package/src/composables/private/use-file.json +4 -13
  280. package/src/composables/private/use-model-toggle.js +3 -3
  281. package/src/composables/private/use-panel.js +2 -2
  282. package/src/composables/private/use-panel.json +0 -2
  283. package/src/composables/private/use-portal.js +5 -1
  284. package/src/composables/private/use-portal.json +7 -1
  285. package/src/composables/private/use-transition.js +17 -11
  286. package/src/composables/private/use-transition.json +0 -1
  287. package/src/composables/private/use-validate.json +1 -3
  288. package/src/directives/Intersection.json +26 -53
  289. package/src/directives/Morph.json +4 -8
  290. package/src/directives/Mutation.json +6 -12
  291. package/src/directives/Scroll.json +2 -4
  292. package/src/directives/TouchHold.json +3 -6
  293. package/src/directives/TouchPan.json +7 -14
  294. package/src/directives/TouchRepeat.json +6 -12
  295. package/src/directives/TouchSwipe.json +3 -6
  296. package/src/plugins/BottomSheet.json +1 -2
  297. package/src/plugins/Cookies.json +2 -4
  298. package/src/plugins/Dialog.json +32 -72
  299. package/src/plugins/Loading.json +6 -11
  300. package/src/plugins/LoadingBar.json +3 -6
  301. package/src/plugins/Notify.json +4 -5
  302. package/src/plugins/Platform.json +3 -6
  303. package/src/plugins/Screen.json +9 -18
  304. package/src/utils/private/global-dialog.json +6 -12
  305. package/src/utils/private/portal.js +4 -4
  306. package/src/utils/private/web-storage.json +6 -10
@@ -29,13 +29,11 @@
29
29
  "definition": {
30
30
  "top": {
31
31
  "type": "Number",
32
- "desc": "Vertical offset from top of window",
33
- "examples": [ 235 ]
32
+ "desc": "Vertical offset from top of window"
34
33
  },
35
34
  "left": {
36
35
  "type": "Number",
37
- "desc": "Horizontal offset from left of window",
38
- "examples": [ 235 ]
36
+ "desc": "Horizontal offset from left of window"
39
37
  }
40
38
  }
41
39
  },
@@ -54,8 +52,7 @@
54
52
  },
55
53
  "duration": {
56
54
  "type": "Number",
57
- "desc": "How long it took to trigger the event (in milliseconds)",
58
- "examples": [ 612 ]
55
+ "desc": "How long it took to trigger the event (in milliseconds)"
59
56
  },
60
57
  "distance": {
61
58
  "type": "Object",
@@ -63,13 +60,11 @@
63
60
  "definition": {
64
61
  "x": {
65
62
  "type": "Number",
66
- "desc": "Absolute distance horizontally",
67
- "examples": [ 231 ]
63
+ "desc": "Absolute distance horizontally"
68
64
  },
69
65
  "y": {
70
66
  "type": "Number",
71
- "desc": "Absolute distance vertically",
72
- "examples": [ 231 ]
67
+ "desc": "Absolute distance vertically"
73
68
  }
74
69
  }
75
70
  },
@@ -95,13 +90,11 @@
95
90
  "definition": {
96
91
  "x": {
97
92
  "type": "Number",
98
- "desc": "Distance horizontally",
99
- "examples": [ 2 ]
93
+ "desc": "Distance horizontally"
100
94
  },
101
95
  "y": {
102
96
  "type": "Number",
103
- "desc": "Distance vertically",
104
- "examples": [ 1 ]
97
+ "desc": "Distance vertically"
105
98
  }
106
99
  }
107
100
  }
@@ -33,35 +33,29 @@
33
33
  "definition": {
34
34
  "top": {
35
35
  "type": "Number",
36
- "desc": "Vertical offset from top of window",
37
- "examples": [ 235 ]
36
+ "desc": "Vertical offset from top of window"
38
37
  },
39
38
  "left": {
40
39
  "type": "Number",
41
- "desc": "Horizontal offset from left of window",
42
- "examples": [ 235 ]
40
+ "desc": "Horizontal offset from left of window"
43
41
  }
44
42
  }
45
43
  },
46
44
  "keyCode": {
47
45
  "type": "Number",
48
- "desc": "Keycode; Supplied ONLY if it's a keyboard event",
49
- "examples": [ 65 ]
46
+ "desc": "Keycode; Supplied ONLY if it's a keyboard event"
50
47
  },
51
48
  "duration": {
52
49
  "type": "Number",
53
- "desc": "How long it took to trigger the event (in milliseconds)",
54
- "examples": [ 612 ]
50
+ "desc": "How long it took to trigger the event (in milliseconds)"
55
51
  },
56
52
  "repeatCount": {
57
53
  "type": "Number",
58
- "desc": "Handler called for nth time",
59
- "examples": [ 2 ]
54
+ "desc": "Handler called for nth time"
60
55
  },
61
56
  "startTime": {
62
57
  "type": "Number",
63
- "desc": "Unix timestamp of the moment when event started; Equivalent to Date.now()",
64
- "examples": [ 1558603256472 ]
58
+ "desc": "Unix timestamp of the moment when event started; Equivalent to Date.now()"
65
59
  }
66
60
  }
67
61
  }
@@ -30,8 +30,7 @@
30
30
  },
31
31
  "duration": {
32
32
  "type": "Number",
33
- "desc": "How long it took to trigger the event (in milliseconds)",
34
- "examples": [ 612 ]
33
+ "desc": "How long it took to trigger the event (in milliseconds)"
35
34
  },
36
35
  "distance": {
37
36
  "type": "Object",
@@ -39,13 +38,11 @@
39
38
  "definition": {
40
39
  "x": {
41
40
  "type": "Number",
42
- "desc": "Absolute distance horizontally",
43
- "examples": [ 231 ]
41
+ "desc": "Absolute distance horizontally"
44
42
  },
45
43
  "y": {
46
44
  "type": "Number",
47
- "desc": "Absolute distance vertically",
48
- "examples": [ 231 ]
45
+ "desc": "Absolute distance vertically"
49
46
  }
50
47
  }
51
48
  }
@@ -65,8 +65,7 @@
65
65
 
66
66
  "...": {
67
67
  "type": "Any",
68
- "desc": "Any other custom props",
69
- "__exemption": [ "examples" ]
68
+ "desc": "Any other custom props"
70
69
  }
71
70
  }
72
71
  },
@@ -145,15 +145,13 @@
145
145
  "ssrContext": {
146
146
  "type": "Object",
147
147
  "desc": "SSR Context Object",
148
- "required": true,
149
- "__exemption": [ "examples" ]
148
+ "required": true
150
149
  }
151
150
  },
152
151
  "returns": {
153
152
  "type": "Object",
154
153
  "tsType": "Cookies",
155
- "desc": "Cookie object (like $q.cookies) for SSR usage purposes",
156
- "__exemption": [ "examples" ]
154
+ "desc": "Cookie object (like $q.cookies) for SSR usage purposes"
157
155
  }
158
156
  }
159
157
  }
@@ -48,8 +48,7 @@
48
48
  "model": {
49
49
  "type": "String",
50
50
  "required": true,
51
- "desc": "The initial value of the input",
52
- "__exemption": [ "examples" ]
51
+ "desc": "The initial value of the input"
53
52
  },
54
53
 
55
54
  "type": {
@@ -66,8 +65,7 @@
66
65
  "val": {
67
66
  "type": "String",
68
67
  "required": true,
69
- "desc": "The value of the input",
70
- "__exemption": [ "examples" ]
68
+ "desc": "The value of the input"
71
69
  }
72
70
  },
73
71
  "returns": {
@@ -76,72 +74,21 @@
76
74
  }
77
75
  },
78
76
 
79
- "attrs": {
80
- "type": "Object",
81
- "desc": "Attributes to pass to prompt control",
82
- "examples": [ "{ autocomplete: 'off' }" ]
83
- },
84
-
85
- "label": {
86
- "type": "String",
87
- "desc": "A text label that will “float” up above the input field, once the field gets focus",
88
- "examples": [ "Username" ]
89
- },
90
-
91
- "stackLabel": {
92
- "type": "Boolean",
93
- "desc": "Label will be always shown above the field regardless of field content (if any)"
94
- },
95
-
96
- "filled": {
97
- "type": "Boolean",
98
- "desc": "Use 'filled' design for the field"
99
- },
100
-
101
- "outlined": {
102
- "type": "Boolean",
103
- "desc": "Use 'outlined' design for the field"
104
- },
105
-
106
- "standout": {
107
- "type": [ "Boolean", "String" ],
108
- "desc": "Use 'standout' design for the field; Specifies classes to be applied when focused (overriding default ones)",
77
+ "...QInputProps": {
78
+ "type": "Any",
79
+ "desc": "Any QInput props, like color, label, stackLabel, filled, outlined, rounded, prefix etc",
109
80
  "examples": [
110
- "standout",
111
- "standout=\"bg-primary text-white\""
81
+ "label: 'My Label'",
82
+ "standout: true",
83
+ "counter: true",
84
+ "maxlength: 12"
112
85
  ]
113
86
  },
114
87
 
115
- "rounded": {
116
- "extends": "rounded"
117
- },
118
-
119
- "square": {
120
- "type": "Boolean",
121
- "desc": "Remove border-radius so borders are squared; Overrides 'rounded' prop"
122
- },
123
-
124
- "counter": {
125
- "type": "Boolean",
126
- "desc": "Show an automatic counter on bottom right"
127
- },
128
-
129
- "maxlength": {
130
- "type": [ "String", "Number" ],
131
- "desc": "Specify a max length of model",
132
- "examples": [ "12" ]
133
- },
134
-
135
- "prefix": {
136
- "type": "String",
137
- "desc": "Prefix",
138
- "examples": [ "$" ]
139
- },
140
-
141
- "suffix": {
142
- "type": "String",
143
- "desc": "Suffix",
144
- "examples": [ "@gmail.com" ]
88
+ "...nativeAttributes": {
89
+ "type": "Object",
90
+ "desc": "Any native attributes to pass to the prompt control",
91
+ "examples": [ "autocomplete: 'off'" ]
145
92
  }
146
93
  }
147
94
  },
@@ -193,6 +140,22 @@
193
140
  "type": "Boolean",
194
141
  "desc": "The selection passed validation or not"
195
142
  }
143
+ },
144
+
145
+ "...QOptionGroupProps": {
146
+ "type": "Any",
147
+ "desc": "Any QOptionGroup props",
148
+ "examples": [
149
+ "color: 'deep-purple-4'",
150
+ "inline: true",
151
+ "dense: true",
152
+ "leftLabel: true"
153
+ ]
154
+ },
155
+
156
+ "...nativeAttributes": {
157
+ "type": "Object",
158
+ "desc": "Any native attributes to pass to the inner QOptionGroup"
196
159
  }
197
160
  }
198
161
  },
@@ -217,8 +180,7 @@
217
180
  "definition": {
218
181
  "...props": {
219
182
  "type": "Any",
220
- "desc": "See QBtn for available props",
221
- "__exemption": [ "examples" ]
183
+ "desc": "See QBtn for available props"
222
184
  }
223
185
  }
224
186
  },
@@ -229,8 +191,7 @@
229
191
  "definition": {
230
192
  "...props": {
231
193
  "type": "Any",
232
- "desc": "See QBtn for available props",
233
- "__exemption": [ "examples" ]
194
+ "desc": "See QBtn for available props"
234
195
  }
235
196
  }
236
197
  },
@@ -314,8 +275,7 @@
314
275
 
315
276
  "componentProps": {
316
277
  "type": "Object",
317
- "desc": "User defined props which will be forwarded to underlying custom component if 'component' prop is used",
318
- "__exemption": [ "examples" ]
278
+ "desc": "User defined props which will be forwarded to underlying custom component if 'component' prop is used"
319
279
  }
320
280
  }
321
281
  }
@@ -36,8 +36,7 @@
36
36
  },
37
37
  "spinnerSize": {
38
38
  "type": "Number",
39
- "desc": "Spinner size (in pixels)",
40
- "examples": [ 60 ]
39
+ "desc": "Spinner size (in pixels)"
41
40
  },
42
41
  "spinnerColor": {
43
42
  "extends": "color",
@@ -84,8 +83,7 @@
84
83
  "definition": {
85
84
  "delay": {
86
85
  "type": "Number",
87
- "desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time",
88
- "examples": [ 400 ]
86
+ "desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
89
87
  },
90
88
  "message": {
91
89
  "type": "String",
@@ -109,8 +107,7 @@
109
107
  },
110
108
  "spinnerSize": {
111
109
  "type": "Number",
112
- "desc": "Spinner size (in pixels)",
113
- "examples": [ 60 ]
110
+ "desc": "Spinner size (in pixels)"
114
111
  },
115
112
  "spinnerColor": {
116
113
  "extends": "color",
@@ -149,7 +146,7 @@
149
146
  "tsType": "QLoadingUpdateOptions",
150
147
  "required": false,
151
148
  "desc": "Loading properties that will be shallow merged to the group ones; (See 'opts' param of 'show()' for object properties, except 'group')",
152
- "__exemption": [ "definition", "examples" ]
149
+ "__exemption": [ "definition" ]
153
150
  }
154
151
  },
155
152
  "returns": null,
@@ -180,8 +177,7 @@
180
177
  "definition": {
181
178
  "delay": {
182
179
  "type": "Number",
183
- "desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time",
184
- "examples": [ 400 ]
180
+ "desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
185
181
  },
186
182
  "message": {
187
183
  "type": "String",
@@ -197,8 +193,7 @@
197
193
  },
198
194
  "spinnerSize": {
199
195
  "type": "Number",
200
- "desc": "Spinner size (in pixels)",
201
- "examples": [ 60 ]
196
+ "desc": "Spinner size (in pixels)"
202
197
  },
203
198
  "spinnerColor": {
204
199
  "extends": "color",
@@ -10,8 +10,7 @@
10
10
  "definition": {
11
11
  "...props": {
12
12
  "type": "Object",
13
- "desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'",
14
- "__exemption": [ "examples" ]
13
+ "desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'"
15
14
  }
16
15
  }
17
16
  },
@@ -31,8 +30,7 @@
31
30
  "speed": {
32
31
  "type": "Number",
33
32
  "desc": "Delay (in milliseconds) between bar progress increments",
34
- "default": 300,
35
- "examples": [ 150 ]
33
+ "default": 300
36
34
  }
37
35
  }
38
36
  },
@@ -46,8 +44,7 @@
46
44
  "params": {
47
45
  "amount": {
48
46
  "type": "Number",
49
- "desc": "Amount (0.0 < x < 1.0) to increment with",
50
- "examples": [ 0.22 ]
47
+ "desc": "Amount (0.0 < x < 1.0) to increment with"
51
48
  }
52
49
  }
53
50
  },
@@ -165,8 +165,7 @@
165
165
  "timeout": {
166
166
  "type": "Number",
167
167
  "desc": "Amount of time to display (in milliseconds)",
168
- "default": 5000,
169
- "examples": [ 2500 ]
168
+ "default": 5000
170
169
  },
171
170
 
172
171
  "closeBtn": {
@@ -421,7 +420,7 @@
421
420
  "tsType": "QNotifyUpdateOptions",
422
421
  "required": false,
423
422
  "desc": "Notification properties that will be shallow merged to previous ones in order to update the non-grouped notification; (See 'opts' param of 'create()' for object properties, except 'group' and 'position')",
424
- "__exemption": [ "definition", "examples" ]
423
+ "__exemption": [ "definition" ]
425
424
  }
426
425
  },
427
426
  "returns": null
@@ -436,7 +435,7 @@
436
435
  "tsType": "QNotifyOptions",
437
436
  "required": true,
438
437
  "desc": "Notification options (See 'opts' param of 'create()' for object properties)",
439
- "__exemption": [ "definition", "examples" ]
438
+ "__exemption": [ "definition" ]
440
439
  }
441
440
  }
442
441
  },
@@ -456,7 +455,7 @@
456
455
  "tsType": "QNotifyOptions",
457
456
  "required": true,
458
457
  "desc": "Notification options (See 'opts' param of 'create()' for object properties)",
459
- "__exemption": [ "definition", "examples" ]
458
+ "__exemption": [ "definition" ]
460
459
  }
461
460
  }
462
461
  }
@@ -37,8 +37,7 @@
37
37
  "versionNumber": {
38
38
  "type": "Number",
39
39
  "required": false,
40
- "desc": "Major browser version as a number",
41
- "examples": [ 71 ]
40
+ "desc": "Major browser version as a number"
42
41
  },
43
42
 
44
43
  "desktop": {
@@ -224,15 +223,13 @@
224
223
  "ssrContext": {
225
224
  "type": "Object",
226
225
  "desc": "SSR Context Object",
227
- "required": true,
228
- "__exemption": [ "examples" ]
226
+ "required": true
229
227
  }
230
228
  },
231
229
  "returns": {
232
230
  "type": "Object",
233
231
  "tsType": "Platform",
234
- "desc": "Platform object (like $q.platform) for SSR usage purposes",
235
- "__exemption": [ "examples" ]
232
+ "desc": "Platform object (like $q.platform) for SSR usage purposes"
236
233
  }
237
234
  }
238
235
  }
@@ -33,23 +33,19 @@
33
33
  "definition": {
34
34
  "sm": {
35
35
  "type": "Number",
36
- "desc": "Breakpoint width size (minimum size)",
37
- "examples": [ 600 ]
36
+ "desc": "Breakpoint width size (minimum size)"
38
37
  },
39
38
  "md": {
40
39
  "type": "Number",
41
- "desc": "Breakpoint width size (minimum size)",
42
- "examples": [ 1024 ]
40
+ "desc": "Breakpoint width size (minimum size)"
43
41
  },
44
42
  "lg": {
45
43
  "type": "Number",
46
- "desc": "Breakpoint width size (minimum size)",
47
- "examples": [ 1440 ]
44
+ "desc": "Breakpoint width size (minimum size)"
48
45
  },
49
46
  "xl": {
50
47
  "type": "Number",
51
- "desc": "Breakpoint width size (minimum size)",
52
- "examples": [ 1920 ]
48
+ "desc": "Breakpoint width size (minimum size)"
53
49
  }
54
50
  },
55
51
  "reactive": true,
@@ -153,23 +149,19 @@
153
149
  "definition": {
154
150
  "sm": {
155
151
  "type": "Number",
156
- "desc": "Breakpoint width size (minimum size)",
157
- "examples": [ 600 ]
152
+ "desc": "Breakpoint width size (minimum size)"
158
153
  },
159
154
  "md": {
160
155
  "type": "Number",
161
- "desc": "Breakpoint width size (minimum size)",
162
- "examples": [ 1024 ]
156
+ "desc": "Breakpoint width size (minimum size)"
163
157
  },
164
158
  "lg": {
165
159
  "type": "Number",
166
- "desc": "Breakpoint width size (minimum size)",
167
- "examples": [ 1440 ]
160
+ "desc": "Breakpoint width size (minimum size)"
168
161
  },
169
162
  "xl": {
170
163
  "type": "Number",
171
- "desc": "Breakpoint width size (minimum size)",
172
- "examples": [ 1920 ]
164
+ "desc": "Breakpoint width size (minimum size)"
173
165
  }
174
166
  },
175
167
  "required": true
@@ -183,8 +175,7 @@
183
175
  "amount": {
184
176
  "type": "Number",
185
177
  "desc": "Amount in milliseconds",
186
- "required": true,
187
- "examples": [ 300 ]
178
+ "required": true
188
179
  }
189
180
  }
190
181
  }
@@ -54,8 +54,7 @@
54
54
  "returns": {
55
55
  "type": "Object",
56
56
  "desc": "Chained Object",
57
- "tsType": "DialogChainObject",
58
- "__exemption": [ "examples" ]
57
+ "tsType": "DialogChainObject"
59
58
  }
60
59
  },
61
60
 
@@ -75,8 +74,7 @@
75
74
  "returns": {
76
75
  "type": "Object",
77
76
  "desc": "Chained Object",
78
- "tsType": "DialogChainObject",
79
- "__exemption": [ "examples" ]
77
+ "tsType": "DialogChainObject"
80
78
  }
81
79
  },
82
80
 
@@ -96,8 +94,7 @@
96
94
  "returns": {
97
95
  "type": "Object",
98
96
  "desc": "Chained Object",
99
- "tsType": "DialogChainObject",
100
- "__exemption": [ "examples" ]
97
+ "tsType": "DialogChainObject"
101
98
  }
102
99
  },
103
100
 
@@ -109,8 +106,7 @@
109
106
  "returns": {
110
107
  "type": "Object",
111
108
  "desc": "Chained Object",
112
- "tsType": "DialogChainObject",
113
- "__exemption": [ "examples" ]
109
+ "tsType": "DialogChainObject"
114
110
  }
115
111
  },
116
112
 
@@ -122,15 +118,13 @@
122
118
  "opts": {
123
119
  "type": "Object",
124
120
  "required": true,
125
- "desc": "Props (except 'component') which will overwrite the initial create() params; If create() was invoked with a custom dialog component then this param should contain the new componentProps",
126
- "__exemption": [ "examples" ]
121
+ "desc": "Props (except 'component') which will overwrite the initial create() params; If create() was invoked with a custom dialog component then this param should contain the new componentProps"
127
122
  }
128
123
  },
129
124
  "returns": {
130
125
  "type": "Object",
131
126
  "desc": "Chained Object",
132
- "tsType": "DialogChainObject",
133
- "__exemption": [ "examples" ]
127
+ "tsType": "DialogChainObject"
134
128
  }
135
129
  }
136
130
  }
@@ -4,8 +4,8 @@ export const portalProxyList = []
4
4
 
5
5
  export function getPortalProxy (el) {
6
6
  return portalProxyList.find(proxy =>
7
- proxy.__qPortalInnerRef.value !== null
8
- && proxy.__qPortalInnerRef.value.contains(el)
7
+ proxy.contentEl !== null
8
+ && proxy.contentEl.contains(el)
9
9
  )
10
10
  }
11
11
 
@@ -19,7 +19,7 @@ export function closePortalMenus (proxy, evt) {
19
19
  return getParentProxy(proxy)
20
20
  }
21
21
  }
22
- else if (proxy.__qPortalInnerRef !== void 0) {
22
+ else if (proxy.__qPortal === true) {
23
23
  // treat it as point of separation if parent is QPopupProxy
24
24
  // (so mobile matches desktop behavior)
25
25
  // and hide it too
@@ -40,7 +40,7 @@ export function closePortalMenus (proxy, evt) {
40
40
 
41
41
  export function closePortals (proxy, evt, depth) {
42
42
  while (depth !== 0 && proxy !== void 0 && proxy !== null) {
43
- if (proxy.__qPortalInnerRef !== void 0) {
43
+ if (proxy.__qPortal === true) {
44
44
  depth--
45
45
 
46
46
  if (proxy.$options.name === 'QMenu') {
@@ -24,8 +24,7 @@
24
24
  "desc": "Get storage number of entries",
25
25
  "returns": {
26
26
  "type": "Number",
27
- "desc": "Number of entries",
28
- "examples": [ 21 ]
27
+ "desc": "Number of entries"
29
28
  }
30
29
  },
31
30
 
@@ -54,14 +53,12 @@
54
53
  "index": {
55
54
  "type": "Number",
56
55
  "desc": "Entry index",
57
- "required": true,
58
- "examples": [ 5 ]
56
+ "required": true
59
57
  }
60
58
  },
61
59
  "returns": {
62
60
  "type": [ "Number", "null" ],
63
- "desc": "Storage item index",
64
- "examples": [ 7 ]
61
+ "desc": "Storage item index"
65
62
  }
66
63
  },
67
64
 
@@ -72,8 +69,7 @@
72
69
  "index": {
73
70
  "type": "Number",
74
71
  "desc": "Entry index",
75
- "required": true,
76
- "examples": [ 5 ]
72
+ "required": true
77
73
  }
78
74
  },
79
75
  "returns": {
@@ -121,12 +117,12 @@
121
117
  "params": {
122
118
  "...params": {
123
119
  "type": "Any",
124
- "__exemption": [ "desc", "examples" ]
120
+ "__exemption": [ "desc" ]
125
121
  }
126
122
  },
127
123
  "returns": {
128
124
  "type": "Any",
129
- "__exemption": [ "desc", "examples" ]
125
+ "__exemption": [ "desc" ]
130
126
  },
131
127
  "examples": [ "john12" ]
132
128
  }