@vuetify/nightly 3.7.18-master.2025-03-25 → 3.7.19-master.2025-03-26

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.18-master.2025-03-25
2
+ * Vuetify v3.7.19-master.2025-03-26
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1141,8 +1141,7 @@ if(a&&!a.props.disabled)if(e.multiple){const t=x.value.findIndex((t=>(e.valueCom
1141
1141
  if(~t){const e=o?[...x.value,a]:[...x.value]
1142
1142
  e.splice(t,1),x.value=e}else o&&(x.value=[...x.value,a])
1143
1143
  e.clearOnSelect&&(k.value="")}else{const e=!1!==l
1144
- x.value=e?[a]:[],k.value=e&&!R.value?a.title:"",t.nextTick((()=>{f.value=!1,s.value=!0}))}}return t.watch(i,((a,l)=>{a!==l&&(a?(K.value=!0,k.value=e.multiple||R.value?"":String(x.value.at(-1)?.props.title??""),s.value=!0,t.nextTick((()=>K.value=!1))):(e.multiple||null!=k.value||(x.value=[]),f.value=!1,x.value.some((e=>{let{title:t}=e
1145
- return t===k.value}))||(k.value=""),m.value=-1))})),t.watch(k,(e=>{i.value&&!K.value&&(e&&(f.value=!0),s.value=!e)})),t.watch(f,(()=>{if(!e.hideSelected&&f.value&&x.value.length){const e=B.value.findIndex((e=>x.value.some((t=>e.value===t.value))))
1144
+ x.value=e?[a]:[],k.value=e&&!R.value?a.title:"",t.nextTick((()=>{f.value=!1,s.value=!0}))}}return t.watch(i,((a,l)=>{a!==l&&(a?(K.value=!0,k.value=e.multiple||R.value?"":String(x.value.at(-1)?.props.title??""),s.value=!0,t.nextTick((()=>K.value=!1))):(e.multiple||null!=k.value||(x.value=[]),f.value=!1,(e.multiple||R.value)&&(k.value=""),m.value=-1))})),t.watch(k,(e=>{i.value&&!K.value&&(e&&(f.value=!0),s.value=!e)})),t.watch(f,(()=>{if(!e.hideSelected&&f.value&&x.value.length){const e=B.value.findIndex((e=>x.value.some((t=>e.value===t.value))))
1146
1145
  a&&window.requestAnimationFrame((()=>{e>=0&&v.value?.scrollToIndex(e)}))}})),t.watch((()=>e.items),((e,t)=>{f.value||i.value&&!t.length&&e.length&&(f.value=!0)})),$t((()=>{const a=!!(!e.hideNoData||B.value.length||o["prepend-item"]||o["append-item"]||o["no-data"]),l=x.value.length>0,u=ki.filterProps(e)
1147
1146
  return t.createVNode(ki,t.mergeProps({ref:r},u,{modelValue:k.value,"onUpdate:modelValue":[e=>k.value=e,q],focused:i.value,"onUpdate:focused":e=>i.value=e,validationValue:x.externalValue,counterValue:N.value,dirty:l,onChange:H,class:["v-autocomplete","v-autocomplete--"+(e.multiple?"multiple":"single"),{"v-autocomplete--active-menu":f.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!R.value,"v-autocomplete--selecting-index":m.value>-1},e.class],style:e.style,readonly:C.isReadonly.value,placeholder:l?void 0:e.placeholder,"onClick:clear":M,"onMousedown:control":O,onKeydown:j}),{...o,default:()=>t.createVNode(t.Fragment,null,[t.createVNode(pi,t.mergeProps({ref:d,modelValue:f.value,"onUpdate:modelValue":e=>f.value=e,activator:"parent",contentClass:"v-autocomplete__content",disabled:E.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:W,onAfterLeave:U},e.menuProps),{default:()=>[a&&t.createVNode(xr,t.mergeProps({ref:F,selected:T.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:e=>e.preventDefault(),onKeydown:z,onFocusin:Y,onFocusout:G,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},$,e.listProps),{default:()=>[o["prepend-item"]?.(),!B.value.length&&!e.hideNoData&&(o["no-data"]?.()??t.createVNode(cr,{key:"no-data",title:n(e.noDataText)},null)),t.createVNode(Bi,{ref:v,renderless:!0,items:B.value},{default:a=>{let{item:l,index:n,itemRef:r}=a
1148
1147
  const i=t.mergeProps(l.props,{ref:r,key:l.value,active:!(!D.value||0!==n)||void 0,onClick:()=>X(l,null)})
@@ -2124,8 +2123,8 @@ if(d.install(e),e.provide(kt,u),e.provide(hn,c),e.provide(Va,d),e.provide(Ot,v),
2124
2123
  else{const{mount:a}=e
2125
2124
  e.mount=function(){const l=a(...arguments)
2126
2125
  return t.nextTick((()=>c.update())),e.mount=a,l}}St.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:rf.call(this,kt),display:rf.call(this,hn),theme:rf.call(this,Va),icons:rf.call(this,Ot),locale:rf.call(this,ma),date:rf.call(this,fu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function rf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2127
- if(a&&e in a)return a[e]}nf.version="3.7.18-master.2025-03-25"
2128
- const sf=function(){return nf({components:Xp,directives:of,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},uf="3.7.18-master.2025-03-25"
2126
+ if(a&&e in a)return a[e]}nf.version="3.7.19-master.2025-03-26"
2127
+ const sf=function(){return nf({components:Xp,directives:of,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},uf="3.7.19-master.2025-03-26"
2129
2128
  sf.version=uf,e.blueprints=Zt,e.components=Xp,e.createVuetify=sf,e.directives=of,e.useDate=gu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2130
2129
  const{props:a,provideSubDefaults:l}=Ct(e,t)
2131
2130
  return l(),a},e.useDisplay=xn,e.useGoTo=Bn,e.useLayout=la,e.useLocale=ha,e.useRtl=ba,e.useTheme=xa,e.version=uf}))