quasar 2.5.1 → 2.5.5

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 (193) hide show
  1. package/dist/api/BottomSheet.json +1 -1
  2. package/dist/api/Notify.json +205 -5
  3. package/dist/api/QAvatar.json +1 -1
  4. package/dist/api/QBreadcrumbsEl.json +1 -1
  5. package/dist/api/QBtn.json +4 -4
  6. package/dist/api/QBtnDropdown.json +17 -17
  7. package/dist/api/QCarousel.json +4 -4
  8. package/dist/api/QCheckbox.json +1 -1
  9. package/dist/api/QChip.json +5 -5
  10. package/dist/api/QDialog.json +13 -13
  11. package/dist/api/QDrawer.json +16 -16
  12. package/dist/api/QExpansionItem.json +15 -15
  13. package/dist/api/QFab.json +15 -15
  14. package/dist/api/QFabAction.json +3 -3
  15. package/dist/api/QField.json +2 -2
  16. package/dist/api/QFile.json +1 -1
  17. package/dist/api/QForm.json +12 -3
  18. package/dist/api/QIcon.json +4 -2
  19. package/dist/api/QInput.json +2 -2
  20. package/dist/api/QKnob.json +18 -0
  21. package/dist/api/QMenu.json +13 -13
  22. package/dist/api/QPagination.json +4 -4
  23. package/dist/api/QPopupEdit.json +6 -6
  24. package/dist/api/QPopupProxy.json +13 -13
  25. package/dist/api/QRadio.json +1 -1
  26. package/dist/api/QRange.json +1 -1
  27. package/dist/api/QRouteTab.json +2 -2
  28. package/dist/api/QSelect.json +19 -5
  29. package/dist/api/QSlider.json +1 -1
  30. package/dist/api/QStep.json +4 -4
  31. package/dist/api/QStepper.json +4 -4
  32. package/dist/api/QTab.json +1 -1
  33. package/dist/api/QTable.json +6 -6
  34. package/dist/api/QTimelineEntry.json +1 -1
  35. package/dist/api/QToggle.json +2 -2
  36. package/dist/api/QTooltip.json +13 -13
  37. package/dist/api/QTree.json +1 -1
  38. package/dist/api/QUploader.json +1 -1
  39. package/dist/api/TouchHold.json +1 -1
  40. package/dist/api/TouchPan.json +1 -1
  41. package/dist/api/TouchRepeat.json +1 -1
  42. package/dist/api/TouchSwipe.json +1 -1
  43. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  44. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  45. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  46. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  47. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  48. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  49. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  50. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  51. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  52. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  53. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  54. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  55. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  56. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  57. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  58. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  59. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  60. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  61. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  62. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  63. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  64. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  65. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  66. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  67. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  68. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  69. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  70. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  71. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  72. package/dist/icon-set/themify.umd.prod.js +1 -1
  73. package/dist/lang/ar.umd.prod.js +1 -1
  74. package/dist/lang/az-Latn.umd.prod.js +1 -1
  75. package/dist/lang/bg.umd.prod.js +1 -1
  76. package/dist/lang/bn.umd.prod.js +1 -1
  77. package/dist/lang/ca.umd.prod.js +1 -1
  78. package/dist/lang/cs.umd.prod.js +1 -1
  79. package/dist/lang/da.umd.prod.js +1 -1
  80. package/dist/lang/de.umd.prod.js +1 -1
  81. package/dist/lang/el.umd.prod.js +1 -1
  82. package/dist/lang/en-GB.umd.prod.js +1 -1
  83. package/dist/lang/en-US.umd.prod.js +1 -1
  84. package/dist/lang/eo.umd.prod.js +1 -1
  85. package/dist/lang/es.umd.prod.js +1 -1
  86. package/dist/lang/et.umd.prod.js +1 -1
  87. package/dist/lang/fa-IR.umd.prod.js +1 -1
  88. package/dist/lang/fa.umd.prod.js +1 -1
  89. package/dist/lang/fi.umd.prod.js +1 -1
  90. package/dist/lang/fr.umd.prod.js +1 -1
  91. package/dist/lang/gn.umd.prod.js +1 -1
  92. package/dist/lang/he.umd.prod.js +1 -1
  93. package/dist/lang/hr.umd.prod.js +1 -1
  94. package/dist/lang/hu.umd.prod.js +1 -1
  95. package/dist/lang/id.umd.prod.js +1 -1
  96. package/dist/lang/is.umd.prod.js +1 -1
  97. package/dist/lang/it.umd.prod.js +1 -1
  98. package/dist/lang/ja.umd.prod.js +1 -1
  99. package/dist/lang/km.umd.prod.js +1 -1
  100. package/dist/lang/ko-KR.umd.prod.js +1 -1
  101. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  102. package/dist/lang/lt.umd.prod.js +1 -1
  103. package/dist/lang/lu.umd.prod.js +1 -1
  104. package/dist/lang/lv.umd.prod.js +1 -1
  105. package/dist/lang/ml.umd.prod.js +1 -1
  106. package/dist/lang/ms.umd.prod.js +1 -1
  107. package/dist/lang/my.umd.prod.js +1 -1
  108. package/dist/lang/nb-NO.umd.prod.js +1 -1
  109. package/dist/lang/nl.umd.prod.js +1 -1
  110. package/dist/lang/pl.umd.prod.js +1 -1
  111. package/dist/lang/pt-BR.umd.prod.js +1 -1
  112. package/dist/lang/pt.umd.prod.js +1 -1
  113. package/dist/lang/ro.umd.prod.js +1 -1
  114. package/dist/lang/ru.umd.prod.js +1 -1
  115. package/dist/lang/sk.umd.prod.js +1 -1
  116. package/dist/lang/sl.umd.prod.js +1 -1
  117. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  118. package/dist/lang/sr.umd.prod.js +1 -1
  119. package/dist/lang/sv.umd.prod.js +1 -1
  120. package/dist/lang/ta.umd.prod.js +1 -1
  121. package/dist/lang/th.umd.prod.js +1 -1
  122. package/dist/lang/tr.umd.prod.js +1 -1
  123. package/dist/lang/ug.umd.prod.js +1 -1
  124. package/dist/lang/uk.umd.prod.js +1 -1
  125. package/dist/lang/vi.umd.prod.js +1 -1
  126. package/dist/lang/zh-CN.umd.prod.js +1 -1
  127. package/dist/lang/zh-TW.umd.prod.js +1 -1
  128. package/dist/quasar.cjs.prod.js +2 -2
  129. package/dist/quasar.css +2 -2
  130. package/dist/quasar.esm.prod.js +2 -2
  131. package/dist/quasar.prod.css +1 -1
  132. package/dist/quasar.rtl.css +2 -2
  133. package/dist/quasar.rtl.prod.css +1 -1
  134. package/dist/quasar.sass +2 -1
  135. package/dist/quasar.umd.js +358 -343
  136. package/dist/quasar.umd.prod.js +2 -2
  137. package/dist/ssr-directives/Morph.js +1 -1
  138. package/dist/types/index.d.ts +245 -135
  139. package/dist/vetur/quasar-attributes.json +46 -38
  140. package/dist/vetur/quasar-tags.json +2 -0
  141. package/dist/web-types/web-types.json +119 -93
  142. package/package.json +1 -1
  143. package/src/api-file-example.json +2 -2
  144. package/src/api.extends.json +22 -33
  145. package/src/components/btn/QBtn.json +3 -6
  146. package/src/components/carousel/QCarousel.json +2 -4
  147. package/src/components/checkbox/use-checkbox.json +2 -4
  148. package/src/components/chip/QChip.json +1 -3
  149. package/src/components/date/QDate.js +20 -19
  150. package/src/components/date/use-datetime.js +3 -1
  151. package/src/components/dialog-plugin/DialogPlugin.js +9 -8
  152. package/src/components/fab/QFabAction.json +1 -3
  153. package/src/components/field/QField.json +2 -6
  154. package/src/components/form/QForm.json +10 -7
  155. package/src/components/icon/QIcon.js +4 -1
  156. package/src/components/icon/QIcon.json +1 -3
  157. package/src/components/input/QInput.json +2 -6
  158. package/src/components/input/use-mask.js +2 -2
  159. package/src/components/knob/QKnob.js +46 -40
  160. package/src/components/knob/QKnob.json +16 -0
  161. package/src/components/radio/QRadio.json +2 -4
  162. package/src/components/select/QSelect.js +4 -3
  163. package/src/components/select/QSelect.json +17 -8
  164. package/src/components/slide-transition/QSlideTransition.js +4 -4
  165. package/src/components/slider/use-slider.js +4 -4
  166. package/src/components/slider/use-slider.json +1 -1
  167. package/src/components/stepper/QStep.json +3 -0
  168. package/src/components/stepper/QStepper.json +3 -0
  169. package/src/components/stepper/QStepper.sass +1 -0
  170. package/src/components/stepper/StepHeader.js +23 -8
  171. package/src/components/table/QTable.json +5 -13
  172. package/src/components/table/table-sort.js +2 -2
  173. package/src/components/tabs/QRouteTab.json +2 -3
  174. package/src/components/tabs/use-tab.js +11 -8
  175. package/src/components/time/QTime.js +5 -5
  176. package/src/components/tree/QTree.js +39 -41
  177. package/src/composables/private/use-file.json +1 -3
  178. package/src/composables/private/use-router-link.js +1 -1
  179. package/src/directives/TouchHold.json +2 -3
  180. package/src/directives/TouchPan.json +2 -3
  181. package/src/directives/TouchRepeat.json +2 -3
  182. package/src/directives/TouchSwipe.json +2 -3
  183. package/src/install-quasar.js +37 -36
  184. package/src/plugins/Loading.js +3 -2
  185. package/src/plugins/LoadingBar.js +2 -1
  186. package/src/plugins/Notify.js +11 -4
  187. package/src/plugins/Notify.json +102 -2
  188. package/src/plugins/Screen.js +9 -5
  189. package/src/utils/create-uploader-component.js +2 -1
  190. package/src/utils/extend.js +6 -34
  191. package/src/utils/morph.js +19 -17
  192. package/src/utils/private/is.js +2 -15
  193. package/src/utils/private/web-storage.js +3 -2
@@ -82,7 +82,7 @@ export interface BottomSheet {
82
82
  */
83
83
  classes?: VueClassProp;
84
84
  /**
85
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
85
+ * 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)
86
86
  */
87
87
  icon?: string;
88
88
  /**
@@ -469,9 +469,17 @@ export interface Notify {
469
469
  */
470
470
  html?: boolean;
471
471
  /**
472
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
472
+ * 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)
473
473
  */
474
474
  icon?: string;
475
+ /**
476
+ * Color name for component from the Quasar Color Palette
477
+ */
478
+ iconColor?: string;
479
+ /**
480
+ * Size in CSS units, including unit name
481
+ */
482
+ iconSize?: string;
475
483
  /**
476
484
  * URL to an avatar/image; Suggestion: public folder
477
485
  */
@@ -480,6 +488,14 @@ export interface Notify {
480
488
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
481
489
  */
482
490
  spinner?: boolean | Component;
491
+ /**
492
+ * Color name for component from the Quasar Color Palette
493
+ */
494
+ spinnerColor?: string;
495
+ /**
496
+ * Size in CSS units, including unit name
497
+ */
498
+ spinnerSize?: string;
483
499
  /**
484
500
  * Window side/corner to stick to
485
501
  * Default value: bottom
@@ -593,9 +609,17 @@ export interface Notify {
593
609
  */
594
610
  html?: boolean;
595
611
  /**
596
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
612
+ * 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)
597
613
  */
598
614
  icon?: string;
615
+ /**
616
+ * Color name for component from the Quasar Color Palette
617
+ */
618
+ iconColor?: string;
619
+ /**
620
+ * Size in CSS units, including unit name
621
+ */
622
+ iconSize?: string;
599
623
  /**
600
624
  * URL to an avatar/image; Suggestion: use public folder
601
625
  */
@@ -604,6 +628,14 @@ export interface Notify {
604
628
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
605
629
  */
606
630
  spinner?: boolean | Component;
631
+ /**
632
+ * Color name for component from the Quasar Color Palette
633
+ */
634
+ spinnerColor?: string;
635
+ /**
636
+ * Size in CSS units, including unit name
637
+ */
638
+ spinnerSize?: string;
607
639
  /**
608
640
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
609
641
  */
@@ -676,9 +708,17 @@ export interface Notify {
676
708
  */
677
709
  html?: boolean;
678
710
  /**
679
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
711
+ * 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)
680
712
  */
681
713
  icon?: string;
714
+ /**
715
+ * Color name for component from the Quasar Color Palette
716
+ */
717
+ iconColor?: string;
718
+ /**
719
+ * Size in CSS units, including unit name
720
+ */
721
+ iconSize?: string;
682
722
  /**
683
723
  * URL to an avatar/image; Suggestion: use public folder
684
724
  */
@@ -687,6 +727,14 @@ export interface Notify {
687
727
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
688
728
  */
689
729
  spinner?: boolean | Component;
730
+ /**
731
+ * Color name for component from the Quasar Color Palette
732
+ */
733
+ spinnerColor?: string;
734
+ /**
735
+ * Size in CSS units, including unit name
736
+ */
737
+ spinnerSize?: string;
690
738
  /**
691
739
  * Window side/corner to stick to
692
740
  * Default value: bottom
@@ -793,9 +841,17 @@ export interface Notify {
793
841
  */
794
842
  html?: boolean;
795
843
  /**
796
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
844
+ * 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)
797
845
  */
798
846
  icon?: string;
847
+ /**
848
+ * Color name for component from the Quasar Color Palette
849
+ */
850
+ iconColor?: string;
851
+ /**
852
+ * Size in CSS units, including unit name
853
+ */
854
+ iconSize?: string;
799
855
  /**
800
856
  * URL to an avatar/image; Suggestion: use public folder
801
857
  */
@@ -804,6 +860,14 @@ export interface Notify {
804
860
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
805
861
  */
806
862
  spinner?: boolean | Component;
863
+ /**
864
+ * Color name for component from the Quasar Color Palette
865
+ */
866
+ spinnerColor?: string;
867
+ /**
868
+ * Size in CSS units, including unit name
869
+ */
870
+ spinnerSize?: string;
807
871
  /**
808
872
  * Window side/corner to stick to
809
873
  * Default value: bottom
@@ -1344,7 +1408,7 @@ export interface QAvatarProps {
1344
1408
  */
1345
1409
  textColor?: string | undefined;
1346
1410
  /**
1347
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
1411
+ * 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)
1348
1412
  */
1349
1413
  icon?: string | undefined;
1350
1414
  /**
@@ -1556,7 +1620,7 @@ export interface QBreadcrumbsElProps {
1556
1620
  */
1557
1621
  label?: string | undefined;
1558
1622
  /**
1559
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
1623
+ * 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)
1560
1624
  */
1561
1625
  icon?: string | undefined;
1562
1626
  /**
@@ -1616,11 +1680,11 @@ export interface QBtnDropdownProps {
1616
1680
  */
1617
1681
  label?: string | number | undefined;
1618
1682
  /**
1619
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
1683
+ * 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)
1620
1684
  */
1621
1685
  icon?: string | undefined;
1622
1686
  /**
1623
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
1687
+ * 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)
1624
1688
  */
1625
1689
  iconRight?: string | undefined;
1626
1690
  /**
@@ -1721,7 +1785,7 @@ export interface QBtnDropdownProps {
1721
1785
  */
1722
1786
  split?: boolean | undefined;
1723
1787
  /**
1724
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
1788
+ * 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)
1725
1789
  */
1726
1790
  dropdownIcon?: string | undefined;
1727
1791
  /**
@@ -1815,27 +1879,27 @@ export interface QBtnDropdownProps {
1815
1879
  * Emitted after component has triggered show()
1816
1880
  * @param evt JS event object
1817
1881
  */
1818
- onShow?: (evt: any) => void;
1882
+ onShow?: (evt: Event) => void;
1819
1883
  /**
1820
1884
  * Emitted when component triggers show() but before it finishes doing it
1821
1885
  * @param evt JS event object
1822
1886
  */
1823
- onBeforeShow?: (evt: any) => void;
1887
+ onBeforeShow?: (evt: Event) => void;
1824
1888
  /**
1825
1889
  * Emitted after component has triggered hide()
1826
1890
  * @param evt JS event object
1827
1891
  */
1828
- onHide?: (evt: any) => void;
1892
+ onHide?: (evt: Event) => void;
1829
1893
  /**
1830
1894
  * Emitted when component triggers hide() but before it finishes doing it
1831
1895
  * @param evt JS event object
1832
1896
  */
1833
- onBeforeHide?: (evt: any) => void;
1897
+ onBeforeHide?: (evt: Event) => void;
1834
1898
  /**
1835
1899
  * Emitted when user clicks/taps on the main button (not the icon one, if using 'split')
1836
1900
  * @param evt JS event object
1837
1901
  */
1838
- onClick?: (evt: any) => void;
1902
+ onClick?: (evt: Event) => void;
1839
1903
  }
1840
1904
 
1841
1905
  export interface QBtnDropdownSlots {
@@ -1855,17 +1919,17 @@ export interface QBtnDropdown
1855
1919
  * Triggers component to show
1856
1920
  * @param evt JS event object
1857
1921
  */
1858
- show: (evt?: any) => void;
1922
+ show: (evt?: Event) => void;
1859
1923
  /**
1860
1924
  * Triggers component to hide
1861
1925
  * @param evt JS event object
1862
1926
  */
1863
- hide: (evt?: any) => void;
1927
+ hide: (evt?: Event) => void;
1864
1928
  /**
1865
1929
  * Triggers component to toggle between show/hide
1866
1930
  * @param evt JS event object
1867
1931
  */
1868
- toggle: (evt?: any) => void;
1932
+ toggle: (evt?: Event) => void;
1869
1933
  }
1870
1934
 
1871
1935
  export interface QBtnGroupProps {
@@ -2095,11 +2159,11 @@ export interface QBtnProps {
2095
2159
  */
2096
2160
  label?: string | number | undefined;
2097
2161
  /**
2098
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2162
+ * 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)
2099
2163
  */
2100
2164
  icon?: string | undefined;
2101
2165
  /**
2102
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2166
+ * 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)
2103
2167
  */
2104
2168
  iconRight?: string | undefined;
2105
2169
  /**
@@ -2212,7 +2276,7 @@ export interface QBtnProps {
2212
2276
  * @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
2213
2277
  * @param navigateFn When you need to control the time at which the button should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation
2214
2278
  */
2215
- onClick?: (evt: any, navigateFn: () => void) => void;
2279
+ onClick?: (evt: Event, navigateFn: () => void) => void;
2216
2280
  }
2217
2281
 
2218
2282
  export interface QBtnSlots {
@@ -2231,7 +2295,7 @@ export interface QBtn extends ComponentPublicInstance<QBtnProps> {
2231
2295
  * Emulate click on QBtn
2232
2296
  * @param evt JS event object
2233
2297
  */
2234
- click: (evt?: any) => void;
2298
+ click: (evt?: Event) => void;
2235
2299
  }
2236
2300
 
2237
2301
  export interface QCardProps {
@@ -2418,11 +2482,11 @@ export interface QCarouselProps {
2418
2482
  */
2419
2483
  arrows?: boolean | undefined;
2420
2484
  /**
2421
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2485
+ * 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)
2422
2486
  */
2423
2487
  prevIcon?: string | undefined;
2424
2488
  /**
2425
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2489
+ * 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)
2426
2490
  */
2427
2491
  nextIcon?: string | undefined;
2428
2492
  /**
@@ -2435,7 +2499,7 @@ export interface QCarouselProps {
2435
2499
  */
2436
2500
  navigationPosition?: "top" | "right" | "bottom" | "left" | undefined;
2437
2501
  /**
2438
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2502
+ * 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)
2439
2503
  */
2440
2504
  navigationIcon?: string | undefined;
2441
2505
  /**
@@ -2506,7 +2570,7 @@ export interface QCarouselSlots {
2506
2570
  * Default trigger when clicked/tapped on
2507
2571
  * @param evt JS event object
2508
2572
  */
2509
- onClick: (evt: any) => void;
2573
+ onClick: (evt: Event) => void;
2510
2574
  }) => VNode[];
2511
2575
  }
2512
2576
 
@@ -2764,7 +2828,7 @@ export interface QCheckboxProps {
2764
2828
  * @param value New model value
2765
2829
  * @param evt JS event object
2766
2830
  */
2767
- "onUpdate:modelValue"?: (value: any, evt: any) => void;
2831
+ "onUpdate:modelValue"?: (value: any, evt: Event) => void;
2768
2832
  }
2769
2833
 
2770
2834
  export interface QCheckboxSlots {
@@ -2795,19 +2859,19 @@ export interface QChipProps {
2795
2859
  */
2796
2860
  dark?: boolean | undefined;
2797
2861
  /**
2798
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2862
+ * 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)
2799
2863
  */
2800
2864
  icon?: string | undefined;
2801
2865
  /**
2802
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2866
+ * 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)
2803
2867
  */
2804
2868
  iconRight?: string | undefined;
2805
2869
  /**
2806
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2870
+ * 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)
2807
2871
  */
2808
2872
  iconRemove?: string | undefined;
2809
2873
  /**
2810
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
2874
+ * 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)
2811
2875
  */
2812
2876
  iconSelected?: string | undefined;
2813
2877
  /**
@@ -2864,7 +2928,7 @@ export interface QChipProps {
2864
2928
  * Emitted on QChip click if 'clickable' property is set
2865
2929
  * @param evt JS event object
2866
2930
  */
2867
- onClick?: (evt: any) => void;
2931
+ onClick?: (evt: Event) => void;
2868
2932
  /**
2869
2933
  * Used by Vue on 'v-model:selected' for updating its value
2870
2934
  * @param state Selected state
@@ -3489,22 +3553,22 @@ export interface QDialogProps {
3489
3553
  * Emitted after component has triggered show()
3490
3554
  * @param evt JS event object
3491
3555
  */
3492
- onShow?: (evt: any) => void;
3556
+ onShow?: (evt: Event) => void;
3493
3557
  /**
3494
3558
  * Emitted when component triggers show() but before it finishes doing it
3495
3559
  * @param evt JS event object
3496
3560
  */
3497
- onBeforeShow?: (evt: any) => void;
3561
+ onBeforeShow?: (evt: Event) => void;
3498
3562
  /**
3499
3563
  * Emitted after component has triggered hide()
3500
3564
  * @param evt JS event object
3501
3565
  */
3502
- onHide?: (evt: any) => void;
3566
+ onHide?: (evt: Event) => void;
3503
3567
  /**
3504
3568
  * Emitted when component triggers hide() but before it finishes doing it
3505
3569
  * @param evt JS event object
3506
3570
  */
3507
- onBeforeHide?: (evt: any) => void;
3571
+ onBeforeHide?: (evt: Event) => void;
3508
3572
  /**
3509
3573
  * Emitted when the Dialog shakes in order to catch user's attention, unless the 'no-shake' property is set
3510
3574
  */
@@ -3527,17 +3591,17 @@ export interface QDialog extends ComponentPublicInstance<QDialogProps> {
3527
3591
  * Triggers component to show
3528
3592
  * @param evt JS event object
3529
3593
  */
3530
- show: (evt?: any) => void;
3594
+ show: (evt?: Event) => void;
3531
3595
  /**
3532
3596
  * Triggers component to hide
3533
3597
  * @param evt JS event object
3534
3598
  */
3535
- hide: (evt?: any) => void;
3599
+ hide: (evt?: Event) => void;
3536
3600
  /**
3537
3601
  * Triggers component to toggle between show/hide
3538
3602
  * @param evt JS event object
3539
3603
  */
3540
- toggle: (evt?: any) => void;
3604
+ toggle: (evt?: Event) => void;
3541
3605
  /**
3542
3606
  * Focus dialog; if you have content with autofocus attribute, it will directly focus it
3543
3607
  */
@@ -3631,22 +3695,22 @@ export interface QDrawerProps {
3631
3695
  * Emitted after component has triggered show()
3632
3696
  * @param evt JS event object
3633
3697
  */
3634
- onShow?: (evt: any) => void;
3698
+ onShow?: (evt: Event) => void;
3635
3699
  /**
3636
3700
  * Emitted when component triggers show() but before it finishes doing it
3637
3701
  * @param evt JS event object
3638
3702
  */
3639
- onBeforeShow?: (evt: any) => void;
3703
+ onBeforeShow?: (evt: Event) => void;
3640
3704
  /**
3641
3705
  * Emitted after component has triggered hide()
3642
3706
  * @param evt JS event object
3643
3707
  */
3644
- onHide?: (evt: any) => void;
3708
+ onHide?: (evt: Event) => void;
3645
3709
  /**
3646
3710
  * Emitted when component triggers hide() but before it finishes doing it
3647
3711
  * @param evt JS event object
3648
3712
  */
3649
- onBeforeHide?: (evt: any) => void;
3713
+ onBeforeHide?: (evt: Event) => void;
3650
3714
  /**
3651
3715
  * Emitted when drawer toggles between occupying space on page or not
3652
3716
  * @param state New state
@@ -3656,17 +3720,17 @@ export interface QDrawerProps {
3656
3720
  * Emitted when user clicks/taps on the component and drawer is NOT in mobile mode; Useful for when taking a decision to toggle mini mode
3657
3721
  * @param evt JS event object
3658
3722
  */
3659
- onClick?: (evt: any) => void;
3723
+ onClick?: (evt: Event) => void;
3660
3724
  /**
3661
3725
  * Emitted when user moves mouse cursor over the component and drawer is NOT in mobile mode; Useful for when taking a decision to toggle mini mode
3662
3726
  * @param evt JS event object
3663
3727
  */
3664
- onMouseover?: (evt: any) => void;
3728
+ onMouseover?: (evt: Event) => void;
3665
3729
  /**
3666
3730
  * Emitted when user moves mouse cursor out of the component and drawer is NOT in mobile mode; Useful for when taking a decision to toggle mini mode
3667
3731
  * @param evt JS event object
3668
3732
  */
3669
- onMouseout?: (evt: any) => void;
3733
+ onMouseout?: (evt: Event) => void;
3670
3734
  /**
3671
3735
  * Emitted when drawer changes the mini-mode state (sometimes it is forced to do so)
3672
3736
  * @param state New state
@@ -3690,17 +3754,17 @@ export interface QDrawer extends ComponentPublicInstance<QDrawerProps> {
3690
3754
  * Triggers component to show
3691
3755
  * @param evt JS event object
3692
3756
  */
3693
- show: (evt?: any) => void;
3757
+ show: (evt?: Event) => void;
3694
3758
  /**
3695
3759
  * Triggers component to hide
3696
3760
  * @param evt JS event object
3697
3761
  */
3698
- hide: (evt?: any) => void;
3762
+ hide: (evt?: Event) => void;
3699
3763
  /**
3700
3764
  * Triggers component to toggle between show/hide
3701
3765
  * @param evt JS event object
3702
3766
  */
3703
- toggle: (evt?: any) => void;
3767
+ toggle: (evt?: Event) => void;
3704
3768
  }
3705
3769
 
3706
3770
  export interface QEditorProps {
@@ -3950,11 +4014,11 @@ export interface QExpansionItemProps {
3950
4014
  */
3951
4015
  modelValue?: boolean;
3952
4016
  /**
3953
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
4017
+ * 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)
3954
4018
  */
3955
4019
  icon?: string | undefined;
3956
4020
  /**
3957
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
4021
+ * 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)
3958
4022
  */
3959
4023
  expandIcon?: string | undefined;
3960
4024
  /**
@@ -4047,22 +4111,22 @@ export interface QExpansionItemProps {
4047
4111
  * Emitted after component has triggered show()
4048
4112
  * @param evt JS event object
4049
4113
  */
4050
- onShow?: (evt: any) => void;
4114
+ onShow?: (evt: Event) => void;
4051
4115
  /**
4052
4116
  * Emitted when component triggers show() but before it finishes doing it
4053
4117
  * @param evt JS event object
4054
4118
  */
4055
- onBeforeShow?: (evt: any) => void;
4119
+ onBeforeShow?: (evt: Event) => void;
4056
4120
  /**
4057
4121
  * Emitted after component has triggered hide()
4058
4122
  * @param evt JS event object
4059
4123
  */
4060
- onHide?: (evt: any) => void;
4124
+ onHide?: (evt: Event) => void;
4061
4125
  /**
4062
4126
  * Emitted when component triggers hide() but before it finishes doing it
4063
4127
  * @param evt JS event object
4064
4128
  */
4065
- onBeforeHide?: (evt: any) => void;
4129
+ onBeforeHide?: (evt: Event) => void;
4066
4130
  /**
4067
4131
  * Emitted when component show animation is finished
4068
4132
  */
@@ -4090,17 +4154,17 @@ export interface QExpansionItem
4090
4154
  * Triggers component to show
4091
4155
  * @param evt JS event object
4092
4156
  */
4093
- show: (evt?: any) => void;
4157
+ show: (evt?: Event) => void;
4094
4158
  /**
4095
4159
  * Triggers component to hide
4096
4160
  * @param evt JS event object
4097
4161
  */
4098
- hide: (evt?: any) => void;
4162
+ hide: (evt?: Event) => void;
4099
4163
  /**
4100
4164
  * Triggers component to toggle between show/hide
4101
4165
  * @param evt JS event object
4102
4166
  */
4103
- toggle: (evt?: any) => void;
4167
+ toggle: (evt?: Event) => void;
4104
4168
  }
4105
4169
 
4106
4170
  export interface QFabProps {
@@ -4182,11 +4246,11 @@ export interface QFabProps {
4182
4246
  */
4183
4247
  modelValue?: boolean;
4184
4248
  /**
4185
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
4249
+ * 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)
4186
4250
  */
4187
4251
  icon?: string | undefined;
4188
4252
  /**
4189
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
4253
+ * 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)
4190
4254
  */
4191
4255
  activeIcon?: string | undefined;
4192
4256
  /**
@@ -4216,22 +4280,22 @@ export interface QFabProps {
4216
4280
  * Emitted after component has triggered show()
4217
4281
  * @param evt JS event object
4218
4282
  */
4219
- onShow?: (evt: any) => void;
4283
+ onShow?: (evt: Event) => void;
4220
4284
  /**
4221
4285
  * Emitted when component triggers show() but before it finishes doing it
4222
4286
  * @param evt JS event object
4223
4287
  */
4224
- onBeforeShow?: (evt: any) => void;
4288
+ onBeforeShow?: (evt: Event) => void;
4225
4289
  /**
4226
4290
  * Emitted after component has triggered hide()
4227
4291
  * @param evt JS event object
4228
4292
  */
4229
- onHide?: (evt: any) => void;
4293
+ onHide?: (evt: Event) => void;
4230
4294
  /**
4231
4295
  * Emitted when component triggers hide() but before it finishes doing it
4232
4296
  * @param evt JS event object
4233
4297
  */
4234
- onBeforeHide?: (evt: any) => void;
4298
+ onBeforeHide?: (evt: Event) => void;
4235
4299
  }
4236
4300
 
4237
4301
  export interface QFabSlots {
@@ -4280,17 +4344,17 @@ export interface QFab extends ComponentPublicInstance<QFabProps> {
4280
4344
  * Expands fab actions list
4281
4345
  * @param evt JS event object
4282
4346
  */
4283
- show: (evt?: any) => void;
4347
+ show: (evt?: Event) => void;
4284
4348
  /**
4285
4349
  * Collapses fab actions list
4286
4350
  * @param evt JS event object
4287
4351
  */
4288
- hide: (evt?: any) => void;
4352
+ hide: (evt?: Event) => void;
4289
4353
  /**
4290
4354
  * Triggers component to toggle between show/hide
4291
4355
  * @param evt JS event object
4292
4356
  */
4293
- toggle: (evt?: any) => void;
4357
+ toggle: (evt?: Event) => void;
4294
4358
  }
4295
4359
 
4296
4360
  export interface QFabActionProps {
@@ -4368,7 +4432,7 @@ export interface QFabActionProps {
4368
4432
  */
4369
4433
  tabindex?: number | string | undefined;
4370
4434
  /**
4371
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
4435
+ * 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)
4372
4436
  */
4373
4437
  icon?: string | undefined;
4374
4438
  /**
@@ -4387,7 +4451,7 @@ export interface QFabActionProps {
4387
4451
  * Emitted when user clicks/taps on the component
4388
4452
  * @param evt JS event object
4389
4453
  */
4390
- onClick?: (evt: any) => void;
4454
+ onClick?: (evt: Event) => void;
4391
4455
  }
4392
4456
 
4393
4457
  export interface QFabActionSlots {
@@ -4410,7 +4474,7 @@ export interface QFabAction extends ComponentPublicInstance<QFabActionProps> {
4410
4474
  * Emulate click on QFabAction
4411
4475
  * @param evt JS event object
4412
4476
  */
4413
- click: (evt?: any) => void;
4477
+ click: (evt?: Event) => void;
4414
4478
  }
4415
4479
 
4416
4480
  export interface QFieldProps {
@@ -4580,12 +4644,12 @@ export interface QFieldProps {
4580
4644
  * Emitted when component gets focused
4581
4645
  * @param evt JS event object
4582
4646
  */
4583
- onFocus?: (evt: any) => void;
4647
+ onFocus?: (evt: Event) => void;
4584
4648
  /**
4585
4649
  * Emitted when component loses focus
4586
4650
  * @param evt JS event object
4587
4651
  */
4588
- onBlur?: (evt: any) => void;
4652
+ onBlur?: (evt: Event) => void;
4589
4653
  }
4590
4654
 
4591
4655
  export interface QFieldSlots {
@@ -5012,7 +5076,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
5012
5076
  * Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
5013
5077
  * @param evt JS event object
5014
5078
  */
5015
- pickFiles: (evt?: any) => void;
5079
+ pickFiles: (evt?: Event) => void;
5016
5080
  /**
5017
5081
  * Add files programmatically
5018
5082
  * @param files Array of files (instances of File)
@@ -5111,8 +5175,9 @@ export interface QFormProps {
5111
5175
  greedy?: boolean | undefined;
5112
5176
  /**
5113
5177
  * Emitted when all validations have passed when tethered to a submit button
5178
+ * @param evt Form submission event object
5114
5179
  */
5115
- onSubmit?: () => void;
5180
+ onSubmit?: (evt: Event | SubmitEvent) => void;
5116
5181
  /**
5117
5182
  * Emitted when all validations have been reset when tethered to a reset button; It is recommended to manually reset the wrapped components models in this handler
5118
5183
  */
@@ -5154,12 +5219,12 @@ export interface QForm extends ComponentPublicInstance<QFormProps> {
5154
5219
  * Manually trigger form validation and submit
5155
5220
  * @param evt JS event object
5156
5221
  */
5157
- submit: (evt?: any) => void;
5222
+ submit: (evt?: Event) => void;
5158
5223
  /**
5159
5224
  * Manually trigger form reset
5160
5225
  * @param evt JS event object
5161
5226
  */
5162
- reset: (evt?: any) => void;
5227
+ reset: (evt?: Event) => void;
5163
5228
  /**
5164
5229
  * Get array of children vue components that support validation
5165
5230
  * @returns Vue components that support Quasar validation API
@@ -5239,7 +5304,7 @@ export interface QIconProps {
5239
5304
  */
5240
5305
  tag?: string | undefined;
5241
5306
  /**
5242
- * Name of the icon, following Quasar convention
5307
+ * 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)
5243
5308
  */
5244
5309
  name?: string | undefined;
5245
5310
  /**
@@ -5746,12 +5811,12 @@ export interface QInputProps {
5746
5811
  * Emitted when component gets focused
5747
5812
  * @param evt JS event object
5748
5813
  */
5749
- onFocus?: (evt: any) => void;
5814
+ onFocus?: (evt: Event) => void;
5750
5815
  /**
5751
5816
  * Emitted when component loses focus
5752
5817
  * @param evt JS event object
5753
5818
  */
5754
- onBlur?: (evt: any) => void;
5819
+ onBlur?: (evt: Event) => void;
5755
5820
  }
5756
5821
 
5757
5822
  export interface QInputSlots {
@@ -6078,6 +6143,14 @@ export interface QKnobProps {
6078
6143
  * The maximum value that the model (the knob value) should go to
6079
6144
  */
6080
6145
  max?: number | undefined;
6146
+ /**
6147
+ * Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop
6148
+ */
6149
+ innerMin?: number | undefined;
6150
+ /**
6151
+ * Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop
6152
+ */
6153
+ innerMax?: number | undefined;
6081
6154
  /**
6082
6155
  * A number representing steps in the value of the model, while adjusting the knob
6083
6156
  * Default value: 1
@@ -6471,22 +6544,22 @@ export interface QMenuProps {
6471
6544
  * Emitted after component has triggered show()
6472
6545
  * @param evt JS event object
6473
6546
  */
6474
- onShow?: (evt: any) => void;
6547
+ onShow?: (evt: Event) => void;
6475
6548
  /**
6476
6549
  * Emitted when component triggers show() but before it finishes doing it
6477
6550
  * @param evt JS event object
6478
6551
  */
6479
- onBeforeShow?: (evt: any) => void;
6552
+ onBeforeShow?: (evt: Event) => void;
6480
6553
  /**
6481
6554
  * Emitted after component has triggered hide()
6482
6555
  * @param evt JS event object
6483
6556
  */
6484
- onHide?: (evt: any) => void;
6557
+ onHide?: (evt: Event) => void;
6485
6558
  /**
6486
6559
  * Emitted when component triggers hide() but before it finishes doing it
6487
6560
  * @param evt JS event object
6488
6561
  */
6489
- onBeforeHide?: (evt: any) => void;
6562
+ onBeforeHide?: (evt: Event) => void;
6490
6563
  /**
6491
6564
  * Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent'
6492
6565
  */
@@ -6505,17 +6578,17 @@ export interface QMenu extends ComponentPublicInstance<QMenuProps> {
6505
6578
  * Triggers component to show
6506
6579
  * @param evt JS event object
6507
6580
  */
6508
- show: (evt?: any) => void;
6581
+ show: (evt?: Event) => void;
6509
6582
  /**
6510
6583
  * Triggers component to hide
6511
6584
  * @param evt JS event object
6512
6585
  */
6513
- hide: (evt?: any) => void;
6586
+ hide: (evt?: Event) => void;
6514
6587
  /**
6515
6588
  * Triggers component to toggle between show/hide
6516
6589
  * @param evt JS event object
6517
6590
  */
6518
- toggle: (evt?: any) => void;
6591
+ toggle: (evt?: Event) => void;
6519
6592
  /**
6520
6593
  * There are some custom scenarios for which Quasar cannot automatically reposition the menu without significant performance drawbacks so the optimal solution is for you to call this method when you need it
6521
6594
  */
@@ -6855,19 +6928,19 @@ export interface QPaginationProps {
6855
6928
  */
6856
6929
  input?: boolean | undefined;
6857
6930
  /**
6858
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
6931
+ * 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)
6859
6932
  */
6860
6933
  iconPrev?: string | undefined;
6861
6934
  /**
6862
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
6935
+ * 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)
6863
6936
  */
6864
6937
  iconNext?: string | undefined;
6865
6938
  /**
6866
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
6939
+ * 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)
6867
6940
  */
6868
6941
  iconFirst?: string | undefined;
6869
6942
  /**
6870
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
6943
+ * 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)
6871
6944
  */
6872
6945
  iconLast?: string | undefined;
6873
6946
  /**
@@ -7207,12 +7280,12 @@ export interface QPopupEdit extends ComponentPublicInstance<QPopupEditProps> {
7207
7280
  * Triggers component to show
7208
7281
  * @param evt JS event object
7209
7282
  */
7210
- show: (evt?: any) => void;
7283
+ show: (evt?: Event) => void;
7211
7284
  /**
7212
7285
  * Triggers component to hide
7213
7286
  * @param evt JS event object
7214
7287
  */
7215
- hide: (evt?: any) => void;
7288
+ hide: (evt?: Event) => void;
7216
7289
  /**
7217
7290
  * There are some custom scenarios for which Quasar cannot automatically reposition the component without significant performance drawbacks so the optimal solution is for you to call this method when you need it
7218
7291
  */
@@ -7251,22 +7324,22 @@ export interface QPopupProxyProps {
7251
7324
  * Emitted when component triggers show() but before it finishes doing it
7252
7325
  * @param evt JS event object
7253
7326
  */
7254
- onBeforeShow?: (evt: any) => void;
7327
+ onBeforeShow?: (evt: Event) => void;
7255
7328
  /**
7256
7329
  * Emitted after component has triggered show()
7257
7330
  * @param evt JS event object
7258
7331
  */
7259
- onShow?: (evt: any) => void;
7332
+ onShow?: (evt: Event) => void;
7260
7333
  /**
7261
7334
  * Emitted when component triggers hide() but before it finishes doing it
7262
7335
  * @param evt JS event object
7263
7336
  */
7264
- onBeforeHide?: (evt: any) => void;
7337
+ onBeforeHide?: (evt: Event) => void;
7265
7338
  /**
7266
7339
  * Emitted after component has triggered hide()
7267
7340
  * @param evt JS event object
7268
7341
  */
7269
- onHide?: (evt: any) => void;
7342
+ onHide?: (evt: Event) => void;
7270
7343
  }
7271
7344
 
7272
7345
  export interface QPopupProxySlots {
@@ -7281,17 +7354,17 @@ export interface QPopupProxy extends ComponentPublicInstance<QPopupProxyProps> {
7281
7354
  * Triggers component to show
7282
7355
  * @param evt JS event object
7283
7356
  */
7284
- show: (evt?: any) => void;
7357
+ show: (evt?: Event) => void;
7285
7358
  /**
7286
7359
  * Triggers component to hide
7287
7360
  * @param evt JS event object
7288
7361
  */
7289
- hide: (evt?: any) => void;
7362
+ hide: (evt?: Event) => void;
7290
7363
  /**
7291
7364
  * Triggers component to toggle between show/hide
7292
7365
  * @param evt JS event object
7293
7366
  */
7294
- toggle: (evt?: any) => void;
7367
+ toggle: (evt?: Event) => void;
7295
7368
  }
7296
7369
 
7297
7370
  export interface QPullToRefreshProps {
@@ -7407,7 +7480,7 @@ export interface QRadioProps {
7407
7480
  * @param value New model value
7408
7481
  * @param evt JS event object
7409
7482
  */
7410
- "onUpdate:modelValue"?: (value: any, evt: any) => void;
7483
+ "onUpdate:modelValue"?: (value: any, evt: Event) => void;
7411
7484
  }
7412
7485
 
7413
7486
  export interface QRadioSlots {
@@ -8337,7 +8410,7 @@ export interface QSelectProps {
8337
8410
  */
8338
8411
  hideDropdownIcon?: boolean | undefined;
8339
8412
  /**
8340
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
8413
+ * 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)
8341
8414
  */
8342
8415
  dropdownIcon?: string | undefined;
8343
8416
  /**
@@ -8582,12 +8655,12 @@ export interface QSelectProps {
8582
8655
  * Emitted when the select options menu or dialog is shown.
8583
8656
  * @param evt JS event object
8584
8657
  */
8585
- onPopupShow?: (evt: any) => void;
8658
+ onPopupShow?: (evt: Event) => void;
8586
8659
  /**
8587
8660
  * Emitted when the select options menu or dialog is hidden.
8588
8661
  * @param evt JS event object
8589
8662
  */
8590
- onPopupHide?: (evt: any) => void;
8663
+ onPopupHide?: (evt: Event) => void;
8591
8664
  }
8592
8665
 
8593
8666
  export interface QSelectSlots {
@@ -8792,8 +8865,13 @@ export interface QSelect extends ComponentPublicInstance<QSelectProps> {
8792
8865
  */
8793
8866
  toggleOption: (opt: any, keepOpen?: boolean) => void;
8794
8867
  /**
8795
- * Sets option from menu as 'focused'
8796
- * @param index Index of option from menu
8868
+ * Gets current focused option index from menu; It's -1 if no option is focused
8869
+ * @param index Index of option from menu; -1 if no option is focused
8870
+ */
8871
+ getOptionIndex: (index: number) => void;
8872
+ /**
8873
+ * Sets option from menu as 'focused'; -1 to focus none
8874
+ * @param index Index of option from menu; -1 to focus none
8797
8875
  */
8798
8876
  setOptionIndex: (index: number) => void;
8799
8877
  /**
@@ -9808,7 +9886,7 @@ export interface QStepProps {
9808
9886
  */
9809
9887
  disable?: boolean | undefined;
9810
9888
  /**
9811
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
9889
+ * 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)
9812
9890
  */
9813
9891
  icon?: string | undefined;
9814
9892
  /**
@@ -9828,7 +9906,7 @@ export interface QStepProps {
9828
9906
  */
9829
9907
  prefix?: string | number | undefined;
9830
9908
  /**
9831
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
9909
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9832
9910
  */
9833
9911
  doneIcon?: string | undefined;
9834
9912
  /**
@@ -9836,7 +9914,7 @@ export interface QStepProps {
9836
9914
  */
9837
9915
  doneColor?: string | undefined;
9838
9916
  /**
9839
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
9917
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9840
9918
  */
9841
9919
  activeIcon?: string | undefined;
9842
9920
  /**
@@ -9844,7 +9922,7 @@ export interface QStepProps {
9844
9922
  */
9845
9923
  activeColor?: string | undefined;
9846
9924
  /**
9847
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
9925
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9848
9926
  */
9849
9927
  errorIcon?: string | undefined;
9850
9928
  /**
@@ -9952,7 +10030,7 @@ export interface QStepperProps {
9952
10030
  */
9953
10031
  contracted?: boolean | undefined;
9954
10032
  /**
9955
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
10033
+ * 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)
9956
10034
  */
9957
10035
  inactiveIcon?: string | undefined;
9958
10036
  /**
@@ -9960,7 +10038,7 @@ export interface QStepperProps {
9960
10038
  */
9961
10039
  inactiveColor?: string | undefined;
9962
10040
  /**
9963
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
10041
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9964
10042
  */
9965
10043
  doneIcon?: string | undefined;
9966
10044
  /**
@@ -9968,7 +10046,7 @@ export interface QStepperProps {
9968
10046
  */
9969
10047
  doneColor?: string | undefined;
9970
10048
  /**
9971
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
10049
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9972
10050
  */
9973
10051
  activeIcon?: string | undefined;
9974
10052
  /**
@@ -9976,7 +10054,7 @@ export interface QStepperProps {
9976
10054
  */
9977
10055
  activeColor?: string | undefined;
9978
10056
  /**
9979
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
10057
+ * Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
9980
10058
  */
9981
10059
  errorIcon?: string | undefined;
9982
10060
  /**
@@ -10560,21 +10638,21 @@ export interface QTableProps {
10560
10638
  * @param row The row upon which user has clicked/tapped
10561
10639
  * @param index Index of the row in the current page
10562
10640
  */
10563
- onRowClick?: (evt: any, row: any, index: number) => void;
10641
+ onRowClick?: (evt: Event, row: any, index: number) => void;
10564
10642
  /**
10565
10643
  * Emitted when user quickly double clicks/taps on a row; Is not emitted when using body/row/item scoped slots; Please check JS dblclick event support before using
10566
10644
  * @param evt JS event object
10567
10645
  * @param row The row upon which user has double clicked/tapped
10568
10646
  * @param index Index of the row in the current page
10569
10647
  */
10570
- onRowDblclick?: (evt: any, row: any, index: number) => void;
10648
+ onRowDblclick?: (evt: Event, row: any, index: number) => void;
10571
10649
  /**
10572
10650
  * Emitted when user right clicks/long taps on a row; Is not emitted when using body/row/item scoped slots
10573
10651
  * @param evt JS event object
10574
10652
  * @param row The row upon which user has right clicked/long tapped
10575
10653
  * @param index Index of the row in the current page
10576
10654
  */
10577
- onRowContextmenu?: (evt: any, row: any, index: number) => void;
10655
+ onRowContextmenu?: (evt: Event, row: any, index: number) => void;
10578
10656
  /**
10579
10657
  * Emitted when a server request is triggered
10580
10658
  * @param requestProp Props of the request
@@ -10643,7 +10721,7 @@ export interface QTableProps {
10643
10721
  /**
10644
10722
  * JS event object
10645
10723
  */
10646
- evt: any;
10724
+ evt: Event;
10647
10725
  }) => void;
10648
10726
  /**
10649
10727
  * Used by Vue on 'v-model:pagination' for updating its value
@@ -11832,7 +11910,7 @@ export interface QRouteTabProps {
11832
11910
  */
11833
11911
  disable?: boolean | undefined;
11834
11912
  /**
11835
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
11913
+ * 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)
11836
11914
  */
11837
11915
  icon?: string | undefined;
11838
11916
  /**
@@ -11874,7 +11952,7 @@ export interface QRouteTabProps {
11874
11952
  * @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
11875
11953
  * @param navigateFn When you need to control the time at which the tab should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation
11876
11954
  */
11877
- onClick?: (evt: any, navigateFn: () => void) => void;
11955
+ onClick?: (evt: Event, navigateFn: () => void) => void;
11878
11956
  }
11879
11957
 
11880
11958
  export interface QRouteTabSlots {
@@ -11888,7 +11966,7 @@ export interface QRouteTab extends ComponentPublicInstance<QRouteTabProps> {}
11888
11966
 
11889
11967
  export interface QTabProps {
11890
11968
  /**
11891
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
11969
+ * 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)
11892
11970
  */
11893
11971
  icon?: string | undefined;
11894
11972
  /**
@@ -12260,7 +12338,7 @@ export interface QTimelineEntryProps {
12260
12338
  */
12261
12339
  side?: "left" | "right" | undefined;
12262
12340
  /**
12263
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
12341
+ * 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)
12264
12342
  */
12265
12343
  icon?: string | undefined;
12266
12344
  /**
@@ -12387,7 +12465,7 @@ export interface QToggleProps {
12387
12465
  */
12388
12466
  tabindex?: number | string | undefined;
12389
12467
  /**
12390
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
12468
+ * 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)
12391
12469
  */
12392
12470
  icon?: string | undefined;
12393
12471
  /**
@@ -12399,7 +12477,7 @@ export interface QToggleProps {
12399
12477
  * @param value New model value
12400
12478
  * @param evt JS event object
12401
12479
  */
12402
- "onUpdate:modelValue"?: (value: any, evt: any) => void;
12480
+ "onUpdate:modelValue"?: (value: any, evt: Event) => void;
12403
12481
  }
12404
12482
 
12405
12483
  export interface QToggleSlots {
@@ -12554,22 +12632,22 @@ export interface QTooltipProps {
12554
12632
  * Emitted after component has triggered show()
12555
12633
  * @param evt JS event object
12556
12634
  */
12557
- onShow?: (evt: any) => void;
12635
+ onShow?: (evt: Event) => void;
12558
12636
  /**
12559
12637
  * Emitted when component triggers show() but before it finishes doing it
12560
12638
  * @param evt JS event object
12561
12639
  */
12562
- onBeforeShow?: (evt: any) => void;
12640
+ onBeforeShow?: (evt: Event) => void;
12563
12641
  /**
12564
12642
  * Emitted after component has triggered hide()
12565
12643
  * @param evt JS event object
12566
12644
  */
12567
- onHide?: (evt: any) => void;
12645
+ onHide?: (evt: Event) => void;
12568
12646
  /**
12569
12647
  * Emitted when component triggers hide() but before it finishes doing it
12570
12648
  * @param evt JS event object
12571
12649
  */
12572
- onBeforeHide?: (evt: any) => void;
12650
+ onBeforeHide?: (evt: Event) => void;
12573
12651
  }
12574
12652
 
12575
12653
  export interface QTooltipSlots {
@@ -12584,17 +12662,17 @@ export interface QTooltip extends ComponentPublicInstance<QTooltipProps> {
12584
12662
  * Triggers component to show
12585
12663
  * @param evt JS event object
12586
12664
  */
12587
- show: (evt?: any) => void;
12665
+ show: (evt?: Event) => void;
12588
12666
  /**
12589
12667
  * Triggers component to hide
12590
12668
  * @param evt JS event object
12591
12669
  */
12592
- hide: (evt?: any) => void;
12670
+ hide: (evt?: Event) => void;
12593
12671
  /**
12594
12672
  * Triggers component to toggle between show/hide
12595
12673
  * @param evt JS event object
12596
12674
  */
12597
- toggle: (evt?: any) => void;
12675
+ toggle: (evt?: Event) => void;
12598
12676
  /**
12599
12677
  * There are some custom scenarios for which Quasar cannot automatically reposition the tooltip without significant performance drawbacks so the optimal solution is for you to call this method when you need it
12600
12678
  */
@@ -12649,7 +12727,7 @@ export interface QTreeProps {
12649
12727
  */
12650
12728
  dark?: boolean | undefined;
12651
12729
  /**
12652
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
12730
+ * 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)
12653
12731
  */
12654
12732
  icon?: string | undefined;
12655
12733
  /**
@@ -13194,7 +13272,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
13194
13272
  * Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
13195
13273
  * @param evt JS event object
13196
13274
  */
13197
- pickFiles: (evt?: any) => void;
13275
+ pickFiles: (evt?: Event) => void;
13198
13276
  /**
13199
13277
  * Add files programmatically
13200
13278
  * @param files Array of files (instances of File)
@@ -13713,7 +13791,7 @@ declare module "./globals" {
13713
13791
  */
13714
13792
  classes?: VueClassProp;
13715
13793
  /**
13716
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
13794
+ * 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)
13717
13795
  */
13718
13796
  icon?: string;
13719
13797
  /**
@@ -13794,9 +13872,17 @@ declare module "./globals" {
13794
13872
  */
13795
13873
  html?: boolean;
13796
13874
  /**
13797
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
13875
+ * 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)
13798
13876
  */
13799
13877
  icon?: string;
13878
+ /**
13879
+ * Color name for component from the Quasar Color Palette
13880
+ */
13881
+ iconColor?: string;
13882
+ /**
13883
+ * Size in CSS units, including unit name
13884
+ */
13885
+ iconSize?: string;
13800
13886
  /**
13801
13887
  * URL to an avatar/image; Suggestion: public folder
13802
13888
  */
@@ -13805,6 +13891,14 @@ declare module "./globals" {
13805
13891
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
13806
13892
  */
13807
13893
  spinner?: boolean | Component;
13894
+ /**
13895
+ * Color name for component from the Quasar Color Palette
13896
+ */
13897
+ spinnerColor?: string;
13898
+ /**
13899
+ * Size in CSS units, including unit name
13900
+ */
13901
+ spinnerSize?: string;
13808
13902
  /**
13809
13903
  * Window side/corner to stick to
13810
13904
  * Default value: bottom
@@ -13918,9 +14012,17 @@ declare module "./globals" {
13918
14012
  */
13919
14013
  html?: boolean;
13920
14014
  /**
13921
- * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
14015
+ * 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)
13922
14016
  */
13923
14017
  icon?: string;
14018
+ /**
14019
+ * Color name for component from the Quasar Color Palette
14020
+ */
14021
+ iconColor?: string;
14022
+ /**
14023
+ * Size in CSS units, including unit name
14024
+ */
14025
+ iconSize?: string;
13924
14026
  /**
13925
14027
  * URL to an avatar/image; Suggestion: use public folder
13926
14028
  */
@@ -13929,6 +14031,14 @@ declare module "./globals" {
13929
14031
  * Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown
13930
14032
  */
13931
14033
  spinner?: boolean | Component;
14034
+ /**
14035
+ * Color name for component from the Quasar Color Palette
14036
+ */
14037
+ spinnerColor?: string;
14038
+ /**
14039
+ * Size in CSS units, including unit name
14040
+ */
14041
+ spinnerSize?: string;
13932
14042
  /**
13933
14043
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
13934
14044
  */