@ozdao/prometheus-framework 0.0.86 → 0.0.87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +1944 -0
- package/dist/CardOrganization-ee5c34ab.js +1 -0
- package/dist/CardOrganization-f70bd169.mjs +202 -0
- package/dist/Comments-63f154a6.js +9 -0
- package/dist/Comments-c5afa4d6.mjs +459 -0
- package/dist/Feed-8fd41524.js +1 -0
- package/dist/Feed-ecf37814.mjs +367 -0
- package/dist/IconEdit-736c89be.js +1 -0
- package/dist/IconEdit-e9fd4c6c.mjs +21 -0
- package/dist/Popup-105ef2c3.js +1 -0
- package/dist/Popup-82fb2c8a.mjs +76 -0
- package/dist/Product-2f3d592f.mjs +837 -0
- package/dist/Product-2fbf9d99.js +7 -0
- package/dist/ProductEdit-20709821.mjs +349 -0
- package/dist/ProductEdit-a81d13b9.js +1 -0
- package/dist/ProfileBlogposts-eca9916c.js +1 -0
- package/dist/ProfileBlogposts-fb014bc6.mjs +63 -0
- package/dist/ProfileComments-58094a50.mjs +43 -0
- package/dist/ProfileComments-b919f021.js +1 -0
- package/dist/ProfileEvents-05485e20.js +1 -0
- package/dist/ProfileEvents-5d206e3d.mjs +55 -0
- package/dist/ProfileLikes-2f3a4488.js +1 -0
- package/dist/ProfileLikes-b5ac7f48.mjs +43 -0
- package/dist/ProfileOrganizations-0b76e38f.js +1 -0
- package/dist/ProfileOrganizations-32ab1e30.mjs +211 -0
- package/dist/Publics-3f277c17.js +1 -0
- package/dist/Publics-9ebffff1.mjs +122 -0
- package/dist/Tab-58cd105f.mjs +46 -0
- package/dist/Tab-6f0a4909.js +1 -0
- package/dist/UploadImage-441e8526.js +1 -0
- package/dist/UploadImage-ff8f9a0c.mjs +83 -0
- package/dist/auth.client.cjs +2 -2
- package/dist/auth.client.js +60 -40
- package/dist/community.client.cjs +1 -9
- package/dist/community.client.js +367 -739
- package/dist/community.server.js +16 -4
- package/dist/community.server.mjs +16 -4
- package/dist/events.client.cjs +1 -1
- package/dist/events.client.js +431 -329
- package/dist/events.server.js +19 -2
- package/dist/events.server.mjs +19 -2
- package/dist/inputs.validation-24ae76b9.js +1 -0
- package/dist/modules/constructor/components/elements/Bullets.vue.d.ts +15 -0
- package/dist/modules/constructor/components/elements/Caption.vue.d.ts +15 -0
- package/dist/modules/constructor/components/elements/H2.vue.d.ts +16 -0
- package/dist/modules/constructor/components/elements/Image.vue.d.ts +8 -0
- package/dist/modules/constructor/components/elements/ImageUpload.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +12 -0
- package/dist/modules/constructor/components/sections/Constructor.vue.d.ts +7 -0
- package/dist/modules/events/components/sections/Feed.vue.d.ts +1 -0
- package/dist/organizations-1b4c84ee.mjs +121 -0
- package/dist/organizations-af43bda4.js +1 -0
- package/dist/organizations.client-253c8068.mjs +3179 -0
- package/dist/organizations.client-c60d7659.js +3 -0
- package/dist/organizations.client.cjs +1 -3
- package/dist/organizations.client.js +49 -3025
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +10 -10
- package/package.json +1 -1
- package/src/modules/auth/router/auth.js +28 -7
- package/src/modules/community/community.client.js +1 -12
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +8 -151
- package/src/modules/community/middlewares/server/verifyBlogpost.js +24 -11
- package/src/modules/{community → constructor}/components/elements/Textarea.vue +3 -11
- package/src/modules/constructor/components/sections/Constructor.vue +167 -0
- package/src/modules/events/components/blocks/CardEvent.vue +14 -6
- package/src/modules/events/components/pages/EditEvent.vue +228 -133
- package/src/modules/events/components/sections/Feed.vue +7 -1
- package/src/modules/events/controllers/events.controller.js +9 -0
- package/src/modules/events/controllers/tickets.controller.js +2 -1
- package/src/modules/events/models/event.model.js +10 -0
- package/src/modules/events/store/events.js +15 -19
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -3
- package/src/modules/organizations/components/sections/Publics.vue +2 -3
- package/src/modules/organizations/organizations.client.js +0 -2
- package/src/modules/users/components/pages/ProfileEvents.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganizationSocial.vue +0 -46
- /package/src/modules/{community → constructor}/components/elements/Bullets.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/Caption.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/H2.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/Image.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/ImageUpload.vue +0 -0
package/dist/events.client.js
CHANGED
@@ -1,32 +1,31 @@
|
|
1
|
-
import { r as
|
2
|
-
import { e as
|
3
|
-
import { openBlock as
|
4
|
-
import { _ as
|
5
|
-
import { _ as
|
6
|
-
import { useRoute as
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import "./
|
1
|
+
import { r as F, a as J, s as D, c as K, u as V, b as A, S as X, _ as Z } from "./Feed-ecf37814.mjs";
|
2
|
+
import { e as ft } from "./Feed-ecf37814.mjs";
|
3
|
+
import { openBlock as c, createElementBlock as v, createStaticVNode as ee, ref as y, onMounted as z, createVNode as g, TransitionGroup as I, withCtx as w, Fragment as O, renderList as j, createBlock as $, createCommentVNode as h, Transition as q, normalizeClass as U, createElementVNode as _, unref as p, toDisplayString as N, watch as H, resolveComponent as te, resolveDynamicComponent as ae, createTextVNode as W, reactive as re } from "vue";
|
4
|
+
import { _ as Y } from "./EmptyState-34d85f10.mjs";
|
5
|
+
import { _ as G, s as k, F as P, b as Q, a as ne } from "./auth-35ef1791.mjs";
|
6
|
+
import { useRoute as L, useRouter as B } from "vue-router";
|
7
|
+
import { _ as se, S as oe, C as le } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs";
|
8
|
+
import { _ as ie, a as ue } from "./Comments-c5afa4d6.mjs";
|
9
|
+
import { _ as ce } from "./Popup-82fb2c8a.mjs";
|
10
|
+
import { _ as de } from "./UploadImage-ff8f9a0c.mjs";
|
11
|
+
import { a as pe } from "./organizations-1b4c84ee.mjs";
|
12
|
+
import { s as T } from "./globals-96ba60e4.mjs";
|
10
13
|
import "vue-i18n";
|
11
|
-
import { _ as ce, a as U, b as ue } from "./EditProductImages-61ff4321.mjs";
|
12
|
-
import { s as I } from "./globals-96ba60e4.mjs";
|
13
|
-
import { _ as de } from "./Comments-c092550f.mjs";
|
14
14
|
import "./CardHeader-ce5a1a75.mjs";
|
15
15
|
import "./PlaceholderUserpic-995da0fc.mjs";
|
16
|
-
import "./vuex.esm-bundler-57d8b6ba.mjs";
|
17
16
|
import "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
18
|
-
const me = {},
|
17
|
+
const me = {}, fe = {
|
19
18
|
width: "100%",
|
20
19
|
height: "50",
|
21
20
|
xmlns: "http://www.w3.org/2000/svg"
|
22
|
-
},
|
23
|
-
|
21
|
+
}, ge = /* @__PURE__ */ ee('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 7), ve = [
|
22
|
+
ge
|
24
23
|
];
|
25
|
-
function
|
26
|
-
return
|
24
|
+
function _e(i, t) {
|
25
|
+
return c(), v("svg", fe, ve);
|
27
26
|
}
|
28
|
-
const
|
29
|
-
const ye = { class: "today-events" },
|
27
|
+
const he = /* @__PURE__ */ G(me, [["render", _e]]);
|
28
|
+
const ye = { class: "today-events" }, ct = {
|
30
29
|
__name: "List",
|
31
30
|
props: {
|
32
31
|
category: {
|
@@ -54,175 +53,175 @@ const ye = { class: "today-events" }, mt = {
|
|
54
53
|
default: null
|
55
54
|
}
|
56
55
|
},
|
57
|
-
setup(
|
58
|
-
const
|
59
|
-
return
|
60
|
-
const
|
61
|
-
skip:
|
62
|
-
limit:
|
56
|
+
setup(i) {
|
57
|
+
const t = i, r = y([]), e = y(!0), s = y(0), f = y(5);
|
58
|
+
return z(async () => {
|
59
|
+
const a = await F({
|
60
|
+
skip: s.value,
|
61
|
+
limit: f.value,
|
63
62
|
sortOrder: "desc",
|
64
|
-
category:
|
65
|
-
user:
|
66
|
-
owner:
|
67
|
-
organization:
|
68
|
-
period:
|
69
|
-
status:
|
63
|
+
category: t.category,
|
64
|
+
user: t.user,
|
65
|
+
owner: t.owner,
|
66
|
+
organization: t.organization,
|
67
|
+
period: t.period,
|
68
|
+
status: t.status
|
70
69
|
});
|
71
|
-
r.value =
|
72
|
-
}), (
|
73
|
-
|
70
|
+
r.value = a, e.value = !1;
|
71
|
+
}), (a, u) => (c(), v("section", ye, [
|
72
|
+
g(I, {
|
74
73
|
tag: "ul",
|
75
74
|
name: "fade",
|
76
75
|
class: "o-hidden bg-grey radius-big"
|
77
76
|
}, {
|
78
|
-
default:
|
79
|
-
|
77
|
+
default: w(() => [
|
78
|
+
e.value ? (c(!0), v(O, { key: 0 }, j(f.value, (m) => (c(), $(he, { key: m }))), 128)) : h("", !0)
|
80
79
|
]),
|
81
80
|
_: 1
|
82
81
|
}),
|
83
|
-
|
84
|
-
default:
|
85
|
-
!
|
82
|
+
g(q, { name: "fade" }, {
|
83
|
+
default: w(() => [
|
84
|
+
!e.value && r.value.length < 1 ? (c(), $(Y, {
|
86
85
|
key: 0,
|
87
86
|
title: "No Events Today",
|
88
87
|
description: "Today, are no events available. Please check back later.",
|
89
88
|
class: "pd-medium mn-thin bg-grey radius-big"
|
90
|
-
})) :
|
89
|
+
})) : h("", !0)
|
91
90
|
]),
|
92
91
|
_: 1
|
93
92
|
}),
|
94
|
-
|
93
|
+
g(I, {
|
95
94
|
tag: "ul",
|
96
95
|
name: "fade",
|
97
96
|
class: "container"
|
98
97
|
}, {
|
99
|
-
default:
|
100
|
-
!
|
101
|
-
onClick: (
|
102
|
-
key:
|
103
|
-
event:
|
104
|
-
owner:
|
98
|
+
default: w(() => [
|
99
|
+
!e.value && r.value.length > 0 ? (c(!0), v(O, { key: 0 }, j(r.value, (m, x) => (c(), $(J, {
|
100
|
+
onClick: (b) => a.$router.push({ name: "Event", params: { url: m.url } }),
|
101
|
+
key: m._id,
|
102
|
+
event: m,
|
103
|
+
owner: i.user,
|
105
104
|
type: "short",
|
106
|
-
class:
|
107
|
-
"br-b br-solid br-black-transp-10":
|
105
|
+
class: U(["pd-medium", {
|
106
|
+
"br-b br-solid br-black-transp-10": x !== r.value.length - 1
|
108
107
|
}])
|
109
|
-
}, null, 8, ["onClick", "event", "owner", "class"]))), 128)) :
|
108
|
+
}, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : h("", !0)
|
110
109
|
]),
|
111
110
|
_: 1
|
112
111
|
})
|
113
112
|
]));
|
114
113
|
}
|
115
|
-
},
|
114
|
+
}, be = ["onClick"], ke = { class: "t-transp" }, we = {
|
116
115
|
__name: "DatePicker",
|
117
116
|
props: ["date", "locale"],
|
118
|
-
setup(
|
119
|
-
const r =
|
120
|
-
let
|
117
|
+
setup(i, { emit: t }) {
|
118
|
+
const r = i, e = y(null);
|
119
|
+
let s;
|
121
120
|
if (r.date) {
|
122
|
-
const
|
123
|
-
|
121
|
+
const l = parseInt(r.date.substring(0, 2)), E = parseInt(r.date.substring(2, 4)) - 1, n = parseInt(r.date.substring(4));
|
122
|
+
s = new Date(n, E, l), console.log("Data" + s);
|
124
123
|
} else
|
125
|
-
|
126
|
-
|
127
|
-
const
|
128
|
-
|
129
|
-
if (
|
130
|
-
const
|
131
|
-
|
124
|
+
s = /* @__PURE__ */ new Date(), console.log("No data" + s);
|
125
|
+
s.setHours(0, 0, 0, 0);
|
126
|
+
const f = y(new Date(s)), a = b(s, 30);
|
127
|
+
z(() => {
|
128
|
+
if (e.value) {
|
129
|
+
const l = e.value.getElementsByClassName("selected")[0] || e.value.getElementsByClassName("bg-main")[0];
|
130
|
+
l && (e.value.scrollLeft = l.offsetLeft - e.value.offsetWidth / 2 + l.offsetWidth / 2);
|
132
131
|
}
|
133
132
|
});
|
134
|
-
function l
|
135
|
-
|
136
|
-
const
|
137
|
-
|
133
|
+
function u(l) {
|
134
|
+
f.value = l;
|
135
|
+
const E = m(l);
|
136
|
+
t("update:date", E);
|
138
137
|
}
|
139
|
-
function
|
140
|
-
return `${
|
138
|
+
function m(l) {
|
139
|
+
return `${l.getDate().toString().padStart(2, "0")}${(l.getMonth() + 1).toString().padStart(2, "0")}${l.getFullYear()}`;
|
141
140
|
}
|
142
|
-
function
|
143
|
-
return
|
141
|
+
function x(l) {
|
142
|
+
return l.toLocaleDateString(r.locale ? r.locale : "en", { weekday: "narrow" }).toUpperCase();
|
144
143
|
}
|
145
|
-
function
|
146
|
-
const
|
147
|
-
for (let
|
148
|
-
const
|
149
|
-
|
144
|
+
function b(l, E) {
|
145
|
+
const n = [];
|
146
|
+
for (let o = -15; o < E - 15; o++) {
|
147
|
+
const d = new Date(l);
|
148
|
+
d.setDate(l.getDate() + o), d.setHours(0, 0, 0, 0), n.push(d);
|
150
149
|
}
|
151
|
-
return
|
150
|
+
return n;
|
152
151
|
}
|
153
|
-
return (
|
154
|
-
|
152
|
+
return (l, E) => (c(), v("div", null, [
|
153
|
+
_("div", {
|
155
154
|
class: "w-100 o-scroll flex-nowrap flex",
|
156
155
|
ref_key: "scrollContainer",
|
157
|
-
ref:
|
156
|
+
ref: e,
|
158
157
|
style: { "scroll-snap-type": "x mandatory" }
|
159
158
|
}, [
|
160
|
-
(
|
161
|
-
key:
|
162
|
-
onClick: (
|
163
|
-
class:
|
164
|
-
selected:
|
159
|
+
(c(!0), v(O, null, j(p(a), (n) => (c(), v("div", {
|
160
|
+
key: n.toString(),
|
161
|
+
onClick: (o) => u(n),
|
162
|
+
class: U([{
|
163
|
+
selected: f.value.toDateString() === n.toDateString()
|
165
164
|
}, "cursor-pointer mn-r-small mn-l-small flex-column flex-center flex"])
|
166
165
|
}, [
|
167
|
-
|
168
|
-
|
169
|
-
class:
|
170
|
-
"bg-main":
|
166
|
+
_("span", ke, N(x(n)), 1),
|
167
|
+
_("span", {
|
168
|
+
class: U([{
|
169
|
+
"bg-main": f.value.toDateString() === n.toDateString()
|
171
170
|
}, "transition-ease-in-out t-semi flex-center flex radius-big i-semi day-number"])
|
172
|
-
},
|
173
|
-
], 10,
|
171
|
+
}, N(n.getDate()), 3)
|
172
|
+
], 10, be))), 128))
|
174
173
|
], 512)
|
175
174
|
]));
|
176
175
|
}
|
177
|
-
},
|
176
|
+
}, xe = { class: "pd-thin min-h-100vh" }, $e = /* @__PURE__ */ _("div", { class: "mn-thin br-solid br-1px br-grey bg-grey radius-big" }, null, -1), Ee = { class: "" }, De = {
|
178
177
|
__name: "layoutEvents",
|
179
|
-
setup(
|
180
|
-
const
|
181
|
-
function
|
182
|
-
return `${
|
178
|
+
setup(i) {
|
179
|
+
const t = L(), r = B(), s = f(/* @__PURE__ */ new Date());
|
180
|
+
function f(a) {
|
181
|
+
return `${a.getDate().toString().padStart(2, "0")}${(a.getMonth() + 1).toString().padStart(2, "0")}${a.getFullYear()}`;
|
183
182
|
}
|
184
|
-
if (
|
185
|
-
const
|
186
|
-
tags:
|
187
|
-
date:
|
183
|
+
if (t.query) {
|
184
|
+
const a = t.query, u = {
|
185
|
+
tags: a.tags ? a.tags.split(",") : null,
|
186
|
+
date: a.date ? a.date : s
|
188
187
|
};
|
189
|
-
|
188
|
+
D.filter = u;
|
190
189
|
} else {
|
191
|
-
const
|
192
|
-
date:
|
190
|
+
const a = {
|
191
|
+
date: s
|
193
192
|
};
|
194
|
-
|
193
|
+
D.filter = a;
|
195
194
|
}
|
196
|
-
return
|
197
|
-
const
|
198
|
-
Object.keys(
|
199
|
-
|
195
|
+
return H(() => D.filter, (a, u) => {
|
196
|
+
const m = { ...t.query };
|
197
|
+
Object.keys(u).forEach((b) => {
|
198
|
+
m[b] && delete m[b];
|
200
199
|
});
|
201
|
-
const
|
202
|
-
Object.entries(
|
200
|
+
const x = Object.fromEntries(
|
201
|
+
Object.entries(a).filter(([b, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([b, l]) => [b, Array.isArray(l) ? l.join(",") : l])
|
203
202
|
);
|
204
|
-
Object.assign(
|
205
|
-
}, { deep: !0 }), (
|
206
|
-
const
|
207
|
-
return
|
208
|
-
|
209
|
-
date:
|
210
|
-
"onUpdate:date":
|
211
|
-
locale:
|
203
|
+
Object.assign(m, x), r.push({ query: m });
|
204
|
+
}, { deep: !0 }), (a, u) => {
|
205
|
+
const m = te("router-view");
|
206
|
+
return c(), v("div", xe, [
|
207
|
+
g(we, {
|
208
|
+
date: D.filter.date,
|
209
|
+
"onUpdate:date": u[0] || (u[0] = (x) => D.filter.date = x),
|
210
|
+
locale: a.$i18n.locale,
|
212
211
|
class: "radius-small bg-grey pd-l-zero pd-r-zero pd-medium"
|
213
212
|
}, null, 8, ["date", "locale"]),
|
214
|
-
|
215
|
-
|
216
|
-
m
|
217
|
-
default:
|
218
|
-
|
213
|
+
$e,
|
214
|
+
_("section", Ee, [
|
215
|
+
g(m, null, {
|
216
|
+
default: w(({ Component: x, route: b }) => [
|
217
|
+
g(q, {
|
219
218
|
name: "scaleIn",
|
220
219
|
mode: "out-in"
|
221
220
|
}, {
|
222
|
-
default:
|
223
|
-
(
|
221
|
+
default: w(() => [
|
222
|
+
(c(), $(ae(x), {
|
224
223
|
ref: "page",
|
225
|
-
key:
|
224
|
+
key: b.query
|
226
225
|
}))
|
227
226
|
]),
|
228
227
|
_: 2
|
@@ -234,162 +233,265 @@ const ye = { class: "today-events" }, mt = {
|
|
234
233
|
]);
|
235
234
|
};
|
236
235
|
}
|
237
|
-
}
|
238
|
-
|
236
|
+
}, Se = {
|
237
|
+
key: 0,
|
238
|
+
class: "pd-thin"
|
239
|
+
}, Pe = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Te = /* @__PURE__ */ _("h4", null, "Upload Event Cover", -1), Ce = /* @__PURE__ */ _("h3", { class: "mn-small" }, "Date", -1), Ie = /* @__PURE__ */ _("h3", { class: "mn-small" }, "Description", -1), Oe = {
|
240
|
+
key: 0,
|
241
|
+
class: "w-100 bg-grey pd-big radius-big"
|
242
|
+
}, je = {
|
243
|
+
key: 1,
|
244
|
+
class: "pd-thin pos-fixed pos-l-0 pos-b-0 w-100"
|
245
|
+
}, Ue = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, ze = { class: "w-m-66r t-left pd-big bg-white radius-big" }, Le = /* @__PURE__ */ _("h3", { class: "mn-small" }, "Final Touches", -1), Ne = /* @__PURE__ */ _("h5", { class: "mn-thin" }, "Add to public:", -1), Fe = {
|
239
246
|
key: 0,
|
240
|
-
class: "mn-
|
241
|
-
},
|
247
|
+
class: "mn-thin"
|
248
|
+
}, qe = {
|
242
249
|
key: 1,
|
243
|
-
class: "mn-
|
244
|
-
},
|
250
|
+
class: "mn-medium br-grey br-2px br-solid pd-small radius-big"
|
251
|
+
}, Be = {
|
245
252
|
__name: "EditEvent",
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
253
|
+
setup(i) {
|
254
|
+
const t = L(), r = B();
|
255
|
+
let e = y(null), s = y(null);
|
256
|
+
const f = y([]), a = y(null);
|
257
|
+
z(async () => {
|
258
|
+
if (t.params.url) {
|
259
|
+
const o = await F({ user: k.user._id, url: t.params.url });
|
260
|
+
e.value = o.pop();
|
261
|
+
} else
|
262
|
+
K(), e.value = D.current;
|
263
|
+
e.value.owner || (e.value.owner = {
|
264
|
+
target: k.user._id,
|
265
|
+
type: "user"
|
266
|
+
}), e.value.creator || (e.value.creator = {
|
267
|
+
target: k.user._id,
|
268
|
+
type: "user",
|
269
|
+
hidden: !1
|
270
|
+
}), e.value.owner.type === "organization" && (a.value = {
|
271
|
+
_id: e.value.owner.target._id,
|
272
|
+
name: e.value.owner.target.profile.name,
|
273
|
+
photo: e.value.owner.target.profile.photo
|
274
|
+
});
|
275
|
+
const n = await pe.read({
|
276
|
+
user: k.user._id,
|
277
|
+
postable: k.user._id
|
278
|
+
});
|
279
|
+
s.value = n.map((o) => ({
|
280
|
+
name: o.profile.name,
|
281
|
+
_id: o._id,
|
282
|
+
photo: o.profile.photo
|
283
|
+
}));
|
284
|
+
});
|
285
|
+
const u = y(!1);
|
286
|
+
function m() {
|
287
|
+
u.value = !0;
|
255
288
|
}
|
256
|
-
function
|
257
|
-
|
289
|
+
function x() {
|
290
|
+
u.value = !1;
|
258
291
|
}
|
259
|
-
function
|
260
|
-
|
292
|
+
function b() {
|
293
|
+
f.value.length > 0 && f.value.map((n) => n.text), e.value.status = "draft", t.params.url ? V(e.value).then((n) => {
|
294
|
+
r.push({ name: "Event", params: { url: n.url } });
|
295
|
+
}).catch((n) => {
|
296
|
+
console.error(n);
|
297
|
+
}) : A(e.value).then((n) => {
|
298
|
+
r.push({ name: "Event", params: { url: n.url } });
|
299
|
+
}).catch((n) => {
|
300
|
+
console.error(n);
|
301
|
+
});
|
261
302
|
}
|
262
|
-
function
|
263
|
-
|
303
|
+
function l() {
|
304
|
+
confirm("Are you sure you want to delete this event?") && (void 0)(e.value._id).then((n) => {
|
305
|
+
r.push({ name: "Drafts" });
|
306
|
+
}).catch((n) => {
|
307
|
+
console.error(n);
|
308
|
+
});
|
264
309
|
}
|
265
|
-
function
|
266
|
-
a.
|
310
|
+
function E() {
|
311
|
+
a.value && (e.value.owner = {
|
312
|
+
target: a.value._id,
|
313
|
+
type: "organization"
|
314
|
+
}), a.value || (e.value.creator.hidden = !1), a.value || (e.value.organization = e.value.creator), e.value.status = "published", console.log(e.value), t.params.url ? V(e.value).then((n) => {
|
315
|
+
r.push({ name: "Blogevent", params: { url: n.url } });
|
316
|
+
}).catch((n) => {
|
317
|
+
console.log(n);
|
318
|
+
}) : A(e.value).then((n) => {
|
319
|
+
r.push({ name: "Blogevent", params: { url: n.url } });
|
320
|
+
}).catch((n) => {
|
321
|
+
console.log(n);
|
322
|
+
});
|
267
323
|
}
|
268
|
-
return (
|
269
|
-
|
270
|
-
|
324
|
+
return (n, o) => p(e) ? (c(), v("article", Se, [
|
325
|
+
_("div", Pe, [
|
326
|
+
g(de, {
|
327
|
+
photo: p(e).cover,
|
328
|
+
"onUpdate:photo": o[0] || (o[0] = (d) => p(e).cover = d),
|
329
|
+
uploadPath: "users/" + k.user._id + "/events",
|
330
|
+
class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
|
331
|
+
}, null, 8, ["photo", "uploadPath"]),
|
332
|
+
Te
|
271
333
|
]),
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
334
|
+
g(P, {
|
335
|
+
field: p(e).name,
|
336
|
+
"onUpdate:field": o[1] || (o[1] = (d) => p(e).name = d),
|
337
|
+
placeholder: "Event name",
|
338
|
+
class: "mn-thin w-100 bg-grey pd-medium radius-small"
|
339
|
+
}, null, 8, ["field"]),
|
340
|
+
g(P, {
|
341
|
+
field: p(e).description,
|
342
|
+
"onUpdate:field": o[2] || (o[2] = (d) => p(e).description = d),
|
343
|
+
type: "textfield",
|
344
|
+
placeholder: "Enter short description",
|
345
|
+
class: "mn-thin w-100 bg-grey pd-medium radius-small"
|
346
|
+
}, null, 8, ["field"]),
|
347
|
+
Ce,
|
348
|
+
g(P, {
|
349
|
+
field: p(e).date.start,
|
350
|
+
"onUpdate:field": o[3] || (o[3] = (d) => p(e).date.start = d),
|
351
|
+
label: "Start",
|
352
|
+
type: "datetime-local",
|
353
|
+
placeholder: "Not specified",
|
354
|
+
class: "mn-thin w-100 bg-grey pd-medium radius-small"
|
355
|
+
}, null, 8, ["field"]),
|
356
|
+
g(P, {
|
357
|
+
field: p(e).date.end,
|
358
|
+
"onUpdate:field": o[4] || (o[4] = (d) => p(e).date.end = d),
|
359
|
+
label: "End",
|
360
|
+
type: "datetime-local",
|
361
|
+
placeholder: "Not specified",
|
362
|
+
class: "mn-thin w-100 bg-grey pd-medium radius-small"
|
363
|
+
}, null, 8, ["field"]),
|
364
|
+
Ie,
|
365
|
+
p(e) ? (c(), v("section", Oe, [
|
366
|
+
g(ie, {
|
367
|
+
content: p(e).content,
|
368
|
+
onUpdate: o[5] || (o[5] = (d) => p(e).content = d)
|
369
|
+
}, null, 8, ["content"])
|
370
|
+
])) : h("", !0),
|
371
|
+
p(e) ? (c(), v("section", je, [
|
372
|
+
_("div", Ue, [
|
373
|
+
p(t).params.url ? (c(), v("a", {
|
374
|
+
key: 0,
|
375
|
+
onClick: o[6] || (o[6] = (d) => l()),
|
376
|
+
class: "mn-r-auto bg-red t-white t-black button"
|
377
|
+
}, "Delete")) : h("", !0),
|
378
|
+
_("a", {
|
379
|
+
onClick: o[7] || (o[7] = (d) => b()),
|
380
|
+
class: "mn-l-auto bg-white t-black button"
|
381
|
+
}, "To Drafts"),
|
382
|
+
_("a", {
|
383
|
+
onClick: o[8] || (o[8] = (d) => m()),
|
384
|
+
class: "mn-l-thin bg-black t-white button"
|
385
|
+
}, "Publish")
|
386
|
+
])
|
387
|
+
])) : h("", !0),
|
388
|
+
g(ce, {
|
389
|
+
title: "Добавить участника",
|
390
|
+
onClosePopup: x,
|
391
|
+
isPopupOpen: u.value
|
392
|
+
}, {
|
393
|
+
default: w(() => [
|
394
|
+
_("div", ze, [
|
395
|
+
Le,
|
396
|
+
g(se, {
|
397
|
+
onTagsChanged: o[9] || (o[9] = (d) => p(e).tags = d),
|
398
|
+
tags: p(e).tags
|
399
|
+
}, null, 8, ["tags"]),
|
400
|
+
Ne,
|
401
|
+
g(oe, {
|
402
|
+
modelValue: a.value,
|
403
|
+
"onUpdate:modelValue": o[10] || (o[10] = (d) => a.value = d),
|
404
|
+
options: p(s),
|
405
|
+
multiple: !1,
|
406
|
+
taggable: !1,
|
407
|
+
placeholder: "Type to search or add tag",
|
408
|
+
label: "name",
|
409
|
+
"track-by": "_id",
|
410
|
+
class: "mn-medium bg-grey radius-medium pd-small"
|
411
|
+
}, null, 8, ["modelValue", "options"]),
|
412
|
+
a.value ? (c(), v("h5", Fe, "Options:")) : h("", !0),
|
413
|
+
a.value ? (c(), v("div", qe, [
|
414
|
+
g(le, {
|
415
|
+
label: "Hide Author",
|
416
|
+
radio: p(e).creator.hidden,
|
417
|
+
"onUpdate:radio": o[11] || (o[11] = (d) => p(e).creator.hidden = d),
|
418
|
+
name: "prices",
|
419
|
+
class: "w-100"
|
420
|
+
}, null, 8, ["radio"])
|
421
|
+
])) : h("", !0),
|
422
|
+
g(Q, {
|
423
|
+
submit: E,
|
424
|
+
callback: n.redirectTo,
|
425
|
+
class: "w-100 bg-black t-white"
|
279
426
|
}, {
|
280
|
-
default:
|
281
|
-
|
427
|
+
default: w(() => [
|
428
|
+
W("Publish")
|
282
429
|
]),
|
283
430
|
_: 1
|
284
|
-
})
|
431
|
+
}, 8, ["callback"])
|
285
432
|
])
|
286
|
-
])
|
287
|
-
]),
|
288
|
-
d("div", Le, [
|
289
|
-
d("div", Ne, [
|
290
|
-
je,
|
291
|
-
m(ce, {
|
292
|
-
product: g.current
|
293
|
-
}, null, 8, ["product"]),
|
294
|
-
d("div", Oe, [
|
295
|
-
Ae,
|
296
|
-
(i(!0), p(D, null, P(le.all, (_, S) => (i(), h(se, {
|
297
|
-
label: _.name,
|
298
|
-
name: "categories",
|
299
|
-
value: _.url,
|
300
|
-
class: "w-100 mn-t-small bg-white radius-small pd-small",
|
301
|
-
radio: g.current.category
|
302
|
-
}, null, 8, ["label", "value", "radio"]))), 256))
|
303
|
-
]),
|
304
|
-
m(U, {
|
305
|
-
items: g.current.information,
|
306
|
-
title: "Parameters",
|
307
|
-
emptyMessage: "No parameters",
|
308
|
-
addButtonLabel: "Add parameter",
|
309
|
-
keyName: "name",
|
310
|
-
valueName: "value",
|
311
|
-
onAddInfo: u,
|
312
|
-
onDeleteInfo: n
|
313
|
-
}, null, 8, ["items"]),
|
314
|
-
m(U, {
|
315
|
-
items: g.current.localization,
|
316
|
-
title: "Localization",
|
317
|
-
emptyMessage: "No localizations",
|
318
|
-
addButtonLabel: "Add localization",
|
319
|
-
keyName: "locale",
|
320
|
-
valueName: "text",
|
321
|
-
onAddInfo: l,
|
322
|
-
onDeleteInfo: c
|
323
|
-
}, null, 8, ["items"])
|
324
433
|
]),
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
m(ue, {
|
329
|
-
product: g.current
|
330
|
-
}, null, 8, ["product"])
|
331
|
-
])
|
332
|
-
])
|
333
|
-
])
|
334
|
-
]));
|
434
|
+
_: 1
|
435
|
+
}, 8, ["isPopupOpen"])
|
436
|
+
])) : h("", !0);
|
335
437
|
}
|
336
|
-
},
|
438
|
+
}, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
337
439
|
__proto__: null,
|
338
|
-
default:
|
440
|
+
default: Be
|
339
441
|
}, Symbol.toStringTag, { value: "Module" })), C = ne.create({
|
340
442
|
baseURL: process.env.API_URL,
|
341
443
|
withCredentials: !0
|
342
|
-
}),
|
444
|
+
}), S = re({
|
343
445
|
tickets: [],
|
344
446
|
error: null
|
345
447
|
}), R = {
|
346
|
-
async read({ user:
|
448
|
+
async read({ user: i, type: t, target: r, role: e }) {
|
347
449
|
try {
|
348
|
-
const
|
349
|
-
return
|
350
|
-
} catch (
|
351
|
-
return
|
450
|
+
const s = await C.get("/api/tickets", { params: { user: i, type: t, target: r, role: e } });
|
451
|
+
return S.error = null, S.tickets = s.data, Promise.resolve(s.data);
|
452
|
+
} catch (s) {
|
453
|
+
return T(s), Promise.reject(s);
|
352
454
|
}
|
353
455
|
},
|
354
|
-
async create(
|
456
|
+
async create(i) {
|
355
457
|
try {
|
356
|
-
const
|
357
|
-
return
|
358
|
-
} catch (
|
359
|
-
return
|
458
|
+
const t = await C.post("/api/tickets/create", i);
|
459
|
+
return S.error = null, Promise.resolve(t.data);
|
460
|
+
} catch (t) {
|
461
|
+
return T(t), Promise.reject(t);
|
360
462
|
}
|
361
463
|
},
|
362
|
-
async update(
|
464
|
+
async update(i) {
|
363
465
|
try {
|
364
|
-
const
|
365
|
-
return
|
366
|
-
} catch (
|
367
|
-
return
|
466
|
+
const t = await C.post("/api/tickets/update", i);
|
467
|
+
return S.error = null, Promise.resolve(t.data);
|
468
|
+
} catch (t) {
|
469
|
+
return T(t), Promise.reject(t);
|
368
470
|
}
|
369
471
|
},
|
370
|
-
async delete(
|
472
|
+
async delete(i) {
|
371
473
|
try {
|
372
|
-
const
|
373
|
-
return
|
374
|
-
} catch (
|
375
|
-
return
|
474
|
+
const t = await C.post("/api/tickets/delete", i);
|
475
|
+
return S.error = null, Promise.resolve(t.data);
|
476
|
+
} catch (t) {
|
477
|
+
return T(t), Promise.reject(t);
|
376
478
|
}
|
377
479
|
}
|
378
|
-
},
|
379
|
-
handleTicketUpdate(
|
380
|
-
let
|
381
|
-
if (Array.isArray(
|
382
|
-
if (
|
383
|
-
|
480
|
+
}, Ve = {
|
481
|
+
handleTicketUpdate(i, t, r) {
|
482
|
+
let e;
|
483
|
+
if (Array.isArray(i) ? e = i.find((s) => s._id === t.target) : typeof i == "object" && i._id === t.target && (e = i), e)
|
484
|
+
if (e.hasTicket = r, r)
|
485
|
+
e.tickets.push(t), e.numberOfTickets += 1;
|
384
486
|
else {
|
385
|
-
const
|
386
|
-
|
487
|
+
const s = e.tickets.findIndex((f) => f._id === t._id);
|
488
|
+
s !== -1 && (e.tickets.splice(s, 1), e.numberOfTickets -= 1);
|
387
489
|
}
|
388
490
|
}
|
389
491
|
};
|
390
|
-
|
492
|
+
H(S, (i) => {
|
391
493
|
});
|
392
|
-
const
|
494
|
+
const Ae = {
|
393
495
|
__name: "ButtonJoin",
|
394
496
|
props: {
|
395
497
|
type: {
|
@@ -411,143 +513,143 @@ const Ve = {
|
|
411
513
|
}
|
412
514
|
},
|
413
515
|
emits: ["updateTicket"],
|
414
|
-
setup(
|
415
|
-
const r =
|
416
|
-
r.hasTicket ? await
|
516
|
+
setup(i, { emit: t }) {
|
517
|
+
const r = i, e = async () => {
|
518
|
+
r.hasTicket ? await f(r.targetId) : await s(r.targetId);
|
417
519
|
};
|
418
|
-
async function a
|
520
|
+
async function s(a) {
|
419
521
|
try {
|
420
|
-
const
|
522
|
+
const u = {
|
421
523
|
// Renamed membershipData to ticketData
|
422
524
|
type: r.type,
|
423
|
-
target:
|
525
|
+
target: a,
|
424
526
|
user: r.userId
|
425
|
-
},
|
426
|
-
|
427
|
-
} catch (
|
428
|
-
throw console.log(
|
527
|
+
}, m = await R.create(u);
|
528
|
+
t("updateTicket", { ticket: m, hasTicket: !0, targetId: r.targetId });
|
529
|
+
} catch (u) {
|
530
|
+
throw console.log(u), u;
|
429
531
|
}
|
430
532
|
}
|
431
|
-
async function
|
432
|
-
const
|
533
|
+
async function f(a) {
|
534
|
+
const u = {
|
433
535
|
// Renamed membershipData to ticketData
|
434
536
|
type: r.type,
|
435
|
-
target:
|
537
|
+
target: a,
|
436
538
|
user: r.userId
|
437
539
|
};
|
438
540
|
try {
|
439
|
-
const
|
440
|
-
|
441
|
-
} catch (
|
442
|
-
throw console.log(
|
541
|
+
const m = await R.delete(u);
|
542
|
+
t("updateTicket", { ticket: m, hasTicket: !1, targetId: r.targetId });
|
543
|
+
} catch (m) {
|
544
|
+
throw console.log(m), m;
|
443
545
|
}
|
444
546
|
}
|
445
|
-
return (
|
446
|
-
submit:
|
547
|
+
return (a, u) => (c(), $(Q, {
|
548
|
+
submit: e,
|
447
549
|
class: "bg-main button-small button"
|
448
550
|
}, {
|
449
|
-
default:
|
450
|
-
|
551
|
+
default: w(() => [
|
552
|
+
W(N(i.hasTicket ? "Leave" : "Join"), 1)
|
451
553
|
]),
|
452
554
|
_: 1
|
453
555
|
}));
|
454
556
|
}
|
455
|
-
},
|
557
|
+
}, Me = /* @__PURE__ */ G(Ae, [["__scopeId", "data-v-d5c351bb"]]), Re = { class: "pd-thin" }, Je = {
|
456
558
|
__name: "Event",
|
457
|
-
setup(
|
458
|
-
const
|
459
|
-
|
460
|
-
},
|
461
|
-
return
|
462
|
-
|
463
|
-
const
|
464
|
-
|
465
|
-
}), (
|
466
|
-
|
559
|
+
setup(i) {
|
560
|
+
const t = L(), r = ({ ticket: f, hasTicket: a, targetId: u }) => {
|
561
|
+
Ve.handleTicketUpdate(e.value, f, a, u);
|
562
|
+
}, e = y(null), s = y(!0);
|
563
|
+
return z(async () => {
|
564
|
+
s.value = !0;
|
565
|
+
const f = await F({ user: k.user._id, url: t.params.url });
|
566
|
+
e.value = f[0], s.value = !1;
|
567
|
+
}), (f, a) => (c(), v("section", Re, [
|
568
|
+
g(I, {
|
467
569
|
tag: "ul",
|
468
570
|
name: "fade",
|
469
571
|
class: "o-hidden bg-grey radius-big"
|
470
572
|
}, {
|
471
|
-
default:
|
472
|
-
|
573
|
+
default: w(() => [
|
574
|
+
s.value ? (c(), v(O, { key: 0 }, j(3, (u) => g(X, { key: u })), 64)) : h("", !0)
|
473
575
|
]),
|
474
576
|
_: 1
|
475
577
|
}),
|
476
|
-
|
477
|
-
default:
|
478
|
-
!
|
578
|
+
g(q, { name: "fade" }, {
|
579
|
+
default: w(() => [
|
580
|
+
!s.value && !e.value ? (c(), $(Y, {
|
479
581
|
key: 0,
|
480
582
|
title: "No Event Found",
|
481
583
|
description: "Currently, there are no events available. Please check back later.",
|
482
584
|
class: "pd-medium mn-thin bg-grey radius-big"
|
483
|
-
})) :
|
585
|
+
})) : h("", !0)
|
484
586
|
]),
|
485
587
|
_: 1
|
486
588
|
}),
|
487
|
-
|
589
|
+
g(I, {
|
488
590
|
tag: "ul",
|
489
591
|
name: "fade",
|
490
592
|
class: "container"
|
491
593
|
}, {
|
492
|
-
default:
|
493
|
-
!
|
594
|
+
default: w(() => [
|
595
|
+
!s.value && e.value ? (c(), $(J, {
|
494
596
|
key: 0,
|
495
|
-
onClick:
|
496
|
-
event:
|
497
|
-
owner:
|
498
|
-
user:
|
597
|
+
onClick: a[0] || (a[0] = (u) => f.$router.push({ name: "Event", params: { url: e.value.url } })),
|
598
|
+
event: e.value,
|
599
|
+
owner: e.value.owner,
|
600
|
+
user: k.user._id,
|
499
601
|
type: "normal",
|
500
|
-
class:
|
501
|
-
"br-b br-solid br-black-transp-10":
|
602
|
+
class: U(["mn-medium", {
|
603
|
+
"br-b br-solid br-black-transp-10": f.index !== e.value.length - 1
|
502
604
|
}])
|
503
605
|
}, {
|
504
|
-
default:
|
505
|
-
|
606
|
+
default: w(() => [
|
607
|
+
k.user._id ? (c(), $(Me, {
|
506
608
|
key: 0,
|
507
609
|
type: "event",
|
508
|
-
hasTicket:
|
509
|
-
targetId:
|
510
|
-
userId:
|
610
|
+
hasTicket: e.value.hasTicket,
|
611
|
+
targetId: e.value._id,
|
612
|
+
userId: k.user._id,
|
511
613
|
class: "mn-small w-100 pd-medium mn-auto",
|
512
614
|
onUpdateTicket: r
|
513
|
-
}, null, 8, ["hasTicket", "targetId", "userId"])) :
|
615
|
+
}, null, 8, ["hasTicket", "targetId", "userId"])) : h("", !0)
|
514
616
|
]),
|
515
617
|
_: 1
|
516
|
-
}, 8, ["event", "owner", "user", "class"])) :
|
517
|
-
!
|
618
|
+
}, 8, ["event", "owner", "user", "class"])) : h("", !0),
|
619
|
+
!s.value && e.value ? (c(), $(ue, {
|
518
620
|
key: 1,
|
519
621
|
type: "event",
|
520
|
-
target:
|
521
|
-
owner:
|
522
|
-
}, null, 8, ["target", "owner"])) :
|
622
|
+
target: e.value._id,
|
623
|
+
owner: k.user._id
|
624
|
+
}, null, 8, ["target", "owner"])) : h("", !0)
|
523
625
|
]),
|
524
626
|
_: 1
|
525
627
|
})
|
526
628
|
]));
|
527
629
|
}
|
528
|
-
},
|
630
|
+
}, He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
529
631
|
__proto__: null,
|
530
|
-
default:
|
531
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
632
|
+
default: Je
|
633
|
+
}, Symbol.toStringTag, { value: "Module" })), We = {
|
532
634
|
__name: "Events",
|
533
|
-
setup(
|
534
|
-
const
|
535
|
-
return
|
536
|
-
|
537
|
-
category:
|
538
|
-
user:
|
539
|
-
period:
|
540
|
-
selectedDate:
|
635
|
+
setup(i) {
|
636
|
+
const t = L();
|
637
|
+
return B(), (r, e) => (c(), v("section", null, [
|
638
|
+
g(Z, {
|
639
|
+
category: p(t).params.category,
|
640
|
+
user: k.user._id,
|
641
|
+
period: p(t).query.period,
|
642
|
+
selectedDate: D.filter.date
|
541
643
|
}, null, 8, ["category", "user", "period", "selectedDate"])
|
542
644
|
]));
|
543
645
|
}
|
544
|
-
},
|
646
|
+
}, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
545
647
|
__proto__: null,
|
546
|
-
default:
|
547
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
648
|
+
default: We
|
649
|
+
}, Symbol.toStringTag, { value: "Module" })), dt = [
|
548
650
|
{
|
549
651
|
path: "events",
|
550
|
-
component:
|
652
|
+
component: De,
|
551
653
|
meta: {
|
552
654
|
title: {
|
553
655
|
en: "Events",
|
@@ -557,7 +659,7 @@ const Ve = {
|
|
557
659
|
children: [{
|
558
660
|
path: ":category?",
|
559
661
|
name: "Events",
|
560
|
-
component: () => Promise.resolve().then(() =>
|
662
|
+
component: () => Promise.resolve().then(() => Ye)
|
561
663
|
}]
|
562
664
|
},
|
563
665
|
{
|
@@ -570,7 +672,7 @@ const Ve = {
|
|
570
672
|
},
|
571
673
|
authorize: []
|
572
674
|
},
|
573
|
-
component: () => Promise.resolve().then(() =>
|
675
|
+
component: () => Promise.resolve().then(() => M)
|
574
676
|
},
|
575
677
|
{
|
576
678
|
path: "events/:url",
|
@@ -581,23 +683,23 @@ const Ve = {
|
|
581
683
|
ru: "Событие"
|
582
684
|
}
|
583
685
|
},
|
584
|
-
component: () => Promise.resolve().then(() =>
|
686
|
+
component: () => Promise.resolve().then(() => He)
|
585
687
|
},
|
586
688
|
{
|
587
689
|
path: "events/:url/edit",
|
588
690
|
name: "Edit Event",
|
589
691
|
meta: { authorize: [] },
|
590
|
-
component: () => Promise.resolve().then(() =>
|
692
|
+
component: () => Promise.resolve().then(() => M)
|
591
693
|
}
|
592
694
|
];
|
593
695
|
export {
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
696
|
+
J as CardEvent,
|
697
|
+
Be as EditEvent,
|
698
|
+
Je as EventPage,
|
699
|
+
De as EventsLayout,
|
700
|
+
We as EventsPage,
|
599
701
|
Z as Feed,
|
600
|
-
|
601
|
-
|
602
|
-
|
702
|
+
ct as List,
|
703
|
+
dt as eventsRoutes,
|
704
|
+
ft as eventsStore
|
603
705
|
};
|