@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
@@ -2,7 +2,7 @@
|
|
2
2
|
import { useDisplay } from "./display.mjs";
|
3
3
|
import { useResizeObserver } from "./resizeObserver.mjs"; // Utilities
|
4
4
|
import { computed, nextTick, onScopeDispose, ref, shallowRef, watch, watchEffect } from 'vue';
|
5
|
-
import { clamp, debounce,
|
5
|
+
import { clamp, debounce, getPropertyFromItem, IN_BROWSER, propsFactory } from "../util/index.mjs"; // Types
|
6
6
|
const UP = -1;
|
7
7
|
const DOWN = 1;
|
8
8
|
|
@@ -13,6 +13,10 @@ export const makeVirtualProps = propsFactory({
|
|
13
13
|
type: [Number, String],
|
14
14
|
default: null
|
15
15
|
},
|
16
|
+
itemKey: {
|
17
|
+
type: [String, Array, Function],
|
18
|
+
default: null
|
19
|
+
},
|
16
20
|
height: [Number, String]
|
17
21
|
}, 'virtual');
|
18
22
|
export function useVirtual(props, items) {
|
@@ -191,11 +195,14 @@ export function useVirtual(props, items) {
|
|
191
195
|
}
|
192
196
|
}
|
193
197
|
const computedItems = computed(() => {
|
194
|
-
return items.value.slice(first.value, last.value).map((item, index) =>
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
198
|
+
return items.value.slice(first.value, last.value).map((item, index) => {
|
199
|
+
const _index = index + first.value;
|
200
|
+
return {
|
201
|
+
raw: item,
|
202
|
+
index: _index,
|
203
|
+
key: getPropertyFromItem(item, props.itemKey, _index)
|
204
|
+
};
|
205
|
+
});
|
199
206
|
});
|
200
207
|
watch(items, () => {
|
201
208
|
sizes = Array.from({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"virtual.mjs","names":["useDisplay","useResizeObserver","computed","nextTick","onScopeDispose","ref","shallowRef","watch","watchEffect","clamp","debounce","IN_BROWSER","isObject","propsFactory","UP","DOWN","BUFFER_PX","makeVirtualProps","itemHeight","type","Number","String","default","height","useVirtual","props","items","display","value","parseFloat","first","last","Math","ceil","parseInt","paddingTop","paddingBottom","containerRef","markerRef","markerOffset","resizeRef","contentRect","viewportHeight","document","documentElement","hasInitialRender","sizes","Array","from","length","offsets","updateTime","targetScrollIndex","getSize","index","updateOffsets","start","performance","now","i","max","unwatch","v","offsetTop","immediate","calculateVisibleItems","window","requestAnimationFrame","scrollToIndex","clear","handleItemResize","prevHeight","prevMinHeight","min","calculateOffset","calculateIndex","scrollTop","binaryClosest","lastScrollTop","scrollVelocity","lastScrollTime","val","oldVal","scrollTimeout","handleScroll","scrollTime","scrollDeltaT","sign","clearTimeout","setTimeout","handleScrollend","raf","cancelAnimationFrame","_calculateVisibleItems","direction","startPx","endPx","end","topOverflow","bottomOverflow","bufferOverflow","offset","computedItems","slice","map","item","raw","key","deep","arr","high","low","mid","target"],"sources":["../../src/composables/virtual.ts"],"sourcesContent":["// Composables\nimport { useDisplay } from '@/composables/display'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { computed, nextTick, onScopeDispose, ref, shallowRef, watch, watchEffect } from 'vue'\nimport { clamp, debounce, IN_BROWSER, isObject, propsFactory } from '@/util'\n\n// Types\nimport type { Ref } from 'vue'\n\nconst UP = -1\nconst DOWN = 1\n\n/** Determines how large each batch of items should be */\nconst BUFFER_PX = 100\n\ntype VirtualProps = {\n itemHeight?: number | string\n height?: number | string\n}\n\nexport const makeVirtualProps = propsFactory({\n itemHeight: {\n type: [Number, String],\n default: null,\n },\n height: [Number, String],\n}, 'virtual')\n\nexport function useVirtual <T> (props: VirtualProps, items: Ref<readonly T[]>) {\n const display = useDisplay()\n\n const itemHeight = shallowRef(0)\n watchEffect(() => {\n itemHeight.value = parseFloat(props.itemHeight || 0)\n })\n\n const first = shallowRef(0)\n const last = shallowRef(Math.ceil(\n // Assume 16px items filling the entire screen height if\n // not provided. This is probably incorrect but it minimises\n // the chance of ending up with empty space at the bottom.\n // The default value is set here to avoid poisoning getSize()\n (parseInt(props.height!) || display.height.value) / (itemHeight.value || 16)\n ) || 1)\n const paddingTop = shallowRef(0)\n const paddingBottom = shallowRef(0)\n\n /** The scrollable element */\n const containerRef = ref<HTMLElement>()\n /** An element marking the top of the scrollable area,\n * used to add an offset if there's padding or other elements above the virtual list */\n const markerRef = ref<HTMLElement>()\n /** markerRef's offsetTop, lazily evaluated */\n let markerOffset = 0\n\n const { resizeRef, contentRect } = useResizeObserver()\n watchEffect(() => {\n resizeRef.value = containerRef.value\n })\n const viewportHeight = computed(() => {\n return containerRef.value === document.documentElement\n ? display.height.value\n : contentRect.value?.height || parseInt(props.height!) || 0\n })\n /** All static elements have been rendered and we have an assumed item height */\n const hasInitialRender = computed(() => {\n return !!(containerRef.value && markerRef.value && viewportHeight.value && itemHeight.value)\n })\n\n let sizes = Array.from<number | null>({ length: items.value.length })\n let offsets = Array.from<number>({ length: items.value.length })\n const updateTime = shallowRef(0)\n let targetScrollIndex = -1\n\n function getSize (index: number) {\n return sizes[index] || itemHeight.value\n }\n\n const updateOffsets = debounce(() => {\n const start = performance.now()\n offsets[0] = 0\n const length = items.value.length\n for (let i = 1; i <= length - 1; i++) {\n offsets[i] = (offsets[i - 1] || 0) + getSize(i - 1)\n }\n updateTime.value = Math.max(updateTime.value, performance.now() - start)\n }, updateTime)\n\n const unwatch = watch(hasInitialRender, v => {\n if (!v) return\n // First render is complete, update offsets and visible\n // items in case our assumed item height was incorrect\n\n unwatch()\n markerOffset = markerRef.value!.offsetTop\n updateOffsets.immediate()\n calculateVisibleItems()\n\n if (!~targetScrollIndex) return\n\n nextTick(() => {\n IN_BROWSER && window.requestAnimationFrame(() => {\n scrollToIndex(targetScrollIndex)\n targetScrollIndex = -1\n })\n })\n })\n\n onScopeDispose(() => {\n updateOffsets.clear()\n })\n\n function handleItemResize (index: number, height: number) {\n const prevHeight = sizes[index]\n const prevMinHeight = itemHeight.value\n\n itemHeight.value = prevMinHeight ? Math.min(itemHeight.value, height) : height\n\n if (prevHeight !== height || prevMinHeight !== itemHeight.value) {\n sizes[index] = height\n updateOffsets()\n }\n }\n\n function calculateOffset (index: number) {\n index = clamp(index, 0, items.value.length - 1)\n return offsets[index] || 0\n }\n\n function calculateIndex (scrollTop: number) {\n return binaryClosest(offsets, scrollTop)\n }\n\n let lastScrollTop = 0\n let scrollVelocity = 0\n let lastScrollTime = 0\n\n watch(viewportHeight, (val, oldVal) => {\n if (oldVal) {\n calculateVisibleItems()\n if (val < oldVal) {\n requestAnimationFrame(() => {\n scrollVelocity = 0\n calculateVisibleItems()\n })\n }\n }\n })\n\n let scrollTimeout = -1\n function handleScroll () {\n if (!containerRef.value || !markerRef.value) return\n\n const scrollTop = containerRef.value.scrollTop\n const scrollTime = performance.now()\n const scrollDeltaT = scrollTime - lastScrollTime\n\n if (scrollDeltaT > 500) {\n scrollVelocity = Math.sign(scrollTop - lastScrollTop)\n\n // Not super important, only update at the\n // start of a scroll sequence to avoid reflows\n markerOffset = markerRef.value.offsetTop\n } else {\n scrollVelocity = scrollTop - lastScrollTop\n }\n\n lastScrollTop = scrollTop\n lastScrollTime = scrollTime\n\n window.clearTimeout(scrollTimeout)\n scrollTimeout = window.setTimeout(handleScrollend, 500)\n\n calculateVisibleItems()\n }\n function handleScrollend () {\n if (!containerRef.value || !markerRef.value) return\n\n scrollVelocity = 0\n lastScrollTime = 0\n\n window.clearTimeout(scrollTimeout)\n calculateVisibleItems()\n }\n\n let raf = -1\n function calculateVisibleItems () {\n cancelAnimationFrame(raf)\n raf = requestAnimationFrame(_calculateVisibleItems)\n }\n function _calculateVisibleItems () {\n if (!containerRef.value || !viewportHeight.value) return\n const scrollTop = lastScrollTop - markerOffset\n const direction = Math.sign(scrollVelocity)\n\n const startPx = Math.max(0, scrollTop - BUFFER_PX)\n const start = clamp(calculateIndex(startPx), 0, items.value.length)\n\n const endPx = scrollTop + viewportHeight.value + BUFFER_PX\n const end = clamp(calculateIndex(endPx) + 1, start + 1, items.value.length)\n\n if (\n // Only update the side we're scrolling towards,\n // the other side will be updated incidentally\n (direction !== UP || start < first.value) &&\n (direction !== DOWN || end > last.value)\n ) {\n const topOverflow = calculateOffset(first.value) - calculateOffset(start)\n const bottomOverflow = calculateOffset(end) - calculateOffset(last.value)\n const bufferOverflow = Math.max(topOverflow, bottomOverflow)\n\n if (bufferOverflow > BUFFER_PX) {\n first.value = start\n last.value = end\n } else {\n // Only update the side that's reached its limit if there's still buffer left\n if (start <= 0) first.value = start\n if (end >= items.value.length) last.value = end\n }\n }\n\n paddingTop.value = calculateOffset(first.value)\n paddingBottom.value = calculateOffset(items.value.length) - calculateOffset(last.value)\n }\n\n function scrollToIndex (index: number) {\n const offset = calculateOffset(index)\n if (!containerRef.value || (index && !offset)) {\n targetScrollIndex = index\n } else {\n containerRef.value.scrollTop = offset\n }\n }\n\n const computedItems = computed(() => {\n return items.value.slice(first.value, last.value).map((item, index) => ({\n raw: item,\n index: index + first.value,\n key: (isObject(item) && 'value' in item) ? item.value : index + first.value,\n }))\n })\n\n watch(items, () => {\n sizes = Array.from({ length: items.value.length })\n offsets = Array.from({ length: items.value.length })\n updateOffsets.immediate()\n calculateVisibleItems()\n }, { deep: 1 })\n\n return {\n calculateVisibleItems,\n containerRef,\n markerRef,\n computedItems,\n paddingTop,\n paddingBottom,\n scrollToIndex,\n handleScroll,\n handleScrollend,\n handleItemResize,\n }\n}\n\n// https://gist.github.com/robertleeplummerjr/1cc657191d34ecd0a324\nfunction binaryClosest (arr: ArrayLike<number>, val: number) {\n let high = arr.length - 1\n let low = 0\n let mid = 0\n let item = null\n let target = -1\n\n if (arr[high]! < val) {\n return high\n }\n\n while (low <= high) {\n mid = (low + high) >> 1\n item = arr[mid]!\n\n if (item > val) {\n high = mid - 1\n } else if (item < val) {\n target = mid\n low = mid + 1\n } else if (item === val) {\n return mid\n } else {\n return low\n }\n }\n\n return target\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU;AAAA,SACVC,iBAAiB,gCAE1B;AACA,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,cAAc,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;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AEf,OAAO;IACL3C,qBAAqB;IACrB5B,YAAY;IACZC,SAAS;IACTgE,aAAa;IACbnE,UAAU;IACVC,aAAa;IACbgC,aAAa;IACbgB,YAAY;IACZM,eAAe;IACfpB;EACF,CAAC;AACH;;AAEA;AACA,SAASO,aAAaA,CAAEgC,GAAsB,EAAE5B,GAAW,EAAE;EAC3D,IAAI6B,IAAI,GAAGD,GAAG,CAAC5D,MAAM,GAAG,CAAC;EACzB,IAAI8D,GAAG,GAAG,CAAC;EACX,IAAIC,GAAG,GAAG,CAAC;EACX,IAAIP,IAAI,GAAG,IAAI;EACf,IAAIQ,MAAM,GAAG,CAAC,CAAC;EAEf,IAAIJ,GAAG,CAACC,IAAI,CAAC,GAAI7B,GAAG,EAAE;IACpB,OAAO6B,IAAI;EACb;EAEA,OAAOC,GAAG,IAAID,IAAI,EAAE;IAClBE,GAAG,GAAID,GAAG,GAAGD,IAAI,IAAK,CAAC;IACvBL,IAAI,GAAGI,GAAG,CAACG,GAAG,CAAE;IAEhB,IAAIP,IAAI,GAAGxB,GAAG,EAAE;MACd6B,IAAI,GAAGE,GAAG,GAAG,CAAC;IAChB,CAAC,MAAM,IAAIP,IAAI,GAAGxB,GAAG,EAAE;MACrBgC,MAAM,GAAGD,GAAG;MACZD,GAAG,GAAGC,GAAG,GAAG,CAAC;IACf,CAAC,MAAM,IAAIP,IAAI,KAAKxB,GAAG,EAAE;MACvB,OAAO+B,GAAG;IACZ,CAAC,MAAM;MACL,OAAOD,GAAG;IACZ;EACF;EAEA,OAAOE,MAAM;AACf","ignoreList":[]}
|
1
|
+
{"version":3,"file":"virtual.mjs","names":["useDisplay","useResizeObserver","computed","nextTick","onScopeDispose","ref","shallowRef","watch","watchEffect","clamp","debounce","getPropertyFromItem","IN_BROWSER","propsFactory","UP","DOWN","BUFFER_PX","makeVirtualProps","itemHeight","type","Number","String","default","itemKey","Array","Function","height","useVirtual","props","items","display","value","parseFloat","first","last","Math","ceil","parseInt","paddingTop","paddingBottom","containerRef","markerRef","markerOffset","resizeRef","contentRect","viewportHeight","document","documentElement","hasInitialRender","sizes","from","length","offsets","updateTime","targetScrollIndex","getSize","index","updateOffsets","start","performance","now","i","max","unwatch","v","offsetTop","immediate","calculateVisibleItems","window","requestAnimationFrame","scrollToIndex","clear","handleItemResize","prevHeight","prevMinHeight","min","calculateOffset","calculateIndex","scrollTop","binaryClosest","lastScrollTop","scrollVelocity","lastScrollTime","val","oldVal","scrollTimeout","handleScroll","scrollTime","scrollDeltaT","sign","clearTimeout","setTimeout","handleScrollend","raf","cancelAnimationFrame","_calculateVisibleItems","direction","startPx","endPx","end","topOverflow","bottomOverflow","bufferOverflow","offset","computedItems","slice","map","item","_index","raw","key","deep","arr","high","low","mid","target"],"sources":["../../src/composables/virtual.ts"],"sourcesContent":["// Composables\nimport { useDisplay } from '@/composables/display'\nimport { useResizeObserver } from '@/composables/resizeObserver'\n\n// Utilities\nimport { computed, nextTick, onScopeDispose, ref, shallowRef, watch, watchEffect } from 'vue'\nimport { clamp, debounce, getPropertyFromItem, IN_BROWSER, propsFactory } from '@/util'\n\n// Types\nimport type { PropType, Ref } from 'vue'\nimport type { SelectItemKey } from '@/util'\n\nconst UP = -1\nconst DOWN = 1\n\n/** Determines how large each batch of items should be */\nconst BUFFER_PX = 100\n\ntype VirtualProps = {\n itemHeight: number | string | null | undefined\n itemKey: SelectItemKey\n height: number | string | undefined\n}\n\nexport const makeVirtualProps = propsFactory({\n itemHeight: {\n type: [Number, String],\n default: null,\n },\n itemKey: {\n type: [String, Array, Function] as PropType<SelectItemKey>,\n default: null,\n },\n height: [Number, String],\n}, 'virtual')\n\nexport function useVirtual <T> (props: VirtualProps, items: Ref<readonly T[]>) {\n const display = useDisplay()\n\n const itemHeight = shallowRef(0)\n watchEffect(() => {\n itemHeight.value = parseFloat(props.itemHeight || 0)\n })\n\n const first = shallowRef(0)\n const last = shallowRef(Math.ceil(\n // Assume 16px items filling the entire screen height if\n // not provided. This is probably incorrect but it minimises\n // the chance of ending up with empty space at the bottom.\n // The default value is set here to avoid poisoning getSize()\n (parseInt(props.height!) || display.height.value) / (itemHeight.value || 16)\n ) || 1)\n const paddingTop = shallowRef(0)\n const paddingBottom = shallowRef(0)\n\n /** The scrollable element */\n const containerRef = ref<HTMLElement>()\n /** An element marking the top of the scrollable area,\n * used to add an offset if there's padding or other elements above the virtual list */\n const markerRef = ref<HTMLElement>()\n /** markerRef's offsetTop, lazily evaluated */\n let markerOffset = 0\n\n const { resizeRef, contentRect } = useResizeObserver()\n watchEffect(() => {\n resizeRef.value = containerRef.value\n })\n const viewportHeight = computed(() => {\n return containerRef.value === document.documentElement\n ? display.height.value\n : contentRect.value?.height || parseInt(props.height!) || 0\n })\n /** All static elements have been rendered and we have an assumed item height */\n const hasInitialRender = computed(() => {\n return !!(containerRef.value && markerRef.value && viewportHeight.value && itemHeight.value)\n })\n\n let sizes = Array.from<number | null>({ length: items.value.length })\n let offsets = Array.from<number>({ length: items.value.length })\n const updateTime = shallowRef(0)\n let targetScrollIndex = -1\n\n function getSize (index: number) {\n return sizes[index] || itemHeight.value\n }\n\n const updateOffsets = debounce(() => {\n const start = performance.now()\n offsets[0] = 0\n const length = items.value.length\n for (let i = 1; i <= length - 1; i++) {\n offsets[i] = (offsets[i - 1] || 0) + getSize(i - 1)\n }\n updateTime.value = Math.max(updateTime.value, performance.now() - start)\n }, updateTime)\n\n const unwatch = watch(hasInitialRender, v => {\n if (!v) return\n // First render is complete, update offsets and visible\n // items in case our assumed item height was incorrect\n\n unwatch()\n markerOffset = markerRef.value!.offsetTop\n updateOffsets.immediate()\n calculateVisibleItems()\n\n if (!~targetScrollIndex) return\n\n nextTick(() => {\n IN_BROWSER && window.requestAnimationFrame(() => {\n scrollToIndex(targetScrollIndex)\n targetScrollIndex = -1\n })\n })\n })\n\n onScopeDispose(() => {\n updateOffsets.clear()\n })\n\n function handleItemResize (index: number, height: number) {\n const prevHeight = sizes[index]\n const prevMinHeight = itemHeight.value\n\n itemHeight.value = prevMinHeight ? Math.min(itemHeight.value, height) : height\n\n if (prevHeight !== height || prevMinHeight !== itemHeight.value) {\n sizes[index] = height\n updateOffsets()\n }\n }\n\n function calculateOffset (index: number) {\n index = clamp(index, 0, items.value.length - 1)\n return offsets[index] || 0\n }\n\n function calculateIndex (scrollTop: number) {\n return binaryClosest(offsets, scrollTop)\n }\n\n let lastScrollTop = 0\n let scrollVelocity = 0\n let lastScrollTime = 0\n\n watch(viewportHeight, (val, oldVal) => {\n if (oldVal) {\n calculateVisibleItems()\n if (val < oldVal) {\n requestAnimationFrame(() => {\n scrollVelocity = 0\n calculateVisibleItems()\n })\n }\n }\n })\n\n let scrollTimeout = -1\n function handleScroll () {\n if (!containerRef.value || !markerRef.value) return\n\n const scrollTop = containerRef.value.scrollTop\n const scrollTime = performance.now()\n const scrollDeltaT = scrollTime - lastScrollTime\n\n if (scrollDeltaT > 500) {\n scrollVelocity = Math.sign(scrollTop - lastScrollTop)\n\n // Not super important, only update at the\n // start of a scroll sequence to avoid reflows\n markerOffset = markerRef.value.offsetTop\n } else {\n scrollVelocity = scrollTop - lastScrollTop\n }\n\n lastScrollTop = scrollTop\n lastScrollTime = scrollTime\n\n window.clearTimeout(scrollTimeout)\n scrollTimeout = window.setTimeout(handleScrollend, 500)\n\n calculateVisibleItems()\n }\n function handleScrollend () {\n if (!containerRef.value || !markerRef.value) return\n\n scrollVelocity = 0\n lastScrollTime = 0\n\n window.clearTimeout(scrollTimeout)\n calculateVisibleItems()\n }\n\n let raf = -1\n function calculateVisibleItems () {\n cancelAnimationFrame(raf)\n raf = requestAnimationFrame(_calculateVisibleItems)\n }\n function _calculateVisibleItems () {\n if (!containerRef.value || !viewportHeight.value) return\n const scrollTop = lastScrollTop - markerOffset\n const direction = Math.sign(scrollVelocity)\n\n const startPx = Math.max(0, scrollTop - BUFFER_PX)\n const start = clamp(calculateIndex(startPx), 0, items.value.length)\n\n const endPx = scrollTop + viewportHeight.value + BUFFER_PX\n const end = clamp(calculateIndex(endPx) + 1, start + 1, items.value.length)\n\n if (\n // Only update the side we're scrolling towards,\n // the other side will be updated incidentally\n (direction !== UP || start < first.value) &&\n (direction !== DOWN || end > last.value)\n ) {\n const topOverflow = calculateOffset(first.value) - calculateOffset(start)\n const bottomOverflow = calculateOffset(end) - calculateOffset(last.value)\n const bufferOverflow = Math.max(topOverflow, bottomOverflow)\n\n if (bufferOverflow > BUFFER_PX) {\n first.value = start\n last.value = end\n } else {\n // Only update the side that's reached its limit if there's still buffer left\n if (start <= 0) first.value = start\n if (end >= items.value.length) last.value = end\n }\n }\n\n paddingTop.value = calculateOffset(first.value)\n paddingBottom.value = calculateOffset(items.value.length) - calculateOffset(last.value)\n }\n\n function scrollToIndex (index: number) {\n const offset = calculateOffset(index)\n if (!containerRef.value || (index && !offset)) {\n targetScrollIndex = index\n } else {\n containerRef.value.scrollTop = offset\n }\n }\n\n const computedItems = computed(() => {\n return items.value.slice(first.value, last.value).map((item, index) => {\n const _index = index + first.value\n return {\n raw: item,\n index: _index,\n key: getPropertyFromItem(item, props.itemKey, _index),\n }\n })\n })\n\n watch(items, () => {\n sizes = Array.from({ length: items.value.length })\n offsets = Array.from({ length: items.value.length })\n updateOffsets.immediate()\n calculateVisibleItems()\n }, { deep: 1 })\n\n return {\n calculateVisibleItems,\n containerRef,\n markerRef,\n computedItems,\n paddingTop,\n paddingBottom,\n scrollToIndex,\n handleScroll,\n handleScrollend,\n handleItemResize,\n }\n}\n\n// https://gist.github.com/robertleeplummerjr/1cc657191d34ecd0a324\nfunction binaryClosest (arr: ArrayLike<number>, val: number) {\n let high = arr.length - 1\n let low = 0\n let mid = 0\n let item = null\n let target = -1\n\n if (arr[high]! < val) {\n return high\n }\n\n while (low <= high) {\n mid = (low + high) >> 1\n item = arr[mid]!\n\n if (item > val) {\n high = mid - 1\n } else if (item < val) {\n target = mid\n low = mid + 1\n } else if (item === val) {\n return mid\n } else {\n return low\n }\n }\n\n return target\n}\n"],"mappings":"AAAA;AAAA,SACSA,UAAU;AAAA,SAC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/lib/entry-bundler.mjs
CHANGED
@@ -16,7 +16,7 @@ export const createVuetify = function () {
|
|
16
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.7.6-dev.
|
19
|
+
export const version = "3.7.6-dev.2025-01-06";
|
20
20
|
createVuetify.version = version;
|
21
21
|
export { blueprints, components, directives };
|
22
22
|
export * from "./composables/index.mjs";
|
package/lib/framework.mjs
CHANGED
package/lib/index.d.mts
CHANGED
@@ -125,6 +125,8 @@ type ThemeOptions = false | {
|
|
125
125
|
defaultTheme?: string;
|
126
126
|
variations?: false | VariationsOptions;
|
127
127
|
themes?: Record<string, ThemeDefinition>;
|
128
|
+
stylesheetId?: string;
|
129
|
+
scope?: string;
|
128
130
|
};
|
129
131
|
type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
|
130
132
|
interface VariationsOptions {
|
@@ -486,49 +488,41 @@ declare module 'vue' {
|
|
486
488
|
$children?: VNodeChild
|
487
489
|
}
|
488
490
|
export interface GlobalComponents {
|
491
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
492
|
+
VApp: typeof import('vuetify/components')['VApp']
|
489
493
|
VAlert: typeof import('vuetify/components')['VAlert']
|
490
494
|
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
491
495
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
492
496
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
493
497
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
494
498
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
499
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
500
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
495
501
|
VBadge: typeof import('vuetify/components')['VBadge']
|
496
|
-
|
497
|
-
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
498
|
-
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
499
|
-
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
500
|
-
VAvatar: typeof import('vuetify/components')['VAvatar']
|
502
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
501
503
|
VBanner: typeof import('vuetify/components')['VBanner']
|
502
504
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
503
505
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
504
|
-
|
505
|
-
|
506
|
-
|
506
|
+
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
507
|
+
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
508
|
+
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
507
509
|
VCard: typeof import('vuetify/components')['VCard']
|
508
510
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
509
511
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
510
512
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
511
513
|
VCardText: typeof import('vuetify/components')['VCardText']
|
512
514
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
515
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
513
516
|
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
517
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
518
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
519
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
520
|
+
VCode: typeof import('vuetify/components')['VCode']
|
514
521
|
VChip: typeof import('vuetify/components')['VChip']
|
515
522
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
516
523
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
517
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
518
|
-
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
519
|
-
VCode: typeof import('vuetify/components')['VCode']
|
520
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
521
524
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
522
|
-
|
523
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
524
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
525
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
526
|
-
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
527
|
-
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
528
|
-
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
529
|
-
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
530
|
-
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
531
|
-
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
525
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
532
526
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
533
527
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
534
528
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -536,20 +530,29 @@ declare module 'vue' {
|
|
536
530
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
537
531
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
538
532
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
533
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
534
|
+
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
535
|
+
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
536
|
+
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
537
|
+
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
538
|
+
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
539
|
+
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
539
540
|
VDialog: typeof import('vuetify/components')['VDialog']
|
540
|
-
|
541
|
-
VFab: typeof import('vuetify/components')['VFab']
|
542
|
-
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
541
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
543
542
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
544
543
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
545
544
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
546
545
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
547
|
-
|
546
|
+
VFab: typeof import('vuetify/components')['VFab']
|
547
|
+
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
548
548
|
VField: typeof import('vuetify/components')['VField']
|
549
549
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
550
|
-
|
550
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
551
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
551
552
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
552
553
|
VInput: typeof import('vuetify/components')['VInput']
|
554
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
555
|
+
VImg: typeof import('vuetify/components')['VImg']
|
553
556
|
VIcon: typeof import('vuetify/components')['VIcon']
|
554
557
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
555
558
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
@@ -557,10 +560,9 @@ declare module 'vue' {
|
|
557
560
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
558
561
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
559
562
|
VItem: typeof import('vuetify/components')['VItem']
|
560
|
-
VMain: typeof import('vuetify/components')['VMain']
|
561
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
562
563
|
VKbd: typeof import('vuetify/components')['VKbd']
|
563
|
-
|
564
|
+
VMain: typeof import('vuetify/components')['VMain']
|
565
|
+
VMenu: typeof import('vuetify/components')['VMenu']
|
564
566
|
VList: typeof import('vuetify/components')['VList']
|
565
567
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
566
568
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -570,23 +572,22 @@ declare module 'vue' {
|
|
570
572
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
571
573
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
572
574
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
575
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
573
576
|
VMessages: typeof import('vuetify/components')['VMessages']
|
574
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
575
|
-
VMenu: typeof import('vuetify/components')['VMenu']
|
576
577
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
578
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
577
579
|
VPagination: typeof import('vuetify/components')['VPagination']
|
578
580
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
579
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
580
581
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
581
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
582
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
583
582
|
VRating: typeof import('vuetify/components')['VRating']
|
584
|
-
|
583
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
584
|
+
VSelect: typeof import('vuetify/components')['VSelect']
|
585
585
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
586
586
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
587
|
-
|
588
|
-
VSelect: typeof import('vuetify/components')['VSelect']
|
587
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
589
588
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
589
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
590
|
+
VSlider: typeof import('vuetify/components')['VSlider']
|
590
591
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
591
592
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
592
593
|
VTable: typeof import('vuetify/components')['VTable']
|
@@ -596,39 +597,39 @@ declare module 'vue' {
|
|
596
597
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
597
598
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
598
599
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
599
|
-
VTextarea: typeof import('vuetify/components')['VTextarea']
|
600
600
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
601
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
602
601
|
VTab: typeof import('vuetify/components')['VTab']
|
603
602
|
VTabs: typeof import('vuetify/components')['VTabs']
|
604
603
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
605
604
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
606
|
-
|
605
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
606
|
+
VTextarea: typeof import('vuetify/components')['VTextarea']
|
607
|
+
VTimeline: typeof import('vuetify/components')['VTimeline']
|
608
|
+
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
609
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
610
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
611
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
607
612
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
608
613
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
609
614
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
610
|
-
|
611
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
612
|
-
VTimeline: typeof import('vuetify/components')['VTimeline']
|
613
|
-
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
615
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
614
616
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
617
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
618
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
617
619
|
VForm: typeof import('vuetify/components')['VForm']
|
620
|
+
VHover: typeof import('vuetify/components')['VHover']
|
618
621
|
VContainer: typeof import('vuetify/components')['VContainer']
|
619
622
|
VCol: typeof import('vuetify/components')['VCol']
|
620
623
|
VRow: typeof import('vuetify/components')['VRow']
|
621
624
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
622
625
|
VLayout: typeof import('vuetify/components')['VLayout']
|
623
626
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
624
|
-
VHover: typeof import('vuetify/components')['VHover']
|
625
627
|
VLazy: typeof import('vuetify/components')['VLazy']
|
626
628
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
627
629
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
628
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
629
630
|
VParallax: typeof import('vuetify/components')['VParallax']
|
631
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
630
632
|
VRadio: typeof import('vuetify/components')['VRadio']
|
631
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
632
633
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
633
634
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
634
635
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
@@ -650,6 +651,9 @@ declare module 'vue' {
|
|
650
651
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
651
652
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
652
653
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
654
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
655
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
656
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
653
657
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
654
658
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
655
659
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
@@ -657,19 +661,17 @@ declare module 'vue' {
|
|
657
661
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
658
662
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
663
|
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
660
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
661
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
662
664
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
663
665
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
664
666
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
667
|
+
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
668
|
+
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
665
669
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
666
670
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
667
671
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
668
672
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
669
673
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
670
674
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
671
|
-
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
672
|
-
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
673
675
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
674
676
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
675
677
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|