Header.f5e32717.js
1.73 KB
import{n}from"./_plugin-vue2_normalizer.61652a7c.js";import{c as o}from"./vuex.esm.8fdeb4b6.js";import{S as c}from"./Logo.8785cc9f.js";const _={};var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"aioseo-wizard-body"},[e("div",{staticClass:"body-content"},[t._t("default")],2),t.$slots.cta?e("div",{staticClass:"cta"},[t._t("cta")],2):t._e(),e("div",{staticClass:"body-footer"},[t._t("footer")],2)])},l=[],u=n(_,i,l,!1,null,null,null,null);const W=u.exports;const p={};var d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"aioseo-wizard-container"},[t._t("default")],2)},f=[],v=n(p,d,f,!1,null,null,null,null);const b=v.exports;const g={props:{steps:{type:Array,required:!0}},computed:{getSteps(){const s={spacer:!0};return[...this.steps].map((t,e)=>e<this.steps.length-1?[t,{...s}]:[t]).reduce((t,e)=>t.concat(e))}},methods:{getActiveClass(s,t){return s.spacer?!!this.getSteps[t+1].active:s.active}}};var m=function(){var t=this,e=t._self._c;return e("div",{staticClass:"aioseo-wizard-progress"},t._l(t.getSteps,function(r,a){return e("div",{key:a,class:[{circle:!r.spacer},{spacer:r.spacer},{active:t.getActiveClass(r,a)}]})}),0)},y=[],C=n(g,m,y,!1,null,null,null,null);const h=C.exports;const $={components:{SvgAioseoLogo:c,WizardProgress:h},computed:{...o("wizard",["getCurrentStageCount","getTotalStageCount"]),steps(){const s=[];for(let t=0;t<this.getTotalStageCount;t++)t<this.getCurrentStageCount?s.push({active:!0}):s.push({active:!1});return s}}};var x=function(){var t=this,e=t._self._c;return e("div",{staticClass:"aioseo-wizard-header"},[e("div",{staticClass:"logo"},[e("svg-aioseo-logo")],1),e("wizard-progress",{attrs:{steps:t.steps}})],1)},z=[],S=n($,x,z,!1,null,null,null,null);const F=S.exports;export{W,b as a,F as b};