@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-labs.d.ts
CHANGED
|
@@ -13192,6 +13192,7 @@ declare const VImg: {
|
|
|
13192
13192
|
component?: vue.Component | undefined;
|
|
13193
13193
|
}) | undefined;
|
|
13194
13194
|
style?: vue.StyleValue | undefined;
|
|
13195
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13195
13196
|
eager?: boolean | undefined;
|
|
13196
13197
|
options?: IntersectionObserverInit | undefined;
|
|
13197
13198
|
cover?: boolean | undefined;
|
|
@@ -13316,6 +13317,7 @@ declare const VImg: {
|
|
|
13316
13317
|
maxWidth?: string | number | undefined;
|
|
13317
13318
|
minHeight?: string | number | undefined;
|
|
13318
13319
|
minWidth?: string | number | undefined;
|
|
13320
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13319
13321
|
class?: any;
|
|
13320
13322
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13321
13323
|
alt?: string | undefined;
|
|
@@ -13363,6 +13365,7 @@ declare const VImg: {
|
|
|
13363
13365
|
component?: vue.Component | undefined;
|
|
13364
13366
|
});
|
|
13365
13367
|
style: vue.StyleValue;
|
|
13368
|
+
draggable: boolean | "false" | "true";
|
|
13366
13369
|
eager: boolean;
|
|
13367
13370
|
options: IntersectionObserverInit;
|
|
13368
13371
|
cover: boolean;
|
|
@@ -13418,6 +13421,7 @@ declare const VImg: {
|
|
|
13418
13421
|
maxWidth?: string | number | undefined;
|
|
13419
13422
|
minHeight?: string | number | undefined;
|
|
13420
13423
|
minWidth?: string | number | undefined;
|
|
13424
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13421
13425
|
class?: any;
|
|
13422
13426
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13423
13427
|
alt?: string | undefined;
|
|
@@ -13477,6 +13481,7 @@ declare const VImg: {
|
|
|
13477
13481
|
maxWidth?: string | number | undefined;
|
|
13478
13482
|
minHeight?: string | number | undefined;
|
|
13479
13483
|
minWidth?: string | number | undefined;
|
|
13484
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13480
13485
|
class?: any;
|
|
13481
13486
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13482
13487
|
alt?: string | undefined;
|
|
@@ -13524,6 +13529,7 @@ declare const VImg: {
|
|
|
13524
13529
|
component?: vue.Component | undefined;
|
|
13525
13530
|
});
|
|
13526
13531
|
style: vue.StyleValue;
|
|
13532
|
+
draggable: boolean | "false" | "true";
|
|
13527
13533
|
eager: boolean;
|
|
13528
13534
|
options: IntersectionObserverInit;
|
|
13529
13535
|
cover: boolean;
|
|
@@ -13565,6 +13571,10 @@ declare const VImg: {
|
|
|
13565
13571
|
inline: BooleanConstructor;
|
|
13566
13572
|
alt: StringConstructor;
|
|
13567
13573
|
cover: BooleanConstructor;
|
|
13574
|
+
draggable: {
|
|
13575
|
+
type: PropType<boolean | "false" | "true">;
|
|
13576
|
+
default: undefined;
|
|
13577
|
+
};
|
|
13568
13578
|
eager: BooleanConstructor;
|
|
13569
13579
|
gradient: StringConstructor;
|
|
13570
13580
|
lazySrc: StringConstructor;
|
|
@@ -13608,6 +13618,10 @@ declare const VImg: {
|
|
|
13608
13618
|
inline: BooleanConstructor;
|
|
13609
13619
|
alt: StringConstructor;
|
|
13610
13620
|
cover: BooleanConstructor;
|
|
13621
|
+
draggable: {
|
|
13622
|
+
type: PropType<boolean | "false" | "true">;
|
|
13623
|
+
default: undefined;
|
|
13624
|
+
};
|
|
13611
13625
|
eager: BooleanConstructor;
|
|
13612
13626
|
gradient: StringConstructor;
|
|
13613
13627
|
lazySrc: StringConstructor;
|
|
@@ -13638,6 +13652,7 @@ declare const VCarouselItem: {
|
|
|
13638
13652
|
inline?: boolean | undefined;
|
|
13639
13653
|
transition?: string | boolean | undefined;
|
|
13640
13654
|
style?: vue.StyleValue | undefined;
|
|
13655
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13641
13656
|
eager?: boolean | undefined;
|
|
13642
13657
|
disabled?: boolean | undefined;
|
|
13643
13658
|
options?: IntersectionObserverInit | undefined;
|
|
@@ -13763,6 +13778,7 @@ declare const VCarouselItem: {
|
|
|
13763
13778
|
minWidth?: string | number | undefined;
|
|
13764
13779
|
transition?: string | boolean | undefined;
|
|
13765
13780
|
value?: any;
|
|
13781
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13766
13782
|
class?: any;
|
|
13767
13783
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13768
13784
|
alt?: string | undefined;
|
|
@@ -13796,6 +13812,7 @@ declare const VCarouselItem: {
|
|
|
13796
13812
|
inline: boolean;
|
|
13797
13813
|
transition: string | boolean;
|
|
13798
13814
|
style: vue.StyleValue;
|
|
13815
|
+
draggable: boolean | "false" | "true";
|
|
13799
13816
|
eager: boolean;
|
|
13800
13817
|
disabled: boolean;
|
|
13801
13818
|
options: IntersectionObserverInit;
|
|
@@ -13853,6 +13870,7 @@ declare const VCarouselItem: {
|
|
|
13853
13870
|
minWidth?: string | number | undefined;
|
|
13854
13871
|
transition?: string | boolean | undefined;
|
|
13855
13872
|
value?: any;
|
|
13873
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13856
13874
|
class?: any;
|
|
13857
13875
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13858
13876
|
alt?: string | undefined;
|
|
@@ -13904,6 +13922,7 @@ declare const VCarouselItem: {
|
|
|
13904
13922
|
minWidth?: string | number | undefined;
|
|
13905
13923
|
transition?: string | boolean | undefined;
|
|
13906
13924
|
value?: any;
|
|
13925
|
+
draggable?: boolean | "false" | "true" | undefined;
|
|
13907
13926
|
class?: any;
|
|
13908
13927
|
referrerpolicy?: "origin" | "same-origin" | "no-referrer" | "no-referrer-when-downgrade" | "origin-when-cross-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
13909
13928
|
alt?: string | undefined;
|
|
@@ -13937,6 +13956,7 @@ declare const VCarouselItem: {
|
|
|
13937
13956
|
inline: boolean;
|
|
13938
13957
|
transition: string | boolean;
|
|
13939
13958
|
style: vue.StyleValue;
|
|
13959
|
+
draggable: boolean | "false" | "true";
|
|
13940
13960
|
eager: boolean;
|
|
13941
13961
|
disabled: boolean;
|
|
13942
13962
|
options: IntersectionObserverInit;
|
|
@@ -13985,6 +14005,10 @@ declare const VCarouselItem: {
|
|
|
13985
14005
|
inline: BooleanConstructor;
|
|
13986
14006
|
alt: StringConstructor;
|
|
13987
14007
|
cover: BooleanConstructor;
|
|
14008
|
+
draggable: {
|
|
14009
|
+
type: vue.PropType<boolean | "false" | "true">;
|
|
14010
|
+
default: undefined;
|
|
14011
|
+
};
|
|
13988
14012
|
gradient: StringConstructor;
|
|
13989
14013
|
lazySrc: StringConstructor;
|
|
13990
14014
|
options: {
|
|
@@ -14032,6 +14056,10 @@ declare const VCarouselItem: {
|
|
|
14032
14056
|
inline: BooleanConstructor;
|
|
14033
14057
|
alt: StringConstructor;
|
|
14034
14058
|
cover: BooleanConstructor;
|
|
14059
|
+
draggable: {
|
|
14060
|
+
type: vue.PropType<boolean | "false" | "true">;
|
|
14061
|
+
default: undefined;
|
|
14062
|
+
};
|
|
14035
14063
|
gradient: StringConstructor;
|
|
14036
14064
|
lazySrc: StringConstructor;
|
|
14037
14065
|
options: {
|
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
*/
|
|
6
6
|
|
|
7
|
-
import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, warn, watch, onScopeDispose, effectScope, ref, unref, provide, shallowRef, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, readonly, onDeactivated, onActivated, onMounted, toRaw, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, Teleport, cloneVNode, createTextVNode, onBeforeUpdate, vModelText, withModifiers } from 'vue';
|
|
7
|
+
import { Fragment, reactive, computed, watchEffect, toRefs, capitalize, warn, watch, onScopeDispose, effectScope, ref, unref, provide, shallowRef, inject as inject$1, defineComponent as defineComponent$1, camelize, h, getCurrentInstance as getCurrentInstance$1, onBeforeUnmount, readonly, onDeactivated, onActivated, onMounted, toRaw, createVNode, TransitionGroup, Transition, mergeProps, onBeforeMount, nextTick, withDirectives, resolveDirective, vShow, isRef, toRef, Text, resolveDynamicComponent, Teleport, cloneVNode, createTextVNode, onUnmounted, onBeforeUpdate, vModelText, withModifiers } from 'vue';
|
|
8
8
|
|
|
9
9
|
// Types
|
|
10
10
|
// eslint-disable-line vue/prefer-import-from-vue
|
|
@@ -74,6 +74,7 @@ const makeComponentProps = propsFactory({
|
|
|
74
74
|
const IN_BROWSER = typeof window !== 'undefined';
|
|
75
75
|
const SUPPORTS_INTERSECTION = IN_BROWSER && 'IntersectionObserver' in window;
|
|
76
76
|
const SUPPORTS_TOUCH = IN_BROWSER && ('ontouchstart' in window || window.navigator.maxTouchPoints > 0);
|
|
77
|
+
const SUPPORTS_EYE_DROPPER = IN_BROWSER && 'EyeDropper' in window;
|
|
77
78
|
|
|
78
79
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
79
80
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
@@ -2974,6 +2975,10 @@ const Intersect = {
|
|
|
2974
2975
|
const makeVImgProps = propsFactory({
|
|
2975
2976
|
alt: String,
|
|
2976
2977
|
cover: Boolean,
|
|
2978
|
+
draggable: {
|
|
2979
|
+
type: [Boolean, String],
|
|
2980
|
+
default: undefined
|
|
2981
|
+
},
|
|
2977
2982
|
eager: Boolean,
|
|
2978
2983
|
gradient: String,
|
|
2979
2984
|
lazySrc: String,
|
|
@@ -3120,6 +3125,7 @@ const VImg = genericComponent()({
|
|
|
3120
3125
|
"alt": props.alt,
|
|
3121
3126
|
"crossorigin": props.crossorigin,
|
|
3122
3127
|
"referrerpolicy": props.referrerpolicy,
|
|
3128
|
+
"draggable": props.draggable,
|
|
3123
3129
|
"sizes": props.sizes,
|
|
3124
3130
|
"ref": image,
|
|
3125
3131
|
"onLoad": onLoad,
|
|
@@ -3143,7 +3149,8 @@ const VImg = genericComponent()({
|
|
|
3143
3149
|
"src": normalisedSrc.value.lazySrc,
|
|
3144
3150
|
"alt": props.alt,
|
|
3145
3151
|
"crossorigin": props.crossorigin,
|
|
3146
|
-
"referrerpolicy": props.referrerpolicy
|
|
3152
|
+
"referrerpolicy": props.referrerpolicy,
|
|
3153
|
+
"draggable": props.draggable
|
|
3147
3154
|
}, null)]
|
|
3148
3155
|
});
|
|
3149
3156
|
const __placeholder = () => {
|
|
@@ -4162,7 +4169,8 @@ const aliases = {
|
|
|
4162
4169
|
file: 'mdi-paperclip',
|
|
4163
4170
|
plus: 'mdi-plus',
|
|
4164
4171
|
minus: 'mdi-minus',
|
|
4165
|
-
calendar: 'mdi-calendar'
|
|
4172
|
+
calendar: 'mdi-calendar',
|
|
4173
|
+
eyeDropper: 'mdi-eyedropper'
|
|
4166
4174
|
};
|
|
4167
4175
|
const mdi = {
|
|
4168
4176
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
@@ -14157,12 +14165,36 @@ const VColorPickerPreview = defineComponent({
|
|
|
14157
14165
|
let {
|
|
14158
14166
|
emit
|
|
14159
14167
|
} = _ref;
|
|
14168
|
+
const abortController = new AbortController();
|
|
14169
|
+
onUnmounted(() => abortController.abort());
|
|
14170
|
+
async function openEyeDropper() {
|
|
14171
|
+
if (!SUPPORTS_EYE_DROPPER) return;
|
|
14172
|
+
const eyeDropper = new window.EyeDropper();
|
|
14173
|
+
try {
|
|
14174
|
+
const result = await eyeDropper.open({
|
|
14175
|
+
signal: abortController.signal
|
|
14176
|
+
});
|
|
14177
|
+
const colorHexValue = HexToHSV(result.sRGBHex);
|
|
14178
|
+
emit('update:color', {
|
|
14179
|
+
...(props.color ?? nullColor),
|
|
14180
|
+
...colorHexValue
|
|
14181
|
+
});
|
|
14182
|
+
} catch (e) {}
|
|
14183
|
+
}
|
|
14160
14184
|
useRender(() => createVNode("div", {
|
|
14161
14185
|
"class": ['v-color-picker-preview', {
|
|
14162
14186
|
'v-color-picker-preview--hide-alpha': props.hideAlpha
|
|
14163
14187
|
}, props.class],
|
|
14164
14188
|
"style": props.style
|
|
14165
|
-
}, [createVNode("div", {
|
|
14189
|
+
}, [SUPPORTS_EYE_DROPPER && createVNode("div", {
|
|
14190
|
+
"class": "v-color-picker-preview__eye-dropper",
|
|
14191
|
+
"key": "eyeDropper"
|
|
14192
|
+
}, [createVNode(VBtn, {
|
|
14193
|
+
"onClick": openEyeDropper,
|
|
14194
|
+
"icon": "$eyeDropper",
|
|
14195
|
+
"variant": "plain",
|
|
14196
|
+
"density": "comfortable"
|
|
14197
|
+
}, null)]), createVNode("div", {
|
|
14166
14198
|
"class": "v-color-picker-preview__dot"
|
|
14167
14199
|
}, [createVNode("div", {
|
|
14168
14200
|
"style": {
|
|
@@ -24372,7 +24404,7 @@ function createVuetify$1() {
|
|
|
24372
24404
|
date
|
|
24373
24405
|
};
|
|
24374
24406
|
}
|
|
24375
|
-
const version$1 = "3.3.11-dev.2023-08-
|
|
24407
|
+
const version$1 = "3.3.11-dev.2023-08-09";
|
|
24376
24408
|
createVuetify$1.version = version$1;
|
|
24377
24409
|
|
|
24378
24410
|
// Vue's inject() can only be used in setup
|
|
@@ -24386,7 +24418,7 @@ function inject(key) {
|
|
|
24386
24418
|
|
|
24387
24419
|
/* eslint-disable local-rules/sort-imports */
|
|
24388
24420
|
|
|
24389
|
-
const version = "3.3.11-dev.2023-08-
|
|
24421
|
+
const version = "3.3.11-dev.2023-08-09";
|
|
24390
24422
|
|
|
24391
24423
|
/* eslint-disable local-rules/sort-imports */
|
|
24392
24424
|
|