lesli_driver 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/lesli_driver/application.js +3388 -1
- data/app/assets/javascripts/lesli_driver/application.js.LICENSE.txt +282 -0
- data/app/controllers/lesli_driver/calendars_controller.rb +71 -0
- data/app/controllers/lesli_driver/events_controller.rb +60 -0
- data/app/helpers/lesli_driver/calendars_helper.rb +4 -0
- data/app/helpers/lesli_driver/events_helper.rb +4 -0
- data/app/models/lesli_driver/account.rb +37 -0
- data/app/models/lesli_driver/calendar.rb +4 -0
- data/app/models/lesli_driver/event.rb +4 -0
- data/app/views/lesli_driver/calendars/_calendar.html.erb +2 -0
- data/app/views/lesli_driver/calendars/_form.html.erb +17 -0
- data/app/views/lesli_driver/calendars/edit.html.erb +10 -0
- data/app/views/lesli_driver/calendars/index.html.erb +14 -0
- data/app/views/lesli_driver/calendars/new.html.erb +9 -0
- data/app/views/lesli_driver/calendars/show.html.erb +1 -0
- data/app/views/lesli_driver/events/_event.html.erb +2 -0
- data/app/views/lesli_driver/events/_form.html.erb +17 -0
- data/app/views/lesli_driver/events/edit.html.erb +10 -0
- data/app/views/lesli_driver/events/index.html.erb +1 -0
- data/app/views/lesli_driver/events/new.html.erb +9 -0
- data/app/views/lesli_driver/events/show.html.erb +10 -0
- data/app/views/lesli_driver/partials/_engine-navigation.html.erb +2 -2
- data/config/locales/translations.en.yml +2 -0
- data/config/locales/translations.es.yml +2 -0
- data/config/routes.rb +6 -0
- data/lib/lesli_driver/version.rb +2 -2
- data/lib/vue/application.js +6 -2
- data/lib/vue/apps/calendars/show.vue +79 -0
- data/lib/vue/apps/events/index.vue +48 -0
- data/lib/vue/components/agenda.vue +24 -10
- data/lib/vue/components/calendar.vue +26 -9
- data/lib/vue/components/event.vue +9 -59
- data/lib/vue/components/form.vue +4 -4
- data/lib/vue/stores/calendar.js +1 -3
- data/lib/vue/stores/{event.js → events.js} +2 -2
- data/lib/vue/stores/translations.json +2 -0
- data/readme.md +6 -2
- metadata +29 -6
- data/db/migrate/20231007030328_create_lesli_driver_dashboards.rb +0 -8
- data/lib/vue/apps/calendar/show.vue +0 -34
@@ -0,0 +1,79 @@
|
|
1
|
+
<script setup>
|
2
|
+
/*
|
3
|
+
Copyright (c) 2023, all rights reserved.
|
4
|
+
|
5
|
+
All the information provided by this platform is protected by international laws related to
|
6
|
+
industrial property, intellectual property, copyright and relative international laws.
|
7
|
+
All intellectual or industrial property rights of the code, texts, trade mark, design,
|
8
|
+
pictures and any other information belongs to the owner of this platform.
|
9
|
+
|
10
|
+
Without the written permission of the owner, any replication, modification,
|
11
|
+
transmission, publication is strictly forbidden.
|
12
|
+
|
13
|
+
For more information read the license file including with this software.
|
14
|
+
|
15
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
16
|
+
// ·
|
17
|
+
*/
|
18
|
+
|
19
|
+
|
20
|
+
// · import vue tools
|
21
|
+
import { ref, reactive, onMounted, watch, computed, inject } from "vue"
|
22
|
+
import { useRouter, useRoute } from "vue-router"
|
23
|
+
|
24
|
+
|
25
|
+
// ·
|
26
|
+
const useDate = inject("date")
|
27
|
+
const date = useDate()
|
28
|
+
|
29
|
+
|
30
|
+
// · Import components
|
31
|
+
import componentCalendar from "LesliDriver/components/calendar.vue"
|
32
|
+
import componentAgenda from "LesliDriver/components/agenda.vue"
|
33
|
+
import componentPanelEvent from "LesliDriver/components/event.vue"
|
34
|
+
|
35
|
+
</script>
|
36
|
+
<template>
|
37
|
+
<lesli-application-container dashboard>
|
38
|
+
<lesli-header :title="date.dateWords()">
|
39
|
+
<div class="field has-addons m-0">
|
40
|
+
<div class="control">
|
41
|
+
<lesli-button icon="arrow_back_ios">
|
42
|
+
prev
|
43
|
+
</lesli-button>
|
44
|
+
</div>
|
45
|
+
<div class="control">
|
46
|
+
<lesli-button>
|
47
|
+
today
|
48
|
+
</lesli-button>
|
49
|
+
</div>
|
50
|
+
<div class="control">
|
51
|
+
<button class="button is-primary is-light is-outlined">
|
52
|
+
<span>next</span>
|
53
|
+
<span class="icon">
|
54
|
+
<span class="material-icons">
|
55
|
+
arrow_forward_ios
|
56
|
+
</span>
|
57
|
+
</span>
|
58
|
+
</button>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<lesli-button main icon="add">
|
63
|
+
Add event
|
64
|
+
</lesli-button>
|
65
|
+
</lesli-header>
|
66
|
+
<div class="columns">
|
67
|
+
<div class="column is-3">
|
68
|
+
<component-agenda>
|
69
|
+
</component-agenda>
|
70
|
+
</div>
|
71
|
+
<div class="column">
|
72
|
+
<component-calendar class="mt-4">
|
73
|
+
</component-calendar>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<component-panel-event></component-panel-event>
|
78
|
+
</lesli-application-container>
|
79
|
+
</template>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<script setup>
|
2
|
+
/*
|
3
|
+
Lesli
|
4
|
+
|
5
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
6
|
+
|
7
|
+
This program is free software: you can redistribute it and/or modify
|
8
|
+
it under the terms of the GNU General Public License as published by
|
9
|
+
the Free Software Foundation, either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
This program is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU General Public License
|
18
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
|
+
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
|
+
|
22
|
+
Made with ♥ by https://www.lesli.tech
|
23
|
+
Building a better future, one line of code at a time.
|
24
|
+
|
25
|
+
@contact hello@lesli.tech
|
26
|
+
@website https://www.lesli.tech
|
27
|
+
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
|
+
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
|
+
// ·
|
31
|
+
*/
|
32
|
+
|
33
|
+
|
34
|
+
// · import vue tools
|
35
|
+
import { ref, reactive, onMounted, watch, computed, inject } from "vue"
|
36
|
+
import { useRouter, useRoute } from "vue-router"
|
37
|
+
|
38
|
+
|
39
|
+
// · Import components
|
40
|
+
|
41
|
+
|
42
|
+
</script>
|
43
|
+
<template>
|
44
|
+
<lesli-application-container>
|
45
|
+
<lesli-header title="Events">
|
46
|
+
</lesli-header>
|
47
|
+
</lesli-application-container>
|
48
|
+
</template>
|
@@ -1,18 +1,32 @@
|
|
1
1
|
<script setup>
|
2
2
|
/*
|
3
|
-
|
3
|
+
Lesli
|
4
4
|
|
5
|
-
|
6
|
-
industrial property, intellectual property, copyright and relative international laws.
|
7
|
-
All intellectual or industrial property rights of the code, texts, trade mark, design,
|
8
|
-
pictures and any other information belongs to the owner of this platform.
|
5
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
This program is free software: you can redistribute it and/or modify
|
8
|
+
it under the terms of the GNU General Public License as published by
|
9
|
+
the Free Software Foundation, either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
12
11
|
|
13
|
-
|
12
|
+
This program is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU General Public License for more details.
|
14
16
|
|
15
|
-
|
17
|
+
You should have received a copy of the GNU General Public License
|
18
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
|
+
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
|
+
|
22
|
+
Made with ♥ by https://www.lesli.tech
|
23
|
+
Building a better future, one line of code at a time.
|
24
|
+
|
25
|
+
@contact hello@lesli.tech
|
26
|
+
@website https://www.lesli.tech
|
27
|
+
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
|
+
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
16
30
|
// ·
|
17
31
|
*/
|
18
32
|
|
@@ -26,7 +40,7 @@ import dayjs from "dayjs"
|
|
26
40
|
|
27
41
|
|
28
42
|
// · import lesli stores
|
29
|
-
import { useCalendar } from
|
43
|
+
import { useCalendar } from "LesliDriver/stores/calendar"
|
30
44
|
|
31
45
|
|
32
46
|
// · implement stores
|
@@ -1,18 +1,33 @@
|
|
1
1
|
<script setup>
|
2
2
|
/*
|
3
|
-
|
3
|
+
Lesli
|
4
4
|
|
5
|
-
|
6
|
-
industrial property, intellectual property, copyright and relative international laws.
|
7
|
-
All intellectual or industrial property rights of the code, texts, trade mark, design,
|
8
|
-
pictures and any other information belongs to the owner of this platform.
|
5
|
+
Copyright (c) 2023, Lesli Technologies, S. A.
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
This program is free software: you can redistribute it and/or modify
|
8
|
+
it under the terms of the GNU General Public License as published by
|
9
|
+
the Free Software Foundation, either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
12
11
|
|
13
|
-
|
12
|
+
This program is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU General Public License for more details.
|
14
16
|
|
15
|
-
|
17
|
+
You should have received a copy of the GNU General Public License
|
18
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
19
|
+
|
20
|
+
Lesli · Ruby on Rails SaaS Development Framework.
|
21
|
+
|
22
|
+
Made with ♥ by https://www.lesli.tech
|
23
|
+
Building a better future, one line of code at a time.
|
24
|
+
|
25
|
+
@contact hello@lesli.tech
|
26
|
+
@website https://www.lesli.tech
|
27
|
+
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
28
|
+
|
29
|
+
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
30
|
+
// ·
|
16
31
|
*/
|
17
32
|
|
18
33
|
|
@@ -28,6 +43,8 @@ import listPlugin from '@fullcalendar/list';
|
|
28
43
|
// ·
|
29
44
|
const date = inject("date")
|
30
45
|
|
46
|
+
|
47
|
+
// ·
|
31
48
|
const storeCalendar = ref({ calendar: null })
|
32
49
|
|
33
50
|
|
@@ -18,80 +18,30 @@ For more information read the license file including with this software.
|
|
18
18
|
|
19
19
|
// · Import components, libraries and tools
|
20
20
|
import { onMounted } from 'vue'
|
21
|
-
import ComponentDiscussions from "LesliVue/cloud-objects/discussion.vue"
|
22
|
-
import ComponentFiles from "LesliVue/cloud-objects/file.vue"
|
23
|
-
import ComponentGuests from './guests.vue'
|
24
|
-
import ComponentForm from './form.vue'
|
25
21
|
|
26
|
-
// · import lesli stores
|
27
|
-
import { useEvent } from 'CloudDriver/stores/event'
|
28
|
-
import { useCalendar } from 'CloudDriver/stores/calendar'
|
29
|
-
import { useUsers } from "LesliVue/stores/users"
|
30
22
|
|
31
|
-
// ·
|
32
|
-
|
33
|
-
|
34
|
-
const storeUsers = useUsers()
|
23
|
+
// ·
|
24
|
+
import { useEvents } from "LesliDriver/stores/events"
|
25
|
+
|
35
26
|
|
36
|
-
|
37
|
-
storeEvent.getOptions()
|
38
|
-
storeUsers.fetchList()
|
39
|
-
})
|
27
|
+
const storeEvents = useEvents()
|
40
28
|
|
41
|
-
const translations = {
|
42
|
-
events: I18n.t('driver.events'),
|
43
|
-
core: I18n.t('core.shared'),
|
44
|
-
}
|
45
29
|
|
46
|
-
|
47
|
-
|
48
|
-
|
30
|
+
// import ComponentDiscussions from "LesliVue/cloud-objects/discussion.vue"
|
31
|
+
// import ComponentFiles from "LesliVue/cloud-objects/file.vue"
|
32
|
+
// import ComponentGuests from './guests.vue'
|
33
|
+
import ComponentForm from './form.vue'
|
49
34
|
|
50
35
|
</script>
|
51
36
|
|
52
37
|
<template>
|
53
38
|
|
54
|
-
<lesli-panel v-model:open="
|
39
|
+
<lesli-panel v-model:open="storeEvents.showModal">
|
55
40
|
<template #header>
|
56
41
|
</template>
|
57
42
|
|
58
43
|
<template #default>
|
59
|
-
<lesli-tabs v-if="storeCalendar.event.id" v-model="tab">
|
60
|
-
|
61
|
-
<lesli-tab-item :title="translations.core.view_tab_title_general_information" icon="info">
|
62
|
-
<ComponentForm />
|
63
|
-
</lesli-tab-item>
|
64
|
-
|
65
|
-
<lesli-tab-item :title="translations.core.view_btn_discussions" icon="forum">
|
66
|
-
<ComponentDiscussions cloud-module="driver" cloud-object="events"
|
67
|
-
:cloud-object-id="storeCalendar.event.id" :onlyDiscussions="true">
|
68
|
-
</ComponentDiscussions>
|
69
|
-
</lesli-tab-item>
|
70
|
-
|
71
|
-
<lesli-tab-item :title="translations.core.view_btn_files" icon="attach_file">
|
72
|
-
<ComponentFiles cloud-module="driver" cloud-object="events"
|
73
|
-
:cloud-object-id="storeCalendar.event.id"
|
74
|
-
:accepted-files="['images', 'documents', 'plaintext']">
|
75
|
-
</ComponentFiles>
|
76
|
-
</lesli-tab-item>
|
77
|
-
|
78
|
-
<lesli-tab-item :title="translations.events.view_tab_title_assignments" icon="group">
|
79
|
-
<ComponentGuests />
|
80
|
-
</lesli-tab-item>
|
81
|
-
|
82
|
-
<lesli-tab-item :title="translations.events.view_tab_title_delete_section" icon="delete">
|
83
|
-
<button @click="deleteEvent()" class="button is-fullwidth has-text-centered is-danger"
|
84
|
-
:disabled="storeEvent.submit.delete">
|
85
|
-
<span class="delete">{{ translations.core.view_btn_delete }}
|
86
|
-
</span>
|
87
|
-
{{ translations.core.view_btn_delete }}
|
88
|
-
</button>
|
89
|
-
</lesli-tab-item>
|
90
|
-
</lesli-tabs>
|
91
|
-
|
92
|
-
<ComponentForm v-else />
|
93
44
|
|
94
45
|
</template>
|
95
46
|
</lesli-panel>
|
96
|
-
|
97
47
|
</template>
|
data/lib/vue/components/form.vue
CHANGED
@@ -17,12 +17,12 @@ For more information read the license file including with this software.
|
|
17
17
|
*/
|
18
18
|
|
19
19
|
// · import lesli stores
|
20
|
-
import { useCalendar } from '
|
21
|
-
import {
|
20
|
+
import { useCalendar } from 'LesliDriver/stores/calendar'
|
21
|
+
import { useEvents } from 'LesliDriver/stores/events'
|
22
22
|
|
23
23
|
// · implement stores
|
24
24
|
const storeCalendar = useCalendar()
|
25
|
-
const storeEvent =
|
25
|
+
const storeEvent = useEvents()
|
26
26
|
|
27
27
|
const translations = {
|
28
28
|
events: I18n.t('driver.events'),
|
@@ -140,4 +140,4 @@ const submitEvent = () => {
|
|
140
140
|
</fieldset>
|
141
141
|
</form>
|
142
142
|
|
143
|
-
</template>
|
143
|
+
</template>
|
data/lib/vue/stores/calendar.js
CHANGED
@@ -30,7 +30,7 @@ import listPlugin from '@fullcalendar/list';
|
|
30
30
|
|
31
31
|
|
32
32
|
// · import lesli stores
|
33
|
-
import {
|
33
|
+
import { useEvents } from 'LesliDriver/stores/events'
|
34
34
|
//import { useGuests } from 'LesliDriver/stores/guests'
|
35
35
|
//import { useUser } from "LesliVue/stores/user"
|
36
36
|
|
@@ -42,8 +42,6 @@ export const useCalendar = defineStore("driver.calendar", {
|
|
42
42
|
return {
|
43
43
|
title: "",
|
44
44
|
calendar: {},
|
45
|
-
|
46
|
-
|
47
45
|
calendarData: {
|
48
46
|
driver_events: [],
|
49
47
|
focus_tasks: [],
|
@@ -21,7 +21,7 @@ For more information read the license file including with this software.
|
|
21
21
|
import { defineStore } from "pinia"
|
22
22
|
|
23
23
|
// ·
|
24
|
-
export const
|
24
|
+
export const useEvents = defineStore("driver.events", {
|
25
25
|
state: () => {
|
26
26
|
return {
|
27
27
|
showModal: false,
|
@@ -50,4 +50,4 @@ export const useEvent = defineStore("driver.event", {
|
|
50
50
|
})
|
51
51
|
},
|
52
52
|
}
|
53
|
-
})
|
53
|
+
})
|
data/readme.md
CHANGED
@@ -4,7 +4,11 @@
|
|
4
4
|
</p>
|
5
5
|
|
6
6
|
<hr/>
|
7
|
-
|
7
|
+
<p align="center">
|
8
|
+
<a target="blank" href="https://rubygems.org/gems/lesli_driver">
|
9
|
+
<img src="https://badge.fury.io/rb/lesli_driver.svg" alt="Gem Version" height="18">
|
10
|
+
</a>
|
11
|
+
</p>
|
8
12
|
<hr/>
|
9
13
|
|
10
14
|
### Quick start
|
@@ -37,7 +41,7 @@ end
|
|
37
41
|
|
38
42
|
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
39
43
|
* [Email: hello@lesli.tech](hello@lesli.tech)
|
40
|
-
* [Twitter: @LesliTech](
|
44
|
+
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
41
45
|
|
42
46
|
|
43
47
|
### License
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lesli_driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Lesli Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -35,24 +35,45 @@ files:
|
|
35
35
|
- app/assets/config/lesli_driver_manifest.js
|
36
36
|
- app/assets/images/lesli_driver/driver-logo.svg
|
37
37
|
- app/assets/javascripts/lesli_driver/application.js
|
38
|
+
- app/assets/javascripts/lesli_driver/application.js.LICENSE.txt
|
38
39
|
- app/assets/stylesheets/lesli_driver/application.scss
|
39
40
|
- app/controllers/lesli_driver/application_controller.rb
|
41
|
+
- app/controllers/lesli_driver/calendars_controller.rb
|
40
42
|
- app/controllers/lesli_driver/dashboards_controller.rb
|
43
|
+
- app/controllers/lesli_driver/events_controller.rb
|
41
44
|
- app/helpers/lesli_driver/application_helper.rb
|
45
|
+
- app/helpers/lesli_driver/calendars_helper.rb
|
42
46
|
- app/helpers/lesli_driver/dashboards_helper.rb
|
47
|
+
- app/helpers/lesli_driver/events_helper.rb
|
43
48
|
- app/jobs/lesli_driver/application_job.rb
|
44
49
|
- app/mailers/lesli_driver/application_mailer.rb
|
50
|
+
- app/models/lesli_driver/account.rb
|
45
51
|
- app/models/lesli_driver/application_record.rb
|
52
|
+
- app/models/lesli_driver/calendar.rb
|
46
53
|
- app/models/lesli_driver/dashboard.rb
|
54
|
+
- app/models/lesli_driver/event.rb
|
55
|
+
- app/views/lesli_driver/calendars/_calendar.html.erb
|
56
|
+
- app/views/lesli_driver/calendars/_form.html.erb
|
57
|
+
- app/views/lesli_driver/calendars/edit.html.erb
|
58
|
+
- app/views/lesli_driver/calendars/index.html.erb
|
59
|
+
- app/views/lesli_driver/calendars/new.html.erb
|
60
|
+
- app/views/lesli_driver/calendars/show.html.erb
|
47
61
|
- app/views/lesli_driver/dashboards/_dashboard.html.erb
|
48
62
|
- app/views/lesli_driver/dashboards/_form.html.erb
|
49
63
|
- app/views/lesli_driver/dashboards/edit.html.erb
|
50
64
|
- app/views/lesli_driver/dashboards/index.html.erb
|
51
65
|
- app/views/lesli_driver/dashboards/new.html.erb
|
52
66
|
- app/views/lesli_driver/dashboards/show.html.erb
|
67
|
+
- app/views/lesli_driver/events/_event.html.erb
|
68
|
+
- app/views/lesli_driver/events/_form.html.erb
|
69
|
+
- app/views/lesli_driver/events/edit.html.erb
|
70
|
+
- app/views/lesli_driver/events/index.html.erb
|
71
|
+
- app/views/lesli_driver/events/new.html.erb
|
72
|
+
- app/views/lesli_driver/events/show.html.erb
|
53
73
|
- app/views/lesli_driver/partials/_engine-navigation.html.erb
|
74
|
+
- config/locales/translations.en.yml
|
75
|
+
- config/locales/translations.es.yml
|
54
76
|
- config/routes.rb
|
55
|
-
- db/migrate/20231007030328_create_lesli_driver_dashboards.rb
|
56
77
|
- db/migrate/v1.0/0301000110_create_lesli_driver_accounts.rb
|
57
78
|
- db/migrate/v1.0/0301100110_create_lesli_driver_calendars.rb
|
58
79
|
- db/migrate/v1.0/0301110110_create_lesli_driver_events.rb
|
@@ -72,15 +93,17 @@ files:
|
|
72
93
|
- lib/lesli_driver/version.rb
|
73
94
|
- lib/tasks/lesli_driver_tasks.rake
|
74
95
|
- lib/vue/application.js
|
75
|
-
- lib/vue/apps/
|
96
|
+
- lib/vue/apps/calendars/show.vue
|
97
|
+
- lib/vue/apps/events/index.vue
|
76
98
|
- lib/vue/components/agenda.vue
|
77
99
|
- lib/vue/components/calendar.vue
|
78
100
|
- lib/vue/components/event.vue
|
79
101
|
- lib/vue/components/form.vue
|
80
102
|
- lib/vue/components/guests.vue
|
81
103
|
- lib/vue/stores/calendar.js
|
82
|
-
- lib/vue/stores/
|
104
|
+
- lib/vue/stores/events.js
|
83
105
|
- lib/vue/stores/guests.js
|
106
|
+
- lib/vue/stores/translations.json
|
84
107
|
- license
|
85
108
|
- readme.md
|
86
109
|
homepage: https://www.lesli.dev/
|
@@ -98,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
121
|
requirements:
|
99
122
|
- - ">="
|
100
123
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
124
|
+
version: 2.7.0
|
102
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
126
|
requirements:
|
104
127
|
- - ">="
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<script setup>
|
2
|
-
/*
|
3
|
-
Copyright (c) 2023, all rights reserved.
|
4
|
-
|
5
|
-
All the information provided by this platform is protected by international laws related to
|
6
|
-
industrial property, intellectual property, copyright and relative international laws.
|
7
|
-
All intellectual or industrial property rights of the code, texts, trade mark, design,
|
8
|
-
pictures and any other information belongs to the owner of this platform.
|
9
|
-
|
10
|
-
Without the written permission of the owner, any replication, modification,
|
11
|
-
transmission, publication is strictly forbidden.
|
12
|
-
|
13
|
-
For more information read the license file including with this software.
|
14
|
-
|
15
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
16
|
-
// ·
|
17
|
-
*/
|
18
|
-
|
19
|
-
|
20
|
-
// · import vue tools
|
21
|
-
import { ref, reactive, onMounted, watch, computed, inject } from "vue"
|
22
|
-
import { useRouter, useRoute } from "vue-router"
|
23
|
-
|
24
|
-
|
25
|
-
// · Import components
|
26
|
-
import componentCalendar from "LesliDriver/components/calendar.vue"
|
27
|
-
|
28
|
-
</script>
|
29
|
-
<template>
|
30
|
-
<lesli-application-container dashboard>
|
31
|
-
<component-calendar class="mt-4">
|
32
|
-
</component-calendar>
|
33
|
-
</lesli-application-container>
|
34
|
-
</template>
|