관리-도구
편집 파일: Schema.88fa244a.js
import{u as B,l as v,m as U}from"./index.20192476.js";import{B as O}from"./Textarea.5ebf7ab2.js";import{C as A}from"./Blur.31bfcf06.js";import{C as j}from"./SettingsRow.1934f141.js";import{C}from"./Index.c0a0a208.js";import"./translations.12335a6a.js";import{_ as k}from"./_plugin-vue_export-helper.249dac1d.js";import{_ as t,s as b}from"./default-i18n.54b5d8cd.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.6789c400.js";import{B as V}from"./RadioToggle.64619d6b.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};