mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
removed SocialiteCallback.vue
This commit is contained in:
1
public/js/chunks/successfully-email-send.js
vendored
Normal file
1
public/js/chunks/successfully-email-send.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6900],{6632:(t,e,n)=>{n.d(e,{Z:()=>r});var s=n(3645),a=n.n(s)()((function(t){return t[1]}));a.push([t.id,".sync-alt[data-v-0249f6ea]{-webkit-animation:spin-data-v-0249f6ea 1s linear infinite;animation:spin-data-v-0249f6ea 1s linear infinite}@-webkit-keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""]);const r=a},2276:(t,e,n)=>{n.d(e,{Z:()=>c});var s=n(9101);const a={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:s.XCv,RefreshCwIcon:s.Iyk},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};var r=n(3379),i=n.n(r),l=n(6632),o={insert:"head",singleton:!1};i()(l.Z,o);l.Z.locals;const c=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"group mx-auto inline-block flex items-center whitespace-nowrap rounded-lg border-2 border-black px-7 py-2.5 dark:border-gray-300"},[n("span",{staticClass:"pr-1 text-lg font-extrabold"},[t._v("\n "+t._s(t.text)+"\n ")]),t._v(" "),t.loading?n("refresh-cw-icon",{staticClass:"vue-feather text-theme sync-alt -mr-1",attrs:{size:"20"}}):t._e(),t._v(" "),!t.loading&&t.icon?n("chevron-right-icon",{staticClass:"vue-feather text-theme -mr-1",attrs:{size:"20"}}):t._e()],1)}),[],!1,null,"0249f6ea",null).exports},4006:(t,e,n)=>{n.d(e,{Z:()=>a});const s={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};const a=(0,n(1900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isVisible?n("div",{staticClass:"w-full max-w-xl text-center"},[t._t("default")],2):t._e()}),[],!1,null,null,null).exports},868:(t,e,n)=>{n.d(e,{Z:()=>a});const s={name:"AuthContentWrapper"};const a=(0,n(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex items-center justify-center px-2.5 md:px-6"},[t._t("default")],2)}),[],!1,null,null,null).exports},5434:(t,e,n)=>{n.d(e,{Z:()=>i});function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,s)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const r={name:"Headline",props:["description","title"],computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,n(629).Se)(["config"]))};const i=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mb-14"},[t._t("default"),t._v(" "),t.$slots.default?t._e():n("div",[t.config.app_logo?n("img",{staticClass:"mx-auto mb-6 w-28 md:w-32",attrs:{src:t.$getImage(t.config.app_logo),alt:t.config.app_name}}):t._e(),t._v(" "),t.config.app_logo?t._e():n("b",{staticClass:"mb-10 block text-xl font-bold"},[t._v("\n "+t._s(t.config.app_name)+"\n ")])]),t._v(" "),n("h1",{staticClass:"mb-0.5 text-3xl font-extrabold md:text-4xl"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("h2",{staticClass:"text-xl font-normal md:text-2xl"},[t._v("\n "+t._s(t.description)+"\n ")])],2)}),[],!1,null,null,null).exports},7546:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var s=n(868),a=n(4006),r=n(2276),i=n(5434);const l={name:"SuccessfullySendEmail",components:{AuthContentWrapper:s.Z,AuthContent:a.Z,AuthButton:r.Z,Headline:i.Z}};const o=(0,n(1900).Z)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("AuthContentWrapper",{staticClass:"h-screen"},[n("AuthContent",{attrs:{visible:!0}},[n("Headline",{attrs:{title:t.$t("page_email_successfully_send.title"),description:t.$t("page_email_successfully_send.subtitle")}}),t._v(" "),n("span",{staticClass:"block"},[n("router-link",{staticClass:"text-theme font-bold",attrs:{to:{name:"Homepage"}}},[t._v("\n "+t._s(t.$t("go_home"))+"\n ")])],1)],1)],1)}),[],!1,null,null,null).exports}}]);
|
||||
1
public/js/chunks/successfully-email-verified.js
vendored
Normal file
1
public/js/chunks/successfully-email-verified.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8283],{6632:(t,e,n)=>{n.d(e,{Z:()=>i});var r=n(3645),s=n.n(r)()((function(t){return t[1]}));s.push([t.id,".sync-alt[data-v-0249f6ea]{-webkit-animation:spin-data-v-0249f6ea 1s linear infinite;animation:spin-data-v-0249f6ea 1s linear infinite}@-webkit-keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""]);const i=s},2276:(t,e,n)=>{n.d(e,{Z:()=>c});var r=n(9101);const s={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:r.XCv,RefreshCwIcon:r.Iyk},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};var i=n(3379),a=n.n(i),o=n(6632),l={insert:"head",singleton:!1};a()(o.Z,l);o.Z.locals;const c=(0,n(1900).Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"group mx-auto inline-block flex items-center whitespace-nowrap rounded-lg border-2 border-black px-7 py-2.5 dark:border-gray-300"},[n("span",{staticClass:"pr-1 text-lg font-extrabold"},[t._v("\n "+t._s(t.text)+"\n ")]),t._v(" "),t.loading?n("refresh-cw-icon",{staticClass:"vue-feather text-theme sync-alt -mr-1",attrs:{size:"20"}}):t._e(),t._v(" "),!t.loading&&t.icon?n("chevron-right-icon",{staticClass:"vue-feather text-theme -mr-1",attrs:{size:"20"}}):t._e()],1)}),[],!1,null,"0249f6ea",null).exports},4006:(t,e,n)=>{n.d(e,{Z:()=>s});const r={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};const s=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isVisible?n("div",{staticClass:"w-full max-w-xl text-center"},[t._t("default")],2):t._e()}),[],!1,null,null,null).exports},868:(t,e,n)=>{n.d(e,{Z:()=>s});const r={name:"AuthContentWrapper"};const s=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex items-center justify-center px-2.5 md:px-6"},[t._t("default")],2)}),[],!1,null,null,null).exports},5434:(t,e,n)=>{n.d(e,{Z:()=>a});function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const i={name:"Headline",props:["description","title"],computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,n(629).Se)(["config"]))};const a=(0,n(1900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mb-14"},[t._t("default"),t._v(" "),t.$slots.default?t._e():n("div",[t.config.app_logo?n("img",{staticClass:"mx-auto mb-6 w-28 md:w-32",attrs:{src:t.$getImage(t.config.app_logo),alt:t.config.app_name}}):t._e(),t._v(" "),t.config.app_logo?t._e():n("b",{staticClass:"mb-10 block text-xl font-bold"},[t._v("\n "+t._s(t.config.app_name)+"\n ")])]),t._v(" "),n("h1",{staticClass:"mb-0.5 text-3xl font-extrabold md:text-4xl"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("h2",{staticClass:"text-xl font-normal md:text-2xl"},[t._v("\n "+t._s(t.description)+"\n ")])],2)}),[],!1,null,null,null).exports},3194:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var r=n(868),s=n(4006),i=n(2276),a=n(5434);const o={name:"SuccessfullyEmailVerified",components:{AuthContentWrapper:r.Z,AuthContent:s.Z,AuthButton:i.Z,Headline:a.Z}};const l=(0,n(1900).Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("AuthContentWrapper",{staticClass:"h-screen"},[n("AuthContent",{attrs:{visible:!0}},[n("Headline",{attrs:{title:t.$t("page_email_successfully_verified.title"),description:t.$t("page_email_successfully_verified.subtitle")}}),t._v(" "),n("router-link",{attrs:{to:{name:"SignIn"}}},[n("AuthButton",{attrs:{icon:"chevron-right",text:t.$t("page_sign_in.button_log_in")}})],1)],1)],1)}),[],!1,null,null,null).exports}}]);
|
||||
2
public/js/main.js
vendored
2
public/js/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -51,7 +51,8 @@
|
||||
"/js/chunks/homepage.js": "/js/chunks/homepage.js",
|
||||
"/js/chunks/dynamic-page.js": "/js/chunks/dynamic-page.js",
|
||||
"/js/chunks/contact-us.js": "/js/chunks/contact-us.js",
|
||||
"/js/chunks/email-verified.js": "/js/chunks/email-verified.js",
|
||||
"/js/chunks/successfully-email-verified.js": "/js/chunks/successfully-email-verified.js",
|
||||
"/js/chunks/successfully-email-send.js": "/js/chunks/successfully-email-send.js",
|
||||
"/js/chunks/sign-in.js": "/js/chunks/sign-in.js",
|
||||
"/js/chunks/sign-up.js": "/js/chunks/sign-up.js",
|
||||
"/js/chunks/forgotten-password.js": "/js/chunks/forgotten-password.js",
|
||||
|
||||
12
resources/js/routes/routesAuth.js
vendored
12
resources/js/routes/routesAuth.js
vendored
@@ -1,17 +1,9 @@
|
||||
const routesAuth = [
|
||||
{
|
||||
name: 'SocialiteCallback',
|
||||
path: '/socialite/:provider/callback',
|
||||
component: () => import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SocialiteCallback'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SuccessfullyVerified',
|
||||
path: '/successfully-verified',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullyEmailVerified'),
|
||||
import(/* webpackChunkName: "chunks/successfully-email-verified" */ '../views/Auth/SuccessfullyEmailVerified'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
@@ -19,7 +11,7 @@ const routesAuth = [
|
||||
{
|
||||
name: 'SuccessfullySend',
|
||||
path: '/successfully-send',
|
||||
component: () => import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullySendEmail'),
|
||||
component: () => import(/* webpackChunkName: "chunks/successfully-email-send" */ '../views/Auth/SuccessfullySendEmail'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
<template>
|
||||
<Spinner />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Spinner from '../../components/FilesView/Spinner'
|
||||
import { events } from '../../bus'
|
||||
|
||||
export default {
|
||||
name: 'SocialiteCallback',
|
||||
components: {
|
||||
Spinner,
|
||||
},
|
||||
created() {
|
||||
axios
|
||||
.get(`/api${this.$route.fullPath}`)
|
||||
.then(() => {
|
||||
// Set login state
|
||||
this.$store.commit('SET_AUTHORIZED', true)
|
||||
|
||||
// Go to files page
|
||||
this.$router.push({ name: 'Files' })
|
||||
})
|
||||
.catch((error) => {
|
||||
if (error.response.status === 401) {
|
||||
events.$emit('alert:open', {
|
||||
title: error.response.data.message,
|
||||
})
|
||||
} else {
|
||||
this.$isSomethingWrong()
|
||||
}
|
||||
|
||||
this.$router.push({ name: 'SignIn' })
|
||||
})
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user