@vuetify/nightly 4.0.0-dev-20230419.0 → 4.0.0-dev-20230422.0

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 (121) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/json/attributes.json +172 -108
  3. package/dist/json/importMap.json +58 -58
  4. package/dist/json/tags.json +16 -0
  5. package/dist/json/web-types.json +522 -220
  6. package/dist/vuetify-labs.css +335 -172
  7. package/dist/vuetify-labs.d.ts +620 -171
  8. package/dist/vuetify-labs.esm.js +864 -182
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +864 -181
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +166 -3
  13. package/dist/vuetify.d.ts +584 -167
  14. package/dist/vuetify.esm.js +806 -134
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +806 -133
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +748 -682
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/adapters/date-adapter.mjs +2 -0
  22. package/lib/adapters/date-adapter.mjs.map +1 -0
  23. package/lib/adapters/vuetify.mjs +399 -0
  24. package/lib/adapters/vuetify.mjs.map +1 -0
  25. package/lib/blueprints/index.d.ts +34 -0
  26. package/lib/blueprints/md1.d.ts +34 -0
  27. package/lib/blueprints/md2.d.ts +34 -0
  28. package/lib/blueprints/md3.d.ts +34 -0
  29. package/lib/components/VAppBar/VAppBar.mjs +62 -10
  30. package/lib/components/VAppBar/VAppBar.mjs.map +1 -1
  31. package/lib/components/VAppBar/index.d.ts +26 -0
  32. package/lib/components/VAutocomplete/VAutocomplete.css +9 -0
  33. package/lib/components/VAutocomplete/VAutocomplete.mjs +50 -6
  34. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  35. package/lib/components/VAutocomplete/VAutocomplete.sass +10 -0
  36. package/lib/components/VAutocomplete/index.d.ts +29 -17
  37. package/lib/components/VBtn/_mixins.scss +1 -1
  38. package/lib/components/VCard/VCard.mjs.map +1 -1
  39. package/lib/components/VCard/index.d.ts +21 -16
  40. package/lib/components/VCheckbox/VCheckbox.mjs +2 -2
  41. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  42. package/lib/components/VCheckbox/index.d.ts +22 -1
  43. package/lib/components/VCombobox/VCombobox.css +1 -1
  44. package/lib/components/VCombobox/VCombobox.mjs +6 -4
  45. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  46. package/lib/components/VCombobox/VCombobox.sass +1 -1
  47. package/lib/components/VCombobox/index.d.ts +29 -17
  48. package/lib/components/VField/index.d.ts +6 -0
  49. package/lib/components/VFileInput/VFileInput.mjs +13 -17
  50. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  51. package/lib/components/VFileInput/index.d.ts +68 -23
  52. package/lib/components/VInput/VInput.mjs +14 -7
  53. package/lib/components/VInput/VInput.mjs.map +1 -1
  54. package/lib/components/VInput/index.d.ts +22 -1
  55. package/lib/components/VOverlay/locationStrategies.mjs +9 -4
  56. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  57. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -2
  58. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  59. package/lib/components/VRadioGroup/index.d.ts +22 -1
  60. package/lib/components/VRangeSlider/VRangeSlider.mjs +33 -22
  61. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  62. package/lib/components/VRangeSlider/index.d.ts +39 -6
  63. package/lib/components/VSelect/VSelect.mjs +6 -0
  64. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  65. package/lib/components/VSelect/index.d.ts +32 -17
  66. package/lib/components/VSlider/VSlider.mjs +33 -15
  67. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  68. package/lib/components/VSlider/index.d.ts +39 -6
  69. package/lib/components/VSlider/slider.mjs +43 -23
  70. package/lib/components/VSlider/slider.mjs.map +1 -1
  71. package/lib/components/VSwitch/VSwitch.mjs +5 -3
  72. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  73. package/lib/components/VSwitch/index.d.ts +43 -1
  74. package/lib/components/VTextField/VTextField.mjs +4 -12
  75. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  76. package/lib/components/VTextField/index.d.ts +70 -22
  77. package/lib/components/VTextarea/VTextarea.mjs +4 -12
  78. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  79. package/lib/components/VTextarea/index.d.ts +61 -22
  80. package/lib/components/VToolbar/VToolbar.css +3 -1
  81. package/lib/components/VToolbar/VToolbar.sass +3 -1
  82. package/lib/components/VValidation/index.d.ts +10 -1
  83. package/lib/components/index.d.ts +525 -150
  84. package/lib/composables/date.mjs +39 -0
  85. package/lib/composables/date.mjs.map +1 -0
  86. package/lib/composables/focus.mjs +3 -2
  87. package/lib/composables/focus.mjs.map +1 -1
  88. package/lib/composables/index.mjs +1 -0
  89. package/lib/composables/index.mjs.map +1 -1
  90. package/lib/composables/items.mjs +7 -2
  91. package/lib/composables/items.mjs.map +1 -1
  92. package/lib/composables/scroll.mjs +3 -0
  93. package/lib/composables/scroll.mjs.map +1 -1
  94. package/lib/entry-bundler.mjs +1 -1
  95. package/lib/framework.mjs +8 -3
  96. package/lib/framework.mjs.map +1 -1
  97. package/lib/iconsets/mdi-svg.mjs +2 -2
  98. package/lib/iconsets/mdi-svg.mjs.map +1 -1
  99. package/lib/index.d.ts +59 -17
  100. package/lib/labs/VDataTable/VDataTable.mjs +2 -2
  101. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  102. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  103. package/lib/labs/VDataTable/VDataTableHeaders.mjs.map +1 -1
  104. package/lib/labs/VDataTable/VDataTableRows.mjs +52 -44
  105. package/lib/labs/VDataTable/VDataTableRows.mjs.map +1 -1
  106. package/lib/labs/VDataTable/VDataTableServer.mjs +2 -1
  107. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  108. package/lib/labs/VDataTable/VDataTableVirtual.mjs +0 -1
  109. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  110. package/lib/labs/VDataTable/composables/options.mjs +2 -1
  111. package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
  112. package/lib/labs/VDataTable/index.d.ts +44 -11
  113. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs +1 -0
  114. package/lib/labs/VSkeletonLoader/VSkeletonLoader.mjs.map +1 -1
  115. package/lib/labs/VSkeletonLoader/index.d.ts +9 -9
  116. package/lib/labs/components.d.ts +53 -20
  117. package/lib/styles/main.css +152 -0
  118. package/lib/styles/settings/_utilities.scss +11 -1
  119. package/lib/util/helpers.mjs +4 -0
  120. package/lib/util/helpers.mjs.map +1 -1
  121. package/package.json +2 -2
@@ -272,10 +272,10 @@ declare const VSelect: {
272
272
  errorMessages: string | string[];
273
273
  maxErrors: string | number;
274
274
  rules: ValidationRule[];
275
+ persistentHint: boolean;
275
276
  clearable: boolean;
276
277
  persistentClear: boolean;
277
278
  singleLine: boolean;
278
- persistentHint: boolean;
279
279
  persistentPlaceholder: boolean;
280
280
  persistentCounter: boolean;
281
281
  valueComparator: typeof deepEqual;
@@ -573,6 +573,7 @@ declare const VSelect: {
573
573
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
574
574
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
575
575
  focused: BooleanConstructor;
576
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
576
577
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
577
578
  errorMessages: {
578
579
  type: PropType<string | string[]>;
@@ -586,12 +587,12 @@ declare const VSelect: {
586
587
  type: PropType<ValidationRule[]>;
587
588
  default: () => never[];
588
589
  };
590
+ hint: StringConstructor;
591
+ persistentHint: BooleanConstructor;
589
592
  hideDetails: PropType<boolean | "auto">;
590
593
  clearable: BooleanConstructor;
591
594
  persistentClear: BooleanConstructor;
592
595
  singleLine: BooleanConstructor;
593
- hint: StringConstructor;
594
- persistentHint: BooleanConstructor;
595
596
  persistentPlaceholder: BooleanConstructor;
596
597
  persistentCounter: BooleanConstructor;
597
598
  suffix: StringConstructor;
@@ -957,8 +958,9 @@ declare const VSelect: {
957
958
  default: typeof deepEqual;
958
959
  };
959
960
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">>> & {
961
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
960
962
  "onUpdate:menu"?: ((val: boolean) => any) | undefined;
961
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "reverse" | "type" | "error" | "active" | "direction" | "transition" | "menu" | "autofocus" | "eager" | "disabled" | "readonly" | "noDataText" | "messages" | "rounded" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "clearable" | "persistentClear" | "singleLine" | "persistentHint" | "persistentPlaceholder" | "persistentCounter" | "valueComparator" | "itemTitle" | "itemValue" | "itemChildren" | "itemProps" | "chips" | "closableChips" | "hideNoData" | "hideSelected" | "menuIcon" | "openOnClear">;
963
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "flat" | "reverse" | "type" | "error" | "active" | "direction" | "transition" | "menu" | "autofocus" | "eager" | "disabled" | "readonly" | "noDataText" | "messages" | "rounded" | "density" | "variant" | "clearIcon" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint" | "clearable" | "persistentClear" | "singleLine" | "persistentPlaceholder" | "persistentCounter" | "valueComparator" | "itemTitle" | "itemValue" | "itemChildren" | "itemProps" | "chips" | "closableChips" | "hideNoData" | "hideSelected" | "menuIcon" | "openOnClear">;
962
964
  $attrs: {
963
965
  [x: string]: unknown;
964
966
  };
@@ -970,7 +972,7 @@ declare const VSelect: {
970
972
  }>;
971
973
  $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
972
974
  $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
973
- $emit: (event: "update:menu", val: boolean) => void;
975
+ $emit: ((event: "update:focused", focused: boolean) => void) & ((event: "update:menu", val: boolean) => void);
974
976
  $el: any;
975
977
  $options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<Omit<{
976
978
  transition: Omit<{
@@ -1256,6 +1258,7 @@ declare const VSelect: {
1256
1258
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1257
1259
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
1258
1260
  focused: BooleanConstructor;
1261
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
1259
1262
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
1260
1263
  errorMessages: {
1261
1264
  type: PropType<string | string[]>;
@@ -1269,12 +1272,12 @@ declare const VSelect: {
1269
1272
  type: PropType<ValidationRule[]>;
1270
1273
  default: () => never[];
1271
1274
  };
1275
+ hint: StringConstructor;
1276
+ persistentHint: BooleanConstructor;
1272
1277
  hideDetails: PropType<boolean | "auto">;
1273
1278
  clearable: BooleanConstructor;
1274
1279
  persistentClear: BooleanConstructor;
1275
1280
  singleLine: BooleanConstructor;
1276
- hint: StringConstructor;
1277
- persistentHint: BooleanConstructor;
1278
1281
  persistentPlaceholder: BooleanConstructor;
1279
1282
  persistentCounter: BooleanConstructor;
1280
1283
  suffix: StringConstructor;
@@ -1640,11 +1643,14 @@ declare const VSelect: {
1640
1643
  default: typeof deepEqual;
1641
1644
  };
1642
1645
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">>> & {
1646
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
1643
1647
  "onUpdate:menu"?: ((val: boolean) => any) | undefined;
1644
1648
  }, {
1649
+ isFocused: vue.Ref<boolean>;
1645
1650
  menu: vue.WritableComputedRef<boolean>;
1646
1651
  select: (item: InternalItem) => void;
1647
1652
  } & Omit<any, string | number | symbol>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
1653
+ 'update:focused': (focused: boolean) => boolean;
1648
1654
  'update:modelValue': (val: any) => boolean;
1649
1655
  'update:menu': (val: boolean) => true;
1650
1656
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">, string, {
@@ -1776,10 +1782,10 @@ declare const VSelect: {
1776
1782
  errorMessages: string | string[];
1777
1783
  maxErrors: string | number;
1778
1784
  rules: ValidationRule[];
1785
+ persistentHint: boolean;
1779
1786
  clearable: boolean;
1780
1787
  persistentClear: boolean;
1781
1788
  singleLine: boolean;
1782
- persistentHint: boolean;
1783
1789
  persistentPlaceholder: boolean;
1784
1790
  persistentCounter: boolean;
1785
1791
  valueComparator: typeof deepEqual;
@@ -2097,6 +2103,7 @@ declare const VSelect: {
2097
2103
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2098
2104
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2099
2105
  focused: BooleanConstructor;
2106
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
2100
2107
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
2101
2108
  errorMessages: {
2102
2109
  type: PropType<string | string[]>;
@@ -2110,12 +2117,12 @@ declare const VSelect: {
2110
2117
  type: PropType<ValidationRule[]>;
2111
2118
  default: () => never[];
2112
2119
  };
2120
+ hint: StringConstructor;
2121
+ persistentHint: BooleanConstructor;
2113
2122
  hideDetails: PropType<boolean | "auto">;
2114
2123
  clearable: BooleanConstructor;
2115
2124
  persistentClear: BooleanConstructor;
2116
2125
  singleLine: BooleanConstructor;
2117
- hint: StringConstructor;
2118
- persistentHint: BooleanConstructor;
2119
2126
  persistentPlaceholder: BooleanConstructor;
2120
2127
  persistentCounter: BooleanConstructor;
2121
2128
  suffix: StringConstructor;
@@ -2481,8 +2488,10 @@ declare const VSelect: {
2481
2488
  default: typeof deepEqual;
2482
2489
  };
2483
2490
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">>> & {
2491
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
2484
2492
  "onUpdate:menu"?: ((val: boolean) => any) | undefined;
2485
2493
  } & vue.ShallowUnwrapRef<{
2494
+ isFocused: vue.Ref<boolean>;
2486
2495
  menu: vue.WritableComputedRef<boolean>;
2487
2496
  select: (item: InternalItem) => void;
2488
2497
  } & Omit<any, string | number | symbol>> & {} & vue.ComponentCustomProperties & {};
@@ -2773,6 +2782,7 @@ declare const VSelect: {
2773
2782
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2774
2783
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
2775
2784
  focused: BooleanConstructor;
2785
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
2776
2786
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
2777
2787
  errorMessages: {
2778
2788
  type: PropType<string | string[]>;
@@ -2786,12 +2796,12 @@ declare const VSelect: {
2786
2796
  type: PropType<ValidationRule[]>;
2787
2797
  default: () => never[];
2788
2798
  };
2799
+ hint: StringConstructor;
2800
+ persistentHint: BooleanConstructor;
2789
2801
  hideDetails: PropType<boolean | "auto">;
2790
2802
  clearable: BooleanConstructor;
2791
2803
  persistentClear: BooleanConstructor;
2792
2804
  singleLine: BooleanConstructor;
2793
- hint: StringConstructor;
2794
- persistentHint: BooleanConstructor;
2795
2805
  persistentPlaceholder: BooleanConstructor;
2796
2806
  persistentCounter: BooleanConstructor;
2797
2807
  suffix: StringConstructor;
@@ -3157,11 +3167,14 @@ declare const VSelect: {
3157
3167
  default: typeof deepEqual;
3158
3168
  };
3159
3169
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "onUpdate:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">>> & {
3170
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
3160
3171
  "onUpdate:menu"?: ((val: boolean) => any) | undefined;
3161
3172
  }, {
3173
+ isFocused: vue.Ref<boolean>;
3162
3174
  menu: vue.WritableComputedRef<boolean>;
3163
3175
  select: (item: InternalItem) => void;
3164
3176
  } & Omit<any, string | number | symbol>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
3177
+ 'update:focused': (focused: boolean) => boolean;
3165
3178
  'update:modelValue': (val: any) => boolean;
3166
3179
  'update:menu': (val: boolean) => true;
3167
3180
  }, "multiple" | "$children" | "$slots" | "v-slots" | "items" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:loader" | "v-slot:details" | "v-slot:clear" | "v-slot:label" | "v-slot:prepend-inner" | "v-slot:append-inner" | "v-slot:item" | "returnObject" | "v-slot:chip" | "v-slot:selection" | "v-slot:prepend-item" | "v-slot:append-item" | "v-slot:no-data">, string, {
@@ -3293,10 +3306,10 @@ declare const VSelect: {
3293
3306
  errorMessages: string | string[];
3294
3307
  maxErrors: string | number;
3295
3308
  rules: ValidationRule[];
3309
+ persistentHint: boolean;
3296
3310
  clearable: boolean;
3297
3311
  persistentClear: boolean;
3298
3312
  singleLine: boolean;
3299
- persistentHint: boolean;
3300
3313
  persistentPlaceholder: boolean;
3301
3314
  persistentCounter: boolean;
3302
3315
  valueComparator: typeof deepEqual;
@@ -3710,6 +3723,7 @@ declare const VSelect: {
3710
3723
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
3711
3724
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
3712
3725
  focused: BooleanConstructor;
3726
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
3713
3727
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
3714
3728
  errorMessages: {
3715
3729
  type: PropType<string | string[]>;
@@ -3723,12 +3737,12 @@ declare const VSelect: {
3723
3737
  type: PropType<ValidationRule[]>;
3724
3738
  default: () => never[];
3725
3739
  };
3740
+ hint: StringConstructor;
3741
+ persistentHint: BooleanConstructor;
3726
3742
  hideDetails: PropType<boolean | "auto">;
3727
3743
  clearable: BooleanConstructor;
3728
3744
  persistentClear: BooleanConstructor;
3729
3745
  singleLine: BooleanConstructor;
3730
- hint: StringConstructor;
3731
- persistentHint: BooleanConstructor;
3732
3746
  persistentPlaceholder: BooleanConstructor;
3733
3747
  persistentCounter: BooleanConstructor;
3734
3748
  suffix: StringConstructor;
@@ -4377,6 +4391,7 @@ declare const VSelect: {
4377
4391
  'onClick:appendInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
4378
4392
  'onClick:prependInner': PropType<EventProp<[MouseEvent], (args_0: MouseEvent) => any>>;
4379
4393
  focused: BooleanConstructor;
4394
+ 'onUpdate:focused': PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
4380
4395
  validateOn: PropType<"input" | "blur" | "submit" | undefined>;
4381
4396
  errorMessages: {
4382
4397
  type: PropType<string | string[]>;
@@ -4390,12 +4405,12 @@ declare const VSelect: {
4390
4405
  type: PropType<ValidationRule[]>;
4391
4406
  default: () => never[];
4392
4407
  };
4408
+ hint: StringConstructor;
4409
+ persistentHint: BooleanConstructor;
4393
4410
  hideDetails: PropType<boolean | "auto">;
4394
4411
  clearable: BooleanConstructor;
4395
4412
  persistentClear: BooleanConstructor;
4396
4413
  singleLine: BooleanConstructor;
4397
- hint: StringConstructor;
4398
- persistentHint: BooleanConstructor;
4399
4414
  persistentPlaceholder: BooleanConstructor;
4400
4415
  persistentCounter: BooleanConstructor;
4401
4416
  suffix: StringConstructor;
@@ -3,12 +3,12 @@ import { mergeProps as _mergeProps, createVNode as _createVNode, Fragment as _Fr
3
3
  import "./VSlider.css";
4
4
 
5
5
  // Components
6
- import { filterInputProps, makeVInputProps, VInput } from "../VInput/VInput.mjs";
6
+ import { makeVInputProps, VInput } from "../VInput/VInput.mjs";
7
7
  import { VLabel } from "../VLabel/index.mjs";
8
8
  import { VSliderThumb } from "./VSliderThumb.mjs";
9
9
  import { VSliderTrack } from "./VSliderTrack.mjs"; // Composables
10
10
  import { makeFocusProps, useFocus } from "../../composables/focus.mjs";
11
- import { makeSliderProps, useSlider } from "./slider.mjs";
11
+ import { makeSliderProps, useSlider, useSteps } from "./slider.mjs";
12
12
  import { useProxiedModel } from "../../composables/proxiedModel.mjs"; // Utilities
13
13
  import { computed, ref } from 'vue';
14
14
  import { genericComponent, useRender } from "../../util/index.mjs"; // Types
@@ -25,13 +25,21 @@ export const VSlider = genericComponent()({
25
25
  },
26
26
  emits: {
27
27
  'update:focused': value => true,
28
- 'update:modelValue': v => true
28
+ 'update:modelValue': v => true,
29
+ start: value => true,
30
+ end: value => true
29
31
  },
30
32
  setup(props, _ref) {
31
33
  let {
32
- slots
34
+ slots,
35
+ emit
33
36
  } = _ref;
34
37
  const thumbContainerRef = ref();
38
+ const steps = useSteps(props);
39
+ const model = useProxiedModel(props, 'modelValue', undefined, v => {
40
+ const value = typeof v === 'string' ? parseFloat(v) : v == null ? steps.min.value : v;
41
+ return steps.roundValue(value);
42
+ });
35
43
  const {
36
44
  min,
37
45
  max,
@@ -45,16 +53,26 @@ export const VSlider = genericComponent()({
45
53
  readonly
46
54
  } = useSlider({
47
55
  props,
48
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
49
- handleSliderMouseUp: newValue => model.value = roundValue(newValue),
50
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
51
- handleMouseMove: newValue => model.value = roundValue(newValue),
56
+ steps,
57
+ onSliderStart: () => {
58
+ emit('start', model.value);
59
+ },
60
+ onSliderEnd: _ref2 => {
61
+ let {
62
+ value
63
+ } = _ref2;
64
+ const roundedValue = roundValue(value);
65
+ model.value = roundedValue;
66
+ emit('end', roundedValue);
67
+ },
68
+ onSliderMove: _ref3 => {
69
+ let {
70
+ value
71
+ } = _ref3;
72
+ return model.value = roundValue(value);
73
+ },
52
74
  getActiveThumb: () => thumbContainerRef.value?.$el
53
75
  });
54
- const model = useProxiedModel(props, 'modelValue', undefined, v => {
55
- const value = typeof v === 'string' ? parseFloat(v) : v == null ? min.value : v;
56
- return roundValue(value);
57
- });
58
76
  const {
59
77
  isFocused,
60
78
  focus,
@@ -62,7 +80,7 @@ export const VSlider = genericComponent()({
62
80
  } = useFocus(props);
63
81
  const trackStop = computed(() => position(model.value));
64
82
  useRender(() => {
65
- const [inputProps, _] = filterInputProps(props);
83
+ const [inputProps, _] = VInput.filterProps(props);
66
84
  const hasPrepend = !!(props.label || slots.label || slots.prepend);
67
85
  return _createVNode(VInput, _mergeProps({
68
86
  "class": ['v-slider', {
@@ -80,11 +98,11 @@ export const VSlider = genericComponent()({
80
98
  "class": "v-slider__label",
81
99
  "text": props.label
82
100
  }, null) : undefined, slots.prepend?.(slotProps)]) : undefined,
83
- default: _ref2 => {
101
+ default: _ref4 => {
84
102
  let {
85
103
  id,
86
104
  messagesId
87
- } = _ref2;
105
+ } = _ref4;
88
106
  return _createVNode("div", {
89
107
  "class": "v-slider__container",
90
108
  "onMousedown": !readonly.value ? onSliderMousedown : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"VSlider.mjs","names":["filterInputProps","makeVInputProps","VInput","VLabel","VSliderThumb","VSliderTrack","makeFocusProps","useFocus","makeSliderProps","useSlider","useProxiedModel","computed","ref","genericComponent","useRender","VSlider","name","props","modelValue","type","Number","String","default","emits","value","v","setup","_ref","slots","thumbContainerRef","min","max","mousePressed","roundValue","onSliderMousedown","onSliderTouchstart","trackContainerRef","position","hasLabels","readonly","handleSliderMouseUp","newValue","model","handleMouseMove","getActiveThumb","$el","undefined","parseFloat","isFocused","focus","blur","trackStop","inputProps","_","hasPrepend","label","prepend","_createVNode","_mergeProps","disabled","slotProps","_Fragment","id","_ref2","messagesId","elevation"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { filterInputProps, makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\n\n// Composables\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { makeSliderProps, useSlider } from './slider'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, useRender } from '@/util'\n\n// Types\nimport type { MakeSlots } from '@/util'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & MakeSlots<{\n 'tick-label': []\n 'thumb-label': []\n}>\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: {\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n },\n\n emits: {\n 'update:focused': (value: boolean) => true,\n 'update:modelValue': (v: number) => true,\n },\n\n setup (props, { slots }) {\n const thumbContainerRef = ref()\n\n const {\n min,\n max,\n mousePressed,\n roundValue,\n onSliderMousedown,\n onSliderTouchstart,\n trackContainerRef,\n position,\n hasLabels,\n readonly,\n } = useSlider({\n props,\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n handleSliderMouseUp: newValue => model.value = roundValue(newValue),\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n handleMouseMove: newValue => model.value = roundValue(newValue),\n getActiveThumb: () => thumbContainerRef.value?.$el,\n })\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n v => {\n const value = typeof v === 'string' ? parseFloat(v) : v == null ? min.value : v\n\n return roundValue(value)\n },\n )\n\n const { isFocused, focus, blur } = useFocus(props)\n const trackStop = computed(() => position(model.value))\n\n useRender(() => {\n const [inputProps, _] = filterInputProps(props)\n const hasPrepend = !!(props.label || slots.label || slots.prepend)\n\n return (\n <VInput\n class={[\n 'v-slider',\n {\n 'v-slider--has-labels': !!slots['tick-label'] || hasLabels.value,\n 'v-slider--focused': isFocused.value,\n 'v-slider--pressed': mousePressed.value,\n 'v-slider--disabled': props.disabled,\n },\n ]}\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? props.label\n ? (\n <VLabel\n id={ slotProps.id.value }\n class=\"v-slider__label\"\n text={ props.label }\n />\n ) : undefined\n }\n\n { slots.prepend?.(slotProps) }\n </>\n ) : undefined,\n default: ({ id, messagesId }) => (\n <div\n class=\"v-slider__container\"\n onMousedown={ !readonly.value ? onSliderMousedown : undefined }\n onTouchstartPassive={ !readonly.value ? onSliderTouchstart : undefined }\n >\n <input\n id={ id.value }\n name={ props.name || id.value }\n disabled={ props.disabled }\n readonly={ props.readonly }\n tabindex=\"-1\"\n value={ model.value }\n />\n\n <VSliderTrack\n ref={ trackContainerRef }\n start={ 0 }\n stop={ trackStop.value }\n >\n {{ 'tick-label': slots['tick-label'] }}\n </VSliderTrack>\n\n <VSliderThumb\n ref={ thumbContainerRef }\n aria-describedby={ messagesId.value }\n focused={ isFocused.value }\n min={ min.value }\n max={ max.value }\n modelValue={ model.value }\n onUpdate:modelValue={ v => (model.value = v) }\n position={ trackStop.value }\n elevation={ props.elevation }\n onFocus={ focus }\n onBlur={ blur }\n >\n {{ 'thumb-label': slots['thumb-label'] }}\n </VSliderThumb>\n </div>\n ),\n }}\n </VInput>\n )\n })\n\n return {}\n },\n})\n\nexport type VSlider = InstanceType<typeof VSlider>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,gBAAgB,EAAEC,eAAe,EAAEC,MAAM;AAAA,SACzCC,MAAM;AAAA,SACNC,YAAY;AAAA,SACZC,YAAY,8BAErB;AAAA,SACSC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,eAAe,EAAEC,SAAS;AAAA,SAC1BC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAC1BC,gBAAgB,EAAEC,SAAS,gCAEpC;AASA,OAAO,MAAMC,OAA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OAAAN,YAAA;YAAA,SAElB,qBAAqB;YAAA,eACb,CAAClB,QAAQ,CAACf,KAAK,GAAGU,iBAAiB,GAAGY,SAAS;YAAA,uBACvC,CAACP,QAAQ,CAACf,KAAK,GAAGW,kBAAkB,GAAGW;UAAS,IAAAW,YAAA;YAAA,MAG/DK,EAAE,CAACtC,KAAK;YAAA,QACNP,KAAK,CAACD,IAAI,IAAI8C,EAAE,CAACtC,KAAK;YAAA,YAClBP,KAAK,CAAC0C,QAAQ;YAAA,YACd1C,KAAK,CAACsB,QAAQ;YAAA,YAChB,IAAI;YAAA,SACLG,KAAK,CAAClB;UAAK,UAAAiC,YAAA,CAAApD,YAAA;YAAA,OAIb+B,iBAAiB;YAAA,SACf,CAAC;YAAA,QACFe,SAAS,CAAC3B;UAAK;YAEnB,YAAY,EAAEI,KAAK,CAAC,YAAY;UAAC,IAAA6B,YAAA,CAAArD,YAAA;YAAA,OAI9ByB,iBAAiB;YAAA,oBACJmC,UAAU,CAACxC,KAAK;YAAA,WACzBwB,SAAS,CAACxB,KAAK;YAAA,OACnBM,GAAG,CAACN,KAAK;YAAA,OACTO,GAAG,CAACP,KAAK;YAAA,cACFkB,KAAK,CAAClB,KAAK;YAAA,uBACFC,CAAC,IAAKiB,KAAK,CAAClB,KAAK,GAAGC,CAAE;YAAA,YACjC0B,SAAS,CAAC3B,KAAK;YAAA,aACdP,KAAK,CAACgD,SAAS;YAAA,WACjBhB,KAAK;YAAA,UACNC;UAAI;YAEV,aAAa,EAAEtB,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"VSlider.mjs","names":["makeVInputProps","VInput","VLabel","VSliderThumb","VSliderTrack","makeFocusProps","useFocus","makeSliderProps","useSlider","useSteps","useProxiedModel","computed","ref","genericComponent","useRender","VSlider","name","props","modelValue","type","Number","String","default","emits","value","v","start","end","setup","_ref","slots","emit","thumbContainerRef","steps","model","undefined","parseFloat","min","roundValue","max","mousePressed","onSliderMousedown","onSliderTouchstart","trackContainerRef","position","hasLabels","readonly","onSliderStart","onSliderEnd","_ref2","roundedValue","onSliderMove","_ref3","getActiveThumb","$el","isFocused","focus","blur","trackStop","inputProps","_","filterProps","hasPrepend","label","prepend","_createVNode","_mergeProps","disabled","slotProps","_Fragment","id","_ref4","messagesId","elevation"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\n\n// Composables\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { makeSliderProps, useSlider, useSteps } from './slider'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, useRender } from '@/util'\n\n// Types\nimport type { MakeSlots } from '@/util'\nimport type { VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & MakeSlots<{\n 'tick-label': []\n 'thumb-label': []\n}>\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: {\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n },\n\n emits: {\n 'update:focused': (value: boolean) => true,\n 'update:modelValue': (v: number) => true,\n start: (value: number) => true,\n end: (value: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const thumbContainerRef = ref()\n\n const steps = useSteps(props)\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n v => {\n const value = typeof v === 'string' ? parseFloat(v) : v == null ? steps.min.value : v\n\n return steps.roundValue(value)\n },\n )\n\n const {\n min,\n max,\n mousePressed,\n roundValue,\n onSliderMousedown,\n onSliderTouchstart,\n trackContainerRef,\n position,\n hasLabels,\n readonly,\n } = useSlider({\n props,\n steps,\n onSliderStart: () => {\n emit('start', model.value)\n },\n onSliderEnd: ({ value }) => {\n const roundedValue = roundValue(value)\n model.value = roundedValue\n emit('end', roundedValue)\n },\n onSliderMove: ({ value }) => model.value = roundValue(value),\n getActiveThumb: () => thumbContainerRef.value?.$el,\n })\n\n const { isFocused, focus, blur } = useFocus(props)\n const trackStop = computed(() => position(model.value))\n\n useRender(() => {\n const [inputProps, _] = VInput.filterProps(props)\n const hasPrepend = !!(props.label || slots.label || slots.prepend)\n\n return (\n <VInput\n class={[\n 'v-slider',\n {\n 'v-slider--has-labels': !!slots['tick-label'] || hasLabels.value,\n 'v-slider--focused': isFocused.value,\n 'v-slider--pressed': mousePressed.value,\n 'v-slider--disabled': props.disabled,\n },\n ]}\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? props.label\n ? (\n <VLabel\n id={ slotProps.id.value }\n class=\"v-slider__label\"\n text={ props.label }\n />\n ) : undefined\n }\n\n { slots.prepend?.(slotProps) }\n </>\n ) : undefined,\n default: ({ id, messagesId }) => (\n <div\n class=\"v-slider__container\"\n onMousedown={ !readonly.value ? onSliderMousedown : undefined }\n onTouchstartPassive={ !readonly.value ? onSliderTouchstart : undefined }\n >\n <input\n id={ id.value }\n name={ props.name || id.value }\n disabled={ props.disabled }\n readonly={ props.readonly }\n tabindex=\"-1\"\n value={ model.value }\n />\n\n <VSliderTrack\n ref={ trackContainerRef }\n start={ 0 }\n stop={ trackStop.value }\n >\n {{ 'tick-label': slots['tick-label'] }}\n </VSliderTrack>\n\n <VSliderThumb\n ref={ thumbContainerRef }\n aria-describedby={ messagesId.value }\n focused={ isFocused.value }\n min={ min.value }\n max={ max.value }\n modelValue={ model.value }\n onUpdate:modelValue={ v => (model.value = v) }\n position={ trackStop.value }\n elevation={ props.elevation }\n onFocus={ focus }\n onBlur={ blur }\n >\n {{ 'thumb-label':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KAAK,CAACkD,QAAQ;YAAA,YACdlD,KAAK,CAAC6B,QAAQ;YAAA,YAChB,IAAI;YAAA,SACLZ,KAAK,CAACV;UAAK,UAAAyC,YAAA,CAAA7D,YAAA;YAAA,OAIbuC,iBAAiB;YAAA,SACf,CAAC;YAAA,QACFe,SAAS,CAAClC;UAAK;YAEnB,YAAY,EAAEM,KAAK,CAAC,YAAY;UAAC,IAAAmC,YAAA,CAAA9D,YAAA;YAAA,OAI9B6B,iBAAiB;YAAA,oBACJwC,UAAU,CAAChD,KAAK;YAAA,WACzB+B,SAAS,CAAC/B,KAAK;YAAA,OACnBa,GAAG,CAACb,KAAK;YAAA,OACTe,GAAG,CAACf,KAAK;YAAA,cACFU,KAAK,CAACV,KAAK;YAAA,uBACFC,CAAC,IAAKS,KAAK,CAACV,KAAK,GAAGC,CAAE;YAAA,YACjCiC,SAAS,CAAClC,KAAK;YAAA,aACdP,KAAK,CAACwD,SAAS;YAAA,WACjBjB,KAAK;YAAA,UACNC;UAAI;YAEV,aAAa,EAAE3B,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC"}
@@ -52,6 +52,7 @@ declare const VSlider: {
52
52
  errorMessages: string | string[];
53
53
  maxErrors: string | number;
54
54
  rules: ValidationRule[];
55
+ persistentHint: boolean;
55
56
  showTicks: boolean | "always";
56
57
  tickSize: string | number;
57
58
  trackSize: string | number;
@@ -74,6 +75,7 @@ declare const VSlider: {
74
75
  errorMessages: string | string[];
75
76
  maxErrors: string | number;
76
77
  rules: ValidationRule[];
78
+ persistentHint: boolean;
77
79
  showTicks: boolean | "always";
78
80
  tickSize: string | number;
79
81
  trackSize: string | number;
@@ -88,8 +90,10 @@ declare const VSlider: {
88
90
  appendIcon?: IconValue | undefined;
89
91
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
90
92
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
93
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
91
94
  validateOn?: "input" | "blur" | "submit" | undefined;
92
95
  validationValue?: any;
96
+ hint?: string | undefined;
93
97
  hideDetails?: boolean | "auto" | undefined;
94
98
  trackColor?: string | undefined;
95
99
  trackFillColor?: string | undefined;
@@ -131,7 +135,9 @@ declare const VSlider: {
131
135
  } & {
132
136
  "onUpdate:modelValue"?: ((v: number) => any) | undefined;
133
137
  "onUpdate:focused"?: ((value: boolean) => any) | undefined;
134
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "max" | "error" | "direction" | "disabled" | "readonly" | "step" | "min" | "elevation" | "messages" | "rounded" | "density" | "modelValue" | "focused" | "errorMessages" | "maxErrors" | "rules" | "showTicks" | "tickSize" | "trackSize" | "thumbLabel" | "thumbSize">;
138
+ onEnd?: ((value: number) => any) | undefined;
139
+ onStart?: ((value: number) => any) | undefined;
140
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "max" | "error" | "direction" | "disabled" | "readonly" | "step" | "min" | "elevation" | "messages" | "rounded" | "density" | "modelValue" | "focused" | "errorMessages" | "maxErrors" | "rules" | "persistentHint" | "showTicks" | "tickSize" | "trackSize" | "thumbLabel" | "thumbSize">;
135
141
  $attrs: {
136
142
  [x: string]: unknown;
137
143
  };
@@ -143,7 +149,7 @@ declare const VSlider: {
143
149
  }>;
144
150
  $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
145
151
  $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
146
- $emit: ((event: "update:modelValue", v: number) => void) & ((event: "update:focused", value: boolean) => void);
152
+ $emit: ((event: "end", value: number) => void) & ((event: "start", value: number) => void) & ((event: "update:modelValue", v: number) => void) & ((event: "update:focused", value: boolean) => void);
147
153
  $el: any;
148
154
  $options: vue.ComponentOptionsBase<{
149
155
  reverse: boolean;
@@ -162,6 +168,7 @@ declare const VSlider: {
162
168
  errorMessages: string | string[];
163
169
  maxErrors: string | number;
164
170
  rules: ValidationRule[];
171
+ persistentHint: boolean;
165
172
  showTicks: boolean | "always";
166
173
  tickSize: string | number;
167
174
  trackSize: string | number;
@@ -176,8 +183,10 @@ declare const VSlider: {
176
183
  appendIcon?: IconValue | undefined;
177
184
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
178
185
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
186
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
179
187
  validateOn?: "input" | "blur" | "submit" | undefined;
180
188
  validationValue?: any;
189
+ hint?: string | undefined;
181
190
  hideDetails?: boolean | "auto" | undefined;
182
191
  trackColor?: string | undefined;
183
192
  trackFillColor?: string | undefined;
@@ -219,9 +228,13 @@ declare const VSlider: {
219
228
  } & {
220
229
  "onUpdate:modelValue"?: ((v: number) => any) | undefined;
221
230
  "onUpdate:focused"?: ((value: boolean) => any) | undefined;
231
+ onEnd?: ((value: number) => any) | undefined;
232
+ onStart?: ((value: number) => any) | undefined;
222
233
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
223
- 'update:focused': (value: boolean) => boolean;
224
- 'update:modelValue': (v: number) => boolean;
234
+ 'update:focused': (value: boolean) => true;
235
+ 'update:modelValue': (v: number) => true;
236
+ start: (value: number) => true;
237
+ end: (value: number) => true;
225
238
  }, string, {
226
239
  reverse: boolean;
227
240
  max: string | number;
@@ -240,6 +253,7 @@ declare const VSlider: {
240
253
  errorMessages: string | string[];
241
254
  maxErrors: string | number;
242
255
  rules: ValidationRule[];
256
+ persistentHint: boolean;
243
257
  showTicks: boolean | "always";
244
258
  tickSize: string | number;
245
259
  trackSize: string | number;
@@ -282,6 +296,7 @@ declare const VSlider: {
282
296
  errorMessages: string | string[];
283
297
  maxErrors: string | number;
284
298
  rules: ValidationRule[];
299
+ persistentHint: boolean;
285
300
  showTicks: boolean | "always";
286
301
  tickSize: string | number;
287
302
  trackSize: string | number;
@@ -296,8 +311,10 @@ declare const VSlider: {
296
311
  appendIcon?: IconValue | undefined;
297
312
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
298
313
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
314
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
299
315
  validateOn?: "input" | "blur" | "submit" | undefined;
300
316
  validationValue?: any;
317
+ hint?: string | undefined;
301
318
  hideDetails?: boolean | "auto" | undefined;
302
319
  trackColor?: string | undefined;
303
320
  trackFillColor?: string | undefined;
@@ -339,6 +356,8 @@ declare const VSlider: {
339
356
  } & {
340
357
  "onUpdate:modelValue"?: ((v: number) => any) | undefined;
341
358
  "onUpdate:focused"?: ((value: boolean) => any) | undefined;
359
+ onEnd?: ((value: number) => any) | undefined;
360
+ onStart?: ((value: number) => any) | undefined;
342
361
  } & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties & {};
343
362
  __isFragment?: undefined;
344
363
  __isTeleport?: undefined;
@@ -360,6 +379,7 @@ declare const VSlider: {
360
379
  errorMessages: string | string[];
361
380
  maxErrors: string | number;
362
381
  rules: ValidationRule[];
382
+ persistentHint: boolean;
363
383
  showTicks: boolean | "always";
364
384
  tickSize: string | number;
365
385
  trackSize: string | number;
@@ -374,8 +394,10 @@ declare const VSlider: {
374
394
  appendIcon?: IconValue | undefined;
375
395
  'onClick:append'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
376
396
  'onClick:prepend'?: EventProp<[MouseEvent], (args_0: MouseEvent) => any> | undefined;
397
+ 'onUpdate:focused'?: EventProp<[FocusEvent], (args_0: FocusEvent) => any> | undefined;
377
398
  validateOn?: "input" | "blur" | "submit" | undefined;
378
399
  validationValue?: any;
400
+ hint?: string | undefined;
379
401
  hideDetails?: boolean | "auto" | undefined;
380
402
  trackColor?: string | undefined;
381
403
  trackFillColor?: string | undefined;
@@ -417,9 +439,13 @@ declare const VSlider: {
417
439
  } & {
418
440
  "onUpdate:modelValue"?: ((v: number) => any) | undefined;
419
441
  "onUpdate:focused"?: ((value: boolean) => any) | undefined;
442
+ onEnd?: ((value: number) => any) | undefined;
443
+ onStart?: ((value: number) => any) | undefined;
420
444
  }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
421
- 'update:focused': (value: boolean) => boolean;
422
- 'update:modelValue': (v: number) => boolean;
445
+ 'update:focused': (value: boolean) => true;
446
+ 'update:modelValue': (v: number) => true;
447
+ start: (value: number) => true;
448
+ end: (value: number) => true;
423
449
  }, string, {
424
450
  reverse: boolean;
425
451
  max: string | number;
@@ -438,6 +464,7 @@ declare const VSlider: {
438
464
  errorMessages: string | string[];
439
465
  maxErrors: string | number;
440
466
  rules: ValidationRule[];
467
+ persistentHint: boolean;
441
468
  showTicks: boolean | "always";
442
469
  tickSize: string | number;
443
470
  trackSize: string | number;
@@ -449,6 +476,7 @@ declare const VSlider: {
449
476
  default: number;
450
477
  };
451
478
  focused: BooleanConstructor;
479
+ 'onUpdate:focused': vue.PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
452
480
  disabled: BooleanConstructor;
453
481
  error: BooleanConstructor;
454
482
  errorMessages: {
@@ -477,6 +505,8 @@ declare const VSlider: {
477
505
  appendIcon: vue.PropType<IconValue>;
478
506
  prependIcon: vue.PropType<IconValue>;
479
507
  hideDetails: vue.PropType<boolean | "auto">;
508
+ hint: StringConstructor;
509
+ persistentHint: BooleanConstructor;
480
510
  messages: {
481
511
  type: vue.PropType<string | string[]>;
482
512
  default: () => never[];
@@ -547,6 +577,7 @@ declare const VSlider: {
547
577
  default: number;
548
578
  };
549
579
  focused: BooleanConstructor;
580
+ 'onUpdate:focused': vue.PropType<EventProp<[FocusEvent], (args_0: FocusEvent) => any>>;
550
581
  disabled: BooleanConstructor;
551
582
  error: BooleanConstructor;
552
583
  errorMessages: {
@@ -575,6 +606,8 @@ declare const VSlider: {
575
606
  appendIcon: vue.PropType<IconValue>;
576
607
  prependIcon: vue.PropType<IconValue>;
577
608
  hideDetails: vue.PropType<boolean | "auto">;
609
+ hint: StringConstructor;
610
+ persistentHint: BooleanConstructor;
578
611
  messages: {
579
612
  type: vue.PropType<string | string[]>;
580
613
  default: () => never[];