@ozdao/prometheus-framework 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Chips-493042f7.js +1 -0
- package/dist/Chips-9cf6c0da.mjs +286 -0
- package/dist/Feed-27f62b1c.mjs +368 -0
- package/dist/Feed-7c8c901a.mjs +380 -0
- package/dist/Feed-aee74095.js +1 -0
- package/dist/Feed-bfd7d1d9.js +1 -0
- package/dist/Image-1f7252c0.mjs +477 -0
- package/dist/Image-448f9228.js +9 -0
- package/dist/Product-3c9c8197.js +7 -0
- package/dist/Product-748ec8b7.mjs +842 -0
- package/dist/Product-852f952c.js +7 -0
- package/dist/Product-bbdc8460.mjs +841 -0
- package/dist/ProductEdit-17f4e395.mjs +304 -0
- package/dist/ProductEdit-4af06681.js +1 -0
- package/dist/ProductEdit-4f9b6d56.js +1 -0
- package/dist/ProductEdit-a1050ab6.mjs +303 -0
- package/dist/ProfileBlogposts-03d04b92.mjs +66 -0
- package/dist/ProfileBlogposts-f9312adf.js +1 -0
- package/dist/ProfileComments-6d863cd3.mjs +45 -0
- package/dist/ProfileComments-e6970923.js +1 -0
- package/dist/ProfileEvents-917169c6.mjs +58 -0
- package/dist/ProfileEvents-996bce18.js +1 -0
- package/dist/ProfileLikes-0402d1fb.js +1 -0
- package/dist/ProfileLikes-92196922.mjs +45 -0
- package/dist/auth.client.cjs +8 -8
- package/dist/auth.client.js +581 -602
- package/dist/auth.validation-2cdd2231.mjs +17 -0
- package/dist/auth.validation-30bb0efd.js +1 -0
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +65 -65
- package/dist/components/CardFooter/CardFooter.vue.d.ts +1 -1
- package/dist/components/CardHeader/CardHeader.vue.d.ts +1 -1
- package/dist/events.client.cjs +2 -2
- package/dist/events.client.js +6 -6
- package/dist/legal.client.cjs +1 -1
- package/dist/legal.client.js +2668 -2605
- package/dist/modules/community/components/blocks/FooterBlogpost.vue.d.ts +1 -1
- package/dist/modules/community/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/events/components/blocks/CardEvent.vue.d.ts +3 -3
- package/dist/modules/events/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/events/components/sections/List.vue.d.ts +1 -1
- package/dist/modules/organizations/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/organizations/components/sections/Organizations.vue.d.ts +1 -1
- package/dist/organizations.client-13fc2cbe.js +3 -0
- package/dist/organizations.client-39196bef.mjs +3041 -0
- package/dist/organizations.client-85a2ae66.js +3 -0
- package/dist/organizations.client-91e84d4f.mjs +3022 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +43 -42
- package/dist/states.validation-766a62a6.mjs +13 -0
- package/dist/states.validation-92231934.js +1 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +199 -194
- package/package.json +1 -1
- package/src/components/CardFooter/CardFooter.vue +27 -30
- package/src/components/CardHeader/CardHeader.vue +56 -3
- package/src/modules/auth/components/pages/SignIn.vue +2 -2
- package/src/modules/community/components/layouts/Community.vue +5 -5
- package/src/modules/events/components/blocks/CardEvent.vue +3 -2
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/events/router/events.js +1 -0
- package/src/modules/legal/components/pages/Legal.vue +33 -17
- package/src/modules/legal/legal.client.js +2 -0
- package/src/modules/legal/router/legal.js +51 -21
- package/src/modules/organizations/router/organizations.js +19 -0
- package/src/modules/users/router/users.js +36 -31
@@ -0,0 +1,66 @@
|
|
1
|
+
import { ref as f, watch as g, openBlock as t, createElementBlock as p, createElementVNode as d, unref as u, createCommentVNode as s, createBlock as l } from "vue";
|
2
|
+
import { useRoute as v, useRouter as y } from "vue-router";
|
3
|
+
import { _ as b } from "./Tab-a243605d.mjs";
|
4
|
+
import { _ as n } from "./Feed-7c8c901a.mjs";
|
5
|
+
import { s as o } from "./auth-b047fdc0.mjs";
|
6
|
+
import "./inputs.validation-14e8e01f.mjs";
|
7
|
+
import "./globals-96ba60e4.mjs";
|
8
|
+
import "vue-i18n";
|
9
|
+
import "./EmptyState-34d85f10.mjs";
|
10
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
11
|
+
import "./Chips-9cf6c0da.mjs";
|
12
|
+
import "./IconEdit-eacf3856.mjs";
|
13
|
+
import "./Button-d8e72ac0.mjs";
|
14
|
+
import "./index-0ab9d59c.mjs";
|
15
|
+
const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ d("h2", { class: "mn-r-medium" }, "Posts", -1), U = {
|
16
|
+
__name: "ProfileBlogposts",
|
17
|
+
setup(q) {
|
18
|
+
const e = v(), c = y();
|
19
|
+
let _ = e.query.tab ? e.query.tab : "posts";
|
20
|
+
const r = f(_);
|
21
|
+
return e.query.tab = r.value, g(r, (i) => {
|
22
|
+
c.replace({ query: { ...e.query, tab: i } });
|
23
|
+
}), (i, a) => (t(), p("div", h, [
|
24
|
+
d("header", k, [
|
25
|
+
w,
|
26
|
+
o.user._id === u(e).params._id ? (t(), p("button", {
|
27
|
+
key: 0,
|
28
|
+
onClick: a[0] || (a[0] = (m) => i.$router.push({
|
29
|
+
name: "Create BlogPost"
|
30
|
+
})),
|
31
|
+
class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
|
32
|
+
}, " + ")) : s("", !0)
|
33
|
+
]),
|
34
|
+
o.user._id === u(e).params._id ? (t(), l(b, {
|
35
|
+
key: 0,
|
36
|
+
selected: r.value,
|
37
|
+
"onUpdate:selected": a[1] || (a[1] = (m) => r.value = m),
|
38
|
+
tabs: [
|
39
|
+
{ name: "My posts", value: "posts" },
|
40
|
+
{ name: "Drafts", value: "drafts" },
|
41
|
+
{ name: "Following", value: "following" }
|
42
|
+
],
|
43
|
+
class: "mn-small o-hidden h5 radius-big bg-grey"
|
44
|
+
}, null, 8, ["selected"])) : s("", !0),
|
45
|
+
r.value === "posts" ? (t(), l(n, {
|
46
|
+
key: 1,
|
47
|
+
user: o.user._id,
|
48
|
+
creator: u(e).params._id
|
49
|
+
}, null, 8, ["user", "creator"])) : s("", !0),
|
50
|
+
r.value === "drafts" ? (t(), l(n, {
|
51
|
+
key: 2,
|
52
|
+
user: o.user._id,
|
53
|
+
creator: u(e).params._id,
|
54
|
+
status: "draft"
|
55
|
+
}, null, 8, ["user", "creator"])) : s("", !0),
|
56
|
+
r.value === "following" ? (t(), l(n, {
|
57
|
+
key: 3,
|
58
|
+
user: o.user._id,
|
59
|
+
category: "following"
|
60
|
+
}, null, 8, ["user"])) : s("", !0)
|
61
|
+
]));
|
62
|
+
}
|
63
|
+
};
|
64
|
+
export {
|
65
|
+
U as default
|
66
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("vue-router"),d=require("./Tab-6f0a4909.js"),u=require("./Feed-aee74095.js"),o=require("./auth-2f9b2dfc.js");require("./inputs.validation-24ae76b9.js");require("./globals-928eb13c.js");require("vue-i18n");require("./EmptyState-7658d7d6.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Chips-493042f7.js");require("./IconEdit-4cfe2115.js");require("./Button-ee08e6bf.js");require("./index-7ecbf72a.js");const m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},_=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),f={__name:"ProfileBlogposts",setup(q){const r=l.useRoute(),c=l.useRouter();let i=r.query.tab?r.query.tab:"posts";const t=e.ref(i);return r.query.tab=t.value,e.watch(t,a=>{c.replace({query:{...r.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[_,o.state.user._id===e.unref(r).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=n=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(r).params._id?(e.openBlock(),e.createBlock(d._sfc_main,{key:0,selected:t.value,"onUpdate:selected":s[1]||(s[1]=n=>t.value=n),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),t.value==="posts"?(e.openBlock(),e.createBlock(u._sfc_main,{key:1,user:o.state.user._id,creator:e.unref(r).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),t.value==="drafts"?(e.openBlock(),e.createBlock(u._sfc_main,{key:2,user:o.state.user._id,creator:e.unref(r).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),t.value==="following"?(e.openBlock(),e.createBlock(u._sfc_main,{key:3,user:o.state.user._id,category:"following"},null,8,["user"])):e.createCommentVNode("",!0)]))}};exports.default=f;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ref as l, watch as p, openBlock as s, createElementBlock as c, createVNode as d, createBlock as _, unref as a, createCommentVNode as f, createElementVNode as m } from "vue";
|
2
|
+
import { useRoute as b, useRouter as h } from "vue-router";
|
3
|
+
import { _ as v } from "./Tab-a243605d.mjs";
|
4
|
+
import { _ as y } from "./Feed-7c8c901a.mjs";
|
5
|
+
import "./inputs.validation-14e8e01f.mjs";
|
6
|
+
import "./globals-96ba60e4.mjs";
|
7
|
+
import "vue-i18n";
|
8
|
+
import "./EmptyState-34d85f10.mjs";
|
9
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
10
|
+
import "./Chips-9cf6c0da.mjs";
|
11
|
+
import "./IconEdit-eacf3856.mjs";
|
12
|
+
import "./Button-d8e72ac0.mjs";
|
13
|
+
import "./index-0ab9d59c.mjs";
|
14
|
+
const g = { class: "pd-thin" }, q = /* @__PURE__ */ m("header", { class: "mn-medium flex-v-center flex-nowrap flex" }, [
|
15
|
+
/* @__PURE__ */ m("h2", { class: "mn-r-medium" }, "Comments")
|
16
|
+
], -1), P = {
|
17
|
+
__name: "ProfileComments",
|
18
|
+
setup(w) {
|
19
|
+
const e = b(), n = h();
|
20
|
+
let i = e.query.tab ? e.query.tab : "posts";
|
21
|
+
const t = l(i);
|
22
|
+
return e.query.tab = t.value, p(t, (r) => {
|
23
|
+
n.replace({ query: { ...e.query, tab: r } });
|
24
|
+
}), (r, o) => (s(), c("div", g, [
|
25
|
+
q,
|
26
|
+
d(v, {
|
27
|
+
selected: t.value,
|
28
|
+
"onUpdate:selected": o[0] || (o[0] = (u) => t.value = u),
|
29
|
+
tabs: [
|
30
|
+
{ name: "My posts", value: "posts" },
|
31
|
+
{ name: "Following", value: "hubs" }
|
32
|
+
],
|
33
|
+
class: "mn-r-medium o-hidden h5 radius-big bg-grey"
|
34
|
+
}, null, 8, ["selected"]),
|
35
|
+
t.value === "posts" ? (s(), _(y, {
|
36
|
+
key: 0,
|
37
|
+
user: a(e).params._id,
|
38
|
+
owner: a(e).params._id
|
39
|
+
}, null, 8, ["user", "owner"])) : f("", !0)
|
40
|
+
]));
|
41
|
+
}
|
42
|
+
};
|
43
|
+
export {
|
44
|
+
P as default
|
45
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("vue-router"),i=require("./Tab-6f0a4909.js"),c=require("./Feed-aee74095.js");require("./inputs.validation-24ae76b9.js");require("./globals-928eb13c.js");require("vue-i18n");require("./EmptyState-7658d7d6.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Chips-493042f7.js");require("./IconEdit-4cfe2115.js");require("./Button-ee08e6bf.js");require("./index-7ecbf72a.js");const m={class:"pd-thin"},d=e.createElementVNode("header",{class:"mn-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Comments")],-1),q={__name:"ProfileComments",setup(p){const r=o.useRoute(),n=o.useRouter();let a=r.query.tab?r.query.tab:"posts";const t=e.ref(a);return r.query.tab=t.value,e.watch(t,u=>{n.replace({query:{...r.query,tab:u}})}),(u,s)=>(e.openBlock(),e.createElementBlock("div",m,[d,e.createVNode(i._sfc_main,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=l=>t.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Following",value:"hubs"}],class:"mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),t.value==="posts"?(e.openBlock(),e.createBlock(c._sfc_main,{key:0,user:e.unref(r).params._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]))}};exports.default=q;
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { ref as f, watch as v, openBlock as a, createElementBlock as p, createElementVNode as d, unref as o, createCommentVNode as s, createVNode as b, createBlock as c } from "vue";
|
2
|
+
import { useRoute as y, useRouter as h } from "vue-router";
|
3
|
+
import { _ as k } from "./Tab-a243605d.mjs";
|
4
|
+
import { _ as l } from "./Feed-27f62b1c.mjs";
|
5
|
+
import { s as i } from "./auth-b047fdc0.mjs";
|
6
|
+
import "./inputs.validation-14e8e01f.mjs";
|
7
|
+
import "./globals-96ba60e4.mjs";
|
8
|
+
import "vue-i18n";
|
9
|
+
import "./EmptyState-34d85f10.mjs";
|
10
|
+
import "./Chips-9cf6c0da.mjs";
|
11
|
+
import "./IconEdit-eacf3856.mjs";
|
12
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
13
|
+
import "./Button-d8e72ac0.mjs";
|
14
|
+
import "./index-0ab9d59c.mjs";
|
15
|
+
const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ d("h2", { class: "mn-r-medium" }, " Events ", -1), D = {
|
16
|
+
__name: "ProfileEvents",
|
17
|
+
setup(x) {
|
18
|
+
const e = y(), n = h();
|
19
|
+
let _ = e.query.tab ? e.query.tab : "owner";
|
20
|
+
const r = f(_);
|
21
|
+
return e.query.tab = r.value, v(r, (u) => {
|
22
|
+
n.replace({ query: { ...e.query, tab: u } });
|
23
|
+
}), (u, t) => (a(), p("div", g, [
|
24
|
+
d("header", w, [
|
25
|
+
q,
|
26
|
+
i.user._id === o(e).params._id ? (a(), p("button", {
|
27
|
+
key: 0,
|
28
|
+
onClick: t[0] || (t[0] = (m) => o(n).push({ name: "Create Event" })),
|
29
|
+
class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
|
30
|
+
}, " + ")) : s("", !0)
|
31
|
+
]),
|
32
|
+
b(k, {
|
33
|
+
selected: r.value,
|
34
|
+
"onUpdate:selected": t[1] || (t[1] = (m) => r.value = m),
|
35
|
+
tabs: [
|
36
|
+
{ name: "My", value: "owner" },
|
37
|
+
{ name: "Participant", value: "participant" }
|
38
|
+
],
|
39
|
+
class: "mn-small o-hidden h5 radius-big bg-grey"
|
40
|
+
}, null, 8, ["selected"]),
|
41
|
+
r.value === "owner" ? (a(), c(l, {
|
42
|
+
key: 0,
|
43
|
+
user: i.user._id,
|
44
|
+
creator: o(e).params._id,
|
45
|
+
sortOrder: "asc"
|
46
|
+
}, null, 8, ["user", "creator"])) : s("", !0),
|
47
|
+
r.value === "participant" ? (a(), c(l, {
|
48
|
+
key: 1,
|
49
|
+
user: i.user._id,
|
50
|
+
participant: o(e).params._id,
|
51
|
+
sortOrder: "desc"
|
52
|
+
}, null, 8, ["user", "participant"])) : s("", !0)
|
53
|
+
]));
|
54
|
+
}
|
55
|
+
};
|
56
|
+
export {
|
57
|
+
D as default
|
58
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("vue-router"),d=require("./Tab-6f0a4909.js"),c=require("./Feed-bfd7d1d9.js"),n=require("./auth-2f9b2dfc.js");require("./inputs.validation-24ae76b9.js");require("./globals-928eb13c.js");require("vue-i18n");require("./EmptyState-7658d7d6.js");require("./Chips-493042f7.js");require("./IconEdit-4cfe2115.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Button-ee08e6bf.js");require("./index-7ecbf72a.js");const m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},_=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),q={__name:"ProfileEvents",setup(v){const r=i.useRoute(),u=i.useRouter();let l=r.query.tab?r.query.tab:"owner";const t=e.ref(l);return r.query.tab=t.value,e.watch(t,s=>{u.replace({query:{...r.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[_,n.state.user._id===e.unref(r).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=o=>e.unref(u).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d._sfc_main,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=o=>t.value=o),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),t.value==="owner"?(e.openBlock(),e.createBlock(c._sfc_main,{key:0,user:n.state.user._id,creator:e.unref(r).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),t.value==="participant"?(e.openBlock(),e.createBlock(c._sfc_main,{key:1,user:n.state.user._id,participant:e.unref(r).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=q;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("vue-router"),l=require("./Tab-6f0a4909.js"),c=require("./Feed-aee74095.js");require("./inputs.validation-24ae76b9.js");require("./globals-928eb13c.js");require("vue-i18n");require("./EmptyState-7658d7d6.js");require("./_plugin-vue_export-helper-f246444f.js");require("./Chips-493042f7.js");require("./IconEdit-4cfe2115.js");require("./Button-ee08e6bf.js");require("./index-7ecbf72a.js");const d={class:"pd-thin"},m=e.createElementVNode("header",{class:"mn-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Likes")],-1),q={__name:"ProfileLikes",setup(p){const r=o.useRoute(),a=o.useRouter();let n=r.query.tab?r.query.tab:"posts";const t=e.ref(n);return r.query.tab=t.value,e.watch(t,u=>{a.replace({query:{...r.query,tab:u}})}),(u,s)=>(e.openBlock(),e.createElementBlock("div",d,[m,e.createVNode(l._sfc_main,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=i=>t.value=i),tabs:[{name:"My posts",value:"posts"},{name:"Following",value:"hubs"}],class:"mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),t.value==="posts"?(e.openBlock(),e.createBlock(c._sfc_main,{key:0,user:e.unref(r).params._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]))}};exports.default=q;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { ref as l, watch as p, openBlock as s, createElementBlock as c, createVNode as d, createBlock as _, unref as a, createCommentVNode as f, createElementVNode as m } from "vue";
|
2
|
+
import { useRoute as b, useRouter as h } from "vue-router";
|
3
|
+
import { _ as v } from "./Tab-a243605d.mjs";
|
4
|
+
import { _ as y } from "./Feed-7c8c901a.mjs";
|
5
|
+
import "./inputs.validation-14e8e01f.mjs";
|
6
|
+
import "./globals-96ba60e4.mjs";
|
7
|
+
import "vue-i18n";
|
8
|
+
import "./EmptyState-34d85f10.mjs";
|
9
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
10
|
+
import "./Chips-9cf6c0da.mjs";
|
11
|
+
import "./IconEdit-eacf3856.mjs";
|
12
|
+
import "./Button-d8e72ac0.mjs";
|
13
|
+
import "./index-0ab9d59c.mjs";
|
14
|
+
const k = { class: "pd-thin" }, g = /* @__PURE__ */ m("header", { class: "mn-medium flex-v-center flex-nowrap flex" }, [
|
15
|
+
/* @__PURE__ */ m("h2", { class: "mn-r-medium" }, "Likes")
|
16
|
+
], -1), O = {
|
17
|
+
__name: "ProfileLikes",
|
18
|
+
setup(q) {
|
19
|
+
const e = b(), i = h();
|
20
|
+
let n = e.query.tab ? e.query.tab : "posts";
|
21
|
+
const t = l(n);
|
22
|
+
return e.query.tab = t.value, p(t, (r) => {
|
23
|
+
i.replace({ query: { ...e.query, tab: r } });
|
24
|
+
}), (r, o) => (s(), c("div", k, [
|
25
|
+
g,
|
26
|
+
d(v, {
|
27
|
+
selected: t.value,
|
28
|
+
"onUpdate:selected": o[0] || (o[0] = (u) => t.value = u),
|
29
|
+
tabs: [
|
30
|
+
{ name: "My posts", value: "posts" },
|
31
|
+
{ name: "Following", value: "hubs" }
|
32
|
+
],
|
33
|
+
class: "mn-r-medium o-hidden h5 radius-big bg-grey"
|
34
|
+
}, null, 8, ["selected"]),
|
35
|
+
t.value === "posts" ? (s(), _(y, {
|
36
|
+
key: 0,
|
37
|
+
user: a(e).params._id,
|
38
|
+
owner: a(e).params._id
|
39
|
+
}, null, 8, ["user", "owner"])) : f("", !0)
|
40
|
+
]));
|
41
|
+
}
|
42
|
+
};
|
43
|
+
export {
|
44
|
+
O as default
|
45
|
+
};
|