lesli 5.0.7 → 5.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/lesli_manifest.js +10 -9
  3. data/app/assets/icons/lesli/engine-lesli.svg +1 -0
  4. data/app/assets/icons/lesli/locale-en.svg +1 -0
  5. data/app/assets/icons/lesli/locale-es.svg +1 -0
  6. data/app/assets/javascripts/lesli/users/sessions.js +1 -722
  7. data/app/assets/stylesheets/lesli/templates/application.css +1846 -0
  8. data/app/assets/stylesheets/lesli/templates/public.css +1 -0
  9. data/app/assets/stylesheets/lesli/users/sessions.css +1 -0
  10. data/app/helpers/lesli/navigation_helper.rb +9 -1
  11. data/app/lib/lesli/system.rb +2 -1
  12. data/app/models/concerns/account_initializer.rb +3 -3
  13. data/app/views/lesli/layouts/application-public.html.erb +1 -1
  14. data/app/views/lesli/partials/_application-data.html.erb +3 -1
  15. data/app/views/lesli/partials/_application-lesli-header.html.erb +7 -8
  16. data/app/views/lesli/partials/_application-lesli-icons.html.erb +1 -1
  17. data/app/views/lesli/partials/_application-lesli-javascript.html.erb +1 -1
  18. data/app/views/lesli/partials/_application-public-javascript.html.erb +1 -4
  19. data/app/views/lesli/wrappers/_application-devise.html.erb +2 -2
  20. data/config/initializers/lesli.rb +1 -1
  21. data/db/seeds.rb +2 -4
  22. data/lib/assets/javascripts/lesli/i18n.js +1037 -1037
  23. data/lib/lesli/engine.rb +7 -6
  24. data/lib/lesli/version.rb +2 -2
  25. data/lib/{sass/lesli → scss}/bulma/loader.scss +3 -1
  26. data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/sessions.scss +3 -1
  27. data/lib/{sass/lesli → scss}/fonts/families.scss +3 -3
  28. data/lib/{sass/lesli → scss}/fonts/mdicons.scss +6 -8
  29. data/lib/{sass/lesli → scss}/fonts/remixicons.scss +2 -2
  30. data/lib/{sass/lesli → scss}/layouts/application-header.scss +4 -0
  31. data/lib/{sass/lesli → scss}/layouts/application-sidebar.scss +1 -1
  32. data/lib/{sass/lesli → scss}/pages/devise.scss +5 -1
  33. data/lib/{sass/lesli → scss}/settings/variables.scss +1 -1
  34. data/lib/{sass/lesli → scss}/templates/application.scss +46 -49
  35. data/lib/{sass/lesli → scss}/templates/component.scss +1 -1
  36. data/lib/{sass/lesli → scss}/templates/dashboards.scss +1 -1
  37. data/lib/{sass/lesli → scss}/templates/public.scss +6 -6
  38. data/lib/tasks/lesli/db.rake +42 -24
  39. data/lib/tasks/lesli/docs.rake +47 -0
  40. data/lib/vue/application.js +16 -15
  41. data/lib/vue/devise/sessions.js +1 -1
  42. data/lib/vue/layouts/application-announcements.vue +1 -1
  43. data/lib/vue/layouts/application-engines.vue +1 -1
  44. data/lib/vue/layouts/application-header.vue +9 -9
  45. data/lib/vue/layouts/application-search.vue +1 -1
  46. data/lib/vue/panels/panel-announcements.vue +2 -2
  47. data/lib/vue/panels/panel-files.vue +2 -2
  48. data/lib/vue/panels/panel-notifications.vue +1 -1
  49. data/lib/vue/panels/panel-profile.vue +2 -2
  50. data/lib/vue/panels/panel-tasks.vue +2 -2
  51. data/lib/vue/panels/panel-tickets.vue +2 -2
  52. data/lib/vue/public.js +3 -2
  53. data/lib/vue/{shared → refactor/shared}/cloudobjects/action.vue +1 -1
  54. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/content.vue +2 -2
  55. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/element.vue +2 -2
  56. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/filters.vue +1 -1
  57. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion/new.vue +1 -1
  58. data/lib/vue/{shared → refactor/shared}/cloudobjects/discussion.vue +4 -4
  59. data/lib/vue/{shared → refactor/shared}/cloudobjects/file/grid.vue +2 -2
  60. data/lib/vue/{shared → refactor/shared}/cloudobjects/file/list.vue +2 -2
  61. data/lib/vue/{shared → refactor/shared}/cloudobjects/file.vue +4 -4
  62. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/form.vue +1 -1
  63. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/chatroom-form.vue +1 -1
  64. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-clone-form.vue +1 -1
  65. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/cloud-object-file-form.vue +1 -1
  66. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/email-form.vue +1 -1
  67. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/notification-form.vue +1 -1
  68. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/send-cloud-object-file.vue +1 -1
  69. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/forms/task-form.vue +1 -1
  70. data/lib/vue/{shared → refactor/shared}/workflows2/apps/actions/index.vue +1 -1
  71. data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/form.vue +1 -1
  72. data/lib/vue/{shared → refactor/shared}/workflows2/apps/checks/index.vue +1 -1
  73. data/lib/vue/{shared → refactor/shared}/workflows2/apps/index.vue +1 -1
  74. data/lib/vue/{shared → refactor/shared}/workflows2/apps/new.vue +1 -1
  75. data/lib/vue/{shared → refactor/shared}/workflows2/apps/show.vue +1 -1
  76. data/lib/vue/{shared → refactor/shared}/workflows2/components/associations.vue +1 -1
  77. data/lib/vue/{shared → refactor/shared}/workflows2/components/chart.vue +1 -1
  78. data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-form.vue +1 -1
  79. data/lib/vue/{shared → refactor/shared}/workflows2/components/workflow-status-dropdown.vue +1 -1
  80. data/lib/vue/refactor/stores/translations.json +60 -0
  81. data/lib/vue/shared/dashboards/apps/edit.vue +1 -1
  82. data/lib/vue/shared/dashboards/apps/index.vue +1 -1
  83. data/lib/vue/shared/dashboards/apps/new.vue +1 -1
  84. data/lib/vue/shared/dashboards/apps/show.vue +4 -2
  85. data/lib/vue/shared/dashboards/components/form.vue +1 -1
  86. data/lib/webpack/base.js +133 -132
  87. data/lib/webpack/core.js +9 -3
  88. data/lib/webpack/engines.js +7 -2
  89. data/lib/webpack/version.js +4 -1
  90. data/readme.md +7 -5
  91. metadata +135 -180
  92. data/app/assets/icons/lesli/cloud-development.svg +0 -1
  93. data/app/assets/icons/lesli/cloud-letter.svg +0 -1
  94. data/app/assets/icons/lesli/icon-module.svg +0 -1
  95. data/app/assets/icons/lesli/logo-android.svg +0 -1
  96. data/app/assets/icons/lesli/logo-bulma.svg +0 -1
  97. data/app/assets/icons/lesli/logo-ios.svg +0 -1
  98. data/app/assets/icons/lesli/logo-linux.svg +0 -1
  99. data/app/assets/icons/lesli/logo-mac.svg +0 -1
  100. data/app/assets/icons/lesli/logo-module.svg +0 -1
  101. data/app/assets/icons/lesli/logo-postgresql.svg +0 -1
  102. data/app/assets/icons/lesli/logo-rails.svg +0 -1
  103. data/app/assets/icons/lesli/logo-ruby.svg +0 -1
  104. data/app/assets/icons/lesli/logo-sass.svg +0 -1
  105. data/app/assets/icons/lesli/logo-vue.svg +0 -1
  106. data/app/assets/icons/lesli/logo-web.svg +0 -1
  107. data/app/assets/icons/lesli/logo-windows.svg +0 -1
  108. data/app/assets/images/lesli/brand/app-logo2.svg +0 -52
  109. data/app/assets/javascripts/lesli/users/confirmations.js +0 -32
  110. data/app/assets/javascripts/lesli/users/passwords.js +0 -742
  111. data/app/assets/javascripts/lesli/users/registrations.js +0 -742
  112. data/lib/assets/javascripts/lesli/translations.js +0 -15
  113. data/lib/sass/lesli/elements/form.scss +0 -43
  114. data/lib/sass/lesli/elements/header.scss +0 -44
  115. data/lib/sass/lesli/elements/panel.scss +0 -65
  116. data/lib/sass/lesli/elements/tab.scss +0 -48
  117. /data/app/assets/fonts/lesli/Domine/{Domine-VariableFont_wght.ttf → Domine-Variable.ttf} +0 -0
  118. /data/app/assets/icons/lesli/{cloud-admin.svg → engine-admin.svg} +0 -0
  119. /data/app/assets/icons/lesli/{cloud-audit.svg → engine-audit.svg} +0 -0
  120. /data/app/assets/icons/lesli/{cloud-babel.svg → engine-babel.svg} +0 -0
  121. /data/app/assets/icons/lesli/{cloud-bell.svg → engine-bell.svg} +0 -0
  122. /data/app/assets/icons/lesli/{cloud-books.svg → engine-books.svg} +0 -0
  123. /data/app/assets/icons/lesli/{cloud-lesli.svg → engine-dashboard.svg} +0 -0
  124. /data/app/assets/icons/lesli/{cloud-dispatcher.svg → engine-dispatcher.svg} +0 -0
  125. /data/app/assets/icons/lesli/{cloud-driver.svg → engine-driver.svg} +0 -0
  126. /data/app/assets/icons/lesli/{cloud-focus.svg → engine-focus.svg} +0 -0
  127. /data/app/assets/icons/lesli/{cloud-guard.svg → engine-guard.svg} +0 -0
  128. /data/app/assets/icons/lesli/{cloud-kb.svg → engine-kb.svg} +0 -0
  129. /data/app/assets/icons/lesli/{cloud-leaf.svg → engine-leaf.svg} +0 -0
  130. /data/app/assets/icons/lesli/{cloud-word.svg → engine-letter.svg} +0 -0
  131. /data/app/assets/icons/lesli/{cloud-mailer.svg → engine-mailer.svg} +0 -0
  132. /data/app/assets/icons/lesli/{cloud-one.svg → engine-one.svg} +0 -0
  133. /data/app/assets/icons/lesli/{cloud-profile.svg → engine-profile.svg} +0 -0
  134. /data/app/assets/icons/lesli/{cloud-proposal.svg → engine-proposal.svg} +0 -0
  135. /data/app/assets/icons/lesli/{cloud-scraper.svg → engine-scraper.svg} +0 -0
  136. /data/app/assets/icons/lesli/{cloud-shared.svg → engine-shared.svg} +0 -0
  137. /data/app/assets/icons/lesli/{cloud-storage.svg → engine-storage.svg} +0 -0
  138. /data/app/assets/icons/lesli/{cloud-support.svg → engine-support.svg} +0 -0
  139. /data/app/assets/icons/lesli/{cloud-talk.svg → engine-talk.svg} +0 -0
  140. /data/app/assets/icons/lesli/{cloud-team.svg → engine-team.svg} +0 -0
  141. /data/app/assets/icons/lesli/{cloud-time.svg → engine-time.svg} +0 -0
  142. /data/lib/{sass/lesli → scss}/cloud-objects/discussion.scss +0 -0
  143. /data/lib/{sass/lesli → scss}/cloud-objects/file.scss +0 -0
  144. /data/lib/{sass/lesli → scss}/components/editor-richtext.scss +0 -0
  145. /data/lib/{sass/lesli → scss}/components/keypad.scss +0 -0
  146. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/confirmations.scss +0 -0
  147. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/oauth.scss +0 -0
  148. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/passwords.scss +0 -0
  149. /data/{app/assets/stylesheets/lesli/users → lib/scss/devise}/registrations.scss +0 -0
  150. /data/lib/{sass/lesli → scss}/elements/autocomplete.scss +0 -0
  151. /data/lib/{sass/lesli → scss}/elements/avatar.scss +0 -0
  152. /data/lib/{sass/lesli → scss}/elements/calendar.scss +0 -0
  153. /data/lib/{sass/lesli → scss}/elements/card.scss +0 -0
  154. /data/lib/{sass/lesli → scss}/elements/empty.scss +0 -0
  155. /data/lib/{sass/lesli → scss}/elements/file-uploader.scss +0 -0
  156. /data/lib/{sass/lesli → scss}/elements/gallery.scss +0 -0
  157. /data/lib/{sass/lesli → scss}/elements/input-tag.scss +0 -0
  158. /data/lib/{sass/lesli → scss}/elements/loading.scss +0 -0
  159. /data/lib/{sass/lesli → scss}/elements/map.scss +0 -0
  160. /data/lib/{sass/lesli → scss}/elements/msg.scss +0 -0
  161. /data/lib/{sass/lesli → scss}/elements/navbar.scss +0 -0
  162. /data/lib/{sass/lesli → scss}/elements/table.scss +0 -0
  163. /data/lib/{sass/lesli → scss}/elements/toggle.scss +0 -0
  164. /data/lib/{sass/lesli → scss}/elements/toolbar.scss +0 -0
  165. /data/lib/{sass/lesli → scss}/helpers/display.scss +0 -0
  166. /data/lib/{sass/lesli → scss}/helpers/tooltip.scss +0 -0
  167. /data/lib/{sass/lesli → scss}/layouts/application-announcements.scss +0 -0
  168. /data/lib/{sass/lesli → scss}/layouts/application-component.scss +0 -0
  169. /data/lib/{sass/lesli → scss}/layouts/application-container.scss +0 -0
  170. /data/lib/{sass/lesli → scss}/layouts/application-engines.scss +0 -0
  171. /data/lib/{sass/lesli → scss}/layouts/application-footer.scss +0 -0
  172. /data/lib/{sass/lesli → scss}/layouts/application-navbar.scss +0 -0
  173. /data/lib/{sass/lesli → scss}/layouts/application-search.scss +0 -0
  174. /data/lib/{sass/lesli → scss}/overrides/sweetalert.scss +0 -0
  175. /data/lib/{sass/lesli → scss}/pages/devise-simple.scss +0 -0
  176. /data/lib/{sass/lesli → scss}/pages/invites.scss +0 -0
  177. /data/lib/{sass/lesli → scss}/panels/panel-announcements.scss +0 -0
  178. /data/lib/{sass/lesli → scss}/panels/panel-notification.scss +0 -0
  179. /data/lib/{sass/lesli → scss}/panels/panel-profile.scss +0 -0
  180. /data/lib/{sass/lesli → scss}/panels/panel-tasks.scss +0 -0
  181. /data/lib/{sass/lesli → scss}/panels/panel-ticket.scss +0 -0
  182. /data/lib/{sass/lesli → scss}/shared/workflow-status-progress.scss +0 -0
  183. /data/lib/{sass/lesli → scss}/templates/empty.scss +0 -0
  184. /data/lib/{sass/lesli → scss}/templates/pdf.scss +0 -0
  185. /data/lib/vue/{stores → refactor/stores}/cloudobjects/action.js +0 -0
  186. /data/lib/vue/{stores → refactor/stores}/cloudobjects/discussion.js +0 -0
  187. /data/lib/vue/{stores → refactor/stores}/cloudobjects/file.js +0 -0
  188. /data/lib/vue/{stores → refactor/stores}/entities/announcements.js +0 -0
  189. /data/lib/vue/{stores → refactor/stores}/entities/dashboard.js +0 -0
  190. /data/lib/vue/{stores → refactor/stores}/entities/workflow.js +0 -0
  191. /data/lib/vue/{stores → refactor/stores}/panels/announcements.js +0 -0
  192. /data/lib/vue/{stores → refactor/stores}/panels/notification.js +0 -0
  193. /data/lib/vue/{stores → refactor/stores}/panels/task.js +0 -0
  194. /data/lib/vue/{stores → refactor/stores}/panels/tickets.js +0 -0
  195. /data/lib/vue/{stores → refactor/stores}/role.js +0 -0
  196. /data/lib/vue/{stores → refactor/stores}/users.js +0 -0
  197. /data/lib/vue/{stores → shared}/services/firebase.js +0 -0
  198. /data/lib/vue/{stores → shared}/services/translator.js +0 -0
  199. /data/lib/vue/{stores → shared/stores}/account.js +0 -0
  200. /data/lib/vue/{stores/search.js → shared/stores/command.js} +0 -0
  201. /data/lib/vue/{stores → shared/stores}/layout.js +0 -0
@@ -18,16 +18,16 @@ GNU General Public License for more details.
18
18
  You should have received a copy of the GNU General Public License
19
19
  along with this program. If not, see http://www.gnu.org/licenses/.
20
20
 
21
- Lesli · Your Smart Business Assistant.
21
+ Lesli · Ruby on Rails SaaS Development Framework.
22
22
 
23
23
  Made with ♥ by https://www.lesli.tech
24
24
  Building a better future, one line of code at a time.
25
25
 
26
26
  @contact hello@lesli.tech
27
- @website https://lesli.tech
27
+ @website https://www.lesli.tech
28
28
  @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
29
29
 
30
- // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
31
31
  // ·
32
32
  */
33
33
 
@@ -38,8 +38,8 @@ import { ref, reactive, onUnmounted, inject } from "vue"
38
38
 
39
39
 
40
40
  // · import stores
41
- import { useLayout } from "Lesli/stores/layout"
42
- import { useSearch } from "Lesli/stores/search"
41
+ import { useLayout } from "Lesli/vue/shared/stores/layout"
42
+ import { useSearch } from "Lesli/vue/shared/stores/command"
43
43
 
44
44
 
45
45
  // · implement stores
@@ -154,7 +154,7 @@ function safeEngineUrl() {
154
154
 
155
155
 
156
156
  <!-- engines selector -->
157
- <a v-if="props.showEngines || true"
157
+ <a v-if="props.showEngines"
158
158
  class="header-indicator"
159
159
  @click="toggleEngines()">
160
160
  <span class="ri-apps-2-line"></span>
@@ -162,7 +162,7 @@ function safeEngineUrl() {
162
162
 
163
163
  <!-- Tickets -->
164
164
  <a
165
- v-if="props.showTickets || true"
165
+ v-if="props.showTickets"
166
166
  class="header-indicator"
167
167
  @click="() => { storeLayout.showTickets = true }">
168
168
  <span :class="['ri-ticket-2-line', { 'is-active' : storeLayout.header.tickets > 0 }]">
@@ -173,7 +173,7 @@ function safeEngineUrl() {
173
173
  </a>
174
174
 
175
175
  <!-- Tasks -->
176
- <a v-if="props.showFocus || true"
176
+ <a v-if="props.showFocus"
177
177
  class="header-indicator"
178
178
  @click="() => { if (storeLayout.header.tasks > 0 ) { storeLayout.showTasks = true }}">
179
179
  <span :class="['ri-list-check-3', { 'is-active' : storeLayout.header.tasks > 0 }]">
@@ -185,7 +185,7 @@ function safeEngineUrl() {
185
185
 
186
186
  <!-- Notifications -->
187
187
  <a
188
- v-if="props.showBell || true"
188
+ v-if="props.showBell"
189
189
  class="header-indicator"
190
190
  @click="() => { if (storeLayout.header.notifications > 0 ) { storeLayout.showNotifications = true }}">
191
191
  <span :class="['ri-notification-3-line', { 'is-active' : storeLayout.header.notifications > 0 }]">
@@ -43,7 +43,7 @@ const url = inject('url')
43
43
 
44
44
 
45
45
  // · import stores
46
- import { useSearch } from "Lesli/stores/search"
46
+ import { useSearch } from "Lesli/vue/stores/search"
47
47
 
48
48
 
49
49
  // · implement stores
@@ -40,8 +40,8 @@ import { useRouter, useRoute } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import store
43
- import { useLayout } from "Lesli/stores/layout"
44
- import { useAnnouncements } from "Lesli/stores/panels/announcements"
43
+ import { useLayout } from "Lesli/vue/stores/layout"
44
+ import { useAnnouncements } from "Lesli/vue/stores/panels/announcements"
45
45
 
46
46
 
47
47
  // · initialize/inject plugins
@@ -37,8 +37,8 @@ Building a better future, one line of code at a time.
37
37
  import { ref, inject, watch } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectFileStore } from "Lesli/stores/cloudobjects/file.js"
41
- import { useLayout } from "Lesli/stores/layout"
40
+ import { useCloudObjectFileStore } from "Lesli/vue/stores/cloudobjects/file.js"
41
+ import { useLayout } from "Lesli/vue/stores/layout"
42
42
 
43
43
  // · implement stores
44
44
  const storeFiles = useCloudObjectFileStore()
@@ -39,7 +39,7 @@ import { ref, reactive, onMounted, watch, computed, inject } from "vue"
39
39
 
40
40
  // · import stores
41
41
  import { useUser } from "LesliApp/administration/stores/user"
42
- import { useLayout } from "Lesli/stores/layout"
42
+ import { useLayout } from "Lesli/vue/stores/layout"
43
43
 
44
44
 
45
45
  // · implement stores
@@ -39,8 +39,8 @@ import { ref, reactive, onMounted, watch, computed, inject } from "vue"
39
39
 
40
40
 
41
41
  // · import stores
42
- import { useProfile } from "Lesli/stores/profile"
43
- import { useLayout } from "Lesli/stores/layout"
42
+ import { useProfile } from "Lesli/vue/stores/profile"
43
+ import { useLayout } from "Lesli/vue/stores/layout"
44
44
 
45
45
 
46
46
  // · implement stores
@@ -43,8 +43,8 @@ const date = inject("date")
43
43
 
44
44
 
45
45
  // · import stores
46
- import { useTask } from "Lesli/stores/panels/task"
47
- import { useLayout } from "Lesli/stores/layout"
46
+ import { useTask } from "Lesli/vue/stores/panels/task"
47
+ import { useLayout } from "Lesli/vue/stores/layout"
48
48
 
49
49
 
50
50
  // · implement stores
@@ -39,8 +39,8 @@ import { useRouter } from "vue-router"
39
39
 
40
40
 
41
41
  // · import store
42
- import { useLayout } from "Lesli/stores/layout"
43
- import { useTickets } from "Lesli/stores/panels/tickets"
42
+ import { useLayout } from "Lesli/vue/stores/layout"
43
+ import { useTickets } from "Lesli/vue/stores/panels/tickets"
44
44
 
45
45
 
46
46
  // ·
data/lib/vue/public.js CHANGED
@@ -35,11 +35,12 @@ import { createApp } from "vue"
35
35
 
36
36
 
37
37
  // · Loading app functions
38
- import debug from "lesli-js/debug/browser"
38
+ import { useLesliDebug } from "lesli-vue/composables"
39
+ const debug = useLesliDebug()
39
40
 
40
41
 
41
42
  // · Loading app plugins
42
- import { useLesliUrl, useLesliHttp } from "lesli-vue/composables"
43
+ import { useLesliUrl, useLesliHttp } from "lesli-vue/composables"
43
44
 
44
45
 
45
46
  // · module: Engine name
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectAction } from "Lesli/stores/cloud-objects/action"
40
+ import { useCloudObjectAction } from "Lesli/vue/stores/cloud-objects/action"
41
41
 
42
42
  // · import components
43
43
 
@@ -34,9 +34,9 @@ Building a better future, one line of code at a time.
34
34
 
35
35
 
36
36
  // · import store
37
- import { useCloudObjectDiscussionStore } from "Lesli/cloudobjects/stores/discussion"
37
+ import { useCloudObjectDiscussionStore } from "Lesli/vue/cloudobjects/stores/discussion"
38
38
 
39
- import DiscussionElement from "Lesli/cloudobjects/components/discussion/element.vue"
39
+ import DiscussionElement from "Lesli/vue/cloudobjects/components/discussion/element.vue"
40
40
 
41
41
  const discussionStore = useCloudObjectDiscussionStore()
42
42
 
@@ -37,10 +37,10 @@ Building a better future, one line of code at a time.
37
37
  import { computed, ref } from "vue"
38
38
 
39
39
  // · import components
40
- import NewComment from "Lesli/cloudobjects/components/discussion/new.vue"
40
+ import NewComment from "Lesli/vue/cloudobjects/components/discussion/new.vue"
41
41
 
42
42
  // · import store
43
- import { useCloudObjectDiscussionStore } from "Lesli/cloudobjects/stores/discussion"
43
+ import { useCloudObjectDiscussionStore } from "Lesli/vue/cloudobjects/stores/discussion"
44
44
 
45
45
  const props = defineProps({
46
46
  // · the discussion or activity log that will be displayed.
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { watch } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectDiscussionStore } from "Lesli/cloudobjects/stores/discussion"
40
+ import { useCloudObjectDiscussionStore } from "Lesli/vue/cloudobjects/stores/discussion"
41
41
 
42
42
  // · defining translations
43
43
  const translations = {
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { ref, computed } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectDiscussionStore } from "Lesli/cloudobjects/stores/discussion"
40
+ import { useCloudObjectDiscussionStore } from "Lesli/vue/cloudobjects/stores/discussion"
41
41
 
42
42
  // · defining props
43
43
  const props = defineProps({
@@ -37,12 +37,12 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectDiscussionStore } from "Lesli/cloudobjects/stores/discussion"
40
+ import { useCloudObjectDiscussionStore } from "Lesli/vue/cloudobjects/stores/discussion"
41
41
 
42
42
  // · import components
43
- import DiscussionNew from "Lesli/cloudobjects/components/discussion/new.vue"
44
- import DiscussionContent from "Lesli/cloudobjects/components/discussion/content.vue"
45
- import DiscussionFilters from "Lesli/cloudobjects/components/discussion/filters.vue"
43
+ import DiscussionNew from "Lesli/vue/cloudobjects/components/discussion/new.vue"
44
+ import DiscussionContent from "Lesli/vue/cloudobjects/components/discussion/content.vue"
45
+ import DiscussionFilters from "Lesli/vue/cloudobjects/components/discussion/filters.vue"
46
46
 
47
47
  // · defining translations
48
48
  const translations = {
@@ -36,8 +36,8 @@ Building a better future, one line of code at a time.
36
36
  import { onMounted, ref } from "vue";
37
37
 
38
38
  // · import store
39
- import { useCloudObjectFileStore } from "Lesli/cloudobjects/stores/file.js";
40
- import { useLayout } from "Lesli/shared/stores/layout";
39
+ import { useCloudObjectFileStore } from "Lesli/vue/cloudobjects/stores/file.js";
40
+ import { useLayout } from "Lesli/vue/shared/stores/layout";
41
41
 
42
42
  // · implement store
43
43
  const store = useCloudObjectFileStore();
@@ -37,8 +37,8 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, ref } from "vue"
38
38
 
39
39
  // · import store
40
- import { useCloudObjectFileStore } from "Lesli/cloudobjects/stores/file.js"
41
- import { useLayout } from "Lesli/shared/stores/layout"
40
+ import { useCloudObjectFileStore } from "Lesli/vue/cloudobjects/stores/file.js"
41
+ import { useLayout } from "Lesli/vue/shared/stores/layout"
42
42
 
43
43
  // · implement store
44
44
  const store = useCloudObjectFileStore()
@@ -34,12 +34,12 @@ Building a better future, one line of code at a time.
34
34
 
35
35
 
36
36
  // · import stores
37
- import { useCloudObjectFileStore } from "Lesli/cloudobjects/stores/file.js"
38
- import { useLayout } from "Lesli/shared/stores/layout"
37
+ import { useCloudObjectFileStore } from "Lesli/vue/cloudobjects/stores/file.js"
38
+ import { useLayout } from "Lesli/vue/shared/stores/layout"
39
39
 
40
40
  // · import components
41
- import filesList from "Lesli/cloudobjects/components/file/list.vue"
42
- import filesGrid from "Lesli/cloudobjects/components/file/grid.vue"
41
+ import filesList from "Lesli/vue/cloudobjects/components/file/list.vue"
42
+ import filesGrid from "Lesli/vue/cloudobjects/components/file/grid.vue"
43
43
 
44
44
  // · implement store
45
45
  const storeFiles = useCloudObjectFileStore()
@@ -40,7 +40,7 @@ import { useRouter, useRoute } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import store
43
- import { useActions } from "Lesli/stores/shared/workflows/actions"
43
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
44
44
  import notificationForm from "./forms/notification-form.vue"
45
45
  import emailForm from "./forms/email-form.vue"
46
46
  import taskForm from "./forms/task-form.vue"
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, inject } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, inject } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, inject } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, inject } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { onMounted, inject } from "vue"
38
38
 
39
39
  // · import store
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
  // · implement store
43
43
  const storeActions = useActions()
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { ref, computed, onMounted } from "vue"
38
38
 
39
39
  // · import stores
40
- import { useActions } from "Lesli/stores/shared/workflows/actions"
40
+ import { useActions } from "Lesli/vue/stores/shared/workflows/actions"
41
41
 
42
42
 
43
43
  import actionForm from "./form.vue"
@@ -40,7 +40,7 @@ import { useRouter, useRoute } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import store
43
- import { useChecks } from "Lesli/stores/shared/workflows/checks"
43
+ import { useChecks } from "Lesli/vue/stores/shared/workflows/checks"
44
44
 
45
45
 
46
46
  // · initialize/inject plugins
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { ref, computed, onMounted } from "vue"
38
38
 
39
39
  // · import stores
40
- import { useChecks } from "Lesli/stores/shared/workflows/checks"
40
+ import { useChecks } from "Lesli/vue/stores/shared/workflows/checks"
41
41
  import checksForm from "./form.vue"
42
42
 
43
43
  // · implement store
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { ref, computed, onMounted } from "vue"
38
38
 
39
39
  // · import stores
40
- import { useWorkflow } from "Lesli/stores/shared/workflow"
40
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
41
41
 
42
42
  // · implement store
43
43
  const storeWorkflow = useWorkflow()
@@ -40,7 +40,7 @@ import { useRouter, useRoute } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import stores
43
- import { useWorkflow } from "Lesli/stores/shared/workflow"
43
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
44
44
 
45
45
  // · import components
46
46
  import workflowForm from "../components/workflow-form.vue"
@@ -40,7 +40,7 @@ import { useRouter } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import stores
43
- import { useWorkflow } from "Lesli/stores/shared/workflow"
43
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
44
44
 
45
45
  // · import components
46
46
  import workflowForm from "../components/workflow-form.vue"
@@ -38,7 +38,7 @@ Building a better future, one line of code at a time.
38
38
  import { onMounted } from "vue"
39
39
 
40
40
  // · import stores
41
- import { useAssociations } from "Lesli/stores/shared/workflows/associations"
41
+ import { useAssociations } from "Lesli/vue/stores/shared/workflows/associations"
42
42
 
43
43
 
44
44
  // · defining props
@@ -40,7 +40,7 @@ import { useRouter } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import stores
43
- import { useWorkflow } from "Lesli/stores/shared/workflow"
43
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
44
44
 
45
45
 
46
46
  // · import components
@@ -38,7 +38,7 @@ Building a better future, one line of code at a time.
38
38
  import { inject, onMounted, watch } from "vue"
39
39
 
40
40
  // · import stores
41
- import { useWorkflow } from "Lesli/stores/shared/workflow"
41
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
42
42
 
43
43
  // · import vue router composable
44
44
  import { useRouter, useRoute } from "vue-router"
@@ -37,7 +37,7 @@ Building a better future, one line of code at a time.
37
37
  import { ref, computed, onMounted, watch, onUnmounted } from "vue"
38
38
 
39
39
  // · import stores
40
- import { useWorkflow } from "Lesli/stores/shared/workflow"
40
+ import { useWorkflow } from "Lesli/vue/stores/shared/workflow"
41
41
 
42
42
  // · implement store
43
43
  const storeWorkflow = useWorkflow()
@@ -0,0 +1,60 @@
1
+ {
2
+ "en": {
3
+ "lesli": {
4
+ "application": {
5
+ "navigation_logout": "Logout",
6
+ "navigation_my_profile": "My profile"
7
+ },
8
+ "dashboards": {
9
+ "title": "Dashboards"
10
+ },
11
+ "shared": {
12
+ "button_add_new": "Add new",
13
+ "button_delete": "Delete",
14
+ "button_edit": "Edit",
15
+ "button_list": "List",
16
+ "button_reload": "Reload",
17
+ "button_save": "Save",
18
+ "button_settings": "Settings",
19
+ "button_show": "Show",
20
+ "view_discussions": "Discussions",
21
+ "view_files": "Files",
22
+ "view_quick_actions": "Quick actions",
23
+ "view_status_active": "Active",
24
+ "view_status_inactive": "Inactive"
25
+ },
26
+ "users/sessions": {
27
+ "view_username": "Username"
28
+ }
29
+ }
30
+ },
31
+ "es": {
32
+ "lesli": {
33
+ "application": {
34
+ "navigation_logout": "Cerrar sesión",
35
+ "navigation_my_profile": "Mi perfil"
36
+ },
37
+ "dashboards": {
38
+ "title": "Dashboards"
39
+ },
40
+ "shared": {
41
+ "button_add_new": "Agregar nuevo",
42
+ "button_delete": "Eliminar",
43
+ "button_edit": "Editar",
44
+ "button_list": "Lista",
45
+ "button_reload": "Recargar",
46
+ "button_save": "Guardar",
47
+ "button_settings": "Configuración",
48
+ "button_show": "Ver",
49
+ "view_discussions": "Discusiones",
50
+ "view_files": "Archivos",
51
+ "view_quick_actions": "Acciones rapidas",
52
+ "view_status_active": "Activo",
53
+ "view_status_inactive": "Inactivo"
54
+ },
55
+ "users/sessions": {
56
+ "view_username": "Usuario"
57
+ }
58
+ }
59
+ }
60
+ }
@@ -37,7 +37,7 @@ import { useRouter, useRoute } from "vue-router"
37
37
 
38
38
 
39
39
  // · import stores
40
- import { useDashboard } from "Lesli/shared/stores/dashboard"
40
+ import { useDashboard } from "Lesli/vue/shared/stores/dashboard"
41
41
 
42
42
 
43
43
  // · import components
@@ -36,7 +36,7 @@ import { ref, computed, onMounted } from "vue"
36
36
 
37
37
 
38
38
  // · import stores
39
- import { useDashboard } from "Lesli/shared/stores/dashboard"
39
+ import { useDashboard } from "Lesli/vue/shared/stores/dashboard"
40
40
 
41
41
 
42
42
  // · implement store
@@ -40,7 +40,7 @@ import { useRouter, useRoute } from 'vue-router'
40
40
 
41
41
 
42
42
  // · import stores
43
- import { useDashboard } from "Lesli/shared/stores/dashboard"
43
+ import { useDashboard } from "Lesli/vue/shared/stores/dashboard"
44
44
 
45
45
 
46
46
  // · import components
@@ -36,7 +36,7 @@ import { onMounted } from "vue"
36
36
 
37
37
 
38
38
  // · import lesli stores
39
- import { useDashboard } from "Lesli/shared/stores/dashboard"
39
+ import { useDashboard } from "Lesli/vue/shared/stores/dashboard"
40
40
 
41
41
 
42
42
  // · implement stores
@@ -63,7 +63,9 @@ onMounted(() => {
63
63
  <template>
64
64
  <lesli-application-container>
65
65
 
66
- <lesli-header :title="storeDashboard.dashboard.name"></lesli-header>
66
+ <lesli-header :title="storeDashboard.dashboard.name">
67
+ <lesli-button icon="edit"></lesli-button>
68
+ </lesli-header>
67
69
 
68
70
  <template v-if="storeDashboard.dashboard.components">
69
71
  <div class="columns is-multiline is-variable is-4 dashboard-components">
@@ -38,7 +38,7 @@ import { inject, onMounted, watch } from "vue"
38
38
 
39
39
 
40
40
  // · import stores
41
- import { useDashboard } from "Lesli/shared/stores/dashboard"
41
+ import { useDashboard } from "Lesli/vue/shared/stores/dashboard"
42
42
 
43
43
 
44
44
  // · import vue router composable