PageSourceSearch

https://wireshape.com/assets/Modal.7e7766cb.js

js wireshape.com collected 2026-10-10 02:25:07 UTC 2,087 bytes, 1 lines download raw bytes

1import{b as y,e as b,N as h,a0 as g,a1 as w,o as k,g as B,j as s,m as i,l as r,k as u,w as m,r as a,q as v,C,n as d,a2 as S,t as $,v as z,y as E,z as I}from"./index.caa2956b.js";const L=e=>(E("data-v-56beb36e"),e=e(),I(),e),N={class:"modal-content"},x={class:"modal-card"},K={class:"modal-card-head"},T=L(()=>s("i",{"aria-hidden":"true",class:"iconify","data-icon":"feather:x"},null,-1)),V=[T],M={class:"inner-content"},j=v(" Close "),q=b({props:{title:null,size:{default:void 0},actions:{default:void 0},open:{type:Boolean},rounded:{type:Boolean},noscroll:{type:Boolean},noclose:{type:Boolean},tabs:{type:Boolean},cancelLabel:{default:void 0}},emits:["close"],setup(e,{emit:t}){const n=e,c=h(!1);return g(()=>{n.noscroll&&n.open?(document.documentElement.classList.add("no-scroll"),c.value=!0):c.value&&n.noscroll&&!n.open&&(document.documentElement.classList.remove("no-scroll"),c.value=!1)}),w(()=>{document.documentElement.classList.remove("no-scroll")}),(l,o)=>{const p=$,f=z;return k(),B(S,{to:"body"},[s("div",{class:d([[e.open&&"is-active",e.size&&`is-${e.size}`],"modal v-modal"])},[s("div",{class:"modal-background v-modal-close",onClick:o[0]||(o[0]=()=>e.noclose===!1&&t("close")),onKeydown:o[1]||(o[1]=i(r(()=>e.noclose===!1&&t("close"),["prevent"]),["space"]))},null,32),s("div",N,[s("div",x,[s("header",K,[u(p,{tag:"h3",size:6,weight:"semi",narrow:""},{default:m(()=>[a(l.$slots,"title",{},()=>[v(C(e.title),1)],!0)]),_:3}),s("button",{class:"v-modal-close ml-auto","aria-label":"close",onClick:o[2]||(o[2]=_=>t("close"))},V)]),s("div",{class:d(["modal-card-body",[n.tabs&&"has-tabs"]])},[s("div",M,[a(l.$slots,"content",{},void 0,!0)])],2),s("div",{class:d(["modal-card-foot",[e.actions==="center"&&"is-centered",e.actions==="right"&&"is-end"]])},[a(l.$slots,"cancel",{},()=>[u(f,{raised:"",long:2,rounded:e.rounded,onClick:o[3]||(o[3]=_=>t("close")),onKeydown:o[4]||(o[4]=i(r(()=>t("close"),["prevent"]),["space"]))},{default:m(()=>[j]),_:1},8,["rounded"])],!0),a(l.$slots,"action",{},void 0,!0)],2)])])],2)])}}}),U=y(q,[["__scopeId","data-v-56beb36e"]]);export{U as _};

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.