quasar 2.13.0 → 2.14.0

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 (199) hide show
  1. package/dist/api/BottomSheet.json +7 -2
  2. package/dist/api/Dialog.json +7 -2
  3. package/dist/api/QBanner.json +7 -2
  4. package/dist/api/QBar.json +7 -2
  5. package/dist/api/QBtn.json +7 -2
  6. package/dist/api/QBtnDropdown.json +7 -2
  7. package/dist/api/QCard.json +7 -2
  8. package/dist/api/QCarousel.json +7 -2
  9. package/dist/api/QCheckbox.json +8 -3
  10. package/dist/api/QChip.json +13 -3
  11. package/dist/api/QColor.json +7 -2
  12. package/dist/api/QDate.json +7 -2
  13. package/dist/api/QDrawer.json +7 -2
  14. package/dist/api/QEditor.json +7 -2
  15. package/dist/api/QExpansionItem.json +7 -2
  16. package/dist/api/QFab.json +7 -2
  17. package/dist/api/QFabAction.json +7 -2
  18. package/dist/api/QField.json +28 -4
  19. package/dist/api/QFile.json +14 -4
  20. package/dist/api/QImg.json +3 -3
  21. package/dist/api/QInnerLoading.json +7 -2
  22. package/dist/api/QInput.json +16 -5
  23. package/dist/api/QIntersection.json +7 -2
  24. package/dist/api/QItem.json +12 -4
  25. package/dist/api/QLinearProgress.json +7 -2
  26. package/dist/api/QList.json +7 -2
  27. package/dist/api/QMarkupTable.json +7 -2
  28. package/dist/api/QMenu.json +21 -6
  29. package/dist/api/QOptionGroup.json +7 -2
  30. package/dist/api/QPagination.json +37 -11
  31. package/dist/api/QRadio.json +7 -2
  32. package/dist/api/QRange.json +7 -2
  33. package/dist/api/QScrollArea.json +14 -4
  34. package/dist/api/QSelect.json +23 -7
  35. package/dist/api/QSeparator.json +7 -2
  36. package/dist/api/QSkeleton.json +7 -2
  37. package/dist/api/QSlideItem.json +7 -2
  38. package/dist/api/QSlider.json +7 -2
  39. package/dist/api/QStepper.json +7 -2
  40. package/dist/api/QTabPanel.json +7 -2
  41. package/dist/api/QTable.json +70 -20
  42. package/dist/api/QTime.json +17 -6
  43. package/dist/api/QTimeline.json +7 -2
  44. package/dist/api/QToggle.json +8 -3
  45. package/dist/api/QTooltip.json +14 -4
  46. package/dist/api/QTree.json +7 -2
  47. package/dist/api/QUploader.json +7 -2
  48. package/dist/api/QVirtualScroll.json +2 -1
  49. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  50. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  51. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  52. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  53. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  54. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  55. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  56. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  57. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  58. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  59. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  60. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  61. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  62. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  63. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  64. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  65. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  66. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  67. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  68. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  69. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +2 -2
  70. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  71. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  72. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  73. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  74. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  75. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  76. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  77. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  78. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  79. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  80. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  81. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +2 -2
  82. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
  83. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
  84. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  85. package/dist/icon-set/svg-mdi-v7.umd.prod.js +2 -2
  86. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  87. package/dist/icon-set/themify.umd.prod.js +1 -1
  88. package/dist/lang/ar-TN.umd.prod.js +1 -1
  89. package/dist/lang/ar.umd.prod.js +1 -1
  90. package/dist/lang/az-Latn.umd.prod.js +1 -1
  91. package/dist/lang/bg.umd.prod.js +1 -1
  92. package/dist/lang/bn.umd.prod.js +1 -1
  93. package/dist/lang/ca.umd.prod.js +1 -1
  94. package/dist/lang/cs.umd.prod.js +1 -1
  95. package/dist/lang/da.umd.prod.js +1 -1
  96. package/dist/lang/de-CH.umd.prod.js +1 -1
  97. package/dist/lang/de-DE.umd.prod.js +1 -1
  98. package/dist/lang/de.umd.prod.js +1 -1
  99. package/dist/lang/el.umd.prod.js +1 -1
  100. package/dist/lang/en-GB.umd.prod.js +1 -1
  101. package/dist/lang/en-US.umd.prod.js +1 -1
  102. package/dist/lang/eo.umd.prod.js +1 -1
  103. package/dist/lang/es.umd.prod.js +1 -1
  104. package/dist/lang/et.umd.prod.js +1 -1
  105. package/dist/lang/eu.umd.prod.js +1 -1
  106. package/dist/lang/fa-IR.umd.prod.js +1 -1
  107. package/dist/lang/fa.umd.prod.js +1 -1
  108. package/dist/lang/fi.umd.prod.js +1 -1
  109. package/dist/lang/fr.umd.prod.js +1 -1
  110. package/dist/lang/gn.umd.prod.js +1 -1
  111. package/dist/lang/he.umd.prod.js +1 -1
  112. package/dist/lang/hi.umd.prod.js +1 -1
  113. package/dist/lang/hr.umd.prod.js +1 -1
  114. package/dist/lang/hu.umd.prod.js +1 -1
  115. package/dist/lang/id.umd.prod.js +1 -1
  116. package/dist/lang/is.umd.prod.js +1 -1
  117. package/dist/lang/it.umd.prod.js +1 -1
  118. package/dist/lang/ja.umd.prod.js +1 -1
  119. package/dist/lang/kk.umd.prod.js +1 -1
  120. package/dist/lang/km.umd.prod.js +1 -1
  121. package/dist/lang/ko-KR.umd.prod.js +1 -1
  122. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  123. package/dist/lang/lt.umd.prod.js +1 -1
  124. package/dist/lang/lu.umd.prod.js +1 -1
  125. package/dist/lang/lv.umd.prod.js +1 -1
  126. package/dist/lang/mk.umd.prod.js +2 -2
  127. package/dist/lang/ml.umd.prod.js +1 -1
  128. package/dist/lang/mm.umd.prod.js +1 -1
  129. package/dist/lang/ms.umd.prod.js +1 -1
  130. package/dist/lang/my.umd.prod.js +1 -1
  131. package/dist/lang/nb-NO.umd.prod.js +1 -1
  132. package/dist/lang/nl.umd.prod.js +1 -1
  133. package/dist/lang/pl.umd.prod.js +1 -1
  134. package/dist/lang/pt-BR.umd.prod.js +1 -1
  135. package/dist/lang/pt.umd.prod.js +1 -1
  136. package/dist/lang/ro.umd.prod.js +1 -1
  137. package/dist/lang/ru.umd.prod.js +1 -1
  138. package/dist/lang/sk.umd.prod.js +1 -1
  139. package/dist/lang/sl.umd.prod.js +1 -1
  140. package/dist/lang/sm.umd.prod.js +1 -1
  141. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  142. package/dist/lang/sr.umd.prod.js +1 -1
  143. package/dist/lang/sv.umd.prod.js +1 -1
  144. package/dist/lang/ta.umd.prod.js +1 -1
  145. package/dist/lang/th.umd.prod.js +1 -1
  146. package/dist/lang/tr.umd.prod.js +1 -1
  147. package/dist/lang/ug.umd.prod.js +1 -1
  148. package/dist/lang/uk.umd.prod.js +1 -1
  149. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  150. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  151. package/dist/lang/vi.umd.prod.js +1 -1
  152. package/dist/lang/zh-CN.umd.prod.js +1 -1
  153. package/dist/lang/zh-TW.umd.prod.js +1 -1
  154. package/dist/quasar.addon.css +0 -940
  155. package/dist/quasar.addon.prod.css +1 -1
  156. package/dist/quasar.addon.rtl.prod.css +1 -1
  157. package/dist/quasar.cjs.prod.js +2 -2
  158. package/dist/quasar.css +3 -138
  159. package/dist/quasar.esm.js +43 -18
  160. package/dist/quasar.esm.prod.js +2 -2
  161. package/dist/quasar.prod.css +1 -1
  162. package/dist/quasar.rtl.css +3 -6
  163. package/dist/quasar.rtl.prod.css +1 -1
  164. package/dist/quasar.sass +17 -13
  165. package/dist/quasar.umd.js +43 -18
  166. package/dist/quasar.umd.prod.js +2 -2
  167. package/dist/types/api/qtree.d.ts +115 -21
  168. package/dist/types/index.d.ts +85 -80
  169. package/dist/vetur/quasar-attributes.json +69 -65
  170. package/dist/vetur/quasar-tags.json +2 -1
  171. package/dist/web-types/web-types.json +135 -181
  172. package/lang/mk.js +4 -4
  173. package/lang/mk.mjs +4 -4
  174. package/package.json +1 -1
  175. package/src/api.extends.json +2 -1
  176. package/src/components/btn/use-btn.json +2 -1
  177. package/src/components/checkbox/use-checkbox.json +1 -1
  178. package/src/components/chip/QChip.json +2 -1
  179. package/src/components/date/QDate.js +4 -4
  180. package/src/components/fab/use-fab.json +2 -1
  181. package/src/components/field/QField.js +14 -2
  182. package/src/components/field/QField.json +7 -0
  183. package/src/components/img/QImg.json +3 -3
  184. package/src/components/input/QInput.json +2 -1
  185. package/src/components/intersection/QIntersection.json +2 -1
  186. package/src/components/item/QItem.js +1 -1
  187. package/src/components/item/QItem.json +3 -3
  188. package/src/components/menu/QMenu.json +4 -0
  189. package/src/components/pagination/QPagination.json +9 -5
  190. package/src/components/scroll-area/QScrollArea.json +2 -1
  191. package/src/components/select/QSelect.json +2 -1
  192. package/src/components/time/QTime.json +4 -3
  193. package/src/components/tooltip/QTooltip.json +4 -0
  194. package/src/components/virtual-scroll/use-virtual-scroll.json +1 -1
  195. package/src/composables/private/use-field.js +21 -8
  196. package/src/composables/private/use-validate.json +2 -1
  197. package/src/css/core/flex.sass +5 -3
  198. package/src/css/flex-addon.sass +3 -1
  199. package/src/css/helpers/math.sass +7 -5
@@ -115,7 +115,7 @@ export interface BottomSheet {
115
115
  /**
116
116
  * Apply dark mode
117
117
  */
118
- dark?: boolean;
118
+ dark?: boolean | null;
119
119
  /**
120
120
  * Put Bottom Sheet into seamless mode; Does not use a backdrop so user is able to interact with the rest of the page too
121
121
  */
@@ -1828,7 +1828,7 @@ export interface QBannerProps {
1828
1828
  /**
1829
1829
  * Notify the component that the background is a dark color
1830
1830
  */
1831
- dark?: boolean | undefined;
1831
+ dark?: boolean | null | undefined;
1832
1832
  }
1833
1833
 
1834
1834
  export interface QBannerSlots {
@@ -1856,7 +1856,7 @@ export interface QBarProps {
1856
1856
  /**
1857
1857
  * The component background color lights up the parent's background (as opposed to default behavior which is to darken it); Works unless you specify a CSS background color for it
1858
1858
  */
1859
- dark?: boolean | undefined;
1859
+ dark?: boolean | null | undefined;
1860
1860
  }
1861
1861
 
1862
1862
  export interface QBarSlots {
@@ -2126,7 +2126,7 @@ export interface QBtnProps {
2126
2126
  /**
2127
2127
  * Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)
2128
2128
  */
2129
- loading?: boolean | undefined;
2129
+ loading?: boolean | null | undefined;
2130
2130
  /**
2131
2131
  * Put component in disabled mode
2132
2132
  */
@@ -2335,7 +2335,7 @@ export interface QBtnDropdownProps {
2335
2335
  /**
2336
2336
  * Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)
2337
2337
  */
2338
- loading?: boolean | undefined;
2338
+ loading?: boolean | null | undefined;
2339
2339
  /**
2340
2340
  * Put component in disabled mode
2341
2341
  */
@@ -2704,7 +2704,7 @@ export interface QCardProps {
2704
2704
  /**
2705
2705
  * Notify the component that the background is a dark color
2706
2706
  */
2707
- dark?: boolean | undefined;
2707
+ dark?: boolean | null | undefined;
2708
2708
  /**
2709
2709
  * Removes border-radius so borders are squared
2710
2710
  */
@@ -2848,7 +2848,7 @@ export interface QCarouselProps {
2848
2848
  /**
2849
2849
  * Notify the component that the background is a dark color
2850
2850
  */
2851
- dark?: boolean | undefined;
2851
+ dark?: boolean | null | undefined;
2852
2852
  /**
2853
2853
  * Height of Carousel in CSS units, including unit name
2854
2854
  */
@@ -3217,7 +3217,7 @@ export interface QCheckboxProps {
3217
3217
  /**
3218
3218
  * Notify the component that the background is a dark color
3219
3219
  */
3220
- dark?: boolean | undefined;
3220
+ dark?: boolean | null | undefined;
3221
3221
  /**
3222
3222
  * Dense mode; occupies less space
3223
3223
  */
@@ -3264,7 +3264,7 @@ export interface QChipProps {
3264
3264
  /**
3265
3265
  * Notify the component that the background is a dark color
3266
3266
  */
3267
- dark?: boolean | undefined;
3267
+ dark?: boolean | null | undefined;
3268
3268
  /**
3269
3269
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)
3270
3270
  */
@@ -3301,7 +3301,7 @@ export interface QChipProps {
3301
3301
  /**
3302
3302
  * Model for QChip if it's selected or not
3303
3303
  */
3304
- selected?: boolean | undefined;
3304
+ selected?: boolean | null | undefined;
3305
3305
  /**
3306
3306
  * Sets a low value for border-radius instead of the default one, making it close to a square
3307
3307
  */
@@ -3505,7 +3505,7 @@ export interface QColorProps {
3505
3505
  /**
3506
3506
  * Notify the component that the background is a dark color
3507
3507
  */
3508
- dark?: boolean | undefined;
3508
+ dark?: boolean | null | undefined;
3509
3509
  /**
3510
3510
  * Emitted when the component needs to change the model; Is also used by v-model
3511
3511
  * @param value New model value
@@ -3575,7 +3575,7 @@ export interface QDateProps {
3575
3575
  /**
3576
3576
  * Notify the component that the background is a dark color
3577
3577
  */
3578
- dark?: boolean | undefined;
3578
+ dark?: boolean | null | undefined;
3579
3579
  /**
3580
3580
  * Removes border-radius so borders are squared
3581
3581
  */
@@ -4076,7 +4076,7 @@ export interface QDrawerProps {
4076
4076
  /**
4077
4077
  * Notify the component that the background is a dark color
4078
4078
  */
4079
- dark?: boolean | undefined;
4079
+ dark?: boolean | null | undefined;
4080
4080
  /**
4081
4081
  * Breakpoint (in pixels) of layout width up to which mobile mode is used
4082
4082
  * Default value: 1023
@@ -4228,7 +4228,7 @@ export interface QEditorProps {
4228
4228
  /**
4229
4229
  * Notify the component that the background is a dark color
4230
4230
  */
4231
- dark?: boolean | undefined;
4231
+ dark?: boolean | null | undefined;
4232
4232
  /**
4233
4233
  * Put component in disabled mode
4234
4234
  */
@@ -4472,7 +4472,7 @@ export interface QExpansionItemProps {
4472
4472
  /**
4473
4473
  * Notify the component that the background is a dark color
4474
4474
  */
4475
- dark?: boolean | undefined;
4475
+ dark?: boolean | null | undefined;
4476
4476
  /**
4477
4477
  * Dense mode; occupies less space
4478
4478
  */
@@ -4673,7 +4673,7 @@ export interface QFabProps {
4673
4673
  /**
4674
4674
  * Hide the label; Useful for animation purposes where you toggle the visibility of the label
4675
4675
  */
4676
- hideLabel?: boolean | undefined;
4676
+ hideLabel?: boolean | null | undefined;
4677
4677
  /**
4678
4678
  * Class definitions to be attributed to the label container
4679
4679
  */
@@ -4863,7 +4863,7 @@ export interface QFabActionProps {
4863
4863
  /**
4864
4864
  * Hide the label; Useful for animation purposes where you toggle the visibility of the label
4865
4865
  */
4866
- hideLabel?: boolean | undefined;
4866
+ hideLabel?: boolean | null | undefined;
4867
4867
  /**
4868
4868
  * Class definitions to be attributed to the label container
4869
4869
  */
@@ -4938,7 +4938,7 @@ export interface QFieldProps {
4938
4938
  /**
4939
4939
  * Does field have validation errors?
4940
4940
  */
4941
- error?: boolean | undefined;
4941
+ error?: boolean | null | undefined;
4942
4942
  /**
4943
4943
  * Validation error message (gets displayed only if 'error' is set to 'true')
4944
4944
  */
@@ -4998,7 +4998,7 @@ export interface QFieldProps {
4998
4998
  /**
4999
4999
  * Notify the component that the background is a dark color
5000
5000
  */
5001
- dark?: boolean | undefined;
5001
+ dark?: boolean | null | undefined;
5002
5002
  /**
5003
5003
  * Signals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
5004
5004
  */
@@ -5083,6 +5083,11 @@ export interface QFieldProps {
5083
5083
  * Specify a max length of model
5084
5084
  */
5085
5085
  maxlength?: string | number | undefined;
5086
+ /**
5087
+ * HTML tag to use
5088
+ * Default value: label
5089
+ */
5090
+ tag?: string | undefined;
5086
5091
  /**
5087
5092
  * When using the 'clearable' property, this event is emitted when the clear icon is clicked
5088
5093
  * @param value The previous value before clearing it
@@ -5250,7 +5255,7 @@ export interface QFileProps {
5250
5255
  /**
5251
5256
  * Does field have validation errors?
5252
5257
  */
5253
- error?: boolean | undefined;
5258
+ error?: boolean | null | undefined;
5254
5259
  /**
5255
5260
  * Validation error message (gets displayed only if 'error' is set to 'true')
5256
5261
  */
@@ -5310,7 +5315,7 @@ export interface QFileProps {
5310
5315
  /**
5311
5316
  * Notify the component that the background is a dark color
5312
5317
  */
5313
- dark?: boolean | undefined;
5318
+ dark?: boolean | null | undefined;
5314
5319
  /**
5315
5320
  * Signals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
5316
5321
  */
@@ -5909,9 +5914,9 @@ export interface QImgProps {
5909
5914
  onLoad?: (src: string) => void;
5910
5915
  /**
5911
5916
  * Emitted when browser could not load the image
5912
- * @param src JS Error object
5917
+ * @param evt JS Event object (same as the browser's native 'error' event)
5913
5918
  */
5914
- onError?: (src: Error) => void;
5919
+ onError?: (evt: Event) => void;
5915
5920
  }
5916
5921
 
5917
5922
  export interface QImgSlots {
@@ -6054,7 +6059,7 @@ export interface QInnerLoadingProps {
6054
6059
  /**
6055
6060
  * Notify the component that the background is a dark color
6056
6061
  */
6057
- dark?: boolean | undefined;
6062
+ dark?: boolean | null | undefined;
6058
6063
  }
6059
6064
 
6060
6065
  export interface QInnerLoadingSlots {
@@ -6095,7 +6100,7 @@ export interface QInputProps {
6095
6100
  /**
6096
6101
  * Does field have validation errors?
6097
6102
  */
6098
- error?: boolean | undefined;
6103
+ error?: boolean | null | undefined;
6099
6104
  /**
6100
6105
  * Validation error message (gets displayed only if 'error' is set to 'true')
6101
6106
  */
@@ -6155,7 +6160,7 @@ export interface QInputProps {
6155
6160
  /**
6156
6161
  * Notify the component that the background is a dark color
6157
6162
  */
6158
- dark?: boolean | undefined;
6163
+ dark?: boolean | null | undefined;
6159
6164
  /**
6160
6165
  * Signals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
6161
6166
  */
@@ -6252,6 +6257,7 @@ export interface QInputProps {
6252
6257
  | "url"
6253
6258
  | "time"
6254
6259
  | "date"
6260
+ | "datetime-local"
6255
6261
  | undefined;
6256
6262
  /**
6257
6263
  * Debounce amount (in milliseconds) when updating model
@@ -6393,7 +6399,7 @@ export interface QIntersectionProps {
6393
6399
  /**
6394
6400
  * [Intersection API root prop] Lets you define an alternative to the viewport as your root (through its DOM element); It is important to keep in mind that root needs to be an ancestor of the observed element
6395
6401
  */
6396
- root?: Element | undefined;
6402
+ root?: Element | null | undefined;
6397
6403
  /**
6398
6404
  * [Intersection API rootMargin prop] Allows you to specify the margins for the root, effectively allowing you to either grow or shrink the area used for intersections
6399
6405
  */
@@ -6472,11 +6478,11 @@ export interface QItemProps {
6472
6478
  /**
6473
6479
  * Put item into 'active' state
6474
6480
  */
6475
- active?: boolean | undefined;
6481
+ active?: boolean | null | undefined;
6476
6482
  /**
6477
6483
  * Notify the component that the background is a dark color
6478
6484
  */
6479
- dark?: boolean | undefined;
6485
+ dark?: boolean | null | undefined;
6480
6486
  /**
6481
6487
  * Is QItem clickable? If it's the case, then it will add hover effects and emit 'click' events
6482
6488
  */
@@ -6616,7 +6622,7 @@ export interface QListProps {
6616
6622
  /**
6617
6623
  * Notify the component that the background is a dark color
6618
6624
  */
6619
- dark?: boolean | undefined;
6625
+ dark?: boolean | null | undefined;
6620
6626
  /**
6621
6627
  * Applies a material design-like padding on top and bottom
6622
6628
  */
@@ -6837,7 +6843,7 @@ export interface QLinearProgressProps {
6837
6843
  /**
6838
6844
  * Notify the component that the background is a dark color
6839
6845
  */
6840
- dark?: boolean | undefined;
6846
+ dark?: boolean | null | undefined;
6841
6847
  /**
6842
6848
  * Reverse direction of progress
6843
6849
  */
@@ -6887,7 +6893,7 @@ export interface QMarkupTableProps {
6887
6893
  /**
6888
6894
  * Notify the component that the background is a dark color
6889
6895
  */
6890
- dark?: boolean | undefined;
6896
+ dark?: boolean | null | undefined;
6891
6897
  /**
6892
6898
  * Applies a 'flat' design (no default shadow)
6893
6899
  */
@@ -6957,7 +6963,7 @@ export interface QMenuProps {
6957
6963
  /**
6958
6964
  * Notify the component that the background is a dark color
6959
6965
  */
6960
- dark?: boolean | undefined;
6966
+ dark?: boolean | null | undefined;
6961
6967
  /**
6962
6968
  * Allows the menu to match at least the full width of its target
6963
6969
  */
@@ -7049,11 +7055,11 @@ export interface QMenuProps {
7049
7055
  /**
7050
7056
  * The maximum height of the menu; Size in CSS units, including unit name
7051
7057
  */
7052
- maxHeight?: string | undefined;
7058
+ maxHeight?: string | null | undefined;
7053
7059
  /**
7054
7060
  * The maximum width of the menu; Size in CSS units, including unit name
7055
7061
  */
7056
- maxWidth?: string | undefined;
7062
+ maxWidth?: string | null | undefined;
7057
7063
  /**
7058
7064
  * Emitted when showing/hidden state changes; Is also used by v-model
7059
7065
  * @param value New state (showing/hidden)
@@ -7197,7 +7203,7 @@ export interface QOptionGroupProps {
7197
7203
  /**
7198
7204
  * Notify the component that the background is a dark color
7199
7205
  */
7200
- dark?: boolean | undefined;
7206
+ dark?: boolean | null | undefined;
7201
7207
  /**
7202
7208
  * Dense mode; occupies less space
7203
7209
  */
@@ -7409,7 +7415,7 @@ export interface QPaginationProps {
7409
7415
  /**
7410
7416
  * Notify the component that the background is a dark color (useful when you are using it along with the 'input' prop)
7411
7417
  */
7412
- dark?: boolean | undefined;
7418
+ dark?: boolean | null | undefined;
7413
7419
  /**
7414
7420
  * Button size in CSS units, including unit name
7415
7421
  */
@@ -7447,19 +7453,19 @@ export interface QPaginationProps {
7447
7453
  /**
7448
7454
  * Show boundary button links
7449
7455
  */
7450
- boundaryLinks?: boolean | undefined;
7456
+ boundaryLinks?: boolean | null | undefined;
7451
7457
  /**
7452
7458
  * Always show first and last page buttons (if not using 'input')
7453
7459
  */
7454
- boundaryNumbers?: boolean | undefined;
7460
+ boundaryNumbers?: boolean | null | undefined;
7455
7461
  /**
7456
7462
  * Show direction buttons
7457
7463
  */
7458
- directionLinks?: boolean | undefined;
7464
+ directionLinks?: boolean | null | undefined;
7459
7465
  /**
7460
7466
  * Show ellipses (...) when pages are available
7461
7467
  */
7462
- ellipses?: boolean | undefined;
7468
+ ellipses?: boolean | null | undefined;
7463
7469
  /**
7464
7470
  * Maximum number of page links to display at a time; 0 means Infinite
7465
7471
  */
@@ -7535,7 +7541,7 @@ export interface QPaginationProps {
7535
7541
  * Configure buttons material ripple (disable it by setting it to 'false' or supply a config object); Does not applies to boundary and ellipsis buttons
7536
7542
  * Default value: true
7537
7543
  */
7538
- ripple?: boolean | any | undefined;
7544
+ ripple?: boolean | any | null | undefined;
7539
7545
  /**
7540
7546
  * Emitted when the component needs to change the model; Is also used by v-model
7541
7547
  * @param value New model value
@@ -8001,7 +8007,7 @@ export interface QRadioProps {
8001
8007
  /**
8002
8008
  * Notify the component that the background is a dark color
8003
8009
  */
8004
- dark?: boolean | undefined;
8010
+ dark?: boolean | null | undefined;
8005
8011
  /**
8006
8012
  * Dense mode; occupies less space
8007
8013
  */
@@ -8163,7 +8169,7 @@ export interface QRangeProps {
8163
8169
  /**
8164
8170
  * Notify the component that the background is a dark color
8165
8171
  */
8166
- dark?: boolean | undefined;
8172
+ dark?: boolean | null | undefined;
8167
8173
  /**
8168
8174
  * Dense mode; occupies less space
8169
8175
  */
@@ -8442,7 +8448,7 @@ export interface QScrollAreaProps {
8442
8448
  /**
8443
8449
  * Notify the component that the background is a dark color
8444
8450
  */
8445
- dark?: boolean | undefined;
8451
+ dark?: boolean | null | undefined;
8446
8452
  /**
8447
8453
  * Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)
8448
8454
  */
@@ -8478,7 +8484,7 @@ export interface QScrollAreaProps {
8478
8484
  /**
8479
8485
  * Manually control the visibility of the scrollbar; Overrides default mouse over/leave behavior
8480
8486
  */
8481
- visible?: boolean | undefined;
8487
+ visible?: boolean | null | undefined;
8482
8488
  /**
8483
8489
  * When content changes, the scrollbar appears; this delay defines the amount of time (in milliseconds) before scrollbars disappear again (if component is not hovered)
8484
8490
  * Default value: 1000
@@ -8732,7 +8738,7 @@ export interface QSelectProps {
8732
8738
  * Minimum number of items to render in the virtual list
8733
8739
  * Default value: 30
8734
8740
  */
8735
- virtualScrollSliceSize?: number | string | undefined;
8741
+ virtualScrollSliceSize?: number | string | null | undefined;
8736
8742
  /**
8737
8743
  * Ratio of number of items in visible zone to render before it
8738
8744
  * Default value: 1
@@ -8769,7 +8775,7 @@ export interface QSelectProps {
8769
8775
  /**
8770
8776
  * Does field have validation errors?
8771
8777
  */
8772
- error?: boolean | undefined;
8778
+ error?: boolean | null | undefined;
8773
8779
  /**
8774
8780
  * Validation error message (gets displayed only if 'error' is set to 'true')
8775
8781
  */
@@ -8829,7 +8835,7 @@ export interface QSelectProps {
8829
8835
  /**
8830
8836
  * Notify the component that the background is a dark color
8831
8837
  */
8832
- dark?: boolean | undefined;
8838
+ dark?: boolean | null | undefined;
8833
8839
  /**
8834
8840
  * Signals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
8835
8841
  */
@@ -8967,7 +8973,7 @@ export interface QSelectProps {
8967
8973
  /**
8968
8974
  * Options menu will be colored with a dark color
8969
8975
  */
8970
- optionsDark?: boolean | undefined;
8976
+ optionsDark?: boolean | null | undefined;
8971
8977
  /**
8972
8978
  * CSS class name for options that are active/selected; Set it to an empty string to stop applying the default (which is text-* where * is the 'color' prop value)
8973
8979
  */
@@ -9478,7 +9484,7 @@ export interface QSeparatorProps {
9478
9484
  /**
9479
9485
  * Notify the component that the background is a dark color
9480
9486
  */
9481
- dark?: boolean | undefined;
9487
+ dark?: boolean | null | undefined;
9482
9488
  /**
9483
9489
  * If set to true, the corresponding direction margins will be set to 8px; It can also be set to a size in CSS units, including unit name, or one of the xs|sm|md|lg|xl predefined sizes
9484
9490
  * Default value: md
@@ -9510,7 +9516,7 @@ export interface QSkeletonProps {
9510
9516
  /**
9511
9517
  * Notify the component that the background is a dark color
9512
9518
  */
9513
- dark?: boolean | undefined;
9519
+ dark?: boolean | null | undefined;
9514
9520
  /**
9515
9521
  * Type of skeleton placeholder
9516
9522
  * Default value: rect
@@ -9605,7 +9611,7 @@ export interface QSlideItemProps {
9605
9611
  /**
9606
9612
  * Notify the component that the background is a dark color
9607
9613
  */
9608
- dark?: boolean | undefined;
9614
+ dark?: boolean | null | undefined;
9609
9615
  /**
9610
9616
  * Emitted when user finished sliding the item to the left
9611
9617
  * @param details Details
@@ -9867,7 +9873,7 @@ export interface QSliderProps {
9867
9873
  /**
9868
9874
  * Notify the component that the background is a dark color
9869
9875
  */
9870
- dark?: boolean | undefined;
9876
+ dark?: boolean | null | undefined;
9871
9877
  /**
9872
9878
  * Dense mode; occupies less space
9873
9879
  */
@@ -10555,7 +10561,7 @@ export interface QStepperProps {
10555
10561
  /**
10556
10562
  * Notify the component that the background is a dark color
10557
10563
  */
10558
- dark?: boolean | undefined;
10564
+ dark?: boolean | null | undefined;
10559
10565
  /**
10560
10566
  * Applies a 'flat' design (no default shadow)
10561
10567
  */
@@ -10689,7 +10695,7 @@ export interface QTabPanelProps {
10689
10695
  /**
10690
10696
  * Notify the component that the background is a dark color
10691
10697
  */
10692
- dark?: boolean | undefined;
10698
+ dark?: boolean | null | undefined;
10693
10699
  }
10694
10700
 
10695
10701
  export interface QTabPanelSlots {
@@ -11010,7 +11016,7 @@ export interface QTableProps {
11010
11016
  /**
11011
11017
  * Notify the component that the background is a dark color
11012
11018
  */
11013
- dark?: boolean | undefined;
11019
+ dark?: boolean | null | undefined;
11014
11020
  /**
11015
11021
  * Applies a 'flat' design (no default shadow)
11016
11022
  */
@@ -11400,7 +11406,7 @@ export interface QTableSlots {
11400
11406
  /**
11401
11407
  * Notify the component that the background is a dark color
11402
11408
  */
11403
- dark: boolean;
11409
+ dark?: boolean | null;
11404
11410
  /**
11405
11411
  * Dense mode; occupies less space
11406
11412
  */
@@ -11455,7 +11461,7 @@ export interface QTableSlots {
11455
11461
  /**
11456
11462
  * Notify the component that the background is a dark color
11457
11463
  */
11458
- dark: boolean;
11464
+ dark?: boolean | null;
11459
11465
  /**
11460
11466
  * Dense mode; occupies less space
11461
11467
  */
@@ -11522,7 +11528,7 @@ export interface QTableSlots {
11522
11528
  /**
11523
11529
  * Notify the component that the background is a dark color
11524
11530
  */
11525
- dark: boolean;
11531
+ dark?: boolean | null;
11526
11532
  /**
11527
11533
  * Dense mode; occupies less space
11528
11534
  */
@@ -11585,7 +11591,7 @@ export interface QTableSlots {
11585
11591
  /**
11586
11592
  * Notify the component that the background is a dark color
11587
11593
  */
11588
- dark: boolean;
11594
+ dark?: boolean | null;
11589
11595
  /**
11590
11596
  * Dense mode; occupies less space
11591
11597
  */
@@ -11624,7 +11630,7 @@ export interface QTableSlots {
11624
11630
  /**
11625
11631
  * Notify the component that the background is a dark color
11626
11632
  */
11627
- dark: boolean;
11633
+ dark?: boolean | null;
11628
11634
  /**
11629
11635
  * Dense mode; occupies less space
11630
11636
  */
@@ -11675,7 +11681,7 @@ export interface QTableSlots {
11675
11681
  /**
11676
11682
  * Notify the component that the background is a dark color
11677
11683
  */
11678
- dark: boolean;
11684
+ dark?: boolean | null;
11679
11685
  /**
11680
11686
  * Dense mode; occupies less space
11681
11687
  */
@@ -11718,7 +11724,7 @@ export interface QTableSlots {
11718
11724
  /**
11719
11725
  * Notify the component that the background is a dark color
11720
11726
  */
11721
- dark: boolean;
11727
+ dark?: boolean | null;
11722
11728
  /**
11723
11729
  * Dense mode; occupies less space
11724
11730
  */
@@ -11773,7 +11779,7 @@ export interface QTableSlots {
11773
11779
  /**
11774
11780
  * Notify the component that the background is a dark color
11775
11781
  */
11776
- dark: boolean;
11782
+ dark?: boolean | null;
11777
11783
  /**
11778
11784
  * Dense mode; occupies less space
11779
11785
  */
@@ -11812,7 +11818,7 @@ export interface QTableSlots {
11812
11818
  /**
11813
11819
  * Notify the component that the background is a dark color
11814
11820
  */
11815
- dark: boolean;
11821
+ dark?: boolean | null;
11816
11822
  /**
11817
11823
  * Dense mode; occupies less space
11818
11824
  */
@@ -12725,7 +12731,7 @@ export interface QTimeProps {
12725
12731
  * Mask (formatting string) used for parsing and formatting value
12726
12732
  * Default value: HH:mm
12727
12733
  */
12728
- mask?: string | undefined;
12734
+ mask?: string | null | undefined;
12729
12735
  /**
12730
12736
  * Locale formatting options
12731
12737
  */
@@ -12765,7 +12771,7 @@ export interface QTimeProps {
12765
12771
  /**
12766
12772
  * Notify the component that the background is a dark color
12767
12773
  */
12768
- dark?: boolean | undefined;
12774
+ dark?: boolean | null | undefined;
12769
12775
  /**
12770
12776
  * Removes border-radius so borders are squared
12771
12777
  */
@@ -12791,10 +12797,9 @@ export interface QTimeProps {
12791
12797
  */
12792
12798
  modelValue: string | null | undefined;
12793
12799
  /**
12794
- * Forces 24 hour time display instead of AM/PM system
12795
- * Default value: (based on Quasar lang language being used)
12800
+ * Forces 24 hour time display instead of AM/PM system; If prop is not set, then the default is based on Quasar lang language being used
12796
12801
  */
12797
- format24h?: boolean | undefined;
12802
+ format24h?: boolean | null | undefined;
12798
12803
  /**
12799
12804
  * The default date to use (in YYYY/MM/DD format) when model is unfilled (undefined or null)
12800
12805
  * Default value: current day
@@ -12905,7 +12910,7 @@ export interface QTimelineProps {
12905
12910
  /**
12906
12911
  * Notify the component that the background is a dark color
12907
12912
  */
12908
- dark?: boolean | undefined;
12913
+ dark?: boolean | null | undefined;
12909
12914
  }
12910
12915
 
12911
12916
  export interface QTimelineSlots {
@@ -13046,7 +13051,7 @@ export interface QToggleProps {
13046
13051
  /**
13047
13052
  * Notify the component that the background is a dark color
13048
13053
  */
13049
- dark?: boolean | undefined;
13054
+ dark?: boolean | null | undefined;
13050
13055
  /**
13051
13056
  * Dense mode; occupies less space
13052
13057
  */
@@ -13145,11 +13150,11 @@ export interface QTooltipProps {
13145
13150
  /**
13146
13151
  * The maximum height of the Tooltip; Size in CSS units, including unit name
13147
13152
  */
13148
- maxHeight?: string | undefined;
13153
+ maxHeight?: string | null | undefined;
13149
13154
  /**
13150
13155
  * The maximum width of the Tooltip; Size in CSS units, including unit name
13151
13156
  */
13152
- maxWidth?: string | undefined;
13157
+ maxWidth?: string | null | undefined;
13153
13158
  /**
13154
13159
  * Two values setting the starting position or anchor point of the Tooltip relative to its target
13155
13160
  * Default value: bottom middle
@@ -13324,7 +13329,7 @@ export interface QTreeProps {
13324
13329
  /**
13325
13330
  * Notify the component that the background is a dark color
13326
13331
  */
13327
- dark?: boolean | undefined;
13332
+ dark?: boolean | null | undefined;
13328
13333
  /**
13329
13334
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)
13330
13335
  */
@@ -13751,7 +13756,7 @@ export interface QUploaderProps {
13751
13756
  /**
13752
13757
  * Notify the component that the background is a dark color
13753
13758
  */
13754
- dark?: boolean | undefined;
13759
+ dark?: boolean | null | undefined;
13755
13760
  /**
13756
13761
  * Removes border-radius so borders are squared
13757
13762
  */
@@ -14023,7 +14028,7 @@ export interface QVirtualScrollProps {
14023
14028
  * Minimum number of items to render in the virtual list
14024
14029
  * Default value: 30
14025
14030
  */
14026
- virtualScrollSliceSize?: number | string | undefined;
14031
+ virtualScrollSliceSize?: number | string | null | undefined;
14027
14032
  /**
14028
14033
  * Ratio of number of items in visible zone to render before it
14029
14034
  * Default value: 1
@@ -14287,7 +14292,7 @@ export interface QDialogOptions {
14287
14292
  /**
14288
14293
  * Apply dark mode
14289
14294
  */
14290
- dark?: boolean;
14295
+ dark?: boolean | null;
14291
14296
  /**
14292
14297
  * User cannot dismiss Dialog if clicking outside of it or hitting ESC key; Also, an app route change won't dismiss it
14293
14298
  */
@@ -14677,7 +14682,7 @@ declare module "./globals" {
14677
14682
  /**
14678
14683
  * Apply dark mode
14679
14684
  */
14680
- dark?: boolean;
14685
+ dark?: boolean | null;
14681
14686
  /**
14682
14687
  * Put Bottom Sheet into seamless mode; Does not use a backdrop so user is able to interact with the rest of the page too
14683
14688
  */