quasar 2.3.3 → 2.4.2

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 (228) hide show
  1. package/dist/api/Dialog.json +1 -1
  2. package/dist/api/Loading.json +2 -6
  3. package/dist/api/QBreadcrumbsEl.json +31 -10
  4. package/dist/api/QBtn.json +30 -14
  5. package/dist/api/QBtnDropdown.json +31 -15
  6. package/dist/api/QBtnToggle.json +3 -0
  7. package/dist/api/QChatMessage.json +4 -12
  8. package/dist/api/QExpansionItem.json +34 -12
  9. package/dist/api/QFab.json +33 -2
  10. package/dist/api/QFabAction.json +8 -0
  11. package/dist/api/QField.json +1 -0
  12. package/dist/api/QFile.json +5 -2
  13. package/dist/api/QForm.json +1 -1
  14. package/dist/api/QInput.json +1 -0
  15. package/dist/api/QItem.json +31 -10
  16. package/dist/api/QOptionGroup.json +74 -4
  17. package/dist/api/QPopupProxy.json +3 -2
  18. package/dist/api/QRange.json +592 -107
  19. package/dist/api/QRating.json +3 -1
  20. package/dist/api/QRouteTab.json +31 -11
  21. package/dist/api/QScrollArea.json +3 -2
  22. package/dist/api/QSelect.json +9 -16
  23. package/dist/api/QSlider.json +504 -39
  24. package/dist/api/QTree.json +8 -4
  25. package/dist/api/QUploader.json +16 -2
  26. package/dist/api/QVirtualScroll.json +3 -2
  27. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  28. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  29. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  30. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  31. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  32. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  33. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  34. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  35. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  36. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  37. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  38. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  39. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  40. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  54. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  55. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  56. package/dist/icon-set/themify.umd.prod.js +1 -1
  57. package/dist/lang/ar.umd.prod.js +1 -1
  58. package/dist/lang/az-Latn.umd.prod.js +1 -1
  59. package/dist/lang/bg.umd.prod.js +1 -1
  60. package/dist/lang/bn.umd.prod.js +1 -1
  61. package/dist/lang/ca.umd.prod.js +1 -1
  62. package/dist/lang/cs.umd.prod.js +1 -1
  63. package/dist/lang/da.umd.prod.js +1 -1
  64. package/dist/lang/de.umd.prod.js +1 -1
  65. package/dist/lang/el.umd.prod.js +1 -1
  66. package/dist/lang/en-GB.umd.prod.js +1 -1
  67. package/dist/lang/en-US.umd.prod.js +1 -1
  68. package/dist/lang/eo.umd.prod.js +1 -1
  69. package/dist/lang/es.umd.prod.js +1 -1
  70. package/dist/lang/et.umd.prod.js +1 -1
  71. package/dist/lang/fa-IR.umd.prod.js +1 -1
  72. package/dist/lang/fa.umd.prod.js +1 -1
  73. package/dist/lang/fi.umd.prod.js +1 -1
  74. package/dist/lang/fr.umd.prod.js +1 -1
  75. package/dist/lang/gn.umd.prod.js +1 -1
  76. package/dist/lang/he.umd.prod.js +1 -1
  77. package/dist/lang/hr.umd.prod.js +1 -1
  78. package/dist/lang/hu.umd.prod.js +1 -1
  79. package/dist/lang/id.umd.prod.js +1 -1
  80. package/dist/lang/is.umd.prod.js +1 -1
  81. package/dist/lang/it.umd.prod.js +1 -1
  82. package/dist/lang/ja.umd.prod.js +1 -1
  83. package/dist/lang/km.umd.prod.js +1 -1
  84. package/dist/lang/ko-KR.umd.prod.js +1 -1
  85. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  86. package/dist/lang/lt.umd.prod.js +1 -1
  87. package/dist/lang/lu.umd.prod.js +1 -1
  88. package/dist/lang/lv.umd.prod.js +1 -1
  89. package/dist/lang/ml.umd.prod.js +1 -1
  90. package/dist/lang/ms.umd.prod.js +1 -1
  91. package/dist/lang/nb-NO.umd.prod.js +1 -1
  92. package/dist/lang/nl.umd.prod.js +1 -1
  93. package/dist/lang/pl.umd.prod.js +1 -1
  94. package/dist/lang/pt-BR.umd.prod.js +1 -1
  95. package/dist/lang/pt.umd.prod.js +1 -1
  96. package/dist/lang/ro.umd.prod.js +1 -1
  97. package/dist/lang/ru.umd.prod.js +1 -1
  98. package/dist/lang/sk.umd.prod.js +1 -1
  99. package/dist/lang/sl.umd.prod.js +1 -1
  100. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  101. package/dist/lang/sr.umd.prod.js +1 -1
  102. package/dist/lang/sv.umd.prod.js +1 -1
  103. package/dist/lang/ta.umd.prod.js +1 -1
  104. package/dist/lang/th.umd.prod.js +1 -1
  105. package/dist/lang/tr.umd.prod.js +1 -1
  106. package/dist/lang/ug.umd.prod.js +1 -1
  107. package/dist/lang/uk.umd.prod.js +1 -1
  108. package/dist/lang/vi.umd.prod.js +1 -1
  109. package/dist/lang/zh-CN.umd.prod.js +1 -1
  110. package/dist/lang/zh-TW.umd.prod.js +1 -1
  111. package/dist/quasar.cjs.prod.js +2 -2
  112. package/dist/quasar.css +275 -191
  113. package/dist/quasar.esm.prod.js +2 -2
  114. package/dist/quasar.prod.css +1 -1
  115. package/dist/quasar.rtl.css +347 -270
  116. package/dist/quasar.rtl.prod.css +1 -1
  117. package/dist/quasar.sass +275 -217
  118. package/dist/quasar.umd.js +16598 -16283
  119. package/dist/quasar.umd.prod.js +2 -2
  120. package/dist/ssr-directives/Morph.js +1 -1
  121. package/dist/transforms/loader-asset-urls.json +20 -0
  122. package/dist/types/api/slider.d.ts +46 -0
  123. package/dist/types/api/validation.d.ts +4 -0
  124. package/dist/types/api.d.ts +2 -0
  125. package/dist/types/composables.d.ts +3 -3
  126. package/dist/types/index.d.ts +611 -140
  127. package/dist/vetur/quasar-attributes.json +251 -83
  128. package/dist/vetur/quasar-tags.json +59 -17
  129. package/dist/web-types/web-types.json +580 -152
  130. package/package.json +1 -1
  131. package/src/api.extends.json +0 -1
  132. package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
  133. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  134. package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
  135. package/src/components/btn/QBtn.js +5 -5
  136. package/src/components/btn/use-btn.js +21 -21
  137. package/src/components/btn/use-btn.json +22 -13
  138. package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
  139. package/src/components/btn-toggle/QBtnToggle.json +3 -0
  140. package/src/components/checkbox/use-checkbox.js +1 -1
  141. package/src/components/chip/QChip.json +1 -2
  142. package/src/components/color/QColor.js +32 -26
  143. package/src/components/color/QColor.sass +10 -23
  144. package/src/components/date/QDate.sass +2 -0
  145. package/src/components/drawer/QDrawer.js +18 -15
  146. package/src/components/editor/QEditor.js +1 -1
  147. package/src/components/editor/QEditor.sass +10 -1
  148. package/src/components/expansion-item/QExpansionItem.js +4 -1
  149. package/src/components/expansion-item/QExpansionItem.json +2 -1
  150. package/src/components/fab/QFab.js +18 -12
  151. package/src/components/fab/QFab.json +36 -1
  152. package/src/components/fab/QFab.sass +1 -1
  153. package/src/components/fab/QFabAction.js +14 -7
  154. package/src/components/fab/QFabAction.json +10 -0
  155. package/src/components/file/QFile.js +12 -5
  156. package/src/components/file/QFile.json +6 -6
  157. package/src/components/file/QFile.sass +4 -2
  158. package/src/components/footer/QFooter.js +1 -1
  159. package/src/components/form/QForm.json +2 -3
  160. package/src/components/header/QHeader.js +1 -1
  161. package/src/components/icon/QIcon.js +2 -2
  162. package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
  163. package/src/components/item/QItem.js +2 -3
  164. package/src/components/linear-progress/QLinearProgress.js +3 -2
  165. package/src/components/option-group/QOptionGroup.js +3 -0
  166. package/src/components/option-group/QOptionGroup.json +48 -2
  167. package/src/components/parallax/QParallax.js +4 -2
  168. package/src/components/popup-edit/QPopupEdit.js +2 -5
  169. package/src/components/popup-proxy/QPopupProxy.json +2 -1
  170. package/src/components/radio/QRadio.js +2 -7
  171. package/src/components/range/QRange.js +103 -222
  172. package/src/components/range/QRange.json +11 -121
  173. package/src/components/rating/QRating.json +1 -1
  174. package/src/components/scroll-area/QScrollArea.js +3 -1
  175. package/src/components/scroll-area/QScrollArea.json +5 -6
  176. package/src/components/select/QSelect.js +4 -1
  177. package/src/components/select/QSelect.json +17 -4
  178. package/src/components/slider/QSlider.js +46 -132
  179. package/src/components/slider/QSlider.json +1 -121
  180. package/src/components/slider/QSlider.sass +198 -132
  181. package/src/components/slider/use-slider.js +453 -109
  182. package/src/components/slider/use-slider.json +546 -0
  183. package/src/components/stepper/QStepper.js +3 -3
  184. package/src/components/stepper/QStepper.sass +24 -26
  185. package/src/components/table/QTable.js +27 -47
  186. package/src/components/tabs/QRouteTab.js +1 -2
  187. package/src/components/tabs/QRouteTab.json +0 -7
  188. package/src/components/tabs/QTabs.js +71 -20
  189. package/src/components/tabs/use-tab.js +26 -13
  190. package/src/components/tree/QTree.js +14 -12
  191. package/src/components/tree/QTree.json +12 -12
  192. package/src/components/tree/QTree.sass +45 -41
  193. package/src/components/uploader/QUploader.json +14 -2
  194. package/src/components/uploader/uploader-core.js +16 -9
  195. package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
  196. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  197. package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
  198. package/src/components/virtual-scroll/use-virtual-scroll.json +2 -5
  199. package/src/composables/private/use-field.js +5 -5
  200. package/src/composables/private/use-file.js +20 -5
  201. package/src/composables/private/use-form.js +2 -3
  202. package/src/composables/private/use-fullscreen.js +15 -4
  203. package/src/composables/private/use-router-link.js +44 -23
  204. package/src/composables/private/use-router-link.json +26 -10
  205. package/src/composables/private/use-split-attrs.js +4 -4
  206. package/src/composables/private/use-validate.js +21 -15
  207. package/src/composables/private/use-validate.json +1 -0
  208. package/src/css/core/helpers.sass +3 -0
  209. package/src/css/core/positioning.sass +5 -0
  210. package/src/css/variables.sass +4 -6
  211. package/src/directives/ScrollFire.js +1 -0
  212. package/src/icon-set.js +2 -4
  213. package/src/plugins/AppFullscreen.js +70 -53
  214. package/src/plugins/AppVisibility.js +2 -3
  215. package/src/plugins/BottomSheet.js +3 -5
  216. package/src/plugins/Dialog.js +3 -5
  217. package/src/plugins/Dialog.json +2 -3
  218. package/src/plugins/LoadingBar.js +17 -18
  219. package/src/plugins/Notify.js +296 -295
  220. package/src/plugins/Platform.js +14 -14
  221. package/src/utils/date.js +4 -4
  222. package/src/utils/dom.js +2 -2
  223. package/src/utils/open-url.js +2 -2
  224. package/src/utils/patterns.js +1 -0
  225. package/src/utils/private/define-reactive-plugin.js +10 -8
  226. package/src/utils/private/global-dialog.js +6 -8
  227. package/src/utils/private/inject-obj-prop.js +13 -0
  228. package/src/utils/private/is.js +2 -2
@@ -375,7 +375,7 @@
375
375
  "required": false
376
376
  },
377
377
  "component": {
378
- "type": "Any",
378
+ "type": "Component",
379
379
  "desc": "Use custom dialog component; use along with 'componentProps' prop where possible"
380
380
  },
381
381
  "componentProps": {
@@ -23,10 +23,8 @@
23
23
  },
24
24
  "html": {
25
25
  "type": "Boolean",
26
- "default": "false",
27
26
  "desc": "Force render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the content",
28
- "category": "behavior",
29
- "required": false
27
+ "category": "behavior"
30
28
  },
31
29
  "boxClass": {
32
30
  "type": "String",
@@ -117,10 +115,8 @@
117
115
  },
118
116
  "html": {
119
117
  "type": "Boolean",
120
- "default": "false",
121
118
  "desc": "Render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
122
- "category": "behavior",
123
- "required": false
119
+ "category": "behavior"
124
120
  },
125
121
  "boxClass": {
126
122
  "type": "String",
@@ -9,38 +9,59 @@
9
9
  "String",
10
10
  "Object"
11
11
  ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
12
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
13
13
  "examples": [
14
14
  "/home/dashboard",
15
15
  ":to=\"{ name: 'my-route-name' }\""
16
16
  ],
17
- "category": "behavior"
17
+ "category": "navigation"
18
18
  },
19
19
  "exact": {
20
20
  "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
22
- "category": "behavior"
21
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
22
+ "category": "navigation"
23
23
  },
24
24
  "replace": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "active-class": {
30
30
  "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
31
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
32
32
  "examples": [
33
33
  "my-active-class"
34
34
  ],
35
- "category": "behavior"
35
+ "category": "navigation"
36
36
  },
37
37
  "exact-active-class": {
38
38
  "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
39
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
40
40
  "examples": [
41
41
  "my-exact-active-class"
42
42
  ],
43
- "category": "behavior"
43
+ "category": "navigation"
44
+ },
45
+ "href": {
46
+ "type": "String",
47
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
+ "examples": [
49
+ "http://quasar.dev"
50
+ ],
51
+ "category": "navigation",
52
+ "addedIn": "v2.4"
53
+ },
54
+ "target": {
55
+ "type": "String",
56
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
57
+ "examples": [
58
+ "_blank",
59
+ "_self",
60
+ "_parent",
61
+ "_top"
62
+ ],
63
+ "category": "navigation",
64
+ "addedIn": "v2.4"
44
65
  },
45
66
  "disable": {
46
67
  "type": "Boolean",
@@ -17,16 +17,15 @@
17
17
  },
18
18
  "type": {
19
19
  "type": "String",
20
- "desc": "Define the button HTML DOM type",
20
+ "desc": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag",
21
21
  "default": "button",
22
- "values": [
22
+ "examples": [
23
23
  "a",
24
24
  "submit",
25
25
  "button",
26
- "reset"
27
- ],
28
- "examples": [
29
- "type=\"a\" href=\"http://some-site.net\" target=\"__blank\""
26
+ "reset",
27
+ "image/png",
28
+ "href=\"https://quasar.dev\" target=\"_blank\""
30
29
  ],
31
30
  "category": "general",
32
31
  "required": false
@@ -36,22 +35,39 @@
36
35
  "String",
37
36
  "Object"
38
37
  ],
39
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
38
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
40
39
  "examples": [
41
40
  "/home/dashboard",
42
41
  ":to=\"{ name: 'my-route-name' }\""
43
42
  ],
44
- "category": "router"
43
+ "category": "navigation"
45
44
  },
46
45
  "replace": {
47
46
  "type": "Boolean",
48
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
49
- "category": "router"
47
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
48
+ "category": "navigation"
50
49
  },
51
- "append": {
52
- "type": "Boolean",
53
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
54
- "category": "router"
50
+ "href": {
51
+ "type": "String",
52
+ "desc": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props",
53
+ "examples": [
54
+ "http://quasar.dev",
55
+ "href=\"https://quasar.dev\" target=\"_blank\""
56
+ ],
57
+ "category": "navigation",
58
+ "addedIn": "v2.4"
59
+ },
60
+ "target": {
61
+ "type": "String",
62
+ "desc": "Native <a> link target attribute; Use it only with 'to' or 'href' props",
63
+ "examples": [
64
+ "_blank",
65
+ "_self",
66
+ "_parent",
67
+ "_top"
68
+ ],
69
+ "category": "navigation",
70
+ "addedIn": "v2.4"
55
71
  },
56
72
  "label": {
57
73
  "type": [
@@ -6,7 +6,7 @@
6
6
  "props": {
7
7
  "model-value": {
8
8
  "desc": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
9
- "required": true,
9
+ "required": false,
10
10
  "category": "model",
11
11
  "type": "Boolean",
12
12
  "examples": [
@@ -26,16 +26,15 @@
26
26
  },
27
27
  "type": {
28
28
  "type": "String",
29
- "desc": "Define the button HTML DOM type",
29
+ "desc": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag",
30
30
  "default": "button",
31
- "values": [
31
+ "examples": [
32
32
  "a",
33
33
  "submit",
34
34
  "button",
35
- "reset"
36
- ],
37
- "examples": [
38
- "type=\"a\" href=\"http://some-site.net\" target=\"__blank\""
35
+ "reset",
36
+ "image/png",
37
+ "href=\"https://quasar.dev\" target=\"_blank\""
39
38
  ],
40
39
  "category": "general",
41
40
  "required": false
@@ -45,22 +44,39 @@
45
44
  "String",
46
45
  "Object"
47
46
  ],
48
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
47
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
49
48
  "examples": [
50
49
  "/home/dashboard",
51
50
  ":to=\"{ name: 'my-route-name' }\""
52
51
  ],
53
- "category": "router"
52
+ "category": "navigation"
54
53
  },
55
54
  "replace": {
56
55
  "type": "Boolean",
57
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
58
- "category": "router"
56
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
57
+ "category": "navigation"
59
58
  },
60
- "append": {
61
- "type": "Boolean",
62
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
63
- "category": "router"
59
+ "href": {
60
+ "type": "String",
61
+ "desc": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props",
62
+ "examples": [
63
+ "http://quasar.dev",
64
+ "href=\"https://quasar.dev\" target=\"_blank\""
65
+ ],
66
+ "category": "navigation",
67
+ "addedIn": "v2.4"
68
+ },
69
+ "target": {
70
+ "type": "String",
71
+ "desc": "Native <a> link target attribute; Use it only with 'to' or 'href' props",
72
+ "examples": [
73
+ "_blank",
74
+ "_self",
75
+ "_parent",
76
+ "_top"
77
+ ],
78
+ "category": "navigation",
79
+ "addedIn": "v2.4"
64
80
  },
65
81
  "label": {
66
82
  "type": [
@@ -231,6 +231,9 @@
231
231
  "slots": {
232
232
  "default": {
233
233
  "desc": "Suggestions: QTooltip, QBadge"
234
+ },
235
+ "...": {
236
+ "desc": "Any other dynamic slots to be used with 'slot' property of the 'options' prop"
234
237
  }
235
238
  },
236
239
  "events": {
@@ -85,31 +85,23 @@
85
85
  },
86
86
  "label-html": {
87
87
  "type": "Boolean",
88
- "default": "false",
89
88
  "desc": "Render the label as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
90
- "category": "behavior",
91
- "required": false
89
+ "category": "behavior"
92
90
  },
93
91
  "name-html": {
94
92
  "type": "Boolean",
95
- "default": "false",
96
93
  "desc": "Render the name as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
97
- "category": "behavior",
98
- "required": false
94
+ "category": "behavior"
99
95
  },
100
96
  "text-html": {
101
97
  "type": "Boolean",
102
- "default": "false",
103
98
  "desc": "Render the text as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
104
- "category": "behavior",
105
- "required": false
99
+ "category": "behavior"
106
100
  },
107
101
  "stamp-html": {
108
102
  "type": "Boolean",
109
- "default": "false",
110
103
  "desc": "Render the stamp as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
111
- "category": "behavior",
112
- "required": false
104
+ "category": "behavior"
113
105
  }
114
106
  },
115
107
  "slots": {
@@ -9,38 +9,59 @@
9
9
  "String",
10
10
  "Object"
11
11
  ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
12
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
13
13
  "examples": [
14
14
  "/home/dashboard",
15
15
  ":to=\"{ name: 'my-route-name' }\""
16
16
  ],
17
- "category": "behavior"
17
+ "category": "navigation"
18
18
  },
19
19
  "exact": {
20
20
  "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
22
- "category": "behavior"
21
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
22
+ "category": "navigation"
23
23
  },
24
24
  "replace": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "active-class": {
30
30
  "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
31
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
32
32
  "examples": [
33
33
  "my-active-class"
34
34
  ],
35
- "category": "behavior"
35
+ "category": "navigation"
36
36
  },
37
37
  "exact-active-class": {
38
38
  "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
39
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
40
40
  "examples": [
41
41
  "my-exact-active-class"
42
42
  ],
43
- "category": "behavior"
43
+ "category": "navigation"
44
+ },
45
+ "href": {
46
+ "type": "String",
47
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
+ "examples": [
49
+ "http://quasar.dev"
50
+ ],
51
+ "category": "navigation",
52
+ "addedIn": "v2.4"
53
+ },
54
+ "target": {
55
+ "type": "String",
56
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
57
+ "examples": [
58
+ "_blank",
59
+ "_self",
60
+ "_parent",
61
+ "_top"
62
+ ],
63
+ "category": "navigation",
64
+ "addedIn": "v2.4"
44
65
  },
45
66
  "disable": {
46
67
  "type": "Boolean",
@@ -48,9 +69,10 @@
48
69
  "category": "state"
49
70
  },
50
71
  "model-value": {
51
- "type": "Boolean",
52
72
  "desc": "Model of the component defining 'open' state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
53
- "category": "model"
73
+ "required": false,
74
+ "category": "model",
75
+ "type": "Boolean"
54
76
  },
55
77
  "icon": {
56
78
  "type": "String",
@@ -155,9 +155,10 @@
155
155
  "category": "general"
156
156
  },
157
157
  "model-value": {
158
- "type": "Boolean",
159
158
  "desc": "Controls state of fab actions (showing/hidden); Works best with v-model directive, otherwise use along listening to 'update:modelValue' event",
160
- "category": "model"
159
+ "required": false,
160
+ "category": "model",
161
+ "type": "Boolean"
161
162
  },
162
163
  "icon": {
163
164
  "type": "String",
@@ -226,6 +227,36 @@
226
227
  },
227
228
  "tooltip": {
228
229
  "desc": "Slot specifically designed for a QTooltip"
230
+ },
231
+ "icon": {
232
+ "desc": "Slot for icon shown when FAB is closed; Suggestion: QIcon",
233
+ "scope": {
234
+ "opened": {
235
+ "type": "Boolean",
236
+ "desc": "FAB is opened"
237
+ }
238
+ },
239
+ "addedIn": "v2.4"
240
+ },
241
+ "active-icon": {
242
+ "desc": "Slot for icon shown when FAB is opened; Suggestion: QIcon",
243
+ "scope": {
244
+ "opened": {
245
+ "type": "Boolean",
246
+ "desc": "FAB is opened"
247
+ }
248
+ },
249
+ "addedIn": "v2.4"
250
+ },
251
+ "label": {
252
+ "desc": "Slot for label",
253
+ "scope": {
254
+ "opened": {
255
+ "type": "Boolean",
256
+ "desc": "FAB is opened"
257
+ }
258
+ },
259
+ "addedIn": "v2.4"
229
260
  }
230
261
  },
231
262
  "events": {
@@ -196,6 +196,14 @@
196
196
  "slots": {
197
197
  "default": {
198
198
  "desc": "Suggestion for this slot: QTooltip"
199
+ },
200
+ "icon": {
201
+ "desc": "Slot for icon; Suggestion: QIcon",
202
+ "addedIn": "v2.4"
203
+ },
204
+ "label": {
205
+ "desc": "Slot for label",
206
+ "addedIn": "v2.4"
199
207
  }
200
208
  },
201
209
  "events": {
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "rules": {
31
31
  "type": "Array",
32
+ "tsType": "ValidationRule",
32
33
  "desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
33
34
  "examples": [
34
35
  ":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
@@ -128,6 +128,7 @@
128
128
  },
129
129
  "rules": {
130
130
  "type": "Array",
131
+ "tsType": "ValidationRule",
131
132
  "desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
132
133
  "examples": [
133
134
  ":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
@@ -488,7 +489,8 @@
488
489
  "desc": "File object"
489
490
  },
490
491
  "ref": {
491
- "type": "Object",
492
+ "type": "Component",
493
+ "tsType": "QFile",
492
494
  "desc": "Reference to the QFile component"
493
495
  }
494
496
  }
@@ -504,7 +506,8 @@
504
506
  "desc": "Array of File objects"
505
507
  },
506
508
  "ref": {
507
- "type": "Object",
509
+ "type": "Component",
510
+ "tsType": "QFile",
508
511
  "desc": "Reference to the QFile component"
509
512
  }
510
513
  }
@@ -44,7 +44,7 @@
44
44
  "desc": "Emitted after a validation was triggered and at least one of the inner Quasar components models are NOT valid",
45
45
  "params": {
46
46
  "ref": {
47
- "type": "Object",
47
+ "type": "Component",
48
48
  "desc": "Vue reference to the first component that triggered the validation error"
49
49
  }
50
50
  }
@@ -84,6 +84,7 @@
84
84
  },
85
85
  "rules": {
86
86
  "type": "Array",
87
+ "tsType": "ValidationRule",
87
88
  "desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
88
89
  "examples": [
89
90
  ":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
@@ -9,38 +9,59 @@
9
9
  "String",
10
10
  "Object"
11
11
  ],
12
- "desc": "Equivalent to Vue Router <router-link> 'to' property",
12
+ "desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
13
13
  "examples": [
14
14
  "/home/dashboard",
15
15
  ":to=\"{ name: 'my-route-name' }\""
16
16
  ],
17
- "category": "behavior"
17
+ "category": "navigation"
18
18
  },
19
19
  "exact": {
20
20
  "type": "Boolean",
21
- "desc": "Equivalent to Vue Router <router-link> 'exact' property",
22
- "category": "behavior"
21
+ "desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
22
+ "category": "navigation"
23
23
  },
24
24
  "replace": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "active-class": {
30
30
  "type": "String",
31
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
31
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
32
32
  "examples": [
33
33
  "my-active-class"
34
34
  ],
35
- "category": "behavior"
35
+ "category": "navigation"
36
36
  },
37
37
  "exact-active-class": {
38
38
  "type": "String",
39
- "desc": "Equivalent to Vue Router <router-link> 'active-class' property",
39
+ "desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
40
40
  "examples": [
41
41
  "my-exact-active-class"
42
42
  ],
43
- "category": "behavior"
43
+ "category": "navigation"
44
+ },
45
+ "href": {
46
+ "type": "String",
47
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
48
+ "examples": [
49
+ "http://quasar.dev"
50
+ ],
51
+ "category": "navigation",
52
+ "addedIn": "v2.4"
53
+ },
54
+ "target": {
55
+ "type": "String",
56
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
57
+ "examples": [
58
+ "_blank",
59
+ "_self",
60
+ "_parent",
61
+ "_top"
62
+ ],
63
+ "category": "navigation",
64
+ "addedIn": "v2.4"
44
65
  },
45
66
  "disable": {
46
67
  "type": "Boolean",