quasar 2.17.0 → 2.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/api/QFile.json +1 -1
  2. package/dist/api/QUploader.json +1 -1
  3. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  4. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  7. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  8. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  9. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  10. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  13. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  14. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  15. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  16. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  17. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  18. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  19. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  20. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  21. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  22. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +2 -2
  27. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +2 -2
  36. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
  37. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
  38. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  41. package/dist/icon-set/themify.umd.prod.js +1 -1
  42. package/dist/lang/ar-TN.umd.prod.js +1 -1
  43. package/dist/lang/ar.umd.prod.js +1 -1
  44. package/dist/lang/az-Latn.umd.prod.js +1 -1
  45. package/dist/lang/bg.umd.prod.js +1 -1
  46. package/dist/lang/bn.umd.prod.js +1 -1
  47. package/dist/lang/bs-BA.umd.prod.js +1 -1
  48. package/dist/lang/ca.umd.prod.js +1 -1
  49. package/dist/lang/cs.umd.prod.js +1 -1
  50. package/dist/lang/da.umd.prod.js +1 -1
  51. package/dist/lang/de-CH.umd.prod.js +1 -1
  52. package/dist/lang/de-DE.umd.prod.js +1 -1
  53. package/dist/lang/de.umd.prod.js +1 -1
  54. package/dist/lang/el.umd.prod.js +1 -1
  55. package/dist/lang/en-GB.umd.prod.js +1 -1
  56. package/dist/lang/en-US.umd.prod.js +1 -1
  57. package/dist/lang/eo.umd.prod.js +1 -1
  58. package/dist/lang/es.umd.prod.js +1 -1
  59. package/dist/lang/et.umd.prod.js +1 -1
  60. package/dist/lang/eu.umd.prod.js +1 -1
  61. package/dist/lang/fa-IR.umd.prod.js +1 -1
  62. package/dist/lang/fa.umd.prod.js +1 -1
  63. package/dist/lang/fi.umd.prod.js +1 -1
  64. package/dist/lang/fr.umd.prod.js +1 -1
  65. package/dist/lang/gn.umd.prod.js +1 -1
  66. package/dist/lang/he.umd.prod.js +1 -1
  67. package/dist/lang/hi.umd.prod.js +1 -1
  68. package/dist/lang/hr.umd.prod.js +1 -1
  69. package/dist/lang/hu.umd.prod.js +1 -1
  70. package/dist/lang/id.umd.prod.js +1 -1
  71. package/dist/lang/is.umd.prod.js +1 -1
  72. package/dist/lang/it.umd.prod.js +1 -1
  73. package/dist/lang/ja.umd.prod.js +1 -1
  74. package/dist/lang/kk.umd.prod.js +1 -1
  75. package/dist/lang/km.umd.prod.js +1 -1
  76. package/dist/lang/ko-KR.umd.prod.js +1 -1
  77. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  78. package/dist/lang/lt.umd.prod.js +1 -1
  79. package/dist/lang/lu.umd.prod.js +1 -1
  80. package/dist/lang/lv.umd.prod.js +1 -1
  81. package/dist/lang/mk.umd.prod.js +1 -1
  82. package/dist/lang/ml.umd.prod.js +1 -1
  83. package/dist/lang/mm.umd.prod.js +1 -1
  84. package/dist/lang/ms-MY.umd.prod.js +1 -1
  85. package/dist/lang/ms.umd.prod.js +1 -1
  86. package/dist/lang/my.umd.prod.js +1 -1
  87. package/dist/lang/nb-NO.umd.prod.js +1 -1
  88. package/dist/lang/nl.umd.prod.js +1 -1
  89. package/dist/lang/pl.umd.prod.js +1 -1
  90. package/dist/lang/pt-BR.umd.prod.js +1 -1
  91. package/dist/lang/pt.umd.prod.js +1 -1
  92. package/dist/lang/ro.umd.prod.js +1 -1
  93. package/dist/lang/ru.umd.prod.js +1 -1
  94. package/dist/lang/sk.umd.prod.js +1 -1
  95. package/dist/lang/sl.umd.prod.js +1 -1
  96. package/dist/lang/sm.umd.prod.js +1 -1
  97. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  98. package/dist/lang/sr.umd.prod.js +1 -1
  99. package/dist/lang/sv.umd.prod.js +1 -1
  100. package/dist/lang/ta.umd.prod.js +1 -1
  101. package/dist/lang/th.umd.prod.js +1 -1
  102. package/dist/lang/tl.umd.prod.js +1 -1
  103. package/dist/lang/tr.umd.prod.js +1 -1
  104. package/dist/lang/ug.umd.prod.js +1 -1
  105. package/dist/lang/uk.umd.prod.js +1 -1
  106. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  107. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  108. package/dist/lang/vi.umd.prod.js +1 -1
  109. package/dist/lang/zh-CN.umd.prod.js +1 -1
  110. package/dist/lang/zh-TW.umd.prod.js +1 -1
  111. package/dist/quasar.client.js +21 -22
  112. package/dist/quasar.sass +58 -58
  113. package/dist/quasar.server.prod.cjs +4 -4
  114. package/dist/quasar.server.prod.js +4 -4
  115. package/dist/quasar.umd.js +21 -22
  116. package/dist/quasar.umd.prod.js +16 -16
  117. package/dist/types/api/qfile.d.ts +2 -0
  118. package/dist/types/api/qtree.d.ts +1 -1
  119. package/dist/types/api/slider.d.ts +2 -1
  120. package/dist/types/extras/icon-set.d.ts +11 -6
  121. package/dist/types/index.d.ts +161 -160
  122. package/dist/types/lang.d.ts +5 -1
  123. package/dist/types/plugin.d.ts +7 -7
  124. package/dist/web-types/web-types.json +1 -1
  125. package/package.json +4 -4
  126. package/src/components/file/QFile.json +2 -1
  127. package/src/components/select/QSelect.js +15 -13
  128. package/src/components/time/QTime.sass +5 -5
  129. package/src/components/uploader/QUploader.json +0 -12
  130. package/src/composables/private.use-file/use-file.json +5 -2
  131. package/src/composables/private.use-key-composition/use-key-composition.js +19 -2
  132. package/src/composables/use-timeout/use-timeout.js +1 -1
  133. package/src/css/core/elevation.sass +6 -4
  134. package/src/css/core/flex.sass +5 -6
  135. package/src/css/core/size.sass +20 -18
  136. package/src/css/core/typography.sass +11 -9
  137. package/src/css/flex-addon.sass +22 -20
  138. package/src/css/helpers/math.sass +1 -1
  139. package/src/css/helpers/string.sass +7 -4
  140. package/src/css/variables.sass +11 -9
  141. package/src/utils/private.config/nodes.js +1 -3
  142. package/wrappers/index.cjs +1 -0
  143. package/wrappers/index.js +1 -0
@@ -13,3 +13,5 @@ export type QFileNativeElement = Omit<
13
13
  Omit<HTMLInputElement, "files"> & { files: FileList },
14
14
  "type"
15
15
  > & { type: "file" };
16
+
17
+ export type QUseFileAddInput = readonly File[] | FileList;
@@ -105,7 +105,7 @@ export type QTreeNode<TExtra = unknown> = Omit<
105
105
  handler?: (node: QTreeNode<TExtra>) => void;
106
106
  tickable?: boolean;
107
107
  noTick?: boolean;
108
- tickStrategy?: "leaf" | "leaf-filtered" | "string" | "none";
108
+ tickStrategy?: "leaf" | "leaf-filtered" | "strict" | "none";
109
109
  lazy?: boolean;
110
110
  header?: string;
111
111
  body?: string;
@@ -26,7 +26,8 @@ interface SliderMarkerLabelObjectDefinition {
26
26
 
27
27
  export type SliderMarkerLabels =
28
28
  | boolean
29
- | Array<SliderMarkerLabelDefinitionRequiredValue>
29
+ // using a number is shorthand for { value: number }
30
+ | (SliderMarkerLabelDefinitionRequiredValue | number)[]
30
31
  | SliderMarkerLabelObjectDefinition
31
32
  | ((value: number) => string | SliderMarkerLabelDefinition);
32
33
 
@@ -40,23 +40,27 @@ type QuasarIconSetEditor =
40
40
  | "undo"
41
41
  | "redo"
42
42
  | "heading"
43
+ | "code"
44
+ | "size"
45
+ | "font"
46
+ | "viewSource";
47
+ type QuasarIconSetEditorOptional =
48
+ // defaults to "heading"
43
49
  | "heading1"
44
50
  | "heading2"
45
51
  | "heading3"
46
52
  | "heading4"
47
53
  | "heading5"
48
54
  | "heading6"
49
- | "code"
50
- | "size"
55
+
56
+ // defaults to "size"
51
57
  | "size1"
52
58
  | "size2"
53
59
  | "size3"
54
60
  | "size4"
55
61
  | "size5"
56
62
  | "size6"
57
- | "size7"
58
- | "font"
59
- | "viewSource";
63
+ | "size7";
60
64
  type QuasarIconSetExpansionItem = "icon" | "denseIcon";
61
65
  type QuasarIconSetFab = "icon" | "activeIcon";
62
66
  type QuasarIconSetField = "clear" | "error";
@@ -90,7 +94,8 @@ export interface QuasarIconSet {
90
94
  carousel: StringDictionary<QuasarIconSetCarousel>;
91
95
  chip: StringDictionary<QuasarIconSetChip>;
92
96
  datetime: StringDictionary<QuasarIconSetDatetime>;
93
- editor: StringDictionary<QuasarIconSetEditor>;
97
+ editor: StringDictionary<QuasarIconSetEditor> &
98
+ Partial<StringDictionary<QuasarIconSetEditorOptional>>;
94
99
  expansionItem: StringDictionary<QuasarIconSetExpansionItem>;
95
100
  fab: StringDictionary<QuasarIconSetFab>;
96
101
  field: StringDictionary<QuasarIconSetField>;
@@ -7003,7 +7003,7 @@ export interface QFileProps {
7003
7003
  * @param files Candidate files to be added to queue
7004
7004
  * @returns Filtered files to be added to queue
7005
7005
  */
7006
- filter?: ((files: readonly any[] | FileList) => readonly any[]) | undefined;
7006
+ filter?: ((files: File[]) => File[]) | undefined;
7007
7007
  /**
7008
7008
  * Model of the component; Must be FileList or Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
7009
7009
  */
@@ -7291,7 +7291,7 @@ export interface QFileSlots {
7291
7291
  /**
7292
7292
  * Array of File objects
7293
7293
  */
7294
- files: readonly any[] | FileList;
7294
+ files: File[];
7295
7295
  /**
7296
7296
  * Reference to the QFile component
7297
7297
  */
@@ -7307,9 +7307,9 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
7307
7307
  pickFiles: (evt?: Event) => void;
7308
7308
  /**
7309
7309
  * Add files programmatically
7310
- * @param files Array of files (instances of File)
7310
+ * @param files Array of files (instances of File) or FileList
7311
7311
  */
7312
- addFiles: (files: readonly any[] | FileList) => void;
7312
+ addFiles: (files: QUseFileAddInput) => void;
7313
7313
  /**
7314
7314
  * Reset validation status
7315
7315
  */
@@ -15700,7 +15700,7 @@ export interface QUploaderProps {
15700
15700
  * @param files Candidate files to be added to queue
15701
15701
  * @returns Filtered files to be added to queue
15702
15702
  */
15703
- filter?: ((files: readonly any[] | FileList) => readonly any[]) | undefined;
15703
+ filter?: ((files: File[]) => File[]) | undefined;
15704
15704
  /**
15705
15705
  * Label for the uploader
15706
15706
  */
@@ -15848,10 +15848,10 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
15848
15848
  */
15849
15849
  pickFiles: (evt: Event) => void;
15850
15850
  /**
15851
- * Manually add files to the queue
15852
- * @param files Must be an array of instances of JS File type
15851
+ * Add files programmatically
15852
+ * @param files Array of files (instances of File) or FileList
15853
15853
  */
15854
- addFiles: (files: readonly any[]) => void;
15854
+ addFiles: (files: QUseFileAddInput) => void;
15855
15855
  /**
15856
15856
  * Start uploading (same as clicking the upload button)
15857
15857
  */
@@ -16567,6 +16567,7 @@ import { VueStyleObjectProp } from "./api";
16567
16567
  import { QEditorCaret } from "./api";
16568
16568
  import { ValidationRule } from "./api";
16569
16569
  import { QRejectedEntry } from "./api";
16570
+ import { QUseFileAddInput } from "./api";
16570
16571
  import { QFileNativeElement } from "./api";
16571
16572
  import { QFormChildComponent } from "./api";
16572
16573
  import { QInputNativeElement } from "./api";
@@ -17797,129 +17798,129 @@ export const QVirtualScroll: ComponentConstructor<QVirtualScroll>;
17797
17798
 
17798
17799
  declare module "./plugin" {
17799
17800
  interface QuasarComponents {
17800
- QAjaxBar?: ComponentConstructor<QAjaxBar>;
17801
- QAvatar?: ComponentConstructor<QAvatar>;
17802
- QBadge?: ComponentConstructor<QBadge>;
17803
- QBanner?: ComponentConstructor<QBanner>;
17804
- QBar?: ComponentConstructor<QBar>;
17805
- QBreadcrumbs?: ComponentConstructor<QBreadcrumbs>;
17806
- QBreadcrumbsEl?: ComponentConstructor<QBreadcrumbsEl>;
17807
- QBtn?: ComponentConstructor<QBtn>;
17808
- QBtnDropdown?: ComponentConstructor<QBtnDropdown>;
17809
- QBtnGroup?: ComponentConstructor<QBtnGroup>;
17810
- QBtnToggle?: ComponentConstructor<QBtnToggle>;
17811
- QCard?: ComponentConstructor<QCard>;
17812
- QCardActions?: ComponentConstructor<QCardActions>;
17813
- QCardSection?: ComponentConstructor<QCardSection>;
17814
- QCarousel?: ComponentConstructor<QCarousel>;
17815
- QCarouselControl?: ComponentConstructor<QCarouselControl>;
17816
- QCarouselSlide?: ComponentConstructor<QCarouselSlide>;
17817
- QChatMessage?: ComponentConstructor<QChatMessage>;
17818
- QCheckbox?: ComponentConstructor<QCheckbox>;
17819
- QChip?: ComponentConstructor<QChip>;
17820
- QCircularProgress?: ComponentConstructor<QCircularProgress>;
17821
- QColor?: ComponentConstructor<QColor>;
17822
- QDate?: ComponentConstructor<QDate>;
17823
- QDialog?: ComponentConstructor<QDialog>;
17824
- QDrawer?: ComponentConstructor<QDrawer>;
17825
- QEditor?: ComponentConstructor<QEditor>;
17826
- QExpansionItem?: ComponentConstructor<QExpansionItem>;
17827
- QFab?: ComponentConstructor<QFab>;
17828
- QFabAction?: ComponentConstructor<QFabAction>;
17829
- QField?: ComponentConstructor<QField>;
17830
- QFile?: ComponentConstructor<QFile>;
17831
- QFooter?: ComponentConstructor<QFooter>;
17832
- QForm?: ComponentConstructor<QForm>;
17833
- QFormChildMixin?: ComponentConstructor<QFormChildMixin>;
17834
- QHeader?: ComponentConstructor<QHeader>;
17835
- QIcon?: ComponentConstructor<QIcon>;
17836
- QImg?: ComponentConstructor<QImg>;
17837
- QInfiniteScroll?: ComponentConstructor<QInfiniteScroll>;
17838
- QInnerLoading?: ComponentConstructor<QInnerLoading>;
17839
- QInput?: ComponentConstructor<QInput>;
17840
- QIntersection?: ComponentConstructor<QIntersection>;
17841
- QItem?: ComponentConstructor<QItem>;
17842
- QItemLabel?: ComponentConstructor<QItemLabel>;
17843
- QItemSection?: ComponentConstructor<QItemSection>;
17844
- QList?: ComponentConstructor<QList>;
17845
- QKnob?: ComponentConstructor<QKnob>;
17846
- QLayout?: ComponentConstructor<QLayout>;
17847
- QLinearProgress?: ComponentConstructor<QLinearProgress>;
17848
- QMarkupTable?: ComponentConstructor<QMarkupTable>;
17849
- QMenu?: ComponentConstructor<QMenu>;
17850
- QNoSsr?: ComponentConstructor<QNoSsr>;
17851
- QOptionGroup?: ComponentConstructor<QOptionGroup>;
17852
- QPage?: ComponentConstructor<QPage>;
17853
- QPageContainer?: ComponentConstructor<QPageContainer>;
17854
- QPageScroller?: ComponentConstructor<QPageScroller>;
17855
- QPageSticky?: ComponentConstructor<QPageSticky>;
17856
- QPagination?: ComponentConstructor<QPagination>;
17857
- QParallax?: ComponentConstructor<QParallax>;
17858
- QPopupEdit?: ComponentConstructor<QPopupEdit>;
17859
- QPopupProxy?: ComponentConstructor<QPopupProxy>;
17860
- QPullToRefresh?: ComponentConstructor<QPullToRefresh>;
17861
- QRadio?: ComponentConstructor<QRadio>;
17862
- QRange?: ComponentConstructor<QRange>;
17863
- QRating?: ComponentConstructor<QRating>;
17864
- QResizeObserver?: ComponentConstructor<QResizeObserver>;
17865
- QResponsive?: ComponentConstructor<QResponsive>;
17866
- QScrollArea?: ComponentConstructor<QScrollArea>;
17867
- QScrollObserver?: ComponentConstructor<QScrollObserver>;
17868
- QSelect?: ComponentConstructor<QSelect>;
17869
- QSeparator?: ComponentConstructor<QSeparator>;
17870
- QSkeleton?: ComponentConstructor<QSkeleton>;
17871
- QSlideItem?: ComponentConstructor<QSlideItem>;
17872
- QSlideTransition?: ComponentConstructor<QSlideTransition>;
17873
- QSlider?: ComponentConstructor<QSlider>;
17874
- QSpace?: ComponentConstructor<QSpace>;
17875
- QSpinner?: ComponentConstructor<QSpinner>;
17876
- QSpinnerAudio?: ComponentConstructor<QSpinnerAudio>;
17877
- QSpinnerBall?: ComponentConstructor<QSpinnerBall>;
17878
- QSpinnerBars?: ComponentConstructor<QSpinnerBars>;
17879
- QSpinnerBox?: ComponentConstructor<QSpinnerBox>;
17880
- QSpinnerClock?: ComponentConstructor<QSpinnerClock>;
17881
- QSpinnerComment?: ComponentConstructor<QSpinnerComment>;
17882
- QSpinnerCube?: ComponentConstructor<QSpinnerCube>;
17883
- QSpinnerDots?: ComponentConstructor<QSpinnerDots>;
17884
- QSpinnerFacebook?: ComponentConstructor<QSpinnerFacebook>;
17885
- QSpinnerGears?: ComponentConstructor<QSpinnerGears>;
17886
- QSpinnerGrid?: ComponentConstructor<QSpinnerGrid>;
17887
- QSpinnerHearts?: ComponentConstructor<QSpinnerHearts>;
17888
- QSpinnerHourglass?: ComponentConstructor<QSpinnerHourglass>;
17889
- QSpinnerInfinity?: ComponentConstructor<QSpinnerInfinity>;
17890
- QSpinnerIos?: ComponentConstructor<QSpinnerIos>;
17891
- QSpinnerOrbit?: ComponentConstructor<QSpinnerOrbit>;
17892
- QSpinnerOval?: ComponentConstructor<QSpinnerOval>;
17893
- QSpinnerPie?: ComponentConstructor<QSpinnerPie>;
17894
- QSpinnerPuff?: ComponentConstructor<QSpinnerPuff>;
17895
- QSpinnerRadio?: ComponentConstructor<QSpinnerRadio>;
17896
- QSpinnerRings?: ComponentConstructor<QSpinnerRings>;
17897
- QSpinnerTail?: ComponentConstructor<QSpinnerTail>;
17898
- QSplitter?: ComponentConstructor<QSplitter>;
17899
- QStep?: ComponentConstructor<QStep>;
17900
- QStepper?: ComponentConstructor<QStepper>;
17901
- QStepperNavigation?: ComponentConstructor<QStepperNavigation>;
17902
- QTabPanel?: ComponentConstructor<QTabPanel>;
17903
- QTabPanels?: ComponentConstructor<QTabPanels>;
17904
- QTable?: ComponentConstructor<QTable>;
17905
- QTd?: ComponentConstructor<QTd>;
17906
- QTh?: ComponentConstructor<QTh>;
17907
- QTr?: ComponentConstructor<QTr>;
17908
- QRouteTab?: ComponentConstructor<QRouteTab>;
17909
- QTab?: ComponentConstructor<QTab>;
17910
- QTabs?: ComponentConstructor<QTabs>;
17911
- QTime?: ComponentConstructor<QTime>;
17912
- QTimeline?: ComponentConstructor<QTimeline>;
17913
- QTimelineEntry?: ComponentConstructor<QTimelineEntry>;
17914
- QToggle?: ComponentConstructor<QToggle>;
17915
- QToolbar?: ComponentConstructor<QToolbar>;
17916
- QToolbarTitle?: ComponentConstructor<QToolbarTitle>;
17917
- QTooltip?: ComponentConstructor<QTooltip>;
17918
- QTree?: ComponentConstructor<QTree>;
17919
- QUploader?: ComponentConstructor<QUploader>;
17920
- QUploaderAddTrigger?: ComponentConstructor<QUploaderAddTrigger>;
17921
- QVideo?: ComponentConstructor<QVideo>;
17922
- QVirtualScroll?: ComponentConstructor<QVirtualScroll>;
17801
+ QAjaxBar: ComponentConstructor<QAjaxBar>;
17802
+ QAvatar: ComponentConstructor<QAvatar>;
17803
+ QBadge: ComponentConstructor<QBadge>;
17804
+ QBanner: ComponentConstructor<QBanner>;
17805
+ QBar: ComponentConstructor<QBar>;
17806
+ QBreadcrumbs: ComponentConstructor<QBreadcrumbs>;
17807
+ QBreadcrumbsEl: ComponentConstructor<QBreadcrumbsEl>;
17808
+ QBtn: ComponentConstructor<QBtn>;
17809
+ QBtnDropdown: ComponentConstructor<QBtnDropdown>;
17810
+ QBtnGroup: ComponentConstructor<QBtnGroup>;
17811
+ QBtnToggle: ComponentConstructor<QBtnToggle>;
17812
+ QCard: ComponentConstructor<QCard>;
17813
+ QCardActions: ComponentConstructor<QCardActions>;
17814
+ QCardSection: ComponentConstructor<QCardSection>;
17815
+ QCarousel: ComponentConstructor<QCarousel>;
17816
+ QCarouselControl: ComponentConstructor<QCarouselControl>;
17817
+ QCarouselSlide: ComponentConstructor<QCarouselSlide>;
17818
+ QChatMessage: ComponentConstructor<QChatMessage>;
17819
+ QCheckbox: ComponentConstructor<QCheckbox>;
17820
+ QChip: ComponentConstructor<QChip>;
17821
+ QCircularProgress: ComponentConstructor<QCircularProgress>;
17822
+ QColor: ComponentConstructor<QColor>;
17823
+ QDate: ComponentConstructor<QDate>;
17824
+ QDialog: ComponentConstructor<QDialog>;
17825
+ QDrawer: ComponentConstructor<QDrawer>;
17826
+ QEditor: ComponentConstructor<QEditor>;
17827
+ QExpansionItem: ComponentConstructor<QExpansionItem>;
17828
+ QFab: ComponentConstructor<QFab>;
17829
+ QFabAction: ComponentConstructor<QFabAction>;
17830
+ QField: ComponentConstructor<QField>;
17831
+ QFile: ComponentConstructor<QFile>;
17832
+ QFooter: ComponentConstructor<QFooter>;
17833
+ QForm: ComponentConstructor<QForm>;
17834
+ QFormChildMixin: ComponentConstructor<QFormChildMixin>;
17835
+ QHeader: ComponentConstructor<QHeader>;
17836
+ QIcon: ComponentConstructor<QIcon>;
17837
+ QImg: ComponentConstructor<QImg>;
17838
+ QInfiniteScroll: ComponentConstructor<QInfiniteScroll>;
17839
+ QInnerLoading: ComponentConstructor<QInnerLoading>;
17840
+ QInput: ComponentConstructor<QInput>;
17841
+ QIntersection: ComponentConstructor<QIntersection>;
17842
+ QItem: ComponentConstructor<QItem>;
17843
+ QItemLabel: ComponentConstructor<QItemLabel>;
17844
+ QItemSection: ComponentConstructor<QItemSection>;
17845
+ QList: ComponentConstructor<QList>;
17846
+ QKnob: ComponentConstructor<QKnob>;
17847
+ QLayout: ComponentConstructor<QLayout>;
17848
+ QLinearProgress: ComponentConstructor<QLinearProgress>;
17849
+ QMarkupTable: ComponentConstructor<QMarkupTable>;
17850
+ QMenu: ComponentConstructor<QMenu>;
17851
+ QNoSsr: ComponentConstructor<QNoSsr>;
17852
+ QOptionGroup: ComponentConstructor<QOptionGroup>;
17853
+ QPage: ComponentConstructor<QPage>;
17854
+ QPageContainer: ComponentConstructor<QPageContainer>;
17855
+ QPageScroller: ComponentConstructor<QPageScroller>;
17856
+ QPageSticky: ComponentConstructor<QPageSticky>;
17857
+ QPagination: ComponentConstructor<QPagination>;
17858
+ QParallax: ComponentConstructor<QParallax>;
17859
+ QPopupEdit: ComponentConstructor<QPopupEdit>;
17860
+ QPopupProxy: ComponentConstructor<QPopupProxy>;
17861
+ QPullToRefresh: ComponentConstructor<QPullToRefresh>;
17862
+ QRadio: ComponentConstructor<QRadio>;
17863
+ QRange: ComponentConstructor<QRange>;
17864
+ QRating: ComponentConstructor<QRating>;
17865
+ QResizeObserver: ComponentConstructor<QResizeObserver>;
17866
+ QResponsive: ComponentConstructor<QResponsive>;
17867
+ QScrollArea: ComponentConstructor<QScrollArea>;
17868
+ QScrollObserver: ComponentConstructor<QScrollObserver>;
17869
+ QSelect: ComponentConstructor<QSelect>;
17870
+ QSeparator: ComponentConstructor<QSeparator>;
17871
+ QSkeleton: ComponentConstructor<QSkeleton>;
17872
+ QSlideItem: ComponentConstructor<QSlideItem>;
17873
+ QSlideTransition: ComponentConstructor<QSlideTransition>;
17874
+ QSlider: ComponentConstructor<QSlider>;
17875
+ QSpace: ComponentConstructor<QSpace>;
17876
+ QSpinner: ComponentConstructor<QSpinner>;
17877
+ QSpinnerAudio: ComponentConstructor<QSpinnerAudio>;
17878
+ QSpinnerBall: ComponentConstructor<QSpinnerBall>;
17879
+ QSpinnerBars: ComponentConstructor<QSpinnerBars>;
17880
+ QSpinnerBox: ComponentConstructor<QSpinnerBox>;
17881
+ QSpinnerClock: ComponentConstructor<QSpinnerClock>;
17882
+ QSpinnerComment: ComponentConstructor<QSpinnerComment>;
17883
+ QSpinnerCube: ComponentConstructor<QSpinnerCube>;
17884
+ QSpinnerDots: ComponentConstructor<QSpinnerDots>;
17885
+ QSpinnerFacebook: ComponentConstructor<QSpinnerFacebook>;
17886
+ QSpinnerGears: ComponentConstructor<QSpinnerGears>;
17887
+ QSpinnerGrid: ComponentConstructor<QSpinnerGrid>;
17888
+ QSpinnerHearts: ComponentConstructor<QSpinnerHearts>;
17889
+ QSpinnerHourglass: ComponentConstructor<QSpinnerHourglass>;
17890
+ QSpinnerInfinity: ComponentConstructor<QSpinnerInfinity>;
17891
+ QSpinnerIos: ComponentConstructor<QSpinnerIos>;
17892
+ QSpinnerOrbit: ComponentConstructor<QSpinnerOrbit>;
17893
+ QSpinnerOval: ComponentConstructor<QSpinnerOval>;
17894
+ QSpinnerPie: ComponentConstructor<QSpinnerPie>;
17895
+ QSpinnerPuff: ComponentConstructor<QSpinnerPuff>;
17896
+ QSpinnerRadio: ComponentConstructor<QSpinnerRadio>;
17897
+ QSpinnerRings: ComponentConstructor<QSpinnerRings>;
17898
+ QSpinnerTail: ComponentConstructor<QSpinnerTail>;
17899
+ QSplitter: ComponentConstructor<QSplitter>;
17900
+ QStep: ComponentConstructor<QStep>;
17901
+ QStepper: ComponentConstructor<QStepper>;
17902
+ QStepperNavigation: ComponentConstructor<QStepperNavigation>;
17903
+ QTabPanel: ComponentConstructor<QTabPanel>;
17904
+ QTabPanels: ComponentConstructor<QTabPanels>;
17905
+ QTable: ComponentConstructor<QTable>;
17906
+ QTd: ComponentConstructor<QTd>;
17907
+ QTh: ComponentConstructor<QTh>;
17908
+ QTr: ComponentConstructor<QTr>;
17909
+ QRouteTab: ComponentConstructor<QRouteTab>;
17910
+ QTab: ComponentConstructor<QTab>;
17911
+ QTabs: ComponentConstructor<QTabs>;
17912
+ QTime: ComponentConstructor<QTime>;
17913
+ QTimeline: ComponentConstructor<QTimeline>;
17914
+ QTimelineEntry: ComponentConstructor<QTimelineEntry>;
17915
+ QToggle: ComponentConstructor<QToggle>;
17916
+ QToolbar: ComponentConstructor<QToolbar>;
17917
+ QToolbarTitle: ComponentConstructor<QToolbarTitle>;
17918
+ QTooltip: ComponentConstructor<QTooltip>;
17919
+ QTree: ComponentConstructor<QTree>;
17920
+ QUploader: ComponentConstructor<QUploader>;
17921
+ QUploaderAddTrigger: ComponentConstructor<QUploaderAddTrigger>;
17922
+ QVideo: ComponentConstructor<QVideo>;
17923
+ QVirtualScroll: ComponentConstructor<QVirtualScroll>;
17923
17924
  }
17924
17925
 
17925
17926
  interface QuasarDirectives {
@@ -17928,7 +17929,7 @@ declare module "./plugin" {
17928
17929
  *
17929
17930
  * @see https://v2.quasar.dev/vue-directives/close-popup
17930
17931
  */
17931
- vClosePopup: ClosePopup;
17932
+ ClosePopup: ClosePopup;
17932
17933
 
17933
17934
  /**
17934
17935
  * 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
@@ -17942,7 +17943,7 @@ declare module "./plugin" {
17942
17943
  *
17943
17944
  * @see https://v2.quasar.dev/vue-directives/intersection
17944
17945
  */
17945
- vIntersection: Intersection;
17946
+ Intersection: Intersection;
17946
17947
 
17947
17948
  /**
17948
17949
  * Configuration object or trigger value
@@ -17976,7 +17977,7 @@ declare module "./plugin" {
17976
17977
  *
17977
17978
  * @see https://v2.quasar.dev/vue-directives/morph
17978
17979
  */
17979
- vMorph: Morph;
17980
+ Morph: Morph;
17980
17981
 
17981
17982
  /**
17982
17983
  * 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
@@ -18020,7 +18021,7 @@ declare module "./plugin" {
18020
18021
  *
18021
18022
  * @see https://v2.quasar.dev/vue-directives/mutation
18022
18023
  */
18023
- vMutation: Mutation;
18024
+ Mutation: Mutation;
18024
18025
 
18025
18026
  /**
18026
18027
  * Boolean (if just wanting to enable/disable) or Object for configuring more options
@@ -18048,21 +18049,21 @@ declare module "./plugin" {
18048
18049
  *
18049
18050
  * @see https://v2.quasar.dev/vue-directives/material-ripple
18050
18051
  */
18051
- vRipple: Ripple;
18052
+ Ripple: Ripple;
18052
18053
 
18053
18054
  /**
18054
18055
  * Function to call when scrolling occurs (use undefined to disable)
18055
18056
  *
18056
18057
  * @see https://v2.quasar.dev/vue-directives/scroll
18057
18058
  */
18058
- vScroll: Scroll;
18059
+ Scroll: Scroll;
18059
18060
 
18060
18061
  /**
18061
18062
  * Function to call when scrolling and element comes into the viewport (use undefined to disable)
18062
18063
  *
18063
18064
  * @see https://v2.quasar.dev/vue-directives/scroll-fire
18064
18065
  */
18065
- vScrollFire: ScrollFire;
18066
+ ScrollFire: ScrollFire;
18066
18067
 
18067
18068
  /**
18068
18069
  * Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)
@@ -18089,7 +18090,7 @@ declare module "./plugin" {
18089
18090
  *
18090
18091
  * @see https://v2.quasar.dev/vue-directives/touch-hold
18091
18092
  */
18092
- vTouchHold: TouchHold;
18093
+ TouchHold: TouchHold;
18093
18094
 
18094
18095
  /**
18095
18096
  * Handler for panning (use undefined to disable)
@@ -18137,7 +18138,7 @@ declare module "./plugin" {
18137
18138
  *
18138
18139
  * @see https://v2.quasar.dev/vue-directives/touch-pan
18139
18140
  */
18140
- vTouchPan: TouchPan;
18141
+ TouchPan: TouchPan;
18141
18142
 
18142
18143
  /**
18143
18144
  * Handler for touch-repeat (use undefined to disable)
@@ -18197,7 +18198,7 @@ declare module "./plugin" {
18197
18198
  *
18198
18199
  * @see https://v2.quasar.dev/vue-directives/touch-repeat
18199
18200
  */
18200
- vTouchRepeat: TouchRepeat;
18201
+ TouchRepeat: TouchRepeat;
18201
18202
 
18202
18203
  /**
18203
18204
  * Handler for swipe (use undefined to disable)
@@ -18240,33 +18241,33 @@ declare module "./plugin" {
18240
18241
  *
18241
18242
  * @see https://v2.quasar.dev/vue-directives/touch-swipe
18242
18243
  */
18243
- vTouchSwipe: TouchSwipe;
18244
+ TouchSwipe: TouchSwipe;
18244
18245
  }
18245
18246
 
18246
18247
  interface QuasarPlugins {
18247
- AddressbarColor?: AddressbarColor;
18248
- AppFullscreen?: AppFullscreen;
18249
- AppVisibility?: AppVisibility;
18250
- BottomSheet?: BottomSheet;
18251
- Cookies?: Cookies;
18252
- Dark?: Dark;
18253
- Dialog?: Dialog;
18254
- IconSet?: IconSet;
18255
- Lang?: Lang;
18256
- Loading?: Loading;
18257
- LoadingBar?: LoadingBar;
18258
- Meta?: Meta;
18259
- Notify?: Notify;
18260
- Platform?: Platform;
18261
- Screen?: Screen;
18262
- LocalStorage?: LocalStorage;
18263
- SessionStorage?: SessionStorage;
18248
+ AddressbarColor: AddressbarColor;
18249
+ AppFullscreen: AppFullscreen;
18250
+ AppVisibility: AppVisibility;
18251
+ BottomSheet: BottomSheet;
18252
+ Cookies: Cookies;
18253
+ Dark: Dark;
18254
+ Dialog: Dialog;
18255
+ IconSet: IconSet;
18256
+ Lang: Lang;
18257
+ Loading: Loading;
18258
+ LoadingBar: LoadingBar;
18259
+ Meta: Meta;
18260
+ Notify: Notify;
18261
+ Platform: Platform;
18262
+ Screen: Screen;
18263
+ LocalStorage: LocalStorage;
18264
+ SessionStorage: SessionStorage;
18264
18265
  }
18265
18266
  }
18266
18267
 
18267
18268
  import { QuasarPluginOptions } from "./plugin";
18268
18269
  export const Quasar: {
18269
- install: (app: App, options: Partial<QuasarPluginOptions>) => any;
18270
+ install: (app: App, options?: QuasarPluginOptions) => any;
18270
18271
  } & QSingletonGlobals;
18271
18272
  export default Quasar;
18272
18273
 
@@ -109,7 +109,10 @@ export interface QuasarLanguage {
109
109
  isoName: string;
110
110
  nativeName: string;
111
111
  rtl?: boolean;
112
- label: StringDictionary<QuasarLanguageGeneralLabel>;
112
+ label: StringDictionary<QuasarLanguageGeneralLabel> & {
113
+ expand: (label?: string | undefined) => string;
114
+ collapse: (label?: string | undefined) => string;
115
+ };
113
116
  date: {
114
117
  days: QuasarLanguageDayTuple;
115
118
  daysShort: QuasarLanguageDayTuple;
@@ -117,6 +120,7 @@ export interface QuasarLanguage {
117
120
  monthsShort: QuasarLanguageMonthTuple;
118
121
  firstDayOfWeek: number;
119
122
  format24h: boolean;
123
+ pluralDay: string;
120
124
  headerTitle?: (
121
125
  date: Date,
122
126
  model: { year: number; month: number; day: number },
@@ -10,11 +10,11 @@ export interface QuasarDirectives {}
10
10
  export interface QuasarPlugins {}
11
11
 
12
12
  export interface QuasarPluginOptions {
13
- lang: QuasarLanguage;
14
- config: QuasarUIConfiguration;
15
- iconSet: QuasarIconSet;
16
- components: QuasarComponents;
17
- directives: QuasarDirectives;
18
- plugins: QuasarPlugins;
19
- iconMapFn: GlobalQuasarIconMapFn;
13
+ lang?: QuasarLanguage;
14
+ config?: QuasarUIConfiguration;
15
+ iconSet?: QuasarIconSet;
16
+ components?: Partial<QuasarComponents>;
17
+ directives?: Partial<QuasarDirectives>;
18
+ plugins?: Partial<QuasarPlugins>;
19
+ iconMapFn?: GlobalQuasarIconMapFn;
20
20
  }