@vuetify/nightly 3.3.11-dev.2023-08-07 → 3.3.11-dev.2023-08-09
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 -2
- package/dist/json/attributes.json +8 -0
- package/dist/json/importMap.json +4 -4
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +21 -1
- package/dist/vuetify-labs.css +215 -210
- package/dist/vuetify-labs.d.ts +28 -0
- package/dist/vuetify-labs.esm.js +39 -7
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +38 -6
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +35 -30
- package/dist/vuetify.d.ts +29 -1
- package/dist/vuetify.esm.js +39 -7
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +38 -6
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +836 -832
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VCarousel/index.d.mts +14 -0
- package/lib/components/VColorPicker/VColorPickerPreview.css +5 -0
- package/lib/components/VColorPicker/VColorPickerPreview.mjs +28 -2
- package/lib/components/VColorPicker/VColorPickerPreview.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.sass +4 -0
- package/lib/components/VColorPicker/_variables.scss +1 -0
- package/lib/components/VImg/VImg.mjs +7 -1
- package/lib/components/VImg/VImg.mjs.map +1 -1
- package/lib/components/VImg/index.d.mts +14 -0
- package/lib/components/index.d.mts +28 -0
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/iconsets/fa.mjs +2 -1
- package/lib/iconsets/fa.mjs.map +1 -1
- package/lib/iconsets/fa4.mjs +2 -1
- package/lib/iconsets/fa4.mjs.map +1 -1
- package/lib/iconsets/md.mjs +2 -1
- package/lib/iconsets/md.mjs.map +1 -1
- package/lib/iconsets/mdi-svg.mjs +2 -1
- package/lib/iconsets/mdi-svg.mjs.map +1 -1
- package/lib/iconsets/mdi.mjs +2 -1
- package/lib/iconsets/mdi.mjs.map +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/util/globals.mjs +1 -0
- package/lib/util/globals.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.11-dev.2023-08-
|
|
2
|
+
* Vuetify v3.3.11-dev.2023-08-09
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
const IN_BROWSER = typeof window !== 'undefined';
|
|
79
79
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
|
80
80
|
const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0);
|
|
81
|
+
const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window;
|
|
81
82
|
|
|
82
83
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
83
84
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
@@ -2966,6 +2967,10 @@
|
|
|
2966
2967
|
const makeVImgProps = propsFactory({
|
|
2967
2968
|
alt: String,
|
|
2968
2969
|
cover: Boolean,
|
|
2970
|
+
draggable: {
|
|
2971
|
+
type: [Boolean, String],
|
|
2972
|
+
default: undefined
|
|
2973
|
+
},
|
|
2969
2974
|
eager: Boolean,
|
|
2970
2975
|
gradient: String,
|
|
2971
2976
|
lazySrc: String,
|
|
@@ -3112,6 +3117,7 @@
|
|
|
3112
3117
|
"alt": props.alt,
|
|
3113
3118
|
"crossorigin": props.crossorigin,
|
|
3114
3119
|
"referrerpolicy": props.referrerpolicy,
|
|
3120
|
+
"draggable": props.draggable,
|
|
3115
3121
|
"sizes": props.sizes,
|
|
3116
3122
|
"ref": image,
|
|
3117
3123
|
"onLoad": onLoad,
|
|
@@ -3135,7 +3141,8 @@
|
|
|
3135
3141
|
"src": normalisedSrc.value.lazySrc,
|
|
3136
3142
|
"alt": props.alt,
|
|
3137
3143
|
"crossorigin": props.crossorigin,
|
|
3138
|
-
"referrerpolicy": props.referrerpolicy
|
|
3144
|
+
"referrerpolicy": props.referrerpolicy,
|
|
3145
|
+
"draggable": props.draggable
|
|
3139
3146
|
}, null)]
|
|
3140
3147
|
});
|
|
3141
3148
|
const __placeholder = () => {
|
|
@@ -4154,7 +4161,8 @@
|
|
|
4154
4161
|
file: 'mdi-paperclip',
|
|
4155
4162
|
plus: 'mdi-plus',
|
|
4156
4163
|
minus: 'mdi-minus',
|
|
4157
|
-
calendar: 'mdi-calendar'
|
|
4164
|
+
calendar: 'mdi-calendar',
|
|
4165
|
+
eyeDropper: 'mdi-eyedropper'
|
|
4158
4166
|
};
|
|
4159
4167
|
const mdi = {
|
|
4160
4168
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
@@ -14149,12 +14157,36 @@
|
|
|
14149
14157
|
let {
|
|
14150
14158
|
emit
|
|
14151
14159
|
} = _ref;
|
|
14160
|
+
const abortController = new AbortController();
|
|
14161
|
+
vue.onUnmounted(() => abortController.abort());
|
|
14162
|
+
async function openEyeDropper() {
|
|
14163
|
+
if (!SUPPORTS_EYE_DROPPER) return;
|
|
14164
|
+
const eyeDropper = new window.EyeDropper();
|
|
14165
|
+
try {
|
|
14166
|
+
const result = await eyeDropper.open({
|
|
14167
|
+
signal: abortController.signal
|
|
14168
|
+
});
|
|
14169
|
+
const colorHexValue = HexToHSV(result.sRGBHex);
|
|
14170
|
+
emit('update:color', {
|
|
14171
|
+
...(props.color ?? nullColor),
|
|
14172
|
+
...colorHexValue
|
|
14173
|
+
});
|
|
14174
|
+
} catch (e) {}
|
|
14175
|
+
}
|
|
14152
14176
|
useRender(() => vue.createVNode("div", {
|
|
14153
14177
|
"class": ['v-color-picker-preview', {
|
|
14154
14178
|
'v-color-picker-preview--hide-alpha': props.hideAlpha
|
|
14155
14179
|
}, props.class],
|
|
14156
14180
|
"style": props.style
|
|
14157
|
-
}, [vue.createVNode("div", {
|
|
14181
|
+
}, [SUPPORTS_EYE_DROPPER && vue.createVNode("div", {
|
|
14182
|
+
"class": "v-color-picker-preview__eye-dropper",
|
|
14183
|
+
"key": "eyeDropper"
|
|
14184
|
+
}, [vue.createVNode(VBtn, {
|
|
14185
|
+
"onClick": openEyeDropper,
|
|
14186
|
+
"icon": "$eyeDropper",
|
|
14187
|
+
"variant": "plain",
|
|
14188
|
+
"density": "comfortable"
|
|
14189
|
+
}, null)]), vue.createVNode("div", {
|
|
14158
14190
|
"class": "v-color-picker-preview__dot"
|
|
14159
14191
|
}, [vue.createVNode("div", {
|
|
14160
14192
|
"style": {
|
|
@@ -20312,7 +20344,7 @@
|
|
|
20312
20344
|
date
|
|
20313
20345
|
};
|
|
20314
20346
|
}
|
|
20315
|
-
const version$1 = "3.3.11-dev.2023-08-
|
|
20347
|
+
const version$1 = "3.3.11-dev.2023-08-09";
|
|
20316
20348
|
createVuetify$1.version = version$1;
|
|
20317
20349
|
|
|
20318
20350
|
// Vue's inject() can only be used in setup
|
|
@@ -20337,7 +20369,7 @@
|
|
|
20337
20369
|
...options
|
|
20338
20370
|
});
|
|
20339
20371
|
};
|
|
20340
|
-
const version = "3.3.11-dev.2023-08-
|
|
20372
|
+
const version = "3.3.11-dev.2023-08-09";
|
|
20341
20373
|
createVuetify.version = version;
|
|
20342
20374
|
|
|
20343
20375
|
exports.components = components;
|