Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Modal.5974672c.js
Назад
import{i as b}from"./helpers.b97d7047.js";import{_ as D}from"./ScoreButton.e2a31604.js";import{_ as $}from"./App.d867d60c.js";import{S}from"./Caret.662da1f3.js";import{_ as f}from"./_plugin-vue_export-helper.249dac1d.js";import{o as n,c as l,m,b as c,v as i,k as _,l as w,a as s,G as M,E as k,t as C,C as g}from"./runtime-dom.esm-bundler.6789c400.js";import"./translations.12335a6a.js";import{s as B,_ as x}from"./default-i18n.54b5d8cd.js";const A={props:{completelyDraggable:{type:Boolean,default(){return!0}}},data(){return{position1:0,position2:0,position3:0,position4:0}},methods:{dragMouseDown(e){e=e||window.event,e.preventDefault(),this.position3=e.clientX,this.position4=e.clientY,document.onmousemove=this.elementDrag,document.onmouseup=this.closeDragElement},elementDrag(e){e=e||window.event,e.preventDefault(),this.position1=this.position3-e.clientX,this.position2=this.position4-e.clientY,this.position3=e.clientX,this.position4=e.clientY,this.$el.style.top=this.$el.offsetTop-this.position2+"px",this.$el.style.left=this.$el.offsetLeft-this.position1+"px"},closeDragElement(){document.onmouseup=null,document.onmousemove=null}}},O={class:"aioseo-draggable"},E={key:1};function N(e,o,t,u,d,a){return n(),l("div",O,[t.completelyDraggable?(n(),l("div",{key:0,"on:dragMouseDown":o[0]||(o[0]=(...r)=>a.dragMouseDown&&a.dragMouseDown(...r))},[m(e.$slots,"default")],32)):c("",!0),t.completelyDraggable?c("",!0):(n(),l("div",E,[m(e.$slots,"default")]))])}const P=f(A,[["render",N]]),z="all-in-one-seo-pack",L={emits:["update:is-open"],setup(){return{truSeoShouldAnalyze:b}},components:{CoreScoreButton:D,PostSettings:$,SvgClose:S,UtilDraggable:P},props:{isOpen:{type:Boolean,default:!1},score:{type:Number,default:0}},data(){return{strings:{header:B(x("%1$s Settings",z),"AIOSEO")}}},methods:{toggleModal(){this.isOpen=!this.isOpen}}},V={class:"aioseo-pagebuilder-modal-header-title"},X={class:"aioseo-pagebuilder-modal-body edit-post-sidebar editor-sidebar"};function Y(e,o,t,u,d,a){const r=i("core-score-button"),h=i("svg-close"),v=i("PostSettings"),y=i("util-draggable");return n(),_(y,{ref:"modal-container",completelyDraggable:!1},{default:w(()=>[s("div",{class:M(["aioseo-pagebuilder-modal",{"aioseo-pagebuilder-modal-is-closed":!t.isOpen}])},[s("div",{class:"aioseo-pagebuilder-modal-header",onMousedown:o[1]||(o[1]=k(p=>e.$refs["modal-container"].dragMouseDown(p),["prevent"]))},[s("div",V,C(d.strings.header),1),t.score&&u.truSeoShouldAnalyze()?(n(),_(r,{key:0,score:t.score,class:"aioseo-score-button--active"},null,8,["score"])):c("",!0),s("div",{class:"aioseo-pagebuilder-modal-header-close",onClick:o[0]||(o[0]=p=>e.$emit("update:is-open",!1))},[g(h)])],32),s("div",X,[g(v)])],2)]),_:1},512)}const H=f(L,[["render",Y],["__scopeId","data-v-8c4e05e7"]]);export{H as M};
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка