quasar 2.5.3 → 2.5.4
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.
- package/dist/api/QBtn.json +2 -2
- package/dist/api/QBtnDropdown.json +14 -14
- package/dist/api/QCarousel.json +1 -1
- package/dist/api/QCheckbox.json +1 -1
- package/dist/api/QChip.json +1 -1
- package/dist/api/QDialog.json +13 -13
- package/dist/api/QDrawer.json +16 -16
- package/dist/api/QExpansionItem.json +13 -13
- package/dist/api/QFab.json +13 -13
- package/dist/api/QFabAction.json +2 -2
- package/dist/api/QField.json +2 -2
- package/dist/api/QFile.json +1 -1
- package/dist/api/QForm.json +9 -3
- package/dist/api/QInput.json +2 -2
- package/dist/api/QKnob.json +18 -0
- package/dist/api/QMenu.json +13 -13
- package/dist/api/QPopupEdit.json +6 -6
- package/dist/api/QPopupProxy.json +13 -13
- package/dist/api/QRadio.json +1 -1
- package/dist/api/QRange.json +1 -1
- package/dist/api/QRouteTab.json +1 -1
- package/dist/api/QSelect.json +18 -4
- package/dist/api/QSlider.json +1 -1
- package/dist/api/QTable.json +6 -6
- package/dist/api/QToggle.json +1 -1
- package/dist/api/QTooltip.json +13 -13
- package/dist/api/QUploader.json +1 -1
- package/dist/api/TouchHold.json +1 -1
- package/dist/api/TouchPan.json +1 -1
- package/dist/api/TouchRepeat.json +1 -1
- package/dist/api/TouchSwipe.json +1 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +62 -53
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/index.d.ts +103 -89
- package/dist/vetur/quasar-attributes.json +8 -0
- package/dist/vetur/quasar-tags.json +2 -0
- package/dist/web-types/web-types.json +81 -55
- package/package.json +1 -1
- package/src/api-file-example.json +2 -2
- package/src/api.extends.json +21 -32
- package/src/components/btn/QBtn.json +3 -6
- package/src/components/carousel/QCarousel.json +2 -4
- package/src/components/checkbox/use-checkbox.json +2 -4
- package/src/components/chip/QChip.json +1 -3
- package/src/components/fab/QFabAction.json +1 -3
- package/src/components/field/QField.json +2 -6
- package/src/components/form/QForm.json +9 -7
- package/src/components/input/QInput.json +2 -6
- package/src/components/input/use-mask.js +2 -2
- package/src/components/knob/QKnob.js +46 -40
- package/src/components/knob/QKnob.json +16 -0
- package/src/components/radio/QRadio.json +2 -4
- package/src/components/select/QSelect.js +2 -1
- package/src/components/select/QSelect.json +17 -8
- package/src/components/slider/use-slider.json +1 -1
- package/src/components/table/QTable.json +5 -13
- package/src/components/tabs/QRouteTab.json +2 -3
- package/src/components/tabs/use-tab.js +11 -8
- package/src/composables/private/use-file.json +1 -3
- package/src/composables/private/use-router-link.js +1 -1
- package/src/directives/TouchHold.json +2 -3
- package/src/directives/TouchPan.json +2 -3
- package/src/directives/TouchRepeat.json +2 -3
- package/src/directives/TouchSwipe.json +2 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1815,27 +1815,27 @@ export interface QBtnDropdownProps {
|
|
|
1815
1815
|
* Emitted after component has triggered show()
|
|
1816
1816
|
* @param evt JS event object
|
|
1817
1817
|
*/
|
|
1818
|
-
onShow?: (evt:
|
|
1818
|
+
onShow?: (evt: Event) => void;
|
|
1819
1819
|
/**
|
|
1820
1820
|
* Emitted when component triggers show() but before it finishes doing it
|
|
1821
1821
|
* @param evt JS event object
|
|
1822
1822
|
*/
|
|
1823
|
-
onBeforeShow?: (evt:
|
|
1823
|
+
onBeforeShow?: (evt: Event) => void;
|
|
1824
1824
|
/**
|
|
1825
1825
|
* Emitted after component has triggered hide()
|
|
1826
1826
|
* @param evt JS event object
|
|
1827
1827
|
*/
|
|
1828
|
-
onHide?: (evt:
|
|
1828
|
+
onHide?: (evt: Event) => void;
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
1831
1831
|
* @param evt JS event object
|
|
1832
1832
|
*/
|
|
1833
|
-
onBeforeHide?: (evt:
|
|
1833
|
+
onBeforeHide?: (evt: Event) => void;
|
|
1834
1834
|
/**
|
|
1835
1835
|
* Emitted when user clicks/taps on the main button (not the icon one, if using 'split')
|
|
1836
1836
|
* @param evt JS event object
|
|
1837
1837
|
*/
|
|
1838
|
-
onClick?: (evt:
|
|
1838
|
+
onClick?: (evt: Event) => void;
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
1841
|
export interface QBtnDropdownSlots {
|
|
@@ -1855,17 +1855,17 @@ export interface QBtnDropdown
|
|
|
1855
1855
|
* Triggers component to show
|
|
1856
1856
|
* @param evt JS event object
|
|
1857
1857
|
*/
|
|
1858
|
-
show: (evt?:
|
|
1858
|
+
show: (evt?: Event) => void;
|
|
1859
1859
|
/**
|
|
1860
1860
|
* Triggers component to hide
|
|
1861
1861
|
* @param evt JS event object
|
|
1862
1862
|
*/
|
|
1863
|
-
hide: (evt?:
|
|
1863
|
+
hide: (evt?: Event) => void;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Triggers component to toggle between show/hide
|
|
1866
1866
|
* @param evt JS event object
|
|
1867
1867
|
*/
|
|
1868
|
-
toggle: (evt?:
|
|
1868
|
+
toggle: (evt?: Event) => void;
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
export interface QBtnGroupProps {
|
|
@@ -2212,7 +2212,7 @@ export interface QBtnProps {
|
|
|
2212
2212
|
* @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
|
|
2213
2213
|
* @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
2214
|
*/
|
|
2215
|
-
onClick?: (evt:
|
|
2215
|
+
onClick?: (evt: Event, navigateFn: () => void) => void;
|
|
2216
2216
|
}
|
|
2217
2217
|
|
|
2218
2218
|
export interface QBtnSlots {
|
|
@@ -2231,7 +2231,7 @@ export interface QBtn extends ComponentPublicInstance<QBtnProps> {
|
|
|
2231
2231
|
* Emulate click on QBtn
|
|
2232
2232
|
* @param evt JS event object
|
|
2233
2233
|
*/
|
|
2234
|
-
click: (evt?:
|
|
2234
|
+
click: (evt?: Event) => void;
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
2237
|
export interface QCardProps {
|
|
@@ -2506,7 +2506,7 @@ export interface QCarouselSlots {
|
|
|
2506
2506
|
* Default trigger when clicked/tapped on
|
|
2507
2507
|
* @param evt JS event object
|
|
2508
2508
|
*/
|
|
2509
|
-
onClick: (evt:
|
|
2509
|
+
onClick: (evt: Event) => void;
|
|
2510
2510
|
}) => VNode[];
|
|
2511
2511
|
}
|
|
2512
2512
|
|
|
@@ -2764,7 +2764,7 @@ export interface QCheckboxProps {
|
|
|
2764
2764
|
* @param value New model value
|
|
2765
2765
|
* @param evt JS event object
|
|
2766
2766
|
*/
|
|
2767
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
2767
|
+
"onUpdate:modelValue"?: (value: any, evt: Event) => void;
|
|
2768
2768
|
}
|
|
2769
2769
|
|
|
2770
2770
|
export interface QCheckboxSlots {
|
|
@@ -2864,7 +2864,7 @@ export interface QChipProps {
|
|
|
2864
2864
|
* Emitted on QChip click if 'clickable' property is set
|
|
2865
2865
|
* @param evt JS event object
|
|
2866
2866
|
*/
|
|
2867
|
-
onClick?: (evt:
|
|
2867
|
+
onClick?: (evt: Event) => void;
|
|
2868
2868
|
/**
|
|
2869
2869
|
* Used by Vue on 'v-model:selected' for updating its value
|
|
2870
2870
|
* @param state Selected state
|
|
@@ -3489,22 +3489,22 @@ export interface QDialogProps {
|
|
|
3489
3489
|
* Emitted after component has triggered show()
|
|
3490
3490
|
* @param evt JS event object
|
|
3491
3491
|
*/
|
|
3492
|
-
onShow?: (evt:
|
|
3492
|
+
onShow?: (evt: Event) => void;
|
|
3493
3493
|
/**
|
|
3494
3494
|
* Emitted when component triggers show() but before it finishes doing it
|
|
3495
3495
|
* @param evt JS event object
|
|
3496
3496
|
*/
|
|
3497
|
-
onBeforeShow?: (evt:
|
|
3497
|
+
onBeforeShow?: (evt: Event) => void;
|
|
3498
3498
|
/**
|
|
3499
3499
|
* Emitted after component has triggered hide()
|
|
3500
3500
|
* @param evt JS event object
|
|
3501
3501
|
*/
|
|
3502
|
-
onHide?: (evt:
|
|
3502
|
+
onHide?: (evt: Event) => void;
|
|
3503
3503
|
/**
|
|
3504
3504
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
3505
3505
|
* @param evt JS event object
|
|
3506
3506
|
*/
|
|
3507
|
-
onBeforeHide?: (evt:
|
|
3507
|
+
onBeforeHide?: (evt: Event) => void;
|
|
3508
3508
|
/**
|
|
3509
3509
|
* Emitted when the Dialog shakes in order to catch user's attention, unless the 'no-shake' property is set
|
|
3510
3510
|
*/
|
|
@@ -3527,17 +3527,17 @@ export interface QDialog extends ComponentPublicInstance<QDialogProps> {
|
|
|
3527
3527
|
* Triggers component to show
|
|
3528
3528
|
* @param evt JS event object
|
|
3529
3529
|
*/
|
|
3530
|
-
show: (evt?:
|
|
3530
|
+
show: (evt?: Event) => void;
|
|
3531
3531
|
/**
|
|
3532
3532
|
* Triggers component to hide
|
|
3533
3533
|
* @param evt JS event object
|
|
3534
3534
|
*/
|
|
3535
|
-
hide: (evt?:
|
|
3535
|
+
hide: (evt?: Event) => void;
|
|
3536
3536
|
/**
|
|
3537
3537
|
* Triggers component to toggle between show/hide
|
|
3538
3538
|
* @param evt JS event object
|
|
3539
3539
|
*/
|
|
3540
|
-
toggle: (evt?:
|
|
3540
|
+
toggle: (evt?: Event) => void;
|
|
3541
3541
|
/**
|
|
3542
3542
|
* Focus dialog; if you have content with autofocus attribute, it will directly focus it
|
|
3543
3543
|
*/
|
|
@@ -3631,22 +3631,22 @@ export interface QDrawerProps {
|
|
|
3631
3631
|
* Emitted after component has triggered show()
|
|
3632
3632
|
* @param evt JS event object
|
|
3633
3633
|
*/
|
|
3634
|
-
onShow?: (evt:
|
|
3634
|
+
onShow?: (evt: Event) => void;
|
|
3635
3635
|
/**
|
|
3636
3636
|
* Emitted when component triggers show() but before it finishes doing it
|
|
3637
3637
|
* @param evt JS event object
|
|
3638
3638
|
*/
|
|
3639
|
-
onBeforeShow?: (evt:
|
|
3639
|
+
onBeforeShow?: (evt: Event) => void;
|
|
3640
3640
|
/**
|
|
3641
3641
|
* Emitted after component has triggered hide()
|
|
3642
3642
|
* @param evt JS event object
|
|
3643
3643
|
*/
|
|
3644
|
-
onHide?: (evt:
|
|
3644
|
+
onHide?: (evt: Event) => void;
|
|
3645
3645
|
/**
|
|
3646
3646
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
3647
3647
|
* @param evt JS event object
|
|
3648
3648
|
*/
|
|
3649
|
-
onBeforeHide?: (evt:
|
|
3649
|
+
onBeforeHide?: (evt: Event) => void;
|
|
3650
3650
|
/**
|
|
3651
3651
|
* Emitted when drawer toggles between occupying space on page or not
|
|
3652
3652
|
* @param state New state
|
|
@@ -3656,17 +3656,17 @@ export interface QDrawerProps {
|
|
|
3656
3656
|
* 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
3657
|
* @param evt JS event object
|
|
3658
3658
|
*/
|
|
3659
|
-
onClick?: (evt:
|
|
3659
|
+
onClick?: (evt: Event) => void;
|
|
3660
3660
|
/**
|
|
3661
3661
|
* 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
3662
|
* @param evt JS event object
|
|
3663
3663
|
*/
|
|
3664
|
-
onMouseover?: (evt:
|
|
3664
|
+
onMouseover?: (evt: Event) => void;
|
|
3665
3665
|
/**
|
|
3666
3666
|
* 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
3667
|
* @param evt JS event object
|
|
3668
3668
|
*/
|
|
3669
|
-
onMouseout?: (evt:
|
|
3669
|
+
onMouseout?: (evt: Event) => void;
|
|
3670
3670
|
/**
|
|
3671
3671
|
* Emitted when drawer changes the mini-mode state (sometimes it is forced to do so)
|
|
3672
3672
|
* @param state New state
|
|
@@ -3690,17 +3690,17 @@ export interface QDrawer extends ComponentPublicInstance<QDrawerProps> {
|
|
|
3690
3690
|
* Triggers component to show
|
|
3691
3691
|
* @param evt JS event object
|
|
3692
3692
|
*/
|
|
3693
|
-
show: (evt?:
|
|
3693
|
+
show: (evt?: Event) => void;
|
|
3694
3694
|
/**
|
|
3695
3695
|
* Triggers component to hide
|
|
3696
3696
|
* @param evt JS event object
|
|
3697
3697
|
*/
|
|
3698
|
-
hide: (evt?:
|
|
3698
|
+
hide: (evt?: Event) => void;
|
|
3699
3699
|
/**
|
|
3700
3700
|
* Triggers component to toggle between show/hide
|
|
3701
3701
|
* @param evt JS event object
|
|
3702
3702
|
*/
|
|
3703
|
-
toggle: (evt?:
|
|
3703
|
+
toggle: (evt?: Event) => void;
|
|
3704
3704
|
}
|
|
3705
3705
|
|
|
3706
3706
|
export interface QEditorProps {
|
|
@@ -4047,22 +4047,22 @@ export interface QExpansionItemProps {
|
|
|
4047
4047
|
* Emitted after component has triggered show()
|
|
4048
4048
|
* @param evt JS event object
|
|
4049
4049
|
*/
|
|
4050
|
-
onShow?: (evt:
|
|
4050
|
+
onShow?: (evt: Event) => void;
|
|
4051
4051
|
/**
|
|
4052
4052
|
* Emitted when component triggers show() but before it finishes doing it
|
|
4053
4053
|
* @param evt JS event object
|
|
4054
4054
|
*/
|
|
4055
|
-
onBeforeShow?: (evt:
|
|
4055
|
+
onBeforeShow?: (evt: Event) => void;
|
|
4056
4056
|
/**
|
|
4057
4057
|
* Emitted after component has triggered hide()
|
|
4058
4058
|
* @param evt JS event object
|
|
4059
4059
|
*/
|
|
4060
|
-
onHide?: (evt:
|
|
4060
|
+
onHide?: (evt: Event) => void;
|
|
4061
4061
|
/**
|
|
4062
4062
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
4063
4063
|
* @param evt JS event object
|
|
4064
4064
|
*/
|
|
4065
|
-
onBeforeHide?: (evt:
|
|
4065
|
+
onBeforeHide?: (evt: Event) => void;
|
|
4066
4066
|
/**
|
|
4067
4067
|
* Emitted when component show animation is finished
|
|
4068
4068
|
*/
|
|
@@ -4090,17 +4090,17 @@ export interface QExpansionItem
|
|
|
4090
4090
|
* Triggers component to show
|
|
4091
4091
|
* @param evt JS event object
|
|
4092
4092
|
*/
|
|
4093
|
-
show: (evt?:
|
|
4093
|
+
show: (evt?: Event) => void;
|
|
4094
4094
|
/**
|
|
4095
4095
|
* Triggers component to hide
|
|
4096
4096
|
* @param evt JS event object
|
|
4097
4097
|
*/
|
|
4098
|
-
hide: (evt?:
|
|
4098
|
+
hide: (evt?: Event) => void;
|
|
4099
4099
|
/**
|
|
4100
4100
|
* Triggers component to toggle between show/hide
|
|
4101
4101
|
* @param evt JS event object
|
|
4102
4102
|
*/
|
|
4103
|
-
toggle: (evt?:
|
|
4103
|
+
toggle: (evt?: Event) => void;
|
|
4104
4104
|
}
|
|
4105
4105
|
|
|
4106
4106
|
export interface QFabProps {
|
|
@@ -4216,22 +4216,22 @@ export interface QFabProps {
|
|
|
4216
4216
|
* Emitted after component has triggered show()
|
|
4217
4217
|
* @param evt JS event object
|
|
4218
4218
|
*/
|
|
4219
|
-
onShow?: (evt:
|
|
4219
|
+
onShow?: (evt: Event) => void;
|
|
4220
4220
|
/**
|
|
4221
4221
|
* Emitted when component triggers show() but before it finishes doing it
|
|
4222
4222
|
* @param evt JS event object
|
|
4223
4223
|
*/
|
|
4224
|
-
onBeforeShow?: (evt:
|
|
4224
|
+
onBeforeShow?: (evt: Event) => void;
|
|
4225
4225
|
/**
|
|
4226
4226
|
* Emitted after component has triggered hide()
|
|
4227
4227
|
* @param evt JS event object
|
|
4228
4228
|
*/
|
|
4229
|
-
onHide?: (evt:
|
|
4229
|
+
onHide?: (evt: Event) => void;
|
|
4230
4230
|
/**
|
|
4231
4231
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
4232
4232
|
* @param evt JS event object
|
|
4233
4233
|
*/
|
|
4234
|
-
onBeforeHide?: (evt:
|
|
4234
|
+
onBeforeHide?: (evt: Event) => void;
|
|
4235
4235
|
}
|
|
4236
4236
|
|
|
4237
4237
|
export interface QFabSlots {
|
|
@@ -4280,17 +4280,17 @@ export interface QFab extends ComponentPublicInstance<QFabProps> {
|
|
|
4280
4280
|
* Expands fab actions list
|
|
4281
4281
|
* @param evt JS event object
|
|
4282
4282
|
*/
|
|
4283
|
-
show: (evt?:
|
|
4283
|
+
show: (evt?: Event) => void;
|
|
4284
4284
|
/**
|
|
4285
4285
|
* Collapses fab actions list
|
|
4286
4286
|
* @param evt JS event object
|
|
4287
4287
|
*/
|
|
4288
|
-
hide: (evt?:
|
|
4288
|
+
hide: (evt?: Event) => void;
|
|
4289
4289
|
/**
|
|
4290
4290
|
* Triggers component to toggle between show/hide
|
|
4291
4291
|
* @param evt JS event object
|
|
4292
4292
|
*/
|
|
4293
|
-
toggle: (evt?:
|
|
4293
|
+
toggle: (evt?: Event) => void;
|
|
4294
4294
|
}
|
|
4295
4295
|
|
|
4296
4296
|
export interface QFabActionProps {
|
|
@@ -4387,7 +4387,7 @@ export interface QFabActionProps {
|
|
|
4387
4387
|
* Emitted when user clicks/taps on the component
|
|
4388
4388
|
* @param evt JS event object
|
|
4389
4389
|
*/
|
|
4390
|
-
onClick?: (evt:
|
|
4390
|
+
onClick?: (evt: Event) => void;
|
|
4391
4391
|
}
|
|
4392
4392
|
|
|
4393
4393
|
export interface QFabActionSlots {
|
|
@@ -4410,7 +4410,7 @@ export interface QFabAction extends ComponentPublicInstance<QFabActionProps> {
|
|
|
4410
4410
|
* Emulate click on QFabAction
|
|
4411
4411
|
* @param evt JS event object
|
|
4412
4412
|
*/
|
|
4413
|
-
click: (evt?:
|
|
4413
|
+
click: (evt?: Event) => void;
|
|
4414
4414
|
}
|
|
4415
4415
|
|
|
4416
4416
|
export interface QFieldProps {
|
|
@@ -4580,12 +4580,12 @@ export interface QFieldProps {
|
|
|
4580
4580
|
* Emitted when component gets focused
|
|
4581
4581
|
* @param evt JS event object
|
|
4582
4582
|
*/
|
|
4583
|
-
onFocus?: (evt:
|
|
4583
|
+
onFocus?: (evt: Event) => void;
|
|
4584
4584
|
/**
|
|
4585
4585
|
* Emitted when component loses focus
|
|
4586
4586
|
* @param evt JS event object
|
|
4587
4587
|
*/
|
|
4588
|
-
onBlur?: (evt:
|
|
4588
|
+
onBlur?: (evt: Event) => void;
|
|
4589
4589
|
}
|
|
4590
4590
|
|
|
4591
4591
|
export interface QFieldSlots {
|
|
@@ -5012,7 +5012,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
|
|
|
5012
5012
|
* Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
|
|
5013
5013
|
* @param evt JS event object
|
|
5014
5014
|
*/
|
|
5015
|
-
pickFiles: (evt?:
|
|
5015
|
+
pickFiles: (evt?: Event) => void;
|
|
5016
5016
|
/**
|
|
5017
5017
|
* Add files programmatically
|
|
5018
5018
|
* @param files Array of files (instances of File)
|
|
@@ -5111,8 +5111,9 @@ export interface QFormProps {
|
|
|
5111
5111
|
greedy?: boolean | undefined;
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Emitted when all validations have passed when tethered to a submit button
|
|
5114
|
+
* @param evt Form submission event object
|
|
5114
5115
|
*/
|
|
5115
|
-
onSubmit?: () => void;
|
|
5116
|
+
onSubmit?: (evt: SubmitEvent) => void;
|
|
5116
5117
|
/**
|
|
5117
5118
|
* 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
5119
|
*/
|
|
@@ -5154,12 +5155,12 @@ export interface QForm extends ComponentPublicInstance<QFormProps> {
|
|
|
5154
5155
|
* Manually trigger form validation and submit
|
|
5155
5156
|
* @param evt JS event object
|
|
5156
5157
|
*/
|
|
5157
|
-
submit: (evt?:
|
|
5158
|
+
submit: (evt?: Event) => void;
|
|
5158
5159
|
/**
|
|
5159
5160
|
* Manually trigger form reset
|
|
5160
5161
|
* @param evt JS event object
|
|
5161
5162
|
*/
|
|
5162
|
-
reset: (evt?:
|
|
5163
|
+
reset: (evt?: Event) => void;
|
|
5163
5164
|
/**
|
|
5164
5165
|
* Get array of children vue components that support validation
|
|
5165
5166
|
* @returns Vue components that support Quasar validation API
|
|
@@ -5746,12 +5747,12 @@ export interface QInputProps {
|
|
|
5746
5747
|
* Emitted when component gets focused
|
|
5747
5748
|
* @param evt JS event object
|
|
5748
5749
|
*/
|
|
5749
|
-
onFocus?: (evt:
|
|
5750
|
+
onFocus?: (evt: Event) => void;
|
|
5750
5751
|
/**
|
|
5751
5752
|
* Emitted when component loses focus
|
|
5752
5753
|
* @param evt JS event object
|
|
5753
5754
|
*/
|
|
5754
|
-
onBlur?: (evt:
|
|
5755
|
+
onBlur?: (evt: Event) => void;
|
|
5755
5756
|
}
|
|
5756
5757
|
|
|
5757
5758
|
export interface QInputSlots {
|
|
@@ -6078,6 +6079,14 @@ export interface QKnobProps {
|
|
|
6078
6079
|
* The maximum value that the model (the knob value) should go to
|
|
6079
6080
|
*/
|
|
6080
6081
|
max?: number | undefined;
|
|
6082
|
+
/**
|
|
6083
|
+
* 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
|
|
6084
|
+
*/
|
|
6085
|
+
innerMin?: number | undefined;
|
|
6086
|
+
/**
|
|
6087
|
+
* 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
|
|
6088
|
+
*/
|
|
6089
|
+
innerMax?: number | undefined;
|
|
6081
6090
|
/**
|
|
6082
6091
|
* A number representing steps in the value of the model, while adjusting the knob
|
|
6083
6092
|
* Default value: 1
|
|
@@ -6471,22 +6480,22 @@ export interface QMenuProps {
|
|
|
6471
6480
|
* Emitted after component has triggered show()
|
|
6472
6481
|
* @param evt JS event object
|
|
6473
6482
|
*/
|
|
6474
|
-
onShow?: (evt:
|
|
6483
|
+
onShow?: (evt: Event) => void;
|
|
6475
6484
|
/**
|
|
6476
6485
|
* Emitted when component triggers show() but before it finishes doing it
|
|
6477
6486
|
* @param evt JS event object
|
|
6478
6487
|
*/
|
|
6479
|
-
onBeforeShow?: (evt:
|
|
6488
|
+
onBeforeShow?: (evt: Event) => void;
|
|
6480
6489
|
/**
|
|
6481
6490
|
* Emitted after component has triggered hide()
|
|
6482
6491
|
* @param evt JS event object
|
|
6483
6492
|
*/
|
|
6484
|
-
onHide?: (evt:
|
|
6493
|
+
onHide?: (evt: Event) => void;
|
|
6485
6494
|
/**
|
|
6486
6495
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
6487
6496
|
* @param evt JS event object
|
|
6488
6497
|
*/
|
|
6489
|
-
onBeforeHide?: (evt:
|
|
6498
|
+
onBeforeHide?: (evt: Event) => void;
|
|
6490
6499
|
/**
|
|
6491
6500
|
* Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent'
|
|
6492
6501
|
*/
|
|
@@ -6505,17 +6514,17 @@ export interface QMenu extends ComponentPublicInstance<QMenuProps> {
|
|
|
6505
6514
|
* Triggers component to show
|
|
6506
6515
|
* @param evt JS event object
|
|
6507
6516
|
*/
|
|
6508
|
-
show: (evt?:
|
|
6517
|
+
show: (evt?: Event) => void;
|
|
6509
6518
|
/**
|
|
6510
6519
|
* Triggers component to hide
|
|
6511
6520
|
* @param evt JS event object
|
|
6512
6521
|
*/
|
|
6513
|
-
hide: (evt?:
|
|
6522
|
+
hide: (evt?: Event) => void;
|
|
6514
6523
|
/**
|
|
6515
6524
|
* Triggers component to toggle between show/hide
|
|
6516
6525
|
* @param evt JS event object
|
|
6517
6526
|
*/
|
|
6518
|
-
toggle: (evt?:
|
|
6527
|
+
toggle: (evt?: Event) => void;
|
|
6519
6528
|
/**
|
|
6520
6529
|
* 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
6530
|
*/
|
|
@@ -7207,12 +7216,12 @@ export interface QPopupEdit extends ComponentPublicInstance<QPopupEditProps> {
|
|
|
7207
7216
|
* Triggers component to show
|
|
7208
7217
|
* @param evt JS event object
|
|
7209
7218
|
*/
|
|
7210
|
-
show: (evt?:
|
|
7219
|
+
show: (evt?: Event) => void;
|
|
7211
7220
|
/**
|
|
7212
7221
|
* Triggers component to hide
|
|
7213
7222
|
* @param evt JS event object
|
|
7214
7223
|
*/
|
|
7215
|
-
hide: (evt?:
|
|
7224
|
+
hide: (evt?: Event) => void;
|
|
7216
7225
|
/**
|
|
7217
7226
|
* 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
7227
|
*/
|
|
@@ -7251,22 +7260,22 @@ export interface QPopupProxyProps {
|
|
|
7251
7260
|
* Emitted when component triggers show() but before it finishes doing it
|
|
7252
7261
|
* @param evt JS event object
|
|
7253
7262
|
*/
|
|
7254
|
-
onBeforeShow?: (evt:
|
|
7263
|
+
onBeforeShow?: (evt: Event) => void;
|
|
7255
7264
|
/**
|
|
7256
7265
|
* Emitted after component has triggered show()
|
|
7257
7266
|
* @param evt JS event object
|
|
7258
7267
|
*/
|
|
7259
|
-
onShow?: (evt:
|
|
7268
|
+
onShow?: (evt: Event) => void;
|
|
7260
7269
|
/**
|
|
7261
7270
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
7262
7271
|
* @param evt JS event object
|
|
7263
7272
|
*/
|
|
7264
|
-
onBeforeHide?: (evt:
|
|
7273
|
+
onBeforeHide?: (evt: Event) => void;
|
|
7265
7274
|
/**
|
|
7266
7275
|
* Emitted after component has triggered hide()
|
|
7267
7276
|
* @param evt JS event object
|
|
7268
7277
|
*/
|
|
7269
|
-
onHide?: (evt:
|
|
7278
|
+
onHide?: (evt: Event) => void;
|
|
7270
7279
|
}
|
|
7271
7280
|
|
|
7272
7281
|
export interface QPopupProxySlots {
|
|
@@ -7281,17 +7290,17 @@ export interface QPopupProxy extends ComponentPublicInstance<QPopupProxyProps> {
|
|
|
7281
7290
|
* Triggers component to show
|
|
7282
7291
|
* @param evt JS event object
|
|
7283
7292
|
*/
|
|
7284
|
-
show: (evt?:
|
|
7293
|
+
show: (evt?: Event) => void;
|
|
7285
7294
|
/**
|
|
7286
7295
|
* Triggers component to hide
|
|
7287
7296
|
* @param evt JS event object
|
|
7288
7297
|
*/
|
|
7289
|
-
hide: (evt?:
|
|
7298
|
+
hide: (evt?: Event) => void;
|
|
7290
7299
|
/**
|
|
7291
7300
|
* Triggers component to toggle between show/hide
|
|
7292
7301
|
* @param evt JS event object
|
|
7293
7302
|
*/
|
|
7294
|
-
toggle: (evt?:
|
|
7303
|
+
toggle: (evt?: Event) => void;
|
|
7295
7304
|
}
|
|
7296
7305
|
|
|
7297
7306
|
export interface QPullToRefreshProps {
|
|
@@ -7407,7 +7416,7 @@ export interface QRadioProps {
|
|
|
7407
7416
|
* @param value New model value
|
|
7408
7417
|
* @param evt JS event object
|
|
7409
7418
|
*/
|
|
7410
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
7419
|
+
"onUpdate:modelValue"?: (value: any, evt: Event) => void;
|
|
7411
7420
|
}
|
|
7412
7421
|
|
|
7413
7422
|
export interface QRadioSlots {
|
|
@@ -8582,12 +8591,12 @@ export interface QSelectProps {
|
|
|
8582
8591
|
* Emitted when the select options menu or dialog is shown.
|
|
8583
8592
|
* @param evt JS event object
|
|
8584
8593
|
*/
|
|
8585
|
-
onPopupShow?: (evt:
|
|
8594
|
+
onPopupShow?: (evt: Event) => void;
|
|
8586
8595
|
/**
|
|
8587
8596
|
* Emitted when the select options menu or dialog is hidden.
|
|
8588
8597
|
* @param evt JS event object
|
|
8589
8598
|
*/
|
|
8590
|
-
onPopupHide?: (evt:
|
|
8599
|
+
onPopupHide?: (evt: Event) => void;
|
|
8591
8600
|
}
|
|
8592
8601
|
|
|
8593
8602
|
export interface QSelectSlots {
|
|
@@ -8792,8 +8801,13 @@ export interface QSelect extends ComponentPublicInstance<QSelectProps> {
|
|
|
8792
8801
|
*/
|
|
8793
8802
|
toggleOption: (opt: any, keepOpen?: boolean) => void;
|
|
8794
8803
|
/**
|
|
8795
|
-
*
|
|
8796
|
-
* @param index Index of option from menu
|
|
8804
|
+
* Gets current focused option index from menu; It's -1 if no option is focused
|
|
8805
|
+
* @param index Index of option from menu; -1 if no option is focused
|
|
8806
|
+
*/
|
|
8807
|
+
getOptionIndex: (index: number) => void;
|
|
8808
|
+
/**
|
|
8809
|
+
* Sets option from menu as 'focused'; -1 to focus none
|
|
8810
|
+
* @param index Index of option from menu; -1 to focus none
|
|
8797
8811
|
*/
|
|
8798
8812
|
setOptionIndex: (index: number) => void;
|
|
8799
8813
|
/**
|
|
@@ -10560,21 +10574,21 @@ export interface QTableProps {
|
|
|
10560
10574
|
* @param row The row upon which user has clicked/tapped
|
|
10561
10575
|
* @param index Index of the row in the current page
|
|
10562
10576
|
*/
|
|
10563
|
-
onRowClick?: (evt:
|
|
10577
|
+
onRowClick?: (evt: Event, row: any, index: number) => void;
|
|
10564
10578
|
/**
|
|
10565
10579
|
* 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
10580
|
* @param evt JS event object
|
|
10567
10581
|
* @param row The row upon which user has double clicked/tapped
|
|
10568
10582
|
* @param index Index of the row in the current page
|
|
10569
10583
|
*/
|
|
10570
|
-
onRowDblclick?: (evt:
|
|
10584
|
+
onRowDblclick?: (evt: Event, row: any, index: number) => void;
|
|
10571
10585
|
/**
|
|
10572
10586
|
* Emitted when user right clicks/long taps on a row; Is not emitted when using body/row/item scoped slots
|
|
10573
10587
|
* @param evt JS event object
|
|
10574
10588
|
* @param row The row upon which user has right clicked/long tapped
|
|
10575
10589
|
* @param index Index of the row in the current page
|
|
10576
10590
|
*/
|
|
10577
|
-
onRowContextmenu?: (evt:
|
|
10591
|
+
onRowContextmenu?: (evt: Event, row: any, index: number) => void;
|
|
10578
10592
|
/**
|
|
10579
10593
|
* Emitted when a server request is triggered
|
|
10580
10594
|
* @param requestProp Props of the request
|
|
@@ -10643,7 +10657,7 @@ export interface QTableProps {
|
|
|
10643
10657
|
/**
|
|
10644
10658
|
* JS event object
|
|
10645
10659
|
*/
|
|
10646
|
-
evt:
|
|
10660
|
+
evt: Event;
|
|
10647
10661
|
}) => void;
|
|
10648
10662
|
/**
|
|
10649
10663
|
* Used by Vue on 'v-model:pagination' for updating its value
|
|
@@ -11874,7 +11888,7 @@ export interface QRouteTabProps {
|
|
|
11874
11888
|
* @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
|
|
11875
11889
|
* @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
11890
|
*/
|
|
11877
|
-
onClick?: (evt:
|
|
11891
|
+
onClick?: (evt: Event, navigateFn: () => void) => void;
|
|
11878
11892
|
}
|
|
11879
11893
|
|
|
11880
11894
|
export interface QRouteTabSlots {
|
|
@@ -12399,7 +12413,7 @@ export interface QToggleProps {
|
|
|
12399
12413
|
* @param value New model value
|
|
12400
12414
|
* @param evt JS event object
|
|
12401
12415
|
*/
|
|
12402
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
12416
|
+
"onUpdate:modelValue"?: (value: any, evt: Event) => void;
|
|
12403
12417
|
}
|
|
12404
12418
|
|
|
12405
12419
|
export interface QToggleSlots {
|
|
@@ -12554,22 +12568,22 @@ export interface QTooltipProps {
|
|
|
12554
12568
|
* Emitted after component has triggered show()
|
|
12555
12569
|
* @param evt JS event object
|
|
12556
12570
|
*/
|
|
12557
|
-
onShow?: (evt:
|
|
12571
|
+
onShow?: (evt: Event) => void;
|
|
12558
12572
|
/**
|
|
12559
12573
|
* Emitted when component triggers show() but before it finishes doing it
|
|
12560
12574
|
* @param evt JS event object
|
|
12561
12575
|
*/
|
|
12562
|
-
onBeforeShow?: (evt:
|
|
12576
|
+
onBeforeShow?: (evt: Event) => void;
|
|
12563
12577
|
/**
|
|
12564
12578
|
* Emitted after component has triggered hide()
|
|
12565
12579
|
* @param evt JS event object
|
|
12566
12580
|
*/
|
|
12567
|
-
onHide?: (evt:
|
|
12581
|
+
onHide?: (evt: Event) => void;
|
|
12568
12582
|
/**
|
|
12569
12583
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
12570
12584
|
* @param evt JS event object
|
|
12571
12585
|
*/
|
|
12572
|
-
onBeforeHide?: (evt:
|
|
12586
|
+
onBeforeHide?: (evt: Event) => void;
|
|
12573
12587
|
}
|
|
12574
12588
|
|
|
12575
12589
|
export interface QTooltipSlots {
|
|
@@ -12584,17 +12598,17 @@ export interface QTooltip extends ComponentPublicInstance<QTooltipProps> {
|
|
|
12584
12598
|
* Triggers component to show
|
|
12585
12599
|
* @param evt JS event object
|
|
12586
12600
|
*/
|
|
12587
|
-
show: (evt?:
|
|
12601
|
+
show: (evt?: Event) => void;
|
|
12588
12602
|
/**
|
|
12589
12603
|
* Triggers component to hide
|
|
12590
12604
|
* @param evt JS event object
|
|
12591
12605
|
*/
|
|
12592
|
-
hide: (evt?:
|
|
12606
|
+
hide: (evt?: Event) => void;
|
|
12593
12607
|
/**
|
|
12594
12608
|
* Triggers component to toggle between show/hide
|
|
12595
12609
|
* @param evt JS event object
|
|
12596
12610
|
*/
|
|
12597
|
-
toggle: (evt?:
|
|
12611
|
+
toggle: (evt?: Event) => void;
|
|
12598
12612
|
/**
|
|
12599
12613
|
* 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
12614
|
*/
|
|
@@ -13194,7 +13208,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
|
13194
13208
|
* Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
|
|
13195
13209
|
* @param evt JS event object
|
|
13196
13210
|
*/
|
|
13197
|
-
pickFiles: (evt?:
|
|
13211
|
+
pickFiles: (evt?: Event) => void;
|
|
13198
13212
|
/**
|
|
13199
13213
|
* Add files programmatically
|
|
13200
13214
|
* @param files Array of files (instances of File)
|
|
@@ -2771,6 +2771,14 @@
|
|
|
2771
2771
|
"type": "number",
|
|
2772
2772
|
"description": "The maximum value that the model (the knob value) should go to"
|
|
2773
2773
|
},
|
|
2774
|
+
"q-knob/inner-min": {
|
|
2775
|
+
"type": "number",
|
|
2776
|
+
"description": "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"
|
|
2777
|
+
},
|
|
2778
|
+
"q-knob/inner-max": {
|
|
2779
|
+
"type": "number",
|
|
2780
|
+
"description": "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"
|
|
2781
|
+
},
|
|
2774
2782
|
"q-knob/step": {
|
|
2775
2783
|
"type": "number",
|
|
2776
2784
|
"description": "A number representing steps in the value of the model, while adjusting the knob"
|