@ozdao/prometheus-framework 0.1.53 → 0.1.55
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
- package/dist/main.css +1 -1
- package/dist/modules/constructor/components/elements/Audio.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/Embed.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/H2.vue.d.ts +1 -1
- package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +36 -27
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +46 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +48 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +69 -60
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +81 -99
- package/dist/prometheus-framework.cjs.js +19 -19
- package/dist/prometheus-framework.es.js +530 -522
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/Button/Button.vue +1 -1
- package/src/components/Upload/Upload.vue +28 -8
- package/src/modules/constructor/components/elements/Audio.vue +82 -0
- package/src/modules/constructor/components/elements/Embed.vue +85 -0
- package/src/modules/constructor/components/sections/Constructor.vue +54 -7
- package/src/modules/globals/mixins/mixins.js +52 -0
- package/src/modules/globals/router/routerGuards.js +28 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +0 -1
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/users/components/pages/Profile.vue +5 -3
- package/src/styles/theme.scss +0 -1
- package/src/styles/components/button.scss +0 -253
@@ -1,13 +1,14 @@
|
|
1
|
-
import { openBlock as
|
1
|
+
import { ref as c, openBlock as o, createElementBlock as n, Fragment as v, createElementVNode as a, normalizeClass as x, createTextVNode as g, toDisplayString as i, createCommentVNode as f, createVNode as y, Transition as b, withCtx as C } from "vue";
|
2
|
+
import w from "../../../node_modules/axios/index.js";
|
2
3
|
import "./Upload.vue2.js";
|
3
|
-
import
|
4
|
-
const
|
4
|
+
import U from "../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
const k = {
|
5
6
|
key: 0,
|
6
7
|
class: "t-transp mn-r-small"
|
7
|
-
},
|
8
|
+
}, N = { class: "w-100" }, _ = ["placeholder", "multiple"], R = {
|
8
9
|
key: 0,
|
9
10
|
class: "mn-t-thin mn-b-thin invalid-feedback"
|
10
|
-
},
|
11
|
+
}, V = {
|
11
12
|
__name: "Upload",
|
12
13
|
props: {
|
13
14
|
label: null,
|
@@ -20,47 +21,55 @@ const v = {
|
|
20
21
|
}
|
21
22
|
},
|
22
23
|
emits: ["update:field", "focus", "blur", "file-change"],
|
23
|
-
setup(e, { emit:
|
24
|
-
const
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
setup(e, { emit: m }) {
|
25
|
+
const p = e, t = c(null);
|
26
|
+
c(null);
|
27
|
+
async function u(l) {
|
28
|
+
let s = l.target.files[0], r = new FormData();
|
29
|
+
r.append("file", s);
|
30
|
+
try {
|
31
|
+
let h = await w.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/file?folderName=${encodeURIComponent(p.uploadPath)}`, r, {
|
32
|
+
headers: {
|
33
|
+
"Content-Type": "multipart/form-data"
|
34
|
+
}
|
35
|
+
});
|
36
|
+
t.value = h.data.filepath, m("file-change", t.value);
|
37
|
+
} catch (d) {
|
38
|
+
console.error(d);
|
31
39
|
}
|
32
|
-
}
|
33
|
-
return (l,
|
40
|
+
}
|
41
|
+
return (l, s) => (o(), n(v, null, [
|
34
42
|
a("div", {
|
35
|
-
class:
|
43
|
+
class: x([[l.$attrs.class, { "bg-fourth-nano": e.validation }], "flex-center flex-nowrap flex"])
|
36
44
|
}, [
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
45
|
+
g(i(t.value) + " ", 1),
|
46
|
+
e.label ? (o(), n("div", k, [
|
47
|
+
a("span", null, i(e.label), 1)
|
48
|
+
])) : f("", !0),
|
49
|
+
a("div", N, [
|
41
50
|
a("input", {
|
42
|
-
onChange:
|
51
|
+
onChange: u,
|
43
52
|
type: "file",
|
44
53
|
class: "w-100",
|
45
54
|
placeholder: e.placeholder,
|
46
55
|
multiple: e.multiple,
|
47
56
|
id: "photo",
|
48
57
|
name: "photo"
|
49
|
-
}, null, 40,
|
58
|
+
}, null, 40, _)
|
50
59
|
])
|
51
60
|
], 2),
|
52
|
-
|
61
|
+
y(b, {
|
53
62
|
mode: "out-in",
|
54
63
|
name: "fade"
|
55
64
|
}, {
|
56
|
-
default:
|
57
|
-
e.validation ? (
|
65
|
+
default: C(() => [
|
66
|
+
e.validation ? (o(), n("div", R, " * " + i(e.validation.message), 1)) : f("", !0)
|
58
67
|
]),
|
59
68
|
_: 1
|
60
69
|
})
|
61
70
|
], 64));
|
62
71
|
}
|
63
|
-
},
|
72
|
+
}, I = /* @__PURE__ */ U(V, [["__scopeId", "data-v-5dd2f570"]]);
|
64
73
|
export {
|
65
|
-
|
74
|
+
I as default
|
66
75
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../mobile/components/Menu/Menu.vue.cjs"),n=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),o=require("vue-router"),i={class:""},l=e.createElementVNode("h1",{class:"mn-small"},"Your Backoffice",-1),d=e.createElementVNode("span",null," Organizations ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),k=e.createElementVNode("span",null," Payments ",-1),C=e.createElementVNode("span",null," Gallery ",-1),N=e.createElementVNode("span",null," Reports ",-1),V={__name:"Dashboard",props:{favorites:Array},setup(v){const r=o.useRoute(),s=o.useRouter();return(h,t)=>(e.openBlock(),e.createElementBlock("div",i,[l,e.createVNode(u.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[0]||(t[0]=a=>e.unref(s).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(n.default,{onClick:t[1]||(t[1]=a=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(n.default,{onClick:t[2]||(t[2]=a=>e.unref(s).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(n.default,{onClick:t[3]||(t[3]=a=>e.unref(s).push({name:"Backoffice Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(n.default,{onClick:t[4]||(t[4]=a=>e.unref(s).push({name:"Backoffice Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(n.default,{onClick:t[5]||(t[5]=a=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(n.default,{onClick:t[6]||(t[6]=a=>e.unref(s).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1}),e.createVNode(n.default,{onClick:t[7]||(t[7]=a=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1}),e.createVNode(n.default,{onClick:t[8]||(t[8]=a=>e.unref(s).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1})]),_:1})]))}};exports.default=V;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as p, createElementBlock as u, createVNode as e, withCtx as a, unref as o, createElementVNode as n } from "vue";
|
2
|
-
import m from "../../../mobile/components/Menu/Menu.
|
2
|
+
import m from "../../../mobile/components/Menu/Menu.vue.js";
|
3
3
|
import i from "../../../mobile/components/Menu/MenuItem.vue.js";
|
4
4
|
import { useRoute as d, useRouter as _ } from "vue-router";
|
5
5
|
const f = { class: "" }, c = /* @__PURE__ */ n("h1", { class: "mn-small" }, "Your Backoffice", -1), k = /* @__PURE__ */ n("span", null, " Organizations ", -1), v = /* @__PURE__ */ n("span", null, " Events ", -1), B = /* @__PURE__ */ n("span", null, " Community ", -1), C = /* @__PURE__ */ n("span", null, " Products ", -1), $ = /* @__PURE__ */ n("span", null, " Leftovers ", -1), y = /* @__PURE__ */ n("span", null, " Orders ", -1), h = /* @__PURE__ */ n("span", null, " Payments ", -1), g = /* @__PURE__ */ n("span", null, " Gallery ", -1), E = /* @__PURE__ */ n("span", null, " Reports ", -1), G = {
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../../components/Upload/Upload.vue.cjs"),i={class:"mn-thin w-100 pd-medium bg-white radius-medium"},m=["innerHTML"],p={key:1,class:""},b={__name:"Audio",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:u}){const a=t,o=e.ref(null);function r(l){return[/youtube\.com/,/soundcloud\.com/,/vimeo\.com/].some(c=>c.test(l))}function d(l){o.value=l,o.value&&r(o.value)?(u("input",o.value),u("updateBlock",a.prop,{content:o.value})):alert("Invalid embed code or source not allowed.")}return(l,n)=>(e.openBlock(),e.createElementBlock("div",i,[t.prop.content?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:t.prop.content,class:"flex-center flex"},null,8,m)):(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(s.default,{field:o.value,"onUpdate:field":n[0]||(n[0]=c=>o.value=c),onFileChange:d,type:"file",placeholder:"Enter embed code",class:"w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"},null,8,["field"]),e.createElementVNode("button",{onClick:d,class:"button-small button"}," Save ")]))]))}};exports.default=b;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { ref as r, openBlock as d, createElementBlock as a, createVNode as m, createElementVNode as p } from "vue";
|
2
|
+
import b from "../../../../components/Upload/Upload.vue.js";
|
3
|
+
const f = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, v = ["innerHTML"], k = {
|
4
|
+
key: 1,
|
5
|
+
class: ""
|
6
|
+
}, C = {
|
7
|
+
__name: "Audio",
|
8
|
+
props: [
|
9
|
+
"label",
|
10
|
+
"value",
|
11
|
+
"prop"
|
12
|
+
],
|
13
|
+
emits: ["input", "updateBlock"],
|
14
|
+
setup(l, { emit: c }) {
|
15
|
+
const u = l, e = r(null);
|
16
|
+
function i(o) {
|
17
|
+
return [/youtube\.com/, /soundcloud\.com/, /vimeo\.com/].some((n) => n.test(o));
|
18
|
+
}
|
19
|
+
function s(o) {
|
20
|
+
e.value = o, e.value && i(e.value) ? (c("input", e.value), c("updateBlock", u.prop, { content: e.value })) : alert("Invalid embed code or source not allowed.");
|
21
|
+
}
|
22
|
+
return (o, t) => (d(), a("div", f, [
|
23
|
+
l.prop.content ? (d(), a("div", {
|
24
|
+
key: 0,
|
25
|
+
innerHTML: l.prop.content,
|
26
|
+
class: "flex-center flex"
|
27
|
+
}, null, 8, v)) : (d(), a("div", k, [
|
28
|
+
m(b, {
|
29
|
+
field: e.value,
|
30
|
+
"onUpdate:field": t[0] || (t[0] = (n) => e.value = n),
|
31
|
+
onFileChange: s,
|
32
|
+
type: "file",
|
33
|
+
placeholder: "Enter embed code",
|
34
|
+
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"
|
35
|
+
}, null, 8, ["field"]),
|
36
|
+
p("button", {
|
37
|
+
onClick: s,
|
38
|
+
class: "button-small button"
|
39
|
+
}, " Save ")
|
40
|
+
]))
|
41
|
+
]));
|
42
|
+
}
|
43
|
+
};
|
44
|
+
export {
|
45
|
+
C as default
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Field/Field.vue2.cjs"),i={class:"mn-thin w-100 pd-medium bg-white radius-medium"},m=["innerHTML"],p={key:1,class:""},b=e.createElementVNode("p",{class:"t-center"},"Embeds from youtube.com, vimeo.com, soundcloud.com are allowed",-1),v={__name:"Embed",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:c}){const d=t,o=e.ref(null);function s(a){return[/youtube\.com/,/soundcloud\.com/,/vimeo\.com/].some(n=>n.test(a))}function r(){o.value&&s(o.value)?(c("input",o.value),c("updateBlock",d.prop,{content:o.value})):alert("Invalid embed code or source not allowed.")}return(a,l)=>(e.openBlock(),e.createElementBlock("div",i,[t.prop.content?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:t.prop.content,class:"flex-center flex"},null,8,m)):(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(u.default,{field:o.value,"onUpdate:field":l[0]||(l[0]=n=>o.value=n),type:"textarea",placeholder:"Paste your embed code here",class:"w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"},null,8,["field"]),e.createElementVNode("div",{class:"flex-v-center flex-nowrap flex gap-small"},[b,e.createElementVNode("button",{onClick:r,class:"button-small button"}," Save ")])]))]))}};exports.default=v;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { ref as m, openBlock as n, createElementBlock as s, createVNode as p, createElementVNode as c } from "vue";
|
2
|
+
import b from "../../../../components/Field/Field.vue2.js";
|
3
|
+
const f = { class: "mn-thin w-100 pd-medium bg-white radius-medium" }, v = ["innerHTML"], k = {
|
4
|
+
key: 1,
|
5
|
+
class: ""
|
6
|
+
}, x = /* @__PURE__ */ c("p", { class: "t-center" }, "Embeds from youtube.com, vimeo.com, soundcloud.com are allowed", -1), _ = {
|
7
|
+
__name: "Embed",
|
8
|
+
props: [
|
9
|
+
"label",
|
10
|
+
"value",
|
11
|
+
"prop"
|
12
|
+
],
|
13
|
+
emits: ["input", "updateBlock"],
|
14
|
+
setup(o, { emit: d }) {
|
15
|
+
const r = o, e = m(null);
|
16
|
+
function u(a) {
|
17
|
+
return [/youtube\.com/, /soundcloud\.com/, /vimeo\.com/].some((t) => t.test(a));
|
18
|
+
}
|
19
|
+
function i() {
|
20
|
+
e.value && u(e.value) ? (d("input", e.value), d("updateBlock", r.prop, { content: e.value })) : alert("Invalid embed code or source not allowed.");
|
21
|
+
}
|
22
|
+
return (a, l) => (n(), s("div", f, [
|
23
|
+
o.prop.content ? (n(), s("div", {
|
24
|
+
key: 0,
|
25
|
+
innerHTML: o.prop.content,
|
26
|
+
class: "flex-center flex"
|
27
|
+
}, null, 8, v)) : (n(), s("div", k, [
|
28
|
+
p(b, {
|
29
|
+
field: e.value,
|
30
|
+
"onUpdate:field": l[0] || (l[0] = (t) => e.value = t),
|
31
|
+
type: "textarea",
|
32
|
+
placeholder: "Paste your embed code here",
|
33
|
+
class: "w-100 br-solid br-1px br-black-transp-10 pd-medium radius-small mn-thin"
|
34
|
+
}, null, 8, ["field"]),
|
35
|
+
c("div", { class: "flex-v-center flex-nowrap flex gap-small" }, [
|
36
|
+
x,
|
37
|
+
c("button", {
|
38
|
+
onClick: i,
|
39
|
+
class: "button-small button"
|
40
|
+
}, " Save ")
|
41
|
+
])
|
42
|
+
]))
|
43
|
+
]));
|
44
|
+
}
|
45
|
+
};
|
46
|
+
export {
|
47
|
+
_ as default
|
48
|
+
};
|
package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("../elements/Textarea.vue2.cjs"),E=require("../elements/H2.vue.cjs"),x=require("../elements/Caption.vue.cjs"),N=require("../elements/Bullets.vue.cjs"),y=require("../elements/ImageUpload.vue.cjs"),A=require("../elements/Embed.vue.cjs"),V=require("../elements/Audio.vue.cjs"),q=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),D=["onMouseover"],$={key:0,class:"z-index-5 radius-thin pd-thin bg-white w-max mn-small flex-nowrap flex-column flex"},M=["onClick"],T=["onClick"],F=["onClick"],I=["onClick"],S={__name:"Constructor",props:["content"],emits:["update"],setup(f,{emit:u}){const v=f;let t=e.ref(null);e.ref(null),t.value={content:v.content};const k={Textarea:_.default,H2:E.default,Bullets:N.default,Caption:x.default,ImageUpload:y.default,Embed:A.default,Audio:V.default};function s(c="Textarea",l="",n,o){console.log("We are adding new block (functuin HandleAddBlock):"+c+l+n+o);let a={order:t.value.content.length+1,type:c,style:"",class:"",content:l,blocks:[],setFocus:!0};if(o&&o.blocks&&Array.isArray(o.blocks)){let m=o.blocks.map(C=>({...a,content:C.content})),w=[(o.index||n)+1,0].concat(m);t.value.content.splice.apply(t.value.content,w);const B=m[m.length-1];console.log("New block is"+B)}else n!==void 0?(t.value.content.splice(n+1,0,a),console.log("Latest block is"+a)):(console.log("Another block is"+a),t.value.content.push(a));i.value=null,u("update",t.value.content)}function g(c,l){const n=t.value.content.findIndex(o=>o===c);n!==-1&&(t.value.content[n]={...t.value.content[n],...l}),u("update",t.value.content)}function p(c){let l=t.value.content.findIndex(n=>n===c);l!==-1&&t.value.content.splice(l,1),t.value.content[l-1].setFocus=!0,u("update",t.value.content)}const i=e.ref(null),d=e.ref(!1),r=e.ref(!1);function h(){d.value=!0}function b(){d.value=!1}return e.watchEffect(()=>{t.value&&t.value.content.length===0&&s("Textarea",""),u("update",t.value.content)}),(c,l)=>(e.openBlock(),e.createElementBlock("section",null,[e.unref(t).content?(e.openBlock(),e.createBlock(e.unref(q.VueDraggableNext),{key:0,class:"w-full",list:e.unref(t).content,onStart:h,onEnd:b},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).content,(n,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"pos-relative"},[e.createElementVNode("div",{onMouseover:a=>(i.value=o,r.value=!1),class:"pos-relative w-full h-full"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k[n.type]),{index:o,component:n,prop:n,class:e.normalizeClass(n.class),setFocus:n.setFocus,content:"content",onDeleteBlock:p,onAddBlock:s,onUpdateBlock:g},null,40,["index","component","prop","class","setFocus"]))],40,D),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value===o?(e.openBlock(),e.createElementBlock("div",{key:0,class:"pos-absolute z-index-4 i-semi",style:{right:"calc(100% + 0.5rem)",top:"calc(50% - 1.125rem)"},onMousedown:l[1]||(l[1]=e.withModifiers(a=>d.value=!0,["prevent"]))},[e.createElementVNode("button",{onClick:l[0]||(l[0]=a=>r.value=!r.value),class:"mn-small cursor-pointer w-100 i-semi bg-white radius-thin"},e.toDisplayString(n.content?"...":"+"),1),r.value?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("span",{onClick:a=>p(n),class:"mn-thin w-max t-red bg-white button-small button"}," Remove ",8,M),e.createElementVNode("span",{onClick:a=>s("ImageUpload","",o),class:"mn-thin w-max t-black bg-white button-small button"}," Add Image ",8,T),e.createElementVNode("span",{onClick:a=>s("H2","",o),class:"w-max button-small t-black bg-white button"}," Add Title ",8,F),e.createElementVNode("span",{onClick:a=>s("Embed","",o),class:"w-max button-small t-black bg-white button"}," Add Embed ",8,I)])):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)]),_:2},1024)]))),128))]),_:1},8,["list"])):e.createCommentVNode("",!0)]))}};exports.default=S;
|
package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js
CHANGED
@@ -1,29 +1,33 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as i, watchEffect as F, openBlock as a, createElementBlock as r, unref as p, createBlock as g, withCtx as b, Fragment as M, renderList as N, createElementVNode as c, resolveDynamicComponent as I, normalizeClass as T, createVNode as U, Transition as V, withModifiers as z, toDisplayString as H, createCommentVNode as k } from "vue";
|
2
2
|
import S from "../elements/Textarea.vue2.js";
|
3
3
|
import L from "../elements/H2.vue.js";
|
4
4
|
import R from "../elements/Caption.vue.js";
|
5
5
|
import W from "../elements/Bullets.vue.js";
|
6
6
|
import j from "../elements/ImageUpload.vue.js";
|
7
|
-
import
|
8
|
-
|
7
|
+
import q from "../elements/Embed.vue.js";
|
8
|
+
import G from "../elements/Audio.vue.js";
|
9
|
+
import { VueDraggableNext as J } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
10
|
+
const K = ["onMouseover"], O = {
|
9
11
|
key: 0,
|
10
|
-
class: "z-index-5 radius-thin
|
11
|
-
},
|
12
|
+
class: "z-index-5 radius-thin pd-thin bg-white w-max mn-small flex-nowrap flex-column flex"
|
13
|
+
}, P = ["onClick"], Q = ["onClick"], X = ["onClick"], Y = ["onClick"], ue = {
|
12
14
|
__name: "Constructor",
|
13
15
|
props: ["content"],
|
14
16
|
emits: ["update"],
|
15
|
-
setup(
|
16
|
-
const
|
17
|
-
let e =
|
18
|
-
|
19
|
-
const
|
17
|
+
setup(w, { emit: m }) {
|
18
|
+
const C = w;
|
19
|
+
let e = i(null);
|
20
|
+
i(null), e.value = { content: C.content };
|
21
|
+
const x = {
|
20
22
|
Textarea: S,
|
21
23
|
H2: L,
|
22
24
|
Bullets: W,
|
23
25
|
Caption: R,
|
24
|
-
ImageUpload: j
|
26
|
+
ImageUpload: j,
|
27
|
+
Embed: q,
|
28
|
+
Audio: G
|
25
29
|
};
|
26
|
-
function
|
30
|
+
function u(s = "Textarea", o = "", t, n) {
|
27
31
|
console.log("We are adding new block (functuin HandleAddBlock):" + s + o + t + n);
|
28
32
|
let l = {
|
29
33
|
order: e.value.content.length + 1,
|
@@ -35,87 +39,92 @@ const G = ["onMouseover"], J = {
|
|
35
39
|
setFocus: !0
|
36
40
|
};
|
37
41
|
if (n && n.blocks && Array.isArray(n.blocks)) {
|
38
|
-
let
|
42
|
+
let h = n.blocks.map((E) => ({
|
39
43
|
...l,
|
40
|
-
content:
|
41
|
-
})), A = [(n.index || t) + 1, 0].concat(
|
44
|
+
content: E.content
|
45
|
+
})), A = [(n.index || t) + 1, 0].concat(h);
|
42
46
|
e.value.content.splice.apply(e.value.content, A);
|
43
|
-
const D =
|
47
|
+
const D = h[h.length - 1];
|
44
48
|
console.log("New block is" + D);
|
45
49
|
} else
|
46
50
|
t !== void 0 ? (e.value.content.splice(t + 1, 0, l), console.log("Latest block is" + l)) : (console.log("Another block is" + l), e.value.content.push(l));
|
47
|
-
|
51
|
+
f.value = null, m("update", e.value.content);
|
48
52
|
}
|
49
|
-
function
|
53
|
+
function $(s, o) {
|
50
54
|
const t = e.value.content.findIndex((n) => n === s);
|
51
|
-
t !== -1 && (e.value.content[t] = { ...e.value.content[t], ...o }),
|
55
|
+
t !== -1 && (e.value.content[t] = { ...e.value.content[t], ...o }), m("update", e.value.content);
|
52
56
|
}
|
53
|
-
function
|
57
|
+
function _(s) {
|
54
58
|
let o = e.value.content.findIndex((t) => t === s);
|
55
|
-
o !== -1 && e.value.content.splice(o, 1), e.value.content[o - 1].setFocus = !0,
|
59
|
+
o !== -1 && e.value.content.splice(o, 1), e.value.content[o - 1].setFocus = !0, m("update", e.value.content);
|
56
60
|
}
|
57
|
-
const
|
61
|
+
const f = i(null), v = i(!1), d = i(!1);
|
58
62
|
function B() {
|
59
|
-
|
63
|
+
v.value = !0;
|
60
64
|
}
|
61
|
-
function
|
62
|
-
|
65
|
+
function y() {
|
66
|
+
v.value = !1;
|
63
67
|
}
|
64
|
-
return
|
65
|
-
e.value && e.value.content.length === 0 &&
|
66
|
-
}), (s, o) => (a(),
|
67
|
-
|
68
|
+
return F(() => {
|
69
|
+
e.value && e.value.content.length === 0 && u("Textarea", ""), m("update", e.value.content);
|
70
|
+
}), (s, o) => (a(), r("section", null, [
|
71
|
+
p(e).content ? (a(), g(p(J), {
|
68
72
|
key: 0,
|
69
73
|
class: "w-full",
|
70
|
-
list:
|
74
|
+
list: p(e).content,
|
71
75
|
onStart: B,
|
72
|
-
onEnd:
|
76
|
+
onEnd: y
|
73
77
|
}, {
|
74
|
-
default:
|
75
|
-
(a(!0),
|
78
|
+
default: b(() => [
|
79
|
+
(a(!0), r(M, null, N(p(e).content, (t, n) => (a(), r("div", {
|
76
80
|
key: n,
|
77
81
|
class: "pos-relative"
|
78
82
|
}, [
|
79
|
-
|
80
|
-
onMouseover: (l) => (
|
83
|
+
c("div", {
|
84
|
+
onMouseover: (l) => (f.value = n, d.value = !1),
|
81
85
|
class: "pos-relative w-full h-full"
|
82
86
|
}, [
|
83
|
-
(a(),
|
87
|
+
(a(), g(I(x[t.type]), {
|
84
88
|
index: n,
|
85
89
|
component: t,
|
86
90
|
prop: t,
|
87
91
|
class: T(t.class),
|
88
92
|
setFocus: t.setFocus,
|
89
93
|
content: "content",
|
90
|
-
onDeleteBlock:
|
91
|
-
onAddBlock:
|
92
|
-
onUpdateBlock:
|
94
|
+
onDeleteBlock: _,
|
95
|
+
onAddBlock: u,
|
96
|
+
onUpdateBlock: $
|
93
97
|
}, null, 40, ["index", "component", "prop", "class", "setFocus"]))
|
94
|
-
], 40,
|
98
|
+
], 40, K),
|
95
99
|
U(V, { name: "fade" }, {
|
96
|
-
default:
|
97
|
-
|
100
|
+
default: b(() => [
|
101
|
+
f.value === n ? (a(), r("div", {
|
98
102
|
key: 0,
|
99
|
-
class: "pos-absolute
|
100
|
-
|
103
|
+
class: "pos-absolute z-index-4 i-semi",
|
104
|
+
style: { right: "calc(100% + 0.5rem)", top: "calc(50% - 1.125rem)" },
|
105
|
+
onMousedown: o[1] || (o[1] = z((l) => v.value = !0, ["prevent"]))
|
101
106
|
}, [
|
102
|
-
|
107
|
+
c("button", {
|
103
108
|
onClick: o[0] || (o[0] = (l) => d.value = !d.value),
|
104
|
-
class: "mn-small w-100 i-semi bg-white radius-thin"
|
109
|
+
class: "mn-small cursor-pointer w-100 i-semi bg-white radius-thin"
|
105
110
|
}, H(t.content ? "..." : "+"), 1),
|
106
|
-
d.value ? (a(),
|
107
|
-
|
108
|
-
onClick: (l) =>
|
109
|
-
class: "
|
110
|
-
}, "Remove", 8,
|
111
|
-
|
112
|
-
onClick: (l) =>
|
113
|
-
class: "
|
114
|
-
}, "Add Image", 8,
|
115
|
-
|
116
|
-
onClick: (l) =>
|
117
|
-
class: "
|
118
|
-
}, "Add Title", 8,
|
111
|
+
d.value ? (a(), r("div", O, [
|
112
|
+
c("span", {
|
113
|
+
onClick: (l) => _(t),
|
114
|
+
class: "mn-thin w-max t-red bg-white button-small button"
|
115
|
+
}, " Remove ", 8, P),
|
116
|
+
c("span", {
|
117
|
+
onClick: (l) => u("ImageUpload", "", n),
|
118
|
+
class: "mn-thin w-max t-black bg-white button-small button"
|
119
|
+
}, " Add Image ", 8, Q),
|
120
|
+
c("span", {
|
121
|
+
onClick: (l) => u("H2", "", n),
|
122
|
+
class: "w-max button-small t-black bg-white button"
|
123
|
+
}, " Add Title ", 8, X),
|
124
|
+
c("span", {
|
125
|
+
onClick: (l) => u("Embed", "", n),
|
126
|
+
class: "w-max button-small t-black bg-white button"
|
127
|
+
}, " Add Embed ", 8, Y)
|
119
128
|
])) : k("", !0)
|
120
129
|
], 32)) : k("", !0)
|
121
130
|
]),
|
@@ -129,5 +138,5 @@ const G = ["onMouseover"], J = {
|
|
129
138
|
}
|
130
139
|
};
|
131
140
|
export {
|
132
|
-
|
141
|
+
ue as default
|
133
142
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-small"><h2 class="mn-small">About No More Snow CO., LTD.</h2><p class="mn-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, withCtx as o, unref as r, createStaticVNode as c, createElementVNode as a } from "vue";
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
3
|
import "../../../../components/Button/Button.vue.js";
|
4
|
-
import p from "../../../mobile/components/Menu/Menu.
|
4
|
+
import p from "../../../mobile/components/Menu/Menu.vue.js";
|
5
5
|
import n from "../../../mobile/components/Menu/MenuItem.vue.js";
|
6
6
|
import { useRoute as d, useRouter as h } from "vue-router";
|
7
7
|
import "../../../auth/store/auth.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue2.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
|
2
|
+
import "./Menu.vue2.js";
|
3
|
+
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
+
__name: "Menu",
|
5
|
+
setup(s) {
|
6
|
+
return (e, i) => (t(), o("section", r, [
|
7
|
+
n(e.$slots, "default")
|
8
|
+
]));
|
9
|
+
}
|
10
|
+
};
|
2
11
|
export {
|
3
|
-
|
12
|
+
d as default
|
4
13
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1,13 +1,4 @@
|
|
1
|
-
|
2
|
-
import "./Menu.vue.js";
|
3
|
-
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
4
|
-
__name: "Menu",
|
5
|
-
setup(s) {
|
6
|
-
return (e, i) => (t(), o("section", r, [
|
7
|
-
n(e.$slots, "default")
|
8
|
-
]));
|
9
|
-
}
|
10
|
-
};
|
1
|
+
const e = "";
|
11
2
|
export {
|
12
|
-
|
3
|
+
e as default
|
13
4
|
};
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),v=require("../sections/MembersAdd.vue.cjs"),_=require("../sections/MembersList.vue.cjs");require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),v=require("../sections/MembersAdd.vue.cjs"),_=require("../sections/MembersList.vue.cjs");require("../../../mobile/components/Menu/Menu.vue2.cjs");const p=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),f=require("../../../auth/store/auth.cjs"),a=require("../../store/invites.cjs"),s=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs"),b=e.createElementVNode("section",{class:"mn-medium radius-medium pd-semi bg-white"},[e.createElementVNode("h2",{class:"mn-regular"},"Участники"),e.createElementVNode("p",{class:"t-transp p-big"},"Добавляйте новых участников организации и настраивайте права доступа.")],-1),h=e.createElementVNode("span",null,"Departments",-1),q={__name:"Members",setup(g){const i=m.useRoute(),n=e.ref(null);e.onMounted(async()=>{n.value=(await o.actions.read({_id:i.params._id,user:f.state.user._id}))[0],await s.actions.read(i.params._id),await a.actions.read(n.value._id)});async function u(t){await a.actions.create(n.value._id,t)}async function c(t){await s.actions.delete(t._id)}async function d(t){await a.actions.delete(t._id)}return(t,r)=>{const l=e.resolveComponent("IconEvents");return e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[b,e.createVNode(p.default,{onClick:r[0]||(r[0]=w=>t.router.push({name:"User Events",params:{_id:e.unref(i).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l,{class:"i-semi",icon:!0}),h]),_:1}),e.createVNode(v.default,{organization:n.value,onSendInvite:u},null,8,["organization"]),e.createVNode(_.default,{organization:o,memberships:t.memberships,invites:a.state.invites,onRemoveInvite:d,onRemoveMember:c},null,8,["memberships","invites"])])]),_:1})}}};exports.default=q;
|
@@ -2,7 +2,7 @@ import { ref as l, onMounted as _, resolveComponent as f, openBlock as v, create
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
3
3
|
import $ from "../sections/MembersAdd.vue.js";
|
4
4
|
import I from "../sections/MembersList.vue.js";
|
5
|
-
import "../../../mobile/components/Menu/Menu.
|
5
|
+
import "../../../mobile/components/Menu/Menu.vue2.js";
|
6
6
|
import z from "../../../mobile/components/Menu/MenuItem.vue.js";
|
7
7
|
import { state as y } from "../../../auth/store/auth.js";
|
8
8
|
import { actions as o, state as E } from "../../store/invites.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue2.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),f=require("../../../spots/components/sections/Feed.vue.cjs"),v=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const n=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const c=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const g={key:0,class:"pd-thin for-transition w-100"},y=e.createElementVNode("p",null,"34 members",-1),h=[y],k={class:"pos-relative"},N={key:0},V={__name:"Organization",setup(w){const i=d.useRouter(),r=d.useRoute();let m=r.query.tab?r.query.tab:"events";const s=e.ref(null);e.onMounted(async()=>{s.value=await o.actions.read({_id:r.params._id,user:n.state.user._id}),await c.actions.read(r.params._id)});const t=e.ref(m);return r.query.tab=t.value,e.watch(t,u=>{i.replace({query:{...r.query,tab:u}})}),(u,a)=>s.value?(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(v.default,{organization:o.state.current,user:n.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createElementVNode("section",{onClick:a[0]||(a[0]=l=>e.unref(i).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"mn-semi bg-grey radius-big pd-medium"},h),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=l=>t.value=l),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",k,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:n.state.user._id,owner:e.unref(r).params._id,sortOrder:"asc"},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",N,[e.createVNode(f.default,{organization:o.state.current,memberships:c.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=V;
|