@vuetify/nightly 3.8.6-master.2025-05-21 → 3.8.6-master.2025-05-22

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.8.6-master.2025-05-21
2
+ * Vuetify v3.8.6-master.2025-05-22
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -855,8 +855,10 @@ const t=function(e,t){const a=he(e)
855
855
  t?a.x+=parseFloat(e.style.right||0):a.x-=parseFloat(e.style.left||0)
856
856
  return a.y-=parseFloat(e.style.top||0),a}(e.contentEl.value,e.isRtl.value),a=At(e.contentEl.value)
857
857
  a.length||(a.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(t.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),t.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)))
858
- const d=a.reduce(((e,t)=>{const a=t.getBoundingClientRect(),l=new fe({x:t===document.documentElement?0:a.x,y:t===document.documentElement?0:a.y,width:t.clientWidth,height:t.clientHeight})
859
- return e?new fe({x:Math.max(e.left,l.left),y:Math.max(e.top,l.top),width:Math.min(e.right,l.right)-Math.max(e.left,l.left),height:Math.min(e.bottom,l.bottom)-Math.max(e.top,l.top)}):l}),void 0)
858
+ const d=a.reduce(((e,t)=>{const a=function(e){if(e===document.documentElement)return visualViewport?new fe({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new fe({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})
859
+ {const t=e.getBoundingClientRect()
860
+ return new fe({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}(t)
861
+ return e?new fe({x:Math.max(e.left,a.left),y:Math.max(e.top,a.top),width:Math.min(e.right,a.right)-Math.max(e.left,a.left),height:Math.min(e.bottom,a.bottom)-Math.max(e.top,a.top)}):a}),void 0)
860
862
  d.x+=12,d.y+=12,d.width-=24,d.height-=24
861
863
  let p={anchor:o.value,origin:n.value}
862
864
  function f(e){const a=new fe(t),l=Er(e.anchor,h),o=Er(e.origin,a)
@@ -984,7 +986,7 @@ const a=k?.value?.getRootNode()||i.proxy?.$el?.getRootNode()
984
986
  return a instanceof ShadowRoot&&a})),{dimensionStyles:A}=rl(e),T=Jr(),{scopeId:D}=ai()
985
987
  t.watch((()=>e.disabled),(e=>{e&&(v.value=!1)}))
986
988
  const{contentStyles:E,updateLocation:F}=function(e,l){const o=t.ref({}),n=t.ref()
987
- function r(e){n.value?.(e)}return a&&oa((()=>!(!l.isActive.value||!e.locationStrategy)),(a=>{t.watch((()=>e.locationStrategy),a),t.onScopeDispose((()=>{window.removeEventListener("resize",r),n.value=void 0})),window.addEventListener("resize",r,{passive:!0}),"function"==typeof e.locationStrategy?n.value=e.locationStrategy(l,e,o)?.updateLocation:n.value=Fr[e.locationStrategy](l,e,o)?.updateLocation})),{contentStyles:o,updateLocation:n}}(e,{isRtl:g,contentEl:c,target:N,isActive:v})
989
+ function r(e){n.value?.(e)}function i(e){n.value?.(e)}function s(e){n.value?.(e)}return a&&oa((()=>!(!l.isActive.value||!e.locationStrategy)),(a=>{t.watch((()=>e.locationStrategy),a),t.onScopeDispose((()=>{window.removeEventListener("resize",r),visualViewport?.removeEventListener("resize",i),visualViewport?.removeEventListener("scroll",s),n.value=void 0})),window.addEventListener("resize",r,{passive:!0}),visualViewport?.addEventListener("resize",i,{passive:!0}),visualViewport?.addEventListener("scroll",s,{passive:!0}),"function"==typeof e.locationStrategy?n.value=e.locationStrategy(l,e,o)?.updateLocation:n.value=Fr[e.locationStrategy](l,e,o)?.updateLocation})),{contentStyles:o,updateLocation:n}}(e,{isRtl:g,contentEl:c,target:N,isActive:v})
988
990
  function $(t){r("click:outside",t),e.persistent?H():v.value=!1}function M(t){return v.value&&V.value&&(!e.scrim||t.target===u.value||t instanceof MouseEvent&&t.shadowTarget===u.value)}function O(t){"Escape"===t.key&&V.value&&(c.value?.contains(document.activeElement)||r("keydown",t),e.persistent?H():(v.value=!1,c.value?.contains(document.activeElement)&&k.value?.focus()))}function L(e){("Escape"!==e.key||V.value)&&r("keydown",e)}!function(e,l){if(!a)return
989
991
  let o
990
992
  t.watchEffect((async()=>{o?.stop(),l.isActive.value&&e.scrollStrategy&&(o=t.effectScope(),await new Promise((e=>setTimeout(e))),o.active&&o.run((()=>{"function"==typeof e.scrollStrategy?e.scrollStrategy(l,e,o):Wr[e.scrollStrategy]?.(l,e,o)})))})),t.onScopeDispose((()=>{o?.stop()}))}(e,{root:s,contentEl:c,targetEl:C,isActive:v,updateLocation:F}),a&&t.watch(v,(e=>{e?window.addEventListener("keydown",O):window.removeEventListener("keydown",O)}),{immediate:!0}),t.onBeforeUnmount((()=>{a&&window.removeEventListener("keydown",O)}))
@@ -2214,8 +2216,8 @@ if(f.run((()=>{o.install(u)})),u.onUnmount((()=>f.stop())),u.provide(wt,e),u.pro
2214
2216
  else{const{mount:e}=u
2215
2217
  u.mount=function(){const a=e(...arguments)
2216
2218
  return t.nextTick((()=>l.update())),u.mount=e,a}}("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&u.mixin({computed:{$vuetify(){return t.reactive({defaults:Vf.call(this,wt),display:Vf.call(this,Vn),theme:Vf.call(this,ya),icons:Vf.call(this,$t),locale:Vf.call(this,pa),date:Vf.call(this,xu)})}}})},unmount:function(){u.stop()},defaults:e,display:l,theme:o,icons:c,locale:d,date:v,goTo:p}}))}function Vf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2217
- if(a&&e in a)return a[e]}bf.version="3.8.6-master.2025-05-21"
2218
- const wf=function(){return bf({components:cf,directives:yf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Sf="3.8.6-master.2025-05-21"
2219
+ if(a&&e in a)return a[e]}bf.version="3.8.6-master.2025-05-22"
2220
+ const wf=function(){return bf({components:cf,directives:yf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Sf="3.8.6-master.2025-05-22"
2219
2221
  wf.version=Sf,e.blueprints=Kt,e.components=cf,e.createVuetify=wf,e.directives=yf,e.useDate=Cu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2220
2222
  const{props:a,provideSubDefaults:l}=xt(e,t)
2221
2223
  return l(),a},e.useDisplay=In,e.useGoTo=An,e.useLayout=ta,e.useLocale=ma,e.useRtl=ha,e.useTheme=Ia,e.version=Sf}))