@vuetify/nightly 3.7.5-dev.2024-12-03 → 3.7.5-dev.2024-12-16
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/dist/json/attributes.json +3779 -3779
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +136 -136
- package/dist/json/web-types.json +7026 -7026
- package/dist/vuetify-labs.css +4372 -4372
- package/dist/vuetify-labs.d.ts +40 -40
- package/dist/vuetify-labs.esm.js +21 -38
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +20 -37
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4189 -4189
- package/dist/vuetify.d.ts +92 -92
- package/dist/vuetify.esm.js +21 -38
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +20 -37
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +876 -881
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/index.d.mts +6 -6
- package/lib/components/VAutocomplete/index.d.mts +6 -6
- package/lib/components/VBtn/index.d.mts +7 -7
- package/lib/components/VBtnToggle/index.d.mts +9 -9
- package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
- package/lib/components/VCarousel/index.d.mts +9 -9
- package/lib/components/VCheckbox/VCheckbox.mjs +3 -3
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
- package/lib/components/VChipGroup/index.d.mts +15 -15
- package/lib/components/VCombobox/index.d.mts +6 -6
- package/lib/components/VExpansionPanel/index.d.mts +7 -7
- package/lib/components/VFab/index.d.mts +6 -6
- package/lib/components/VField/VField.mjs +3 -3
- package/lib/components/VField/VField.mjs.map +1 -1
- package/lib/components/VInput/VInput.mjs +3 -3
- package/lib/components/VInput/VInput.mjs.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.mjs.map +1 -1
- package/lib/components/VItemGroup/index.d.mts +9 -9
- package/lib/components/VMenu/VMenu.mjs +3 -3
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMenu/index.d.mts +6 -6
- package/lib/components/VRadioGroup/VRadioGroup.mjs +3 -3
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRating/VRating.mjs +4 -3
- package/lib/components/VRating/VRating.mjs.map +1 -1
- package/lib/components/VSelect/index.d.mts +6 -6
- package/lib/components/VSelectionControl/VSelectionControl.mjs +3 -3
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -3
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
- package/lib/components/VSlideGroup/index.d.mts +10 -10
- package/lib/components/VSparkline/VBarline.mjs +3 -3
- package/lib/components/VSparkline/VBarline.mjs.map +1 -1
- package/lib/components/VSparkline/VTrendline.mjs +3 -3
- package/lib/components/VSparkline/VTrendline.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.mjs +3 -3
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VTabs/index.d.mts +7 -7
- package/lib/components/VTooltip/VTooltip.mjs +3 -3
- package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
- package/lib/components/VWindow/index.d.mts +7 -7
- package/lib/components/index.d.mts +40 -40
- package/lib/composables/group.mjs +3 -3
- package/lib/composables/group.mjs.map +1 -1
- package/lib/composables/layout.mjs +3 -3
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/nested/nested.mjs +2 -2
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/composables/validation.mjs +3 -3
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +2 -3
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +52 -52
- package/lib/util/getCurrentInstance.mjs +1 -15
- package/lib/util/getCurrentInstance.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.5-dev.2024-12-
|
2
|
+
* Vuetify v3.7.5-dev.2024-12-16
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -1257,9 +1257,6 @@
|
|
1257
1257
|
}
|
1258
1258
|
|
1259
1259
|
// Utilities
|
1260
|
-
|
1261
|
-
// Types
|
1262
|
-
|
1263
1260
|
function getCurrentInstance(name, message) {
|
1264
1261
|
const vm = vue.getCurrentInstance();
|
1265
1262
|
if (!vm) {
|
@@ -1272,20 +1269,6 @@
|
|
1272
1269
|
const vm = getCurrentInstance(name).type;
|
1273
1270
|
return toKebabCase(vm?.aliasName || vm?.name);
|
1274
1271
|
}
|
1275
|
-
let _uid = 0;
|
1276
|
-
let _map = new WeakMap();
|
1277
|
-
function getUid() {
|
1278
|
-
const vm = getCurrentInstance('getUid');
|
1279
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1280
|
-
const uid = _uid++;
|
1281
|
-
_map.set(vm, uid);
|
1282
|
-
return uid;
|
1283
|
-
}
|
1284
|
-
}
|
1285
|
-
getUid.reset = () => {
|
1286
|
-
_uid = 0;
|
1287
|
-
_map = new WeakMap();
|
1288
|
-
};
|
1289
1272
|
|
1290
1273
|
// Utilities
|
1291
1274
|
|
@@ -1655,7 +1638,7 @@
|
|
1655
1638
|
function useLayoutItem(options) {
|
1656
1639
|
const layout = vue.inject(VuetifyLayoutKey);
|
1657
1640
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
1658
|
-
const id = options.id ?? `layout-item-${
|
1641
|
+
const id = options.id ?? `layout-item-${vue.useId()}`;
|
1659
1642
|
const vm = getCurrentInstance('useLayoutItem');
|
1660
1643
|
vue.provide(VuetifyLayoutItemKey, {
|
1661
1644
|
id
|
@@ -4157,7 +4140,7 @@
|
|
4157
4140
|
if (!vm) {
|
4158
4141
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4159
4142
|
}
|
4160
|
-
const id =
|
4143
|
+
const id = vue.useId();
|
4161
4144
|
vue.provide(Symbol.for(`${injectKey.description}:id`), id);
|
4162
4145
|
const group = vue.inject(injectKey, null);
|
4163
4146
|
if (!group) {
|
@@ -6136,7 +6119,7 @@
|
|
6136
6119
|
slots
|
6137
6120
|
} = _ref;
|
6138
6121
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6139
|
-
const uid =
|
6122
|
+
const uid = vue.useId();
|
6140
6123
|
const id = vue.computed(() => props.id || `v-selection-control-group-${uid}`);
|
6141
6124
|
const name = vue.computed(() => props.name || id.value);
|
6142
6125
|
const updateHandlers = new Set();
|
@@ -6273,7 +6256,7 @@
|
|
6273
6256
|
backgroundColorStyles,
|
6274
6257
|
trueValue
|
6275
6258
|
} = useSelectionControl(props);
|
6276
|
-
const uid =
|
6259
|
+
const uid = vue.useId();
|
6277
6260
|
const isFocused = vue.shallowRef(false);
|
6278
6261
|
const isFocusVisible = vue.shallowRef(false);
|
6279
6262
|
const input = vue.ref();
|
@@ -6718,7 +6701,7 @@
|
|
6718
6701
|
}, 'validation');
|
6719
6702
|
function useValidation(props) {
|
6720
6703
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6721
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6704
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : vue.useId();
|
6722
6705
|
const model = useProxiedModel(props, 'modelValue');
|
6723
6706
|
const validationModel = vue.computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6724
6707
|
const form = useForm(props);
|
@@ -6910,7 +6893,7 @@
|
|
6910
6893
|
const {
|
6911
6894
|
InputIcon
|
6912
6895
|
} = useInputIcon(props);
|
6913
|
-
const uid =
|
6896
|
+
const uid = vue.useId();
|
6914
6897
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
6915
6898
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
6916
6899
|
const {
|
@@ -7018,7 +7001,7 @@
|
|
7018
7001
|
focus,
|
7019
7002
|
blur
|
7020
7003
|
} = useFocus(props);
|
7021
|
-
const uid =
|
7004
|
+
const uid = vue.useId();
|
7022
7005
|
const id = vue.computed(() => props.id || `checkbox-${uid}`);
|
7023
7006
|
useRender(() => {
|
7024
7007
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -8706,7 +8689,7 @@
|
|
8706
8689
|
};
|
8707
8690
|
const useNestedItem = (id, isGroup) => {
|
8708
8691
|
const parent = vue.inject(VNestedSymbol, emptyNested);
|
8709
|
-
const uidSymbol = Symbol(
|
8692
|
+
const uidSymbol = Symbol('nested item');
|
8710
8693
|
const computedId = vue.computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8711
8694
|
const item = {
|
8712
8695
|
...parent,
|
@@ -11208,7 +11191,7 @@
|
|
11208
11191
|
const {
|
11209
11192
|
isRtl
|
11210
11193
|
} = useRtl();
|
11211
|
-
const uid =
|
11194
|
+
const uid = vue.useId();
|
11212
11195
|
const id = vue.computed(() => props.id || `v-menu-${uid}`);
|
11213
11196
|
const overlay = vue.ref();
|
11214
11197
|
const parent = vue.inject(VMenuSymbol, null);
|
@@ -11504,7 +11487,7 @@
|
|
11504
11487
|
} = useRtl();
|
11505
11488
|
const isActive = vue.computed(() => props.dirty || props.active);
|
11506
11489
|
const hasLabel = vue.computed(() => !props.singleLine && !!(props.label || slots.label));
|
11507
|
-
const uid =
|
11490
|
+
const uid = vue.useId();
|
11508
11491
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
11509
11492
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
11510
11493
|
const labelRef = vue.ref();
|
@@ -24657,7 +24640,7 @@
|
|
24657
24640
|
attrs,
|
24658
24641
|
slots
|
24659
24642
|
} = _ref;
|
24660
|
-
const uid =
|
24643
|
+
const uid = vue.useId();
|
24661
24644
|
const id = vue.computed(() => props.id || `radio-group-${uid}`);
|
24662
24645
|
const model = useProxiedModel(props, 'modelValue');
|
24663
24646
|
useRender(() => {
|
@@ -25020,7 +25003,8 @@
|
|
25020
25003
|
onClick
|
25021
25004
|
};
|
25022
25005
|
}));
|
25023
|
-
const
|
25006
|
+
const uid = vue.useId();
|
25007
|
+
const name = vue.computed(() => props.name ?? `v-rating-${uid}`);
|
25024
25008
|
function VRatingItem(_ref2) {
|
25025
25009
|
let {
|
25026
25010
|
value,
|
@@ -25559,7 +25543,7 @@
|
|
25559
25543
|
let {
|
25560
25544
|
slots
|
25561
25545
|
} = _ref;
|
25562
|
-
const uid =
|
25546
|
+
const uid = vue.useId();
|
25563
25547
|
const id = vue.computed(() => props.id || `barline-${uid}`);
|
25564
25548
|
const autoDrawDuration = vue.computed(() => Number(props.autoDrawDuration) || 500);
|
25565
25549
|
const hasLabels = vue.computed(() => {
|
@@ -25757,7 +25741,7 @@
|
|
25757
25741
|
let {
|
25758
25742
|
slots
|
25759
25743
|
} = _ref;
|
25760
|
-
const uid =
|
25744
|
+
const uid = vue.useId();
|
25761
25745
|
const id = vue.computed(() => props.id || `trendline-${uid}`);
|
25762
25746
|
const autoDrawDuration = vue.computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25763
25747
|
const lastLength = vue.ref(0);
|
@@ -26461,7 +26445,7 @@
|
|
26461
26445
|
const loaderColor = vue.computed(() => {
|
26462
26446
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26463
26447
|
});
|
26464
|
-
const uid =
|
26448
|
+
const uid = vue.useId();
|
26465
26449
|
const id = vue.computed(() => props.id || `switch-${uid}`);
|
26466
26450
|
function onChange() {
|
26467
26451
|
if (indeterminate.value) {
|
@@ -27506,7 +27490,7 @@
|
|
27506
27490
|
const {
|
27507
27491
|
scopeId
|
27508
27492
|
} = useScopeId();
|
27509
|
-
const uid =
|
27493
|
+
const uid = vue.useId();
|
27510
27494
|
const id = vue.computed(() => props.id || `v-tooltip-${uid}`);
|
27511
27495
|
const overlay = vue.ref();
|
27512
27496
|
const location = vue.computed(() => {
|
@@ -30396,7 +30380,6 @@
|
|
30396
30380
|
};
|
30397
30381
|
}
|
30398
30382
|
}
|
30399
|
-
getUid.reset();
|
30400
30383
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
30401
30384
|
app.mixin({
|
30402
30385
|
computed: {
|
@@ -30425,7 +30408,7 @@
|
|
30425
30408
|
goTo
|
30426
30409
|
};
|
30427
30410
|
}
|
30428
|
-
const version$1 = "3.7.5-dev.2024-12-
|
30411
|
+
const version$1 = "3.7.5-dev.2024-12-16";
|
30429
30412
|
createVuetify$1.version = version$1;
|
30430
30413
|
|
30431
30414
|
// Vue's inject() can only be used in setup
|
@@ -30678,7 +30661,7 @@
|
|
30678
30661
|
|
30679
30662
|
/* eslint-disable local-rules/sort-imports */
|
30680
30663
|
|
30681
|
-
const version = "3.7.5-dev.2024-12-
|
30664
|
+
const version = "3.7.5-dev.2024-12-16";
|
30682
30665
|
|
30683
30666
|
/* eslint-disable local-rules/sort-imports */
|
30684
30667
|
|