Files
2026-04-28 15:13:50 +02:00

2 lines
1.6 KiB
JavaScript

import{aq as f,f as g,Q as y,R as r,j as a,T as C,a0 as c,v as m,U as i,ae as p}from"./vendor-vue-ui.de3ab35f.js";import"./app-core.ae890a3f.js";import{C as _}from"./Index.ab3bcf62.js";import{S as v}from"./Close.098d4b76.js";import{_ as l,a as w}from"./vendor-other.7b559694.js";const $={class:"aioseo-modal-body"},b={class:"reset-description"},M={__name:"DisconnectModal",props:{showModal:Boolean,loading:Boolean},emits:["continue","cancel"],setup(u){const e="all-in-one-seo-pack",t={areYouSureReset:l("Are you sure you want to disconnect Google Search Console?",e),actionCannotBeUndone:w(l("This action will disconnect %1$s from Google Search Console. By disconnecting from Google Search Console, you will no longer receive valuable insights on how your content is being discovered.",e),"AIOSEO"),yesContinue:l("Yes, I want to disconnect",e),noCancel:l("No, I changed my mind",e)};return(n,o)=>{const d=f("base-button");return g(),y(m(_),{show:u.showModal,"no-header":"",onClose:o[4]||(o[4]=s=>n.$emit("cancel")),classes:["aioseo-search-statistics-settings-modal"]},{body:r(()=>[a("div",$,[a("button",{class:"close",onClick:o[1]||(o[1]=C(s=>n.$emit("cancel"),["stop"]))},[c(m(v),{onClick:o[0]||(o[0]=s=>n.$emit("cancel"))})]),a("h3",null,i(t.areYouSureReset),1),a("div",b,i(t.actionCannotBeUndone),1),c(d,{type:"blue",size:"medium",onClick:o[2]||(o[2]=s=>n.$emit("continue")),loading:u.loading},{default:r(()=>[p(i(t.yesContinue),1)]),_:1},8,["loading"]),c(d,{type:"gray",size:"medium",onClick:o[3]||(o[3]=s=>n.$emit("cancel"))},{default:r(()=>[p(i(t.noCancel),1)]),_:1})])]),_:1},8,["show"])}}};export{M as _};