import{d as h,k as C}from"./app-core.61d75c0b.js";import{B as O}from"./Textarea.c2b2fe60.js";import{C as B}from"./Blur.d9f10327.js";import{C as T}from"./SettingsRow.483d3796.js";import{C as w}from"./Index.234cfb98.js";import{a as y,_ as e}from"./vendor-other.2cdd5822.js";import{f as u,i as f,a0 as n,R as a,v as l,j as P,U as m,ae as _,as as c,Q as k,M as x}from"./vendor-vue-ui.d70c869f.js";import{B as F}from"./RadioToggle.5907226a.js";import{_ as j}from"./_plugin-vue_export-helper.eefbdd86.js";const V={class:"aioseo-sa-ct-custom-fields lite"},q={class:"aioseo-description"},Y={__name:"CustomFields",props:{type:{type:String,required:!0},object:{type:Object,required:!0}},setup(i){const r="all-in-one-seo-pack",t={customFields:e("Custom Fields",r),customFieldsDescription:e("List of custom field names to include as post content for tags and the SEO Page Analysis. Add one per line.",r),ctaDescription:y(e("%1$s %2$s gives you advanced customizations for our page analysis feature, letting you add custom fields to analyze.",r),"AIOSEO","Pro"),ctaButtonText:e("Unlock Custom Fields",r),ctaHeader:y(e("Custom Fields is a %1$s Feature",r),"PRO")};return(p,s)=>(u(),f("div",V,[n(l(B),null,{default:a(()=>[n(l(T),{name:t.customFields,align:""},{content:a(()=>[n(l(O),{"min-height":200}),P("div",q,m(t.customFieldsDescription),1)]),_:1},8,["name"])]),_:1}),n(l(w),{"cta-link":l(h).getPricingUrl("custom-fields","custom-fields-upsell",`${i.object.name}-post-type`,"liteUpgrade"),"button-text":t.ctaButtonText,"learn-more-link":l(h).getUpsellUrl("custom-fields",i.object.name,"liteUpgrade")},{"header-text":a(()=>[_(m(t.ctaHeader),1)]),description:a(()=>[_(m(t.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link"])]))}},o="all-in-one-seo-pack",D={components:{BaseRadioToggle:F,CoreBlur:B,CoreSettingsRow:T,Cta:w},props:{type:{type:String,required:!0},object:{type:Object,required:!0}},data(){return{links:h,schemaTypes:[{value:"none",label:e("None",o)},{value:"Article",label:e("Article",o)}],strings:{schemaType:e("Schema Type",o),articleType:e("Article Type",o),article:e("Article",o),blogPost:e("Blog Post",o),newsArticle:e("News Article",o),ctaDescription:e("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:e("Unlock Schema Markup Generator",o),ctaHeader:y(e("Schema Markup Generator is a %1$s Feature",o),"PRO")},features:[e("Unlimited Schema",o),e("Validate with Google",o),e("Increase Rankings",o),e("Additional Schema Types",o)]}},methods:{getSchemaTypeOption(i){return this.schemaTypes.find(r=>r.value===i)}}},N={class:"aioseo-sa-ct-schema-lite"};function R(i,r,t,p,s,b){const g=c("base-select"),d=c("core-settings-row"),A=c("base-radio-toggle"),U=c("core-blur"),v=c("cta");return u(),f("div",N,[n(U,null,{default:a(()=>[n(d,{name:s.strings.schemaType,align:""},{content:a(()=>[n(g,{size:"medium",class:"schema-type",options:s.schemaTypes,modelValue:b.getSchemaTypeOption("Article")},null,8,["options","modelValue"])]),_:1},8,["name"]),n(d,{name:s.strings.articleType,align:""},{content:a(()=>[n(A,{name:`${t.object.name}articleType`,modelValue:"BlogPosting",options:[{label:s.strings.article,value:"Article"},{label:s.strings.blogPost,value:"BlogPosting"},{label:s.strings.newsArticle,value:"NewsArticle"}]},null,8,["name","options"])]),_:1},8,["name"])]),_:1}),n(v,{"cta-link":s.links.getPricingUrl("schema-markup","schema-markup-upsell",null,"liteUpgrade"),"button-text":s.strings.ctaButtonText,"learn-more-link":s.links.getUpsellUrl("schema-markup",null,"liteUpgrade"),"feature-list":s.features},{"header-text":a(()=>[_(m(s.strings.ctaHeader),1)]),description:a(()=>[_(m(s.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])])}const S=j(D,[["render",R]]),L={setup(){return{licenseStore:C()}},components:{Schema:S,SchemaLite:S},props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean}},E={class:"aioseo-sa-ct-schema-view"};function H(i,r,t,p,s,b){const g=c("schema",!0),d=c("schema-lite");return u(),f("div",E,[p.licenseStore.isUnlicensed?x("",!0):(u(),k(g,{key:0,type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk},null,8,["type","object","options","show-bulk"])),p.licenseStore.isUnlicensed?(u(),k(d,{key:1,type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk},null,8,["type","object","options","show-bulk"])):x("",!0)])}const Z=j(L,[["render",H]]);export{Z as S,Y as _};
