quasar 2.6.5 → 2.7.1

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 (218) hide show
  1. package/dist/api/QBreadcrumbsEl.json +1 -1
  2. package/dist/api/QBtn.json +1 -1
  3. package/dist/api/QBtnDropdown.json +2 -1
  4. package/dist/api/QBtnToggle.json +1 -0
  5. package/dist/api/QCarousel.json +2 -1
  6. package/dist/api/QCheckbox.json +1 -0
  7. package/dist/api/QChip.json +3 -1
  8. package/dist/api/QColor.json +1 -0
  9. package/dist/api/QDate.json +1 -0
  10. package/dist/api/QEditor.json +3 -1
  11. package/dist/api/QExpansionItem.json +2 -1
  12. package/dist/api/QFab.json +1 -0
  13. package/dist/api/QFile.json +1 -0
  14. package/dist/api/QFooter.json +1 -0
  15. package/dist/api/QHeader.json +1 -0
  16. package/dist/api/QImg.json +23 -0
  17. package/dist/api/QInput.json +1 -0
  18. package/dist/api/QItem.json +4 -2
  19. package/dist/api/QKnob.json +1 -0
  20. package/dist/api/QOptionGroup.json +1 -0
  21. package/dist/api/QPagination.json +1 -0
  22. package/dist/api/QPopupEdit.json +1 -0
  23. package/dist/api/QPopupProxy.json +1 -0
  24. package/dist/api/QRadio.json +1 -0
  25. package/dist/api/QRange.json +1 -0
  26. package/dist/api/QRating.json +1 -0
  27. package/dist/api/QRouteTab.json +1 -1
  28. package/dist/api/QSelect.json +1 -0
  29. package/dist/api/QSlider.json +1 -0
  30. package/dist/api/QSplitter.json +1 -0
  31. package/dist/api/QTable.json +5 -1
  32. package/dist/api/QTabs.json +1 -0
  33. package/dist/api/QTime.json +1 -0
  34. package/dist/api/QToggle.json +1 -0
  35. package/dist/api/QTree.json +6 -3
  36. package/dist/api/QVideo.json +43 -0
  37. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  38. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  39. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  40. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  41. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  42. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  43. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  44. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  45. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  46. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  47. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  48. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  49. package/dist/icon-set/material-symbols-outlined.umd.prod.js +6 -0
  50. package/dist/icon-set/material-symbols-rounded.umd.prod.js +6 -0
  51. package/dist/icon-set/material-symbols-sharp.umd.prod.js +6 -0
  52. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  53. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  54. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  55. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  56. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  57. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  58. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  59. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  60. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  61. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  62. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  63. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  64. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  65. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  66. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  67. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  68. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +6 -0
  69. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +6 -0
  70. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +6 -0
  71. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  72. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  73. package/dist/icon-set/themify.umd.prod.js +1 -1
  74. package/dist/lang/ar-TN.umd.prod.js +1 -1
  75. package/dist/lang/ar.umd.prod.js +1 -1
  76. package/dist/lang/az-Latn.umd.prod.js +1 -1
  77. package/dist/lang/bg.umd.prod.js +1 -1
  78. package/dist/lang/bn.umd.prod.js +1 -1
  79. package/dist/lang/ca.umd.prod.js +1 -1
  80. package/dist/lang/cs.umd.prod.js +1 -1
  81. package/dist/lang/da.umd.prod.js +1 -1
  82. package/dist/lang/de.umd.prod.js +1 -1
  83. package/dist/lang/el.umd.prod.js +1 -1
  84. package/dist/lang/en-GB.umd.prod.js +1 -1
  85. package/dist/lang/en-US.umd.prod.js +1 -1
  86. package/dist/lang/eo.umd.prod.js +1 -1
  87. package/dist/lang/es.umd.prod.js +2 -2
  88. package/dist/lang/et.umd.prod.js +1 -1
  89. package/dist/lang/eu.umd.prod.js +1 -1
  90. package/dist/lang/fa-IR.umd.prod.js +1 -1
  91. package/dist/lang/fa.umd.prod.js +1 -1
  92. package/dist/lang/fi.umd.prod.js +1 -1
  93. package/dist/lang/fr.umd.prod.js +1 -1
  94. package/dist/lang/gn.umd.prod.js +1 -1
  95. package/dist/lang/he.umd.prod.js +1 -1
  96. package/dist/lang/hr.umd.prod.js +1 -1
  97. package/dist/lang/hu.umd.prod.js +1 -1
  98. package/dist/lang/id.umd.prod.js +1 -1
  99. package/dist/lang/is.umd.prod.js +1 -1
  100. package/dist/lang/it.umd.prod.js +1 -1
  101. package/dist/lang/ja.umd.prod.js +1 -1
  102. package/dist/lang/km.umd.prod.js +1 -1
  103. package/dist/lang/ko-KR.umd.prod.js +1 -1
  104. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  105. package/dist/lang/kz.umd.prod.js +1 -1
  106. package/dist/lang/lt.umd.prod.js +1 -1
  107. package/dist/lang/lu.umd.prod.js +1 -1
  108. package/dist/lang/lv.umd.prod.js +1 -1
  109. package/dist/lang/ml.umd.prod.js +1 -1
  110. package/dist/lang/mm.umd.prod.js +6 -0
  111. package/dist/lang/ms.umd.prod.js +1 -1
  112. package/dist/lang/my.umd.prod.js +1 -1
  113. package/dist/lang/nb-NO.umd.prod.js +1 -1
  114. package/dist/lang/nl.umd.prod.js +1 -1
  115. package/dist/lang/pl.umd.prod.js +1 -1
  116. package/dist/lang/pt-BR.umd.prod.js +1 -1
  117. package/dist/lang/pt.umd.prod.js +1 -1
  118. package/dist/lang/ro.umd.prod.js +1 -1
  119. package/dist/lang/ru.umd.prod.js +1 -1
  120. package/dist/lang/sk.umd.prod.js +1 -1
  121. package/dist/lang/sl.umd.prod.js +1 -1
  122. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  123. package/dist/lang/sr.umd.prod.js +1 -1
  124. package/dist/lang/sv.umd.prod.js +1 -1
  125. package/dist/lang/ta.umd.prod.js +1 -1
  126. package/dist/lang/th.umd.prod.js +1 -1
  127. package/dist/lang/tr.umd.prod.js +1 -1
  128. package/dist/lang/ug.umd.prod.js +1 -1
  129. package/dist/lang/uk.umd.prod.js +1 -1
  130. package/dist/lang/vi.umd.prod.js +1 -1
  131. package/dist/lang/zh-CN.umd.prod.js +1 -1
  132. package/dist/lang/zh-TW.umd.prod.js +1 -1
  133. package/dist/quasar.addon.rtl.css +251 -0
  134. package/dist/quasar.cjs.prod.js +2 -2
  135. package/dist/quasar.css +11 -10
  136. package/dist/quasar.esm.prod.js +2 -2
  137. package/dist/quasar.prod.css +1 -1
  138. package/dist/quasar.rtl.css +1237 -16
  139. package/dist/quasar.rtl.prod.css +1 -1
  140. package/dist/quasar.sass +11 -10
  141. package/dist/quasar.umd.js +223 -135
  142. package/dist/quasar.umd.prod.js +2 -2
  143. package/dist/types/api/quploader.d.ts +7 -7
  144. package/dist/types/api/validation.d.ts +1 -1
  145. package/dist/types/extras/icon-set.d.ts +6 -0
  146. package/dist/types/index.d.ts +298 -255
  147. package/dist/types/utils/dom.d.ts +1 -1
  148. package/dist/types/utils.d.ts +11 -0
  149. package/dist/vetur/quasar-attributes.json +16 -0
  150. package/dist/vetur/quasar-tags.json +5 -1
  151. package/dist/web-types/web-types.json +48 -8
  152. package/icon-set/material-symbols-outlined.js +133 -0
  153. package/icon-set/material-symbols-outlined.mjs +128 -0
  154. package/icon-set/material-symbols-rounded.js +133 -0
  155. package/icon-set/material-symbols-rounded.mjs +128 -0
  156. package/icon-set/material-symbols-sharp.js +133 -0
  157. package/icon-set/material-symbols-sharp.mjs +128 -0
  158. package/icon-set/svg-material-symbols-outlined.js +201 -0
  159. package/icon-set/svg-material-symbols-outlined.mjs +201 -0
  160. package/icon-set/svg-material-symbols-rounded.js +201 -0
  161. package/icon-set/svg-material-symbols-rounded.mjs +201 -0
  162. package/icon-set/svg-material-symbols-sharp.js +201 -0
  163. package/icon-set/svg-material-symbols-sharp.mjs +201 -0
  164. package/lang/es.js +1 -1
  165. package/lang/es.mjs +1 -1
  166. package/lang/index.json +4 -0
  167. package/lang/mm.js +96 -0
  168. package/lang/mm.mjs +91 -0
  169. package/package.json +9 -11
  170. package/src/api.extends.json +1 -0
  171. package/src/components/avatar/__tests__/QAvatar.spec.js +1 -1
  172. package/src/components/badge/QBadge.js +2 -2
  173. package/src/components/badge/__tests__/QBadge.spec.js +1 -1
  174. package/src/components/btn/QBtn.js +2 -2
  175. package/src/components/btn/use-btn.json +1 -1
  176. package/src/components/checkbox/use-checkbox.js +8 -7
  177. package/src/components/dialog/QDialog.js +4 -4
  178. package/src/components/dialog/QDialog.sass +2 -2
  179. package/src/components/editor/QEditor.js +21 -29
  180. package/src/components/icon/QIcon.js +25 -2
  181. package/src/components/icon/QIcon.sass +4 -1
  182. package/src/components/img/QImg.js +5 -0
  183. package/src/components/img/QImg.json +19 -1
  184. package/src/components/infinite-scroll/QInfiniteScroll.js +10 -10
  185. package/src/components/input/QInput.js +6 -1
  186. package/src/components/item/QItem.js +5 -2
  187. package/src/components/item/QItem.json +2 -1
  188. package/src/components/layout/QLayout.js +2 -1
  189. package/src/components/menu/QMenu.js +2 -1
  190. package/src/components/radio/QRadio.js +2 -2
  191. package/src/components/select/QSelect.js +2 -2
  192. package/src/components/slider/use-slider.js +1 -1
  193. package/src/components/table/QTable.js +1 -1
  194. package/src/components/table/QTable.json +3 -0
  195. package/src/components/tabs/QTabs.sass +0 -6
  196. package/src/components/tooltip/QTooltip.js +2 -1
  197. package/src/components/tree/QTree.sass +1 -1
  198. package/src/components/uploader/uploader-core.js +22 -18
  199. package/src/components/video/QVideo.js +17 -1
  200. package/src/components/video/QVideo.json +36 -0
  201. package/src/components/virtual-scroll/QVirtualScroll.sass +4 -1
  202. package/src/components/virtual-scroll/use-virtual-scroll.js +21 -23
  203. package/src/composables/private/__tests__/use-model-toggle.spec.js +2 -2
  204. package/src/composables/private/__tests__/use-size.spec.js +2 -2
  205. package/src/composables/private/__tests__/use-validate.spec.js +1 -1
  206. package/src/composables/private/use-field.js +1 -0
  207. package/src/composables/private/use-key-composition.js +15 -8
  208. package/src/composables/private/use-portal.js +15 -2
  209. package/src/composables/private/use-router-link.json +1 -1
  210. package/src/history.js +2 -2
  211. package/src/utils/copy-to-clipboard.js +1 -1
  212. package/src/utils/patterns.js +8 -0
  213. package/src/utils/private/date-persian.js +0 -9
  214. package/src/utils/private/global-dialog.js +22 -10
  215. package/src/utils/private/position-engine.js +0 -5
  216. package/src/utils/private/sort.js +0 -11
  217. package/src/utils/private/web-storage.js +1 -1
  218. package/src/utils/uid.js +1 -1
@@ -413,9 +413,9 @@ export interface LocalStorage {
413
413
  | RegExp
414
414
  | number
415
415
  | boolean
416
- | ((...params: any[]) => any)
416
+ | ((...params: readonly any[]) => any)
417
417
  | any
418
- | any[]
418
+ | readonly any[]
419
419
  | string
420
420
  | null
421
421
  ) => void;
@@ -800,9 +800,9 @@ export interface SessionStorage {
800
800
  | RegExp
801
801
  | number
802
802
  | boolean
803
- | ((...params: any[]) => any)
803
+ | ((...params: readonly any[]) => any)
804
804
  | any
805
- | any[]
805
+ | readonly any[]
806
806
  | string
807
807
  | null
808
808
  ) => void;
@@ -1384,7 +1384,7 @@ export interface QBtnDropdownProps {
1384
1384
  /**
1385
1385
  * An array of two numbers to offset the menu horizontally and vertically in pixels
1386
1386
  */
1387
- menuOffset?: any[] | undefined;
1387
+ menuOffset?: readonly any[] | undefined;
1388
1388
  /**
1389
1389
  * Emitted when showing/hidden state changes; Is also used by v-model
1390
1390
  * @param value New state (showing/hidden)
@@ -1918,11 +1918,11 @@ export interface QCarouselProps {
1918
1918
  /**
1919
1919
  * Equivalent to using Vue's native include prop for <keep-alive>; Values must be valid Vue component names
1920
1920
  */
1921
- keepAliveInclude?: string | any[] | RegExp | undefined;
1921
+ keepAliveInclude?: string | readonly any[] | RegExp | undefined;
1922
1922
  /**
1923
1923
  * Equivalent to using Vue's native exclude prop for <keep-alive>; Values must be valid Vue component names
1924
1924
  */
1925
- keepAliveExclude?: string | any[] | RegExp | undefined;
1925
+ keepAliveExclude?: string | readonly any[] | RegExp | undefined;
1926
1926
  /**
1927
1927
  * Equivalent to using Vue's native max prop for <keep-alive>
1928
1928
  */
@@ -2136,7 +2136,7 @@ export interface QCarouselControlProps {
2136
2136
  * An array of two numbers to offset the component horizontally and vertically (in pixels)
2137
2137
  * Default value: [18, 18]
2138
2138
  */
2139
- offset?: any[] | undefined;
2139
+ offset?: readonly any[] | undefined;
2140
2140
  }
2141
2141
 
2142
2142
  export interface QCarouselControlSlots {
@@ -2202,7 +2202,7 @@ export interface QChatMessageProps {
2202
2202
  /**
2203
2203
  * Array of strings that are the message body. Strings are not sanitized (see details in docs)
2204
2204
  */
2205
- text?: any[] | undefined;
2205
+ text?: readonly any[] | undefined;
2206
2206
  /**
2207
2207
  * Creation timestamp
2208
2208
  */
@@ -2569,7 +2569,7 @@ export interface QColorProps {
2569
2569
  * Use a custom palette of colors for the palette tab
2570
2570
  * Default value: (hard-coded palette)
2571
2571
  */
2572
- palette?: any[] | undefined;
2572
+ palette?: readonly any[] | undefined;
2573
2573
  /**
2574
2574
  * Removes border-radius so borders are squared
2575
2575
  */
@@ -2644,19 +2644,19 @@ export interface QDateProps {
2644
2644
  /**
2645
2645
  * List of full day names (DDDD), starting with Sunday
2646
2646
  */
2647
- days?: any[];
2647
+ days?: readonly any[];
2648
2648
  /**
2649
2649
  * List of short day names (DDD), starting with Sunday
2650
2650
  */
2651
- daysShort?: any[];
2651
+ daysShort?: readonly any[];
2652
2652
  /**
2653
2653
  * List of full month names (MMMM), starting with January
2654
2654
  */
2655
- months?: any[];
2655
+ months?: readonly any[];
2656
2656
  /**
2657
2657
  * List of short month names (MMM), starting with January
2658
2658
  */
2659
- monthsShort?: any[];
2659
+ monthsShort?: readonly any[];
2660
2660
  }
2661
2661
  | undefined;
2662
2662
  /**
@@ -2726,7 +2726,7 @@ export interface QDateProps {
2726
2726
  * @param date The current date being processed.
2727
2727
  * @returns If true, the current date will be highlighted
2728
2728
  */
2729
- events?: any[] | ((date: string) => boolean) | undefined;
2729
+ events?: readonly any[] | ((date: string) => boolean) | undefined;
2730
2730
  /**
2731
2731
  * Color name (from the Quasar Color Palette); If using a function, it receives the date as a String and must return a String (color for the received date); If using a function then for best performance, reference it from your scope and do not define it inline
2732
2732
  * @param date The current date being processed.
@@ -2738,7 +2738,7 @@ export interface QDateProps {
2738
2738
  * @param date The current date being processed.
2739
2739
  * @returns If true, the current date will be made available for selection
2740
2740
  */
2741
- options?: any[] | ((date: string) => boolean) | undefined;
2741
+ options?: readonly any[] | ((date: string) => boolean) | undefined;
2742
2742
  /**
2743
2743
  * Lock user from navigating below a specific year+month (in YYYY/MM format); This prop is not used to correct the model; You might want to also use 'default-year-month' prop
2744
2744
  */
@@ -2783,7 +2783,7 @@ export interface QDateProps {
2783
2783
  * @param details Object of properties on the new model
2784
2784
  */
2785
2785
  "onUpdate:modelValue"?: (
2786
- value: string | any[] | any | null,
2786
+ value: string | readonly any[] | any | null,
2787
2787
  reason:
2788
2788
  | "add-day"
2789
2789
  | "remove-day"
@@ -3401,7 +3401,7 @@ export interface QEditorProps {
3401
3401
  * An array of arrays of Objects/Strings that you use to define the construction of the elements and commands available in the toolbar
3402
3402
  * Default value: left,center,right,justify,bold,italic,underline,strike,undo,redo
3403
3403
  */
3404
- toolbar?: any[] | undefined;
3404
+ toolbar?: readonly any[] | undefined;
3405
3405
  /**
3406
3406
  * Font color (from the Quasar Palette) of buttons and text in the toolbar
3407
3407
  */
@@ -4305,7 +4305,7 @@ export interface QFileProps {
4305
4305
  * @param files Candidate files to be added to queue
4306
4306
  * @returns Filtered files to be added to queue
4307
4307
  */
4308
- filter?: ((files: FileList | any[]) => any[]) | undefined;
4308
+ filter?: ((files: FileList | readonly any[]) => readonly any[]) | undefined;
4309
4309
  /**
4310
4310
  * 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
4311
4311
  */
@@ -4579,7 +4579,7 @@ export interface QFileSlots {
4579
4579
  /**
4580
4580
  * Array of File objects
4581
4581
  */
4582
- files: FileList | any[];
4582
+ files: FileList | readonly any[];
4583
4583
  /**
4584
4584
  * Reference to the QFile component
4585
4585
  */
@@ -4597,7 +4597,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
4597
4597
  * Add files programmatically
4598
4598
  * @param files Array of files (instances of File)
4599
4599
  */
4600
- addFiles: (files: FileList | any[]) => void;
4600
+ addFiles: (files: FileList | readonly any[]) => void;
4601
4601
  /**
4602
4602
  * Reset validation status
4603
4603
  */
@@ -4745,7 +4745,7 @@ export interface QForm extends ComponentPublicInstance<QFormProps> {
4745
4745
  * Get array of children vue components that support validation
4746
4746
  * @returns Vue components that support Quasar validation API
4747
4747
  */
4748
- getValidationComponents: () => any[];
4748
+ getValidationComponents: () => readonly any[];
4749
4749
  }
4750
4750
 
4751
4751
  export interface QFormChildMixinProps {}
@@ -4896,7 +4896,21 @@ export interface QImgProps {
4896
4896
  /**
4897
4897
  * Same syntax as <img> referrerpolicy attribute
4898
4898
  */
4899
- referrerpolicy?: string | undefined;
4899
+ referrerpolicy?:
4900
+ | "no-referrer"
4901
+ | "no-referrer-when-downgrade"
4902
+ | "origin"
4903
+ | "origin-when-cross-origin"
4904
+ | "same-origin"
4905
+ | "strict-origin"
4906
+ | "strict-origin-when-cross-origin"
4907
+ | "unsafe-url"
4908
+ | undefined;
4909
+ /**
4910
+ * Provides a hint of the relative priority to use when fetching the image
4911
+ * Default value: auto
4912
+ */
4913
+ fetchpriority?: "high" | "low" | "auto" | undefined;
4900
4914
  /**
4901
4915
  * How the image will fit into the container; Equivalent of the object-fit prop; Can be coordinated with 'position' prop
4902
4916
  * Default value: cover
@@ -5433,7 +5447,7 @@ export interface QIntersectionProps {
5433
5447
  /**
5434
5448
  * [Intersection API threshold prop] Threshold(s) at which to trigger, specified as a ratio, or list of ratios, of (visible area / total area) of the observed element
5435
5449
  */
5436
- threshold?: any[] | number | undefined;
5450
+ threshold?: readonly any[] | number | undefined;
5437
5451
  /**
5438
5452
  * One of Quasar's embedded transitions
5439
5453
  */
@@ -6010,7 +6024,7 @@ export interface QMenuProps {
6010
6024
  /**
6011
6025
  * An array of two numbers to offset the menu horizontally and vertically in pixels
6012
6026
  */
6013
- offset?: any[] | undefined;
6027
+ offset?: readonly any[] | undefined;
6014
6028
  /**
6015
6029
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
6016
6030
  */
@@ -6289,7 +6303,7 @@ export interface QPageScrollerProps {
6289
6303
  * An array of two numbers to offset the component horizontally and vertically in pixels
6290
6304
  * Default value: 18,18
6291
6305
  */
6292
- offset?: any[] | undefined;
6306
+ offset?: readonly any[] | undefined;
6293
6307
  /**
6294
6308
  * By default the component shrinks to content's size; By using this prop you make the component fully expand horizontally or vertically, based on 'position' prop
6295
6309
  */
@@ -6338,7 +6352,7 @@ export interface QPageStickyProps {
6338
6352
  /**
6339
6353
  * An array of two numbers to offset the component horizontally and vertically in pixels
6340
6354
  */
6341
- offset?: any[] | undefined;
6355
+ offset?: readonly any[] | undefined;
6342
6356
  /**
6343
6357
  * By default the component shrinks to content's size; By using this prop you make the component fully expand horizontally or vertically, based on 'position' prop
6344
6358
  */
@@ -6692,7 +6706,7 @@ export interface QPopupEditProps {
6692
6706
  /**
6693
6707
  * An array of two numbers to offset the menu horizontally and vertically in pixels
6694
6708
  */
6695
- offset?: any[] | undefined;
6709
+ offset?: readonly any[] | undefined;
6696
6710
  /**
6697
6711
  * Allows for the target position to be set by the mouse position, when the target of the menu is either clicked or touched
6698
6712
  */
@@ -7312,27 +7326,27 @@ export interface QRatingProps {
7312
7326
  /**
7313
7327
  * Icon name following Quasar convention; make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)
7314
7328
  */
7315
- icon?: string | any[] | undefined;
7329
+ icon?: string | readonly any[] | undefined;
7316
7330
  /**
7317
7331
  * Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)
7318
7332
  */
7319
- iconSelected?: string | any[] | undefined;
7333
+ iconSelected?: string | readonly any[] | undefined;
7320
7334
  /**
7321
7335
  * Icon name following Quasar convention to be used when selected (optional); make sure you have the icon library installed unless you are using 'img:' prefix; If an array is provided each rating value will use the corresponding icon in the array (0 based)
7322
7336
  */
7323
- iconHalf?: string | any[] | undefined;
7337
+ iconHalf?: string | readonly any[] | undefined;
7324
7338
  /**
7325
7339
  * 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)
7326
7340
  */
7327
- color?: string | any[] | undefined;
7341
+ color?: string | readonly any[] | undefined;
7328
7342
  /**
7329
7343
  * Color name from the Quasar Palette for selected icons
7330
7344
  */
7331
- colorSelected?: string | any[] | undefined;
7345
+ colorSelected?: string | readonly any[] | undefined;
7332
7346
  /**
7333
7347
  * Color name from the Quasar Palette for half selected icons
7334
7348
  */
7335
- colorHalf?: string | any[] | undefined;
7349
+ colorHalf?: string | readonly any[] | undefined;
7336
7350
  /**
7337
7351
  * Does not lower opacity for unselected icons
7338
7352
  */
@@ -7899,7 +7913,7 @@ export interface QSelectProps {
7899
7913
  * Available options that the user can select from. For best performance freeze the list of options.
7900
7914
  * Default value: []
7901
7915
  */
7902
- options?: any[] | undefined;
7916
+ options?: readonly any[] | undefined;
7903
7917
  /**
7904
7918
  * Property of option which holds the 'value'; If using a function then for best performance, reference it from your scope and do not define it inline
7905
7919
  * Default value: value
@@ -8004,7 +8018,7 @@ export interface QSelectProps {
8004
8018
  /**
8005
8019
  * An array of two numbers to offset the options list horizontally and vertically in pixels (only in menu mode)
8006
8020
  */
8007
- menuOffset?: any[] | undefined;
8021
+ menuOffset?: readonly any[] | undefined;
8008
8022
  /**
8009
8023
  * Class definitions to be attributed to the popup content
8010
8024
  */
@@ -9343,7 +9357,7 @@ export interface QSplitterProps {
9343
9357
  * An array of two values representing the minimum and maximum split size of the two panels; When 'px' unit is set then you can use Infinity as the second value to make it unbound on the other side
9344
9358
  * Default value: For '%' unit: [10, 90]; For 'px' unit: [50, Infinity]
9345
9359
  */
9346
- limits?: any[] | undefined;
9360
+ limits?: readonly any[] | undefined;
9347
9361
  /**
9348
9362
  * Put component in disabled mode
9349
9363
  */
@@ -9485,11 +9499,11 @@ export interface QStepperProps {
9485
9499
  /**
9486
9500
  * Equivalent to using Vue's native include prop for <keep-alive>; Values must be valid Vue component names
9487
9501
  */
9488
- keepAliveInclude?: string | any[] | RegExp | undefined;
9502
+ keepAliveInclude?: string | readonly any[] | RegExp | undefined;
9489
9503
  /**
9490
9504
  * Equivalent to using Vue's native exclude prop for <keep-alive>; Values must be valid Vue component names
9491
9505
  */
9492
- keepAliveExclude?: string | any[] | RegExp | undefined;
9506
+ keepAliveExclude?: string | readonly any[] | RegExp | undefined;
9493
9507
  /**
9494
9508
  * Equivalent to using Vue's native max prop for <keep-alive>
9495
9509
  */
@@ -9686,11 +9700,11 @@ export interface QTabPanelsProps {
9686
9700
  /**
9687
9701
  * Equivalent to using Vue's native include prop for <keep-alive>; Values must be valid Vue component names
9688
9702
  */
9689
- keepAliveInclude?: string | any[] | RegExp | undefined;
9703
+ keepAliveInclude?: string | readonly any[] | RegExp | undefined;
9690
9704
  /**
9691
9705
  * Equivalent to using Vue's native exclude prop for <keep-alive>; Values must be valid Vue component names
9692
9706
  */
9693
- keepAliveExclude?: string | any[] | RegExp | undefined;
9707
+ keepAliveExclude?: string | readonly any[] | RegExp | undefined;
9694
9708
  /**
9695
9709
  * Equivalent to using Vue's native max prop for <keep-alive>
9696
9710
  */
@@ -9783,7 +9797,7 @@ export interface QTableProps {
9783
9797
  /**
9784
9798
  * Rows of data to display
9785
9799
  */
9786
- rows?: any[] | undefined;
9800
+ rows?: readonly any[] | undefined;
9787
9801
  /**
9788
9802
  * Property of each row that defines the unique key of each row (the result must be a primitive, not Object, Array, etc); The value of property must be string or a function taking a row and returning the desired (nested) key in the row; If supplying a function then for best performance, reference it from your scope and do not define it inline
9789
9803
  * Default value: id
@@ -9942,7 +9956,7 @@ export interface QTableProps {
9942
9956
  /**
9943
9957
  * Array of Strings defining column names ('name' property of each column from 'columns' prop definitions); Columns marked as 'required' are not affected by this property
9944
9958
  */
9945
- visibleColumns?: any[] | undefined;
9959
+ visibleColumns?: readonly any[] | undefined;
9946
9960
  /**
9947
9961
  * Put Table into 'loading' state; Notify the user something is happening behind the scenes
9948
9962
  */
@@ -10092,11 +10106,11 @@ export interface QTableProps {
10092
10106
  */
10093
10107
  filterMethod?:
10094
10108
  | ((
10095
- rows: any[],
10109
+ rows: readonly any[],
10096
10110
  terms: string | any,
10097
- cols: any[],
10111
+ cols: readonly any[],
10098
10112
  getCellValue: (col: any, row: any) => any
10099
- ) => any[])
10113
+ ) => readonly any[])
10100
10114
  | undefined;
10101
10115
  /**
10102
10116
  * Pagination object; You can also use the 'v-model:pagination' for synching; When not synching it simply initializes the pagination on first render
@@ -10129,7 +10143,7 @@ export interface QTableProps {
10129
10143
  * Options for user to pick (Numbers); Number 0 means 'Show all rows in one page'
10130
10144
  * Default value: [ 3, 5, 7, 10, 15, 20, 25, 50, 0 ]
10131
10145
  */
10132
- rowsPerPageOptions?: any[] | undefined;
10146
+ rowsPerPageOptions?: readonly any[] | undefined;
10133
10147
  /**
10134
10148
  * Selection type
10135
10149
  * Default value: none
@@ -10154,7 +10168,11 @@ export interface QTableProps {
10154
10168
  * @returns Sorted rows
10155
10169
  */
10156
10170
  sortMethod?:
10157
- | ((rows: any[], sortBy: string, descending: boolean) => any[])
10171
+ | ((
10172
+ rows: readonly any[],
10173
+ sortBy: string,
10174
+ descending: boolean
10175
+ ) => readonly any[])
10158
10176
  | undefined;
10159
10177
  /**
10160
10178
  * Emitted when user clicks/taps on a row; Is not emitted when using body/row/item scoped slots
@@ -10212,11 +10230,11 @@ export interface QTableProps {
10212
10230
  * @returns Filtered rows
10213
10231
  */
10214
10232
  filter: (
10215
- rows: any[],
10233
+ rows: readonly any[],
10216
10234
  terms: string | any,
10217
- cols?: any[],
10235
+ cols?: readonly any[],
10218
10236
  getCellValue?: (col: any, row: any) => any
10219
- ) => any[];
10237
+ ) => readonly any[];
10220
10238
  /**
10221
10239
  * Function to get a cell value
10222
10240
  * @param col Column name from column definitions
@@ -10233,11 +10251,11 @@ export interface QTableProps {
10233
10251
  /**
10234
10252
  * Array of row objects that were selected/unselected
10235
10253
  */
10236
- rows: any[];
10254
+ rows: readonly any[];
10237
10255
  /**
10238
10256
  * Array of the keys of rows that were selected/unselected
10239
10257
  */
10240
- keys: any[];
10258
+ keys: readonly any[];
10241
10259
  /**
10242
10260
  * Were the rows added to selection (true) or removed from selection (false)
10243
10261
  */
@@ -10277,12 +10295,12 @@ export interface QTableProps {
10277
10295
  * Used by Vue on 'v-model:selected' prop for updating its value
10278
10296
  * @param newSelected The updated selected array
10279
10297
  */
10280
- "onUpdate:selected"?: (newSelected: any[]) => void;
10298
+ "onUpdate:selected"?: (newSelected: readonly any[]) => void;
10281
10299
  /**
10282
10300
  * Used by Vue on 'v-model:expanded' prop for updating its value
10283
10301
  * @param newExpanded The updated expanded array
10284
10302
  */
10285
- "onUpdate:expanded"?: (newExpanded: any[]) => void;
10303
+ "onUpdate:expanded"?: (newExpanded: readonly any[]) => void;
10286
10304
  /**
10287
10305
  * Emitted when the virtual scroll occurs, if using virtual scroll
10288
10306
  * @param details Object of properties on the new scroll position
@@ -11241,11 +11259,11 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
11241
11259
  * @returns Filtered rows
11242
11260
  */
11243
11261
  filter?: (
11244
- rows: any[],
11262
+ rows: readonly any[],
11245
11263
  terms: string | any,
11246
- cols?: any[],
11264
+ cols?: readonly any[],
11247
11265
  getCellValue?: (col?: any, row?: any) => any
11248
- ) => any[];
11266
+ ) => readonly any[];
11249
11267
  }) => void;
11250
11268
  /**
11251
11269
  * Unless using an external pagination Object (through 'v-model:pagination' prop), you can use this method and force the internal pagination to change
@@ -11309,7 +11327,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
11309
11327
  * Sets the expanded rows keys array; Especially useful if not using an external 'expanded' state otherwise just emits 'update:expanded' with the value
11310
11328
  * @param expanded Array containing keys of the expanded rows
11311
11329
  */
11312
- setExpanded: (expanded: any[]) => void;
11330
+ setExpanded: (expanded: readonly any[]) => void;
11313
11331
  /**
11314
11332
  * Trigger a table sort
11315
11333
  * @param col Column name or column definition object
@@ -11663,19 +11681,19 @@ export interface QTimeProps {
11663
11681
  /**
11664
11682
  * List of full day names (DDDD), starting with Sunday
11665
11683
  */
11666
- days?: any[];
11684
+ days?: readonly any[];
11667
11685
  /**
11668
11686
  * List of short day names (DDD), starting with Sunday
11669
11687
  */
11670
- daysShort?: any[];
11688
+ daysShort?: readonly any[];
11671
11689
  /**
11672
11690
  * List of full month names (MMMM), starting with January
11673
11691
  */
11674
- months?: any[];
11692
+ months?: readonly any[];
11675
11693
  /**
11676
11694
  * List of short month names (MMM), starting with January
11677
11695
  */
11678
- monthsShort?: any[];
11696
+ monthsShort?: readonly any[];
11679
11697
  }
11680
11698
  | undefined;
11681
11699
  /**
@@ -11741,15 +11759,15 @@ export interface QTimeProps {
11741
11759
  /**
11742
11760
  * Optionally configure what hours is the user allowed to set; Overrides 'options' prop if that is also set
11743
11761
  */
11744
- hourOptions?: any[] | undefined;
11762
+ hourOptions?: readonly any[] | undefined;
11745
11763
  /**
11746
11764
  * Optionally configure what minutes is the user allowed to set; Overrides 'options' prop if that is also set
11747
11765
  */
11748
- minuteOptions?: any[] | undefined;
11766
+ minuteOptions?: readonly any[] | undefined;
11749
11767
  /**
11750
11768
  * Optionally configure what seconds is the user allowed to set; Overrides 'options' prop if that is also set
11751
11769
  */
11752
- secondOptions?: any[] | undefined;
11770
+ secondOptions?: readonly any[] | undefined;
11753
11771
  /**
11754
11772
  * Allow the time to be set with seconds
11755
11773
  */
@@ -12125,7 +12143,7 @@ export interface QTooltipProps {
12125
12143
  * An array of two numbers to offset the Tooltip horizontally and vertically in pixels
12126
12144
  * Default value: [14, 14]
12127
12145
  */
12128
- offset?: any[] | undefined;
12146
+ offset?: readonly any[] | undefined;
12129
12147
  /**
12130
12148
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
12131
12149
  */
@@ -12312,7 +12330,7 @@ export interface QTreeProps {
12312
12330
  * Triggered when nodes are expanded or collapsed; Used by Vue on 'v-model:update' to update its value
12313
12331
  * @param expanded The expanded node keys
12314
12332
  */
12315
- "onUpdate:expanded"?: (expanded: any[]) => void;
12333
+ "onUpdate:expanded"?: (expanded: readonly any[]) => void;
12316
12334
  /**
12317
12335
  * Emitted when the lazy loading of nodes is finished
12318
12336
  * @param details Lazy loading details
@@ -12330,7 +12348,7 @@ export interface QTreeProps {
12330
12348
  * The callback to be carried out when the loading is successful
12331
12349
  * @param children Array of nodes
12332
12350
  */
12333
- done: (children?: any[]) => void;
12351
+ done: (children?: readonly any[]) => void;
12334
12352
  /**
12335
12353
  * The callback to be carried out should the loading fails
12336
12354
  */
@@ -12340,7 +12358,7 @@ export interface QTreeProps {
12340
12358
  * Emitted when nodes are ticked/unticked via the checkbox; Used by Vue on 'v-model:ticked' to update its value
12341
12359
  * @param target The ticked node keys
12342
12360
  */
12343
- "onUpdate:ticked"?: (target: any[]) => void;
12361
+ "onUpdate:ticked"?: (target: readonly any[]) => void;
12344
12362
  /**
12345
12363
  * Emitted when selected node changes; Used by Vue on 'v-model:selected' to update its value
12346
12364
  * @param target The selected node key
@@ -12506,12 +12524,12 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
12506
12524
  * Get array of nodes that are ticked
12507
12525
  * @returns Ticked node objects
12508
12526
  */
12509
- getTickedNodes: () => any[];
12527
+ getTickedNodes: () => readonly any[];
12510
12528
  /**
12511
12529
  * Get array of nodes that are expanded
12512
12530
  * @returns Expanded node objects
12513
12531
  */
12514
- getExpandedNodes: () => any[];
12532
+ getExpandedNodes: () => readonly any[];
12515
12533
  /**
12516
12534
  * Determine if a node is expanded
12517
12535
  * @param key The key of a node
@@ -12543,7 +12561,7 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
12543
12561
  * @param keys The keys of nodes to tick/untick
12544
12562
  * @param state Set to 'true' to tick the checkbox of nodes, otherwise 'false' unticks them
12545
12563
  */
12546
- setTicked: (keys: any[], state: boolean) => void;
12564
+ setTicked: (keys: readonly any[], state: boolean) => void;
12547
12565
  }
12548
12566
 
12549
12567
  export interface QUploaderProps {
@@ -12558,14 +12576,14 @@ export interface QUploaderProps {
12558
12576
  * @param files Uploaded files
12559
12577
  * @returns URL or path to the server which handles the upload
12560
12578
  */
12561
- url?: string | ((files: any[]) => string) | undefined;
12579
+ url?: string | ((files: readonly any[]) => string) | undefined;
12562
12580
  /**
12563
12581
  * HTTP method to use for upload; Takes String or factory function which returns a String; Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
12564
12582
  * Default value: POST
12565
12583
  * @param files Uploaded files
12566
12584
  * @returns HTTP method to use for upload
12567
12585
  */
12568
- method?: "POST" | "PUT" | ((files: any[]) => string) | undefined;
12586
+ method?: "POST" | "PUT" | ((files: readonly any[]) => string) | undefined;
12569
12587
  /**
12570
12588
  * Field name for each file upload; This goes into the following header: 'Content-Disposition: form-data; name="__HERE__"; filename="somefile.png"; If using a function then for best performance, reference it from your scope and do not define it inline
12571
12589
  * Default value: (file) => file.name
@@ -12589,7 +12607,7 @@ export interface QUploaderProps {
12589
12607
  */
12590
12608
  value: string;
12591
12609
  }[]
12592
- | ((files: any[]) => string)
12610
+ | ((files: readonly any[]) => string)
12593
12611
  | undefined;
12594
12612
  /**
12595
12613
  * Array or a factory function which returns an array; Array consists of objects with additional fields definitions (used by Form to be uploaded); Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
@@ -12607,26 +12625,26 @@ export interface QUploaderProps {
12607
12625
  */
12608
12626
  value: string;
12609
12627
  }[]
12610
- | ((files: any[]) => string)
12628
+ | ((files: readonly any[]) => string)
12611
12629
  | undefined;
12612
12630
  /**
12613
12631
  * Sets withCredentials to true on the XHR that manages the upload; Takes boolean or factory function for Boolean; Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
12614
12632
  * @param files Uploaded files
12615
12633
  * @returns If true, withCredentials will be set to true on the XHR that manages the upload
12616
12634
  */
12617
- withCredentials?: boolean | ((files: any[]) => boolean) | undefined;
12635
+ withCredentials?: boolean | ((files: readonly any[]) => boolean) | undefined;
12618
12636
  /**
12619
12637
  * Send raw files without wrapping into a Form(); Takes boolean or factory function for Boolean; Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
12620
12638
  * @param files Uploaded files
12621
12639
  * @returns If true, raw files will get sent without wrapping into a Form()
12622
12640
  */
12623
- sendRaw?: boolean | ((files: any[]) => boolean) | undefined;
12641
+ sendRaw?: boolean | ((files: readonly any[]) => boolean) | undefined;
12624
12642
  /**
12625
12643
  * Upload files in batch (in one XHR request); Takes boolean or factory function for Boolean; Function is called right before upload; If using a function then for best performance, reference it from your scope and do not define it inline
12626
12644
  * @param files Uploaded files
12627
12645
  * @returns If true, files will be uploaded in a batch (in one XHR request)
12628
12646
  */
12629
- batch?: boolean | ((files: any[]) => boolean) | undefined;
12647
+ batch?: boolean | ((files: readonly any[]) => boolean) | undefined;
12630
12648
  /**
12631
12649
  * Allow multiple file uploads
12632
12650
  */
@@ -12656,7 +12674,7 @@ export interface QUploaderProps {
12656
12674
  * @param files Candidate files to be added to queue
12657
12675
  * @returns Filtered files to be added to queue
12658
12676
  */
12659
- filter?: ((files: FileList | any[]) => any[]) | undefined;
12677
+ filter?: ((files: FileList | readonly any[]) => readonly any[]) | undefined;
12660
12678
  /**
12661
12679
  * Label for the uploader
12662
12680
  */
@@ -12713,7 +12731,7 @@ export interface QUploaderProps {
12713
12731
  /**
12714
12732
  * Uploaded files
12715
12733
  */
12716
- files: any[];
12734
+ files: readonly any[];
12717
12735
  /**
12718
12736
  * XMLHttpRequest that has been used to upload this batch of files
12719
12737
  */
@@ -12727,7 +12745,7 @@ export interface QUploaderProps {
12727
12745
  /**
12728
12746
  * Files which encountered error
12729
12747
  */
12730
- files: any[];
12748
+ files: readonly any[];
12731
12749
  /**
12732
12750
  * XMLHttpRequest that has been used to upload this batch of files
12733
12751
  */
@@ -12741,7 +12759,7 @@ export interface QUploaderProps {
12741
12759
  /**
12742
12760
  * Files which are now uploading
12743
12761
  */
12744
- files: any[];
12762
+ files: readonly any[];
12745
12763
  /**
12746
12764
  * XMLHttpRequest used for uploading
12747
12765
  */
@@ -12752,7 +12770,7 @@ export interface QUploaderProps {
12752
12770
  * @param err Error object which is the Promise rejection reason
12753
12771
  * @param files Files which were to get uploaded
12754
12772
  */
12755
- onFactoryFailed?: (err: Error, files: any[]) => void;
12773
+ onFactoryFailed?: (err: Error, files: readonly any[]) => void;
12756
12774
  /**
12757
12775
  * Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
12758
12776
  * @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
@@ -12762,12 +12780,12 @@ export interface QUploaderProps {
12762
12780
  * Emitted when files are added into the list
12763
12781
  * @param files Array of files that were added
12764
12782
  */
12765
- onAdded?: (files: any[]) => void;
12783
+ onAdded?: (files: readonly any[]) => void;
12766
12784
  /**
12767
12785
  * Emitted when files are removed from the list
12768
12786
  * @param files Array of files that were removed
12769
12787
  */
12770
- onRemoved?: (files: any[]) => void;
12788
+ onRemoved?: (files: readonly any[]) => void;
12771
12789
  /**
12772
12790
  * Started working
12773
12791
  */
@@ -12801,7 +12819,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
12801
12819
  * Add files programmatically
12802
12820
  * @param files Array of files (instances of File)
12803
12821
  */
12804
- addFiles: (files: FileList | any[]) => void;
12822
+ addFiles: (files: FileList | readonly any[]) => void;
12805
12823
  /**
12806
12824
  * Start uploading (same as clicking the upload button)
12807
12825
  */
@@ -12849,6 +12867,30 @@ export interface QVideoProps {
12849
12867
  * (Accessibility) Set the native 'title' attribute value of the inner iframe being used
12850
12868
  */
12851
12869
  title?: string | undefined;
12870
+ /**
12871
+ * Provides a hint of the relative priority to use when fetching the iframe document
12872
+ * Default value: auto
12873
+ */
12874
+ fetchpriority?: "high" | "low" | "auto" | undefined;
12875
+ /**
12876
+ * Indicates how the browser should load the iframe
12877
+ * Default value: eager
12878
+ */
12879
+ loading?: "eager" | "lazy" | undefined;
12880
+ /**
12881
+ * Indicates which referrer to send when fetching the frame's resource
12882
+ * Default value: strict-origin-when-cross-origin
12883
+ */
12884
+ referrerpolicy?:
12885
+ | "no-referrer"
12886
+ | "no-referrer-when-downgrade"
12887
+ | "origin"
12888
+ | "origin-when-cross-origin"
12889
+ | "same-origin"
12890
+ | "strict-origin"
12891
+ | "strict-origin-when-cross-origin"
12892
+ | "unsafe-url"
12893
+ | undefined;
12852
12894
  }
12853
12895
 
12854
12896
  export interface QVideoSlots {}
@@ -12903,7 +12945,7 @@ export interface QVirtualScrollProps {
12903
12945
  * Available list items that will be passed to the scoped slot; For best performance freeze the list of items; Required if 'itemsFn' is not supplied
12904
12946
  * Default value: []
12905
12947
  */
12906
- items?: any[] | undefined;
12948
+ items?: readonly any[] | undefined;
12907
12949
  /**
12908
12950
  * Number of available items in the list; Required and used only if 'itemsFn' is provided
12909
12951
  * Default value: void 0
@@ -12915,7 +12957,7 @@ export interface QVirtualScrollProps {
12915
12957
  * @param size Number of items to return
12916
12958
  * @returns List of scope for items to be displayed
12917
12959
  */
12918
- itemsFn?: ((from: number, size: number) => any[]) | undefined;
12960
+ itemsFn?: ((from: number, size: number) => readonly any[]) | undefined;
12919
12961
  /**
12920
12962
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
12921
12963
  */
@@ -13137,7 +13179,7 @@ export interface QDialogOptions {
13137
13179
  /**
13138
13180
  * The value of the selection (String if it's of type radio or Array otherwise)
13139
13181
  */
13140
- model: string | any[];
13182
+ model: string | readonly any[];
13141
13183
  /**
13142
13184
  * The type of selection
13143
13185
  * Default value: radio
@@ -13146,13 +13188,13 @@ export interface QDialogOptions {
13146
13188
  /**
13147
13189
  * The list of options to interact with; Equivalent to options prop of the QOptionsGroup component
13148
13190
  */
13149
- items?: any[];
13191
+ items?: readonly any[];
13150
13192
  /**
13151
13193
  * Is the model valid?
13152
13194
  * @param model The current model (String if it's of type radio or Array otherwise)
13153
13195
  * @returns The selection passed validation or not
13154
13196
  */
13155
- isValid?: (model: string | any[]) => boolean;
13197
+ isValid?: (model: string | readonly any[]) => boolean;
13156
13198
  };
13157
13199
  /**
13158
13200
  * Display a Quasar spinner (if value is true, then the defaults are used); Useful for conveying the idea that something is happening behind the covers; Tip: use along with persistent, ok: false and update() method
@@ -13794,168 +13836,6 @@ declare module "@vue/runtime-core" {
13794
13836
  }
13795
13837
  }
13796
13838
 
13797
- import { GlobalQuasarLanguage, GlobalQuasarIconSet } from "./globals";
13798
- export interface QuasarPluginOptions {
13799
- lang: GlobalQuasarLanguage;
13800
- config: any;
13801
- iconSet: GlobalQuasarIconSet;
13802
- components: {
13803
- QAjaxBar?: ComponentConstructor<QAjaxBar>;
13804
- QAvatar?: ComponentConstructor<QAvatar>;
13805
- QBadge?: ComponentConstructor<QBadge>;
13806
- QBanner?: ComponentConstructor<QBanner>;
13807
- QBar?: ComponentConstructor<QBar>;
13808
- QBreadcrumbs?: ComponentConstructor<QBreadcrumbs>;
13809
- QBreadcrumbsEl?: ComponentConstructor<QBreadcrumbsEl>;
13810
- QBtnDropdown?: ComponentConstructor<QBtnDropdown>;
13811
- QBtnGroup?: ComponentConstructor<QBtnGroup>;
13812
- QBtnToggle?: ComponentConstructor<QBtnToggle>;
13813
- QBtn?: ComponentConstructor<QBtn>;
13814
- QCard?: ComponentConstructor<QCard>;
13815
- QCardActions?: ComponentConstructor<QCardActions>;
13816
- QCardSection?: ComponentConstructor<QCardSection>;
13817
- QCarousel?: ComponentConstructor<QCarousel>;
13818
- QCarouselControl?: ComponentConstructor<QCarouselControl>;
13819
- QCarouselSlide?: ComponentConstructor<QCarouselSlide>;
13820
- QChatMessage?: ComponentConstructor<QChatMessage>;
13821
- QCheckbox?: ComponentConstructor<QCheckbox>;
13822
- QChip?: ComponentConstructor<QChip>;
13823
- QCircularProgress?: ComponentConstructor<QCircularProgress>;
13824
- QColor?: ComponentConstructor<QColor>;
13825
- QDate?: ComponentConstructor<QDate>;
13826
- QDialog?: ComponentConstructor<QDialog>;
13827
- QDrawer?: ComponentConstructor<QDrawer>;
13828
- QEditor?: ComponentConstructor<QEditor>;
13829
- QExpansionItem?: ComponentConstructor<QExpansionItem>;
13830
- QFab?: ComponentConstructor<QFab>;
13831
- QFabAction?: ComponentConstructor<QFabAction>;
13832
- QField?: ComponentConstructor<QField>;
13833
- QFile?: ComponentConstructor<QFile>;
13834
- QFooter?: ComponentConstructor<QFooter>;
13835
- QForm?: ComponentConstructor<QForm>;
13836
- QFormChildMixin?: ComponentConstructor<QFormChildMixin>;
13837
- QHeader?: ComponentConstructor<QHeader>;
13838
- QIcon?: ComponentConstructor<QIcon>;
13839
- QImg?: ComponentConstructor<QImg>;
13840
- QInfiniteScroll?: ComponentConstructor<QInfiniteScroll>;
13841
- QInnerLoading?: ComponentConstructor<QInnerLoading>;
13842
- QInput?: ComponentConstructor<QInput>;
13843
- QIntersection?: ComponentConstructor<QIntersection>;
13844
- QItem?: ComponentConstructor<QItem>;
13845
- QItemLabel?: ComponentConstructor<QItemLabel>;
13846
- QItemSection?: ComponentConstructor<QItemSection>;
13847
- QList?: ComponentConstructor<QList>;
13848
- QKnob?: ComponentConstructor<QKnob>;
13849
- QLayout?: ComponentConstructor<QLayout>;
13850
- QLinearProgress?: ComponentConstructor<QLinearProgress>;
13851
- QMarkupTable?: ComponentConstructor<QMarkupTable>;
13852
- QMenu?: ComponentConstructor<QMenu>;
13853
- QNoSsr?: ComponentConstructor<QNoSsr>;
13854
- QOptionGroup?: ComponentConstructor<QOptionGroup>;
13855
- QPageScroller?: ComponentConstructor<QPageScroller>;
13856
- QPageSticky?: ComponentConstructor<QPageSticky>;
13857
- QPage?: ComponentConstructor<QPage>;
13858
- QPageContainer?: ComponentConstructor<QPageContainer>;
13859
- QPagination?: ComponentConstructor<QPagination>;
13860
- QParallax?: ComponentConstructor<QParallax>;
13861
- QPopupEdit?: ComponentConstructor<QPopupEdit>;
13862
- QPopupProxy?: ComponentConstructor<QPopupProxy>;
13863
- QPullToRefresh?: ComponentConstructor<QPullToRefresh>;
13864
- QRadio?: ComponentConstructor<QRadio>;
13865
- QRange?: ComponentConstructor<QRange>;
13866
- QRating?: ComponentConstructor<QRating>;
13867
- QResizeObserver?: ComponentConstructor<QResizeObserver>;
13868
- QResponsive?: ComponentConstructor<QResponsive>;
13869
- QScrollArea?: ComponentConstructor<QScrollArea>;
13870
- QScrollObserver?: ComponentConstructor<QScrollObserver>;
13871
- QSelect?: ComponentConstructor<QSelect>;
13872
- QSeparator?: ComponentConstructor<QSeparator>;
13873
- QSkeleton?: ComponentConstructor<QSkeleton>;
13874
- QSlideItem?: ComponentConstructor<QSlideItem>;
13875
- QSlideTransition?: ComponentConstructor<QSlideTransition>;
13876
- QSlider?: ComponentConstructor<QSlider>;
13877
- QSpace?: ComponentConstructor<QSpace>;
13878
- QSpinner?: ComponentConstructor<QSpinner>;
13879
- QSpinnerAudio?: ComponentConstructor<QSpinnerAudio>;
13880
- QSpinnerBall?: ComponentConstructor<QSpinnerBall>;
13881
- QSpinnerBars?: ComponentConstructor<QSpinnerBars>;
13882
- QSpinnerBox?: ComponentConstructor<QSpinnerBox>;
13883
- QSpinnerClock?: ComponentConstructor<QSpinnerClock>;
13884
- QSpinnerComment?: ComponentConstructor<QSpinnerComment>;
13885
- QSpinnerCube?: ComponentConstructor<QSpinnerCube>;
13886
- QSpinnerDots?: ComponentConstructor<QSpinnerDots>;
13887
- QSpinnerFacebook?: ComponentConstructor<QSpinnerFacebook>;
13888
- QSpinnerGears?: ComponentConstructor<QSpinnerGears>;
13889
- QSpinnerGrid?: ComponentConstructor<QSpinnerGrid>;
13890
- QSpinnerHearts?: ComponentConstructor<QSpinnerHearts>;
13891
- QSpinnerHourglass?: ComponentConstructor<QSpinnerHourglass>;
13892
- QSpinnerInfinity?: ComponentConstructor<QSpinnerInfinity>;
13893
- QSpinnerIos?: ComponentConstructor<QSpinnerIos>;
13894
- QSpinnerOrbit?: ComponentConstructor<QSpinnerOrbit>;
13895
- QSpinnerOval?: ComponentConstructor<QSpinnerOval>;
13896
- QSpinnerPie?: ComponentConstructor<QSpinnerPie>;
13897
- QSpinnerPuff?: ComponentConstructor<QSpinnerPuff>;
13898
- QSpinnerRadio?: ComponentConstructor<QSpinnerRadio>;
13899
- QSpinnerRings?: ComponentConstructor<QSpinnerRings>;
13900
- QSpinnerTail?: ComponentConstructor<QSpinnerTail>;
13901
- QSplitter?: ComponentConstructor<QSplitter>;
13902
- QStep?: ComponentConstructor<QStep>;
13903
- QStepper?: ComponentConstructor<QStepper>;
13904
- QStepperNavigation?: ComponentConstructor<QStepperNavigation>;
13905
- QTabPanel?: ComponentConstructor<QTabPanel>;
13906
- QTabPanels?: ComponentConstructor<QTabPanels>;
13907
- QTable?: ComponentConstructor<QTable>;
13908
- QTd?: ComponentConstructor<QTd>;
13909
- QTh?: ComponentConstructor<QTh>;
13910
- QTr?: ComponentConstructor<QTr>;
13911
- QRouteTab?: ComponentConstructor<QRouteTab>;
13912
- QTab?: ComponentConstructor<QTab>;
13913
- QTabs?: ComponentConstructor<QTabs>;
13914
- QTime?: ComponentConstructor<QTime>;
13915
- QTimeline?: ComponentConstructor<QTimeline>;
13916
- QTimelineEntry?: ComponentConstructor<QTimelineEntry>;
13917
- QToggle?: ComponentConstructor<QToggle>;
13918
- QToolbar?: ComponentConstructor<QToolbar>;
13919
- QToolbarTitle?: ComponentConstructor<QToolbarTitle>;
13920
- QTooltip?: ComponentConstructor<QTooltip>;
13921
- QTree?: ComponentConstructor<QTree>;
13922
- QUploader?: ComponentConstructor<QUploader>;
13923
- QUploaderAddTrigger?: ComponentConstructor<QUploaderAddTrigger>;
13924
- QVideo?: ComponentConstructor<QVideo>;
13925
- QVirtualScroll?: ComponentConstructor<QVirtualScroll>;
13926
- };
13927
- directives: {
13928
- ClosePopup?: ClosePopup;
13929
- Intersection?: Intersection;
13930
- Morph?: Morph;
13931
- Mutation?: Mutation;
13932
- Ripple?: Ripple;
13933
- Scroll?: Scroll;
13934
- ScrollFire?: ScrollFire;
13935
- TouchHold?: TouchHold;
13936
- TouchPan?: TouchPan;
13937
- TouchRepeat?: TouchRepeat;
13938
- TouchSwipe?: TouchSwipe;
13939
- };
13940
- plugins: {
13941
- AddressbarColor?: AddressbarColor;
13942
- AppFullscreen?: AppFullscreen;
13943
- AppVisibility?: AppVisibility;
13944
- BottomSheet?: BottomSheet;
13945
- Cookies?: Cookies;
13946
- Dark?: Dark;
13947
- Dialog?: Dialog;
13948
- Loading?: Loading;
13949
- LoadingBar?: LoadingBar;
13950
- LocalStorage?: LocalStorage;
13951
- Meta?: Meta;
13952
- Notify?: Notify;
13953
- Platform?: Platform;
13954
- Screen?: Screen;
13955
- SessionStorage?: SessionStorage;
13956
- };
13957
- }
13958
-
13959
13839
  import "./lang";
13960
13840
  declare module "./lang" {
13961
13841
  export interface QuasarLanguageCodesHolder {
@@ -13995,6 +13875,7 @@ declare module "./lang" {
13995
13875
  lu: true;
13996
13876
  lv: true;
13997
13877
  ml: true;
13878
+ mm: true;
13998
13879
  ms: true;
13999
13880
  my: true;
14000
13881
  "nb-NO": true;
@@ -14028,6 +13909,7 @@ export * from "./globals";
14028
13909
  export * from "./extras";
14029
13910
  export * from "./lang";
14030
13911
  export * from "./api";
13912
+ export * from "./plugin";
14031
13913
 
14032
13914
  export const AddressbarColor: AddressbarColor;
14033
13915
  export const AppFullscreen: AppFullscreen;
@@ -14179,6 +14061,167 @@ export const QUploaderAddTrigger: ComponentConstructor<QUploaderAddTrigger>;
14179
14061
  export const QVideo: ComponentConstructor<QVideo>;
14180
14062
  export const QVirtualScroll: ComponentConstructor<QVirtualScroll>;
14181
14063
 
14064
+ declare module "./plugin" {
14065
+ interface QuasarComponents {
14066
+ QAjaxBar?: ComponentConstructor<QAjaxBar>;
14067
+ QAvatar?: ComponentConstructor<QAvatar>;
14068
+ QBadge?: ComponentConstructor<QBadge>;
14069
+ QBanner?: ComponentConstructor<QBanner>;
14070
+ QBar?: ComponentConstructor<QBar>;
14071
+ QBreadcrumbs?: ComponentConstructor<QBreadcrumbs>;
14072
+ QBreadcrumbsEl?: ComponentConstructor<QBreadcrumbsEl>;
14073
+ QBtnDropdown?: ComponentConstructor<QBtnDropdown>;
14074
+ QBtnGroup?: ComponentConstructor<QBtnGroup>;
14075
+ QBtnToggle?: ComponentConstructor<QBtnToggle>;
14076
+ QBtn?: ComponentConstructor<QBtn>;
14077
+ QCard?: ComponentConstructor<QCard>;
14078
+ QCardActions?: ComponentConstructor<QCardActions>;
14079
+ QCardSection?: ComponentConstructor<QCardSection>;
14080
+ QCarousel?: ComponentConstructor<QCarousel>;
14081
+ QCarouselControl?: ComponentConstructor<QCarouselControl>;
14082
+ QCarouselSlide?: ComponentConstructor<QCarouselSlide>;
14083
+ QChatMessage?: ComponentConstructor<QChatMessage>;
14084
+ QCheckbox?: ComponentConstructor<QCheckbox>;
14085
+ QChip?: ComponentConstructor<QChip>;
14086
+ QCircularProgress?: ComponentConstructor<QCircularProgress>;
14087
+ QColor?: ComponentConstructor<QColor>;
14088
+ QDate?: ComponentConstructor<QDate>;
14089
+ QDialog?: ComponentConstructor<QDialog>;
14090
+ QDrawer?: ComponentConstructor<QDrawer>;
14091
+ QEditor?: ComponentConstructor<QEditor>;
14092
+ QExpansionItem?: ComponentConstructor<QExpansionItem>;
14093
+ QFab?: ComponentConstructor<QFab>;
14094
+ QFabAction?: ComponentConstructor<QFabAction>;
14095
+ QField?: ComponentConstructor<QField>;
14096
+ QFile?: ComponentConstructor<QFile>;
14097
+ QFooter?: ComponentConstructor<QFooter>;
14098
+ QForm?: ComponentConstructor<QForm>;
14099
+ QFormChildMixin?: ComponentConstructor<QFormChildMixin>;
14100
+ QHeader?: ComponentConstructor<QHeader>;
14101
+ QIcon?: ComponentConstructor<QIcon>;
14102
+ QImg?: ComponentConstructor<QImg>;
14103
+ QInfiniteScroll?: ComponentConstructor<QInfiniteScroll>;
14104
+ QInnerLoading?: ComponentConstructor<QInnerLoading>;
14105
+ QInput?: ComponentConstructor<QInput>;
14106
+ QIntersection?: ComponentConstructor<QIntersection>;
14107
+ QItem?: ComponentConstructor<QItem>;
14108
+ QItemLabel?: ComponentConstructor<QItemLabel>;
14109
+ QItemSection?: ComponentConstructor<QItemSection>;
14110
+ QList?: ComponentConstructor<QList>;
14111
+ QKnob?: ComponentConstructor<QKnob>;
14112
+ QLayout?: ComponentConstructor<QLayout>;
14113
+ QLinearProgress?: ComponentConstructor<QLinearProgress>;
14114
+ QMarkupTable?: ComponentConstructor<QMarkupTable>;
14115
+ QMenu?: ComponentConstructor<QMenu>;
14116
+ QNoSsr?: ComponentConstructor<QNoSsr>;
14117
+ QOptionGroup?: ComponentConstructor<QOptionGroup>;
14118
+ QPageScroller?: ComponentConstructor<QPageScroller>;
14119
+ QPageSticky?: ComponentConstructor<QPageSticky>;
14120
+ QPage?: ComponentConstructor<QPage>;
14121
+ QPageContainer?: ComponentConstructor<QPageContainer>;
14122
+ QPagination?: ComponentConstructor<QPagination>;
14123
+ QParallax?: ComponentConstructor<QParallax>;
14124
+ QPopupEdit?: ComponentConstructor<QPopupEdit>;
14125
+ QPopupProxy?: ComponentConstructor<QPopupProxy>;
14126
+ QPullToRefresh?: ComponentConstructor<QPullToRefresh>;
14127
+ QRadio?: ComponentConstructor<QRadio>;
14128
+ QRange?: ComponentConstructor<QRange>;
14129
+ QRating?: ComponentConstructor<QRating>;
14130
+ QResizeObserver?: ComponentConstructor<QResizeObserver>;
14131
+ QResponsive?: ComponentConstructor<QResponsive>;
14132
+ QScrollArea?: ComponentConstructor<QScrollArea>;
14133
+ QScrollObserver?: ComponentConstructor<QScrollObserver>;
14134
+ QSelect?: ComponentConstructor<QSelect>;
14135
+ QSeparator?: ComponentConstructor<QSeparator>;
14136
+ QSkeleton?: ComponentConstructor<QSkeleton>;
14137
+ QSlideItem?: ComponentConstructor<QSlideItem>;
14138
+ QSlideTransition?: ComponentConstructor<QSlideTransition>;
14139
+ QSlider?: ComponentConstructor<QSlider>;
14140
+ QSpace?: ComponentConstructor<QSpace>;
14141
+ QSpinner?: ComponentConstructor<QSpinner>;
14142
+ QSpinnerAudio?: ComponentConstructor<QSpinnerAudio>;
14143
+ QSpinnerBall?: ComponentConstructor<QSpinnerBall>;
14144
+ QSpinnerBars?: ComponentConstructor<QSpinnerBars>;
14145
+ QSpinnerBox?: ComponentConstructor<QSpinnerBox>;
14146
+ QSpinnerClock?: ComponentConstructor<QSpinnerClock>;
14147
+ QSpinnerComment?: ComponentConstructor<QSpinnerComment>;
14148
+ QSpinnerCube?: ComponentConstructor<QSpinnerCube>;
14149
+ QSpinnerDots?: ComponentConstructor<QSpinnerDots>;
14150
+ QSpinnerFacebook?: ComponentConstructor<QSpinnerFacebook>;
14151
+ QSpinnerGears?: ComponentConstructor<QSpinnerGears>;
14152
+ QSpinnerGrid?: ComponentConstructor<QSpinnerGrid>;
14153
+ QSpinnerHearts?: ComponentConstructor<QSpinnerHearts>;
14154
+ QSpinnerHourglass?: ComponentConstructor<QSpinnerHourglass>;
14155
+ QSpinnerInfinity?: ComponentConstructor<QSpinnerInfinity>;
14156
+ QSpinnerIos?: ComponentConstructor<QSpinnerIos>;
14157
+ QSpinnerOrbit?: ComponentConstructor<QSpinnerOrbit>;
14158
+ QSpinnerOval?: ComponentConstructor<QSpinnerOval>;
14159
+ QSpinnerPie?: ComponentConstructor<QSpinnerPie>;
14160
+ QSpinnerPuff?: ComponentConstructor<QSpinnerPuff>;
14161
+ QSpinnerRadio?: ComponentConstructor<QSpinnerRadio>;
14162
+ QSpinnerRings?: ComponentConstructor<QSpinnerRings>;
14163
+ QSpinnerTail?: ComponentConstructor<QSpinnerTail>;
14164
+ QSplitter?: ComponentConstructor<QSplitter>;
14165
+ QStep?: ComponentConstructor<QStep>;
14166
+ QStepper?: ComponentConstructor<QStepper>;
14167
+ QStepperNavigation?: ComponentConstructor<QStepperNavigation>;
14168
+ QTabPanel?: ComponentConstructor<QTabPanel>;
14169
+ QTabPanels?: ComponentConstructor<QTabPanels>;
14170
+ QTable?: ComponentConstructor<QTable>;
14171
+ QTd?: ComponentConstructor<QTd>;
14172
+ QTh?: ComponentConstructor<QTh>;
14173
+ QTr?: ComponentConstructor<QTr>;
14174
+ QRouteTab?: ComponentConstructor<QRouteTab>;
14175
+ QTab?: ComponentConstructor<QTab>;
14176
+ QTabs?: ComponentConstructor<QTabs>;
14177
+ QTime?: ComponentConstructor<QTime>;
14178
+ QTimeline?: ComponentConstructor<QTimeline>;
14179
+ QTimelineEntry?: ComponentConstructor<QTimelineEntry>;
14180
+ QToggle?: ComponentConstructor<QToggle>;
14181
+ QToolbar?: ComponentConstructor<QToolbar>;
14182
+ QToolbarTitle?: ComponentConstructor<QToolbarTitle>;
14183
+ QTooltip?: ComponentConstructor<QTooltip>;
14184
+ QTree?: ComponentConstructor<QTree>;
14185
+ QUploader?: ComponentConstructor<QUploader>;
14186
+ QUploaderAddTrigger?: ComponentConstructor<QUploaderAddTrigger>;
14187
+ QVideo?: ComponentConstructor<QVideo>;
14188
+ QVirtualScroll?: ComponentConstructor<QVirtualScroll>;
14189
+ }
14190
+
14191
+ interface QuasarDirectives {
14192
+ ClosePopup?: ClosePopup;
14193
+ Intersection?: Intersection;
14194
+ Morph?: Morph;
14195
+ Mutation?: Mutation;
14196
+ Ripple?: Ripple;
14197
+ Scroll?: Scroll;
14198
+ ScrollFire?: ScrollFire;
14199
+ TouchHold?: TouchHold;
14200
+ TouchPan?: TouchPan;
14201
+ TouchRepeat?: TouchRepeat;
14202
+ TouchSwipe?: TouchSwipe;
14203
+ }
14204
+
14205
+ interface QuasarPlugins {
14206
+ AddressbarColor?: AddressbarColor;
14207
+ AppFullscreen?: AppFullscreen;
14208
+ AppVisibility?: AppVisibility;
14209
+ BottomSheet?: BottomSheet;
14210
+ Cookies?: Cookies;
14211
+ Dark?: Dark;
14212
+ Dialog?: Dialog;
14213
+ Loading?: Loading;
14214
+ LoadingBar?: LoadingBar;
14215
+ LocalStorage?: LocalStorage;
14216
+ Meta?: Meta;
14217
+ Notify?: Notify;
14218
+ Platform?: Platform;
14219
+ Screen?: Screen;
14220
+ SessionStorage?: SessionStorage;
14221
+ }
14222
+ }
14223
+
14224
+ import { QuasarPluginOptions } from "./plugin";
14182
14225
  export const Quasar: {
14183
14226
  install: (app: App, options: Partial<QuasarPluginOptions>) => any;
14184
14227
  } & QSingletonGlobals;