PageSourceSearch

https://db.brainofmaterials.com/build/assets/VTooltip-CejJWAUf.js

js brainofmaterials.com collected 2026-10-08 23:08:13 UTC 1,756 bytes, 1 lines download raw bytes

1import{E as e,N as t,R as n,gt as r,kt as i,tt as a,v as o,wt as s}from"./vue.runtime.esm-bundler-C9z_6Bg8.js";import{Z as c,at as l,ht as u,q as d,tt as f,vn as p}from"./position-CbdkydQx.js";import{t as m}from"./forwardRefs-B7kchXv8.js";import{n as h,r as g,t as _}from"./VOverlay-BLwKgA61.js";t(),r();var v=u({id:String,interactive:Boolean,text:String,color:String,...p(h({closeOnBack:!1,location:`end`,locationStrategy:`connected`,eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:`auto`,scrim:!1,scrollStrategy:`reposition`,transition:null}),[`absolute`,`retainFocus`,`captureFocus`,`disableInitialFocus`])},`VTooltip`),y=l()({name:`VTooltip`,props:v(),emits:{"update:modelValue":e=>!0},setup(t,{slots:r}){let l=d(t,`modelValue`),{scopeId:u}=g(),{colorClasses:p,colorStyles:h}=c(()=>({background:t.color})),v=a(),y=i(()=>t.id||`v-tooltip-${v}`),b=s(),x=o(()=>t.location.split(` `).length>1?t.location:t.location+` center`),S=o(()=>t.origin===`auto`||t.origin===`overlap`||t.origin.split(` `).length>1||t.location.split(` `).length>1?t.origin:t.origin+` center`),C=i(()=>t.transition==null?l.value?`scale-transition`:`fade-transition`:t.transition),w=o(()=>n({"aria-describedby":y.value},t.activatorProps));return f(()=>{let i=_.filterProps(t);return e(_,n({ref:b,class:[`v-tooltip`,{"v-tooltip--interactive":t.interactive},t.class],style:[t.style],id:y.value},i,{contentClass:[p.value,t.contentClass],contentProps:n({style:[h.value]},t.contentProps),modelValue:l.value,"onUpdate:modelValue":e=>l.value=e,transition:C.value,absolute:!0,location:x.value,origin:S.value,role:`tooltip`,activatorProps:w.value,_disableGlobalStack:!0},u),{activator:r.activator,default:(...e)=>r.default?.(...e)??t.text})}),m({},b)}});export{v as n,y as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.