quasar 2.4.11 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/api/BottomSheet.json +4 -0
  2. package/dist/api/Dialog.json +5 -1
  3. package/dist/api/Notify.json +20 -10
  4. package/dist/api/QBtnDropdown.json +4 -2
  5. package/dist/api/QCheckbox.json +27 -0
  6. package/dist/api/QEditor.json +4 -2
  7. package/dist/api/QExpansionItem.json +6 -3
  8. package/dist/api/QFab.json +4 -2
  9. package/dist/api/QFabAction.json +4 -2
  10. package/dist/api/QFile.json +4 -2
  11. package/dist/api/QImg.json +1 -2
  12. package/dist/api/QInnerLoading.json +2 -1
  13. package/dist/api/QInput.json +4 -2
  14. package/dist/api/QPagination.json +4 -2
  15. package/dist/api/QRadio.json +18 -0
  16. package/dist/api/QRange.json +9 -0
  17. package/dist/api/QScrollArea.json +13 -5
  18. package/dist/api/QSelect.json +6 -3
  19. package/dist/api/QSlider.json +9 -0
  20. package/dist/api/QSplitter.json +8 -4
  21. package/dist/api/QTable.json +9 -0
  22. package/dist/api/QTime.json +8 -2
  23. package/dist/api/QToggle.json +24 -24
  24. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  25. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  26. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  27. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  28. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  29. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  30. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  31. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  32. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  33. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  34. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  35. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  36. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  53. package/dist/icon-set/themify.umd.prod.js +1 -1
  54. package/dist/lang/ar.umd.prod.js +1 -1
  55. package/dist/lang/az-Latn.umd.prod.js +1 -1
  56. package/dist/lang/bg.umd.prod.js +1 -1
  57. package/dist/lang/bn.umd.prod.js +1 -1
  58. package/dist/lang/ca.umd.prod.js +1 -1
  59. package/dist/lang/cs.umd.prod.js +1 -1
  60. package/dist/lang/da.umd.prod.js +1 -1
  61. package/dist/lang/de.umd.prod.js +1 -1
  62. package/dist/lang/el.umd.prod.js +1 -1
  63. package/dist/lang/en-GB.umd.prod.js +1 -1
  64. package/dist/lang/en-US.umd.prod.js +1 -1
  65. package/dist/lang/eo.umd.prod.js +1 -1
  66. package/dist/lang/es.umd.prod.js +1 -1
  67. package/dist/lang/et.umd.prod.js +1 -1
  68. package/dist/lang/fa-IR.umd.prod.js +1 -1
  69. package/dist/lang/fa.umd.prod.js +1 -1
  70. package/dist/lang/fi.umd.prod.js +1 -1
  71. package/dist/lang/fr.umd.prod.js +1 -1
  72. package/dist/lang/gn.umd.prod.js +1 -1
  73. package/dist/lang/he.umd.prod.js +1 -1
  74. package/dist/lang/hr.umd.prod.js +1 -1
  75. package/dist/lang/hu.umd.prod.js +1 -1
  76. package/dist/lang/id.umd.prod.js +1 -1
  77. package/dist/lang/is.umd.prod.js +1 -1
  78. package/dist/lang/it.umd.prod.js +1 -1
  79. package/dist/lang/ja.umd.prod.js +1 -1
  80. package/dist/lang/km.umd.prod.js +1 -1
  81. package/dist/lang/ko-KR.umd.prod.js +1 -1
  82. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  83. package/dist/lang/lt.umd.prod.js +1 -1
  84. package/dist/lang/lu.umd.prod.js +1 -1
  85. package/dist/lang/lv.umd.prod.js +1 -1
  86. package/dist/lang/ml.umd.prod.js +1 -1
  87. package/dist/lang/ms.umd.prod.js +1 -1
  88. package/dist/lang/my.umd.prod.js +1 -1
  89. package/dist/lang/nb-NO.umd.prod.js +1 -1
  90. package/dist/lang/nl.umd.prod.js +1 -1
  91. package/dist/lang/pl.umd.prod.js +1 -1
  92. package/dist/lang/pt-BR.umd.prod.js +1 -1
  93. package/dist/lang/pt.umd.prod.js +1 -1
  94. package/dist/lang/ro.umd.prod.js +1 -1
  95. package/dist/lang/ru.umd.prod.js +1 -1
  96. package/dist/lang/sk.umd.prod.js +1 -1
  97. package/dist/lang/sl.umd.prod.js +1 -1
  98. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  99. package/dist/lang/sr.umd.prod.js +1 -1
  100. package/dist/lang/sv.umd.prod.js +1 -1
  101. package/dist/lang/ta.umd.prod.js +1 -1
  102. package/dist/lang/th.umd.prod.js +1 -1
  103. package/dist/lang/tr.umd.prod.js +1 -1
  104. package/dist/lang/ug.umd.prod.js +1 -1
  105. package/dist/lang/uk.umd.prod.js +1 -1
  106. package/dist/lang/vi.umd.prod.js +1 -1
  107. package/dist/lang/zh-CN.umd.prod.js +1 -1
  108. package/dist/lang/zh-TW.umd.prod.js +1 -1
  109. package/dist/quasar.cjs.prod.js +2 -2
  110. package/dist/quasar.css +43 -10
  111. package/dist/quasar.esm.prod.js +2 -2
  112. package/dist/quasar.prod.css +1 -1
  113. package/dist/quasar.rtl.css +60 -23
  114. package/dist/quasar.rtl.prod.css +1 -1
  115. package/dist/quasar.sass +34 -11
  116. package/dist/quasar.umd.js +314 -157
  117. package/dist/quasar.umd.prod.js +2 -2
  118. package/dist/ssr-directives/Morph.js +1 -1
  119. package/dist/transforms/auto-import.json +39 -3
  120. package/dist/transforms/import-map.json +18 -0
  121. package/dist/types/api/slider.d.ts +6 -7
  122. package/dist/types/api/vue-prop-types.ts +15 -0
  123. package/dist/types/api.d.ts +1 -0
  124. package/dist/types/index.d.ts +110 -184
  125. package/dist/types/utils/date.d.ts +25 -13
  126. package/dist/types/utils/dom.d.ts +4 -2
  127. package/dist/types/utils.d.ts +3 -1
  128. package/dist/vetur/quasar-attributes.json +62 -42
  129. package/dist/vetur/quasar-tags.json +8 -3
  130. package/dist/web-types/web-types.json +103 -58
  131. package/package.json +13 -3
  132. package/src/components/avatar/__tests__/QAvatar.spec.js +121 -0
  133. package/src/components/badge/__tests__/QBadge.spec.js +74 -0
  134. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  135. package/src/components/btn/__tests__/QBtn.spec.js +55 -0
  136. package/src/components/btn/__tests__/use-btn.spec.js +189 -0
  137. package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
  138. package/src/components/checkbox/QCheckbox.js +34 -3
  139. package/src/components/checkbox/QCheckbox.json +17 -0
  140. package/src/components/checkbox/QCheckbox.sass +17 -5
  141. package/src/components/checkbox/use-checkbox.js +4 -0
  142. package/src/components/checkbox/use-checkbox.json +18 -0
  143. package/src/components/chip/__tests__/QChip.spec.js +155 -0
  144. package/src/components/date/__tests__/QDate.spec.js +189 -0
  145. package/src/components/date/__tests__/use-datetime.spec.js +83 -0
  146. package/src/components/dialog/QDialog.js +1 -1
  147. package/src/components/dialog/__tests__/QDialog.spec.js +129 -0
  148. package/src/components/editor/QEditor.js +1 -1
  149. package/src/components/editor/QEditor.json +3 -1
  150. package/src/components/editor/__tests__/QEditor.spec.js +195 -0
  151. package/src/components/expansion-item/QExpansionItem.json +6 -3
  152. package/src/components/fab/use-fab.json +4 -2
  153. package/src/components/field/QField.sass +2 -0
  154. package/src/components/file/QFile.json +4 -2
  155. package/src/components/form/QForm.js +27 -25
  156. package/src/components/img/QImg.json +2 -3
  157. package/src/components/inner-loading/QInnerLoading.json +2 -1
  158. package/src/components/input/QInput.js +10 -1
  159. package/src/components/input/QInput.json +4 -2
  160. package/src/components/input/__tests__/QInput.spec.js +105 -0
  161. package/src/components/input/__tests__/use-mask.spec.js +29 -0
  162. package/src/components/menu/QMenu.js +2 -1
  163. package/src/components/menu/__tests__/QMenu.spec.js +610 -0
  164. package/src/components/menu/__tests__/WrapperOne.vue +51 -0
  165. package/src/components/menu/__tests__/WrapperTwo.vue +38 -0
  166. package/src/components/pagination/QPagination.json +4 -2
  167. package/src/components/radio/QRadio.js +26 -1
  168. package/src/components/radio/QRadio.json +16 -0
  169. package/src/components/radio/QRadio.sass +17 -6
  170. package/src/components/scroll-area/QScrollArea.json +13 -5
  171. package/src/components/select/QSelect.js +13 -9
  172. package/src/components/select/QSelect.json +6 -3
  173. package/src/components/select/QSelect.sass +1 -0
  174. package/src/components/select/__tests__/QSelect.spec.js +2003 -0
  175. package/src/components/select/__tests__/WrapperOne.vue +28 -0
  176. package/src/components/slider/use-slider.json +9 -0
  177. package/src/components/splitter/QSplitter.json +8 -4
  178. package/src/components/stepper/QStep.js +19 -14
  179. package/src/components/stepper/QStepper.sass +3 -0
  180. package/src/components/table/QTable.json +9 -0
  181. package/src/components/table/__tests__/QTable.spec.js +635 -0
  182. package/src/components/table/__tests__/QTd.spec.js +35 -0
  183. package/src/components/table/__tests__/QTh.spec.js +27 -0
  184. package/src/components/table/__tests__/QTr.spec.js +27 -0
  185. package/src/components/tabs/__tests__/QRouteTab.spec.js +9 -0
  186. package/src/components/tabs/__tests__/QTab.spec.js +79 -0
  187. package/src/components/tabs/__tests__/QTabs.spec.js +147 -0
  188. package/src/components/time/QTime.json +2 -2
  189. package/src/components/toggle/QToggle.js +5 -13
  190. package/src/components/toggle/QToggle.json +3 -12
  191. package/src/components/uploader/__tests__/QUploader.spec.js +161 -0
  192. package/src/components/virtual-scroll/use-virtual-scroll.js +9 -6
  193. package/src/composables/private/__tests__/FieldWrapper.vue +39 -0
  194. package/src/composables/private/__tests__/use-anchor.spec.js +99 -0
  195. package/src/composables/private/__tests__/use-field.spec.js +351 -0
  196. package/src/composables/private/__tests__/use-file.spec.js +69 -0
  197. package/src/composables/private/__tests__/use-form.spec.js +11 -0
  198. package/src/composables/private/__tests__/use-fullscreen.spec.js +37 -0
  199. package/src/composables/private/__tests__/use-model-toggle.spec.js +306 -0
  200. package/src/composables/private/__tests__/use-portal.spec.js +4 -0
  201. package/src/composables/private/__tests__/use-router-link.spec.js +55 -0
  202. package/src/composables/private/__tests__/use-size.spec.js +37 -0
  203. package/src/composables/private/__tests__/use-transition.spec.js +108 -0
  204. package/src/composables/private/__tests__/use-validate.spec.js +111 -0
  205. package/src/composables/private/use-field.js +5 -8
  206. package/src/composables/private/use-fullscreen.js +1 -1
  207. package/src/composables/private/use-model-toggle.js +1 -1
  208. package/src/composables/private/use-validate.js +22 -22
  209. package/src/plugins/BottomSheet.json +1 -0
  210. package/src/plugins/Dialog.json +1 -0
  211. package/src/plugins/Meta.js +1 -1
  212. package/src/plugins/Notify.json +20 -10
  213. package/src/plugins/Screen.js +11 -8
  214. package/src/utils/date.js +111 -32
  215. package/src/utils/private/global-dialog.json +3 -0
  216. package/src/utils/private/vm.js +14 -8
@@ -60,11 +60,11 @@ export interface BottomSheet {
60
60
  /**
61
61
  * CSS Class name to apply to the Dialog's QCard
62
62
  */
63
- class?: string | any[] | any;
63
+ class?: VueClassProp;
64
64
  /**
65
65
  * CSS style to apply to the Dialog's QCard
66
66
  */
67
- style?: string | any[] | any;
67
+ style?: VueStyleProp;
68
68
  /**
69
69
  * Title
70
70
  */
@@ -80,7 +80,7 @@ export interface BottomSheet {
80
80
  /**
81
81
  * CSS classes for this action
82
82
  */
83
- classes?: string | any[] | any;
83
+ classes?: VueClassProp;
84
84
  /**
85
85
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
86
86
  */
@@ -519,11 +519,11 @@ export interface Notify {
519
519
  /**
520
520
  * Style definitions to be attributed to the badge
521
521
  */
522
- badgeStyle?: any[] | string | any;
522
+ badgeStyle?: VueStyleProp;
523
523
  /**
524
524
  * Class definitions to be attributed to the badge
525
525
  */
526
- badgeClass?: any[] | string | any;
526
+ badgeClass?: VueClassProp;
527
527
  /**
528
528
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
529
529
  */
@@ -531,7 +531,7 @@ export interface Notify {
531
531
  /**
532
532
  * Class definitions to be attributed to the progress bar
533
533
  */
534
- progressClass?: any[] | string | any;
534
+ progressClass?: VueClassProp;
535
535
  /**
536
536
  * Add CSS class(es) to the notification for easier customization
537
537
  */
@@ -611,7 +611,7 @@ export interface Notify {
611
611
  /**
612
612
  * Class definitions to be attributed to the progress bar
613
613
  */
614
- progressClass?: any[] | string | any;
614
+ progressClass?: VueClassProp;
615
615
  /**
616
616
  * Add CSS class(es) to the notification for easier customization
617
617
  */
@@ -717,11 +717,11 @@ export interface Notify {
717
717
  /**
718
718
  * Style definitions to be attributed to the badge
719
719
  */
720
- badgeStyle?: any[] | string | any;
720
+ badgeStyle?: VueStyleProp;
721
721
  /**
722
722
  * Class definitions to be attributed to the badge
723
723
  */
724
- badgeClass?: any[] | string | any;
724
+ badgeClass?: VueClassProp;
725
725
  /**
726
726
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
727
727
  */
@@ -729,7 +729,7 @@ export interface Notify {
729
729
  /**
730
730
  * Class definitions to be attributed to the progress bar
731
731
  */
732
- progressClass?: any[] | string | any;
732
+ progressClass?: VueClassProp;
733
733
  /**
734
734
  * Add CSS class(es) to the notification for easier customization
735
735
  */
@@ -834,11 +834,11 @@ export interface Notify {
834
834
  /**
835
835
  * Style definitions to be attributed to the badge
836
836
  */
837
- badgeStyle?: any[] | string | any;
837
+ badgeStyle?: VueStyleProp;
838
838
  /**
839
839
  * Class definitions to be attributed to the badge
840
840
  */
841
- badgeClass?: any[] | string | any;
841
+ badgeClass?: VueClassProp;
842
842
  /**
843
843
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
844
844
  */
@@ -846,7 +846,7 @@ export interface Notify {
846
846
  /**
847
847
  * Class definitions to be attributed to the progress bar
848
848
  */
849
- progressClass?: any[] | string | any;
849
+ progressClass?: VueClassProp;
850
850
  /**
851
851
  * Add CSS class(es) to the notification for easier customization
852
852
  */
@@ -1739,11 +1739,11 @@ export interface QBtnDropdownProps {
1739
1739
  /**
1740
1740
  * Style definitions to be attributed to the menu
1741
1741
  */
1742
- contentStyle?: any[] | string | any | undefined;
1742
+ contentStyle?: VueStyleProp | undefined;
1743
1743
  /**
1744
1744
  * Class definitions to be attributed to the menu
1745
1745
  */
1746
- contentClass?: any[] | string | any | undefined;
1746
+ contentClass?: VueClassProp | undefined;
1747
1747
  /**
1748
1748
  * Allows the menu to cover the button. When used, the 'menu-self' and 'menu-fit' props are no longer effective
1749
1749
  */
@@ -2723,6 +2723,18 @@ export interface QCheckboxProps {
2723
2723
  * Label (if any specified) should be displayed on the left side of the component
2724
2724
  */
2725
2725
  leftLabel?: boolean | undefined;
2726
+ /**
2727
+ * The icon to be used when the model is truthy (instead of the default design)
2728
+ */
2729
+ checkedIcon?: string | undefined;
2730
+ /**
2731
+ * The icon to be used when the toggle is falsy (instead of the default design)
2732
+ */
2733
+ uncheckedIcon?: string | undefined;
2734
+ /**
2735
+ * The icon to be used when the model is indeterminate (instead of the default design)
2736
+ */
2737
+ indeterminateIcon?: string | undefined;
2726
2738
  /**
2727
2739
  * Color name for component from the Quasar Color Palette
2728
2740
  */
@@ -3847,11 +3859,11 @@ export interface QEditorProps {
3847
3859
  /**
3848
3860
  * Object with CSS properties and values for styling the container of QEditor
3849
3861
  */
3850
- contentStyle?: any | undefined;
3862
+ contentStyle?: VueStyleObjectProp | undefined;
3851
3863
  /**
3852
3864
  * CSS classes for the input area
3853
3865
  */
3854
- contentClass?: any | any[] | string | undefined;
3866
+ contentClass?: VueClassProp | undefined;
3855
3867
  /**
3856
3868
  * Text to display as placeholder
3857
3869
  */
@@ -3952,7 +3964,7 @@ export interface QExpansionItemProps {
3952
3964
  /**
3953
3965
  * Apply custom class(es) to the expand icon item section
3954
3966
  */
3955
- expandIconClass?: any[] | string | any | undefined;
3967
+ expandIconClass?: VueClassProp | undefined;
3956
3968
  /**
3957
3969
  * Header label (unless using 'header' slot)
3958
3970
  */
@@ -4021,11 +4033,11 @@ export interface QExpansionItemProps {
4021
4033
  /**
4022
4034
  * Apply custom style to the header
4023
4035
  */
4024
- headerStyle?: any[] | string | any | undefined;
4036
+ headerStyle?: VueStyleProp | undefined;
4025
4037
  /**
4026
4038
  * Apply custom class(es) to the header
4027
4039
  */
4028
- headerClass?: any[] | string | any | undefined;
4040
+ headerClass?: VueClassProp | undefined;
4029
4041
  /**
4030
4042
  * Emitted when showing/hidden state changes; Is also used by v-model
4031
4043
  * @param value New state (showing/hidden)
@@ -4148,11 +4160,11 @@ export interface QFabProps {
4148
4160
  /**
4149
4161
  * Class definitions to be attributed to the label container
4150
4162
  */
4151
- labelClass?: any[] | string | any | undefined;
4163
+ labelClass?: VueClassProp | undefined;
4152
4164
  /**
4153
4165
  * Style definitions to be attributed to the label container
4154
4166
  */
4155
- labelStyle?: any[] | string | any | undefined;
4167
+ labelStyle?: VueStyleProp | undefined;
4156
4168
  /**
4157
4169
  * Apply a rectangle aspect to the FAB
4158
4170
  */
@@ -4338,11 +4350,11 @@ export interface QFabActionProps {
4338
4350
  /**
4339
4351
  * Class definitions to be attributed to the label container
4340
4352
  */
4341
- labelClass?: any[] | string | any | undefined;
4353
+ labelClass?: VueClassProp | undefined;
4342
4354
  /**
4343
4355
  * Style definitions to be attributed to the label container
4344
4356
  */
4345
- labelStyle?: any[] | string | any | undefined;
4357
+ labelStyle?: VueStyleProp | undefined;
4346
4358
  /**
4347
4359
  * Apply a rectangle aspect to the FAB
4348
4360
  */
@@ -4898,11 +4910,11 @@ export interface QFileProps {
4898
4910
  /**
4899
4911
  * Class definitions to be attributed to the underlying selection container
4900
4912
  */
4901
- inputClass?: any[] | string | any | undefined;
4913
+ inputClass?: VueClassProp | undefined;
4902
4914
  /**
4903
4915
  * Style definitions to be attributed to the underlying selection container
4904
4916
  */
4905
- inputStyle?: any[] | string | any | undefined;
4917
+ inputStyle?: VueStyleProp | undefined;
4906
4918
  /**
4907
4919
  * Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
4908
4920
  * @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
@@ -5257,7 +5269,7 @@ export interface QImgProps {
5257
5269
  /**
5258
5270
  * Force the component to maintain an aspect ratio
5259
5271
  */
5260
- ratio?: string | number | string | number | undefined;
5272
+ ratio?: string | number | undefined;
5261
5273
  /**
5262
5274
  * Path to image
5263
5275
  */
@@ -5329,7 +5341,7 @@ export interface QImgProps {
5329
5341
  /**
5330
5342
  * Apply CSS to the native img element
5331
5343
  */
5332
- imgStyle?: any | undefined;
5344
+ imgStyle?: VueStyleObjectProp | undefined;
5333
5345
  /**
5334
5346
  * Color name for default Spinner (unless using a 'loading' slot)
5335
5347
  */
@@ -5497,7 +5509,7 @@ export interface QInnerLoadingProps {
5497
5509
  /**
5498
5510
  * Apply custom style to the label; Works along the 'label' prop only
5499
5511
  */
5500
- labelStyle?: any[] | string | any | undefined;
5512
+ labelStyle?: VueStyleProp | undefined;
5501
5513
  /**
5502
5514
  * Notify the component that the background is a dark color
5503
5515
  */
@@ -5715,11 +5727,11 @@ export interface QInputProps {
5715
5727
  /**
5716
5728
  * Class definitions to be attributed to the underlying input tag
5717
5729
  */
5718
- inputClass?: any[] | string | any | undefined;
5730
+ inputClass?: VueClassProp | undefined;
5719
5731
  /**
5720
5732
  * Style definitions to be attributed to the underlying input tag
5721
5733
  */
5722
- inputStyle?: any[] | string | any | undefined;
5734
+ inputStyle?: VueStyleProp | undefined;
5723
5735
  /**
5724
5736
  * When using the 'clearable' property, this event is emitted when the clear icon is clicked
5725
5737
  * @param value The previous value before clearing it
@@ -6825,11 +6837,11 @@ export interface QPaginationProps {
6825
6837
  /**
6826
6838
  * Style definitions to be attributed to the input (if using one)
6827
6839
  */
6828
- inputStyle?: any[] | string | any | undefined;
6840
+ inputStyle?: VueStyleProp | undefined;
6829
6841
  /**
6830
6842
  * Class definitions to be attributed to the input (if using one)
6831
6843
  */
6832
- inputClass?: any[] | string | any | undefined;
6844
+ inputClass?: VueClassProp | undefined;
6833
6845
  /**
6834
6846
  * Button size in CSS units, including unit name
6835
6847
  */
@@ -7358,6 +7370,14 @@ export interface QRadioProps {
7358
7370
  * Label (if any specified) should be displayed on the left side of the checkbox
7359
7371
  */
7360
7372
  leftLabel?: boolean | undefined;
7373
+ /**
7374
+ * The icon to be used when selected (instead of the default design)
7375
+ */
7376
+ checkedIcon?: string | undefined;
7377
+ /**
7378
+ * The icon to be used when un-selected (instead of the default design)
7379
+ */
7380
+ uncheckedIcon?: string | undefined;
7361
7381
  /**
7362
7382
  * Color name for component from the Quasar Color Palette
7363
7383
  */
@@ -7500,12 +7520,7 @@ export interface QRangeProps {
7500
7520
  * @param value The marker value to transform
7501
7521
  * @returns Marker definition Object or directly a String for the label of the marker
7502
7522
  */
7503
- markerLabels?:
7504
- | SliderMarkerLabels
7505
- | SliderMarkerLabels
7506
- | SliderMarkerLabels
7507
- | SliderMarkerLabels
7508
- | undefined;
7523
+ markerLabels?: SliderMarkerLabels | undefined;
7509
7524
  /**
7510
7525
  * CSS class(es) to apply to the marker labels container
7511
7526
  */
@@ -7815,35 +7830,35 @@ export interface QScrollAreaProps {
7815
7830
  /**
7816
7831
  * Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)
7817
7832
  */
7818
- barStyle?: any[] | string | any | undefined;
7833
+ barStyle?: VueStyleProp | undefined;
7819
7834
  /**
7820
7835
  * Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop
7821
7836
  */
7822
- verticalBarStyle?: any[] | string | any | undefined;
7837
+ verticalBarStyle?: VueStyleProp | undefined;
7823
7838
  /**
7824
7839
  * Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop
7825
7840
  */
7826
- horizontalBarStyle?: any[] | string | any | undefined;
7841
+ horizontalBarStyle?: VueStyleProp | undefined;
7827
7842
  /**
7828
7843
  * Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)
7829
7844
  */
7830
- thumbStyle?: any | undefined;
7845
+ thumbStyle?: VueStyleObjectProp | undefined;
7831
7846
  /**
7832
7847
  * Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop
7833
7848
  */
7834
- verticalThumbStyle?: any | undefined;
7849
+ verticalThumbStyle?: VueStyleObjectProp | undefined;
7835
7850
  /**
7836
7851
  * Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop
7837
7852
  */
7838
- horizontalThumbStyle?: any | undefined;
7853
+ horizontalThumbStyle?: VueStyleObjectProp | undefined;
7839
7854
  /**
7840
7855
  * Object with CSS properties and values for styling the container of QScrollArea
7841
7856
  */
7842
- contentStyle?: any[] | string | any | undefined;
7857
+ contentStyle?: VueStyleProp | undefined;
7843
7858
  /**
7844
7859
  * Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)
7845
7860
  */
7846
- contentActiveStyle?: any[] | string | any | undefined;
7861
+ contentActiveStyle?: VueStyleProp | undefined;
7847
7862
  /**
7848
7863
  * Manually control the visibility of the scrollbar; Overrides default mouse over/leave behavior
7849
7864
  */
@@ -8404,7 +8419,7 @@ export interface QSelectProps {
8404
8419
  /**
8405
8420
  * Style definitions to be attributed to the popup content
8406
8421
  */
8407
- popupContentStyle?: any[] | string | any | undefined;
8422
+ popupContentStyle?: VueStyleProp | undefined;
8408
8423
  /**
8409
8424
  * Use an input tag where users can type
8410
8425
  */
@@ -8437,11 +8452,11 @@ export interface QSelectProps {
8437
8452
  /**
8438
8453
  * Class definitions to be attributed to the underlying input tag
8439
8454
  */
8440
- inputClass?: any[] | string | any | undefined;
8455
+ inputClass?: VueClassProp | undefined;
8441
8456
  /**
8442
8457
  * Style definitions to be attributed to the underlying input tag
8443
8458
  */
8444
- inputStyle?: any[] | string | any | undefined;
8459
+ inputStyle?: VueStyleProp | undefined;
8445
8460
  /**
8446
8461
  * Tabindex HTML attribute value
8447
8462
  */
@@ -9196,12 +9211,7 @@ export interface QSliderProps {
9196
9211
  * @param value The marker value to transform
9197
9212
  * @returns Marker definition Object or directly a String for the label of the marker
9198
9213
  */
9199
- markerLabels?:
9200
- | SliderMarkerLabels
9201
- | SliderMarkerLabels
9202
- | SliderMarkerLabels
9203
- | SliderMarkerLabels
9204
- | undefined;
9214
+ markerLabels?: SliderMarkerLabels | undefined;
9205
9215
  /**
9206
9216
  * CSS class(es) to apply to the marker labels container
9207
9217
  */
@@ -9743,19 +9753,19 @@ export interface QSplitterProps {
9743
9753
  /**
9744
9754
  * Class definitions to be attributed to the 'before' panel
9745
9755
  */
9746
- beforeClass?: any[] | string | any | undefined;
9756
+ beforeClass?: VueClassProp | undefined;
9747
9757
  /**
9748
9758
  * Class definitions to be attributed to the 'after' panel
9749
9759
  */
9750
- afterClass?: any[] | string | any | undefined;
9760
+ afterClass?: VueClassProp | undefined;
9751
9761
  /**
9752
9762
  * Class definitions to be attributed to the splitter separator
9753
9763
  */
9754
- separatorClass?: any[] | string | any | undefined;
9764
+ separatorClass?: VueClassProp | undefined;
9755
9765
  /**
9756
9766
  * Style definitions to be attributed to the splitter separator
9757
9767
  */
9758
- separatorStyle?: any[] | string | any | undefined;
9768
+ separatorStyle?: VueStyleProp | undefined;
9759
9769
  /**
9760
9770
  * Applies a default lighter color on the separator; To be used when background is darker; Avoid using when you are overriding through separator-class or separator-style props
9761
9771
  */
@@ -10432,39 +10442,39 @@ export interface QTableProps {
10432
10442
  /**
10433
10443
  * CSS style to apply to native HTML <table> element's wrapper (which is a DIV)
10434
10444
  */
10435
- tableStyle?: string | any[] | any | undefined;
10445
+ tableStyle?: VueStyleProp | undefined;
10436
10446
  /**
10437
10447
  * CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)
10438
10448
  */
10439
- tableClass?: string | any[] | any | undefined;
10449
+ tableClass?: VueClassProp | undefined;
10440
10450
  /**
10441
10451
  * CSS style to apply to header of native HTML <table> (which is a TR)
10442
10452
  */
10443
- tableHeaderStyle?: string | any[] | any | undefined;
10453
+ tableHeaderStyle?: VueStyleProp | undefined;
10444
10454
  /**
10445
10455
  * CSS classes to apply to header of native HTML <table> (which is a TR)
10446
10456
  */
10447
- tableHeaderClass?: string | any[] | any | undefined;
10457
+ tableHeaderClass?: VueClassProp | undefined;
10448
10458
  /**
10449
10459
  * CSS style to apply to the cards container (when in grid mode)
10450
10460
  */
10451
- cardContainerStyle?: string | any[] | any | undefined;
10461
+ cardContainerStyle?: VueStyleProp | undefined;
10452
10462
  /**
10453
10463
  * CSS classes to apply to the cards container (when in grid mode)
10454
10464
  */
10455
- cardContainerClass?: string | any[] | any | undefined;
10465
+ cardContainerClass?: VueClassProp | undefined;
10456
10466
  /**
10457
10467
  * CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)
10458
10468
  */
10459
- cardStyle?: string | any[] | any | undefined;
10469
+ cardStyle?: VueStyleProp | undefined;
10460
10470
  /**
10461
10471
  * CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)
10462
10472
  */
10463
- cardClass?: string | any[] | any | undefined;
10473
+ cardClass?: VueClassProp | undefined;
10464
10474
  /**
10465
10475
  * CSS classes to apply to the title (if using 'title' prop)
10466
10476
  */
10467
- titleClass?: string | any[] | any | undefined;
10477
+ titleClass?: VueClassProp | undefined;
10468
10478
  /**
10469
10479
  * String/Object to filter table with; When using an Object it requires 'filter-method' to also be specified since it will be a custom filtering
10470
10480
  */
@@ -12123,7 +12133,9 @@ export interface QTimeProps {
12123
12133
  * @param min Minutes
12124
12134
  * @param sec Seconds
12125
12135
  */
12126
- options?: ((hr: number, min: number, sec: number) => void) | undefined;
12136
+ options?:
12137
+ | ((hr: number, min: number | null, sec: number | null) => void)
12138
+ | undefined;
12127
12139
  /**
12128
12140
  * Optionally configure what hours is the user allowed to set; Overrides 'options' prop if that is also set
12129
12141
  */
@@ -12338,6 +12350,18 @@ export interface QToggleProps {
12338
12350
  * Label (if any specified) should be displayed on the left side of the component
12339
12351
  */
12340
12352
  leftLabel?: boolean | undefined;
12353
+ /**
12354
+ * The icon to be used when the toggle is on
12355
+ */
12356
+ checkedIcon?: string | undefined;
12357
+ /**
12358
+ * The icon to be used when the toggle is off
12359
+ */
12360
+ uncheckedIcon?: string | undefined;
12361
+ /**
12362
+ * The icon to be used when the model is indeterminate
12363
+ */
12364
+ indeterminateIcon?: string | undefined;
12341
12365
  /**
12342
12366
  * Color name for component from the Quasar Color Palette
12343
12367
  */
@@ -12366,18 +12390,6 @@ export interface QToggleProps {
12366
12390
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
12367
12391
  */
12368
12392
  icon?: string | undefined;
12369
- /**
12370
- * The icon to be used when the toggle is on
12371
- */
12372
- checkedIcon?: string | undefined;
12373
- /**
12374
- * The icon to be used when the toggle is off
12375
- */
12376
- uncheckedIcon?: string | undefined;
12377
- /**
12378
- * The icon to be used when the model is indeterminate
12379
- */
12380
- indeterminateIcon?: string | undefined;
12381
12393
  /**
12382
12394
  * Override default icon color (for truthy state only); Color name for component from the Quasar Color Palette
12383
12395
  */
@@ -13387,6 +13399,8 @@ export interface QVirtualScroll
13387
13399
  refresh: (index?: string | number) => void;
13388
13400
  }
13389
13401
 
13402
+ import { VueClassProp } from "./api";
13403
+ import { VueStyleProp } from "./api";
13390
13404
  export interface DialogChainObject {
13391
13405
  /**
13392
13406
  * Receives a Function param to tell what to do when OK is pressed / option is selected
@@ -13424,11 +13438,11 @@ export interface QDialogOptions {
13424
13438
  /**
13425
13439
  * CSS Class name to apply to the Dialog's QCard
13426
13440
  */
13427
- class?: string | any[] | any;
13441
+ class?: VueClassProp;
13428
13442
  /**
13429
13443
  * CSS style to apply to the Dialog's QCard
13430
13444
  */
13431
- style?: string | any[] | any;
13445
+ style?: VueStyleProp;
13432
13446
  /**
13433
13447
  * A text for the heading title of the dialog
13434
13448
  */
@@ -13650,101 +13664,13 @@ import { WebStorageGetItemMethodType } from "./api";
13650
13664
  import { WebStorageGetIndexMethodType } from "./api";
13651
13665
  import { WebStorageGetKeyMethodType } from "./api";
13652
13666
  import { WebStorageGetAllKeysMethodType } from "./api";
13667
+ import { VueStyleObjectProp } from "./api";
13653
13668
  import { ValidationRule } from "./api";
13654
13669
  import { QRejectedEntry } from "./api";
13655
- export interface SliderMarkerLabels {
13656
- /**
13657
- * Value of equivalent model where to position the marker
13658
- */
13659
- value: number;
13660
- /**
13661
- * Label to use
13662
- */
13663
- label?: number | string;
13664
- /**
13665
- * CSS classes to be attributed to the marker label
13666
- */
13667
- classes?: string | any[] | any;
13668
- /**
13669
- * Style definitions to be attributed to the marker label
13670
- */
13671
- style?: any;
13672
- }
13673
-
13674
- export interface SliderMarkerLabelConfig {
13675
- /**
13676
- * Index of the marker label (0-based)
13677
- */
13678
- index?: number;
13679
- /**
13680
- * Equivalent model value for the marker label
13681
- */
13682
- value?: number;
13683
- /**
13684
- * Configured label for the marker
13685
- */
13686
- label?: number | string;
13687
- /**
13688
- * Required CSS classes to be applied to the marker element
13689
- */
13690
- classes?: string;
13691
- /**
13692
- * Style definitions to be attributed to the marker label
13693
- */
13694
- style?: any;
13695
- }
13696
-
13697
- export interface SliderMarkerLabelArrayConfig {
13698
- /**
13699
- * Index of the marker label (0-based)
13700
- */
13701
- index?: number;
13702
- /**
13703
- * Equivalent model value for the marker label
13704
- */
13705
- value?: number;
13706
- /**
13707
- * Configured label for the marker
13708
- */
13709
- label?: number | string;
13710
- /**
13711
- * Required CSS classes to be applied to the marker element
13712
- */
13713
- classes?: string;
13714
- /**
13715
- * Style definitions to be attributed to the marker label
13716
- */
13717
- style?: any;
13718
- }
13719
-
13720
- export interface SliderMarkerLabelObjectConfig {
13721
- /**
13722
- * Marker label config
13723
- */
13724
- [key: string]: {
13725
- /**
13726
- * Index of the marker label (0-based)
13727
- */
13728
- index?: number;
13729
- /**
13730
- * Equivalent model value for the marker label
13731
- */
13732
- value?: number;
13733
- /**
13734
- * Configured label for the marker
13735
- */
13736
- label?: number | string;
13737
- /**
13738
- * Required CSS classes to be applied to the marker element
13739
- */
13740
- classes?: string;
13741
- /**
13742
- * Style definitions to be attributed to the marker label
13743
- */
13744
- style?: any;
13745
- };
13746
- }
13747
-
13670
+ import { SliderMarkerLabels } from "./api";
13671
+ import { SliderMarkerLabelConfig } from "./api";
13672
+ import { SliderMarkerLabelArrayConfig } from "./api";
13673
+ import { SliderMarkerLabelObjectConfig } from "./api";
13748
13674
  import { QTreeNode } from "./api";
13749
13675
  import { QUploaderFactoryFn } from "./api";
13750
13676
  import { QVueGlobals, QSingletonGlobals } from "./globals";
@@ -13765,11 +13691,11 @@ declare module "./globals" {
13765
13691
  /**
13766
13692
  * CSS Class name to apply to the Dialog's QCard
13767
13693
  */
13768
- class?: string | any[] | any;
13694
+ class?: VueClassProp;
13769
13695
  /**
13770
13696
  * CSS style to apply to the Dialog's QCard
13771
13697
  */
13772
- style?: string | any[] | any;
13698
+ style?: VueStyleProp;
13773
13699
  /**
13774
13700
  * Title
13775
13701
  */
@@ -13785,7 +13711,7 @@ declare module "./globals" {
13785
13711
  /**
13786
13712
  * CSS classes for this action
13787
13713
  */
13788
- classes?: string | any[] | any;
13714
+ classes?: VueClassProp;
13789
13715
  /**
13790
13716
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
13791
13717
  */
@@ -13918,11 +13844,11 @@ declare module "./globals" {
13918
13844
  /**
13919
13845
  * Style definitions to be attributed to the badge
13920
13846
  */
13921
- badgeStyle?: any[] | string | any;
13847
+ badgeStyle?: VueStyleProp;
13922
13848
  /**
13923
13849
  * Class definitions to be attributed to the badge
13924
13850
  */
13925
- badgeClass?: any[] | string | any;
13851
+ badgeClass?: VueClassProp;
13926
13852
  /**
13927
13853
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
13928
13854
  */
@@ -13930,7 +13856,7 @@ declare module "./globals" {
13930
13856
  /**
13931
13857
  * Class definitions to be attributed to the progress bar
13932
13858
  */
13933
- progressClass?: any[] | string | any;
13859
+ progressClass?: VueClassProp;
13934
13860
  /**
13935
13861
  * Add CSS class(es) to the notification for easier customization
13936
13862
  */
@@ -14010,7 +13936,7 @@ declare module "./globals" {
14010
13936
  /**
14011
13937
  * Class definitions to be attributed to the progress bar
14012
13938
  */
14013
- progressClass?: any[] | string | any;
13939
+ progressClass?: VueClassProp;
14014
13940
  /**
14015
13941
  * Add CSS class(es) to the notification for easier customization
14016
13942
  */