@vuetify/nightly 3.11.5-dev.2025-12-24 → 3.11.5-dev.2025-12-26
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.
- package/CHANGELOG.md +4 -3
- package/dist/json/attributes.json +1144 -1140
- package/dist/json/importMap-labs.json +14 -14
- package/dist/json/importMap.json +164 -164
- package/dist/json/tags.json +1 -0
- package/dist/json/web-types.json +2026 -2016
- package/dist/vuetify-labs.cjs +34 -12
- package/dist/vuetify-labs.css +5784 -5784
- package/dist/vuetify-labs.d.ts +85 -73
- package/dist/vuetify-labs.esm.js +34 -12
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +34 -12
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +31 -9
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +5916 -5916
- package/dist/vuetify.d.ts +62 -54
- package/dist/vuetify.esm.js +31 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +31 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +338 -337
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.d.ts +13 -0
- package/lib/components/VColorPicker/VColorPicker.js +7 -2
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.d.ts +13 -0
- package/lib/components/VColorPicker/VColorPickerCanvas.js +5 -3
- package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.d.ts +13 -0
- package/lib/components/VColorPicker/VColorPickerEdit.js +2 -0
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.d.ts +13 -0
- package/lib/components/VColorPicker/VColorPickerPreview.js +7 -2
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.d.ts +13 -0
- package/lib/components/VColorPicker/VColorPickerSwatches.js +10 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +54 -54
- package/lib/framework.js +1 -1
- package/lib/labs/VColorInput/VColorInput.d.ts +43 -35
- package/lib/labs/VColorInput/VColorInput.js +3 -3
- package/lib/labs/VColorInput/VColorInput.js.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.11.5-dev.2025-12-
|
|
2
|
+
* Vuetify v3.11.5-dev.2025-12-26
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -20694,6 +20694,7 @@ const makeVColorPickerCanvasProps = propsFactory({
|
|
|
20694
20694
|
type: Object
|
|
20695
20695
|
},
|
|
20696
20696
|
disabled: Boolean,
|
|
20697
|
+
readonly: Boolean,
|
|
20697
20698
|
dotSize: {
|
|
20698
20699
|
type: [Number, String],
|
|
20699
20700
|
default: 10
|
|
@@ -20727,6 +20728,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
20727
20728
|
x: 0,
|
|
20728
20729
|
y: 0
|
|
20729
20730
|
});
|
|
20731
|
+
const isInteractive = toRef(() => !props.disabled && !props.readonly);
|
|
20730
20732
|
const dotPosition = computed({
|
|
20731
20733
|
get: () => _dotPosition.value,
|
|
20732
20734
|
set(val) {
|
|
@@ -20784,7 +20786,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
20784
20786
|
// Prevent text selection while dragging
|
|
20785
20787
|
e.preventDefault();
|
|
20786
20788
|
}
|
|
20787
|
-
if (
|
|
20789
|
+
if (!isInteractive.value) return;
|
|
20788
20790
|
handleMouseMove(e);
|
|
20789
20791
|
window.addEventListener('mousemove', handleMouseMove);
|
|
20790
20792
|
window.addEventListener('mouseup', handleMouseUp);
|
|
@@ -20792,7 +20794,7 @@ const VColorPickerCanvas = defineComponent({
|
|
|
20792
20794
|
window.addEventListener('touchend', handleMouseUp);
|
|
20793
20795
|
}
|
|
20794
20796
|
function handleMouseMove(e) {
|
|
20795
|
-
if (
|
|
20797
|
+
if (!isInteractive.value || !canvasRef.value) return;
|
|
20796
20798
|
isInteracting.value = true;
|
|
20797
20799
|
const coords = getEventCoordinates(e);
|
|
20798
20800
|
updateDotPosition(coords.clientX, coords.clientY, canvasRef.value.getBoundingClientRect());
|
|
@@ -21079,6 +21081,7 @@ const VColorPickerInput = _ref => {
|
|
|
21079
21081
|
const makeVColorPickerEditProps = propsFactory({
|
|
21080
21082
|
color: Object,
|
|
21081
21083
|
disabled: Boolean,
|
|
21084
|
+
readonly: Boolean,
|
|
21082
21085
|
mode: {
|
|
21083
21086
|
type: String,
|
|
21084
21087
|
default: 'rgba',
|
|
@@ -21127,6 +21130,7 @@ const VColorPickerEdit = defineComponent({
|
|
|
21127
21130
|
...inputProps,
|
|
21128
21131
|
ariaLabel: t(`$vuetify.colorPicker.ariaLabel.${localeKey}`),
|
|
21129
21132
|
disabled: props.disabled,
|
|
21133
|
+
readonly: props.readonly,
|
|
21130
21134
|
value: color && getValue(color),
|
|
21131
21135
|
onChange: e => {
|
|
21132
21136
|
const target = e.target;
|
|
@@ -21911,6 +21915,7 @@ const makeVColorPickerPreviewProps = propsFactory({
|
|
|
21911
21915
|
type: Object
|
|
21912
21916
|
},
|
|
21913
21917
|
disabled: Boolean,
|
|
21918
|
+
readonly: Boolean,
|
|
21914
21919
|
hideAlpha: Boolean,
|
|
21915
21920
|
hideEyeDropper: Boolean,
|
|
21916
21921
|
eyeDropperIcon: {
|
|
@@ -21933,9 +21938,10 @@ const VColorPickerPreview = defineComponent({
|
|
|
21933
21938
|
t
|
|
21934
21939
|
} = useLocale();
|
|
21935
21940
|
const abortController = new AbortController();
|
|
21941
|
+
const isInteractive = toRef(() => !props.disabled && !props.readonly);
|
|
21936
21942
|
onUnmounted(() => abortController.abort());
|
|
21937
21943
|
async function openEyeDropper() {
|
|
21938
|
-
if (!SUPPORTS_EYE_DROPPER ||
|
|
21944
|
+
if (!SUPPORTS_EYE_DROPPER || !isInteractive.value) return;
|
|
21939
21945
|
const eyeDropper = new window.EyeDropper();
|
|
21940
21946
|
try {
|
|
21941
21947
|
const result = await eyeDropper.open({
|
|
@@ -21960,6 +21966,7 @@ const VColorPickerPreview = defineComponent({
|
|
|
21960
21966
|
"aria-label": t('$vuetify.colorPicker.ariaLabel.eyedropper'),
|
|
21961
21967
|
"density": "comfortable",
|
|
21962
21968
|
"disabled": props.disabled,
|
|
21969
|
+
"readonly": props.readonly,
|
|
21963
21970
|
"icon": props.eyeDropperIcon,
|
|
21964
21971
|
"variant": "plain",
|
|
21965
21972
|
"onClick": openEyeDropper
|
|
@@ -21983,6 +21990,7 @@ const VColorPickerPreview = defineComponent({
|
|
|
21983
21990
|
"min": 0,
|
|
21984
21991
|
"max": 360,
|
|
21985
21992
|
"disabled": props.disabled,
|
|
21993
|
+
"readonly": props.readonly,
|
|
21986
21994
|
"thumbSize": 14,
|
|
21987
21995
|
"trackSize": 8,
|
|
21988
21996
|
"trackFillColor": "white",
|
|
@@ -21999,6 +22007,7 @@ const VColorPickerPreview = defineComponent({
|
|
|
21999
22007
|
"min": 0,
|
|
22000
22008
|
"max": 1,
|
|
22001
22009
|
"disabled": props.disabled,
|
|
22010
|
+
"readonly": props.readonly,
|
|
22002
22011
|
"thumbSize": 14,
|
|
22003
22012
|
"trackSize": 8,
|
|
22004
22013
|
"trackFillColor": "white",
|
|
@@ -22336,6 +22345,7 @@ const makeVColorPickerSwatchesProps = propsFactory({
|
|
|
22336
22345
|
default: () => parseDefaultColors(colors)
|
|
22337
22346
|
},
|
|
22338
22347
|
disabled: Boolean,
|
|
22348
|
+
readonly: Boolean,
|
|
22339
22349
|
color: Object,
|
|
22340
22350
|
maxHeight: [Number, String],
|
|
22341
22351
|
...makeComponentProps()
|
|
@@ -22356,6 +22366,13 @@ const VColorPickerSwatches = defineComponent({
|
|
|
22356
22366
|
let {
|
|
22357
22367
|
emit
|
|
22358
22368
|
} = _ref;
|
|
22369
|
+
const isInteractive = toRef(() => !props.disabled && !props.readonly);
|
|
22370
|
+
function onSwatchClick(hsva) {
|
|
22371
|
+
if (!isInteractive.value || !hsva) {
|
|
22372
|
+
return;
|
|
22373
|
+
}
|
|
22374
|
+
emit('update:color', hsva);
|
|
22375
|
+
}
|
|
22359
22376
|
useRender(() => createElementVNode("div", {
|
|
22360
22377
|
"class": normalizeClass(['v-color-picker-swatches', props.class]),
|
|
22361
22378
|
"style": normalizeStyle([{
|
|
@@ -22369,7 +22386,7 @@ const VColorPickerSwatches = defineComponent({
|
|
|
22369
22386
|
const background = RGBtoCSS(rgba);
|
|
22370
22387
|
return createElementVNode("div", {
|
|
22371
22388
|
"class": "v-color-picker-swatches__color",
|
|
22372
|
-
"onClick": () =>
|
|
22389
|
+
"onClick": () => onSwatchClick(hsva)
|
|
22373
22390
|
}, [createElementVNode("div", {
|
|
22374
22391
|
"style": {
|
|
22375
22392
|
background
|
|
@@ -22529,6 +22546,7 @@ const makeVColorPickerProps = propsFactory({
|
|
|
22529
22546
|
validator: v => Array.isArray(v) && v.every(m => Object.keys(modes).includes(m))
|
|
22530
22547
|
},
|
|
22531
22548
|
showSwatches: Boolean,
|
|
22549
|
+
readonly: Boolean,
|
|
22532
22550
|
swatches: Array,
|
|
22533
22551
|
swatchesMaxHeight: {
|
|
22534
22552
|
type: [Number, String],
|
|
@@ -22622,6 +22640,7 @@ const VColorPicker = defineComponent({
|
|
|
22622
22640
|
"color": currentColor.value,
|
|
22623
22641
|
"onUpdate:color": updateColor,
|
|
22624
22642
|
"disabled": props.disabled,
|
|
22643
|
+
"readonly": props.readonly,
|
|
22625
22644
|
"dotSize": props.dotSize,
|
|
22626
22645
|
"width": props.width,
|
|
22627
22646
|
"height": props.canvasHeight
|
|
@@ -22634,6 +22653,7 @@ const VColorPicker = defineComponent({
|
|
|
22634
22653
|
"onUpdate:color": updateColor,
|
|
22635
22654
|
"hideAlpha": !mode.value.endsWith('a'),
|
|
22636
22655
|
"disabled": props.disabled,
|
|
22656
|
+
"readonly": props.readonly,
|
|
22637
22657
|
"hideEyeDropper": props.hideEyeDropper,
|
|
22638
22658
|
"eyeDropperIcon": props.eyeDropperIcon
|
|
22639
22659
|
}, null), !props.hideInputs && createVNode(VColorPickerEdit, {
|
|
@@ -22643,14 +22663,16 @@ const VColorPicker = defineComponent({
|
|
|
22643
22663
|
"onUpdate:mode": m => mode.value = m,
|
|
22644
22664
|
"color": currentColor.value,
|
|
22645
22665
|
"onUpdate:color": updateColor,
|
|
22646
|
-
"disabled": props.disabled
|
|
22666
|
+
"disabled": props.disabled,
|
|
22667
|
+
"readonly": props.readonly
|
|
22647
22668
|
}, null)]), props.showSwatches && createVNode(VColorPickerSwatches, {
|
|
22648
22669
|
"key": "swatches",
|
|
22649
22670
|
"color": currentColor.value,
|
|
22650
22671
|
"onUpdate:color": updateColor,
|
|
22651
22672
|
"maxHeight": props.swatchesMaxHeight,
|
|
22652
22673
|
"swatches": props.swatches,
|
|
22653
|
-
"disabled": props.disabled
|
|
22674
|
+
"disabled": props.disabled,
|
|
22675
|
+
"readonly": props.readonly
|
|
22654
22676
|
}, null)])
|
|
22655
22677
|
});
|
|
22656
22678
|
});
|
|
@@ -36167,10 +36189,10 @@ const VColorInput = genericComponent()({
|
|
|
36167
36189
|
"modelValue": display.value,
|
|
36168
36190
|
"onKeydown": isInteractive.value ? onKeydown : undefined,
|
|
36169
36191
|
"focused": menu.value || isFocused.value,
|
|
36170
|
-
"onClick:control":
|
|
36171
|
-
"onClick:prependInner":
|
|
36192
|
+
"onClick:control": !props.disabled ? onClick : undefined,
|
|
36193
|
+
"onClick:prependInner": !props.disabled ? onClick : undefined,
|
|
36172
36194
|
"onUpdate:focused": event => isFocused.value = event,
|
|
36173
|
-
"onClick:appendInner":
|
|
36195
|
+
"onClick:appendInner": !props.disabled ? onClick : undefined,
|
|
36174
36196
|
"onUpdate:modelValue": val => {
|
|
36175
36197
|
model.value = val;
|
|
36176
36198
|
}
|
|
@@ -39452,7 +39474,7 @@ function createVuetify$1() {
|
|
|
39452
39474
|
};
|
|
39453
39475
|
});
|
|
39454
39476
|
}
|
|
39455
|
-
const version$1 = "3.11.5-dev.2025-12-
|
|
39477
|
+
const version$1 = "3.11.5-dev.2025-12-26";
|
|
39456
39478
|
createVuetify$1.version = version$1;
|
|
39457
39479
|
|
|
39458
39480
|
// Vue's inject() can only be used in setup
|
|
@@ -39755,7 +39777,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
39755
39777
|
|
|
39756
39778
|
/* eslint-disable local-rules/sort-imports */
|
|
39757
39779
|
|
|
39758
|
-
const version = "3.11.5-dev.2025-12-
|
|
39780
|
+
const version = "3.11.5-dev.2025-12-26";
|
|
39759
39781
|
|
|
39760
39782
|
/* eslint-disable local-rules/sort-imports */
|
|
39761
39783
|
|