myPrayerJournal v2 #27
@ -20,7 +20,6 @@
|
|||||||
"vue-material": "^1.0.0-beta-11",
|
"vue-material": "^1.0.0-beta-11",
|
||||||
"vue-progressbar": "^0.7.3",
|
"vue-progressbar": "^0.7.3",
|
||||||
"vue-router": "^3.0.0",
|
"vue-router": "^3.0.0",
|
||||||
"vue-toast": "^3.1.0",
|
|
||||||
"vuex": "^3.0.1"
|
"vuex": "^3.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,15 +1,23 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
md-app(md-waterfall md-mode='fixed-last' role='application')
|
#app
|
||||||
p navigation here
|
md-app(md-waterfall md-mode='fixed-last' role='application')
|
||||||
|
md-app-toolbar.md-large.md-dense.md-primary
|
||||||
|
.md-toolbar-row
|
||||||
|
.md-toolbar-section-start
|
||||||
|
span.md-title
|
||||||
|
span(style='font-weight:100;') my
|
||||||
|
span(style='font-weight:400;') Prayer
|
||||||
|
span(style='font-weight:700;') Journal
|
||||||
navigation
|
navigation
|
||||||
p navigation there
|
|
||||||
md-app-drawer(:md-active.sync='menuVisible')
|
|
||||||
| test
|
|
||||||
md-app-content
|
md-app-content
|
||||||
router-view
|
router-view
|
||||||
vue-progress-bar
|
vue-progress-bar
|
||||||
toast(ref='toast')
|
md-snackbar(:md-active.sync='snackbar.visible'
|
||||||
p.mpj-muted-text
|
md-position='center'
|
||||||
|
:md-duration='snackbar.interval'
|
||||||
|
ref='snackbar')
|
||||||
|
| {{ snackbar.message }}
|
||||||
|
p.mpj-muted-text.mpj-text-right
|
||||||
| myPrayerJournal v{{ version }}
|
| myPrayerJournal v{{ version }}
|
||||||
br
|
br
|
||||||
em: small.
|
em: small.
|
||||||
@ -22,7 +30,9 @@ md-app(md-waterfall md-mode='fixed-last' role='application')
|
|||||||
<script>
|
<script>
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
import Navigation from './components/common/Navigation.vue'
|
import Vue from 'vue'
|
||||||
|
|
||||||
|
import Navigation from '@/components/common/Navigation'
|
||||||
|
|
||||||
import { version } from '../package.json'
|
import { version } from '../package.json'
|
||||||
|
|
||||||
@ -32,14 +42,22 @@ export default {
|
|||||||
Navigation
|
Navigation
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {}
|
return {
|
||||||
|
messageEvents: new Vue(),
|
||||||
|
snackbar: {
|
||||||
|
visible: false,
|
||||||
|
message: '',
|
||||||
|
interval: 4000
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.$refs.toast.setOptions({ position: 'bottom right' })
|
this.messageEvents.$on('info', this.showInfo)
|
||||||
|
this.messageEvents.$on('error', this.showError)
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
toast () {
|
messages () {
|
||||||
return this.$refs.toast
|
return this.messageEvents
|
||||||
},
|
},
|
||||||
version () {
|
version () {
|
||||||
return version.endsWith('.0')
|
return version.endsWith('.0')
|
||||||
@ -48,6 +66,25 @@ export default {
|
|||||||
: version.substr(0, version.length - 2)
|
: version.substr(0, version.length - 2)
|
||||||
: version
|
: version
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
showSnackbar (message) {
|
||||||
|
this.snackbar.message = message
|
||||||
|
this.snackbar.visible = true
|
||||||
|
},
|
||||||
|
showInfo (message) {
|
||||||
|
this.snackbar.interval = 4000
|
||||||
|
this.showSnackbar(message)
|
||||||
|
},
|
||||||
|
showError (message) {
|
||||||
|
this.snackbar.interval = Infinity
|
||||||
|
this.showSnackbar(message)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
provide () {
|
||||||
|
return {
|
||||||
|
messages: this.messageEvents
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -58,10 +95,6 @@ html, body {
|
|||||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
body {
|
|
||||||
padding-top: 50px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
h1, h2, h3, h4, h5 {
|
h1, h2, h3, h4, h5 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -11,15 +11,11 @@ article.mpj-main-content-wide(role='main')
|
|||||||
.mpj-journal(v-if='journal.length > 0')
|
.mpj-journal(v-if='journal.length > 0')
|
||||||
request-card(v-for='request in journal'
|
request-card(v-for='request in journal'
|
||||||
:key='request.requestId'
|
:key='request.requestId'
|
||||||
:request='request'
|
:request='request')
|
||||||
:events='eventBus'
|
|
||||||
:toast='toast')
|
|
||||||
p.text-center(v-else): em.
|
p.text-center(v-else): em.
|
||||||
No requests found; click the “Add a New Request” button to add one
|
No requests found; click the “Add a New Request” button to add one
|
||||||
notes-edit(:events='eventBus'
|
notes-edit
|
||||||
:toast='toast')
|
snooze-request
|
||||||
snooze-request(:events='eventBus'
|
|
||||||
:toast='toast')
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -36,6 +32,7 @@ import actions from '@/store/action-types'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'journal',
|
name: 'journal',
|
||||||
|
inject: ['messages'],
|
||||||
components: {
|
components: {
|
||||||
NotesEdit,
|
NotesEdit,
|
||||||
RequestCard,
|
RequestCard,
|
||||||
@ -50,14 +47,19 @@ export default {
|
|||||||
title () {
|
title () {
|
||||||
return `${this.user.given_name}’s Prayer Journal`
|
return `${this.user.given_name}’s Prayer Journal`
|
||||||
},
|
},
|
||||||
toast () {
|
snackbar () {
|
||||||
return this.$parent.$refs.toast
|
return this.$parent.$refs.snackbar
|
||||||
},
|
},
|
||||||
...mapState(['user', 'journal', 'isLoadingJournal'])
|
...mapState(['user', 'journal', 'isLoadingJournal'])
|
||||||
},
|
},
|
||||||
async created () {
|
async created () {
|
||||||
await this.$store.dispatch(actions.LOAD_JOURNAL, this.$Progress)
|
await this.$store.dispatch(actions.LOAD_JOURNAL, this.$Progress)
|
||||||
this.toast.showToast(`Loaded ${this.journal.length} prayer requests`, { theme: 'success' })
|
this.messages.$emit('info', `Loaded ${this.journal.length} prayer requests`)
|
||||||
|
},
|
||||||
|
provide () {
|
||||||
|
return {
|
||||||
|
journalEvents: this.eventBus
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
md-toolbar.md-large.md-dense.md-primary
|
.md-toolbar-row
|
||||||
.md-toolbar-row
|
|
||||||
.md-toolbar-section-start
|
|
||||||
| howdy
|
|
||||||
span.md-title
|
|
||||||
span(style='font-weight:100;') my
|
|
||||||
span(style='font-weight:600;') Prayer
|
|
||||||
span(style='font-weight:700;') Journal
|
|
||||||
.md-toolbar-section-end
|
|
||||||
| ""
|
|
||||||
.md-toolbar-row
|
|
||||||
md-tabs.md-primary
|
md-tabs.md-primary
|
||||||
md-tab#mpj-home(md-label='Home'
|
md-tab#mpj-home(md-label='Home'
|
||||||
:to="{ name: 'Home' }")
|
:to="{ name: 'Home' }")
|
||||||
|
@ -6,8 +6,7 @@ article.mpj-main-content(role='main')
|
|||||||
No active requests found; return to #[router-link(:to='{ name: "Journal" } ') your journal]
|
No active requests found; return to #[router-link(:to='{ name: "Journal" } ') your journal]
|
||||||
request-list-item(v-for='req in requests'
|
request-list-item(v-for='req in requests'
|
||||||
:key='req.requestId'
|
:key='req.requestId'
|
||||||
:request='req'
|
:request='req')
|
||||||
:toast='toast')
|
|
||||||
p(v-else) Loading journal...
|
p(v-else) Loading journal...
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -32,9 +31,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
toast () {
|
|
||||||
return this.$parent.$refs.toast
|
|
||||||
},
|
|
||||||
...mapState(['journal', 'isLoadingJournal'])
|
...mapState(['journal', 'isLoadingJournal'])
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
@ -6,8 +6,7 @@ article.mpj-main-content(role='main')
|
|||||||
No answered requests found; once you have marked one as “Answered”, it will appear here
|
No answered requests found; once you have marked one as “Answered”, it will appear here
|
||||||
request-list-item(v-for='req in requests'
|
request-list-item(v-for='req in requests'
|
||||||
:key='req.requestId'
|
:key='req.requestId'
|
||||||
:request='req'
|
:request='req')
|
||||||
:toast='toast')
|
|
||||||
p(v-else) Loading answered requests...
|
p(v-else) Loading answered requests...
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -20,6 +19,7 @@ import RequestListItem from '@/components/request/RequestListItem'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'answered-requests',
|
name: 'answered-requests',
|
||||||
|
inject: ['messages'],
|
||||||
components: {
|
components: {
|
||||||
RequestListItem
|
RequestListItem
|
||||||
},
|
},
|
||||||
@ -29,11 +29,6 @@ export default {
|
|||||||
loaded: false
|
loaded: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
toast () {
|
|
||||||
return this.$parent.$refs.toast
|
|
||||||
}
|
|
||||||
},
|
|
||||||
async mounted () {
|
async mounted () {
|
||||||
this.$Progress.start()
|
this.$Progress.start()
|
||||||
try {
|
try {
|
||||||
@ -42,7 +37,7 @@ export default {
|
|||||||
this.$Progress.finish()
|
this.$Progress.finish()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
this.toast.showToast('Error loading requests; check console for details', { theme: 'danger' })
|
this.messages.$emit('error', 'Error loading requests; check console for details')
|
||||||
this.$Progress.fail()
|
this.$Progress.fail()
|
||||||
} finally {
|
} finally {
|
||||||
this.loaded = true
|
this.loaded = true
|
||||||
|
@ -77,6 +77,7 @@ import actions from '@/store/action-types'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'edit-request',
|
name: 'edit-request',
|
||||||
|
inject: ['messages'],
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -112,9 +113,6 @@ export default {
|
|||||||
showRecurrence () {
|
showRecurrence () {
|
||||||
return this.form.recur.typ !== 'Immediate'
|
return this.form.recur.typ !== 'Immediate'
|
||||||
},
|
},
|
||||||
toast () {
|
|
||||||
return this.$parent.$refs.toast
|
|
||||||
},
|
|
||||||
...mapState(['journal'])
|
...mapState(['journal'])
|
||||||
},
|
},
|
||||||
async mounted () {
|
async mounted () {
|
||||||
@ -169,7 +167,7 @@ export default {
|
|||||||
recurType: this.form.recur.typ === 'Immediate' ? 'Immediate' : this.form.recur.other,
|
recurType: this.form.recur.typ === 'Immediate' ? 'Immediate' : this.form.recur.other,
|
||||||
recurCount: this.form.recur.typ === 'Immediate' ? 0 : Number.parseInt(this.form.recur.count)
|
recurCount: this.form.recur.typ === 'Immediate' ? 0 : Number.parseInt(this.form.recur.count)
|
||||||
})
|
})
|
||||||
this.toast.showToast('New prayer request added', { theme: 'success' })
|
this.messages.$emit('info', 'New prayer request added')
|
||||||
} else {
|
} else {
|
||||||
await this.$store.dispatch(actions.UPDATE_REQUEST, {
|
await this.$store.dispatch(actions.UPDATE_REQUEST, {
|
||||||
progress: this.$Progress,
|
progress: this.$Progress,
|
||||||
@ -180,9 +178,9 @@ export default {
|
|||||||
recurCount: this.form.recur.typ === 'Immediate' ? 0 : Number.parseInt(this.form.recur.count)
|
recurCount: this.form.recur.typ === 'Immediate' ? 0 : Number.parseInt(this.form.recur.count)
|
||||||
})
|
})
|
||||||
if (this.form.status === 'Answered') {
|
if (this.form.status === 'Answered') {
|
||||||
this.toast.showToast('Request updated and removed from active journal', { theme: 'success' })
|
this.messages.$emit('info', 'Request updated and removed from active journal')
|
||||||
} else {
|
} else {
|
||||||
this.toast.showToast('Request updated', { theme: 'success' })
|
this.messages.$emit('info', 'Request updated')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.goBack()
|
this.goBack()
|
||||||
|
@ -37,10 +37,10 @@ import api from '@/api'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'notes-edit',
|
name: 'notes-edit',
|
||||||
props: {
|
inject: [
|
||||||
toast: { required: true },
|
'messages',
|
||||||
events: { required: true }
|
'journalEvents'
|
||||||
},
|
],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
notesVisible: false,
|
notesVisible: false,
|
||||||
@ -61,7 +61,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.events.$on('notes', this.openDialog)
|
this.journalEvents.$on('notes', this.openDialog)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeDialog () {
|
closeDialog () {
|
||||||
@ -93,7 +93,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
await api.addNote(this.form.requestId, this.form.notes)
|
await api.addNote(this.form.requestId, this.form.notes)
|
||||||
this.$Progress.finish()
|
this.$Progress.finish()
|
||||||
this.toast.showToast('Added notes', { theme: 'success' })
|
this.messages.$emit('info', 'Added notes')
|
||||||
this.closeDialog()
|
this.closeDialog()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
|
@ -21,10 +21,12 @@ import actions from '@/store/action-types'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'request-card',
|
name: 'request-card',
|
||||||
|
inject: [
|
||||||
|
'messages',
|
||||||
|
'journalEvents'
|
||||||
|
],
|
||||||
props: {
|
props: {
|
||||||
request: { required: true },
|
request: { required: true }
|
||||||
toast: { required: true },
|
|
||||||
events: { required: true }
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
shouldDisplay () {
|
shouldDisplay () {
|
||||||
@ -40,16 +42,16 @@ export default {
|
|||||||
status: 'Prayed',
|
status: 'Prayed',
|
||||||
updateText: ''
|
updateText: ''
|
||||||
})
|
})
|
||||||
this.toast.showToast('Request marked as prayed', { theme: 'success' })
|
this.messages.$emit('info', 'Request marked as prayed')
|
||||||
},
|
},
|
||||||
showEdit () {
|
showEdit () {
|
||||||
this.$router.push({ name: 'EditRequest', params: { id: this.request.requestId } })
|
this.$router.push({ name: 'EditRequest', params: { id: this.request.requestId } })
|
||||||
},
|
},
|
||||||
showNotes () {
|
showNotes () {
|
||||||
this.events.$emit('notes', this.request)
|
this.journalEvents.$emit('notes', this.request)
|
||||||
},
|
},
|
||||||
snooze () {
|
snooze () {
|
||||||
this.events.$emit('snooze', this.request.requestId)
|
this.journalEvents.$emit('snooze', this.request.requestId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,9 +35,9 @@ import actions from '@/store/action-types'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'request-list-item',
|
name: 'request-list-item',
|
||||||
|
inject: ['messages'],
|
||||||
props: {
|
props: {
|
||||||
request: { required: true },
|
request: { required: true }
|
||||||
toast: { required: true }
|
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {}
|
return {}
|
||||||
@ -63,7 +63,7 @@ export default {
|
|||||||
requestId: this.request.requestId,
|
requestId: this.request.requestId,
|
||||||
until: 0
|
until: 0
|
||||||
})
|
})
|
||||||
this.toast.showToast('Request un-snoozed', { theme: 'success' })
|
this.messages.$emit('info', 'Request un-snoozed')
|
||||||
this.$parent.$emit('requestUnsnoozed')
|
this.$parent.$emit('requestUnsnoozed')
|
||||||
},
|
},
|
||||||
editRequest () {
|
editRequest () {
|
||||||
@ -75,7 +75,7 @@ export default {
|
|||||||
requestId: this.request.requestId,
|
requestId: this.request.requestId,
|
||||||
showAfter: Date.now()
|
showAfter: Date.now()
|
||||||
})
|
})
|
||||||
this.toast.showToast('Recurrence skipped; request now shows in journal', { theme: 'success' })
|
this.messages.$emit('info', 'Recurrence skipped; request now shows in journal')
|
||||||
this.$parent.$emit('requestNowShown')
|
this.$parent.$emit('requestNowShown')
|
||||||
},
|
},
|
||||||
viewFull () {
|
viewFull () {
|
||||||
|
@ -26,8 +26,8 @@ import actions from '@/store/action-types'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'snooze-request',
|
name: 'snooze-request',
|
||||||
|
inject: ['messages'],
|
||||||
props: {
|
props: {
|
||||||
toast: { required: true },
|
|
||||||
events: { required: true }
|
events: { required: true }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
@ -63,7 +63,7 @@ export default {
|
|||||||
requestId: this.form.requestId,
|
requestId: this.form.requestId,
|
||||||
until: Date.parse(this.form.snoozedUntil)
|
until: Date.parse(this.form.snoozedUntil)
|
||||||
})
|
})
|
||||||
this.toast.showToast(`Request snoozed until ${this.form.snoozedUntil}`, { theme: 'success' })
|
this.messages.$emit('info', `Request snoozed until ${this.form.snoozedUntil}`)
|
||||||
this.closeDialog()
|
this.closeDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,7 @@ article.mpj-main-content(role='main')
|
|||||||
No snoozed requests found; return to #[router-link(:to='{ name: "Journal" } ') your journal]
|
No snoozed requests found; return to #[router-link(:to='{ name: "Journal" } ') your journal]
|
||||||
request-list-item(v-for='req in requests'
|
request-list-item(v-for='req in requests'
|
||||||
:key='req.requestId'
|
:key='req.requestId'
|
||||||
:request='req'
|
:request='req')
|
||||||
:toast='toast')
|
|
||||||
p(v-else) Loading journal...
|
p(v-else) Loading journal...
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -32,9 +31,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
toast () {
|
|
||||||
return this.$parent.$refs.toast
|
|
||||||
},
|
|
||||||
...mapState(['journal', 'isLoadingJournal'])
|
...mapState(['journal', 'isLoadingJournal'])
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
// Vue packages and components
|
// Vue packages and components
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import VueMaterial from 'vue-material'
|
import VueMaterial from 'vue-material'
|
||||||
import VueProgressBar from 'vue-progressbar'
|
import VueProgressBar from 'vue-progressbar'
|
||||||
import VueToast from 'vue-toast'
|
|
||||||
|
|
||||||
// myPrayerJournal components
|
// myPrayerJournal components
|
||||||
import App from './App'
|
import App from './App'
|
||||||
@ -11,10 +12,11 @@ import store from './store'
|
|||||||
import DateFromNow from './components/common/DateFromNow'
|
import DateFromNow from './components/common/DateFromNow'
|
||||||
import PageTitle from './components/common/PageTitle'
|
import PageTitle from './components/common/PageTitle'
|
||||||
|
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
import 'vue-material/dist/vue-material.min.css'
|
import 'vue-material/dist/vue-material.min.css'
|
||||||
import 'vue-material/dist/theme/default.css'
|
import 'vue-material/dist/theme/default.css'
|
||||||
import 'vue-toast/dist/vue-toast.min.css'
|
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
|
||||||
@ -32,7 +34,6 @@ Vue.use(VueProgressBar, {
|
|||||||
Vue.use(VueMaterial)
|
Vue.use(VueMaterial)
|
||||||
Vue.component('date-from-now', DateFromNow)
|
Vue.component('date-from-now', DateFromNow)
|
||||||
Vue.component('page-title', PageTitle)
|
Vue.component('page-title', PageTitle)
|
||||||
Vue.component('toast', VueToast)
|
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
router,
|
router,
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
/* eslint-disable */
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import Router from 'vue-router'
|
import Router from 'vue-router'
|
||||||
|
|
||||||
@ -13,6 +14,7 @@ import LogOn from '@/components/user/LogOn'
|
|||||||
import PrivacyPolicy from '@/components/legal/PrivacyPolicy'
|
import PrivacyPolicy from '@/components/legal/PrivacyPolicy'
|
||||||
import SnoozedRequests from '@/components/request/SnoozedRequests'
|
import SnoozedRequests from '@/components/request/SnoozedRequests'
|
||||||
import TermsOfService from '@/components/legal/TermsOfService'
|
import TermsOfService from '@/components/legal/TermsOfService'
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
Vue.use(Router)
|
Vue.use(Router)
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
/* eslint-disable */
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
|
|
||||||
@ -8,6 +9,7 @@ import AuthService from '@/auth/AuthService'
|
|||||||
|
|
||||||
import mutations from './mutation-types'
|
import mutations from './mutation-types'
|
||||||
import actions from './action-types'
|
import actions from './action-types'
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex)
|
||||||
|
|
||||||
|
@ -8338,11 +8338,6 @@ vue-template-es2015-compiler@^1.9.0:
|
|||||||
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
|
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
|
||||||
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
|
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
|
||||||
|
|
||||||
vue-toast@^3.1.0:
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/vue-toast/-/vue-toast-3.1.0.tgz#19eb4c8150faf5c31c12f8b897a955d1ac0b5e9e"
|
|
||||||
integrity sha1-GetMgVD69cMcEvi4l6lV0awLXp4=
|
|
||||||
|
|
||||||
vue@^2.5.15:
|
vue@^2.5.15:
|
||||||
version "2.6.10"
|
version "2.6.10"
|
||||||
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"
|
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"
|
||||||
|
Loading…
Reference in New Issue
Block a user