quasar 1.16.3 → 1.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/api/BottomSheet.json +2 -2
  2. package/dist/api/Loading.json +0 -2
  3. package/dist/api/LoadingBar.json +1 -1
  4. package/dist/api/Notify.json +25 -25
  5. package/dist/api/QAjaxBar.json +23 -4
  6. package/dist/api/QAvatar.json +1 -1
  7. package/dist/api/QBreadcrumbsEl.json +32 -11
  8. package/dist/api/QBtn.json +35 -14
  9. package/dist/api/QBtnDropdown.json +36 -15
  10. package/dist/api/QBtnToggle.json +1 -1
  11. package/dist/api/QCarousel.json +7 -7
  12. package/dist/api/QCarouselSlide.json +2 -2
  13. package/dist/api/QChatMessage.json +1 -5
  14. package/dist/api/QChip.json +4 -4
  15. package/dist/api/QColor.json +6 -0
  16. package/dist/api/QDialog.json +7 -1
  17. package/dist/api/QExpansionItem.json +34 -13
  18. package/dist/api/QFab.json +34 -2
  19. package/dist/api/QFabAction.json +9 -1
  20. package/dist/api/QField.json +80 -6
  21. package/dist/api/QFile.json +80 -6
  22. package/dist/api/QImg.json +2 -2
  23. package/dist/api/QInnerLoading.json +32 -0
  24. package/dist/api/QInput.json +82 -6
  25. package/dist/api/QItem.json +31 -10
  26. package/dist/api/QOptionGroup.json +58 -1
  27. package/dist/api/QPagination.json +4 -4
  28. package/dist/api/QParallax.json +1 -1
  29. package/dist/api/QPopupEdit.json +14 -7
  30. package/dist/api/QPullToRefresh.json +1 -1
  31. package/dist/api/QRange.json +581 -96
  32. package/dist/api/QRating.json +3 -3
  33. package/dist/api/QRouteTab.json +32 -12
  34. package/dist/api/QScrollArea.json +188 -20
  35. package/dist/api/QSelect.json +82 -10
  36. package/dist/api/QSeparator.json +1 -1
  37. package/dist/api/QSlider.json +499 -34
  38. package/dist/api/QStep.json +4 -4
  39. package/dist/api/QStepper.json +4 -4
  40. package/dist/api/QTab.json +1 -1
  41. package/dist/api/QTable.json +4 -4
  42. package/dist/api/QTabs.json +9 -0
  43. package/dist/api/QTimelineEntry.json +2 -2
  44. package/dist/api/QToggle.json +1 -1
  45. package/dist/api/QTree.json +7 -1
  46. package/dist/api/QVideo.json +10 -0
  47. package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
  48. package/dist/icon-set/eva-icons.umd.min.js +1 -1
  49. package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
  50. package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
  51. package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
  52. package/dist/icon-set/line-awesome.umd.min.js +1 -1
  53. package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
  54. package/dist/icon-set/material-icons-round.umd.min.js +1 -1
  55. package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
  56. package/dist/icon-set/material-icons.umd.min.js +1 -1
  57. package/dist/icon-set/mdi-v3.umd.min.js +1 -1
  58. package/dist/icon-set/mdi-v4.umd.min.js +1 -1
  59. package/dist/icon-set/mdi-v5.umd.min.js +1 -1
  60. package/dist/icon-set/mdi-v6.umd.min.js +1 -1
  61. package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
  62. package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
  63. package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
  64. package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
  65. package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
  66. package/dist/icon-set/svg-ionicons-v6.umd.min.js +6 -0
  67. package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
  68. package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
  69. package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
  70. package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
  71. package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
  72. package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
  73. package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
  74. package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
  75. package/dist/icon-set/svg-themify.umd.min.js +1 -1
  76. package/dist/icon-set/themify.umd.min.js +1 -1
  77. package/dist/lang/ar.umd.min.js +2 -2
  78. package/dist/lang/az-latn.umd.min.js +1 -1
  79. package/dist/lang/bg.umd.min.js +1 -1
  80. package/dist/lang/ca.umd.min.js +1 -1
  81. package/dist/lang/cs.umd.min.js +1 -1
  82. package/dist/lang/da.umd.min.js +1 -1
  83. package/dist/lang/de.umd.min.js +1 -1
  84. package/dist/lang/el.umd.min.js +1 -1
  85. package/dist/lang/en-gb.umd.min.js +1 -1
  86. package/dist/lang/en-us.umd.min.js +1 -1
  87. package/dist/lang/eo.umd.min.js +1 -1
  88. package/dist/lang/es.umd.min.js +1 -1
  89. package/dist/lang/et.umd.min.js +1 -1
  90. package/dist/lang/fa-ir.umd.min.js +1 -1
  91. package/dist/lang/fa.umd.min.js +1 -1
  92. package/dist/lang/fi.umd.min.js +1 -1
  93. package/dist/lang/fr.umd.min.js +2 -2
  94. package/dist/lang/gn.umd.min.js +1 -1
  95. package/dist/lang/he.umd.min.js +1 -1
  96. package/dist/lang/hr.umd.min.js +1 -1
  97. package/dist/lang/hu.umd.min.js +1 -1
  98. package/dist/lang/id.umd.min.js +1 -1
  99. package/dist/lang/is.umd.min.js +1 -1
  100. package/dist/lang/it.umd.min.js +1 -1
  101. package/dist/lang/ja.umd.min.js +1 -1
  102. package/dist/lang/km.umd.min.js +1 -1
  103. package/dist/lang/ko-kr.umd.min.js +1 -1
  104. package/dist/lang/kur-ckb.umd.min.js +1 -1
  105. package/dist/lang/lu.umd.min.js +1 -1
  106. package/dist/lang/lv.umd.min.js +1 -1
  107. package/dist/lang/ml.umd.min.js +1 -1
  108. package/dist/lang/ms.umd.min.js +1 -1
  109. package/dist/lang/nb-no.umd.min.js +1 -1
  110. package/dist/lang/nl.umd.min.js +1 -1
  111. package/dist/lang/pl.umd.min.js +1 -1
  112. package/dist/lang/pt-br.umd.min.js +1 -1
  113. package/dist/lang/pt.umd.min.js +1 -1
  114. package/dist/lang/ro.umd.min.js +1 -1
  115. package/dist/lang/ru.umd.min.js +1 -1
  116. package/dist/lang/sk.umd.min.js +1 -1
  117. package/dist/lang/sl.umd.min.js +1 -1
  118. package/dist/lang/sr.umd.min.js +2 -2
  119. package/dist/lang/sv.umd.min.js +1 -1
  120. package/dist/lang/ta.umd.min.js +1 -1
  121. package/dist/lang/th.umd.min.js +1 -1
  122. package/dist/lang/tr.umd.min.js +1 -1
  123. package/dist/lang/ug.umd.min.js +2 -2
  124. package/dist/lang/uk.umd.min.js +1 -1
  125. package/dist/lang/vi.umd.min.js +1 -1
  126. package/dist/lang/zh-hans.umd.min.js +2 -2
  127. package/dist/lang/zh-hant.umd.min.js +2 -2
  128. package/dist/quasar.addon.css +1 -1
  129. package/dist/quasar.addon.rtl.css +1 -1
  130. package/dist/quasar.common.js +2 -2
  131. package/dist/quasar.css +380 -227
  132. package/dist/quasar.esm.js +2 -2
  133. package/dist/quasar.ie.polyfills.js +1 -1
  134. package/dist/quasar.ie.polyfills.umd.min.js +1 -1
  135. package/dist/quasar.min.css +1 -1
  136. package/dist/quasar.rtl.css +512 -303
  137. package/dist/quasar.rtl.min.css +1 -1
  138. package/dist/quasar.sass +328 -210
  139. package/dist/quasar.styl +328 -210
  140. package/dist/quasar.umd.js +3244 -1894
  141. package/dist/quasar.umd.min.js +2 -2
  142. package/dist/quasar.umd.modern.js +3199 -1875
  143. package/dist/quasar.umd.modern.min.js +2 -2
  144. package/dist/transform-asset-urls.json +20 -0
  145. package/dist/types/index.d.ts +427 -105
  146. package/dist/types/utils/scroll.d.ts +1 -0
  147. package/dist/vetur/quasar-attributes.json +320 -92
  148. package/dist/vetur/quasar-tags.json +76 -19
  149. package/dist/web-types/web-types.json +1296 -257
  150. package/icon-set/svg-ionicons-v6.js +225 -0
  151. package/lang/ar.js +1 -1
  152. package/lang/fa-ir.js +3 -1
  153. package/lang/fa.js +3 -1
  154. package/lang/fr.js +1 -1
  155. package/lang/index.json +1 -1
  156. package/lang/kur-ckb.js +2 -2
  157. package/lang/sr.js +4 -4
  158. package/lang/ug.js +48 -46
  159. package/lang/zh-hans.js +1 -1
  160. package/lang/zh-hant.js +18 -18
  161. package/package.json +1 -1
  162. package/src/api.extends.json +1 -2
  163. package/src/components/ajax-bar/QAjaxBar.js +48 -26
  164. package/src/components/ajax-bar/QAjaxBar.json +22 -4
  165. package/src/components/breadcrumbs/QBreadcrumbs.js +15 -11
  166. package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
  167. package/src/components/breadcrumbs/QBreadcrumbs.styl +0 -3
  168. package/src/components/breadcrumbs/QBreadcrumbsEl.js +25 -9
  169. package/src/components/btn/QBtn.js +3 -3
  170. package/src/components/btn-dropdown/QBtnDropdown.sass +2 -0
  171. package/src/components/btn-dropdown/QBtnDropdown.styl +2 -0
  172. package/src/components/btn-toggle/QBtnToggle.js +4 -1
  173. package/src/components/carousel/QCarousel.js +6 -2
  174. package/src/components/carousel/QCarousel.json +9 -1
  175. package/src/components/carousel/QCarouselSlide.json +2 -2
  176. package/src/components/chat/QChatMessage.json +1 -1
  177. package/src/components/color/QColor.js +100 -85
  178. package/src/components/color/QColor.json +7 -0
  179. package/src/components/color/QColor.sass +14 -24
  180. package/src/components/color/QColor.styl +14 -24
  181. package/src/components/date/QDate.js +7 -1
  182. package/src/components/date/QDate.sass +2 -0
  183. package/src/components/date/QDate.styl +2 -0
  184. package/src/components/dialog/QDialog.js +8 -4
  185. package/src/components/dialog/QDialog.json +8 -1
  186. package/src/components/drawer/QDrawer.js +16 -15
  187. package/src/components/editor/QEditor.js +2 -2
  188. package/src/components/editor/QEditor.sass +13 -1
  189. package/src/components/editor/QEditor.styl +13 -1
  190. package/src/components/expansion-item/QExpansionItem.js +13 -11
  191. package/src/components/fab/QFab.js +20 -11
  192. package/src/components/fab/QFab.json +35 -0
  193. package/src/components/fab/QFabAction.js +16 -9
  194. package/src/components/fab/QFabAction.json +10 -0
  195. package/src/components/field/QField.js +28 -23
  196. package/src/components/field/__QField.json +72 -8
  197. package/src/components/file/QFile.js +12 -4
  198. package/src/components/file/QFile.sass +4 -3
  199. package/src/components/file/QFile.styl +4 -3
  200. package/src/components/footer/QFooter.js +1 -1
  201. package/src/components/form/QForm.js +1 -1
  202. package/src/components/header/QHeader.js +1 -1
  203. package/src/components/icon/QIcon.js +89 -75
  204. package/src/components/icon/QIcon.sass +2 -2
  205. package/src/components/icon/QIcon.styl +2 -2
  206. package/src/components/img/QImg.json +2 -2
  207. package/src/components/infinite-scroll/QInfiniteScroll.js +49 -36
  208. package/src/components/inner-loading/QInnerLoading.js +54 -22
  209. package/src/components/inner-loading/QInnerLoading.json +29 -0
  210. package/src/components/inner-loading/QInnerLoading.sass +3 -0
  211. package/src/components/inner-loading/QInnerLoading.styl +3 -0
  212. package/src/components/item/QItem.js +9 -15
  213. package/src/components/layout/QLayout.js +49 -0
  214. package/src/components/linear-progress/QLinearProgress.js +6 -2
  215. package/src/components/menu/QMenu.js +5 -1
  216. package/src/components/option-group/QOptionGroup.js +32 -22
  217. package/src/components/option-group/QOptionGroup.json +50 -1
  218. package/src/components/parallax/QParallax.js +3 -0
  219. package/src/components/parallax/QParallax.json +1 -1
  220. package/src/components/popup-edit/QPopupEdit.js +41 -16
  221. package/src/components/popup-edit/QPopupEdit.json +15 -8
  222. package/src/components/range/QRange.js +223 -278
  223. package/src/components/range/QRange.json +11 -122
  224. package/src/components/rating/QRating.js +56 -38
  225. package/src/components/rating/QRating.json +3 -3
  226. package/src/components/rating/QRating.sass +8 -6
  227. package/src/components/rating/QRating.styl +8 -6
  228. package/src/components/resize-observer/QResizeObserver.js +15 -10
  229. package/src/components/scroll-area/QScrollArea.js +342 -126
  230. package/src/components/scroll-area/QScrollArea.json +164 -20
  231. package/src/components/scroll-area/QScrollArea.sass +5 -0
  232. package/src/components/scroll-area/QScrollArea.styl +5 -0
  233. package/src/components/scroll-observer/QScrollObserver.js +12 -7
  234. package/src/components/select/QSelect.js +8 -2
  235. package/src/components/select/QSelect.json +1 -1
  236. package/src/components/separator/QSeparator.js +0 -1
  237. package/src/components/separator/QSeparator.json +1 -1
  238. package/src/components/slider/QSlider.js +97 -140
  239. package/src/components/slider/QSlider.json +1 -122
  240. package/src/components/slider/QSlider.sass +205 -139
  241. package/src/components/slider/QSlider.styl +205 -139
  242. package/src/components/slider/slider-utils.js +468 -123
  243. package/src/components/slider/slider-utils.json +546 -0
  244. package/src/components/stepper/QStepper.js +1 -1
  245. package/src/components/stepper/QStepper.sass +25 -26
  246. package/src/components/stepper/QStepper.styl +25 -26
  247. package/src/components/table/QTable.sass +3 -0
  248. package/src/components/table/QTable.styl +3 -0
  249. package/src/components/tabs/QRouteTab.js +13 -13
  250. package/src/components/tabs/QRouteTab.json +0 -7
  251. package/src/components/tabs/QTab.js +71 -20
  252. package/src/components/tabs/QTabs.js +237 -52
  253. package/src/components/tabs/QTabs.json +8 -0
  254. package/src/components/tabs/QTabs.sass +6 -6
  255. package/src/components/tabs/QTabs.styl +6 -6
  256. package/src/components/time/QTime.js +6 -2
  257. package/src/components/timeline/QTimeline.sass +1 -2
  258. package/src/components/timeline/QTimeline.styl +1 -2
  259. package/src/components/timeline/QTimelineEntry.json +1 -1
  260. package/src/components/tree/QTree.js +10 -6
  261. package/src/components/tree/QTree.json +5 -0
  262. package/src/components/tree/QTree.sass +58 -4
  263. package/src/components/tree/QTree.styl +58 -4
  264. package/src/components/uploader/QUploaderBase.js +15 -19
  265. package/src/components/video/QVideo.js +4 -1
  266. package/src/components/video/QVideo.json +11 -0
  267. package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
  268. package/src/components/virtual-scroll/QVirtualScroll.styl +1 -0
  269. package/src/css/core/helpers.sass +3 -0
  270. package/src/css/core/helpers.styl +3 -0
  271. package/src/css/core/positioning.sass +5 -0
  272. package/src/css/core/positioning.styl +5 -0
  273. package/src/css/variables.sass +4 -6
  274. package/src/css/variables.styl +4 -6
  275. package/src/directives/Scroll.js +2 -2
  276. package/src/directives/ScrollFire.js +1 -0
  277. package/src/ie-compat/ie.js +13 -13
  278. package/src/install.js +1 -1
  279. package/src/lang.js +7 -4
  280. package/src/mixins/anchor.js +3 -13
  281. package/src/mixins/btn.js +33 -38
  282. package/src/mixins/btn.json +26 -11
  283. package/src/mixins/file.js +27 -5
  284. package/src/mixins/fullscreen.js +16 -4
  285. package/src/mixins/portal.js +10 -10
  286. package/src/mixins/router-link.js +88 -14
  287. package/src/mixins/router-link.json +26 -10
  288. package/src/mixins/validate.js +33 -15
  289. package/src/mixins/virtual-scroll.js +40 -42
  290. package/src/plugins/AppFullscreen.js +41 -16
  291. package/src/plugins/BottomSheet.json +1 -1
  292. package/src/plugins/Cookies.js +1 -1
  293. package/src/plugins/Loading.js +8 -0
  294. package/src/plugins/LoadingBar.js +9 -0
  295. package/src/plugins/LoadingBar.json +1 -1
  296. package/src/plugins/Notify.js +351 -333
  297. package/src/plugins/Notify.json +20 -20
  298. package/src/plugins/Notify.sass +9 -3
  299. package/src/plugins/Notify.styl +9 -3
  300. package/src/utils/clone.js +53 -4
  301. package/src/utils/date.js +134 -69
  302. package/src/utils/dom.js +28 -9
  303. package/src/utils/extend.js +2 -2
  304. package/src/utils/focus-manager.js +8 -10
  305. package/src/utils/global-dialog.js +18 -1
  306. package/src/utils/is.js +2 -2
  307. package/src/utils/morph.js +2 -12
  308. package/src/utils/scroll.js +71 -35
@@ -53,7 +53,7 @@
53
53
  "desc": "URL to the avatar image of the author",
54
54
  "transformAssetUrls": true,
55
55
  "examples": [
56
- "(statics folder) src=\"statics/boy-avatar.png\"",
56
+ "(public folder) src=\"boy-avatar.png\"",
57
57
  "(assets folder) src=\"~assets/boy-avatar.png\"",
58
58
  "(relative path format) :src=\"require('./my_img.jpg')\"",
59
59
  "(URL) src=\"https://placeimg.com/500/300/nature\""
@@ -90,25 +90,21 @@
90
90
  },
91
91
  "label-sanitize": {
92
92
  "type": "Boolean",
93
- "default": "false",
94
93
  "desc": "Force use of textContent instead of innerHTML to render label; Use it when the label might be unsafe (from user input)",
95
94
  "category": "behavior"
96
95
  },
97
96
  "name-sanitize": {
98
97
  "type": "Boolean",
99
- "default": "false",
100
98
  "desc": "Force use of textContent instead of innerHTML to render name; Use it when the name might be unsafe (from user input)",
101
99
  "category": "behavior"
102
100
  },
103
101
  "text-sanitize": {
104
102
  "type": "Boolean",
105
- "default": "false",
106
103
  "desc": "Force use of textContent instead of innerHTML to render text; Use it when the text might be unsafe (from user input)",
107
104
  "category": "behavior"
108
105
  },
109
106
  "stamp-sanitize": {
110
107
  "type": "Boolean",
111
- "default": "false",
112
108
  "desc": "Force use of textContent instead of innerHTML to render stamp; Use it when the stamp might be unsafe (from user input)",
113
109
  "category": "behavior"
114
110
  }
@@ -50,7 +50,7 @@
50
50
  "map",
51
51
  "ion-add",
52
52
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
53
- "img:statics/path/to/some_image.png"
53
+ "img:path/to/some_image.png"
54
54
  ],
55
55
  "category": "content"
56
56
  },
@@ -61,7 +61,7 @@
61
61
  "map",
62
62
  "ion-add",
63
63
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
64
- "img:statics/path/to/some_image.png"
64
+ "img:path/to/some_image.png"
65
65
  ],
66
66
  "category": "content"
67
67
  },
@@ -72,7 +72,7 @@
72
72
  "map",
73
73
  "ion-add",
74
74
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
75
- "img:statics/path/to/some_image.png"
75
+ "img:path/to/some_image.png"
76
76
  ],
77
77
  "category": "content"
78
78
  },
@@ -83,7 +83,7 @@
83
83
  "map",
84
84
  "ion-add",
85
85
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
86
- "img:statics/path/to/some_image.png"
86
+ "img:path/to/some_image.png"
87
87
  ],
88
88
  "category": "content",
89
89
  "addedIn": "v1.14.6"
@@ -93,6 +93,12 @@
93
93
  "desc": "Do not render header",
94
94
  "category": "content"
95
95
  },
96
+ "no-header-tabs": {
97
+ "type": "Boolean",
98
+ "desc": "Do not render header tabs (only the input)",
99
+ "category": "content",
100
+ "addedIn": "v1.17"
101
+ },
96
102
  "no-footer": {
97
103
  "type": "Boolean",
98
104
  "desc": "Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it",
@@ -136,6 +136,12 @@
136
136
  "type": "Boolean",
137
137
  "desc": "(Accessibility) When Dialog gets shown, do not switch focus on it",
138
138
  "category": "behavior"
139
+ },
140
+ "no-shake": {
141
+ "type": "Boolean",
142
+ "desc": "Do not shake up the Dialog to catch user's attention",
143
+ "category": "behavior",
144
+ "addedIn": "v1.17"
139
145
  }
140
146
  },
141
147
  "slots": {
@@ -194,7 +200,7 @@
194
200
  }
195
201
  },
196
202
  "shake": {
197
- "desc": "Shakes up the Dialog in order to catch user's attention"
203
+ "desc": "Emitted when the Dialog shakes in order to catch user's attention, unless the 'no-shake' property is set"
198
204
  },
199
205
  "escape-key": {
200
206
  "desc": "Emitted when ESC key is pressed; Does not get emitted if Dialog is 'persistent' or it has 'no-esc-key' set"
@@ -9,27 +9,27 @@
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
  "append": {
25
25
  "type": "Boolean",
26
- "desc": "Equivalent to Vue Router <router-link> 'append' property",
27
- "category": "behavior"
26
+ "desc": "Equivalent to Vue Router <router-link> 'append' property; Superseeded by 'href' prop if used",
27
+ "category": "navigation"
28
28
  },
29
29
  "replace": {
30
30
  "type": "Boolean",
31
- "desc": "Equivalent to Vue Router <router-link> 'replace' property",
32
- "category": "behavior"
31
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
32
+ "category": "navigation"
33
33
  },
34
34
  "active-class": {
35
35
  "type": "String",
@@ -37,7 +37,7 @@
37
37
  "examples": [
38
38
  "my-active-class"
39
39
  ],
40
- "category": "behavior"
40
+ "category": "navigation"
41
41
  },
42
42
  "exact-active-class": {
43
43
  "type": "String",
@@ -45,7 +45,28 @@
45
45
  "examples": [
46
46
  "my-exact-active-class"
47
47
  ],
48
- "category": "behavior"
48
+ "category": "navigation"
49
+ },
50
+ "href": {
51
+ "type": "String",
52
+ "desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace' props",
53
+ "examples": [
54
+ "http://quasar.dev"
55
+ ],
56
+ "category": "navigation",
57
+ "addedIn": "v1.17"
58
+ },
59
+ "target": {
60
+ "type": "String",
61
+ "desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace' props",
62
+ "examples": [
63
+ "_blank",
64
+ "_self",
65
+ "_parent",
66
+ "_top"
67
+ ],
68
+ "category": "navigation",
69
+ "addedIn": "v1.17"
49
70
  },
50
71
  "disable": {
51
72
  "type": "Boolean",
@@ -64,7 +85,7 @@
64
85
  "map",
65
86
  "ion-add",
66
87
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
67
- "img:statics/path/to/some_image.png"
88
+ "img:path/to/some_image.png"
68
89
  ],
69
90
  "category": "content"
70
91
  },
@@ -75,7 +96,7 @@
75
96
  "map",
76
97
  "ion-add",
77
98
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
78
- "img:statics/path/to/some_image.png"
99
+ "img:path/to/some_image.png"
79
100
  ],
80
101
  "category": "content"
81
102
  },
@@ -86,7 +107,7 @@
86
107
  "map",
87
108
  "ion-add",
88
109
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
89
- "img:statics/path/to/some_image.png"
110
+ "img:path/to/some_image.png"
90
111
  ],
91
112
  "category": "content",
92
113
  "addedIn": "v1.4.5"
@@ -179,7 +179,7 @@
179
179
  "map",
180
180
  "ion-add",
181
181
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
182
- "img:statics/path/to/some_image.png"
182
+ "img:path/to/some_image.png"
183
183
  ],
184
184
  "category": "content"
185
185
  },
@@ -190,7 +190,7 @@
190
190
  "map",
191
191
  "ion-add",
192
192
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
193
- "img:statics/path/to/some_image.png"
193
+ "img:path/to/some_image.png"
194
194
  ],
195
195
  "category": "content"
196
196
  },
@@ -241,6 +241,38 @@
241
241
  "desc": "Slot specifically designed for a QTooltip"
242
242
  }
243
243
  },
244
+ "scopedSlots": {
245
+ "icon": {
246
+ "desc": "Slot for icon shown when FAB is closed; Suggestion: QIcon",
247
+ "scope": {
248
+ "opened": {
249
+ "type": "Boolean",
250
+ "desc": "FAB is opened"
251
+ }
252
+ },
253
+ "addedIn": "v1.17"
254
+ },
255
+ "active-icon": {
256
+ "desc": "Slot for icon shown when FAB is opened; Suggestion: QIcon",
257
+ "scope": {
258
+ "opened": {
259
+ "type": "Boolean",
260
+ "desc": "FAB is opened"
261
+ }
262
+ },
263
+ "addedIn": "v1.17"
264
+ },
265
+ "label": {
266
+ "desc": "Slot for label",
267
+ "scope": {
268
+ "opened": {
269
+ "type": "Boolean",
270
+ "desc": "FAB is opened"
271
+ }
272
+ },
273
+ "addedIn": "v1.17"
274
+ }
275
+ },
244
276
  "events": {
245
277
  "input": {
246
278
  "desc": "Emitted when fab actions are shown/hidden; Captured by v-model directive",
@@ -174,7 +174,7 @@
174
174
  "map",
175
175
  "ion-add",
176
176
  "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
177
- "img:statics/path/to/some_image.png"
177
+ "img:path/to/some_image.png"
178
178
  ],
179
179
  "category": "content"
180
180
  },
@@ -210,6 +210,14 @@
210
210
  "slots": {
211
211
  "default": {
212
212
  "desc": "Suggestion for this slot: QTooltip"
213
+ },
214
+ "icon": {
215
+ "desc": "Slot for icon; Suggestion: QIcon",
216
+ "addedIn": "v1.17"
217
+ },
218
+ "label": {
219
+ "desc": "Slot for label",
220
+ "addedIn": "v1.17"
213
221
  }
214
222
  },
215
223
  "events": {
@@ -276,12 +276,6 @@
276
276
  "desc": "Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored",
277
277
  "addedIn": "v1.12.9"
278
278
  },
279
- "error": {
280
- "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
281
- },
282
- "hint": {
283
- "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
284
- },
285
279
  "counter": {
286
280
  "desc": "Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
287
281
  },
@@ -290,6 +284,86 @@
290
284
  }
291
285
  },
292
286
  "scopedSlots": {
287
+ "error": {
288
+ "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
289
+ "scope": {
290
+ "id": {
291
+ "type": "String",
292
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
293
+ "examples": [
294
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
295
+ ]
296
+ },
297
+ "field": {
298
+ "type": "Object",
299
+ "desc": "DOM element of the field"
300
+ },
301
+ "editable": {
302
+ "type": "Boolean",
303
+ "desc": "Field is editable"
304
+ },
305
+ "focused": {
306
+ "type": "Boolean",
307
+ "desc": "Field has focus"
308
+ },
309
+ "value": {
310
+ "type": "Any",
311
+ "desc": "Field's value",
312
+ "examples": [
313
+ 0.241,
314
+ "Text"
315
+ ]
316
+ },
317
+ "errorMessage": {
318
+ "type": "String",
319
+ "desc": "Error message (from errorMessage prop or generated by rules)",
320
+ "examples": [
321
+ "The field is required"
322
+ ]
323
+ }
324
+ },
325
+ "addedIn": "v1.17"
326
+ },
327
+ "hint": {
328
+ "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
329
+ "scope": {
330
+ "id": {
331
+ "type": "String",
332
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
333
+ "examples": [
334
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
335
+ ]
336
+ },
337
+ "field": {
338
+ "type": "Object",
339
+ "desc": "DOM element of the field"
340
+ },
341
+ "editable": {
342
+ "type": "Boolean",
343
+ "desc": "Field is editable"
344
+ },
345
+ "focused": {
346
+ "type": "Boolean",
347
+ "desc": "Field has focus"
348
+ },
349
+ "value": {
350
+ "type": "Any",
351
+ "desc": "Field's value",
352
+ "examples": [
353
+ 0.241,
354
+ "Text"
355
+ ]
356
+ },
357
+ "errorMessage": {
358
+ "type": "String",
359
+ "desc": "Error message (from errorMessage prop or generated by rules)",
360
+ "examples": [
361
+ "The field is required"
362
+ ]
363
+ }
364
+ },
365
+ "addedIn": "v1.17"
366
+ },
293
367
  "control": {
294
368
  "desc": "Slot for controls; Suggestion QSlider, QRange, QKnob, ...",
295
369
  "scope": {
@@ -465,12 +465,6 @@
465
465
  "desc": "Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored",
466
466
  "addedIn": "v1.12.9"
467
467
  },
468
- "error": {
469
- "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
470
- },
471
- "hint": {
472
- "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
473
- },
474
468
  "counter": {
475
469
  "desc": "Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
476
470
  },
@@ -479,6 +473,86 @@
479
473
  }
480
474
  },
481
475
  "scopedSlots": {
476
+ "error": {
477
+ "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
478
+ "scope": {
479
+ "id": {
480
+ "type": "String",
481
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
482
+ "examples": [
483
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
484
+ ]
485
+ },
486
+ "field": {
487
+ "type": "Object",
488
+ "desc": "DOM element of the field"
489
+ },
490
+ "editable": {
491
+ "type": "Boolean",
492
+ "desc": "Field is editable"
493
+ },
494
+ "focused": {
495
+ "type": "Boolean",
496
+ "desc": "Field has focus"
497
+ },
498
+ "value": {
499
+ "type": "Any",
500
+ "desc": "Field's value",
501
+ "examples": [
502
+ 0.241,
503
+ "Text"
504
+ ]
505
+ },
506
+ "errorMessage": {
507
+ "type": "String",
508
+ "desc": "Error message (from errorMessage prop or generated by rules)",
509
+ "examples": [
510
+ "The field is required"
511
+ ]
512
+ }
513
+ },
514
+ "addedIn": "v1.17"
515
+ },
516
+ "hint": {
517
+ "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
518
+ "scope": {
519
+ "id": {
520
+ "type": "String",
521
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
522
+ "examples": [
523
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
524
+ ]
525
+ },
526
+ "field": {
527
+ "type": "Object",
528
+ "desc": "DOM element of the field"
529
+ },
530
+ "editable": {
531
+ "type": "Boolean",
532
+ "desc": "Field is editable"
533
+ },
534
+ "focused": {
535
+ "type": "Boolean",
536
+ "desc": "Field has focus"
537
+ },
538
+ "value": {
539
+ "type": "Any",
540
+ "desc": "Field's value",
541
+ "examples": [
542
+ 0.241,
543
+ "Text"
544
+ ]
545
+ },
546
+ "errorMessage": {
547
+ "type": "String",
548
+ "desc": "Error message (from errorMessage prop or generated by rules)",
549
+ "examples": [
550
+ "The field is required"
551
+ ]
552
+ }
553
+ },
554
+ "addedIn": "v1.17"
555
+ },
482
556
  "file": {
483
557
  "desc": "Override default node to render a file from the user picked list",
484
558
  "scope": {
@@ -31,7 +31,7 @@
31
31
  "desc": "Path to image",
32
32
  "transformAssetUrls": true,
33
33
  "examples": [
34
- "(statics folder) src=\"statics/img/something.png\"",
34
+ "(public folder) src=\"img/something.png\"",
35
35
  "(assets folder) src=\"~assets/my-img.gif\"",
36
36
  "(relative path format) :src=\"require('./my_img.jpg')\"",
37
37
  "(URL) src=\"https://placeimg.com/500/300/nature\""
@@ -89,7 +89,7 @@
89
89
  "desc": "While waiting for your image to load, you can use a placeholder image",
90
90
  "transformAssetUrls": true,
91
91
  "examples": [
92
- "(statics folder) src=\"statics/img/some-placeholder.png\"",
92
+ "(public folder) src=\"img/some-placeholder.png\"",
93
93
  "(assets folder) src=\"~assets/my-placeholder.gif\"",
94
94
  "(relative path format) :src=\"require('./placeholder.jpg')\"",
95
95
  "(URL) src=\"https://placeimg.com/500/300/nature\""
@@ -35,6 +35,38 @@
35
35
  ],
36
36
  "category": "style"
37
37
  },
38
+ "label": {
39
+ "type": "String",
40
+ "desc": "Add a label; Gets overriden when using the default slot",
41
+ "examples": [
42
+ "Please wait..."
43
+ ],
44
+ "category": "label",
45
+ "addedIn": "v1.17"
46
+ },
47
+ "label-class": {
48
+ "type": "String",
49
+ "desc": "Add CSS class(es) to the label; Works along the 'label' prop only",
50
+ "examples": [
51
+ "text-red q-mt-xl"
52
+ ],
53
+ "category": "label",
54
+ "addedIn": "v1.17"
55
+ },
56
+ "label-style": {
57
+ "type": [
58
+ "Array",
59
+ "String",
60
+ "Object"
61
+ ],
62
+ "desc": "Apply custom style to the label; Works along the 'label' prop only",
63
+ "examples": [
64
+ "font-size: 28px",
65
+ ":label-style=\"{ color: '#ff0000' }\""
66
+ ],
67
+ "category": "label",
68
+ "addedIn": "v1.17"
69
+ },
38
70
  "transition-show": {
39
71
  "type": "String",
40
72
  "desc": "One of Quasar's embedded transitions",
@@ -405,12 +405,6 @@
405
405
  "desc": "Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored",
406
406
  "addedIn": "v1.12.9"
407
407
  },
408
- "error": {
409
- "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
410
- },
411
- "hint": {
412
- "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
413
- },
414
408
  "counter": {
415
409
  "desc": "Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
416
410
  },
@@ -418,6 +412,88 @@
418
412
  "desc": "Override default spinner when component is in loading mode; Use in conjunction with 'loading' prop"
419
413
  }
420
414
  },
415
+ "scopedSlots": {
416
+ "error": {
417
+ "desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
418
+ "scope": {
419
+ "id": {
420
+ "type": "String",
421
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
422
+ "examples": [
423
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
424
+ ]
425
+ },
426
+ "field": {
427
+ "type": "Object",
428
+ "desc": "DOM element of the field"
429
+ },
430
+ "editable": {
431
+ "type": "Boolean",
432
+ "desc": "Field is editable"
433
+ },
434
+ "focused": {
435
+ "type": "Boolean",
436
+ "desc": "Field has focus"
437
+ },
438
+ "value": {
439
+ "type": "Any",
440
+ "desc": "Field's value",
441
+ "examples": [
442
+ 0.241,
443
+ "Text"
444
+ ]
445
+ },
446
+ "errorMessage": {
447
+ "type": "String",
448
+ "desc": "Error message (from errorMessage prop or generated by rules)",
449
+ "examples": [
450
+ "The field is required"
451
+ ]
452
+ }
453
+ },
454
+ "addedIn": "v1.17"
455
+ },
456
+ "hint": {
457
+ "desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
458
+ "scope": {
459
+ "id": {
460
+ "type": "String",
461
+ "desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
462
+ "examples": [
463
+ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
464
+ ]
465
+ },
466
+ "field": {
467
+ "type": "Object",
468
+ "desc": "DOM element of the field"
469
+ },
470
+ "editable": {
471
+ "type": "Boolean",
472
+ "desc": "Field is editable"
473
+ },
474
+ "focused": {
475
+ "type": "Boolean",
476
+ "desc": "Field has focus"
477
+ },
478
+ "value": {
479
+ "type": "Any",
480
+ "desc": "Field's value",
481
+ "examples": [
482
+ 0.241,
483
+ "Text"
484
+ ]
485
+ },
486
+ "errorMessage": {
487
+ "type": "String",
488
+ "desc": "Error message (from errorMessage prop or generated by rules)",
489
+ "examples": [
490
+ "The field is required"
491
+ ]
492
+ }
493
+ },
494
+ "addedIn": "v1.17"
495
+ }
496
+ },
421
497
  "events": {
422
498
  "clear": {
423
499
  "desc": "When using the 'clearable' property, this event is emitted when the clear icon is clicked",