quasar 2.12.2 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Dialog.json +4 -0
- package/dist/api/Loading.json +18 -0
- package/dist/api/LoadingBar.json +2 -2
- package/dist/api/Morph.json +1 -1
- package/dist/api/Notify.json +48 -2
- package/dist/api/QAjaxBar.json +2 -0
- package/dist/api/QAvatar.json +4 -0
- package/dist/api/QBadge.json +4 -0
- package/dist/api/QBreadcrumbs.json +4 -0
- package/dist/api/QBtn.json +4 -0
- package/dist/api/QBtnDropdown.json +4 -0
- package/dist/api/QBtnToggle.json +8 -0
- package/dist/api/QCarousel.json +4 -0
- package/dist/api/QChatMessage.json +4 -0
- package/dist/api/QCheckbox.json +2 -0
- package/dist/api/QChip.json +4 -0
- package/dist/api/QCircularProgress.json +6 -0
- package/dist/api/QDate.json +4 -0
- package/dist/api/QEditor.json +9 -0
- package/dist/api/QFab.json +4 -0
- package/dist/api/QFabAction.json +4 -0
- package/dist/api/QField.json +6 -0
- package/dist/api/QFile.json +6 -0
- package/dist/api/QIcon.json +2 -0
- package/dist/api/QImg.json +2 -0
- package/dist/api/QInnerLoading.json +2 -0
- package/dist/api/QInput.json +6 -0
- package/dist/api/QKnob.json +6 -0
- package/dist/api/QLinearProgress.json +4 -0
- package/dist/api/QOptionGroup.json +2 -0
- package/dist/api/QPagination.json +8 -0
- package/dist/api/QPopupEdit.json +2 -0
- package/dist/api/QPullToRefresh.json +4 -0
- package/dist/api/QRadio.json +2 -0
- package/dist/api/QRange.json +26 -0
- package/dist/api/QRating.json +6 -0
- package/dist/api/QSelect.json +6 -0
- package/dist/api/QSeparator.json +2 -0
- package/dist/api/QSlideItem.json +8 -0
- package/dist/api/QSlider.json +14 -0
- package/dist/api/QSpinner.json +2 -0
- package/dist/api/QSpinnerAudio.json +2 -0
- package/dist/api/QSpinnerBall.json +2 -0
- package/dist/api/QSpinnerBars.json +2 -0
- package/dist/api/QSpinnerBox.json +2 -0
- package/dist/api/QSpinnerClock.json +2 -0
- package/dist/api/QSpinnerComment.json +2 -0
- package/dist/api/QSpinnerCube.json +2 -0
- package/dist/api/QSpinnerDots.json +2 -0
- package/dist/api/QSpinnerFacebook.json +2 -0
- package/dist/api/QSpinnerGears.json +2 -0
- package/dist/api/QSpinnerGrid.json +2 -0
- package/dist/api/QSpinnerHearts.json +2 -0
- package/dist/api/QSpinnerHourglass.json +2 -0
- package/dist/api/QSpinnerInfinity.json +2 -0
- package/dist/api/QSpinnerIos.json +2 -0
- package/dist/api/QSpinnerOrbit.json +2 -0
- package/dist/api/QSpinnerOval.json +2 -0
- package/dist/api/QSpinnerPie.json +2 -0
- package/dist/api/QSpinnerPuff.json +2 -0
- package/dist/api/QSpinnerRadio.json +2 -0
- package/dist/api/QSpinnerRings.json +2 -0
- package/dist/api/QSpinnerTail.json +2 -0
- package/dist/api/QStep.json +8 -0
- package/dist/api/QStepper.json +8 -0
- package/dist/api/QTable.json +20 -0
- package/dist/api/QTabs.json +6 -0
- package/dist/api/QTime.json +4 -0
- package/dist/api/QTimeline.json +2 -0
- package/dist/api/QTimelineEntry.json +2 -0
- package/dist/api/QToggle.json +4 -0
- package/dist/api/QTree.json +8 -0
- package/dist/api/QUploader.json +4 -0
- package/dist/api/Scroll.json +6 -3
- package/dist/api/ScrollFire.json +6 -3
- package/dist/api/TouchHold.json +6 -3
- package/dist/api/TouchPan.json +6 -3
- package/dist/api/TouchRepeat.json +6 -3
- package/dist/api/TouchSwipe.json +6 -3
- 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/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.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/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.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/mdi-v7.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-fontawesome-v6.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-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.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-TN.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/eu.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/hi.umd.prod.js +6 -0
- 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/kk.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/mk.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.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/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.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 +5 -8
- package/dist/quasar.esm.js +20 -17
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +5 -8
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +5 -4
- package/dist/quasar.umd.js +20 -17
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/transforms/api-list.json +2 -2
- package/dist/types/api/color.d.ts +51 -0
- package/dist/types/api/qloadingbar.d.ts +1 -1
- package/dist/types/api.d.ts +1 -0
- package/dist/types/index.d.ts +1745 -264
- package/dist/types/utils/colors.d.ts +5 -3
- package/dist/types/utils/patterns.d.ts +10 -0
- package/dist/types/utils.d.ts +8 -3
- package/dist/web-types/web-types.json +151 -145
- package/lang/hi.js +98 -0
- package/lang/hi.mjs +93 -0
- package/lang/index.json +4 -0
- package/package.json +2 -2
- package/src/api.extends.json +4 -2
- package/src/components/editor/QEditor.json +6 -0
- package/src/components/input/__tests__/QInput.cy.js +707 -26
- package/src/components/input/__tests__/use-mask.cy.js +101 -6
- package/src/components/input/use-mask.js +4 -1
- package/src/components/select/QSelect.js +2 -2
- package/src/components/spinner/QSpinnerComment.js +1 -1
- package/src/components/spinner/QSpinnerCube.js +5 -5
- package/src/components/spinner/QSpinnerFacebook.js +3 -3
- package/src/components/spinner/QSpinnerHourglass.js +2 -2
- package/src/css/normalize.sass +5 -9
- package/src/directives/Morph.json +1 -1
- package/src/directives/Scroll.json +3 -3
- package/src/directives/ScrollFire.json +3 -3
- package/src/directives/TouchHold.json +3 -3
- package/src/directives/TouchPan.json +3 -3
- package/src/directives/TouchRepeat.json +3 -3
- package/src/directives/TouchSwipe.json +3 -3
- package/src/plugins/LoadingBar.json +2 -2
- package/src/plugins/Notify.json +22 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="@quasar/app" />
|
|
3
3
|
/// <reference types="@quasar/app-webpack" />
|
|
4
4
|
/// <reference types="@quasar/app-vite" />
|
|
5
|
-
import { App, Component, ComponentPublicInstance, VNode } from "vue";
|
|
5
|
+
import { App, Component, ComponentPublicInstance, Directive, VNode } from "vue";
|
|
6
6
|
import { ComponentConstructor, GlobalComponentConstructor } from "./ts-helpers";
|
|
7
7
|
|
|
8
8
|
export interface AddressbarColor {
|
|
@@ -281,15 +281,15 @@ export interface Loading {
|
|
|
281
281
|
/**
|
|
282
282
|
* Color name for spinner from the Quasar Color Palette
|
|
283
283
|
*/
|
|
284
|
-
spinnerColor?:
|
|
284
|
+
spinnerColor?: NamedColor;
|
|
285
285
|
/**
|
|
286
286
|
* Color name for text from the Quasar Color Palette
|
|
287
287
|
*/
|
|
288
|
-
messageColor?:
|
|
288
|
+
messageColor?: NamedColor;
|
|
289
289
|
/**
|
|
290
290
|
* Color name for background from the Quasar Color Palette
|
|
291
291
|
*/
|
|
292
|
-
backgroundColor?:
|
|
292
|
+
backgroundColor?: NamedColor;
|
|
293
293
|
/**
|
|
294
294
|
* One of the QSpinners
|
|
295
295
|
*/
|
|
@@ -322,7 +322,7 @@ export interface LoadingBar {
|
|
|
322
322
|
increment: (amount?: number) => void;
|
|
323
323
|
/**
|
|
324
324
|
* Set the inner QAjaxBar's props
|
|
325
|
-
* @param props QAjaxBar component props
|
|
325
|
+
* @param props QAjaxBar component props
|
|
326
326
|
*/
|
|
327
327
|
setDefaults: (props: QLoadingBarOptions) => void;
|
|
328
328
|
}
|
|
@@ -788,28 +788,881 @@ export interface SessionStorage {
|
|
|
788
788
|
isEmpty: () => boolean;
|
|
789
789
|
}
|
|
790
790
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
791
|
+
/**
|
|
792
|
+
* If value is 0 or 'false' then directive is disabled; if value is < 0 then it closes all popups in the chain; if value is 1 or 'true' or undefined then it closes only the parent popup; if value is > 1 it closes the specified number of parent popups in the chain (note that chained QMenus are considered 1 popup only & QPopupProxy separates chained menus)
|
|
793
|
+
*
|
|
794
|
+
* @see https://v2.quasar.dev/vue-directives/close-popup
|
|
795
|
+
*/
|
|
796
|
+
export type ClosePopupValue = boolean | number | string;
|
|
797
|
+
/**
|
|
798
|
+
* If value is 0 or 'false' then directive is disabled; if value is < 0 then it closes all popups in the chain; if value is 1 or 'true' or undefined then it closes only the parent popup; if value is > 1 it closes the specified number of parent popups in the chain (note that chained QMenus are considered 1 popup only & QPopupProxy separates chained menus)
|
|
799
|
+
*
|
|
800
|
+
* @see https://v2.quasar.dev/vue-directives/close-popup
|
|
801
|
+
*/
|
|
802
|
+
export type ClosePopup = Directive<any, ClosePopupValue>;
|
|
803
|
+
/**
|
|
804
|
+
* Function to call when scrolling occurs (identical to description of 'handler' prop of the Object form); If using the Object form, it is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
805
|
+
*
|
|
806
|
+
* @see https://v2.quasar.dev/vue-directives/intersection
|
|
807
|
+
*/
|
|
808
|
+
export type IntersectionValue =
|
|
809
|
+
| {
|
|
810
|
+
/**
|
|
811
|
+
* The handler function to be called
|
|
812
|
+
* @param entry The IntersectionObserverEntry object
|
|
813
|
+
* @returns If you return Boolean false from the handler, the observer stops
|
|
814
|
+
*/
|
|
815
|
+
handler?: (entry?: {
|
|
816
|
+
/**
|
|
817
|
+
* Object containing the client rect information
|
|
818
|
+
*/
|
|
819
|
+
boundingClientRect?: {
|
|
820
|
+
/**
|
|
821
|
+
* The bottom of the client rect
|
|
822
|
+
*/
|
|
823
|
+
bottom?: number;
|
|
824
|
+
/**
|
|
825
|
+
* The height of the client rect
|
|
826
|
+
*/
|
|
827
|
+
height?: number;
|
|
828
|
+
/**
|
|
829
|
+
* The left of the client rect
|
|
830
|
+
*/
|
|
831
|
+
left?: number;
|
|
832
|
+
/**
|
|
833
|
+
* The right of the client rect
|
|
834
|
+
*/
|
|
835
|
+
right?: number;
|
|
836
|
+
/**
|
|
837
|
+
* The top of the client rect
|
|
838
|
+
*/
|
|
839
|
+
top?: number;
|
|
840
|
+
/**
|
|
841
|
+
* The width of the client rect
|
|
842
|
+
*/
|
|
843
|
+
width?: number;
|
|
844
|
+
/**
|
|
845
|
+
* The x position of the client rect
|
|
846
|
+
*/
|
|
847
|
+
x?: number;
|
|
848
|
+
/**
|
|
849
|
+
* The y position of the client rect
|
|
850
|
+
*/
|
|
851
|
+
y?: number;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* The ratio of the observed objects visibility
|
|
855
|
+
*/
|
|
856
|
+
intersectionRatio?: number;
|
|
857
|
+
/**
|
|
858
|
+
* Object containing the client rect information
|
|
859
|
+
*/
|
|
860
|
+
intersectionRect?: {
|
|
861
|
+
/**
|
|
862
|
+
* The bottom of the client rect
|
|
863
|
+
*/
|
|
864
|
+
bottom?: number;
|
|
865
|
+
/**
|
|
866
|
+
* The height of the client rect
|
|
867
|
+
*/
|
|
868
|
+
height?: number;
|
|
869
|
+
/**
|
|
870
|
+
* The left of the client rect
|
|
871
|
+
*/
|
|
872
|
+
left?: number;
|
|
873
|
+
/**
|
|
874
|
+
* The right of the client rect
|
|
875
|
+
*/
|
|
876
|
+
right?: number;
|
|
877
|
+
/**
|
|
878
|
+
* The top of the client rect
|
|
879
|
+
*/
|
|
880
|
+
top?: number;
|
|
881
|
+
/**
|
|
882
|
+
* The width of the client rect
|
|
883
|
+
*/
|
|
884
|
+
width?: number;
|
|
885
|
+
/**
|
|
886
|
+
* The x position of the client rect
|
|
887
|
+
*/
|
|
888
|
+
x?: number;
|
|
889
|
+
/**
|
|
890
|
+
* The y position of the client rect
|
|
891
|
+
*/
|
|
892
|
+
y?: number;
|
|
893
|
+
};
|
|
894
|
+
/**
|
|
895
|
+
* It is Boolean true if intersecting the scrollable area
|
|
896
|
+
*/
|
|
897
|
+
isIntersecting?: boolean;
|
|
898
|
+
/**
|
|
899
|
+
* Object containing the client rect information
|
|
900
|
+
*/
|
|
901
|
+
rootBounds?: {
|
|
902
|
+
/**
|
|
903
|
+
* The bottom of the client rect
|
|
904
|
+
*/
|
|
905
|
+
bottom?: number;
|
|
906
|
+
/**
|
|
907
|
+
* The height of the client rect
|
|
908
|
+
*/
|
|
909
|
+
height?: number;
|
|
910
|
+
/**
|
|
911
|
+
* The left of the client rect
|
|
912
|
+
*/
|
|
913
|
+
left?: number;
|
|
914
|
+
/**
|
|
915
|
+
* The right of the client rect
|
|
916
|
+
*/
|
|
917
|
+
right?: number;
|
|
918
|
+
/**
|
|
919
|
+
* The top of the client rect
|
|
920
|
+
*/
|
|
921
|
+
top?: number;
|
|
922
|
+
/**
|
|
923
|
+
* The width of the client rect
|
|
924
|
+
*/
|
|
925
|
+
width?: number;
|
|
926
|
+
/**
|
|
927
|
+
* The x position of the client rect
|
|
928
|
+
*/
|
|
929
|
+
x?: number;
|
|
930
|
+
/**
|
|
931
|
+
* The y position of the client rect
|
|
932
|
+
*/
|
|
933
|
+
y?: number;
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* The target element
|
|
937
|
+
*/
|
|
938
|
+
target?: Element;
|
|
939
|
+
/**
|
|
940
|
+
* The timestamp of the event
|
|
941
|
+
*/
|
|
942
|
+
time?: number;
|
|
943
|
+
}) => boolean;
|
|
944
|
+
/**
|
|
945
|
+
* Intersection observer options (can be omitted and all its props are optional)
|
|
946
|
+
*/
|
|
947
|
+
cfg?: {
|
|
948
|
+
/**
|
|
949
|
+
* Lets you define an alternative to the viewport as your root (through its DOM element); It is important to keep in mind that root needs to be an ancestor of the observed element
|
|
950
|
+
*/
|
|
951
|
+
root?: Element;
|
|
952
|
+
/**
|
|
953
|
+
* Allows you to specify the margins for the root, effectively allowing you to either grow or shrink the area used for intersections
|
|
954
|
+
*/
|
|
955
|
+
rootMargin?: string;
|
|
956
|
+
/**
|
|
957
|
+
* Threshold(s) at which to trigger callback, specified as a ratio, or list of ratios, of (visible area / total area) of the observed element
|
|
958
|
+
*/
|
|
959
|
+
threshold?: readonly any[];
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
| (() => void);
|
|
963
|
+
/**
|
|
964
|
+
* Function to call when scrolling occurs (identical to description of 'handler' prop of the Object form); If using the Object form, it is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
965
|
+
*
|
|
966
|
+
* Modifiers:
|
|
967
|
+
* - once:
|
|
968
|
+
* - type: boolean
|
|
969
|
+
* - description: Call handler only once, when the conditions are first met
|
|
970
|
+
* - examples:
|
|
971
|
+
* - v-intersection.once
|
|
972
|
+
*
|
|
973
|
+
* @see https://v2.quasar.dev/vue-directives/intersection
|
|
974
|
+
*/
|
|
975
|
+
export type Intersection = Directive<any, IntersectionValue>;
|
|
976
|
+
/**
|
|
977
|
+
* Configuration object or trigger value
|
|
978
|
+
*
|
|
979
|
+
* @see https://v2.quasar.dev/vue-directives/morph
|
|
980
|
+
*/
|
|
981
|
+
export type MorphValue =
|
|
982
|
+
| {
|
|
983
|
+
/**
|
|
984
|
+
* Name of the morph group the element belongs to
|
|
985
|
+
*/
|
|
986
|
+
group?: string;
|
|
987
|
+
/**
|
|
988
|
+
* Name of the morph inside the group that the element belongs to
|
|
989
|
+
*/
|
|
990
|
+
name?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Current value of the group model; when it becomes the same as the 'name' it triggers the morphing
|
|
993
|
+
*/
|
|
994
|
+
model?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Duration of the animation (in milliseconds)
|
|
997
|
+
* Default value: 300
|
|
998
|
+
*/
|
|
999
|
+
duration?: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* Delay for the animation (in milliseconds)
|
|
1002
|
+
* Default value: 0
|
|
1003
|
+
*/
|
|
1004
|
+
delay?: number;
|
|
1005
|
+
/**
|
|
1006
|
+
* Timing function for the animation (CSS easing format)
|
|
1007
|
+
* Default value: ease-in-out
|
|
1008
|
+
*/
|
|
1009
|
+
easing?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Fill mode for the animation
|
|
1012
|
+
* Default value: none
|
|
1013
|
+
*/
|
|
1014
|
+
fill?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Class names to be added to the destination element during the animation
|
|
1017
|
+
*/
|
|
1018
|
+
classes?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Styles to be added to the destination element during the animation
|
|
1021
|
+
*/
|
|
1022
|
+
style?: string | any;
|
|
1023
|
+
/**
|
|
1024
|
+
* Use resize instead of scaling during animation
|
|
1025
|
+
*/
|
|
1026
|
+
resize?: boolean;
|
|
1027
|
+
/**
|
|
1028
|
+
* Use CSS animations instead of the Animation API
|
|
1029
|
+
*/
|
|
1030
|
+
useCSS?: boolean;
|
|
1031
|
+
/**
|
|
1032
|
+
* Hide the spacer for the initial element during animation; Use it if the initial element is not removed or resizing of the space occupied by the initial element is not desired
|
|
1033
|
+
*/
|
|
1034
|
+
hideFromClone?: boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Keep a clone of the final element visible during animation
|
|
1037
|
+
*/
|
|
1038
|
+
keepToClone?: boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* Use an opacity tween between the initial and final elements
|
|
1041
|
+
*/
|
|
1042
|
+
tween?: boolean;
|
|
1043
|
+
/**
|
|
1044
|
+
* If using tween it is the initial opacity of the initial element (will be animated to 0) - the initial element is placed on top of the final element
|
|
1045
|
+
* Default value: 0.6
|
|
1046
|
+
*/
|
|
1047
|
+
tweenFromOpacity?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* If using tween it is the initial opacity of the final element (will be animated to 1)
|
|
1050
|
+
* Default value: 0.5
|
|
1051
|
+
*/
|
|
1052
|
+
tweenToOpacity?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* Delay animation start for that number of milliseconds, or until a 'transitionend' event is emitted by the destination element, or until the promise is resolved (if the promise is rejected the morphing will abort, but the `toggle function` was already called)
|
|
1055
|
+
* Default value: 0
|
|
1056
|
+
*/
|
|
1057
|
+
waitFor?: number | string | Promise<void>;
|
|
1058
|
+
/**
|
|
1059
|
+
* A function that will be called once the morphing is finished; Not called if morphing is aborted
|
|
1060
|
+
* @param direction 'to' if the morphing was finished in the final state or 'from' if it was finished in the initial state
|
|
1061
|
+
* @param aborted Was the morphing aborted?
|
|
1062
|
+
*/
|
|
1063
|
+
onEnd?: (direction?: "to" | "from", aborted?: boolean) => void;
|
|
1064
|
+
}
|
|
1065
|
+
| any;
|
|
1066
|
+
/**
|
|
1067
|
+
* Configuration object or trigger value
|
|
1068
|
+
*
|
|
1069
|
+
* Directive argument:
|
|
1070
|
+
* - type: string
|
|
1071
|
+
* - description: x:x2:y:z, where x is the morph element name, x2 is the morph group, y is the animation duration (in milliseconds) and z is the amount of time to wait (in milliseconds) or the 'transitionend' string
|
|
1072
|
+
* - examples:
|
|
1073
|
+
* - v-morph:name="options"
|
|
1074
|
+
* - v-morph:name:groupName="options"
|
|
1075
|
+
* - v-morph:name:groupName:400="options"
|
|
1076
|
+
* - v-morph:name:groupName:400:100="options"
|
|
1077
|
+
* - v-morph:name:groupName:400:transitionend="options"
|
|
1078
|
+
*
|
|
1079
|
+
* Modifiers:
|
|
1080
|
+
* - resize:
|
|
1081
|
+
* - type: boolean
|
|
1082
|
+
* - description: Use resize instead of scale transform for morph (forceResize option of the morph function)
|
|
1083
|
+
* - useCSS:
|
|
1084
|
+
* - type: boolean
|
|
1085
|
+
* - description: Use CSS animations for morph (forceCssAnimation option of the morph function)
|
|
1086
|
+
* - hideFromClone:
|
|
1087
|
+
* - type: boolean
|
|
1088
|
+
* - description: Hide the spacer for the initial element (hideFromClone option of the morph function)
|
|
1089
|
+
* - keepToClone:
|
|
1090
|
+
* - type: boolean
|
|
1091
|
+
* - description: Keep the final element visible while morphing (keepToClone option of the morph function)
|
|
1092
|
+
* - tween:
|
|
1093
|
+
* - type: boolean
|
|
1094
|
+
* - description: Use opacity tween morphing between initial and final elements (tween option of the morph function)
|
|
1095
|
+
*
|
|
1096
|
+
* @see https://v2.quasar.dev/vue-directives/morph
|
|
1097
|
+
*/
|
|
1098
|
+
export type Morph = Directive<any, MorphValue>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Function to call when mutation occurs; It is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
1101
|
+
*
|
|
1102
|
+
* @see https://v2.quasar.dev/vue-directives/mutation
|
|
1103
|
+
*/
|
|
1104
|
+
export type MutationValue = (
|
|
1105
|
+
mutationList: {
|
|
1106
|
+
/**
|
|
1107
|
+
* Type of mutation
|
|
1108
|
+
*/
|
|
1109
|
+
type?: "childList" | "attributes" | "characterData";
|
|
1110
|
+
/**
|
|
1111
|
+
* The DOM element that the mutation affected, depending on the mutation type
|
|
1112
|
+
*/
|
|
1113
|
+
target?: Element;
|
|
1114
|
+
/**
|
|
1115
|
+
* The NodeList of the nodes that have been added
|
|
1116
|
+
*/
|
|
1117
|
+
addedNodes?: readonly any[];
|
|
1118
|
+
/**
|
|
1119
|
+
* The NodeList of the nodes that have been removed
|
|
1120
|
+
*/
|
|
1121
|
+
removedNodes?: readonly any[];
|
|
1122
|
+
/**
|
|
1123
|
+
* The previous sibling of the added or removed nodes, or null
|
|
1124
|
+
*/
|
|
1125
|
+
previousSibling?: any;
|
|
1126
|
+
/**
|
|
1127
|
+
* The next sibling of the added or removed nodes, or null
|
|
1128
|
+
*/
|
|
1129
|
+
nextSibling?: any;
|
|
1130
|
+
/**
|
|
1131
|
+
* The local name of the changed attribute, or null
|
|
1132
|
+
*/
|
|
1133
|
+
attributeName?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* The namespace of the changed attribute, or null
|
|
1136
|
+
*/
|
|
1137
|
+
attributeNamespace?: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Value depends on the mutation type; For attributes, it is the value of the changed attribute before the change; For characterData it is data of the changed node before the change; For childList it is null; Note that for this to work as expected, attributeOldValue or characterDataOldValue must be set
|
|
1140
|
+
*/
|
|
1141
|
+
oldValue?: string;
|
|
1142
|
+
}[]
|
|
1143
|
+
) => boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* Function to call when mutation occurs; It is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
1146
|
+
*
|
|
1147
|
+
* Modifiers:
|
|
1148
|
+
* - once:
|
|
1149
|
+
* - type: boolean
|
|
1150
|
+
* - description: Call handler only once, when the first mutation was triggered, then stop monitoring
|
|
1151
|
+
* - examples:
|
|
1152
|
+
* - v-mutation.once
|
|
1153
|
+
* - childList:
|
|
1154
|
+
* - type: boolean
|
|
1155
|
+
* - description: Monitor the target node (and, if 'subtree' is also set, its descendants) for the addition of new child nodes or removal of existing child nodes
|
|
1156
|
+
* - examples:
|
|
1157
|
+
* - v-mutation.childList
|
|
1158
|
+
* - subtree:
|
|
1159
|
+
* - type: boolean
|
|
1160
|
+
* - description: Extend monitoring to the entire subtree of nodes rooted at target
|
|
1161
|
+
* - examples:
|
|
1162
|
+
* - v-mutation.subtree
|
|
1163
|
+
* - attributes:
|
|
1164
|
+
* - type: boolean
|
|
1165
|
+
* - description: Watch for changes to the value of attributes on the node or nodes being monitored
|
|
1166
|
+
* - examples:
|
|
1167
|
+
* - v-mutation.attributes
|
|
1168
|
+
* - characterData:
|
|
1169
|
+
* - type: boolean
|
|
1170
|
+
* - description: Monitor the specified target node or subtree for changes to the character data contained within the node or nodes
|
|
1171
|
+
* - examples:
|
|
1172
|
+
* - v-mutation.characterData
|
|
1173
|
+
* - attributeOldValue:
|
|
1174
|
+
* - type: boolean
|
|
1175
|
+
* - description: Record the previous value of any attribute that changes when monitoring the node or nodes for attribute changes
|
|
1176
|
+
* - examples:
|
|
1177
|
+
* - v-mutation.attributeOldValue
|
|
1178
|
+
* - characterDataOldValue:
|
|
1179
|
+
* - type: boolean
|
|
1180
|
+
* - description: Record the previous value of a node's text whenever the text changes on nodes being monitored
|
|
1181
|
+
* - examples:
|
|
1182
|
+
* - v-mutation.characterDataOldValue
|
|
1183
|
+
*
|
|
1184
|
+
* @see https://v2.quasar.dev/vue-directives/mutation
|
|
1185
|
+
*/
|
|
1186
|
+
export type Mutation = Directive<any, MutationValue>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Boolean (if just wanting to enable/disable) or Object for configuring more options
|
|
1189
|
+
*
|
|
1190
|
+
* @see https://v2.quasar.dev/vue-directives/material-ripple
|
|
1191
|
+
*/
|
|
1192
|
+
export type RippleValue =
|
|
1193
|
+
| boolean
|
|
1194
|
+
| {
|
|
1195
|
+
/**
|
|
1196
|
+
* Trigger early/immediately on user interaction
|
|
1197
|
+
*/
|
|
1198
|
+
early?: boolean;
|
|
1199
|
+
/**
|
|
1200
|
+
* Stop click/touch event propagation
|
|
1201
|
+
*/
|
|
1202
|
+
stop?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* Ripple starts from the absolute center
|
|
1205
|
+
*/
|
|
1206
|
+
center?: boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* Color name from Quasar Color Palette; Overrides default dynamic color
|
|
1209
|
+
*/
|
|
1210
|
+
color?: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* List of keyCode that should trigger the ripple
|
|
1213
|
+
*/
|
|
1214
|
+
keyCodes?: readonly any[] | number;
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* Boolean (if just wanting to enable/disable) or Object for configuring more options
|
|
1218
|
+
*
|
|
1219
|
+
* Directive argument:
|
|
1220
|
+
* - type: string
|
|
1221
|
+
* - description: Color name from Quasar Color Palette; Overrides default dynamic color
|
|
1222
|
+
* - examples:
|
|
1223
|
+
* - v-ripple:orange-5
|
|
1224
|
+
*
|
|
1225
|
+
* Modifiers:
|
|
1226
|
+
* - early:
|
|
1227
|
+
* - type: boolean
|
|
1228
|
+
* - description: Trigger early/immediately on user interaction
|
|
1229
|
+
* - stop:
|
|
1230
|
+
* - type: boolean
|
|
1231
|
+
* - description: Stop click/touch event propagation
|
|
1232
|
+
* - examples:
|
|
1233
|
+
* - v-ripple.stop
|
|
1234
|
+
* - center:
|
|
1235
|
+
* - type: boolean
|
|
1236
|
+
* - description: Ripple starts from the absolute center
|
|
1237
|
+
* - examples:
|
|
1238
|
+
* - v-ripple.center
|
|
1239
|
+
*
|
|
1240
|
+
* @see https://v2.quasar.dev/vue-directives/material-ripple
|
|
1241
|
+
*/
|
|
1242
|
+
export type Ripple = Directive<any, RippleValue>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Function to call when scrolling occurs (use undefined to disable)
|
|
1245
|
+
*
|
|
1246
|
+
* @see https://v2.quasar.dev/vue-directives/scroll
|
|
1247
|
+
*/
|
|
1248
|
+
export type ScrollValue =
|
|
1249
|
+
| ((verticalScrollPosition: number, horizontalScrollPosition: number) => void)
|
|
1250
|
+
| undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* Function to call when scrolling occurs (use undefined to disable)
|
|
1253
|
+
*
|
|
1254
|
+
* @see https://v2.quasar.dev/vue-directives/scroll
|
|
1255
|
+
*/
|
|
1256
|
+
export type Scroll = Directive<any, ScrollValue>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Function to call when scrolling and element comes into the viewport (use undefined to disable)
|
|
1259
|
+
*
|
|
1260
|
+
* @see https://v2.quasar.dev/vue-directives/scroll-fire
|
|
1261
|
+
*/
|
|
1262
|
+
export type ScrollFireValue = ((el: Element) => void) | undefined;
|
|
1263
|
+
/**
|
|
1264
|
+
* Function to call when scrolling and element comes into the viewport (use undefined to disable)
|
|
1265
|
+
*
|
|
1266
|
+
* @see https://v2.quasar.dev/vue-directives/scroll-fire
|
|
1267
|
+
*/
|
|
1268
|
+
export type ScrollFire = Directive<any, ScrollFireValue>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)
|
|
1271
|
+
*
|
|
1272
|
+
* @see https://v2.quasar.dev/vue-directives/touch-hold
|
|
1273
|
+
*/
|
|
1274
|
+
export type TouchHoldValue =
|
|
1275
|
+
| ((details: {
|
|
1276
|
+
/**
|
|
1277
|
+
* Original JS event Object
|
|
1278
|
+
*/
|
|
1279
|
+
evt?: Event;
|
|
1280
|
+
/**
|
|
1281
|
+
* Triggered by a touch event
|
|
1282
|
+
*/
|
|
1283
|
+
touch?: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* Triggered by a mouse event
|
|
1286
|
+
*/
|
|
1287
|
+
mouse?: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* Event Position Object
|
|
1290
|
+
*/
|
|
1291
|
+
position?: {
|
|
1292
|
+
/**
|
|
1293
|
+
* Vertical offset from top of window
|
|
1294
|
+
*/
|
|
1295
|
+
top?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* Horizontal offset from left of window
|
|
1298
|
+
*/
|
|
1299
|
+
left?: number;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* How long it took to trigger the event (in milliseconds)
|
|
1303
|
+
*/
|
|
1304
|
+
duration?: number;
|
|
1305
|
+
}) => void)
|
|
1306
|
+
| undefined;
|
|
1307
|
+
/**
|
|
1308
|
+
* Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)
|
|
1309
|
+
*
|
|
1310
|
+
* Directive argument:
|
|
1311
|
+
* - type: string
|
|
1312
|
+
* - default: 600:5:7
|
|
1313
|
+
* - description: x:y:z, where x is the amount of time to wait (in milliseconds), y is the touch event sensitivity (in pixels) and z is the mouse event sensitivity (in pixels)
|
|
1314
|
+
* - examples:
|
|
1315
|
+
* - v-touch-hold:400="fnToCall"
|
|
1316
|
+
* - v-touch-hold:400:15="fnToCall"
|
|
1317
|
+
* - v-touch-hold:400:10:10="fnToCall"
|
|
1318
|
+
*
|
|
1319
|
+
* Modifiers:
|
|
1320
|
+
* - capture:
|
|
1321
|
+
* - type: boolean
|
|
1322
|
+
* - description: Use capture for touchstart event
|
|
1323
|
+
* - mouse:
|
|
1324
|
+
* - type: boolean
|
|
1325
|
+
* - description: Listen for mouse events too
|
|
1326
|
+
* - mouseCapture:
|
|
1327
|
+
* - type: boolean
|
|
1328
|
+
* - description: Use capture for mousedown event
|
|
1329
|
+
*
|
|
1330
|
+
* @see https://v2.quasar.dev/vue-directives/touch-hold
|
|
1331
|
+
*/
|
|
1332
|
+
export type TouchHold = Directive<any, TouchHoldValue>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Handler for panning (use undefined to disable)
|
|
1335
|
+
*
|
|
1336
|
+
* @see https://v2.quasar.dev/vue-directives/touch-pan
|
|
1337
|
+
*/
|
|
1338
|
+
export type TouchPanValue =
|
|
1339
|
+
| ((details: {
|
|
1340
|
+
/**
|
|
1341
|
+
* Original JS event Object
|
|
1342
|
+
*/
|
|
1343
|
+
evt?: Event;
|
|
1344
|
+
/**
|
|
1345
|
+
* Triggered by a touch event
|
|
1346
|
+
*/
|
|
1347
|
+
touch?: boolean;
|
|
1348
|
+
/**
|
|
1349
|
+
* Triggered by a mouse event
|
|
1350
|
+
*/
|
|
1351
|
+
mouse?: boolean;
|
|
1352
|
+
/**
|
|
1353
|
+
* Event Position Object
|
|
1354
|
+
*/
|
|
1355
|
+
position?: {
|
|
1356
|
+
/**
|
|
1357
|
+
* Vertical offset from top of window
|
|
1358
|
+
*/
|
|
1359
|
+
top?: number;
|
|
1360
|
+
/**
|
|
1361
|
+
* Horizontal offset from left of window
|
|
1362
|
+
*/
|
|
1363
|
+
left?: number;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Direction of movement
|
|
1367
|
+
*/
|
|
1368
|
+
direction?: "up" | "right" | "down" | "left";
|
|
1369
|
+
/**
|
|
1370
|
+
* Is first time the handler is called since movement started
|
|
1371
|
+
*/
|
|
1372
|
+
isFirst?: boolean;
|
|
1373
|
+
/**
|
|
1374
|
+
* Is last time the handler is called since movement ended
|
|
1375
|
+
*/
|
|
1376
|
+
isFinal?: boolean;
|
|
1377
|
+
/**
|
|
1378
|
+
* How long it took to trigger the event (in milliseconds)
|
|
1379
|
+
*/
|
|
1380
|
+
duration?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* Absolute distance (in pixels) since movement started from initial point
|
|
1383
|
+
*/
|
|
1384
|
+
distance?: {
|
|
1385
|
+
/**
|
|
1386
|
+
* Absolute distance horizontally
|
|
1387
|
+
*/
|
|
1388
|
+
x?: number;
|
|
1389
|
+
/**
|
|
1390
|
+
* Absolute distance vertically
|
|
1391
|
+
*/
|
|
1392
|
+
y?: number;
|
|
1393
|
+
};
|
|
1394
|
+
/**
|
|
1395
|
+
* Distance (in pixels) since movement started from initial point
|
|
1396
|
+
*/
|
|
1397
|
+
offset?: {
|
|
1398
|
+
/**
|
|
1399
|
+
* Distance horizontally
|
|
1400
|
+
*/
|
|
1401
|
+
x?: number;
|
|
1402
|
+
/**
|
|
1403
|
+
* Distance vertically
|
|
1404
|
+
*/
|
|
1405
|
+
y?: number;
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* Delta of distance (in pixels) since handler was called last time
|
|
1409
|
+
*/
|
|
1410
|
+
delta?: {
|
|
1411
|
+
/**
|
|
1412
|
+
* Distance horizontally
|
|
1413
|
+
*/
|
|
1414
|
+
x?: number;
|
|
1415
|
+
/**
|
|
1416
|
+
* Distance vertically
|
|
1417
|
+
*/
|
|
1418
|
+
y?: number;
|
|
1419
|
+
};
|
|
1420
|
+
}) => void)
|
|
1421
|
+
| undefined;
|
|
1422
|
+
/**
|
|
1423
|
+
* Handler for panning (use undefined to disable)
|
|
1424
|
+
*
|
|
1425
|
+
* Modifiers:
|
|
1426
|
+
* - stop:
|
|
1427
|
+
* - type: boolean
|
|
1428
|
+
* - description: Stop event propagation for touch events
|
|
1429
|
+
* - prevent:
|
|
1430
|
+
* - type: boolean
|
|
1431
|
+
* - description: Calls event.preventDefault() for touch events
|
|
1432
|
+
* - capture:
|
|
1433
|
+
* - type: boolean
|
|
1434
|
+
* - description: Use capture for touchstart event
|
|
1435
|
+
* - mouse:
|
|
1436
|
+
* - type: boolean
|
|
1437
|
+
* - description: Listen for mouse events too
|
|
1438
|
+
* - mouseCapture:
|
|
1439
|
+
* - type: boolean
|
|
1440
|
+
* - description: Use capture for mousedown event
|
|
1441
|
+
* - mouseAllDir:
|
|
1442
|
+
* - type: boolean
|
|
1443
|
+
* - description: Ignore initial mouse move direction (do not abort if the first mouse move is in an unaccepted direction)
|
|
1444
|
+
* - preserveCursor:
|
|
1445
|
+
* - type: boolean
|
|
1446
|
+
* - description: Prevent the mouse cursor from automatically displaying as grabbing when panning
|
|
1447
|
+
* - horizontal:
|
|
1448
|
+
* - type: boolean
|
|
1449
|
+
* - description: Catch horizontal (left/right) movement
|
|
1450
|
+
* - vertical:
|
|
1451
|
+
* - type: boolean
|
|
1452
|
+
* - description: Catch vertical (up/down) movement
|
|
1453
|
+
* - up:
|
|
1454
|
+
* - type: boolean
|
|
1455
|
+
* - description: Catch panning to up
|
|
1456
|
+
* - right:
|
|
1457
|
+
* - type: boolean
|
|
1458
|
+
* - description: Catch panning to right
|
|
1459
|
+
* - down:
|
|
1460
|
+
* - type: boolean
|
|
1461
|
+
* - description: Catch panning to down
|
|
1462
|
+
* - left:
|
|
1463
|
+
* - type: boolean
|
|
1464
|
+
* - description: Catch panning to left
|
|
1465
|
+
*
|
|
1466
|
+
* @see https://v2.quasar.dev/vue-directives/touch-pan
|
|
1467
|
+
*/
|
|
1468
|
+
export type TouchPan = Directive<any, TouchPanValue>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Handler for touch-repeat (use undefined to disable)
|
|
1471
|
+
*
|
|
1472
|
+
* @see https://v2.quasar.dev/vue-directives/touch-repeat
|
|
1473
|
+
*/
|
|
1474
|
+
export type TouchRepeatValue =
|
|
1475
|
+
| ((details: {
|
|
1476
|
+
/**
|
|
1477
|
+
* Original JS event Object
|
|
1478
|
+
*/
|
|
1479
|
+
evt?: Event;
|
|
1480
|
+
/**
|
|
1481
|
+
* Triggered by a touch event
|
|
1482
|
+
*/
|
|
1483
|
+
touch?: boolean;
|
|
1484
|
+
/**
|
|
1485
|
+
* Triggered by a mouse event
|
|
1486
|
+
*/
|
|
1487
|
+
mouse?: boolean;
|
|
1488
|
+
/**
|
|
1489
|
+
* Triggered by a keyboard event
|
|
1490
|
+
*/
|
|
1491
|
+
keyboard?: boolean;
|
|
1492
|
+
/**
|
|
1493
|
+
* Event Position Object; Supplied ONLY if it's a touch or mouse event
|
|
1494
|
+
*/
|
|
1495
|
+
position?: {
|
|
1496
|
+
/**
|
|
1497
|
+
* Vertical offset from top of window
|
|
1498
|
+
*/
|
|
1499
|
+
top?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* Horizontal offset from left of window
|
|
1502
|
+
*/
|
|
1503
|
+
left?: number;
|
|
1504
|
+
};
|
|
1505
|
+
/**
|
|
1506
|
+
* Keycode; Supplied ONLY if it's a keyboard event
|
|
1507
|
+
*/
|
|
1508
|
+
keyCode?: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* How long it took to trigger the event (in milliseconds)
|
|
1511
|
+
*/
|
|
1512
|
+
duration?: number;
|
|
1513
|
+
/**
|
|
1514
|
+
* Handler called for nth time
|
|
1515
|
+
*/
|
|
1516
|
+
repeatCount?: number;
|
|
1517
|
+
/**
|
|
1518
|
+
* Unix timestamp of the moment when event started; Equivalent to Date.now()
|
|
1519
|
+
*/
|
|
1520
|
+
startTime?: number;
|
|
1521
|
+
}) => void)
|
|
1522
|
+
| undefined;
|
|
1523
|
+
/**
|
|
1524
|
+
* Handler for touch-repeat (use undefined to disable)
|
|
1525
|
+
*
|
|
1526
|
+
* Directive argument:
|
|
1527
|
+
* - type: string
|
|
1528
|
+
* - default: 0:600:300
|
|
1529
|
+
* - description: String of numbers (at least one number) separated by ':' which defines the amount of time to wait for 1st handler call, 2nd, 3rd and so on; All subsequent calls will use last value as time to wait until triggering
|
|
1530
|
+
* - examples:
|
|
1531
|
+
* - v-touch-repeat:0:400="fnToCall"
|
|
1532
|
+
*
|
|
1533
|
+
* Modifiers:
|
|
1534
|
+
* - capture:
|
|
1535
|
+
* - type: boolean
|
|
1536
|
+
* - description: Use capture for touchstart event
|
|
1537
|
+
* - mouse:
|
|
1538
|
+
* - type: boolean
|
|
1539
|
+
* - description: Listen for mouse events too
|
|
1540
|
+
* - mouseCapture:
|
|
1541
|
+
* - type: boolean
|
|
1542
|
+
* - description: Use capture for mousedown event
|
|
1543
|
+
* - keyCapture:
|
|
1544
|
+
* - type: boolean
|
|
1545
|
+
* - description: Use capture for keydown event
|
|
1546
|
+
* - esc:
|
|
1547
|
+
* - type: boolean
|
|
1548
|
+
* - description: Catch ESC key
|
|
1549
|
+
* - tab:
|
|
1550
|
+
* - type: boolean
|
|
1551
|
+
* - description: Catch TAB key
|
|
1552
|
+
* - enter:
|
|
1553
|
+
* - type: boolean
|
|
1554
|
+
* - description: Catch ENTER key
|
|
1555
|
+
* - space:
|
|
1556
|
+
* - type: boolean
|
|
1557
|
+
* - description: Catch SPACE key
|
|
1558
|
+
* - up:
|
|
1559
|
+
* - type: boolean
|
|
1560
|
+
* - description: Catch UP arrow key
|
|
1561
|
+
* - left:
|
|
1562
|
+
* - type: boolean
|
|
1563
|
+
* - description: Catch LEFT arrow key
|
|
1564
|
+
* - right:
|
|
1565
|
+
* - type: boolean
|
|
1566
|
+
* - description: Catch RIGHT arrow key
|
|
1567
|
+
* - down:
|
|
1568
|
+
* - type: boolean
|
|
1569
|
+
* - description: Catch DOWN key
|
|
1570
|
+
* - delete:
|
|
1571
|
+
* - type: boolean
|
|
1572
|
+
* - description: Catch DELETE key
|
|
1573
|
+
* - [keycode]:
|
|
1574
|
+
* - type: number
|
|
1575
|
+
* - description: Key code to catch
|
|
1576
|
+
* - examples:
|
|
1577
|
+
* - v-touch-repeat.68="fnToCall"
|
|
1578
|
+
*
|
|
1579
|
+
* @see https://v2.quasar.dev/vue-directives/touch-repeat
|
|
1580
|
+
*/
|
|
1581
|
+
export type TouchRepeat = Directive<any, TouchRepeatValue>;
|
|
1582
|
+
/**
|
|
1583
|
+
* Handler for swipe (use undefined to disable)
|
|
1584
|
+
*
|
|
1585
|
+
* @see https://v2.quasar.dev/vue-directives/touch-swipe
|
|
1586
|
+
*/
|
|
1587
|
+
export type TouchSwipeValue =
|
|
1588
|
+
| ((details: {
|
|
1589
|
+
/**
|
|
1590
|
+
* Original JS event Object
|
|
1591
|
+
*/
|
|
1592
|
+
evt?: Event;
|
|
1593
|
+
/**
|
|
1594
|
+
* Triggered by a touch event
|
|
1595
|
+
*/
|
|
1596
|
+
touch?: boolean;
|
|
1597
|
+
/**
|
|
1598
|
+
* Triggered by a mouse event
|
|
1599
|
+
*/
|
|
1600
|
+
mouse?: boolean;
|
|
1601
|
+
/**
|
|
1602
|
+
* Direction of movement
|
|
1603
|
+
*/
|
|
1604
|
+
direction?: "up" | "right" | "down" | "left";
|
|
1605
|
+
/**
|
|
1606
|
+
* How long it took to trigger the event (in milliseconds)
|
|
1607
|
+
*/
|
|
1608
|
+
duration?: number;
|
|
1609
|
+
/**
|
|
1610
|
+
* Absolute distance (in pixels) since movement started from initial point
|
|
1611
|
+
*/
|
|
1612
|
+
distance?: {
|
|
1613
|
+
/**
|
|
1614
|
+
* Absolute distance horizontally
|
|
1615
|
+
*/
|
|
1616
|
+
x?: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Absolute distance vertically
|
|
1619
|
+
*/
|
|
1620
|
+
y?: number;
|
|
1621
|
+
};
|
|
1622
|
+
}) => void)
|
|
1623
|
+
| undefined;
|
|
1624
|
+
/**
|
|
1625
|
+
* Handler for swipe (use undefined to disable)
|
|
1626
|
+
*
|
|
1627
|
+
* Directive argument:
|
|
1628
|
+
* - type: string
|
|
1629
|
+
* - default: 6e-2:6:50
|
|
1630
|
+
* - description: x:y:z, where x is minimum velocity (dist/time; please use float without a dot, example: 6e-2 which is equivalent to 6 * 10^-2 = 0.06), y is minimum distance on first move on mobile, z is minimum distance on desktop until deciding if it's a swipe indeed
|
|
1631
|
+
* - examples:
|
|
1632
|
+
* - v-touch-swipe:7e-2:10:100="fnToCall"
|
|
1633
|
+
*
|
|
1634
|
+
* Modifiers:
|
|
1635
|
+
* - capture:
|
|
1636
|
+
* - type: boolean
|
|
1637
|
+
* - description: Use capture for touchstart event
|
|
1638
|
+
* - mouse:
|
|
1639
|
+
* - type: boolean
|
|
1640
|
+
* - description: Listen for mouse events too
|
|
1641
|
+
* - mouseCapture:
|
|
1642
|
+
* - type: boolean
|
|
1643
|
+
* - description: Use capture for mousedown event
|
|
1644
|
+
* - horizontal:
|
|
1645
|
+
* - type: boolean
|
|
1646
|
+
* - description: Catch horizontal (left/right) movement
|
|
1647
|
+
* - vertical:
|
|
1648
|
+
* - type: boolean
|
|
1649
|
+
* - description: Catch vertical (up/down) movement
|
|
1650
|
+
* - up:
|
|
1651
|
+
* - type: boolean
|
|
1652
|
+
* - description: Catch swipe to up
|
|
1653
|
+
* - right:
|
|
1654
|
+
* - type: boolean
|
|
1655
|
+
* - description: Catch swipe to right
|
|
1656
|
+
* - down:
|
|
1657
|
+
* - type: boolean
|
|
1658
|
+
* - description: Catch swipe to down
|
|
1659
|
+
* - left:
|
|
1660
|
+
* - type: boolean
|
|
1661
|
+
* - description: Catch swipe to left
|
|
1662
|
+
*
|
|
1663
|
+
* @see https://v2.quasar.dev/vue-directives/touch-swipe
|
|
1664
|
+
*/
|
|
1665
|
+
export type TouchSwipe = Directive<any, TouchSwipeValue>;
|
|
813
1666
|
export interface QAjaxBarProps {
|
|
814
1667
|
/**
|
|
815
1668
|
* Position within window of where QAjaxBar should be displayed
|
|
@@ -824,7 +1677,7 @@ export interface QAjaxBarProps {
|
|
|
824
1677
|
/**
|
|
825
1678
|
* Color name for component from the Quasar Color Palette
|
|
826
1679
|
*/
|
|
827
|
-
color?:
|
|
1680
|
+
color?: NamedColor | undefined;
|
|
828
1681
|
/**
|
|
829
1682
|
* Reverse direction of progress
|
|
830
1683
|
*/
|
|
@@ -883,11 +1736,11 @@ export interface QAvatarProps {
|
|
|
883
1736
|
/**
|
|
884
1737
|
* Color name for component from the Quasar Color Palette
|
|
885
1738
|
*/
|
|
886
|
-
color?:
|
|
1739
|
+
color?: NamedColor | undefined;
|
|
887
1740
|
/**
|
|
888
1741
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
889
1742
|
*/
|
|
890
|
-
textColor?:
|
|
1743
|
+
textColor?: NamedColor | undefined;
|
|
891
1744
|
/**
|
|
892
1745
|
* Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)
|
|
893
1746
|
*/
|
|
@@ -915,11 +1768,11 @@ export interface QBadgeProps {
|
|
|
915
1768
|
/**
|
|
916
1769
|
* Color name for component from the Quasar Color Palette
|
|
917
1770
|
*/
|
|
918
|
-
color?:
|
|
1771
|
+
color?: NamedColor | undefined;
|
|
919
1772
|
/**
|
|
920
1773
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
921
1774
|
*/
|
|
922
|
-
textColor?:
|
|
1775
|
+
textColor?: NamedColor | undefined;
|
|
923
1776
|
/**
|
|
924
1777
|
* Tell QBadge if it should float to the top right side of the relative positioned parent element or not
|
|
925
1778
|
*/
|
|
@@ -1025,7 +1878,7 @@ export interface QBreadcrumbsProps {
|
|
|
1025
1878
|
* The color of the active breadcrumb, which can be any color from the Quasar Color Palette
|
|
1026
1879
|
* Default value: primary
|
|
1027
1880
|
*/
|
|
1028
|
-
activeColor?:
|
|
1881
|
+
activeColor?: NamedColor | undefined;
|
|
1029
1882
|
/**
|
|
1030
1883
|
* The gutter value allows you control over the space between the breadcrumb elements.
|
|
1031
1884
|
* Default value: sm
|
|
@@ -1034,7 +1887,7 @@ export interface QBreadcrumbsProps {
|
|
|
1034
1887
|
/**
|
|
1035
1888
|
* The color used to color the separator, which can be any color from the Quasar Color Palette
|
|
1036
1889
|
*/
|
|
1037
|
-
separatorColor?:
|
|
1890
|
+
separatorColor?: NamedColor | undefined;
|
|
1038
1891
|
/**
|
|
1039
1892
|
* Specify how to align the breadcrumbs horizontally
|
|
1040
1893
|
* Default value: left
|
|
@@ -1224,11 +2077,11 @@ export interface QBtnProps {
|
|
|
1224
2077
|
/**
|
|
1225
2078
|
* Color name for component from the Quasar Color Palette
|
|
1226
2079
|
*/
|
|
1227
|
-
color?:
|
|
2080
|
+
color?: NamedColor | undefined;
|
|
1228
2081
|
/**
|
|
1229
2082
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
1230
2083
|
*/
|
|
1231
|
-
textColor?:
|
|
2084
|
+
textColor?: NamedColor | undefined;
|
|
1232
2085
|
/**
|
|
1233
2086
|
* Avoid turning label text into caps (which happens by default)
|
|
1234
2087
|
*/
|
|
@@ -1433,11 +2286,11 @@ export interface QBtnDropdownProps {
|
|
|
1433
2286
|
/**
|
|
1434
2287
|
* Color name for component from the Quasar Color Palette
|
|
1435
2288
|
*/
|
|
1436
|
-
color?:
|
|
2289
|
+
color?: NamedColor | undefined;
|
|
1437
2290
|
/**
|
|
1438
2291
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
1439
2292
|
*/
|
|
1440
|
-
textColor?:
|
|
2293
|
+
textColor?: NamedColor | undefined;
|
|
1441
2294
|
/**
|
|
1442
2295
|
* Avoid turning label text into caps (which happens by default)
|
|
1443
2296
|
*/
|
|
@@ -1736,20 +2589,20 @@ export interface QBtnToggleProps {
|
|
|
1736
2589
|
/**
|
|
1737
2590
|
* Color name for component from the Quasar Color Palette
|
|
1738
2591
|
*/
|
|
1739
|
-
color?:
|
|
2592
|
+
color?: NamedColor | undefined;
|
|
1740
2593
|
/**
|
|
1741
2594
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
1742
2595
|
*/
|
|
1743
|
-
textColor?:
|
|
2596
|
+
textColor?: NamedColor | undefined;
|
|
1744
2597
|
/**
|
|
1745
2598
|
* Color name for component from the Quasar Color Palette
|
|
1746
2599
|
* Default value: primary
|
|
1747
2600
|
*/
|
|
1748
|
-
toggleColor?:
|
|
2601
|
+
toggleColor?: NamedColor | undefined;
|
|
1749
2602
|
/**
|
|
1750
2603
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
1751
2604
|
*/
|
|
1752
|
-
toggleTextColor?:
|
|
2605
|
+
toggleTextColor?: NamedColor | undefined;
|
|
1753
2606
|
/**
|
|
1754
2607
|
* Spread horizontally to all available space
|
|
1755
2608
|
*/
|
|
@@ -2007,11 +2860,11 @@ export interface QCarouselProps {
|
|
|
2007
2860
|
/**
|
|
2008
2861
|
* Color name for QCarousel button controls (arrows, navigation) from the Quasar Color Palette
|
|
2009
2862
|
*/
|
|
2010
|
-
controlColor?:
|
|
2863
|
+
controlColor?: NamedColor | undefined;
|
|
2011
2864
|
/**
|
|
2012
2865
|
* Color name for text color of QCarousel button controls (arrows, navigation) from the Quasar Color Palette
|
|
2013
2866
|
*/
|
|
2014
|
-
controlTextColor?:
|
|
2867
|
+
controlTextColor?: NamedColor | undefined;
|
|
2015
2868
|
/**
|
|
2016
2869
|
* Type of button to use for controls (arrows, navigation)
|
|
2017
2870
|
*/
|
|
@@ -2225,11 +3078,11 @@ export interface QChatMessageProps {
|
|
|
2225
3078
|
/**
|
|
2226
3079
|
* Color name (from the Quasar Color Palette) for chat bubble background
|
|
2227
3080
|
*/
|
|
2228
|
-
bgColor?:
|
|
3081
|
+
bgColor?: NamedColor | undefined;
|
|
2229
3082
|
/**
|
|
2230
3083
|
* Color name (from the Quasar Color Palette) for chat bubble text
|
|
2231
3084
|
*/
|
|
2232
|
-
textColor?:
|
|
3085
|
+
textColor?: NamedColor | undefined;
|
|
2233
3086
|
/**
|
|
2234
3087
|
* Author's name
|
|
2235
3088
|
*/
|
|
@@ -2356,7 +3209,7 @@ export interface QCheckboxProps {
|
|
|
2356
3209
|
/**
|
|
2357
3210
|
* Color name for component from the Quasar Color Palette
|
|
2358
3211
|
*/
|
|
2359
|
-
color?:
|
|
3212
|
+
color?: NamedColor | undefined;
|
|
2360
3213
|
/**
|
|
2361
3214
|
* Should the color (if specified any) be kept when the component is unticked/ off?
|
|
2362
3215
|
*/
|
|
@@ -2435,11 +3288,11 @@ export interface QChipProps {
|
|
|
2435
3288
|
/**
|
|
2436
3289
|
* Color name for component from the Quasar Color Palette
|
|
2437
3290
|
*/
|
|
2438
|
-
color?:
|
|
3291
|
+
color?: NamedColor | undefined;
|
|
2439
3292
|
/**
|
|
2440
3293
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
2441
3294
|
*/
|
|
2442
|
-
textColor?:
|
|
3295
|
+
textColor?: NamedColor | undefined;
|
|
2443
3296
|
/**
|
|
2444
3297
|
* Model of the component determining if QChip should be rendered or not
|
|
2445
3298
|
* Default value: true
|
|
@@ -2529,15 +3382,15 @@ export interface QCircularProgressProps {
|
|
|
2529
3382
|
/**
|
|
2530
3383
|
* Color name for the arc progress from the Quasar Color Palette
|
|
2531
3384
|
*/
|
|
2532
|
-
color?:
|
|
3385
|
+
color?: NamedColor | undefined;
|
|
2533
3386
|
/**
|
|
2534
3387
|
* Color name for the center part of the component from the Quasar Color Palette
|
|
2535
3388
|
*/
|
|
2536
|
-
centerColor?:
|
|
3389
|
+
centerColor?: NamedColor | undefined;
|
|
2537
3390
|
/**
|
|
2538
3391
|
* Color name for the track of the component from the Quasar Color Palette
|
|
2539
3392
|
*/
|
|
2540
|
-
trackColor?:
|
|
3393
|
+
trackColor?: NamedColor | undefined;
|
|
2541
3394
|
/**
|
|
2542
3395
|
* Size of text in CSS units, including unit name. Suggestion: use 'em' units to sync with component size
|
|
2543
3396
|
* Default value: 0.25em
|
|
@@ -2714,11 +3567,11 @@ export interface QDateProps {
|
|
|
2714
3567
|
/**
|
|
2715
3568
|
* Color name for component from the Quasar Color Palette
|
|
2716
3569
|
*/
|
|
2717
|
-
color?:
|
|
3570
|
+
color?: NamedColor | undefined;
|
|
2718
3571
|
/**
|
|
2719
3572
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
2720
3573
|
*/
|
|
2721
|
-
textColor?:
|
|
3574
|
+
textColor?: NamedColor | undefined;
|
|
2722
3575
|
/**
|
|
2723
3576
|
* Notify the component that the background is a dark color
|
|
2724
3577
|
*/
|
|
@@ -3414,11 +4267,11 @@ export interface QEditorProps {
|
|
|
3414
4267
|
/**
|
|
3415
4268
|
* Font color (from the Quasar Palette) of buttons and text in the toolbar
|
|
3416
4269
|
*/
|
|
3417
|
-
toolbarColor?:
|
|
4270
|
+
toolbarColor?: NamedColor | undefined;
|
|
3418
4271
|
/**
|
|
3419
4272
|
* Text color (from the Quasar Palette) of toolbar commands
|
|
3420
4273
|
*/
|
|
3421
|
-
toolbarTextColor?:
|
|
4274
|
+
toolbarTextColor?: NamedColor | undefined;
|
|
3422
4275
|
/**
|
|
3423
4276
|
* Choose the active color (from the Quasar Palette) of toolbar commands button
|
|
3424
4277
|
* Default value: primary
|
|
@@ -3497,7 +4350,12 @@ export interface QEditorProps {
|
|
|
3497
4350
|
onLinkHide?: () => void;
|
|
3498
4351
|
}
|
|
3499
4352
|
|
|
3500
|
-
export interface QEditorSlots {
|
|
4353
|
+
export interface QEditorSlots {
|
|
4354
|
+
/**
|
|
4355
|
+
* Content for the given command in the toolbar
|
|
4356
|
+
*/
|
|
4357
|
+
[key: `${string}`]: () => VNode[];
|
|
4358
|
+
}
|
|
3501
4359
|
|
|
3502
4360
|
export interface QEditor extends ComponentPublicInstance<QEditorProps> {
|
|
3503
4361
|
/**
|
|
@@ -3791,11 +4649,11 @@ export interface QFabProps {
|
|
|
3791
4649
|
/**
|
|
3792
4650
|
* Color name for component from the Quasar Color Palette
|
|
3793
4651
|
*/
|
|
3794
|
-
color?:
|
|
4652
|
+
color?: NamedColor | undefined;
|
|
3795
4653
|
/**
|
|
3796
4654
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
3797
4655
|
*/
|
|
3798
|
-
textColor?:
|
|
4656
|
+
textColor?: NamedColor | undefined;
|
|
3799
4657
|
/**
|
|
3800
4658
|
* Apply the glossy effect over the button
|
|
3801
4659
|
*/
|
|
@@ -3981,11 +4839,11 @@ export interface QFabActionProps {
|
|
|
3981
4839
|
/**
|
|
3982
4840
|
* Color name for component from the Quasar Color Palette
|
|
3983
4841
|
*/
|
|
3984
|
-
color?:
|
|
4842
|
+
color?: NamedColor | undefined;
|
|
3985
4843
|
/**
|
|
3986
4844
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
3987
4845
|
*/
|
|
3988
|
-
textColor?:
|
|
4846
|
+
textColor?: NamedColor | undefined;
|
|
3989
4847
|
/**
|
|
3990
4848
|
* Apply the glossy effect over the button
|
|
3991
4849
|
*/
|
|
@@ -4128,15 +4986,15 @@ export interface QFieldProps {
|
|
|
4128
4986
|
/**
|
|
4129
4987
|
* Color name for the label from the Quasar Color Palette; Overrides the 'color' prop; The difference from 'color' prop is that the label will always have this color, even when field is not focused
|
|
4130
4988
|
*/
|
|
4131
|
-
labelColor?:
|
|
4989
|
+
labelColor?: NamedColor | undefined;
|
|
4132
4990
|
/**
|
|
4133
4991
|
* Color name for component from the Quasar Color Palette
|
|
4134
4992
|
*/
|
|
4135
|
-
color?:
|
|
4993
|
+
color?: NamedColor | undefined;
|
|
4136
4994
|
/**
|
|
4137
4995
|
* Color name for component from the Quasar Color Palette
|
|
4138
4996
|
*/
|
|
4139
|
-
bgColor?:
|
|
4997
|
+
bgColor?: NamedColor | undefined;
|
|
4140
4998
|
/**
|
|
4141
4999
|
* Notify the component that the background is a dark color
|
|
4142
5000
|
*/
|
|
@@ -4441,15 +5299,15 @@ export interface QFileProps {
|
|
|
4441
5299
|
/**
|
|
4442
5300
|
* Color name for the label from the Quasar Color Palette; Overrides the 'color' prop; The difference from 'color' prop is that the label will always have this color, even when field is not focused
|
|
4443
5301
|
*/
|
|
4444
|
-
labelColor?:
|
|
5302
|
+
labelColor?: NamedColor | undefined;
|
|
4445
5303
|
/**
|
|
4446
5304
|
* Color name for component from the Quasar Color Palette
|
|
4447
5305
|
*/
|
|
4448
|
-
color?:
|
|
5306
|
+
color?: NamedColor | undefined;
|
|
4449
5307
|
/**
|
|
4450
5308
|
* Color name for component from the Quasar Color Palette
|
|
4451
5309
|
*/
|
|
4452
|
-
bgColor?:
|
|
5310
|
+
bgColor?: NamedColor | undefined;
|
|
4453
5311
|
/**
|
|
4454
5312
|
* Notify the component that the background is a dark color
|
|
4455
5313
|
*/
|
|
@@ -4914,7 +5772,7 @@ export interface QIconProps {
|
|
|
4914
5772
|
/**
|
|
4915
5773
|
* Color name for component from the Quasar Color Palette
|
|
4916
5774
|
*/
|
|
4917
|
-
color?:
|
|
5775
|
+
color?: NamedColor | undefined;
|
|
4918
5776
|
/**
|
|
4919
5777
|
* Useful if icon is on the left side of something: applies a standard margin on the right side of Icon
|
|
4920
5778
|
*/
|
|
@@ -5028,7 +5886,7 @@ export interface QImgProps {
|
|
|
5028
5886
|
/**
|
|
5029
5887
|
* Color name for default Spinner (unless using a 'loading' slot)
|
|
5030
5888
|
*/
|
|
5031
|
-
spinnerColor?:
|
|
5889
|
+
spinnerColor?: NamedColor | undefined;
|
|
5032
5890
|
/**
|
|
5033
5891
|
* Size in CSS units, including unit name, for default Spinner (unless using a 'loading' slot)
|
|
5034
5892
|
*/
|
|
@@ -5181,7 +6039,7 @@ export interface QInnerLoadingProps {
|
|
|
5181
6039
|
/**
|
|
5182
6040
|
* Color name for component from the Quasar Color Palette for the inner Spinner (unless using the default slot)
|
|
5183
6041
|
*/
|
|
5184
|
-
color?:
|
|
6042
|
+
color?: NamedColor | undefined;
|
|
5185
6043
|
/**
|
|
5186
6044
|
* Add a label; Gets overriden when using the default slot
|
|
5187
6045
|
*/
|
|
@@ -5286,15 +6144,15 @@ export interface QInputProps {
|
|
|
5286
6144
|
/**
|
|
5287
6145
|
* Color name for the label from the Quasar Color Palette; Overrides the 'color' prop; The difference from 'color' prop is that the label will always have this color, even when field is not focused
|
|
5288
6146
|
*/
|
|
5289
|
-
labelColor?:
|
|
6147
|
+
labelColor?: NamedColor | undefined;
|
|
5290
6148
|
/**
|
|
5291
6149
|
* Color name for component from the Quasar Color Palette
|
|
5292
6150
|
*/
|
|
5293
|
-
color?:
|
|
6151
|
+
color?: NamedColor | undefined;
|
|
5294
6152
|
/**
|
|
5295
6153
|
* Color name for component from the Quasar Color Palette
|
|
5296
6154
|
*/
|
|
5297
|
-
bgColor?:
|
|
6155
|
+
bgColor?: NamedColor | undefined;
|
|
5298
6156
|
/**
|
|
5299
6157
|
* Notify the component that the background is a dark color
|
|
5300
6158
|
*/
|
|
@@ -5825,15 +6683,15 @@ export interface QKnobProps {
|
|
|
5825
6683
|
/**
|
|
5826
6684
|
* Color name for component from the Quasar Color Palette
|
|
5827
6685
|
*/
|
|
5828
|
-
color?:
|
|
6686
|
+
color?: NamedColor | undefined;
|
|
5829
6687
|
/**
|
|
5830
6688
|
* Color name for the center part of the component from the Quasar Color Palette
|
|
5831
6689
|
*/
|
|
5832
|
-
centerColor?:
|
|
6690
|
+
centerColor?: NamedColor | undefined;
|
|
5833
6691
|
/**
|
|
5834
6692
|
* Color name for the track of the component from the Quasar Color Palette
|
|
5835
6693
|
*/
|
|
5836
|
-
trackColor?:
|
|
6694
|
+
trackColor?: NamedColor | undefined;
|
|
5837
6695
|
/**
|
|
5838
6696
|
* Size of text in CSS units, including unit name. Suggestion: use 'em' units to sync with component size
|
|
5839
6697
|
* Default value: 0.25em
|
|
@@ -5972,11 +6830,11 @@ export interface QLinearProgressProps {
|
|
|
5972
6830
|
/**
|
|
5973
6831
|
* Color name for component from the Quasar Color Palette
|
|
5974
6832
|
*/
|
|
5975
|
-
color?:
|
|
6833
|
+
color?: NamedColor | undefined;
|
|
5976
6834
|
/**
|
|
5977
6835
|
* Color name for component's track from the Quasar Color Palette
|
|
5978
6836
|
*/
|
|
5979
|
-
trackColor?:
|
|
6837
|
+
trackColor?: NamedColor | undefined;
|
|
5980
6838
|
/**
|
|
5981
6839
|
* Notify the component that the background is a dark color
|
|
5982
6840
|
*/
|
|
@@ -6332,7 +7190,7 @@ export interface QOptionGroupProps {
|
|
|
6332
7190
|
/**
|
|
6333
7191
|
* Color name for component from the Quasar Color Palette
|
|
6334
7192
|
*/
|
|
6335
|
-
color?:
|
|
7193
|
+
color?: NamedColor | undefined;
|
|
6336
7194
|
/**
|
|
6337
7195
|
* Should the color (if specified any) be kept when input components are unticked?
|
|
6338
7196
|
*/
|
|
@@ -6627,11 +7485,11 @@ export interface QPaginationProps {
|
|
|
6627
7485
|
* Color name from the Quasar Color Palette for the non-active buttons
|
|
6628
7486
|
* Default value: primary
|
|
6629
7487
|
*/
|
|
6630
|
-
color?:
|
|
7488
|
+
color?: NamedColor | undefined;
|
|
6631
7489
|
/**
|
|
6632
7490
|
* Text color name from the Quasar Color Palette for the ACTIVE buttons
|
|
6633
7491
|
*/
|
|
6634
|
-
textColor?:
|
|
7492
|
+
textColor?: NamedColor | undefined;
|
|
6635
7493
|
/**
|
|
6636
7494
|
* The design of the ACTIVE button, similar to the flat/outline/push/unelevated props (but those are used for non-active buttons)
|
|
6637
7495
|
*/
|
|
@@ -6640,11 +7498,11 @@ export interface QPaginationProps {
|
|
|
6640
7498
|
* Color name from the Quasar Color Palette for the ACTIVE button
|
|
6641
7499
|
* Default value: primary
|
|
6642
7500
|
*/
|
|
6643
|
-
activeColor?:
|
|
7501
|
+
activeColor?: NamedColor | undefined;
|
|
6644
7502
|
/**
|
|
6645
7503
|
* Text color name from the Quasar Color Palette for the ACTIVE button
|
|
6646
7504
|
*/
|
|
6647
|
-
activeTextColor?:
|
|
7505
|
+
activeTextColor?: NamedColor | undefined;
|
|
6648
7506
|
/**
|
|
6649
7507
|
* Makes a circle shaped button for all buttons
|
|
6650
7508
|
*/
|
|
@@ -6778,7 +7636,7 @@ export interface QPopupEditProps {
|
|
|
6778
7636
|
* Color name for component from the Quasar Color Palette
|
|
6779
7637
|
* Default value: primary
|
|
6780
7638
|
*/
|
|
6781
|
-
color?:
|
|
7639
|
+
color?: NamedColor | undefined;
|
|
6782
7640
|
/**
|
|
6783
7641
|
* Validates model then triggers 'save' and closes Popup; Returns a Boolean ('true' means valid, 'false' means abort); Syntax: validate(value); For best performance, reference it from your scope and do not define it inline
|
|
6784
7642
|
* @param value Model to validate
|
|
@@ -7053,11 +7911,11 @@ export interface QPullToRefreshProps {
|
|
|
7053
7911
|
/**
|
|
7054
7912
|
* Color name for the icon from the Quasar Color Palette
|
|
7055
7913
|
*/
|
|
7056
|
-
color?:
|
|
7914
|
+
color?: NamedColor | undefined;
|
|
7057
7915
|
/**
|
|
7058
7916
|
* Color name for background of the icon container from the Quasar Color Palette
|
|
7059
7917
|
*/
|
|
7060
|
-
bgColor?:
|
|
7918
|
+
bgColor?: NamedColor | undefined;
|
|
7061
7919
|
/**
|
|
7062
7920
|
* Icon to display when refreshing the content
|
|
7063
7921
|
*/
|
|
@@ -7136,7 +7994,7 @@ export interface QRadioProps {
|
|
|
7136
7994
|
/**
|
|
7137
7995
|
* Color name for component from the Quasar Color Palette
|
|
7138
7996
|
*/
|
|
7139
|
-
color?:
|
|
7997
|
+
color?: NamedColor | undefined;
|
|
7140
7998
|
/**
|
|
7141
7999
|
* Should the color (if specified any) be kept when checkbox is unticked?
|
|
7142
8000
|
*/
|
|
@@ -7221,11 +8079,11 @@ export interface QRangeProps {
|
|
|
7221
8079
|
/**
|
|
7222
8080
|
* Color name for component from the Quasar Color Palette
|
|
7223
8081
|
*/
|
|
7224
|
-
color?:
|
|
8082
|
+
color?: NamedColor | undefined;
|
|
7225
8083
|
/**
|
|
7226
8084
|
* Color name for the track (can be 'transparent' too) from the Quasar Color Palette
|
|
7227
8085
|
*/
|
|
7228
|
-
trackColor?:
|
|
8086
|
+
trackColor?: NamedColor | undefined;
|
|
7229
8087
|
/**
|
|
7230
8088
|
* Apply a pattern image on the track
|
|
7231
8089
|
*/
|
|
@@ -7233,7 +8091,7 @@ export interface QRangeProps {
|
|
|
7233
8091
|
/**
|
|
7234
8092
|
* Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette
|
|
7235
8093
|
*/
|
|
7236
|
-
innerTrackColor?:
|
|
8094
|
+
innerTrackColor?: NamedColor | undefined;
|
|
7237
8095
|
/**
|
|
7238
8096
|
* Apply a pattern image on the inner track
|
|
7239
8097
|
*/
|
|
@@ -7241,7 +8099,7 @@ export interface QRangeProps {
|
|
|
7241
8099
|
/**
|
|
7242
8100
|
* Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette
|
|
7243
8101
|
*/
|
|
7244
|
-
selectionColor?:
|
|
8102
|
+
selectionColor?: NamedColor | undefined;
|
|
7245
8103
|
/**
|
|
7246
8104
|
* Apply a pattern image on the selection bar
|
|
7247
8105
|
*/
|
|
@@ -7253,11 +8111,11 @@ export interface QRangeProps {
|
|
|
7253
8111
|
/**
|
|
7254
8112
|
* Color name for component from the Quasar Color Palette
|
|
7255
8113
|
*/
|
|
7256
|
-
labelColor?:
|
|
8114
|
+
labelColor?: NamedColor | undefined;
|
|
7257
8115
|
/**
|
|
7258
8116
|
* Color name for component from the Quasar Color Palette
|
|
7259
8117
|
*/
|
|
7260
|
-
labelTextColor?:
|
|
8118
|
+
labelTextColor?: NamedColor | undefined;
|
|
7261
8119
|
/**
|
|
7262
8120
|
* Switch the position of the label (top <-> bottom or left <-> right)
|
|
7263
8121
|
*/
|
|
@@ -7297,7 +8155,7 @@ export interface QRangeProps {
|
|
|
7297
8155
|
/**
|
|
7298
8156
|
* Color name for component from the Quasar Color Palette
|
|
7299
8157
|
*/
|
|
7300
|
-
thumbColor?:
|
|
8158
|
+
thumbColor?: NamedColor | undefined;
|
|
7301
8159
|
/**
|
|
7302
8160
|
* Set custom thumb svg path
|
|
7303
8161
|
* Default value: M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0
|
|
@@ -7350,19 +8208,19 @@ export interface QRangeProps {
|
|
|
7350
8208
|
/**
|
|
7351
8209
|
* Color name for left label background from the Quasar Color Palette
|
|
7352
8210
|
*/
|
|
7353
|
-
leftLabelColor?:
|
|
8211
|
+
leftLabelColor?: NamedColor | undefined;
|
|
7354
8212
|
/**
|
|
7355
8213
|
* Color name for left label text from the Quasar Color Palette
|
|
7356
8214
|
*/
|
|
7357
|
-
leftLabelTextColor?:
|
|
8215
|
+
leftLabelTextColor?: NamedColor | undefined;
|
|
7358
8216
|
/**
|
|
7359
8217
|
* Color name for right label background from the Quasar Color Palette
|
|
7360
8218
|
*/
|
|
7361
|
-
rightLabelColor?:
|
|
8219
|
+
rightLabelColor?: NamedColor | undefined;
|
|
7362
8220
|
/**
|
|
7363
8221
|
* Color name for right label text from the Quasar Color Palette
|
|
7364
8222
|
*/
|
|
7365
|
-
rightLabelTextColor?:
|
|
8223
|
+
rightLabelTextColor?: NamedColor | undefined;
|
|
7366
8224
|
/**
|
|
7367
8225
|
* Override default label for min value
|
|
7368
8226
|
*/
|
|
@@ -7374,11 +8232,11 @@ export interface QRangeProps {
|
|
|
7374
8232
|
/**
|
|
7375
8233
|
* Color name (from the Quasar Color Palette) for left thumb
|
|
7376
8234
|
*/
|
|
7377
|
-
leftThumbColor?:
|
|
8235
|
+
leftThumbColor?: NamedColor | undefined;
|
|
7378
8236
|
/**
|
|
7379
8237
|
* Color name (from the Quasar Color Palette) for right thumb
|
|
7380
8238
|
*/
|
|
7381
|
-
rightThumbColor?:
|
|
8239
|
+
rightThumbColor?: NamedColor | undefined;
|
|
7382
8240
|
/**
|
|
7383
8241
|
* Emitted on lazy model value change (after user slides then releases the thumb)
|
|
7384
8242
|
* @param value New model value
|
|
@@ -7490,15 +8348,15 @@ export interface QRatingProps {
|
|
|
7490
8348
|
/**
|
|
7491
8349
|
* Color name for component from the Quasar Color Palette; v1.5.0+: If an array is provided each rating value will use the corresponding color in the array (0 based)
|
|
7492
8350
|
*/
|
|
7493
|
-
color?:
|
|
8351
|
+
color?: NamedColor | undefined;
|
|
7494
8352
|
/**
|
|
7495
8353
|
* Color name from the Quasar Palette for selected icons
|
|
7496
8354
|
*/
|
|
7497
|
-
colorSelected?:
|
|
8355
|
+
colorSelected?: NamedColor | undefined;
|
|
7498
8356
|
/**
|
|
7499
8357
|
* Color name from the Quasar Palette for half selected icons
|
|
7500
8358
|
*/
|
|
7501
|
-
colorHalf?:
|
|
8359
|
+
colorHalf?: NamedColor | undefined;
|
|
7502
8360
|
/**
|
|
7503
8361
|
* Does not lower opacity for unselected icons
|
|
7504
8362
|
*/
|
|
@@ -7960,15 +8818,15 @@ export interface QSelectProps {
|
|
|
7960
8818
|
/**
|
|
7961
8819
|
* Color name for the label from the Quasar Color Palette; Overrides the 'color' prop; The difference from 'color' prop is that the label will always have this color, even when field is not focused
|
|
7962
8820
|
*/
|
|
7963
|
-
labelColor?:
|
|
8821
|
+
labelColor?: NamedColor | undefined;
|
|
7964
8822
|
/**
|
|
7965
8823
|
* Color name for component from the Quasar Color Palette
|
|
7966
8824
|
*/
|
|
7967
|
-
color?:
|
|
8825
|
+
color?: NamedColor | undefined;
|
|
7968
8826
|
/**
|
|
7969
8827
|
* Color name for component from the Quasar Color Palette
|
|
7970
8828
|
*/
|
|
7971
|
-
bgColor?:
|
|
8829
|
+
bgColor?: NamedColor | undefined;
|
|
7972
8830
|
/**
|
|
7973
8831
|
* Notify the component that the background is a dark color
|
|
7974
8832
|
*/
|
|
@@ -8642,7 +9500,7 @@ export interface QSeparatorProps {
|
|
|
8642
9500
|
/**
|
|
8643
9501
|
* Color name for component from the Quasar Color Palette
|
|
8644
9502
|
*/
|
|
8645
|
-
color?:
|
|
9503
|
+
color?: NamedColor | undefined;
|
|
8646
9504
|
}
|
|
8647
9505
|
|
|
8648
9506
|
export interface QSeparatorSlots {}
|
|
@@ -8732,19 +9590,19 @@ export interface QSlideItemProps {
|
|
|
8732
9590
|
/**
|
|
8733
9591
|
* Color name for left-side background from the Quasar Color Palette
|
|
8734
9592
|
*/
|
|
8735
|
-
leftColor?:
|
|
9593
|
+
leftColor?: NamedColor | undefined;
|
|
8736
9594
|
/**
|
|
8737
9595
|
* Color name for right-side background from the Quasar Color Palette
|
|
8738
9596
|
*/
|
|
8739
|
-
rightColor?:
|
|
9597
|
+
rightColor?: NamedColor | undefined;
|
|
8740
9598
|
/**
|
|
8741
9599
|
* Color name for top-side background from the Quasar Color Palette
|
|
8742
9600
|
*/
|
|
8743
|
-
topColor?:
|
|
9601
|
+
topColor?: NamedColor | undefined;
|
|
8744
9602
|
/**
|
|
8745
9603
|
* Color name for bottom-side background from the Quasar Color Palette
|
|
8746
9604
|
*/
|
|
8747
|
-
bottomColor?:
|
|
9605
|
+
bottomColor?: NamedColor | undefined;
|
|
8748
9606
|
/**
|
|
8749
9607
|
* Notify the component that the background is a dark color
|
|
8750
9608
|
*/
|
|
@@ -8925,11 +9783,11 @@ export interface QSliderProps {
|
|
|
8925
9783
|
/**
|
|
8926
9784
|
* Color name for component from the Quasar Color Palette
|
|
8927
9785
|
*/
|
|
8928
|
-
color?:
|
|
9786
|
+
color?: NamedColor | undefined;
|
|
8929
9787
|
/**
|
|
8930
9788
|
* Color name for the track (can be 'transparent' too) from the Quasar Color Palette
|
|
8931
9789
|
*/
|
|
8932
|
-
trackColor?:
|
|
9790
|
+
trackColor?: NamedColor | undefined;
|
|
8933
9791
|
/**
|
|
8934
9792
|
* Apply a pattern image on the track
|
|
8935
9793
|
*/
|
|
@@ -8937,7 +9795,7 @@ export interface QSliderProps {
|
|
|
8937
9795
|
/**
|
|
8938
9796
|
* Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette
|
|
8939
9797
|
*/
|
|
8940
|
-
innerTrackColor?:
|
|
9798
|
+
innerTrackColor?: NamedColor | undefined;
|
|
8941
9799
|
/**
|
|
8942
9800
|
* Apply a pattern image on the inner track
|
|
8943
9801
|
*/
|
|
@@ -8945,7 +9803,7 @@ export interface QSliderProps {
|
|
|
8945
9803
|
/**
|
|
8946
9804
|
* Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette
|
|
8947
9805
|
*/
|
|
8948
|
-
selectionColor?:
|
|
9806
|
+
selectionColor?: NamedColor | undefined;
|
|
8949
9807
|
/**
|
|
8950
9808
|
* Apply a pattern image on the selection bar
|
|
8951
9809
|
*/
|
|
@@ -8957,11 +9815,11 @@ export interface QSliderProps {
|
|
|
8957
9815
|
/**
|
|
8958
9816
|
* Color name for component from the Quasar Color Palette
|
|
8959
9817
|
*/
|
|
8960
|
-
labelColor?:
|
|
9818
|
+
labelColor?: NamedColor | undefined;
|
|
8961
9819
|
/**
|
|
8962
9820
|
* Color name for component from the Quasar Color Palette
|
|
8963
9821
|
*/
|
|
8964
|
-
labelTextColor?:
|
|
9822
|
+
labelTextColor?: NamedColor | undefined;
|
|
8965
9823
|
/**
|
|
8966
9824
|
* Switch the position of the label (top <-> bottom or left <-> right)
|
|
8967
9825
|
*/
|
|
@@ -9001,7 +9859,7 @@ export interface QSliderProps {
|
|
|
9001
9859
|
/**
|
|
9002
9860
|
* Color name for component from the Quasar Color Palette
|
|
9003
9861
|
*/
|
|
9004
|
-
thumbColor?:
|
|
9862
|
+
thumbColor?: NamedColor | undefined;
|
|
9005
9863
|
/**
|
|
9006
9864
|
* Set custom thumb svg path
|
|
9007
9865
|
* Default value: M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0
|
|
@@ -9123,7 +9981,7 @@ export interface QSpinnerProps {
|
|
|
9123
9981
|
/**
|
|
9124
9982
|
* Color name for component from the Quasar Color Palette
|
|
9125
9983
|
*/
|
|
9126
|
-
color?:
|
|
9984
|
+
color?: NamedColor | undefined;
|
|
9127
9985
|
/**
|
|
9128
9986
|
* Override value to use for stroke-width
|
|
9129
9987
|
* Default value: 5
|
|
@@ -9143,7 +10001,7 @@ export interface QSpinnerAudioProps {
|
|
|
9143
10001
|
/**
|
|
9144
10002
|
* Color name for component from the Quasar Color Palette
|
|
9145
10003
|
*/
|
|
9146
|
-
color?:
|
|
10004
|
+
color?: NamedColor | undefined;
|
|
9147
10005
|
}
|
|
9148
10006
|
|
|
9149
10007
|
export interface QSpinnerAudioSlots {}
|
|
@@ -9159,7 +10017,7 @@ export interface QSpinnerBallProps {
|
|
|
9159
10017
|
/**
|
|
9160
10018
|
* Color name for component from the Quasar Color Palette
|
|
9161
10019
|
*/
|
|
9162
|
-
color?:
|
|
10020
|
+
color?: NamedColor | undefined;
|
|
9163
10021
|
}
|
|
9164
10022
|
|
|
9165
10023
|
export interface QSpinnerBallSlots {}
|
|
@@ -9175,7 +10033,7 @@ export interface QSpinnerBarsProps {
|
|
|
9175
10033
|
/**
|
|
9176
10034
|
* Color name for component from the Quasar Color Palette
|
|
9177
10035
|
*/
|
|
9178
|
-
color?:
|
|
10036
|
+
color?: NamedColor | undefined;
|
|
9179
10037
|
}
|
|
9180
10038
|
|
|
9181
10039
|
export interface QSpinnerBarsSlots {}
|
|
@@ -9191,7 +10049,7 @@ export interface QSpinnerBoxProps {
|
|
|
9191
10049
|
/**
|
|
9192
10050
|
* Color name for component from the Quasar Color Palette
|
|
9193
10051
|
*/
|
|
9194
|
-
color?:
|
|
10052
|
+
color?: NamedColor | undefined;
|
|
9195
10053
|
}
|
|
9196
10054
|
|
|
9197
10055
|
export interface QSpinnerBoxSlots {}
|
|
@@ -9207,7 +10065,7 @@ export interface QSpinnerClockProps {
|
|
|
9207
10065
|
/**
|
|
9208
10066
|
* Color name for component from the Quasar Color Palette
|
|
9209
10067
|
*/
|
|
9210
|
-
color?:
|
|
10068
|
+
color?: NamedColor | undefined;
|
|
9211
10069
|
}
|
|
9212
10070
|
|
|
9213
10071
|
export interface QSpinnerClockSlots {}
|
|
@@ -9223,7 +10081,7 @@ export interface QSpinnerCommentProps {
|
|
|
9223
10081
|
/**
|
|
9224
10082
|
* Color name for component from the Quasar Color Palette
|
|
9225
10083
|
*/
|
|
9226
|
-
color?:
|
|
10084
|
+
color?: NamedColor | undefined;
|
|
9227
10085
|
}
|
|
9228
10086
|
|
|
9229
10087
|
export interface QSpinnerCommentSlots {}
|
|
@@ -9239,7 +10097,7 @@ export interface QSpinnerCubeProps {
|
|
|
9239
10097
|
/**
|
|
9240
10098
|
* Color name for component from the Quasar Color Palette
|
|
9241
10099
|
*/
|
|
9242
|
-
color?:
|
|
10100
|
+
color?: NamedColor | undefined;
|
|
9243
10101
|
}
|
|
9244
10102
|
|
|
9245
10103
|
export interface QSpinnerCubeSlots {}
|
|
@@ -9255,7 +10113,7 @@ export interface QSpinnerDotsProps {
|
|
|
9255
10113
|
/**
|
|
9256
10114
|
* Color name for component from the Quasar Color Palette
|
|
9257
10115
|
*/
|
|
9258
|
-
color?:
|
|
10116
|
+
color?: NamedColor | undefined;
|
|
9259
10117
|
}
|
|
9260
10118
|
|
|
9261
10119
|
export interface QSpinnerDotsSlots {}
|
|
@@ -9271,7 +10129,7 @@ export interface QSpinnerFacebookProps {
|
|
|
9271
10129
|
/**
|
|
9272
10130
|
* Color name for component from the Quasar Color Palette
|
|
9273
10131
|
*/
|
|
9274
|
-
color?:
|
|
10132
|
+
color?: NamedColor | undefined;
|
|
9275
10133
|
}
|
|
9276
10134
|
|
|
9277
10135
|
export interface QSpinnerFacebookSlots {}
|
|
@@ -9287,7 +10145,7 @@ export interface QSpinnerGearsProps {
|
|
|
9287
10145
|
/**
|
|
9288
10146
|
* Color name for component from the Quasar Color Palette
|
|
9289
10147
|
*/
|
|
9290
|
-
color?:
|
|
10148
|
+
color?: NamedColor | undefined;
|
|
9291
10149
|
}
|
|
9292
10150
|
|
|
9293
10151
|
export interface QSpinnerGearsSlots {}
|
|
@@ -9303,7 +10161,7 @@ export interface QSpinnerGridProps {
|
|
|
9303
10161
|
/**
|
|
9304
10162
|
* Color name for component from the Quasar Color Palette
|
|
9305
10163
|
*/
|
|
9306
|
-
color?:
|
|
10164
|
+
color?: NamedColor | undefined;
|
|
9307
10165
|
}
|
|
9308
10166
|
|
|
9309
10167
|
export interface QSpinnerGridSlots {}
|
|
@@ -9319,7 +10177,7 @@ export interface QSpinnerHeartsProps {
|
|
|
9319
10177
|
/**
|
|
9320
10178
|
* Color name for component from the Quasar Color Palette
|
|
9321
10179
|
*/
|
|
9322
|
-
color?:
|
|
10180
|
+
color?: NamedColor | undefined;
|
|
9323
10181
|
}
|
|
9324
10182
|
|
|
9325
10183
|
export interface QSpinnerHeartsSlots {}
|
|
@@ -9335,7 +10193,7 @@ export interface QSpinnerHourglassProps {
|
|
|
9335
10193
|
/**
|
|
9336
10194
|
* Color name for component from the Quasar Color Palette
|
|
9337
10195
|
*/
|
|
9338
|
-
color?:
|
|
10196
|
+
color?: NamedColor | undefined;
|
|
9339
10197
|
}
|
|
9340
10198
|
|
|
9341
10199
|
export interface QSpinnerHourglassSlots {}
|
|
@@ -9351,7 +10209,7 @@ export interface QSpinnerInfinityProps {
|
|
|
9351
10209
|
/**
|
|
9352
10210
|
* Color name for component from the Quasar Color Palette
|
|
9353
10211
|
*/
|
|
9354
|
-
color?:
|
|
10212
|
+
color?: NamedColor | undefined;
|
|
9355
10213
|
}
|
|
9356
10214
|
|
|
9357
10215
|
export interface QSpinnerInfinitySlots {}
|
|
@@ -9367,7 +10225,7 @@ export interface QSpinnerIosProps {
|
|
|
9367
10225
|
/**
|
|
9368
10226
|
* Color name for component from the Quasar Color Palette
|
|
9369
10227
|
*/
|
|
9370
|
-
color?:
|
|
10228
|
+
color?: NamedColor | undefined;
|
|
9371
10229
|
}
|
|
9372
10230
|
|
|
9373
10231
|
export interface QSpinnerIosSlots {}
|
|
@@ -9383,7 +10241,7 @@ export interface QSpinnerOrbitProps {
|
|
|
9383
10241
|
/**
|
|
9384
10242
|
* Color name for component from the Quasar Color Palette
|
|
9385
10243
|
*/
|
|
9386
|
-
color?:
|
|
10244
|
+
color?: NamedColor | undefined;
|
|
9387
10245
|
}
|
|
9388
10246
|
|
|
9389
10247
|
export interface QSpinnerOrbitSlots {}
|
|
@@ -9399,7 +10257,7 @@ export interface QSpinnerOvalProps {
|
|
|
9399
10257
|
/**
|
|
9400
10258
|
* Color name for component from the Quasar Color Palette
|
|
9401
10259
|
*/
|
|
9402
|
-
color?:
|
|
10260
|
+
color?: NamedColor | undefined;
|
|
9403
10261
|
}
|
|
9404
10262
|
|
|
9405
10263
|
export interface QSpinnerOvalSlots {}
|
|
@@ -9415,7 +10273,7 @@ export interface QSpinnerPieProps {
|
|
|
9415
10273
|
/**
|
|
9416
10274
|
* Color name for component from the Quasar Color Palette
|
|
9417
10275
|
*/
|
|
9418
|
-
color?:
|
|
10276
|
+
color?: NamedColor | undefined;
|
|
9419
10277
|
}
|
|
9420
10278
|
|
|
9421
10279
|
export interface QSpinnerPieSlots {}
|
|
@@ -9431,7 +10289,7 @@ export interface QSpinnerPuffProps {
|
|
|
9431
10289
|
/**
|
|
9432
10290
|
* Color name for component from the Quasar Color Palette
|
|
9433
10291
|
*/
|
|
9434
|
-
color?:
|
|
10292
|
+
color?: NamedColor | undefined;
|
|
9435
10293
|
}
|
|
9436
10294
|
|
|
9437
10295
|
export interface QSpinnerPuffSlots {}
|
|
@@ -9447,7 +10305,7 @@ export interface QSpinnerRadioProps {
|
|
|
9447
10305
|
/**
|
|
9448
10306
|
* Color name for component from the Quasar Color Palette
|
|
9449
10307
|
*/
|
|
9450
|
-
color?:
|
|
10308
|
+
color?: NamedColor | undefined;
|
|
9451
10309
|
}
|
|
9452
10310
|
|
|
9453
10311
|
export interface QSpinnerRadioSlots {}
|
|
@@ -9463,7 +10321,7 @@ export interface QSpinnerRingsProps {
|
|
|
9463
10321
|
/**
|
|
9464
10322
|
* Color name for component from the Quasar Color Palette
|
|
9465
10323
|
*/
|
|
9466
|
-
color?:
|
|
10324
|
+
color?: NamedColor | undefined;
|
|
9467
10325
|
}
|
|
9468
10326
|
|
|
9469
10327
|
export interface QSpinnerRingsSlots {}
|
|
@@ -9479,7 +10337,7 @@ export interface QSpinnerTailProps {
|
|
|
9479
10337
|
/**
|
|
9480
10338
|
* Color name for component from the Quasar Color Palette
|
|
9481
10339
|
*/
|
|
9482
|
-
color?:
|
|
10340
|
+
color?: NamedColor | undefined;
|
|
9483
10341
|
}
|
|
9484
10342
|
|
|
9485
10343
|
export interface QSpinnerTailSlots {}
|
|
@@ -9582,7 +10440,7 @@ export interface QStepProps {
|
|
|
9582
10440
|
/**
|
|
9583
10441
|
* Color name for component from the Quasar Color Palette
|
|
9584
10442
|
*/
|
|
9585
|
-
color?:
|
|
10443
|
+
color?: NamedColor | undefined;
|
|
9586
10444
|
/**
|
|
9587
10445
|
* Step title
|
|
9588
10446
|
*/
|
|
@@ -9602,7 +10460,7 @@ export interface QStepProps {
|
|
|
9602
10460
|
/**
|
|
9603
10461
|
* Color name for component from the Quasar Color Palette
|
|
9604
10462
|
*/
|
|
9605
|
-
doneColor?:
|
|
10463
|
+
doneColor?: NamedColor | undefined;
|
|
9606
10464
|
/**
|
|
9607
10465
|
* Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
9608
10466
|
*/
|
|
@@ -9610,7 +10468,7 @@ export interface QStepProps {
|
|
|
9610
10468
|
/**
|
|
9611
10469
|
* Color name for component from the Quasar Color Palette
|
|
9612
10470
|
*/
|
|
9613
|
-
activeColor?:
|
|
10471
|
+
activeColor?: NamedColor | undefined;
|
|
9614
10472
|
/**
|
|
9615
10473
|
* Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
9616
10474
|
*/
|
|
@@ -9618,7 +10476,7 @@ export interface QStepProps {
|
|
|
9618
10476
|
/**
|
|
9619
10477
|
* Color name for component from the Quasar Color Palette
|
|
9620
10478
|
*/
|
|
9621
|
-
errorColor?:
|
|
10479
|
+
errorColor?: NamedColor | undefined;
|
|
9622
10480
|
/**
|
|
9623
10481
|
* Allow navigation through the header
|
|
9624
10482
|
* Default value: true
|
|
@@ -9726,7 +10584,7 @@ export interface QStepperProps {
|
|
|
9726
10584
|
/**
|
|
9727
10585
|
* Color name for component from the Quasar Color Palette
|
|
9728
10586
|
*/
|
|
9729
|
-
inactiveColor?:
|
|
10587
|
+
inactiveColor?: NamedColor | undefined;
|
|
9730
10588
|
/**
|
|
9731
10589
|
* Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
9732
10590
|
*/
|
|
@@ -9734,7 +10592,7 @@ export interface QStepperProps {
|
|
|
9734
10592
|
/**
|
|
9735
10593
|
* Color name for component from the Quasar Color Palette
|
|
9736
10594
|
*/
|
|
9737
|
-
doneColor?:
|
|
10595
|
+
doneColor?: NamedColor | undefined;
|
|
9738
10596
|
/**
|
|
9739
10597
|
* Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
9740
10598
|
*/
|
|
@@ -9742,7 +10600,7 @@ export interface QStepperProps {
|
|
|
9742
10600
|
/**
|
|
9743
10601
|
* Color name for component from the Quasar Color Palette
|
|
9744
10602
|
*/
|
|
9745
|
-
activeColor?:
|
|
10603
|
+
activeColor?: NamedColor | undefined;
|
|
9746
10604
|
/**
|
|
9747
10605
|
* Icon name following Quasar convention; If 'none' (String) is used as value, then it will defer to prefix or the regular icon for this state; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
9748
10606
|
*/
|
|
@@ -9750,7 +10608,7 @@ export interface QStepperProps {
|
|
|
9750
10608
|
/**
|
|
9751
10609
|
* Color name for component from the Quasar Color Palette
|
|
9752
10610
|
*/
|
|
9753
|
-
errorColor?:
|
|
10611
|
+
errorColor?: NamedColor | undefined;
|
|
9754
10612
|
/**
|
|
9755
10613
|
* Class definitions to be attributed to the header
|
|
9756
10614
|
*/
|
|
@@ -10007,7 +10865,7 @@ export interface QTableProps {
|
|
|
10007
10865
|
* Color name for component from the Quasar Color Palette
|
|
10008
10866
|
* Default value: grey-8
|
|
10009
10867
|
*/
|
|
10010
|
-
color?:
|
|
10868
|
+
color?: NamedColor | undefined;
|
|
10011
10869
|
/**
|
|
10012
10870
|
* Icon name following Quasar convention for stepping to first page; Make sure you have the icon library installed unless you are using 'img:' prefix
|
|
10013
10871
|
*/
|
|
@@ -10526,7 +11384,7 @@ export interface QTableSlots {
|
|
|
10526
11384
|
/**
|
|
10527
11385
|
* Color name for component from the Quasar Color Palette
|
|
10528
11386
|
*/
|
|
10529
|
-
color:
|
|
11387
|
+
color: NamedColor;
|
|
10530
11388
|
/**
|
|
10531
11389
|
* Notify the component that the background is a dark color
|
|
10532
11390
|
*/
|
|
@@ -10581,7 +11439,7 @@ export interface QTableSlots {
|
|
|
10581
11439
|
/**
|
|
10582
11440
|
* Color name for component from the Quasar Color Palette
|
|
10583
11441
|
*/
|
|
10584
|
-
color:
|
|
11442
|
+
color: NamedColor;
|
|
10585
11443
|
/**
|
|
10586
11444
|
* Notify the component that the background is a dark color
|
|
10587
11445
|
*/
|
|
@@ -10648,7 +11506,7 @@ export interface QTableSlots {
|
|
|
10648
11506
|
/**
|
|
10649
11507
|
* Color name for component from the Quasar Color Palette
|
|
10650
11508
|
*/
|
|
10651
|
-
color:
|
|
11509
|
+
color: NamedColor;
|
|
10652
11510
|
/**
|
|
10653
11511
|
* Notify the component that the background is a dark color
|
|
10654
11512
|
*/
|
|
@@ -10711,7 +11569,7 @@ export interface QTableSlots {
|
|
|
10711
11569
|
/**
|
|
10712
11570
|
* Color name for component from the Quasar Color Palette
|
|
10713
11571
|
*/
|
|
10714
|
-
color:
|
|
11572
|
+
color: NamedColor;
|
|
10715
11573
|
/**
|
|
10716
11574
|
* Notify the component that the background is a dark color
|
|
10717
11575
|
*/
|
|
@@ -10750,7 +11608,7 @@ export interface QTableSlots {
|
|
|
10750
11608
|
/**
|
|
10751
11609
|
* Color name for component from the Quasar Color Palette
|
|
10752
11610
|
*/
|
|
10753
|
-
color:
|
|
11611
|
+
color: NamedColor;
|
|
10754
11612
|
/**
|
|
10755
11613
|
* Notify the component that the background is a dark color
|
|
10756
11614
|
*/
|
|
@@ -10801,7 +11659,7 @@ export interface QTableSlots {
|
|
|
10801
11659
|
/**
|
|
10802
11660
|
* Color name for component from the Quasar Color Palette
|
|
10803
11661
|
*/
|
|
10804
|
-
color:
|
|
11662
|
+
color: NamedColor;
|
|
10805
11663
|
/**
|
|
10806
11664
|
* Notify the component that the background is a dark color
|
|
10807
11665
|
*/
|
|
@@ -10844,7 +11702,7 @@ export interface QTableSlots {
|
|
|
10844
11702
|
/**
|
|
10845
11703
|
* Color name for component from the Quasar Color Palette
|
|
10846
11704
|
*/
|
|
10847
|
-
color:
|
|
11705
|
+
color: NamedColor;
|
|
10848
11706
|
/**
|
|
10849
11707
|
* Notify the component that the background is a dark color
|
|
10850
11708
|
*/
|
|
@@ -10899,7 +11757,7 @@ export interface QTableSlots {
|
|
|
10899
11757
|
/**
|
|
10900
11758
|
* Color name for component from the Quasar Color Palette
|
|
10901
11759
|
*/
|
|
10902
|
-
color:
|
|
11760
|
+
color: NamedColor;
|
|
10903
11761
|
/**
|
|
10904
11762
|
* Notify the component that the background is a dark color
|
|
10905
11763
|
*/
|
|
@@ -10938,7 +11796,7 @@ export interface QTableSlots {
|
|
|
10938
11796
|
/**
|
|
10939
11797
|
* Color name for component from the Quasar Color Palette
|
|
10940
11798
|
*/
|
|
10941
|
-
color:
|
|
11799
|
+
color: NamedColor;
|
|
10942
11800
|
/**
|
|
10943
11801
|
* Notify the component that the background is a dark color
|
|
10944
11802
|
*/
|
|
@@ -11773,15 +12631,15 @@ export interface QTabsProps {
|
|
|
11773
12631
|
/**
|
|
11774
12632
|
* The color to be attributed to the text of the active tab
|
|
11775
12633
|
*/
|
|
11776
|
-
activeColor?:
|
|
12634
|
+
activeColor?: NamedColor | undefined;
|
|
11777
12635
|
/**
|
|
11778
12636
|
* The color to be attributed to the background of the active tab
|
|
11779
12637
|
*/
|
|
11780
|
-
activeBgColor?:
|
|
12638
|
+
activeBgColor?: NamedColor | undefined;
|
|
11781
12639
|
/**
|
|
11782
12640
|
* The color to be attributed to the indicator (the underline) of the active tab
|
|
11783
12641
|
*/
|
|
11784
|
-
indicatorColor?:
|
|
12642
|
+
indicatorColor?: NamedColor | undefined;
|
|
11785
12643
|
/**
|
|
11786
12644
|
* Class definitions to be attributed to the content wrapper
|
|
11787
12645
|
*/
|
|
@@ -11887,11 +12745,11 @@ export interface QTimeProps {
|
|
|
11887
12745
|
/**
|
|
11888
12746
|
* Color name for component from the Quasar Color Palette
|
|
11889
12747
|
*/
|
|
11890
|
-
color?:
|
|
12748
|
+
color?: NamedColor | undefined;
|
|
11891
12749
|
/**
|
|
11892
12750
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
11893
12751
|
*/
|
|
11894
|
-
textColor?:
|
|
12752
|
+
textColor?: NamedColor | undefined;
|
|
11895
12753
|
/**
|
|
11896
12754
|
* Notify the component that the background is a dark color
|
|
11897
12755
|
*/
|
|
@@ -12021,7 +12879,7 @@ export interface QTimelineProps {
|
|
|
12021
12879
|
/**
|
|
12022
12880
|
* Color name for component from the Quasar Color Palette
|
|
12023
12881
|
*/
|
|
12024
|
-
color?:
|
|
12882
|
+
color?: NamedColor | undefined;
|
|
12025
12883
|
/**
|
|
12026
12884
|
* Side to place the timeline entries in dense and comfortable layout; For loose layout it gets overridden by QTimelineEntry side prop
|
|
12027
12885
|
* Default value: right
|
|
@@ -12073,7 +12931,7 @@ export interface QTimelineEntryProps {
|
|
|
12073
12931
|
/**
|
|
12074
12932
|
* Color name for component from the Quasar Color Palette
|
|
12075
12933
|
*/
|
|
12076
|
-
color?:
|
|
12934
|
+
color?: NamedColor | undefined;
|
|
12077
12935
|
/**
|
|
12078
12936
|
* Title of timeline entry; Is overridden if using 'title' slot
|
|
12079
12937
|
*/
|
|
@@ -12168,7 +13026,7 @@ export interface QToggleProps {
|
|
|
12168
13026
|
/**
|
|
12169
13027
|
* Color name for component from the Quasar Color Palette
|
|
12170
13028
|
*/
|
|
12171
|
-
color?:
|
|
13029
|
+
color?: NamedColor | undefined;
|
|
12172
13030
|
/**
|
|
12173
13031
|
* Should the color (if specified any) be kept when the component is unticked/ off?
|
|
12174
13032
|
*/
|
|
@@ -12196,7 +13054,7 @@ export interface QToggleProps {
|
|
|
12196
13054
|
/**
|
|
12197
13055
|
* Override default icon color (for truthy state only); Color name for component from the Quasar Color Palette
|
|
12198
13056
|
*/
|
|
12199
|
-
iconColor?:
|
|
13057
|
+
iconColor?: NamedColor | undefined;
|
|
12200
13058
|
/**
|
|
12201
13059
|
* Emitted when the component needs to change the model; Is also used by v-model
|
|
12202
13060
|
* @param value New model value
|
|
@@ -12434,19 +13292,19 @@ export interface QTreeProps {
|
|
|
12434
13292
|
/**
|
|
12435
13293
|
* Color name for component from the Quasar Color Palette
|
|
12436
13294
|
*/
|
|
12437
|
-
color?:
|
|
13295
|
+
color?: NamedColor | undefined;
|
|
12438
13296
|
/**
|
|
12439
13297
|
* Color name for controls (like checkboxes) from the Quasar Color Palette
|
|
12440
13298
|
*/
|
|
12441
|
-
controlColor?:
|
|
13299
|
+
controlColor?: NamedColor | undefined;
|
|
12442
13300
|
/**
|
|
12443
13301
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
12444
13302
|
*/
|
|
12445
|
-
textColor?:
|
|
13303
|
+
textColor?: NamedColor | undefined;
|
|
12446
13304
|
/**
|
|
12447
13305
|
* Color name for selected nodes (from the Quasar Color Palette)
|
|
12448
13306
|
*/
|
|
12449
|
-
selectedColor?:
|
|
13307
|
+
selectedColor?: NamedColor | undefined;
|
|
12450
13308
|
/**
|
|
12451
13309
|
* Dense mode; occupies less space
|
|
12452
13310
|
*/
|
|
@@ -12873,11 +13731,11 @@ export interface QUploaderProps {
|
|
|
12873
13731
|
/**
|
|
12874
13732
|
* Color name for component from the Quasar Color Palette
|
|
12875
13733
|
*/
|
|
12876
|
-
color?:
|
|
13734
|
+
color?: NamedColor | undefined;
|
|
12877
13735
|
/**
|
|
12878
13736
|
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
12879
13737
|
*/
|
|
12880
|
-
textColor?:
|
|
13738
|
+
textColor?: NamedColor | undefined;
|
|
12881
13739
|
/**
|
|
12882
13740
|
* Notify the component that the background is a dark color
|
|
12883
13741
|
*/
|
|
@@ -13327,6 +14185,7 @@ export interface DialogChainObject {
|
|
|
13327
14185
|
import { CookiesGetMethodType } from "./api";
|
|
13328
14186
|
import { QDialogInputPrompt } from "./api";
|
|
13329
14187
|
import { QDialogSelectionPrompt } from "./api";
|
|
14188
|
+
import { NamedColor } from "./api";
|
|
13330
14189
|
export interface QDialogOptions {
|
|
13331
14190
|
/**
|
|
13332
14191
|
* CSS Class name to apply to the Dialog's QCard
|
|
@@ -13374,7 +14233,7 @@ export interface QDialogOptions {
|
|
|
13374
14233
|
/**
|
|
13375
14234
|
* Color name for component from the Quasar Color Palette
|
|
13376
14235
|
*/
|
|
13377
|
-
color?:
|
|
14236
|
+
color?: NamedColor;
|
|
13378
14237
|
};
|
|
13379
14238
|
/**
|
|
13380
14239
|
* Props for an 'OK' button
|
|
@@ -13412,7 +14271,7 @@ export interface QDialogOptions {
|
|
|
13412
14271
|
/**
|
|
13413
14272
|
* Color name for component from the Quasar Color Palette
|
|
13414
14273
|
*/
|
|
13415
|
-
color?:
|
|
14274
|
+
color?: NamedColor;
|
|
13416
14275
|
/**
|
|
13417
14276
|
* Apply dark mode
|
|
13418
14277
|
*/
|
|
@@ -13497,15 +14356,15 @@ export interface QLoadingShowOptions {
|
|
|
13497
14356
|
/**
|
|
13498
14357
|
* Color name for spinner from the Quasar Color Palette
|
|
13499
14358
|
*/
|
|
13500
|
-
spinnerColor?:
|
|
14359
|
+
spinnerColor?: NamedColor;
|
|
13501
14360
|
/**
|
|
13502
14361
|
* Color name for text from the Quasar Color Palette
|
|
13503
14362
|
*/
|
|
13504
|
-
messageColor?:
|
|
14363
|
+
messageColor?: NamedColor;
|
|
13505
14364
|
/**
|
|
13506
14365
|
* Color name for background from the Quasar Color Palette
|
|
13507
14366
|
*/
|
|
13508
|
-
backgroundColor?:
|
|
14367
|
+
backgroundColor?: NamedColor;
|
|
13509
14368
|
/**
|
|
13510
14369
|
* One of the QSpinners
|
|
13511
14370
|
*/
|
|
@@ -13535,11 +14394,11 @@ export interface QNotifyCreateOptions {
|
|
|
13535
14394
|
/**
|
|
13536
14395
|
* Color name for component from the Quasar Color Palette
|
|
13537
14396
|
*/
|
|
13538
|
-
color?:
|
|
14397
|
+
color?: NamedColor;
|
|
13539
14398
|
/**
|
|
13540
|
-
* Color name
|
|
14399
|
+
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
13541
14400
|
*/
|
|
13542
|
-
textColor?:
|
|
14401
|
+
textColor?: NamedColor;
|
|
13543
14402
|
/**
|
|
13544
14403
|
* The content of your message
|
|
13545
14404
|
*/
|
|
@@ -13559,7 +14418,7 @@ export interface QNotifyCreateOptions {
|
|
|
13559
14418
|
/**
|
|
13560
14419
|
* Color name for component from the Quasar Color Palette
|
|
13561
14420
|
*/
|
|
13562
|
-
iconColor?:
|
|
14421
|
+
iconColor?: NamedColor;
|
|
13563
14422
|
/**
|
|
13564
14423
|
* Size in CSS units, including unit name
|
|
13565
14424
|
*/
|
|
@@ -13575,7 +14434,7 @@ export interface QNotifyCreateOptions {
|
|
|
13575
14434
|
/**
|
|
13576
14435
|
* Color name for component from the Quasar Color Palette
|
|
13577
14436
|
*/
|
|
13578
|
-
spinnerColor?:
|
|
14437
|
+
spinnerColor?: NamedColor;
|
|
13579
14438
|
/**
|
|
13580
14439
|
* Size in CSS units, including unit name
|
|
13581
14440
|
*/
|
|
@@ -13602,11 +14461,11 @@ export interface QNotifyCreateOptions {
|
|
|
13602
14461
|
/**
|
|
13603
14462
|
* Color name for the badge from the Quasar Color Palette
|
|
13604
14463
|
*/
|
|
13605
|
-
badgeColor?:
|
|
14464
|
+
badgeColor?: NamedColor;
|
|
13606
14465
|
/**
|
|
13607
14466
|
* Color name for the badge text from the Quasar Color Palette
|
|
13608
14467
|
*/
|
|
13609
|
-
badgeTextColor?:
|
|
14468
|
+
badgeTextColor?: NamedColor;
|
|
13610
14469
|
/**
|
|
13611
14470
|
* Notification corner to stick badge to; If notification is on the left side then default is top-right otherwise it is top-left
|
|
13612
14471
|
* Default value: (top-left/top-right)
|
|
@@ -13844,6 +14703,327 @@ declare module "./globals" {
|
|
|
13844
14703
|
declare module "@vue/runtime-core" {
|
|
13845
14704
|
interface ComponentCustomProperties {
|
|
13846
14705
|
$q: QVueGlobals;
|
|
14706
|
+
|
|
14707
|
+
// Directives
|
|
14708
|
+
|
|
14709
|
+
/**
|
|
14710
|
+
* If value is 0 or 'false' then directive is disabled; if value is < 0 then it closes all popups in the chain; if value is 1 or 'true' or undefined then it closes only the parent popup; if value is > 1 it closes the specified number of parent popups in the chain (note that chained QMenus are considered 1 popup only & QPopupProxy separates chained menus)
|
|
14711
|
+
*
|
|
14712
|
+
* @see https://v2.quasar.dev/vue-directives/close-popup
|
|
14713
|
+
*/
|
|
14714
|
+
vClosePopup: ClosePopup;
|
|
14715
|
+
|
|
14716
|
+
/**
|
|
14717
|
+
* Function to call when scrolling occurs (identical to description of 'handler' prop of the Object form); If using the Object form, it is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
14718
|
+
*
|
|
14719
|
+
* Modifiers:
|
|
14720
|
+
* - once:
|
|
14721
|
+
* - type: boolean
|
|
14722
|
+
* - description: Call handler only once, when the conditions are first met
|
|
14723
|
+
* - examples:
|
|
14724
|
+
* - v-intersection.once
|
|
14725
|
+
*
|
|
14726
|
+
* @see https://v2.quasar.dev/vue-directives/intersection
|
|
14727
|
+
*/
|
|
14728
|
+
vIntersection: Intersection;
|
|
14729
|
+
|
|
14730
|
+
/**
|
|
14731
|
+
* Configuration object or trigger value
|
|
14732
|
+
*
|
|
14733
|
+
* Directive argument:
|
|
14734
|
+
* - type: string
|
|
14735
|
+
* - description: x:x2:y:z, where x is the morph element name, x2 is the morph group, y is the animation duration (in milliseconds) and z is the amount of time to wait (in milliseconds) or the 'transitionend' string
|
|
14736
|
+
* - examples:
|
|
14737
|
+
* - v-morph:name="options"
|
|
14738
|
+
* - v-morph:name:groupName="options"
|
|
14739
|
+
* - v-morph:name:groupName:400="options"
|
|
14740
|
+
* - v-morph:name:groupName:400:100="options"
|
|
14741
|
+
* - v-morph:name:groupName:400:transitionend="options"
|
|
14742
|
+
*
|
|
14743
|
+
* Modifiers:
|
|
14744
|
+
* - resize:
|
|
14745
|
+
* - type: boolean
|
|
14746
|
+
* - description: Use resize instead of scale transform for morph (forceResize option of the morph function)
|
|
14747
|
+
* - useCSS:
|
|
14748
|
+
* - type: boolean
|
|
14749
|
+
* - description: Use CSS animations for morph (forceCssAnimation option of the morph function)
|
|
14750
|
+
* - hideFromClone:
|
|
14751
|
+
* - type: boolean
|
|
14752
|
+
* - description: Hide the spacer for the initial element (hideFromClone option of the morph function)
|
|
14753
|
+
* - keepToClone:
|
|
14754
|
+
* - type: boolean
|
|
14755
|
+
* - description: Keep the final element visible while morphing (keepToClone option of the morph function)
|
|
14756
|
+
* - tween:
|
|
14757
|
+
* - type: boolean
|
|
14758
|
+
* - description: Use opacity tween morphing between initial and final elements (tween option of the morph function)
|
|
14759
|
+
*
|
|
14760
|
+
* @see https://v2.quasar.dev/vue-directives/morph
|
|
14761
|
+
*/
|
|
14762
|
+
vMorph: Morph;
|
|
14763
|
+
|
|
14764
|
+
/**
|
|
14765
|
+
* Function to call when mutation occurs; It is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
14766
|
+
*
|
|
14767
|
+
* Modifiers:
|
|
14768
|
+
* - once:
|
|
14769
|
+
* - type: boolean
|
|
14770
|
+
* - description: Call handler only once, when the first mutation was triggered, then stop monitoring
|
|
14771
|
+
* - examples:
|
|
14772
|
+
* - v-mutation.once
|
|
14773
|
+
* - childList:
|
|
14774
|
+
* - type: boolean
|
|
14775
|
+
* - description: Monitor the target node (and, if 'subtree' is also set, its descendants) for the addition of new child nodes or removal of existing child nodes
|
|
14776
|
+
* - examples:
|
|
14777
|
+
* - v-mutation.childList
|
|
14778
|
+
* - subtree:
|
|
14779
|
+
* - type: boolean
|
|
14780
|
+
* - description: Extend monitoring to the entire subtree of nodes rooted at target
|
|
14781
|
+
* - examples:
|
|
14782
|
+
* - v-mutation.subtree
|
|
14783
|
+
* - attributes:
|
|
14784
|
+
* - type: boolean
|
|
14785
|
+
* - description: Watch for changes to the value of attributes on the node or nodes being monitored
|
|
14786
|
+
* - examples:
|
|
14787
|
+
* - v-mutation.attributes
|
|
14788
|
+
* - characterData:
|
|
14789
|
+
* - type: boolean
|
|
14790
|
+
* - description: Monitor the specified target node or subtree for changes to the character data contained within the node or nodes
|
|
14791
|
+
* - examples:
|
|
14792
|
+
* - v-mutation.characterData
|
|
14793
|
+
* - attributeOldValue:
|
|
14794
|
+
* - type: boolean
|
|
14795
|
+
* - description: Record the previous value of any attribute that changes when monitoring the node or nodes for attribute changes
|
|
14796
|
+
* - examples:
|
|
14797
|
+
* - v-mutation.attributeOldValue
|
|
14798
|
+
* - characterDataOldValue:
|
|
14799
|
+
* - type: boolean
|
|
14800
|
+
* - description: Record the previous value of a node's text whenever the text changes on nodes being monitored
|
|
14801
|
+
* - examples:
|
|
14802
|
+
* - v-mutation.characterDataOldValue
|
|
14803
|
+
*
|
|
14804
|
+
* @see https://v2.quasar.dev/vue-directives/mutation
|
|
14805
|
+
*/
|
|
14806
|
+
vMutation: Mutation;
|
|
14807
|
+
|
|
14808
|
+
/**
|
|
14809
|
+
* Boolean (if just wanting to enable/disable) or Object for configuring more options
|
|
14810
|
+
*
|
|
14811
|
+
* Directive argument:
|
|
14812
|
+
* - type: string
|
|
14813
|
+
* - description: Color name from Quasar Color Palette; Overrides default dynamic color
|
|
14814
|
+
* - examples:
|
|
14815
|
+
* - v-ripple:orange-5
|
|
14816
|
+
*
|
|
14817
|
+
* Modifiers:
|
|
14818
|
+
* - early:
|
|
14819
|
+
* - type: boolean
|
|
14820
|
+
* - description: Trigger early/immediately on user interaction
|
|
14821
|
+
* - stop:
|
|
14822
|
+
* - type: boolean
|
|
14823
|
+
* - description: Stop click/touch event propagation
|
|
14824
|
+
* - examples:
|
|
14825
|
+
* - v-ripple.stop
|
|
14826
|
+
* - center:
|
|
14827
|
+
* - type: boolean
|
|
14828
|
+
* - description: Ripple starts from the absolute center
|
|
14829
|
+
* - examples:
|
|
14830
|
+
* - v-ripple.center
|
|
14831
|
+
*
|
|
14832
|
+
* @see https://v2.quasar.dev/vue-directives/material-ripple
|
|
14833
|
+
*/
|
|
14834
|
+
vRipple: Ripple;
|
|
14835
|
+
|
|
14836
|
+
/**
|
|
14837
|
+
* Function to call when scrolling occurs (use undefined to disable)
|
|
14838
|
+
*
|
|
14839
|
+
* @see https://v2.quasar.dev/vue-directives/scroll
|
|
14840
|
+
*/
|
|
14841
|
+
vScroll: Scroll;
|
|
14842
|
+
|
|
14843
|
+
/**
|
|
14844
|
+
* Function to call when scrolling and element comes into the viewport (use undefined to disable)
|
|
14845
|
+
*
|
|
14846
|
+
* @see https://v2.quasar.dev/vue-directives/scroll-fire
|
|
14847
|
+
*/
|
|
14848
|
+
vScrollFire: ScrollFire;
|
|
14849
|
+
|
|
14850
|
+
/**
|
|
14851
|
+
* Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)
|
|
14852
|
+
*
|
|
14853
|
+
* Directive argument:
|
|
14854
|
+
* - type: string
|
|
14855
|
+
* - default: 600:5:7
|
|
14856
|
+
* - description: x:y:z, where x is the amount of time to wait (in milliseconds), y is the touch event sensitivity (in pixels) and z is the mouse event sensitivity (in pixels)
|
|
14857
|
+
* - examples:
|
|
14858
|
+
* - v-touch-hold:400="fnToCall"
|
|
14859
|
+
* - v-touch-hold:400:15="fnToCall"
|
|
14860
|
+
* - v-touch-hold:400:10:10="fnToCall"
|
|
14861
|
+
*
|
|
14862
|
+
* Modifiers:
|
|
14863
|
+
* - capture:
|
|
14864
|
+
* - type: boolean
|
|
14865
|
+
* - description: Use capture for touchstart event
|
|
14866
|
+
* - mouse:
|
|
14867
|
+
* - type: boolean
|
|
14868
|
+
* - description: Listen for mouse events too
|
|
14869
|
+
* - mouseCapture:
|
|
14870
|
+
* - type: boolean
|
|
14871
|
+
* - description: Use capture for mousedown event
|
|
14872
|
+
*
|
|
14873
|
+
* @see https://v2.quasar.dev/vue-directives/touch-hold
|
|
14874
|
+
*/
|
|
14875
|
+
vTouchHold: TouchHold;
|
|
14876
|
+
|
|
14877
|
+
/**
|
|
14878
|
+
* Handler for panning (use undefined to disable)
|
|
14879
|
+
*
|
|
14880
|
+
* Modifiers:
|
|
14881
|
+
* - stop:
|
|
14882
|
+
* - type: boolean
|
|
14883
|
+
* - description: Stop event propagation for touch events
|
|
14884
|
+
* - prevent:
|
|
14885
|
+
* - type: boolean
|
|
14886
|
+
* - description: Calls event.preventDefault() for touch events
|
|
14887
|
+
* - capture:
|
|
14888
|
+
* - type: boolean
|
|
14889
|
+
* - description: Use capture for touchstart event
|
|
14890
|
+
* - mouse:
|
|
14891
|
+
* - type: boolean
|
|
14892
|
+
* - description: Listen for mouse events too
|
|
14893
|
+
* - mouseCapture:
|
|
14894
|
+
* - type: boolean
|
|
14895
|
+
* - description: Use capture for mousedown event
|
|
14896
|
+
* - mouseAllDir:
|
|
14897
|
+
* - type: boolean
|
|
14898
|
+
* - description: Ignore initial mouse move direction (do not abort if the first mouse move is in an unaccepted direction)
|
|
14899
|
+
* - preserveCursor:
|
|
14900
|
+
* - type: boolean
|
|
14901
|
+
* - description: Prevent the mouse cursor from automatically displaying as grabbing when panning
|
|
14902
|
+
* - horizontal:
|
|
14903
|
+
* - type: boolean
|
|
14904
|
+
* - description: Catch horizontal (left/right) movement
|
|
14905
|
+
* - vertical:
|
|
14906
|
+
* - type: boolean
|
|
14907
|
+
* - description: Catch vertical (up/down) movement
|
|
14908
|
+
* - up:
|
|
14909
|
+
* - type: boolean
|
|
14910
|
+
* - description: Catch panning to up
|
|
14911
|
+
* - right:
|
|
14912
|
+
* - type: boolean
|
|
14913
|
+
* - description: Catch panning to right
|
|
14914
|
+
* - down:
|
|
14915
|
+
* - type: boolean
|
|
14916
|
+
* - description: Catch panning to down
|
|
14917
|
+
* - left:
|
|
14918
|
+
* - type: boolean
|
|
14919
|
+
* - description: Catch panning to left
|
|
14920
|
+
*
|
|
14921
|
+
* @see https://v2.quasar.dev/vue-directives/touch-pan
|
|
14922
|
+
*/
|
|
14923
|
+
vTouchPan: TouchPan;
|
|
14924
|
+
|
|
14925
|
+
/**
|
|
14926
|
+
* Handler for touch-repeat (use undefined to disable)
|
|
14927
|
+
*
|
|
14928
|
+
* Directive argument:
|
|
14929
|
+
* - type: string
|
|
14930
|
+
* - default: 0:600:300
|
|
14931
|
+
* - description: String of numbers (at least one number) separated by ':' which defines the amount of time to wait for 1st handler call, 2nd, 3rd and so on; All subsequent calls will use last value as time to wait until triggering
|
|
14932
|
+
* - examples:
|
|
14933
|
+
* - v-touch-repeat:0:400="fnToCall"
|
|
14934
|
+
*
|
|
14935
|
+
* Modifiers:
|
|
14936
|
+
* - capture:
|
|
14937
|
+
* - type: boolean
|
|
14938
|
+
* - description: Use capture for touchstart event
|
|
14939
|
+
* - mouse:
|
|
14940
|
+
* - type: boolean
|
|
14941
|
+
* - description: Listen for mouse events too
|
|
14942
|
+
* - mouseCapture:
|
|
14943
|
+
* - type: boolean
|
|
14944
|
+
* - description: Use capture for mousedown event
|
|
14945
|
+
* - keyCapture:
|
|
14946
|
+
* - type: boolean
|
|
14947
|
+
* - description: Use capture for keydown event
|
|
14948
|
+
* - esc:
|
|
14949
|
+
* - type: boolean
|
|
14950
|
+
* - description: Catch ESC key
|
|
14951
|
+
* - tab:
|
|
14952
|
+
* - type: boolean
|
|
14953
|
+
* - description: Catch TAB key
|
|
14954
|
+
* - enter:
|
|
14955
|
+
* - type: boolean
|
|
14956
|
+
* - description: Catch ENTER key
|
|
14957
|
+
* - space:
|
|
14958
|
+
* - type: boolean
|
|
14959
|
+
* - description: Catch SPACE key
|
|
14960
|
+
* - up:
|
|
14961
|
+
* - type: boolean
|
|
14962
|
+
* - description: Catch UP arrow key
|
|
14963
|
+
* - left:
|
|
14964
|
+
* - type: boolean
|
|
14965
|
+
* - description: Catch LEFT arrow key
|
|
14966
|
+
* - right:
|
|
14967
|
+
* - type: boolean
|
|
14968
|
+
* - description: Catch RIGHT arrow key
|
|
14969
|
+
* - down:
|
|
14970
|
+
* - type: boolean
|
|
14971
|
+
* - description: Catch DOWN key
|
|
14972
|
+
* - delete:
|
|
14973
|
+
* - type: boolean
|
|
14974
|
+
* - description: Catch DELETE key
|
|
14975
|
+
* - [keycode]:
|
|
14976
|
+
* - type: number
|
|
14977
|
+
* - description: Key code to catch
|
|
14978
|
+
* - examples:
|
|
14979
|
+
* - v-touch-repeat.68="fnToCall"
|
|
14980
|
+
*
|
|
14981
|
+
* @see https://v2.quasar.dev/vue-directives/touch-repeat
|
|
14982
|
+
*/
|
|
14983
|
+
vTouchRepeat: TouchRepeat;
|
|
14984
|
+
|
|
14985
|
+
/**
|
|
14986
|
+
* Handler for swipe (use undefined to disable)
|
|
14987
|
+
*
|
|
14988
|
+
* Directive argument:
|
|
14989
|
+
* - type: string
|
|
14990
|
+
* - default: 6e-2:6:50
|
|
14991
|
+
* - description: x:y:z, where x is minimum velocity (dist/time; please use float without a dot, example: 6e-2 which is equivalent to 6 * 10^-2 = 0.06), y is minimum distance on first move on mobile, z is minimum distance on desktop until deciding if it's a swipe indeed
|
|
14992
|
+
* - examples:
|
|
14993
|
+
* - v-touch-swipe:7e-2:10:100="fnToCall"
|
|
14994
|
+
*
|
|
14995
|
+
* Modifiers:
|
|
14996
|
+
* - capture:
|
|
14997
|
+
* - type: boolean
|
|
14998
|
+
* - description: Use capture for touchstart event
|
|
14999
|
+
* - mouse:
|
|
15000
|
+
* - type: boolean
|
|
15001
|
+
* - description: Listen for mouse events too
|
|
15002
|
+
* - mouseCapture:
|
|
15003
|
+
* - type: boolean
|
|
15004
|
+
* - description: Use capture for mousedown event
|
|
15005
|
+
* - horizontal:
|
|
15006
|
+
* - type: boolean
|
|
15007
|
+
* - description: Catch horizontal (left/right) movement
|
|
15008
|
+
* - vertical:
|
|
15009
|
+
* - type: boolean
|
|
15010
|
+
* - description: Catch vertical (up/down) movement
|
|
15011
|
+
* - up:
|
|
15012
|
+
* - type: boolean
|
|
15013
|
+
* - description: Catch swipe to up
|
|
15014
|
+
* - right:
|
|
15015
|
+
* - type: boolean
|
|
15016
|
+
* - description: Catch swipe to right
|
|
15017
|
+
* - down:
|
|
15018
|
+
* - type: boolean
|
|
15019
|
+
* - description: Catch swipe to down
|
|
15020
|
+
* - left:
|
|
15021
|
+
* - type: boolean
|
|
15022
|
+
* - description: Catch swipe to left
|
|
15023
|
+
*
|
|
15024
|
+
* @see https://v2.quasar.dev/vue-directives/touch-swipe
|
|
15025
|
+
*/
|
|
15026
|
+
vTouchSwipe: TouchSwipe;
|
|
13847
15027
|
}
|
|
13848
15028
|
}
|
|
13849
15029
|
|
|
@@ -14120,7 +15300,51 @@ declare module "@vue/runtime-core" {
|
|
|
14120
15300
|
}
|
|
14121
15301
|
|
|
14122
15302
|
declare module "./config.d.ts" {
|
|
14123
|
-
interface
|
|
15303
|
+
interface QuasarUIConfiguration {
|
|
15304
|
+
brand?: {
|
|
15305
|
+
/**
|
|
15306
|
+
* Main color of your app
|
|
15307
|
+
*/
|
|
15308
|
+
primary?: string;
|
|
15309
|
+
/**
|
|
15310
|
+
* Secondary color of your app
|
|
15311
|
+
*/
|
|
15312
|
+
secondary?: string;
|
|
15313
|
+
/**
|
|
15314
|
+
* Accent color of your app
|
|
15315
|
+
*/
|
|
15316
|
+
accent?: string;
|
|
15317
|
+
/**
|
|
15318
|
+
* Dark color of your app
|
|
15319
|
+
*/
|
|
15320
|
+
dark?: string;
|
|
15321
|
+
/**
|
|
15322
|
+
* Positive color of your app
|
|
15323
|
+
*/
|
|
15324
|
+
positive?: string;
|
|
15325
|
+
/**
|
|
15326
|
+
* Negative color of your app
|
|
15327
|
+
*/
|
|
15328
|
+
negative?: string;
|
|
15329
|
+
/**
|
|
15330
|
+
* Info color of your app
|
|
15331
|
+
*/
|
|
15332
|
+
info?: string;
|
|
15333
|
+
/**
|
|
15334
|
+
* Warning color of your app
|
|
15335
|
+
*/
|
|
15336
|
+
warning?: string;
|
|
15337
|
+
/**
|
|
15338
|
+
* Custom colors of your app, if any
|
|
15339
|
+
*/
|
|
15340
|
+
[customColors: string]: string | undefined;
|
|
15341
|
+
};
|
|
15342
|
+
lang?: {
|
|
15343
|
+
/**
|
|
15344
|
+
* Whether to disable `dir` and `lang` HTML attributes getting added to the `<html>` tag. `dir` attribute is crucial when using RTL support. Disable this only if you need to handle these yourself for some reason.
|
|
15345
|
+
*/
|
|
15346
|
+
noHtmlAttrs?: boolean;
|
|
15347
|
+
};
|
|
14124
15348
|
/**
|
|
14125
15349
|
* "'auto'" uses the OS/browser preference. "true" forces dark mode. "false" forces light mode.
|
|
14126
15350
|
*/
|
|
@@ -14154,15 +15378,15 @@ declare module "./config.d.ts" {
|
|
|
14154
15378
|
/**
|
|
14155
15379
|
* Color name for spinner from the Quasar Color Palette
|
|
14156
15380
|
*/
|
|
14157
|
-
spinnerColor?:
|
|
15381
|
+
spinnerColor?: NamedColor;
|
|
14158
15382
|
/**
|
|
14159
15383
|
* Color name for text from the Quasar Color Palette
|
|
14160
15384
|
*/
|
|
14161
|
-
messageColor?:
|
|
15385
|
+
messageColor?: NamedColor;
|
|
14162
15386
|
/**
|
|
14163
15387
|
* Color name for background from the Quasar Color Palette
|
|
14164
15388
|
*/
|
|
14165
|
-
backgroundColor?:
|
|
15389
|
+
backgroundColor?: NamedColor;
|
|
14166
15390
|
/**
|
|
14167
15391
|
* One of the QSpinners
|
|
14168
15392
|
*/
|
|
@@ -14173,7 +15397,7 @@ declare module "./config.d.ts" {
|
|
|
14173
15397
|
customClass?: string;
|
|
14174
15398
|
};
|
|
14175
15399
|
/**
|
|
14176
|
-
* QAjaxBar component props, EXCEPT for 'hijack-filter'
|
|
15400
|
+
* QAjaxBar component props, EXCEPT for 'hijack-filter' in quasar.config file (if using Quasar CLI)
|
|
14177
15401
|
*/
|
|
14178
15402
|
loadingBar?: QLoadingBarOptions;
|
|
14179
15403
|
notify?: {
|
|
@@ -14184,11 +15408,11 @@ declare module "./config.d.ts" {
|
|
|
14184
15408
|
/**
|
|
14185
15409
|
* Color name for component from the Quasar Color Palette
|
|
14186
15410
|
*/
|
|
14187
|
-
color?:
|
|
15411
|
+
color?: NamedColor;
|
|
14188
15412
|
/**
|
|
14189
|
-
* Color name
|
|
15413
|
+
* Overrides text color (if needed); Color name from the Quasar Color Palette
|
|
14190
15414
|
*/
|
|
14191
|
-
textColor?:
|
|
15415
|
+
textColor?: NamedColor;
|
|
14192
15416
|
/**
|
|
14193
15417
|
* The content of your message
|
|
14194
15418
|
*/
|
|
@@ -14208,7 +15432,7 @@ declare module "./config.d.ts" {
|
|
|
14208
15432
|
/**
|
|
14209
15433
|
* Color name for component from the Quasar Color Palette
|
|
14210
15434
|
*/
|
|
14211
|
-
iconColor?:
|
|
15435
|
+
iconColor?: NamedColor;
|
|
14212
15436
|
/**
|
|
14213
15437
|
* Size in CSS units, including unit name
|
|
14214
15438
|
*/
|
|
@@ -14224,7 +15448,7 @@ declare module "./config.d.ts" {
|
|
|
14224
15448
|
/**
|
|
14225
15449
|
* Color name for component from the Quasar Color Palette
|
|
14226
15450
|
*/
|
|
14227
|
-
spinnerColor?:
|
|
15451
|
+
spinnerColor?: NamedColor;
|
|
14228
15452
|
/**
|
|
14229
15453
|
* Size in CSS units, including unit name
|
|
14230
15454
|
*/
|
|
@@ -14251,11 +15475,11 @@ declare module "./config.d.ts" {
|
|
|
14251
15475
|
/**
|
|
14252
15476
|
* Color name for the badge from the Quasar Color Palette
|
|
14253
15477
|
*/
|
|
14254
|
-
badgeColor?:
|
|
15478
|
+
badgeColor?: NamedColor;
|
|
14255
15479
|
/**
|
|
14256
15480
|
* Color name for the badge text from the Quasar Color Palette
|
|
14257
15481
|
*/
|
|
14258
|
-
badgeTextColor?:
|
|
15482
|
+
badgeTextColor?: NamedColor;
|
|
14259
15483
|
/**
|
|
14260
15484
|
* Notification corner to stick badge to; If notification is on the left side then default is top-right otherwise it is top-left
|
|
14261
15485
|
* Default value: (top-left/top-right)
|
|
@@ -14290,6 +15514,10 @@ declare module "./config.d.ts" {
|
|
|
14290
15514
|
* Default value: 5000
|
|
14291
15515
|
*/
|
|
14292
15516
|
timeout?: number;
|
|
15517
|
+
/**
|
|
15518
|
+
* Notification actions (buttons); Unless 'noDismiss' is true, clicking/tapping on the button will close the notification; Also check 'closeBtn' convenience prop
|
|
15519
|
+
*/
|
|
15520
|
+
actions?: QNotifyAction[];
|
|
14293
15521
|
/**
|
|
14294
15522
|
* Convenient way to add a dismiss button with a specific label, without using the 'actions' prop; If set to true, it uses a label according to the current Quasar language
|
|
14295
15523
|
*/
|
|
@@ -14305,50 +15533,6 @@ declare module "./config.d.ts" {
|
|
|
14305
15533
|
*/
|
|
14306
15534
|
bodyClasses?: boolean;
|
|
14307
15535
|
};
|
|
14308
|
-
brand?: {
|
|
14309
|
-
/**
|
|
14310
|
-
* Main color of your app
|
|
14311
|
-
*/
|
|
14312
|
-
primary?: string;
|
|
14313
|
-
/**
|
|
14314
|
-
* Secondary color of your app
|
|
14315
|
-
*/
|
|
14316
|
-
secondary?: string;
|
|
14317
|
-
/**
|
|
14318
|
-
* Accent color of your app
|
|
14319
|
-
*/
|
|
14320
|
-
accent?: string;
|
|
14321
|
-
/**
|
|
14322
|
-
* Dark color of your app
|
|
14323
|
-
*/
|
|
14324
|
-
dark?: string;
|
|
14325
|
-
/**
|
|
14326
|
-
* Positive color of your app
|
|
14327
|
-
*/
|
|
14328
|
-
positive?: string;
|
|
14329
|
-
/**
|
|
14330
|
-
* Negative color of your app
|
|
14331
|
-
*/
|
|
14332
|
-
negative?: string;
|
|
14333
|
-
/**
|
|
14334
|
-
* Info color of your app
|
|
14335
|
-
*/
|
|
14336
|
-
info?: string;
|
|
14337
|
-
/**
|
|
14338
|
-
* Warning color of your app
|
|
14339
|
-
*/
|
|
14340
|
-
warning?: string;
|
|
14341
|
-
/**
|
|
14342
|
-
* Custom colors of your app, if any
|
|
14343
|
-
*/
|
|
14344
|
-
[customColors: string]: string | undefined;
|
|
14345
|
-
};
|
|
14346
|
-
lang?: {
|
|
14347
|
-
/**
|
|
14348
|
-
* Whether to disable `dir` and `lang` HTML attributes getting added to the `<html>` tag. `dir` attribute is crucial when using RTL support. Disable this only if you need to handle these yourself for some reason.
|
|
14349
|
-
*/
|
|
14350
|
-
noHtmlAttrs?: boolean;
|
|
14351
|
-
};
|
|
14352
15536
|
ripple?:
|
|
14353
15537
|
| boolean
|
|
14354
15538
|
| {
|
|
@@ -14401,6 +15585,7 @@ declare module "./lang" {
|
|
|
14401
15585
|
fr: true;
|
|
14402
15586
|
gn: true;
|
|
14403
15587
|
he: true;
|
|
15588
|
+
hi: true;
|
|
14404
15589
|
hr: true;
|
|
14405
15590
|
hu: true;
|
|
14406
15591
|
id: true;
|
|
@@ -14471,17 +15656,6 @@ export const Notify: Notify;
|
|
|
14471
15656
|
export const Platform: Platform;
|
|
14472
15657
|
export const Screen: Screen;
|
|
14473
15658
|
export const SessionStorage: SessionStorage;
|
|
14474
|
-
export const ClosePopup: ClosePopup;
|
|
14475
|
-
export const Intersection: Intersection;
|
|
14476
|
-
export const Morph: Morph;
|
|
14477
|
-
export const Mutation: Mutation;
|
|
14478
|
-
export const Ripple: Ripple;
|
|
14479
|
-
export const Scroll: Scroll;
|
|
14480
|
-
export const ScrollFire: ScrollFire;
|
|
14481
|
-
export const TouchHold: TouchHold;
|
|
14482
|
-
export const TouchPan: TouchPan;
|
|
14483
|
-
export const TouchRepeat: TouchRepeat;
|
|
14484
|
-
export const TouchSwipe: TouchSwipe;
|
|
14485
15659
|
export const QAjaxBar: ComponentConstructor<QAjaxBar>;
|
|
14486
15660
|
export const QAvatar: ComponentConstructor<QAvatar>;
|
|
14487
15661
|
export const QBadge: ComponentConstructor<QBadge>;
|
|
@@ -14734,17 +15908,324 @@ declare module "./plugin" {
|
|
|
14734
15908
|
}
|
|
14735
15909
|
|
|
14736
15910
|
interface QuasarDirectives {
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14743
|
-
|
|
14744
|
-
|
|
14745
|
-
|
|
14746
|
-
|
|
14747
|
-
|
|
15911
|
+
/**
|
|
15912
|
+
* If value is 0 or 'false' then directive is disabled; if value is < 0 then it closes all popups in the chain; if value is 1 or 'true' or undefined then it closes only the parent popup; if value is > 1 it closes the specified number of parent popups in the chain (note that chained QMenus are considered 1 popup only & QPopupProxy separates chained menus)
|
|
15913
|
+
*
|
|
15914
|
+
* @see https://v2.quasar.dev/vue-directives/close-popup
|
|
15915
|
+
*/
|
|
15916
|
+
vClosePopup: ClosePopup;
|
|
15917
|
+
|
|
15918
|
+
/**
|
|
15919
|
+
* Function to call when scrolling occurs (identical to description of 'handler' prop of the Object form); If using the Object form, it is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
15920
|
+
*
|
|
15921
|
+
* Modifiers:
|
|
15922
|
+
* - once:
|
|
15923
|
+
* - type: boolean
|
|
15924
|
+
* - description: Call handler only once, when the conditions are first met
|
|
15925
|
+
* - examples:
|
|
15926
|
+
* - v-intersection.once
|
|
15927
|
+
*
|
|
15928
|
+
* @see https://v2.quasar.dev/vue-directives/intersection
|
|
15929
|
+
*/
|
|
15930
|
+
vIntersection: Intersection;
|
|
15931
|
+
|
|
15932
|
+
/**
|
|
15933
|
+
* Configuration object or trigger value
|
|
15934
|
+
*
|
|
15935
|
+
* Directive argument:
|
|
15936
|
+
* - type: string
|
|
15937
|
+
* - description: x:x2:y:z, where x is the morph element name, x2 is the morph group, y is the animation duration (in milliseconds) and z is the amount of time to wait (in milliseconds) or the 'transitionend' string
|
|
15938
|
+
* - examples:
|
|
15939
|
+
* - v-morph:name="options"
|
|
15940
|
+
* - v-morph:name:groupName="options"
|
|
15941
|
+
* - v-morph:name:groupName:400="options"
|
|
15942
|
+
* - v-morph:name:groupName:400:100="options"
|
|
15943
|
+
* - v-morph:name:groupName:400:transitionend="options"
|
|
15944
|
+
*
|
|
15945
|
+
* Modifiers:
|
|
15946
|
+
* - resize:
|
|
15947
|
+
* - type: boolean
|
|
15948
|
+
* - description: Use resize instead of scale transform for morph (forceResize option of the morph function)
|
|
15949
|
+
* - useCSS:
|
|
15950
|
+
* - type: boolean
|
|
15951
|
+
* - description: Use CSS animations for morph (forceCssAnimation option of the morph function)
|
|
15952
|
+
* - hideFromClone:
|
|
15953
|
+
* - type: boolean
|
|
15954
|
+
* - description: Hide the spacer for the initial element (hideFromClone option of the morph function)
|
|
15955
|
+
* - keepToClone:
|
|
15956
|
+
* - type: boolean
|
|
15957
|
+
* - description: Keep the final element visible while morphing (keepToClone option of the morph function)
|
|
15958
|
+
* - tween:
|
|
15959
|
+
* - type: boolean
|
|
15960
|
+
* - description: Use opacity tween morphing between initial and final elements (tween option of the morph function)
|
|
15961
|
+
*
|
|
15962
|
+
* @see https://v2.quasar.dev/vue-directives/morph
|
|
15963
|
+
*/
|
|
15964
|
+
vMorph: Morph;
|
|
15965
|
+
|
|
15966
|
+
/**
|
|
15967
|
+
* Function to call when mutation occurs; It is HIGHLY recommended to reference it from your vue component scope, otherwise the directive update cycle will continuously recreate the observer which hits performance hard
|
|
15968
|
+
*
|
|
15969
|
+
* Modifiers:
|
|
15970
|
+
* - once:
|
|
15971
|
+
* - type: boolean
|
|
15972
|
+
* - description: Call handler only once, when the first mutation was triggered, then stop monitoring
|
|
15973
|
+
* - examples:
|
|
15974
|
+
* - v-mutation.once
|
|
15975
|
+
* - childList:
|
|
15976
|
+
* - type: boolean
|
|
15977
|
+
* - description: Monitor the target node (and, if 'subtree' is also set, its descendants) for the addition of new child nodes or removal of existing child nodes
|
|
15978
|
+
* - examples:
|
|
15979
|
+
* - v-mutation.childList
|
|
15980
|
+
* - subtree:
|
|
15981
|
+
* - type: boolean
|
|
15982
|
+
* - description: Extend monitoring to the entire subtree of nodes rooted at target
|
|
15983
|
+
* - examples:
|
|
15984
|
+
* - v-mutation.subtree
|
|
15985
|
+
* - attributes:
|
|
15986
|
+
* - type: boolean
|
|
15987
|
+
* - description: Watch for changes to the value of attributes on the node or nodes being monitored
|
|
15988
|
+
* - examples:
|
|
15989
|
+
* - v-mutation.attributes
|
|
15990
|
+
* - characterData:
|
|
15991
|
+
* - type: boolean
|
|
15992
|
+
* - description: Monitor the specified target node or subtree for changes to the character data contained within the node or nodes
|
|
15993
|
+
* - examples:
|
|
15994
|
+
* - v-mutation.characterData
|
|
15995
|
+
* - attributeOldValue:
|
|
15996
|
+
* - type: boolean
|
|
15997
|
+
* - description: Record the previous value of any attribute that changes when monitoring the node or nodes for attribute changes
|
|
15998
|
+
* - examples:
|
|
15999
|
+
* - v-mutation.attributeOldValue
|
|
16000
|
+
* - characterDataOldValue:
|
|
16001
|
+
* - type: boolean
|
|
16002
|
+
* - description: Record the previous value of a node's text whenever the text changes on nodes being monitored
|
|
16003
|
+
* - examples:
|
|
16004
|
+
* - v-mutation.characterDataOldValue
|
|
16005
|
+
*
|
|
16006
|
+
* @see https://v2.quasar.dev/vue-directives/mutation
|
|
16007
|
+
*/
|
|
16008
|
+
vMutation: Mutation;
|
|
16009
|
+
|
|
16010
|
+
/**
|
|
16011
|
+
* Boolean (if just wanting to enable/disable) or Object for configuring more options
|
|
16012
|
+
*
|
|
16013
|
+
* Directive argument:
|
|
16014
|
+
* - type: string
|
|
16015
|
+
* - description: Color name from Quasar Color Palette; Overrides default dynamic color
|
|
16016
|
+
* - examples:
|
|
16017
|
+
* - v-ripple:orange-5
|
|
16018
|
+
*
|
|
16019
|
+
* Modifiers:
|
|
16020
|
+
* - early:
|
|
16021
|
+
* - type: boolean
|
|
16022
|
+
* - description: Trigger early/immediately on user interaction
|
|
16023
|
+
* - stop:
|
|
16024
|
+
* - type: boolean
|
|
16025
|
+
* - description: Stop click/touch event propagation
|
|
16026
|
+
* - examples:
|
|
16027
|
+
* - v-ripple.stop
|
|
16028
|
+
* - center:
|
|
16029
|
+
* - type: boolean
|
|
16030
|
+
* - description: Ripple starts from the absolute center
|
|
16031
|
+
* - examples:
|
|
16032
|
+
* - v-ripple.center
|
|
16033
|
+
*
|
|
16034
|
+
* @see https://v2.quasar.dev/vue-directives/material-ripple
|
|
16035
|
+
*/
|
|
16036
|
+
vRipple: Ripple;
|
|
16037
|
+
|
|
16038
|
+
/**
|
|
16039
|
+
* Function to call when scrolling occurs (use undefined to disable)
|
|
16040
|
+
*
|
|
16041
|
+
* @see https://v2.quasar.dev/vue-directives/scroll
|
|
16042
|
+
*/
|
|
16043
|
+
vScroll: Scroll;
|
|
16044
|
+
|
|
16045
|
+
/**
|
|
16046
|
+
* Function to call when scrolling and element comes into the viewport (use undefined to disable)
|
|
16047
|
+
*
|
|
16048
|
+
* @see https://v2.quasar.dev/vue-directives/scroll-fire
|
|
16049
|
+
*/
|
|
16050
|
+
vScrollFire: ScrollFire;
|
|
16051
|
+
|
|
16052
|
+
/**
|
|
16053
|
+
* Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)
|
|
16054
|
+
*
|
|
16055
|
+
* Directive argument:
|
|
16056
|
+
* - type: string
|
|
16057
|
+
* - default: 600:5:7
|
|
16058
|
+
* - description: x:y:z, where x is the amount of time to wait (in milliseconds), y is the touch event sensitivity (in pixels) and z is the mouse event sensitivity (in pixels)
|
|
16059
|
+
* - examples:
|
|
16060
|
+
* - v-touch-hold:400="fnToCall"
|
|
16061
|
+
* - v-touch-hold:400:15="fnToCall"
|
|
16062
|
+
* - v-touch-hold:400:10:10="fnToCall"
|
|
16063
|
+
*
|
|
16064
|
+
* Modifiers:
|
|
16065
|
+
* - capture:
|
|
16066
|
+
* - type: boolean
|
|
16067
|
+
* - description: Use capture for touchstart event
|
|
16068
|
+
* - mouse:
|
|
16069
|
+
* - type: boolean
|
|
16070
|
+
* - description: Listen for mouse events too
|
|
16071
|
+
* - mouseCapture:
|
|
16072
|
+
* - type: boolean
|
|
16073
|
+
* - description: Use capture for mousedown event
|
|
16074
|
+
*
|
|
16075
|
+
* @see https://v2.quasar.dev/vue-directives/touch-hold
|
|
16076
|
+
*/
|
|
16077
|
+
vTouchHold: TouchHold;
|
|
16078
|
+
|
|
16079
|
+
/**
|
|
16080
|
+
* Handler for panning (use undefined to disable)
|
|
16081
|
+
*
|
|
16082
|
+
* Modifiers:
|
|
16083
|
+
* - stop:
|
|
16084
|
+
* - type: boolean
|
|
16085
|
+
* - description: Stop event propagation for touch events
|
|
16086
|
+
* - prevent:
|
|
16087
|
+
* - type: boolean
|
|
16088
|
+
* - description: Calls event.preventDefault() for touch events
|
|
16089
|
+
* - capture:
|
|
16090
|
+
* - type: boolean
|
|
16091
|
+
* - description: Use capture for touchstart event
|
|
16092
|
+
* - mouse:
|
|
16093
|
+
* - type: boolean
|
|
16094
|
+
* - description: Listen for mouse events too
|
|
16095
|
+
* - mouseCapture:
|
|
16096
|
+
* - type: boolean
|
|
16097
|
+
* - description: Use capture for mousedown event
|
|
16098
|
+
* - mouseAllDir:
|
|
16099
|
+
* - type: boolean
|
|
16100
|
+
* - description: Ignore initial mouse move direction (do not abort if the first mouse move is in an unaccepted direction)
|
|
16101
|
+
* - preserveCursor:
|
|
16102
|
+
* - type: boolean
|
|
16103
|
+
* - description: Prevent the mouse cursor from automatically displaying as grabbing when panning
|
|
16104
|
+
* - horizontal:
|
|
16105
|
+
* - type: boolean
|
|
16106
|
+
* - description: Catch horizontal (left/right) movement
|
|
16107
|
+
* - vertical:
|
|
16108
|
+
* - type: boolean
|
|
16109
|
+
* - description: Catch vertical (up/down) movement
|
|
16110
|
+
* - up:
|
|
16111
|
+
* - type: boolean
|
|
16112
|
+
* - description: Catch panning to up
|
|
16113
|
+
* - right:
|
|
16114
|
+
* - type: boolean
|
|
16115
|
+
* - description: Catch panning to right
|
|
16116
|
+
* - down:
|
|
16117
|
+
* - type: boolean
|
|
16118
|
+
* - description: Catch panning to down
|
|
16119
|
+
* - left:
|
|
16120
|
+
* - type: boolean
|
|
16121
|
+
* - description: Catch panning to left
|
|
16122
|
+
*
|
|
16123
|
+
* @see https://v2.quasar.dev/vue-directives/touch-pan
|
|
16124
|
+
*/
|
|
16125
|
+
vTouchPan: TouchPan;
|
|
16126
|
+
|
|
16127
|
+
/**
|
|
16128
|
+
* Handler for touch-repeat (use undefined to disable)
|
|
16129
|
+
*
|
|
16130
|
+
* Directive argument:
|
|
16131
|
+
* - type: string
|
|
16132
|
+
* - default: 0:600:300
|
|
16133
|
+
* - description: String of numbers (at least one number) separated by ':' which defines the amount of time to wait for 1st handler call, 2nd, 3rd and so on; All subsequent calls will use last value as time to wait until triggering
|
|
16134
|
+
* - examples:
|
|
16135
|
+
* - v-touch-repeat:0:400="fnToCall"
|
|
16136
|
+
*
|
|
16137
|
+
* Modifiers:
|
|
16138
|
+
* - capture:
|
|
16139
|
+
* - type: boolean
|
|
16140
|
+
* - description: Use capture for touchstart event
|
|
16141
|
+
* - mouse:
|
|
16142
|
+
* - type: boolean
|
|
16143
|
+
* - description: Listen for mouse events too
|
|
16144
|
+
* - mouseCapture:
|
|
16145
|
+
* - type: boolean
|
|
16146
|
+
* - description: Use capture for mousedown event
|
|
16147
|
+
* - keyCapture:
|
|
16148
|
+
* - type: boolean
|
|
16149
|
+
* - description: Use capture for keydown event
|
|
16150
|
+
* - esc:
|
|
16151
|
+
* - type: boolean
|
|
16152
|
+
* - description: Catch ESC key
|
|
16153
|
+
* - tab:
|
|
16154
|
+
* - type: boolean
|
|
16155
|
+
* - description: Catch TAB key
|
|
16156
|
+
* - enter:
|
|
16157
|
+
* - type: boolean
|
|
16158
|
+
* - description: Catch ENTER key
|
|
16159
|
+
* - space:
|
|
16160
|
+
* - type: boolean
|
|
16161
|
+
* - description: Catch SPACE key
|
|
16162
|
+
* - up:
|
|
16163
|
+
* - type: boolean
|
|
16164
|
+
* - description: Catch UP arrow key
|
|
16165
|
+
* - left:
|
|
16166
|
+
* - type: boolean
|
|
16167
|
+
* - description: Catch LEFT arrow key
|
|
16168
|
+
* - right:
|
|
16169
|
+
* - type: boolean
|
|
16170
|
+
* - description: Catch RIGHT arrow key
|
|
16171
|
+
* - down:
|
|
16172
|
+
* - type: boolean
|
|
16173
|
+
* - description: Catch DOWN key
|
|
16174
|
+
* - delete:
|
|
16175
|
+
* - type: boolean
|
|
16176
|
+
* - description: Catch DELETE key
|
|
16177
|
+
* - [keycode]:
|
|
16178
|
+
* - type: number
|
|
16179
|
+
* - description: Key code to catch
|
|
16180
|
+
* - examples:
|
|
16181
|
+
* - v-touch-repeat.68="fnToCall"
|
|
16182
|
+
*
|
|
16183
|
+
* @see https://v2.quasar.dev/vue-directives/touch-repeat
|
|
16184
|
+
*/
|
|
16185
|
+
vTouchRepeat: TouchRepeat;
|
|
16186
|
+
|
|
16187
|
+
/**
|
|
16188
|
+
* Handler for swipe (use undefined to disable)
|
|
16189
|
+
*
|
|
16190
|
+
* Directive argument:
|
|
16191
|
+
* - type: string
|
|
16192
|
+
* - default: 6e-2:6:50
|
|
16193
|
+
* - description: x:y:z, where x is minimum velocity (dist/time; please use float without a dot, example: 6e-2 which is equivalent to 6 * 10^-2 = 0.06), y is minimum distance on first move on mobile, z is minimum distance on desktop until deciding if it's a swipe indeed
|
|
16194
|
+
* - examples:
|
|
16195
|
+
* - v-touch-swipe:7e-2:10:100="fnToCall"
|
|
16196
|
+
*
|
|
16197
|
+
* Modifiers:
|
|
16198
|
+
* - capture:
|
|
16199
|
+
* - type: boolean
|
|
16200
|
+
* - description: Use capture for touchstart event
|
|
16201
|
+
* - mouse:
|
|
16202
|
+
* - type: boolean
|
|
16203
|
+
* - description: Listen for mouse events too
|
|
16204
|
+
* - mouseCapture:
|
|
16205
|
+
* - type: boolean
|
|
16206
|
+
* - description: Use capture for mousedown event
|
|
16207
|
+
* - horizontal:
|
|
16208
|
+
* - type: boolean
|
|
16209
|
+
* - description: Catch horizontal (left/right) movement
|
|
16210
|
+
* - vertical:
|
|
16211
|
+
* - type: boolean
|
|
16212
|
+
* - description: Catch vertical (up/down) movement
|
|
16213
|
+
* - up:
|
|
16214
|
+
* - type: boolean
|
|
16215
|
+
* - description: Catch swipe to up
|
|
16216
|
+
* - right:
|
|
16217
|
+
* - type: boolean
|
|
16218
|
+
* - description: Catch swipe to right
|
|
16219
|
+
* - down:
|
|
16220
|
+
* - type: boolean
|
|
16221
|
+
* - description: Catch swipe to down
|
|
16222
|
+
* - left:
|
|
16223
|
+
* - type: boolean
|
|
16224
|
+
* - description: Catch swipe to left
|
|
16225
|
+
*
|
|
16226
|
+
* @see https://v2.quasar.dev/vue-directives/touch-swipe
|
|
16227
|
+
*/
|
|
16228
|
+
vTouchSwipe: TouchSwipe;
|
|
14748
16229
|
}
|
|
14749
16230
|
|
|
14750
16231
|
interface QuasarPlugins {
|