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

2 lines
4.5 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{j as R,M as L,A as U,h as A}from"./app-core.b862f9c8.js";import{C as E}from"./Blur.92d1018b.js";import{C as I}from"./Index.08267eee.js";import{C as B}from"./SettingsRow.1722e16a.js";import{au as M,f as r,i as p,j as t,a0 as o,v as c,U as u,aq as n,O as N,ad as T,R as i,ae as f,T as V,M as z,Q as x}from"./vendor-vue-ui.f00a1236.js";import{S as j}from"./Eye.2769085b.js";import{_ as D}from"./Trash.c3e8db0b.js";import{U as F,S as q}from"./Upsell.3a9cf439.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{S as P}from"./Short.3da22f3f.js";import{_ as h}from"./vendor-other.7b559694.js";import"./vendor-lodash.d3ad8b99.js";import"./Close.de45e465.js";import"./Row.2a7735dd.js";import"./Profile.f6f3e630.js";import"./Index.d49bf7b5.js";import"./Index.3967c277.js";import"./Button.6c09d515.js";import"./Pencil.1ca5815a.js";import"./RequiredPlans.24b8f4aa.js";const Q={class:"aioseo-seo-revision-list-item"},W={class:"aioseo-seo-revision-list-item__author"},G={class:"aioseo-seo-revision-list-item__author__avatar"},H={class:"aioseo-seo-revision-list-item__author__name"},J={class:"aioseo-seo-revision-list-item__action"},K={class:"aioseo-seo-revision-list-item__action__view"},X={class:"aioseo-seo-revision-list-item__action__delete"},Y={__name:"ListItem",setup(m){const{currentUser:s}=M(R());return(d,e)=>(r(),p("div",Q,[t("div",W,[t("span",G,[o(c(F),{src:c(s).avatar.url,size:c(s).avatar.size},null,8,["src","size"])]),t("span",H,u(c(L)(c(s).display_name,30)),1)]),e[1]||(e[1]=t("div",{class:"aioseo-seo-revision-list-item__date"}," 1 week ago (2 Dec, 2022 @ 18:28:57) ",-1)),t("div",J,[e[0]||(e[0]=t("span",{class:"aioseo-seo-revision-list-item__action__compare"}," Compare ",-1)),t("span",K,[o(c(j),{width:"18"})]),t("span",X,[o(c(D),{width:"18"})])])]))}},Z=v(Y,[["__scopeId","data-v-20175fdb"]]),oo={components:{SeoRevisionListItem:Z}},eo={class:"aioseo-seo-revisions-list"};function so(m,s,d,e,a,C){const _=n("seo-revision-list-item");return r(),p("div",eo,[(r(),p(N,null,T(13,l=>o(_,{key:"seo-revision-list-item-"+l})),64))])}const to=v(oo,[["render",so],["__scopeId","data-v-7b502c37"]]),S="all-in-one-seo-pack",no={setup(){return{seoRevisionsStore:R()}},components:{CoreBlur:E,CoreModal:I,CoreSettingsRow:B,SeoRevisionsList:to,SeoRevisionsUpsell:q,SvgRightArrowShort:P},data(){return{strings:{button:h("Open SEO Revisions",S),description:h("With our powerful revisions feature for all your SEO data, never lose the exact SEO title or description (and more!) that helped you rank higher in search results and restore it back in a single click.",S),seoRevisions:h("SEO Revisions",S)}}}},io={key:0,class:"aioseo-seo-revisions-metabox"},ro={key:1,class:"aioseo-seo-revisions-sidebar"},ao={class:"aioseo-seo-revisions-sidebar__modal-body"},co={class:"description"};function _o(m,s,d,e,a,C){const _=n("seo-revisions-list"),l=n("core-blur"),g=n("seo-revisions-upsell"),y=n("core-modal"),$=n("svg-right-arrow-short"),w=n("base-button"),k=n("core-settings-row");return m.$root.$data.screenContext==="metabox"?(r(),p("div",io,[o(l,null,{default:i(()=>[o(_)]),_:1}),o(g,{"parent-component-context":"metabox"})])):m.$root.$data.screenContext==="sidebar"?(r(),p("div",ro,[o(y,{show:e.seoRevisionsStore.modalOpenSidebar,classes:[],onClose:s[0]||(s[0]=O=>e.seoRevisionsStore.modalOpenSidebar=!1)},{headerTitle:i(()=>[f(u(a.strings.seoRevisions),1)]),body:i(()=>[t("div",ao,[o(l,null,{default:i(()=>[o(_)]),_:1}),o(g,{"parent-component-context":"modal"})])]),_:1},8,["show"]),o(k,{align:""},{name:i(()=>[f(u(a.strings.seoRevisions),1)]),description:i(()=>[t("p",co,u(a.strings.description),1)]),content:i(()=>[o(w,{class:"gray small",onClick:s[1]||(s[1]=V(O=>e.seoRevisionsStore.modalOpenSidebar=!0,["stop","exact"]))},{default:i(()=>[o($,{width:"10"}),f("   "+u(a.strings.button),1)]),_:1})]),_:1})])):z("",!0)}const b=v(no,[["render",_o],["__scopeId","data-v-eda67d56"]]),lo={setup(){return{licenseStore:A()}},components:{SeoRevisions:b,SeoRevisionsLite:b},props:{parentComponentContext:String},data(){return{license:U}}},po={class:"aioseo-seo-revisions aioseo-tab-content"};function mo(m,s,d,e,a,C){const _=n("seo-revisions",!0),l=n("seo-revisions-lite");return r(),p("div",po,[!e.licenseStore.isUnlicensed&&a.license.hasCoreFeature("seo-revisions")?(r(),x(_,{key:0,parentComponentContext:d.parentComponentContext},null,8,["parentComponentContext"])):(r(),x(l,{key:1,parentComponentContext:d.parentComponentContext},null,8,["parentComponentContext"]))])}const Bo=v(lo,[["render",mo],["__scopeId","data-v-463f2e4b"]]);export{Bo as default};