quasar 2.6.6 → 2.7.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 (214) hide show
  1. package/dist/api/QBtnDropdown.json +1 -0
  2. package/dist/api/QBtnToggle.json +1 -0
  3. package/dist/api/QCarousel.json +2 -1
  4. package/dist/api/QCheckbox.json +1 -0
  5. package/dist/api/QChip.json +3 -1
  6. package/dist/api/QColor.json +1 -0
  7. package/dist/api/QDate.json +1 -0
  8. package/dist/api/QDialog.json +6 -0
  9. package/dist/api/QEditor.json +3 -1
  10. package/dist/api/QExpansionItem.json +1 -0
  11. package/dist/api/QFab.json +1 -0
  12. package/dist/api/QFile.json +1 -0
  13. package/dist/api/QFooter.json +1 -0
  14. package/dist/api/QHeader.json +1 -0
  15. package/dist/api/QInput.json +1 -0
  16. package/dist/api/QItem.json +3 -1
  17. package/dist/api/QKnob.json +1 -0
  18. package/dist/api/QOptionGroup.json +1 -0
  19. package/dist/api/QPagination.json +2 -1
  20. package/dist/api/QPopupEdit.json +1 -0
  21. package/dist/api/QPopupProxy.json +1 -0
  22. package/dist/api/QRadio.json +1 -0
  23. package/dist/api/QRange.json +1 -0
  24. package/dist/api/QRating.json +1 -0
  25. package/dist/api/QSelect.json +1 -0
  26. package/dist/api/QSlider.json +1 -0
  27. package/dist/api/QSplitter.json +1 -0
  28. package/dist/api/QTable.json +5 -1
  29. package/dist/api/QTabs.json +1 -0
  30. package/dist/api/QTime.json +1 -0
  31. package/dist/api/QToggle.json +1 -0
  32. package/dist/api/QTree.json +6 -3
  33. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  34. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  36. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  38. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  39. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  40. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  41. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  42. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  43. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  44. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  45. package/dist/icon-set/material-symbols-outlined.umd.prod.js +6 -0
  46. package/dist/icon-set/material-symbols-rounded.umd.prod.js +6 -0
  47. package/dist/icon-set/material-symbols-sharp.umd.prod.js +6 -0
  48. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  49. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  50. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  51. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  54. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  55. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  56. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  57. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  58. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  59. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  60. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  61. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  62. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  63. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  64. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +6 -0
  65. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +6 -0
  66. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +6 -0
  67. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  68. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  69. package/dist/icon-set/themify.umd.prod.js +1 -1
  70. package/dist/lang/ar-TN.umd.prod.js +1 -1
  71. package/dist/lang/ar.umd.prod.js +1 -1
  72. package/dist/lang/az-Latn.umd.prod.js +1 -1
  73. package/dist/lang/bg.umd.prod.js +1 -1
  74. package/dist/lang/bn.umd.prod.js +1 -1
  75. package/dist/lang/ca.umd.prod.js +2 -2
  76. package/dist/lang/cs.umd.prod.js +1 -1
  77. package/dist/lang/da.umd.prod.js +1 -1
  78. package/dist/lang/de.umd.prod.js +1 -1
  79. package/dist/lang/el.umd.prod.js +1 -1
  80. package/dist/lang/en-GB.umd.prod.js +1 -1
  81. package/dist/lang/en-US.umd.prod.js +1 -1
  82. package/dist/lang/eo.umd.prod.js +1 -1
  83. package/dist/lang/es.umd.prod.js +2 -2
  84. package/dist/lang/et.umd.prod.js +1 -1
  85. package/dist/lang/eu.umd.prod.js +1 -1
  86. package/dist/lang/fa-IR.umd.prod.js +1 -1
  87. package/dist/lang/fa.umd.prod.js +1 -1
  88. package/dist/lang/fi.umd.prod.js +1 -1
  89. package/dist/lang/fr.umd.prod.js +1 -1
  90. package/dist/lang/gn.umd.prod.js +1 -1
  91. package/dist/lang/he.umd.prod.js +1 -1
  92. package/dist/lang/hr.umd.prod.js +1 -1
  93. package/dist/lang/hu.umd.prod.js +1 -1
  94. package/dist/lang/id.umd.prod.js +1 -1
  95. package/dist/lang/is.umd.prod.js +1 -1
  96. package/dist/lang/it.umd.prod.js +1 -1
  97. package/dist/lang/ja.umd.prod.js +1 -1
  98. package/dist/lang/km.umd.prod.js +1 -1
  99. package/dist/lang/ko-KR.umd.prod.js +2 -2
  100. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  101. package/dist/lang/kz.umd.prod.js +1 -1
  102. package/dist/lang/lt.umd.prod.js +1 -1
  103. package/dist/lang/lu.umd.prod.js +1 -1
  104. package/dist/lang/lv.umd.prod.js +1 -1
  105. package/dist/lang/ml.umd.prod.js +1 -1
  106. package/dist/lang/mm.umd.prod.js +6 -0
  107. package/dist/lang/ms.umd.prod.js +1 -1
  108. package/dist/lang/my.umd.prod.js +1 -1
  109. package/dist/lang/nb-NO.umd.prod.js +1 -1
  110. package/dist/lang/nl.umd.prod.js +1 -1
  111. package/dist/lang/pl.umd.prod.js +1 -1
  112. package/dist/lang/pt-BR.umd.prod.js +1 -1
  113. package/dist/lang/pt.umd.prod.js +1 -1
  114. package/dist/lang/ro.umd.prod.js +1 -1
  115. package/dist/lang/ru.umd.prod.js +1 -1
  116. package/dist/lang/sk.umd.prod.js +1 -1
  117. package/dist/lang/sl.umd.prod.js +1 -1
  118. package/dist/lang/sm.umd.prod.js +6 -0
  119. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  120. package/dist/lang/sr.umd.prod.js +1 -1
  121. package/dist/lang/sv.umd.prod.js +1 -1
  122. package/dist/lang/ta.umd.prod.js +1 -1
  123. package/dist/lang/th.umd.prod.js +1 -1
  124. package/dist/lang/tr.umd.prod.js +1 -1
  125. package/dist/lang/ug.umd.prod.js +1 -1
  126. package/dist/lang/uk.umd.prod.js +1 -1
  127. package/dist/lang/vi.umd.prod.js +1 -1
  128. package/dist/lang/zh-CN.umd.prod.js +1 -1
  129. package/dist/lang/zh-TW.umd.prod.js +1 -1
  130. package/dist/quasar.addon.rtl.css +251 -0
  131. package/dist/quasar.cjs.prod.js +2 -2
  132. package/dist/quasar.css +9 -9
  133. package/dist/quasar.esm.prod.js +2 -2
  134. package/dist/quasar.prod.css +1 -1
  135. package/dist/quasar.rtl.css +1229 -9
  136. package/dist/quasar.rtl.prod.css +1 -1
  137. package/dist/quasar.sass +10 -9
  138. package/dist/quasar.umd.js +182 -126
  139. package/dist/quasar.umd.prod.js +2 -2
  140. package/dist/types/api/quploader.d.ts +7 -7
  141. package/dist/types/extras/icon-set.d.ts +6 -0
  142. package/dist/types/index.d.ts +265 -255
  143. package/dist/types/utils/dom.d.ts +1 -1
  144. package/dist/types/utils.d.ts +11 -0
  145. package/dist/vetur/quasar-attributes.json +4 -0
  146. package/dist/vetur/quasar-tags.json +2 -1
  147. package/dist/web-types/web-types.json +12 -2
  148. package/icon-set/material-symbols-outlined.js +133 -0
  149. package/icon-set/material-symbols-outlined.mjs +128 -0
  150. package/icon-set/material-symbols-rounded.js +133 -0
  151. package/icon-set/material-symbols-rounded.mjs +128 -0
  152. package/icon-set/material-symbols-sharp.js +133 -0
  153. package/icon-set/material-symbols-sharp.mjs +128 -0
  154. package/icon-set/svg-material-symbols-outlined.js +201 -0
  155. package/icon-set/svg-material-symbols-outlined.mjs +201 -0
  156. package/icon-set/svg-material-symbols-rounded.js +201 -0
  157. package/icon-set/svg-material-symbols-rounded.mjs +201 -0
  158. package/icon-set/svg-material-symbols-sharp.js +201 -0
  159. package/icon-set/svg-material-symbols-sharp.mjs +201 -0
  160. package/lang/ca.js +31 -31
  161. package/lang/ca.mjs +31 -31
  162. package/lang/es.js +1 -1
  163. package/lang/es.mjs +1 -1
  164. package/lang/index.json +8 -0
  165. package/lang/ko-KR.js +21 -21
  166. package/lang/ko-KR.mjs +21 -21
  167. package/lang/mm.js +96 -0
  168. package/lang/mm.mjs +91 -0
  169. package/lang/sm.js +96 -0
  170. package/lang/sm.mjs +91 -0
  171. package/package.json +15 -15
  172. package/src/api.extends.json +1 -0
  173. package/src/components/avatar/__tests__/QAvatar.spec.js +1 -1
  174. package/src/components/badge/QBadge.js +2 -2
  175. package/src/components/badge/__tests__/QBadge.spec.js +1 -1
  176. package/src/components/btn/QBtn.js +2 -2
  177. package/src/components/checkbox/use-checkbox.js +8 -7
  178. package/src/components/dialog/QDialog.js +3 -1
  179. package/src/components/dialog/QDialog.json +7 -0
  180. package/src/components/editor/QEditor.js +11 -25
  181. package/src/components/file/QFile.js +6 -1
  182. package/src/components/icon/QIcon.js +24 -1
  183. package/src/components/icon/QIcon.sass +7 -3
  184. package/src/components/img/QImg.sass +1 -0
  185. package/src/components/infinite-scroll/QInfiniteScroll.js +10 -10
  186. package/src/components/input/QInput.js +6 -1
  187. package/src/components/item/QItem.js +5 -2
  188. package/src/components/item/QItem.json +2 -1
  189. package/src/components/layout/QLayout.js +2 -1
  190. package/src/components/menu/__tests__/QMenu.spec.js +23 -23
  191. package/src/components/pagination/QPagination.json +1 -1
  192. package/src/components/radio/QRadio.js +2 -2
  193. package/src/components/select/QSelect.js +28 -16
  194. package/src/components/select/__tests__/QSelect.spec.js +427 -451
  195. package/src/components/slider/use-slider.js +1 -1
  196. package/src/components/table/QTable.js +0 -1
  197. package/src/components/table/QTable.json +3 -0
  198. package/src/components/table/QTable.sass +1 -1
  199. package/src/components/tabs/QTabs.sass +0 -6
  200. package/src/components/uploader/uploader-core.js +23 -18
  201. package/src/components/virtual-scroll/use-virtual-scroll.js +9 -4
  202. package/src/composables/private/__tests__/use-anchor.spec.js +6 -6
  203. package/src/composables/private/__tests__/use-field.spec.js +7 -7
  204. package/src/composables/private/__tests__/use-model-toggle.spec.js +20 -19
  205. package/src/composables/private/__tests__/use-size.spec.js +2 -2
  206. package/src/composables/private/__tests__/use-transition.spec.js +5 -5
  207. package/src/composables/private/__tests__/use-validate.spec.js +5 -5
  208. package/src/composables/private/use-anchor.js +1 -1
  209. package/src/composables/private/use-field.js +2 -1
  210. package/src/composables/private/use-key-composition.js +16 -13
  211. package/src/directives/Ripple.js +2 -7
  212. package/src/utils/date.js +1 -1
  213. package/src/utils/private/global-dialog.js +22 -10
  214. package/src/components/select/__tests__/WrapperOne.vue +0 -28
@@ -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"
@@ -3059,6 +3059,10 @@ export interface QDialogProps {
3059
3059
  * Do not shake up the Dialog to catch user's attention
3060
3060
  */
3061
3061
  noShake?: boolean | undefined;
3062
+ /**
3063
+ * Allow elements outside of the Dialog to be focusable; By default, for accessibility reasons, QDialog does not allow outer focus
3064
+ */
3065
+ allowFocusOutside?: boolean | undefined;
3062
3066
  /**
3063
3067
  * Emitted when showing/hidden state changes; Is also used by v-model
3064
3068
  * @param value New state (showing/hidden)
@@ -3401,7 +3405,7 @@ export interface QEditorProps {
3401
3405
  * An array of arrays of Objects/Strings that you use to define the construction of the elements and commands available in the toolbar
3402
3406
  * Default value: left,center,right,justify,bold,italic,underline,strike,undo,redo
3403
3407
  */
3404
- toolbar?: any[] | undefined;
3408
+ toolbar?: readonly any[] | undefined;
3405
3409
  /**
3406
3410
  * Font color (from the Quasar Palette) of buttons and text in the toolbar
3407
3411
  */
@@ -4305,7 +4309,7 @@ export interface QFileProps {
4305
4309
  * @param files Candidate files to be added to queue
4306
4310
  * @returns Filtered files to be added to queue
4307
4311
  */
4308
- filter?: ((files: FileList | any[]) => any[]) | undefined;
4312
+ filter?: ((files: FileList | readonly any[]) => readonly any[]) | undefined;
4309
4313
  /**
4310
4314
  * 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
4315
  */
@@ -4579,7 +4583,7 @@ export interface QFileSlots {
4579
4583
  /**
4580
4584
  * Array of File objects
4581
4585
  */
4582
- files: FileList | any[];
4586
+ files: FileList | readonly any[];
4583
4587
  /**
4584
4588
  * Reference to the QFile component
4585
4589
  */
@@ -4597,7 +4601,7 @@ export interface QFile extends ComponentPublicInstance<QFileProps> {
4597
4601
  * Add files programmatically
4598
4602
  * @param files Array of files (instances of File)
4599
4603
  */
4600
- addFiles: (files: FileList | any[]) => void;
4604
+ addFiles: (files: FileList | readonly any[]) => void;
4601
4605
  /**
4602
4606
  * Reset validation status
4603
4607
  */
@@ -4745,7 +4749,7 @@ export interface QForm extends ComponentPublicInstance<QFormProps> {
4745
4749
  * Get array of children vue components that support validation
4746
4750
  * @returns Vue components that support Quasar validation API
4747
4751
  */
4748
- getValidationComponents: () => any[];
4752
+ getValidationComponents: () => readonly any[];
4749
4753
  }
4750
4754
 
4751
4755
  export interface QFormChildMixinProps {}
@@ -5447,7 +5451,7 @@ export interface QIntersectionProps {
5447
5451
  /**
5448
5452
  * [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
5449
5453
  */
5450
- threshold?: any[] | number | undefined;
5454
+ threshold?: readonly any[] | number | undefined;
5451
5455
  /**
5452
5456
  * One of Quasar's embedded transitions
5453
5457
  */
@@ -6024,7 +6028,7 @@ export interface QMenuProps {
6024
6028
  /**
6025
6029
  * An array of two numbers to offset the menu horizontally and vertically in pixels
6026
6030
  */
6027
- offset?: any[] | undefined;
6031
+ offset?: readonly any[] | undefined;
6028
6032
  /**
6029
6033
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
6030
6034
  */
@@ -6303,7 +6307,7 @@ export interface QPageScrollerProps {
6303
6307
  * An array of two numbers to offset the component horizontally and vertically in pixels
6304
6308
  * Default value: 18,18
6305
6309
  */
6306
- offset?: any[] | undefined;
6310
+ offset?: readonly any[] | undefined;
6307
6311
  /**
6308
6312
  * 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
6309
6313
  */
@@ -6352,7 +6356,7 @@ export interface QPageStickyProps {
6352
6356
  /**
6353
6357
  * An array of two numbers to offset the component horizontally and vertically in pixels
6354
6358
  */
6355
- offset?: any[] | undefined;
6359
+ offset?: readonly any[] | undefined;
6356
6360
  /**
6357
6361
  * 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
6358
6362
  */
@@ -6548,7 +6552,7 @@ export interface QPaginationProps {
6548
6552
  * Emitted when the component needs to change the model; Is also used by v-model
6549
6553
  * @param value New model value
6550
6554
  */
6551
- "onUpdate:modelValue"?: (value: string) => void;
6555
+ "onUpdate:modelValue"?: (value: number) => void;
6552
6556
  }
6553
6557
 
6554
6558
  export interface QPaginationSlots {}
@@ -6706,7 +6710,7 @@ export interface QPopupEditProps {
6706
6710
  /**
6707
6711
  * An array of two numbers to offset the menu horizontally and vertically in pixels
6708
6712
  */
6709
- offset?: any[] | undefined;
6713
+ offset?: readonly any[] | undefined;
6710
6714
  /**
6711
6715
  * Allows for the target position to be set by the mouse position, when the target of the menu is either clicked or touched
6712
6716
  */
@@ -7326,27 +7330,27 @@ export interface QRatingProps {
7326
7330
  /**
7327
7331
  * 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)
7328
7332
  */
7329
- icon?: string | any[] | undefined;
7333
+ icon?: string | readonly any[] | undefined;
7330
7334
  /**
7331
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)
7332
7336
  */
7333
- iconSelected?: string | any[] | undefined;
7337
+ iconSelected?: string | readonly any[] | undefined;
7334
7338
  /**
7335
7339
  * 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)
7336
7340
  */
7337
- iconHalf?: string | any[] | undefined;
7341
+ iconHalf?: string | readonly any[] | undefined;
7338
7342
  /**
7339
7343
  * 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)
7340
7344
  */
7341
- color?: string | any[] | undefined;
7345
+ color?: string | readonly any[] | undefined;
7342
7346
  /**
7343
7347
  * Color name from the Quasar Palette for selected icons
7344
7348
  */
7345
- colorSelected?: string | any[] | undefined;
7349
+ colorSelected?: string | readonly any[] | undefined;
7346
7350
  /**
7347
7351
  * Color name from the Quasar Palette for half selected icons
7348
7352
  */
7349
- colorHalf?: string | any[] | undefined;
7353
+ colorHalf?: string | readonly any[] | undefined;
7350
7354
  /**
7351
7355
  * Does not lower opacity for unselected icons
7352
7356
  */
@@ -7913,7 +7917,7 @@ export interface QSelectProps {
7913
7917
  * Available options that the user can select from. For best performance freeze the list of options.
7914
7918
  * Default value: []
7915
7919
  */
7916
- options?: any[] | undefined;
7920
+ options?: readonly any[] | undefined;
7917
7921
  /**
7918
7922
  * 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
7919
7923
  * Default value: value
@@ -8018,7 +8022,7 @@ export interface QSelectProps {
8018
8022
  /**
8019
8023
  * An array of two numbers to offset the options list horizontally and vertically in pixels (only in menu mode)
8020
8024
  */
8021
- menuOffset?: any[] | undefined;
8025
+ menuOffset?: readonly any[] | undefined;
8022
8026
  /**
8023
8027
  * Class definitions to be attributed to the popup content
8024
8028
  */
@@ -9357,7 +9361,7 @@ export interface QSplitterProps {
9357
9361
  * 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
9358
9362
  * Default value: For '%' unit: [10, 90]; For 'px' unit: [50, Infinity]
9359
9363
  */
9360
- limits?: any[] | undefined;
9364
+ limits?: readonly any[] | undefined;
9361
9365
  /**
9362
9366
  * Put component in disabled mode
9363
9367
  */
@@ -9499,11 +9503,11 @@ export interface QStepperProps {
9499
9503
  /**
9500
9504
  * Equivalent to using Vue's native include prop for <keep-alive>; Values must be valid Vue component names
9501
9505
  */
9502
- keepAliveInclude?: string | any[] | RegExp | undefined;
9506
+ keepAliveInclude?: string | readonly any[] | RegExp | undefined;
9503
9507
  /**
9504
9508
  * Equivalent to using Vue's native exclude prop for <keep-alive>; Values must be valid Vue component names
9505
9509
  */
9506
- keepAliveExclude?: string | any[] | RegExp | undefined;
9510
+ keepAliveExclude?: string | readonly any[] | RegExp | undefined;
9507
9511
  /**
9508
9512
  * Equivalent to using Vue's native max prop for <keep-alive>
9509
9513
  */
@@ -9700,11 +9704,11 @@ export interface QTabPanelsProps {
9700
9704
  /**
9701
9705
  * Equivalent to using Vue's native include prop for <keep-alive>; Values must be valid Vue component names
9702
9706
  */
9703
- keepAliveInclude?: string | any[] | RegExp | undefined;
9707
+ keepAliveInclude?: string | readonly any[] | RegExp | undefined;
9704
9708
  /**
9705
9709
  * Equivalent to using Vue's native exclude prop for <keep-alive>; Values must be valid Vue component names
9706
9710
  */
9707
- keepAliveExclude?: string | any[] | RegExp | undefined;
9711
+ keepAliveExclude?: string | readonly any[] | RegExp | undefined;
9708
9712
  /**
9709
9713
  * Equivalent to using Vue's native max prop for <keep-alive>
9710
9714
  */
@@ -9797,7 +9801,7 @@ export interface QTableProps {
9797
9801
  /**
9798
9802
  * Rows of data to display
9799
9803
  */
9800
- rows?: any[] | undefined;
9804
+ rows?: readonly any[] | undefined;
9801
9805
  /**
9802
9806
  * 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
9803
9807
  * Default value: id
@@ -9956,7 +9960,7 @@ export interface QTableProps {
9956
9960
  /**
9957
9961
  * 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
9958
9962
  */
9959
- visibleColumns?: any[] | undefined;
9963
+ visibleColumns?: readonly any[] | undefined;
9960
9964
  /**
9961
9965
  * Put Table into 'loading' state; Notify the user something is happening behind the scenes
9962
9966
  */
@@ -10106,11 +10110,11 @@ export interface QTableProps {
10106
10110
  */
10107
10111
  filterMethod?:
10108
10112
  | ((
10109
- rows: any[],
10113
+ rows: readonly any[],
10110
10114
  terms: string | any,
10111
- cols: any[],
10115
+ cols: readonly any[],
10112
10116
  getCellValue: (col: any, row: any) => any
10113
- ) => any[])
10117
+ ) => readonly any[])
10114
10118
  | undefined;
10115
10119
  /**
10116
10120
  * Pagination object; You can also use the 'v-model:pagination' for synching; When not synching it simply initializes the pagination on first render
@@ -10143,7 +10147,7 @@ export interface QTableProps {
10143
10147
  * Options for user to pick (Numbers); Number 0 means 'Show all rows in one page'
10144
10148
  * Default value: [ 3, 5, 7, 10, 15, 20, 25, 50, 0 ]
10145
10149
  */
10146
- rowsPerPageOptions?: any[] | undefined;
10150
+ rowsPerPageOptions?: readonly any[] | undefined;
10147
10151
  /**
10148
10152
  * Selection type
10149
10153
  * Default value: none
@@ -10168,7 +10172,11 @@ export interface QTableProps {
10168
10172
  * @returns Sorted rows
10169
10173
  */
10170
10174
  sortMethod?:
10171
- | ((rows: any[], sortBy: string, descending: boolean) => any[])
10175
+ | ((
10176
+ rows: readonly any[],
10177
+ sortBy: string,
10178
+ descending: boolean
10179
+ ) => readonly any[])
10172
10180
  | undefined;
10173
10181
  /**
10174
10182
  * Emitted when user clicks/taps on a row; Is not emitted when using body/row/item scoped slots
@@ -10226,11 +10234,11 @@ export interface QTableProps {
10226
10234
  * @returns Filtered rows
10227
10235
  */
10228
10236
  filter: (
10229
- rows: any[],
10237
+ rows: readonly any[],
10230
10238
  terms: string | any,
10231
- cols?: any[],
10239
+ cols?: readonly any[],
10232
10240
  getCellValue?: (col: any, row: any) => any
10233
- ) => any[];
10241
+ ) => readonly any[];
10234
10242
  /**
10235
10243
  * Function to get a cell value
10236
10244
  * @param col Column name from column definitions
@@ -10247,11 +10255,11 @@ export interface QTableProps {
10247
10255
  /**
10248
10256
  * Array of row objects that were selected/unselected
10249
10257
  */
10250
- rows: any[];
10258
+ rows: readonly any[];
10251
10259
  /**
10252
10260
  * Array of the keys of rows that were selected/unselected
10253
10261
  */
10254
- keys: any[];
10262
+ keys: readonly any[];
10255
10263
  /**
10256
10264
  * Were the rows added to selection (true) or removed from selection (false)
10257
10265
  */
@@ -10291,12 +10299,12 @@ export interface QTableProps {
10291
10299
  * Used by Vue on 'v-model:selected' prop for updating its value
10292
10300
  * @param newSelected The updated selected array
10293
10301
  */
10294
- "onUpdate:selected"?: (newSelected: any[]) => void;
10302
+ "onUpdate:selected"?: (newSelected: readonly any[]) => void;
10295
10303
  /**
10296
10304
  * Used by Vue on 'v-model:expanded' prop for updating its value
10297
10305
  * @param newExpanded The updated expanded array
10298
10306
  */
10299
- "onUpdate:expanded"?: (newExpanded: any[]) => void;
10307
+ "onUpdate:expanded"?: (newExpanded: readonly any[]) => void;
10300
10308
  /**
10301
10309
  * Emitted when the virtual scroll occurs, if using virtual scroll
10302
10310
  * @param details Object of properties on the new scroll position
@@ -11255,11 +11263,11 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
11255
11263
  * @returns Filtered rows
11256
11264
  */
11257
11265
  filter?: (
11258
- rows: any[],
11266
+ rows: readonly any[],
11259
11267
  terms: string | any,
11260
- cols?: any[],
11268
+ cols?: readonly any[],
11261
11269
  getCellValue?: (col?: any, row?: any) => any
11262
- ) => any[];
11270
+ ) => readonly any[];
11263
11271
  }) => void;
11264
11272
  /**
11265
11273
  * Unless using an external pagination Object (through 'v-model:pagination' prop), you can use this method and force the internal pagination to change
@@ -11323,7 +11331,7 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
11323
11331
  * Sets the expanded rows keys array; Especially useful if not using an external 'expanded' state otherwise just emits 'update:expanded' with the value
11324
11332
  * @param expanded Array containing keys of the expanded rows
11325
11333
  */
11326
- setExpanded: (expanded: any[]) => void;
11334
+ setExpanded: (expanded: readonly any[]) => void;
11327
11335
  /**
11328
11336
  * Trigger a table sort
11329
11337
  * @param col Column name or column definition object
@@ -11677,19 +11685,19 @@ export interface QTimeProps {
11677
11685
  /**
11678
11686
  * List of full day names (DDDD), starting with Sunday
11679
11687
  */
11680
- days?: any[];
11688
+ days?: readonly any[];
11681
11689
  /**
11682
11690
  * List of short day names (DDD), starting with Sunday
11683
11691
  */
11684
- daysShort?: any[];
11692
+ daysShort?: readonly any[];
11685
11693
  /**
11686
11694
  * List of full month names (MMMM), starting with January
11687
11695
  */
11688
- months?: any[];
11696
+ months?: readonly any[];
11689
11697
  /**
11690
11698
  * List of short month names (MMM), starting with January
11691
11699
  */
11692
- monthsShort?: any[];
11700
+ monthsShort?: readonly any[];
11693
11701
  }
11694
11702
  | undefined;
11695
11703
  /**
@@ -11755,15 +11763,15 @@ export interface QTimeProps {
11755
11763
  /**
11756
11764
  * Optionally configure what hours is the user allowed to set; Overrides 'options' prop if that is also set
11757
11765
  */
11758
- hourOptions?: any[] | undefined;
11766
+ hourOptions?: readonly any[] | undefined;
11759
11767
  /**
11760
11768
  * Optionally configure what minutes is the user allowed to set; Overrides 'options' prop if that is also set
11761
11769
  */
11762
- minuteOptions?: any[] | undefined;
11770
+ minuteOptions?: readonly any[] | undefined;
11763
11771
  /**
11764
11772
  * Optionally configure what seconds is the user allowed to set; Overrides 'options' prop if that is also set
11765
11773
  */
11766
- secondOptions?: any[] | undefined;
11774
+ secondOptions?: readonly any[] | undefined;
11767
11775
  /**
11768
11776
  * Allow the time to be set with seconds
11769
11777
  */
@@ -12139,7 +12147,7 @@ export interface QTooltipProps {
12139
12147
  * An array of two numbers to offset the Tooltip horizontally and vertically in pixels
12140
12148
  * Default value: [14, 14]
12141
12149
  */
12142
- offset?: any[] | undefined;
12150
+ offset?: readonly any[] | undefined;
12143
12151
  /**
12144
12152
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
12145
12153
  */
@@ -12326,7 +12334,7 @@ export interface QTreeProps {
12326
12334
  * Triggered when nodes are expanded or collapsed; Used by Vue on 'v-model:update' to update its value
12327
12335
  * @param expanded The expanded node keys
12328
12336
  */
12329
- "onUpdate:expanded"?: (expanded: any[]) => void;
12337
+ "onUpdate:expanded"?: (expanded: readonly any[]) => void;
12330
12338
  /**
12331
12339
  * Emitted when the lazy loading of nodes is finished
12332
12340
  * @param details Lazy loading details
@@ -12344,7 +12352,7 @@ export interface QTreeProps {
12344
12352
  * The callback to be carried out when the loading is successful
12345
12353
  * @param children Array of nodes
12346
12354
  */
12347
- done: (children?: any[]) => void;
12355
+ done: (children?: readonly any[]) => void;
12348
12356
  /**
12349
12357
  * The callback to be carried out should the loading fails
12350
12358
  */
@@ -12354,7 +12362,7 @@ export interface QTreeProps {
12354
12362
  * Emitted when nodes are ticked/unticked via the checkbox; Used by Vue on 'v-model:ticked' to update its value
12355
12363
  * @param target The ticked node keys
12356
12364
  */
12357
- "onUpdate:ticked"?: (target: any[]) => void;
12365
+ "onUpdate:ticked"?: (target: readonly any[]) => void;
12358
12366
  /**
12359
12367
  * Emitted when selected node changes; Used by Vue on 'v-model:selected' to update its value
12360
12368
  * @param target The selected node key
@@ -12520,12 +12528,12 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
12520
12528
  * Get array of nodes that are ticked
12521
12529
  * @returns Ticked node objects
12522
12530
  */
12523
- getTickedNodes: () => any[];
12531
+ getTickedNodes: () => readonly any[];
12524
12532
  /**
12525
12533
  * Get array of nodes that are expanded
12526
12534
  * @returns Expanded node objects
12527
12535
  */
12528
- getExpandedNodes: () => any[];
12536
+ getExpandedNodes: () => readonly any[];
12529
12537
  /**
12530
12538
  * Determine if a node is expanded
12531
12539
  * @param key The key of a node
@@ -12557,7 +12565,7 @@ export interface QTree extends ComponentPublicInstance<QTreeProps> {
12557
12565
  * @param keys The keys of nodes to tick/untick
12558
12566
  * @param state Set to 'true' to tick the checkbox of nodes, otherwise 'false' unticks them
12559
12567
  */
12560
- setTicked: (keys: any[], state: boolean) => void;
12568
+ setTicked: (keys: readonly any[], state: boolean) => void;
12561
12569
  }
12562
12570
 
12563
12571
  export interface QUploaderProps {
@@ -12572,14 +12580,14 @@ export interface QUploaderProps {
12572
12580
  * @param files Uploaded files
12573
12581
  * @returns URL or path to the server which handles the upload
12574
12582
  */
12575
- url?: string | ((files: any[]) => string) | undefined;
12583
+ url?: string | ((files: readonly any[]) => string) | undefined;
12576
12584
  /**
12577
12585
  * 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
12578
12586
  * Default value: POST
12579
12587
  * @param files Uploaded files
12580
12588
  * @returns HTTP method to use for upload
12581
12589
  */
12582
- method?: "POST" | "PUT" | ((files: any[]) => string) | undefined;
12590
+ method?: "POST" | "PUT" | ((files: readonly any[]) => string) | undefined;
12583
12591
  /**
12584
12592
  * 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
12585
12593
  * Default value: (file) => file.name
@@ -12603,7 +12611,7 @@ export interface QUploaderProps {
12603
12611
  */
12604
12612
  value: string;
12605
12613
  }[]
12606
- | ((files: any[]) => string)
12614
+ | ((files: readonly any[]) => string)
12607
12615
  | undefined;
12608
12616
  /**
12609
12617
  * 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
@@ -12621,26 +12629,26 @@ export interface QUploaderProps {
12621
12629
  */
12622
12630
  value: string;
12623
12631
  }[]
12624
- | ((files: any[]) => string)
12632
+ | ((files: readonly any[]) => string)
12625
12633
  | undefined;
12626
12634
  /**
12627
12635
  * 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
12628
12636
  * @param files Uploaded files
12629
12637
  * @returns If true, withCredentials will be set to true on the XHR that manages the upload
12630
12638
  */
12631
- withCredentials?: boolean | ((files: any[]) => boolean) | undefined;
12639
+ withCredentials?: boolean | ((files: readonly any[]) => boolean) | undefined;
12632
12640
  /**
12633
12641
  * 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
12634
12642
  * @param files Uploaded files
12635
12643
  * @returns If true, raw files will get sent without wrapping into a Form()
12636
12644
  */
12637
- sendRaw?: boolean | ((files: any[]) => boolean) | undefined;
12645
+ sendRaw?: boolean | ((files: readonly any[]) => boolean) | undefined;
12638
12646
  /**
12639
12647
  * 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
12640
12648
  * @param files Uploaded files
12641
12649
  * @returns If true, files will be uploaded in a batch (in one XHR request)
12642
12650
  */
12643
- batch?: boolean | ((files: any[]) => boolean) | undefined;
12651
+ batch?: boolean | ((files: readonly any[]) => boolean) | undefined;
12644
12652
  /**
12645
12653
  * Allow multiple file uploads
12646
12654
  */
@@ -12670,7 +12678,7 @@ export interface QUploaderProps {
12670
12678
  * @param files Candidate files to be added to queue
12671
12679
  * @returns Filtered files to be added to queue
12672
12680
  */
12673
- filter?: ((files: FileList | any[]) => any[]) | undefined;
12681
+ filter?: ((files: FileList | readonly any[]) => readonly any[]) | undefined;
12674
12682
  /**
12675
12683
  * Label for the uploader
12676
12684
  */
@@ -12727,7 +12735,7 @@ export interface QUploaderProps {
12727
12735
  /**
12728
12736
  * Uploaded files
12729
12737
  */
12730
- files: any[];
12738
+ files: readonly any[];
12731
12739
  /**
12732
12740
  * XMLHttpRequest that has been used to upload this batch of files
12733
12741
  */
@@ -12741,7 +12749,7 @@ export interface QUploaderProps {
12741
12749
  /**
12742
12750
  * Files which encountered error
12743
12751
  */
12744
- files: any[];
12752
+ files: readonly any[];
12745
12753
  /**
12746
12754
  * XMLHttpRequest that has been used to upload this batch of files
12747
12755
  */
@@ -12755,7 +12763,7 @@ export interface QUploaderProps {
12755
12763
  /**
12756
12764
  * Files which are now uploading
12757
12765
  */
12758
- files: any[];
12766
+ files: readonly any[];
12759
12767
  /**
12760
12768
  * XMLHttpRequest used for uploading
12761
12769
  */
@@ -12766,7 +12774,7 @@ export interface QUploaderProps {
12766
12774
  * @param err Error object which is the Promise rejection reason
12767
12775
  * @param files Files which were to get uploaded
12768
12776
  */
12769
- onFactoryFailed?: (err: Error, files: any[]) => void;
12777
+ onFactoryFailed?: (err: Error, files: readonly any[]) => void;
12770
12778
  /**
12771
12779
  * Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
12772
12780
  * @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
@@ -12776,12 +12784,12 @@ export interface QUploaderProps {
12776
12784
  * Emitted when files are added into the list
12777
12785
  * @param files Array of files that were added
12778
12786
  */
12779
- onAdded?: (files: any[]) => void;
12787
+ onAdded?: (files: readonly any[]) => void;
12780
12788
  /**
12781
12789
  * Emitted when files are removed from the list
12782
12790
  * @param files Array of files that were removed
12783
12791
  */
12784
- onRemoved?: (files: any[]) => void;
12792
+ onRemoved?: (files: readonly any[]) => void;
12785
12793
  /**
12786
12794
  * Started working
12787
12795
  */
@@ -12815,7 +12823,7 @@ export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
12815
12823
  * Add files programmatically
12816
12824
  * @param files Array of files (instances of File)
12817
12825
  */
12818
- addFiles: (files: FileList | any[]) => void;
12826
+ addFiles: (files: FileList | readonly any[]) => void;
12819
12827
  /**
12820
12828
  * Start uploading (same as clicking the upload button)
12821
12829
  */
@@ -12941,7 +12949,7 @@ export interface QVirtualScrollProps {
12941
12949
  * 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
12942
12950
  * Default value: []
12943
12951
  */
12944
- items?: any[] | undefined;
12952
+ items?: readonly any[] | undefined;
12945
12953
  /**
12946
12954
  * Number of available items in the list; Required and used only if 'itemsFn' is provided
12947
12955
  * Default value: void 0
@@ -12953,7 +12961,7 @@ export interface QVirtualScrollProps {
12953
12961
  * @param size Number of items to return
12954
12962
  * @returns List of scope for items to be displayed
12955
12963
  */
12956
- itemsFn?: ((from: number, size: number) => any[]) | undefined;
12964
+ itemsFn?: ((from: number, size: number) => readonly any[]) | undefined;
12957
12965
  /**
12958
12966
  * CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one
12959
12967
  */
@@ -13175,7 +13183,7 @@ export interface QDialogOptions {
13175
13183
  /**
13176
13184
  * The value of the selection (String if it's of type radio or Array otherwise)
13177
13185
  */
13178
- model: string | any[];
13186
+ model: string | readonly any[];
13179
13187
  /**
13180
13188
  * The type of selection
13181
13189
  * Default value: radio
@@ -13184,13 +13192,13 @@ export interface QDialogOptions {
13184
13192
  /**
13185
13193
  * The list of options to interact with; Equivalent to options prop of the QOptionsGroup component
13186
13194
  */
13187
- items?: any[];
13195
+ items?: readonly any[];
13188
13196
  /**
13189
13197
  * Is the model valid?
13190
13198
  * @param model The current model (String if it's of type radio or Array otherwise)
13191
13199
  * @returns The selection passed validation or not
13192
13200
  */
13193
- isValid?: (model: string | any[]) => boolean;
13201
+ isValid?: (model: string | readonly any[]) => boolean;
13194
13202
  };
13195
13203
  /**
13196
13204
  * 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
@@ -13832,168 +13840,6 @@ declare module "@vue/runtime-core" {
13832
13840
  }
13833
13841
  }
13834
13842
 
13835
- import { GlobalQuasarLanguage, GlobalQuasarIconSet } from "./globals";
13836
- export interface QuasarPluginOptions {
13837
- lang: GlobalQuasarLanguage;
13838
- config: any;
13839
- iconSet: GlobalQuasarIconSet;
13840
- components: {
13841
- QAjaxBar?: ComponentConstructor<QAjaxBar>;
13842
- QAvatar?: ComponentConstructor<QAvatar>;
13843
- QBadge?: ComponentConstructor<QBadge>;
13844
- QBanner?: ComponentConstructor<QBanner>;
13845
- QBar?: ComponentConstructor<QBar>;
13846
- QBreadcrumbs?: ComponentConstructor<QBreadcrumbs>;
13847
- QBreadcrumbsEl?: ComponentConstructor<QBreadcrumbsEl>;
13848
- QBtnDropdown?: ComponentConstructor<QBtnDropdown>;
13849
- QBtnGroup?: ComponentConstructor<QBtnGroup>;
13850
- QBtnToggle?: ComponentConstructor<QBtnToggle>;
13851
- QBtn?: ComponentConstructor<QBtn>;
13852
- QCard?: ComponentConstructor<QCard>;
13853
- QCardActions?: ComponentConstructor<QCardActions>;
13854
- QCardSection?: ComponentConstructor<QCardSection>;
13855
- QCarousel?: ComponentConstructor<QCarousel>;
13856
- QCarouselControl?: ComponentConstructor<QCarouselControl>;
13857
- QCarouselSlide?: ComponentConstructor<QCarouselSlide>;
13858
- QChatMessage?: ComponentConstructor<QChatMessage>;
13859
- QCheckbox?: ComponentConstructor<QCheckbox>;
13860
- QChip?: ComponentConstructor<QChip>;
13861
- QCircularProgress?: ComponentConstructor<QCircularProgress>;
13862
- QColor?: ComponentConstructor<QColor>;
13863
- QDate?: ComponentConstructor<QDate>;
13864
- QDialog?: ComponentConstructor<QDialog>;
13865
- QDrawer?: ComponentConstructor<QDrawer>;
13866
- QEditor?: ComponentConstructor<QEditor>;
13867
- QExpansionItem?: ComponentConstructor<QExpansionItem>;
13868
- QFab?: ComponentConstructor<QFab>;
13869
- QFabAction?: ComponentConstructor<QFabAction>;
13870
- QField?: ComponentConstructor<QField>;
13871
- QFile?: ComponentConstructor<QFile>;
13872
- QFooter?: ComponentConstructor<QFooter>;
13873
- QForm?: ComponentConstructor<QForm>;
13874
- QFormChildMixin?: ComponentConstructor<QFormChildMixin>;
13875
- QHeader?: ComponentConstructor<QHeader>;
13876
- QIcon?: ComponentConstructor<QIcon>;
13877
- QImg?: ComponentConstructor<QImg>;
13878
- QInfiniteScroll?: ComponentConstructor<QInfiniteScroll>;
13879
- QInnerLoading?: ComponentConstructor<QInnerLoading>;
13880
- QInput?: ComponentConstructor<QInput>;
13881
- QIntersection?: ComponentConstructor<QIntersection>;
13882
- QItem?: ComponentConstructor<QItem>;
13883
- QItemLabel?: ComponentConstructor<QItemLabel>;
13884
- QItemSection?: ComponentConstructor<QItemSection>;
13885
- QList?: ComponentConstructor<QList>;
13886
- QKnob?: ComponentConstructor<QKnob>;
13887
- QLayout?: ComponentConstructor<QLayout>;
13888
- QLinearProgress?: ComponentConstructor<QLinearProgress>;
13889
- QMarkupTable?: ComponentConstructor<QMarkupTable>;
13890
- QMenu?: ComponentConstructor<QMenu>;
13891
- QNoSsr?: ComponentConstructor<QNoSsr>;
13892
- QOptionGroup?: ComponentConstructor<QOptionGroup>;
13893
- QPageScroller?: ComponentConstructor<QPageScroller>;
13894
- QPageSticky?: ComponentConstructor<QPageSticky>;
13895
- QPage?: ComponentConstructor<QPage>;
13896
- QPageContainer?: ComponentConstructor<QPageContainer>;
13897
- QPagination?: ComponentConstructor<QPagination>;
13898
- QParallax?: ComponentConstructor<QParallax>;
13899
- QPopupEdit?: ComponentConstructor<QPopupEdit>;
13900
- QPopupProxy?: ComponentConstructor<QPopupProxy>;
13901
- QPullToRefresh?: ComponentConstructor<QPullToRefresh>;
13902
- QRadio?: ComponentConstructor<QRadio>;
13903
- QRange?: ComponentConstructor<QRange>;
13904
- QRating?: ComponentConstructor<QRating>;
13905
- QResizeObserver?: ComponentConstructor<QResizeObserver>;
13906
- QResponsive?: ComponentConstructor<QResponsive>;
13907
- QScrollArea?: ComponentConstructor<QScrollArea>;
13908
- QScrollObserver?: ComponentConstructor<QScrollObserver>;
13909
- QSelect?: ComponentConstructor<QSelect>;
13910
- QSeparator?: ComponentConstructor<QSeparator>;
13911
- QSkeleton?: ComponentConstructor<QSkeleton>;
13912
- QSlideItem?: ComponentConstructor<QSlideItem>;
13913
- QSlideTransition?: ComponentConstructor<QSlideTransition>;
13914
- QSlider?: ComponentConstructor<QSlider>;
13915
- QSpace?: ComponentConstructor<QSpace>;
13916
- QSpinner?: ComponentConstructor<QSpinner>;
13917
- QSpinnerAudio?: ComponentConstructor<QSpinnerAudio>;
13918
- QSpinnerBall?: ComponentConstructor<QSpinnerBall>;
13919
- QSpinnerBars?: ComponentConstructor<QSpinnerBars>;
13920
- QSpinnerBox?: ComponentConstructor<QSpinnerBox>;
13921
- QSpinnerClock?: ComponentConstructor<QSpinnerClock>;
13922
- QSpinnerComment?: ComponentConstructor<QSpinnerComment>;
13923
- QSpinnerCube?: ComponentConstructor<QSpinnerCube>;
13924
- QSpinnerDots?: ComponentConstructor<QSpinnerDots>;
13925
- QSpinnerFacebook?: ComponentConstructor<QSpinnerFacebook>;
13926
- QSpinnerGears?: ComponentConstructor<QSpinnerGears>;
13927
- QSpinnerGrid?: ComponentConstructor<QSpinnerGrid>;
13928
- QSpinnerHearts?: ComponentConstructor<QSpinnerHearts>;
13929
- QSpinnerHourglass?: ComponentConstructor<QSpinnerHourglass>;
13930
- QSpinnerInfinity?: ComponentConstructor<QSpinnerInfinity>;
13931
- QSpinnerIos?: ComponentConstructor<QSpinnerIos>;
13932
- QSpinnerOrbit?: ComponentConstructor<QSpinnerOrbit>;
13933
- QSpinnerOval?: ComponentConstructor<QSpinnerOval>;
13934
- QSpinnerPie?: ComponentConstructor<QSpinnerPie>;
13935
- QSpinnerPuff?: ComponentConstructor<QSpinnerPuff>;
13936
- QSpinnerRadio?: ComponentConstructor<QSpinnerRadio>;
13937
- QSpinnerRings?: ComponentConstructor<QSpinnerRings>;
13938
- QSpinnerTail?: ComponentConstructor<QSpinnerTail>;
13939
- QSplitter?: ComponentConstructor<QSplitter>;
13940
- QStep?: ComponentConstructor<QStep>;
13941
- QStepper?: ComponentConstructor<QStepper>;
13942
- QStepperNavigation?: ComponentConstructor<QStepperNavigation>;
13943
- QTabPanel?: ComponentConstructor<QTabPanel>;
13944
- QTabPanels?: ComponentConstructor<QTabPanels>;
13945
- QTable?: ComponentConstructor<QTable>;
13946
- QTd?: ComponentConstructor<QTd>;
13947
- QTh?: ComponentConstructor<QTh>;
13948
- QTr?: ComponentConstructor<QTr>;
13949
- QRouteTab?: ComponentConstructor<QRouteTab>;
13950
- QTab?: ComponentConstructor<QTab>;
13951
- QTabs?: ComponentConstructor<QTabs>;
13952
- QTime?: ComponentConstructor<QTime>;
13953
- QTimeline?: ComponentConstructor<QTimeline>;
13954
- QTimelineEntry?: ComponentConstructor<QTimelineEntry>;
13955
- QToggle?: ComponentConstructor<QToggle>;
13956
- QToolbar?: ComponentConstructor<QToolbar>;
13957
- QToolbarTitle?: ComponentConstructor<QToolbarTitle>;
13958
- QTooltip?: ComponentConstructor<QTooltip>;
13959
- QTree?: ComponentConstructor<QTree>;
13960
- QUploader?: ComponentConstructor<QUploader>;
13961
- QUploaderAddTrigger?: ComponentConstructor<QUploaderAddTrigger>;
13962
- QVideo?: ComponentConstructor<QVideo>;
13963
- QVirtualScroll?: ComponentConstructor<QVirtualScroll>;
13964
- };
13965
- directives: {
13966
- ClosePopup?: ClosePopup;
13967
- Intersection?: Intersection;
13968
- Morph?: Morph;
13969
- Mutation?: Mutation;
13970
- Ripple?: Ripple;
13971
- Scroll?: Scroll;
13972
- ScrollFire?: ScrollFire;
13973
- TouchHold?: TouchHold;
13974
- TouchPan?: TouchPan;
13975
- TouchRepeat?: TouchRepeat;
13976
- TouchSwipe?: TouchSwipe;
13977
- };
13978
- plugins: {
13979
- AddressbarColor?: AddressbarColor;
13980
- AppFullscreen?: AppFullscreen;
13981
- AppVisibility?: AppVisibility;
13982
- BottomSheet?: BottomSheet;
13983
- Cookies?: Cookies;
13984
- Dark?: Dark;
13985
- Dialog?: Dialog;
13986
- Loading?: Loading;
13987
- LoadingBar?: LoadingBar;
13988
- LocalStorage?: LocalStorage;
13989
- Meta?: Meta;
13990
- Notify?: Notify;
13991
- Platform?: Platform;
13992
- Screen?: Screen;
13993
- SessionStorage?: SessionStorage;
13994
- };
13995
- }
13996
-
13997
13843
  import "./lang";
13998
13844
  declare module "./lang" {
13999
13845
  export interface QuasarLanguageCodesHolder {
@@ -14033,6 +13879,7 @@ declare module "./lang" {
14033
13879
  lu: true;
14034
13880
  lv: true;
14035
13881
  ml: true;
13882
+ mm: true;
14036
13883
  ms: true;
14037
13884
  my: true;
14038
13885
  "nb-NO": true;
@@ -14044,6 +13891,7 @@ declare module "./lang" {
14044
13891
  ru: true;
14045
13892
  sk: true;
14046
13893
  sl: true;
13894
+ sm: true;
14047
13895
  "sr-CYR": true;
14048
13896
  sr: true;
14049
13897
  sv: true;
@@ -14066,6 +13914,7 @@ export * from "./globals";
14066
13914
  export * from "./extras";
14067
13915
  export * from "./lang";
14068
13916
  export * from "./api";
13917
+ export * from "./plugin";
14069
13918
 
14070
13919
  export const AddressbarColor: AddressbarColor;
14071
13920
  export const AppFullscreen: AppFullscreen;
@@ -14217,6 +14066,167 @@ export const QUploaderAddTrigger: ComponentConstructor<QUploaderAddTrigger>;
14217
14066
  export const QVideo: ComponentConstructor<QVideo>;
14218
14067
  export const QVirtualScroll: ComponentConstructor<QVirtualScroll>;
14219
14068
 
14069
+ declare module "./plugin" {
14070
+ interface QuasarComponents {
14071
+ QAjaxBar?: ComponentConstructor<QAjaxBar>;
14072
+ QAvatar?: ComponentConstructor<QAvatar>;
14073
+ QBadge?: ComponentConstructor<QBadge>;
14074
+ QBanner?: ComponentConstructor<QBanner>;
14075
+ QBar?: ComponentConstructor<QBar>;
14076
+ QBreadcrumbs?: ComponentConstructor<QBreadcrumbs>;
14077
+ QBreadcrumbsEl?: ComponentConstructor<QBreadcrumbsEl>;
14078
+ QBtnDropdown?: ComponentConstructor<QBtnDropdown>;
14079
+ QBtnGroup?: ComponentConstructor<QBtnGroup>;
14080
+ QBtnToggle?: ComponentConstructor<QBtnToggle>;
14081
+ QBtn?: ComponentConstructor<QBtn>;
14082
+ QCard?: ComponentConstructor<QCard>;
14083
+ QCardActions?: ComponentConstructor<QCardActions>;
14084
+ QCardSection?: ComponentConstructor<QCardSection>;
14085
+ QCarousel?: ComponentConstructor<QCarousel>;
14086
+ QCarouselControl?: ComponentConstructor<QCarouselControl>;
14087
+ QCarouselSlide?: ComponentConstructor<QCarouselSlide>;
14088
+ QChatMessage?: ComponentConstructor<QChatMessage>;
14089
+ QCheckbox?: ComponentConstructor<QCheckbox>;
14090
+ QChip?: ComponentConstructor<QChip>;
14091
+ QCircularProgress?: ComponentConstructor<QCircularProgress>;
14092
+ QColor?: ComponentConstructor<QColor>;
14093
+ QDate?: ComponentConstructor<QDate>;
14094
+ QDialog?: ComponentConstructor<QDialog>;
14095
+ QDrawer?: ComponentConstructor<QDrawer>;
14096
+ QEditor?: ComponentConstructor<QEditor>;
14097
+ QExpansionItem?: ComponentConstructor<QExpansionItem>;
14098
+ QFab?: ComponentConstructor<QFab>;
14099
+ QFabAction?: ComponentConstructor<QFabAction>;
14100
+ QField?: ComponentConstructor<QField>;
14101
+ QFile?: ComponentConstructor<QFile>;
14102
+ QFooter?: ComponentConstructor<QFooter>;
14103
+ QForm?: ComponentConstructor<QForm>;
14104
+ QFormChildMixin?: ComponentConstructor<QFormChildMixin>;
14105
+ QHeader?: ComponentConstructor<QHeader>;
14106
+ QIcon?: ComponentConstructor<QIcon>;
14107
+ QImg?: ComponentConstructor<QImg>;
14108
+ QInfiniteScroll?: ComponentConstructor<QInfiniteScroll>;
14109
+ QInnerLoading?: ComponentConstructor<QInnerLoading>;
14110
+ QInput?: ComponentConstructor<QInput>;
14111
+ QIntersection?: ComponentConstructor<QIntersection>;
14112
+ QItem?: ComponentConstructor<QItem>;
14113
+ QItemLabel?: ComponentConstructor<QItemLabel>;
14114
+ QItemSection?: ComponentConstructor<QItemSection>;
14115
+ QList?: ComponentConstructor<QList>;
14116
+ QKnob?: ComponentConstructor<QKnob>;
14117
+ QLayout?: ComponentConstructor<QLayout>;
14118
+ QLinearProgress?: ComponentConstructor<QLinearProgress>;
14119
+ QMarkupTable?: ComponentConstructor<QMarkupTable>;
14120
+ QMenu?: ComponentConstructor<QMenu>;
14121
+ QNoSsr?: ComponentConstructor<QNoSsr>;
14122
+ QOptionGroup?: ComponentConstructor<QOptionGroup>;
14123
+ QPageScroller?: ComponentConstructor<QPageScroller>;
14124
+ QPageSticky?: ComponentConstructor<QPageSticky>;
14125
+ QPage?: ComponentConstructor<QPage>;
14126
+ QPageContainer?: ComponentConstructor<QPageContainer>;
14127
+ QPagination?: ComponentConstructor<QPagination>;
14128
+ QParallax?: ComponentConstructor<QParallax>;
14129
+ QPopupEdit?: ComponentConstructor<QPopupEdit>;
14130
+ QPopupProxy?: ComponentConstructor<QPopupProxy>;
14131
+ QPullToRefresh?: ComponentConstructor<QPullToRefresh>;
14132
+ QRadio?: ComponentConstructor<QRadio>;
14133
+ QRange?: ComponentConstructor<QRange>;
14134
+ QRating?: ComponentConstructor<QRating>;
14135
+ QResizeObserver?: ComponentConstructor<QResizeObserver>;
14136
+ QResponsive?: ComponentConstructor<QResponsive>;
14137
+ QScrollArea?: ComponentConstructor<QScrollArea>;
14138
+ QScrollObserver?: ComponentConstructor<QScrollObserver>;
14139
+ QSelect?: ComponentConstructor<QSelect>;
14140
+ QSeparator?: ComponentConstructor<QSeparator>;
14141
+ QSkeleton?: ComponentConstructor<QSkeleton>;
14142
+ QSlideItem?: ComponentConstructor<QSlideItem>;
14143
+ QSlideTransition?: ComponentConstructor<QSlideTransition>;
14144
+ QSlider?: ComponentConstructor<QSlider>;
14145
+ QSpace?: ComponentConstructor<QSpace>;
14146
+ QSpinner?: ComponentConstructor<QSpinner>;
14147
+ QSpinnerAudio?: ComponentConstructor<QSpinnerAudio>;
14148
+ QSpinnerBall?: ComponentConstructor<QSpinnerBall>;
14149
+ QSpinnerBars?: ComponentConstructor<QSpinnerBars>;
14150
+ QSpinnerBox?: ComponentConstructor<QSpinnerBox>;
14151
+ QSpinnerClock?: ComponentConstructor<QSpinnerClock>;
14152
+ QSpinnerComment?: ComponentConstructor<QSpinnerComment>;
14153
+ QSpinnerCube?: ComponentConstructor<QSpinnerCube>;
14154
+ QSpinnerDots?: ComponentConstructor<QSpinnerDots>;
14155
+ QSpinnerFacebook?: ComponentConstructor<QSpinnerFacebook>;
14156
+ QSpinnerGears?: ComponentConstructor<QSpinnerGears>;
14157
+ QSpinnerGrid?: ComponentConstructor<QSpinnerGrid>;
14158
+ QSpinnerHearts?: ComponentConstructor<QSpinnerHearts>;
14159
+ QSpinnerHourglass?: ComponentConstructor<QSpinnerHourglass>;
14160
+ QSpinnerInfinity?: ComponentConstructor<QSpinnerInfinity>;
14161
+ QSpinnerIos?: ComponentConstructor<QSpinnerIos>;
14162
+ QSpinnerOrbit?: ComponentConstructor<QSpinnerOrbit>;
14163
+ QSpinnerOval?: ComponentConstructor<QSpinnerOval>;
14164
+ QSpinnerPie?: ComponentConstructor<QSpinnerPie>;
14165
+ QSpinnerPuff?: ComponentConstructor<QSpinnerPuff>;
14166
+ QSpinnerRadio?: ComponentConstructor<QSpinnerRadio>;
14167
+ QSpinnerRings?: ComponentConstructor<QSpinnerRings>;
14168
+ QSpinnerTail?: ComponentConstructor<QSpinnerTail>;
14169
+ QSplitter?: ComponentConstructor<QSplitter>;
14170
+ QStep?: ComponentConstructor<QStep>;
14171
+ QStepper?: ComponentConstructor<QStepper>;
14172
+ QStepperNavigation?: ComponentConstructor<QStepperNavigation>;
14173
+ QTabPanel?: ComponentConstructor<QTabPanel>;
14174
+ QTabPanels?: ComponentConstructor<QTabPanels>;
14175
+ QTable?: ComponentConstructor<QTable>;
14176
+ QTd?: ComponentConstructor<QTd>;
14177
+ QTh?: ComponentConstructor<QTh>;
14178
+ QTr?: ComponentConstructor<QTr>;
14179
+ QRouteTab?: ComponentConstructor<QRouteTab>;
14180
+ QTab?: ComponentConstructor<QTab>;
14181
+ QTabs?: ComponentConstructor<QTabs>;
14182
+ QTime?: ComponentConstructor<QTime>;
14183
+ QTimeline?: ComponentConstructor<QTimeline>;
14184
+ QTimelineEntry?: ComponentConstructor<QTimelineEntry>;
14185
+ QToggle?: ComponentConstructor<QToggle>;
14186
+ QToolbar?: ComponentConstructor<QToolbar>;
14187
+ QToolbarTitle?: ComponentConstructor<QToolbarTitle>;
14188
+ QTooltip?: ComponentConstructor<QTooltip>;
14189
+ QTree?: ComponentConstructor<QTree>;
14190
+ QUploader?: ComponentConstructor<QUploader>;
14191
+ QUploaderAddTrigger?: ComponentConstructor<QUploaderAddTrigger>;
14192
+ QVideo?: ComponentConstructor<QVideo>;
14193
+ QVirtualScroll?: ComponentConstructor<QVirtualScroll>;
14194
+ }
14195
+
14196
+ interface QuasarDirectives {
14197
+ ClosePopup?: ClosePopup;
14198
+ Intersection?: Intersection;
14199
+ Morph?: Morph;
14200
+ Mutation?: Mutation;
14201
+ Ripple?: Ripple;
14202
+ Scroll?: Scroll;
14203
+ ScrollFire?: ScrollFire;
14204
+ TouchHold?: TouchHold;
14205
+ TouchPan?: TouchPan;
14206
+ TouchRepeat?: TouchRepeat;
14207
+ TouchSwipe?: TouchSwipe;
14208
+ }
14209
+
14210
+ interface QuasarPlugins {
14211
+ AddressbarColor?: AddressbarColor;
14212
+ AppFullscreen?: AppFullscreen;
14213
+ AppVisibility?: AppVisibility;
14214
+ BottomSheet?: BottomSheet;
14215
+ Cookies?: Cookies;
14216
+ Dark?: Dark;
14217
+ Dialog?: Dialog;
14218
+ Loading?: Loading;
14219
+ LoadingBar?: LoadingBar;
14220
+ LocalStorage?: LocalStorage;
14221
+ Meta?: Meta;
14222
+ Notify?: Notify;
14223
+ Platform?: Platform;
14224
+ Screen?: Screen;
14225
+ SessionStorage?: SessionStorage;
14226
+ }
14227
+ }
14228
+
14229
+ import { QuasarPluginOptions } from "./plugin";
14220
14230
  export const Quasar: {
14221
14231
  install: (app: App, options: Partial<QuasarPluginOptions>) => any;
14222
14232
  } & QSingletonGlobals;