@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,21 +1,21 @@
|
|
1
|
-
import { ref as b, onMounted as $, unref as t, openBlock as d, createElementBlock as r, createElementVNode as i, createVNode as s, createCommentVNode as f, createBlock as
|
2
|
-
import "../../../constructor/components/elements/Textarea.
|
3
|
-
import
|
1
|
+
import { ref as b, onMounted as $, unref as t, openBlock as d, createElementBlock as r, createElementVNode as i, createVNode as s, createCommentVNode as f, createBlock as B, withCtx as D, Fragment as T, renderList as _, createTextVNode as R } from "vue";
|
2
|
+
import "../../../constructor/components/elements/Textarea.vue.js";
|
3
|
+
import A from "../../../constructor/components/sections/Constructor.vue.js";
|
4
4
|
import I from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
|
5
5
|
import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
|
6
|
-
import
|
7
|
-
import z from "../../../../components/Popup/Popup.
|
8
|
-
import n from "../../../../components/Field/Field.
|
6
|
+
import P from "../../../../components/Block/Block.vue.js";
|
7
|
+
import z from "../../../../components/Popup/Popup.vue2.js";
|
8
|
+
import n from "../../../../components/Field/Field.vue2.js";
|
9
9
|
import H from "../../../../components/FieldTags/BlockTags.vue.js";
|
10
|
-
import E from "../../../../components/Checkbox/Checkbox.
|
11
|
-
import
|
12
|
-
import
|
10
|
+
import E from "../../../../components/Checkbox/Checkbox.vue2.js";
|
11
|
+
import Y from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
12
|
+
import k from "../../../../components/Upload/Upload.vue.js";
|
13
13
|
import y from "../../../../components/UploadImage/UploadImage.vue.js";
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
14
|
+
import J from "../../../../components/EditImages/EditImages.vue.js";
|
15
|
+
import K from "../../../../components/Button/Button.vue2.js";
|
16
|
+
import L from "../../../icons/navigation/IconDelete.vue.js";
|
17
17
|
import { useRoute as j, useRouter as q } from "vue-router";
|
18
|
-
import { read as Q, clean as W, state as X, update as
|
18
|
+
import { read as Q, clean as W, state as X, update as V, create as S, remove as Z } from "../../store/events.js";
|
19
19
|
import { state as u } from "../../../auth/store/auth.js";
|
20
20
|
import { actions as ee } from "../../../organizations/store/organizations.js";
|
21
21
|
import "./EditEvent.vue2.js";
|
@@ -28,24 +28,24 @@ const le = {
|
|
28
28
|
}, ie = {
|
29
29
|
key: 2,
|
30
30
|
class: "mn-b-semi"
|
31
|
-
}, oe = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Hero Section ", -1), ne = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1), de = /* @__PURE__ */ i("p", null, "Need to upload in webm format because of needs of optimization", -1), re = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Ticket ", -1), ue = { class: "mn-b-small gap-small cols-2-fit-content" }, pe = { class: "gap-thin flex-nowrap flex w-100" }, me = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), ce = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Guest Section ", -1), fe = { class: "gap-thin cols-3" }, ge = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1), be = { class: "gap-thin flex-nowrap flex w-100" }, he = { class: "w-100" }, ve = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, De = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1),
|
31
|
+
}, oe = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Hero Section ", -1), ne = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1), de = /* @__PURE__ */ i("p", null, "Need to upload in webm format because of needs of optimization", -1), re = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Ticket ", -1), ue = { class: "mn-b-small gap-small cols-2-fit-content" }, pe = { class: "gap-thin flex-nowrap flex w-100" }, me = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), ce = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Guest Section ", -1), fe = { class: "gap-thin cols-3" }, ge = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1), be = { class: "gap-thin flex-nowrap flex w-100" }, he = { class: "w-100" }, ve = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, De = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), ke = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Lineup Section ", -1), we = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ye = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1), Ue = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), xe = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1), Te = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1), _e = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Date", -1), Pe = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Description", -1), Ee = {
|
32
32
|
key: 3,
|
33
33
|
class: "pd-b-extra w-100 bg-grey pd-big radius-big"
|
34
|
-
},
|
34
|
+
}, Le = {
|
35
35
|
key: 4,
|
36
36
|
class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
|
37
|
-
},
|
37
|
+
}, Ve = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Se = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Final Touches", -1), Ce = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, "Add to public:", -1), Ne = {
|
38
38
|
key: 0,
|
39
39
|
class: "mn-b-thin"
|
40
|
-
},
|
40
|
+
}, Me = {
|
41
41
|
key: 1,
|
42
42
|
class: "mn-b-medium br-grey br-2px br-solid pd-small radius-big"
|
43
|
-
},
|
43
|
+
}, tl = {
|
44
44
|
__name: "EditEvent",
|
45
|
-
setup(
|
45
|
+
setup(Ge) {
|
46
46
|
const h = j(), v = q();
|
47
47
|
let e = b(null), U = b(null);
|
48
|
-
const
|
48
|
+
const x = b([]), p = b(null), m = b(), C = () => ({ top: 0, left: 0 });
|
49
49
|
$(async () => {
|
50
50
|
if (h.params.url) {
|
51
51
|
const a = await Q({ user: u.user._id, url: h.params.url });
|
@@ -80,18 +80,18 @@ const le = {
|
|
80
80
|
photo: a.profile.photo
|
81
81
|
}));
|
82
82
|
});
|
83
|
-
const
|
83
|
+
const w = b(!1);
|
84
|
+
function N() {
|
85
|
+
w.value = !0;
|
86
|
+
}
|
84
87
|
function M() {
|
85
|
-
|
88
|
+
w.value = !1;
|
86
89
|
}
|
87
90
|
function G() {
|
88
|
-
|
89
|
-
}
|
90
|
-
function F() {
|
91
|
-
_.value.length > 0 && _.value.map((o) => o.text), e.value.status = "draft", e.value.date = {
|
91
|
+
x.value.length > 0 && x.value.map((o) => o.text), e.value.status = "draft", e.value.date = {
|
92
92
|
start: m.value[0],
|
93
93
|
end: m.value[1]
|
94
|
-
}, h.params.url ?
|
94
|
+
}, h.params.url ? V(e.value).then((o) => {
|
95
95
|
v.push({ name: "Event", params: { url: o.url } });
|
96
96
|
}).catch((o) => {
|
97
97
|
console.error(o);
|
@@ -101,14 +101,14 @@ const le = {
|
|
101
101
|
console.error(o);
|
102
102
|
});
|
103
103
|
}
|
104
|
-
function
|
104
|
+
function F() {
|
105
105
|
p.value && (e.value.owner = {
|
106
106
|
target: p.value._id,
|
107
107
|
type: "organization"
|
108
108
|
}), p.value || (e.value.creator.hidden = !1), p.value || (e.value.organization = e.value.creator), e.value.status = "published", e.value.date = {
|
109
109
|
start: m.value[0],
|
110
110
|
end: m.value[1]
|
111
|
-
}, console.log(m.value), h.params.url ? (console.log(e.value),
|
111
|
+
}, console.log(m.value), h.params.url ? (console.log(e.value), V(e.value).then((o) => {
|
112
112
|
v.push({ name: "Event", params: { url: o.url } });
|
113
113
|
}).catch((o) => {
|
114
114
|
console.log(o);
|
@@ -149,7 +149,7 @@ const le = {
|
|
149
149
|
class: "mn-b-semi w-100 bg-grey pd-medium radius-small"
|
150
150
|
}, null, 8, ["field"]),
|
151
151
|
u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), r("h3", se, " Special Details ")) : f("", !0),
|
152
|
-
u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(),
|
152
|
+
u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), B(E, {
|
153
153
|
key: 1,
|
154
154
|
label: "Special",
|
155
155
|
radio: t(e).special,
|
@@ -164,7 +164,7 @@ const le = {
|
|
164
164
|
placeholder: "Event subtitle",
|
165
165
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
166
166
|
}, null, 8, ["field"]),
|
167
|
-
s(
|
167
|
+
s(J, {
|
168
168
|
images: t(e).specialData.logos,
|
169
169
|
uploadPath: "/specials",
|
170
170
|
text: {
|
@@ -180,7 +180,7 @@ const le = {
|
|
180
180
|
}, null, 8, ["images"]),
|
181
181
|
ne,
|
182
182
|
de,
|
183
|
-
s(
|
183
|
+
s(k, {
|
184
184
|
field: t(e).specialData.video,
|
185
185
|
"onUpdate:field": a[6] || (a[6] = (l) => t(e).specialData.video = l),
|
186
186
|
placeholder: "Upload video",
|
@@ -210,6 +210,18 @@ const le = {
|
|
210
210
|
type: "number",
|
211
211
|
placeholder: "Ticket price in baht",
|
212
212
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
213
|
+
}, null, 8, ["field"]),
|
214
|
+
s(n, {
|
215
|
+
field: t(e).specialData.ticketText,
|
216
|
+
"onUpdate:field": a[11] || (a[11] = (l) => t(e).specialData.ticketText = l),
|
217
|
+
placeholder: "Promotion text for ticket in hero ",
|
218
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
219
|
+
}, null, 8, ["field"]),
|
220
|
+
s(n, {
|
221
|
+
field: t(e).specialData.ticketTextButton,
|
222
|
+
"onUpdate:field": a[12] || (a[12] = (l) => t(e).specialData.ticketTextButton = l),
|
223
|
+
placeholder: "Text on 'Buy Ticket' button ",
|
224
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
213
225
|
}, null, 8, ["field"])
|
214
226
|
])
|
215
227
|
]),
|
@@ -217,65 +229,71 @@ const le = {
|
|
217
229
|
ce,
|
218
230
|
s(n, {
|
219
231
|
field: t(e).specialData.guestTitle,
|
220
|
-
"onUpdate:field": a[
|
232
|
+
"onUpdate:field": a[13] || (a[13] = (l) => t(e).specialData.guestTitle = l),
|
221
233
|
placeholder: "Title for Main Guest section",
|
222
234
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
223
235
|
}, null, 8, ["field"]),
|
224
236
|
s(n, {
|
225
237
|
field: t(e).specialData.guestDescription,
|
226
|
-
"onUpdate:field": a[
|
238
|
+
"onUpdate:field": a[14] || (a[14] = (l) => t(e).specialData.guestDescription = l),
|
227
239
|
placeholder: "Description for Main Guest section",
|
228
240
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
229
241
|
}, null, 8, ["field"]),
|
230
242
|
i("div", fe, [
|
231
243
|
s(n, {
|
232
244
|
field: t(e).specialData.guestFacebook,
|
233
|
-
"onUpdate:field": a[
|
245
|
+
"onUpdate:field": a[15] || (a[15] = (l) => t(e).specialData.guestFacebook = l),
|
234
246
|
placeholder: "Facebook of Main Guest",
|
235
247
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
236
248
|
}, null, 8, ["field"]),
|
237
249
|
s(n, {
|
238
250
|
field: t(e).specialData.guestInstagram,
|
239
|
-
"onUpdate:field": a[
|
251
|
+
"onUpdate:field": a[16] || (a[16] = (l) => t(e).specialData.guestInstagram = l),
|
240
252
|
placeholder: "Instagram of Main Guest",
|
241
253
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
242
254
|
}, null, 8, ["field"]),
|
243
255
|
s(n, {
|
244
256
|
field: t(e).specialData.guestTwitter,
|
245
|
-
"onUpdate:field": a[
|
257
|
+
"onUpdate:field": a[17] || (a[17] = (l) => t(e).specialData.guestTwitter = l),
|
246
258
|
placeholder: "Twitter of Main Guest",
|
247
259
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
248
260
|
}, null, 8, ["field"]),
|
249
261
|
s(n, {
|
250
262
|
field: t(e).specialData.guestTelegram,
|
251
|
-
"onUpdate:field": a[
|
263
|
+
"onUpdate:field": a[18] || (a[18] = (l) => t(e).specialData.guestTelegram = l),
|
252
264
|
placeholder: "Telegram of Main Guest",
|
253
265
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
254
266
|
}, null, 8, ["field"]),
|
255
267
|
s(n, {
|
256
268
|
field: t(e).specialData.guestSoundcloud,
|
257
|
-
"onUpdate:field": a[
|
269
|
+
"onUpdate:field": a[19] || (a[19] = (l) => t(e).specialData.guestSoundcloud = l),
|
258
270
|
placeholder: "Link to Main Guest soundcloud track",
|
259
271
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
260
272
|
}, null, 8, ["field"]),
|
261
273
|
s(n, {
|
262
274
|
field: t(e).specialData.guestSpotify,
|
263
|
-
"onUpdate:field": a[
|
275
|
+
"onUpdate:field": a[20] || (a[20] = (l) => t(e).specialData.guestSpotify = l),
|
264
276
|
placeholder: "Link to Main guest spotify track",
|
265
277
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
278
|
+
}, null, 8, ["field"]),
|
279
|
+
s(n, {
|
280
|
+
field: t(e).specialData.guestYoutube,
|
281
|
+
"onUpdate:field": a[21] || (a[21] = (l) => t(e).specialData.guestYoutube = l),
|
282
|
+
placeholder: "Link to Main guest youtube video",
|
283
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
266
284
|
}, null, 8, ["field"])
|
267
285
|
]),
|
268
286
|
ge,
|
269
|
-
s(
|
287
|
+
s(k, {
|
270
288
|
field: t(e).specialData.guestVideo,
|
271
|
-
"onUpdate:field": a[
|
289
|
+
"onUpdate:field": a[22] || (a[22] = (l) => t(e).specialData.guestVideo = l),
|
272
290
|
placeholder: "Upload video",
|
273
|
-
onFileChange: a[
|
291
|
+
onFileChange: a[23] || (a[23] = (l) => t(e).specialData.guestVideo = l),
|
274
292
|
uploadPath: "/specials",
|
275
293
|
type: "file",
|
276
294
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
277
295
|
}, null, 8, ["field"]),
|
278
|
-
s(
|
296
|
+
s(P, {
|
279
297
|
title: "Guests",
|
280
298
|
placeholder: "No guests added yet",
|
281
299
|
actions: [{
|
@@ -285,7 +303,7 @@ const le = {
|
|
285
303
|
class: "cols-1 mn-b-thin t-black gap-thin"
|
286
304
|
}, {
|
287
305
|
default: D(() => [
|
288
|
-
(d(!0), r(
|
306
|
+
(d(!0), r(T, null, _(t(e).specialData.guests, (l, g) => (d(), r("div", {
|
289
307
|
class: "mn-b-small gap-small cols-2-fit-content",
|
290
308
|
key: g
|
291
309
|
}, [
|
@@ -311,7 +329,7 @@ const le = {
|
|
311
329
|
}, null, 8, ["field", "onUpdate:field"])
|
312
330
|
]),
|
313
331
|
i("div", ve, [
|
314
|
-
s(
|
332
|
+
s(L, {
|
315
333
|
onClick: () => t(e).specialData.guests.splice(g, 1),
|
316
334
|
class: "i-medium"
|
317
335
|
}, null, 8, ["onClick"])
|
@@ -322,8 +340,8 @@ const le = {
|
|
322
340
|
_: 1
|
323
341
|
}, 8, ["actions"]),
|
324
342
|
De,
|
325
|
-
|
326
|
-
s(
|
343
|
+
ke,
|
344
|
+
s(P, {
|
327
345
|
title: "Line Up",
|
328
346
|
placeholder: "No line ups added yet",
|
329
347
|
actions: [{
|
@@ -333,7 +351,7 @@ const le = {
|
|
333
351
|
class: "cols-1 t-black gap-thin"
|
334
352
|
}, {
|
335
353
|
default: D(() => [
|
336
|
-
(d(!0), r(
|
354
|
+
(d(!0), r(T, null, _(t(e).specialData.lineup, (l, g) => (d(), r("div", {
|
337
355
|
class: "mn-b-thin gap-small flex-nowrap flex",
|
338
356
|
key: g
|
339
357
|
}, [
|
@@ -349,8 +367,8 @@ const le = {
|
|
349
367
|
placeholder: "Time",
|
350
368
|
class: "w-100 bg-grey radius-small pd-medium"
|
351
369
|
}, null, 8, ["field", "onUpdate:field"]),
|
352
|
-
i("div",
|
353
|
-
s(
|
370
|
+
i("div", we, [
|
371
|
+
s(L, {
|
354
372
|
onClick: () => t(e).specialData.lineup.splice(g, 1),
|
355
373
|
class: "i-medium"
|
356
374
|
}, null, 8, ["onClick"])
|
@@ -360,21 +378,47 @@ const le = {
|
|
360
378
|
_: 1
|
361
379
|
}, 8, ["actions"]),
|
362
380
|
ye,
|
363
|
-
s(
|
381
|
+
s(k, {
|
364
382
|
field: t(e).specialData.lineupBackground,
|
365
|
-
"onUpdate:field": a[
|
383
|
+
"onUpdate:field": a[24] || (a[24] = (l) => t(e).specialData.lineupBackground = l),
|
366
384
|
placeholder: "Upload image",
|
367
|
-
onFileChange: a[
|
385
|
+
onFileChange: a[25] || (a[25] = (l) => t(e).specialData.lineupBackground = l),
|
368
386
|
uploadPath: "/specials",
|
369
387
|
type: "file",
|
370
388
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
371
389
|
}, null, 8, ["field"]),
|
372
390
|
Ue,
|
373
|
-
|
391
|
+
xe,
|
392
|
+
Te,
|
393
|
+
s(n, {
|
394
|
+
field: t(e).specialData.previousTitle,
|
395
|
+
"onUpdate:field": a[26] || (a[26] = (l) => t(e).specialData.previousTitle = l),
|
396
|
+
placeholder: "Name",
|
397
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
398
|
+
}, null, 8, ["field"]),
|
399
|
+
s(n, {
|
400
|
+
field: t(e).specialData.previousDescription,
|
401
|
+
"onUpdate:field": a[27] || (a[27] = (l) => t(e).specialData.previousDescription = l),
|
402
|
+
placeholder: "Name",
|
403
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
404
|
+
}, null, 8, ["field"]),
|
405
|
+
s(n, {
|
406
|
+
field: t(e).specialData.previousLink,
|
407
|
+
"onUpdate:field": a[28] || (a[28] = (l) => t(e).specialData.previousLink = l),
|
408
|
+
placeholder: "Name",
|
409
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
410
|
+
}, null, 8, ["field"]),
|
411
|
+
s(n, {
|
412
|
+
field: t(e).specialData.previousLinkText,
|
413
|
+
"onUpdate:field": a[29] || (a[29] = (l) => t(e).specialData.previousLinkText = l),
|
414
|
+
placeholder: "Name",
|
415
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
416
|
+
}, null, 8, ["field"]),
|
417
|
+
s(k, {
|
374
418
|
field: t(e).specialData.previousVideo,
|
375
|
-
"onUpdate:field": a[
|
419
|
+
"onUpdate:field": a[30] || (a[30] = (l) => t(e).specialData.previousVideo = l),
|
376
420
|
placeholder: "Upload image",
|
377
|
-
onFileChange: a[
|
421
|
+
onFileChange: a[31] || (a[31] = (l) => t(e).specialData.previousVideo = l),
|
378
422
|
uploadPath: "/specials",
|
379
423
|
type: "file",
|
380
424
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
@@ -383,51 +427,51 @@ const le = {
|
|
383
427
|
_e,
|
384
428
|
s(t(I), {
|
385
429
|
modelValue: m.value,
|
386
|
-
"onUpdate:modelValue": a[
|
387
|
-
"alt-position":
|
430
|
+
"onUpdate:modelValue": a[32] || (a[32] = (l) => m.value = l),
|
431
|
+
"alt-position": C,
|
388
432
|
range: "",
|
389
433
|
class: "mn-b-semi"
|
390
434
|
}, null, 8, ["modelValue"]),
|
391
|
-
|
392
|
-
t(e) ? (d(), r("section",
|
393
|
-
s(
|
435
|
+
Pe,
|
436
|
+
t(e) ? (d(), r("section", Ee, [
|
437
|
+
s(A, {
|
394
438
|
content: t(e).content,
|
395
|
-
onUpdate: a[
|
439
|
+
onUpdate: a[33] || (a[33] = (l) => t(e).content = l)
|
396
440
|
}, null, 8, ["content"])
|
397
441
|
])) : f("", !0),
|
398
|
-
t(e) ? (d(), r("section",
|
399
|
-
i("div",
|
442
|
+
t(e) ? (d(), r("section", Le, [
|
443
|
+
i("div", Ve, [
|
400
444
|
t(h).params.url ? (d(), r("a", {
|
401
445
|
key: 0,
|
402
|
-
onClick: a[
|
446
|
+
onClick: a[34] || (a[34] = (l) => O()),
|
403
447
|
class: "mn-r-auto bg-red t-white t-black button"
|
404
448
|
}, "Delete")) : f("", !0),
|
405
449
|
i("a", {
|
406
|
-
onClick: a[
|
450
|
+
onClick: a[35] || (a[35] = (l) => G()),
|
407
451
|
class: "mn-l-auto bg-white t-black button"
|
408
452
|
}, "To Drafts"),
|
409
453
|
i("a", {
|
410
|
-
onClick: a[
|
454
|
+
onClick: a[36] || (a[36] = (l) => N()),
|
411
455
|
class: "mn-l-thin bg-black t-white button"
|
412
456
|
}, "Publish")
|
413
457
|
])
|
414
458
|
])) : f("", !0),
|
415
459
|
s(z, {
|
416
460
|
title: "Добавить участника",
|
417
|
-
onClosePopup:
|
418
|
-
isPopupOpen:
|
461
|
+
onClosePopup: M,
|
462
|
+
isPopupOpen: w.value,
|
419
463
|
class: "w-m-33r t-left pd-big bg-white radius-big"
|
420
464
|
}, {
|
421
465
|
default: D(() => [
|
422
|
-
|
466
|
+
Se,
|
423
467
|
s(H, {
|
424
|
-
onTagsChanged: a[
|
468
|
+
onTagsChanged: a[37] || (a[37] = (l) => t(e).tags = l),
|
425
469
|
tags: t(e).tags
|
426
470
|
}, null, 8, ["tags"]),
|
427
471
|
Ce,
|
428
|
-
s(
|
472
|
+
s(Y, {
|
429
473
|
modelValue: p.value,
|
430
|
-
"onUpdate:modelValue": a[
|
474
|
+
"onUpdate:modelValue": a[38] || (a[38] = (l) => p.value = l),
|
431
475
|
options: t(U),
|
432
476
|
multiple: !1,
|
433
477
|
taggable: !1,
|
@@ -436,23 +480,23 @@ const le = {
|
|
436
480
|
"track-by": "_id",
|
437
481
|
class: "mn-b-medium bg-grey radius-medium pd-small"
|
438
482
|
}, null, 8, ["modelValue", "options"]),
|
439
|
-
p.value ? (d(), r("h5",
|
440
|
-
p.value ? (d(), r("div",
|
483
|
+
p.value ? (d(), r("h5", Ne, "Options:")) : f("", !0),
|
484
|
+
p.value ? (d(), r("div", Me, [
|
441
485
|
s(E, {
|
442
486
|
label: "Hide Author",
|
443
487
|
radio: t(e).creator.hidden,
|
444
|
-
"onUpdate:radio": a[
|
488
|
+
"onUpdate:radio": a[39] || (a[39] = (l) => t(e).creator.hidden = l),
|
445
489
|
name: "prices",
|
446
490
|
class: "w-100"
|
447
491
|
}, null, 8, ["radio"])
|
448
492
|
])) : f("", !0),
|
449
|
-
s(
|
450
|
-
submit:
|
493
|
+
s(K, {
|
494
|
+
submit: F,
|
451
495
|
callback: o.redirectTo,
|
452
496
|
class: "w-100 bg-black t-white"
|
453
497
|
}, {
|
454
498
|
default: D(() => [
|
455
|
-
|
499
|
+
R("Publish")
|
456
500
|
]),
|
457
501
|
_: 1
|
458
502
|
}, 8, ["callback"])
|
@@ -463,5 +507,5 @@ const le = {
|
|
463
507
|
}
|
464
508
|
};
|
465
509
|
export {
|
466
|
-
|
510
|
+
tl as default
|
467
511
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const
|
2
|
-
background-image: url(${t.value.specialData.lineupBackground});
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const v=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../sections/HeroEvent.vue.cjs"),m=require("../sections/SectionMainGuest.vue.cjs"),g=require("../sections/SectionSpecialGuests.vue.cjs"),k=require("../sections/SectionLineup.vue.cjs"),D=require("../sections/SectionPreviousEvents.vue.cjs"),y=require("../blocks/CardEvent.vue.cjs"),f=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),B=require("../elements/ButtonJoin.vue.cjs"),h=require("../../../community/components/sections/Comments.vue.cjs"),T=require("../../../constructor/components/elements/Image.vue.cjs"),C=require("../../store/events.cjs"),b=require("../../store/tickets.cjs"),u=require("../../../auth/store/auth.cjs"),_=require("vue-router"),V={class:"pd-thin"},N=e.createElementVNode("h2",{class:"mn-b-big w-100 t-center"},"Event Details",-1),x={__name:"Event",setup(q){const s=_.useRoute(),r=({ticket:a,hasTicket:i,targetId:n})=>{b.mutations.handleTicketUpdate(t.value,a,i,n)},c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:T.default};function p(a){return a.type==="Textarea"?{innerHTML:a.content,class:"p-medium"}:a.type==="H2"?{innerHTML:a.content,class:"h3"}:a.type==="Caption"?{innerHTML:a.content}:a.type==="ImageUpload"?{src:a.content}:{}}const t=e.ref(null),l=e.ref(!0);return e.onMounted(async()=>{l.value=!0;const a=await C.read({user:u.state.user._id,url:s.params.url});t.value=a[0],l.value=!1}),(a,i)=>(e.openBlock(),e.createElementBlock("section",V,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,n=>e.createVNode(f.default,{key:n})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!l.value&&!t.value?(e.openBlock(),e.createBlock(v.default,{key:0,title:"No Event Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!l.value&&t.value&&t.value.special?(e.openBlock(),e.createBlock(d.default,{key:0,content:{title:t.value.name,description:t.value.description,ticketLinkStripe:t.value.specialData.ticketLinkStripe,ticketText:t.value.specialData.ticketText,cover:t.value.cover,subtitle:t.value.specialData.subtitle,logos:t.value.specialData.logos,video:t.value.specialData.video,ticketTextButton:t.value.specialData.ticketTextButton},options:{date:t.value.date.start,price:t.value.specialData.ticketPrice},class:"mn-b-thin"},null,8,["content","options"])):e.createCommentVNode("",!0),!l.value&&t.value&&t.value.special?(e.openBlock(),e.createBlock(m.default,{key:1,content:{title:t.value.specialData.guestTitle,description:t.value.specialData.guestDescription,socials:{twitter:t.value.specialData.guestTwitter,telegram:t.value.specialData.guestTelegram,instagram:t.value.specialData.guestInstagram,facebook:t.value.specialData.guestFacebook},video:t.value.specialData.guestVideo,spotify:t.value.specialData.guestSpotify,soundcloud:t.value.specialData.guestSoundcloud,youtube:t.value.specialData.guestYoutube},class:"mn-b-thin"},null,8,["content"])):e.createCommentVNode("",!0),!l.value&&t.value&&t.value.special?(e.openBlock(),e.createElementBlock("section",{key:2,style:e.normalizeStyle(`
|
3
2
|
background-size: 100%; background-repeat: no-repeat;
|
4
|
-
|
3
|
+
background-image: url(${t.value.specialData.lineupBackground});
|
4
|
+
`),class:"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"},[N,e.createElementVNode("div",{class:e.normalizeClass(["gap-big mn-b-thin",{"cols-2":t.value.specialData.guests.length>0,"cols-1":t.value.specialData.guests.length>1}])},[t.value.specialData.guests.length>0?(e.openBlock(),e.createBlock(g.default,{key:0,content:{title:"Special Guests",guests:t.value.specialData.guests}},null,8,["content"])):e.createCommentVNode("",!0),e.createVNode(k.default,{content:{title:"Lineup",lineup:t.value.specialData.lineup}},null,8,["content"])],2),e.createVNode(D.default,{content:{ticket:t.value.specialData.ticketImage,ticketTextButton:t.value.specialData.ticketTextButton,paymentText:t.value.specialData.paymentText,paymentContact:t.value.specialData.paymentContact,previousTitle:t.value.specialData.previousTitle,previousDescription:t.value.specialData.previousDescription,previousLink:t.value.specialData.previousLink,previousLinkText:t.value.specialData.previousLinkText},options:{link:t.value.specialData.ticketLinkStripe,video:t.value.specialData.previousVideo}},null,8,["content","options"])],4)):e.createCommentVNode("",!0),!l.value&&t.value&&!t.value.special?(e.openBlock(),e.createBlock(y.default,{key:3,onClick:i[0]||(i[0]=n=>a.$router.push({name:"Event",params:{url:t.value.url}})),event:t.value,owner:t.value.owner,user:u.state.user._id,type:"normal",class:"mn-b-medium bg-grey radius-big"},{default:e.withCtx(()=>[u.state.user._id?(e.openBlock(),e.createBlock(B.default,{key:0,type:"event",hasTicket:t.value.hasTicket,targetId:t.value._id,userId:u.state.user._id,class:"mn-b-small w-100 pd-medium mn-auto",onUpdateTicket:r},null,8,["hasTicket","targetId","userId"])):e.createCommentVNode("",!0),e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[n.type]),e.mergeProps({key:o,index:o,component:n,prop:n,class:n.class,content:"content"},p(n),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["event","owner","user"])):e.createCommentVNode("",!0),!l.value&&t.value&&!t.value.special?(e.openBlock(),e.createBlock(h.default,{key:4,type:"event",target:t.value._id,owner:u.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=x;
|