@vuetify/nightly 3.7.3-master.2024-11-01 → 3.7.3-master.2024-11-04
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 +2954 -2954
- package/dist/json/importMap-labs.json +32 -32
- package/dist/json/importMap.json +144 -144
- package/dist/json/web-types.json +5760 -5760
- package/dist/vuetify-labs.css +2872 -2869
- package/dist/vuetify-labs.esm.js +20 -8
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +20 -8
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +972 -969
- package/dist/vuetify.d.ts +50 -50
- package/dist/vuetify.esm.js +20 -8
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +20 -8
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +16 -16
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
- package/lib/components/VBtnToggle/VBtnToggle.sass +3 -0
- package/lib/components/VDialog/VDialog.mjs +4 -1
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VMenu/VMenu.mjs +15 -6
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +50 -50
- package/package.json +1 -1
@@ -11,4 +11,7 @@
|
|
11
11
|
.v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled):focus > .v-btn__overlay {
|
12
12
|
opacity: calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier));
|
13
13
|
}
|
14
|
+
}
|
15
|
+
.v-btn-toggle > .v-btn.v-btn--active:not(.v-btn--disabled).v-btn--variant-plain {
|
16
|
+
opacity: 1;
|
14
17
|
}
|
@@ -10,7 +10,7 @@ import { makeVOverlayProps } from "../VOverlay/VOverlay.mjs"; // Composables
|
|
10
10
|
import { forwardRefs } from "../../composables/forwardRefs.mjs";
|
11
11
|
import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
12
12
|
import { useScopeId } from "../../composables/scopeId.mjs"; // Utilities
|
13
|
-
import { mergeProps, nextTick, ref, watch } from 'vue';
|
13
|
+
import { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue';
|
14
14
|
import { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
15
15
|
export const makeVDialogProps = propsFactory({
|
16
16
|
fullscreen: Boolean,
|
@@ -67,6 +67,9 @@ export const VDialog = genericComponent()({
|
|
67
67
|
}
|
68
68
|
}
|
69
69
|
}
|
70
|
+
onBeforeUnmount(() => {
|
71
|
+
document.removeEventListener('focusin', onFocusin);
|
72
|
+
});
|
70
73
|
if (IN_BROWSER) {
|
71
74
|
watch(() => isActive.value && props.retainFocus, val => {
|
72
75
|
val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDialog.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","length","firstElement","lastElement","focus","
|
1
|
+
{"version":3,"file":"VDialog.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","onBeforeUnmount","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","length","firstElement","lastElement","focus","removeEventListener","val","addEventListener","immediate","onAfterEnter","activeElement","preventScroll","onAfterLeave","activatorEl","overlayProps","filterProps","activatorProps","contentProps","tabindex","_createVNode","_mergeProps","class","style","$event","activator","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VDialog/VDialog.tsx"],"sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVDialogProps = propsFactory({\n fullscreen: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n\n ...makeVOverlayProps({\n origin: 'center center' as const,\n scrollStrategy: 'block' as const,\n transition: { component: VDialogTransition as Component },\n zIndex: 2400,\n }),\n}, 'VDialog')\n\nexport const VDialog = genericComponent<OverlaySlots>()({\n name: 'VDialog',\n\n props: makeVDialogProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n afterEnter: () => true,\n afterLeave: () => true,\n },\n\n setup (props, { emit, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const overlay = ref<VOverlay>()\n function onFocusin (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n if (\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost dialog\n overlay.value?.globalTop &&\n // It isn't the document or the dialog body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the dialog body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n\n if (!focusable.length) return\n\n const firstElement = focusable[0]\n const lastElement = focusable[focusable.length - 1]\n\n if (before === firstElement) {\n lastElement.focus()\n } else {\n firstElement.focus()\n }\n }\n }\n\n onBeforeUnmount(() => {\n document.removeEventListener('focusin', onFocusin)\n })\n\n if (IN_BROWSER) {\n watch(() => isActive.value && props.retainFocus, val => {\n val\n ? document.addEventListener('focusin', onFocusin)\n : document.removeEventListener('focusin', onFocusin)\n }, { immediate: true })\n }\n\n function onAfterEnter () {\n emit('afterEnter')\n if (overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) {\n overlay.value.contentEl.focus({ preventScroll: true })\n }\n }\n\n function onAfterLeave () {\n emit('afterLeave')\n }\n\n watch(isActive, async val => {\n if (!val) {\n await nextTick()\n overlay.value!.activatorEl?.focus({ preventScroll: true })\n }\n })\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const activatorProps = mergeProps({\n 'aria-haspopup': 'dialog',\n }, props.activatorProps)\n const contentProps = mergeProps({\n tabindex: -1,\n }, props.contentProps)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-dialog',\n {\n 'v-dialog--fullscreen': props.fullscreen,\n 'v-dialog--scrollable': props.scrollable,\n },\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n aria-modal=\"true\"\n activatorProps={ activatorProps }\n contentProps={ contentProps }\n role=\"dialog\"\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VDialog\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VDialog = InstanceType<typeof VDialog>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,SACfC,UAAU,yCAEnB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,eAAe,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC9DC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,YAAY,EAAEC,SAAS,gCAEjF;AAIA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,UAAU,EAAEC,OAAO;EACnBC,WAAW,EAAE;IACXC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEJ,OAAO;EAEnB,GAAGhB,iBAAiB,CAAC;IACnBqB,MAAM,EAAE,eAAwB;IAChCC,cAAc,EAAE,OAAgB;IAChCC,UAAU,EAAE;MAAEC,SAAS,EAAE3B;IAA+B,CAAC;IACzD4B,MAAM,EAAE;EACV,CAAC;AACH,CAAC,EAAE,SAAS,CAAC;AAEb,OAAO,MAAMC,OAAO,GAAGhB,gBAAgB,CAAe,CAAC,CAAC;EACtDiB,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAEd,gBAAgB,CAAC,CAAC;EAEzBe,KAAK,EAAE;IACL,mBAAmB,EAAGC,KAAc,IAAK,IAAI;IAC7CC,UAAU,EAAEA,CAAA,KAAM,IAAI;IACtBC,UAAU,EAAEA,CAAA,KAAM;EACpB,CAAC;EAEDC,KAAKA,CAAEL,KAAK,EAAAM,IAAA,EAAmB;IAAA,IAAjB;MAAEC,IAAI;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC3B,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AAsB,EAAEX,KAAK,CAACb,UAAU;UACxC,sBAAsB,EAAEa,KAAK,CAACR;QAChC,CAAC,EACDQ,KAAK,CAAC4C,KAAK,CACZ;QAAA,SACO5C,KAAK,CAAC6C;MAAK,GACdR,YAAY;QAAA,cACP5B,QAAQ,CAACP,KAAK;QAAA,uBAAA4C,MAAA,IAAdrC,QAAQ,CAACP,KAAK,GAAA4C,MAAA;QAAA;QAAA,kBAEPP,cAAc;QAAA,gBAChBC,YAAY;QAAA;QAAA,gBAEZR,YAAY;QAAA,gBACZG;MAAY,GACtBzB,OAAO;QAGVqC,SAAS,EAAEvC,KAAK,CAACuC,SAAS;QAC1BxD,OAAO,EAAE,SAAAA,CAAA;UAAA,SAAAyD,IAAA,GAAAC,SAAA,CAAAzB,MAAA,EAAI0B,IAAI,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAH,SAAA,CAAAG,IAAA;UAAA;UAAA,OAAAV,YAAA,CAAAxE,iBAAA;YAAA;UAAA;YAAAqB,OAAA,EAAAA,CAAA,MAEXiB,KAAK,CAACjB,OAAO,GAAG,GAAG2D,IAAI,CAAC;UAAA;QAAA;MAE7B;IAIT,CAAC,CAAC;IAEF,OAAO7E,WAAW,CAAC,CAAC,CAAC,EAAEsC,OAAO,CAAC;EACjC;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -13,7 +13,7 @@ import { useProxiedModel } from "../../composables/proxiedModel.mjs";
|
|
13
13
|
import { useScopeId } from "../../composables/scopeId.mjs"; // Utilities
|
14
14
|
import { computed, inject, mergeProps, nextTick, onBeforeUnmount, onDeactivated, provide, ref, shallowRef, watch } from 'vue';
|
15
15
|
import { VMenuSymbol } from "./shared.mjs";
|
16
|
-
import { focusableChildren, focusChild, genericComponent, getNextElement, getUid, isClickInsideElement, omit, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
16
|
+
import { focusableChildren, focusChild, genericComponent, getNextElement, getUid, IN_BROWSER, isClickInsideElement, omit, propsFactory, useRender } from "../../util/index.mjs"; // Types
|
17
17
|
export const makeVMenuProps = propsFactory({
|
18
18
|
// TODO
|
19
19
|
// disableKeys: Boolean,
|
@@ -70,7 +70,10 @@ export const VMenu = genericComponent()({
|
|
70
70
|
}, 40);
|
71
71
|
}
|
72
72
|
});
|
73
|
-
onBeforeUnmount(() =>
|
73
|
+
onBeforeUnmount(() => {
|
74
|
+
parent?.unregister();
|
75
|
+
document.removeEventListener('focusin', onFocusIn);
|
76
|
+
});
|
74
77
|
onDeactivated(() => isActive.value = false);
|
75
78
|
async function onFocusIn(e) {
|
76
79
|
const before = e.relatedTarget;
|
@@ -90,13 +93,19 @@ export const VMenu = genericComponent()({
|
|
90
93
|
watch(isActive, val => {
|
91
94
|
if (val) {
|
92
95
|
parent?.register();
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
+
if (IN_BROWSER) {
|
97
|
+
document.addEventListener('focusin', onFocusIn, {
|
98
|
+
once: true
|
99
|
+
});
|
100
|
+
}
|
96
101
|
} else {
|
97
102
|
parent?.unregister();
|
98
|
-
|
103
|
+
if (IN_BROWSER) {
|
104
|
+
document.removeEventListener('focusin', onFocusIn);
|
105
|
+
}
|
99
106
|
}
|
107
|
+
}, {
|
108
|
+
immediate: true
|
100
109
|
});
|
101
110
|
function onClickOutside(e) {
|
102
111
|
parent?.closeParents(e);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VMenu.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useRtl","useProxiedModel","useScopeId","computed","inject","mergeProps","nextTick","onBeforeUnmount","onDeactivated","provide","ref","shallowRef","watch","VMenuSymbol","focusableChildren","focusChild","genericComponent","getNextElement","getUid","isClickInsideElement","omit","propsFactory","useRender","makeVMenuProps","id","String","submenu","Boolean","closeDelay","closeOnContentClick","locationStrategy","location","undefined","openDelay","scrim","scrollStrategy","transition","component","VMenu","name","props","emits","value","setup","_ref","slots","isActive","scopeId","isRtl","uid","overlay","parent","openChildren","Set","register","add","unregister","delete","closeParents","e","setTimeout","size","persistent","contentEl","onFocusIn","before","relatedTarget","after","target","globalTop","document","includes","contains","focusable","focus","val","addEventListener","once","removeEventListener","onClickOutside","onKeydown","disabled","key","HTMLTextAreaElement","HTMLInputElement","closest","preventDefault","nextElement","shiftKey","el","tabIndex","activatorEl","onActivatorKeydown","stopImmediatePropagation","activatorProps","overlayProps","filterProps","_createVNode","_mergeProps","class","style","$event","activator","default","_len","arguments","length","args","Array","_key","ΨopenChildren"],"sources":["../../../src/components/VMenu/VMenu.tsx"],"sourcesContent":["// Styles\nimport './VMenu.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport {\n computed,\n inject,\n mergeProps,\n nextTick,\n onBeforeUnmount,\n onDeactivated,\n provide,\n ref,\n shallowRef,\n watch,\n} from 'vue'\nimport { VMenuSymbol } from './shared'\nimport {\n focusableChildren,\n focusChild,\n genericComponent,\n getNextElement,\n getUid,\n isClickInsideElement,\n omit,\n propsFactory,\n useRender,\n} from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVMenuProps = propsFactory({\n // TODO\n // disableKeys: Boolean,\n id: String,\n submenu: Boolean,\n\n ...omit(makeVOverlayProps({\n closeDelay: 250,\n closeOnContentClick: true,\n locationStrategy: 'connected' as const,\n location: undefined,\n openDelay: 300,\n scrim: false,\n scrollStrategy: 'reposition' as const,\n transition: { component: VDialogTransition as Component },\n }), ['absolute']),\n}, 'VMenu')\n\nexport const VMenu = genericComponent<OverlaySlots>()({\n name: 'VMenu',\n\n props: makeVMenuProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n const { isRtl } = useRtl()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-menu-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const parent = inject(VMenuSymbol, null)\n const openChildren = shallowRef(new Set<number>())\n provide(VMenuSymbol, {\n register () {\n openChildren.value.add(uid)\n },\n unregister () {\n openChildren.value.delete(uid)\n },\n closeParents (e) {\n setTimeout(() => {\n if (!openChildren.value.size &&\n !props.persistent &&\n (e == null || (overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl)))\n ) {\n isActive.value = false\n parent?.closeParents()\n }\n }, 40)\n },\n })\n\n onBeforeUnmount(() => parent?.unregister())\n onDeactivated(() => isActive.value = false)\n\n async function onFocusIn (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n await nextTick()\n\n if (\n isActive.value &&\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost menu\n overlay.value?.globalTop &&\n // It isn't the document or the menu body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the menu body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n focusable[0]?.focus()\n }\n }\n\n watch(isActive, val => {\n if (val) {\n parent?.register()\n document.addEventListener('focusin', onFocusIn, { once: true })\n } else {\n parent?.unregister()\n document.removeEventListener('focusin', onFocusIn)\n }\n })\n\n function onClickOutside (e: MouseEvent) {\n parent?.closeParents(e)\n }\n\n function onKeydown (e: KeyboardEvent) {\n if (props.disabled) return\n\n if (e.key === 'Tab' || (e.key === 'Enter' && !props.closeOnContentClick)) {\n if (\n e.key === 'Enter' &&\n ((e.target instanceof HTMLTextAreaElement) ||\n (e.target instanceof HTMLInputElement && !!e.target.closest('form')))\n ) return\n if (e.key === 'Enter') e.preventDefault()\n\n const nextElement = getNextElement(\n focusableChildren(overlay.value?.contentEl as Element, false),\n e.shiftKey ? 'prev' : 'next',\n (el: HTMLElement) => el.tabIndex >= 0\n )\n if (!nextElement) {\n isActive.value = false\n overlay.value?.activatorEl?.focus()\n }\n } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {\n isActive.value = false\n overlay.value?.activatorEl?.focus()\n }\n }\n\n function onActivatorKeydown (e: KeyboardEvent) {\n if (props.disabled) return\n\n const el = overlay.value?.contentEl\n if (el && isActive.value) {\n if (e.key === 'ArrowDown') {\n e.preventDefault()\n e.stopImmediatePropagation()\n focusChild(el, 'next')\n } else if (e.key === 'ArrowUp') {\n e.preventDefault()\n e.stopImmediatePropagation()\n focusChild(el, 'prev')\n } else if (props.submenu) {\n if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {\n isActive.value = false\n } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {\n e.preventDefault()\n focusChild(el, 'first')\n }\n }\n } else if (\n props.submenu\n ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')\n : ['ArrowDown', 'ArrowUp'].includes(e.key)\n ) {\n isActive.value = true\n e.preventDefault()\n setTimeout(() => setTimeout(() => onActivatorKeydown(e)))\n }\n }\n\n const activatorProps = computed(() =>\n mergeProps({\n 'aria-haspopup': 'menu',\n 'aria-expanded': String(isActive.value),\n 'aria-owns': id.value,\n onKeydown: onActivatorKeydown,\n }, props.activatorProps)\n )\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n\n return (\n <VOverlay\n ref={ overlay }\n id={ id.value }\n class={[\n 'v-menu',\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n absolute\n activatorProps={ activatorProps.value }\n location={ props.location ?? (props.submenu ? 'end' : 'bottom') }\n onClick:outside={ onClickOutside }\n onKeydown={ onKeydown }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VMenu\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({ id, ΨopenChildren: openChildren }, overlay)\n },\n})\n\nexport type VMenu = InstanceType<typeof VMenu>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,MAAM;AAAA,SACNC,eAAe;AAAA,SACfC,UAAU,yCAEnB;AACA,SACEC,QAAQ,EACRC,MAAM,EACNC,UAAU,EACVC,QAAQ,EACRC,eAAe,EACfC,aAAa,EACbC,OAAO,EACPC,GAAG,EACHC,UAAU,EACVC,KAAK,QACA,KAAK;AAAA,SACHC,WAAW;AAAA,SAElBC,iBAAiB,EACjBC,UAAU,EACVC,gBAAgB,EAChBC,cAAc,EACdC,MAAM,EACNC,oBAAoB,EACpBC,IAAI,EACJC,YAAY,EACZC,SAAS,gCAGX;AAIA,OAAO,MAAMC,cAAc,GAAGF,YAAY,CAAC;EACzC;EACA;EACAG,EAAE,EAAEC,MAAM;EACVC,OAAO,EAAEC,OAAO;EAEhB,GAAGP,IAAI,CAACtB,iBAAiB,CAAC;IACxB8B,UAAU,EAAE,GAAG;IACfC,mBAAmB,EAAE,IAAI;IACzBC,gBAAgB,EAAE,WAAoB;IACtCC,QAAQ,EAAEC,SAAS;IACnBC,SAAS,EAAE,GAAG;IACdC,KAAK,EAAE,KAAK;IACZC,cAAc,EAAE,YAAqB;IACrCC,UAAU,EAAE;MAAEC,SAAS,EAAE1C;IAA+B;EAC1D,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC;AAClB,CAAC,EAAE,OAAO,CAAC;AAEX,OAAO,MAAM2C,KAAK,GAAGtB,gBAAgB,CAAe,CAAC,C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AAA,EAAAK,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;UAAA;UAAA,OAAAZ,YAAA,CAAArG,iBAAA;YAAA;UAAA;YAAA2G,OAAA,EAAAA,CAAA,MAEX1D,KAAK,CAAC0D,OAAO,GAAG,GAAGI,IAAI,CAAC;UAAA;QAAA;MAE7B;IAIT,CAAC,CAAC;IAEF,OAAO5G,WAAW,CAAC;MAAEyB,EAAE;MAAEsF,aAAa,EAAE1D;IAAa,CAAC,EAAEF,OAAO,CAAC;EAClE;AACF,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"file":"VMenu.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useRtl","useProxiedModel","useScopeId","computed","inject","mergeProps","nextTick","onBeforeUnmount","onDeactivated","provide","ref","shallowRef","watch","VMenuSymbol","focusableChildren","focusChild","genericComponent","getNextElement","getUid","IN_BROWSER","isClickInsideElement","omit","propsFactory","useRender","makeVMenuProps","id","String","submenu","Boolean","closeDelay","closeOnContentClick","locationStrategy","location","undefined","openDelay","scrim","scrollStrategy","transition","component","VMenu","name","props","emits","value","setup","_ref","slots","isActive","scopeId","isRtl","uid","overlay","parent","openChildren","Set","register","add","unregister","delete","closeParents","e","setTimeout","size","persistent","contentEl","document","removeEventListener","onFocusIn","before","relatedTarget","after","target","globalTop","includes","contains","focusable","focus","val","addEventListener","once","immediate","onClickOutside","onKeydown","disabled","key","HTMLTextAreaElement","HTMLInputElement","closest","preventDefault","nextElement","shiftKey","el","tabIndex","activatorEl","onActivatorKeydown","stopImmediatePropagation","activatorProps","overlayProps","filterProps","_createVNode","_mergeProps","class","style","$event","activator","default","_len","arguments","length","args","Array","_key","ΨopenChildren"],"sources":["../../../src/components/VMenu/VMenu.tsx"],"sourcesContent":["// Styles\nimport './VMenu.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport {\n computed,\n inject,\n mergeProps,\n nextTick,\n onBeforeUnmount,\n onDeactivated,\n provide,\n ref,\n shallowRef,\n watch,\n} from 'vue'\nimport { VMenuSymbol } from './shared'\nimport {\n focusableChildren,\n focusChild,\n genericComponent,\n getNextElement,\n getUid,\n IN_BROWSER,\n isClickInsideElement,\n omit,\n propsFactory,\n useRender,\n} from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVMenuProps = propsFactory({\n // TODO\n // disableKeys: Boolean,\n id: String,\n submenu: Boolean,\n\n ...omit(makeVOverlayProps({\n closeDelay: 250,\n closeOnContentClick: true,\n locationStrategy: 'connected' as const,\n location: undefined,\n openDelay: 300,\n scrim: false,\n scrollStrategy: 'reposition' as const,\n transition: { component: VDialogTransition as Component },\n }), ['absolute']),\n}, 'VMenu')\n\nexport const VMenu = genericComponent<OverlaySlots>()({\n name: 'VMenu',\n\n props: makeVMenuProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n },\n\n setup (props, { slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n const { isRtl } = useRtl()\n\n const uid = getUid()\n const id = computed(() => props.id || `v-menu-${uid}`)\n\n const overlay = ref<VOverlay>()\n\n const parent = inject(VMenuSymbol, null)\n const openChildren = shallowRef(new Set<number>())\n provide(VMenuSymbol, {\n register () {\n openChildren.value.add(uid)\n },\n unregister () {\n openChildren.value.delete(uid)\n },\n closeParents (e) {\n setTimeout(() => {\n if (!openChildren.value.size &&\n !props.persistent &&\n (e == null || (overlay.value?.contentEl && !isClickInsideElement(e, overlay.value.contentEl)))\n ) {\n isActive.value = false\n parent?.closeParents()\n }\n }, 40)\n },\n })\n\n onBeforeUnmount(() => {\n parent?.unregister()\n document.removeEventListener('focusin', onFocusIn)\n })\n onDeactivated(() => isActive.value = false)\n\n async function onFocusIn (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n await nextTick()\n\n if (\n isActive.value &&\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost menu\n overlay.value?.globalTop &&\n // It isn't the document or the menu body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the menu body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n focusable[0]?.focus()\n }\n }\n\n watch(isActive, val => {\n if (val) {\n parent?.register()\n if (IN_BROWSER) {\n document.addEventListener('focusin', onFocusIn, { once: true })\n }\n } else {\n parent?.unregister()\n if (IN_BROWSER) {\n document.removeEventListener('focusin', onFocusIn)\n }\n }\n }, { immediate: true })\n\n function onClickOutside (e: MouseEvent) {\n parent?.closeParents(e)\n }\n\n function onKeydown (e: KeyboardEvent) {\n if (props.disabled) return\n\n if (e.key === 'Tab' || (e.key === 'Enter' && !props.closeOnContentClick)) {\n if (\n e.key === 'Enter' &&\n ((e.target instanceof HTMLTextAreaElement) ||\n (e.target instanceof HTMLInputElement && !!e.target.closest('form')))\n ) return\n if (e.key === 'Enter') e.preventDefault()\n\n const nextElement = getNextElement(\n focusableChildren(overlay.value?.contentEl as Element, false),\n e.shiftKey ? 'prev' : 'next',\n (el: HTMLElement) => el.tabIndex >= 0\n )\n if (!nextElement) {\n isActive.value = false\n overlay.value?.activatorEl?.focus()\n }\n } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {\n isActive.value = false\n overlay.value?.activatorEl?.focus()\n }\n }\n\n function onActivatorKeydown (e: KeyboardEvent) {\n if (props.disabled) return\n\n const el = overlay.value?.contentEl\n if (el && isActive.value) {\n if (e.key === 'ArrowDown') {\n e.preventDefault()\n e.stopImmediatePropagation()\n focusChild(el, 'next')\n } else if (e.key === 'ArrowUp') {\n e.preventDefault()\n e.stopImmediatePropagation()\n focusChild(el, 'prev')\n } else if (props.submenu) {\n if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {\n isActive.value = false\n } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {\n e.preventDefault()\n focusChild(el, 'first')\n }\n }\n } else if (\n props.submenu\n ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')\n : ['ArrowDown', 'ArrowUp'].includes(e.key)\n ) {\n isActive.value = true\n e.preventDefault()\n setTimeout(() => setTimeout(() => onActivatorKeydown(e)))\n }\n }\n\n const activatorProps = computed(() =>\n mergeProps({\n 'aria-haspopup': 'menu',\n 'aria-expanded': String(isActive.value),\n 'aria-owns': id.value,\n onKeydown: onActivatorKeydown,\n }, props.activatorProps)\n )\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n\n return (\n <VOverlay\n ref={ overlay }\n id={ id.value }\n class={[\n 'v-menu',\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n absolute\n activatorProps={ activatorProps.value }\n location={ props.location ?? (props.submenu ? 'end' : 'bottom') }\n onClick:outside={ onClickOutside }\n onKeydown={ onKeydown }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VMenu\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({ id, ΨopenChildren: openChildren }, overlay)\n },\n})\n\nexport type VMenu = InstanceType<typeof VMenu>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,MAAM;AAAA,SACNC,eAAe;AAAA,SACfC,UAA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AAC,CAAC;IAEF,OAAO9G,WAAW,CAAC;MAAE0B,EAAE;MAAEuF,aAAa,EAAE3D;IAAa,CAAC,EAAEF,OAAO,CAAC;EAClE;AACF,CAAC,CAAC","ignoreList":[]}
|
package/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.3-master.2024-11-
|
19
|
+
export const version = "3.7.3-master.2024-11-04";
|
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,43 +486,42 @@ declare module 'vue' {
|
|
486
486
|
$children?: VNodeChild
|
487
487
|
}
|
488
488
|
export interface GlobalComponents {
|
489
|
-
|
489
|
+
VAlert: typeof import('vuetify/components')['VAlert']
|
490
|
+
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
490
491
|
VAppBar: typeof import('vuetify/components')['VAppBar']
|
491
492
|
VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
|
492
493
|
VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
|
493
494
|
VAvatar: typeof import('vuetify/components')['VAvatar']
|
495
|
+
VApp: typeof import('vuetify/components')['VApp']
|
494
496
|
VBadge: typeof import('vuetify/components')['VBadge']
|
495
|
-
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
496
|
-
VBtn: typeof import('vuetify/components')['VBtn']
|
497
|
-
VAlert: typeof import('vuetify/components')['VAlert']
|
498
|
-
VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
|
499
497
|
VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
|
498
|
+
VBtn: typeof import('vuetify/components')['VBtn']
|
499
|
+
VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
|
500
|
+
VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
|
500
501
|
VBanner: typeof import('vuetify/components')['VBanner']
|
501
502
|
VBannerActions: typeof import('vuetify/components')['VBannerActions']
|
502
503
|
VBannerText: typeof import('vuetify/components')['VBannerText']
|
504
|
+
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
503
505
|
VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
|
504
506
|
VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
|
505
507
|
VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
|
506
|
-
VApp: typeof import('vuetify/components')['VApp']
|
507
|
-
VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
|
508
|
-
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
509
|
-
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
510
|
-
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
511
|
-
VCarousel: typeof import('vuetify/components')['VCarousel']
|
512
|
-
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
513
508
|
VCard: typeof import('vuetify/components')['VCard']
|
514
509
|
VCardActions: typeof import('vuetify/components')['VCardActions']
|
515
510
|
VCardItem: typeof import('vuetify/components')['VCardItem']
|
516
511
|
VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
|
517
512
|
VCardText: typeof import('vuetify/components')['VCardText']
|
518
513
|
VCardTitle: typeof import('vuetify/components')['VCardTitle']
|
519
|
-
|
520
|
-
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
514
|
+
VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
|
521
515
|
VChip: typeof import('vuetify/components')['VChip']
|
522
|
-
VCounter: typeof import('vuetify/components')['VCounter']
|
523
516
|
VCode: typeof import('vuetify/components')['VCode']
|
517
|
+
VCarousel: typeof import('vuetify/components')['VCarousel']
|
518
|
+
VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
|
519
|
+
VCheckbox: typeof import('vuetify/components')['VCheckbox']
|
520
|
+
VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
|
524
521
|
VCombobox: typeof import('vuetify/components')['VCombobox']
|
525
|
-
|
522
|
+
VChipGroup: typeof import('vuetify/components')['VChipGroup']
|
523
|
+
VCounter: typeof import('vuetify/components')['VCounter']
|
524
|
+
VColorPicker: typeof import('vuetify/components')['VColorPicker']
|
526
525
|
VDataTable: typeof import('vuetify/components')['VDataTable']
|
527
526
|
VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
|
528
527
|
VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
|
@@ -530,36 +529,34 @@ declare module 'vue' {
|
|
530
529
|
VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
|
531
530
|
VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
|
532
531
|
VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
|
533
|
-
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
534
|
-
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
535
|
-
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
536
|
-
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
537
|
-
VDivider: typeof import('vuetify/components')['VDivider']
|
538
532
|
VDatePicker: typeof import('vuetify/components')['VDatePicker']
|
539
533
|
VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
|
540
534
|
VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
|
541
535
|
VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
|
542
536
|
VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
|
543
537
|
VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
|
538
|
+
VDialog: typeof import('vuetify/components')['VDialog']
|
539
|
+
VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
|
540
|
+
VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
|
541
|
+
VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
|
542
|
+
VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
|
543
|
+
VDivider: typeof import('vuetify/components')['VDivider']
|
544
544
|
VEmptyState: typeof import('vuetify/components')['VEmptyState']
|
545
|
-
VFab: typeof import('vuetify/components')['VFab']
|
546
|
-
VFooter: typeof import('vuetify/components')['VFooter']
|
547
545
|
VFileInput: typeof import('vuetify/components')['VFileInput']
|
548
546
|
VField: typeof import('vuetify/components')['VField']
|
549
547
|
VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
|
550
|
-
|
548
|
+
VFab: typeof import('vuetify/components')['VFab']
|
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']
|
555
|
+
VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
|
556
556
|
VImg: typeof import('vuetify/components')['VImg']
|
557
|
-
VInput: typeof import('vuetify/components')['VInput']
|
558
557
|
VItemGroup: typeof import('vuetify/components')['VItemGroup']
|
559
558
|
VItem: typeof import('vuetify/components')['VItem']
|
560
|
-
|
561
|
-
VLabel: typeof import('vuetify/components')['VLabel']
|
562
|
-
VMain: typeof import('vuetify/components')['VMain']
|
559
|
+
VInput: typeof import('vuetify/components')['VInput']
|
563
560
|
VList: typeof import('vuetify/components')['VList']
|
564
561
|
VListGroup: typeof import('vuetify/components')['VListGroup']
|
565
562
|
VListImg: typeof import('vuetify/components')['VListImg']
|
@@ -569,21 +566,25 @@ declare module 'vue' {
|
|
569
566
|
VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
|
570
567
|
VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
|
571
568
|
VListSubheader: typeof import('vuetify/components')['VListSubheader']
|
569
|
+
VLabel: typeof import('vuetify/components')['VLabel']
|
570
|
+
VMain: typeof import('vuetify/components')['VMain']
|
571
|
+
VKbd: typeof import('vuetify/components')['VKbd']
|
572
572
|
VMenu: typeof import('vuetify/components')['VMenu']
|
573
573
|
VMessages: typeof import('vuetify/components')['VMessages']
|
574
|
-
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
575
|
-
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
576
574
|
VPagination: typeof import('vuetify/components')['VPagination']
|
575
|
+
VOtpInput: typeof import('vuetify/components')['VOtpInput']
|
576
|
+
VOverlay: typeof import('vuetify/components')['VOverlay']
|
577
577
|
VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
|
578
578
|
VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
|
579
|
-
|
579
|
+
VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
|
580
580
|
VRating: typeof import('vuetify/components')['VRating']
|
581
581
|
VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
|
582
582
|
VSelect: typeof import('vuetify/components')['VSelect']
|
583
|
+
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
584
|
+
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
583
585
|
VSheet: typeof import('vuetify/components')['VSheet']
|
584
586
|
VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
|
585
587
|
VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
|
586
|
-
VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
|
587
588
|
VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
|
588
589
|
VSlider: typeof import('vuetify/components')['VSlider']
|
589
590
|
VSnackbar: typeof import('vuetify/components')['VSnackbar']
|
@@ -595,39 +596,38 @@ declare module 'vue' {
|
|
595
596
|
VStepperItem: typeof import('vuetify/components')['VStepperItem']
|
596
597
|
VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
|
597
598
|
VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
|
598
|
-
VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
|
599
|
-
VTooltip: typeof import('vuetify/components')['VTooltip']
|
600
599
|
VTab: typeof import('vuetify/components')['VTab']
|
601
600
|
VTabs: typeof import('vuetify/components')['VTabs']
|
602
601
|
VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
|
603
602
|
VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
|
604
|
-
VTable: typeof import('vuetify/components')['VTable']
|
605
|
-
VTextField: typeof import('vuetify/components')['VTextField']
|
606
603
|
VTextarea: typeof import('vuetify/components')['VTextarea']
|
604
|
+
VTable: typeof import('vuetify/components')['VTable']
|
607
605
|
VTimeline: typeof import('vuetify/components')['VTimeline']
|
608
606
|
VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
|
607
|
+
VWindow: typeof import('vuetify/components')['VWindow']
|
608
|
+
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
609
|
+
VTextField: typeof import('vuetify/components')['VTextField']
|
609
610
|
VToolbar: typeof import('vuetify/components')['VToolbar']
|
610
611
|
VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
|
611
612
|
VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
|
612
|
-
|
613
|
-
VWindowItem: typeof import('vuetify/components')['VWindowItem']
|
613
|
+
VTooltip: typeof import('vuetify/components')['VTooltip']
|
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
|
-
VForm: typeof import('vuetify/components')['VForm']
|
618
|
-
VHover: typeof import('vuetify/components')['VHover']
|
619
617
|
VContainer: typeof import('vuetify/components')['VContainer']
|
620
618
|
VCol: typeof import('vuetify/components')['VCol']
|
621
619
|
VRow: typeof import('vuetify/components')['VRow']
|
622
620
|
VSpacer: typeof import('vuetify/components')['VSpacer']
|
621
|
+
VForm: typeof import('vuetify/components')['VForm']
|
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
628
|
VParallax: typeof import('vuetify/components')['VParallax']
|
629
|
-
VRadio: typeof import('vuetify/components')['VRadio']
|
630
629
|
VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
|
630
|
+
VRadio: typeof import('vuetify/components')['VRadio']
|
631
631
|
VResponsive: typeof import('vuetify/components')['VResponsive']
|
632
632
|
VSparkline: typeof import('vuetify/components')['VSparkline']
|
633
633
|
VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
|
@@ -650,26 +650,26 @@ 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
|
+
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
654
|
+
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
655
|
+
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
656
|
+
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
657
|
+
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
658
|
+
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
659
|
+
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
653
660
|
VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
|
654
661
|
VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
|
655
662
|
VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
|
656
663
|
VPicker: typeof import('vuetify/labs/components')['VPicker']
|
657
664
|
VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
|
658
|
-
VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
|
659
665
|
VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
|
660
666
|
VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
|
661
667
|
VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
|
662
|
-
VCalendar: typeof import('vuetify/labs/components')['VCalendar']
|
663
|
-
VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
|
664
|
-
VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
|
665
|
-
VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
|
666
|
-
VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
|
667
|
-
VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
|
668
668
|
VTreeview: typeof import('vuetify/labs/components')['VTreeview']
|
669
669
|
VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
|
670
670
|
VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
|
671
671
|
VDateInput: typeof import('vuetify/labs/components')['VDateInput']
|
672
|
-
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
673
672
|
VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
|
673
|
+
VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
|
674
674
|
}
|
675
675
|
}
|