quasar 2.4.12 → 2.4.13

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 (139) hide show
  1. package/dist/api/BottomSheet.json +4 -0
  2. package/dist/api/Dialog.json +5 -1
  3. package/dist/api/Notify.json +20 -10
  4. package/dist/api/QBtnDropdown.json +4 -2
  5. package/dist/api/QEditor.json +4 -2
  6. package/dist/api/QExpansionItem.json +6 -3
  7. package/dist/api/QFab.json +4 -2
  8. package/dist/api/QFabAction.json +4 -2
  9. package/dist/api/QFile.json +4 -2
  10. package/dist/api/QImg.json +1 -2
  11. package/dist/api/QInnerLoading.json +2 -1
  12. package/dist/api/QInput.json +4 -2
  13. package/dist/api/QPagination.json +4 -2
  14. package/dist/api/QRange.json +9 -0
  15. package/dist/api/QScrollArea.json +13 -5
  16. package/dist/api/QSelect.json +6 -3
  17. package/dist/api/QSlider.json +9 -0
  18. package/dist/api/QSplitter.json +8 -4
  19. package/dist/api/QTable.json +9 -0
  20. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  21. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  22. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  23. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  24. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  25. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  26. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  27. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  28. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  29. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  30. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  31. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  32. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  33. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  49. package/dist/icon-set/themify.umd.prod.js +1 -1
  50. package/dist/lang/ar.umd.prod.js +1 -1
  51. package/dist/lang/az-Latn.umd.prod.js +1 -1
  52. package/dist/lang/bg.umd.prod.js +1 -1
  53. package/dist/lang/bn.umd.prod.js +1 -1
  54. package/dist/lang/ca.umd.prod.js +1 -1
  55. package/dist/lang/cs.umd.prod.js +1 -1
  56. package/dist/lang/da.umd.prod.js +1 -1
  57. package/dist/lang/de.umd.prod.js +1 -1
  58. package/dist/lang/el.umd.prod.js +1 -1
  59. package/dist/lang/en-GB.umd.prod.js +1 -1
  60. package/dist/lang/en-US.umd.prod.js +1 -1
  61. package/dist/lang/eo.umd.prod.js +1 -1
  62. package/dist/lang/es.umd.prod.js +1 -1
  63. package/dist/lang/et.umd.prod.js +1 -1
  64. package/dist/lang/fa-IR.umd.prod.js +1 -1
  65. package/dist/lang/fa.umd.prod.js +1 -1
  66. package/dist/lang/fi.umd.prod.js +1 -1
  67. package/dist/lang/fr.umd.prod.js +1 -1
  68. package/dist/lang/gn.umd.prod.js +1 -1
  69. package/dist/lang/he.umd.prod.js +1 -1
  70. package/dist/lang/hr.umd.prod.js +1 -1
  71. package/dist/lang/hu.umd.prod.js +1 -1
  72. package/dist/lang/id.umd.prod.js +1 -1
  73. package/dist/lang/is.umd.prod.js +1 -1
  74. package/dist/lang/it.umd.prod.js +1 -1
  75. package/dist/lang/ja.umd.prod.js +1 -1
  76. package/dist/lang/km.umd.prod.js +1 -1
  77. package/dist/lang/ko-KR.umd.prod.js +1 -1
  78. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  79. package/dist/lang/lt.umd.prod.js +1 -1
  80. package/dist/lang/lu.umd.prod.js +1 -1
  81. package/dist/lang/lv.umd.prod.js +1 -1
  82. package/dist/lang/ml.umd.prod.js +1 -1
  83. package/dist/lang/ms.umd.prod.js +1 -1
  84. package/dist/lang/my.umd.prod.js +1 -1
  85. package/dist/lang/nb-NO.umd.prod.js +1 -1
  86. package/dist/lang/nl.umd.prod.js +1 -1
  87. package/dist/lang/pl.umd.prod.js +1 -1
  88. package/dist/lang/pt-BR.umd.prod.js +1 -1
  89. package/dist/lang/pt.umd.prod.js +1 -1
  90. package/dist/lang/ro.umd.prod.js +1 -1
  91. package/dist/lang/ru.umd.prod.js +1 -1
  92. package/dist/lang/sk.umd.prod.js +1 -1
  93. package/dist/lang/sl.umd.prod.js +1 -1
  94. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  95. package/dist/lang/sr.umd.prod.js +1 -1
  96. package/dist/lang/sv.umd.prod.js +1 -1
  97. package/dist/lang/ta.umd.prod.js +1 -1
  98. package/dist/lang/th.umd.prod.js +1 -1
  99. package/dist/lang/tr.umd.prod.js +1 -1
  100. package/dist/lang/ug.umd.prod.js +1 -1
  101. package/dist/lang/uk.umd.prod.js +1 -1
  102. package/dist/lang/vi.umd.prod.js +1 -1
  103. package/dist/lang/zh-CN.umd.prod.js +1 -1
  104. package/dist/lang/zh-TW.umd.prod.js +1 -1
  105. package/dist/quasar.cjs.prod.js +2 -2
  106. package/dist/quasar.esm.prod.js +2 -2
  107. package/dist/quasar.sass +1 -1
  108. package/dist/quasar.umd.js +10 -8
  109. package/dist/quasar.umd.prod.js +2 -2
  110. package/dist/ssr-directives/Morph.js +1 -1
  111. package/dist/types/api/slider.d.ts +6 -7
  112. package/dist/types/api/vue-prop-types.ts +15 -0
  113. package/dist/types/api.d.ts +1 -0
  114. package/dist/types/index.d.ts +75 -171
  115. package/dist/types/utils/dom.d.ts +4 -2
  116. package/dist/types/utils.d.ts +3 -1
  117. package/dist/vetur/quasar-attributes.json +30 -30
  118. package/dist/web-types/web-types.json +31 -31
  119. package/package.json +1 -1
  120. package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
  121. package/src/components/editor/QEditor.json +3 -1
  122. package/src/components/expansion-item/QExpansionItem.json +6 -3
  123. package/src/components/fab/use-fab.json +4 -2
  124. package/src/components/file/QFile.json +4 -2
  125. package/src/components/img/QImg.json +2 -3
  126. package/src/components/inner-loading/QInnerLoading.json +2 -1
  127. package/src/components/input/QInput.json +4 -2
  128. package/src/components/pagination/QPagination.json +4 -2
  129. package/src/components/scroll-area/QScrollArea.json +13 -5
  130. package/src/components/select/QSelect.json +6 -3
  131. package/src/components/slider/use-slider.json +9 -0
  132. package/src/components/splitter/QSplitter.json +8 -4
  133. package/src/components/stepper/QStep.js +1 -1
  134. package/src/components/table/QTable.json +9 -0
  135. package/src/components/virtual-scroll/use-virtual-scroll.js +6 -4
  136. package/src/plugins/BottomSheet.json +1 -0
  137. package/src/plugins/Dialog.json +1 -0
  138. package/src/plugins/Notify.json +20 -10
  139. package/src/utils/private/global-dialog.json +3 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.4.12
2
+ * Quasar Framework v2.4.13
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -2,9 +2,12 @@
2
2
 
3
3
  // --- Props
4
4
 
5
+ import { VueClassProp, VueStyleObjectProp } from "./vue-prop-types";
6
+
5
7
  interface SliderMarkerLabelPartialDefinition {
6
8
  label?: number | string;
7
- style?: Partial<CSSStyleDeclaration>;
9
+ classes?: VueClassProp;
10
+ style?: VueStyleObjectProp;
8
11
  }
9
12
 
10
13
  interface SliderMarkerLabelDefinition extends SliderMarkerLabelPartialDefinition {
@@ -19,15 +22,11 @@ interface SliderMarkerLabelObjectDefinition {
19
22
  [value: number]: string | SliderMarkerLabelDefinition;
20
23
  }
21
24
 
22
- declare function SliderMarkerLabelFunctionDefinition(
23
- value: number
24
- ): string | SliderMarkerLabelDefinition;
25
-
26
25
  export type SliderMarkerLabels =
27
26
  | boolean
28
27
  | Array<SliderMarkerLabelDefinitionRequiredValue>
29
28
  | SliderMarkerLabelObjectDefinition
30
- | typeof SliderMarkerLabelFunctionDefinition
29
+ | ((value: number) => string | SliderMarkerLabelDefinition)
31
30
 
32
31
  // --- Slots
33
32
 
@@ -36,7 +35,7 @@ export type SliderMarkerLabelConfig = {
36
35
  value: number;
37
36
  label: number | string;
38
37
  classes: string;
39
- style: Partial<CSSStyleDeclaration>
38
+ style: VueStyleObjectProp
40
39
  };
41
40
 
42
41
  export type SliderMarkerLabelArrayConfig = SliderMarkerLabelConfig[];
@@ -0,0 +1,15 @@
1
+ export type VueClassObjectProp = {
2
+ [value: string]: any
3
+ }
4
+
5
+ export type VueClassProp =
6
+ | string
7
+ | Array<VueClassProp>
8
+ | VueClassObjectProp;
9
+
10
+ export type VueStyleObjectProp = Partial<CSSStyleDeclaration>;
11
+
12
+ export type VueStyleProp =
13
+ | string
14
+ | Array<VueStyleProp>
15
+ | VueStyleObjectProp;
@@ -1,3 +1,4 @@
1
+ export * from "./api/vue-prop-types";
1
2
  export * from "./api/cookies";
2
3
  export * from "./api/qfile";
3
4
  export * from "./api/qselect";
@@ -60,11 +60,11 @@ export interface BottomSheet {
60
60
  /**
61
61
  * CSS Class name to apply to the Dialog's QCard
62
62
  */
63
- class?: string | any[] | any;
63
+ class?: VueClassProp;
64
64
  /**
65
65
  * CSS style to apply to the Dialog's QCard
66
66
  */
67
- style?: string | any[] | any;
67
+ style?: VueStyleProp;
68
68
  /**
69
69
  * Title
70
70
  */
@@ -80,7 +80,7 @@ export interface BottomSheet {
80
80
  /**
81
81
  * CSS classes for this action
82
82
  */
83
- classes?: string | any[] | any;
83
+ classes?: VueClassProp;
84
84
  /**
85
85
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
86
86
  */
@@ -519,11 +519,11 @@ export interface Notify {
519
519
  /**
520
520
  * Style definitions to be attributed to the badge
521
521
  */
522
- badgeStyle?: any[] | string | any;
522
+ badgeStyle?: VueStyleProp;
523
523
  /**
524
524
  * Class definitions to be attributed to the badge
525
525
  */
526
- badgeClass?: any[] | string | any;
526
+ badgeClass?: VueClassProp;
527
527
  /**
528
528
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
529
529
  */
@@ -531,7 +531,7 @@ export interface Notify {
531
531
  /**
532
532
  * Class definitions to be attributed to the progress bar
533
533
  */
534
- progressClass?: any[] | string | any;
534
+ progressClass?: VueClassProp;
535
535
  /**
536
536
  * Add CSS class(es) to the notification for easier customization
537
537
  */
@@ -611,7 +611,7 @@ export interface Notify {
611
611
  /**
612
612
  * Class definitions to be attributed to the progress bar
613
613
  */
614
- progressClass?: any[] | string | any;
614
+ progressClass?: VueClassProp;
615
615
  /**
616
616
  * Add CSS class(es) to the notification for easier customization
617
617
  */
@@ -717,11 +717,11 @@ export interface Notify {
717
717
  /**
718
718
  * Style definitions to be attributed to the badge
719
719
  */
720
- badgeStyle?: any[] | string | any;
720
+ badgeStyle?: VueStyleProp;
721
721
  /**
722
722
  * Class definitions to be attributed to the badge
723
723
  */
724
- badgeClass?: any[] | string | any;
724
+ badgeClass?: VueClassProp;
725
725
  /**
726
726
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
727
727
  */
@@ -729,7 +729,7 @@ export interface Notify {
729
729
  /**
730
730
  * Class definitions to be attributed to the progress bar
731
731
  */
732
- progressClass?: any[] | string | any;
732
+ progressClass?: VueClassProp;
733
733
  /**
734
734
  * Add CSS class(es) to the notification for easier customization
735
735
  */
@@ -834,11 +834,11 @@ export interface Notify {
834
834
  /**
835
835
  * Style definitions to be attributed to the badge
836
836
  */
837
- badgeStyle?: any[] | string | any;
837
+ badgeStyle?: VueStyleProp;
838
838
  /**
839
839
  * Class definitions to be attributed to the badge
840
840
  */
841
- badgeClass?: any[] | string | any;
841
+ badgeClass?: VueClassProp;
842
842
  /**
843
843
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
844
844
  */
@@ -846,7 +846,7 @@ export interface Notify {
846
846
  /**
847
847
  * Class definitions to be attributed to the progress bar
848
848
  */
849
- progressClass?: any[] | string | any;
849
+ progressClass?: VueClassProp;
850
850
  /**
851
851
  * Add CSS class(es) to the notification for easier customization
852
852
  */
@@ -1739,11 +1739,11 @@ export interface QBtnDropdownProps {
1739
1739
  /**
1740
1740
  * Style definitions to be attributed to the menu
1741
1741
  */
1742
- contentStyle?: any[] | string | any | undefined;
1742
+ contentStyle?: VueStyleProp | undefined;
1743
1743
  /**
1744
1744
  * Class definitions to be attributed to the menu
1745
1745
  */
1746
- contentClass?: any[] | string | any | undefined;
1746
+ contentClass?: VueClassProp | undefined;
1747
1747
  /**
1748
1748
  * Allows the menu to cover the button. When used, the 'menu-self' and 'menu-fit' props are no longer effective
1749
1749
  */
@@ -3847,11 +3847,11 @@ export interface QEditorProps {
3847
3847
  /**
3848
3848
  * Object with CSS properties and values for styling the container of QEditor
3849
3849
  */
3850
- contentStyle?: any | undefined;
3850
+ contentStyle?: VueStyleObjectProp | undefined;
3851
3851
  /**
3852
3852
  * CSS classes for the input area
3853
3853
  */
3854
- contentClass?: any | any[] | string | undefined;
3854
+ contentClass?: VueClassProp | undefined;
3855
3855
  /**
3856
3856
  * Text to display as placeholder
3857
3857
  */
@@ -3952,7 +3952,7 @@ export interface QExpansionItemProps {
3952
3952
  /**
3953
3953
  * Apply custom class(es) to the expand icon item section
3954
3954
  */
3955
- expandIconClass?: any[] | string | any | undefined;
3955
+ expandIconClass?: VueClassProp | undefined;
3956
3956
  /**
3957
3957
  * Header label (unless using 'header' slot)
3958
3958
  */
@@ -4021,11 +4021,11 @@ export interface QExpansionItemProps {
4021
4021
  /**
4022
4022
  * Apply custom style to the header
4023
4023
  */
4024
- headerStyle?: any[] | string | any | undefined;
4024
+ headerStyle?: VueStyleProp | undefined;
4025
4025
  /**
4026
4026
  * Apply custom class(es) to the header
4027
4027
  */
4028
- headerClass?: any[] | string | any | undefined;
4028
+ headerClass?: VueClassProp | undefined;
4029
4029
  /**
4030
4030
  * Emitted when showing/hidden state changes; Is also used by v-model
4031
4031
  * @param value New state (showing/hidden)
@@ -4148,11 +4148,11 @@ export interface QFabProps {
4148
4148
  /**
4149
4149
  * Class definitions to be attributed to the label container
4150
4150
  */
4151
- labelClass?: any[] | string | any | undefined;
4151
+ labelClass?: VueClassProp | undefined;
4152
4152
  /**
4153
4153
  * Style definitions to be attributed to the label container
4154
4154
  */
4155
- labelStyle?: any[] | string | any | undefined;
4155
+ labelStyle?: VueStyleProp | undefined;
4156
4156
  /**
4157
4157
  * Apply a rectangle aspect to the FAB
4158
4158
  */
@@ -4338,11 +4338,11 @@ export interface QFabActionProps {
4338
4338
  /**
4339
4339
  * Class definitions to be attributed to the label container
4340
4340
  */
4341
- labelClass?: any[] | string | any | undefined;
4341
+ labelClass?: VueClassProp | undefined;
4342
4342
  /**
4343
4343
  * Style definitions to be attributed to the label container
4344
4344
  */
4345
- labelStyle?: any[] | string | any | undefined;
4345
+ labelStyle?: VueStyleProp | undefined;
4346
4346
  /**
4347
4347
  * Apply a rectangle aspect to the FAB
4348
4348
  */
@@ -4898,11 +4898,11 @@ export interface QFileProps {
4898
4898
  /**
4899
4899
  * Class definitions to be attributed to the underlying selection container
4900
4900
  */
4901
- inputClass?: any[] | string | any | undefined;
4901
+ inputClass?: VueClassProp | undefined;
4902
4902
  /**
4903
4903
  * Style definitions to be attributed to the underlying selection container
4904
4904
  */
4905
- inputStyle?: any[] | string | any | undefined;
4905
+ inputStyle?: VueStyleProp | undefined;
4906
4906
  /**
4907
4907
  * Emitted after files are picked and some do not pass the validation props (accept, max-file-size, max-total-size, filter, etc)
4908
4908
  * @param rejectedEntries Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation
@@ -5257,7 +5257,7 @@ export interface QImgProps {
5257
5257
  /**
5258
5258
  * Force the component to maintain an aspect ratio
5259
5259
  */
5260
- ratio?: string | number | string | number | undefined;
5260
+ ratio?: string | number | undefined;
5261
5261
  /**
5262
5262
  * Path to image
5263
5263
  */
@@ -5329,7 +5329,7 @@ export interface QImgProps {
5329
5329
  /**
5330
5330
  * Apply CSS to the native img element
5331
5331
  */
5332
- imgStyle?: any | undefined;
5332
+ imgStyle?: VueStyleObjectProp | undefined;
5333
5333
  /**
5334
5334
  * Color name for default Spinner (unless using a 'loading' slot)
5335
5335
  */
@@ -5497,7 +5497,7 @@ export interface QInnerLoadingProps {
5497
5497
  /**
5498
5498
  * Apply custom style to the label; Works along the 'label' prop only
5499
5499
  */
5500
- labelStyle?: any[] | string | any | undefined;
5500
+ labelStyle?: VueStyleProp | undefined;
5501
5501
  /**
5502
5502
  * Notify the component that the background is a dark color
5503
5503
  */
@@ -5715,11 +5715,11 @@ export interface QInputProps {
5715
5715
  /**
5716
5716
  * Class definitions to be attributed to the underlying input tag
5717
5717
  */
5718
- inputClass?: any[] | string | any | undefined;
5718
+ inputClass?: VueClassProp | undefined;
5719
5719
  /**
5720
5720
  * Style definitions to be attributed to the underlying input tag
5721
5721
  */
5722
- inputStyle?: any[] | string | any | undefined;
5722
+ inputStyle?: VueStyleProp | undefined;
5723
5723
  /**
5724
5724
  * When using the 'clearable' property, this event is emitted when the clear icon is clicked
5725
5725
  * @param value The previous value before clearing it
@@ -6825,11 +6825,11 @@ export interface QPaginationProps {
6825
6825
  /**
6826
6826
  * Style definitions to be attributed to the input (if using one)
6827
6827
  */
6828
- inputStyle?: any[] | string | any | undefined;
6828
+ inputStyle?: VueStyleProp | undefined;
6829
6829
  /**
6830
6830
  * Class definitions to be attributed to the input (if using one)
6831
6831
  */
6832
- inputClass?: any[] | string | any | undefined;
6832
+ inputClass?: VueClassProp | undefined;
6833
6833
  /**
6834
6834
  * Button size in CSS units, including unit name
6835
6835
  */
@@ -7500,12 +7500,7 @@ export interface QRangeProps {
7500
7500
  * @param value The marker value to transform
7501
7501
  * @returns Marker definition Object or directly a String for the label of the marker
7502
7502
  */
7503
- markerLabels?:
7504
- | SliderMarkerLabels
7505
- | SliderMarkerLabels
7506
- | SliderMarkerLabels
7507
- | SliderMarkerLabels
7508
- | undefined;
7503
+ markerLabels?: SliderMarkerLabels | undefined;
7509
7504
  /**
7510
7505
  * CSS class(es) to apply to the marker labels container
7511
7506
  */
@@ -7815,35 +7810,35 @@ export interface QScrollAreaProps {
7815
7810
  /**
7816
7811
  * Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)
7817
7812
  */
7818
- barStyle?: any[] | string | any | undefined;
7813
+ barStyle?: VueStyleProp | undefined;
7819
7814
  /**
7820
7815
  * Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop
7821
7816
  */
7822
- verticalBarStyle?: any[] | string | any | undefined;
7817
+ verticalBarStyle?: VueStyleProp | undefined;
7823
7818
  /**
7824
7819
  * Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop
7825
7820
  */
7826
- horizontalBarStyle?: any[] | string | any | undefined;
7821
+ horizontalBarStyle?: VueStyleProp | undefined;
7827
7822
  /**
7828
7823
  * Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)
7829
7824
  */
7830
- thumbStyle?: any | undefined;
7825
+ thumbStyle?: VueStyleObjectProp | undefined;
7831
7826
  /**
7832
7827
  * Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop
7833
7828
  */
7834
- verticalThumbStyle?: any | undefined;
7829
+ verticalThumbStyle?: VueStyleObjectProp | undefined;
7835
7830
  /**
7836
7831
  * Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop
7837
7832
  */
7838
- horizontalThumbStyle?: any | undefined;
7833
+ horizontalThumbStyle?: VueStyleObjectProp | undefined;
7839
7834
  /**
7840
7835
  * Object with CSS properties and values for styling the container of QScrollArea
7841
7836
  */
7842
- contentStyle?: any[] | string | any | undefined;
7837
+ contentStyle?: VueStyleProp | undefined;
7843
7838
  /**
7844
7839
  * Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)
7845
7840
  */
7846
- contentActiveStyle?: any[] | string | any | undefined;
7841
+ contentActiveStyle?: VueStyleProp | undefined;
7847
7842
  /**
7848
7843
  * Manually control the visibility of the scrollbar; Overrides default mouse over/leave behavior
7849
7844
  */
@@ -8404,7 +8399,7 @@ export interface QSelectProps {
8404
8399
  /**
8405
8400
  * Style definitions to be attributed to the popup content
8406
8401
  */
8407
- popupContentStyle?: any[] | string | any | undefined;
8402
+ popupContentStyle?: VueStyleProp | undefined;
8408
8403
  /**
8409
8404
  * Use an input tag where users can type
8410
8405
  */
@@ -8437,11 +8432,11 @@ export interface QSelectProps {
8437
8432
  /**
8438
8433
  * Class definitions to be attributed to the underlying input tag
8439
8434
  */
8440
- inputClass?: any[] | string | any | undefined;
8435
+ inputClass?: VueClassProp | undefined;
8441
8436
  /**
8442
8437
  * Style definitions to be attributed to the underlying input tag
8443
8438
  */
8444
- inputStyle?: any[] | string | any | undefined;
8439
+ inputStyle?: VueStyleProp | undefined;
8445
8440
  /**
8446
8441
  * Tabindex HTML attribute value
8447
8442
  */
@@ -9196,12 +9191,7 @@ export interface QSliderProps {
9196
9191
  * @param value The marker value to transform
9197
9192
  * @returns Marker definition Object or directly a String for the label of the marker
9198
9193
  */
9199
- markerLabels?:
9200
- | SliderMarkerLabels
9201
- | SliderMarkerLabels
9202
- | SliderMarkerLabels
9203
- | SliderMarkerLabels
9204
- | undefined;
9194
+ markerLabels?: SliderMarkerLabels | undefined;
9205
9195
  /**
9206
9196
  * CSS class(es) to apply to the marker labels container
9207
9197
  */
@@ -9743,19 +9733,19 @@ export interface QSplitterProps {
9743
9733
  /**
9744
9734
  * Class definitions to be attributed to the 'before' panel
9745
9735
  */
9746
- beforeClass?: any[] | string | any | undefined;
9736
+ beforeClass?: VueClassProp | undefined;
9747
9737
  /**
9748
9738
  * Class definitions to be attributed to the 'after' panel
9749
9739
  */
9750
- afterClass?: any[] | string | any | undefined;
9740
+ afterClass?: VueClassProp | undefined;
9751
9741
  /**
9752
9742
  * Class definitions to be attributed to the splitter separator
9753
9743
  */
9754
- separatorClass?: any[] | string | any | undefined;
9744
+ separatorClass?: VueClassProp | undefined;
9755
9745
  /**
9756
9746
  * Style definitions to be attributed to the splitter separator
9757
9747
  */
9758
- separatorStyle?: any[] | string | any | undefined;
9748
+ separatorStyle?: VueStyleProp | undefined;
9759
9749
  /**
9760
9750
  * Applies a default lighter color on the separator; To be used when background is darker; Avoid using when you are overriding through separator-class or separator-style props
9761
9751
  */
@@ -10432,39 +10422,39 @@ export interface QTableProps {
10432
10422
  /**
10433
10423
  * CSS style to apply to native HTML <table> element's wrapper (which is a DIV)
10434
10424
  */
10435
- tableStyle?: string | any[] | any | undefined;
10425
+ tableStyle?: VueStyleProp | undefined;
10436
10426
  /**
10437
10427
  * CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)
10438
10428
  */
10439
- tableClass?: string | any[] | any | undefined;
10429
+ tableClass?: VueClassProp | undefined;
10440
10430
  /**
10441
10431
  * CSS style to apply to header of native HTML <table> (which is a TR)
10442
10432
  */
10443
- tableHeaderStyle?: string | any[] | any | undefined;
10433
+ tableHeaderStyle?: VueStyleProp | undefined;
10444
10434
  /**
10445
10435
  * CSS classes to apply to header of native HTML <table> (which is a TR)
10446
10436
  */
10447
- tableHeaderClass?: string | any[] | any | undefined;
10437
+ tableHeaderClass?: VueClassProp | undefined;
10448
10438
  /**
10449
10439
  * CSS style to apply to the cards container (when in grid mode)
10450
10440
  */
10451
- cardContainerStyle?: string | any[] | any | undefined;
10441
+ cardContainerStyle?: VueStyleProp | undefined;
10452
10442
  /**
10453
10443
  * CSS classes to apply to the cards container (when in grid mode)
10454
10444
  */
10455
- cardContainerClass?: string | any[] | any | undefined;
10445
+ cardContainerClass?: VueClassProp | undefined;
10456
10446
  /**
10457
10447
  * CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)
10458
10448
  */
10459
- cardStyle?: string | any[] | any | undefined;
10449
+ cardStyle?: VueStyleProp | undefined;
10460
10450
  /**
10461
10451
  * CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)
10462
10452
  */
10463
- cardClass?: string | any[] | any | undefined;
10453
+ cardClass?: VueClassProp | undefined;
10464
10454
  /**
10465
10455
  * CSS classes to apply to the title (if using 'title' prop)
10466
10456
  */
10467
- titleClass?: string | any[] | any | undefined;
10457
+ titleClass?: VueClassProp | undefined;
10468
10458
  /**
10469
10459
  * String/Object to filter table with; When using an Object it requires 'filter-method' to also be specified since it will be a custom filtering
10470
10460
  */
@@ -13387,6 +13377,8 @@ export interface QVirtualScroll
13387
13377
  refresh: (index?: string | number) => void;
13388
13378
  }
13389
13379
 
13380
+ import { VueClassProp } from "./api";
13381
+ import { VueStyleProp } from "./api";
13390
13382
  export interface DialogChainObject {
13391
13383
  /**
13392
13384
  * Receives a Function param to tell what to do when OK is pressed / option is selected
@@ -13424,11 +13416,11 @@ export interface QDialogOptions {
13424
13416
  /**
13425
13417
  * CSS Class name to apply to the Dialog's QCard
13426
13418
  */
13427
- class?: string | any[] | any;
13419
+ class?: VueClassProp;
13428
13420
  /**
13429
13421
  * CSS style to apply to the Dialog's QCard
13430
13422
  */
13431
- style?: string | any[] | any;
13423
+ style?: VueStyleProp;
13432
13424
  /**
13433
13425
  * A text for the heading title of the dialog
13434
13426
  */
@@ -13650,101 +13642,13 @@ import { WebStorageGetItemMethodType } from "./api";
13650
13642
  import { WebStorageGetIndexMethodType } from "./api";
13651
13643
  import { WebStorageGetKeyMethodType } from "./api";
13652
13644
  import { WebStorageGetAllKeysMethodType } from "./api";
13645
+ import { VueStyleObjectProp } from "./api";
13653
13646
  import { ValidationRule } from "./api";
13654
13647
  import { QRejectedEntry } from "./api";
13655
- export interface SliderMarkerLabels {
13656
- /**
13657
- * Value of equivalent model where to position the marker
13658
- */
13659
- value: number;
13660
- /**
13661
- * Label to use
13662
- */
13663
- label?: number | string;
13664
- /**
13665
- * CSS classes to be attributed to the marker label
13666
- */
13667
- classes?: string | any[] | any;
13668
- /**
13669
- * Style definitions to be attributed to the marker label
13670
- */
13671
- style?: any;
13672
- }
13673
-
13674
- export interface SliderMarkerLabelConfig {
13675
- /**
13676
- * Index of the marker label (0-based)
13677
- */
13678
- index?: number;
13679
- /**
13680
- * Equivalent model value for the marker label
13681
- */
13682
- value?: number;
13683
- /**
13684
- * Configured label for the marker
13685
- */
13686
- label?: number | string;
13687
- /**
13688
- * Required CSS classes to be applied to the marker element
13689
- */
13690
- classes?: string;
13691
- /**
13692
- * Style definitions to be attributed to the marker label
13693
- */
13694
- style?: any;
13695
- }
13696
-
13697
- export interface SliderMarkerLabelArrayConfig {
13698
- /**
13699
- * Index of the marker label (0-based)
13700
- */
13701
- index?: number;
13702
- /**
13703
- * Equivalent model value for the marker label
13704
- */
13705
- value?: number;
13706
- /**
13707
- * Configured label for the marker
13708
- */
13709
- label?: number | string;
13710
- /**
13711
- * Required CSS classes to be applied to the marker element
13712
- */
13713
- classes?: string;
13714
- /**
13715
- * Style definitions to be attributed to the marker label
13716
- */
13717
- style?: any;
13718
- }
13719
-
13720
- export interface SliderMarkerLabelObjectConfig {
13721
- /**
13722
- * Marker label config
13723
- */
13724
- [key: string]: {
13725
- /**
13726
- * Index of the marker label (0-based)
13727
- */
13728
- index?: number;
13729
- /**
13730
- * Equivalent model value for the marker label
13731
- */
13732
- value?: number;
13733
- /**
13734
- * Configured label for the marker
13735
- */
13736
- label?: number | string;
13737
- /**
13738
- * Required CSS classes to be applied to the marker element
13739
- */
13740
- classes?: string;
13741
- /**
13742
- * Style definitions to be attributed to the marker label
13743
- */
13744
- style?: any;
13745
- };
13746
- }
13747
-
13648
+ import { SliderMarkerLabels } from "./api";
13649
+ import { SliderMarkerLabelConfig } from "./api";
13650
+ import { SliderMarkerLabelArrayConfig } from "./api";
13651
+ import { SliderMarkerLabelObjectConfig } from "./api";
13748
13652
  import { QTreeNode } from "./api";
13749
13653
  import { QUploaderFactoryFn } from "./api";
13750
13654
  import { QVueGlobals, QSingletonGlobals } from "./globals";
@@ -13765,11 +13669,11 @@ declare module "./globals" {
13765
13669
  /**
13766
13670
  * CSS Class name to apply to the Dialog's QCard
13767
13671
  */
13768
- class?: string | any[] | any;
13672
+ class?: VueClassProp;
13769
13673
  /**
13770
13674
  * CSS style to apply to the Dialog's QCard
13771
13675
  */
13772
- style?: string | any[] | any;
13676
+ style?: VueStyleProp;
13773
13677
  /**
13774
13678
  * Title
13775
13679
  */
@@ -13785,7 +13689,7 @@ declare module "./globals" {
13785
13689
  /**
13786
13690
  * CSS classes for this action
13787
13691
  */
13788
- classes?: string | any[] | any;
13692
+ classes?: VueClassProp;
13789
13693
  /**
13790
13694
  * Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix
13791
13695
  */
@@ -13918,11 +13822,11 @@ declare module "./globals" {
13918
13822
  /**
13919
13823
  * Style definitions to be attributed to the badge
13920
13824
  */
13921
- badgeStyle?: any[] | string | any;
13825
+ badgeStyle?: VueStyleProp;
13922
13826
  /**
13923
13827
  * Class definitions to be attributed to the badge
13924
13828
  */
13925
- badgeClass?: any[] | string | any;
13829
+ badgeClass?: VueClassProp;
13926
13830
  /**
13927
13831
  * Show progress bar to detail when notification will disappear automatically (unless timeout is 0)
13928
13832
  */
@@ -13930,7 +13834,7 @@ declare module "./globals" {
13930
13834
  /**
13931
13835
  * Class definitions to be attributed to the progress bar
13932
13836
  */
13933
- progressClass?: any[] | string | any;
13837
+ progressClass?: VueClassProp;
13934
13838
  /**
13935
13839
  * Add CSS class(es) to the notification for easier customization
13936
13840
  */
@@ -14010,7 +13914,7 @@ declare module "./globals" {
14010
13914
  /**
14011
13915
  * Class definitions to be attributed to the progress bar
14012
13916
  */
14013
- progressClass?: any[] | string | any;
13917
+ progressClass?: VueClassProp;
14014
13918
  /**
14015
13919
  * Add CSS class(es) to the notification for easier customization
14016
13920
  */
@@ -1,3 +1,5 @@
1
+ import { VueStyleObjectProp } from "../api/vue-prop-types";
2
+
1
3
  export interface DomOffset {
2
4
  top: number;
3
5
  left: number;
@@ -8,7 +10,7 @@ export namespace dom {
8
10
  function style(el: Element, property: string): string;
9
11
  function height(el: Element): number;
10
12
  function width(el: Element): number;
11
- function css(el: Element, css: Partial<CSSStyleDeclaration>): void;
12
- function cssBatch(elements: Element[], css: Partial<CSSStyleDeclaration>): void;
13
+ function css(el: Element, css: VueStyleObjectProp): void;
14
+ function cssBatch(elements: Element[], css: VueStyleObjectProp): void;
13
15
  function ready<F extends (...args: any[]) => any>(fn: F): ReturnType<F>;
14
16
  }