quasar 2.3.0 → 2.3.4

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 (255) 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 +41 -12
  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 +11 -6
  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 +14 -7
  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 +5 -3
  32. package/dist/api/QFab.json +11 -6
  33. package/dist/api/QFabAction.json +4 -2
  34. package/dist/api/QField.json +2 -1
  35. package/dist/api/QFile.json +7 -2
  36. package/dist/api/QFooter.json +3 -2
  37. package/dist/api/QForm.json +1 -1
  38. package/dist/api/QHeader.json +5 -3
  39. package/dist/api/QIcon.json +2 -1
  40. package/dist/api/QImg.json +8 -4
  41. package/dist/api/QInfiniteScroll.json +6 -3
  42. package/dist/api/QInnerLoading.json +8 -4
  43. package/dist/api/QInput.json +2 -1
  44. package/dist/api/QIntersection.json +17 -1
  45. package/dist/api/QItem.json +2 -1
  46. package/dist/api/QKnob.json +8 -4
  47. package/dist/api/QLayout.json +9 -1
  48. package/dist/api/QLinearProgress.json +4 -2
  49. package/dist/api/QMarkupTable.json +2 -1
  50. package/dist/api/QMenu.json +8 -4
  51. package/dist/api/QNoSsr.json +2 -1
  52. package/dist/api/QOptionGroup.json +2 -1
  53. package/dist/api/QPage.json +2 -1
  54. package/dist/api/QPageScroller.json +8 -4
  55. package/dist/api/QPageSticky.json +2 -1
  56. package/dist/api/QPagination.json +10 -6
  57. package/dist/api/QParallax.json +2 -1
  58. package/dist/api/QPopupEdit.json +5 -2
  59. package/dist/api/QPopupProxy.json +7 -4
  60. package/dist/api/QRange.json +8 -4
  61. package/dist/api/QRating.json +5 -2
  62. package/dist/api/QResizeObserver.json +4 -1
  63. package/dist/api/QRouteTab.json +5 -26
  64. package/dist/api/QScrollArea.json +32 -6
  65. package/dist/api/QScrollObserver.json +13 -1
  66. package/dist/api/QSelect.json +141 -47
  67. package/dist/api/QSeparator.json +2 -1
  68. package/dist/api/QSkeleton.json +8 -4
  69. package/dist/api/QSlideItem.json +9 -0
  70. package/dist/api/QSlideTransition.json +2 -1
  71. package/dist/api/QSlider.json +8 -4
  72. package/dist/api/QSpinner.json +2 -1
  73. package/dist/api/QSplitter.json +4 -2
  74. package/dist/api/QStep.json +2 -1
  75. package/dist/api/QStepper.json +6 -3
  76. package/dist/api/QTab.json +4 -2
  77. package/dist/api/QTabPanels.json +6 -3
  78. package/dist/api/QTable.json +216 -93
  79. package/dist/api/QTabs.json +4 -2
  80. package/dist/api/QTime.json +16 -4
  81. package/dist/api/QTimeline.json +4 -2
  82. package/dist/api/QTimelineEntry.json +4 -2
  83. package/dist/api/QToggle.json +8 -4
  84. package/dist/api/QTooltip.json +18 -9
  85. package/dist/api/QTree.json +34 -19
  86. package/dist/api/QUploader.json +93 -5
  87. package/dist/api/QVirtualScroll.json +26 -11
  88. package/dist/api/ScrollFire.json +1 -1
  89. package/dist/api/SessionStorage.json +8 -0
  90. package/dist/api/TouchHold.json +2 -1
  91. package/dist/api/TouchRepeat.json +2 -1
  92. package/dist/api/TouchSwipe.json +2 -1
  93. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  94. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  95. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  96. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  97. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  98. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  101. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  102. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  105. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  106. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  111. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  112. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
  113. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  120. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  121. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  122. package/dist/icon-set/themify.umd.prod.js +1 -1
  123. package/dist/lang/ar.umd.prod.js +1 -1
  124. package/dist/lang/az-Latn.umd.prod.js +1 -1
  125. package/dist/lang/bg.umd.prod.js +1 -1
  126. package/dist/lang/bn.umd.prod.js +1 -1
  127. package/dist/lang/ca.umd.prod.js +1 -1
  128. package/dist/lang/cs.umd.prod.js +1 -1
  129. package/dist/lang/da.umd.prod.js +1 -1
  130. package/dist/lang/de.umd.prod.js +1 -1
  131. package/dist/lang/el.umd.prod.js +1 -1
  132. package/dist/lang/en-GB.umd.prod.js +1 -1
  133. package/dist/lang/en-US.umd.prod.js +1 -1
  134. package/dist/lang/eo.umd.prod.js +1 -1
  135. package/dist/lang/es.umd.prod.js +1 -1
  136. package/dist/lang/et.umd.prod.js +1 -1
  137. package/dist/lang/fa-IR.umd.prod.js +1 -1
  138. package/dist/lang/fa.umd.prod.js +1 -1
  139. package/dist/lang/fi.umd.prod.js +1 -1
  140. package/dist/lang/fr.umd.prod.js +1 -1
  141. package/dist/lang/gn.umd.prod.js +1 -1
  142. package/dist/lang/he.umd.prod.js +1 -1
  143. package/dist/lang/hr.umd.prod.js +1 -1
  144. package/dist/lang/hu.umd.prod.js +1 -1
  145. package/dist/lang/id.umd.prod.js +1 -1
  146. package/dist/lang/is.umd.prod.js +1 -1
  147. package/dist/lang/it.umd.prod.js +1 -1
  148. package/dist/lang/ja.umd.prod.js +1 -1
  149. package/dist/lang/km.umd.prod.js +1 -1
  150. package/dist/lang/ko-KR.umd.prod.js +1 -1
  151. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  152. package/dist/lang/lt.umd.prod.js +1 -1
  153. package/dist/lang/lu.umd.prod.js +1 -1
  154. package/dist/lang/lv.umd.prod.js +1 -1
  155. package/dist/lang/ml.umd.prod.js +1 -1
  156. package/dist/lang/ms.umd.prod.js +1 -1
  157. package/dist/lang/nb-NO.umd.prod.js +1 -1
  158. package/dist/lang/nl.umd.prod.js +1 -1
  159. package/dist/lang/pl.umd.prod.js +1 -1
  160. package/dist/lang/pt-BR.umd.prod.js +1 -1
  161. package/dist/lang/pt.umd.prod.js +1 -1
  162. package/dist/lang/ro.umd.prod.js +1 -1
  163. package/dist/lang/ru.umd.prod.js +1 -1
  164. package/dist/lang/sk.umd.prod.js +1 -1
  165. package/dist/lang/sl.umd.prod.js +1 -1
  166. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  167. package/dist/lang/sr.umd.prod.js +1 -1
  168. package/dist/lang/sv.umd.prod.js +1 -1
  169. package/dist/lang/ta.umd.prod.js +1 -1
  170. package/dist/lang/th.umd.prod.js +1 -1
  171. package/dist/lang/tr.umd.prod.js +1 -1
  172. package/dist/lang/ug.umd.prod.js +1 -1
  173. package/dist/lang/uk.umd.prod.js +1 -1
  174. package/dist/lang/vi.umd.prod.js +1 -1
  175. package/dist/lang/zh-CN.umd.prod.js +1 -1
  176. package/dist/lang/zh-TW.umd.prod.js +1 -1
  177. package/dist/quasar.cjs.prod.js +2 -2
  178. package/dist/quasar.css +8 -1
  179. package/dist/quasar.esm.prod.js +2 -2
  180. package/dist/quasar.prod.css +1 -1
  181. package/dist/quasar.rtl.css +13 -1
  182. package/dist/quasar.rtl.prod.css +1 -1
  183. package/dist/quasar.sass +40 -35
  184. package/dist/quasar.umd.js +74 -48
  185. package/dist/quasar.umd.prod.js +2 -2
  186. package/dist/ssr-directives/Morph.js +1 -1
  187. package/dist/types/api/cookies.d.ts +1 -1
  188. package/dist/types/composables.d.ts +5 -1
  189. package/dist/types/extras/icon-set.d.ts +1 -0
  190. package/dist/types/index.d.ts +519 -192
  191. package/dist/vetur/quasar-attributes.json +7 -3
  192. package/dist/vetur/quasar-tags.json +1 -0
  193. package/dist/web-types/web-types.json +26 -12
  194. package/icon-set/svg-ionicons-v6.js +225 -0
  195. package/package.json +5 -2
  196. package/src/body.js +14 -4
  197. package/src/components/btn/QBtn.js +1 -0
  198. package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
  199. package/src/components/chip/QChip.json +1 -2
  200. package/src/components/circular-progress/QCircularProgress.json +1 -1
  201. package/src/components/date/QDate.json +59 -1
  202. package/src/components/editor/QEditor.js +2 -2
  203. package/src/components/editor/QEditor.json +6 -2
  204. package/src/components/expansion-item/QExpansionItem.json +2 -1
  205. package/src/components/fab/QFab.json +3 -1
  206. package/src/components/field/QField.json +3 -3
  207. package/src/components/file/QFile.json +9 -6
  208. package/src/components/footer/QFooter.json +1 -1
  209. package/src/components/form/QForm.json +2 -3
  210. package/src/components/header/QHeader.json +1 -1
  211. package/src/components/icon/QIcon.js +2 -2
  212. package/src/components/intersection/QIntersection.js +9 -1
  213. package/src/components/intersection/QIntersection.json +9 -0
  214. package/src/components/layout/QLayout.json +8 -1
  215. package/src/components/linear-progress/QLinearProgress.js +3 -2
  216. package/src/components/linear-progress/QLinearProgress.json +1 -1
  217. package/src/components/linear-progress/QLinearProgress.sass +1 -1
  218. package/src/components/pagination/QPagination.json +0 -1
  219. package/src/components/popup-edit/QPopupEdit.json +1 -0
  220. package/src/components/popup-proxy/QPopupProxy.json +2 -1
  221. package/src/components/rating/QRating.json +1 -1
  222. package/src/components/resize-observer/QResizeObserver.json +2 -0
  223. package/src/components/scroll-area/QScrollArea.js +8 -13
  224. package/src/components/scroll-area/QScrollArea.json +33 -10
  225. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  226. package/src/components/select/QSelect.js +7 -3
  227. package/src/components/select/QSelect.json +88 -15
  228. package/src/components/slide-item/QSlideItem.json +9 -0
  229. package/src/components/slider/use-slider.js +3 -3
  230. package/src/components/table/QTable.js +1 -1
  231. package/src/components/table/QTable.json +155 -60
  232. package/src/components/table/table-pagination.js +4 -0
  233. package/src/components/tabs/QRouteTab.json +1 -23
  234. package/src/components/time/QTime.json +8 -0
  235. package/src/components/tree/QTree.json +26 -21
  236. package/src/components/tree/QTree.sass +45 -41
  237. package/src/components/uploader/xhr-uploader-plugin.json +105 -4
  238. package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
  239. package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
  240. package/src/composables/private/use-field.js +4 -4
  241. package/src/composables/private/use-refocus-target.js +12 -3
  242. package/src/composables/private/use-split-attrs.js +10 -7
  243. package/src/composables/use-dialog-plugin-component.js +1 -0
  244. package/src/css/core/transitions.sass +3 -1
  245. package/src/directives/Mutation.json +2 -3
  246. package/src/directives/ScrollFire.json +2 -3
  247. package/src/install-quasar.js +1 -0
  248. package/src/plugins/AppFullscreen.json +8 -8
  249. package/src/plugins/Cookies.json +2 -2
  250. package/src/plugins/Dialog.json +6 -5
  251. package/src/plugins/LoadingBar.json +4 -3
  252. package/src/plugins/Notify.json +13 -19
  253. package/src/utils/private/global-dialog.json +16 -2
  254. package/src/utils/private/web-storage.json +10 -0
  255. package/wrappers/index.js +4 -0
@@ -2136,7 +2136,7 @@
2136
2136
  "description": "Adds a default shadow to the footer"
2137
2137
  },
2138
2138
  "q-footer/height-hint": {
2139
- "type": "number|string ",
2139
+ "type": "number|string",
2140
2140
  "description": "When using SSR, you can optionally hint of the height (in pixels) of the QFooter"
2141
2141
  },
2142
2142
  "q-form/autofocus": {
@@ -2176,7 +2176,7 @@
2176
2176
  "description": "Adds a default shadow to the header"
2177
2177
  },
2178
2178
  "q-header/height-hint": {
2179
- "type": "number|string ",
2179
+ "type": "number|string",
2180
2180
  "description": "When using SSR, you can optionally hint of the height (in pixels) of the QHeader"
2181
2181
  },
2182
2182
  "q-icon/size": {
@@ -2579,6 +2579,10 @@
2579
2579
  "type": "string",
2580
2580
  "description": "One of Quasar's embedded transitions"
2581
2581
  },
2582
+ "q-intersection/transition-duration": {
2583
+ "type": "string|number",
2584
+ "description": "Transition duration (in milliseconds, without unit)"
2585
+ },
2582
2586
  "q-intersection/disable": {
2583
2587
  "type": "boolean",
2584
2588
  "description": "Disable visibility observable (content will remain as it was, visible or hidden)"
@@ -3644,7 +3648,7 @@
3644
3648
  "description": "The number of columns in the table (you need this if you use table-layout: fixed)"
3645
3649
  },
3646
3650
  "q-select/model-value": {
3647
- "type": "number|string|array|null|undefined",
3651
+ "type": "any",
3648
3652
  "description": "Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive"
3649
3653
  },
3650
3654
  "q-select/error": {
@@ -845,6 +845,7 @@
845
845
  "margin",
846
846
  "threshold",
847
847
  "transition",
848
+ "transition-duration",
848
849
  "disable"
849
850
  ],
850
851
  "description": ""
@@ -2,7 +2,7 @@
2
2
  "$schema": "",
3
3
  "framework": "vue",
4
4
  "name": "quasar",
5
- "version": "2.3.0",
5
+ "version": "2.3.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -573,7 +573,6 @@
573
573
  },
574
574
  "description": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive\n\nExamples:\nv-model=\"menuState\"",
575
575
  "doc-url": "https://v2.quasar.dev/vue-components/button-dropdown",
576
- "required": true,
577
576
  "type": "boolean"
578
577
  },
579
578
  {
@@ -6715,7 +6714,7 @@
6715
6714
  "name": "height-hint",
6716
6715
  "value": {
6717
6716
  "kind": "expression",
6718
- "type": "number|String "
6717
+ "type": "number|string"
6719
6718
  },
6720
6719
  "description": "When using SSR, you can optionally hint of the height (in pixels) of the QFooter\n\nExamples:\n150",
6721
6720
  "doc-url": "https://v2.quasar.dev/layout/header-and-footer",
@@ -6816,7 +6815,7 @@
6816
6815
  "arguments": [
6817
6816
  {
6818
6817
  "name": "ref",
6819
- "type": "object",
6818
+ "type": "Component",
6820
6819
  "description": "Vue reference to the first component that triggered the validation error",
6821
6820
  "doc-url": "https://v2.quasar.dev/vue-components/form"
6822
6821
  }
@@ -6841,6 +6840,7 @@
6841
6840
  "module": "quasar",
6842
6841
  "symbol": "QFormChildMixin"
6843
6842
  },
6843
+ "attributes": [],
6844
6844
  "slots": [],
6845
6845
  "description": "QFormChildMixin - Quasar component",
6846
6846
  "doc-url": "https://v2.quasar.dev/vue-components/form"
@@ -6907,7 +6907,7 @@
6907
6907
  "name": "height-hint",
6908
6908
  "value": {
6909
6909
  "kind": "expression",
6910
- "type": "number|String "
6910
+ "type": "number|string"
6911
6911
  },
6912
6912
  "description": "When using SSR, you can optionally hint of the height (in pixels) of the QHeader\n\nExamples:\n150",
6913
6913
  "doc-url": "https://v2.quasar.dev/layout/header-and-footer",
@@ -8150,6 +8150,16 @@
8150
8150
  "description": "One of Quasar's embedded transitions\n\nExamples:\nfade\nslide-down",
8151
8151
  "doc-url": "https://v2.quasar.dev/vue-components/intersection"
8152
8152
  },
8153
+ {
8154
+ "name": "transition-duration",
8155
+ "value": {
8156
+ "kind": "expression",
8157
+ "type": "string|number"
8158
+ },
8159
+ "description": "Transition duration (in milliseconds, without unit)\n\nExamples:\n500\n1200",
8160
+ "doc-url": "https://v2.quasar.dev/vue-components/intersection",
8161
+ "default": "300"
8162
+ },
8153
8163
  {
8154
8164
  "name": "disable",
8155
8165
  "value": {
@@ -9765,6 +9775,7 @@
9765
9775
  "module": "quasar",
9766
9776
  "symbol": "QPageContainer"
9767
9777
  },
9778
+ "attributes": [],
9768
9779
  "slots": [
9769
9780
  {
9770
9781
  "name": "default",
@@ -9810,8 +9821,7 @@
9810
9821
  },
9811
9822
  "description": "Number of last page (must be higher than 'min')\n\nExamples:\n10",
9812
9823
  "doc-url": "https://v2.quasar.dev/vue-components/pagination",
9813
- "required": true,
9814
- "default": "100"
9824
+ "required": true
9815
9825
  },
9816
9826
  {
9817
9827
  "name": "color",
@@ -11213,7 +11223,7 @@
11213
11223
  "kind": "expression",
11214
11224
  "type": "number"
11215
11225
  },
11216
- "description": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive\n\nExamples:\n:value=\"2\"",
11226
+ "description": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive\n\nExamples:\nv-model=\"rating\"\n:model-value=\"rating\"\n:model-value=\"2\"",
11217
11227
  "doc-url": "https://v2.quasar.dev/vue-components/rating",
11218
11228
  "required": true
11219
11229
  },
@@ -11537,6 +11547,7 @@
11537
11547
  {
11538
11548
  "name": "info",
11539
11549
  "type": "object",
11550
+ "description": "An object containing scroll information",
11540
11551
  "doc-url": "https://v2.quasar.dev/vue-components/scroll-area"
11541
11552
  }
11542
11553
  ],
@@ -11708,7 +11719,7 @@
11708
11719
  "name": "model-value",
11709
11720
  "value": {
11710
11721
  "kind": "expression",
11711
- "type": "number|string|any[]|null|undefined"
11722
+ "type": "any"
11712
11723
  },
11713
11724
  "description": "Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive\n\nExamples:\nv-model=\"myModel\"",
11714
11725
  "doc-url": "https://v2.quasar.dev/vue-components/select",
@@ -13309,6 +13320,7 @@
13309
13320
  "module": "quasar",
13310
13321
  "symbol": "QSpace"
13311
13322
  },
13323
+ "attributes": [],
13312
13324
  "slots": [],
13313
13325
  "description": "QSpace - Quasar component",
13314
13326
  "doc-url": "https://v2.quasar.dev/vue-components/space"
@@ -14690,6 +14702,7 @@
14690
14702
  "module": "quasar",
14691
14703
  "symbol": "QStepperNavigation"
14692
14704
  },
14705
+ "attributes": [],
14693
14706
  "slots": [
14694
14707
  {
14695
14708
  "name": "default",
@@ -15269,7 +15282,7 @@
15269
15282
  "kind": "expression",
15270
15283
  "type": "'horizontal'|'vertical'|'cell'|'none'"
15271
15284
  },
15272
- "description": "Use a separator/border between rows, columns or all cells\n\nExamples:\ncell",
15285
+ "description": "Use a separator/border between rows, columns or all cells",
15273
15286
  "doc-url": "https://v2.quasar.dev/vue-components/table",
15274
15287
  "default": "\"horizontal\""
15275
15288
  },
@@ -17987,8 +18000,8 @@
17987
18000
  "arguments": [
17988
18001
  {
17989
18002
  "name": "err",
17990
- "type": "object",
17991
- "description": "Error Object which is the Promise rejection reason",
18003
+ "type": "Error",
18004
+ "description": "Error object which is the Promise rejection reason",
17992
18005
  "doc-url": "https://v2.quasar.dev/vue-components/uploader"
17993
18006
  },
17994
18007
  {
@@ -18072,6 +18085,7 @@
18072
18085
  "module": "quasar",
18073
18086
  "symbol": "QUploaderAddTrigger"
18074
18087
  },
18088
+ "attributes": [],
18075
18089
  "slots": [],
18076
18090
  "description": "QUploaderAddTrigger - Quasar component",
18077
18091
  "doc-url": "https://v2.quasar.dev/vue-components/uploader"
@@ -0,0 +1,225 @@
1
+
2
+ import {
3
+ ionCheckmark,
4
+ ionAlert,
5
+ ionInformationCircleOutline,
6
+ ionArrowUp,
7
+ ionArrowForward,
8
+ ionArrowDown,
9
+ ionArrowBack,
10
+ ionCaretDownOutline,
11
+ ionAperture,
12
+ ionOptions,
13
+ ionApps,
14
+ ionRefresh,
15
+ ionSquare,
16
+ ionCloseCircle,
17
+ ionTime,
18
+ ionCalendar,
19
+ ionLink,
20
+ ionExpand,
21
+ ionChatboxEllipses,
22
+ ionPrint,
23
+ ionArrowUndo,
24
+ ionArrowRedo,
25
+ ionCodeSlash,
26
+ ionAdd,
27
+ ionClose,
28
+ ionPlaySkipBackCircle,
29
+ ionPlaySkipForwardCircle,
30
+ ionStar,
31
+ ionCreate,
32
+ ionWarning,
33
+ ionPlay,
34
+ ionAddCircle,
35
+ ionCloudUpload,
36
+ ionTrash,
37
+ ionCheckmarkDone,
38
+ ionChevronDown,
39
+ ionChevronUp,
40
+ ionChevronBack,
41
+ ionChevronForward,
42
+ ionChevronBackCircle,
43
+ ionChevronForwardCircle
44
+ } from '@quasar/extras/ionicons-v6'
45
+
46
+ // there are some icons that are needed but not available
47
+ // so we import them from MDI as svgs
48
+
49
+ import {
50
+ mdiFormatBold,
51
+ mdiFormatItalic,
52
+ mdiFormatStrikethroughVariant,
53
+ mdiFormatUnderline,
54
+ mdiFormatListBulleted,
55
+ mdiFormatListNumbered,
56
+ mdiFormatSubscript,
57
+ mdiFormatSuperscript,
58
+ mdiFormatAlignLeft,
59
+ mdiFormatAlignCenter,
60
+ mdiFormatAlignRight,
61
+ mdiFormatAlignJustify,
62
+ mdiFormatIndentDecrease,
63
+ mdiFormatIndentIncrease,
64
+ mdiFormatClear,
65
+ mdiFormatColorText,
66
+ mdiFormatSize,
67
+ mdiMinus,
68
+ mdiFormatHeader1,
69
+ mdiFormatHeader2,
70
+ mdiFormatHeader3,
71
+ mdiFormatHeader4,
72
+ mdiFormatHeader5,
73
+ mdiFormatHeader6,
74
+ mdiNumeric1Box,
75
+ mdiNumeric2Box,
76
+ mdiNumeric3Box,
77
+ mdiNumeric4Box,
78
+ mdiNumeric5Box,
79
+ mdiNumeric6Box,
80
+ mdiNumeric7Box,
81
+ mdiFormatFont
82
+ } from '@quasar/extras/mdi-v6'
83
+
84
+ export default {
85
+ name: 'svg-ionicons-v6',
86
+ type: {
87
+ positive: ionCheckmark,
88
+ negative: ionAlert,
89
+ info: ionInformationCircleOutline,
90
+ warning: ionAlert
91
+ },
92
+ arrow: {
93
+ up: ionArrowUp,
94
+ right: ionArrowForward,
95
+ down: ionArrowDown,
96
+ left: ionArrowBack,
97
+ dropdown: ionCaretDownOutline
98
+ },
99
+ chevron: {
100
+ left: ionArrowBack,
101
+ right: ionArrowForward
102
+ },
103
+ colorPicker: {
104
+ spectrum: ionAperture,
105
+ tune: ionOptions,
106
+ palette: ionApps
107
+ },
108
+ pullToRefresh: {
109
+ icon: ionRefresh
110
+ },
111
+ carousel: {
112
+ left: ionChevronBack,
113
+ right: ionChevronForward,
114
+ up: ionChevronUp,
115
+ down: ionChevronDown,
116
+ navigationIcon: ionSquare
117
+ },
118
+ chip: {
119
+ remove: ionCloseCircle,
120
+ selected: ionCheckmark
121
+ },
122
+ datetime: {
123
+ arrowLeft: ionChevronBack,
124
+ arrowRight: ionChevronForward,
125
+ now: ionTime,
126
+ today: ionCalendar
127
+ },
128
+ editor: { // requires Material icons for some as Ionicons simply does not have everything needed
129
+ hyperlink: ionLink,
130
+ toggleFullscreen: ionExpand,
131
+ quote: ionChatboxEllipses,
132
+ print: ionPrint,
133
+ undo: ionArrowUndo,
134
+ redo: ionArrowRedo,
135
+ code: ionCodeSlash,
136
+ viewSource: ionCodeSlash,
137
+
138
+ bold: mdiFormatBold,
139
+ italic: mdiFormatItalic,
140
+ strikethrough: mdiFormatStrikethroughVariant,
141
+ underline: mdiFormatUnderline,
142
+ unorderedList: mdiFormatListBulleted,
143
+ orderedList: mdiFormatListNumbered,
144
+ subscript: mdiFormatSubscript,
145
+ superscript: mdiFormatSuperscript,
146
+ left: mdiFormatAlignLeft,
147
+ center: mdiFormatAlignCenter,
148
+ right: mdiFormatAlignRight,
149
+ justify: mdiFormatAlignJustify,
150
+ outdent: mdiFormatIndentDecrease,
151
+ indent: mdiFormatIndentIncrease,
152
+ removeFormat: mdiFormatClear,
153
+ formatting: mdiFormatColorText,
154
+ fontSize: mdiFormatSize,
155
+ align: mdiFormatAlignLeft,
156
+ hr: mdiMinus,
157
+ heading: mdiFormatSize,
158
+ heading1: mdiFormatHeader1,
159
+ heading2: mdiFormatHeader2,
160
+ heading3: mdiFormatHeader3,
161
+ heading4: mdiFormatHeader4,
162
+ heading5: mdiFormatHeader5,
163
+ heading6: mdiFormatHeader6,
164
+ size: mdiFormatSize,
165
+ size1: mdiNumeric1Box,
166
+ size2: mdiNumeric2Box,
167
+ size3: mdiNumeric3Box,
168
+ size4: mdiNumeric4Box,
169
+ size5: mdiNumeric5Box,
170
+ size6: mdiNumeric6Box,
171
+ size7: mdiNumeric7Box,
172
+ font: mdiFormatFont
173
+ },
174
+ expansionItem: {
175
+ icon: ionCaretDownOutline,
176
+ denseIcon: ionCaretDownOutline
177
+ },
178
+ fab: {
179
+ icon: ionAdd,
180
+ activeIcon: ionClose
181
+ },
182
+ field: {
183
+ clear: ionCloseCircle,
184
+ error: ionAlert
185
+ },
186
+ pagination: {
187
+ first: ionPlaySkipBackCircle,
188
+ prev: ionChevronBackCircle,
189
+ next: ionChevronForwardCircle,
190
+ last: ionPlaySkipForwardCircle
191
+ },
192
+ rating: {
193
+ icon: ionStar
194
+ },
195
+ stepper: {
196
+ done: ionCheckmark,
197
+ active: ionCreate,
198
+ error: ionWarning
199
+ },
200
+ tabs: {
201
+ left: ionChevronBack,
202
+ right: ionChevronForward,
203
+ up: ionChevronUp,
204
+ down: ionChevronDown
205
+ },
206
+ table: {
207
+ arrowUp: ionArrowUp,
208
+ warning: ionWarning,
209
+ firstPage: ionPlaySkipBackCircle,
210
+ prevPage: ionChevronBackCircle,
211
+ nextPage: ionChevronForwardCircle,
212
+ lastPage: ionPlaySkipForwardCircle
213
+ },
214
+ tree: {
215
+ icon: ionPlay
216
+ },
217
+ uploader: {
218
+ done: ionCheckmark,
219
+ clear: ionClose,
220
+ add: ionAddCircle,
221
+ upload: ionCloudUpload,
222
+ removeQueue: ionTrash,
223
+ removeUploaded: ionCheckmarkDone
224
+ }
225
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar",
3
- "version": "2.3.0",
3
+ "version": "2.3.4",
4
4
  "description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time",
5
5
  "main": "dist/quasar.cjs.prod.js",
6
6
  "module": "dist/quasar.esm.prod.js",
@@ -63,10 +63,12 @@
63
63
  "devDependencies": {
64
64
  "@babel/eslint-parser": "^7.13.14",
65
65
  "@quasar/app": "^3.0.0",
66
- "@quasar/extras": "^1.11.0",
66
+ "@quasar/extras": "^1.12.0",
67
67
  "@rollup/plugin-node-resolve": "^11.2.1",
68
68
  "@rollup/plugin-replace": "^2.3.3",
69
69
  "babel-preset-es2015-rollup": "^3.0.0",
70
+ "cli-highlight": "^2.1.11",
71
+ "diff": "^5.0.0",
70
72
  "eslint": "^7.4.0",
71
73
  "eslint-config-standard": "^16.0.2",
72
74
  "eslint-friendly-formatter": "^4.0.1",
@@ -75,6 +77,7 @@
75
77
  "eslint-plugin-promise": "^4.2.1",
76
78
  "eslint-plugin-vue": "^7.0.0",
77
79
  "eslint-webpack-plugin": "^2.4.1",
80
+ "fast-glob": "^3.2.7",
78
81
  "json-beautify": "^1.1.1",
79
82
  "module-alias": "^2.2.2",
80
83
  "prettier": "^2.4.1",
package/src/body.js CHANGED
@@ -82,12 +82,18 @@ export default {
82
82
  }
83
83
 
84
84
  ssrContext._meta.bodyClasses += cls.join(' ')
85
- return
86
- }
87
85
 
88
- const { $q } = opts
86
+ const brand = $q.config.brand
87
+ if (brand !== void 0) {
88
+ const vars = Object.keys(brand)
89
+ .map(key => `--q-${ key }:${ brand[ key ] };`)
90
+ .join('')
91
+
92
+ ssrContext._meta.endingHeadTags += `<style>:root{${ vars }}</style>`
93
+ }
89
94
 
90
- $q.config.brand !== void 0 && setColors($q.config.brand)
95
+ return
96
+ }
91
97
 
92
98
  if (this.__installed === true) { return }
93
99
 
@@ -95,6 +101,10 @@ export default {
95
101
  applyClientSsrCorrections()
96
102
  }
97
103
  else {
104
+ const { $q } = opts
105
+
106
+ $q.config.brand !== void 0 && setColors($q.config.brand)
107
+
98
108
  const cls = getBodyClasses(client, $q.config)
99
109
  document.body.classList.add.apply(document.body.classList, cls)
100
110
  }
@@ -277,6 +277,7 @@ export default createComponent({
277
277
  }
278
278
 
279
279
  function onLoadingEvt (evt) {
280
+ stopAndPrevent(evt)
280
281
  evt.qSkipRipple = true
281
282
  }
282
283
 
@@ -10,6 +10,7 @@
10
10
  "extends": "model-value",
11
11
  "type": "Boolean",
12
12
  "desc": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
13
+ "required": false,
13
14
  "examples": [ "v-model=\"menuState\"" ]
14
15
  },
15
16
 
@@ -55,8 +55,7 @@
55
55
  "type": "Boolean",
56
56
  "desc": "Model of the component determining if QChip should be rendered or not",
57
57
  "required": false,
58
- "default": true,
59
- "category": "model"
58
+ "default": true
60
59
  },
61
60
 
62
61
  "selected": {
@@ -96,7 +96,7 @@
96
96
  "animation-speed": {
97
97
  "extends": "animation-speed",
98
98
  "default": 600,
99
- "addedIn": "v2.2.5"
99
+ "addedIn": "v2.3"
100
100
  }
101
101
  },
102
102