Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/AdditionalInformation.281ce536.js
Назад
import{b as P,u as x,r as L}from"./index.5a710757.js";import{u as R}from"./Wizard.f0faf80a.js";import{B as U}from"./Phone.5d7c5570.js";import{B as A}from"./RadioToggle.64619d6b.js";import{C as D}from"./HtmlTagsEditor.b85e0cfa.js";import{C as B}from"./ImageUploader.82ab8ffd.js";import{C as J}from"./SocialProfiles.d63993ec.js";import{W as G,a as H,b as E}from"./Header.141374e8.js";import{W as M}from"./CloseAndExit.7f340eb6.js";import{_ as T}from"./Steps.bdb4957a.js";import"./translations.12335a6a.js";import{_ as Y}from"./_plugin-vue_export-helper.249dac1d.js";import{u as j}from"./SetupWizardStore.f2a8f9f3.js";import{_ as l}from"./default-i18n.54b5d8cd.js";import{c as p,C as s,l as u,v as m,o as c,a as o,x as h,t as r,b as g,G as q}from"./runtime-dom.esm-bundler.6789c400.js";import"./helpers.f95d5840.js";import"./addons.ef42f038.js";import"./upperFirst.96c04516.js";import"./_stringToArray.08127ca9.js";import"./toString.1401d490.js";import"./datetime.cb3980ce.js";import"./preload-helper.73eeda98.js";import"./Editor.e5877fb8.js";import"./isEqual.51bf23f5.js";import"./_baseIsEqual.6bc92395.js";import"./_getTag.8dc22eac.js";import"./_baseClone.50c6045c.js";import"./_arrayEach.f4f00336.js";import"./index.ee8124c6.js";import"./Caret.662da1f3.js";import"./UnfilteredHtml.559aa5ad.js";import"./constants.2019bcb3.js";import"./Img.2fc40874.js";import"./Plus.c3a1a43f.js";import"./Checkbox.e983780b.js";import"./Checkmark.32f79576.js";import"./Textarea.5ebf7ab2.js";import"./SettingsRow.1934f141.js";import"./Row.f01f32cd.js";import"./Facebook.889f0b59.js";import"./Twitter.faae4f4e.js";import"./Logo.f6ea28bf.js";import"./Index.c4d148bc.js";const d="all-in-one-seo-pack",F={setup(){const{strings:t}=R({stage:"additional-information"});return{optionsStore:P(),rootStore:x(),setupWizardStore:j(),composableStrings:t}},components:{BasePhone:U,BaseRadioToggle:A,CoreHtmlTagsEditor:D,CoreImageUploader:B,CoreSocialProfiles:J,WizardBody:G,WizardCloseAndExit:M,WizardContainer:H,WizardHeader:E,WizardSteps:T},data(){return{showOtherSocialNetworks:!1,loaded:!1,loading:!1,strings:L(this.composableStrings,{additionalSiteInformation:l("Additional Site Information",d),personOrOrganization:l("Person or Organization",d),choosePerson:l("Choose a Person",d),person:l("Person",d),organization:l("Organization",d),personOrOrganizationDescription:l("Choose whether the site represents a person or an organization.",d),name:l("Name",d),organizationName:l("Organization Name",d),organizationDescription:l("Organization Description",d),phone:l("Phone Number",d),logo:l("Logo",d),defaultSocialShareImage:l("Default Social Share Image",d),yourSocialProfiles:l("Your Social Profiles",d),showMore:l("Show more",d)})}},watch:{"optionsStore.options.social.profiles":{deep:!0,handler(t){this.setupWizardStore.additionalInformation.social.profiles=t}}},computed:{users(){return[{label:l("Manually Enter Person",d),value:"manual"}].concat(this.rootStore.aioseo.users.map(t=>({label:`${t.displayName} (${t.email})`,gravatar:t.gravatar,value:t.id})))}},methods:{getPersonOptions(t){return this.users.find(a=>a.value===t)},saveAndContinue(){this.loading=!0,this.setupWizardStore.saveWizard("additionalInformation").then(()=>{this.$router.push(this.setupWizardStore.getNextLink)})},showHideOtherSocialNetworks(){this.showOtherSocialNetworks=!this.showOtherSocialNetworks}},beforeMount(){const t=JSON.parse(JSON.stringify(this.optionsStore.options.searchAppearance)),a=JSON.parse(JSON.stringify(this.optionsStore.options.social));this.setupWizardStore.additionalInformation.social.profiles=JSON.parse(JSON.stringify(a.profiles)),this.setupWizardStore.additionalInformation.socialShareImage=a.facebook.general.defaultImagePosts,this.setupWizardStore.additionalInformation.siteRepresents=t.global.schema.siteRepresents,this.setupWizardStore.additionalInformation.person=t.global.schema.person,this.setupWizardStore.additionalInformation.organizationName=t.global.schema.organizationName,this.setupWizardStore.additionalInformation.organizationDescription=t.global.schema.organizationDescription,this.setupWizardStore.additionalInformation.organizationLogo=t.global.schema.organizationLogo,this.setupWizardStore.additionalInformation.personName=t.global.schema.personName,this.setupWizardStore.additionalInformation.personLogo=t.global.schema.personLogo,this.setupWizardStore.additionalInformation.phone=t.global.schema.phone,this.loaded=!0}},K={class:"aioseo-wizard-additional-information"},Q={class:"header"},X={class:"person-or-organization aioseo-settings-row no-border no-margin"},Z={class:"settings-name"},$={class:"name small-margin"},oo={class:"aioseo-description"},eo={key:0,class:"aioseo-settings-row no-border no-margin"},io={class:"settings-name"},ao={class:"name small-margin"},to={class:"person-label"},no={key:0,class:"person-avatar"},so=["src"],ro={class:"person-name"},lo={class:"person-label"},mo={key:0,class:"person-avatar"},po=["src"],co={class:"person-name"},go={key:1,class:"schema-graph-name aioseo-settings-row no-border no-margin"},uo={class:"settings-name"},_o={class:"name small-margin"},ho={key:2,class:"schema-graph-name aioseo-settings-row no-border no-margin"},fo={class:"settings-name"},zo={class:"name small-margin"},So={key:3,class:"schema-graph-name aioseo-settings-row no-border no-margin"},vo={class:"settings-name"},Wo={class:"name small-margin"},bo={key:4,class:"schema-graph-phone aioseo-settings-row no-border no-margin"},Io={class:"settings-name"},wo={class:"name small-margin"},ko={key:5,class:"schema-graph-image aioseo-settings-row no-border no-margin"},No={class:"settings-name"},Vo={class:"name small-margin"},yo={key:6,class:"schema-graph-image aioseo-settings-row no-border no-margin"},Oo={class:"settings-name"},Co={class:"name small-margin"},Po={class:"schema-graph-image aioseo-settings-row"},xo={class:"settings-name"},Lo={class:"name small-margin"},Ro={class:"header social"},Uo={class:"go-back"},Ao=o("div",{class:"spacer"},null,-1);function Do(t,a,Bo,e,n,_){const v=m("wizard-header"),W=m("wizard-steps"),b=m("base-radio-toggle"),I=m("base-select"),z=m("core-html-tags-editor"),w=m("base-input"),k=m("base-phone"),f=m("core-image-uploader"),N=m("core-social-profiles"),S=m("router-link"),V=m("base-button"),y=m("wizard-body"),O=m("wizard-close-and-exit"),C=m("wizard-container");return c(),p("div",K,[s(v),s(C,null,{default:u(()=>[s(y,null,{footer:u(()=>[o("div",Uo,[s(S,{to:e.setupWizardStore.getPrevLink,class:"no-underline"},{default:u(()=>[h("←")]),_:1},8,["to"]),h(" "),s(S,{to:e.setupWizardStore.getPrevLink},{default:u(()=>[h(r(n.strings.goBack),1)]),_:1},8,["to"])]),Ao,s(V,{type:"blue",loading:n.loading,onClick:_.saveAndContinue},{default:u(()=>[h(r(n.strings.saveAndContinue)+" →",1)]),_:1},8,["loading","onClick"])]),default:u(()=>[s(W),o("div",Q,r(n.strings.additionalSiteInformation),1),o("div",X,[o("div",Z,[o("div",$,r(n.strings.personOrOrganization),1)]),s(b,{modelValue:e.setupWizardStore.additionalInformation.siteRepresents,"onUpdate:modelValue":a[0]||(a[0]=i=>e.setupWizardStore.additionalInformation.siteRepresents=i),name:"siteRepresents",options:[{label:n.strings.person,value:"person"},{label:n.strings.organization,value:"organization"}]},null,8,["modelValue","options"]),o("div",oo,r(n.strings.personOrOrganizationDescription),1)]),e.setupWizardStore.additionalInformation.siteRepresents==="person"?(c(),p("div",eo,[o("div",io,[o("div",ao,r(n.strings.choosePerson),1)]),s(I,{class:"person-chooser",options:_.users,modelValue:_.getPersonOptions(e.setupWizardStore.additionalInformation.person),"onUpdate:modelValue":a[1]||(a[1]=i=>e.setupWizardStore.additionalInformation.person=i.value)},{singleLabel:u(({option:i})=>[o("div",to,[i.gravatar?(c(),p("div",no,[o("img",{alt:"User Gravatar",src:i.gravatar},null,8,so)])):g("",!0),o("div",ro,r(i.label),1)])]),option:u(({option:i})=>[o("div",lo,[i.gravatar?(c(),p("div",mo,[o("img",{alt:"User Gravatar",src:i.gravatar},null,8,po)])):g("",!0),o("div",co,r(i.label),1)])]),_:1},8,["options","modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents==="organization"?(c(),p("div",go,[o("div",uo,[o("div",_o,r(n.strings.organizationName),1)]),s(z,{modelValue:e.setupWizardStore.additionalInformation.organizationName,"onUpdate:modelValue":a[2]||(a[2]=i=>e.setupWizardStore.additionalInformation.organizationName=i),"line-numbers":!1,"tags-context":"knowledgeGraph","default-tags":["site_title"]},null,8,["modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents==="organization"?(c(),p("div",ho,[o("div",fo,[o("div",zo,r(n.strings.organizationDescription),1)]),s(z,{modelValue:e.setupWizardStore.additionalInformation.organizationDescription,"onUpdate:modelValue":a[3]||(a[3]=i=>e.setupWizardStore.additionalInformation.organizationDescription=i),"line-numbers":!1,description:"","tags-context":"knowledgeGraph","default-tags":["tagline"]},null,8,["modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents!=="organization"&&e.setupWizardStore.additionalInformation.person==="manual"?(c(),p("div",So,[o("div",vo,[o("div",Wo,r(n.strings.name),1)]),s(w,{size:"medium",modelValue:e.setupWizardStore.additionalInformation.personName,"onUpdate:modelValue":a[4]||(a[4]=i=>e.setupWizardStore.additionalInformation.personName=i)},null,8,["modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents==="organization"?(c(),p("div",bo,[o("div",Io,[o("div",wo,r(n.strings.phone),1)]),s(k,{modelValue:e.setupWizardStore.additionalInformation.phone,"onUpdate:modelValue":a[5]||(a[5]=i=>e.setupWizardStore.additionalInformation.phone=i)},null,8,["modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents==="organization"?(c(),p("div",ko,[o("div",No,[o("div",Vo,r(n.strings.logo),1)]),s(f,{modelValue:e.setupWizardStore.additionalInformation.organizationLogo,"onUpdate:modelValue":a[6]||(a[6]=i=>e.setupWizardStore.additionalInformation.organizationLogo=i)},null,8,["modelValue"])])):g("",!0),e.setupWizardStore.additionalInformation.siteRepresents!=="organization"&&e.setupWizardStore.additionalInformation.person==="manual"?(c(),p("div",yo,[o("div",Oo,[o("div",Co,r(n.strings.logo),1)]),s(f,{modelValue:e.setupWizardStore.additionalInformation.personLogo,"onUpdate:modelValue":a[7]||(a[7]=i=>e.setupWizardStore.additionalInformation.personLogo=i)},null,8,["modelValue"])])):g("",!0),o("div",Po,[o("div",xo,[o("div",Lo,r(n.strings.defaultSocialShareImage),1)]),s(f,{modelValue:e.setupWizardStore.additionalInformation.socialShareImage,"onUpdate:modelValue":a[8]||(a[8]=i=>e.setupWizardStore.additionalInformation.socialShareImage=i)},null,8,["modelValue"])]),o("div",Ro,r(n.strings.yourSocialProfiles),1),n.loaded?(c(),p("div",{key:7,class:q(["social-profiles",{"show-more":n.showOtherSocialNetworks}])},[s(N,{leftSize:"4",rightSize:"8",sameUsernameWidth:"4",hideAdditionalProfiles:""}),o("a",{class:"show-more-link aioseo-col col-md-offset-4",onClick:a[9]||(a[9]=(...i)=>_.showHideOtherSocialNetworks&&_.showHideOtherSocialNetworks(...i))},r(n.strings.showMore),1)],2)):g("",!0)]),_:1}),s(O)]),_:1})])}const ye=Y(F,[["render",Do]]);export{ye as default};
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка