@vuetify/nightly 3.7.11-master.2025-02-05 → 3.7.11-master.2025-02-07
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 +5 -3
- package/dist/json/attributes.json +3398 -3398
- package/dist/json/importMap-labs.json +38 -38
- package/dist/json/importMap.json +152 -152
- package/dist/json/web-types.json +5799 -5799
- package/dist/vuetify-labs.css +3523 -3523
- package/dist/vuetify-labs.esm.js +10 -8
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +10 -8
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3639 -3639
- package/dist/vuetify.d.ts +53 -53
- package/dist/vuetify.esm.js +10 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +10 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +4 -4
- package/dist/vuetify.min.js.map +1 -1
- package/lib/directives/ripple/index.mjs +7 -5
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +53 -53
- package/package.json +1 -1
@@ -83,11 +83,13 @@ const ripples = {
|
|
83
83
|
animation.classList.add('v-ripple__animation--visible');
|
84
84
|
transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
|
85
85
|
animation.dataset.activated = String(performance.now());
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
86
|
+
requestAnimationFrame(() => {
|
87
|
+
requestAnimationFrame(() => {
|
88
|
+
animation.classList.remove('v-ripple__animation--enter');
|
89
|
+
animation.classList.add('v-ripple__animation--in');
|
90
|
+
transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
|
91
|
+
});
|
92
|
+
});
|
91
93
|
},
|
92
94
|
hide(el) {
|
93
95
|
if (!el?._ripple?.enabled) return;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["isObject","keyCodes","stopSymbol","Symbol","DELAY_RIPPLE","transform","el","value","style","webkitTransform","isTouchEvent","e","constructor","name","isKeyboardEvent","calculate","arguments","length","undefined","localX","localY","offset","getBoundingClientRect","target","touches","clientX","left","clientY","top","radius","scale","_ripple","circle","clientWidth","center","Math","sqrt","clientHeight","centerX","centerY","x","y","ripples","show","enabled","container","document","createElement","animation","appendChild","className","class","size","width","height","computed","window","getComputedStyle","position","dataset","previousPosition","classList","add","activated","String","performance","now","setTimeout","remove","hide","getElementsByClassName","isHiding","diff","Number","delay","max","parentNode","removeChild","isRippleEnabled","rippleShow","element","currentTarget","touched","isTouch","centered","showTimerCommit","showTimer","rippleStop","rippleHide","clearTimeout","type","rippleCancelShow","keyboardRipple","keyboardRippleShow","keyCode","enter","space","keyboardRippleHide","focusRippleHide","updateRipple","binding","wasEnabled","modifiers","stop","addEventListener","passive","removeListeners","removeEventListener","mounted","unmounted","updated","oldValue","Ripple"],"sources":["../../../src/directives/ripple/index.ts"],"sourcesContent":["// Styles\nimport './VRipple.sass'\n\n// Utilities\nimport { isObject, keyCodes } from '@/util'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\n\nconst stopSymbol = Symbol('rippleStop')\n\ntype VuetifyRippleEvent = (MouseEvent | TouchEvent | KeyboardEvent) & { [stopSymbol]?: boolean }\n\nconst DELAY_RIPPLE = 80\n\nfunction transform (el: HTMLElement, value: string) {\n el.style.transform = value\n el.style.webkitTransform = value\n}\n\ninterface RippleOptions {\n class?: string\n center?: boolean\n circle?: boolean\n}\n\nexport interface RippleDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {\n value?: boolean | { class: string }\n modifiers: {\n center?: boolean\n circle?: boolean\n stop?: boolean\n }\n}\n\nfunction isTouchEvent (e: VuetifyRippleEvent): e is TouchEvent {\n return e.constructor.name === 'TouchEvent'\n}\n\nfunction isKeyboardEvent (e: VuetifyRippleEvent): e is KeyboardEvent {\n return e.constructor.name === 'KeyboardEvent'\n}\n\nconst calculate = (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n) => {\n let localX = 0\n let localY = 0\n\n if (!isKeyboardEvent(e)) {\n const offset = el.getBoundingClientRect()\n const target = isTouchEvent(e) ? e.touches[e.touches.length - 1] : e\n\n localX = target.clientX - offset.left\n localY = target.clientY - offset.top\n }\n\n let radius = 0\n let scale = 0.3\n if (el._ripple?.circle) {\n scale = 0.15\n radius = el.clientWidth / 2\n radius = value.center ? radius : radius + Math.sqrt((localX - radius) ** 2 + (localY - radius) ** 2) / 4\n } else {\n radius = Math.sqrt(el.clientWidth ** 2 + el.clientHeight ** 2) / 2\n }\n\n const centerX = `${(el.clientWidth - (radius * 2)) / 2}px`\n const centerY = `${(el.clientHeight - (radius * 2)) / 2}px`\n\n const x = value.center ? centerX : `${localX - radius}px`\n const y = value.center ? centerY : `${localY - radius}px`\n\n return { radius, scale, x, y, centerX, centerY }\n}\n\nconst ripples = {\n /* eslint-disable max-statements */\n show (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n ) {\n if (!el?._ripple?.enabled) {\n return\n }\n\n const container = document.createElement('span')\n const animation = document.createElement('span')\n\n container.appendChild(animation)\n container.className = 'v-ripple__container'\n\n if (value.class) {\n container.className += ` ${value.class}`\n }\n\n const { radius, scale, x, y, centerX, centerY } = calculate(e, el, value)\n\n const size = `${radius * 2}px`\n animation.className = 'v-ripple__animation'\n animation.style.width = size\n animation.style.height = size\n\n el.appendChild(container)\n\n const computed = window.getComputedStyle(el)\n if (computed && computed.position === 'static') {\n el.style.position = 'relative'\n el.dataset.previousPosition = 'static'\n }\n\n animation.classList.add('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--visible')\n transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`)\n animation.dataset.activated = String(performance.now())\n\n setTimeout(() => {\n animation.classList.remove('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--in')\n transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`)\n }, 0)\n },\n\n hide (el: HTMLElement | null) {\n if (!el?._ripple?.enabled) return\n\n const ripples = el.getElementsByClassName('v-ripple__animation')\n\n if (ripples.length === 0) return\n const animation = ripples[ripples.length - 1]\n\n if (animation.dataset.isHiding) return\n else animation.dataset.isHiding = 'true'\n\n const diff = performance.now() - Number(animation.dataset.activated)\n const delay = Math.max(250 - diff, 0)\n\n setTimeout(() => {\n animation.classList.remove('v-ripple__animation--in')\n animation.classList.add('v-ripple__animation--out')\n\n setTimeout(() => {\n const ripples = el.getElementsByClassName('v-ripple__animation')\n if (ripples.length === 1 && el.dataset.previousPosition) {\n el.style.position = el.dataset.previousPosition\n delete el.dataset.previousPosition\n }\n\n if (animation.parentNode?.parentNode === el) el.removeChild(animation.parentNode)\n }, 300)\n }, delay)\n },\n}\n\nfunction isRippleEnabled (value: any): value is true {\n return typeof value === 'undefined' || !!value\n}\n\nfunction rippleShow (e: VuetifyRippleEvent) {\n const value: RippleOptions = {}\n const element = e.currentTarget as HTMLElement | undefined\n\n if (!element?._ripple || element._ripple.touched || e[stopSymbol]) return\n\n // Don't allow the event to trigger ripples on any other elements\n e[stopSymbol] = true\n\n if (isTouchEvent(e)) {\n element._ripple.touched = true\n element._ripple.isTouch = true\n } else {\n // It's possible for touch events to fire\n // as mouse events on Android/iOS, this\n // will skip the event call if it has\n // already been registered as touch\n if (element._ripple.isTouch) return\n }\n\n value.center = element._ripple.centered || isKeyboardEvent(e)\n if (element._ripple.class) {\n value.class = element._ripple.class\n }\n\n if (isTouchEvent(e)) {\n // already queued that shows or hides the ripple\n if (element._ripple.showTimerCommit) return\n\n element._ripple.showTimerCommit = () => {\n ripples.show(e, element, value)\n }\n element._ripple.showTimer = window.setTimeout(() => {\n if (element?._ripple?.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n }\n }, DELAY_RIPPLE)\n } else {\n ripples.show(e, element, value)\n }\n}\n\nfunction rippleStop (e: VuetifyRippleEvent) {\n e[stopSymbol] = true\n}\n\nfunction rippleHide (e: Event) {\n const element = e.currentTarget as HTMLElement | null\n if (!element?._ripple) return\n\n window.clearTimeout(element._ripple.showTimer)\n\n // The touch interaction occurs before the show timer is triggered.\n // We still want to show ripple effect.\n if (e.type === 'touchend' && element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n\n // re-queue ripple hiding\n element._ripple.showTimer = window.setTimeout(() => {\n rippleHide(e)\n })\n return\n }\n\n window.setTimeout(() => {\n if (element._ripple) {\n element._ripple.touched = false\n }\n })\n ripples.hide(element)\n}\n\nfunction rippleCancelShow (e: MouseEvent | TouchEvent) {\n const element = e.currentTarget as HTMLElement | undefined\n\n if (!element?._ripple) return\n\n if (element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit = null\n }\n\n window.clearTimeout(element._ripple.showTimer)\n}\n\nlet keyboardRipple = false\n\nfunction keyboardRippleShow (e: KeyboardEvent) {\n if (!keyboardRipple && (e.keyCode === keyCodes.enter || e.keyCode === keyCodes.space)) {\n keyboardRipple = true\n rippleShow(e)\n }\n}\n\nfunction keyboardRippleHide (e: KeyboardEvent) {\n keyboardRipple = false\n rippleHide(e)\n}\n\nfunction focusRippleHide (e: FocusEvent) {\n if (keyboardRipple) {\n keyboardRipple = false\n rippleHide(e)\n }\n}\n\nfunction updateRipple (el: HTMLElement, binding: RippleDirectiveBinding, wasEnabled: boolean) {\n const { value, modifiers } = binding\n const enabled = isRippleEnabled(value)\n if (!enabled) {\n ripples.hide(el)\n }\n\n el._ripple = el._ripple ?? {}\n el._ripple.enabled = enabled\n el._ripple.centered = modifiers.center\n el._ripple.circle = modifiers.circle\n if (isObject(value) && value.class) {\n el._ripple.class = value.class\n }\n\n if (enabled && !wasEnabled) {\n if (modifiers.stop) {\n el.addEventListener('touchstart', rippleStop, { passive: true })\n el.addEventListener('mousedown', rippleStop)\n return\n }\n\n el.addEventListener('touchstart', rippleShow, { passive: true })\n el.addEventListener('touchend', rippleHide, { passive: true })\n el.addEventListener('touchmove', rippleCancelShow, { passive: true })\n el.addEventListener('touchcancel', rippleHide)\n\n el.addEventListener('mousedown', rippleShow)\n el.addEventListener('mouseup', rippleHide)\n el.addEventListener('mouseleave', rippleHide)\n\n el.addEventListener('keydown', keyboardRippleShow)\n el.addEventListener('keyup', keyboardRippleHide)\n\n el.addEventListener('blur', focusRippleHide)\n\n // Anchor tags can be dragged, causes other hides to fail - #1537\n el.addEventListener('dragstart', rippleHide, { passive: true })\n } else if (!enabled && wasEnabled) {\n removeListeners(el)\n }\n}\n\nfunction removeListeners (el: HTMLElement) {\n el.removeEventListener('mousedown', rippleShow)\n el.removeEventListener('touchstart', rippleShow)\n el.removeEventListener('touchend', rippleHide)\n el.removeEventListener('touchmove', rippleCancelShow)\n el.removeEventListener('touchcancel', rippleHide)\n el.removeEventListener('mouseup', rippleHide)\n el.removeEventListener('mouseleave', rippleHide)\n el.removeEventListener('keydown', keyboardRippleShow)\n el.removeEventListener('keyup', keyboardRippleHide)\n el.removeEventListener('dragstart', rippleHide)\n el.removeEventListener('blur', focusRippleHide)\n}\n\nfunction mounted (el: HTMLElement, binding: RippleDirectiveBinding) {\n updateRipple(el, binding, false)\n}\n\nfunction unmounted (el: HTMLElement) {\n delete el._ripple\n removeListeners(el)\n}\n\nfunction updated (el: HTMLElement, binding: RippleDirectiveBinding) {\n if (binding.value === binding.oldValue) {\n return\n }\n\n const wasEnabled = isRippleEnabled(binding.oldValue)\n updateRipple(el, binding, wasEnabled)\n}\n\nexport const Ripple = {\n mounted,\n unmounted,\n updated,\n}\n\nexport default Ripple\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ,EAAEC,QAAQ,gCAE3B;AAGA,MAAMC,UAAU,GAAGC,MAAM,CAAC,YAAY,CAAC;AAIvC,MAAMC,YAAY,GAAG,EAAE;AAEvB,SAASC,SAASA,CAAEC,EAAe,EAA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EAAE;EAClED,YAAY,CAAC7F,EAAE,EAAE8F,OAAO,EAAE,KAAK,CAAC;AAClC;AAEA,SAASS,SAASA,CAAEvG,EAAe,EAAE;EACnC,OAAOA,EAAE,CAACyB,OAAO;EACjB2E,eAAe,CAACpG,EAAE,CAAC;AACrB;AAEA,SAASwG,OAAOA,CAAExG,EAAe,EAAE8F,OAA+B,EAAE;EAClE,IAAIA,OAAO,CAAC7F,KAAK,KAAK6F,OAAO,CAACW,QAAQ,EAAE;IACtC;EACF;EAEA,MAAMV,UAAU,GAAGvB,eAAe,CAACsB,OAAO,CAACW,QAAQ,CAAC;EACpDZ,YAAY,CAAC7F,EAAE,EAAE8F,OAAO,EAAEC,UAAU,CAAC;AACvC;AAEA,OAAO,MAAMW,MAAM,GAAG;EACpBJ,OAAO;EACPC,SAAS;EACTC;AACF,CAAC;AAED,eAAeE,MAAM","ignoreList":[]}
|
1
|
+
{"version":3,"file":"index.mjs","names":["isObject","keyCodes","stopSymbol","Symbol","DELAY_RIPPLE","transform","el","value","style","webkitTransform","isTouchEvent","e","constructor","name","isKeyboardEvent","calculate","arguments","length","undefined","localX","localY","offset","getBoundingClientRect","target","touches","clientX","left","clientY","top","radius","scale","_ripple","circle","clientWidth","center","Math","sqrt","clientHeight","centerX","centerY","x","y","ripples","show","enabled","container","document","createElement","animation","appendChild","className","class","size","width","height","computed","window","getComputedStyle","position","dataset","previousPosition","classList","add","activated","String","performance","now","requestAnimationFrame","remove","hide","getElementsByClassName","isHiding","diff","Number","delay","max","setTimeout","parentNode","removeChild","isRippleEnabled","rippleShow","element","currentTarget","touched","isTouch","centered","showTimerCommit","showTimer","rippleStop","rippleHide","clearTimeout","type","rippleCancelShow","keyboardRipple","keyboardRippleShow","keyCode","enter","space","keyboardRippleHide","focusRippleHide","updateRipple","binding","wasEnabled","modifiers","stop","addEventListener","passive","removeListeners","removeEventListener","mounted","unmounted","updated","oldValue","Ripple"],"sources":["../../../src/directives/ripple/index.ts"],"sourcesContent":["// Styles\nimport './VRipple.sass'\n\n// Utilities\nimport { isObject, keyCodes } from '@/util'\n\n// Types\nimport type { DirectiveBinding } from 'vue'\n\nconst stopSymbol = Symbol('rippleStop')\n\ntype VuetifyRippleEvent = (MouseEvent | TouchEvent | KeyboardEvent) & { [stopSymbol]?: boolean }\n\nconst DELAY_RIPPLE = 80\n\nfunction transform (el: HTMLElement, value: string) {\n el.style.transform = value\n el.style.webkitTransform = value\n}\n\ninterface RippleOptions {\n class?: string\n center?: boolean\n circle?: boolean\n}\n\nexport interface RippleDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {\n value?: boolean | { class: string }\n modifiers: {\n center?: boolean\n circle?: boolean\n stop?: boolean\n }\n}\n\nfunction isTouchEvent (e: VuetifyRippleEvent): e is TouchEvent {\n return e.constructor.name === 'TouchEvent'\n}\n\nfunction isKeyboardEvent (e: VuetifyRippleEvent): e is KeyboardEvent {\n return e.constructor.name === 'KeyboardEvent'\n}\n\nconst calculate = (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n) => {\n let localX = 0\n let localY = 0\n\n if (!isKeyboardEvent(e)) {\n const offset = el.getBoundingClientRect()\n const target = isTouchEvent(e) ? e.touches[e.touches.length - 1] : e\n\n localX = target.clientX - offset.left\n localY = target.clientY - offset.top\n }\n\n let radius = 0\n let scale = 0.3\n if (el._ripple?.circle) {\n scale = 0.15\n radius = el.clientWidth / 2\n radius = value.center ? radius : radius + Math.sqrt((localX - radius) ** 2 + (localY - radius) ** 2) / 4\n } else {\n radius = Math.sqrt(el.clientWidth ** 2 + el.clientHeight ** 2) / 2\n }\n\n const centerX = `${(el.clientWidth - (radius * 2)) / 2}px`\n const centerY = `${(el.clientHeight - (radius * 2)) / 2}px`\n\n const x = value.center ? centerX : `${localX - radius}px`\n const y = value.center ? centerY : `${localY - radius}px`\n\n return { radius, scale, x, y, centerX, centerY }\n}\n\nconst ripples = {\n /* eslint-disable max-statements */\n show (\n e: VuetifyRippleEvent,\n el: HTMLElement,\n value: RippleOptions = {}\n ) {\n if (!el?._ripple?.enabled) {\n return\n }\n\n const container = document.createElement('span')\n const animation = document.createElement('span')\n\n container.appendChild(animation)\n container.className = 'v-ripple__container'\n\n if (value.class) {\n container.className += ` ${value.class}`\n }\n\n const { radius, scale, x, y, centerX, centerY } = calculate(e, el, value)\n\n const size = `${radius * 2}px`\n animation.className = 'v-ripple__animation'\n animation.style.width = size\n animation.style.height = size\n\n el.appendChild(container)\n\n const computed = window.getComputedStyle(el)\n if (computed && computed.position === 'static') {\n el.style.position = 'relative'\n el.dataset.previousPosition = 'static'\n }\n\n animation.classList.add('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--visible')\n transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`)\n animation.dataset.activated = String(performance.now())\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n animation.classList.remove('v-ripple__animation--enter')\n animation.classList.add('v-ripple__animation--in')\n transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`)\n })\n })\n },\n\n hide (el: HTMLElement | null) {\n if (!el?._ripple?.enabled) return\n\n const ripples = el.getElementsByClassName('v-ripple__animation')\n\n if (ripples.length === 0) return\n const animation = ripples[ripples.length - 1]\n\n if (animation.dataset.isHiding) return\n else animation.dataset.isHiding = 'true'\n\n const diff = performance.now() - Number(animation.dataset.activated)\n const delay = Math.max(250 - diff, 0)\n\n setTimeout(() => {\n animation.classList.remove('v-ripple__animation--in')\n animation.classList.add('v-ripple__animation--out')\n\n setTimeout(() => {\n const ripples = el.getElementsByClassName('v-ripple__animation')\n if (ripples.length === 1 && el.dataset.previousPosition) {\n el.style.position = el.dataset.previousPosition\n delete el.dataset.previousPosition\n }\n\n if (animation.parentNode?.parentNode === el) el.removeChild(animation.parentNode)\n }, 300)\n }, delay)\n },\n}\n\nfunction isRippleEnabled (value: any): value is true {\n return typeof value === 'undefined' || !!value\n}\n\nfunction rippleShow (e: VuetifyRippleEvent) {\n const value: RippleOptions = {}\n const element = e.currentTarget as HTMLElement | undefined\n\n if (!element?._ripple || element._ripple.touched || e[stopSymbol]) return\n\n // Don't allow the event to trigger ripples on any other elements\n e[stopSymbol] = true\n\n if (isTouchEvent(e)) {\n element._ripple.touched = true\n element._ripple.isTouch = true\n } else {\n // It's possible for touch events to fire\n // as mouse events on Android/iOS, this\n // will skip the event call if it has\n // already been registered as touch\n if (element._ripple.isTouch) return\n }\n\n value.center = element._ripple.centered || isKeyboardEvent(e)\n if (element._ripple.class) {\n value.class = element._ripple.class\n }\n\n if (isTouchEvent(e)) {\n // already queued that shows or hides the ripple\n if (element._ripple.showTimerCommit) return\n\n element._ripple.showTimerCommit = () => {\n ripples.show(e, element, value)\n }\n element._ripple.showTimer = window.setTimeout(() => {\n if (element?._ripple?.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n }\n }, DELAY_RIPPLE)\n } else {\n ripples.show(e, element, value)\n }\n}\n\nfunction rippleStop (e: VuetifyRippleEvent) {\n e[stopSymbol] = true\n}\n\nfunction rippleHide (e: Event) {\n const element = e.currentTarget as HTMLElement | null\n if (!element?._ripple) return\n\n window.clearTimeout(element._ripple.showTimer)\n\n // The touch interaction occurs before the show timer is triggered.\n // We still want to show ripple effect.\n if (e.type === 'touchend' && element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit()\n element._ripple.showTimerCommit = null\n\n // re-queue ripple hiding\n element._ripple.showTimer = window.setTimeout(() => {\n rippleHide(e)\n })\n return\n }\n\n window.setTimeout(() => {\n if (element._ripple) {\n element._ripple.touched = false\n }\n })\n ripples.hide(element)\n}\n\nfunction rippleCancelShow (e: MouseEvent | TouchEvent) {\n const element = e.currentTarget as HTMLElement | undefined\n\n if (!element?._ripple) return\n\n if (element._ripple.showTimerCommit) {\n element._ripple.showTimerCommit = null\n }\n\n window.clearTimeout(element._ripple.showTimer)\n}\n\nlet keyboardRipple = false\n\nfunction keyboardRippleShow (e: KeyboardEvent) {\n if (!keyboardRipple && (e.keyCode === keyCodes.enter || e.keyCode === keyCodes.space)) {\n keyboardRipple = true\n rippleShow(e)\n }\n}\n\nfunction keyboardRippleHide (e: KeyboardEvent) {\n keyboardRipple = false\n rippleHide(e)\n}\n\nfunction focusRippleHide (e: FocusEvent) {\n if (keyboardRipple) {\n keyboardRipple = false\n rippleHide(e)\n }\n}\n\nfunction updateRipple (el: HTMLElement, binding: RippleDirectiveBinding, wasEnabled: boolean) {\n const { value, modifiers } = binding\n const enabled = isRippleEnabled(value)\n if (!enabled) {\n ripples.hide(el)\n }\n\n el._ripple = el._ripple ?? {}\n el._ripple.enabled = enabled\n el._ripple.centered = modifiers.center\n el._ripple.circle = modifiers.circle\n if (isObject(value) && value.class) {\n el._ripple.class = value.class\n }\n\n if (enabled && !wasEnabled) {\n if (modifiers.stop) {\n el.addEventListener('touchstart', rippleStop, { passive: true })\n el.addEventListener('mousedown', rippleStop)\n return\n }\n\n el.addEventListener('touchstart', rippleShow, { passive: true })\n el.addEventListener('touchend', rippleHide, { passive: true })\n el.addEventListener('touchmove', rippleCancelShow, { passive: true })\n el.addEventListener('touchcancel', rippleHide)\n\n el.addEventListener('mousedown', rippleShow)\n el.addEventListener('mouseup', rippleHide)\n el.addEventListener('mouseleave', rippleHide)\n\n el.addEventListener('keydown', keyboardRippleShow)\n el.addEventListener('keyup', keyboardRippleHide)\n\n el.addEventListener('blur', focusRippleHide)\n\n // Anchor tags can be dragged, causes other hides to fail - #1537\n el.addEventListener('dragstart', rippleHide, { passive: true })\n } else if (!enabled && wasEnabled) {\n removeListeners(el)\n }\n}\n\nfunction removeListeners (el: HTMLElement) {\n el.removeEventListener('mousedown', rippleShow)\n el.removeEventListener('touchstart', rippleShow)\n el.removeEventListener('touchend', rippleHide)\n el.removeEventListener('touchmove', rippleCancelShow)\n el.removeEventListener('touchcancel', rippleHide)\n el.removeEventListener('mouseup', rippleHide)\n el.removeEventListener('mouseleave', rippleHide)\n el.removeEventListener('keydown', keyboardRippleShow)\n el.removeEventListener('keyup', keyboardRippleHide)\n el.removeEventListener('dragstart', rippleHide)\n el.removeEventListener('blur', focusRippleHide)\n}\n\nfunction mounted (el: HTMLElement, binding: RippleDirectiveBinding) {\n updateRipple(el, binding, false)\n}\n\nfunction unmounted (el: HTMLElement) {\n delete el._ripple\n removeListeners(el)\n}\n\nfunction updated (el: HTMLElement, binding: RippleDirectiveBinding) {\n if (binding.value === binding.oldValue) {\n return\n }\n\n const wasEnabled = isRippleEnabled(binding.oldValue)\n updateRipple(el, binding, wasEnabled)\n}\n\nexport const Ripple = {\n mounted,\n unmounted,\n updated,\n}\n\nexport default Ripple\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,QAAQ,EAAEC,QAAQ,gCAE3B;AAGA,MAAMC,UAAU,GAAGC,MAAM,CAAC,YAAY,CAAC;AAIvC,MAAMC,YAAY,GAAG,EAAE;AAEvB,SAASC,SAASA,CAAEC,EAAe,EAAEC,KAAa,EAAE;EAClDD,EAAE,CAACE,KAAK,CAACH,SAAS,GAAGE,KAAK;EAC1BD,EAAE,CAACE,KAAK,CAACC,eAAe,GAAGF,KAAK;AAClC;AAiBA,SAASG,YAAYA,CAAEC,CAAqB,EAAmB;EAC7D,OAAOA,CAAC,CAACC,WAAW,CAACC,IAAI,KAAK,YAAY;AAC5C;AAEA,SAASC,eAAeA,CAAEH,CAAqB,EAAsB;EACnE,OAAOA,CAAC,CAACC,WAAW,CAACC,IAAI,KAAK,eAAe;AAC/C;AAEA,MAAME,SAAS,GAAG,SAAAA,CAChBJ,CAAqB,EACrBL,EAAe,EAEZ;EAAA,IADHC,KAAoB,GAAAS,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAEzB,IAAIG,MAAM,GAAG,CAAC;EACd,IAAIC,MAAM,GAAG,CAAC;EAEd,IAAI,CAACN,eAAe,CAACH,CAAC,CAAC,EAAE;IACvB,MAAMU,MAAM,GAAGf,EAAE,CAACgB,qB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
16
|
...options
|
17
17
|
});
|
18
18
|
};
|
19
|
-
export const version = "3.7.11-master.2025-02-
|
19
|
+
export const version = "3.7.11-master.2025-02-07";
|
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
@@ -486,48 +486,49 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
VApp: typeof import('vuetify/components')['VApp']
|
490
489
|
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
491
|
-
|
492
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
490
|
+
VApp: typeof import('vuetify/components')['VApp']
|
493
491
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
494
492
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
495
493
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
494
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
495
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
496
496
|
VBanner: typeof import('vuetify/components')['VBanner']
|
497
497
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
498
498
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
499
|
-
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
500
499
|
VBadge: typeof import('vuetify/components')['VBadge']
|
501
|
-
|
500
|
+
VAvatar: typeof import('vuetify/components')['VAvatar']
|
502
501
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
503
502
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
504
503
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
505
|
-
|
504
|
+
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
505
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
506
506
|
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
507
|
-
VCard: typeof import('vuetify/components')['VCard']
|
508
|
-
VCardActions: typeof import('vuetify/components')['VCardActions']
|
509
|
-
VCardItem: typeof import('vuetify/components')['VCardItem']
|
510
|
-
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
511
|
-
VCardText: typeof import('vuetify/components')['VCardText']
|
512
|
-
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
513
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
514
507
|
VCarousel: typeof import('vuetify/components')['VCarousel']
|
515
508
|
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
516
509
|
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
517
510
|
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
518
511
|
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
512
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
513
|
+
VCode: typeof import('vuetify/components')['VCode']
|
519
514
|
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
520
|
-
|
515
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
521
516
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
522
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
523
|
-
VChip: typeof import('vuetify/components')['VChip']
|
524
517
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
525
518
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
526
519
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
527
520
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
528
521
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
529
522
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
530
|
-
|
523
|
+
VCard: typeof import('vuetify/components')['VCard']
|
524
|
+
VCardActions: typeof import('vuetify/components')['VCardActions']
|
525
|
+
VCardItem: typeof import('vuetify/components')['VCardItem']
|
526
|
+
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
527
|
+
VCardText: typeof import('vuetify/components')['VCardText']
|
528
|
+
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
529
|
+
VChip: typeof import('vuetify/components')['VChip']
|
530
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
531
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
531
532
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
532
533
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
533
534
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -535,29 +536,28 @@ declare module 'vue' {
|
|
535
536
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
536
537
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
537
538
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
538
|
-
VFab: typeof import('vuetify/components')['VFab']
|
539
539
|
VDivider: typeof import('vuetify/components')['VDivider']
|
540
540
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
541
|
-
|
542
|
-
VField: typeof import('vuetify/components')['VField']
|
543
|
-
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
544
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
545
|
-
VFileInput: typeof import('vuetify/components')['VFileInput']
|
541
|
+
VFab: typeof import('vuetify/components')['VFab']
|
546
542
|
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
547
543
|
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
548
544
|
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
549
545
|
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
550
|
-
|
546
|
+
VField: typeof import('vuetify/components')['VField']
|
547
|
+
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
548
|
+
VFileInput: typeof import('vuetify/components')['VFileInput']
|
549
|
+
VFooter: typeof import('vuetify/components')['VFooter']
|
551
550
|
VIcon: typeof import('vuetify/components')['VIcon']
|
552
551
|
VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
|
553
552
|
VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
|
554
553
|
VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
|
555
554
|
VClassIcon: typeof import('vuetify/components')['VClassIcon']
|
556
|
-
VInput: typeof import('vuetify/components')['VInput']
|
557
555
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
558
556
|
VItem: typeof import('vuetify/components')['VItem']
|
559
|
-
|
557
|
+
VInput: typeof import('vuetify/components')['VInput']
|
558
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
560
559
|
VImg: typeof import('vuetify/components')['VImg']
|
560
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
561
561
|
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
562
562
|
VList: typeof import('vuetify/components')['VList']
|
563
563
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
@@ -568,72 +568,72 @@ declare module 'vue' {
|
|
568
568
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
569
569
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
570
570
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
571
|
+
VMain: typeof import('vuetify/components')['VMain']
|
571
572
|
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
572
573
|
VMenu: typeof import('vuetify/components')['VMenu']
|
573
574
|
VMessages: typeof import('vuetify/components')['VMessages']
|
574
|
-
VMain: typeof import('vuetify/components')['VMain']
|
575
575
|
VOverlay: typeof import('vuetify/components')['VOverlay']
|
576
|
-
VPagination: typeof import('vuetify/components')['VPagination']
|
577
|
-
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
578
576
|
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
579
577
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
580
|
-
|
581
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
578
|
+
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
582
579
|
VRating: typeof import('vuetify/components')['VRating']
|
580
|
+
VPagination: typeof import('vuetify/components')['VPagination']
|
581
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
582
|
+
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
583
|
+
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
583
584
|
VSelect: typeof import('vuetify/components')['VSelect']
|
584
585
|
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
586
|
+
VSheet: typeof import('vuetify/components')['VSheet']
|
585
587
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
586
588
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
587
|
-
VSheet: typeof import('vuetify/components')['VSheet']
|
588
589
|
VSlider: typeof import('vuetify/components')['VSlider']
|
589
590
|
VSwitch: typeof import('vuetify/components')['VSwitch']
|
591
|
+
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
590
592
|
VStepper: typeof import('vuetify/components')['VStepper']
|
591
593
|
VStepperActions: typeof import('vuetify/components')['VStepperActions']
|
592
594
|
VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
|
593
595
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
594
596
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
595
597
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
596
|
-
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
597
598
|
VTab: typeof import('vuetify/components')['VTab']
|
598
599
|
VTabs: typeof import('vuetify/components')['VTabs']
|
599
600
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
600
601
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
601
|
-
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
602
602
|
VTable: typeof import('vuetify/components')['VTable']
|
603
603
|
VSystemBar: typeof import('vuetify/components')['VSystemBar']
|
604
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
605
604
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
606
|
-
VWindow: typeof import('vuetify/components')['VWindow']
|
607
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
608
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
609
605
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
610
606
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
611
607
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
612
608
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
613
609
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
610
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
611
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
612
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
613
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
614
614
|
VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
|
615
615
|
VDataIterator: typeof import('vuetify/components')['VDataIterator']
|
616
616
|
VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
|
617
|
-
VHover: typeof import('vuetify/components')['VHover']
|
618
617
|
VForm: typeof import('vuetify/components')['VForm']
|
619
618
|
VContainer: typeof import('vuetify/components')['VContainer']
|
620
619
|
VCol: typeof import('vuetify/components')['VCol']
|
621
620
|
VRow: typeof import('vuetify/components')['VRow']
|
622
621
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
622
|
+
VHover: typeof import('vuetify/components')['VHover']
|
623
623
|
VLayout: typeof import('vuetify/components')['VLayout']
|
624
624
|
VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
|
625
|
-
VLazy: typeof import('vuetify/components')['VLazy']
|
626
625
|
VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
|
626
|
+
VLazy: typeof import('vuetify/components')['VLazy']
|
627
627
|
VNoSsr: typeof import('vuetify/components')['VNoSsr']
|
628
|
+
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
628
629
|
VParallax: typeof import('vuetify/components')['VParallax']
|
629
|
-
VResponsive: typeof import('vuetify/components')['VResponsive']
|
630
630
|
VRadio: typeof import('vuetify/components')['VRadio']
|
631
|
-
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
632
631
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
632
|
+
VResponsive: typeof import('vuetify/components')['VResponsive']
|
633
633
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
634
634
|
VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
|
635
|
-
VValidation: typeof import('vuetify/components')['VValidation']
|
636
635
|
VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
|
636
|
+
VValidation: typeof import('vuetify/components')['VValidation']
|
637
637
|
VFabTransition: typeof import('vuetify/components')['VFabTransition']
|
638
638
|
VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
|
639
639
|
VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
|
@@ -650,28 +650,28 @@ declare module 'vue' {
|
|
650
650
|
VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
|
651
651
|
VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
|
652
652
|
VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
|
653
|
-
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
654
|
-
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
655
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
656
|
-
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
657
|
-
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
658
|
-
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
659
|
-
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
660
|
-
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
661
|
-
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
662
653
|
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
663
654
|
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
664
655
|
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
665
656
|
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
666
657
|
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
667
658
|
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
660
|
+
VFileUpload: typeof import('vuetify/labs/components')['VFileUpload']
|
661
|
+
VFileUploadItem: typeof import('vuetify/labs/components')['VFileUploadItem']
|
668
662
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
669
663
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
670
664
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
671
665
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
672
666
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
673
|
-
|
667
|
+
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
668
|
+
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
669
|
+
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
670
|
+
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
671
|
+
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
672
|
+
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
674
673
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
674
|
+
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
675
675
|
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
676
676
|
}
|
677
677
|
}
|
package/package.json
CHANGED