@ozdao/prometheus-framework 0.1.62 → 0.1.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-30022293.js +1 -0
- package/dist/BackofficeGallery-f64daa0d.mjs +264 -0
- package/dist/BackofficeReports-cb4b180d.mjs +44 -0
- package/dist/BackofficeReports-d021871f.js +1 -0
- package/dist/BlockTags-8cddaef7.js +1 -0
- package/dist/BlockTags-ee310572.mjs +853 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Button-7643c9aa.js +1 -0
- package/dist/Button-9e1a9284.mjs +226 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/ButtonToggleMembership-7ee4dc8e.mjs +90 -0
- package/dist/ButtonToggleMembership-b9352cec.js +1 -0
- package/dist/CardBlogpost-3c92fbc9.mjs +246 -0
- package/dist/CardBlogpost-c7364b1e.js +1 -0
- package/dist/CardOrganization-647cb571.js +1 -0
- package/dist/CardOrganization-facb77f7.mjs +234 -0
- package/dist/CardProduct-92affca1.js +1 -0
- package/dist/CardProduct-fca53299.mjs +193 -0
- package/dist/Checkbox-5dbe7b23.mjs +62 -0
- package/dist/Checkbox-76f09248.js +1 -0
- package/dist/Chips-0fdb31c9.js +1 -0
- package/dist/Chips-f1a0d085.mjs +214 -0
- package/dist/Community-534d473c.mjs +132 -0
- package/dist/Community-e9aff969.js +1 -0
- package/dist/Dashboard-91d73bc5.js +1 -0
- package/dist/Dashboard-ea9035bc.mjs +152 -0
- package/dist/Dropdown-31115457.js +1 -0
- package/dist/Dropdown-cab3605b.mjs +146 -0
- package/dist/EULA-aba6a807.js +1 -0
- package/dist/EULA-e05236af.mjs +4210 -0
- package/dist/EditOrder-94bbebff.mjs +221 -0
- package/dist/EditOrder-c070d474.js +1 -0
- package/dist/EmptyState-d65bab5b.js +1 -0
- package/dist/EmptyState-e404b05d.mjs +36 -0
- package/dist/Events-46ae8fc6.mjs +123 -0
- package/dist/Events-813c8c7b.js +1 -0
- package/dist/Feed-2d443ad2.mjs +146 -0
- package/dist/Feed-3a4e7a9c.js +1 -0
- package/dist/Feed-8b554fc1.js +1 -0
- package/dist/Feed-98b47c6f.js +1 -0
- package/dist/Feed-a21d6007.mjs +124 -0
- package/dist/Feed-b39138c8.js +1 -0
- package/dist/Feed-c41ef736.mjs +361 -0
- package/dist/Feed-d114330c.mjs +112 -0
- package/dist/Field-e2a43424.js +1 -0
- package/dist/Field-e5ad88d3.mjs +75 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
- package/dist/Gallery-46b5f939.js +1 -0
- package/dist/Gallery-762a9c2d.mjs +241 -0
- package/dist/IconChevronRight-a55f838e.js +1 -0
- package/dist/IconChevronRight-fae9d012.mjs +28 -0
- package/dist/IconCommunity-468dc457.mjs +65 -0
- package/dist/IconCommunity-b339e806.js +1 -0
- package/dist/IconCross-5bf93179.js +1 -0
- package/dist/IconCross-84cb1292.mjs +28 -0
- package/dist/IconEdit-9edfd74d.mjs +21 -0
- package/dist/IconEdit-c0469b45.js +1 -0
- package/dist/Image-4dcfddb8.js +9 -0
- package/dist/Image-e0da17ac.mjs +571 -0
- package/dist/LabelGooglePlay-24feb437.mjs +31 -0
- package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
- package/dist/LeftoverAdd-5a8988d9.js +1 -0
- package/dist/LeftoverAdd-c4f37f47.mjs +227 -0
- package/dist/Leftovers-470a1689.js +1 -0
- package/dist/Leftovers-69c7dcd9.mjs +136 -0
- package/dist/Loader-21f016da.js +1 -0
- package/dist/Loader-cd422786.mjs +41 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Members-04273cd4.mjs +114 -0
- package/dist/Members-0685a15f.js +1 -0
- package/dist/Menu-b5d6a0c7.js +1 -0
- package/dist/Menu-dd7645c1.mjs +13 -0
- package/dist/MenuItem-56ae7f94.js +1 -0
- package/dist/MenuItem-6296d02f.mjs +63 -0
- package/dist/Orders-b64e8cb9.js +1 -0
- package/dist/Orders-ff30db05.mjs +75 -0
- package/dist/Organizations-46aab2c8.mjs +73 -0
- package/dist/Organizations-a8627bc5.js +1 -0
- package/dist/Payments-53e5fecf.js +1 -0
- package/dist/Payments-82e545e1.mjs +87 -0
- package/dist/PlaceholderUserpic-14c6ea7e.mjs +28 -0
- package/dist/PlaceholderUserpic-47f6f319.js +1 -0
- package/dist/Popup-0915427c.mjs +74 -0
- package/dist/Popup-795f5c88.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Product-7e001b81.js +7 -0
- package/dist/Product-f3f42158.mjs +653 -0
- package/dist/ProductEdit-959b3cd3.mjs +295 -0
- package/dist/ProductEdit-bae5e898.js +1 -0
- package/dist/ProductsBackoffice-0716123f.js +1 -0
- package/dist/ProductsBackoffice-a36ecbc6.mjs +85 -0
- package/dist/ProfileBlogposts-c790d1b2.js +1 -0
- package/dist/ProfileBlogposts-f43cf32e.mjs +79 -0
- package/dist/ProfileEvents-12f80fff.mjs +70 -0
- package/dist/ProfileEvents-585570a3.js +1 -0
- package/dist/ProfileOrganizations-bbc2cf40.mjs +73 -0
- package/dist/ProfileOrganizations-d7103514.js +1 -0
- package/dist/Publics-094f3c2c.mjs +45 -0
- package/dist/Publics-1032c0f4.js +1 -0
- package/dist/Select-11ddabf5.mjs +79 -0
- package/dist/Select-3ca5ab39.js +1 -0
- package/dist/SelectMulti-58704d69.mjs +1038 -0
- package/dist/SelectMulti-c25765cf.js +1 -0
- package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
- package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
- package/dist/SkeletonEvent-8690422d.mjs +16 -0
- package/dist/SkeletonEvent-eb284de8.js +1 -0
- package/dist/SkeletonEventShort-6c9e3940.js +1 -0
- package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
- package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
- package/dist/SkeletonOrganization-8690422d.mjs +16 -0
- package/dist/Socials-31c06635.mjs +74 -0
- package/dist/Socials-cceaeaf2.js +1 -0
- package/dist/Tab-054b61f7.mjs +46 -0
- package/dist/Tab-2c1e4224.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Upload-06d93178.js +1 -0
- package/dist/Upload-23212d9d.mjs +74 -0
- package/dist/UploadImage-0f488170.js +1 -0
- package/dist/UploadImage-3c627d89.mjs +83 -0
- package/dist/UploadImageMultiple-cb6c7188.mjs +58 -0
- package/dist/UploadImageMultiple-eddaac87.js +1 -0
- package/dist/Wallet-2043b611.mjs +24682 -0
- package/dist/Wallet-8fa7386a.js +55 -0
- package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
- package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
- package/dist/auth-56dc2ba7.mjs +607 -0
- package/dist/auth-f018f5b3.js +7 -0
- package/dist/auth.client.cjs +7 -0
- package/dist/auth.client.js +3874 -0
- package/dist/auth.validation-c31a60e7.mjs +24 -0
- package/dist/auth.validation-d049b341.js +1 -0
- package/dist/backoffice.client.cjs +1 -0
- package/dist/backoffice.client.js +265 -0
- package/dist/carousel.es-44c501bc.mjs +383 -0
- package/dist/carousel.es-cdfb392c.js +5 -0
- package/dist/categories-5b08da53.mjs +121 -0
- package/dist/categories-7ccd6be9.js +1 -0
- package/dist/click-outside-0b0727d1.js +2 -0
- package/dist/click-outside-6101836c.mjs +19 -0
- package/dist/community.client.cjs +1 -0
- package/dist/community.client.js +692 -0
- package/dist/dribbble-8e8e169b.js +1 -0
- package/dist/dribbble-ae37c2ac.mjs +127 -0
- package/dist/events.client.cjs +2 -0
- package/dist/events.client.js +8885 -0
- package/dist/files.client.cjs +1 -0
- package/dist/files.client.js +1 -0
- package/dist/gallery-d4297191.mjs +54 -0
- package/dist/gallery-f92912df.js +1 -0
- package/dist/gallery.client.cjs +1 -0
- package/dist/gallery.client.js +18 -0
- package/dist/globals-928eb13c.js +1 -0
- package/dist/globals-96ba60e4.mjs +91 -0
- package/dist/globals.client.cjs +1 -0
- package/dist/globals.client.js +12 -0
- package/dist/icons.client.cjs +1 -0
- package/dist/icons.client.js +84 -0
- package/dist/index-a661083c.mjs +934 -0
- package/dist/index-b41aac19.js +2 -0
- package/dist/inputs.validation-d7cef32b.js +1 -0
- package/dist/inputs.validation-db65277a.mjs +83 -0
- package/dist/landing.client.cjs +1 -0
- package/dist/landing.client.js +111 -0
- package/dist/leftovers-5d1ff88b.mjs +67 -0
- package/dist/leftovers-b60180cf.js +1 -0
- package/dist/legal.client.cjs +1 -0
- package/dist/legal.client.js +8512 -0
- package/dist/memberships-12210953.mjs +68 -0
- package/dist/memberships-393765d8.js +1 -0
- package/dist/middlewares.client.cjs +1 -0
- package/dist/middlewares.client.js +1 -0
- package/dist/orders-13c10d49.mjs +85 -0
- package/dist/orders-37f041aa.js +1 -0
- package/dist/organizations-587d5a4d.mjs +122 -0
- package/dist/organizations-b4d902a2.js +1 -0
- package/dist/organizations.client-35b74e44.mjs +2997 -0
- package/dist/organizations.client-f982f55a.js +3 -0
- package/dist/organizations.client.cjs +1 -0
- package/dist/organizations.client.js +86 -0
- package/dist/products-3c43eb18.js +1 -0
- package/dist/products-943fb95e.mjs +107 -0
- package/dist/prometheus-framework.cjs.js +19 -19
- package/dist/prometheus-framework.es.js +2208 -2198
- package/dist/reports-270f69df.js +1 -0
- package/dist/reports-79cd9459.mjs +91 -0
- package/dist/reports.client.cjs +1 -0
- package/dist/reports.client.js +8 -0
- package/dist/states.validation-3b70f83a.js +1 -0
- package/dist/states.validation-944e334c.mjs +13 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -0
- package/dist/users.client.js +632 -0
- package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
- package/dist/vue-draggable-next.esm-bundler-ff6e3f52.mjs +1557 -0
- package/dist/vuex.esm-bundler-57d8b6ba.mjs +750 -0
- package/dist/vuex.esm-bundler-685cf29f.js +5 -0
- package/package.json +1 -1
@@ -0,0 +1,692 @@
|
|
1
|
+
import { resolveComponent as X, openBlock as i, createElementBlock as m, createElementVNode as a, createVNode as g, normalizeClass as B, unref as u, createCommentVNode as h, withCtx as k, Transition as J, createBlock as I, resolveDynamicComponent as G, ref as _, onMounted as F, computed as L, createTextVNode as T, TransitionGroup as A, Fragment as E, renderList as H, mergeProps as Y, watch as Z, toDisplayString as z, watchEffect as ee, isRef as Q, pushScopeId as te, popScopeId as se } from "vue";
|
2
|
+
import { useRoute as O, useRouter as N } from "vue-router";
|
3
|
+
import { S as oe } from "./Select-11ddabf5.mjs";
|
4
|
+
import { s as M, r as W, c as ae, u as V, b as q, a as ne, _ as le } from "./CardBlogpost-3c92fbc9.mjs";
|
5
|
+
import { d as ms, e as ds } from "./CardBlogpost-3c92fbc9.mjs";
|
6
|
+
import { s as w } from "./auth-56dc2ba7.mjs";
|
7
|
+
import { _ as re, a as ie, b as ue, c as ce } from "./Image-e0da17ac.mjs";
|
8
|
+
import { _ as pe } from "./Popup-0915427c.mjs";
|
9
|
+
import { _ as me } from "./BlockTags-ee310572.mjs";
|
10
|
+
import { C as de } from "./Checkbox-5dbe7b23.mjs";
|
11
|
+
import { S as ge } from "./SelectMulti-58704d69.mjs";
|
12
|
+
import { _ as _e } from "./Button-9e1a9284.mjs";
|
13
|
+
import { a as fe } from "./organizations-587d5a4d.mjs";
|
14
|
+
import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
15
|
+
import { _ as he } from "./EmptyState-e404b05d.mjs";
|
16
|
+
import { S as ve } from "./SkeletonBlogpost-e0621af7.mjs";
|
17
|
+
import { _ as be } from "./Publics-094f3c2c.mjs";
|
18
|
+
import { useI18n as ye } from "vue-i18n";
|
19
|
+
import "./globals-96ba60e4.mjs";
|
20
|
+
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
21
|
+
import { _ as K } from "./Feed-a21d6007.mjs";
|
22
|
+
import { F as we } from "./Field-e5ad88d3.mjs";
|
23
|
+
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.mjs";
|
24
|
+
import { r as _s } from "./Chips-f1a0d085.mjs";
|
25
|
+
import "./index-a661083c.mjs";
|
26
|
+
import "./IconEdit-9edfd74d.mjs";
|
27
|
+
import "./Upload-23212d9d.mjs";
|
28
|
+
import "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
29
|
+
import "./IconCross-84cb1292.mjs";
|
30
|
+
import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
31
|
+
import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
32
|
+
import "./CardOrganization-facb77f7.mjs";
|
33
|
+
import "./ButtonToggleMembership-7ee4dc8e.mjs";
|
34
|
+
import "./memberships-12210953.mjs";
|
35
|
+
import "./Loader-cd422786.mjs";
|
36
|
+
import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
|
37
|
+
import "./PlaceholderUserpic-14c6ea7e.mjs";
|
38
|
+
import "./Dropdown-cab3605b.mjs";
|
39
|
+
import "./reports-79cd9459.mjs";
|
40
|
+
import "./click-outside-6101836c.mjs";
|
41
|
+
const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, Pe = { class: "flex-v-center flex-nowrap flex t-left" }, Ce = /* @__PURE__ */ a("span", { class: "" }, "Topics for ", -1), Te = { class: "w-100 bg-grey pd-small radius-big mn-semi gap-thin flex-nowrap flex" }, Se = { class: "" }, Be = {
|
42
|
+
__name: "Community",
|
43
|
+
setup(p) {
|
44
|
+
const n = O(), s = N();
|
45
|
+
return (e, o) => {
|
46
|
+
const d = X("router-view");
|
47
|
+
return i(), m("div", $e, [
|
48
|
+
a("header", ke, [
|
49
|
+
a("h2", Pe, [
|
50
|
+
Ce,
|
51
|
+
g(oe, {
|
52
|
+
options: ["today", "week", "month", "year"],
|
53
|
+
select: M.filter.period,
|
54
|
+
"onUpdate:select": o[0] || (o[0] = (t) => M.filter.period = t),
|
55
|
+
placeholder: "Select type",
|
56
|
+
class: "w-max mn-l-small bg-grey pd-thin radius-medium h2 t-center t-black"
|
57
|
+
}, null, 8, ["select"])
|
58
|
+
])
|
59
|
+
]),
|
60
|
+
a("ul", Te, [
|
61
|
+
a("li", {
|
62
|
+
class: B([{ "t-white bg-black": u(n).params.category === "featured" }, "t-medium pd-thin radius-small"]),
|
63
|
+
onClick: o[1] || (o[1] = (t) => u(s).push({ name: "Blog" }))
|
64
|
+
}, "👑 Featured", 2),
|
65
|
+
a("li", {
|
66
|
+
class: B([{ "t-white bg-black": u(n).params.category === "popular" }, "t-medium pd-thin radius-small"]),
|
67
|
+
onClick: o[2] || (o[2] = (t) => u(s).push({ name: "Blog", params: { category: "popular" } }))
|
68
|
+
}, "🔥 Popular", 2),
|
69
|
+
a("li", {
|
70
|
+
class: B([{ "t-white bg-black": u(n).params.category === "new" }, "t-medium pd-thin radius-small"]),
|
71
|
+
onClick: o[3] || (o[3] = (t) => u(s).push({ name: "Blog", params: { category: "new" } }))
|
72
|
+
}, "🆕 New", 2),
|
73
|
+
w.user._id ? (i(), m("li", {
|
74
|
+
key: 0,
|
75
|
+
class: B([{ "t-white bg-black": u(n).params.category === "following" }, "t-medium pd-thin radius-small"]),
|
76
|
+
onClick: o[4] || (o[4] = (t) => u(s).push({ name: "Blog", params: { category: "following" } }))
|
77
|
+
}, "👥 Following", 2)) : h("", !0)
|
78
|
+
]),
|
79
|
+
a("section", Se, [
|
80
|
+
g(d, null, {
|
81
|
+
default: k(({ Component: t, route: f }) => [
|
82
|
+
g(J, {
|
83
|
+
name: "scaleIn",
|
84
|
+
mode: "out-in"
|
85
|
+
}, {
|
86
|
+
default: k(() => [
|
87
|
+
(i(), I(G(t), {
|
88
|
+
ref: "page",
|
89
|
+
key: f.query
|
90
|
+
}))
|
91
|
+
]),
|
92
|
+
_: 2
|
93
|
+
}, 1024)
|
94
|
+
]),
|
95
|
+
_: 1
|
96
|
+
})
|
97
|
+
])
|
98
|
+
]);
|
99
|
+
};
|
100
|
+
}
|
101
|
+
}, Ie = { class: "pd-thin" }, Me = {
|
102
|
+
key: 0,
|
103
|
+
class: "h-100 w-100 bg-grey pd-big radius-big"
|
104
|
+
}, Fe = { class: "w-full h-full" }, ze = {
|
105
|
+
key: 1,
|
106
|
+
class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
|
107
|
+
}, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, je = /* @__PURE__ */ a("h3", { class: "mn-small" }, "Final Touches", -1), De = /* @__PURE__ */ a("h5", { class: "mn-thin" }, "Add to public:", -1), Ne = {
|
108
|
+
key: 0,
|
109
|
+
class: "mn-thin"
|
110
|
+
}, Ue = {
|
111
|
+
key: 1,
|
112
|
+
class: "mn-medium br-grey br-2px br-solid pd-small radius-big"
|
113
|
+
}, Le = {
|
114
|
+
__name: "CreateBlogPost",
|
115
|
+
setup(p) {
|
116
|
+
const n = O(), s = N();
|
117
|
+
let e = _(null), o = _(null);
|
118
|
+
const d = _([]), t = _(null);
|
119
|
+
F(async () => {
|
120
|
+
if (n.params.url) {
|
121
|
+
const c = await W({ user: w.user._id, url: n.params.url });
|
122
|
+
e.value = c.pop();
|
123
|
+
} else
|
124
|
+
ae(), e.value = M.current;
|
125
|
+
e.value.owner || (e.value.owner = {
|
126
|
+
target: w.user._id,
|
127
|
+
type: "user"
|
128
|
+
}), e.value.creator || (e.value.creator = {
|
129
|
+
target: w.user._id,
|
130
|
+
type: "user",
|
131
|
+
hidden: !1
|
132
|
+
}), e.value.owner.type === "organization" && (t.value = {
|
133
|
+
_id: e.value.owner.target._id,
|
134
|
+
name: e.value.owner.target.profile.name,
|
135
|
+
photo: e.value.owner.target.profile.photo
|
136
|
+
});
|
137
|
+
const r = await fe.read({
|
138
|
+
user: w.user._id,
|
139
|
+
postable: w.user._id,
|
140
|
+
limit: 100
|
141
|
+
});
|
142
|
+
console.log(r), o.value = r.map((c) => ({
|
143
|
+
name: c.profile.name,
|
144
|
+
_id: c._id,
|
145
|
+
photo: c.profile.photo
|
146
|
+
}));
|
147
|
+
});
|
148
|
+
const f = _(""), l = _([
|
149
|
+
{ text: "story" },
|
150
|
+
{ text: "news" },
|
151
|
+
{ text: "guide" },
|
152
|
+
{ text: "discussion" },
|
153
|
+
{ text: "photos" }
|
154
|
+
]);
|
155
|
+
L(() => l.value.filter((r) => r.text.toLowerCase().includes(f.value.toLowerCase()))), L(() => l.value.filter((r) => !d.value.some((c) => c.text === r.text)));
|
156
|
+
const v = _(!1);
|
157
|
+
function P() {
|
158
|
+
v.value = !0;
|
159
|
+
}
|
160
|
+
function $() {
|
161
|
+
v.value = !1;
|
162
|
+
}
|
163
|
+
function S() {
|
164
|
+
d.value.length > 0 && d.value.map((r) => r.text), e.value.status = "draft", n.params.url ? V(e.value).then((r) => {
|
165
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
166
|
+
}).catch((r) => {
|
167
|
+
console.log(r);
|
168
|
+
}) : q(e.value).then((r) => {
|
169
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
170
|
+
}).catch((r) => {
|
171
|
+
console.log(r);
|
172
|
+
});
|
173
|
+
}
|
174
|
+
function j() {
|
175
|
+
t.value && (e.value.owner = {
|
176
|
+
target: t.value._id,
|
177
|
+
type: "organization"
|
178
|
+
}), t.value || (e.value.creator.hidden = !1), t.value || (e.value.organization = e.value.creator), e.value.status = "published", console.log(e.value), n.params.url ? V(e.value).then((r) => {
|
179
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
180
|
+
}).catch((r) => {
|
181
|
+
console.log(r);
|
182
|
+
}) : q(e.value).then((r) => {
|
183
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
184
|
+
}).catch((r) => {
|
185
|
+
console.log(r);
|
186
|
+
});
|
187
|
+
}
|
188
|
+
function D() {
|
189
|
+
confirm("Are you sure you want to delete this post?") && ne(e.value._id).then((r) => {
|
190
|
+
s.push({ name: "User Blogposts", params: { _id: e.value.creator.target._id } });
|
191
|
+
}).catch((r) => {
|
192
|
+
console.log(r);
|
193
|
+
});
|
194
|
+
}
|
195
|
+
return (r, c) => (i(), m("article", Ie, [
|
196
|
+
u(e) ? (i(), m("section", Me, [
|
197
|
+
a("div", Fe, [
|
198
|
+
g(re, {
|
199
|
+
prop: u(e),
|
200
|
+
content: "name",
|
201
|
+
placeholder: "Enter post title",
|
202
|
+
class: "h2"
|
203
|
+
}, null, 8, ["prop"])
|
204
|
+
]),
|
205
|
+
g(ie, {
|
206
|
+
content: u(e).content,
|
207
|
+
onUpdate: c[0] || (c[0] = (b) => u(e).content = b)
|
208
|
+
}, null, 8, ["content"])
|
209
|
+
])) : h("", !0),
|
210
|
+
u(e) ? (i(), m("section", ze, [
|
211
|
+
a("div", Oe, [
|
212
|
+
u(n).params.url ? (i(), m("a", {
|
213
|
+
key: 0,
|
214
|
+
onClick: c[1] || (c[1] = (b) => D()),
|
215
|
+
class: "mn-r-auto bg-red t-white t-black button"
|
216
|
+
}, "Delete")) : h("", !0),
|
217
|
+
a("a", {
|
218
|
+
onClick: c[2] || (c[2] = (b) => S()),
|
219
|
+
class: "mn-l-auto bg-white t-black button"
|
220
|
+
}, "To Drafts"),
|
221
|
+
a("a", {
|
222
|
+
onClick: c[3] || (c[3] = (b) => P()),
|
223
|
+
class: "mn-l-thin bg-black t-white button"
|
224
|
+
}, "Publish")
|
225
|
+
])
|
226
|
+
])) : h("", !0),
|
227
|
+
g(pe, {
|
228
|
+
title: "Добавить участника",
|
229
|
+
onClosePopup: $,
|
230
|
+
isPopupOpen: v.value,
|
231
|
+
class: "w-m-33r t-left pd-big bg-white radius-big"
|
232
|
+
}, {
|
233
|
+
default: k(() => [
|
234
|
+
je,
|
235
|
+
g(me, {
|
236
|
+
onTagsChanged: c[4] || (c[4] = (b) => u(e).tags = b),
|
237
|
+
tags: u(e).tags
|
238
|
+
}, null, 8, ["tags"]),
|
239
|
+
De,
|
240
|
+
g(ge, {
|
241
|
+
modelValue: t.value,
|
242
|
+
"onUpdate:modelValue": c[5] || (c[5] = (b) => t.value = b),
|
243
|
+
options: u(o),
|
244
|
+
multiple: !1,
|
245
|
+
taggable: !1,
|
246
|
+
placeholder: "Type to search or add tag",
|
247
|
+
label: "name",
|
248
|
+
"track-by": "_id",
|
249
|
+
class: "mn-medium bg-grey radius-medium pd-small"
|
250
|
+
}, null, 8, ["modelValue", "options"]),
|
251
|
+
t.value ? (i(), m("h5", Ne, "Options:")) : h("", !0),
|
252
|
+
t.value ? (i(), m("div", Ue, [
|
253
|
+
g(de, {
|
254
|
+
label: "Hide Author",
|
255
|
+
radio: u(e).creator.hidden,
|
256
|
+
"onUpdate:radio": c[6] || (c[6] = (b) => u(e).creator.hidden = b),
|
257
|
+
name: "prices",
|
258
|
+
class: "w-100"
|
259
|
+
}, null, 8, ["radio"])
|
260
|
+
])) : h("", !0),
|
261
|
+
g(_e, {
|
262
|
+
submit: j,
|
263
|
+
callback: r.redirectTo,
|
264
|
+
class: "w-100 bg-black t-white"
|
265
|
+
}, {
|
266
|
+
default: k(() => [
|
267
|
+
T("Publish")
|
268
|
+
]),
|
269
|
+
_: 1
|
270
|
+
}, 8, ["callback"])
|
271
|
+
]),
|
272
|
+
_: 1
|
273
|
+
}, 8, ["isPopupOpen"])
|
274
|
+
]));
|
275
|
+
}
|
276
|
+
}, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
277
|
+
__proto__: null,
|
278
|
+
default: Le
|
279
|
+
}, Symbol.toStringTag, { value: "Module" })), Ae = { class: "pd-thin" }, Ee = {
|
280
|
+
__name: "BlogPost",
|
281
|
+
setup(p) {
|
282
|
+
const n = O(), s = _(null), e = _(!0);
|
283
|
+
F(async () => {
|
284
|
+
e.value = !0;
|
285
|
+
const t = await W({ user: w.user._id, url: n.params.url });
|
286
|
+
s.value = t[0], e.value = !1;
|
287
|
+
});
|
288
|
+
const o = {
|
289
|
+
Textarea: "p",
|
290
|
+
H2: "h2",
|
291
|
+
Bullets: "p",
|
292
|
+
Caption: "p",
|
293
|
+
ImageUpload: ce
|
294
|
+
};
|
295
|
+
function d(t) {
|
296
|
+
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 } : {};
|
297
|
+
}
|
298
|
+
return (t, f) => (i(), m("section", Ae, [
|
299
|
+
g(A, {
|
300
|
+
tag: "ul",
|
301
|
+
name: "fade",
|
302
|
+
class: "o-hidden bg-grey radius-big"
|
303
|
+
}, {
|
304
|
+
default: k(() => [
|
305
|
+
e.value ? (i(), m(E, { key: 0 }, H(3, (l) => g(ve, { key: l })), 64)) : h("", !0)
|
306
|
+
]),
|
307
|
+
_: 1
|
308
|
+
}),
|
309
|
+
g(J, { name: "fade" }, {
|
310
|
+
default: k(() => [
|
311
|
+
!e.value && !s.value ? (i(), I(he, {
|
312
|
+
key: 0,
|
313
|
+
title: "No Blogpost Found",
|
314
|
+
description: "Currently, there are no blogposts available. Please check back later.",
|
315
|
+
class: "pd-medium mn-thin bg-grey radius-big"
|
316
|
+
})) : h("", !0)
|
317
|
+
]),
|
318
|
+
_: 1
|
319
|
+
}),
|
320
|
+
g(A, {
|
321
|
+
tag: "ul",
|
322
|
+
name: "fade",
|
323
|
+
class: "container"
|
324
|
+
}, {
|
325
|
+
default: k(() => [
|
326
|
+
!e.value && s.value ? (i(), I(le, {
|
327
|
+
key: 0,
|
328
|
+
onClick: f[0] || (f[0] = (l) => t.$router.push({ name: "Blogpost", params: { url: s.value.url } })),
|
329
|
+
blogpost: s.value,
|
330
|
+
user: w.user._id,
|
331
|
+
type: "blogpostPage",
|
332
|
+
class: B(["mn-medium", {
|
333
|
+
"br-b br-solid br-black-transp-10": t.index !== s.value.length - 1
|
334
|
+
}])
|
335
|
+
}, {
|
336
|
+
default: k(() => [
|
337
|
+
a("section", null, [
|
338
|
+
s.value && s.value.content ? (i(!0), m(E, { key: 0 }, H(s.value.content, (l, v) => (i(), I(G(o[l.type]), Y({
|
339
|
+
key: v,
|
340
|
+
index: v,
|
341
|
+
component: l,
|
342
|
+
prop: l,
|
343
|
+
class: l.class,
|
344
|
+
content: "content"
|
345
|
+
}, d(l), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : h("", !0)
|
346
|
+
])
|
347
|
+
]),
|
348
|
+
_: 1
|
349
|
+
}, 8, ["blogpost", "user", "class"])) : h("", !0),
|
350
|
+
g(be, { class: "mn-small" }),
|
351
|
+
!e.value && s.value ? (i(), I(ue, {
|
352
|
+
key: 1,
|
353
|
+
type: "blogpost",
|
354
|
+
target: s.value._id,
|
355
|
+
owner: w.user._id
|
356
|
+
}, null, 8, ["target", "owner"])) : h("", !0)
|
357
|
+
]),
|
358
|
+
_: 1
|
359
|
+
})
|
360
|
+
]));
|
361
|
+
}
|
362
|
+
}, He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
363
|
+
__proto__: null,
|
364
|
+
default: Ee
|
365
|
+
}, Symbol.toStringTag, { value: "Module" })), Ve = {
|
366
|
+
__name: "Blog",
|
367
|
+
setup(p) {
|
368
|
+
const n = O(), s = N();
|
369
|
+
return n.params.category || (n.params.category = "featured"), F(() => {
|
370
|
+
if (n.query) {
|
371
|
+
const e = n.query, o = {
|
372
|
+
tags: e.tags ? e.tags.split(",") : [],
|
373
|
+
period: e.period ? e.period : "week"
|
374
|
+
};
|
375
|
+
M.filter = o;
|
376
|
+
}
|
377
|
+
}), Z(() => M.filter, (e, o) => {
|
378
|
+
const d = { ...n.query };
|
379
|
+
Object.keys(o).forEach((f) => {
|
380
|
+
d[f] && delete d[f];
|
381
|
+
});
|
382
|
+
const t = Object.fromEntries(
|
383
|
+
Object.entries(e).filter(([f, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([f, l]) => [f, Array.isArray(l) ? l.join(",") : l])
|
384
|
+
);
|
385
|
+
Object.assign(d, t), s.replace({ query: d });
|
386
|
+
}, { deep: !0 }), (e, o) => (i(), m("section", null, [
|
387
|
+
g(K, {
|
388
|
+
category: u(n).params.category,
|
389
|
+
user: w.user._id,
|
390
|
+
period: u(n).query.period,
|
391
|
+
following: u(n).params.category === "following" ? w.user._id : null
|
392
|
+
}, null, 8, ["category", "user", "period", "following"])
|
393
|
+
]));
|
394
|
+
}
|
395
|
+
}, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
396
|
+
__proto__: null,
|
397
|
+
default: Ve
|
398
|
+
}, Symbol.toStringTag, { value: "Module" })), Re = { class: "w-100 cols-4 t-left flex-nowrap flex" }, Je = {
|
399
|
+
key: 0,
|
400
|
+
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
401
|
+
}, Ge = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), Qe = { class: "t-semi uppercase" }, We = /* @__PURE__ */ a("br", null, null, -1), Ke = {
|
402
|
+
key: 1,
|
403
|
+
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
404
|
+
}, Xe = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "💬", -1), Ye = { class: "t-semi uppercase" }, Ze = /* @__PURE__ */ a("br", null, null, -1), et = {
|
405
|
+
key: 2,
|
406
|
+
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
407
|
+
}, tt = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), st = { class: "t-semi uppercase" }, ot = /* @__PURE__ */ a("br", null, null, -1), ns = {
|
408
|
+
__name: "Activity",
|
409
|
+
props: {
|
410
|
+
likes: Number,
|
411
|
+
comments: Number,
|
412
|
+
subscriptions: Number
|
413
|
+
},
|
414
|
+
setup(p) {
|
415
|
+
return (n, s) => (i(), m("section", Re, [
|
416
|
+
p.likes ? (i(), m("div", Je, [
|
417
|
+
Ge,
|
418
|
+
a("span", Qe, [
|
419
|
+
T(z(p.likes), 1),
|
420
|
+
We,
|
421
|
+
T("likes")
|
422
|
+
])
|
423
|
+
])) : h("", !0),
|
424
|
+
p.comments ? (i(), m("div", Ke, [
|
425
|
+
Xe,
|
426
|
+
a("span", Ye, [
|
427
|
+
T(z(p.comments), 1),
|
428
|
+
Ze,
|
429
|
+
T("comments")
|
430
|
+
])
|
431
|
+
])) : h("", !0),
|
432
|
+
p.subscriptions ? (i(), m("div", et, [
|
433
|
+
tt,
|
434
|
+
a("span", st, [
|
435
|
+
T(z(p.subscriptions), 1),
|
436
|
+
ot,
|
437
|
+
T("subscriptions")
|
438
|
+
])
|
439
|
+
])) : h("", !0)
|
440
|
+
]));
|
441
|
+
}
|
442
|
+
}, at = { class: "pd-thin radius-extra flex-nowrap flex" }, nt = ["innerHTML"], lt = {
|
443
|
+
__name: "FieldBig",
|
444
|
+
props: {
|
445
|
+
input: String,
|
446
|
+
placeholder: {
|
447
|
+
type: String
|
448
|
+
},
|
449
|
+
action: {
|
450
|
+
type: String,
|
451
|
+
default: "Action"
|
452
|
+
},
|
453
|
+
placeholderTexts: {
|
454
|
+
type: Object,
|
455
|
+
default: () => ({
|
456
|
+
en: ["First placeholder", "Second placeholder", "Third placeholder"],
|
457
|
+
ru: ["Первый плейсхолдер", "Второй плейсхолдер", "Третий плейсхолдер"]
|
458
|
+
})
|
459
|
+
},
|
460
|
+
typingSpeed: {
|
461
|
+
type: Number,
|
462
|
+
default: 200
|
463
|
+
},
|
464
|
+
loopTyping: {
|
465
|
+
type: Boolean,
|
466
|
+
default: !1
|
467
|
+
},
|
468
|
+
enableTyping: {
|
469
|
+
type: Boolean,
|
470
|
+
default: !1
|
471
|
+
}
|
472
|
+
},
|
473
|
+
emits: ["update:input", "action"],
|
474
|
+
setup(p, { emit: n }) {
|
475
|
+
const s = p, { t: e, locale: o } = ye();
|
476
|
+
let d = _(0), t = _(s.input), f = _(s.placeholder), l = _(s.enableTyping), v = _(null), P = _(""), $ = _(!0), S = null;
|
477
|
+
function j() {
|
478
|
+
n("action");
|
479
|
+
}
|
480
|
+
function D(x) {
|
481
|
+
n("update:input", x), P.value = x;
|
482
|
+
}
|
483
|
+
function r() {
|
484
|
+
d.value = (d.value + 1) % s.placeholderTexts[o.value].length;
|
485
|
+
}
|
486
|
+
function c() {
|
487
|
+
l.value = !1, clearInterval(v.value), f.value = s.placeholder, P.value || (t.value = "");
|
488
|
+
}
|
489
|
+
function b() {
|
490
|
+
!P.value && s.enableTyping && (l.value = !0, f.value = "", U());
|
491
|
+
}
|
492
|
+
function U() {
|
493
|
+
let x = s.placeholderTexts[o.value][d.value], y = 0, C = !1;
|
494
|
+
S = setInterval(() => {
|
495
|
+
$.value = !$.value;
|
496
|
+
}, 200), v.value = setInterval(() => {
|
497
|
+
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(() => {
|
498
|
+
C = !0, t.value = x.substring(0, y);
|
499
|
+
}, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[o.value][d.value]));
|
500
|
+
}, s.typingSpeed);
|
501
|
+
}
|
502
|
+
return F(() => {
|
503
|
+
s.enableTyping && U();
|
504
|
+
}), ee(() => {
|
505
|
+
l.value || (clearInterval(v.value), clearInterval(S));
|
506
|
+
}), (x, y) => (i(), m("div", at, [
|
507
|
+
g(we, {
|
508
|
+
field: u(t),
|
509
|
+
"onUpdate:field": [
|
510
|
+
y[0] || (y[0] = (C) => Q(t) ? t.value = C : t = C),
|
511
|
+
D
|
512
|
+
],
|
513
|
+
placeholder: u(f),
|
514
|
+
onInput: r,
|
515
|
+
onFocus: c,
|
516
|
+
onBlur: b,
|
517
|
+
class: "w-100 pd-small p-big"
|
518
|
+
}, null, 8, ["field", "placeholder"]),
|
519
|
+
p.action ? (i(), m("button", {
|
520
|
+
key: 0,
|
521
|
+
onClick: j,
|
522
|
+
class: "w-min hover_bg-white hover-t-black t-black bg-main button",
|
523
|
+
innerHTML: p.action
|
524
|
+
}, null, 8, nt)) : h("", !0)
|
525
|
+
]));
|
526
|
+
}
|
527
|
+
};
|
528
|
+
const rt = { class: "pd-thin" }, it = { class: "o-hidden t-black bg-main pd-big radius-big" }, ut = /* @__PURE__ */ a("header", { class: "t-center z-index-1 mn-big" }, [
|
529
|
+
/* @__PURE__ */ a("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-medium" }, "Stay Updated with The Latest in Cannabis."),
|
530
|
+
/* @__PURE__ */ a("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
|
531
|
+
], -1), ct = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, pt = /* @__PURE__ */ a("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
|
532
|
+
/* @__PURE__ */ a("div", { class: "spiral" })
|
533
|
+
], -1), ls = {
|
534
|
+
__name: "SubscribeNewsletter",
|
535
|
+
setup(p) {
|
536
|
+
let n = _("");
|
537
|
+
return (s, e) => (i(), m("section", rt, [
|
538
|
+
a("div", it, [
|
539
|
+
ut,
|
540
|
+
a("div", ct, [
|
541
|
+
g(lt, {
|
542
|
+
input: u(n),
|
543
|
+
typingSpeed: 75,
|
544
|
+
loopTyping: !1,
|
545
|
+
enableTyping: !1,
|
546
|
+
placeholder: "Please enter your email",
|
547
|
+
action: "Subscribe",
|
548
|
+
"onUpdate:input": e[0] || (e[0] = (o) => Q(n) ? n.value = o : n = o),
|
549
|
+
onAction: e[1] || (e[1] = (o) => s.router.push({ name: "Product Recommmendation", query: { mood: s.mood } })),
|
550
|
+
class: "mn-l-auto mn-r-auto bg-white t-black w-50"
|
551
|
+
}, null, 8, ["input"])
|
552
|
+
]),
|
553
|
+
pt
|
554
|
+
])
|
555
|
+
]));
|
556
|
+
}
|
557
|
+
};
|
558
|
+
const mt = { class: "container container-joinus" }, dt = { class: "content" }, gt = { class: "h0 mn-big" }, _t = /* @__PURE__ */ a("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), ft = /* @__PURE__ */ a("button", { class: "bg-black t-white button" }, "Join Now", -1), rs = {
|
559
|
+
__name: "JoinUs",
|
560
|
+
setup(p) {
|
561
|
+
const n = _(120950), s = _([
|
562
|
+
"/assets/images/reviews/01.png",
|
563
|
+
"/assets/images/reviews/02.png",
|
564
|
+
"/assets/images/reviews/03.png",
|
565
|
+
"/assets/images/reviews/04.png",
|
566
|
+
"/assets/images/reviews/05.png",
|
567
|
+
"/assets/images/reviews/06.png"
|
568
|
+
]), e = () => {
|
569
|
+
setInterval(() => {
|
570
|
+
n.value += Math.floor(Math.random() * 5) + 1;
|
571
|
+
}, 330);
|
572
|
+
}, o = {
|
573
|
+
minSize: "6rem",
|
574
|
+
maxSize: "10rem",
|
575
|
+
minDuration: 5,
|
576
|
+
maxDuration: 15,
|
577
|
+
spawnPoints: [10, 90]
|
578
|
+
};
|
579
|
+
F(() => {
|
580
|
+
d(), e();
|
581
|
+
});
|
582
|
+
const d = () => {
|
583
|
+
s.value.forEach((t, f) => {
|
584
|
+
let l = document.createElement("img");
|
585
|
+
l.src = t, l.classList.add("floating-image");
|
586
|
+
let v = o.spawnPoints[Math.floor(Math.random() * o.spawnPoints.length)], P = (Math.random() - 0.5) * 2 * 10;
|
587
|
+
l.style.left = `${v + P}%`, l.style.animationDuration = `${Math.random() * (o.maxDuration - o.minDuration) + o.minDuration}s`, document.querySelector(".container").appendChild(l), l.addEventListener("animationiteration", () => {
|
588
|
+
const $ = o.spawnPoints[Math.floor(Math.random() * o.spawnPoints.length)], S = (Math.random() - 0.5) * 2 * 10;
|
589
|
+
l.style.left = `${$ + S}%`;
|
590
|
+
});
|
591
|
+
});
|
592
|
+
};
|
593
|
+
return (t, f) => (i(), m("div", mt, [
|
594
|
+
a("div", dt, [
|
595
|
+
a("span", gt, z(n.value.toLocaleString()), 1),
|
596
|
+
_t,
|
597
|
+
ft
|
598
|
+
])
|
599
|
+
]));
|
600
|
+
}
|
601
|
+
};
|
602
|
+
const ht = (p) => (te("data-v-2591cab6"), p = p(), se(), p), vt = { class: "community-feed" }, bt = /* @__PURE__ */ ht(() => /* @__PURE__ */ a("h2", { class: "w-m-75r mn-auto pd-t-big pd-b-big t-center" }, "Discover the Vibrant Community", -1)), yt = {
|
603
|
+
__name: "HotPosts",
|
604
|
+
setup(p) {
|
605
|
+
return (n, s) => (i(), m("section", vt, [
|
606
|
+
bt,
|
607
|
+
g(K, {
|
608
|
+
skip: 0,
|
609
|
+
limit: 3,
|
610
|
+
user: w.user._id,
|
611
|
+
period: "year",
|
612
|
+
class: "cols-2 gap-thin"
|
613
|
+
}, null, 8, ["user"])
|
614
|
+
]));
|
615
|
+
}
|
616
|
+
}, is = /* @__PURE__ */ xe(yt, [["__scopeId", "data-v-2591cab6"]]), us = [
|
617
|
+
{
|
618
|
+
path: "community",
|
619
|
+
component: Be,
|
620
|
+
meta: {
|
621
|
+
title: {
|
622
|
+
en: "Community",
|
623
|
+
ru: "Коммьюнити"
|
624
|
+
},
|
625
|
+
title_hide: !0
|
626
|
+
},
|
627
|
+
children: [{
|
628
|
+
path: ":category?",
|
629
|
+
name: "Blog",
|
630
|
+
meta: {
|
631
|
+
title: {
|
632
|
+
en: "Community",
|
633
|
+
ru: "Коммьюнити"
|
634
|
+
},
|
635
|
+
title_hide: !0
|
636
|
+
},
|
637
|
+
component: () => Promise.resolve().then(() => qe)
|
638
|
+
}]
|
639
|
+
},
|
640
|
+
{
|
641
|
+
path: "community/posts/create",
|
642
|
+
name: "Create BlogPost",
|
643
|
+
meta: {
|
644
|
+
title: {
|
645
|
+
en: "Create Post",
|
646
|
+
ru: "Создать Пост"
|
647
|
+
},
|
648
|
+
authorize: []
|
649
|
+
},
|
650
|
+
component: () => Promise.resolve().then(() => R)
|
651
|
+
},
|
652
|
+
{
|
653
|
+
path: "community/posts/:url",
|
654
|
+
name: "BlogPost",
|
655
|
+
meta: {
|
656
|
+
title: {
|
657
|
+
en: "Post",
|
658
|
+
ru: "Пост"
|
659
|
+
}
|
660
|
+
},
|
661
|
+
component: () => Promise.resolve().then(() => He)
|
662
|
+
},
|
663
|
+
{
|
664
|
+
path: "community/posts/:url/edit",
|
665
|
+
name: "Edit BlogPost",
|
666
|
+
meta: {
|
667
|
+
title: {
|
668
|
+
en: "Edit Post",
|
669
|
+
ru: "Редактировать пост"
|
670
|
+
},
|
671
|
+
authorize: []
|
672
|
+
},
|
673
|
+
component: () => Promise.resolve().then(() => R)
|
674
|
+
}
|
675
|
+
];
|
676
|
+
export {
|
677
|
+
ns as Activity,
|
678
|
+
Ve as Blog,
|
679
|
+
Ee as BlogPost,
|
680
|
+
le as CardBlogpost,
|
681
|
+
ue as Comments,
|
682
|
+
Be as Community,
|
683
|
+
Le as CreateBlogPost,
|
684
|
+
K as Feed,
|
685
|
+
ms as FooterBlogpost,
|
686
|
+
is as HotPosts,
|
687
|
+
rs as JoinUs,
|
688
|
+
ls as SubscribeNewsletter,
|
689
|
+
us as blogpostsRoutes,
|
690
|
+
ds as blogpostsStore,
|
691
|
+
_s as reactionsStore
|
692
|
+
};
|