import{u as B,l as v,k as U}from"./index.7377ee90.js";import{B as O}from"./Textarea.97983cdc.js";import{C as A}from"./Blur.edde4939.js";import{C as j}from"./SettingsRow.ac18ea66.js";import{C}from"./Index.a76253da.js";import"./translations.d159963e.js";import{_ as k}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as t,s as b}from"./default-i18n.20001971.js";import{v as n,o as _,c as S,C as r,l as c,a as F,t as d,x as g,k as x,b as T}from"./runtime-dom.esm-bundler.5c3c7d72.js";import{B as V}from"./RadioToggle.333e7750.js";const p="all-in-one-seo-pack",q={setup(){return{rootStore:B()}},components:{BaseTextarea:O,CoreBlur:A,CoreSettingsRow:j,Cta:C},props:{type:{type:String,required:!0},object:{type:Object,required:!0}},data(){return{links:v,strings:{customFields:t("Custom Fields",p),customFieldsDescription:t("List of custom field names to include as post content for tags and the SEO Page Analysis. Add one per line.",p),ctaDescription:b(t("%1$s %2$s gives you advanced customizations for our page analysis feature, letting you add custom fields to analyze.",p),"AIOSEO","Pro"),ctaButtonText:t("Unlock Custom Fields",p),ctaHeader:b(t("Custom Fields is a %1$s Feature",p),"PRO")}}},methods:{getSchemaTypeOption(i){return this.schemaTypes.find(a=>a.value===i)}}},D={class:"aioseo-sa-ct-custom-fields lite"},N={class:"aioseo-description"};function R(i,a,s,l,e,h){const m=n("base-textarea"),u=n("core-settings-row"),y=n("core-blur"),f=n("cta");return _(),S("div",D,[r(y,null,{default:c(()=>[r(u,{name:e.strings.customFields,align:""},{content:c(()=>[r(m,{"min-height":200}),F("div",N,d(e.strings.customFieldsDescription),1)]),_:1},8,["name"])]),_:1}),r(f,{"cta-link":e.links.getPricingUrl("custom-fields","custom-fields-upsell",`${s.object.name}-post-type`),"button-text":e.strings.ctaButtonText,"learn-more-link":e.links.getUpsellUrl("custom-fields",s.object.name,l.rootStore.isPro?"pricing":"liteUpgrade")},{"header-text":c(()=>[g(d(e.strings.ctaHeader),1)]),description:c(()=>[g(d(e.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link"])])}const te=k(q,[["render",R]]),o="all-in-one-seo-pack",L={setup(){return{rootStore:B()}},components:{BaseRadioToggle:V,CoreBlur:A,CoreSettingsRow:j,Cta:C},props:{type:{type:String,required:!0},object:{type:Object,required:!0}},data(){return{links:v,schemaTypes:[{value:"none",label:t("None",o)},{value:"Article",label:t("Article",o)}],strings:{schemaType:t("Schema Type",o),articleType:t("Article Type",o),article:t("Article",o),blogPost:t("Blog Post",o),newsArticle:t("News Article",o),ctaDescription:t("Easily generate unlimited schema markup for your content to help you rank higher in search results. Our schema validator ensures your schema works out of the box.",o),ctaButtonText:t("Unlock Schema Markup Generator",o),ctaHeader:b(t("Schema Markup Generator is a %1$s Feature",o),"PRO")},features:[t("Unlimited Schema",o),t("Validate with Google",o),t("Increase Rankings",o),t("Additional Schema Types",o)]}},methods:{getSchemaTypeOption(i){return this.schemaTypes.find(a=>a.value===i)}}},E={class:"aioseo-sa-ct-schema-lite"};function H(i,a,s,l,e,h){const m=n("base-select"),u=n("core-settings-row"),y=n("base-radio-toggle"),f=n("core-blur"),P=n("cta");return _(),S("div",E,[r(f,null,{default:c(()=>[r(u,{name:e.strings.schemaType,align:""},{content:c(()=>[r(m,{size:"medium",class:"schema-type",options:e.schemaTypes,modelValue:h.getSchemaTypeOption("Article")},null,8,["options","modelValue"])]),_:1},8,["name"]),r(u,{name:e.strings.articleType,align:""},{content:c(()=>[r(y,{name:`${s.object.name}articleType`,modelValue:"BlogPosting",options:[{label:e.strings.article,value:"Article"},{label:e.strings.blogPost,value:"BlogPosting"},{label:e.strings.newsArticle,value:"NewsArticle"}]},null,8,["name","options"])]),_:1},8,["name"])]),_:1}),r(P,{"cta-link":e.links.getPricingUrl("schema-markup","schema-markup-upsell"),"button-text":e.strings.ctaButtonText,"learn-more-link":e.links.getUpsellUrl("schema-markup",null,l.rootStore.isPro?"pricing":"liteUpgrade"),"feature-list":e.features},{"header-text":c(()=>[g(d(e.strings.ctaHeader),1)]),description:c(()=>[g(d(e.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])])}const w=k(L,[["render",H]]),z={setup(){return{licenseStore:U()}},components:{Schema:w,SchemaLite:w},props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean}},G={class:"aioseo-sa-ct-schema-view"};function I(i,a,s,l,e,h){const m=n("schema",!0),u=n("schema-lite");return _(),S("div",G,[l.licenseStore.isUnlicensed?T("",!0):(_(),x(m,{key:0,type:s.type,object:s.object,options:s.options,"show-bulk":s.showBulk},null,8,["type","object","options","show-bulk"])),l.licenseStore.isUnlicensed?(_(),x(u,{key:1,type:s.type,object:s.object,options:s.options,"show-bulk":s.showBulk},null,8,["type","object","options","show-bulk"])):T("",!0)])}const oe=k(z,[["render",I]]);export{te as C,oe as S};
