@ozdao/prometheus-framework 0.2.41 → 0.2.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/dist/events.server.js +9 -0
  2. package/dist/events.server.mjs +9 -0
  3. package/dist/files.server.js +4 -1
  4. package/dist/files.server.mjs +4 -1
  5. package/dist/main.css +1 -1
  6. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
  8. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -2
  10. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  12. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
  14. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +26 -28
  16. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
  18. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +76 -2
  20. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  22. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  24. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  26. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +95 -2
  28. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
  30. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  32. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  40. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  42. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  44. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  46. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +3 -3
  48. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +24 -23
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  55. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  56. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -2
  58. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +125 -81
  64. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +3 -3
  65. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +65 -56
  66. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  68. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +67 -53
  70. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
  71. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +48 -37
  72. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +71 -57
  74. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  76. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  78. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  82. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  88. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +20 -11
  90. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  112. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  118. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -19
  122. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  124. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  128. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +31 -28
  132. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  134. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  140. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +78 -80
  144. package/dist/prometheus-framework.cjs.js +19 -19
  145. package/dist/prometheus-framework.es.js +515 -501
  146. package/dist/style.css +1 -1
  147. package/package.json +1 -1
  148. package/src/modules/wallet/components/pages/Wallet.vue +3 -3
@@ -1,10 +1,10 @@
1
- import { ref as d, onMounted as b, openBlock as a, createElementBlock as c, createVNode as u, TransitionGroup as g, withCtx as p, Fragment as f, renderList as k, createCommentVNode as i, Transition as T, createBlock as s, normalizeStyle as w, createElementVNode as m, normalizeClass as $, resolveDynamicComponent as B, mergeProps as C } from "vue";
1
+ import { ref as d, onMounted as h, openBlock as a, createElementBlock as c, createVNode as u, TransitionGroup as g, withCtx as p, Fragment as f, renderList as k, createCommentVNode as n, Transition as b, createBlock as s, normalizeStyle as x, createElementVNode as v, normalizeClass as w, resolveDynamicComponent as L, mergeProps as B } from "vue";
2
2
  import "../../../../components/Loader/Loader.vue.js";
3
- import L from "../../../../components/EmptyState/EmptyState.vue.js";
4
- import E from "../sections/HeroEvent.vue.js";
5
- import I from "../sections/SectionMainGuest.vue.js";
6
- import S from "../sections/SectionSpecialGuests.vue.js";
7
- import x from "../sections/SectionLineup.vue.js";
3
+ import C from "../../../../components/EmptyState/EmptyState.vue.js";
4
+ import $ from "../sections/HeroEvent.vue.js";
5
+ import E from "../sections/SectionMainGuest.vue.js";
6
+ import I from "../sections/SectionSpecialGuests.vue.js";
7
+ import S from "../sections/SectionLineup.vue.js";
8
8
  import H from "../sections/SectionPreviousEvents.vue.js";
9
9
  import M from "../blocks/CardEvent.vue.js";
10
10
  import U from "../../../icons/skeletons/SkeletonEvent.vue.js";
@@ -13,47 +13,47 @@ import N from "../../../community/components/sections/Comments.vue.js";
13
13
  import P from "../../../constructor/components/elements/Image.vue.js";
14
14
  import { read as z } from "../../store/events.js";
15
15
  import { mutations as F } from "../../store/tickets.js";
16
- import { state as r } from "../../../auth/store/auth.js";
16
+ import { state as o } from "../../../auth/store/auth.js";
17
17
  import { useRoute as G } from "vue-router";
18
- const J = { class: "pd-thin" }, R = /* @__PURE__ */ m("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1), re = {
18
+ const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1), oe = {
19
19
  __name: "Event",
20
- setup(j) {
21
- const _ = G(), y = ({ ticket: t, hasTicket: o, targetId: n }) => {
22
- F.handleTicketUpdate(e.value, t, o, n);
23
- }, h = {
20
+ setup(Y) {
21
+ const D = G(), _ = ({ ticket: t, hasTicket: r, targetId: i }) => {
22
+ F.handleTicketUpdate(e.value, t, r, i);
23
+ }, y = {
24
24
  Textarea: "p",
25
25
  H2: "h2",
26
26
  Bullets: "p",
27
27
  Caption: "p",
28
28
  ImageUpload: P
29
29
  };
30
- function D(t) {
30
+ function T(t) {
31
31
  return t.type === "Textarea" ? { innerHTML: t.content, class: "p-medium" } : t.type === "H2" ? { innerHTML: t.content, class: "h3" } : t.type === "Caption" ? { innerHTML: t.content } : t.type === "ImageUpload" ? { src: t.content } : {};
32
32
  }
33
33
  const e = d(null), l = d(!0);
34
- return b(async () => {
34
+ return h(async () => {
35
35
  l.value = !0;
36
- const t = await z({ user: r.user._id, url: _.params.url });
36
+ const t = await z({ user: o.user._id, url: D.params.url });
37
37
  e.value = t[0], l.value = !1;
38
- }), (t, o) => (a(), c("section", J, [
38
+ }), (t, r) => (a(), c("section", J, [
39
39
  u(g, {
40
40
  tag: "ul",
41
41
  name: "fade",
42
42
  class: "o-hidden bg-grey radius-big"
43
43
  }, {
44
44
  default: p(() => [
45
- l.value ? (a(), c(f, { key: 0 }, k(3, (n) => u(U, { key: n })), 64)) : i("", !0)
45
+ l.value ? (a(), c(f, { key: 0 }, k(3, (i) => u(U, { key: i })), 64)) : n("", !0)
46
46
  ]),
47
47
  _: 1
48
48
  }),
49
- u(T, { name: "fade" }, {
49
+ u(b, { name: "fade" }, {
50
50
  default: p(() => [
51
- !l.value && !e.value ? (a(), s(L, {
51
+ !l.value && !e.value ? (a(), s(C, {
52
52
  key: 0,
53
53
  title: "No Event Found",
54
54
  description: "Currently, there are no events available. Please check back later.",
55
55
  class: "pd-medium mn-b-thin bg-grey radius-big"
56
- })) : i("", !0)
56
+ })) : n("", !0)
57
57
  ]),
58
58
  _: 1
59
59
  }),
@@ -63,25 +63,26 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ m("h2", { class: "mn-b-big w
63
63
  class: "container"
64
64
  }, {
65
65
  default: p(() => [
66
- !l.value && e.value && e.value.special ? (a(), s(E, {
66
+ !l.value && e.value && e.value.special ? (a(), s($, {
67
67
  key: 0,
68
68
  content: {
69
69
  title: e.value.name,
70
70
  description: e.value.description,
71
71
  ticketLinkStripe: e.value.specialData.ticketLinkStripe,
72
+ ticketText: e.value.specialData.ticketText,
73
+ cover: e.value.cover,
72
74
  subtitle: e.value.specialData.subtitle,
73
75
  logos: e.value.specialData.logos,
74
76
  video: e.value.specialData.video,
75
- buyticket: "Buy ticket",
76
- booktable: "Book table"
77
+ ticketTextButton: e.value.specialData.ticketTextButton
77
78
  },
78
79
  options: {
79
80
  date: e.value.date.start,
80
81
  price: e.value.specialData.ticketPrice
81
82
  },
82
83
  class: "mn-b-thin"
83
- }, null, 8, ["content", "options"])) : i("", !0),
84
- !l.value && e.value && e.value.special ? (a(), s(I, {
84
+ }, null, 8, ["content", "options"])) : n("", !0),
85
+ !l.value && e.value && e.value.special ? (a(), s(E, {
85
86
  key: 1,
86
87
  content: {
87
88
  title: e.value.specialData.guestTitle,
@@ -94,33 +95,34 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ m("h2", { class: "mn-b-big w
94
95
  },
95
96
  video: e.value.specialData.guestVideo,
96
97
  spotify: e.value.specialData.guestSpotify,
97
- soundcloud: e.value.specialData.guestSoundcloud
98
+ soundcloud: e.value.specialData.guestSoundcloud,
99
+ youtube: e.value.specialData.guestYoutube
98
100
  },
99
101
  class: "mn-b-thin"
100
- }, null, 8, ["content"])) : i("", !0),
102
+ }, null, 8, ["content"])) : n("", !0),
101
103
  !l.value && e.value && e.value.special ? (a(), c("section", {
102
104
  key: 2,
103
- style: w(`
104
- background-image: url(${e.value.specialData.lineupBackground});
105
+ style: x(`
105
106
  background-size: 100%; background-repeat: no-repeat;
107
+ background-image: url(${e.value.specialData.lineupBackground});
106
108
  `),
107
109
  class: "mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
108
110
  }, [
109
111
  R,
110
- m("div", {
111
- class: $(["gap-big mn-b-thin", {
112
- "cols-2": e.value.specialData.guests.lenght > 0,
113
- "cols-1": e.value.specialData.guests.lenght > 1
112
+ v("div", {
113
+ class: w(["gap-big mn-b-thin", {
114
+ "cols-2": e.value.specialData.guests.length > 0,
115
+ "cols-1": e.value.specialData.guests.length > 1
114
116
  }])
115
117
  }, [
116
- e.value.specialData.guests.lenght > 0 ? (a(), s(S, {
118
+ e.value.specialData.guests.length > 0 ? (a(), s(I, {
117
119
  key: 0,
118
120
  content: {
119
121
  title: "Special Guests",
120
122
  guests: e.value.specialData.guests
121
123
  }
122
- }, null, 8, ["content"])) : i("", !0),
123
- u(x, {
124
+ }, null, 8, ["content"])) : n("", !0),
125
+ u(S, {
124
126
  content: {
125
127
  title: "Lineup",
126
128
  lineup: e.value.specialData.lineup
@@ -129,52 +131,59 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ m("h2", { class: "mn-b-big w
129
131
  ], 2),
130
132
  u(H, {
131
133
  content: {
132
- ticket: e.value.specialData.ticketImage
134
+ ticket: e.value.specialData.ticketImage,
135
+ ticketTextButton: e.value.specialData.ticketTextButton,
136
+ paymentText: e.value.specialData.paymentText,
137
+ paymentContact: e.value.specialData.paymentContact,
138
+ previousTitle: e.value.specialData.previousTitle,
139
+ previousDescription: e.value.specialData.previousDescription,
140
+ previousLink: e.value.specialData.previousLink,
141
+ previousLinkText: e.value.specialData.previousLinkText
133
142
  },
134
143
  options: {
135
144
  link: e.value.specialData.ticketLinkStripe,
136
145
  video: e.value.specialData.previousVideo
137
146
  }
138
147
  }, null, 8, ["content", "options"])
139
- ], 4)) : i("", !0),
148
+ ], 4)) : n("", !0),
140
149
  !l.value && e.value && !e.value.special ? (a(), s(M, {
141
150
  key: 3,
142
- onClick: o[0] || (o[0] = (n) => t.$router.push({ name: "Event", params: { url: e.value.url } })),
151
+ onClick: r[0] || (r[0] = (i) => t.$router.push({ name: "Event", params: { url: e.value.url } })),
143
152
  event: e.value,
144
153
  owner: e.value.owner,
145
- user: r.user._id,
154
+ user: o.user._id,
146
155
  type: "normal",
147
156
  class: "mn-b-medium bg-grey radius-big"
148
157
  }, {
149
158
  default: p(() => [
150
- r.user._id ? (a(), s(V, {
159
+ o.user._id ? (a(), s(V, {
151
160
  key: 0,
152
161
  type: "event",
153
162
  hasTicket: e.value.hasTicket,
154
163
  targetId: e.value._id,
155
- userId: r.user._id,
164
+ userId: o.user._id,
156
165
  class: "mn-b-small w-100 pd-medium mn-auto",
157
- onUpdateTicket: y
158
- }, null, 8, ["hasTicket", "targetId", "userId"])) : i("", !0),
159
- m("section", null, [
160
- e.value && e.value.content ? (a(!0), c(f, { key: 0 }, k(e.value.content, (n, v) => (a(), s(B(h[n.type]), C({
161
- key: v,
162
- index: v,
163
- component: n,
164
- prop: n,
165
- class: n.class,
166
+ onUpdateTicket: _
167
+ }, null, 8, ["hasTicket", "targetId", "userId"])) : n("", !0),
168
+ v("section", null, [
169
+ e.value && e.value.content ? (a(!0), c(f, { key: 0 }, k(e.value.content, (i, m) => (a(), s(L(y[i.type]), B({
170
+ key: m,
171
+ index: m,
172
+ component: i,
173
+ prop: i,
174
+ class: i.class,
166
175
  content: "content"
167
- }, D(n), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : i("", !0)
176
+ }, T(i), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : n("", !0)
168
177
  ])
169
178
  ]),
170
179
  _: 1
171
- }, 8, ["event", "owner", "user"])) : i("", !0),
180
+ }, 8, ["event", "owner", "user"])) : n("", !0),
172
181
  !l.value && e.value && !e.value.special ? (a(), s(N, {
173
182
  key: 4,
174
183
  type: "event",
175
184
  target: e.value._id,
176
- owner: r.user._id
177
- }, null, 8, ["target", "owner"])) : i("", !0)
185
+ owner: o.user._id
186
+ }, null, 8, ["target", "owner"])) : n("", !0)
178
187
  ]),
179
188
  _: 1
180
189
  })
@@ -182,5 +191,5 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ m("h2", { class: "mn-b-big w
182
191
  }
183
192
  };
184
193
  export {
185
- re as default
194
+ oe as default
186
195
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const t=require("../sections/Feed.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Chips/Chips.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const i=require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");const o=require("../../store/events.cjs");require("../sections/List.vue2.cjs");const s={__name:"Events",setup(c){const r=u.useRoute();return u.useRouter(),(n,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(t.default,{category:e.unref(r).params.category,user:i.state.user._id,period:e.unref(r).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}};exports.default=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const t=require("../sections/Feed.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Chips/Chips.vue2.cjs");require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const i=require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");const o=require("../../store/events.cjs");require("../sections/List.vue2.cjs");const s={__name:"Events",setup(c){const r=u.useRoute();return u.useRouter(),(n,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(t.default,{category:e.unref(r).params.category,user:i.state.user._id,period:e.unref(r).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}};exports.default=s;
@@ -6,9 +6,9 @@ import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import s from "../sections/Feed.vue.js";
7
7
  import "../../../../components/Loader/Loader.vue.js";
8
8
  import "../../../../components/Chips/Chips.vue2.js";
9
- import "../../../../components/Popup/Popup.vue2.js";
10
- import "../../../../components/Button/Button.vue2.js";
11
- import "../../../../components/Select/Select.vue2.js";
9
+ import "../../../../components/Popup/Popup.vue.js";
10
+ import "../../../../components/Button/Button.vue.js";
11
+ import "../../../../components/Select/Select.vue.js";
12
12
  import "../../../reports/store/reports.js";
13
13
  import "../../../../components/Dropdown/Dropdown.vue2.js";
14
14
  import { state as a } from "../../../auth/store/auth.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const h=require("../../../../components/Countdown/Countdown.vue.cjs");require("./HeroEvent.vue2.cjs");const k=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),f={class:"t-white t-center w-100 h-100 pos-relative gap-thin cols-2 pos-relative"},g={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},x=["src"],E={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},w={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},_=["src"],V={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},B={class:"z-index-1 t-main mn-b-semi"},N={class:"z-index-1 p-big mn-b-semi"},S={class:"z-index-1 t-transp p-small mn-b-thin"},z={class:"bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},C={key:0,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},D=["src"],j={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const n=e.ref(null);var i=!1;function y(){n.value.onplaying=function(){i=!0},n.value.onpause=function(){i=!1}}async function b(){if(n.value.paused&&!i)return n.value.play()}e.onMounted(()=>{y(),b()});const l=t;function v(){var o;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((o=l.content)==null?void 0:o.ticketLinkStripe)}return(o,c)=>{var s,a,r,d,u,p;return e.openBlock(),e.createElementBlock("section",f,[e.createElementVNode("div",g,[t.content.video?(e.openBlock(),e.createElementBlock("video",{key:0,style:{"object-fit":"cover"},ref_key:"videoElement",ref:n,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,x)):e.createCommentVNode("",!0)]),e.createElementVNode("div",E,[e.createElementVNode("div",w,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,m=>(e.openBlock(),e.createElementBlock("img",{class:"i-big",src:m},null,8,_))),256))]),e.createElementVNode("h3",V,e.toDisplayString((s=t.content)==null?void 0:s.subtitle),1),e.createElementVNode("h1",B,e.toDisplayString((a=t.content)==null?void 0:a.title),1),e.createElementVNode("p",N,e.toDisplayString((r=t.content)==null?void 0:r.description),1),e.createElementVNode("p",S,[e.createTextVNode(" Hurry up and purchase your ticket at a special price of only "),e.createElementVNode("span",z,e.toDisplayString((d=t.options)==null?void 0:d.price)+" "+e.toDisplayString(o.returnCurrency()),1)]),e.createVNode(h.default,{class:"z-index-1 mn-b-small w-40",options:l.options},null,8,["options"]),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=m=>v()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString((p=t.content)==null?void 0:p.buyticket),1)])):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:n,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,D)):e.createCommentVNode("",!0)])])}}},q=k.default(j,[["__scopeId","data-v-9170b06f"]]);exports.default=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const f=require("../../../../components/Countdown/Countdown.vue.cjs");require("./HeroEvent.vue2.cjs");const g=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),x={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},B={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},E=["src"],w=["src"],V={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},N={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},z=["src"],S={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},C={class:"z-index-1 t-main mn-b-semi"},j={class:"z-index-1 p-big mn-b-semi"},D={class:"z-index-1 t-transp p-small mn-b-thin"},T={key:0,class:"bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},q={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},H=["src"],L=["src"],M={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const k=t,n=e.ref(null);var l=!1;function v(){n.value.onplaying=function(){l=!0},n.value.onpause=function(){l=!1}}async function b(){if(n.value.paused&&!l)return n.value.play()}e.onMounted(()=>{v(),b()});function h(){var o;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((o=k.content)==null?void 0:o.ticketLinkStripe)}return(o,c)=>{var i,s,a,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",x,[e.createElementVNode("div",B,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,E)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:n,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,w)):e.createCommentVNode("",!0)]),e.createElementVNode("div",V,[e.createElementVNode("div",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{class:"radius-thin i-big",src:y},null,8,z))),256))]),e.createElementVNode("h3",S,e.toDisplayString((i=t.content)==null?void 0:i.subtitle),1),e.createElementVNode("h1",C,e.toDisplayString((s=t.content)==null?void 0:s.title),1),e.createElementVNode("p",j,e.toDisplayString((a=t.content)==null?void 0:a.description),1),e.createElementVNode("p",D,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",T,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(o.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(f.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=y=>h()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,H)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:n,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,L)):e.createCommentVNode("",!0)])])}}},O=g.default(M,[["__scopeId","data-v-6df795ff"]]);exports.default=O;
@@ -1,15 +1,18 @@
1
- import { ref as x, onMounted as _, openBlock as o, createElementBlock as i, createElementVNode as t, createCommentVNode as a, Fragment as w, renderList as z, toDisplayString as s, createTextVNode as E, createVNode as V } from "vue";
1
+ import { ref as z, onMounted as B, openBlock as t, createElementBlock as n, createElementVNode as o, createCommentVNode as i, Fragment as E, renderList as j, toDisplayString as s, createBlock as T } from "vue";
2
2
  import "vue-i18n";
3
- import j from "../../../../components/Countdown/Countdown.vue.js";
3
+ import V from "../../../../components/Countdown/Countdown.vue.js";
4
4
  import "./HeroEvent.vue2.js";
5
- import B from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
- const N = { class: "t-white t-center w-100 h-100 pos-relative gap-thin cols-2 pos-relative" }, C = {
5
+ import C from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
+ const L = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" }, S = {
7
7
  style: { "min-height": "20rem" },
8
8
  class: "desktop-only radius-big o-hidden bg-black pos-relative"
9
- }, H = ["src"], L = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" }, S = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" }, T = ["src"], O = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" }, P = { class: "z-index-1 t-main mn-b-semi" }, $ = { class: "z-index-1 p-big mn-b-semi" }, A = { class: "z-index-1 t-transp p-small mn-b-thin" }, D = { class: "bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra" }, F = {
9
+ }, H = ["src"], N = ["src"], O = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" }, P = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" }, _ = ["src"], $ = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" }, A = { class: "z-index-1 t-main mn-b-semi" }, D = { class: "z-index-1 p-big mn-b-semi" }, F = { class: "z-index-1 t-transp p-small mn-b-thin" }, I = {
10
10
  key: 0,
11
+ class: "bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
12
+ }, M = {
13
+ key: 1,
11
14
  class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
12
- }, I = ["src"], M = {
15
+ }, q = ["src"], G = ["src"], J = {
13
16
  __name: "HeroEvent",
14
17
  props: {
15
18
  content: {
@@ -20,39 +23,43 @@ const N = { class: "t-white t-center w-100 h-100 pos-relative gap-thin cols-2 po
20
23
  }
21
24
  },
22
25
  setup(e) {
23
- const n = x(null);
24
- var c = !1;
25
- function f() {
26
- n.value.onplaying = function() {
27
- c = !0;
28
- }, n.value.onpause = function() {
29
- c = !1;
26
+ const k = e, c = z(null);
27
+ var a = !1;
28
+ function x() {
29
+ c.value.onplaying = function() {
30
+ a = !0;
31
+ }, c.value.onpause = function() {
32
+ a = !1;
30
33
  };
31
34
  }
32
35
  async function g() {
33
- if (n.value.paused && !c)
34
- return n.value.play();
36
+ if (c.value.paused && !a)
37
+ return c.value.play();
35
38
  }
36
- _(() => {
37
- f(), g();
39
+ B(() => {
40
+ x(), g();
38
41
  });
39
- const r = e;
40
- function k() {
42
+ function w() {
41
43
  var l;
42
44
  gtag("event", "buy_ticket", {
43
45
  event_category: "conversion",
44
46
  event_label: "Buy Ticket"
45
- }), window.open((l = r.content) == null ? void 0 : l.ticketLinkStripe);
47
+ }), window.open((l = k.content) == null ? void 0 : l.ticketLinkStripe);
46
48
  }
47
49
  return (l, d) => {
48
- var p, m, u, b, h, y;
49
- return o(), i("section", N, [
50
- t("div", C, [
51
- e.content.video ? (o(), i("video", {
50
+ var r, u, m, p, v, b, y, h;
51
+ return t(), n("section", L, [
52
+ o("div", S, [
53
+ e.content.cover && !e.content.video ? (t(), n("img", {
52
54
  key: 0,
55
+ src: e.content.cover,
56
+ class: "desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
57
+ }, null, 8, H)) : i("", !0),
58
+ e.content.video ? (t(), n("video", {
59
+ key: 1,
53
60
  style: { "object-fit": "cover" },
54
61
  ref_key: "videoElement",
55
- ref: n,
62
+ ref: c,
56
63
  class: "pos-absolute pos-t-0 pos-l-0 w-100 h-100",
57
64
  preload: "",
58
65
  autoplay: "",
@@ -63,38 +70,45 @@ const N = { class: "t-white t-center w-100 h-100 pos-relative gap-thin cols-2 po
63
70
  src: e.content.video,
64
71
  itemprop: "video",
65
72
  type: "video/webm"
66
- }, null, 8, H)) : a("", !0)
73
+ }, null, 8, N)) : i("", !0)
67
74
  ]),
68
- t("div", L, [
69
- t("div", S, [
70
- (o(!0), i(w, null, z(e.content.logos, (v) => (o(), i("img", {
71
- class: "i-big",
72
- src: v
73
- }, null, 8, T))), 256))
75
+ o("div", O, [
76
+ o("div", P, [
77
+ (t(!0), n(E, null, j(e.content.logos, (f) => (t(), n("img", {
78
+ class: "radius-thin i-big",
79
+ src: f
80
+ }, null, 8, _))), 256))
74
81
  ]),
75
- t("h3", O, s((p = e.content) == null ? void 0 : p.subtitle), 1),
76
- t("h1", P, s((m = e.content) == null ? void 0 : m.title), 1),
77
- t("p", $, s((u = e.content) == null ? void 0 : u.description), 1),
78
- t("p", A, [
79
- E(" Hurry up and purchase your ticket at a special price of only "),
80
- t("span", D, s((b = e.options) == null ? void 0 : b.price) + " " + s(l.returnCurrency()), 1)
82
+ o("h3", $, s((r = e.content) == null ? void 0 : r.subtitle), 1),
83
+ o("h1", A, s((u = e.content) == null ? void 0 : u.title), 1),
84
+ o("p", D, s((m = e.content) == null ? void 0 : m.description), 1),
85
+ o("p", F, [
86
+ o("span", null, s((p = e.content) == null ? void 0 : p.ticketText), 1),
87
+ (v = e.options) != null && v.price ? (t(), n("span", I, s((b = e.options) == null ? void 0 : b.price) + " " + s(l.returnCurrency()), 1)) : i("", !0)
81
88
  ]),
82
- V(j, {
83
- class: "z-index-1 mn-b-small w-40",
84
- options: r.options
85
- }, null, 8, ["options"]),
86
- (h = e.content) != null && h.ticketLinkStripe ? (o(), i("div", F, [
87
- t("a", {
89
+ e.options.date ? (t(), T(V, {
90
+ key: 0,
91
+ class: "z-index-1 mn-t-medium w-100 w-max-30r",
92
+ date: e.options.date
93
+ }, null, 8, ["date"])) : i("", !0),
94
+ (y = e.content) != null && y.ticketLinkStripe ? (t(), n("div", M, [
95
+ o("a", {
88
96
  href: "#",
89
- onClick: d[0] || (d[0] = (v) => k()),
97
+ onClick: d[0] || (d[0] = (f) => w()),
90
98
  class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
91
- }, s((y = e.content) == null ? void 0 : y.buyticket), 1)
92
- ])) : a("", !0),
93
- e.content.video ? (o(), i("video", {
94
- key: 1,
99
+ }, s(((h = e.content) == null ? void 0 : h.ticketTextButton) || "Buy Ticket"), 1)
100
+ ])) : i("", !0),
101
+ e.content.cover && !e.content.video ? (t(), n("img", {
102
+ key: 2,
103
+ style: { "object-fit": "cover", opacity: "0.2" },
104
+ src: e.content.cover,
105
+ class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
106
+ }, null, 8, q)) : i("", !0),
107
+ e.content.video ? (t(), n("video", {
108
+ key: 3,
95
109
  style: { "object-fit": "cover", opacity: "0.2" },
96
110
  ref_key: "videoElement",
97
- ref: n,
111
+ ref: c,
98
112
  class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",
99
113
  preload: "",
100
114
  autoplay: "",
@@ -105,12 +119,12 @@ const N = { class: "t-white t-center w-100 h-100 pos-relative gap-thin cols-2 po
105
119
  src: e.content.video,
106
120
  itemprop: "video",
107
121
  type: "video/webm"
108
- }, null, 8, I)) : a("", !0)
122
+ }, null, 8, G)) : i("", !0)
109
123
  ])
110
124
  ]);
111
125
  };
112
126
  }
113
- }, R = /* @__PURE__ */ B(M, [["__scopeId", "data-v-9170b06f"]]);
127
+ }, X = /* @__PURE__ */ C(J, [["__scopeId", "data-v-6df795ff"]]);
114
128
  export {
115
- R as default
129
+ X as default
116
130
  };
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");require("vue-router");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs");const w=require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs");require("./SectionMainGuest.vue2.cjs");const k={id:"mainguest",class:"o-hidden bg-black t-white pos-relative radius-big gap-zero pos-relative cols-2"},_={class:"pd-big pos-relative flex-column flex w-100 h-100 gap-zero"},E={class:"mn-b-big"},V=["innerHTML"],N=["src"],B=["src"],M={style:{"min-height":"20rem"},class:"o-hidden pos-relative"},S=["src"],j={__name:"SectionMainGuest",props:{content:{type:Object}},setup(t){const o=e.ref(null);let r=!1;function q(){o.value.onplaying=function(){r=!0},o.value.onpause=function(){r=!1}}async function v(){if(o.value.paused&&!r)return o.value.play()}return e.onMounted(()=>{q(),v()}),(b,z)=>{var i,n,l,s,a,c,u,d,m,f,h,p,g,y;return e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",_,[e.createVNode(e.unref(w.default),{telegram:(n=(i=t.content)==null?void 0:i.socials)==null?void 0:n.telegram,facebook:(s=(l=t.content)==null?void 0:l.socials)==null?void 0:s.facebook,instagram:(c=(a=t.content)==null?void 0:a.socials)==null?void 0:c.instagram,twitter:(d=(u=t.content)==null?void 0:u.socials)==null?void 0:d.twitter,class:"mn-b-semi"},null,8,["telegram","facebook","instagram","twitter"]),e.createElementVNode("h2",E,e.toDisplayString((m=t.content)==null?void 0:m.title),1),e.createElementVNode("p",{class:"p-medium",innerHTML:(f=t.content)==null?void 0:f.description},null,8,V),e.renderSlot(b.$slots,"default"),(h=t.content)!=null&&h.soundcloud?(e.openBlock(),e.createElementBlock("iframe",{key:0,class:"radius-big o-hidden mn-t-medium",width:"100%",height:"200",scrolling:"no",frameborder:"no",allow:"autoplay",src:`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com/${t.content.soundcloud}
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");require("vue-router");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs");const E=require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../../../node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs");require("./SectionMainGuest.vue2.cjs");const V={id:"mainguest",class:"o-hidden bg-black t-white pos-relative radius-big gap-zero pos-relative cols-2"},_={class:"pd-big pos-relative flex-column flex w-100 h-100 gap-zero"},B={class:"mn-b-semi"},N=["innerHTML"],M=["src"],S=["src"],T=["src"],$={style:{"min-height":"20rem"},class:"o-hidden pos-relative"},j=["src"],z={__name:"SectionMainGuest",props:{content:{type:Object}},setup(t){const o=e.ref(null);let r=!1;function q(){o.value.onplaying=function(){r=!0},o.value.onpause=function(){r=!1}}async function v(){if(o.value.paused&&!r)return o.value.play()}return e.onMounted(()=>{q(),v()}),(k,C)=>{var i,n,l,a,c,s,u,d,m,h,f,p,y,b,g,w;return e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",_,[e.createVNode(e.unref(E.default),{telegram:(n=(i=t.content)==null?void 0:i.socials)==null?void 0:n.telegram,facebook:(a=(l=t.content)==null?void 0:l.socials)==null?void 0:a.facebook,instagram:(s=(c=t.content)==null?void 0:c.socials)==null?void 0:s.instagram,twitter:(d=(u=t.content)==null?void 0:u.socials)==null?void 0:d.twitter,class:"mn-b-semi"},null,8,["telegram","facebook","instagram","twitter"]),e.createElementVNode("h2",B,e.toDisplayString((m=t.content)==null?void 0:m.title),1),e.createElementVNode("p",{class:"p-medium t-transp",innerHTML:(h=t.content)==null?void 0:h.description},null,8,N),e.renderSlot(k.$slots,"default"),(f=t.content)!=null&&f.soundcloud?(e.openBlock(),e.createElementBlock("iframe",{key:0,class:"radius-big o-hidden mn-t-medium",width:"100%",height:"200",scrolling:"no",frameborder:"no",allow:"autoplay",src:`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com/${t.content.soundcloud}
2
2
  &color=%23ff5500&auto_play=false&hide_related=false
3
- &show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true`},null,8,N)):e.createCommentVNode("",!0),(p=t.content)!=null&&p.spotify?(e.openBlock(),e.createElementBlock("iframe",{key:1,src:`https://open.spotify.com/embed/track/${(g=t.content)==null?void 0:g.spotify}?utm_source=generator`,width:"100%",height:"152",frameBorder:"0",allowfullscreen:"",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",class:"mn-t-thin radius-big o-hidden"},null,8,B)):e.createCommentVNode("",!0)]),e.createElementVNode("div",M,[e.createElementVNode("video",{src:(y=t.content)==null?void 0:y.video,itemprop:"video",type:"video/mp4",ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100 object-fit-cover",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:""},null,8,S)])])}}};exports.default=j;
3
+ &show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true`},null,8,M)):e.createCommentVNode("",!0),(p=t.content)!=null&&p.spotify?(e.openBlock(),e.createElementBlock("iframe",{key:1,src:`https://open.spotify.com/embed/track/${(y=t.content)==null?void 0:y.spotify}?utm_source=generator`,width:"100%",height:"152",frameBorder:"0",allowfullscreen:"",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",class:"mn-t-thin radius-big o-hidden"},null,8,S)):e.createCommentVNode("",!0),(b=t.content)!=null&&b.youtube?(e.openBlock(),e.createElementBlock("iframe",{key:2,width:"100%",class:"radius-big mn-t-semi",height:"315",src:`https://www.youtube.com/embed/${(g=t.content)==null?void 0:g.youtube}`,title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,8,T)):e.createCommentVNode("",!0)]),e.createElementVNode("div",$,[e.createElementVNode("video",{src:(w=t.content)==null?void 0:w.video,itemprop:"video",type:"video/mp4",ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100 object-fit-cover",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:""},null,8,j)])])}}};exports.default=z;