@ozdao/prometheus-framework 0.1.24 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-0e0132f5.mjs +306 -0
- package/dist/BackofficeGallery-a52a27b6.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +1945 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +1 -0
- package/dist/Button-d8e72ac0.mjs +296 -0
- package/dist/Button-ee08e6bf.js +1 -0
- package/dist/ButtonFollow-00d85977.mjs +133 -0
- package/dist/ButtonFollow-7c0180b3.js +1 -0
- package/dist/CardOrganization-3f4a13d3.mjs +230 -0
- package/dist/CardOrganization-bf366e4e.js +1 -0
- package/dist/Feed-0b1dad65.js +1 -0
- package/dist/Feed-8110366a.mjs +439 -0
- package/dist/Feed-82ad8e29.mjs +368 -0
- package/dist/Feed-c8b1c72d.js +1 -0
- package/dist/Image-2269667e.js +9 -0
- package/dist/Image-7dcfe90d.mjs +477 -0
- package/dist/MenuItem-1216a99f.js +1 -0
- package/dist/MenuItem-97c50b97.mjs +93 -0
- package/dist/Popup-0420381f.js +1 -0
- package/dist/Popup-47b37484.mjs +76 -0
- package/dist/Product-977a8a7f.js +7 -0
- package/dist/Product-bbe7171a.mjs +842 -0
- package/dist/ProductEdit-e4cad9d1.js +1 -0
- package/dist/ProductEdit-f7a9af17.mjs +303 -0
- package/dist/ProfileBlogposts-5379335e.js +1 -0
- package/dist/ProfileBlogposts-5deee0c5.mjs +65 -0
- package/dist/ProfileComments-3cf3e265.mjs +44 -0
- package/dist/ProfileComments-8c9146ef.js +1 -0
- package/dist/ProfileEvents-7502ed90.mjs +57 -0
- package/dist/ProfileEvents-ea023c17.js +1 -0
- package/dist/ProfileLikes-23b6f2f9.js +1 -0
- package/dist/ProfileLikes-5b52e4ae.mjs +44 -0
- package/dist/ProfileOrganizations-769325c7.js +1 -0
- package/dist/ProfileOrganizations-c5151835.mjs +214 -0
- package/dist/Publics-4438ca51.js +1 -0
- package/dist/Publics-538180a8.mjs +45 -0
- package/dist/UploadImage-33f6a9f4.js +1 -0
- package/dist/UploadImage-f7b0335f.mjs +83 -0
- package/dist/UploadImageMultiple-297b3897.js +1 -0
- package/dist/UploadImageMultiple-7b132ba0.mjs +58 -0
- package/dist/auth-2f9b2dfc.js +7 -0
- package/dist/auth-b047fdc0.mjs +612 -0
- package/dist/auth.client.cjs +8 -8
- package/dist/auth.client.js +24 -23
- package/dist/auth.validation-02e0629b.mjs +20 -0
- package/dist/auth.validation-6a59443b.js +1 -0
- package/dist/backoffice.client.cjs +1 -1
- package/dist/backoffice.client.js +1 -1
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +69 -68
- package/dist/events.client.cjs +2 -2
- package/dist/events.client.js +21 -20
- package/dist/index-0ab9d59c.mjs +934 -0
- package/dist/index-7ecbf72a.js +2 -0
- package/dist/legal.client.cjs +1 -0
- package/dist/legal.client.js +8460 -0
- package/dist/modules/landing/components/pages/Legal.vue.d.ts +2 -0
- package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +2 -0
- package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +2 -0
- package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +2 -0
- package/dist/modules/legal/components/pages/Legal.vue.d.ts +2 -0
- package/dist/modules/legal/components/pages/legal/Cookies.vue.d.ts +2 -0
- package/dist/modules/legal/components/pages/legal/Privacy.vue.d.ts +2 -0
- package/dist/modules/legal/components/pages/legal/Terms.vue.d.ts +2 -0
- package/dist/organizations-aed4245d.mjs +122 -0
- package/dist/organizations-bb8f676d.js +1 -0
- package/dist/organizations.client-5548024c.js +3 -0
- package/dist/organizations.client-976762d2.mjs +3021 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +45 -44
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +254 -324
- package/package.json +5 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +3 -3
- package/src/modules/landing/landing.client.js +1 -2
- package/src/modules/legal/components/pages/Legal.vue +43 -0
- package/src/modules/legal/components/pages/legal/Cookies.vue +370 -0
- package/src/modules/legal/components/pages/legal/Privacy.vue +4284 -0
- package/src/modules/legal/components/pages/legal/Terms.vue +1283 -0
- package/src/modules/legal/legal.client.js +18 -0
- package/src/modules/legal/router/legal.js +22 -0
- package/src/modules/users/components/pages/Profile.vue +13 -0
package/dist/community.client.js
CHANGED
@@ -1,31 +1,32 @@
|
|
1
1
|
import { resolveComponent as Y, openBlock as i, createElementBlock as p, createElementVNode as o, createVNode as h, normalizeClass as B, unref as c, createCommentVNode as v, withCtx as k, Transition as G, createBlock as I, resolveDynamicComponent as Q, ref as g, onMounted as F, computed as V, createTextVNode as T, createStaticVNode as Z, TransitionGroup as H, Fragment as D, renderList as U, mergeProps as ee, watch as te, toDisplayString as N, watchEffect as se, isRef as W, withAsyncContext as ae, pushScopeId as oe, popScopeId as ne } from "vue";
|
2
2
|
import { useRoute as z, useRouter as A } from "vue-router";
|
3
3
|
import { S as le } from "./Select-90d4b7c8.mjs";
|
4
|
-
import { s as M, r as L, c as re, u as q, a as R, b as ie, d as K, _ as ue } from "./Feed-
|
5
|
-
import { e as
|
6
|
-
import { s as w } from "./auth-
|
7
|
-
import { _ as ce, a as pe, b as
|
8
|
-
import { _ as ge } from "./Popup-
|
9
|
-
import { _ as _e, S as he, C as fe } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-
|
10
|
-
import { _ as ve, F as be } from "./
|
11
|
-
import { a as ye } from "./organizations-
|
4
|
+
import { s as M, r as L, c as re, u as q, a as R, b as ie, d as K, _ as ue } from "./Feed-8110366a.mjs";
|
5
|
+
import { e as ns, f as ls, g as rs } from "./Feed-8110366a.mjs";
|
6
|
+
import { s as w } from "./auth-b047fdc0.mjs";
|
7
|
+
import { _ as ce, a as pe, b as me, c as de } from "./Image-7dcfe90d.mjs";
|
8
|
+
import { _ as ge } from "./Popup-47b37484.mjs";
|
9
|
+
import { _ as _e, S as he, C as fe } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs";
|
10
|
+
import { _ as ve, F as be } from "./Button-d8e72ac0.mjs";
|
11
|
+
import { a as ye } from "./organizations-aed4245d.mjs";
|
12
12
|
import { _ as we } from "./EmptyState-34d85f10.mjs";
|
13
13
|
import { _ as X } from "./_plugin-vue_export-helper-dad06003.mjs";
|
14
|
-
import { _ as xe } from "./Publics-
|
14
|
+
import { _ as xe } from "./Publics-538180a8.mjs";
|
15
15
|
import { useI18n as $e } from "vue-i18n";
|
16
16
|
import "./globals-96ba60e4.mjs";
|
17
17
|
import "./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs";
|
18
18
|
import "./Chips-03ff0c34.mjs";
|
19
19
|
import "./IconEdit-eacf3856.mjs";
|
20
|
+
import "./index-0ab9d59c.mjs";
|
20
21
|
import "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
21
|
-
import "./CardOrganization-
|
22
|
-
import "./ButtonFollow-
|
22
|
+
import "./CardOrganization-3f4a13d3.mjs";
|
23
|
+
import "./ButtonFollow-00d85977.mjs";
|
23
24
|
const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, Ce = { class: "flex-v-center flex-nowrap flex t-left" }, Te = /* @__PURE__ */ o("span", { class: "" }, "Topics for ", -1), Se = { class: "w-max bg-grey pd-medium radius-big mn-semi flex-nowrap flex" }, Be = { class: "" }, Ie = {
|
24
25
|
__name: "Community",
|
25
|
-
setup(
|
26
|
+
setup(m) {
|
26
27
|
const n = z(), s = A();
|
27
28
|
return (e, a) => {
|
28
|
-
const
|
29
|
+
const d = Y("router-view");
|
29
30
|
return i(), p("div", ke, [
|
30
31
|
o("header", Pe, [
|
31
32
|
o("h2", Ce, [
|
@@ -59,7 +60,7 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
59
60
|
}, "👥 Following", 2)) : v("", !0)
|
60
61
|
]),
|
61
62
|
o("section", Be, [
|
62
|
-
h(
|
63
|
+
h(d, null, {
|
63
64
|
default: k(({ Component: t, route: _ }) => [
|
64
65
|
h(G, {
|
65
66
|
name: "scaleIn",
|
@@ -85,7 +86,7 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
85
86
|
class: "h-100 w-100 bg-grey pd-big radius-big"
|
86
87
|
}, Ne = { class: "w-full h-full" }, ze = {
|
87
88
|
key: 1,
|
88
|
-
class: "pd-thin pos-
|
89
|
+
class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
|
89
90
|
}, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, je = { class: "w-m-66r t-left pd-big bg-white radius-big" }, De = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Final Touches", -1), Ue = /* @__PURE__ */ o("h5", { class: "mn-thin" }, "Add to public:", -1), Ae = {
|
90
91
|
key: 0,
|
91
92
|
class: "mn-thin"
|
@@ -94,10 +95,10 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
94
95
|
class: "mn-medium br-grey br-2px br-solid pd-small radius-big"
|
95
96
|
}, Ee = {
|
96
97
|
__name: "CreateBlogPost",
|
97
|
-
setup(
|
98
|
+
setup(m) {
|
98
99
|
const n = z(), s = A();
|
99
100
|
let e = g(null), a = g(null);
|
100
|
-
const
|
101
|
+
const d = g([]), t = g(null);
|
101
102
|
F(async () => {
|
102
103
|
if (n.params.url) {
|
103
104
|
const u = await L({ user: w.user._id, url: n.params.url });
|
@@ -134,7 +135,7 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
134
135
|
{ text: "discussion" },
|
135
136
|
{ text: "photos" }
|
136
137
|
]);
|
137
|
-
V(() => l.value.filter((r) => r.text.toLowerCase().includes(_.value.toLowerCase()))), V(() => l.value.filter((r) => !
|
138
|
+
V(() => l.value.filter((r) => r.text.toLowerCase().includes(_.value.toLowerCase()))), V(() => l.value.filter((r) => !d.value.some((u) => u.text === r.text)));
|
138
139
|
const f = g(!1);
|
139
140
|
function P() {
|
140
141
|
f.value = !0;
|
@@ -143,7 +144,7 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
143
144
|
f.value = !1;
|
144
145
|
}
|
145
146
|
function S() {
|
146
|
-
|
147
|
+
d.value.length > 0 && d.value.map((r) => r.text), e.value.status = "draft", n.params.url ? q(e.value).then((r) => {
|
147
148
|
s.push({ name: "BlogPost", params: { url: r.url } });
|
148
149
|
}).catch((r) => {
|
149
150
|
console.log(r);
|
@@ -266,12 +267,12 @@ const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-cente
|
|
266
267
|
}, qe = /* @__PURE__ */ Z('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), Re = [
|
267
268
|
qe
|
268
269
|
];
|
269
|
-
function Je(
|
270
|
+
function Je(m, n) {
|
270
271
|
return i(), p("svg", He, Re);
|
271
272
|
}
|
272
273
|
const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, We = {
|
273
274
|
__name: "BlogPost",
|
274
|
-
setup(
|
275
|
+
setup(m) {
|
275
276
|
const n = z(), s = g(null), e = g(!0);
|
276
277
|
F(async () => {
|
277
278
|
e.value = !0;
|
@@ -283,9 +284,9 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
283
284
|
H2: "h2",
|
284
285
|
Bullets: "p",
|
285
286
|
Caption: "p",
|
286
|
-
ImageUpload:
|
287
|
+
ImageUpload: de
|
287
288
|
};
|
288
|
-
function
|
289
|
+
function d(t) {
|
289
290
|
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 } : {};
|
290
291
|
}
|
291
292
|
return (t, _) => (i(), p("section", Qe, [
|
@@ -335,13 +336,13 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
335
336
|
prop: l,
|
336
337
|
class: l.class,
|
337
338
|
content: "content"
|
338
|
-
},
|
339
|
+
}, d(l), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : v("", !0)
|
339
340
|
])
|
340
341
|
]),
|
341
342
|
_: 1
|
342
343
|
}, 8, ["blogpost", "user", "class"])) : v("", !0),
|
343
344
|
h(xe, { class: "mn-small" }),
|
344
|
-
!e.value && s.value ? (i(), I(
|
345
|
+
!e.value && s.value ? (i(), I(me, {
|
345
346
|
key: 1,
|
346
347
|
type: "blogpost",
|
347
348
|
target: s.value._id,
|
@@ -357,7 +358,7 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
357
358
|
default: We
|
358
359
|
}, Symbol.toStringTag, { value: "Module" })), Xe = {
|
359
360
|
__name: "Blog",
|
360
|
-
setup(
|
361
|
+
setup(m) {
|
361
362
|
const n = z(), s = A();
|
362
363
|
return n.params.category || (n.params.category = "featured"), F(() => {
|
363
364
|
if (n.query) {
|
@@ -368,14 +369,14 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
368
369
|
M.filter = a;
|
369
370
|
}
|
370
371
|
}), te(() => M.filter, (e, a) => {
|
371
|
-
const
|
372
|
+
const d = { ...n.query };
|
372
373
|
Object.keys(a).forEach((_) => {
|
373
|
-
|
374
|
+
d[_] && delete d[_];
|
374
375
|
});
|
375
376
|
const t = Object.fromEntries(
|
376
377
|
Object.entries(e).filter(([_, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([_, l]) => [_, Array.isArray(l) ? l.join(",") : l])
|
377
378
|
);
|
378
|
-
Object.assign(
|
379
|
+
Object.assign(d, t), s.replace({ query: d });
|
379
380
|
}, { deep: !0 }), (e, a) => (i(), p("section", null, [
|
380
381
|
h(ue, {
|
381
382
|
category: c(n).params.category,
|
@@ -396,42 +397,42 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
396
397
|
}, nt = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "💬", -1), lt = { class: "t-semi uppercase" }, rt = /* @__PURE__ */ o("br", null, null, -1), it = {
|
397
398
|
key: 2,
|
398
399
|
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
399
|
-
}, ut = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), ct = { class: "t-semi uppercase" }, pt = /* @__PURE__ */ o("br", null, null, -1),
|
400
|
+
}, ut = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), ct = { class: "t-semi uppercase" }, pt = /* @__PURE__ */ o("br", null, null, -1), Yt = {
|
400
401
|
__name: "Activity",
|
401
402
|
props: {
|
402
403
|
likes: Number,
|
403
404
|
comments: Number,
|
404
405
|
subscriptions: Number
|
405
406
|
},
|
406
|
-
setup(
|
407
|
+
setup(m) {
|
407
408
|
return (n, s) => (i(), p("section", Ze, [
|
408
|
-
|
409
|
+
m.likes ? (i(), p("div", et, [
|
409
410
|
tt,
|
410
411
|
o("span", st, [
|
411
|
-
T(N(
|
412
|
+
T(N(m.likes), 1),
|
412
413
|
at,
|
413
414
|
T("likes")
|
414
415
|
])
|
415
416
|
])) : v("", !0),
|
416
|
-
|
417
|
+
m.comments ? (i(), p("div", ot, [
|
417
418
|
nt,
|
418
419
|
o("span", lt, [
|
419
|
-
T(N(
|
420
|
+
T(N(m.comments), 1),
|
420
421
|
rt,
|
421
422
|
T("comments")
|
422
423
|
])
|
423
424
|
])) : v("", !0),
|
424
|
-
|
425
|
+
m.subscriptions ? (i(), p("div", it, [
|
425
426
|
ut,
|
426
427
|
o("span", ct, [
|
427
|
-
T(N(
|
428
|
+
T(N(m.subscriptions), 1),
|
428
429
|
pt,
|
429
430
|
T("subscriptions")
|
430
431
|
])
|
431
432
|
])) : v("", !0)
|
432
433
|
]));
|
433
434
|
}
|
434
|
-
},
|
435
|
+
}, mt = { class: "pd-thin radius-extra flex-nowrap flex" }, dt = ["innerHTML"], gt = {
|
435
436
|
__name: "FieldBig",
|
436
437
|
props: {
|
437
438
|
input: String,
|
@@ -463,9 +464,9 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
463
464
|
}
|
464
465
|
},
|
465
466
|
emits: ["update:input", "action"],
|
466
|
-
setup(
|
467
|
-
const s =
|
468
|
-
let
|
467
|
+
setup(m, { emit: n }) {
|
468
|
+
const s = m, { t: e, locale: a } = $e();
|
469
|
+
let d = g(0), t = g(s.input), _ = g(s.placeholder), l = g(s.enableTyping), f = g(null), P = g(""), $ = g(!0), S = null;
|
469
470
|
function O() {
|
470
471
|
n("action");
|
471
472
|
}
|
@@ -473,7 +474,7 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
473
474
|
n("update:input", x), P.value = x;
|
474
475
|
}
|
475
476
|
function r() {
|
476
|
-
|
477
|
+
d.value = (d.value + 1) % s.placeholderTexts[a.value].length;
|
477
478
|
}
|
478
479
|
function u() {
|
479
480
|
l.value = !1, clearInterval(f.value), _.value = s.placeholder, P.value || (t.value = "");
|
@@ -482,20 +483,20 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
482
483
|
!P.value && s.enableTyping && (l.value = !0, _.value = "", E());
|
483
484
|
}
|
484
485
|
function E() {
|
485
|
-
let x = s.placeholderTexts[a.value][
|
486
|
+
let x = s.placeholderTexts[a.value][d.value], y = 0, C = !1;
|
486
487
|
S = setInterval(() => {
|
487
488
|
$.value = !$.value;
|
488
489
|
}, 200), f.value = setInterval(() => {
|
489
490
|
l.value && (C ? (t.value = t.value.slice(0, -1), t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y--) : (t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y++), y > x.length && s.loopTyping && setTimeout(() => {
|
490
491
|
C = !0, t.value = x.substring(0, y);
|
491
|
-
}, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[a.value][
|
492
|
+
}, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[a.value][d.value]));
|
492
493
|
}, s.typingSpeed);
|
493
494
|
}
|
494
495
|
return F(() => {
|
495
496
|
s.enableTyping && E();
|
496
497
|
}), se(() => {
|
497
498
|
l.value || (clearInterval(f.value), clearInterval(S));
|
498
|
-
}), (x, y) => (i(), p("div",
|
499
|
+
}), (x, y) => (i(), p("div", mt, [
|
499
500
|
h(be, {
|
500
501
|
field: c(t),
|
501
502
|
"onUpdate:field": [
|
@@ -508,12 +509,12 @@ const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, W
|
|
508
509
|
onBlur: b,
|
509
510
|
class: "w-100 pd-small p-big"
|
510
511
|
}, null, 8, ["field", "placeholder"]),
|
511
|
-
|
512
|
+
m.action ? (i(), p("button", {
|
512
513
|
key: 0,
|
513
514
|
onClick: O,
|
514
515
|
class: "w-min hover_bg-white hover-t-black t-black bg-main button",
|
515
|
-
innerHTML:
|
516
|
-
}, null, 8,
|
516
|
+
innerHTML: m.action
|
517
|
+
}, null, 8, dt)) : v("", !0)
|
517
518
|
]));
|
518
519
|
}
|
519
520
|
};
|
@@ -522,9 +523,9 @@ const _t = { class: "pd-thin" }, ht = { class: "o-hidden t-black bg-main pd-big
|
|
522
523
|
/* @__PURE__ */ o("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
|
523
524
|
], -1), vt = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, bt = /* @__PURE__ */ o("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
|
524
525
|
/* @__PURE__ */ o("div", { class: "spiral" })
|
525
|
-
], -1),
|
526
|
+
], -1), Zt = {
|
526
527
|
__name: "SubscribeNewsletter",
|
527
|
-
setup(
|
528
|
+
setup(m) {
|
528
529
|
let n = g("");
|
529
530
|
return (s, e) => (i(), p("section", _t, [
|
530
531
|
o("div", ht, [
|
@@ -547,9 +548,9 @@ const _t = { class: "pd-thin" }, ht = { class: "o-hidden t-black bg-main pd-big
|
|
547
548
|
]));
|
548
549
|
}
|
549
550
|
};
|
550
|
-
const yt = { class: "container container-joinus" }, wt = { class: "content" }, xt = { class: "h0 mn-big" }, $t = /* @__PURE__ */ o("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), kt = /* @__PURE__ */ o("button", { class: "bg-black t-white button" }, "Join Now", -1),
|
551
|
+
const yt = { class: "container container-joinus" }, wt = { class: "content" }, xt = { class: "h0 mn-big" }, $t = /* @__PURE__ */ o("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), kt = /* @__PURE__ */ o("button", { class: "bg-black t-white button" }, "Join Now", -1), es = {
|
551
552
|
__name: "JoinUs",
|
552
|
-
setup(
|
553
|
+
setup(m) {
|
553
554
|
const n = g(120950), s = g([
|
554
555
|
"/assets/images/reviews/01.png",
|
555
556
|
"/assets/images/reviews/02.png",
|
@@ -569,9 +570,9 @@ const yt = { class: "container container-joinus" }, wt = { class: "content" }, x
|
|
569
570
|
spawnPoints: [10, 90]
|
570
571
|
};
|
571
572
|
F(() => {
|
572
|
-
|
573
|
+
d(), e();
|
573
574
|
});
|
574
|
-
const
|
575
|
+
const d = () => {
|
575
576
|
s.value.forEach((t, _) => {
|
576
577
|
let l = document.createElement("img");
|
577
578
|
l.src = t, l.classList.add("floating-image");
|
@@ -591,16 +592,16 @@ const yt = { class: "container container-joinus" }, wt = { class: "content" }, x
|
|
591
592
|
]));
|
592
593
|
}
|
593
594
|
};
|
594
|
-
const Pt = (
|
595
|
+
const Pt = (m) => (oe("data-v-18db0d1b"), m = m(), ne(), m), Ct = { class: "community-feed" }, Tt = /* @__PURE__ */ Pt(() => /* @__PURE__ */ o("h2", { class: "w-m-75r mn-auto pd-t-big pd-b-big t-center" }, "Discover the Vibrant Community", -1)), St = { class: "grid-container" }, Bt = {
|
595
596
|
__name: "HotPosts",
|
596
|
-
async setup(
|
597
|
+
async setup(m) {
|
597
598
|
let n, s;
|
598
599
|
const e = g([]), a = async () => {
|
599
600
|
const t = await L({ skip: 0, limit: 7, period: "year" });
|
600
601
|
console.log(t), e.value = t;
|
601
602
|
};
|
602
603
|
[n, s] = ae(() => a()), await n, s();
|
603
|
-
const
|
604
|
+
const d = (t) => {
|
604
605
|
switch (t) {
|
605
606
|
case 0:
|
606
607
|
return "grid-item-2x2";
|
@@ -624,12 +625,12 @@ const Pt = (d) => (oe("data-v-18db0d1b"), d = d(), ne(), d), Ct = { class: "comm
|
|
624
625
|
blogpost: l,
|
625
626
|
owner: w.user._id,
|
626
627
|
key: f,
|
627
|
-
class: B(
|
628
|
+
class: B(d(f))
|
628
629
|
}, null, 8, ["blogpost", "owner", "class"]))), 128))
|
629
630
|
])
|
630
631
|
]));
|
631
632
|
}
|
632
|
-
},
|
633
|
+
}, ts = /* @__PURE__ */ X(Bt, [["__scopeId", "data-v-18db0d1b"]]), ss = [
|
633
634
|
{
|
634
635
|
path: "community",
|
635
636
|
component: Ie,
|
@@ -690,19 +691,19 @@ const Pt = (d) => (oe("data-v-18db0d1b"), d = d(), ne(), d), Ct = { class: "comm
|
|
690
691
|
}
|
691
692
|
];
|
692
693
|
export {
|
693
|
-
|
694
|
+
Yt as Activity,
|
694
695
|
Xe as Blog,
|
695
696
|
We as BlogPost,
|
696
697
|
K as CardBlogpost,
|
697
|
-
|
698
|
+
me as Comments,
|
698
699
|
Ie as Community,
|
699
700
|
Ee as CreateBlogPost,
|
700
701
|
ue as Feed,
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
702
|
+
ns as FooterBlogpost,
|
703
|
+
ts as HotPosts,
|
704
|
+
es as JoinUs,
|
705
|
+
Zt as SubscribeNewsletter,
|
706
|
+
ss as blogpostsRoutes,
|
707
|
+
ls as blogpostsStore,
|
708
|
+
rs as reactionsStore
|
708
709
|
};
|