@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
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.3-master.2024-11-
|
2
|
+
* Vuetify v3.7.3-master.2024-11-04
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -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
|
@@ -1150,7 +1150,7 @@ 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)
|
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
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]
|
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")
|
@@ -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.3-master.2024-11-
|
2103
|
-
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.3-master.2024-11-
|
2102
|
+
if(a&&e in a)return a[e]}sf.version="3.7.3-master.2024-11-04"
|
2103
|
+
const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.3-master.2024-11-04"
|
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}))
|