@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.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
|
*/
|
@@ -1251,9 +1251,6 @@
|
|
1251
1251
|
}, 'component');
|
1252
1252
|
|
1253
1253
|
// Utilities
|
1254
|
-
|
1255
|
-
// Types
|
1256
|
-
|
1257
1254
|
function getCurrentInstance(name, message) {
|
1258
1255
|
const vm = vue.getCurrentInstance();
|
1259
1256
|
if (!vm) {
|
@@ -1266,20 +1263,6 @@
|
|
1266
1263
|
const vm = getCurrentInstance(name).type;
|
1267
1264
|
return toKebabCase(vm?.aliasName || vm?.name);
|
1268
1265
|
}
|
1269
|
-
let _uid = 0;
|
1270
|
-
let _map = new WeakMap();
|
1271
|
-
function getUid() {
|
1272
|
-
const vm = getCurrentInstance('getUid');
|
1273
|
-
if (_map.has(vm)) return _map.get(vm);else {
|
1274
|
-
const uid = _uid++;
|
1275
|
-
_map.set(vm, uid);
|
1276
|
-
return uid;
|
1277
|
-
}
|
1278
|
-
}
|
1279
|
-
getUid.reset = () => {
|
1280
|
-
_uid = 0;
|
1281
|
-
_map = new WeakMap();
|
1282
|
-
};
|
1283
1266
|
|
1284
1267
|
// Utilities
|
1285
1268
|
|
@@ -2095,7 +2078,7 @@
|
|
2095
2078
|
function useLayoutItem(options) {
|
2096
2079
|
const layout = vue.inject(VuetifyLayoutKey);
|
2097
2080
|
if (!layout) throw new Error('[Vuetify] Could not find injected layout');
|
2098
|
-
const id = options.id ?? `layout-item-${
|
2081
|
+
const id = options.id ?? `layout-item-${vue.useId()}`;
|
2099
2082
|
const vm = getCurrentInstance('useLayoutItem');
|
2100
2083
|
vue.provide(VuetifyLayoutItemKey, {
|
2101
2084
|
id
|
@@ -4597,7 +4580,7 @@
|
|
4597
4580
|
if (!vm) {
|
4598
4581
|
throw new Error('[Vuetify] useGroupItem composable must be used inside a component setup function');
|
4599
4582
|
}
|
4600
|
-
const id =
|
4583
|
+
const id = vue.useId();
|
4601
4584
|
vue.provide(Symbol.for(`${injectKey.description}:id`), id);
|
4602
4585
|
const group = vue.inject(injectKey, null);
|
4603
4586
|
if (!group) {
|
@@ -6369,7 +6352,7 @@
|
|
6369
6352
|
slots
|
6370
6353
|
} = _ref;
|
6371
6354
|
const modelValue = useProxiedModel(props, 'modelValue');
|
6372
|
-
const uid =
|
6355
|
+
const uid = vue.useId();
|
6373
6356
|
const id = vue.computed(() => props.id || `v-selection-control-group-${uid}`);
|
6374
6357
|
const name = vue.computed(() => props.name || id.value);
|
6375
6358
|
const updateHandlers = new Set();
|
@@ -6506,7 +6489,7 @@
|
|
6506
6489
|
backgroundColorStyles,
|
6507
6490
|
trueValue
|
6508
6491
|
} = useSelectionControl(props);
|
6509
|
-
const uid =
|
6492
|
+
const uid = vue.useId();
|
6510
6493
|
const isFocused = vue.shallowRef(false);
|
6511
6494
|
const isFocusVisible = vue.shallowRef(false);
|
6512
6495
|
const input = vue.ref();
|
@@ -6951,7 +6934,7 @@
|
|
6951
6934
|
}, 'validation');
|
6952
6935
|
function useValidation(props) {
|
6953
6936
|
let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentInstanceName();
|
6954
|
-
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] :
|
6937
|
+
let id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : vue.useId();
|
6955
6938
|
const model = useProxiedModel(props, 'modelValue');
|
6956
6939
|
const validationModel = vue.computed(() => props.validationValue === undefined ? model.value : props.validationValue);
|
6957
6940
|
const form = useForm(props);
|
@@ -7143,7 +7126,7 @@
|
|
7143
7126
|
const {
|
7144
7127
|
InputIcon
|
7145
7128
|
} = useInputIcon(props);
|
7146
|
-
const uid =
|
7129
|
+
const uid = vue.useId();
|
7147
7130
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
7148
7131
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
7149
7132
|
const {
|
@@ -7251,7 +7234,7 @@
|
|
7251
7234
|
focus,
|
7252
7235
|
blur
|
7253
7236
|
} = useFocus(props);
|
7254
|
-
const uid =
|
7237
|
+
const uid = vue.useId();
|
7255
7238
|
const id = vue.computed(() => props.id || `checkbox-${uid}`);
|
7256
7239
|
useRender(() => {
|
7257
7240
|
const [rootAttrs, controlAttrs] = filterInputAttrs(attrs);
|
@@ -8939,7 +8922,7 @@
|
|
8939
8922
|
};
|
8940
8923
|
const useNestedItem = (id, isGroup) => {
|
8941
8924
|
const parent = vue.inject(VNestedSymbol, emptyNested);
|
8942
|
-
const uidSymbol = Symbol(
|
8925
|
+
const uidSymbol = Symbol('nested item');
|
8943
8926
|
const computedId = vue.computed(() => id.value !== undefined ? id.value : uidSymbol);
|
8944
8927
|
const item = {
|
8945
8928
|
...parent,
|
@@ -11441,7 +11424,7 @@
|
|
11441
11424
|
const {
|
11442
11425
|
isRtl
|
11443
11426
|
} = useRtl();
|
11444
|
-
const uid =
|
11427
|
+
const uid = vue.useId();
|
11445
11428
|
const id = vue.computed(() => props.id || `v-menu-${uid}`);
|
11446
11429
|
const overlay = vue.ref();
|
11447
11430
|
const parent = vue.inject(VMenuSymbol, null);
|
@@ -11737,7 +11720,7 @@
|
|
11737
11720
|
} = useRtl();
|
11738
11721
|
const isActive = vue.computed(() => props.dirty || props.active);
|
11739
11722
|
const hasLabel = vue.computed(() => !props.singleLine && !!(props.label || slots.label));
|
11740
|
-
const uid =
|
11723
|
+
const uid = vue.useId();
|
11741
11724
|
const id = vue.computed(() => props.id || `input-${uid}`);
|
11742
11725
|
const messagesId = vue.computed(() => `${id.value}-messages`);
|
11743
11726
|
const labelRef = vue.ref();
|
@@ -24890,7 +24873,7 @@
|
|
24890
24873
|
attrs,
|
24891
24874
|
slots
|
24892
24875
|
} = _ref;
|
24893
|
-
const uid =
|
24876
|
+
const uid = vue.useId();
|
24894
24877
|
const id = vue.computed(() => props.id || `radio-group-${uid}`);
|
24895
24878
|
const model = useProxiedModel(props, 'modelValue');
|
24896
24879
|
useRender(() => {
|
@@ -25253,7 +25236,8 @@
|
|
25253
25236
|
onClick
|
25254
25237
|
};
|
25255
25238
|
}));
|
25256
|
-
const
|
25239
|
+
const uid = vue.useId();
|
25240
|
+
const name = vue.computed(() => props.name ?? `v-rating-${uid}`);
|
25257
25241
|
function VRatingItem(_ref2) {
|
25258
25242
|
let {
|
25259
25243
|
value,
|
@@ -25792,7 +25776,7 @@
|
|
25792
25776
|
let {
|
25793
25777
|
slots
|
25794
25778
|
} = _ref;
|
25795
|
-
const uid =
|
25779
|
+
const uid = vue.useId();
|
25796
25780
|
const id = vue.computed(() => props.id || `barline-${uid}`);
|
25797
25781
|
const autoDrawDuration = vue.computed(() => Number(props.autoDrawDuration) || 500);
|
25798
25782
|
const hasLabels = vue.computed(() => {
|
@@ -25990,7 +25974,7 @@
|
|
25990
25974
|
let {
|
25991
25975
|
slots
|
25992
25976
|
} = _ref;
|
25993
|
-
const uid =
|
25977
|
+
const uid = vue.useId();
|
25994
25978
|
const id = vue.computed(() => props.id || `trendline-${uid}`);
|
25995
25979
|
const autoDrawDuration = vue.computed(() => Number(props.autoDrawDuration) || (props.fill ? 500 : 2000));
|
25996
25980
|
const lastLength = vue.ref(0);
|
@@ -26694,7 +26678,7 @@
|
|
26694
26678
|
const loaderColor = vue.computed(() => {
|
26695
26679
|
return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
|
26696
26680
|
});
|
26697
|
-
const uid =
|
26681
|
+
const uid = vue.useId();
|
26698
26682
|
const id = vue.computed(() => props.id || `switch-${uid}`);
|
26699
26683
|
function onChange() {
|
26700
26684
|
if (indeterminate.value) {
|
@@ -27739,7 +27723,7 @@
|
|
27739
27723
|
const {
|
27740
27724
|
scopeId
|
27741
27725
|
} = useScopeId();
|
27742
|
-
const uid =
|
27726
|
+
const uid = vue.useId();
|
27743
27727
|
const id = vue.computed(() => props.id || `v-tooltip-${uid}`);
|
27744
27728
|
const overlay = vue.ref();
|
27745
27729
|
const location = vue.computed(() => {
|
@@ -28252,7 +28236,6 @@
|
|
28252
28236
|
};
|
28253
28237
|
}
|
28254
28238
|
}
|
28255
|
-
getUid.reset();
|
28256
28239
|
if (typeof __VUE_OPTIONS_API__ !== 'boolean' || __VUE_OPTIONS_API__) {
|
28257
28240
|
app.mixin({
|
28258
28241
|
computed: {
|
@@ -28281,7 +28264,7 @@
|
|
28281
28264
|
goTo
|
28282
28265
|
};
|
28283
28266
|
}
|
28284
|
-
const version$1 = "3.7.5-dev.2024-12-
|
28267
|
+
const version$1 = "3.7.5-dev.2024-12-16";
|
28285
28268
|
createVuetify$1.version = version$1;
|
28286
28269
|
|
28287
28270
|
// Vue's inject() can only be used in setup
|
@@ -28306,7 +28289,7 @@
|
|
28306
28289
|
...options
|
28307
28290
|
});
|
28308
28291
|
};
|
28309
|
-
const version = "3.7.5-dev.2024-12-
|
28292
|
+
const version = "3.7.5-dev.2024-12-16";
|
28310
28293
|
createVuetify.version = version;
|
28311
28294
|
|
28312
28295
|
exports.blueprints = index;
|