@ozdao/martyrs 0.2.566 → 0.2.567

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{main-B9o1iBAZ.js → main-BFvlam0J.js} +9 -6
  2. package/dist/martyrs/dist/{main-B9o1iBAZ.js → main-BFvlam0J.js} +2 -2
  3. package/dist/martyrs/dist/{main-B9o1iBAZ.js.map → main-BFvlam0J.js.map} +1 -1
  4. package/dist/martyrs/dist/{web-BF3ijvEr.js → web-CH5wzMHy.js} +2 -2
  5. package/dist/martyrs/dist/{web-BF3ijvEr.js.map → web-CH5wzMHy.js.map} +1 -1
  6. package/dist/martyrs/src/components/Feed/Carousel.vue.js +2 -2
  7. package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
  8. package/dist/martyrs/src/components/Feed/Feed.vue.js +6 -3
  9. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  10. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  11. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  12. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  13. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  14. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +17 -1
  15. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js.map +1 -1
  16. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +3 -3
  17. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
  18. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
  19. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  20. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  21. package/dist/martyrs.css +1 -1
  22. package/dist/martyrs.es.js +1 -1
  23. package/dist/style.css +7 -7
  24. package/dist/{web-BF3ijvEr.js → web-CH5wzMHy.js} +1 -1
  25. package/package.json +1 -1
  26. package/src/components/Feed/Carousel.vue +1 -1
  27. package/src/components/Feed/Feed.vue +3 -3
  28. package/src/modules/community/components/sections/HotPosts.vue +8 -4
  29. package/src/modules/events/components/sections/EventsHot.vue +21 -4
  30. package/src/modules/music/components/cards/TrackListCard.vue +6 -6
  31. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-B9o1iBAZ.js";
1
+ import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-BFvlam0J.js";
2
2
  export {
3
3
  e as Address,
4
4
  o as Breadcrumbs,
package/dist/style.css CHANGED
@@ -1170,19 +1170,19 @@ button[data-v-54787afa]:disabled {
1170
1170
  font-size: .85em;
1171
1171
  }
1172
1172
 
1173
- .fade-enter-active[data-v-fc5562fa],
1174
- .fade-leave-active[data-v-fc5562fa] {
1173
+ .fade-enter-active[data-v-5db0aea4],
1174
+ .fade-leave-active[data-v-5db0aea4] {
1175
1175
  transition: opacity 0.3s ease;
1176
1176
  }
1177
- .fade-enter-from[data-v-fc5562fa],
1178
- .fade-leave-to[data-v-fc5562fa] {
1177
+ .fade-enter-from[data-v-5db0aea4],
1178
+ .fade-leave-to[data-v-5db0aea4] {
1179
1179
  opacity: 0;
1180
1180
  }
1181
- .slider-hotpost :deep(.carousel__slide) {
1182
- flex: 0 0 25%;
1181
+ .slider-hotpost .carousel__slide {
1182
+ flex: 0 0 33%;
1183
1183
  }
1184
1184
  @media screen and (max-width: 1025px) {
1185
- .slider-hotpost :deep(.carousel__slide) {
1185
+ .slider-hotpost .carousel__slide {
1186
1186
  flex: 0 0 75%;
1187
1187
  }
1188
1188
  }.error-wrapper {
@@ -1,4 +1,4 @@
1
- import { W as p } from "./main-B9o1iBAZ.js";
1
+ import { W as p } from "./main-BFvlam0J.js";
2
2
  class f extends p {
3
3
  constructor() {
4
4
  super(...arguments), this.group = "CapacitorStorage";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.566",
3
+ "version": "0.2.567",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -2,7 +2,7 @@
2
2
  <div class="pos-relative">
3
3
  <!-- Loading State -->
4
4
  <div v-if="isLoading" class="h-20r radius-semi pos-relative w-100 bg-light">
5
- <Loader />
5
+ <Loader :centered="true" />
6
6
  </div>
7
7
  <!-- Empty State -->
8
8
  <EmptyState
@@ -92,7 +92,7 @@
92
92
  :key="'skeleton-' + i"
93
93
  :class="replaceClasses('radius-medium bg-light pd-thin flex-child-default o-hidden d-block', skeleton.class)"
94
94
  />
95
- <Loader v-if="isLoading && skeleton?.hide"/>
95
+ <Loader v-if="isLoading && skeleton?.hide" :centered="true" />
96
96
  </TransitionGroup>
97
97
 
98
98
  <TransitionGroup
@@ -140,7 +140,7 @@
140
140
  v-if="isLoading && keepSlotVisible"
141
141
  class="pos-absolute pos-t-0 pos-l-0 w-100 h-100 flex-center bg-white-transp-90 z-index-10"
142
142
  >
143
- <Loader />
143
+ <Loader :centered="true" />
144
144
  </div>
145
145
  </div>
146
146
 
@@ -158,7 +158,7 @@
158
158
  v-if="isLoadingExtra"
159
159
  class="col-w-100 w-100 pos-relative"
160
160
  >
161
- <Loader/>
161
+ <Loader :centered="true" />
162
162
  </div>
163
163
 
164
164
 
@@ -63,13 +63,17 @@ const props = defineProps({
63
63
  </script>
64
64
 
65
65
  <style lang="scss">
66
- .slider-hotpost :deep(.carousel__slide ) {
67
- flex: 0 0 25%;
66
+ .slider-hotpost {
67
+ .carousel__slide {
68
+ flex: 0 0 33%;
69
+ }
68
70
  }
69
71
 
70
72
  @media screen and (max-width: 1025px) {
71
- .slider-hotpost :deep(.carousel__slide ) {
72
- flex: 0 0 75%;
73
+ .slider-hotpost {
74
+ .carousel__slide {
75
+ flex: 0 0 75%;
76
+ }
73
77
  }
74
78
  }
75
79
  </style>
@@ -16,8 +16,8 @@
16
16
  class="slider-hotpost flex-child-default"
17
17
  >
18
18
  <template v-slot="{ item }">
19
- <router-link
20
- :to="{name: 'Event', params: {url: item.url}}"
19
+ <router-link
20
+ :to="getEventPath(item)"
21
21
  class="cursor-pointer pos-relative flex flex-justify-end flex-column h-25r bg-semi radius-medium o-hidden pd-medium t-white bg-dark"
22
22
  >
23
23
  <Media
@@ -42,12 +42,15 @@
42
42
  </template>
43
43
 
44
44
  <script setup>
45
- import { ref, onMounted, defineProps } from 'vue'
45
+ import { ref, onMounted, defineProps, computed } from 'vue'
46
+ import { useRoute } from 'vue-router'
46
47
  import Carousel from '@martyrs/src/components/Feed/Carousel.vue'
47
48
  import Media from '@martyrs/src/components/Media/Media.vue'
48
- import * as events from '@martyrs/src/modules/events/store/events.js';
49
+ import * as events from '@martyrs/src/modules/events/store/events.js';
49
50
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
50
51
 
52
+ const route = useRoute()
53
+
51
54
  const props = defineProps({
52
55
  skip: {
53
56
  type: Number,
@@ -68,8 +71,22 @@ const props = defineProps({
68
71
  status: {
69
72
  type: String,
70
73
  default: 'featured'
74
+ },
75
+ organization: {
76
+ type: String
71
77
  }
72
78
  })
79
+
80
+ const getEventPath = (item) => {
81
+ if (route.meta.context === 'backoffice') {
82
+ return `/backoffice/events/${item.url}`
83
+ }
84
+ if (route.meta.context === 'organization' || props.organization) {
85
+ const orgId = props.organization || route.params._id
86
+ return `/organizations/${orgId}/events/${item.url}`
87
+ }
88
+ return `/events/${item.url}`
89
+ }
73
90
  </script>
74
91
 
75
92
  <style lang="scss">
@@ -40,9 +40,9 @@
40
40
 
41
41
  <div class="track-info">
42
42
  <div class="track-name " :class="{'t-main': isPlaying(track)}">
43
- <router-link
43
+ <router-link
44
44
  v-if="track.url"
45
- :to="{ name: 'track', params: { url: track.url } }"
45
+ :to="'/music/tracks/' + track.url"
46
46
  class="hover-t-main hover-t-underline"
47
47
  :class="{'t-main': isPlaying(track)}"
48
48
  @click.stop
@@ -52,9 +52,9 @@
52
52
  <span v-else>{{ track.title }}</span>
53
53
  </div>
54
54
  <div :class="{'t-main': isPlaying(track)}" class="track-artist t-transp t-small">
55
- <router-link
55
+ <router-link
56
56
  v-if="track.artist && track.artist._id"
57
- :to="{ name: 'artist', params: { url: track.artist.url } }"
57
+ :to="'/music/artists/' + track.artist.url"
58
58
  class="t-transp hover-t-underline"
59
59
  @click.stop
60
60
  >
@@ -66,9 +66,9 @@
66
66
  </div>
67
67
 
68
68
  <div v-if="showAlbum" class="track-album w-15r mobile:w-0 mobile:hidden t-transp t-truncate">
69
- <router-link
69
+ <router-link
70
70
  v-if="track.album && track.album._id"
71
- :to="{ name: 'album', params: { url: track.album.url } }"
71
+ :to="'/music/albums/' + track.album.url"
72
72
  class="t-transp hover-t-underline"
73
73
  @click.stop
74
74
  >
@@ -1 +0,0 @@
1
- {"version":3,"file":"Menu.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}