Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Upload.72f11d2d.js
Назад
import{u as d}from"./index.5a710757.js";import{r as i,a as p,g as m}from"./params.764403f6.js";import{u as _}from"./Network.e76d128a.js";import"./translations.12335a6a.js";import{_ as n}from"./_plugin-vue_export-helper.249dac1d.js";import{_ as f}from"./default-i18n.54b5d8cd.js";import{v as h,o as r,c as a,C as w,a as v}from"./runtime-dom.esm-bundler.6789c400.js";const S="all-in-one-seo-pack",k={emits:["selected-site"],setup(){const{getSites:t,getUniqueSiteId:e}=_();return{rootStore:d(),getSites:t,getUniqueSiteId:e}},props:{followSelectedSite:Boolean,showNetwork:Boolean},data(){return{site:null,network:{value:"network",label:f("Network Admin (no site)",S)}}},watch:{site(t){let e=this.rootStore.aioseo.data.network.sites.sites.find(o=>this.getUniqueSiteId(o)===t.value);t.value==="network"&&(e={blog_id:"network"}),this.$emit("selected-site",e),this.followSelectedSite&&this.querySelectedSite()}},computed:{sites(){const t=this.getSites.filter(e=>!e.parentDomain).map(e=>({value:this.getUniqueSiteId(e),label:`${e.domain}${e.path}`}));return this.showNetwork?[this.network].concat(t):t}},methods:{querySelectedSite(){i("aioseo-selected-site-value"),this.site.value!=="network"&&p("aioseo-selected-site-value",this.site.value)}},created(){const t=m();if(t["aioseo-selected-site-value"])return this.site=this.sites.find(e=>e.value===decodeURIComponent(t["aioseo-selected-site-value"])),i("aioseo-selected-site-value"),!1;this.showNetwork&&(this.site=this.network)}},g={class:"aioseo-network-site-selector"};function V(t,e,o,$,s,l){const c=h("base-select");return r(),a("div",g,[w(c,{size:"medium",modelValue:s.site,"onUpdate:modelValue":e[0]||(e[0]=u=>s.site=u),options:l.sites},null,8,["modelValue","options"])])}const P=n(k,[["render",V]]),x={},y={viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-upload"},H=v("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 17V11H19L12 4L5 11H9V17H15ZM12 6.83L14.17 9H13V15H11V9H9.83L12 6.83ZM19 21V19H5V21H19Z",fill:"currentColor"},null,-1),N=[H];function U(t,e){return r(),a("svg",y,N)}const M=n(x,[["render",U]]);export{P as C,M as S};
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка