PageSourceSearch

https://akaza-ui.com/_nuxt/DAmMt--m.js

js akaza-ui.com collected 2026-10-07 23:03:30 UTC 1,807 bytes, 1 lines download raw bytes

1import{V as c,W as p}from"./btP9IO3P.js";import{d as b,o as n,e as o,ab as r,F as s,r as m,ac as l,z as g,q as x,c as k}from"./BQVbc408.js";const _={class:"flex flex-wrap items-center gap-2"},f=["onClick"],h={class:"rounded-md bg-neutral-100 px-2.5 py-1.5 text-xs font-medium text-neutral-600 dark:bg-neutral-900 dark:text-neutral-400"},y=b({__name:"Demo",setup(v){const a=c(),d=k(()=>a.toasts.value.filter(e=>e.state==="open").length),u=[{label:"Standard",type:"status"},{label:"Success",type:"success"},{label:"Info",type:"info"},{label:"Warning",type:"warning"},{label:"Alert",type:"alert"},{label:"Error",type:"error"}];function i(e){a.add({title:`${e.slice(0,1).toUpperCase()}${e.slice(1)} notification`,description:`This toast exposes type="${e}" to custom content.`,type:e,duration:e==="error"||e==="alert"?0:5e3})}return(e,w)=>(n(),o(s,null,[r("div",_,[(n(),o(s,null,m(u,t=>r("button",{key:t.type,type:"button",class:"rounded-md border border-neutral-300 bg-white px-3 py-2 text-sm font-medium text-neutral-900 hover:bg-neutral-100 dark:border-neutral-700 dark:bg-neutral-950 dark:text-neutral-100 dark:hover:bg-neutral-900",onClick:C=>i(t.type)},l(t.label),9,f)),64)),r("span",h," Open: "+l(d.value),1)]),g(x(p),{ui:{viewport:"w-[min(100vw,24rem)] p-4",toast:"relative grid gap-1 rounded-lg border border-neutral-300 bg-white p-4 pr-10 shadow-lg data-[akaza-type=error]:border-red-500 data-[akaza-type=warning]:border-amber-500 dark:border-neutral-800 dark:bg-neutral-900",title:"text-sm font-semibold text-neutral-900 dark:text-neutral-100",description:"text-sm text-neutral-600 dar
1k:text-neutral-400",close:"absolute right-2 top-2 size-6 rounded-md text-neutral-500 hover:bg-neutral-100 dark:hover:bg-neutral-800"}})],64))}}),D=Object.assign(y,{__name:"ExamplesToastDemo"});export{D as default};

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.