@vuetify/nightly 3.7.3-next.2024-11-01 → 3.7.4-dev.2024-11-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 +5634 -5586
- package/dist/json/importMap-labs.json +16 -16
- package/dist/json/importMap.json +152 -152
- package/dist/json/tags.json +14 -1
- package/dist/json/web-types.json +10062 -9974
- package/dist/vuetify-labs.css +25162 -23449
- package/dist/vuetify-labs.d.ts +2 -1
- package/dist/vuetify-labs.esm.js +31 -15
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +31 -15
- package/dist/vuetify-labs.min.css +4 -3
- package/dist/vuetify.css +24102 -22386
- package/dist/vuetify.d.ts +54 -53
- package/dist/vuetify.esm.js +31 -15
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +31 -15
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +4 -3
- package/dist/vuetify.min.js +22 -22
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +215 -207
- package/lib/components/VApp/VApp.css +15 -16
- package/lib/components/VAppBar/VAppBar.css +12 -14
- package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
- package/lib/components/VAvatar/VAvatar.css +106 -108
- package/lib/components/VBadge/VBadge.css +73 -73
- package/lib/components/VBanner/VBanner.css +166 -161
- package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
- package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
- package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
- package/lib/components/VBtn/VBtn.css +408 -385
- package/lib/components/VBtn/VBtn.sass +11 -12
- package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
- package/lib/components/VBtnToggle/VBtnToggle.css +14 -13
- package/lib/components/VBtnToggle/VBtnToggle.sass +3 -0
- package/lib/components/VCard/VCard.css +302 -294
- package/lib/components/VCarousel/VCarousel.css +65 -63
- package/lib/components/VCarousel/VCarousel.sass +1 -1
- package/lib/components/VCheckbox/VCheckbox.css +5 -7
- package/lib/components/VChip/VChip.css +411 -378
- package/lib/components/VChipGroup/VChipGroup.css +18 -19
- package/lib/components/VCode/VCode.css +8 -10
- package/lib/components/VCode/index.mjs +1 -1
- package/lib/components/VCode/index.mjs.map +1 -1
- package/lib/components/VColorPicker/VColorPicker.css +22 -22
- package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
- package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
- package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
- package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
- package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
- package/lib/components/VCombobox/VCombobox.css +85 -86
- package/lib/components/VCounter/VCounter.css +5 -7
- package/lib/components/VDataTable/VDataTable.css +186 -189
- package/lib/components/VDataTable/VDataTable.sass +10 -20
- package/lib/components/VDataTable/VDataTableFooter.css +31 -33
- package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/components/VDataTable/index.d.mts +1 -0
- package/lib/components/VDatePicker/VDatePicker.css +6 -8
- package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
- package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
- package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
- package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
- package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
- package/lib/components/VDialog/VDialog.css +95 -99
- package/lib/components/VDialog/VDialog.mjs +8 -1
- package/lib/components/VDialog/VDialog.mjs.map +1 -1
- package/lib/components/VDialog/VDialog.sass +6 -7
- package/lib/components/VDivider/VDivider.css +52 -52
- package/lib/components/VEmptyState/VEmptyState.css +67 -62
- package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
- package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
- package/lib/components/VFab/VFab.css +69 -74
- package/lib/components/VFab/VFab.sass +4 -5
- package/lib/components/VField/VField.css +579 -539
- package/lib/components/VFileInput/VFileInput.css +29 -31
- package/lib/components/VFooter/VFooter.css +36 -38
- package/lib/components/VGrid/VGrid.css +592 -565
- package/lib/components/VIcon/VIcon.css +52 -51
- package/lib/components/VImg/VImg.css +51 -50
- package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
- package/lib/components/VInput/VInput.css +142 -131
- package/lib/components/VItemGroup/VItemGroup.css +5 -7
- package/lib/components/VKbd/VKbd.css +11 -13
- package/lib/components/VKbd/index.mjs +1 -1
- package/lib/components/VKbd/index.mjs.map +1 -1
- package/lib/components/VLabel/VLabel.css +15 -16
- package/lib/components/VLayout/VLayout.css +8 -10
- package/lib/components/VLayout/VLayoutItem.css +7 -8
- package/lib/components/VList/VList.css +108 -104
- package/lib/components/VList/VList.sass +1 -1
- package/lib/components/VList/VListItem.css +452 -439
- package/lib/components/VList/VListItem.sass +17 -12
- package/lib/components/VList/_variables.scss +0 -11
- package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
- package/lib/components/VMain/VMain.css +30 -32
- package/lib/components/VMenu/VMenu.css +19 -21
- package/lib/components/VMenu/VMenu.mjs +15 -6
- package/lib/components/VMenu/VMenu.mjs.map +1 -1
- package/lib/components/VMessages/VMessages.css +15 -17
- package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
- package/lib/components/VOtpInput/VOtpInput.css +58 -56
- package/lib/components/VOverlay/VOverlay.css +63 -60
- package/lib/components/VOverlay/VOverlay.sass +13 -14
- package/lib/components/VPagination/VPagination.css +8 -10
- package/lib/components/VParallax/VParallax.css +6 -8
- package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
- package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
- package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
- package/lib/components/VRating/VRating.css +53 -52
- package/lib/components/VResponsive/VResponsive.css +26 -25
- package/lib/components/VSelect/VSelect.css +52 -54
- package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
- package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
- package/lib/components/VSheet/VSheet.css +36 -38
- package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
- package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
- package/lib/components/VSlider/VSlider.css +57 -53
- package/lib/components/VSlider/VSliderThumb.css +153 -142
- package/lib/components/VSlider/VSliderTrack.css +174 -155
- package/lib/components/VSnackbar/VSnackbar.css +140 -140
- package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
- package/lib/components/VStepper/VStepper.css +56 -55
- package/lib/components/VStepper/VStepperItem.css +115 -112
- package/lib/components/VSwitch/VSwitch.css +139 -129
- package/lib/components/VSystemBar/VSystemBar.css +43 -45
- package/lib/components/VTable/VTable.css +141 -140
- package/lib/components/VTable/VTable.sass +2 -4
- package/lib/components/VTabs/VTab.css +29 -30
- package/lib/components/VTabs/VTabs.css +65 -59
- package/lib/components/VTextField/VTextField.css +68 -65
- package/lib/components/VTextarea/VTextarea.css +39 -47
- package/lib/components/VTextarea/VTextarea.sass +2 -4
- package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
- package/lib/components/VTimeline/VTimeline.css +418 -379
- package/lib/components/VToolbar/VToolbar.css +143 -136
- package/lib/components/VTooltip/VTooltip.css +21 -25
- package/lib/components/VTooltip/VTooltip.sass +6 -8
- package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
- package/lib/components/VWindow/VWindow.css +70 -73
- package/lib/components/index.d.mts +1 -0
- package/lib/composables/theme.mjs +4 -4
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/composables/virtual.mjs +1 -1
- package/lib/composables/virtual.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +36 -38
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.mts +52 -52
- package/lib/labs/VCalendar/VCalendar.css +225 -219
- package/lib/labs/VCalendar/VCalendarDay.css +32 -33
- package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
- package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
- package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
- package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
- package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
- package/lib/labs/VNumberInput/VNumberInput.css +38 -40
- package/lib/labs/VPicker/VPicker.css +57 -53
- package/lib/labs/VTimePicker/VTimePicker.css +7 -9
- package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
- package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
- package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
- package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
- package/lib/styles/elements/_global.sass +1 -1
- package/lib/styles/generic/_colors.scss +3 -3
- package/lib/styles/generic/_layers.scss +1 -13
- package/lib/styles/generic/_transitions.scss +32 -32
- package/lib/styles/main.css +16139 -14666
- package/lib/styles/settings/_utilities.scss +5 -0
- package/lib/styles/settings/_variables.scss +2 -1
- package/lib/styles/tools/_bootable.sass +3 -0
- package/lib/styles/tools/_border.sass +4 -4
- package/lib/styles/tools/_display.sass +10 -0
- package/lib/styles/tools/_elevation.sass +2 -2
- package/lib/styles/tools/_index.sass +2 -0
- package/lib/styles/tools/_layer.scss +2 -4
- package/lib/styles/tools/_position.sass +2 -2
- package/lib/styles/tools/_radius.sass +10 -0
- package/lib/styles/tools/_rounded.sass +2 -2
- package/lib/styles/tools/_utilities.sass +5 -1
- package/lib/styles/utilities/_elevation.scss +1 -1
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.4-dev.2024-11-06
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -274,8 +274,8 @@ o.colors[t]=gt(a)}}return e})),i=t.computed((()=>r.value[o.value])),s=t.computed
|
|
274
274
|
i.value?.dark&&Ca(e,":root",["color-scheme: dark"]),Ca(e,":root",_a(i.value))
|
275
275
|
for(const[t,a]of Object.entries(r.value))Ca(e,`.v-theme--${t}`,["color-scheme: "+(a.dark?"dark":"normal"),..._a(a)])
|
276
276
|
const t=[],a=[],l=new Set(Object.values(r.value).flatMap((e=>Object.keys(e.colors))))
|
277
|
-
for(const e of l)/^on-[a-z]/.test(e)?Ca(a,`.${e}`,[`color: rgb(var(--v-theme-${e}))`]):(Ca(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${e}))`,`color: rgb(var(--v-theme-on-${e}))`]),Ca(a,`.text-${e}`,[`color: rgb(var(--v-theme-${e}))`]),Ca(a,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`]))
|
278
|
-
return e.push(...t,...a),
|
277
|
+
for(const e of l)/^on-[a-z]/.test(e)?Ca(a,`.${e}`,[`color: rgb(var(--v-theme-${e})) !important`]):(Ca(t,`.bg-${e}`,[`--v-theme-overlay-multiplier: var(--v-theme-${e}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${e})) !important`,`color: rgb(var(--v-theme-on-${e})) !important`]),Ca(a,`.text-${e}`,[`color: rgb(var(--v-theme-${e})) !important`]),Ca(a,`.border-${e}`,[`--v-border-color: var(--v-theme-${e})`]))
|
278
|
+
return e.push(...t,...a),e.map(((e,t)=>0===t?e:` ${e}`)).join("")}))
|
279
279
|
function u(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:l.cspNonce||!1}]}}const c=t.computed((()=>l.isDisabled?void 0:`v-theme--${o.value}`))
|
280
280
|
return{install:function(e){if(l.isDisabled)return
|
281
281
|
const o=e._context.provides.usehead
|
@@ -980,20 +980,20 @@ const l=a.slice()
|
|
980
980
|
for(;l.length;){const e=l.shift(),a=di(e.value,t)
|
981
981
|
if(a)return a
|
982
982
|
const o=e.value&&e.value[ci]
|
983
|
-
o&&l.push(...o)}}}}})}const pi=ht({id:String,submenu:Boolean,...x(si({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Ma}}),["absolute"])},"VMenu"),fi=Pt()({name:"VMenu",props:pi(),emits:{"update:modelValue":e=>!0},setup(e,
|
984
|
-
const
|
985
|
-
async function
|
986
|
-
if(await t.nextTick(),
|
987
|
-
e[0]?.focus()}}function
|
983
|
+
o&&l.push(...o)}}}}})}const pi=ht({id:String,submenu:Boolean,...x(si({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Ma}}),["absolute"])},"VMenu"),fi=Pt()({name:"VMenu",props:pi(),emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:o}=l
|
984
|
+
const n=sa(e,"modelValue"),{scopeId:r}=Jr(),{isRtl:i}=Va(),s=kt(),u=t.computed((()=>e.id||`v-menu-${s}`)),c=t.ref(),d=t.inject(Wr,null),v=t.shallowRef(new Set)
|
985
|
+
async function p(e){const a=e.relatedTarget,l=e.target
|
986
|
+
if(await t.nextTick(),n.value&&a!==l&&c.value?.contentEl&&c.value?.globalTop&&![document,c.value.contentEl].includes(l)&&!c.value.contentEl.contains(l)){const e=X(c.value.contentEl)
|
987
|
+
e[0]?.focus()}}function f(e){d?.closeParents(e)}function m(t){if(!e.disabled)if("Tab"===t.key||"Enter"===t.key&&!e.closeOnContentClick){if("Enter"===t.key&&(t.target instanceof HTMLTextAreaElement||t.target instanceof HTMLInputElement&&t.target.closest("form")))return
|
988
988
|
"Enter"===t.key&&t.preventDefault()
|
989
|
-
Z(X(
|
990
|
-
const a=
|
991
|
-
a&&
|
992
|
-
return a>=n&&a<=i&&l>=r&&l<=s}(t,
|
993
|
-
const
|
989
|
+
Z(X(c.value?.contentEl,!1),t.shiftKey?"prev":"next",(e=>e.tabIndex>=0))||(n.value=!1,c.value?.activatorEl?.focus())}else e.submenu&&t.key===(i.value?"ArrowRight":"ArrowLeft")&&(n.value=!1,c.value?.activatorEl?.focus())}function g(t){if(e.disabled)return
|
990
|
+
const a=c.value?.contentEl
|
991
|
+
a&&n.value?"ArrowDown"===t.key?(t.preventDefault(),t.stopImmediatePropagation(),Q(a,"next")):"ArrowUp"===t.key?(t.preventDefault(),t.stopImmediatePropagation(),Q(a,"prev")):e.submenu&&(t.key===(i.value?"ArrowRight":"ArrowLeft")?n.value=!1:t.key===(i.value?"ArrowLeft":"ArrowRight")&&(t.preventDefault(),Q(a,"first"))):(e.submenu?t.key===(i.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(t.key))&&(n.value=!0,t.preventDefault(),setTimeout((()=>setTimeout((()=>g(t))))))}t.provide(Wr,{register(){v.value.add(s)},unregister(){v.value.delete(s)},closeParents(t){setTimeout((()=>{v.value.size||e.persistent||null!=t&&(!c.value?.contentEl||function(e,t){const a=e.clientX,l=e.clientY,o=t.getBoundingClientRect(),n=o.left,r=o.top,i=o.right,s=o.bottom
|
992
|
+
return a>=n&&a<=i&&l>=r&&l<=s}(t,c.value.contentEl))||(n.value=!1,d?.closeParents())}),40)}}),t.onBeforeUnmount((()=>{d?.unregister(),document.removeEventListener("focusin",p)})),t.onDeactivated((()=>n.value=!1)),t.watch(n,(e=>{e?(d?.register(),a&&document.addEventListener("focusin",p,{once:!0})):(d?.unregister(),a&&document.removeEventListener("focusin",p))}),{immediate:!0})
|
993
|
+
const h=t.computed((()=>t.mergeProps({"aria-haspopup":"menu","aria-expanded":String(n.value),"aria-owns":u.value,onKeydown:g},e.activatorProps)))
|
994
994
|
return Mt((()=>{const a=ui.filterProps(e)
|
995
|
-
return t.createVNode(ui,t.mergeProps({ref:
|
996
|
-
return t.createVNode(ll,{root:"VMenu"},{default:()=>[
|
995
|
+
return t.createVNode(ui,t.mergeProps({ref:c,id:u.value,class:["v-menu",e.class],style:e.style},a,{modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,absolute:!0,activatorProps:h.value,location:e.location??(e.submenu?"end":"bottom"),"onClick:outside":f,onKeydown:m},r),{activator:o.activator,default:function(){for(var e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l]
|
996
|
+
return t.createVNode(ll,{root:"VMenu"},{default:()=>[o.default?.(...a)]})}})})),vi({id:u,ΨopenChildren:v},c)}}),mi=ht({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...yt(),...pl({transition:{component:Qa}})},"VCounter"),gi=Pt()({name:"VCounter",functional:!0,props:mi(),setup(e,a){let{slots:l}=a
|
997
997
|
const o=t.computed((()=>e.max?`${e.value} / ${e.max}`:String(e.value)))
|
998
998
|
return Mt((()=>t.createVNode(fl,{transition:e.transition},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[l.default?l.default({counter:o.value,max:e.max,value:e.value}):o.value]),[[t.vShow,e.active]])]}))),{}}}),hi=ht({floating:Boolean,...yt()},"VFieldLabel"),yi=Pt()({name:"VFieldLabel",props:hi(),setup(e,a){let{slots:l}=a
|
999
999
|
return Mt((()=>t.createVNode(Go,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},l))),{}}}),bi=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Vi=ht({appendInnerIcon:Ot,bgColor:String,clearable:Boolean,clearIcon:{type:Ot,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Ot,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>bi.includes(e)},"onClick:clear":G(),"onClick:appendInner":G(),"onClick:prependInner":G(),...yt(),...ro(),...dl(),...Sa()},"VField"),wi=Pt()({name:"VField",inheritAttrs:!1,props:{id:String,...nn(),...Vi()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
|
@@ -1047,7 +1047,7 @@ const e=C-v,t=Math.sign(_),a=R(N(Math.max(0,e-100)),0,l.value.length),o=R(N(e+m.
|
|
1047
1047
|
if((-1!==t||a<r.value)&&(1!==t||o>i.value)){const e=x(r.value)-x(a),t=x(o)-x(i.value)
|
1048
1048
|
Math.max(e,t)>100?(r.value=a,i.value=o):(a<=0&&(r.value=a),o>=l.value.length&&(i.value=o))}s.value=x(r.value),u.value=x(l.value.length)-x(i.value)}function T(e){const t=x(e)
|
1049
1049
|
!c.value||e&&!t?V=e:c.value.scrollTop=t}const D=t.computed((()=>l.value.slice(r.value,i.value).map(((e,t)=>({raw:e,index:t+r.value})))))
|
1050
|
-
return t.watch(l,(()=>{h=Array.from({length:l.value.length}),y=Array.from({length:l.value.length}),S.immediate(),B()}),{deep
|
1050
|
+
return t.watch(l,(()=>{h=Array.from({length:l.value.length}),y=Array.from({length:l.value.length}),S.immediate(),B()}),{deep:1}),{calculateVisibleItems:B,containerRef:c,markerRef:d,computedItems:D,paddingTop:s,paddingBottom:u,scrollToIndex:T,handleScroll:function(){if(!c.value||!d.value)return
|
1051
1051
|
const e=c.value.scrollTop,t=performance.now()
|
1052
1052
|
t-I>500?(_=Math.sign(e-C),v=d.value.offsetTop):_=e-C,C=e,I=t,B()},handleScrollend:function(){c.value&&d.value&&(_=0,I=0,B())},handleItemResize:function(e,t){const a=h[e],l=n.value
|
1053
1053
|
n.value=l?Math.min(n.value,t):t,a===t&&l===n.value||(h[e]=t,S())}}}const Bi=ht({items:{type:Array,default:()=>[]},renderless:Boolean,...Ii(),...yt(),...ol()},"VVirtualScroll"),Ai=Pt()({name:"VVirtualScroll",props:Bi(),setup(e,a){let{slots:l}=a
|
@@ -1150,8 +1150,8 @@ function u(e){const t=e.relatedTarget,a=e.target
|
|
1150
1150
|
if(t!==a&&s.value?.contentEl&&s.value?.globalTop&&![document,s.value.contentEl].includes(a)&&!s.value.contentEl.contains(a)){const e=X(s.value.contentEl)
|
1151
1151
|
if(!e.length)return
|
1152
1152
|
const a=e[0],l=e[e.length-1]
|
1153
|
-
t===a?l.focus():a.focus()}}function c(){o("afterEnter"),s.value?.contentEl&&!s.value.contentEl.contains(document.activeElement)&&s.value.contentEl.focus({preventScroll:!0})}function d(){o("afterLeave")}return a&&t.watch((()=>r.value&&e.retainFocus),(e=>{e?document.addEventListener("focusin",u):document.removeEventListener("focusin",u)}),{immediate:!0}),t.watch(r,(async e=>{e||(await t.nextTick(),s.value.activatorEl?.focus({preventScroll:!0}))})),Mt((()=>{const a=ui.filterProps(e),l=t.mergeProps({"aria-haspopup":"dialog"},e.activatorProps),o=t.mergeProps({tabindex:-1},e.contentProps)
|
1154
|
-
return t.createVNode(ui,t.mergeProps({ref:s,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},a,{modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,"aria-modal":"true",activatorProps:l,contentProps:o,role:"dialog",onAfterEnter:c,onAfterLeave:d},i),{activator:n.activator,default:function(){for(var e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l]
|
1153
|
+
t===a?l.focus():a.focus()}}function c(){o("afterEnter"),s.value?.contentEl&&!s.value.contentEl.contains(document.activeElement)&&s.value.contentEl.focus({preventScroll:!0})}function d(){o("afterLeave")}return t.onBeforeUnmount((()=>{document.removeEventListener("focusin",u)})),a&&t.watch((()=>r.value&&e.retainFocus),(e=>{e?document.addEventListener("focusin",u):document.removeEventListener("focusin",u)}),{immediate:!0}),t.watch(r,(async e=>{e||(await t.nextTick(),s.value.activatorEl?.focus({preventScroll:!0}))})),Mt((()=>{const a=ui.filterProps(e),l=t.mergeProps({"aria-haspopup":"dialog"},e.activatorProps),o=t.mergeProps({tabindex:-1},e.contentProps)
|
1154
|
+
return t.createVNode(ui,t.mergeProps({ref:s,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},a,{modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,"aria-modal":"true",activatorProps:l,contentProps:o,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:c,onAfterLeave:d},i),{activator:n.activator,default:function(){for(var e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l]
|
1155
1155
|
return t.createVNode(ll,{root:"VDialog"},{default:()=>[n.default?.(...a)]})}})})),vi({},s)}}),Qi=ht({inset:Boolean,...Xi({transition:"bottom-sheet-transition"})},"VBottomSheet"),Ji=Pt()({name:"VBottomSheet",props:Qi(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
1156
1156
|
const o=sa(e,"modelValue")
|
1157
1157
|
return Mt((()=>{const a=Zi.filterProps(e)
|
@@ -1210,7 +1210,7 @@ function u(){i.value&&o&&(i.value=!1,o.transitionCount.value>0&&(o.transitionCou
|
|
1210
1210
|
return!!s.value&&{name:"string"!=typeof t?o.transition.value:t,onBeforeEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:c,onAfterLeave:u,onLeaveCancelled:d,onEnter:v}})),{hasContent:m}=Qr(e,n.isSelected)
|
1211
1211
|
return Mt((()=>t.createVNode(fl,{transition:p.value,disabled:!r.value},{default:()=>[t.withDirectives(t.createVNode("div",{class:["v-window-item",n.selectedClass.value,e.class],style:e.style},[m.value&&l.default?.()]),[[t.vShow,n.isSelected.value]])]}))),{groupItem:n}}}),_s=ht({...hl(),...Ns()},"VCarouselItem"),Is=Pt()({name:"VCarouselItem",inheritAttrs:!1,props:_s(),setup(e,a){let{slots:l,attrs:o}=a
|
1212
1212
|
Mt((()=>{const a=yl.filterProps(e),n=Cs.filterProps(e)
|
1213
|
-
return t.createVNode(Cs,t.mergeProps({class:["v-carousel-item",e.class]},n),{default:()=>[t.createVNode(yl,t.mergeProps(o,a),l)]})}))}}),Ps=Bt("v-code"),Bs=It({name:"VColorPickerCanvas",props:ht({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...yt()},"VColorPickerCanvas")(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,a){let{emit:l}=a
|
1213
|
+
return t.createVNode(Cs,t.mergeProps({class:["v-carousel-item",e.class]},n),{default:()=>[t.createVNode(yl,t.mergeProps(o,a),l)]})}))}}),Ps=Bt("v-code","code"),Bs=It({name:"VColorPickerCanvas",props:ht({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...yt()},"VColorPickerCanvas")(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,a){let{emit:l}=a
|
1214
1214
|
const o=t.shallowRef(!1),n=t.ref(),r=t.shallowRef(parseFloat(e.width)),i=t.shallowRef(parseFloat(e.height)),s=t.ref({x:0,y:0}),u=t.computed({get:()=>s.value,set(t){if(!n.value)return
|
1215
1215
|
const{x:a,y:o}=t
|
1216
1216
|
s.value=t,l("update:color",{h:e.color?.h??0,s:R(a,0,r.value)/r.value,v:1-R(o,0,i.value)/i.value,a:e.color?.a??1})}}),c=t.computed((()=>{const{x:t,y:a}=u.value,l=parseInt(e.dotSize,10)/2
|
@@ -1816,7 +1816,7 @@ return t.createVNode(a,{ref:n,class:["v-infinite-scroll",`v-infinite-scroll--${e
|
|
1816
1816
|
const{themeClasses:o}=xa(e),{isSelected:n,select:r,next:i,prev:s,selected:u}=jl(e,ov)
|
1817
1817
|
return()=>t.createVNode(e.tag,{class:["v-item-group",o.value,e.class],style:e.style},{default:()=>[l.default?.({isSelected:n,select:r,next:i,prev:s,selected:u.value})]})}}),iv=Pt()({name:"VItem",props:Ll(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:a}=t
|
1818
1818
|
const{isSelected:l,select:o,toggle:n,selectedClass:r,value:i,disabled:s}=zl(e,ov)
|
1819
|
-
return()=>a.default?.({isSelected:l.value,selectedClass:r.value,select:o,toggle:n,value:i.value,disabled:s.value})}}),sv=Bt("v-kbd"),uv=ht({...yt(),...ol(),...aa()},"VLayout"),cv=Pt()({name:"VLayout",props:uv(),setup(e,a){let{slots:l}=a
|
1819
|
+
return()=>a.default?.({isSelected:l.value,selectedClass:r.value,select:o,toggle:n,value:i.value,disabled:s.value})}}),sv=Bt("v-kbd","kbd"),uv=ht({...yt(),...ol(),...aa()},"VLayout"),cv=Pt()({name:"VLayout",props:uv(),setup(e,a){let{slots:l}=a
|
1820
1820
|
const{layoutClasses:o,layoutStyles:n,getLayoutItem:r,items:i,layoutRef:s}=ra(e),{dimensionStyles:u}=nl(e)
|
1821
1821
|
return Mt((()=>t.createVNode("div",{ref:s,class:[o.value,e.class],style:[u.value,n.value,e.style]},[l.default?.()]))),{getLayoutItem:r,items:i}}}),dv=ht({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...yt(),...la()},"VLayoutItem"),vv=Pt()({name:"VLayoutItem",props:dv(),setup(e,a){let{slots:l}=a
|
1822
1822
|
const{layoutItemStyles:o}=na({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.toRef(e,"position"),elementSize:t.toRef(e,"size"),layoutSize:t.toRef(e,"size"),active:t.toRef(e,"modelValue"),absolute:t.toRef(e,"absolute")})
|
@@ -2099,8 +2099,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
|
|
2099
2099
|
else{const{mount:a}=e
|
2100
2100
|
e.mount=function(){const l=a(...arguments)
|
2101
2101
|
return t.nextTick((()=>c.update())),e.mount=a,l}}kt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:uf.call(this,xt),display:uf.call(this,yn),theme:uf.call(this,wa),icons:uf.call(this,Lt),locale:uf.call(this,ga),date:uf.call(this,gu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2102
|
-
if(a&&e in a)return a[e]}sf.version="3.7.
|
2103
|
-
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.
|
2102
|
+
if(a&&e in a)return a[e]}sf.version="3.7.4-dev.2024-11-06"
|
2103
|
+
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.4-dev.2024-11-06"
|
2104
2104
|
cf.version=df,e.blueprints=Qt,e.components=Qp,e.createVuetify=cf,e.directives=rf,e.useDate=yu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2105
2105
|
const{props:a,provideSubDefaults:l}=_t(e,t)
|
2106
2106
|
return l(),a},e.useDisplay=Nn,e.useGoTo=Bn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))
|