@ozdao/prometheus-framework 0.2.40 → 0.2.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +9 -0
- package/dist/events.server.mjs +9 -0
- package/dist/files.server.js +4 -1
- package/dist/files.server.mjs +4 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +26 -28
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +76 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +95 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +24 -23
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +125 -81
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +65 -56
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +67 -53
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +48 -37
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +71 -57
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +20 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -19
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +31 -28
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +78 -80
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Countdown/Countdown.vue +4 -3
- package/src/components/Header/Header.vue +2 -0
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +1 -0
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +48 -3
- package/src/modules/events/components/pages/Event.vue +16 -8
- package/src/modules/events/components/sections/HeroEvent.vue +32 -28
- package/src/modules/events/components/sections/SectionMainGuest.vue +3 -2
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +22 -15
- package/src/modules/events/models/event.model.js +9 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +13 -2
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
- package/src/modules/orders/store/shopcart.js +21 -5
- package/src/modules/payments/controller/payments.controller.js +54 -200
- package/src/modules/payments/controller/payments.tinkoff.controller.js +242 -0
- package/src/modules/payments/models/payment.model.js +22 -0
- package/src/modules/payments/routes/payments.routes.js +4 -25
- package/src/modules/payments/routes/payments.tinkoff.routes.js +58 -0
- package/src/modules/products/components/pages/Product.vue +3 -1
- package/src/modules/products/components/sections/SectionProduct.vue +3 -0
- package/src/modules/products/controllers/products.controller.js +188 -109
- package/src/modules/products/models/product.model.js +1 -0
- package/src/modules/wallet/components/pages/Wallet.vue +72 -87
- package/src/modules/wallet/controllers/crypto.controller.js +79 -0
- package/src/modules/wallet/models/wallet.model.js +27 -0
- /package/src/modules/{orders/models/payment.model.js → payments/models/payment.tinkoff.model.js} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
import { ref as d, onMounted as
|
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
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
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
|
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__ */
|
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(
|
21
|
-
const
|
22
|
-
F.handleTicketUpdate(e.value, t,
|
23
|
-
},
|
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
|
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
|
34
|
+
return h(async () => {
|
35
35
|
l.value = !0;
|
36
|
-
const t = await z({ user:
|
36
|
+
const t = await z({ user: o.user._id, url: D.params.url });
|
37
37
|
e.value = t[0], l.value = !1;
|
38
|
-
}), (t,
|
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, (
|
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(
|
49
|
+
u(b, { name: "fade" }, {
|
50
50
|
default: p(() => [
|
51
|
-
!l.value && !e.value ? (a(), s(
|
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
|
-
})) :
|
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(
|
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
|
-
|
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"])) :
|
84
|
-
!l.value && e.value && e.value.special ? (a(), s(
|
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"])) :
|
102
|
+
}, null, 8, ["content"])) : n("", !0),
|
101
103
|
!l.value && e.value && e.value.special ? (a(), c("section", {
|
102
104
|
key: 2,
|
103
|
-
style:
|
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
|
-
|
111
|
-
class:
|
112
|
-
"cols-2": e.value.specialData.guests.
|
113
|
-
"cols-1": e.value.specialData.guests.
|
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.
|
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"])) :
|
123
|
-
u(
|
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)) :
|
148
|
+
], 4)) : n("", !0),
|
140
149
|
!l.value && e.value && !e.value.special ? (a(), s(M, {
|
141
150
|
key: 3,
|
142
|
-
onClick:
|
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:
|
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
|
-
|
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:
|
164
|
+
userId: o.user._id,
|
156
165
|
class: "mn-b-small w-100 pd-medium mn-auto",
|
157
|
-
onUpdateTicket:
|
158
|
-
}, null, 8, ["hasTicket", "targetId", "userId"])) :
|
159
|
-
|
160
|
-
e.value && e.value.content ? (a(!0), c(f, { key: 0 }, k(e.value.content, (
|
161
|
-
key:
|
162
|
-
index:
|
163
|
-
component:
|
164
|
-
prop:
|
165
|
-
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
|
-
},
|
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"])) :
|
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:
|
177
|
-
}, null, 8, ["target", "owner"])) :
|
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
|
-
|
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.
|
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.
|
10
|
-
import "../../../../components/Button/Button.
|
11
|
-
import "../../../../components/Select/Select.
|
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
|
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
|
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
|
3
|
+
import V from "../../../../components/Countdown/Countdown.vue.js";
|
4
4
|
import "./HeroEvent.vue2.js";
|
5
|
-
import
|
6
|
-
const
|
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"],
|
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
|
-
},
|
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
|
24
|
-
var
|
25
|
-
function
|
26
|
-
|
27
|
-
|
28
|
-
},
|
29
|
-
|
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 (
|
34
|
-
return
|
36
|
+
if (c.value.paused && !a)
|
37
|
+
return c.value.play();
|
35
38
|
}
|
36
|
-
|
37
|
-
|
39
|
+
B(() => {
|
40
|
+
x(), g();
|
38
41
|
});
|
39
|
-
|
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 =
|
47
|
+
}), window.open((l = k.content) == null ? void 0 : l.ticketLinkStripe);
|
46
48
|
}
|
47
49
|
return (l, d) => {
|
48
|
-
var
|
49
|
-
return
|
50
|
-
|
51
|
-
e.content.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:
|
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,
|
73
|
+
}, null, 8, N)) : i("", !0)
|
67
74
|
]),
|
68
|
-
|
69
|
-
|
70
|
-
(
|
71
|
-
class: "i-big",
|
72
|
-
src:
|
73
|
-
}, null, 8,
|
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
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
t("span",
|
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
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
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] = (
|
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((
|
92
|
-
])) :
|
93
|
-
e.content.video ? (
|
94
|
-
key:
|
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:
|
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,
|
122
|
+
}, null, 8, G)) : i("", !0)
|
109
123
|
])
|
110
124
|
]);
|
111
125
|
};
|
112
126
|
}
|
113
|
-
},
|
127
|
+
}, X = /* @__PURE__ */ C(J, [["__scopeId", "data-v-6df795ff"]]);
|
114
128
|
export {
|
115
|
-
|
129
|
+
X as default
|
116
130
|
};
|
package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs
CHANGED
@@ -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
|
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,
|
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;
|