You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
277 KiB
JavaScript

(function(){var t={2188:function(t,e,s){"use strict";s(7658);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wp-mail-smtp-admin-page"},[e("router-view"),t.blocked?e("div",{staticClass:"wp-mail-smtp-blocked"}):t.loading?e("div",{staticClass:"wp-mail-smtp-loading"},[e("inline-svg",{staticClass:"icon",attrs:{src:s(969),width:"195"}})],1):t._e()],1)},a=[],n=s(8345),o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wp-mail-smtp-welcome"},[e("the-wizard-header"),e("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[e("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[e("div",{staticClass:"wp-mail-smtp-setup-wizard-content-container"},[e("content-header",{attrs:{title:t.text_header_title,subtitle:t.text_header_subtitle}}),e("button",{staticClass:"wp-mail-smtp-button wp-mail-smtp-button-main wp-mail-smtp-button-large",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.nextStep.apply(null,arguments)}}},[e("span",{staticClass:"text-with-arrow text-with-arrow-right"},[t._v(" "+t._s(t.text_button)+" "),e("inline-svg",{staticClass:"icon",attrs:{src:s(7706),width:"16",height:"22"}})],1)])],1)]),e("footer",[e("p",{staticClass:"wp-mail-smtp-exit-link"},[e("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])])])])],1)},r=[],l=s(3165),p=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wp-mail-smtp-content-header"},[e("h2",{domProps:{innerHTML:t._s(t.title)}}),t.subtitle?e("p",{staticClass:"subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])},m=[],_={name:"ContentHeader",props:{title:String,subtitle:String}},c=_,d=s(1001),u=(0,d.Z)(c,p,m,!1,null,null,null),h=u.exports,g=function(){var t=this,e=t._self._c;return e("header",{staticClass:"wp-mail-smtp-setup-wizard-header"},[e("h1",{staticClass:"wp-mail-smtp-setup-wizard-logo"},[e("div",{staticClass:"wp-mail-smtp-logo"},[e("img",{staticClass:"wp-mail-smtp-logo-img",attrs:{src:s(6375),alt:t.text_logo_alt}})])])])},w=[],f={name:"TheWizardHeader",data(){return{text_logo_alt:(0,l.__)("WP Mail SMTP logo","wp-mail-smtp")}}},A=f,b=(0,d.Z)(A,g,w,!1,null,null,null),v=b.exports,x={name:"SetupWizardWelcome",components:{ContentHeader:h,TheWizardHeader:v},data(){return{text_header_title:(0,l.__)("Welcome to the WP Mail SMTP Setup Wizard!","wp-mail-smtp"),text_header_subtitle:(0,l.__)("Well guide you through each step needed to get WP Mail SMTP fully set up on your site.","wp-mail-smtp"),text_button:(0,l.__)("Let's Get Started","wp-mail-smtp"),text_exit_link:(0,l.__)("Go back to the Dashboard","wp-mail-smtp"),exit_href:this.$wpms.exit_url}},methods:{nextStep:function(){this.$store.dispatch("$_wizard/started"),this.$router.push({name:this.$wizard_steps[0]})}}},k=x,y=(0,d.Z)(k,o,r,!1,null,null,null),C=y.exports,S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wp-mail-smtp-step"},[e("the-wizard-header"),e("the-wizard-timeline"),e("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[e("main",{staticClass:"wp-mail-smtp-setup-wizard-content"},[e("router-view",{on:{displayContentBelow:t.displayContentBelow}})],1),e("footer",[t.content_below.length>0?e("div",{staticClass:"wp-mail-smtp-step-below-content",domProps:{innerHTML:t._s(t.content_below)}}):t._e(),t.display_exit_link?e("p",{staticClass:"wp-mail-smtp-exit-link"},[e("a",{attrs:{href:t.exit_href}},[t._v(t._s(t.text_exit_link))])]):t._e()])])],1)},P=[],M=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wp-mail-smtp-setup-wizard-container"},[e("div",{staticClass:"wp-mail-smtp-setup-wizard-timeline"},[t._l(t.steps,(function(i,a){return[a>0?e("div",{key:a+"line",class:t.lineClass(a)}):t._e(),e("div",{key:a,class:t.stepClass(a)},[e("inline-svg",{staticClass:"icon icon-success",attrs:{src:s(7579),width:"10",height:"10"}}),e("inline-svg",{staticClass:"icon icon-failed",attrs:{src:s(3531),width:"8",height:"11"}})],1)]}))],2)])},E=[],B={name:"TheWizardTimeline",data(){return{steps:this.$wizard_steps}},methods:{stepClass(t){let e="wp-mail-smtp-setup-wizard-timeline-step";const s=this.steps.findIndex((t=>this.$route.name.inclu