@vuetify/nightly 3.6.7-master.2024-05-23 → 3.6.7-master.2024-05-25

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.
@@ -137,7 +137,8 @@ export const VSlider = genericComponent()({
137
137
  "elevation": props.elevation,
138
138
  "onFocus": focus,
139
139
  "onBlur": blur,
140
- "ripple": props.ripple
140
+ "ripple": props.ripple,
141
+ "name": props.name
141
142
  }, {
142
143
  'thumb-label': slots['thumb-label']
143
144
  })]);
@@ -1 +1 @@
1
- {"version":3,"file":"VSlider.mjs","names":["VSliderThumb","VSliderTrack","makeVInputProps","VInput","VLabel","makeSliderProps","useSlider","useSteps","makeFocusProps","useFocus","useRtl","useProxiedModel","computed","ref","genericComponent","propsFactory","useRender","makeVSliderProps","modelValue","type","Number","String","default","VSlider","name","props","emits","value","v","start","end","setup","_ref","slots","emit","thumbContainerRef","rtlClasses","steps","model","undefined","roundValue","min","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","class","style","slotProps","_Fragment","id","_ref4","messagesId","elevation","ripple"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\n\n// Composables\nimport { makeSliderProps, useSlider, useSteps } from './slider'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSliderThumbSlots } from './VSliderThumb'\nimport type { VSliderTrackSlots } from './VSliderTrack'\nimport type { VInputSlot, VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & VSliderThumbSlots & VSliderTrackSlots & {\n label: VInputSlot\n}\n\nexport const makeVSliderProps = propsFactory({\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n}, 'VSlider')\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: makeVSliderProps(),\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 const { rtlClasses } = useRtl()\n\n const steps = useSteps(props)\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n value => {\n return steps.roundValue(value == null ? steps.min.value : 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 rtlClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? (\n 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 ripple={ props.ripple }\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,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,eAAe,EAAEC,MAAM;AAAA,SACvBC,MAAM,+BAEf;AAAA,SACSC,eAAe,EAAEC,SAAS,EAAEC,QAAQ;AAAA,SACpCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,MAAM;AAAA,SACNC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAC1BC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AASA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,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AK;YAAA,WACzB+B,SAAS,CAAC/B,KAAK;YAAA,OACnBc,GAAG,CAACd,KAAK;YAAA,OACTe,GAAG,CAACf,KAAK;YAAA,cACFW,KAAK,CAACX,KAAK;YAAA,uBACFC,CAAC,IAAKU,KAAK,CAACX,KAAK,GAAGC,CAAE;YAAA,YACjCiC,SAAS,CAAClC,KAAK;YAAA,aACdF,KAAK,CAACoD,SAAS;YAAA,WACjBlB,KAAK;YAAA,UACNC,IAAI;YAAA,UACJnC,KAAK,CAACqD;UAAM;YAElB,aAAa,EAAE7C,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VSlider.mjs","names":["VSliderThumb","VSliderTrack","makeVInputProps","VInput","VLabel","makeSliderProps","useSlider","useSteps","makeFocusProps","useFocus","useRtl","useProxiedModel","computed","ref","genericComponent","propsFactory","useRender","makeVSliderProps","modelValue","type","Number","String","default","VSlider","name","props","emits","value","v","start","end","setup","_ref","slots","emit","thumbContainerRef","rtlClasses","steps","model","undefined","roundValue","min","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","class","style","slotProps","_Fragment","id","_ref4","messagesId","elevation","ripple"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\n\n// Composables\nimport { makeSliderProps, useSlider, useSteps } from './slider'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSliderThumbSlots } from './VSliderThumb'\nimport type { VSliderTrackSlots } from './VSliderTrack'\nimport type { VInputSlot, VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & VSliderThumbSlots & VSliderTrackSlots & {\n label: VInputSlot\n}\n\nexport const makeVSliderProps = propsFactory({\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n}, 'VSlider')\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: makeVSliderProps(),\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 const { rtlClasses } = useRtl()\n\n const steps = useSteps(props)\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n value => {\n return steps.roundValue(value == null ? steps.min.value : 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 rtlClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? (\n 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 ripple={ props.ripple }\n name={ props.name }\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,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,eAAe,EAAEC,MAAM;AAAA,SACvBC,MAAM,+BAEf;AAAA,SACSC,eAAe,EAAEC,SAAS,EAAEC,QAAQ;AAAA,SACpCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,MAAM;AAAA,SACNC,eAAe,8CAExB;AACA,SAASC,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K;YAEnB,YAAY,EAAEM,KAAK,CAAC,YAAY;UAAC,IAAAkC,YAAA,CAAAnE,YAAA;YAAA,OAI9BmC,iBAAiB;YAAA,oBACJyC,UAAU,CAACjD,KAAK;YAAA,WACzB+B,SAAS,CAAC/B,KAAK;YAAA,OACnBc,GAAG,CAACd,KAAK;YAAA,OACTe,GAAG,CAACf,KAAK;YAAA,cACFW,KAAK,CAACX,KAAK;YAAA,uBACFC,CAAC,IAAKU,KAAK,CAACX,KAAK,GAAGC,CAAE;YAAA,YACjCiC,SAAS,CAAClC,KAAK;YAAA,aACdF,KAAK,CAACoD,SAAS;YAAA,WACjBlB,KAAK;YAAA,UACNC,IAAI;YAAA,UACJnC,KAAK,CAACqD,MAAM;YAAA,QACdrD,KAAK,CAACD;UAAI;YAEd,aAAa,EAAES,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
@@ -34,6 +34,7 @@ export const makeVSliderThumbProps = propsFactory({
34
34
  type: [Boolean, Object],
35
35
  default: true
36
36
  },
37
+ name: String,
37
38
  ...makeComponentProps()
38
39
  }, 'VSliderThumb');
39
40
  export const VSliderThumb = genericComponent()({
@@ -130,6 +131,7 @@ export const VSliderThumb = genericComponent()({
130
131
  }, props.style],
131
132
  "role": "slider",
132
133
  "tabindex": disabled.value ? -1 : 0,
134
+ "aria-label": props.name,
133
135
  "aria-valuemin": props.min,
134
136
  "aria-valuemax": props.max,
135
137
  "aria-valuenow": props.modelValue,
@@ -1 +1 @@
1
- {"version":3,"file":"VSliderThumb.mjs","names":["VSliderSymbol","VScaleTransition","useTextColor","makeComponentProps","useElevation","useRtl","Ripple","computed","inject","convertToUnit","genericComponent","keyValues","propsFactory","useRender","makeVSliderThumbProps","focused","Boolean","max","type","Number","required","min","modelValue","position","ripple","Object","default","VSliderThumb","name","directives","props","emits","v","setup","_ref","slots","emit","slider","isRtl","rtlClasses","Error","thumbColor","step","disabled","thumbSize","thumbLabel","direction","isReversed","vertical","readonly","elevation","mousePressed","decimals","indexFromEnd","elevationProps","value","undefined","elevationClasses","textColorClasses","textColorStyles","pageup","pagedown","end","home","left","right","down","up","relevantKeys","multipliers","parseKeydown","e","includes","key","preventDefault","_step","steps","increase","multiplier","shiftKey","ctrlKey","Math","onKeydown","newValue","positionPercentage","_createVNode","class","style","_withDirectives","_resolveDirective","circle","center","toFixed","_vShow"],"sources":["../../../src/components/VSlider/VSliderThumb.tsx"],"sourcesContent":["// Styles\nimport './VSliderThumb.sass'\n\n// Components\nimport { VSliderSymbol } from './slider'\nimport { VScaleTransition } from '../transitions'\n\n// Composables\nimport { useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useElevation } from '@/composables/elevation'\nimport { useRtl } from '@/composables/locale'\n\n// Directives\nimport Ripple from '@/directives/ripple'\n\n// Utilities\nimport { computed, inject } from 'vue'\nimport { convertToUnit, genericComponent, keyValues, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VSliderThumbSlots = {\n 'thumb-label': { modelValue: number }\n}\n\nexport const makeVSliderThumbProps = propsFactory({\n focused: Boolean,\n max: {\n type: Number,\n required: true,\n },\n min: {\n type: Number,\n required: true,\n },\n modelValue: {\n type: Number,\n required: true,\n },\n position: {\n type: Number,\n required: true,\n },\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n\n ...makeComponentProps(),\n}, 'VSliderThumb')\n\nexport const VSliderThumb = genericComponent<VSliderThumbSlots>()({\n name: 'VSliderThumb',\n\n directives: { Ripple },\n\n props: makeVSliderThumbProps(),\n\n emits: {\n 'update:modelValue': (v: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const slider = inject(VSliderSymbol)\n const { isRtl, rtlClasses } = useRtl()\n if (!slider) throw new Error('[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider')\n\n const {\n thumbColor,\n step,\n disabled,\n thumbSize,\n thumbLabel,\n direction,\n isReversed,\n vertical,\n readonly,\n elevation,\n mousePressed,\n decimals,\n indexFromEnd,\n } = slider\n\n const elevationProps = computed(() => !disabled.value ? elevation.value : undefined)\n const { elevationClasses } = useElevation(elevationProps)\n const { textColorClasses, textColorStyles } = useTextColor(thumbColor)\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyValues\n const relevantKeys = [pageup, pagedown, end, home, left, right, down, up]\n\n const multipliers = computed(() => {\n if (step.value) return [1, 2, 3]\n else return [1, 5, 10]\n })\n\n function parseKeydown (e: KeyboardEvent, value: number) {\n if (!relevantKeys.includes(e.key)) return\n\n e.preventDefault()\n\n const _step = step.value || 0.1\n const steps = (props.max - props.min) / _step\n if ([left, right, down, up].includes(e.key)) {\n const increase = vertical.value\n ? [isRtl.value ? left : right, isReversed.value ? down : up]\n : indexFromEnd.value !== isRtl.value ? [left, up] : [right, up]\n const direction = increase.includes(e.key) ? 1 : -1\n const multiplier = e.shiftKey ? 2 : (e.ctrlKey ? 1 : 0)\n\n value = value + (direction * _step * multipliers.value[multiplier])\n } else if (e.key === home) {\n value = props.min\n } else if (e.key === end) {\n value = props.max\n } else {\n const direction = e.key === pagedown ? 1 : -1\n value = value - (direction * _step * (steps > 100 ? steps / 10 : 10))\n }\n\n return Math.max(props.min, Math.min(props.max, value))\n }\n\n function onKeydown (e: KeyboardEvent) {\n const newValue = parseKeydown(e, props.modelValue)\n\n newValue != null && emit('update:modelValue', newValue)\n }\n\n useRender(() => {\n const positionPercentage = convertToUnit(indexFromEnd.value ? 100 - props.position : props.position, '%')\n\n return (\n <div\n class={[\n 'v-slider-thumb',\n {\n 'v-slider-thumb--focused': props.focused,\n 'v-slider-thumb--pressed': props.focused && mousePressed.value,\n },\n props.class,\n rtlClasses.value,\n ]}\n style={[\n {\n '--v-slider-thumb-position': positionPercentage,\n '--v-slider-thumb-size': convertToUnit(thumbSize.value),\n },\n props.style,\n ]}\n role=\"slider\"\n tabindex={ disabled.value ? -1 : 0 }\n aria-valuemin={ props.min }\n aria-valuemax={ props.max }\n aria-valuenow={ props.modelValue }\n aria-readonly={ !!readonly.value }\n aria-orientation={ direction.value }\n onKeydown={ !readonly.value ? onKeydown : undefined }\n >\n <div\n class={[\n 'v-slider-thumb__surface',\n textColorClasses.value,\n elevationClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n }}\n />\n <div\n class={[\n 'v-slider-thumb__ripple',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n v-ripple={[props.ripple, null, ['circle', 'center']]}\n />\n <VScaleTransition origin=\"bottom center\">\n <div\n class=\"v-slider-thumb__label-container\"\n v-show={ (thumbLabel.value && props.focused) || thumbLabel.value === 'always' }\n >\n <div\n class={[\n 'v-slider-thumb__label',\n ]}\n >\n <div>\n { slots['thumb-label']?.({ modelValue: props.modelValue }) ?? props.modelValue.toFixed(step.value ? decimals.value : 1) }\n </div>\n </div>\n </div>\n </VScaleTransition>\n </div>\n )\n })\n\n return {}\n },\n})\n\nexport type VSliderThumb = InstanceType<typeof VSliderThumb>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa;AAAA,SACbC,gBAAgB,oCAEzB;AAAA,SACSC,YAAY;AAAA,SACZC,kBAAkB;AAAA,SAClBC,YAAY;AAAA,SACZC,MAAM,wCAEf;AAAA,OACOC,MAAM,2CAEb;AACA,SAASC,QAAQ,EAAEC,MAAM,QAAQ,KAAK;AAAA,SAC7BC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,EAAEC,SAAS,gCAE5E;AAQA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,OAAO,EAAEC,OAAO;EAChBC,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC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A8D,eAAA,CAAAH,YAAA;UAAA;QAAA,IAAAA,YAAA;UAAA,SAQlB,CACL,uBAAuB;QACxB,IAAAA,YAAA,eAGGlD,KAAK,CAAC,aAAa,CAAC,GAAG;UAAEb,UAAU,EAAEQ,KAAK,CAACR;QAAW,CAAC,CAAC,IAAIQ,KAAK,CAACR,UAAU,CAACsE,OAAO,CAAClD,IAAI,CAACa,KAAK,GAAGH,QAAQ,CAACG,KAAK,GAAG,CAAC,CAAC,UAAAsC,MAAA,EARjHhD,UAAU,CAACU,KAAK,IAAIzB,KAAK,CAACf,OAAO,IAAK8B,UAAU,CAACU,KAAK,KAAK,QAAQ;MAAA;IAevF,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VSliderThumb.mjs","names":["VSliderSymbol","VScaleTransition","useTextColor","makeComponentProps","useElevation","useRtl","Ripple","computed","inject","convertToUnit","genericComponent","keyValues","propsFactory","useRender","makeVSliderThumbProps","focused","Boolean","max","type","Number","required","min","modelValue","position","ripple","Object","default","name","String","VSliderThumb","directives","props","emits","v","setup","_ref","slots","emit","slider","isRtl","rtlClasses","Error","thumbColor","step","disabled","thumbSize","thumbLabel","direction","isReversed","vertical","readonly","elevation","mousePressed","decimals","indexFromEnd","elevationProps","value","undefined","elevationClasses","textColorClasses","textColorStyles","pageup","pagedown","end","home","left","right","down","up","relevantKeys","multipliers","parseKeydown","e","includes","key","preventDefault","_step","steps","increase","multiplier","shiftKey","ctrlKey","Math","onKeydown","newValue","positionPercentage","_createVNode","class","style","_withDirectives","_resolveDirective","circle","center","toFixed","_vShow"],"sources":["../../../src/components/VSlider/VSliderThumb.tsx"],"sourcesContent":["// Styles\nimport './VSliderThumb.sass'\n\n// Components\nimport { VSliderSymbol } from './slider'\nimport { VScaleTransition } from '../transitions'\n\n// Composables\nimport { useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useElevation } from '@/composables/elevation'\nimport { useRtl } from '@/composables/locale'\n\n// Directives\nimport Ripple from '@/directives/ripple'\n\n// Utilities\nimport { computed, inject } from 'vue'\nimport { convertToUnit, genericComponent, keyValues, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VSliderThumbSlots = {\n 'thumb-label': { modelValue: number }\n}\n\nexport const makeVSliderThumbProps = propsFactory({\n focused: Boolean,\n max: {\n type: Number,\n required: true,\n },\n min: {\n type: Number,\n required: true,\n },\n modelValue: {\n type: Number,\n required: true,\n },\n position: {\n type: Number,\n required: true,\n },\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n name: String,\n\n ...makeComponentProps(),\n}, 'VSliderThumb')\n\nexport const VSliderThumb = genericComponent<VSliderThumbSlots>()({\n name: 'VSliderThumb',\n\n directives: { Ripple },\n\n props: makeVSliderThumbProps(),\n\n emits: {\n 'update:modelValue': (v: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const slider = inject(VSliderSymbol)\n const { isRtl, rtlClasses } = useRtl()\n if (!slider) throw new Error('[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider')\n\n const {\n thumbColor,\n step,\n disabled,\n thumbSize,\n thumbLabel,\n direction,\n isReversed,\n vertical,\n readonly,\n elevation,\n mousePressed,\n decimals,\n indexFromEnd,\n } = slider\n\n const elevationProps = computed(() => !disabled.value ? elevation.value : undefined)\n const { elevationClasses } = useElevation(elevationProps)\n const { textColorClasses, textColorStyles } = useTextColor(thumbColor)\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyValues\n const relevantKeys = [pageup, pagedown, end, home, left, right, down, up]\n\n const multipliers = computed(() => {\n if (step.value) return [1, 2, 3]\n else return [1, 5, 10]\n })\n\n function parseKeydown (e: KeyboardEvent, value: number) {\n if (!relevantKeys.includes(e.key)) return\n\n e.preventDefault()\n\n const _step = step.value || 0.1\n const steps = (props.max - props.min) / _step\n if ([left, right, down, up].includes(e.key)) {\n const increase = vertical.value\n ? [isRtl.value ? left : right, isReversed.value ? down : up]\n : indexFromEnd.value !== isRtl.value ? [left, up] : [right, up]\n const direction = increase.includes(e.key) ? 1 : -1\n const multiplier = e.shiftKey ? 2 : (e.ctrlKey ? 1 : 0)\n\n value = value + (direction * _step * multipliers.value[multiplier])\n } else if (e.key === home) {\n value = props.min\n } else if (e.key === end) {\n value = props.max\n } else {\n const direction = e.key === pagedown ? 1 : -1\n value = value - (direction * _step * (steps > 100 ? steps / 10 : 10))\n }\n\n return Math.max(props.min, Math.min(props.max, value))\n }\n\n function onKeydown (e: KeyboardEvent) {\n const newValue = parseKeydown(e, props.modelValue)\n\n newValue != null && emit('update:modelValue', newValue)\n }\n\n useRender(() => {\n const positionPercentage = convertToUnit(indexFromEnd.value ? 100 - props.position : props.position, '%')\n\n return (\n <div\n class={[\n 'v-slider-thumb',\n {\n 'v-slider-thumb--focused': props.focused,\n 'v-slider-thumb--pressed': props.focused && mousePressed.value,\n },\n props.class,\n rtlClasses.value,\n ]}\n style={[\n {\n '--v-slider-thumb-position': positionPercentage,\n '--v-slider-thumb-size': convertToUnit(thumbSize.value),\n },\n props.style,\n ]}\n role=\"slider\"\n tabindex={ disabled.value ? -1 : 0 }\n aria-label={ props.name }\n aria-valuemin={ props.min }\n aria-valuemax={ props.max }\n aria-valuenow={ props.modelValue }\n aria-readonly={ !!readonly.value }\n aria-orientation={ direction.value }\n onKeydown={ !readonly.value ? onKeydown : undefined }\n >\n <div\n class={[\n 'v-slider-thumb__surface',\n textColorClasses.value,\n elevationClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n }}\n />\n <div\n class={[\n 'v-slider-thumb__ripple',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n v-ripple={[props.ripple, null, ['circle', 'center']]}\n />\n <VScaleTransition origin=\"bottom center\">\n <div\n class=\"v-slider-thumb__label-container\"\n v-show={ (thumbLabel.value && props.focused) || thumbLabel.value === 'always' }\n >\n <div\n class={[\n 'v-slider-thumb__label',\n ]}\n >\n <div>\n { slots['thumb-label']?.({ modelValue: props.modelValue }) ?? props.modelValue.toFixed(step.value ? decimals.value : 1) }\n </div>\n </div>\n </div>\n </VScaleTransition>\n </div>\n )\n })\n\n return {}\n },\n})\n\nexport type VSliderThumb = InstanceType<typeof VSliderThumb>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa;AAAA,SACbC,gBAAgB,oCAEzB;AAAA,SACSC,YAAY;AAAA,SACZC,kBAAkB;AAAA,SAClBC,YAAY;AAAA,SACZC,MAAM,wCAEf;AAAA,OACOC,MAAM,2CAEb;AACA,SAASC,QAAQ,EAAEC,MAAM,QAAQ,KAAK;AAAA,SAC7BC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,EAAEC,SAAS,gCAE5E;AAQA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,OAAO,EAAEC,OAAO;EAChBC,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDE,UAAU,EAAE;IACVJ,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDG,QAAQ,EAAE;IACRL,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDI,MAAM,EAAE;IACNN,IAAI,EAAE,CAACF,OAAO,EAAES,MAAM,CAA8C;IACpEC,OAAO,EAAE;EACX,CAAC;EACDC,IAAI,EAAEC,MAAM;EAEZ,GAAGzB,kBAAkB,CAAC;AACxB,CAAC,EAAE,cAAc,CAAC;AAElB,OAAO,MAAM0B,YAAY,GAAGnB,gBAAgB,CAAoB,CAAC,CAAC;EAChEiB,IAAI,EAAE,cAAc;EAEpBG,UAAU,EAAE;IAAExB;EAAO,CAAC;EAEtByB,KAAK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,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.6.7-master.2024-05-23";
19
+ export const version = "3.6.7-master.2024-05-25";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.6.7-master.2024-05-23";
100
+ export const version = "3.6.7-master.2024-05-25";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
package/lib/index.d.mts CHANGED
@@ -494,41 +494,40 @@ declare module '@vue/runtime-core' {
494
494
 
495
495
  export interface GlobalComponents {
496
496
  VApp: typeof import('vuetify/components')['VApp']
497
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
497
498
  VAppBar: typeof import('vuetify/components')['VAppBar']
498
499
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
499
500
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
500
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
501
- VAvatar: typeof import('vuetify/components')['VAvatar']
502
501
  VAlert: typeof import('vuetify/components')['VAlert']
503
502
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
504
- VBadge: typeof import('vuetify/components')['VBadge']
503
+ VAvatar: typeof import('vuetify/components')['VAvatar']
505
504
  VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
506
- VBtn: typeof import('vuetify/components')['VBtn']
507
- VBanner: typeof import('vuetify/components')['VBanner']
508
- VBannerActions: typeof import('vuetify/components')['VBannerActions']
509
- VBannerText: typeof import('vuetify/components')['VBannerText']
505
+ VBadge: typeof import('vuetify/components')['VBadge']
510
506
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
511
- VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
512
- VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
513
- VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
514
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
515
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
516
507
  VCard: typeof import('vuetify/components')['VCard']
517
508
  VCardActions: typeof import('vuetify/components')['VCardActions']
518
509
  VCardItem: typeof import('vuetify/components')['VCardItem']
519
510
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
520
511
  VCardText: typeof import('vuetify/components')['VCardText']
521
512
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
522
- VCarousel: typeof import('vuetify/components')['VCarousel']
523
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
524
- VChip: typeof import('vuetify/components')['VChip']
513
+ VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
514
+ VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
515
+ VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
516
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
517
+ VBanner: typeof import('vuetify/components')['VBanner']
518
+ VBannerActions: typeof import('vuetify/components')['VBannerActions']
519
+ VBannerText: typeof import('vuetify/components')['VBannerText']
520
+ VBtn: typeof import('vuetify/components')['VBtn']
521
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
525
522
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
526
523
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
527
- VCode: typeof import('vuetify/components')['VCode']
524
+ VCarousel: typeof import('vuetify/components')['VCarousel']
525
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
528
526
  VChipGroup: typeof import('vuetify/components')['VChipGroup']
529
527
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
528
+ VChip: typeof import('vuetify/components')['VChip']
529
+ VCode: typeof import('vuetify/components')['VCode']
530
530
  VCombobox: typeof import('vuetify/components')['VCombobox']
531
- VCounter: typeof import('vuetify/components')['VCounter']
532
531
  VDataTable: typeof import('vuetify/components')['VDataTable']
533
532
  VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
534
533
  VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
@@ -536,37 +535,35 @@ declare module '@vue/runtime-core' {
536
535
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
537
536
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
538
537
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
538
+ VCounter: typeof import('vuetify/components')['VCounter']
539
+ VDialog: typeof import('vuetify/components')['VDialog']
539
540
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
540
541
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
541
542
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
542
543
  VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
543
544
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
544
545
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
545
- VDialog: typeof import('vuetify/components')['VDialog']
546
- VEmptyState: typeof import('vuetify/components')['VEmptyState']
547
- VFab: typeof import('vuetify/components')['VFab']
548
546
  VDivider: typeof import('vuetify/components')['VDivider']
547
+ VEmptyState: typeof import('vuetify/components')['VEmptyState']
549
548
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
550
549
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
551
550
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
552
551
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
553
- VFileInput: typeof import('vuetify/components')['VFileInput']
554
552
  VField: typeof import('vuetify/components')['VField']
555
553
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
554
+ VFab: typeof import('vuetify/components')['VFab']
555
+ VFileInput: typeof import('vuetify/components')['VFileInput']
556
556
  VFooter: typeof import('vuetify/components')['VFooter']
557
557
  VIcon: typeof import('vuetify/components')['VIcon']
558
558
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
559
559
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
560
560
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
561
561
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
562
- VImg: typeof import('vuetify/components')['VImg']
563
562
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
564
- VItemGroup: typeof import('vuetify/components')['VItemGroup']
565
- VItem: typeof import('vuetify/components')['VItem']
563
+ VImg: typeof import('vuetify/components')['VImg']
564
+ VInput: typeof import('vuetify/components')['VInput']
566
565
  VKbd: typeof import('vuetify/components')['VKbd']
567
566
  VLabel: typeof import('vuetify/components')['VLabel']
568
- VInput: typeof import('vuetify/components')['VInput']
569
- VMain: typeof import('vuetify/components')['VMain']
570
567
  VList: typeof import('vuetify/components')['VList']
571
568
  VListGroup: typeof import('vuetify/components')['VListGroup']
572
569
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -576,65 +573,68 @@ declare module '@vue/runtime-core' {
576
573
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
577
574
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
578
575
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
576
+ VItemGroup: typeof import('vuetify/components')['VItemGroup']
577
+ VItem: typeof import('vuetify/components')['VItem']
578
+ VMain: typeof import('vuetify/components')['VMain']
579
579
  VMessages: typeof import('vuetify/components')['VMessages']
580
580
  VMenu: typeof import('vuetify/components')['VMenu']
581
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
582
581
  VOverlay: typeof import('vuetify/components')['VOverlay']
583
- VOtpInput: typeof import('vuetify/components')['VOtpInput']
582
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
584
583
  VPagination: typeof import('vuetify/components')['VPagination']
585
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
586
584
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
587
- VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
585
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
586
+ VOtpInput: typeof import('vuetify/components')['VOtpInput']
588
587
  VRating: typeof import('vuetify/components')['VRating']
588
+ VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
589
589
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
590
590
  VSelect: typeof import('vuetify/components')['VSelect']
591
591
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
592
+ VSheet: typeof import('vuetify/components')['VSheet']
592
593
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
593
594
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
594
595
  VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
595
- VSheet: typeof import('vuetify/components')['VSheet']
596
- VSlider: typeof import('vuetify/components')['VSlider']
597
596
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
597
+ VSlider: typeof import('vuetify/components')['VSlider']
598
+ VSwitch: typeof import('vuetify/components')['VSwitch']
599
+ VTab: typeof import('vuetify/components')['VTab']
600
+ VTabs: typeof import('vuetify/components')['VTabs']
601
+ VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
602
+ VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
598
603
  VStepper: typeof import('vuetify/components')['VStepper']
599
604
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
600
605
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
601
606
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
602
607
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
603
608
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
604
- VTab: typeof import('vuetify/components')['VTab']
605
- VTabs: typeof import('vuetify/components')['VTabs']
606
- VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
607
- VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
608
609
  VTextarea: typeof import('vuetify/components')['VTextarea']
609
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
610
- VTable: typeof import('vuetify/components')['VTable']
611
- VSwitch: typeof import('vuetify/components')['VSwitch']
612
610
  VTextField: typeof import('vuetify/components')['VTextField']
613
- VTooltip: typeof import('vuetify/components')['VTooltip']
611
+ VTable: typeof import('vuetify/components')['VTable']
612
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
614
613
  VToolbar: typeof import('vuetify/components')['VToolbar']
615
614
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
616
615
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
617
616
  VTimeline: typeof import('vuetify/components')['VTimeline']
618
617
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
618
+ VTooltip: typeof import('vuetify/components')['VTooltip']
619
619
  VWindow: typeof import('vuetify/components')['VWindow']
620
620
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
621
621
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
622
622
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
623
623
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
624
624
  VForm: typeof import('vuetify/components')['VForm']
625
- VHover: typeof import('vuetify/components')['VHover']
626
625
  VContainer: typeof import('vuetify/components')['VContainer']
627
626
  VCol: typeof import('vuetify/components')['VCol']
628
627
  VRow: typeof import('vuetify/components')['VRow']
629
628
  VSpacer: typeof import('vuetify/components')['VSpacer']
629
+ VHover: typeof import('vuetify/components')['VHover']
630
+ VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
631
+ VLazy: typeof import('vuetify/components')['VLazy']
630
632
  VLayout: typeof import('vuetify/components')['VLayout']
631
633
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
632
- VLazy: typeof import('vuetify/components')['VLazy']
633
- VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
634
634
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
635
635
  VParallax: typeof import('vuetify/components')['VParallax']
636
- VRadio: typeof import('vuetify/components')['VRadio']
637
636
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
637
+ VRadio: typeof import('vuetify/components')['VRadio']
638
638
  VResponsive: typeof import('vuetify/components')['VResponsive']
639
639
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
640
640
  VSparkline: typeof import('vuetify/components')['VSparkline']
@@ -657,24 +657,24 @@ declare module '@vue/runtime-core' {
657
657
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
658
658
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
659
659
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
660
- VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
661
660
  VCalendar: typeof import('vuetify/labs/components')['VCalendar']
662
661
  VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
663
662
  VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
664
663
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
665
664
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
666
665
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
666
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
667
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
667
668
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
668
669
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
669
670
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
670
- VPicker: typeof import('vuetify/labs/components')['VPicker']
671
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
672
- VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
673
- VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
674
- VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
675
671
  VTreeview: typeof import('vuetify/labs/components')['VTreeview']
676
672
  VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
677
673
  VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
674
+ VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
675
+ VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
676
+ VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
677
+ VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
678
678
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
679
679
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
680
680
  VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.6.7-master.2024-05-23",
4
+ "version": "3.6.7-master.2024-05-25",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"