quasar 2.4.8 → 2.4.12
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/LoadingBar.json +7 -0
- package/dist/api/Platform.json +171 -0
- package/dist/api/QAjaxBar.json +13 -1
- package/dist/api/QFile.json +1 -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 +6 -0
- 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 +10 -3
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +10 -3
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +9 -3
- package/dist/quasar.umd.js +207 -101
- 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/touchswipe.d.ts +11 -0
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api.d.ts +6 -0
- package/dist/types/index.d.ts +422 -314
- package/dist/types/ts-helpers.d.ts +6 -2
- package/dist/types/utils.d.ts +4 -1
- package/dist/vetur/quasar-attributes.json +4 -0
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +11 -1
- package/lang/index.json +4 -0
- package/lang/my.js +90 -0
- 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/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/form/QForm.js +12 -2
- package/src/components/icon/QIcon.js +3 -3
- package/src/components/icon/QIcon.sass +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
- package/src/components/input/QInput.js +1 -1
- package/src/components/menu/QMenu.js +2 -1
- package/src/components/scroll-area/QScrollArea.js +36 -11
- package/src/components/select/QSelect.js +32 -27
- package/src/components/select/QSelect.sass +4 -0
- package/src/components/stepper/QStep.js +19 -14
- package/src/components/stepper/QStepper.sass +3 -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 +14 -5
- package/src/composables/private/use-field.js +18 -9
- package/src/composables/private/use-file.json +1 -0
- package/src/plugins/LoadingBar.js +3 -3
- package/src/plugins/LoadingBar.json +8 -0
- package/src/plugins/Platform.js +15 -8
- package/src/plugins/Platform.json +166 -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?: string | any[] |
|
|
63
|
+
class?: string | any[] | any;
|
|
68
64
|
/**
|
|
69
65
|
* CSS style to apply to the Dialog's QCard
|
|
70
66
|
*/
|
|
71
|
-
style?: string | any[] |
|
|
67
|
+
style?: string | any[] | any;
|
|
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?: string | any[] |
|
|
83
|
+
classes?: string | any[] | any;
|
|
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?: any[] | string |
|
|
522
|
+
badgeStyle?: any[] | string | any;
|
|
523
523
|
/**
|
|
524
524
|
* Class definitions to be attributed to the badge
|
|
525
525
|
*/
|
|
526
|
-
badgeClass?: any[] | string |
|
|
526
|
+
badgeClass?: any[] | string | any;
|
|
527
527
|
/**
|
|
528
528
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
529
529
|
*/
|
|
@@ -531,7 +531,7 @@ export interface Notify {
|
|
|
531
531
|
/**
|
|
532
532
|
* Class definitions to be attributed to the progress bar
|
|
533
533
|
*/
|
|
534
|
-
progressClass?: any[] | string |
|
|
534
|
+
progressClass?: any[] | string | any;
|
|
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?: any[] | string |
|
|
614
|
+
progressClass?: any[] | string | any;
|
|
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?: any[] | string |
|
|
720
|
+
badgeStyle?: any[] | string | any;
|
|
721
721
|
/**
|
|
722
722
|
* Class definitions to be attributed to the badge
|
|
723
723
|
*/
|
|
724
|
-
badgeClass?: any[] | string |
|
|
724
|
+
badgeClass?: any[] | string | any;
|
|
725
725
|
/**
|
|
726
726
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
727
727
|
*/
|
|
@@ -729,7 +729,7 @@ export interface Notify {
|
|
|
729
729
|
/**
|
|
730
730
|
* Class definitions to be attributed to the progress bar
|
|
731
731
|
*/
|
|
732
|
-
progressClass?: any[] | string |
|
|
732
|
+
progressClass?: any[] | string | any;
|
|
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?: any[] | string |
|
|
837
|
+
badgeStyle?: any[] | string | any;
|
|
838
838
|
/**
|
|
839
839
|
* Class definitions to be attributed to the badge
|
|
840
840
|
*/
|
|
841
|
-
badgeClass?: any[] | string |
|
|
841
|
+
badgeClass?: any[] | string | any;
|
|
842
842
|
/**
|
|
843
843
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
844
844
|
*/
|
|
@@ -846,7 +846,7 @@ export interface Notify {
|
|
|
846
846
|
/**
|
|
847
847
|
* Class definitions to be attributed to the progress bar
|
|
848
848
|
*/
|
|
849
|
-
progressClass?: any[] | string |
|
|
849
|
+
progressClass?: any[] | string | any;
|
|
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?: any[] | string |
|
|
1742
|
+
contentStyle?: any[] | string | any | undefined;
|
|
1615
1743
|
/**
|
|
1616
1744
|
* Class definitions to be attributed to the menu
|
|
1617
1745
|
*/
|
|
1618
|
-
contentClass?: any[] | string |
|
|
1746
|
+
contentClass?: any[] | string | any | 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?: any | undefined;
|
|
3723
3851
|
/**
|
|
3724
3852
|
* CSS classes for the input area
|
|
3725
3853
|
*/
|
|
3726
|
-
contentClass?:
|
|
3854
|
+
contentClass?: any | any[] | string | 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?: any[] | string |
|
|
3955
|
+
expandIconClass?: any[] | string | any | 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?: any[] | string |
|
|
4024
|
+
headerStyle?: any[] | string | any | undefined;
|
|
3897
4025
|
/**
|
|
3898
4026
|
* Apply custom class(es) to the header
|
|
3899
4027
|
*/
|
|
3900
|
-
headerClass?: any[] | string |
|
|
4028
|
+
headerClass?: any[] | string | any | 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?: any[] | string |
|
|
4151
|
+
labelClass?: any[] | string | any | undefined;
|
|
4024
4152
|
/**
|
|
4025
4153
|
* Style definitions to be attributed to the label container
|
|
4026
4154
|
*/
|
|
4027
|
-
labelStyle?: any[] | string |
|
|
4155
|
+
labelStyle?: any[] | string | any | 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?: any[] | string |
|
|
4341
|
+
labelClass?: any[] | string | any | undefined;
|
|
4214
4342
|
/**
|
|
4215
4343
|
* Style definitions to be attributed to the label container
|
|
4216
4344
|
*/
|
|
4217
|
-
labelStyle?: any[] | string |
|
|
4345
|
+
labelStyle?: any[] | string | any | 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?: any[] | string |
|
|
4901
|
+
inputClass?: any[] | string | any | undefined;
|
|
4774
4902
|
/**
|
|
4775
4903
|
* Style definitions to be attributed to the underlying selection container
|
|
4776
4904
|
*/
|
|
4777
|
-
inputStyle?: any[] | string |
|
|
4905
|
+
inputStyle?: any[] | string | any | 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
|
|
@@ -5201,7 +5329,7 @@ export interface QImgProps {
|
|
|
5201
5329
|
/**
|
|
5202
5330
|
* Apply CSS to the native img element
|
|
5203
5331
|
*/
|
|
5204
|
-
imgStyle?:
|
|
5332
|
+
imgStyle?: any | 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?: any[] | string |
|
|
5500
|
+
labelStyle?: any[] | string | any | 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?: any[] | string |
|
|
5718
|
+
inputClass?: any[] | string | any | undefined;
|
|
5591
5719
|
/**
|
|
5592
5720
|
* Style definitions to be attributed to the underlying input tag
|
|
5593
5721
|
*/
|
|
5594
|
-
inputStyle?: any[] | string |
|
|
5722
|
+
inputStyle?: any[] | string | any | 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?: any[] | string |
|
|
6828
|
+
inputStyle?: any[] | string | any | undefined;
|
|
6701
6829
|
/**
|
|
6702
6830
|
* Class definitions to be attributed to the input (if using one)
|
|
6703
6831
|
*/
|
|
6704
|
-
inputClass?: any[] | string |
|
|
6832
|
+
inputClass?: any[] | string | any | 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 {
|
|
@@ -7525,7 +7653,7 @@ export interface QRangeSlots {
|
|
|
7525
7653
|
* @param value The marker label equivalent model value
|
|
7526
7654
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7527
7655
|
*/
|
|
7528
|
-
getStyle: (value: number) =>
|
|
7656
|
+
getStyle: (value: number) => any;
|
|
7529
7657
|
}) => VNode[];
|
|
7530
7658
|
/**
|
|
7531
7659
|
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
@@ -7549,7 +7677,7 @@ export interface QRangeSlots {
|
|
|
7549
7677
|
* @param value The marker label equivalent model value
|
|
7550
7678
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7551
7679
|
*/
|
|
7552
|
-
getStyle: (value: number) =>
|
|
7680
|
+
getStyle: (value: number) => any;
|
|
7553
7681
|
}) => VNode[];
|
|
7554
7682
|
}
|
|
7555
7683
|
|
|
@@ -7687,35 +7815,35 @@ export interface QScrollAreaProps {
|
|
|
7687
7815
|
/**
|
|
7688
7816
|
* Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)
|
|
7689
7817
|
*/
|
|
7690
|
-
barStyle?: any[] | string |
|
|
7818
|
+
barStyle?: any[] | string | any | undefined;
|
|
7691
7819
|
/**
|
|
7692
7820
|
* Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop
|
|
7693
7821
|
*/
|
|
7694
|
-
verticalBarStyle?: any[] | string |
|
|
7822
|
+
verticalBarStyle?: any[] | string | any | undefined;
|
|
7695
7823
|
/**
|
|
7696
7824
|
* Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop
|
|
7697
7825
|
*/
|
|
7698
|
-
horizontalBarStyle?: any[] | string |
|
|
7826
|
+
horizontalBarStyle?: any[] | string | any | undefined;
|
|
7699
7827
|
/**
|
|
7700
7828
|
* Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)
|
|
7701
7829
|
*/
|
|
7702
|
-
thumbStyle?:
|
|
7830
|
+
thumbStyle?: any | undefined;
|
|
7703
7831
|
/**
|
|
7704
7832
|
* Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop
|
|
7705
7833
|
*/
|
|
7706
|
-
verticalThumbStyle?:
|
|
7834
|
+
verticalThumbStyle?: any | undefined;
|
|
7707
7835
|
/**
|
|
7708
7836
|
* Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop
|
|
7709
7837
|
*/
|
|
7710
|
-
horizontalThumbStyle?:
|
|
7838
|
+
horizontalThumbStyle?: any | undefined;
|
|
7711
7839
|
/**
|
|
7712
7840
|
* Object with CSS properties and values for styling the container of QScrollArea
|
|
7713
7841
|
*/
|
|
7714
|
-
contentStyle?: any[] | string |
|
|
7842
|
+
contentStyle?: any[] | string | any | undefined;
|
|
7715
7843
|
/**
|
|
7716
7844
|
* Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)
|
|
7717
7845
|
*/
|
|
7718
|
-
contentActiveStyle?: any[] | string |
|
|
7846
|
+
contentActiveStyle?: any[] | string | any | undefined;
|
|
7719
7847
|
/**
|
|
7720
7848
|
* Manually control the visibility of the scrollbar; Overrides default mouse over/leave behavior
|
|
7721
7849
|
*/
|
|
@@ -8170,30 +8298,21 @@ export interface QSelectProps {
|
|
|
8170
8298
|
* @param option The current option being processed
|
|
8171
8299
|
* @returns Value of the current option
|
|
8172
8300
|
*/
|
|
8173
|
-
optionValue?:
|
|
8174
|
-
| ((option: string | LooseDictionary) => any)
|
|
8175
|
-
| string
|
|
8176
|
-
| undefined;
|
|
8301
|
+
optionValue?: ((option: string | any) => any) | string | undefined;
|
|
8177
8302
|
/**
|
|
8178
8303
|
* 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
8304
|
* Default value: label
|
|
8180
8305
|
* @param option The current option being processed
|
|
8181
8306
|
* @returns Label of the current option
|
|
8182
8307
|
*/
|
|
8183
|
-
optionLabel?:
|
|
8184
|
-
| ((option: string | LooseDictionary) => string)
|
|
8185
|
-
| string
|
|
8186
|
-
| undefined;
|
|
8308
|
+
optionLabel?: ((option: string | any) => string) | string | undefined;
|
|
8187
8309
|
/**
|
|
8188
8310
|
* 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
8311
|
* Default value: disable
|
|
8190
8312
|
* @param option The current option being processed
|
|
8191
8313
|
* @returns If true, the current option will be disabled
|
|
8192
8314
|
*/
|
|
8193
|
-
optionDisable?:
|
|
8194
|
-
| ((option: string | LooseDictionary) => boolean)
|
|
8195
|
-
| string
|
|
8196
|
-
| undefined;
|
|
8315
|
+
optionDisable?: ((option: string | any) => boolean) | string | undefined;
|
|
8197
8316
|
/**
|
|
8198
8317
|
* 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
8318
|
*/
|
|
@@ -8285,7 +8404,7 @@ export interface QSelectProps {
|
|
|
8285
8404
|
/**
|
|
8286
8405
|
* Style definitions to be attributed to the popup content
|
|
8287
8406
|
*/
|
|
8288
|
-
popupContentStyle?: any[] | string |
|
|
8407
|
+
popupContentStyle?: any[] | string | any | undefined;
|
|
8289
8408
|
/**
|
|
8290
8409
|
* Use an input tag where users can type
|
|
8291
8410
|
*/
|
|
@@ -8318,11 +8437,11 @@ export interface QSelectProps {
|
|
|
8318
8437
|
/**
|
|
8319
8438
|
* Class definitions to be attributed to the underlying input tag
|
|
8320
8439
|
*/
|
|
8321
|
-
inputClass?: any[] | string |
|
|
8440
|
+
inputClass?: any[] | string | any | undefined;
|
|
8322
8441
|
/**
|
|
8323
8442
|
* Style definitions to be attributed to the underlying input tag
|
|
8324
8443
|
*/
|
|
8325
|
-
inputStyle?: any[] | string |
|
|
8444
|
+
inputStyle?: any[] | string | any | undefined;
|
|
8326
8445
|
/**
|
|
8327
8446
|
* Tabindex HTML attribute value
|
|
8328
8447
|
*/
|
|
@@ -8448,12 +8567,12 @@ export interface QSelectProps {
|
|
|
8448
8567
|
* Emitted when the select options menu or dialog is shown.
|
|
8449
8568
|
* @param evt JS event object
|
|
8450
8569
|
*/
|
|
8451
|
-
onPopupShow?: (evt:
|
|
8570
|
+
onPopupShow?: (evt: any) => void;
|
|
8452
8571
|
/**
|
|
8453
8572
|
* Emitted when the select options menu or dialog is hidden.
|
|
8454
8573
|
* @param evt JS event object
|
|
8455
8574
|
*/
|
|
8456
|
-
onPopupHide?: (evt:
|
|
8575
|
+
onPopupHide?: (evt: any) => void;
|
|
8457
8576
|
}
|
|
8458
8577
|
|
|
8459
8578
|
export interface QSelectSlots {
|
|
@@ -8585,7 +8704,7 @@ export interface QSelectSlots {
|
|
|
8585
8704
|
/**
|
|
8586
8705
|
* Computed properties passed down to QItem
|
|
8587
8706
|
*/
|
|
8588
|
-
itemProps:
|
|
8707
|
+
itemProps: any;
|
|
8589
8708
|
}) => VNode[];
|
|
8590
8709
|
}
|
|
8591
8710
|
|
|
@@ -9182,7 +9301,7 @@ export interface QSliderSlots {
|
|
|
9182
9301
|
* @param value The marker label equivalent model value
|
|
9183
9302
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9184
9303
|
*/
|
|
9185
|
-
getStyle: (value: number) =>
|
|
9304
|
+
getStyle: (value: number) => any;
|
|
9186
9305
|
}) => VNode[];
|
|
9187
9306
|
/**
|
|
9188
9307
|
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
@@ -9206,7 +9325,7 @@ export interface QSliderSlots {
|
|
|
9206
9325
|
* @param value The marker label equivalent model value
|
|
9207
9326
|
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9208
9327
|
*/
|
|
9209
|
-
getStyle: (value: number) =>
|
|
9328
|
+
getStyle: (value: number) => any;
|
|
9210
9329
|
}) => VNode[];
|
|
9211
9330
|
}
|
|
9212
9331
|
|
|
@@ -9624,19 +9743,19 @@ export interface QSplitterProps {
|
|
|
9624
9743
|
/**
|
|
9625
9744
|
* Class definitions to be attributed to the 'before' panel
|
|
9626
9745
|
*/
|
|
9627
|
-
beforeClass?: any[] | string |
|
|
9746
|
+
beforeClass?: any[] | string | any | undefined;
|
|
9628
9747
|
/**
|
|
9629
9748
|
* Class definitions to be attributed to the 'after' panel
|
|
9630
9749
|
*/
|
|
9631
|
-
afterClass?: any[] | string |
|
|
9750
|
+
afterClass?: any[] | string | any | undefined;
|
|
9632
9751
|
/**
|
|
9633
9752
|
* Class definitions to be attributed to the splitter separator
|
|
9634
9753
|
*/
|
|
9635
|
-
separatorClass?: any[] | string |
|
|
9754
|
+
separatorClass?: any[] | string | any | undefined;
|
|
9636
9755
|
/**
|
|
9637
9756
|
* Style definitions to be attributed to the splitter separator
|
|
9638
9757
|
*/
|
|
9639
|
-
separatorStyle?: any[] | string |
|
|
9758
|
+
separatorStyle?: any[] | string | any | undefined;
|
|
9640
9759
|
/**
|
|
9641
9760
|
* 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
9761
|
*/
|
|
@@ -10063,7 +10182,7 @@ export interface QTableProps {
|
|
|
10063
10182
|
* @param row The current row being processed
|
|
10064
10183
|
* @returns Current row's key
|
|
10065
10184
|
*/
|
|
10066
|
-
rowKey?: string | ((row:
|
|
10185
|
+
rowKey?: string | ((row: any) => any) | undefined;
|
|
10067
10186
|
/**
|
|
10068
10187
|
* Display data using QVirtualScroll (for non-grid mode only)
|
|
10069
10188
|
*/
|
|
@@ -10153,7 +10272,7 @@ export interface QTableProps {
|
|
|
10153
10272
|
* @param row The current row being processed
|
|
10154
10273
|
* @returns Value for this column
|
|
10155
10274
|
*/
|
|
10156
|
-
field: string | ((row:
|
|
10275
|
+
field: string | ((row: any) => any);
|
|
10157
10276
|
/**
|
|
10158
10277
|
* If we use visible-columns, this col will always be visible
|
|
10159
10278
|
*/
|
|
@@ -10175,12 +10294,7 @@ export interface QTableProps {
|
|
|
10175
10294
|
* @param rowB Full Row object in which is contained the second term
|
|
10176
10295
|
* @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
10296
|
*/
|
|
10178
|
-
sort?: (
|
|
10179
|
-
a: any,
|
|
10180
|
-
b: any,
|
|
10181
|
-
rowA: LooseDictionary,
|
|
10182
|
-
rowB: LooseDictionary
|
|
10183
|
-
) => number;
|
|
10297
|
+
sort?: (a: any, b: any, rowA: any, rowB: any) => number;
|
|
10184
10298
|
/**
|
|
10185
10299
|
* Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); Overrides the 'column-sort-order' prop
|
|
10186
10300
|
* Default value: ad
|
|
@@ -10192,17 +10306,17 @@ export interface QTableProps {
|
|
|
10192
10306
|
* @param row Full Row object in which the cell is contained
|
|
10193
10307
|
* @returns The resulting formatted value
|
|
10194
10308
|
*/
|
|
10195
|
-
format?: (val: any, row:
|
|
10309
|
+
format?: (val: any, row: any) => any;
|
|
10196
10310
|
/**
|
|
10197
10311
|
* Style to apply on normal cells of the column
|
|
10198
10312
|
* @param row The current row being processed
|
|
10199
10313
|
*/
|
|
10200
|
-
style?: string | ((row:
|
|
10314
|
+
style?: string | ((row: any) => string);
|
|
10201
10315
|
/**
|
|
10202
10316
|
* Classes to add on normal cells of the column
|
|
10203
10317
|
* @param row The current row being processed
|
|
10204
10318
|
*/
|
|
10205
|
-
classes?: string | ((row:
|
|
10319
|
+
classes?: string | ((row: any) => string);
|
|
10206
10320
|
/**
|
|
10207
10321
|
* Style to apply on header cells of the column
|
|
10208
10322
|
*/
|
|
@@ -10318,43 +10432,43 @@ export interface QTableProps {
|
|
|
10318
10432
|
/**
|
|
10319
10433
|
* CSS style to apply to native HTML <table> element's wrapper (which is a DIV)
|
|
10320
10434
|
*/
|
|
10321
|
-
tableStyle?: string | any[] |
|
|
10435
|
+
tableStyle?: string | any[] | any | undefined;
|
|
10322
10436
|
/**
|
|
10323
10437
|
* CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)
|
|
10324
10438
|
*/
|
|
10325
|
-
tableClass?: string | any[] |
|
|
10439
|
+
tableClass?: string | any[] | any | undefined;
|
|
10326
10440
|
/**
|
|
10327
10441
|
* CSS style to apply to header of native HTML <table> (which is a TR)
|
|
10328
10442
|
*/
|
|
10329
|
-
tableHeaderStyle?: string | any[] |
|
|
10443
|
+
tableHeaderStyle?: string | any[] | any | undefined;
|
|
10330
10444
|
/**
|
|
10331
10445
|
* CSS classes to apply to header of native HTML <table> (which is a TR)
|
|
10332
10446
|
*/
|
|
10333
|
-
tableHeaderClass?: string | any[] |
|
|
10447
|
+
tableHeaderClass?: string | any[] | any | undefined;
|
|
10334
10448
|
/**
|
|
10335
10449
|
* CSS style to apply to the cards container (when in grid mode)
|
|
10336
10450
|
*/
|
|
10337
|
-
cardContainerStyle?: string | any[] |
|
|
10451
|
+
cardContainerStyle?: string | any[] | any | undefined;
|
|
10338
10452
|
/**
|
|
10339
10453
|
* CSS classes to apply to the cards container (when in grid mode)
|
|
10340
10454
|
*/
|
|
10341
|
-
cardContainerClass?: string | any[] |
|
|
10455
|
+
cardContainerClass?: string | any[] | any | undefined;
|
|
10342
10456
|
/**
|
|
10343
10457
|
* CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)
|
|
10344
10458
|
*/
|
|
10345
|
-
cardStyle?: string | any[] |
|
|
10459
|
+
cardStyle?: string | any[] | any | undefined;
|
|
10346
10460
|
/**
|
|
10347
10461
|
* CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)
|
|
10348
10462
|
*/
|
|
10349
|
-
cardClass?: string | any[] |
|
|
10463
|
+
cardClass?: string | any[] | any | undefined;
|
|
10350
10464
|
/**
|
|
10351
10465
|
* CSS classes to apply to the title (if using 'title' prop)
|
|
10352
10466
|
*/
|
|
10353
|
-
titleClass?: string | any[] |
|
|
10467
|
+
titleClass?: string | any[] | any | undefined;
|
|
10354
10468
|
/**
|
|
10355
10469
|
* 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
10470
|
*/
|
|
10357
|
-
filter?: string |
|
|
10471
|
+
filter?: string | any | undefined;
|
|
10358
10472
|
/**
|
|
10359
10473
|
* The actual filtering mechanism; For best performance, reference it from your scope and do not define it inline
|
|
10360
10474
|
* Default value: (see source code)
|
|
@@ -10367,9 +10481,9 @@ export interface QTableProps {
|
|
|
10367
10481
|
filterMethod?:
|
|
10368
10482
|
| ((
|
|
10369
10483
|
rows: any[],
|
|
10370
|
-
terms: string |
|
|
10484
|
+
terms: string | any,
|
|
10371
10485
|
cols: any[],
|
|
10372
|
-
getCellValue: (col:
|
|
10486
|
+
getCellValue: (col: any, row: any) => any
|
|
10373
10487
|
) => any[])
|
|
10374
10488
|
| undefined;
|
|
10375
10489
|
/**
|
|
@@ -10436,33 +10550,21 @@ export interface QTableProps {
|
|
|
10436
10550
|
* @param row The row upon which user has clicked/tapped
|
|
10437
10551
|
* @param index Index of the row in the current page
|
|
10438
10552
|
*/
|
|
10439
|
-
onRowClick?: (
|
|
10440
|
-
evt: LooseDictionary,
|
|
10441
|
-
row: LooseDictionary,
|
|
10442
|
-
index: number
|
|
10443
|
-
) => void;
|
|
10553
|
+
onRowClick?: (evt: any, row: any, index: number) => void;
|
|
10444
10554
|
/**
|
|
10445
10555
|
* 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
10556
|
* @param evt JS event object
|
|
10447
10557
|
* @param row The row upon which user has double clicked/tapped
|
|
10448
10558
|
* @param index Index of the row in the current page
|
|
10449
10559
|
*/
|
|
10450
|
-
onRowDblclick?: (
|
|
10451
|
-
evt: LooseDictionary,
|
|
10452
|
-
row: LooseDictionary,
|
|
10453
|
-
index: number
|
|
10454
|
-
) => void;
|
|
10560
|
+
onRowDblclick?: (evt: any, row: any, index: number) => void;
|
|
10455
10561
|
/**
|
|
10456
10562
|
* Emitted when user right clicks/long taps on a row; Is not emitted when using body/row/item scoped slots
|
|
10457
10563
|
* @param evt JS event object
|
|
10458
10564
|
* @param row The row upon which user has right clicked/long tapped
|
|
10459
10565
|
* @param index Index of the row in the current page
|
|
10460
10566
|
*/
|
|
10461
|
-
onRowContextmenu?: (
|
|
10462
|
-
evt: LooseDictionary,
|
|
10463
|
-
row: LooseDictionary,
|
|
10464
|
-
index: number
|
|
10465
|
-
) => void;
|
|
10567
|
+
onRowContextmenu?: (evt: any, row: any, index: number) => void;
|
|
10466
10568
|
/**
|
|
10467
10569
|
* Emitted when a server request is triggered
|
|
10468
10570
|
* @param requestProp Props of the request
|
|
@@ -10499,9 +10601,9 @@ export interface QTableProps {
|
|
|
10499
10601
|
*/
|
|
10500
10602
|
filter: (
|
|
10501
10603
|
rows: any[],
|
|
10502
|
-
terms: string |
|
|
10604
|
+
terms: string | any,
|
|
10503
10605
|
cols?: any[],
|
|
10504
|
-
getCellValue?: (col:
|
|
10606
|
+
getCellValue?: (col: any, row: any) => any
|
|
10505
10607
|
) => any[];
|
|
10506
10608
|
/**
|
|
10507
10609
|
* Function to get a cell value
|
|
@@ -10509,7 +10611,7 @@ export interface QTableProps {
|
|
|
10509
10611
|
* @param row The row object
|
|
10510
10612
|
* @returns Parsed/Processed cell value
|
|
10511
10613
|
*/
|
|
10512
|
-
getCellValue: (col:
|
|
10614
|
+
getCellValue: (col: any, row: any) => any;
|
|
10513
10615
|
}) => void;
|
|
10514
10616
|
/**
|
|
10515
10617
|
* Emitted when user selects/unselects row(s)
|
|
@@ -10531,7 +10633,7 @@ export interface QTableProps {
|
|
|
10531
10633
|
/**
|
|
10532
10634
|
* JS event object
|
|
10533
10635
|
*/
|
|
10534
|
-
evt:
|
|
10636
|
+
evt: any;
|
|
10535
10637
|
}) => void;
|
|
10536
10638
|
/**
|
|
10537
10639
|
* Used by Vue on 'v-model:pagination' for updating its value
|
|
@@ -10610,7 +10712,7 @@ export interface QTableSlots {
|
|
|
10610
10712
|
/**
|
|
10611
10713
|
* Row/Item object
|
|
10612
10714
|
*/
|
|
10613
|
-
row:
|
|
10715
|
+
row: any;
|
|
10614
10716
|
/**
|
|
10615
10717
|
* Row/Item's index (0 based) in the filtered and sorted table
|
|
10616
10718
|
*/
|
|
@@ -10622,16 +10724,16 @@ export interface QTableSlots {
|
|
|
10622
10724
|
/**
|
|
10623
10725
|
* Column definitions
|
|
10624
10726
|
*/
|
|
10625
|
-
cols:
|
|
10727
|
+
cols: any;
|
|
10626
10728
|
/**
|
|
10627
10729
|
* Column mapping (key is column name, value is column object)
|
|
10628
10730
|
*/
|
|
10629
|
-
colsMap:
|
|
10731
|
+
colsMap: any;
|
|
10630
10732
|
/**
|
|
10631
10733
|
* Trigger a table sort
|
|
10632
10734
|
* @param col Column name or column definition object
|
|
10633
10735
|
*/
|
|
10634
|
-
sort: (col: string |
|
|
10736
|
+
sort: (col: string | any) => void;
|
|
10635
10737
|
/**
|
|
10636
10738
|
* (Only if using selection) Is row/item selected? Can directly be assigned new Boolean value which changes selection state
|
|
10637
10739
|
*/
|
|
@@ -10665,7 +10767,7 @@ export interface QTableSlots {
|
|
|
10665
10767
|
/**
|
|
10666
10768
|
* Row object
|
|
10667
10769
|
*/
|
|
10668
|
-
row:
|
|
10770
|
+
row: any;
|
|
10669
10771
|
/**
|
|
10670
10772
|
* Row's index (0 based) in the filtered and sorted table
|
|
10671
10773
|
*/
|
|
@@ -10677,16 +10779,16 @@ export interface QTableSlots {
|
|
|
10677
10779
|
/**
|
|
10678
10780
|
* Column definitions
|
|
10679
10781
|
*/
|
|
10680
|
-
cols:
|
|
10782
|
+
cols: any;
|
|
10681
10783
|
/**
|
|
10682
10784
|
* Column mapping (key is column name, value is column object)
|
|
10683
10785
|
*/
|
|
10684
|
-
colsMap:
|
|
10786
|
+
colsMap: any;
|
|
10685
10787
|
/**
|
|
10686
10788
|
* Trigger a table sort
|
|
10687
10789
|
* @param col Column name or column definition object
|
|
10688
10790
|
*/
|
|
10689
|
-
sort: (col: string |
|
|
10791
|
+
sort: (col: string | any) => void;
|
|
10690
10792
|
/**
|
|
10691
10793
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10692
10794
|
*/
|
|
@@ -10720,7 +10822,7 @@ export interface QTableSlots {
|
|
|
10720
10822
|
/**
|
|
10721
10823
|
* Column definition for column associated with table cell
|
|
10722
10824
|
*/
|
|
10723
|
-
col:
|
|
10825
|
+
col: any;
|
|
10724
10826
|
/**
|
|
10725
10827
|
* Parsed/Formatted value of table cell
|
|
10726
10828
|
*/
|
|
@@ -10732,7 +10834,7 @@ export interface QTableSlots {
|
|
|
10732
10834
|
/**
|
|
10733
10835
|
* Row object
|
|
10734
10836
|
*/
|
|
10735
|
-
row:
|
|
10837
|
+
row: any;
|
|
10736
10838
|
/**
|
|
10737
10839
|
* Row's index (0 based) in the filtered and sorted table
|
|
10738
10840
|
*/
|
|
@@ -10744,16 +10846,16 @@ export interface QTableSlots {
|
|
|
10744
10846
|
/**
|
|
10745
10847
|
* Column definitions
|
|
10746
10848
|
*/
|
|
10747
|
-
cols:
|
|
10849
|
+
cols: any;
|
|
10748
10850
|
/**
|
|
10749
10851
|
* Column mapping (key is column name, value is column object)
|
|
10750
10852
|
*/
|
|
10751
|
-
colsMap:
|
|
10853
|
+
colsMap: any;
|
|
10752
10854
|
/**
|
|
10753
10855
|
* Trigger a table sort
|
|
10754
10856
|
* @param col Column name or column definition object
|
|
10755
10857
|
*/
|
|
10756
|
-
sort: (col: string |
|
|
10858
|
+
sort: (col: string | any) => void;
|
|
10757
10859
|
/**
|
|
10758
10860
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10759
10861
|
*/
|
|
@@ -10783,7 +10885,7 @@ export interface QTableSlots {
|
|
|
10783
10885
|
/**
|
|
10784
10886
|
* Column definition for column associated with table cell
|
|
10785
10887
|
*/
|
|
10786
|
-
col:
|
|
10888
|
+
col: any;
|
|
10787
10889
|
/**
|
|
10788
10890
|
* Parsed/Formatted value of table cell
|
|
10789
10891
|
*/
|
|
@@ -10795,7 +10897,7 @@ export interface QTableSlots {
|
|
|
10795
10897
|
/**
|
|
10796
10898
|
* Row object
|
|
10797
10899
|
*/
|
|
10798
|
-
row:
|
|
10900
|
+
row: any;
|
|
10799
10901
|
/**
|
|
10800
10902
|
* Row's index (0 based) in the filtered and sorted table
|
|
10801
10903
|
*/
|
|
@@ -10807,16 +10909,16 @@ export interface QTableSlots {
|
|
|
10807
10909
|
/**
|
|
10808
10910
|
* Column definitions
|
|
10809
10911
|
*/
|
|
10810
|
-
cols:
|
|
10912
|
+
cols: any;
|
|
10811
10913
|
/**
|
|
10812
10914
|
* Column mapping (key is column name, value is column object)
|
|
10813
10915
|
*/
|
|
10814
|
-
colsMap:
|
|
10916
|
+
colsMap: any;
|
|
10815
10917
|
/**
|
|
10816
10918
|
* Trigger a table sort
|
|
10817
10919
|
* @param col Column name or column definition object
|
|
10818
10920
|
*/
|
|
10819
|
-
sort: (col: string |
|
|
10921
|
+
sort: (col: string | any) => void;
|
|
10820
10922
|
/**
|
|
10821
10923
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10822
10924
|
*/
|
|
@@ -10846,16 +10948,16 @@ export interface QTableSlots {
|
|
|
10846
10948
|
/**
|
|
10847
10949
|
* Column definitions
|
|
10848
10950
|
*/
|
|
10849
|
-
cols:
|
|
10951
|
+
cols: any;
|
|
10850
10952
|
/**
|
|
10851
10953
|
* Column mapping (key is column name, value is column object)
|
|
10852
10954
|
*/
|
|
10853
|
-
colsMap:
|
|
10955
|
+
colsMap: any;
|
|
10854
10956
|
/**
|
|
10855
10957
|
* Trigger a table sort
|
|
10856
10958
|
* @param col Column name or column definition object
|
|
10857
10959
|
*/
|
|
10858
|
-
sort: (col: string |
|
|
10960
|
+
sort: (col: string | any) => void;
|
|
10859
10961
|
/**
|
|
10860
10962
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10861
10963
|
*/
|
|
@@ -10893,20 +10995,20 @@ export interface QTableSlots {
|
|
|
10893
10995
|
/**
|
|
10894
10996
|
* Column definition associated to header cell
|
|
10895
10997
|
*/
|
|
10896
|
-
col:
|
|
10998
|
+
col: any;
|
|
10897
10999
|
/**
|
|
10898
11000
|
* Column definitions
|
|
10899
11001
|
*/
|
|
10900
|
-
cols:
|
|
11002
|
+
cols: any;
|
|
10901
11003
|
/**
|
|
10902
11004
|
* Column mapping (key is column name, value is column object)
|
|
10903
11005
|
*/
|
|
10904
|
-
colsMap:
|
|
11006
|
+
colsMap: any;
|
|
10905
11007
|
/**
|
|
10906
11008
|
* Trigger a table sort
|
|
10907
11009
|
* @param col Column name or column definition object
|
|
10908
11010
|
*/
|
|
10909
|
-
sort: (col: string |
|
|
11011
|
+
sort: (col: string | any) => void;
|
|
10910
11012
|
/**
|
|
10911
11013
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10912
11014
|
*/
|
|
@@ -10936,20 +11038,20 @@ export interface QTableSlots {
|
|
|
10936
11038
|
/**
|
|
10937
11039
|
* Column definition associated to header cell
|
|
10938
11040
|
*/
|
|
10939
|
-
col:
|
|
11041
|
+
col: any;
|
|
10940
11042
|
/**
|
|
10941
11043
|
* Column definitions
|
|
10942
11044
|
*/
|
|
10943
|
-
cols:
|
|
11045
|
+
cols: any;
|
|
10944
11046
|
/**
|
|
10945
11047
|
* Column mapping (key is column name, value is column object)
|
|
10946
11048
|
*/
|
|
10947
|
-
colsMap:
|
|
11049
|
+
colsMap: any;
|
|
10948
11050
|
/**
|
|
10949
11051
|
* Trigger a table sort
|
|
10950
11052
|
* @param col Column name or column definition object
|
|
10951
11053
|
*/
|
|
10952
|
-
sort: (col: string |
|
|
11054
|
+
sort: (col: string | any) => void;
|
|
10953
11055
|
/**
|
|
10954
11056
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
10955
11057
|
*/
|
|
@@ -10983,7 +11085,7 @@ export interface QTableSlots {
|
|
|
10983
11085
|
/**
|
|
10984
11086
|
* Row object
|
|
10985
11087
|
*/
|
|
10986
|
-
row:
|
|
11088
|
+
row: any;
|
|
10987
11089
|
/**
|
|
10988
11090
|
* Row's index (0 based) in the filtered and sorted table
|
|
10989
11091
|
*/
|
|
@@ -10995,16 +11097,16 @@ export interface QTableSlots {
|
|
|
10995
11097
|
/**
|
|
10996
11098
|
* Column definitions
|
|
10997
11099
|
*/
|
|
10998
|
-
cols:
|
|
11100
|
+
cols: any;
|
|
10999
11101
|
/**
|
|
11000
11102
|
* Column mapping (key is column name, value is column object)
|
|
11001
11103
|
*/
|
|
11002
|
-
colsMap:
|
|
11104
|
+
colsMap: any;
|
|
11003
11105
|
/**
|
|
11004
11106
|
* Trigger a table sort
|
|
11005
11107
|
* @param col Column name or column definition object
|
|
11006
11108
|
*/
|
|
11007
|
-
sort: (col: string |
|
|
11109
|
+
sort: (col: string | any) => void;
|
|
11008
11110
|
/**
|
|
11009
11111
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
11010
11112
|
*/
|
|
@@ -11034,16 +11136,16 @@ export interface QTableSlots {
|
|
|
11034
11136
|
/**
|
|
11035
11137
|
* Column definitions
|
|
11036
11138
|
*/
|
|
11037
|
-
cols:
|
|
11139
|
+
cols: any;
|
|
11038
11140
|
/**
|
|
11039
11141
|
* Column mapping (key is column name, value is column object)
|
|
11040
11142
|
*/
|
|
11041
|
-
colsMap:
|
|
11143
|
+
colsMap: any;
|
|
11042
11144
|
/**
|
|
11043
11145
|
* Trigger a table sort
|
|
11044
11146
|
* @param col Column name or column definition object
|
|
11045
11147
|
*/
|
|
11046
|
-
sort: (col: string |
|
|
11148
|
+
sort: (col: string | any) => void;
|
|
11047
11149
|
/**
|
|
11048
11150
|
* (Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state
|
|
11049
11151
|
*/
|
|
@@ -11073,7 +11175,7 @@ export interface QTableSlots {
|
|
|
11073
11175
|
/**
|
|
11074
11176
|
* Column definitions
|
|
11075
11177
|
*/
|
|
11076
|
-
cols:
|
|
11178
|
+
cols: any;
|
|
11077
11179
|
}) => VNode[];
|
|
11078
11180
|
/**
|
|
11079
11181
|
* Slot to define how bottom extra row looks like
|
|
@@ -11083,7 +11185,7 @@ export interface QTableSlots {
|
|
|
11083
11185
|
/**
|
|
11084
11186
|
* Column definitions
|
|
11085
11187
|
*/
|
|
11086
|
-
cols:
|
|
11188
|
+
cols: any;
|
|
11087
11189
|
}) => VNode[];
|
|
11088
11190
|
/**
|
|
11089
11191
|
* Slot to define how table top looks like
|
|
@@ -11528,9 +11630,9 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
|
|
|
11528
11630
|
*/
|
|
11529
11631
|
filter?: (
|
|
11530
11632
|
rows: any[],
|
|
11531
|
-
terms: string |
|
|
11633
|
+
terms: string | any,
|
|
11532
11634
|
cols?: any[],
|
|
11533
|
-
getCellValue?: (col?:
|
|
11635
|
+
getCellValue?: (col?: any, row?: any) => any
|
|
11534
11636
|
) => any[];
|
|
11535
11637
|
}) => void;
|
|
11536
11638
|
/**
|
|
@@ -11600,7 +11702,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
|
|
|
11600
11702
|
* Trigger a table sort
|
|
11601
11703
|
* @param col Column name or column definition object
|
|
11602
11704
|
*/
|
|
11603
|
-
sort: (col: string |
|
|
11705
|
+
sort: (col: string | any) => void;
|
|
11604
11706
|
/**
|
|
11605
11707
|
* Resets the virtual scroll (if using it) computations; Needed for custom edge-cases
|
|
11606
11708
|
*/
|
|
@@ -11626,7 +11728,7 @@ export interface QTdProps {
|
|
|
11626
11728
|
/**
|
|
11627
11729
|
* QTable's column scoped slot property
|
|
11628
11730
|
*/
|
|
11629
|
-
props?:
|
|
11731
|
+
props?: any | undefined;
|
|
11630
11732
|
/**
|
|
11631
11733
|
* Tries to shrink column width size; Useful for columns with a checkbox/radio/toggle
|
|
11632
11734
|
*/
|
|
@@ -11650,7 +11752,7 @@ export interface QThProps {
|
|
|
11650
11752
|
/**
|
|
11651
11753
|
* QTable's header column scoped slot property
|
|
11652
11754
|
*/
|
|
11653
|
-
props?:
|
|
11755
|
+
props?: any | undefined;
|
|
11654
11756
|
/**
|
|
11655
11757
|
* Tries to shrink header column width size; Useful for columns with a checkbox/radio/toggle
|
|
11656
11758
|
*/
|
|
@@ -11670,7 +11772,7 @@ export interface QTrProps {
|
|
|
11670
11772
|
/**
|
|
11671
11773
|
* QTable's row scoped slot property
|
|
11672
11774
|
*/
|
|
11673
|
-
props?:
|
|
11775
|
+
props?: any | undefined;
|
|
11674
11776
|
/**
|
|
11675
11777
|
* Disable hover effect
|
|
11676
11778
|
*/
|
|
@@ -11690,7 +11792,7 @@ export interface QRouteTabProps {
|
|
|
11690
11792
|
/**
|
|
11691
11793
|
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
11692
11794
|
*/
|
|
11693
|
-
to?: string |
|
|
11795
|
+
to?: string | any | undefined;
|
|
11694
11796
|
/**
|
|
11695
11797
|
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
11696
11798
|
*/
|
|
@@ -11752,7 +11854,7 @@ export interface QRouteTabProps {
|
|
|
11752
11854
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
11753
11855
|
* Default value: true
|
|
11754
11856
|
*/
|
|
11755
|
-
ripple?: boolean |
|
|
11857
|
+
ripple?: boolean | any | undefined;
|
|
11756
11858
|
/**
|
|
11757
11859
|
* Tabindex HTML attribute value
|
|
11758
11860
|
*/
|
|
@@ -11762,7 +11864,7 @@ export interface QRouteTabProps {
|
|
|
11762
11864
|
* @param evt JS event object; If you want to cancel navigation set synchronously 'evt.navigate' to false
|
|
11763
11865
|
* @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
11866
|
*/
|
|
11765
|
-
onClick?: (evt:
|
|
11867
|
+
onClick?: (evt: any, navigateFn: () => void) => void;
|
|
11766
11868
|
}
|
|
11767
11869
|
|
|
11768
11870
|
export interface QRouteTabSlots {
|
|
@@ -11808,7 +11910,7 @@ export interface QTabProps {
|
|
|
11808
11910
|
* Configure material ripple (disable it by setting it to 'false' or supply a config object)
|
|
11809
11911
|
* Default value: true
|
|
11810
11912
|
*/
|
|
11811
|
-
ripple?: boolean |
|
|
11913
|
+
ripple?: boolean | any | undefined;
|
|
11812
11914
|
/**
|
|
11813
11915
|
* Tabindex HTML attribute value
|
|
11814
11916
|
*/
|
|
@@ -12285,7 +12387,7 @@ export interface QToggleProps {
|
|
|
12285
12387
|
* @param value New model value
|
|
12286
12388
|
* @param evt JS event object
|
|
12287
12389
|
*/
|
|
12288
|
-
"onUpdate:modelValue"?: (value: any, evt:
|
|
12390
|
+
"onUpdate:modelValue"?: (value: any, evt: any) => void;
|
|
12289
12391
|
}
|
|
12290
12392
|
|
|
12291
12393
|
export interface QToggleSlots {
|
|
@@ -12440,22 +12542,22 @@ export interface QTooltipProps {
|
|
|
12440
12542
|
* Emitted after component has triggered show()
|
|
12441
12543
|
* @param evt JS event object
|
|
12442
12544
|
*/
|
|
12443
|
-
onShow?: (evt:
|
|
12545
|
+
onShow?: (evt: any) => void;
|
|
12444
12546
|
/**
|
|
12445
12547
|
* Emitted when component triggers show() but before it finishes doing it
|
|
12446
12548
|
* @param evt JS event object
|
|
12447
12549
|
*/
|
|
12448
|
-
onBeforeShow?: (evt:
|
|
12550
|
+
onBeforeShow?: (evt: any) => void;
|
|
12449
12551
|
/**
|
|
12450
12552
|
* Emitted after component has triggered hide()
|
|
12451
12553
|
* @param evt JS event object
|
|
12452
12554
|
*/
|
|
12453
|
-
onHide?: (evt:
|
|
12555
|
+
onHide?: (evt: any) => void;
|
|
12454
12556
|
/**
|
|
12455
12557
|
* Emitted when component triggers hide() but before it finishes doing it
|
|
12456
12558
|
* @param evt JS event object
|
|
12457
12559
|
*/
|
|
12458
|
-
onBeforeHide?: (evt:
|
|
12560
|
+
onBeforeHide?: (evt: any) => void;
|
|
12459
12561
|
}
|
|
12460
12562
|
|
|
12461
12563
|
export interface QTooltipSlots {
|
|
@@ -12470,17 +12572,17 @@ export interface QTooltip extends ComponentPublicInstance<QTooltipProps> {
|
|
|
12470
12572
|
* Triggers component to show
|
|
12471
12573
|
* @param evt JS event object
|
|
12472
12574
|
*/
|
|
12473
|
-
show: (evt?:
|
|
12575
|
+
show: (evt?: any) => void;
|
|
12474
12576
|
/**
|
|
12475
12577
|
* Triggers component to hide
|
|
12476
12578
|
* @param evt JS event object
|
|
12477
12579
|
*/
|
|
12478
|
-
hide: (evt?:
|
|
12580
|
+
hide: (evt?: any) => void;
|
|
12479
12581
|
/**
|
|
12480
12582
|
* Triggers component to toggle between show/hide
|
|
12481
12583
|
* @param evt JS event object
|
|
12482
12584
|
*/
|
|
12483
|
-
toggle: (evt?:
|
|
12585
|
+
toggle: (evt?: any) => void;
|
|
12484
12586
|
/**
|
|
12485
12587
|
* 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
12588
|
*/
|
|
@@ -12491,7 +12593,7 @@ export interface QTreeProps {
|
|
|
12491
12593
|
/**
|
|
12492
12594
|
* The array of nodes that designates the tree structure
|
|
12493
12595
|
*/
|
|
12494
|
-
nodes:
|
|
12596
|
+
nodes: QTreeNode[];
|
|
12495
12597
|
/**
|
|
12496
12598
|
* The property name of each node object that holds a unique node id
|
|
12497
12599
|
*/
|
|
@@ -12555,6 +12657,10 @@ export interface QTreeProps {
|
|
|
12555
12657
|
* Key of node currently selected
|
|
12556
12658
|
*/
|
|
12557
12659
|
selected?: any | undefined;
|
|
12660
|
+
/**
|
|
12661
|
+
* Do not allow un-selection when clicking currently selected node
|
|
12662
|
+
*/
|
|
12663
|
+
noSelectionUnset?: boolean | undefined;
|
|
12558
12664
|
/**
|
|
12559
12665
|
* Allow the tree to have all its branches expanded, when first rendered
|
|
12560
12666
|
*/
|
|
@@ -12574,9 +12680,7 @@ export interface QTreeProps {
|
|
|
12574
12680
|
* @param filter Filter text to match against
|
|
12575
12681
|
* @returns Matches or not
|
|
12576
12682
|
*/
|
|
12577
|
-
filterMethod?:
|
|
12578
|
-
| ((node: LooseDictionary, filter: string) => boolean)
|
|
12579
|
-
| undefined;
|
|
12683
|
+
filterMethod?: ((node: any, filter: string) => boolean) | undefined;
|
|
12580
12684
|
/**
|
|
12581
12685
|
* Toggle animation duration (in milliseconds)
|
|
12582
12686
|
* Default value: 300
|
|
@@ -12603,7 +12707,7 @@ export interface QTreeProps {
|
|
|
12603
12707
|
/**
|
|
12604
12708
|
* The node to which the new nodes (the children) will be appended
|
|
12605
12709
|
*/
|
|
12606
|
-
node:
|
|
12710
|
+
node: any;
|
|
12607
12711
|
/**
|
|
12608
12712
|
* The key of the node getting the newly loaded child nodes
|
|
12609
12713
|
*/
|
|
@@ -12659,7 +12763,7 @@ export interface QTreeSlots {
|
|
|
12659
12763
|
/**
|
|
12660
12764
|
* Node object
|
|
12661
12765
|
*/
|
|
12662
|
-
node:
|
|
12766
|
+
node: any;
|
|
12663
12767
|
/**
|
|
12664
12768
|
* Node's key
|
|
12665
12769
|
*/
|
|
@@ -12693,7 +12797,7 @@ export interface QTreeSlots {
|
|
|
12693
12797
|
/**
|
|
12694
12798
|
* Node object
|
|
12695
12799
|
*/
|
|
12696
|
-
node:
|
|
12800
|
+
node: any;
|
|
12697
12801
|
/**
|
|
12698
12802
|
* Node's key
|
|
12699
12803
|
*/
|
|
@@ -12727,7 +12831,7 @@ export interface QTreeSlots {
|
|
|
12727
12831
|
/**
|
|
12728
12832
|
* Node object
|
|
12729
12833
|
*/
|
|
12730
|
-
node:
|
|
12834
|
+
node: any;
|
|
12731
12835
|
/**
|
|
12732
12836
|
* Node's key
|
|
12733
12837
|
*/
|
|
@@ -12761,7 +12865,7 @@ export interface QTreeSlots {
|
|
|
12761
12865
|
/**
|
|
12762
12866
|
* Node object
|
|
12763
12867
|
*/
|
|
12764
|
-
node:
|
|
12868
|
+
node: any;
|
|
12765
12869
|
/**
|
|
12766
12870
|
* Node's key
|
|
12767
12871
|
*/
|
|
@@ -12783,7 +12887,7 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
|
|
|
12783
12887
|
* @param key The key of a node
|
|
12784
12888
|
* @returns Requested node
|
|
12785
12889
|
*/
|
|
12786
|
-
getNodeByKey: (key: any) =>
|
|
12890
|
+
getNodeByKey: (key: any) => any;
|
|
12787
12891
|
/**
|
|
12788
12892
|
* Get array of nodes that are ticked
|
|
12789
12893
|
* @returns Ticked node objects
|
|
@@ -12834,7 +12938,7 @@ export interface QUploaderProps {
|
|
|
12834
12938
|
* @param files Uploaded files
|
|
12835
12939
|
* @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
12940
|
*/
|
|
12837
|
-
factory?:
|
|
12941
|
+
factory?: QUploaderFactoryFn | undefined;
|
|
12838
12942
|
/**
|
|
12839
12943
|
* 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
12944
|
* @param files Uploaded files
|
|
@@ -12858,7 +12962,7 @@ export interface QUploaderProps {
|
|
|
12858
12962
|
/**
|
|
12859
12963
|
* 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
12964
|
* @param files Uploaded files
|
|
12861
|
-
* @returns An array
|
|
12965
|
+
* @returns An array consisting of objects with header definitions
|
|
12862
12966
|
*/
|
|
12863
12967
|
headers?:
|
|
12864
12968
|
| {
|
|
@@ -12999,7 +13103,7 @@ export interface QUploaderProps {
|
|
|
12999
13103
|
/**
|
|
13000
13104
|
* XMLHttpRequest that has been used to upload this batch of files
|
|
13001
13105
|
*/
|
|
13002
|
-
xhr:
|
|
13106
|
+
xhr: any;
|
|
13003
13107
|
}) => void;
|
|
13004
13108
|
/**
|
|
13005
13109
|
* Emitted when file or batch of files has encountered error while uploading
|
|
@@ -13013,7 +13117,7 @@ export interface QUploaderProps {
|
|
|
13013
13117
|
/**
|
|
13014
13118
|
* XMLHttpRequest that has been used to upload this batch of files
|
|
13015
13119
|
*/
|
|
13016
|
-
xhr:
|
|
13120
|
+
xhr: any;
|
|
13017
13121
|
}) => void;
|
|
13018
13122
|
/**
|
|
13019
13123
|
* Emitted when file or batch of files started uploading
|
|
@@ -13027,7 +13131,7 @@ export interface QUploaderProps {
|
|
|
13027
13131
|
/**
|
|
13028
13132
|
* XMLHttpRequest used for uploading
|
|
13029
13133
|
*/
|
|
13030
|
-
xhr:
|
|
13134
|
+
xhr: any;
|
|
13031
13135
|
}) => void;
|
|
13032
13136
|
/**
|
|
13033
13137
|
* Emitted when factory function is supplied with a Promise which is rejected
|
|
@@ -13039,7 +13143,7 @@ export interface QUploaderProps {
|
|
|
13039
13143
|
* Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
|
|
13040
13144
|
* @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
|
|
13041
13145
|
*/
|
|
13042
|
-
onRejected?: (rejectedEntries:
|
|
13146
|
+
onRejected?: (rejectedEntries: QRejectedEntry[]) => void;
|
|
13043
13147
|
/**
|
|
13044
13148
|
* Emitted when files are added into the list
|
|
13045
13149
|
* @param files Array of files that were added
|
|
@@ -13078,7 +13182,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
|
13078
13182
|
* Trigger file pick; Must be called as a direct consequence of user interaction (eg. in a click handler), due to browsers security policy
|
|
13079
13183
|
* @param evt JS event object
|
|
13080
13184
|
*/
|
|
13081
|
-
pickFiles: (evt?:
|
|
13185
|
+
pickFiles: (evt?: any) => void;
|
|
13082
13186
|
/**
|
|
13083
13187
|
* Add files programmatically
|
|
13084
13188
|
* @param files Array of files (instances of File)
|
|
@@ -13108,7 +13212,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
|
13108
13212
|
* Remove specified file from the queue
|
|
13109
13213
|
* @param file File to remove (instance of File)
|
|
13110
13214
|
*/
|
|
13111
|
-
removeFile: (file:
|
|
13215
|
+
removeFile: (file: any) => void;
|
|
13112
13216
|
}
|
|
13113
13217
|
|
|
13114
13218
|
export interface QUploaderAddTriggerProps {}
|
|
@@ -13312,7 +13416,7 @@ export interface DialogChainObject {
|
|
|
13312
13416
|
* @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
13417
|
* @returns Chained Object
|
|
13314
13418
|
*/
|
|
13315
|
-
update: (opts:
|
|
13419
|
+
update: (opts: any) => DialogChainObject;
|
|
13316
13420
|
}
|
|
13317
13421
|
|
|
13318
13422
|
import { CookiesGetMethodType } from "./api";
|
|
@@ -13320,11 +13424,11 @@ export interface QDialogOptions {
|
|
|
13320
13424
|
/**
|
|
13321
13425
|
* CSS Class name to apply to the Dialog's QCard
|
|
13322
13426
|
*/
|
|
13323
|
-
class?: string | any[] |
|
|
13427
|
+
class?: string | any[] | any;
|
|
13324
13428
|
/**
|
|
13325
13429
|
* CSS style to apply to the Dialog's QCard
|
|
13326
13430
|
*/
|
|
13327
|
-
style?: string | any[] |
|
|
13431
|
+
style?: string | any[] | any;
|
|
13328
13432
|
/**
|
|
13329
13433
|
* A text for the heading title of the dialog
|
|
13330
13434
|
*/
|
|
@@ -13364,7 +13468,7 @@ export interface QDialogOptions {
|
|
|
13364
13468
|
/**
|
|
13365
13469
|
* Attributes to pass to prompt control
|
|
13366
13470
|
*/
|
|
13367
|
-
attrs?:
|
|
13471
|
+
attrs?: any;
|
|
13368
13472
|
/**
|
|
13369
13473
|
* A text label that will “float” up above the input field, once the field gets focus
|
|
13370
13474
|
*/
|
|
@@ -13539,7 +13643,7 @@ export interface QDialogOptions {
|
|
|
13539
13643
|
/**
|
|
13540
13644
|
* User defined props which will be forwarded to underlying custom component if 'component' prop is used
|
|
13541
13645
|
*/
|
|
13542
|
-
componentProps?:
|
|
13646
|
+
componentProps?: any;
|
|
13543
13647
|
}
|
|
13544
13648
|
|
|
13545
13649
|
import { WebStorageGetItemMethodType } from "./api";
|
|
@@ -13547,6 +13651,7 @@ import { WebStorageGetIndexMethodType } from "./api";
|
|
|
13547
13651
|
import { WebStorageGetKeyMethodType } from "./api";
|
|
13548
13652
|
import { WebStorageGetAllKeysMethodType } from "./api";
|
|
13549
13653
|
import { ValidationRule } from "./api";
|
|
13654
|
+
import { QRejectedEntry } from "./api";
|
|
13550
13655
|
export interface SliderMarkerLabels {
|
|
13551
13656
|
/**
|
|
13552
13657
|
* Value of equivalent model where to position the marker
|
|
@@ -13559,11 +13664,11 @@ export interface SliderMarkerLabels {
|
|
|
13559
13664
|
/**
|
|
13560
13665
|
* CSS classes to be attributed to the marker label
|
|
13561
13666
|
*/
|
|
13562
|
-
classes?: string | any[] |
|
|
13667
|
+
classes?: string | any[] | any;
|
|
13563
13668
|
/**
|
|
13564
13669
|
* Style definitions to be attributed to the marker label
|
|
13565
13670
|
*/
|
|
13566
|
-
style?:
|
|
13671
|
+
style?: any;
|
|
13567
13672
|
}
|
|
13568
13673
|
|
|
13569
13674
|
export interface SliderMarkerLabelConfig {
|
|
@@ -13586,7 +13691,7 @@ export interface SliderMarkerLabelConfig {
|
|
|
13586
13691
|
/**
|
|
13587
13692
|
* Style definitions to be attributed to the marker label
|
|
13588
13693
|
*/
|
|
13589
|
-
style?:
|
|
13694
|
+
style?: any;
|
|
13590
13695
|
}
|
|
13591
13696
|
|
|
13592
13697
|
export interface SliderMarkerLabelArrayConfig {
|
|
@@ -13609,7 +13714,7 @@ export interface SliderMarkerLabelArrayConfig {
|
|
|
13609
13714
|
/**
|
|
13610
13715
|
* Style definitions to be attributed to the marker label
|
|
13611
13716
|
*/
|
|
13612
|
-
style?:
|
|
13717
|
+
style?: any;
|
|
13613
13718
|
}
|
|
13614
13719
|
|
|
13615
13720
|
export interface SliderMarkerLabelObjectConfig {
|
|
@@ -13636,10 +13741,12 @@ export interface SliderMarkerLabelObjectConfig {
|
|
|
13636
13741
|
/**
|
|
13637
13742
|
* Style definitions to be attributed to the marker label
|
|
13638
13743
|
*/
|
|
13639
|
-
style?:
|
|
13744
|
+
style?: any;
|
|
13640
13745
|
};
|
|
13641
13746
|
}
|
|
13642
13747
|
|
|
13748
|
+
import { QTreeNode } from "./api";
|
|
13749
|
+
import { QUploaderFactoryFn } from "./api";
|
|
13643
13750
|
import { QVueGlobals, QSingletonGlobals } from "./globals";
|
|
13644
13751
|
declare module "./globals" {
|
|
13645
13752
|
export interface QVueGlobals {
|
|
@@ -13658,11 +13765,11 @@ declare module "./globals" {
|
|
|
13658
13765
|
/**
|
|
13659
13766
|
* CSS Class name to apply to the Dialog's QCard
|
|
13660
13767
|
*/
|
|
13661
|
-
class?: string | any[] |
|
|
13768
|
+
class?: string | any[] | any;
|
|
13662
13769
|
/**
|
|
13663
13770
|
* CSS style to apply to the Dialog's QCard
|
|
13664
13771
|
*/
|
|
13665
|
-
style?: string | any[] |
|
|
13772
|
+
style?: string | any[] | any;
|
|
13666
13773
|
/**
|
|
13667
13774
|
* Title
|
|
13668
13775
|
*/
|
|
@@ -13678,7 +13785,7 @@ declare module "./globals" {
|
|
|
13678
13785
|
/**
|
|
13679
13786
|
* CSS classes for this action
|
|
13680
13787
|
*/
|
|
13681
|
-
classes?: string | any[] |
|
|
13788
|
+
classes?: string | any[] | any;
|
|
13682
13789
|
/**
|
|
13683
13790
|
* Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
13684
13791
|
*/
|
|
@@ -13811,11 +13918,11 @@ declare module "./globals" {
|
|
|
13811
13918
|
/**
|
|
13812
13919
|
* Style definitions to be attributed to the badge
|
|
13813
13920
|
*/
|
|
13814
|
-
badgeStyle?: any[] | string |
|
|
13921
|
+
badgeStyle?: any[] | string | any;
|
|
13815
13922
|
/**
|
|
13816
13923
|
* Class definitions to be attributed to the badge
|
|
13817
13924
|
*/
|
|
13818
|
-
badgeClass?: any[] | string |
|
|
13925
|
+
badgeClass?: any[] | string | any;
|
|
13819
13926
|
/**
|
|
13820
13927
|
* Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
|
|
13821
13928
|
*/
|
|
@@ -13823,7 +13930,7 @@ declare module "./globals" {
|
|
|
13823
13930
|
/**
|
|
13824
13931
|
* Class definitions to be attributed to the progress bar
|
|
13825
13932
|
*/
|
|
13826
|
-
progressClass?: any[] | string |
|
|
13933
|
+
progressClass?: any[] | string | any;
|
|
13827
13934
|
/**
|
|
13828
13935
|
* Add CSS class(es) to the notification for easier customization
|
|
13829
13936
|
*/
|
|
@@ -13831,7 +13938,7 @@ declare module "./globals" {
|
|
|
13831
13938
|
/**
|
|
13832
13939
|
* Key-value for attributes to be set on the notification
|
|
13833
13940
|
*/
|
|
13834
|
-
attrs?:
|
|
13941
|
+
attrs?: any;
|
|
13835
13942
|
/**
|
|
13836
13943
|
* Amount of time to display (in milliseconds)
|
|
13837
13944
|
* Default value: 5000
|
|
@@ -13903,7 +14010,7 @@ declare module "./globals" {
|
|
|
13903
14010
|
/**
|
|
13904
14011
|
* Class definitions to be attributed to the progress bar
|
|
13905
14012
|
*/
|
|
13906
|
-
progressClass?: any[] | string |
|
|
14013
|
+
progressClass?: any[] | string | any;
|
|
13907
14014
|
/**
|
|
13908
14015
|
* Add CSS class(es) to the notification for easier customization
|
|
13909
14016
|
*/
|
|
@@ -13911,7 +14018,7 @@ declare module "./globals" {
|
|
|
13911
14018
|
/**
|
|
13912
14019
|
* Key-value for attributes to be set on the notification
|
|
13913
14020
|
*/
|
|
13914
|
-
attrs?:
|
|
14021
|
+
attrs?: any;
|
|
13915
14022
|
/**
|
|
13916
14023
|
* Amount of time to display (in milliseconds)
|
|
13917
14024
|
* Default value: 5000
|
|
@@ -14421,6 +14528,7 @@ declare module "./lang" {
|
|
|
14421
14528
|
lv: true;
|
|
14422
14529
|
ml: true;
|
|
14423
14530
|
ms: true;
|
|
14531
|
+
my: true;
|
|
14424
14532
|
"nb-NO": true;
|
|
14425
14533
|
nl: true;
|
|
14426
14534
|
pl: true;
|