cwg-wait-popup.yiIDQJpX.js 2.7 KB

1
  1. import{_ as e}from"./liveChat.DpTj_oVP.js";import{_ as s,u as t,c as a,f as i,g as o,i as l,j as p,k as c,l as n,n as u,t as r,m as d,x as f,z as v}from"./index-DhPBDLGv.js";import{_}from"./cwg-page-wrapper.D40OLzj1.js";const m=s({__name:"cwg-error-popup",props:{visible:{type:Boolean,default:!1},responseMessage:{type:String,default:""}},emits:["update:visible","confirm"],setup(s,{emit:m}){const b=s,g=m,{t:w}=t(),y=a({get:()=>b.visible,set:e=>g("update:visible",e)}),k=()=>{y.value=!1,g("confirm")};return(t,a)=>{const m=i(o("cwg-icon"),e),b=f,g=v,C=i(o("cwg-popup"),_);return l(),p(C,{visible:y.value,"onUpdate:visible":a[0]||(a[0]=e=>y.value=e),type:"center","mask-click":!1,"show-footers":!0},{footer:c((()=>[n(g,{onClick:k},{default:c((()=>[u(r(d(w)("Btn.Cancel")),1)])),_:1}),n(g,{type:"primary",onClick:k},{default:c((()=>[u(r(d(w)("Btn.Confirm")),1)])),_:1})])),default:c((()=>[n(b,{class:"popup-content"},{default:c((()=>[n(b,{class:"icon"},{default:c((()=>[n(m,{name:"gy",size:80,color:"#eb3f57"})])),_:1}),n(b,{class:"des1"},{default:c((()=>[u(r(s.responseMessage),1)])),_:1})])),_:1})])),_:1},8,["visible"])}}},[["__scopeId","data-v-8927ee6b"]]),b=s({__name:"cwg-success-popup",props:{visible:{type:Boolean,default:!1}},emits:["update:visible","confirm"],setup(s,{emit:m}){const b=s,g=m,{t:w}=t(),y=a({get:()=>b.visible,set:e=>g("update:visible",e)}),k=()=>{y.value=!1,g("confirm")};return(s,t)=>{const a=i(o("cwg-icon"),e),m=f,b=v,g=i(o("cwg-popup"),_);return l(),p(g,{visible:y.value,"onUpdate:visible":t[0]||(t[0]=e=>y.value=e),type:"center","mask-click":!1,"show-footers":!0},{footer:c((()=>[n(b,{onClick:k},{default:c((()=>[u(r(d(w)("Btn.Cancel")),1)])),_:1}),n(b,{type:"primary",onClick:k},{default:c((()=>[u(r(d(w)("Btn.Confirm")),1)])),_:1})])),default:c((()=>[n(m,{class:"popup-content"},{default:c((()=>[n(m,{class:"icon"},{default:c((()=>[n(a,{name:"verified",size:80,color:"#009933"})])),_:1}),n(m,{class:"des1"},{default:c((()=>[u(r(d(w)("ApplicationDialog.Des1")),1)])),_:1})])),_:1})])),_:1},8,["visible"])}}},[["__scopeId","data-v-6f9401f2"]]),g=s({__name:"cwg-wait-popup",props:{visible:{type:Boolean,default:!1}},emits:["update:visible"],setup(s,{emit:v}){const m=s,b=v,{t:g}=t(),w=a({get:()=>m.visible,set:e=>b("update:visible",e)});return(s,t)=>{const a=i(o("cwg-icon"),e),v=f,m=i(o("cwg-popup"),_);return l(),p(m,{visible:w.value,"onUpdate:visible":t[0]||(t[0]=e=>w.value=e),type:"center","mask-click":!1,showFooters:!1},{default:c((()=>[n(v,{class:"popup-content wait-popup"},{default:c((()=>[n(v,{class:"icon"},{default:c((()=>[n(a,{name:"icon_history",size:80,color:"#eb3f57"})])),_:1}),n(v,{class:"des1"},{default:c((()=>[u(r(d(g)("ApplicationDialog.Des38")),1)])),_:1})])),_:1})])),_:1},8,["visible"])}}},[["__scopeId","data-v-f32d3670"]]);export{m as _,b as a,g as b};