/
home
/
henzagold
/
test_apps
/
export
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/test_apps/export/assets/NotifyVant.e2a6c25e.js
import{d,r as c,M as m,c as f,e as l,h as p,v as _,u as y,g as h,o as v,b as s,I as w,H as V,x,t as N,a6 as g}from"./index.781a4480.js";const k={key:0,class:"flex"},B={class:"w-full text-white my-2"},C={class:"w-full flex content-end"},S=d({__name:"NotifyVant",props:{modelValue:{type:Boolean},timeOut:{},text:{},color:{}},emits:["update:modelValue"],setup(n,{emit:i}){const t=n,o=c(!0);m(()=>t.modelValue,e=>{t.timeOut!==-1&&u()});const u=()=>{console.log("notify",o.value),setTimeout(()=>{i("update:modelValue",!1)},t.timeOut)};return(e,a)=>e.modelValue?(v(),f("div",k,[l(y(g),{show:o.value,"onUpdate:show":a[0]||(a[0]=r=>o.value=r),style:_(e.color)},{default:p(()=>[s("div",B,[s("div",C,[l(w,{icon:"vuesax-linear:info-circle",class:"ml-[20px] text-white",size:"25","stroke-width":"2"}),s("div",null,[V(e.$slots,"default",{},()=>[x(N(e.text),1)])])])])]),_:3},8,["show","style"])])):h("",!0)}});export{S as _};
Copyright ©2k19 -
Hexid
|
Tex7ure