quasar 2.4.9 → 2.4.13
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/BottomSheet.json +4 -0
- package/dist/api/Dialog.json +5 -1
- package/dist/api/LoadingBar.json +7 -0
- package/dist/api/Notify.json +20 -10
- package/dist/api/Platform.json +171 -0
- package/dist/api/QAjaxBar.json +13 -1
- package/dist/api/QBtnDropdown.json +4 -2
- package/dist/api/QEditor.json +4 -2
- package/dist/api/QExpansionItem.json +6 -3
- package/dist/api/QFab.json +4 -2
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QFile.json +5 -2
- package/dist/api/QImg.json +1 -2
- package/dist/api/QInnerLoading.json +2 -1
- package/dist/api/QInput.json +4 -2
- package/dist/api/QPagination.json +4 -2
- package/dist/api/QRange.json +9 -0
- package/dist/api/QScrollArea.json +13 -5
- package/dist/api/QSelect.json +6 -3
- package/dist/api/QSlider.json +9 -0
- package/dist/api/QSplitter.json +8 -4
- package/dist/api/QTable.json +9 -0
- package/dist/api/QTree.json +7 -0
- package/dist/api/QUploader.json +3 -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.css +8 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +8 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +7 -1
- package/dist/quasar.umd.js +193 -92
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/qfile.d.ts +8 -0
- package/dist/types/api/qselect.d.ts +4 -0
- package/dist/types/api/qtable.d.ts +12 -0
- package/dist/types/api/qtree.d.ts +31 -0
- package/dist/types/api/quploader.d.ts +28 -0
- package/dist/types/api/slider.d.ts +6 -7
- package/dist/types/api/touchswipe.d.ts +11 -0
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/vue-prop-types.ts +15 -0
- package/dist/types/api.d.ts +7 -0
- package/dist/types/index.d.ts +426 -415
- package/dist/types/ts-helpers.d.ts +6 -2
- package/dist/types/utils/dom.d.ts +4 -2
- package/dist/types/utils.d.ts +7 -2
- package/dist/vetur/quasar-attributes.json +34 -30
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +41 -31
- package/package.json +1 -1
- package/src/components/ajax-bar/QAjaxBar.js +22 -12
- package/src/components/ajax-bar/QAjaxBar.json +16 -1
- package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
- package/src/components/date/QDate.js +6 -1
- package/src/components/dialog/QDialog.js +1 -1
- package/src/components/dialog-plugin/DialogPlugin.js +1 -1
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.json +3 -1
- package/src/components/expansion-item/QExpansionItem.json +6 -3
- package/src/components/fab/use-fab.json +4 -2
- package/src/components/file/QFile.json +4 -2
- package/src/components/form/QForm.js +12 -2
- package/src/components/img/QImg.json +2 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
- package/src/components/inner-loading/QInnerLoading.json +2 -1
- package/src/components/input/QInput.js +1 -1
- package/src/components/input/QInput.json +4 -2
- package/src/components/menu/QMenu.js +2 -1
- package/src/components/pagination/QPagination.json +4 -2
- package/src/components/scroll-area/QScrollArea.js +21 -1
- package/src/components/scroll-area/QScrollArea.json +13 -5
- package/src/components/select/QSelect.js +32 -27
- package/src/components/select/QSelect.json +6 -3
- package/src/components/select/QSelect.sass +4 -0
- package/src/components/slider/use-slider.json +9 -0
- package/src/components/splitter/QSplitter.json +8 -4
- package/src/components/stepper/QStep.js +19 -14
- package/src/components/stepper/QStepper.sass +3 -0
- package/src/components/table/QTable.json +9 -0
- package/src/components/tabs/QTabs.js +10 -2
- package/src/components/tree/QTree.js +8 -1
- package/src/components/tree/QTree.json +8 -0
- package/src/components/uploader/uploader-core.js +2 -0
- package/src/components/uploader/xhr-uploader-plugin.json +2 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +20 -9
- package/src/composables/private/use-field.js +16 -9
- package/src/composables/private/use-file.json +1 -0
- package/src/plugins/BottomSheet.json +1 -0
- package/src/plugins/Dialog.json +1 -0
- package/src/plugins/LoadingBar.js +3 -3
- package/src/plugins/LoadingBar.json +8 -0
- package/src/plugins/Notify.json +20 -10
- package/src/plugins/Platform.js +15 -8
- package/src/plugins/Platform.json +166 -0
- package/src/utils/private/global-dialog.json +3 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
/// <reference types="@quasar/app" />
|
|
3
3
|
import { App, Component, ComponentPublicInstance, VNode } from "vue";
|
|
4
|
-
import {
|
|
5
|
-
LooseDictionary,
|
|
6
|
-
ComponentConstructor,
|
|
7
|
-
GlobalComponentConstructor,
|
|
8
|
-
} from "./ts-helpers";
|
|
4
|
+
import { ComponentConstructor, GlobalComponentConstructor } from "./ts-helpers";
|
|
9
5
|
|
|
10
6
|
export interface AddressbarColor {
|
|
11
7
|
/**
|
|
@@ -64,11 +60,11 @@ export interface BottomSheet {
|
|
|
64
60
|
/**
|
|
65
61
|
* CSS Class name to apply to the Dialog's QCard
|
|
66
62
|
*/
|
|
67
|
-
class?:
|
|
63
|
+
class?: VueClassProp;
|
|
68
64
|
/**
|
|
69
65
|
* CSS style to apply to the Dialog's QCard
|
|
70
66
|
*/
|
|
71
|
-
style?:
|
|
67
|
+
style?: VueStyleProp;
|
|
72
68
|
/**
|
|
73
69
|
* Title
|
|
74
70
|
*/
|
|
@@ -84,7 +80,7 @@ export interface BottomSheet {
|
|
|
84
80
|
/**
|
|
85
81
|
* CSS classes for this action
|
|
86
82
|
*/
|
|
87
|
-
classes?:
|
|
83
|
+
classes?: VueClassProp;
|
|
88
84
|
/**
|
|
89
85
|
* Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
90
86
|
*/
|
|
@@ -136,7 +132,7 @@ export interface Cookies {
|
|
|
136
132
|
* Get all cookies
|
|
137
133
|
* @returns Object with cookie names (as keys) and their values
|
|
138
134
|
*/
|
|
139
|
-
getAll: () =>
|
|
135
|
+
getAll: () => any;
|
|
140
136
|
/**
|
|
141
137
|
* Set cookie
|
|
142
138
|
* @param name Cookie name
|
|
@@ -206,7 +202,7 @@ export interface Cookies {
|
|
|
206
202
|
* @param ssrContext SSR Context Object
|
|
207
203
|
* @returns Cookie object (like $q.cookies) for SSR usage purposes
|
|
208
204
|
*/
|
|
209
|
-
parseSSR: (ssrContext:
|
|
205
|
+
parseSSR: (ssrContext: any) => Cookies;
|
|
210
206
|
}
|
|
211
207
|
|
|
212
208
|
export interface Dark {
|
|
@@ -338,6 +334,10 @@ export interface Loading {
|
|
|
338
334
|
}
|
|
339
335
|
|
|
340
336
|
export interface LoadingBar {
|
|
337
|
+
/**
|
|
338
|
+
* Is LoadingBar active?
|
|
339
|
+
*/
|
|
340
|
+
isActive: boolean;
|
|
341
341
|
/**
|
|
342
342
|
* Notify bar you've started a background activity
|
|
343
343
|
* @param speed Delay (in milliseconds) between bar progress increments
|
|
@@ -356,7 +356,7 @@ export interface LoadingBar {
|
|
|
356
356
|
* Set the inner QAjaxBar's props
|
|
357
357
|
* @param props QAjaxBar component props
|
|
358
358
|
*/
|
|
359
|
-
setDefaults: (props:
|
|
359
|
+
setDefaults: (props: any) => void;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
export interface LocalStorage {
|
|
@@ -393,7 +393,7 @@ export interface LocalStorage {
|
|
|
393
393
|
* Retrieve all items in storage
|
|
394
394
|
* @returns Object syntax: item name as Object key and its value
|
|
395
395
|
*/
|
|
396
|
-
getAll: () =>
|
|
396
|
+
getAll: () => any;
|
|
397
397
|
/**
|
|
398
398
|
* Retrieve all keys in storage
|
|
399
399
|
* @returns Storage keys (Array of Strings)
|
|
@@ -412,7 +412,7 @@ export interface LocalStorage {
|
|
|
412
412
|
| number
|
|
413
413
|
| boolean
|
|
414
414
|
| ((...params: any[]) => any)
|
|
415
|
-
|
|
|
415
|
+
| any
|
|
416
416
|
| any[]
|
|
417
417
|
| string
|
|
418
418
|
| null
|
|
@@ -519,11 +519,11 @@ export interface Notify {
|
|
|
519
519
|
/**
|
|
520
520
|
* Style definitions to be attributed to the badge
|
|
521
521
|
*/
|
|
522
|
-
badgeStyle?:
|
|
522
|
+
badgeStyle?: VueStyleProp;
|
|
523
523
|
/**
|
|
524
524
|
* Class definitions to be attributed to the badge
|
|
525
525
|
*/
|
|
526
|
-
badgeClass?:
|
|
526
|
+
badgeClass?: VueClassProp;
|
|
527
527
|
/**
|
|
528
528
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
529
529
|
*/
|
|
@@ -531,7 +531,7 @@ export interface Notify {
|
|
|
531
531
|
/**
|
|
532
532
|
* Class definitions to be attributed to the progress bar
|
|
533
533
|
*/
|
|
534
|
-
progressClass?:
|
|
534
|
+
progressClass?: VueClassProp;
|
|
535
535
|
/**
|
|
536
536
|
* Add CSS class(es) to the notification for easier customization
|
|
537
537
|
*/
|
|
@@ -539,7 +539,7 @@ export interface Notify {
|
|
|
539
539
|
/**
|
|
540
540
|
* Key-value for attributes to be set on the notification
|
|
541
541
|
*/
|
|
542
|
-
attrs?:
|
|
542
|
+
attrs?: any;
|
|
543
543
|
/**
|
|
544
544
|
* Amount of time to display (in milliseconds)
|
|
545
545
|
* Default value: 5000
|
|
@@ -611,7 +611,7 @@ export interface Notify {
|
|
|
611
611
|
/**
|
|
612
612
|
* Class definitions to be attributed to the progress bar
|
|
613
613
|
*/
|
|
614
|
-
progressClass?:
|
|
614
|
+
progressClass?: VueClassProp;
|
|
615
615
|
/**
|
|
616
616
|
* Add CSS class(es) to the notification for easier customization
|
|
617
617
|
*/
|
|
@@ -619,7 +619,7 @@ export interface Notify {
|
|
|
619
619
|
/**
|
|
620
620
|
* Key-value for attributes to be set on the notification
|
|
621
621
|
*/
|
|
622
|
-
attrs?:
|
|
622
|
+
attrs?: any;
|
|
623
623
|
/**
|
|
624
624
|
* Amount of time to display (in milliseconds)
|
|
625
625
|
* Default value: 5000
|
|
@@ -717,11 +717,11 @@ export interface Notify {
|
|
|
717
717
|
/**
|
|
718
718
|
* Style definitions to be attributed to the badge
|
|
719
719
|
*/
|
|
720
|
-
badgeStyle?:
|
|
720
|
+
badgeStyle?: VueStyleProp;
|
|
721
721
|
/**
|
|
722
722
|
* Class definitions to be attributed to the badge
|
|
723
723
|
*/
|
|
724
|
-
badgeClass?:
|
|
724
|
+
badgeClass?: VueClassProp;
|
|
725
725
|
/**
|
|
726
726
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
727
727
|
*/
|
|
@@ -729,7 +729,7 @@ export interface Notify {
|
|
|
729
729
|
/**
|
|
730
730
|
* Class definitions to be attributed to the progress bar
|
|
731
731
|
*/
|
|
732
|
-
progressClass?:
|
|
732
|
+
progressClass?: VueClassProp;
|
|
733
733
|
/**
|
|
734
734
|
* Add CSS class(es) to the notification for easier customization
|
|
735
735
|
*/
|
|
@@ -737,7 +737,7 @@ export interface Notify {
|
|
|
737
737
|
/**
|
|
738
738
|
* Key-value for attributes to be set on the notification
|
|
739
739
|
*/
|
|
740
|
-
attrs?:
|
|
740
|
+
attrs?: any;
|
|
741
741
|
/**
|
|
742
742
|
* Amount of time to display (in milliseconds)
|
|
743
743
|
* Default value: 5000
|
|
@@ -834,11 +834,11 @@ export interface Notify {
|
|
|
834
834
|
/**
|
|
835
835
|
* Style definitions to be attributed to the badge
|
|
836
836
|
*/
|
|
837
|
-
badgeStyle?:
|
|
837
|
+
badgeStyle?: VueStyleProp;
|
|
838
838
|
/**
|
|
839
839
|
* Class definitions to be attributed to the badge
|
|
840
840
|
*/
|
|
841
|
-
badgeClass?:
|
|
841
|
+
badgeClass?: VueClassProp;
|
|
842
842
|
/**
|
|
843
843
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
844
844
|
*/
|
|
@@ -846,7 +846,7 @@ export interface Notify {
|
|
|
846
846
|
/**
|
|
847
847
|
* Class definitions to be attributed to the progress bar
|
|
848
848
|
*/
|
|
849
|
-
progressClass?:
|
|
849
|
+
progressClass?: VueClassProp;
|
|
850
850
|
/**
|
|
851
851
|
* Add CSS class(es) to the notification for easier customization
|
|
852
852
|
*/
|
|
@@ -854,7 +854,7 @@ export interface Notify {
|
|
|
854
854
|
/**
|
|
855
855
|
* Key-value for attributes to be set on the notification
|
|
856
856
|
*/
|
|
857
|
-
attrs?:
|
|
857
|
+
attrs?: any;
|
|
858
858
|
/**
|
|
859
859
|
* Amount of time to display (in milliseconds)
|
|
860
860
|
* Default value: 5000
|
|
@@ -888,7 +888,132 @@ export interface Platform {
|
|
|
888
888
|
/**
|
|
889
889
|
* Client browser details (property names depend on browser)
|
|
890
890
|
*/
|
|
891
|
-
is:
|
|
891
|
+
is: {
|
|
892
|
+
/**
|
|
893
|
+
* Browser name
|
|
894
|
+
*/
|
|
895
|
+
name: string;
|
|
896
|
+
/**
|
|
897
|
+
* Platform name
|
|
898
|
+
*/
|
|
899
|
+
platform: string;
|
|
900
|
+
/**
|
|
901
|
+
* Detailed browser version
|
|
902
|
+
*/
|
|
903
|
+
version?: string;
|
|
904
|
+
/**
|
|
905
|
+
* Major browser version as a number
|
|
906
|
+
*/
|
|
907
|
+
versionNumber?: number;
|
|
908
|
+
/**
|
|
909
|
+
* Whether the platform is desktop
|
|
910
|
+
*/
|
|
911
|
+
desktop?: boolean;
|
|
912
|
+
/**
|
|
913
|
+
* Whether the platform is mobile
|
|
914
|
+
*/
|
|
915
|
+
mobile?: boolean;
|
|
916
|
+
/**
|
|
917
|
+
* Whether the platform is Electron
|
|
918
|
+
*/
|
|
919
|
+
electron?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* Whether the platform is BEX(Browser Extension)
|
|
922
|
+
*/
|
|
923
|
+
bex?: boolean;
|
|
924
|
+
/**
|
|
925
|
+
* Whether the platform is Capacitor
|
|
926
|
+
*/
|
|
927
|
+
capacitor?: boolean;
|
|
928
|
+
/**
|
|
929
|
+
* Whether the platform is Cordova
|
|
930
|
+
*/
|
|
931
|
+
cordova?: boolean;
|
|
932
|
+
/**
|
|
933
|
+
* Whether the platform is a native mobile wrapper
|
|
934
|
+
*/
|
|
935
|
+
nativeMobile?: boolean;
|
|
936
|
+
/**
|
|
937
|
+
* Type of the native mobile wrapper
|
|
938
|
+
*/
|
|
939
|
+
nativeMobileWrapper?: "cordova" | "capacitor";
|
|
940
|
+
/**
|
|
941
|
+
* Whether the browser is Google Chrome
|
|
942
|
+
*/
|
|
943
|
+
chrome?: boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Whether the browser is Firefox
|
|
946
|
+
*/
|
|
947
|
+
firefox?: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* Whether the browser is Safari
|
|
950
|
+
*/
|
|
951
|
+
safari?: boolean;
|
|
952
|
+
/**
|
|
953
|
+
* Whether the browser is Microsoft Edge (Chromium)
|
|
954
|
+
*/
|
|
955
|
+
edgeChromium?: boolean;
|
|
956
|
+
/**
|
|
957
|
+
* Whether the browser is Microsoft Edge Legacy
|
|
958
|
+
*/
|
|
959
|
+
edge?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* Whether the browser is Opera
|
|
962
|
+
*/
|
|
963
|
+
opera?: boolean;
|
|
964
|
+
/**
|
|
965
|
+
* Whether the browser is Vivaldi
|
|
966
|
+
*/
|
|
967
|
+
vivaldi?: boolean;
|
|
968
|
+
/**
|
|
969
|
+
* Whether the operating system is Windows
|
|
970
|
+
*/
|
|
971
|
+
win?: boolean;
|
|
972
|
+
/**
|
|
973
|
+
* Whether the operating system is Linux
|
|
974
|
+
*/
|
|
975
|
+
linux?: boolean;
|
|
976
|
+
/**
|
|
977
|
+
* Whether the operating system is Mac OS
|
|
978
|
+
*/
|
|
979
|
+
mac?: boolean;
|
|
980
|
+
/**
|
|
981
|
+
* Whether the operating system is Chrome OS
|
|
982
|
+
*/
|
|
983
|
+
cros?: boolean;
|
|
984
|
+
/**
|
|
985
|
+
* Whether the operating system is Android
|
|
986
|
+
*/
|
|
987
|
+
android?: boolean;
|
|
988
|
+
/**
|
|
989
|
+
* Whether the operating system is iOS
|
|
990
|
+
*/
|
|
991
|
+
ios?: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* Whether the operating system is Windows Phone
|
|
994
|
+
*/
|
|
995
|
+
winphone?: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* Whether the device is an iPhone
|
|
998
|
+
*/
|
|
999
|
+
iphone?: boolean;
|
|
1000
|
+
/**
|
|
1001
|
+
* Whether the device is an iPad
|
|
1002
|
+
*/
|
|
1003
|
+
ipad?: boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
* Whether the device is an iPod
|
|
1006
|
+
*/
|
|
1007
|
+
ipod?: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* Whether the device is a Kindle
|
|
1010
|
+
*/
|
|
1011
|
+
kindle?: boolean;
|
|
1012
|
+
/**
|
|
1013
|
+
* Whether the browser is Amazon Silk
|
|
1014
|
+
*/
|
|
1015
|
+
silk?: boolean;
|
|
1016
|
+
};
|
|
892
1017
|
/**
|
|
893
1018
|
* Client browser detectable properties
|
|
894
1019
|
*/
|
|
@@ -916,7 +1041,7 @@ export interface Platform {
|
|
|
916
1041
|
* @param ssrContext SSR Context Object
|
|
917
1042
|
* @returns Platform object (like $q.platform) for SSR usage purposes
|
|
918
1043
|
*/
|
|
919
|
-
parseSSR: (ssrContext:
|
|
1044
|
+
parseSSR: (ssrContext: any) => Platform;
|
|
920
1045
|
}
|
|
921
1046
|
|
|
922
1047
|
export interface Screen {
|
|
@@ -1078,7 +1203,7 @@ export interface SessionStorage {
|
|
|
1078
1203
|
* Retrieve all items in storage
|
|
1079
1204
|
* @returns Object syntax: item name as Object key and its value
|
|
1080
1205
|
*/
|
|
1081
|
-
getAll: () =>
|
|
1206
|
+
getAll: () => any;
|
|
1082
1207
|
/**
|
|
1083
1208
|
* Retrieve all keys in storage
|
|
1084
1209
|
* @returns Storage keys (Array of Strings)
|
|
@@ -1097,7 +1222,7 @@ export interface SessionStorage {
|
|
|
1097
1222
|
| number
|
|
1098
1223
|
| boolean
|
|
1099
1224
|
| ((...params: any[]) => any)
|
|
1100
|
-
|
|
|
1225
|
+
| any
|
|
1101
1226
|
| any[]
|
|
1102
1227
|
| string
|
|
1103
1228
|
| null
|
|
@@ -1185,17 +1310,20 @@ export interface QAjaxBar extends ComponentPublicInstance<QAjaxBarProps> {
|
|
|
1185
1310
|
/**
|
|
1186
1311
|
* Notify bar you are waiting for a new process to finish
|
|
1187
1312
|
* @param speed Delay (in milliseconds) between progress auto-increments; If delay is 0 then it disables auto-incrementing
|
|
1313
|
+
* @returns Number of active simultaneous sessions
|
|
1188
1314
|
*/
|
|
1189
|
-
start: (speed?: number) =>
|
|
1315
|
+
start: (speed?: number) => number;
|
|
1190
1316
|
/**
|
|
1191
1317
|
* Manually trigger a bar progress increment
|
|
1192
1318
|
* @param amount Amount (0 < x <= 100) to increment with
|
|
1319
|
+
* @returns Number of active simultaneous sessions
|
|
1193
1320
|
*/
|
|
1194
|
-
increment: (amount?: number) =>
|
|
1321
|
+
increment: (amount?: number) => number;
|
|
1195
1322
|
/**
|
|
1196
1323
|
* Notify bar that one process you were waiting has finished
|
|
1324
|
+
* @returns Number of active simultaneous sessions
|
|
1197
1325
|
*/
|
|
1198
|
-
stop: () =>
|
|
1326
|
+
stop: () => number;
|
|
1199
1327
|
}
|
|
1200
1328
|
|
|
1201
1329
|
export interface QAvatarProps {
|
|
@@ -1394,7 +1522,7 @@ export interface QBreadcrumbsElProps {
|
|
|
1394
1522
|
/**
|
|
1395
1523
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1396
1524
|
*/
|
|
1397
|
-
to?: string |
|
|
1525
|
+
to?: string | any | undefined;
|
|
1398
1526
|
/**
|
|
1399
1527
|
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
1400
1528
|
*/
|
|
@@ -1440,7 +1568,7 @@ export interface QBreadcrumbsElProps {
|
|
|
1440
1568
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
1441
1569
|
* Default value: true
|
|
1442
1570
|
*/
|
|
1443
|
-
ripple?: boolean |
|
|
1571
|
+
ripple?: boolean | any | undefined;
|
|
1444
1572
|
}
|
|
1445
1573
|
|
|
1446
1574
|
export interface QBreadcrumbsElSlots {
|
|
@@ -1470,7 +1598,7 @@ export interface QBtnDropdownProps {
|
|
|
1470
1598
|
/**
|
|
1471
1599
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1472
1600
|
*/
|
|
1473
|
-
to?: string |
|
|
1601
|
+
to?: string | any | undefined;
|
|
1474
1602
|
/**
|
|
1475
1603
|
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
1476
1604
|
*/
|
|
@@ -1555,7 +1683,7 @@ export interface QBtnDropdownProps {
|
|
|
1555
1683
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
1556
1684
|
* Default value: true
|
|
1557
1685
|
*/
|
|
1558
|
-
ripple?: boolean |
|
|
1686
|
+
ripple?: boolean | any | undefined;
|
|
1559
1687
|
/**
|
|
1560
1688
|
* Tabindex HTML attribute value
|
|
1561
1689
|
*/
|
|
@@ -1611,11 +1739,11 @@ export interface QBtnDropdownProps {
|
|
|
1611
1739
|
/**
|
|
1612
1740
|
* Style definitions to be attributed to the menu
|
|
1613
1741
|
*/
|
|
1614
|
-
contentStyle?:
|
|
1742
|
+
contentStyle?: VueStyleProp | undefined;
|
|
1615
1743
|
/**
|
|
1616
1744
|
* Class definitions to be attributed to the menu
|
|
1617
1745
|
*/
|
|
1618
|
-
contentClass?:
|
|
1746
|
+
contentClass?: VueClassProp | undefined;
|
|
1619
1747
|
/**
|
|
1620
1748
|
* Allows the menu to cover the button. When used, the 'menu-self' and 'menu-fit' props are no longer effective
|
|
1621
1749
|
*/
|
|
@@ -1687,27 +1815,27 @@ export interface QBtnDropdownProps {
|
|
|
1687
1815
|
* Emitted after component has triggered show()
|
|
1688
1816
|
* @param evt JS event object
|
|
1689
1817
|
*/
|
|
1690
|
-
onShow?: (evt:
|
|
1818
|
+
onShow?: (evt: any) => void;
|
|
1691
1819
|
/**
|
|
1692
1820
|
* Emitted when component triggers show() but before it finishes doing it
|
|
1693
1821
|
* @param evt JS event object
|
|
1694
1822
|
*/
|
|
1695
|
-
onBeforeShow?: (evt:
|
|
1823
|
+
onBeforeShow?: (evt: any) => void;
|
|
1696
1824
|
/**
|
|
1697
1825
|
* Emitted after component has triggered hide()
|
|
1698
1826
|
* @param evt JS event object
|
|
1699
1827
|
*/
|
|
1700
|
-
onHide?: (evt:
|
|
1828
|
+
onHide?: (evt: any) => void;
|
|
1701
1829
|
/**
|
|
1702
1830
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
1703
1831
|
* @param evt JS event object
|
|
1704
1832
|
*/
|
|
1705
|
-
onBeforeHide?: (evt:
|
|
1833
|
+
onBeforeHide?: (evt: any) => void;
|
|
1706
1834
|
/**
|
|
1707
1835
|
* Emitted when user clicks/taps on the main button (not the icon one, if using 'split')
|
|
1708
1836
|
* @param evt JS event object
|
|
1709
1837
|
*/
|
|
1710
|
-
onClick?: (evt:
|
|
1838
|
+
onClick?: (evt: any) => void;
|
|
1711
1839
|
}
|
|
1712
1840
|
|
|
1713
1841
|
export interface QBtnDropdownSlots {
|
|
@@ -1727,17 +1855,17 @@ export interface QBtnDropdown
|
|
|
1727
1855
|
* Triggers component to show
|
|
1728
1856
|
* @param evt JS event object
|
|
1729
1857
|
*/
|
|
1730
|
-
show: (evt?:
|
|
1858
|
+
show: (evt?: any) => void;
|
|
1731
1859
|
/**
|
|
1732
1860
|
* Triggers component to hide
|
|
1733
1861
|
* @param evt JS event object
|
|
1734
1862
|
*/
|
|
1735
|
-
hide: (evt?:
|
|
1863
|
+
hide: (evt?: any) => void;
|
|
1736
1864
|
/**
|
|
1737
1865
|
* Triggers component to toggle between show/hide
|
|
1738
1866
|
* @param evt JS event object
|
|
1739
1867
|
*/
|
|
1740
|
-
toggle: (evt?:
|
|
1868
|
+
toggle: (evt?: any) => void;
|
|
1741
1869
|
}
|
|
1742
1870
|
|
|
1743
1871
|
export interface QBtnGroupProps {
|
|
@@ -1800,7 +1928,7 @@ export interface QBtnToggleProps {
|
|
|
1800
1928
|
/**
|
|
1801
1929
|
* Key-value for attributes to be set on the button
|
|
1802
1930
|
*/
|
|
1803
|
-
attrs?:
|
|
1931
|
+
attrs?: any;
|
|
1804
1932
|
/**
|
|
1805
1933
|
* Label of option button; Use this prop and/or 'icon', but at least one is required
|
|
1806
1934
|
*/
|
|
@@ -1887,7 +2015,7 @@ export interface QBtnToggleProps {
|
|
|
1887
2015
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
1888
2016
|
* Default value: true
|
|
1889
2017
|
*/
|
|
1890
|
-
ripple?: boolean |
|
|
2018
|
+
ripple?: boolean | any | undefined;
|
|
1891
2019
|
/**
|
|
1892
2020
|
* Dense mode; occupies less space
|
|
1893
2021
|
*/
|
|
@@ -1949,7 +2077,7 @@ export interface QBtnProps {
|
|
|
1949
2077
|
/**
|
|
1950
2078
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1951
2079
|
*/
|
|
1952
|
-
to?: string |
|
|
2080
|
+
to?: string | any | undefined;
|
|
1953
2081
|
/**
|
|
1954
2082
|
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
1955
2083
|
*/
|
|
@@ -2034,7 +2162,7 @@ export interface QBtnProps {
|
|
|
2034
2162
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
2035
2163
|
* Default value: true
|
|
2036
2164
|
*/
|
|
2037
|
-
ripple?: boolean |
|
|
2165
|
+
ripple?: boolean | any | undefined;
|
|
2038
2166
|
/**
|
|
2039
2167
|
* Tabindex HTML attribute value
|
|
2040
2168
|
*/
|
|
@@ -2084,7 +2212,7 @@ export interface QBtnProps {
|
|
|
2084
2212
|
* @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
|
|
2085
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
|
|
2086
2214
|
*/
|
|
2087
|
-
onClick?: (evt:
|
|
2215
|
+
onClick?: (evt: any, navigateFn: () => void) => void;
|
|
2088
2216
|
}
|
|
2089
2217
|
|
|
2090
2218
|
export interface QBtnSlots {
|
|
@@ -2103,7 +2231,7 @@ export interface QBtn extends ComponentPublicInstance<QBtnProps> {
|
|
|
2103
2231
|
* Emulate click on QBtn
|
|
2104
2232
|
* @param evt JS event object
|
|
2105
2233
|
*/
|
|
2106
|
-
click: (evt?:
|
|
2234
|
+
click: (evt?: any) => void;
|
|
2107
2235
|
}
|
|
2108
2236
|
|
|
2109
2237
|
export interface QCardProps {
|
|
@@ -2373,12 +2501,12 @@ export interface QCarouselSlots {
|
|
|
2373
2501
|
/**
|
|
2374
2502
|
* Default QBtn props that can be binded to your own QBtn
|
|
2375
2503
|
*/
|
|
2376
|
-
btnProps:
|
|
2504
|
+
btnProps: any;
|
|
2377
2505
|
/**
|
|
2378
2506
|
* Default trigger when clicked/tapped on
|
|
2379
2507
|
* @param evt JS event object
|
|
2380
2508
|
*/
|
|
2381
|
-
onClick: (evt:
|
|
2509
|
+
onClick: (evt: any) => void;
|
|
2382
2510
|
}) => VNode[];
|
|
2383
2511
|
}
|
|
2384
2512
|
|
|
@@ -2624,7 +2752,7 @@ export interface QCheckboxProps {
|
|
|
2624
2752
|
* @param value New model value
|
|
2625
2753
|
* @param evt JS event object
|
|
2626
2754
|
*/
|
|
2627
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
2755
|
+
"onUpdate:modelValue"?: (value: any, evt: any) => void;
|
|
2628
2756
|
}
|
|
2629
2757
|
|
|
2630
2758
|
export interface QCheckboxSlots {
|
|
@@ -2711,7 +2839,7 @@ export interface QChipProps {
|
|
|
2711
2839
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
2712
2840
|
* Default value: true
|
|
2713
2841
|
*/
|
|
2714
|
-
ripple?: boolean |
|
|
2842
|
+
ripple?: boolean | any | undefined;
|
|
2715
2843
|
/**
|
|
2716
2844
|
* Tabindex HTML attribute value
|
|
2717
2845
|
*/
|
|
@@ -2724,7 +2852,7 @@ export interface QChipProps {
|
|
|
2724
2852
|
* Emitted on QChip click if 'clickable' property is set
|
|
2725
2853
|
* @param evt JS event object
|
|
2726
2854
|
*/
|
|
2727
|
-
onClick?: (evt:
|
|
2855
|
+
onClick?: (evt: any) => void;
|
|
2728
2856
|
/**
|
|
2729
2857
|
* Used by Vue on 'v-model:selected' for updating its value
|
|
2730
2858
|
* @param state Selected state
|
|
@@ -2980,7 +3108,7 @@ export interface QDateProps {
|
|
|
2980
3108
|
/**
|
|
2981
3109
|
* Date(s) of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive
|
|
2982
3110
|
*/
|
|
2983
|
-
modelValue: string | any[] |
|
|
3111
|
+
modelValue: string | any[] | any | null | undefined;
|
|
2984
3112
|
/**
|
|
2985
3113
|
* When specified, it overrides the default header title; Makes sense when not in 'minimal' mode
|
|
2986
3114
|
*/
|
|
@@ -3064,7 +3192,7 @@ export interface QDateProps {
|
|
|
3064
3192
|
* @param details Object of properties on the new model
|
|
3065
3193
|
*/
|
|
3066
3194
|
"onUpdate:modelValue"?: (
|
|
3067
|
-
value: string | any[] |
|
|
3195
|
+
value: string | any[] | any | null,
|
|
3068
3196
|
reason:
|
|
3069
3197
|
| "add-day"
|
|
3070
3198
|
| "remove-day"
|
|
@@ -3349,22 +3477,22 @@ export interface QDialogProps {
|
|
|
3349
3477
|
* Emitted after component has triggered show()
|
|
3350
3478
|
* @param evt JS event object
|
|
3351
3479
|
*/
|
|
3352
|
-
onShow?: (evt:
|
|
3480
|
+
onShow?: (evt: any) => void;
|
|
3353
3481
|
/**
|
|
3354
3482
|
* Emitted when component triggers show() but before it finishes doing it
|
|
3355
3483
|
* @param evt JS event object
|
|
3356
3484
|
*/
|
|
3357
|
-
onBeforeShow?: (evt:
|
|
3485
|
+
onBeforeShow?: (evt: any) => void;
|
|
3358
3486
|
/**
|
|
3359
3487
|
* Emitted after component has triggered hide()
|
|
3360
3488
|
* @param evt JS event object
|
|
3361
3489
|
*/
|
|
3362
|
-
onHide?: (evt:
|
|
3490
|
+
onHide?: (evt: any) => void;
|
|
3363
3491
|
/**
|
|
3364
3492
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
3365
3493
|
* @param evt JS event object
|
|
3366
3494
|
*/
|
|
3367
|
-
onBeforeHide?: (evt:
|
|
3495
|
+
onBeforeHide?: (evt: any) => void;
|
|
3368
3496
|
/**
|
|
3369
3497
|
* Emitted when the Dialog shakes in order to catch user's attention, unless the 'no-shake' property is set
|
|
3370
3498
|
*/
|
|
@@ -3387,17 +3515,17 @@ export interface QDialog extends ComponentPublicInstance<QDialogProps> {
|
|
|
3387
3515
|
* Triggers component to show
|
|
3388
3516
|
* @param evt JS event object
|
|
3389
3517
|
*/
|
|
3390
|
-
show: (evt?:
|
|
3518
|
+
show: (evt?: any) => void;
|
|
3391
3519
|
/**
|
|
3392
3520
|
* Triggers component to hide
|
|
3393
3521
|
* @param evt JS event object
|
|
3394
3522
|
*/
|
|
3395
|
-
hide: (evt?:
|
|
3523
|
+
hide: (evt?: any) => void;
|
|
3396
3524
|
/**
|
|
3397
3525
|
* Triggers component to toggle between show/hide
|
|
3398
3526
|
* @param evt JS event object
|
|
3399
3527
|
*/
|
|
3400
|
-
toggle: (evt?:
|
|
3528
|
+
toggle: (evt?: any) => void;
|
|
3401
3529
|
/**
|
|
3402
3530
|
* Focus dialog; if you have content with autofocus attribute, it will directly focus it
|
|
3403
3531
|
*/
|
|
@@ -3491,22 +3619,22 @@ export interface QDrawerProps {
|
|
|
3491
3619
|
* Emitted after component has triggered show()
|
|
3492
3620
|
* @param evt JS event object
|
|
3493
3621
|
*/
|
|
3494
|
-
onShow?: (evt:
|
|
3622
|
+
onShow?: (evt: any) => void;
|
|
3495
3623
|
/**
|
|
3496
3624
|
* Emitted when component triggers show() but before it finishes doing it
|
|
3497
3625
|
* @param evt JS event object
|
|
3498
3626
|
*/
|
|
3499
|
-
onBeforeShow?: (evt:
|
|
3627
|
+
onBeforeShow?: (evt: any) => void;
|
|
3500
3628
|
/**
|
|
3501
3629
|
* Emitted after component has triggered hide()
|
|
3502
3630
|
* @param evt JS event object
|
|
3503
3631
|
*/
|
|
3504
|
-
onHide?: (evt:
|
|
3632
|
+
onHide?: (evt: any) => void;
|
|
3505
3633
|
/**
|
|
3506
3634
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
3507
3635
|
* @param evt JS event object
|
|
3508
3636
|
*/
|
|
3509
|
-
onBeforeHide?: (evt:
|
|
3637
|
+
onBeforeHide?: (evt: any) => void;
|
|
3510
3638
|
/**
|
|
3511
3639
|
* Emitted when drawer toggles between occupying space on page or not
|
|
3512
3640
|
* @param state New state
|
|
@@ -3516,17 +3644,17 @@ export interface QDrawerProps {
|
|
|
3516
3644
|
* 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
|
|
3517
3645
|
* @param evt JS event object
|
|
3518
3646
|
*/
|
|
3519
|
-
onClick?: (evt:
|
|
3647
|
+
onClick?: (evt: any) => void;
|
|
3520
3648
|
/**
|
|
3521
3649
|
* 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
|
|
3522
3650
|
* @param evt JS event object
|
|
3523
3651
|
*/
|
|
3524
|
-
onMouseover?: (evt:
|
|
3652
|
+
onMouseover?: (evt: any) => void;
|
|
3525
3653
|
/**
|
|
3526
3654
|
* 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
|
|
3527
3655
|
* @param evt JS event object
|
|
3528
3656
|
*/
|
|
3529
|
-
onMouseout?: (evt:
|
|
3657
|
+
onMouseout?: (evt: any) => void;
|
|
3530
3658
|
/**
|
|
3531
3659
|
* Emitted when drawer changes the mini-mode state (sometimes it is forced to do so)
|
|
3532
3660
|
* @param state New state
|
|
@@ -3550,17 +3678,17 @@ export interface QDrawer extends ComponentPublicInstance<QDrawerProps> {
|
|
|
3550
3678
|
* Triggers component to show
|
|
3551
3679
|
* @param evt JS event object
|
|
3552
3680
|
*/
|
|
3553
|
-
show: (evt?:
|
|
3681
|
+
show: (evt?: any) => void;
|
|
3554
3682
|
/**
|
|
3555
3683
|
* Triggers component to hide
|
|
3556
3684
|
* @param evt JS event object
|
|
3557
3685
|
*/
|
|
3558
|
-
hide: (evt?:
|
|
3686
|
+
hide: (evt?: any) => void;
|
|
3559
3687
|
/**
|
|
3560
3688
|
* Triggers component to toggle between show/hide
|
|
3561
3689
|
* @param evt JS event object
|
|
3562
3690
|
*/
|
|
3563
|
-
toggle: (evt?:
|
|
3691
|
+
toggle: (evt?: any) => void;
|
|
3564
3692
|
}
|
|
3565
3693
|
|
|
3566
3694
|
export interface QEditorProps {
|
|
@@ -3676,7 +3804,7 @@ export interface QEditorProps {
|
|
|
3676
3804
|
/**
|
|
3677
3805
|
* Object with definitions of fonts
|
|
3678
3806
|
*/
|
|
3679
|
-
fonts?:
|
|
3807
|
+
fonts?: any | undefined;
|
|
3680
3808
|
/**
|
|
3681
3809
|
* An array of arrays of Objects/Strings that you use to define the construction of the elements and commands available in the toolbar
|
|
3682
3810
|
* Default value: left,center,right,justify,bold,italic,underline,strike,undo,redo
|
|
@@ -3719,11 +3847,11 @@ export interface QEditorProps {
|
|
|
3719
3847
|
/**
|
|
3720
3848
|
* Object with CSS properties and values for styling the container of QEditor
|
|
3721
3849
|
*/
|
|
3722
|
-
contentStyle?:
|
|
3850
|
+
contentStyle?: VueStyleObjectProp | undefined;
|
|
3723
3851
|
/**
|
|
3724
3852
|
* CSS classes for the input area
|
|
3725
3853
|
*/
|
|
3726
|
-
contentClass?:
|
|
3854
|
+
contentClass?: VueClassProp | undefined;
|
|
3727
3855
|
/**
|
|
3728
3856
|
* Text to display as placeholder
|
|
3729
3857
|
*/
|
|
@@ -3776,7 +3904,7 @@ export interface QExpansionItemProps {
|
|
|
3776
3904
|
/**
|
|
3777
3905
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
3778
3906
|
*/
|
|
3779
|
-
to?: string |
|
|
3907
|
+
to?: string | any | undefined;
|
|
3780
3908
|
/**
|
|
3781
3909
|
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
3782
3910
|
*/
|
|
@@ -3824,7 +3952,7 @@ export interface QExpansionItemProps {
|
|
|
3824
3952
|
/**
|
|
3825
3953
|
* Apply custom class(es) to the expand icon item section
|
|
3826
3954
|
*/
|
|
3827
|
-
expandIconClass?:
|
|
3955
|
+
expandIconClass?: VueClassProp | undefined;
|
|
3828
3956
|
/**
|
|
3829
3957
|
* Header label (unless using 'header' slot)
|
|
3830
3958
|
*/
|
|
@@ -3893,11 +4021,11 @@ export interface QExpansionItemProps {
|
|
|
3893
4021
|
/**
|
|
3894
4022
|
* Apply custom style to the header
|
|
3895
4023
|
*/
|
|
3896
|
-
headerStyle?:
|
|
4024
|
+
headerStyle?: VueStyleProp | undefined;
|
|
3897
4025
|
/**
|
|
3898
4026
|
* Apply custom class(es) to the header
|
|
3899
4027
|
*/
|
|
3900
|
-
headerClass?:
|
|
4028
|
+
headerClass?: VueClassProp | undefined;
|
|
3901
4029
|
/**
|
|
3902
4030
|
* Emitted when showing/hidden state changes; Is also used by v-model
|
|
3903
4031
|
* @param value New state (showing/hidden)
|
|
@@ -3907,22 +4035,22 @@ export interface QExpansionItemProps {
|
|
|
3907
4035
|
* Emitted after component has triggered show()
|
|
3908
4036
|
* @param evt JS event object
|
|
3909
4037
|
*/
|
|
3910
|
-
onShow?: (evt:
|
|
4038
|
+
onShow?: (evt: any) => void;
|
|
3911
4039
|
/**
|
|
3912
4040
|
* Emitted when component triggers show() but before it finishes doing it
|
|
3913
4041
|
* @param evt JS event object
|
|
3914
4042
|
*/
|
|
3915
|
-
onBeforeShow?: (evt:
|
|
4043
|
+
onBeforeShow?: (evt: any) => void;
|
|
3916
4044
|
/**
|
|
3917
4045
|
* Emitted after component has triggered hide()
|
|
3918
4046
|
* @param evt JS event object
|
|
3919
4047
|
*/
|
|
3920
|
-
onHide?: (evt:
|
|
4048
|
+
onHide?: (evt: any) => void;
|
|
3921
4049
|
/**
|
|
3922
4050
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
3923
4051
|
* @param evt JS event object
|
|
3924
4052
|
*/
|
|
3925
|
-
onBeforeHide?: (evt:
|
|
4053
|
+
onBeforeHide?: (evt: any) => void;
|
|
3926
4054
|
/**
|
|
3927
4055
|
* Emitted when component show animation is finished
|
|
3928
4056
|
*/
|
|
@@ -3950,17 +4078,17 @@ export interface QExpansionItem
|
|
|
3950
4078
|
* Triggers component to show
|
|
3951
4079
|
* @param evt JS event object
|
|
3952
4080
|
*/
|
|
3953
|
-
show: (evt?:
|
|
4081
|
+
show: (evt?: any) => void;
|
|
3954
4082
|
/**
|
|
3955
4083
|
* Triggers component to hide
|
|
3956
4084
|
* @param evt JS event object
|
|
3957
4085
|
*/
|
|
3958
|
-
hide: (evt?:
|
|
4086
|
+
hide: (evt?: any) => void;
|
|
3959
4087
|
/**
|
|
3960
4088
|
* Triggers component to toggle between show/hide
|
|
3961
4089
|
* @param evt JS event object
|
|
3962
4090
|
*/
|
|
3963
|
-
toggle: (evt?:
|
|
4091
|
+
toggle: (evt?: any) => void;
|
|
3964
4092
|
}
|
|
3965
4093
|
|
|
3966
4094
|
export interface QFabProps {
|
|
@@ -4020,11 +4148,11 @@ export interface QFabProps {
|
|
|
4020
4148
|
/**
|
|
4021
4149
|
* Class definitions to be attributed to the label container
|
|
4022
4150
|
*/
|
|
4023
|
-
labelClass?:
|
|
4151
|
+
labelClass?: VueClassProp | undefined;
|
|
4024
4152
|
/**
|
|
4025
4153
|
* Style definitions to be attributed to the label container
|
|
4026
4154
|
*/
|
|
4027
|
-
labelStyle?:
|
|
4155
|
+
labelStyle?: VueStyleProp | undefined;
|
|
4028
4156
|
/**
|
|
4029
4157
|
* Apply a rectangle aspect to the FAB
|
|
4030
4158
|
*/
|
|
@@ -4076,22 +4204,22 @@ export interface QFabProps {
|
|
|
4076
4204
|
* Emitted after component has triggered show()
|
|
4077
4205
|
* @param evt JS event object
|
|
4078
4206
|
*/
|
|
4079
|
-
onShow?: (evt:
|
|
4207
|
+
onShow?: (evt: any) => void;
|
|
4080
4208
|
/**
|
|
4081
4209
|
* Emitted when component triggers show() but before it finishes doing it
|
|
4082
4210
|
* @param evt JS event object
|
|
4083
4211
|
*/
|
|
4084
|
-
onBeforeShow?: (evt:
|
|
4212
|
+
onBeforeShow?: (evt: any) => void;
|
|
4085
4213
|
/**
|
|
4086
4214
|
* Emitted after component has triggered hide()
|
|
4087
4215
|
* @param evt JS event object
|
|
4088
4216
|
*/
|
|
4089
|
-
onHide?: (evt:
|
|
4217
|
+
onHide?: (evt: any) => void;
|
|
4090
4218
|
/**
|
|
4091
4219
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
4092
4220
|
* @param evt JS event object
|
|
4093
4221
|
*/
|
|
4094
|
-
onBeforeHide?: (evt:
|
|
4222
|
+
onBeforeHide?: (evt: any) => void;
|
|
4095
4223
|
}
|
|
4096
4224
|
|
|
4097
4225
|
export interface QFabSlots {
|
|
@@ -4140,17 +4268,17 @@ export interface QFab extends ComponentPublicInstance<QFabProps> {
|
|
|
4140
4268
|
* Expands fab actions list
|
|
4141
4269
|
* @param evt JS event object
|
|
4142
4270
|
*/
|
|
4143
|
-
show: (evt?:
|
|
4271
|
+
show: (evt?: any) => void;
|
|
4144
4272
|
/**
|
|
4145
4273
|
* Collapses fab actions list
|
|
4146
4274
|
* @param evt JS event object
|
|
4147
4275
|
*/
|
|
4148
|
-
hide: (evt?:
|
|
4276
|
+
hide: (evt?: any) => void;
|
|
4149
4277
|
/**
|
|
4150
4278
|
* Triggers component to toggle between show/hide
|
|
4151
4279
|
* @param evt JS event object
|
|
4152
4280
|
*/
|
|
4153
|
-
toggle: (evt?:
|
|
4281
|
+
toggle: (evt?: any) => void;
|
|
4154
4282
|
}
|
|
4155
4283
|
|
|
4156
4284
|
export interface QFabActionProps {
|
|
@@ -4210,11 +4338,11 @@ export interface QFabActionProps {
|
|
|
4210
4338
|
/**
|
|
4211
4339
|
* Class definitions to be attributed to the label container
|
|
4212
4340
|
*/
|
|
4213
|
-
labelClass?:
|
|
4341
|
+
labelClass?: VueClassProp | undefined;
|
|
4214
4342
|
/**
|
|
4215
4343
|
* Style definitions to be attributed to the label container
|
|
4216
4344
|
*/
|
|
4217
|
-
labelStyle?:
|
|
4345
|
+
labelStyle?: VueStyleProp | undefined;
|
|
4218
4346
|
/**
|
|
4219
4347
|
* Apply a rectangle aspect to the FAB
|
|
4220
4348
|
*/
|
|
@@ -4238,7 +4366,7 @@ export interface QFabActionProps {
|
|
|
4238
4366
|
/**
|
|
4239
4367
|
* Equivalent to Vue Router <router-link> 'to' property
|
|
4240
4368
|
*/
|
|
4241
|
-
to?: string |
|
|
4369
|
+
to?: string | any | undefined;
|
|
4242
4370
|
/**
|
|
4243
4371
|
* Equivalent to Vue Router <router-link> 'replace' property
|
|
4244
4372
|
*/
|
|
@@ -4247,7 +4375,7 @@ export interface QFabActionProps {
|
|
|
4247
4375
|
* Emitted when user clicks/taps on the component
|
|
4248
4376
|
* @param evt JS event object
|
|
4249
4377
|
*/
|
|
4250
|
-
onClick?: (evt:
|
|
4378
|
+
onClick?: (evt: any) => void;
|
|
4251
4379
|
}
|
|
4252
4380
|
|
|
4253
4381
|
export interface QFabActionSlots {
|
|
@@ -4270,7 +4398,7 @@ export interface QFabAction extends ComponentPublicInstance<QFabActionProps> {
|
|
|
4270
4398
|
* Emulate click on QFabAction
|
|
4271
4399
|
* @param evt JS event object
|
|
4272
4400
|
*/
|
|
4273
|
-
click: (evt?:
|
|
4401
|
+
click: (evt?: any) => void;
|
|
4274
4402
|
}
|
|
4275
4403
|
|
|
4276
4404
|
export interface QFieldProps {
|
|
@@ -4440,12 +4568,12 @@ export interface QFieldProps {
|
|
|
4440
4568
|
* Emitted when component gets focused
|
|
4441
4569
|
* @param evt JS event object
|
|
4442
4570
|
*/
|
|
4443
|
-
onFocus?: (evt:
|
|
4571
|
+
onFocus?: (evt: any) => void;
|
|
4444
4572
|
/**
|
|
4445
4573
|
* Emitted when component loses focus
|
|
4446
4574
|
* @param evt JS event object
|
|
4447
4575
|
*/
|
|
4448
|
-
onBlur?: (evt:
|
|
4576
|
+
onBlur?: (evt: any) => void;
|
|
4449
4577
|
}
|
|
4450
4578
|
|
|
4451
4579
|
export interface QFieldSlots {
|
|
@@ -4770,16 +4898,16 @@ export interface QFileProps {
|
|
|
4770
4898
|
/**
|
|
4771
4899
|
* Class definitions to be attributed to the underlying selection container
|
|
4772
4900
|
*/
|
|
4773
|
-
inputClass?:
|
|
4901
|
+
inputClass?: VueClassProp | undefined;
|
|
4774
4902
|
/**
|
|
4775
4903
|
* Style definitions to be attributed to the underlying selection container
|
|
4776
4904
|
*/
|
|
4777
|
-
inputStyle?:
|
|
4905
|
+
inputStyle?: VueStyleProp | undefined;
|
|
4778
4906
|
/**
|
|
4779
4907
|
* Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
|
|
4780
4908
|
* @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
|
|
4781
4909
|
*/
|
|
4782
|
-
onRejected?: (rejectedEntries:
|
|
4910
|
+
onRejected?: (rejectedEntries: QRejectedEntry[]) => void;
|
|
4783
4911
|
/**
|
|
4784
4912
|
* When using the 'clearable' property, this event is emitted when the clear icon is clicked
|
|
4785
4913
|
* @param value The previous value before clearing it
|
|
@@ -4872,7 +5000,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
|
|
|
4872
5000
|
* Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
|
|
4873
5001
|
* @param evt JS event object
|
|
4874
5002
|
*/
|
|
4875
|
-
pickFiles: (evt?:
|
|
5003
|
+
pickFiles: (evt?: any) => void;
|
|
4876
5004
|
/**
|
|
4877
5005
|
* Add files programmatically
|
|
4878
5006
|
* @param files Array of files (instances of File)
|
|
@@ -4910,7 +5038,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
|
|
|
4910
5038
|
* Get the native input DOM Element
|
|
4911
5039
|
* @returns The underlying native input DOM Element
|
|
4912
5040
|
*/
|
|
4913
|
-
getNativeElement: () =>
|
|
5041
|
+
getNativeElement: () => any;
|
|
4914
5042
|
}
|
|
4915
5043
|
|
|
4916
5044
|
export interface QFooterProps {
|
|
@@ -5014,12 +5142,12 @@ export interface QForm extends ComponentPublicInstance<QFormProps> {
|
|
|
5014
5142
|
* Manually trigger form validation and submit
|
|
5015
5143
|
* @param evt JS event object
|
|
5016
5144
|
*/
|
|
5017
|
-
submit: (evt?:
|
|
5145
|
+
submit: (evt?: any) => void;
|
|
5018
5146
|
/**
|
|
5019
5147
|
* Manually trigger form reset
|
|
5020
5148
|
* @param evt JS event object
|
|
5021
5149
|
*/
|
|
5022
|
-
reset: (evt?:
|
|
5150
|
+
reset: (evt?: any) => void;
|
|
5023
5151
|
/**
|
|
5024
5152
|
* Get array of children vue components that support validation
|
|
5025
5153
|
* @returns Vue components that support Quasar validation API
|
|
@@ -5129,7 +5257,7 @@ export interface QImgProps {
|
|
|
5129
5257
|
/**
|
|
5130
5258
|
* Force the component to maintain an aspect ratio
|
|
5131
5259
|
*/
|
|
5132
|
-
ratio?: string | number |
|
|
5260
|
+
ratio?: string | number | undefined;
|
|
5133
5261
|
/**
|
|
5134
5262
|
* Path to image
|
|
5135
5263
|
*/
|
|
@@ -5201,7 +5329,7 @@ export interface QImgProps {
|
|
|
5201
5329
|
/**
|
|
5202
5330
|
* Apply CSS to the native img element
|
|
5203
5331
|
*/
|
|
5204
|
-
imgStyle?:
|
|
5332
|
+
imgStyle?: VueStyleObjectProp | undefined;
|
|
5205
5333
|
/**
|
|
5206
5334
|
* Color name for default Spinner (unless using a 'loading' slot)
|
|
5207
5335
|
*/
|
|
@@ -5369,7 +5497,7 @@ export interface QInnerLoadingProps {
|
|
|
5369
5497
|
/**
|
|
5370
5498
|
* Apply custom style to the label; Works along the 'label' prop only
|
|
5371
5499
|
*/
|
|
5372
|
-
labelStyle?:
|
|
5500
|
+
labelStyle?: VueStyleProp | undefined;
|
|
5373
5501
|
/**
|
|
5374
5502
|
* Notify the component that the background is a dark color
|
|
5375
5503
|
*/
|
|
@@ -5587,11 +5715,11 @@ export interface QInputProps {
|
|
|
5587
5715
|
/**
|
|
5588
5716
|
* Class definitions to be attributed to the underlying input tag
|
|
5589
5717
|
*/
|
|
5590
|
-
inputClass?:
|
|
5718
|
+
inputClass?: VueClassProp | undefined;
|
|
5591
5719
|
/**
|
|
5592
5720
|
* Style definitions to be attributed to the underlying input tag
|
|
5593
5721
|
*/
|
|
5594
|
-
inputStyle?:
|
|
5722
|
+
inputStyle?: VueStyleProp | undefined;
|
|
5595
5723
|
/**
|
|
5596
5724
|
* When using the 'clearable' property, this event is emitted when the clear icon is clicked
|
|
5597
5725
|
* @param value The previous value before clearing it
|
|
@@ -5606,12 +5734,12 @@ export interface QInputProps {
|
|
|
5606
5734
|
* Emitted when component gets focused
|
|
5607
5735
|
* @param evt JS event object
|
|
5608
5736
|
*/
|
|
5609
|
-
onFocus?: (evt:
|
|
5737
|
+
onFocus?: (evt: any) => void;
|
|
5610
5738
|
/**
|
|
5611
5739
|
* Emitted when component loses focus
|
|
5612
5740
|
* @param evt JS event object
|
|
5613
5741
|
*/
|
|
5614
|
-
onBlur?: (evt:
|
|
5742
|
+
onBlur?: (evt: any) => void;
|
|
5615
5743
|
}
|
|
5616
5744
|
|
|
5617
5745
|
export interface QInputSlots {
|
|
@@ -5684,7 +5812,7 @@ export interface QInput extends ComponentPublicInstance<QInputProps> {
|
|
|
5684
5812
|
* Get the native input/textarea DOM Element
|
|
5685
5813
|
* @returns The underlying native input/textarea DOM Element
|
|
5686
5814
|
*/
|
|
5687
|
-
getNativeElement: () =>
|
|
5815
|
+
getNativeElement: () => any;
|
|
5688
5816
|
}
|
|
5689
5817
|
|
|
5690
5818
|
export interface QIntersectionProps {
|
|
@@ -5747,7 +5875,7 @@ export interface QItemProps {
|
|
|
5747
5875
|
/**
|
|
5748
5876
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
5749
5877
|
*/
|
|
5750
|
-
to?: string |
|
|
5878
|
+
to?: string | any | undefined;
|
|
5751
5879
|
/**
|
|
5752
5880
|
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
5753
5881
|
*/
|
|
@@ -6331,22 +6459,22 @@ export interface QMenuProps {
|
|
|
6331
6459
|
* Emitted after component has triggered show()
|
|
6332
6460
|
* @param evt JS event object
|
|
6333
6461
|
*/
|
|
6334
|
-
onShow?: (evt:
|
|
6462
|
+
onShow?: (evt: any) => void;
|
|
6335
6463
|
/**
|
|
6336
6464
|
* Emitted when component triggers show() but before it finishes doing it
|
|
6337
6465
|
* @param evt JS event object
|
|
6338
6466
|
*/
|
|
6339
|
-
onBeforeShow?: (evt:
|
|
6467
|
+
onBeforeShow?: (evt: any) => void;
|
|
6340
6468
|
/**
|
|
6341
6469
|
* Emitted after component has triggered hide()
|
|
6342
6470
|
* @param evt JS event object
|
|
6343
6471
|
*/
|
|
6344
|
-
onHide?: (evt:
|
|
6472
|
+
onHide?: (evt: any) => void;
|
|
6345
6473
|
/**
|
|
6346
6474
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
6347
6475
|
* @param evt JS event object
|
|
6348
6476
|
*/
|
|
6349
|
-
onBeforeHide?: (evt:
|
|
6477
|
+
onBeforeHide?: (evt: any) => void;
|
|
6350
6478
|
/**
|
|
6351
6479
|
* Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent'
|
|
6352
6480
|
*/
|
|
@@ -6365,17 +6493,17 @@ export interface QMenu extends ComponentPublicInstance<QMenuProps> {
|
|
|
6365
6493
|
* Triggers component to show
|
|
6366
6494
|
* @param evt JS event object
|
|
6367
6495
|
*/
|
|
6368
|
-
show: (evt?:
|
|
6496
|
+
show: (evt?: any) => void;
|
|
6369
6497
|
/**
|
|
6370
6498
|
* Triggers component to hide
|
|
6371
6499
|
* @param evt JS event object
|
|
6372
6500
|
*/
|
|
6373
|
-
hide: (evt?:
|
|
6501
|
+
hide: (evt?: any) => void;
|
|
6374
6502
|
/**
|
|
6375
6503
|
* Triggers component to toggle between show/hide
|
|
6376
6504
|
* @param evt JS event object
|
|
6377
6505
|
*/
|
|
6378
|
-
toggle: (evt?:
|
|
6506
|
+
toggle: (evt?: any) => void;
|
|
6379
6507
|
/**
|
|
6380
6508
|
* 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
|
|
6381
6509
|
*/
|
|
@@ -6634,7 +6762,7 @@ export interface QPageProps {
|
|
|
6634
6762
|
* @param height Value in pixels of container height (if containerized) or window height otherwise
|
|
6635
6763
|
* @returns Object with CSS properties to apply to Page DOM element
|
|
6636
6764
|
*/
|
|
6637
|
-
styleFn?: ((offset: number, height: number) =>
|
|
6765
|
+
styleFn?: ((offset: number, height: number) => any) | undefined;
|
|
6638
6766
|
}
|
|
6639
6767
|
|
|
6640
6768
|
export interface QPageSlots {
|
|
@@ -6697,11 +6825,11 @@ export interface QPaginationProps {
|
|
|
6697
6825
|
/**
|
|
6698
6826
|
* Style definitions to be attributed to the input (if using one)
|
|
6699
6827
|
*/
|
|
6700
|
-
inputStyle?:
|
|
6828
|
+
inputStyle?: VueStyleProp | undefined;
|
|
6701
6829
|
/**
|
|
6702
6830
|
* Class definitions to be attributed to the input (if using one)
|
|
6703
6831
|
*/
|
|
6704
|
-
inputClass?:
|
|
6832
|
+
inputClass?: VueClassProp | undefined;
|
|
6705
6833
|
/**
|
|
6706
6834
|
* Button size in CSS units, including unit name
|
|
6707
6835
|
*/
|
|
@@ -6735,7 +6863,7 @@ export interface QPaginationProps {
|
|
|
6735
6863
|
* @param page Page number to navigate to
|
|
6736
6864
|
* @returns Object or String that can be passed to a <router-link> as `to` parameter
|
|
6737
6865
|
*/
|
|
6738
|
-
toFn?: ((page: number) =>
|
|
6866
|
+
toFn?: ((page: number) => any | string) | undefined;
|
|
6739
6867
|
/**
|
|
6740
6868
|
* Show boundary button links
|
|
6741
6869
|
*/
|
|
@@ -6760,7 +6888,7 @@ export interface QPaginationProps {
|
|
|
6760
6888
|
* Configure buttons material ripple (disable it by setting it to 'false' or supply a config object); Does not applies to boundary and ellipsis buttons
|
|
6761
6889
|
* Default value: true
|
|
6762
6890
|
*/
|
|
6763
|
-
ripple?: boolean |
|
|
6891
|
+
ripple?: boolean | any | undefined;
|
|
6764
6892
|
/**
|
|
6765
6893
|
* Makes a circle shaped button for all buttons
|
|
6766
6894
|
*/
|
|
@@ -7067,12 +7195,12 @@ export interface QPopupEdit extends ComponentPublicInstance<QPopupEditProps> {
|
|
|
7067
7195
|
* Triggers component to show
|
|
7068
7196
|
* @param evt JS event object
|
|
7069
7197
|
*/
|
|
7070
|
-
show: (evt?:
|
|
7198
|
+
show: (evt?: any) => void;
|
|
7071
7199
|
/**
|
|
7072
7200
|
* Triggers component to hide
|
|
7073
7201
|
* @param evt JS event object
|
|
7074
7202
|
*/
|
|
7075
|
-
hide: (evt?:
|
|
7203
|
+
hide: (evt?: any) => void;
|
|
7076
7204
|
/**
|
|
7077
7205
|
* 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
|
|
7078
7206
|
*/
|
|
@@ -7111,22 +7239,22 @@ export interface QPopupProxyProps {
|
|
|
7111
7239
|
* Emitted when component triggers show() but before it finishes doing it
|
|
7112
7240
|
* @param evt JS event object
|
|
7113
7241
|
*/
|
|
7114
|
-
onBeforeShow?: (evt:
|
|
7242
|
+
onBeforeShow?: (evt: any) => void;
|
|
7115
7243
|
/**
|
|
7116
7244
|
* Emitted after component has triggered show()
|
|
7117
7245
|
* @param evt JS event object
|
|
7118
7246
|
*/
|
|
7119
|
-
onShow?: (evt:
|
|
7247
|
+
onShow?: (evt: any) => void;
|
|
7120
7248
|
/**
|
|
7121
7249
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
7122
7250
|
* @param evt JS event object
|
|
7123
7251
|
*/
|
|
7124
|
-
onBeforeHide?: (evt:
|
|
7252
|
+
onBeforeHide?: (evt: any) => void;
|
|
7125
7253
|
/**
|
|
7126
7254
|
* Emitted after component has triggered hide()
|
|
7127
7255
|
* @param evt JS event object
|
|
7128
7256
|
*/
|
|
7129
|
-
onHide?: (evt:
|
|
7257
|
+
onHide?: (evt: any) => void;
|
|
7130
7258
|
}
|
|
7131
7259
|
|
|
7132
7260
|
export interface QPopupProxySlots {
|
|
@@ -7141,17 +7269,17 @@ export interface QPopupProxy extends ComponentPublicInstance<QPopupProxyProps> {
|
|
|
7141
7269
|
* Triggers component to show
|
|
7142
7270
|
* @param evt JS event object
|
|
7143
7271
|
*/
|
|
7144
|
-
show: (evt?:
|
|
7272
|
+
show: (evt?: any) => void;
|
|
7145
7273
|
/**
|
|
7146
7274
|
* Triggers component to hide
|
|
7147
7275
|
* @param evt JS event object
|
|
7148
7276
|
*/
|
|
7149
|
-
hide: (evt?:
|
|
7277
|
+
hide: (evt?: any) => void;
|
|
7150
7278
|
/**
|
|
7151
7279
|
* Triggers component to toggle between show/hide
|
|
7152
7280
|
* @param evt JS event object
|
|
7153
7281
|
*/
|
|
7154
|
-
toggle: (evt?:
|
|
7282
|
+
toggle: (evt?: any) => void;
|
|
7155
7283
|
}
|
|
7156
7284
|
|
|
7157
7285
|
export interface QPullToRefreshProps {
|
|
@@ -7259,7 +7387,7 @@ export interface QRadioProps {
|
|
|
7259
7387
|
* @param value New model value
|
|
7260
7388
|
* @param evt JS event object
|
|
7261
7389
|
*/
|
|
7262
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
7390
|
+
"onUpdate:modelValue"?: (value: any, evt: any) => void;
|
|
7263
7391
|
}
|
|
7264
7392
|
|
|
7265
7393
|
export interface QRadioSlots {
|
|
@@ -7372,12 +7500,7 @@ export interface QRangeProps {
|
|
|
7372
7500
|
* @param value The marker value to transform
|
|
7373
7501
|
* @returns Marker definition Object or directly a String for the label of the marker
|
|
7374
7502
|
*/
|
|
7375
|
-
markerLabels?:
|
|
7376
|
-
| SliderMarkerLabels
|
|
7377
|
-
| SliderMarkerLabels
|
|
7378
|
-
| SliderMarkerLabels
|
|
7379
|
-
| SliderMarkerLabels
|
|
7380
|
-
| undefined;
|
|
7503
|
+
markerLabels?: SliderMarkerLabels | undefined;
|
|
7381
7504
|
/**
|
|
7382
7505
|
* CSS class(es) to apply to the marker labels container
|
|
7383
7506
|
*/
|
|
@@ -7525,7 +7648,7 @@ export interface QRangeSlots {
|
|
|
7525
7648
|
* @param value The marker label equivalent model value
|
|
7526
7649
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7527
7650
|
*/
|
|
7528
|
-
getStyle: (value: number) =>
|
|
7651
|
+
getStyle: (value: number) => any;
|
|
7529
7652
|
}) => VNode[];
|
|
7530
7653
|
/**
|
|
7531
7654
|
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
@@ -7549,7 +7672,7 @@ export interface QRangeSlots {
|
|
|
7549
7672
|
* @param value The marker label equivalent model value
|
|
7550
7673
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7551
7674
|
*/
|
|
7552
|
-
getStyle: (value: number) =>
|
|
7675
|
+
getStyle: (value: number) => any;
|
|
7553
7676
|
}) => VNode[];
|
|
7554
7677
|
}
|
|
7555
7678
|
|
|
@@ -7687,35 +7810,35 @@ export interface QScrollAreaProps {
|
|
|
7687
7810
|
/**
|
|
7688
7811
|
* Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)
|
|
7689
7812
|
*/
|
|
7690
|
-
barStyle?:
|
|
7813
|
+
barStyle?: VueStyleProp | undefined;
|
|
7691
7814
|
/**
|
|
7692
7815
|
* Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop
|
|
7693
7816
|
*/
|
|
7694
|
-
verticalBarStyle?:
|
|
7817
|
+
verticalBarStyle?: VueStyleProp | undefined;
|
|
7695
7818
|
/**
|
|
7696
7819
|
* Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop
|
|
7697
7820
|
*/
|
|
7698
|
-
horizontalBarStyle?:
|
|
7821
|
+
horizontalBarStyle?: VueStyleProp | undefined;
|
|
7699
7822
|
/**
|
|
7700
7823
|
* Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)
|
|
7701
7824
|
*/
|
|
7702
|
-
thumbStyle?:
|
|
7825
|
+
thumbStyle?: VueStyleObjectProp | undefined;
|
|
7703
7826
|
/**
|
|
7704
7827
|
* Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop
|
|
7705
7828
|
*/
|
|
7706
|
-
verticalThumbStyle?:
|
|
7829
|
+
verticalThumbStyle?: VueStyleObjectProp | undefined;
|
|
7707
7830
|
/**
|
|
7708
7831
|
* Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop
|
|
7709
7832
|
*/
|
|
7710
|
-
horizontalThumbStyle?:
|
|
7833
|
+
horizontalThumbStyle?: VueStyleObjectProp | undefined;
|
|
7711
7834
|
/**
|
|
7712
7835
|
* Object with CSS properties and values for styling the container of QScrollArea
|
|
7713
7836
|
*/
|
|
7714
|
-
contentStyle?:
|
|
7837
|
+
contentStyle?: VueStyleProp | undefined;
|
|
7715
7838
|
/**
|
|
7716
7839
|
* Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)
|
|
7717
7840
|
*/
|
|
7718
|
-
contentActiveStyle?:
|
|
7841
|
+
contentActiveStyle?: VueStyleProp | undefined;
|
|
7719
7842
|
/**
|
|
7720
7843
|
* Manually control the visibility of the scrollbar; Overrides default mouse over/leave behavior
|
|
7721
7844
|
*/
|
|
@@ -8170,30 +8293,21 @@ export interface QSelectProps {
|
|
|
8170
8293
|
* @param option The current option being processed
|
|
8171
8294
|
* @returns Value of the current option
|
|
8172
8295
|
*/
|
|
8173
|
-
optionValue?:
|
|
8174
|
-
| ((option: string | LooseDictionary) => any)
|
|
8175
|
-
| string
|
|
8176
|
-
| undefined;
|
|
8296
|
+
optionValue?: ((option: string | any) => any) | string | undefined;
|
|
8177
8297
|
/**
|
|
8178
8298
|
* Property of option which holds the 'label'; If using a function then for best performance, reference it from your scope and do not define it inline
|
|
8179
8299
|
* Default value: label
|
|
8180
8300
|
* @param option The current option being processed
|
|
8181
8301
|
* @returns Label of the current option
|
|
8182
8302
|
*/
|
|
8183
|
-
optionLabel?:
|
|
8184
|
-
| ((option: string | LooseDictionary) => string)
|
|
8185
|
-
| string
|
|
8186
|
-
| undefined;
|
|
8303
|
+
optionLabel?: ((option: string | any) => string) | string | undefined;
|
|
8187
8304
|
/**
|
|
8188
8305
|
* Property of option which tells it's disabled; The value of the property must be a Boolean; If using a function then for best performance, reference it from your scope and do not define it inline
|
|
8189
8306
|
* Default value: disable
|
|
8190
8307
|
* @param option The current option being processed
|
|
8191
8308
|
* @returns If true, the current option will be disabled
|
|
8192
8309
|
*/
|
|
8193
|
-
optionDisable?:
|
|
8194
|
-
| ((option: string | LooseDictionary) => boolean)
|
|
8195
|
-
| string
|
|
8196
|
-
| undefined;
|
|
8310
|
+
optionDisable?: ((option: string | any) => boolean) | string | undefined;
|
|
8197
8311
|
/**
|
|
8198
8312
|
* Hides selection; Use the underlying input tag to hold the label (instead of showing it to the right of the input) of the selected option; Only works for non 'multiple' Selects
|
|
8199
8313
|
*/
|
|
@@ -8285,7 +8399,7 @@ export interface QSelectProps {
|
|
|
8285
8399
|
/**
|
|
8286
8400
|
* Style definitions to be attributed to the popup content
|
|
8287
8401
|
*/
|
|
8288
|
-
popupContentStyle?:
|
|
8402
|
+
popupContentStyle?: VueStyleProp | undefined;
|
|
8289
8403
|
/**
|
|
8290
8404
|
* Use an input tag where users can type
|
|
8291
8405
|
*/
|
|
@@ -8318,11 +8432,11 @@ export interface QSelectProps {
|
|
|
8318
8432
|
/**
|
|
8319
8433
|
* Class definitions to be attributed to the underlying input tag
|
|
8320
8434
|
*/
|
|
8321
|
-
inputClass?:
|
|
8435
|
+
inputClass?: VueClassProp | undefined;
|
|
8322
8436
|
/**
|
|
8323
8437
|
* Style definitions to be attributed to the underlying input tag
|
|
8324
8438
|
*/
|
|
8325
|
-
inputStyle?:
|
|
8439
|
+
inputStyle?: VueStyleProp | undefined;
|
|
8326
8440
|
/**
|
|
8327
8441
|
* Tabindex HTML attribute value
|
|
8328
8442
|
*/
|
|
@@ -8448,12 +8562,12 @@ export interface QSelectProps {
|
|
|
8448
8562
|
* Emitted when the select options menu or dialog is shown.
|
|
8449
8563
|
* @param evt JS event object
|
|
8450
8564
|
*/
|
|
8451
|
-
onPopupShow?: (evt:
|
|
8565
|
+
onPopupShow?: (evt: any) => void;
|
|
8452
8566
|
/**
|
|
8453
8567
|
* Emitted when the select options menu or dialog is hidden.
|
|
8454
8568
|
* @param evt JS event object
|
|
8455
8569
|
*/
|
|
8456
|
-
onPopupHide?: (evt:
|
|
8570
|
+
onPopupHide?: (evt: any) => void;
|
|
8457
8571
|
}
|
|
8458
8572
|
|
|
8459
8573
|
export interface QSelectSlots {
|
|
@@ -8585,7 +8699,7 @@ export interface QSelectSlots {
|
|
|
8585
8699
|
/**
|
|
8586
8700
|
* Computed properties passed down to QItem
|
|
8587
8701
|
*/
|
|
8588
|
-
itemProps:
|
|
8702
|
+
itemProps: any;
|
|
8589
8703
|
}) => VNode[];
|
|
8590
8704
|
}
|
|
8591
8705
|
|
|
@@ -9077,12 +9191,7 @@ export interface QSliderProps {
|
|
|
9077
9191
|
* @param value The marker value to transform
|
|
9078
9192
|
* @returns Marker definition Object or directly a String for the label of the marker
|
|
9079
9193
|
*/
|
|
9080
|
-
markerLabels?:
|
|
9081
|
-
| SliderMarkerLabels
|
|
9082
|
-
| SliderMarkerLabels
|
|
9083
|
-
| SliderMarkerLabels
|
|
9084
|
-
| SliderMarkerLabels
|
|
9085
|
-
| undefined;
|
|
9194
|
+
markerLabels?: SliderMarkerLabels | undefined;
|
|
9086
9195
|
/**
|
|
9087
9196
|
* CSS class(es) to apply to the marker labels container
|
|
9088
9197
|
*/
|
|
@@ -9182,7 +9291,7 @@ export interface QSliderSlots {
|
|
|
9182
9291
|
* @param value The marker label equivalent model value
|
|
9183
9292
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9184
9293
|
*/
|
|
9185
|
-
getStyle: (value: number) =>
|
|
9294
|
+
getStyle: (value: number) => any;
|
|
9186
9295
|
}) => VNode[];
|
|
9187
9296
|
/**
|
|
9188
9297
|
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
@@ -9206,7 +9315,7 @@ export interface QSliderSlots {
|
|
|
9206
9315
|
* @param value The marker label equivalent model value
|
|
9207
9316
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9208
9317
|
*/
|
|
9209
|
-
getStyle: (value: number) =>
|
|
9318
|
+
getStyle: (value: number) => any;
|
|
9210
9319
|
}) => VNode[];
|
|
9211
9320
|
}
|
|
9212
9321
|
|
|
@@ -9624,19 +9733,19 @@ export interface QSplitterProps {
|
|
|
9624
9733
|
/**
|
|
9625
9734
|
* Class definitions to be attributed to the 'before' panel
|
|
9626
9735
|
*/
|
|
9627
|
-
beforeClass?:
|
|
9736
|
+
beforeClass?: VueClassProp | undefined;
|
|
9628
9737
|
/**
|
|
9629
9738
|
* Class definitions to be attributed to the 'after' panel
|
|
9630
9739
|
*/
|
|
9631
|
-
afterClass?:
|
|
9740
|
+
afterClass?: VueClassProp | undefined;
|
|
9632
9741
|
/**
|
|
9633
9742
|
* Class definitions to be attributed to the splitter separator
|
|
9634
9743
|
*/
|
|
9635
|
-
separatorClass?:
|
|
9744
|
+
separatorClass?: VueClassProp | undefined;
|
|
9636
9745
|
/**
|
|
9637
9746
|
* Style definitions to be attributed to the splitter separator
|
|
9638
9747
|
*/
|
|
9639
|
-
separatorStyle?:
|
|
9748
|
+
separatorStyle?: VueStyleProp | undefined;
|
|
9640
9749
|
/**
|
|
9641
9750
|
* Applies a default lighter color on the separator; To be used when background is darker; Avoid using when you are overriding through separator-class or separator-style props
|
|
9642
9751
|
*/
|
|
@@ -10063,7 +10172,7 @@ export interface QTableProps {
|
|
|
10063
10172
|
* @param row The current row being processed
|
|
10064
10173
|
* @returns Current row's key
|
|
10065
10174
|
*/
|
|
10066
|
-
rowKey?: string | ((row:
|
|
10175
|
+
rowKey?: string | ((row: any) => any) | undefined;
|
|
10067
10176
|
/**
|
|
10068
10177
|
* Display data using QVirtualScroll (for non-grid mode only)
|
|
10069
10178
|
*/
|
|
@@ -10153,7 +10262,7 @@ export interface QTableProps {
|
|
|
10153
10262
|
* @param row The current row being processed
|
|
10154
10263
|
* @returns Value for this column
|
|
10155
10264
|
*/
|
|
10156
|
-
field: string | ((row:
|
|
10265
|
+
field: string | ((row: any) => any);
|
|
10157
10266
|
/**
|
|
10158
10267
|
* If we use visible-columns, this col will always be visible
|
|
10159
10268
|
*/
|
|
@@ -10175,12 +10284,7 @@ export interface QTableProps {
|
|
|
10175
10284
|
* @param rowB Full Row object in which is contained the second term
|
|
10176
10285
|
* @returns Comparison result of term 'a' with term 'b'. Less than 0 when 'a' should come first; greater than 0 if 'b' should come first; equal to 0 if their position must not be changed with respect to each other
|
|
10177
10286
|
*/
|
|
10178
|
-
sort?: (
|
|
10179
|
-
a: any,
|
|
10180
|
-
b: any,
|
|
10181
|
-
rowA: LooseDictionary,
|
|
10182
|
-
rowB: LooseDictionary
|
|
10183
|
-
) => number;
|
|
10287
|
+
sort?: (a: any, b: any, rowA: any, rowB: any) => number;
|
|
10184
10288
|
/**
|
|
10185
10289
|
* Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); Overrides the 'column-sort-order' prop
|
|
10186
10290
|
* Default value: ad
|
|
@@ -10192,17 +10296,17 @@ export interface QTableProps {
|
|
|
10192
10296
|
* @param row Full Row object in which the cell is contained
|
|
10193
10297
|
* @returns The resulting formatted value
|
|
10194
10298
|
*/
|
|
10195
|
-
format?: (val: any, row:
|
|
10299
|
+
format?: (val: any, row: any) => any;
|
|
10196
10300
|
/**
|
|
10197
10301
|
* Style to apply on normal cells of the column
|
|
10198
10302
|
* @param row The current row being processed
|
|
10199
10303
|
*/
|
|
10200
|
-
style?: string | ((row:
|
|
10304
|
+
style?: string | ((row: any) => string);
|
|
10201
10305
|
/**
|
|
10202
10306
|
* Classes to add on normal cells of the column
|
|
10203
10307
|
* @param row The current row being processed
|
|
10204
10308
|
*/
|
|
10205
|
-
classes?: string | ((row:
|
|
10309
|
+
classes?: string | ((row: any) => string);
|
|
10206
10310
|
/**
|
|
10207
10311
|
* Style to apply on header cells of the column
|
|
10208
10312
|
*/
|
|
@@ -10318,43 +10422,43 @@ export interface QTableProps {
|
|
|
10318
10422
|
/**
|
|
10319
10423
|
* CSS style to apply to native HTML <table> element's wrapper (which is a DIV)
|
|
10320
10424
|
*/
|
|
10321
|
-
tableStyle?:
|
|
10425
|
+
tableStyle?: VueStyleProp | undefined;
|
|
10322
10426
|
/**
|
|
10323
10427
|
* CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)
|
|
10324
10428
|
*/
|
|
10325
|
-
tableClass?:
|
|
10429
|
+
tableClass?: VueClassProp | undefined;
|
|
10326
10430
|
/**
|
|
10327
10431
|
* CSS style to apply to header of native HTML <table> (which is a TR)
|
|
10328
10432
|
*/
|
|
10329
|
-
tableHeaderStyle?:
|
|
10433
|
+
tableHeaderStyle?: VueStyleProp | undefined;
|
|
10330
10434
|
/**
|
|
10331
10435
|
* CSS classes to apply to header of native HTML <table> (which is a TR)
|
|
10332
10436
|
*/
|
|
10333
|
-
tableHeaderClass?:
|
|
10437
|
+
tableHeaderClass?: VueClassProp | undefined;
|
|
10334
10438
|
/**
|
|
10335
10439
|
* CSS style to apply to the cards container (when in grid mode)
|
|
10336
10440
|
*/
|
|
10337
|
-
cardContainerStyle?:
|
|
10441
|
+
cardContainerStyle?: VueStyleProp | undefined;
|
|
10338
10442
|
/**
|
|
10339
10443
|
* CSS classes to apply to the cards container (when in grid mode)
|
|
10340
10444
|
*/
|
|
10341
|
-
cardContainerClass?:
|
|
10445
|
+
cardContainerClass?: VueClassProp | undefined;
|
|
10342
10446
|
/**
|
|
10343
10447
|
* CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)
|
|
10344
10448
|
*/
|
|
10345
|
-
cardStyle?:
|
|
10449
|
+
cardStyle?: VueStyleProp | undefined;
|
|
10346
10450
|
/**
|
|
10347
10451
|
* CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)
|
|
10348
10452
|
*/
|
|
10349
|
-
cardClass?:
|
|
10453
|
+
cardClass?: VueClassProp | undefined;
|
|
10350
10454
|
/**
|
|
10351
10455
|
* CSS classes to apply to the title (if using 'title' prop)
|
|
10352
10456
|
*/
|
|
10353
|
-
titleClass?:
|
|
10457
|
+
titleClass?: VueClassProp | undefined;
|
|
10354
10458
|
/**
|
|
10355
10459
|
* String/Object to filter table with; When using an Object it requires 'filter-method' to also be specified since it will be a custom filtering
|
|
10356
10460
|
*/
|
|
10357
|
-
filter?: string |
|
|
10461
|
+
filter?: string | any | undefined;
|
|
10358
10462
|
/**
|
|
10359
10463
|
* The actual filtering mechanism; For best performance, reference it from your scope and do not define it inline
|
|
10360
10464
|
* Default value: (see source code)
|
|
@@ -10367,9 +10471,9 @@ export interface QTableProps {
|
|
|
10367
10471
|
filterMethod?:
|
|
10368
10472
|
| ((
|
|
10369
10473
|
rows: any[],
|
|
10370
|
-
terms: string |
|
|
10474
|
+
terms: string | any,
|
|
10371
10475
|
cols: any[],
|
|
10372
|
-
getCellValue: (col:
|
|
10476
|
+
getCellValue: (col: any, row: any) => any
|
|
10373
10477
|
) => any[])
|
|
10374
10478
|
| undefined;
|
|
10375
10479
|
/**
|
|
@@ -10436,33 +10540,21 @@ export interface QTableProps {
|
|
|
10436
10540
|
* @param row The row upon which user has clicked/tapped
|
|
10437
10541
|
* @param index Index of the row in the current page
|
|
10438
10542
|
*/
|
|
10439
|
-
onRowClick?: (
|
|
10440
|
-
evt: LooseDictionary,
|
|
10441
|
-
row: LooseDictionary,
|
|
10442
|
-
index: number
|
|
10443
|
-
) => void;
|
|
10543
|
+
onRowClick?: (evt: any, row: any, index: number) => void;
|
|
10444
10544
|
/**
|
|
10445
10545
|
* 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
|
|
10446
10546
|
* @param evt JS event object
|
|
10447
10547
|
* @param row The row upon which user has double clicked/tapped
|
|
10448
10548
|
* @param index Index of the row in the current page
|
|
10449
10549
|
*/
|
|
10450
|
-
onRowDblclick?: (
|
|
10451
|
-
evt: LooseDictionary,
|
|
10452
|
-
row: LooseDictionary,
|
|
10453
|
-
index: number
|
|
10454
|
-
) => void;
|
|
10550
|
+
onRowDblclick?: (evt: any, row: any, index: number) => void;
|
|
10455
10551
|
/**
|
|
10456
10552
|
* Emitted when user right clicks/long taps on a row; Is not emitted when using body/row/item scoped slots
|
|
10457
10553
|
* @param evt JS event object
|
|
10458
10554
|
* @param row The row upon which user has right clicked/long tapped
|
|
10459
10555
|
* @param index Index of the row in the current page
|
|
10460
10556
|
*/
|
|
10461
|
-
onRowContextmenu?: (
|
|
10462
|
-
evt: LooseDictionary,
|
|
10463
|
-
row: LooseDictionary,
|
|
10464
|
-
index: number
|
|
10465
|
-
) => void;
|
|
10557
|
+
onRowContextmenu?: (evt: any, row: any, index: number) => void;
|
|
10466
10558
|
/**
|
|
10467
10559
|
* Emitted when a server request is triggered
|
|
10468
10560
|
* @param requestProp Props of the request
|
|
@@ -10499,9 +10591,9 @@ export interface QTableProps {
|
|
|
10499
10591
|
*/
|
|
10500
10592
|
filter: (
|
|
10501
10593
|
rows: any[],
|
|
10502
|
-
terms: string |
|
|
10594
|
+
terms: string | any,
|
|
10503
10595
|
cols?: any[],
|
|
10504
|
-
getCellValue?: (col:
|
|
10596
|
+
getCellValue?: (col: any, row: any) => any
|
|
10505
10597
|
) => any[];
|
|
10506
10598
|
/**
|
|
10507
10599
|
* Function to get a cell value
|
|
@@ -10509,7 +10601,7 @@ export interface QTableProps {
|
|
|
10509
10601
|
* @param row The row object
|
|
10510
10602
|
* @returns Parsed/Processed cell value
|
|
10511
10603
|
*/
|
|
10512
|
-
getCellValue: (col:
|
|
10604
|
+
getCellValue: (col: any, row: any) => any;
|
|
10513
10605
|
}) => void;
|
|
10514
10606
|
/**
|
|
10515
10607
|
* Emitted when user selects/unselects row(s)
|
|
@@ -10531,7 +10623,7 @@ export interface QTableProps {
|
|
|
10531
10623
|
/**
|
|
10532
10624
|
* JS event object
|
|
10533
10625
|
*/
|
|
10534
|
-
evt:
|
|
10626
|
+
evt: any;
|
|
10535
10627
|
}) => void;
|
|
10536
10628
|
/**
|
|
10537
10629
|
* Used by Vue on 'v-model:pagination' for updating its value
|
|
@@ -10610,7 +10702,7 @@ export interface QTableSlots {
|
|
|
10610
10702
|
/**
|
|
10611
10703
|
* Row/Item object
|
|
10612
10704
|
*/
|
|
10613
|
-
row:
|
|
10705
|
+
row: any;
|
|
10614
10706
|
/**
|
|
10615
10707
|
* Row/Item's index (0 based) in the filtered and sorted table
|
|
10616
10708
|
*/
|
|
@@ -10622,16 +10714,16 @@ export interface QTableSlots {
|
|
|
10622
10714
|
/**
|
|
10623
10715
|
* Column definitions
|
|
10624
10716
|
*/
|
|
10625
|
-
cols:
|
|
10717
|
+
cols: any;
|
|
10626
10718
|
/**
|
|
10627
10719
|
* Column mapping (key is column name, value is column object)
|
|
10628
10720
|
*/
|
|
10629
|
-
colsMap:
|
|
10721
|
+
colsMap: any;
|
|
10630
10722
|
/**
|
|
10631
10723
|
* Trigger a table sort
|
|
10632
10724
|
* @param col Column name or column definition object
|
|
10633
10725
|
*/
|
|
10634
|
-
sort: (col: string |
|
|
10726
|
+
sort: (col: string | any) => void;
|
|
10635
10727
|
/**
|
|
10636
10728
|
* (Only if using selection) Is row/item selected? Can directly be assigned new Boolean value which changes selection state
|
|
10637
10729
|
*/
|
|
@@ -10665,7 +10757,7 @@ export interface QTableSlots {
|
|
|
10665
10757
|
/**
|
|
10666
10758
|
* Row object
|
|
10667
10759
|
*/
|
|
10668
|
-
row:
|
|
10760
|
+
row: any;
|
|
10669
10761
|
/**
|
|
10670
10762
|
* Row's index (0 based) in the filtered and sorted table
|
|
10671
10763
|
*/
|
|
@@ -10677,16 +10769,16 @@ export interface QTableSlots {
|
|
|
10677
10769
|
/**
|
|
10678
10770
|
* Column definitions
|
|
10679
10771
|
*/
|
|
10680
|
-
cols:
|
|
10772
|
+
cols: any;
|
|
10681
10773
|
/**
|
|
10682
10774
|
* Column mapping (key is column name, value is column object)
|
|
10683
10775
|
*/
|
|
10684
|
-
colsMap:
|
|
10776
|
+
colsMap: any;
|
|
10685
10777
|
/**
|
|
10686
10778
|
* Trigger a table sort
|
|
10687
10779
|
* @param col Column name or column definition object
|
|
10688
10780
|
*/
|
|
10689
|
-
sort: (col: string |
|
|
10781
|
+
sort: (col: string | any) => void;
|
|
10690
10782
|
/**
|
|
10691
10783
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10692
10784
|
*/
|
|
@@ -10720,7 +10812,7 @@ export interface QTableSlots {
|
|
|
10720
10812
|
/**
|
|
10721
10813
|
* Column definition for column associated with table cell
|
|
10722
10814
|
*/
|
|
10723
|
-
col:
|
|
10815
|
+
col: any;
|
|
10724
10816
|
/**
|
|
10725
10817
|
* Parsed/Formatted value of table cell
|
|
10726
10818
|
*/
|
|
@@ -10732,7 +10824,7 @@ export interface QTableSlots {
|
|
|
10732
10824
|
/**
|
|
10733
10825
|
* Row object
|
|
10734
10826
|
*/
|
|
10735
|
-
row:
|
|
10827
|
+
row: any;
|
|
10736
10828
|
/**
|
|
10737
10829
|
* Row's index (0 based) in the filtered and sorted table
|
|
10738
10830
|
*/
|
|
@@ -10744,16 +10836,16 @@ export interface QTableSlots {
|
|
|
10744
10836
|
/**
|
|
10745
10837
|
* Column definitions
|
|
10746
10838
|
*/
|
|
10747
|
-
cols:
|
|
10839
|
+
cols: any;
|
|
10748
10840
|
/**
|
|
10749
10841
|
* Column mapping (key is column name, value is column object)
|
|
10750
10842
|
*/
|
|
10751
|
-
colsMap:
|
|
10843
|
+
colsMap: any;
|
|
10752
10844
|
/**
|
|
10753
10845
|
* Trigger a table sort
|
|
10754
10846
|
* @param col Column name or column definition object
|
|
10755
10847
|
*/
|
|
10756
|
-
sort: (col: string |
|
|
10848
|
+
sort: (col: string | any) => void;
|
|
10757
10849
|
/**
|
|
10758
10850
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10759
10851
|
*/
|
|
@@ -10783,7 +10875,7 @@ export interface QTableSlots {
|
|
|
10783
10875
|
/**
|
|
10784
10876
|
* Column definition for column associated with table cell
|
|
10785
10877
|
*/
|
|
10786
|
-
col:
|
|
10878
|
+
col: any;
|
|
10787
10879
|
/**
|
|
10788
10880
|
* Parsed/Formatted value of table cell
|
|
10789
10881
|
*/
|
|
@@ -10795,7 +10887,7 @@ export interface QTableSlots {
|
|
|
10795
10887
|
/**
|
|
10796
10888
|
* Row object
|
|
10797
10889
|
*/
|
|
10798
|
-
row:
|
|
10890
|
+
row: any;
|
|
10799
10891
|
/**
|
|
10800
10892
|
* Row's index (0 based) in the filtered and sorted table
|
|
10801
10893
|
*/
|
|
@@ -10807,16 +10899,16 @@ export interface QTableSlots {
|
|
|
10807
10899
|
/**
|
|
10808
10900
|
* Column definitions
|
|
10809
10901
|
*/
|
|
10810
|
-
cols:
|
|
10902
|
+
cols: any;
|
|
10811
10903
|
/**
|
|
10812
10904
|
* Column mapping (key is column name, value is column object)
|
|
10813
10905
|
*/
|
|
10814
|
-
colsMap:
|
|
10906
|
+
colsMap: any;
|
|
10815
10907
|
/**
|
|
10816
10908
|
* Trigger a table sort
|
|
10817
10909
|
* @param col Column name or column definition object
|
|
10818
10910
|
*/
|
|
10819
|
-
sort: (col: string |
|
|
10911
|
+
sort: (col: string | any) => void;
|
|
10820
10912
|
/**
|
|
10821
10913
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10822
10914
|
*/
|
|
@@ -10846,16 +10938,16 @@ export interface QTableSlots {
|
|
|
10846
10938
|
/**
|
|
10847
10939
|
* Column definitions
|
|
10848
10940
|
*/
|
|
10849
|
-
cols:
|
|
10941
|
+
cols: any;
|
|
10850
10942
|
/**
|
|
10851
10943
|
* Column mapping (key is column name, value is column object)
|
|
10852
10944
|
*/
|
|
10853
|
-
colsMap:
|
|
10945
|
+
colsMap: any;
|
|
10854
10946
|
/**
|
|
10855
10947
|
* Trigger a table sort
|
|
10856
10948
|
* @param col Column name or column definition object
|
|
10857
10949
|
*/
|
|
10858
|
-
sort: (col: string |
|
|
10950
|
+
sort: (col: string | any) => void;
|
|
10859
10951
|
/**
|
|
10860
10952
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10861
10953
|
*/
|
|
@@ -10893,20 +10985,20 @@ export interface QTableSlots {
|
|
|
10893
10985
|
/**
|
|
10894
10986
|
* Column definition associated to header cell
|
|
10895
10987
|
*/
|
|
10896
|
-
col:
|
|
10988
|
+
col: any;
|
|
10897
10989
|
/**
|
|
10898
10990
|
* Column definitions
|
|
10899
10991
|
*/
|
|
10900
|
-
cols:
|
|
10992
|
+
cols: any;
|
|
10901
10993
|
/**
|
|
10902
10994
|
* Column mapping (key is column name, value is column object)
|
|
10903
10995
|
*/
|
|
10904
|
-
colsMap:
|
|
10996
|
+
colsMap: any;
|
|
10905
10997
|
/**
|
|
10906
10998
|
* Trigger a table sort
|
|
10907
10999
|
* @param col Column name or column definition object
|
|
10908
11000
|
*/
|
|
10909
|
-
sort: (col: string |
|
|
11001
|
+
sort: (col: string | any) => void;
|
|
10910
11002
|
/**
|
|
10911
11003
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10912
11004
|
*/
|
|
@@ -10936,20 +11028,20 @@ export interface QTableSlots {
|
|
|
10936
11028
|
/**
|
|
10937
11029
|
* Column definition associated to header cell
|
|
10938
11030
|
*/
|
|
10939
|
-
col:
|
|
11031
|
+
col: any;
|
|
10940
11032
|
/**
|
|
10941
11033
|
* Column definitions
|
|
10942
11034
|
*/
|
|
10943
|
-
cols:
|
|
11035
|
+
cols: any;
|
|
10944
11036
|
/**
|
|
10945
11037
|
* Column mapping (key is column name, value is column object)
|
|
10946
11038
|
*/
|
|
10947
|
-
colsMap:
|
|
11039
|
+
colsMap: any;
|
|
10948
11040
|
/**
|
|
10949
11041
|
* Trigger a table sort
|
|
10950
11042
|
* @param col Column name or column definition object
|
|
10951
11043
|
*/
|
|
10952
|
-
sort: (col: string |
|
|
11044
|
+
sort: (col: string | any) => void;
|
|
10953
11045
|
/**
|
|
10954
11046
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10955
11047
|
*/
|
|
@@ -10983,7 +11075,7 @@ export interface QTableSlots {
|
|
|
10983
11075
|
/**
|
|
10984
11076
|
* Row object
|
|
10985
11077
|
*/
|
|
10986
|
-
row:
|
|
11078
|
+
row: any;
|
|
10987
11079
|
/**
|
|
10988
11080
|
* Row's index (0 based) in the filtered and sorted table
|
|
10989
11081
|
*/
|
|
@@ -10995,16 +11087,16 @@ export interface QTableSlots {
|
|
|
10995
11087
|
/**
|
|
10996
11088
|
* Column definitions
|
|
10997
11089
|
*/
|
|
10998
|
-
cols:
|
|
11090
|
+
cols: any;
|
|
10999
11091
|
/**
|
|
11000
11092
|
* Column mapping (key is column name, value is column object)
|
|
11001
11093
|
*/
|
|
11002
|
-
colsMap:
|
|
11094
|
+
colsMap: any;
|
|
11003
11095
|
/**
|
|
11004
11096
|
* Trigger a table sort
|
|
11005
11097
|
* @param col Column name or column definition object
|
|
11006
11098
|
*/
|
|
11007
|
-
sort: (col: string |
|
|
11099
|
+
sort: (col: string | any) => void;
|
|
11008
11100
|
/**
|
|
11009
11101
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
11010
11102
|
*/
|
|
@@ -11034,16 +11126,16 @@ export interface QTableSlots {
|
|
|
11034
11126
|
/**
|
|
11035
11127
|
* Column definitions
|
|
11036
11128
|
*/
|
|
11037
|
-
cols:
|
|
11129
|
+
cols: any;
|
|
11038
11130
|
/**
|
|
11039
11131
|
* Column mapping (key is column name, value is column object)
|
|
11040
11132
|
*/
|
|
11041
|
-
colsMap:
|
|
11133
|
+
colsMap: any;
|
|
11042
11134
|
/**
|
|
11043
11135
|
* Trigger a table sort
|
|
11044
11136
|
* @param col Column name or column definition object
|
|
11045
11137
|
*/
|
|
11046
|
-
sort: (col: string |
|
|
11138
|
+
sort: (col: string | any) => void;
|
|
11047
11139
|
/**
|
|
11048
11140
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
11049
11141
|
*/
|
|
@@ -11073,7 +11165,7 @@ export interface QTableSlots {
|
|
|
11073
11165
|
/**
|
|
11074
11166
|
* Column definitions
|
|
11075
11167
|
*/
|
|
11076
|
-
cols:
|
|
11168
|
+
cols: any;
|
|
11077
11169
|
}) => VNode[];
|
|
11078
11170
|
/**
|
|
11079
11171
|
* Slot to define how bottom extra row looks like
|
|
@@ -11083,7 +11175,7 @@ export interface QTableSlots {
|
|
|
11083
11175
|
/**
|
|
11084
11176
|
* Column definitions
|
|
11085
11177
|
*/
|
|
11086
|
-
cols:
|
|
11178
|
+
cols: any;
|
|
11087
11179
|
}) => VNode[];
|
|
11088
11180
|
/**
|
|
11089
11181
|
* Slot to define how table top looks like
|
|
@@ -11528,9 +11620,9 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
|
|
|
11528
11620
|
*/
|
|
11529
11621
|
filter?: (
|
|
11530
11622
|
rows: any[],
|
|
11531
|
-
terms: string |
|
|
11623
|
+
terms: string | any,
|
|
11532
11624
|
cols?: any[],
|
|
11533
|
-
getCellValue?: (col?:
|
|
11625
|
+
getCellValue?: (col?: any, row?: any) => any
|
|
11534
11626
|
) => any[];
|
|
11535
11627
|
}) => void;
|
|
11536
11628
|
/**
|
|
@@ -11600,7 +11692,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
|
|
|
11600
11692
|
* Trigger a table sort
|
|
11601
11693
|
* @param col Column name or column definition object
|
|
11602
11694
|
*/
|
|
11603
|
-
sort: (col: string |
|
|
11695
|
+
sort: (col: string | any) => void;
|
|
11604
11696
|
/**
|
|
11605
11697
|
* Resets the virtual scroll (if using it) computations; Needed for custom edge-cases
|
|
11606
11698
|
*/
|
|
@@ -11626,7 +11718,7 @@ export interface QTdProps {
|
|
|
11626
11718
|
/**
|
|
11627
11719
|
* QTable's column scoped slot property
|
|
11628
11720
|
*/
|
|
11629
|
-
props?:
|
|
11721
|
+
props?: any | undefined;
|
|
11630
11722
|
/**
|
|
11631
11723
|
* Tries to shrink column width size; Useful for columns with a checkbox/radio/toggle
|
|
11632
11724
|
*/
|
|
@@ -11650,7 +11742,7 @@ export interface QThProps {
|
|
|
11650
11742
|
/**
|
|
11651
11743
|
* QTable's header column scoped slot property
|
|
11652
11744
|
*/
|
|
11653
|
-
props?:
|
|
11745
|
+
props?: any | undefined;
|
|
11654
11746
|
/**
|
|
11655
11747
|
* Tries to shrink header column width size; Useful for columns with a checkbox/radio/toggle
|
|
11656
11748
|
*/
|
|
@@ -11670,7 +11762,7 @@ export interface QTrProps {
|
|
|
11670
11762
|
/**
|
|
11671
11763
|
* QTable's row scoped slot property
|
|
11672
11764
|
*/
|
|
11673
|
-
props?:
|
|
11765
|
+
props?: any | undefined;
|
|
11674
11766
|
/**
|
|
11675
11767
|
* Disable hover effect
|
|
11676
11768
|
*/
|
|
@@ -11690,7 +11782,7 @@ export interface QRouteTabProps {
|
|
|
11690
11782
|
/**
|
|
11691
11783
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
11692
11784
|
*/
|
|
11693
|
-
to?: string |
|
|
11785
|
+
to?: string | any | undefined;
|
|
11694
11786
|
/**
|
|
11695
11787
|
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
11696
11788
|
*/
|
|
@@ -11752,7 +11844,7 @@ export interface QRouteTabProps {
|
|
|
11752
11844
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
11753
11845
|
* Default value: true
|
|
11754
11846
|
*/
|
|
11755
|
-
ripple?: boolean |
|
|
11847
|
+
ripple?: boolean | any | undefined;
|
|
11756
11848
|
/**
|
|
11757
11849
|
* Tabindex HTML attribute value
|
|
11758
11850
|
*/
|
|
@@ -11762,7 +11854,7 @@ export interface QRouteTabProps {
|
|
|
11762
11854
|
* @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
|
|
11763
11855
|
* @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
|
|
11764
11856
|
*/
|
|
11765
|
-
onClick?: (evt:
|
|
11857
|
+
onClick?: (evt: any, navigateFn: () => void) => void;
|
|
11766
11858
|
}
|
|
11767
11859
|
|
|
11768
11860
|
export interface QRouteTabSlots {
|
|
@@ -11808,7 +11900,7 @@ export interface QTabProps {
|
|
|
11808
11900
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
11809
11901
|
* Default value: true
|
|
11810
11902
|
*/
|
|
11811
|
-
ripple?: boolean |
|
|
11903
|
+
ripple?: boolean | any | undefined;
|
|
11812
11904
|
/**
|
|
11813
11905
|
* Tabindex HTML attribute value
|
|
11814
11906
|
*/
|
|
@@ -12285,7 +12377,7 @@ export interface QToggleProps {
|
|
|
12285
12377
|
* @param value New model value
|
|
12286
12378
|
* @param evt JS event object
|
|
12287
12379
|
*/
|
|
12288
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
12380
|
+
"onUpdate:modelValue"?: (value: any, evt: any) => void;
|
|
12289
12381
|
}
|
|
12290
12382
|
|
|
12291
12383
|
export interface QToggleSlots {
|
|
@@ -12440,22 +12532,22 @@ export interface QTooltipProps {
|
|
|
12440
12532
|
* Emitted after component has triggered show()
|
|
12441
12533
|
* @param evt JS event object
|
|
12442
12534
|
*/
|
|
12443
|
-
onShow?: (evt:
|
|
12535
|
+
onShow?: (evt: any) => void;
|
|
12444
12536
|
/**
|
|
12445
12537
|
* Emitted when component triggers show() but before it finishes doing it
|
|
12446
12538
|
* @param evt JS event object
|
|
12447
12539
|
*/
|
|
12448
|
-
onBeforeShow?: (evt:
|
|
12540
|
+
onBeforeShow?: (evt: any) => void;
|
|
12449
12541
|
/**
|
|
12450
12542
|
* Emitted after component has triggered hide()
|
|
12451
12543
|
* @param evt JS event object
|
|
12452
12544
|
*/
|
|
12453
|
-
onHide?: (evt:
|
|
12545
|
+
onHide?: (evt: any) => void;
|
|
12454
12546
|
/**
|
|
12455
12547
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
12456
12548
|
* @param evt JS event object
|
|
12457
12549
|
*/
|
|
12458
|
-
onBeforeHide?: (evt:
|
|
12550
|
+
onBeforeHide?: (evt: any) => void;
|
|
12459
12551
|
}
|
|
12460
12552
|
|
|
12461
12553
|
export interface QTooltipSlots {
|
|
@@ -12470,17 +12562,17 @@ export interface QTooltip extends ComponentPublicInstance<QTooltipProps> {
|
|
|
12470
12562
|
* Triggers component to show
|
|
12471
12563
|
* @param evt JS event object
|
|
12472
12564
|
*/
|
|
12473
|
-
show: (evt?:
|
|
12565
|
+
show: (evt?: any) => void;
|
|
12474
12566
|
/**
|
|
12475
12567
|
* Triggers component to hide
|
|
12476
12568
|
* @param evt JS event object
|
|
12477
12569
|
*/
|
|
12478
|
-
hide: (evt?:
|
|
12570
|
+
hide: (evt?: any) => void;
|
|
12479
12571
|
/**
|
|
12480
12572
|
* Triggers component to toggle between show/hide
|
|
12481
12573
|
* @param evt JS event object
|
|
12482
12574
|
*/
|
|
12483
|
-
toggle: (evt?:
|
|
12575
|
+
toggle: (evt?: any) => void;
|
|
12484
12576
|
/**
|
|
12485
12577
|
* 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
|
|
12486
12578
|
*/
|
|
@@ -12491,7 +12583,7 @@ export interface QTreeProps {
|
|
|
12491
12583
|
/**
|
|
12492
12584
|
* The array of nodes that designates the tree structure
|
|
12493
12585
|
*/
|
|
12494
|
-
nodes:
|
|
12586
|
+
nodes: QTreeNode[];
|
|
12495
12587
|
/**
|
|
12496
12588
|
* The property name of each node object that holds a unique node id
|
|
12497
12589
|
*/
|
|
@@ -12555,6 +12647,10 @@ export interface QTreeProps {
|
|
|
12555
12647
|
* Key of node currently selected
|
|
12556
12648
|
*/
|
|
12557
12649
|
selected?: any | undefined;
|
|
12650
|
+
/**
|
|
12651
|
+
* Do not allow un-selection when clicking currently selected node
|
|
12652
|
+
*/
|
|
12653
|
+
noSelectionUnset?: boolean | undefined;
|
|
12558
12654
|
/**
|
|
12559
12655
|
* Allow the tree to have all its branches expanded, when first rendered
|
|
12560
12656
|
*/
|
|
@@ -12574,9 +12670,7 @@ export interface QTreeProps {
|
|
|
12574
12670
|
* @param filter Filter text to match against
|
|
12575
12671
|
* @returns Matches or not
|
|
12576
12672
|
*/
|
|
12577
|
-
filterMethod?:
|
|
12578
|
-
| ((node: LooseDictionary, filter: string) => boolean)
|
|
12579
|
-
| undefined;
|
|
12673
|
+
filterMethod?: ((node: any, filter: string) => boolean) | undefined;
|
|
12580
12674
|
/**
|
|
12581
12675
|
* Toggle animation duration (in milliseconds)
|
|
12582
12676
|
* Default value: 300
|
|
@@ -12603,7 +12697,7 @@ export interface QTreeProps {
|
|
|
12603
12697
|
/**
|
|
12604
12698
|
* The node to which the new nodes (the children) will be appended
|
|
12605
12699
|
*/
|
|
12606
|
-
node:
|
|
12700
|
+
node: any;
|
|
12607
12701
|
/**
|
|
12608
12702
|
* The key of the node getting the newly loaded child nodes
|
|
12609
12703
|
*/
|
|
@@ -12659,7 +12753,7 @@ export interface QTreeSlots {
|
|
|
12659
12753
|
/**
|
|
12660
12754
|
* Node object
|
|
12661
12755
|
*/
|
|
12662
|
-
node:
|
|
12756
|
+
node: any;
|
|
12663
12757
|
/**
|
|
12664
12758
|
* Node's key
|
|
12665
12759
|
*/
|
|
@@ -12693,7 +12787,7 @@ export interface QTreeSlots {
|
|
|
12693
12787
|
/**
|
|
12694
12788
|
* Node object
|
|
12695
12789
|
*/
|
|
12696
|
-
node:
|
|
12790
|
+
node: any;
|
|
12697
12791
|
/**
|
|
12698
12792
|
* Node's key
|
|
12699
12793
|
*/
|
|
@@ -12727,7 +12821,7 @@ export interface QTreeSlots {
|
|
|
12727
12821
|
/**
|
|
12728
12822
|
* Node object
|
|
12729
12823
|
*/
|
|
12730
|
-
node:
|
|
12824
|
+
node: any;
|
|
12731
12825
|
/**
|
|
12732
12826
|
* Node's key
|
|
12733
12827
|
*/
|
|
@@ -12761,7 +12855,7 @@ export interface QTreeSlots {
|
|
|
12761
12855
|
/**
|
|
12762
12856
|
* Node object
|
|
12763
12857
|
*/
|
|
12764
|
-
node:
|
|
12858
|
+
node: any;
|
|
12765
12859
|
/**
|
|
12766
12860
|
* Node's key
|
|
12767
12861
|
*/
|
|
@@ -12783,7 +12877,7 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
|
|
|
12783
12877
|
* @param key The key of a node
|
|
12784
12878
|
* @returns Requested node
|
|
12785
12879
|
*/
|
|
12786
|
-
getNodeByKey: (key: any) =>
|
|
12880
|
+
getNodeByKey: (key: any) => any;
|
|
12787
12881
|
/**
|
|
12788
12882
|
* Get array of nodes that are ticked
|
|
12789
12883
|
* @returns Ticked node objects
|
|
@@ -12834,7 +12928,7 @@ export interface QUploaderProps {
|
|
|
12834
12928
|
* @param files Uploaded files
|
|
12835
12929
|
* @returns Optional configuration for the upload process; You can override QUploader props in this Object (url, method, headers, formFields, fieldName, withCredentials, sendRaw); Props of these Object can also be Functions with the form of (file[s]) => value
|
|
12836
12930
|
*/
|
|
12837
|
-
factory?:
|
|
12931
|
+
factory?: QUploaderFactoryFn | undefined;
|
|
12838
12932
|
/**
|
|
12839
12933
|
* URL or path to the server which handles the upload. Takes String or factory function, which returns String. Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
|
|
12840
12934
|
* @param files Uploaded files
|
|
@@ -12858,7 +12952,7 @@ export interface QUploaderProps {
|
|
|
12858
12952
|
/**
|
|
12859
12953
|
* Array or a factory function which returns an array; Array consists of objects with header definitions; Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
|
|
12860
12954
|
* @param files Uploaded files
|
|
12861
|
-
* @returns An array
|
|
12955
|
+
* @returns An array consisting of objects with header definitions
|
|
12862
12956
|
*/
|
|
12863
12957
|
headers?:
|
|
12864
12958
|
| {
|
|
@@ -12999,7 +13093,7 @@ export interface QUploaderProps {
|
|
|
12999
13093
|
/**
|
|
13000
13094
|
* XMLHttpRequest that has been used to upload this batch of files
|
|
13001
13095
|
*/
|
|
13002
|
-
xhr:
|
|
13096
|
+
xhr: any;
|
|
13003
13097
|
}) => void;
|
|
13004
13098
|
/**
|
|
13005
13099
|
* Emitted when file or batch of files has encountered error while uploading
|
|
@@ -13013,7 +13107,7 @@ export interface QUploaderProps {
|
|
|
13013
13107
|
/**
|
|
13014
13108
|
* XMLHttpRequest that has been used to upload this batch of files
|
|
13015
13109
|
*/
|
|
13016
|
-
xhr:
|
|
13110
|
+
xhr: any;
|
|
13017
13111
|
}) => void;
|
|
13018
13112
|
/**
|
|
13019
13113
|
* Emitted when file or batch of files started uploading
|
|
@@ -13027,7 +13121,7 @@ export interface QUploaderProps {
|
|
|
13027
13121
|
/**
|
|
13028
13122
|
* XMLHttpRequest used for uploading
|
|
13029
13123
|
*/
|
|
13030
|
-
xhr:
|
|
13124
|
+
xhr: any;
|
|
13031
13125
|
}) => void;
|
|
13032
13126
|
/**
|
|
13033
13127
|
* Emitted when factory function is supplied with a Promise which is rejected
|
|
@@ -13039,7 +13133,7 @@ export interface QUploaderProps {
|
|
|
13039
13133
|
* Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
|
|
13040
13134
|
* @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
|
|
13041
13135
|
*/
|
|
13042
|
-
onRejected?: (rejectedEntries:
|
|
13136
|
+
onRejected?: (rejectedEntries: QRejectedEntry[]) => void;
|
|
13043
13137
|
/**
|
|
13044
13138
|
* Emitted when files are added into the list
|
|
13045
13139
|
* @param files Array of files that were added
|
|
@@ -13078,7 +13172,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
|
13078
13172
|
* Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
|
|
13079
13173
|
* @param evt JS event object
|
|
13080
13174
|
*/
|
|
13081
|
-
pickFiles: (evt?:
|
|
13175
|
+
pickFiles: (evt?: any) => void;
|
|
13082
13176
|
/**
|
|
13083
13177
|
* Add files programmatically
|
|
13084
13178
|
* @param files Array of files (instances of File)
|
|
@@ -13108,7 +13202,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
|
13108
13202
|
* Remove specified file from the queue
|
|
13109
13203
|
* @param file File to remove (instance of File)
|
|
13110
13204
|
*/
|
|
13111
|
-
removeFile: (file:
|
|
13205
|
+
removeFile: (file: any) => void;
|
|
13112
13206
|
}
|
|
13113
13207
|
|
|
13114
13208
|
export interface QUploaderAddTriggerProps {}
|
|
@@ -13283,6 +13377,8 @@ export interface QVirtualScroll
|
|
|
13283
13377
|
refresh: (index?: string | number) => void;
|
|
13284
13378
|
}
|
|
13285
13379
|
|
|
13380
|
+
import { VueClassProp } from "./api";
|
|
13381
|
+
import { VueStyleProp } from "./api";
|
|
13286
13382
|
export interface DialogChainObject {
|
|
13287
13383
|
/**
|
|
13288
13384
|
* Receives a Function param to tell what to do when OK is pressed / option is selected
|
|
@@ -13312,7 +13408,7 @@ export interface DialogChainObject {
|
|
|
13312
13408
|
* @param opts Props (except 'component') which will overwrite the initial create() params; If create() was invoked with a custom dialog component then this param should contain the new componentProps
|
|
13313
13409
|
* @returns Chained Object
|
|
13314
13410
|
*/
|
|
13315
|
-
update: (opts:
|
|
13411
|
+
update: (opts: any) => DialogChainObject;
|
|
13316
13412
|
}
|
|
13317
13413
|
|
|
13318
13414
|
import { CookiesGetMethodType } from "./api";
|
|
@@ -13320,11 +13416,11 @@ export interface QDialogOptions {
|
|
|
13320
13416
|
/**
|
|
13321
13417
|
* CSS Class name to apply to the Dialog's QCard
|
|
13322
13418
|
*/
|
|
13323
|
-
class?:
|
|
13419
|
+
class?: VueClassProp;
|
|
13324
13420
|
/**
|
|
13325
13421
|
* CSS style to apply to the Dialog's QCard
|
|
13326
13422
|
*/
|
|
13327
|
-
style?:
|
|
13423
|
+
style?: VueStyleProp;
|
|
13328
13424
|
/**
|
|
13329
13425
|
* A text for the heading title of the dialog
|
|
13330
13426
|
*/
|
|
@@ -13364,7 +13460,7 @@ export interface QDialogOptions {
|
|
|
13364
13460
|
/**
|
|
13365
13461
|
* Attributes to pass to prompt control
|
|
13366
13462
|
*/
|
|
13367
|
-
attrs?:
|
|
13463
|
+
attrs?: any;
|
|
13368
13464
|
/**
|
|
13369
13465
|
* A text label that will “float” up above the input field, once the field gets focus
|
|
13370
13466
|
*/
|
|
@@ -13539,107 +13635,22 @@ export interface QDialogOptions {
|
|
|
13539
13635
|
/**
|
|
13540
13636
|
* User defined props which will be forwarded to underlying custom component if 'component' prop is used
|
|
13541
13637
|
*/
|
|
13542
|
-
componentProps?:
|
|
13638
|
+
componentProps?: any;
|
|
13543
13639
|
}
|
|
13544
13640
|
|
|
13545
13641
|
import { WebStorageGetItemMethodType } from "./api";
|
|
13546
13642
|
import { WebStorageGetIndexMethodType } from "./api";
|
|
13547
13643
|
import { WebStorageGetKeyMethodType } from "./api";
|
|
13548
13644
|
import { WebStorageGetAllKeysMethodType } from "./api";
|
|
13645
|
+
import { VueStyleObjectProp } from "./api";
|
|
13549
13646
|
import { ValidationRule } from "./api";
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
*/
|
|
13558
|
-
label?: number | string;
|
|
13559
|
-
/**
|
|
13560
|
-
* CSS classes to be attributed to the marker label
|
|
13561
|
-
*/
|
|
13562
|
-
classes?: string | any[] | LooseDictionary;
|
|
13563
|
-
/**
|
|
13564
|
-
* Style definitions to be attributed to the marker label
|
|
13565
|
-
*/
|
|
13566
|
-
style?: LooseDictionary;
|
|
13567
|
-
}
|
|
13568
|
-
|
|
13569
|
-
export interface SliderMarkerLabelConfig {
|
|
13570
|
-
/**
|
|
13571
|
-
* Index of the marker label (0-based)
|
|
13572
|
-
*/
|
|
13573
|
-
index?: number;
|
|
13574
|
-
/**
|
|
13575
|
-
* Equivalent model value for the marker label
|
|
13576
|
-
*/
|
|
13577
|
-
value?: number;
|
|
13578
|
-
/**
|
|
13579
|
-
* Configured label for the marker
|
|
13580
|
-
*/
|
|
13581
|
-
label?: number | string;
|
|
13582
|
-
/**
|
|
13583
|
-
* Required CSS classes to be applied to the marker element
|
|
13584
|
-
*/
|
|
13585
|
-
classes?: string;
|
|
13586
|
-
/**
|
|
13587
|
-
* Style definitions to be attributed to the marker label
|
|
13588
|
-
*/
|
|
13589
|
-
style?: LooseDictionary;
|
|
13590
|
-
}
|
|
13591
|
-
|
|
13592
|
-
export interface SliderMarkerLabelArrayConfig {
|
|
13593
|
-
/**
|
|
13594
|
-
* Index of the marker label (0-based)
|
|
13595
|
-
*/
|
|
13596
|
-
index?: number;
|
|
13597
|
-
/**
|
|
13598
|
-
* Equivalent model value for the marker label
|
|
13599
|
-
*/
|
|
13600
|
-
value?: number;
|
|
13601
|
-
/**
|
|
13602
|
-
* Configured label for the marker
|
|
13603
|
-
*/
|
|
13604
|
-
label?: number | string;
|
|
13605
|
-
/**
|
|
13606
|
-
* Required CSS classes to be applied to the marker element
|
|
13607
|
-
*/
|
|
13608
|
-
classes?: string;
|
|
13609
|
-
/**
|
|
13610
|
-
* Style definitions to be attributed to the marker label
|
|
13611
|
-
*/
|
|
13612
|
-
style?: LooseDictionary;
|
|
13613
|
-
}
|
|
13614
|
-
|
|
13615
|
-
export interface SliderMarkerLabelObjectConfig {
|
|
13616
|
-
/**
|
|
13617
|
-
* Marker label config
|
|
13618
|
-
*/
|
|
13619
|
-
[key: string]: {
|
|
13620
|
-
/**
|
|
13621
|
-
* Index of the marker label (0-based)
|
|
13622
|
-
*/
|
|
13623
|
-
index?: number;
|
|
13624
|
-
/**
|
|
13625
|
-
* Equivalent model value for the marker label
|
|
13626
|
-
*/
|
|
13627
|
-
value?: number;
|
|
13628
|
-
/**
|
|
13629
|
-
* Configured label for the marker
|
|
13630
|
-
*/
|
|
13631
|
-
label?: number | string;
|
|
13632
|
-
/**
|
|
13633
|
-
* Required CSS classes to be applied to the marker element
|
|
13634
|
-
*/
|
|
13635
|
-
classes?: string;
|
|
13636
|
-
/**
|
|
13637
|
-
* Style definitions to be attributed to the marker label
|
|
13638
|
-
*/
|
|
13639
|
-
style?: LooseDictionary;
|
|
13640
|
-
};
|
|
13641
|
-
}
|
|
13642
|
-
|
|
13647
|
+
import { QRejectedEntry } from "./api";
|
|
13648
|
+
import { SliderMarkerLabels } from "./api";
|
|
13649
|
+
import { SliderMarkerLabelConfig } from "./api";
|
|
13650
|
+
import { SliderMarkerLabelArrayConfig } from "./api";
|
|
13651
|
+
import { SliderMarkerLabelObjectConfig } from "./api";
|
|
13652
|
+
import { QTreeNode } from "./api";
|
|
13653
|
+
import { QUploaderFactoryFn } from "./api";
|
|
13643
13654
|
import { QVueGlobals, QSingletonGlobals } from "./globals";
|
|
13644
13655
|
declare module "./globals" {
|
|
13645
13656
|
export interface QVueGlobals {
|
|
@@ -13658,11 +13669,11 @@ declare module "./globals" {
|
|
|
13658
13669
|
/**
|
|
13659
13670
|
* CSS Class name to apply to the Dialog's QCard
|
|
13660
13671
|
*/
|
|
13661
|
-
class?:
|
|
13672
|
+
class?: VueClassProp;
|
|
13662
13673
|
/**
|
|
13663
13674
|
* CSS style to apply to the Dialog's QCard
|
|
13664
13675
|
*/
|
|
13665
|
-
style?:
|
|
13676
|
+
style?: VueStyleProp;
|
|
13666
13677
|
/**
|
|
13667
13678
|
* Title
|
|
13668
13679
|
*/
|
|
@@ -13678,7 +13689,7 @@ declare module "./globals" {
|
|
|
13678
13689
|
/**
|
|
13679
13690
|
* CSS classes for this action
|
|
13680
13691
|
*/
|
|
13681
|
-
classes?:
|
|
13692
|
+
classes?: VueClassProp;
|
|
13682
13693
|
/**
|
|
13683
13694
|
* Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
13684
13695
|
*/
|
|
@@ -13811,11 +13822,11 @@ declare module "./globals" {
|
|
|
13811
13822
|
/**
|
|
13812
13823
|
* Style definitions to be attributed to the badge
|
|
13813
13824
|
*/
|
|
13814
|
-
badgeStyle?:
|
|
13825
|
+
badgeStyle?: VueStyleProp;
|
|
13815
13826
|
/**
|
|
13816
13827
|
* Class definitions to be attributed to the badge
|
|
13817
13828
|
*/
|
|
13818
|
-
badgeClass?:
|
|
13829
|
+
badgeClass?: VueClassProp;
|
|
13819
13830
|
/**
|
|
13820
13831
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
13821
13832
|
*/
|
|
@@ -13823,7 +13834,7 @@ declare module "./globals" {
|
|
|
13823
13834
|
/**
|
|
13824
13835
|
* Class definitions to be attributed to the progress bar
|
|
13825
13836
|
*/
|
|
13826
|
-
progressClass?:
|
|
13837
|
+
progressClass?: VueClassProp;
|
|
13827
13838
|
/**
|
|
13828
13839
|
* Add CSS class(es) to the notification for easier customization
|
|
13829
13840
|
*/
|
|
@@ -13831,7 +13842,7 @@ declare module "./globals" {
|
|
|
13831
13842
|
/**
|
|
13832
13843
|
* Key-value for attributes to be set on the notification
|
|
13833
13844
|
*/
|
|
13834
|
-
attrs?:
|
|
13845
|
+
attrs?: any;
|
|
13835
13846
|
/**
|
|
13836
13847
|
* Amount of time to display (in milliseconds)
|
|
13837
13848
|
* Default value: 5000
|
|
@@ -13903,7 +13914,7 @@ declare module "./globals" {
|
|
|
13903
13914
|
/**
|
|
13904
13915
|
* Class definitions to be attributed to the progress bar
|
|
13905
13916
|
*/
|
|
13906
|
-
progressClass?:
|
|
13917
|
+
progressClass?: VueClassProp;
|
|
13907
13918
|
/**
|
|
13908
13919
|
* Add CSS class(es) to the notification for easier customization
|
|
13909
13920
|
*/
|
|
@@ -13911,7 +13922,7 @@ declare module "./globals" {
|
|
|
13911
13922
|
/**
|
|
13912
13923
|
* Key-value for attributes to be set on the notification
|
|
13913
13924
|
*/
|
|
13914
|
-
attrs?:
|
|
13925
|
+
attrs?: any;
|
|
13915
13926
|
/**
|
|
13916
13927
|
* Amount of time to display (in milliseconds)
|
|
13917
13928
|
* Default value: 5000
|