@vuetify/nightly 3.7.6-dev.2024-12-18 → 3.7.6-dev.2025-01-06
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 +3231 -3223
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +150 -150
- package/dist/json/tags.json +2 -0
- package/dist/json/web-types.json +5961 -5941
- package/dist/vuetify-labs.css +3903 -3903
- package/dist/vuetify-labs.d.ts +30 -0
- package/dist/vuetify-labs.esm.js +39 -18
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +39 -18
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +4335 -4335
- package/dist/vuetify.d.ts +82 -52
- package/dist/vuetify.esm.js +39 -18
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +39 -18
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +741 -736
- package/dist/vuetify.min.js.map +1 -1
- package/lib/blueprints/index.d.mts +2 -0
- package/lib/blueprints/md1.d.mts +2 -0
- package/lib/blueprints/md2.d.mts +2 -0
- package/lib/blueprints/md3.d.mts +2 -0
- package/lib/components/VAutocomplete/VAutocomplete.mjs +2 -1
- package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
- package/lib/components/VCombobox/VCombobox.mjs +2 -1
- package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +14 -0
- package/lib/components/VSelect/VSelect.mjs +2 -1
- package/lib/components/VSelect/VSelect.mjs.map +1 -1
- package/lib/components/VVirtualScroll/index.d.mts +17 -1
- package/lib/components/index.d.mts +28 -0
- package/lib/composables/theme.mjs +18 -7
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/virtual.mjs +13 -6
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +54 -52
- package/package.json +1 -1
package/dist/vuetify-labs.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.6-dev.
|
2
|
+
* Vuetify v3.7.6-dev.2025-01-06
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -2348,7 +2348,8 @@
|
|
2348
2348
|
'theme-on-code': '#CCCCCC'
|
2349
2349
|
}
|
2350
2350
|
}
|
2351
|
-
}
|
2351
|
+
},
|
2352
|
+
stylesheetId: 'vuetify-theme-stylesheet'
|
2352
2353
|
};
|
2353
2354
|
}
|
2354
2355
|
function parseThemeOptions() {
|
@@ -2405,6 +2406,19 @@
|
|
2405
2406
|
return acc;
|
2406
2407
|
});
|
2407
2408
|
const current = vue.computed(() => computedThemes.value[name.value]);
|
2409
|
+
function createCssClass(lines, selector, content) {
|
2410
|
+
lines.push(`${getScopedSelector(selector)} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2411
|
+
}
|
2412
|
+
function getScopedSelector(selector) {
|
2413
|
+
if (!parsedOptions.scope) {
|
2414
|
+
return selector;
|
2415
|
+
}
|
2416
|
+
const scopeSelector = `:where(${parsedOptions.scope})`;
|
2417
|
+
if (selector === ':root') {
|
2418
|
+
return scopeSelector;
|
2419
|
+
}
|
2420
|
+
return `${scopeSelector} ${selector}`;
|
2421
|
+
}
|
2408
2422
|
const styles = vue.computed(() => {
|
2409
2423
|
const lines = [];
|
2410
2424
|
if (current.value?.dark) {
|
@@ -2433,7 +2447,7 @@
|
|
2433
2447
|
return {
|
2434
2448
|
style: [{
|
2435
2449
|
children: styles.value,
|
2436
|
-
id:
|
2450
|
+
id: parsedOptions.stylesheetId,
|
2437
2451
|
nonce: parsedOptions.cspNonce || false
|
2438
2452
|
}]
|
2439
2453
|
};
|
@@ -2458,7 +2472,7 @@
|
|
2458
2472
|
}
|
2459
2473
|
}
|
2460
2474
|
} else {
|
2461
|
-
let styleEl = IN_BROWSER ? document.getElementById(
|
2475
|
+
let styleEl = IN_BROWSER ? document.getElementById(parsedOptions.stylesheetId) : null;
|
2462
2476
|
if (IN_BROWSER) {
|
2463
2477
|
vue.watch(styles, updateStyles, {
|
2464
2478
|
immediate: true
|
@@ -2470,7 +2484,7 @@
|
|
2470
2484
|
if (typeof document !== 'undefined' && !styleEl) {
|
2471
2485
|
const el = document.createElement('style');
|
2472
2486
|
el.type = 'text/css';
|
2473
|
-
el.id =
|
2487
|
+
el.id = parsedOptions.stylesheetId;
|
2474
2488
|
if (parsedOptions.cspNonce) el.setAttribute('nonce', parsedOptions.cspNonce);
|
2475
2489
|
styleEl = el;
|
2476
2490
|
document.head.appendChild(styleEl);
|
@@ -2519,9 +2533,6 @@
|
|
2519
2533
|
if (!theme) throw new Error('Could not find Vuetify theme injection');
|
2520
2534
|
return theme;
|
2521
2535
|
}
|
2522
|
-
function createCssClass(lines, selector, content) {
|
2523
|
-
lines.push(`${selector} {\n`, ...content.map(line => ` ${line};\n`), '}\n');
|
2524
|
-
}
|
2525
2536
|
function genCssVariables(theme) {
|
2526
2537
|
const lightOverlay = theme.dark ? 2 : 1;
|
2527
2538
|
const darkOverlay = theme.dark ? 1 : 2;
|
@@ -11967,6 +11978,10 @@
|
|
11967
11978
|
type: [Number, String],
|
11968
11979
|
default: null
|
11969
11980
|
},
|
11981
|
+
itemKey: {
|
11982
|
+
type: [String, Array, Function],
|
11983
|
+
default: null
|
11984
|
+
},
|
11970
11985
|
height: [Number, String]
|
11971
11986
|
}, 'virtual');
|
11972
11987
|
function useVirtual(props, items) {
|
@@ -12145,11 +12160,14 @@
|
|
12145
12160
|
}
|
12146
12161
|
}
|
12147
12162
|
const computedItems = vue.computed(() => {
|
12148
|
-
return items.value.slice(first.value, last.value).map((item, index) =>
|
12149
|
-
|
12150
|
-
|
12151
|
-
|
12152
|
-
|
12163
|
+
return items.value.slice(first.value, last.value).map((item, index) => {
|
12164
|
+
const _index = index + first.value;
|
12165
|
+
return {
|
12166
|
+
raw: item,
|
12167
|
+
index: _index,
|
12168
|
+
key: getPropertyFromItem(item, props.itemKey, _index)
|
12169
|
+
};
|
12170
|
+
});
|
12153
12171
|
});
|
12154
12172
|
vue.watch(items, () => {
|
12155
12173
|
sizes = Array.from({
|
@@ -12667,7 +12685,8 @@
|
|
12667
12685
|
}, null)), vue.createVNode(VVirtualScroll, {
|
12668
12686
|
"ref": vVirtualScrollRef,
|
12669
12687
|
"renderless": true,
|
12670
|
-
"items": displayItems.value
|
12688
|
+
"items": displayItems.value,
|
12689
|
+
"itemKey": "value"
|
12671
12690
|
}, {
|
12672
12691
|
default: _ref2 => {
|
12673
12692
|
let {
|
@@ -13242,7 +13261,8 @@
|
|
13242
13261
|
}, null)), vue.createVNode(VVirtualScroll, {
|
13243
13262
|
"ref": vVirtualScrollRef,
|
13244
13263
|
"renderless": true,
|
13245
|
-
"items": displayItems.value
|
13264
|
+
"items": displayItems.value,
|
13265
|
+
"itemKey": "value"
|
13246
13266
|
}, {
|
13247
13267
|
default: _ref4 => {
|
13248
13268
|
let {
|
@@ -17122,7 +17142,8 @@
|
|
17122
17142
|
}, null)), vue.createVNode(VVirtualScroll, {
|
17123
17143
|
"ref": vVirtualScrollRef,
|
17124
17144
|
"renderless": true,
|
17125
|
-
"items": displayItems.value
|
17145
|
+
"items": displayItems.value,
|
17146
|
+
"itemKey": "value"
|
17126
17147
|
}, {
|
17127
17148
|
default: _ref4 => {
|
17128
17149
|
let {
|
@@ -30748,7 +30769,7 @@
|
|
30748
30769
|
goTo
|
30749
30770
|
};
|
30750
30771
|
}
|
30751
|
-
const version$1 = "3.7.6-dev.
|
30772
|
+
const version$1 = "3.7.6-dev.2025-01-06";
|
30752
30773
|
createVuetify$1.version = version$1;
|
30753
30774
|
|
30754
30775
|
// Vue's inject() can only be used in setup
|
@@ -31001,7 +31022,7 @@
|
|
31001
31022
|
|
31002
31023
|
/* eslint-disable local-rules/sort-imports */
|
31003
31024
|
|
31004
|
-
const version = "3.7.6-dev.
|
31025
|
+
const version = "3.7.6-dev.2025-01-06";
|
31005
31026
|
|
31006
31027
|
/* eslint-disable local-rules/sort-imports */
|
31007
31028
|
|