github.com/benoitkugler/goacve@v0.0.0-20201217100549-151ce6e55dc8/server/static/bv/js/accueil.4a19fbe9.js (about) 1 (function(t){function e(e){for(var a,s,o=e[0],c=e[1],l=e[2],p=0,d=[];p<o.length;p++)s=o[p],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&d.push(n[s][0]),n[s]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);u&&u(e);while(d.length)d.shift()();return i.push.apply(i,l||[]),r()}function r(){for(var t,e=0;e<i.length;e++){for(var r=i[e],a=!0,o=1;o<r.length;o++){var c=r[o];0!==n[c]&&(a=!1)}a&&(i.splice(e--,1),t=s(s.s=r[0]))}return t}var a={},n={accueil:0},i=[];function s(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=a,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)s.d(r,a,function(e){return t[e]}.bind(null,a));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/static/bv/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],c=o.push.bind(o);o.push=e,o=o.slice();for(var l=0;l<o.length;l++)e(o[l]);var u=c;i.push([0,"chunk-vendors","chunk-common"]),r()})({0:function(t,e,r){t.exports=r("d39e")},d39e:function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d"),r("0cdd");var a=r("2b0e"),n=(r("135e"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("base-app",{attrs:{title:t.title,isAccueil:!0}},[t.output?r("error",{attrs:{output:t.output}}):t._e(),r("b-modal",{attrs:{title:"Recherche de votre espace de suivi","ok-only":""},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}},[t.mailFound?r("div",[t._v(" Votre adresse mail a bien été utilisée dans une inscription. "),r("br"),t._v(" Un mail de notification vient de vous y être envoyé. ")]):r("div",[t._v(" Votre adresse mail ne fait pas partie des inscriptions enregitrées dans notre base de données. "),r("br"),t._v(" Veuillez nous contacter par "),r("b-link",{attrs:{href:t.mailLien}},[t._v("email")]),t._v(". ")],1)]),r("b-container",{staticClass:"mt-2 mb-4"},[r("h4",{staticClass:"text-center my-3"},[t._v("Bienvenue sur le portail de l'ACVE !")]),r("b-card",[r("b-card-title",{staticClass:"bg-accent d-inline rounded p-2"},[t._v(" Inscriptions ")]),r("b-card-text",[r("b-row",{staticClass:"m-3"},[r("b-col",{attrs:{md:"9",xs:"6"}},[t._v(" Vous souhaitez vous "),r("b",[t._v("inscrire")]),t._v(" à un camp proposé par l'ACVE ? C'est par là ! ")]),r("b-col",{staticClass:"text-right",attrs:{md:"3",xs:"6"}},[r("b-button",{attrs:{variant:"secondary",href:"/inscription"}},[t._v(" INSCRIPTION ")])],1)],1),r("b-row",{staticClass:"m-3"},[r("b-col",{attrs:{md:"7",xs:"12"}},[t._v(" Vous souhaitez accéder à votre "),r("b",[t._v("espace de suivi")]),t._v(" ? Recevez à nouveau votre lien de connection par email. ")]),r("b-col",{staticClass:"text-right",attrs:{md:"5",xs:"12"}},[r("b-row",{attrs:{"no-gutters":""}},[r("b-col",{staticClass:"align-self-center pr-1"},[r("b-form-group",{staticClass:"mb-0"},[r("b-form-input",{attrs:{placeholder:"Mail..."},model:{value:t.mail,callback:function(e){t.mail=e},expression:"mail"}})],1)],1),r("b-col",{staticClass:"align-self-center"},[r("btn",{attrs:{variant:"secondary",disabled:!t.mail},on:{click:t.searchMail}},[t._v(" RETROUVER MON LIEN ")])],1)],1)],1)],1),r("b-row",{staticClass:"m-3"},[r("b-col",{attrs:{md:"9",xs:"6"}},[t._v(" Vous cherchez plus d'informations ? Le site de l'ACVE est ici ! ")]),r("b-col",{staticClass:"text-right",attrs:{md:"3",xs:"6"}},[r("b-button",{attrs:{variant:"secondary",href:"http://acve.asso.fr"}},[t._v(" SITE ACVE ")])],1)],1)],1)],1),r("b-card",{staticClass:"mt-2"},[r("b-card-title",{staticClass:"bg-accent d-inline rounded p-2"},[t._v(" Directeurs ")]),r("b-card-text",[r("b-row",{staticClass:"m-3"},[r("b-col",{attrs:{md:"9",xs:"6"}},[t._v(" Vous êtes un "),r("b",[t._v("directeur de séjour")]),t._v(" ? C'est par ici ! ")]),r("b-col",{staticClass:"text-right",attrs:{md:"3",xs:"6"}},[r("b-button",{attrs:{variant:"secondary",href:"/directeurs/home"}},[t._v(" PORTAIL des DIRECTEURS ")])],1)],1)],1)],1)],1)],1)}),i=[],s=(r("96cf"),r("1da1")),o=r("d4ec"),c=r("bee2"),l=r("262e"),u=r("2caf"),p=r("9ab4"),d=r("2fe1"),b=r("3b54"),v=r("9dc9"),f=r("4163"),h=r("fc87"),m=r("bc3a"),g=r.n(m),_=r("098a"),y=function(t){Object(l["a"])(r,t);var e=Object(u["a"])(r);function r(){return Object(o["a"])(this,r),e.apply(this,arguments)}return Object(c["a"])(r,[{key:"searchMail",value:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={Mail:e},t.prev=1,t.next=4,g.a.post(h["b"]+_["d"].SearchMail,r);case 4:return a=t.sent,t.abrupt("return",a.data);case 8:t.prev=8,t.t0=t["catch"](1),this.notifications.onAxiosError(t.t0);case 11:case"end":return t.stop()}}),t,this,[[1,8]])})));function e(e){return t.apply(this,arguments)}return e}()}]),r}(h["a"]),x=new y,w=function(t){Object(l["a"])(r,t);var e=Object(u["a"])(r);function r(){var t;return Object(o["a"])(this,r),t=e.apply(this,arguments),t.title="Portail ACVE",t.mailLien="mailto:contact@acve.asso.fr?subject=[Lien Espace Personnel]",t.mail="",t.showDialog=!1,t.mailFound=!1,t.C=x,t.output=x.notifications,t}return Object(c["a"])(r,[{key:"searchMail",value:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.spinning=!0,t.next=3,x.searchMail(this.mail);case 3:if(r=t.sent,e.spinning=!1,void 0!=r){t.next=7;break}return t.abrupt("return");case 7:this.mailFound=r.Found,this.showDialog=!0;case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}]),r}(a["default"]);w=p["a"]([Object(d["b"])({components:{BaseApp:b["a"],Error:v["a"],Btn:f["a"]}})],w);var O=w,C=O,j=r("2877"),E=Object(j["a"])(C,n,i,!1,null,null,null),k=E.exports;a["default"].config.productionTip=!1,new a["default"]({render:function(t){return t(k)}}).$mount("#app")}}); 2 //# sourceMappingURL=accueil.4a19fbe9.js.map