1 line
3.5 KiB
JavaScript
1 line
3.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["settingsOnBoarding"],{"036b":function(t,n,o){var i=o("24fb");n=i(!1),n.push([t.i,"section[data-v-c01c0900]{margin-bottom:35px}",""]),t.exports=n},"0e0f":function(t,n,o){"use strict";o("8564")},"0ff7":function(t,n,o){"use strict";o.r(n);var i=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"pt-5"},[o("section",[o("ConfigInformation",{attrs:{app:t.app}})],1),o("section",[o("div",{staticClass:"m-auto p-0 container"},[o("PsAccounts",{attrs:{"force-show-plans":!0}})],1)])])},e=[],s=(o("b64b"),o("5530")),c=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("b-container",{staticClass:"m-auto p-0",attrs:{id:"config-information"}},[i("div",{staticClass:"d-flex"},[i("b-col",{staticClass:"p-16 m-auto text-center",attrs:{sm:"4",md:"4",lg:"4"}},[i("img",{attrs:{src:o("3875"),width:"300"}})]),i("b-col",{staticClass:"p-4",attrs:{sm:"8",md:"8",lg:"8"}},[i("h1",[t._v(t._s(t.$t("configure.incentivePanel.title")))]),i("section",["settings"===t.app?i("div",[i("h2",[t._v(t._s(t.$t("configure.incentivePanel.howTo")))]),i("p",[t._v(" "+t._s(t.$t("configure.incentivePanel.createPsAccount"))+" ")]),i("p",[t._v(" "+t._s(t.$t("configure.incentivePanel.linkPsAccount"))+" ")])]):t._e()])])],1)])},a=[],r={name:"ConfigInformation",props:["app","configurationPage"],methods:{startSetup:function(){window.open(this.configurationPage)}}},f=r,p=(o("17b4"),o("2877")),l=Object(p["a"])(f,c,a,!1,null,null,null),u=l.exports,g=o("a85d"),d=o("cebc"),m={components:{PsAccounts:g["PsAccounts"],ConfigInformation:u},methods:Object(s["a"])({},Object(d["c"])({getListProperty:"getListProperty"})),data:function(){return{loading:!0,unwatch:""}},created:function(){var t=this;this.googleLinked&&(this.loading=!0,this.getListProperty()),this.unwatch=this.$store.watch((function(t,n){return{googleLinked:t.settings.googleLinked,countProperty:t.settings.countProperty,listProperty:t.settings.state.listPropertySuccess}}),(function(n){n.googleLinked&&Object.keys(n.listProperty).length<n.countProperty&&t.getListProperty(),Object.keys(n.listProperty).length>=n.countProperty&&(t.loading=!1)}),{immediate:!0})},beforeDestroy:function(){this.unwatch()},computed:{app:function(){return this.$store.state.app.app},connectedAccount:function(){return this.$store.state.settings.connectedAccount}}},h=m,b=(o("0e0f"),Object(p["a"])(h,i,e,!1,null,"c01c0900",null));n["default"]=b.exports},"17b4":function(t,n,o){"use strict";o("cfb7")},3875:function(t,n,o){t.exports=o.p+"img/prestashop-logo.png"},8564:function(t,n,o){var i=o("036b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=o("499e").default;e("fad89efa",i,!0,{sourceMap:!1,shadowMode:!1})},"98b9":function(t,n,o){var i=o("24fb");n=i(!1),n.push([t.i,"#config-information{background-color:#fff}#config-information h1{font-size:18px}#config-information h2{font-size:16px}#config-information img{max-width:100%}#config-information .material-icons{color:#4cbb6c}#config-information section{margin-left:30px}#config-information section ul{padding-left:15px;color:#6c868e}#config-information section ul li{padding-left:10px;line-height:26px}#config-information section .dashboard-app{text-align:center}#config-information section .dashboard-app .btn-primary{color:#fff!important}",""]),t.exports=n},cfb7:function(t,n,o){var i=o("98b9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=o("499e").default;e("021252a4",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |