@ozdao/prometheus-framework 0.2.114 → 0.2.115
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- 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/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +54 -36
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +12 -10
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- 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 +13 -1
- 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 +1 -13
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/pages/Events.vue +31 -0
- package/src/modules/events/components/sections/FeaturedEvents.vue +47 -0
- package/src/modules/events/components/sections/List.vue +3 -3
- package/src/modules/events/events.client.js +2 -0
- package/src/modules/landing/components/pages/Home.vue +2 -2
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.vue2.cjs"),a={class:"bg-light pd-medium radius-big"},c={key:0,class:"mn-b-small flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-thin t-medium p-big"},u=["onClick"],d=e.createElementVNode("p",{class:"bg-main radius-small t-center i-medium"},"i",-1),m={key:1,class:"w-100"},h={__name:"Block",props:{title:{type:String,default:null},tooltip:{type:String,default:null},actions:{type:Array,default:null},placeholder:{type:String,default:"Nothing here"},options:{type:Object,default:{theme:"white"}}},setup(t){e.useSlots();const r=(n,o={})=>n?n(o).some(l=>Array.isArray(l.children)?!!l.children.length:l.type!==e.Comment):!1;return(n,o)=>(e.openBlock(),e.createElementBlock("div",a,[t.title||t.actions?(e.openBlock(),e.createElementBlock("div",c,[t.title?(e.openBlock(),e.createElementBlock("p",s,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("button",{onClick:l.function,class:e.normalizeClass(["pd-thin button-delete button",l.class||"bg-main radius-small t-center i-medium"])},e.toDisplayString(l.label),11,u))),256)),t.tooltip?(e.openBlock(),e.createBlock(i.default,{key:1,text:t.tooltip},{default:e.withCtx(()=>[d]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r(n.$slots.default)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.placeholder),1)),e.renderSlot(n.$slots,"default")]))}};exports.default=h;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useSlots as u, openBlock as l, createElementBlock as n, toDisplayString as o, createCommentVNode as r, Fragment as c, renderList as d, normalizeClass as m, createBlock as h, withCtx as f, renderSlot as p, createElementVNode as y, Comment as g } from "vue";
|
2
|
-
import b from "../Tooltip/Tooltip.
|
2
|
+
import b from "../Tooltip/Tooltip.vue2.js";
|
3
3
|
const k = { class: "bg-light pd-medium radius-big" }, C = {
|
4
4
|
key: 0,
|
5
5
|
class: "mn-b-small flex-v-center flex-nowrap flex"
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,45 +1 @@
|
|
1
|
-
|
2
|
-
import "./Tooltip.vue2.js";
|
3
|
-
import x from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const m = {
|
5
|
-
__name: "Tooltip",
|
6
|
-
props: {
|
7
|
-
text: {
|
8
|
-
type: String,
|
9
|
-
required: !0
|
10
|
-
}
|
11
|
-
},
|
12
|
-
setup(n) {
|
13
|
-
const o = r(!1), e = p({
|
14
|
-
position: "absolute",
|
15
|
-
width: "max-content",
|
16
|
-
zIndex: 1e3,
|
17
|
-
background: "#333",
|
18
|
-
color: "#fff",
|
19
|
-
padding: "5px 10px",
|
20
|
-
borderRadius: "3px",
|
21
|
-
fontSize: "14px",
|
22
|
-
display: "none"
|
23
|
-
});
|
24
|
-
function i(t) {
|
25
|
-
o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
|
26
|
-
}
|
27
|
-
function l() {
|
28
|
-
o.value = !1, e.display = "none";
|
29
|
-
}
|
30
|
-
return (t, _) => (s(), a("div", {
|
31
|
-
class: "cursor-pointer tooltip-container",
|
32
|
-
onMouseover: i,
|
33
|
-
onMouseleave: l
|
34
|
-
}, [
|
35
|
-
c(t.$slots, "default", {}, void 0, !0),
|
36
|
-
d("div", {
|
37
|
-
class: "tooltip-content",
|
38
|
-
style: u(e)
|
39
|
-
}, f(n.text), 5)
|
40
|
-
], 32));
|
41
|
-
}
|
42
|
-
}, b = /* @__PURE__ */ x(m, [["__scopeId", "data-v-f89d5a93"]]);
|
43
|
-
export {
|
44
|
-
b as default
|
45
|
-
};
|
1
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Tooltip.vue.cjs");const s=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),a={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(n){const l=e.ref(!1),t=e.reactive({position:"absolute",width:"max-content",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function i(o){l.value=!0,t.left=`${o.clientX/100+10}px`,t.top=`${o.clientY/100+10}px`,t.display="block"}function r(){l.value=!1,t.display="none"}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"cursor-pointer tooltip-container",onMouseover:i,onMouseleave:r},[e.renderSlot(o.$slots,"default",{},void 0,!0),e.createElementVNode("div",{class:"tooltip-content",style:e.normalizeStyle(t)},e.toDisplayString(n.text),5)],32))}},u=s.default(a,[["__scopeId","data-v-f89d5a93"]]);exports.default=u;
|
@@ -1 +1,45 @@
|
|
1
|
-
|
1
|
+
import { ref as r, reactive as p, openBlock as s, createElementBlock as a, renderSlot as c, createElementVNode as d, normalizeStyle as u, toDisplayString as f } from "vue";
|
2
|
+
import "./Tooltip.vue.js";
|
3
|
+
import x from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const m = {
|
5
|
+
__name: "Tooltip",
|
6
|
+
props: {
|
7
|
+
text: {
|
8
|
+
type: String,
|
9
|
+
required: !0
|
10
|
+
}
|
11
|
+
},
|
12
|
+
setup(n) {
|
13
|
+
const o = r(!1), e = p({
|
14
|
+
position: "absolute",
|
15
|
+
width: "max-content",
|
16
|
+
zIndex: 1e3,
|
17
|
+
background: "#333",
|
18
|
+
color: "#fff",
|
19
|
+
padding: "5px 10px",
|
20
|
+
borderRadius: "3px",
|
21
|
+
fontSize: "14px",
|
22
|
+
display: "none"
|
23
|
+
});
|
24
|
+
function i(t) {
|
25
|
+
o.value = !0, e.left = `${t.clientX / 100 + 10}px`, e.top = `${t.clientY / 100 + 10}px`, e.display = "block";
|
26
|
+
}
|
27
|
+
function l() {
|
28
|
+
o.value = !1, e.display = "none";
|
29
|
+
}
|
30
|
+
return (t, _) => (s(), a("div", {
|
31
|
+
class: "cursor-pointer tooltip-container",
|
32
|
+
onMouseover: i,
|
33
|
+
onMouseleave: l
|
34
|
+
}, [
|
35
|
+
c(t.$slots, "default", {}, void 0, !0),
|
36
|
+
d("div", {
|
37
|
+
class: "tooltip-content",
|
38
|
+
style: u(e)
|
39
|
+
}, f(n.text), 5)
|
40
|
+
], 32));
|
41
|
+
}
|
42
|
+
}, b = /* @__PURE__ */ x(m, [["__scopeId", "data-v-f89d5a93"]]);
|
43
|
+
export {
|
44
|
+
b as default
|
45
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../mobile/components/Menu/Menu.vue.cjs"),o=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const u=require("../../../icons/entities/IconProducts.vue.cjs"),l=require("../../../icons/entities/IconEvents.vue.cjs"),c=require("../../../icons/entities/IconGroups.vue.cjs"),d=require("../../../icons/entities/IconGallery.vue.cjs"),f=require("../../../icons/entities/IconOrders.vue.cjs"),m=require("../../../icons/entities/IconLeftovers.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const p={class:""},_=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-light mn-b-small"},"Welcome to Backoffice",-1),v=e.createElementVNode("span",null," Members ",-1),h=e.createElementVNode("span",null," Products ",-1),N=e.createElementVNode("span",null," Leftovers ",-1),V=e.createElementVNode("span",null," Orders ",-1),b=e.createElementVNode("span",null," Gallery ",-1),g=e.createElementVNode("span",null," Events ",-1),q={__name:"Dashboard",props:{favorites:Array},setup(w){const t=n.useRoute(),s=n.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(C,r)=>(e.openBlock(),e.createElementBlock("div",p,[_,e.createVNode(i.default,{class:"bg-light mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(o.default,{onClick:r[0]||(r[0]=a=>e.unref(s).push({name:"Organization Members",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(c.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1}),e.createVNode(o.default,{onClick:r[1]||(r[1]=a=>e.unref(s).push({name:"Products",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(u.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),h]),_:1}),e.createVNode(o.default,{onClick:r[2]||(r[2]=a=>e.unref(s).push({name:"Leftovers",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(m.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),N]),_:1}),e.createVNode(o.default,{onClick:r[3]||(r[3]=a=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),V]),_:1}),e.createVNode(o.default,{onClick:r[4]||(r[4]=a=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),b]),_:1}),e.createVNode(o.default,{onClick:r[5]||(r[5]=a=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(t).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),g]),_:1})]),_:1})]))}};exports.default=q;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as l, onMounted as p, openBlock as u, createElementBlock as c, createVNode as s, withCtx as i, unref as e, createElementVNode as o } from "vue";
|
2
|
-
import f from "../../../mobile/components/Menu/Menu.
|
2
|
+
import f from "../../../mobile/components/Menu/Menu.vue.js";
|
3
3
|
import n from "../../../mobile/components/Menu/MenuItem.vue.js";
|
4
4
|
import "../../../../components/SelectMulti/SelectMulti.vue2.js";
|
5
5
|
import _ from "../../../icons/entities/IconProducts.vue.js";
|
@@ -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"),h=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const f=require("../../../../components/Feed/Feed.vue.cjs"),b=require("../../../../components/DatePicker/DatePicker.vue.cjs"),u=require("../sections/List.vue.cjs"),g=require("../blocks/CardEvent.vue.cjs"),n=require("../../store/events.cjs"),l=require("../../../auth/store/auth.cjs"),_={class:"pd-thin"},E=e.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"}," Featured ")],-1),V={class:"cols-2 gap-medium pd-medium bg-light radius-big"},v={class:""},y=e.createElementVNode("h2",{class:"mn-b-medium"}," Finished Events ",-1),q={class:""},N=e.createElementVNode("h2",{class:"mn-b-medium"}," Planned ",-1),k={class:"mn-b-medium flex-v-center flex-nowrap flex"},w=e.createElementVNode("h2",{class:"mn-r-medium"}," All Events ",-1),F={__name:"Events",setup(x){const d=h.useRoute(),c=h.useRouter(),m=p(new Date);function p(t){return`${t.getDate().toString().padStart(2,"0")}${(t.getMonth()+1).toString().padStart(2,"0")}${t.getFullYear()}`}if(d.query){const t=d.query,a={tags:t.tags?t.tags.split(","):null,date:t.date?t.date:m};n.state.filter=a}else{const t={date:m};n.state.filter=t}return e.watch(()=>n.state.filter,(t,a)=>{const r={...d.query};Object.keys(a).forEach(i=>{r[i]&&delete r[i]});const o=Object.fromEntries(Object.entries(t).filter(([i,s])=>Array.isArray(s)&&s.length>0||typeof s=="string"&&s).map(([i,s])=>[i,Array.isArray(s)?s.join(","):s]));Object.assign(r,o),c.push({query:r})},{deep:!0}),(t,a)=>(e.openBlock(),e.createElementBlock("section",_,[E,e.createVNode(u.default,{user:l.state.user._id,class:"bg-light mn-b-medium radius-big",phase:"planned"},null,8,["user"]),e.createElementVNode("div",V,[e.createElementVNode("div",v,[y,e.createVNode(u.default,{user:l.state.user._id,class:"bg-white mn-b-medium radius-big",phase:"finished"},null,8,["user"])]),e.createElementVNode("div",q,[N,e.createVNode(u.default,{user:l.state.user._id,class:"bg-white mn-b-medium radius-big",phase:"planned"},null,8,["user"])])]),e.createElementVNode("header",k,[w,e.createElementVNode("button",{onClick:a[0]||(a[0]=r=>e.unref(c).push({name:"Create Event"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(b.default,{date:n.state.filter.date,"onUpdate:date":a[1]||(a[1]=r=>n.state.filter.date=r),locale:t.$i18n.locale,class:"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium"},null,8,["date","locale"]),e.createVNode(f.default,{states:{empty:{title:"No Events Found",description:"Currently, there are no events available."}},store:{read:r=>n.read(r),state:n.state},options:{user:l.state.user._id,date:n.state.filter.date,limit:10}},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(o,i)=>(e.openBlock(),e.createBlock(g.default,{onClick:s=>t.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,user:l.state.user._id,type:"normal",class:"bg-light radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128))]),_:1},8,["store","options"])]))}};exports.default=F;
|
@@ -1,65 +1,83 @@
|
|
1
|
-
import { watch as
|
1
|
+
import { watch as b, openBlock as u, createElementBlock as h, createVNode as l, createElementVNode as s, unref as g, withCtx as y, Fragment as $, renderList as v, createBlock as w } from "vue";
|
2
2
|
import { useRoute as E, useRouter as k } from "vue-router";
|
3
3
|
import "vue-i18n";
|
4
4
|
import "../../../globals/localization/vue-i18n.js";
|
5
5
|
import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
|
6
6
|
import x from "../../../../components/Feed/Feed.vue.js";
|
7
|
-
import
|
8
|
-
import
|
7
|
+
import F from "../../../../components/DatePicker/DatePicker.vue.js";
|
8
|
+
import c from "../sections/List.vue.js";
|
9
9
|
import C from "../blocks/CardEvent.vue.js";
|
10
10
|
import { state as n, read as D } from "../../store/events.js";
|
11
11
|
import { state as d } from "../../../auth/store/auth.js";
|
12
|
-
const j = { class: "pd-thin" }, q = /* @__PURE__ */
|
13
|
-
/* @__PURE__ */
|
14
|
-
], -1), A = { class: "mn-b-medium flex-v-center flex-nowrap flex" },
|
12
|
+
const j = { class: "pd-thin" }, q = /* @__PURE__ */ s("header", { class: "mn-b-medium flex-v-center flex-nowrap flex" }, [
|
13
|
+
/* @__PURE__ */ s("h2", { class: "mn-r-medium" }, " Featured ")
|
14
|
+
], -1), A = { class: "cols-2 gap-medium pd-medium bg-light radius-big" }, V = { class: "" }, O = /* @__PURE__ */ s("h2", { class: "mn-b-medium" }, " Finished Events ", -1), S = { class: "" }, B = /* @__PURE__ */ s("h2", { class: "mn-b-medium" }, " Planned ", -1), N = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, R = /* @__PURE__ */ s("h2", { class: "mn-r-medium" }, " All Events ", -1), W = {
|
15
15
|
__name: "Events",
|
16
|
-
setup(
|
17
|
-
const
|
18
|
-
function
|
16
|
+
setup(z) {
|
17
|
+
const m = E(), p = k(), f = _(/* @__PURE__ */ new Date());
|
18
|
+
function _(e) {
|
19
19
|
return `${e.getDate().toString().padStart(2, "0")}${(e.getMonth() + 1).toString().padStart(2, "0")}${e.getFullYear()}`;
|
20
20
|
}
|
21
|
-
if (
|
22
|
-
const e =
|
21
|
+
if (m.query) {
|
22
|
+
const e = m.query, i = {
|
23
23
|
tags: e.tags ? e.tags.split(",") : null,
|
24
|
-
date: e.date ? e.date :
|
24
|
+
date: e.date ? e.date : f
|
25
25
|
};
|
26
|
-
n.filter =
|
26
|
+
n.filter = i;
|
27
27
|
} else {
|
28
28
|
const e = {
|
29
|
-
date:
|
29
|
+
date: f
|
30
30
|
};
|
31
31
|
n.filter = e;
|
32
32
|
}
|
33
|
-
return
|
34
|
-
const t = { ...
|
35
|
-
Object.keys(
|
36
|
-
t[
|
33
|
+
return b(() => n.filter, (e, i) => {
|
34
|
+
const t = { ...m.query };
|
35
|
+
Object.keys(i).forEach((a) => {
|
36
|
+
t[a] && delete t[a];
|
37
37
|
});
|
38
|
-
const
|
39
|
-
Object.entries(e).filter(([
|
38
|
+
const o = Object.fromEntries(
|
39
|
+
Object.entries(e).filter(([a, r]) => Array.isArray(r) && r.length > 0 || typeof r == "string" && r).map(([a, r]) => [a, Array.isArray(r) ? r.join(",") : r])
|
40
40
|
);
|
41
|
-
Object.assign(t,
|
42
|
-
}, { deep: !0 }), (e,
|
41
|
+
Object.assign(t, o), p.push({ query: t });
|
42
|
+
}, { deep: !0 }), (e, i) => (u(), h("section", j, [
|
43
43
|
q,
|
44
|
-
|
44
|
+
l(c, {
|
45
45
|
user: d.user._id,
|
46
46
|
class: "bg-light mn-b-medium radius-big",
|
47
47
|
phase: "planned"
|
48
48
|
}, null, 8, ["user"]),
|
49
|
-
|
50
|
-
V,
|
51
|
-
|
52
|
-
|
49
|
+
s("div", A, [
|
50
|
+
s("div", V, [
|
51
|
+
O,
|
52
|
+
l(c, {
|
53
|
+
user: d.user._id,
|
54
|
+
class: "bg-white mn-b-medium radius-big",
|
55
|
+
phase: "finished"
|
56
|
+
}, null, 8, ["user"])
|
57
|
+
]),
|
58
|
+
s("div", S, [
|
59
|
+
B,
|
60
|
+
l(c, {
|
61
|
+
user: d.user._id,
|
62
|
+
class: "bg-white mn-b-medium radius-big",
|
63
|
+
phase: "planned"
|
64
|
+
}, null, 8, ["user"])
|
65
|
+
])
|
66
|
+
]),
|
67
|
+
s("header", N, [
|
68
|
+
R,
|
69
|
+
s("button", {
|
70
|
+
onClick: i[0] || (i[0] = (t) => g(p).push({ name: "Create Event" })),
|
53
71
|
class: "radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"
|
54
72
|
}, " + ")
|
55
73
|
]),
|
56
|
-
|
74
|
+
l(F, {
|
57
75
|
date: n.filter.date,
|
58
|
-
"onUpdate:date":
|
76
|
+
"onUpdate:date": i[1] || (i[1] = (t) => n.filter.date = t),
|
59
77
|
locale: e.$i18n.locale,
|
60
78
|
class: "radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium"
|
61
79
|
}, null, 8, ["date", "locale"]),
|
62
|
-
|
80
|
+
l(x, {
|
63
81
|
states: {
|
64
82
|
empty: {
|
65
83
|
title: "No Events Found",
|
@@ -76,13 +94,13 @@ const j = { class: "pd-thin" }, q = /* @__PURE__ */ i("header", { class: "mn-b-m
|
|
76
94
|
limit: 10
|
77
95
|
}
|
78
96
|
}, {
|
79
|
-
default:
|
97
|
+
default: y(({
|
80
98
|
items: t
|
81
99
|
}) => [
|
82
|
-
(
|
83
|
-
onClick: (r) => e.$router.push({ name: "Event", params: { url:
|
84
|
-
key:
|
85
|
-
event:
|
100
|
+
(u(!0), h($, null, v(t, (o, a) => (u(), w(C, {
|
101
|
+
onClick: (r) => e.$router.push({ name: "Event", params: { url: o.url } }),
|
102
|
+
key: o._id,
|
103
|
+
event: o,
|
86
104
|
user: d.user._id,
|
87
105
|
type: "normal",
|
88
106
|
class: "bg-light radius-big mn-b-medium"
|
@@ -94,5 +112,5 @@ const j = { class: "pd-thin" }, q = /* @__PURE__ */ i("header", { class: "mn-b-m
|
|
94
112
|
}
|
95
113
|
};
|
96
114
|
export {
|
97
|
-
|
115
|
+
W as default
|
98
116
|
};
|
package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("vue-router"),t=require("./List.vue.cjs");require("../../store/events.cjs");const u=require("../../../auth/store/auth.cjs"),i={class:"cols-2 gap-medium pd-medium bg-light radius-big"},r={class:""},d=e.createElementVNode("h2",{class:"mn-b-medium"}," Finished Events ",-1),n={class:""},a=e.createElementVNode("h2",{class:"mn-b-medium"}," Planned ",-1),o={__name:"FeaturedEvents",setup(c){return s.useRoute(),s.useRouter(),(l,m)=>(e.openBlock(),e.createElementBlock("div",i,[e.createElementVNode("div",r,[d,e.createVNode(t.default,{user:u.state.user._id,class:"bg-white mn-b-medium radius-big",phase:"finished"},null,8,["user"])]),e.createElementVNode("div",n,[a,e.createVNode(t.default,{user:u.state.user._id,class:"bg-white mn-b-medium radius-big",phase:"planned"},null,8,["user"])])]))}};exports.default=o;
|
package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
import { openBlock as m, createElementBlock as o, createElementVNode as e, createVNode as s } from "vue";
|
2
|
+
import { useRoute as r, useRouter as d } from "vue-router";
|
3
|
+
import t from "./List.vue.js";
|
4
|
+
import "../../store/events.js";
|
5
|
+
import { state as i } from "../../../auth/store/auth.js";
|
6
|
+
const n = { class: "cols-2 gap-medium pd-medium bg-light radius-big" }, a = { class: "" }, u = /* @__PURE__ */ e("h2", { class: "mn-b-medium" }, " Finished Events ", -1), c = { class: "" }, _ = /* @__PURE__ */ e("h2", { class: "mn-b-medium" }, " Planned ", -1), k = {
|
7
|
+
__name: "FeaturedEvents",
|
8
|
+
setup(l) {
|
9
|
+
return r(), d(), (h, p) => (m(), o("div", n, [
|
10
|
+
e("div", a, [
|
11
|
+
u,
|
12
|
+
s(t, {
|
13
|
+
user: i.user._id,
|
14
|
+
class: "bg-white mn-b-medium radius-big",
|
15
|
+
phase: "finished"
|
16
|
+
}, null, 8, ["user"])
|
17
|
+
]),
|
18
|
+
e("div", c, [
|
19
|
+
_,
|
20
|
+
s(t, {
|
21
|
+
user: i.user._id,
|
22
|
+
class: "bg-white mn-b-medium radius-big",
|
23
|
+
phase: "planned"
|
24
|
+
}, null, 8, ["user"])
|
25
|
+
])
|
26
|
+
]));
|
27
|
+
}
|
28
|
+
};
|
29
|
+
export {
|
30
|
+
k as default
|
31
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),g=require("../../store/events.cjs");require("./List.vue2.cjs");const m={class:"today-events"},k={__name:"List",props:{category:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(o){const t=o,r=e.ref([]),n=e.ref(!0),s=e.ref(0),u=e.ref(5);return e.onMounted(async()=>{const l=await g.read({skip:s.value,limit:u.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=l,n.value=!1}),(l,v)=>(e.openBlock(),e.createElementBlock("section",m,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,a=>(e.openBlock(),e.createBlock(p.default,{key:a}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&r.value.length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"No Planned Events ",description:"No events available. Please check back later.",class:"pd-medium mn-b-thin br-solid br-1px br-grey-transp-25 bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(a,i)=>(e.openBlock(),e.createBlock(d.default,{onClick:f=>l.$router.push({name:"Event",params:{url:a.url}}),key:a._id,event:a,owner:o.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":i!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as l, onMounted as b, openBlock as t, createElementBlock as i, createVNode as s, TransitionGroup as g, withCtx as u, Fragment as f, renderList as v, createBlock as c, createCommentVNode as d, Transition as k, normalizeClass as _ } from "vue";
|
2
2
|
import "../../../../components/Loader/Loader.vue.js";
|
3
3
|
import S from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import w from "../blocks/CardEvent.vue.js";
|
5
5
|
import C from "../../../icons/skeletons/SkeletonEventShort.vue.js";
|
6
|
-
import { read as
|
6
|
+
import { read as N } from "../../store/events.js";
|
7
7
|
import "./List.vue2.js";
|
8
|
-
const
|
8
|
+
const z = { class: "today-events" }, G = {
|
9
9
|
__name: "List",
|
10
10
|
props: {
|
11
11
|
category: {
|
@@ -33,12 +33,12 @@ const E = { class: "today-events" }, M = {
|
|
33
33
|
default: null
|
34
34
|
}
|
35
35
|
},
|
36
|
-
setup(
|
37
|
-
const e =
|
38
|
-
return
|
39
|
-
const
|
36
|
+
setup(p) {
|
37
|
+
const e = p, r = l([]), n = l(!0), y = l(0), m = l(5);
|
38
|
+
return b(async () => {
|
39
|
+
const o = await N({
|
40
40
|
skip: y.value,
|
41
|
-
limit:
|
41
|
+
limit: m.value,
|
42
42
|
sortOrder: "desc",
|
43
43
|
category: e.category,
|
44
44
|
user: e.user,
|
@@ -47,25 +47,25 @@ const E = { class: "today-events" }, M = {
|
|
47
47
|
period: e.period,
|
48
48
|
phase: e.phase
|
49
49
|
});
|
50
|
-
|
51
|
-
}), (
|
50
|
+
r.value = o, n.value = !1;
|
51
|
+
}), (o, E) => (t(), i("section", z, [
|
52
52
|
s(g, {
|
53
53
|
tag: "ul",
|
54
54
|
name: "fade",
|
55
55
|
class: "o-hidden bg-light radius-big"
|
56
56
|
}, {
|
57
57
|
default: u(() => [
|
58
|
-
n.value ? (t(!0), i(f, { key: 0 }, v(
|
58
|
+
n.value ? (t(!0), i(f, { key: 0 }, v(m.value, (a) => (t(), c(C, { key: a }))), 128)) : d("", !0)
|
59
59
|
]),
|
60
60
|
_: 1
|
61
61
|
}),
|
62
|
-
s(
|
62
|
+
s(k, { name: "fade" }, {
|
63
63
|
default: u(() => [
|
64
|
-
!n.value &&
|
64
|
+
!n.value && r.value.length < 1 ? (t(), c(S, {
|
65
65
|
key: 0,
|
66
|
-
title: "No Events
|
67
|
-
description: "
|
68
|
-
class: "pd-medium mn-b-thin bg-light radius-big"
|
66
|
+
title: "No Planned Events ",
|
67
|
+
description: "No events available. Please check back later.",
|
68
|
+
class: "pd-medium mn-b-thin br-solid br-1px br-grey-transp-25 bg-light radius-big"
|
69
69
|
})) : d("", !0)
|
70
70
|
]),
|
71
71
|
_: 1
|
@@ -76,14 +76,14 @@ const E = { class: "today-events" }, M = {
|
|
76
76
|
class: "container"
|
77
77
|
}, {
|
78
78
|
default: u(() => [
|
79
|
-
!n.value &&
|
80
|
-
onClick: (
|
81
|
-
key:
|
82
|
-
event:
|
83
|
-
owner:
|
79
|
+
!n.value && r.value.length > 0 ? (t(!0), i(f, { key: 0 }, v(r.value, (a, h) => (t(), c(w, {
|
80
|
+
onClick: (L) => o.$router.push({ name: "Event", params: { url: a.url } }),
|
81
|
+
key: a._id,
|
82
|
+
event: a,
|
83
|
+
owner: p.user,
|
84
84
|
type: "short",
|
85
85
|
class: _(["pd-medium", {
|
86
|
-
"br-b br-solid br-black-transp-10": h !==
|
86
|
+
"br-b br-solid br-black-transp-10": h !== r.value.length - 1
|
87
87
|
}])
|
88
88
|
}, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : d("", !0)
|
89
89
|
]),
|
@@ -93,5 +93,5 @@ const E = { class: "today-events" }, M = {
|
|
93
93
|
}
|
94
94
|
};
|
95
95
|
export {
|
96
|
-
|
96
|
+
G as default
|
97
97
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/blocks/CardEvent.vue.cjs"),t=require("./components/sections/Feed.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/blocks/CardEvent.vue.cjs"),t=require("./components/sections/Feed.vue.cjs"),r=require("./components/sections/List.vue.cjs"),n=require("./components/sections/FeaturedEvents.vue.cjs"),u=require("./components/layouts/layoutEvents.vue.cjs"),s=require("./components/pages/EditEvent.vue.cjs"),a=require("./components/pages/Event.vue.cjs"),d=require("./components/pages/Events.vue.cjs"),o=require("./store/events.cjs"),i=require("./router/events.cjs");exports.CardEvent=e.default;exports.Feed=t.default;exports.List=r.default;exports.FeaturedEvents=n.default;exports.EventsLayout=u.default;exports.EditEvent=s.default;exports.EventPage=a.default;exports.EventsPage=d.default;exports.eventsStore=o;exports.eventsRoutes=i.default;
|
@@ -1,20 +1,22 @@
|
|
1
1
|
import { default as o } from "./components/blocks/CardEvent.vue.js";
|
2
2
|
import { default as f } from "./components/sections/Feed.vue.js";
|
3
3
|
import { default as d } from "./components/sections/List.vue.js";
|
4
|
-
import { default as
|
5
|
-
import { default as x } from "./components/
|
6
|
-
import { default as n } from "./components/pages/
|
7
|
-
import { default as E } from "./components/pages/
|
4
|
+
import { default as m } from "./components/sections/FeaturedEvents.vue.js";
|
5
|
+
import { default as x } from "./components/layouts/layoutEvents.vue.js";
|
6
|
+
import { default as n } from "./components/pages/EditEvent.vue.js";
|
7
|
+
import { default as E } from "./components/pages/Event.vue.js";
|
8
|
+
import { default as g } from "./components/pages/Events.vue.js";
|
8
9
|
import * as e from "./store/events.js";
|
9
|
-
import { default as
|
10
|
+
import { default as L } from "./router/events.js";
|
10
11
|
export {
|
11
12
|
o as CardEvent,
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
n as EditEvent,
|
14
|
+
E as EventPage,
|
15
|
+
x as EventsLayout,
|
16
|
+
g as EventsPage,
|
17
|
+
m as FeaturedEvents,
|
16
18
|
f as Feed,
|
17
19
|
d as List,
|
18
|
-
|
20
|
+
L as eventsRoutes,
|
19
21
|
e as eventsStore
|
20
22
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("vue-router"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),x=require("../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../components/Tooltip/Tooltip.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("vue-router"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),x=require("../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const $=require("../../../icons/navigation/IconEllipsis.vue.cjs"),S={key:0,class:"pd-b-zero"},z={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"pos-relative"},F={key:2},P={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},T={key:0,class:"w-4r pos-relative i-thin"},U={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},L=["src"],I={class:"bg-black pd-thin radius-small"},O=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),j=["onClick"],A={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){V.useRouter();function E(n){const r=new Date,d=new Date(n),u=Math.abs(r-d),m=Math.floor(u/1e3),a=Math.floor(m/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var u,m,a,s,i,c,k,h,b,g,f,y,w,B,p;const d=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",S,[e.createElementVNode("div",z,[e.createElementVNode("div",D,[((a=(m=(u=t.owner.target)==null?void 0:u.profile)==null?void 0:m.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((g=(b=t.owner.target)==null?void 0:b.profile)==null?void 0:g.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",F," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",P,[t.members?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",U,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,L)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",I,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(x.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[O]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(d,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,j)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=A;
|
@@ -2,7 +2,7 @@ import { resolveComponent as I, openBlock as t, createElementBlock as s, createE
|
|
2
2
|
import { useRouter as S } from "vue-router";
|
3
3
|
import T from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
4
4
|
import A from "../../../reports/components/sections/FormReport.vue.js";
|
5
|
-
import B from "../../../../components/Tooltip/Tooltip.
|
5
|
+
import B from "../../../../components/Tooltip/Tooltip.vue2.js";
|
6
6
|
import N from "../../../../components/Dropdown/Dropdown.vue.js";
|
7
7
|
import "../../../../components/Loader/Loader.vue.js";
|
8
8
|
import "../../../../components/Button/Button.vue.js";
|
@@ -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/Loader/Loader.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/Loader/Loader.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-light radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-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-b-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-b-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-light"},{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;
|
@@ -2,7 +2,7 @@ import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, wi
|
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
3
|
import "../../../../components/Loader/Loader.vue.js";
|
4
4
|
import "../../../../components/Button/Button.vue.js";
|
5
|
-
import p from "../../../mobile/components/Menu/Menu.
|
5
|
+
import p from "../../../mobile/components/Menu/Menu.vue.js";
|
6
6
|
import n from "../../../mobile/components/Menu/MenuItem.vue.js";
|
7
7
|
import { useRoute as d, useRouter as h } from "vue-router";
|
8
8
|
import "../../../auth/store/auth.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
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 +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
|
+
};
|
11
|
+
export {
|
12
|
+
d as default
|
13
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|