@ozdao/prometheus-framework 0.1.38 → 0.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/dist/ButtonToggleMembership-738720bd.js +1 -0
  2. package/dist/ButtonToggleMembership-e337e704.mjs +90 -0
  3. package/dist/CardBlogpost-ae3b4d23.js +1 -0
  4. package/dist/CardBlogpost-c7adb0a7.mjs +246 -0
  5. package/dist/CardBlogpost-d6f49156.mjs +246 -0
  6. package/dist/CardBlogpost-f308ff64.js +1 -0
  7. package/dist/CardOrganization-22beb83d.js +1 -0
  8. package/dist/CardOrganization-ae384e54.mjs +234 -0
  9. package/dist/Chips-3a07f374.js +1 -0
  10. package/dist/Chips-a8681edd.mjs +213 -0
  11. package/dist/Chips-edf2b573.js +1 -0
  12. package/dist/Chips-f06ec38f.mjs +213 -0
  13. package/dist/Community-04b25965.mjs +130 -0
  14. package/dist/Community-2f6fee0f.js +1 -0
  15. package/dist/Community-72dbb933.js +1 -0
  16. package/dist/Community-b4d10da6.mjs +130 -0
  17. package/dist/Dashboard-73b50724.js +1 -0
  18. package/dist/Dashboard-bc81b5f6.mjs +151 -0
  19. package/dist/Dropdown-ef2df9a9.mjs +169 -0
  20. package/dist/Dropdown-f2564c92.js +1 -0
  21. package/dist/Events-0c6e3ef4.mjs +134 -0
  22. package/dist/Events-41d71b0e.js +1 -0
  23. package/dist/Events-4742f070.js +1 -0
  24. package/dist/Events-af7170ed.mjs +134 -0
  25. package/dist/Feed-04fe1f7a.mjs +361 -0
  26. package/dist/Feed-09b0790d.js +1 -0
  27. package/dist/Feed-12b12380.js +1 -0
  28. package/dist/Feed-23758089.mjs +124 -0
  29. package/dist/Feed-36e83be3.mjs +156 -0
  30. package/dist/Feed-5653cf8b.js +1 -0
  31. package/dist/Feed-585d5821.mjs +124 -0
  32. package/dist/Feed-5a359bb7.js +1 -0
  33. package/dist/Feed-6ca0541a.js +1 -0
  34. package/dist/Feed-807d265b.mjs +156 -0
  35. package/dist/Feed-90f74d6c.mjs +361 -0
  36. package/dist/Feed-a47977d3.js +1 -0
  37. package/dist/Image-268e2a1b.js +9 -0
  38. package/dist/Image-39955d9d.mjs +480 -0
  39. package/dist/Image-5423e8ce.mjs +480 -0
  40. package/dist/Image-c2d190d8.js +9 -0
  41. package/dist/LeftoverAdd-21311275.js +1 -0
  42. package/dist/LeftoverAdd-ccf4595f.mjs +228 -0
  43. package/dist/Members-7251dd52.mjs +109 -0
  44. package/dist/Members-9b013515.js +1 -0
  45. package/dist/Members-d35ab7e8.js +1 -0
  46. package/dist/Members-d64149f3.mjs +109 -0
  47. package/dist/Menu-93d34d9f.js +1 -0
  48. package/dist/Menu-eaf6b44c.mjs +13 -0
  49. package/dist/MenuItem-4a5881bd.mjs +85 -0
  50. package/dist/MenuItem-f35cad93.js +1 -0
  51. package/dist/Organizations-0fd5bc8b.mjs +72 -0
  52. package/dist/Organizations-a964d4b6.mjs +72 -0
  53. package/dist/Organizations-d360c360.js +1 -0
  54. package/dist/Organizations-ed6d36d6.js +1 -0
  55. package/dist/Popup-0d8e1392.mjs +96 -0
  56. package/dist/Popup-eb11fa82.js +1 -0
  57. package/dist/Product-299070ad.mjs +652 -0
  58. package/dist/Product-aacb05f3.js +7 -0
  59. package/dist/Product-e43dd2f1.js +7 -0
  60. package/dist/Product-e4e583f0.mjs +652 -0
  61. package/dist/ProductEdit-70bed802.mjs +296 -0
  62. package/dist/ProductEdit-e5a2e0f6.js +1 -0
  63. package/dist/ProductsBackoffice-3c182d6a.mjs +86 -0
  64. package/dist/ProductsBackoffice-b684913d.js +1 -0
  65. package/dist/ProfileBlogposts-6bf526fb.js +1 -0
  66. package/dist/ProfileBlogposts-8f6191d6.js +1 -0
  67. package/dist/ProfileBlogposts-aa839fcb.mjs +77 -0
  68. package/dist/ProfileBlogposts-d4b17535.mjs +77 -0
  69. package/dist/ProfileEvents-3eeb4320.mjs +68 -0
  70. package/dist/ProfileEvents-6b3fb52e.mjs +68 -0
  71. package/dist/ProfileEvents-893285bb.js +1 -0
  72. package/dist/ProfileEvents-90e09978.js +1 -0
  73. package/dist/ProfileOrganizations-738f444a.js +1 -0
  74. package/dist/ProfileOrganizations-c4fb03a1.mjs +72 -0
  75. package/dist/ProfileOrganizations-e838925f.js +1 -0
  76. package/dist/ProfileOrganizations-edf657ca.mjs +72 -0
  77. package/dist/Publics-a31d7fe7.js +1 -0
  78. package/dist/Publics-a8f31413.mjs +45 -0
  79. package/dist/Wallet-2043b611.mjs +24682 -0
  80. package/dist/Wallet-8fa7386a.js +55 -0
  81. package/dist/auth-076a83d0.mjs +625 -0
  82. package/dist/auth-df5a20c6.js +7 -0
  83. package/dist/auth.client.cjs +1 -1
  84. package/dist/auth.client.js +4 -4
  85. package/dist/auth.validation-80b133df.js +1 -0
  86. package/dist/auth.validation-fd9ae66f.mjs +24 -0
  87. package/dist/backoffice.client.cjs +1 -1
  88. package/dist/backoffice.client.js +12 -12
  89. package/dist/categories-4327a81c.js +1 -0
  90. package/dist/categories-52a561a4.mjs +122 -0
  91. package/dist/community.client.cjs +1 -1
  92. package/dist/community.client.js +205 -198
  93. package/dist/events.client.cjs +2 -2
  94. package/dist/events.client.js +17 -20
  95. package/dist/landing.client.cjs +1 -1
  96. package/dist/landing.client.js +64 -40
  97. package/dist/legal.client.cjs +1 -1
  98. package/dist/legal.client.js +5 -6
  99. package/dist/main.css +1 -1
  100. package/dist/modules/gallery/components/pages/Gallery.vue.d.ts +2 -0
  101. package/dist/modules/gallery/components/sections/GalleryWithCategories.vue.d.ts +2 -0
  102. package/dist/modules/globals/components/sections/Title.vue.d.ts +6 -0
  103. package/dist/organizations-966e1cd2.mjs +122 -0
  104. package/dist/organizations-d12c42b6.js +1 -0
  105. package/dist/organizations.client-63b476ff.mjs +2996 -0
  106. package/dist/organizations.client-696eacbb.js +3 -0
  107. package/dist/organizations.client-8f263e28.js +3 -0
  108. package/dist/organizations.client-9ffc023f.mjs +2996 -0
  109. package/dist/organizations.client.cjs +1 -1
  110. package/dist/organizations.client.js +49 -54
  111. package/dist/products-7e4253eb.js +1 -0
  112. package/dist/products-aabe5c02.mjs +108 -0
  113. package/dist/prometheus-framework.cjs.js +1 -1
  114. package/dist/prometheus-framework.es.js +2 -2
  115. package/dist/states.validation-4594b33c.mjs +13 -0
  116. package/dist/states.validation-69003e66.js +1 -0
  117. package/dist/style.css +1 -1
  118. package/dist/users.client.cjs +1 -1
  119. package/dist/users.client.js +286 -202
  120. package/package.json +1 -5
  121. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  122. package/src/components/LocationSelection/LocationSelection.vue +1 -1
  123. package/src/components/Navigation/Navigation.vue +12 -1
  124. package/src/modules/auth/store/auth.js +7 -4
  125. package/src/modules/files/middlewares/server/md.js +1 -0
  126. package/src/modules/gallery/components/pages/Gallery.vue +21 -0
  127. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +408 -0
  128. package/src/modules/gallery/gallery.client.js +11 -14
  129. package/src/modules/gallery/router/gallery.router.js +10 -0
  130. package/src/modules/globals/components/sections/Title.vue +22 -0
  131. package/src/modules/marketplace/router/marketplace.js +4 -3
  132. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  133. package/src/modules/products/components/pages/ProductRecommmendation.vue +5 -3
  134. package/src/modules/products/components/sections/SectionProduct.vue +17 -5
  135. package/src/modules/products/controllers/products.controller.js +83 -0
  136. package/src/modules/products/routes/products.routes.js +5 -5
  137. package/src/modules/spots/components/layouts/Spots.vue +16 -11
  138. package/src/modules/spots/components/pages/Map.vue +9 -7
  139. package/src/modules/users/components/pages/Profile.vue +15 -5
  140. package/src/modules/users/router/users.js +10 -0
  141. package/src/modules/wallet/components/pages/Wallet.vue +104 -23
@@ -0,0 +1,151 @@
1
+ import { openBlock as p, createElementBlock as u, createVNode as a, withCtx as e, unref as o, createElementVNode as t } from "vue";
2
+ import { _ as m } from "./Menu-eaf6b44c.mjs";
3
+ import { _ as i } from "./MenuItem-4a5881bd.mjs";
4
+ import { useRoute as d, useRouter as _ } from "vue-router";
5
+ import "./_plugin-vue_export-helper-dad06003.mjs";
6
+ const f = { class: "" }, c = /* @__PURE__ */ t("h1", { class: "mn-small" }, "Your Backoffice", -1), k = /* @__PURE__ */ t("span", null, " Organizations ", -1), v = /* @__PURE__ */ t("span", null, " Events ", -1), B = /* @__PURE__ */ t("span", null, " Community ", -1), C = /* @__PURE__ */ t("span", null, " Products ", -1), $ = /* @__PURE__ */ t("span", null, " Leftovers ", -1), y = /* @__PURE__ */ t("span", null, " Orders ", -1), h = /* @__PURE__ */ t("span", null, " Payments ", -1), g = /* @__PURE__ */ t("span", null, " Gallery ", -1), E = /* @__PURE__ */ t("span", null, " Reports ", -1), L = {
7
+ __name: "Dashboard",
8
+ props: {
9
+ favorites: Array
10
+ },
11
+ setup(O) {
12
+ const n = d(), r = _();
13
+ return (P, s) => (p(), u("div", f, [
14
+ c,
15
+ a(m, { class: "bg-grey" }, {
16
+ default: e(() => [
17
+ a(i, {
18
+ onClick: s[0] || (s[0] = (l) => o(r).push({
19
+ name: "Backoffice Organizations",
20
+ params: {
21
+ _id: o(n).params._id
22
+ }
23
+ })),
24
+ class: "cursor-pointer"
25
+ }, {
26
+ default: e(() => [
27
+ k
28
+ ]),
29
+ _: 1
30
+ }),
31
+ a(i, {
32
+ onClick: s[1] || (s[1] = (l) => o(r).push({
33
+ name: "Backoffice Events",
34
+ params: {
35
+ _id: o(n).params._id
36
+ }
37
+ })),
38
+ class: "cursor-pointer"
39
+ }, {
40
+ default: e(() => [
41
+ v
42
+ ]),
43
+ _: 1
44
+ }),
45
+ a(i, {
46
+ onClick: s[2] || (s[2] = (l) => o(r).push({
47
+ name: "Backoffice Community",
48
+ params: {
49
+ _id: o(n).params._id
50
+ }
51
+ })),
52
+ class: "cursor-pointer"
53
+ }, {
54
+ default: e(() => [
55
+ B
56
+ ]),
57
+ _: 1
58
+ }),
59
+ a(i, {
60
+ onClick: s[3] || (s[3] = (l) => o(r).push({
61
+ name: "Backoffice Products",
62
+ params: {
63
+ _id: o(n).params._id
64
+ }
65
+ })),
66
+ class: "cursor-pointer"
67
+ }, {
68
+ default: e(() => [
69
+ C
70
+ ]),
71
+ _: 1
72
+ }),
73
+ a(i, {
74
+ onClick: s[4] || (s[4] = (l) => o(r).push({
75
+ name: "Backoffice Leftovers",
76
+ params: {
77
+ _id: o(n).params._id
78
+ }
79
+ })),
80
+ class: "cursor-pointer"
81
+ }, {
82
+ default: e(() => [
83
+ $
84
+ ]),
85
+ _: 1
86
+ }),
87
+ a(i, {
88
+ onClick: s[5] || (s[5] = (l) => o(r).push({
89
+ name: "Backoffice Orders",
90
+ params: {
91
+ _id: o(n).params._id
92
+ }
93
+ })),
94
+ class: "cursor-pointer"
95
+ }, {
96
+ default: e(() => [
97
+ y
98
+ ]),
99
+ _: 1
100
+ }),
101
+ a(i, {
102
+ onClick: s[6] || (s[6] = (l) => o(r).push({
103
+ name: "Backoffice Payments",
104
+ params: {
105
+ _id: o(n).params._id
106
+ }
107
+ })),
108
+ class: "cursor-pointer"
109
+ }, {
110
+ default: e(() => [
111
+ h
112
+ ]),
113
+ _: 1
114
+ }),
115
+ a(i, {
116
+ onClick: s[7] || (s[7] = (l) => o(r).push({
117
+ name: "Backoffice Gallery",
118
+ params: {
119
+ _id: o(n).params._id
120
+ }
121
+ })),
122
+ class: "cursor-pointer"
123
+ }, {
124
+ default: e(() => [
125
+ g
126
+ ]),
127
+ _: 1
128
+ }),
129
+ a(i, {
130
+ onClick: s[8] || (s[8] = (l) => o(r).push({
131
+ name: "Backoffice Reports",
132
+ params: {
133
+ _id: o(n).params._id
134
+ }
135
+ })),
136
+ class: "cursor-pointer"
137
+ }, {
138
+ default: e(() => [
139
+ E
140
+ ]),
141
+ _: 1
142
+ })
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]));
147
+ }
148
+ };
149
+ export {
150
+ L as default
151
+ };
@@ -0,0 +1,169 @@
1
+ import { openBlock as c, createElementBlock as d, createElementVNode as o, reactive as y, ref as _, Fragment as b, renderSlot as g, createVNode as a, withCtx as u, createTextVNode as v, withDirectives as f, withModifiers as C, toDisplayString as S, Transition as k, normalizeStyle as x, vShow as $, unref as O } from "vue";
2
+ import { _ as h } from "./_plugin-vue_export-helper-dad06003.mjs";
3
+ import { _ as P } from "./Popup-0d8e1392.mjs";
4
+ import { _ as D } from "./Button-9e1a9284.mjs";
5
+ import { S as R } from "./Select-11ddabf5.mjs";
6
+ import { a as q } from "./reports-79cd9459.mjs";
7
+ import { c as T } from "./click-outside-6101836c.mjs";
8
+ const B = {}, M = {
9
+ viewBox: "0 0 42 42",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, N = /* @__PURE__ */ o("circle", {
13
+ fill: "rgb(var(--main))",
14
+ cx: "21",
15
+ cy: "21",
16
+ r: "21"
17
+ }, null, -1), V = /* @__PURE__ */ o("path", {
18
+ fill: "#242424",
19
+ "fill-opacity": "0.1",
20
+ "fill-rule": "evenodd",
21
+ "clip-rule": "evenodd",
22
+ d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
23
+ }, null, -1), E = [
24
+ N,
25
+ V
26
+ ];
27
+ function F(s, t) {
28
+ return c(), d("svg", M, E);
29
+ }
30
+ const K = /* @__PURE__ */ h(B, [["render", F]]), I = /* @__PURE__ */ o("h3", { class: "mn-small" }, " Report Content ", -1), U = /* @__PURE__ */ o("p", { class: "p-medium mn-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1), Z = /* @__PURE__ */ o("p", { class: "p-medium mn-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1), L = {
31
+ __name: "FormReport",
32
+ props: {
33
+ user: {
34
+ type: String,
35
+ required: !1
36
+ },
37
+ type: {
38
+ type: String,
39
+ required: !1
40
+ },
41
+ reason: {
42
+ type: String,
43
+ required: !1
44
+ },
45
+ target: {
46
+ type: String,
47
+ required: !0
48
+ },
49
+ text: {
50
+ type: String,
51
+ default: "!"
52
+ },
53
+ status: {
54
+ type: String,
55
+ default: "new"
56
+ }
57
+ },
58
+ setup(s) {
59
+ const t = s, e = y({
60
+ user: t.user,
61
+ type: t.type,
62
+ reason: t.reason,
63
+ target: t.target,
64
+ status: t.status
65
+ });
66
+ function l() {
67
+ e.user === null && delete e.user, q.create(e);
68
+ }
69
+ const r = _(!1);
70
+ function n() {
71
+ r.value = !0;
72
+ }
73
+ function p() {
74
+ r.value = !1;
75
+ }
76
+ return (w, i) => (c(), d(b, null, [
77
+ o("div", {
78
+ onClick: i[0] || (i[0] = (m) => n())
79
+ }, [
80
+ g(w.$slots, "default")
81
+ ]),
82
+ a(P, {
83
+ onClosePopup: p,
84
+ isPopupOpen: r.value,
85
+ class: "w-m-33r t-left pd-big bg-white radius-big"
86
+ }, {
87
+ default: u(() => [
88
+ I,
89
+ U,
90
+ a(R, {
91
+ select: e.reason,
92
+ "onUpdate:select": i[1] || (i[1] = (m) => e.reason = m),
93
+ options: [
94
+ "harassment",
95
+ "spam",
96
+ "inappropriate",
97
+ "misinformation",
98
+ "copyright",
99
+ "other"
100
+ ],
101
+ placeholder: "Select reason",
102
+ class: "mn-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"
103
+ }, null, 8, ["select"]),
104
+ Z,
105
+ a(D, {
106
+ submit: l,
107
+ callback: p,
108
+ class: "w-100 bg-black t-white"
109
+ }, {
110
+ default: u(() => [
111
+ v(" Report ")
112
+ ]),
113
+ _: 1
114
+ })
115
+ ]),
116
+ _: 1
117
+ }, 8, ["isPopupOpen"])
118
+ ], 64));
119
+ }
120
+ };
121
+ const z = {
122
+ __name: "Dropdown",
123
+ props: {
124
+ label: {
125
+ type: String,
126
+ default: "Open"
127
+ },
128
+ align: {
129
+ type: String,
130
+ default: "left"
131
+ }
132
+ },
133
+ setup(s) {
134
+ let t = T;
135
+ const e = _(!1);
136
+ function l() {
137
+ e.value = !1;
138
+ }
139
+ return (r, n) => f((c(), d("div", {
140
+ class: "dropdown pos-relative",
141
+ onClick: n[0] || (n[0] = C((p) => e.value = !e.value, ["stop"]))
142
+ }, [
143
+ v(S(s.label) + " ", 1),
144
+ a(k, {
145
+ name: "TransitionTranslateY",
146
+ mode: "out-in"
147
+ }, {
148
+ default: u(() => [
149
+ f(o("div", {
150
+ style: x({ left: s.align === "left" ? "0" : "auto", right: s.align === "right" ? "0" : "auto" }),
151
+ class: "dropdown-content w-15r radius-big"
152
+ }, [
153
+ g(r.$slots, "default", {}, void 0, !0)
154
+ ], 4), [
155
+ [$, e.value]
156
+ ])
157
+ ]),
158
+ _: 3
159
+ })
160
+ ])), [
161
+ [O(t), l]
162
+ ]);
163
+ }
164
+ }, Q = /* @__PURE__ */ h(z, [["__scopeId", "data-v-5646d77f"]]);
165
+ export {
166
+ Q as D,
167
+ K as P,
168
+ L as _
169
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),u=require("./_plugin-vue_export-helper-f246444f.js"),d=require("./Popup-eb11fa82.js"),f=require("./Button-7643c9aa.js"),m=require("./Select-3ca5ab39.js"),_=require("./reports-270f69df.js"),g=require("./click-outside-0b0727d1.js"),v={},h={viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),y=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"},null,-1),b=[w,y];function C(o,r){return e.openBlock(),e.createElementBlock("svg",h,b)}const k=u._export_sfc(v,[["render",C]]),S=e.createElementVNode("h3",{class:"mn-small"}," Report Content ",-1),x=e.createElementVNode("p",{class:"p-medium mn-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),V=e.createElementVNode("p",{class:"p-medium mn-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),N={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(o){const r=o,t=e.reactive({user:r.user,type:r.type,reason:r.reason,target:r.target,status:r.status});function l(){t.user===null&&delete t.user,_.actions.create(t)}const n=e.ref(!1);function s(){n.value=!0}function a(){n.value=!1}return(p,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{onClick:i[0]||(i[0]=c=>s())},[e.renderSlot(p.$slots,"default")]),e.createVNode(d._sfc_main,{onClosePopup:a,isPopupOpen:n.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[S,x,e.createVNode(m.Select,{select:t.reason,"onUpdate:select":i[1]||(i[1]=c=>t.reason=c),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),V,e.createVNode(f._sfc_main,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])],64))}};const q={__name:"Dropdown",props:{label:{type:String,default:"Open"},align:{type:String,default:"left"}},setup(o){let r=g.clickOutside;const t=e.ref(!1);function l(){t.value=!1}return(n,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"dropdown pos-relative",onClick:s[0]||(s[0]=e.withModifiers(a=>t.value=!t.value,["stop"]))},[e.createTextVNode(e.toDisplayString(o.label)+" ",1),e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{style:e.normalizeStyle({left:o.align==="left"?"0":"auto",right:o.align==="right"?"0":"auto"}),class:"dropdown-content w-15r radius-big"},[e.renderSlot(n.$slots,"default",{},void 0,!0)],4),[[e.vShow,t.value]])]),_:3})])),[[e.unref(r),l]])}},$=u._export_sfc(q,[["__scopeId","data-v-5646d77f"]]);exports.Dropdown=$;exports.PlaceholderUserpic=k;exports._sfc_main=N;
@@ -0,0 +1,134 @@
1
+ import { openBlock as t, createElementBlock as s, createStaticVNode as k, ref as l, onMounted as w, createVNode as i, TransitionGroup as m, withCtx as u, Fragment as g, renderList as f, createBlock as d, createCommentVNode as _, Transition as x, normalizeClass as S, unref as y } from "vue";
2
+ import { useRoute as $, useRouter as E } from "vue-router";
3
+ import "vue-i18n";
4
+ import "./globals-96ba60e4.mjs";
5
+ import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
6
+ import { r as C, a as N, _ as z, s as L } from "./Feed-90f74d6c.mjs";
7
+ import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
8
+ import { _ as T } from "./EmptyState-e404b05d.mjs";
9
+ import { _ as B } from "./_plugin-vue_export-helper-dad06003.mjs";
10
+ import { s as h } from "./auth-ec618cb3.mjs";
11
+ const O = {}, V = {
12
+ width: "100%",
13
+ height: "50",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, j = /* @__PURE__ */ k('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 7), D = [
16
+ j
17
+ ];
18
+ function M(o, e) {
19
+ return t(), s("svg", V, D);
20
+ }
21
+ const P = /* @__PURE__ */ B(O, [["render", M]]);
22
+ const R = { class: "today-events" }, q = {
23
+ __name: "List",
24
+ props: {
25
+ category: {
26
+ type: String,
27
+ default: null
28
+ },
29
+ organization: {
30
+ type: String,
31
+ default: null
32
+ },
33
+ owner: {
34
+ type: String,
35
+ default: null
36
+ },
37
+ user: {
38
+ type: [String, Number],
39
+ default: null
40
+ },
41
+ period: {
42
+ type: String,
43
+ default: null
44
+ },
45
+ phase: {
46
+ type: String,
47
+ default: null
48
+ }
49
+ },
50
+ setup(o) {
51
+ const e = o, r = l([]), a = l(!0), v = l(0), p = l(5);
52
+ return w(async () => {
53
+ const c = await C({
54
+ skip: v.value,
55
+ limit: p.value,
56
+ sortOrder: "desc",
57
+ category: e.category,
58
+ user: e.user,
59
+ owner: e.owner,
60
+ organization: e.organization,
61
+ period: e.period,
62
+ phase: e.phase
63
+ });
64
+ r.value = c, a.value = !1;
65
+ }), (c, G) => (t(), s("section", R, [
66
+ i(m, {
67
+ tag: "ul",
68
+ name: "fade",
69
+ class: "o-hidden bg-grey radius-big"
70
+ }, {
71
+ default: u(() => [
72
+ a.value ? (t(!0), s(g, { key: 0 }, f(p.value, (n) => (t(), d(P, { key: n }))), 128)) : _("", !0)
73
+ ]),
74
+ _: 1
75
+ }),
76
+ i(x, { name: "fade" }, {
77
+ default: u(() => [
78
+ !a.value && r.value.length < 1 ? (t(), d(T, {
79
+ key: 0,
80
+ title: "No Events Today",
81
+ description: "Today, are no events available. Please check back later.",
82
+ class: "pd-medium mn-thin bg-grey radius-big"
83
+ })) : _("", !0)
84
+ ]),
85
+ _: 1
86
+ }),
87
+ i(m, {
88
+ tag: "ul",
89
+ name: "fade",
90
+ class: "container"
91
+ }, {
92
+ default: u(() => [
93
+ !a.value && r.value.length > 0 ? (t(!0), s(g, { key: 0 }, f(r.value, (n, b) => (t(), d(N, {
94
+ onClick: (A) => c.$router.push({ name: "Event", params: { url: n.url } }),
95
+ key: n._id,
96
+ event: n,
97
+ owner: o.user,
98
+ type: "short",
99
+ class: S(["pd-medium", {
100
+ "br-b br-solid br-black-transp-10": b !== r.value.length - 1
101
+ }])
102
+ }, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : _("", !0)
103
+ ]),
104
+ _: 1
105
+ })
106
+ ]));
107
+ }
108
+ }, F = {
109
+ __name: "Events",
110
+ setup(o) {
111
+ const e = $();
112
+ return E(), (r, a) => (t(), s("section", null, [
113
+ i(q, {
114
+ user: h.user._id,
115
+ class: "bg-grey mn-thin radius-big",
116
+ phase: "week"
117
+ }, null, 8, ["user"]),
118
+ i(z, {
119
+ category: y(e).params.category,
120
+ user: h.user._id,
121
+ period: y(e).query.period,
122
+ selectedDate: L.filter.date
123
+ }, null, 8, ["category", "user", "period", "selectedDate"])
124
+ ]));
125
+ }
126
+ }, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
127
+ __proto__: null,
128
+ default: F
129
+ }, Symbol.toStringTag, { value: "Module" }));
130
+ export {
131
+ ee as E,
132
+ q as _,
133
+ F as a
134
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),s=require("vue-router");require("vue-i18n");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const o=require("./Feed-6ca0541a.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const f=require("./EmptyState-d65bab5b.js"),m=require("./_plugin-vue_export-helper-f246444f.js"),u=require("./auth-df5a20c6.js"),y={},h={width:"100%",height:"50",xmlns:"http://www.w3.org/2000/svg"},k=e.createStaticVNode('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',7),v=[k];function b(c,t){return e.openBlock(),e.createElementBlock("svg",h,v)}const w=m._export_sfc(y,[["render",b]]);const x={class:"today-events"},d={__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(c){const t=c,r=e.ref([]),a=e.ref(!0),p=e.ref(0),i=e.ref(5);return e.onMounted(async()=>{const l=await o.read({skip:p.value,limit:i.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=l,a.value=!1}),(l,q)=>(e.openBlock(),e.createElementBlock("section",x,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[a.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value,n=>(e.openBlock(),e.createBlock(w,{key:n}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!a.value&&r.value.length<1?(e.openBlock(),e.createBlock(f._sfc_main,{key:0,title:"No Events Today",description:"Today, are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!a.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(n,g)=>(e.openBlock(),e.createBlock(o._sfc_main$1,{onClick:E=>l.$router.push({name:"Event",params:{url:n.url}}),key:n._id,event:n,owner:c.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":g!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}},_={__name:"Events",setup(c){const t=s.useRoute();return s.useRouter(),(r,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(d,{user:u.state.user._id,class:"bg-grey mn-thin radius-big",phase:"week"},null,8,["user"]),e.createVNode(o._sfc_main,{category:e.unref(t).params.category,user:u.state.user._id,period:e.unref(t).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}},B=Object.freeze(Object.defineProperty({__proto__:null,default:_},Symbol.toStringTag,{value:"Module"}));exports.Events=B;exports._sfc_main=d;exports._sfc_main$1=_;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),s=require("vue-router");require("vue-i18n");require("./globals-928eb13c.js");require("./Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const o=require("./Feed-a47977d3.js");require("./Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js");const f=require("./EmptyState-d65bab5b.js"),m=require("./_plugin-vue_export-helper-f246444f.js"),u=require("./auth-06d35b82.js"),y={},h={width:"100%",height:"50",xmlns:"http://www.w3.org/2000/svg"},k=e.createStaticVNode('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',7),v=[k];function b(c,t){return e.openBlock(),e.createElementBlock("svg",h,v)}const w=m._export_sfc(y,[["render",b]]);const x={class:"today-events"},d={__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(c){const t=c,r=e.ref([]),a=e.ref(!0),p=e.ref(0),i=e.ref(5);return e.onMounted(async()=>{const l=await o.read({skip:p.value,limit:i.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=l,a.value=!1}),(l,q)=>(e.openBlock(),e.createElementBlock("section",x,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[a.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value,n=>(e.openBlock(),e.createBlock(w,{key:n}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!a.value&&r.value.length<1?(e.openBlock(),e.createBlock(f._sfc_main,{key:0,title:"No Events Today",description:"Today, are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!a.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(n,g)=>(e.openBlock(),e.createBlock(o._sfc_main$1,{onClick:E=>l.$router.push({name:"Event",params:{url:n.url}}),key:n._id,event:n,owner:c.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":g!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}},_={__name:"Events",setup(c){const t=s.useRoute();return s.useRouter(),(r,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(d,{user:u.state.user._id,class:"bg-grey mn-thin radius-big",phase:"week"},null,8,["user"]),e.createVNode(o._sfc_main,{category:e.unref(t).params.category,user:u.state.user._id,period:e.unref(t).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}},B=Object.freeze(Object.defineProperty({__proto__:null,default:_},Symbol.toStringTag,{value:"Module"}));exports.Events=B;exports._sfc_main=d;exports._sfc_main$1=_;
@@ -0,0 +1,134 @@
1
+ import { openBlock as t, createElementBlock as s, createStaticVNode as k, ref as l, onMounted as w, createVNode as i, TransitionGroup as m, withCtx as u, Fragment as g, renderList as f, createBlock as d, createCommentVNode as _, Transition as x, normalizeClass as S, unref as y } from "vue";
2
+ import { useRoute as $, useRouter as E } from "vue-router";
3
+ import "vue-i18n";
4
+ import "./globals-96ba60e4.mjs";
5
+ import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
6
+ import { r as C, a as N, _ as z, s as L } from "./Feed-04fe1f7a.mjs";
7
+ import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
8
+ import { _ as T } from "./EmptyState-e404b05d.mjs";
9
+ import { _ as B } from "./_plugin-vue_export-helper-dad06003.mjs";
10
+ import { s as h } from "./auth-076a83d0.mjs";
11
+ const O = {}, V = {
12
+ width: "100%",
13
+ height: "50",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, j = /* @__PURE__ */ k('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 7), D = [
16
+ j
17
+ ];
18
+ function M(o, e) {
19
+ return t(), s("svg", V, D);
20
+ }
21
+ const P = /* @__PURE__ */ B(O, [["render", M]]);
22
+ const R = { class: "today-events" }, q = {
23
+ __name: "List",
24
+ props: {
25
+ category: {
26
+ type: String,
27
+ default: null
28
+ },
29
+ organization: {
30
+ type: String,
31
+ default: null
32
+ },
33
+ owner: {
34
+ type: String,
35
+ default: null
36
+ },
37
+ user: {
38
+ type: [String, Number],
39
+ default: null
40
+ },
41
+ period: {
42
+ type: String,
43
+ default: null
44
+ },
45
+ phase: {
46
+ type: String,
47
+ default: null
48
+ }
49
+ },
50
+ setup(o) {
51
+ const e = o, r = l([]), a = l(!0), v = l(0), p = l(5);
52
+ return w(async () => {
53
+ const c = await C({
54
+ skip: v.value,
55
+ limit: p.value,
56
+ sortOrder: "desc",
57
+ category: e.category,
58
+ user: e.user,
59
+ owner: e.owner,
60
+ organization: e.organization,
61
+ period: e.period,
62
+ phase: e.phase
63
+ });
64
+ r.value = c, a.value = !1;
65
+ }), (c, G) => (t(), s("section", R, [
66
+ i(m, {
67
+ tag: "ul",
68
+ name: "fade",
69
+ class: "o-hidden bg-grey radius-big"
70
+ }, {
71
+ default: u(() => [
72
+ a.value ? (t(!0), s(g, { key: 0 }, f(p.value, (n) => (t(), d(P, { key: n }))), 128)) : _("", !0)
73
+ ]),
74
+ _: 1
75
+ }),
76
+ i(x, { name: "fade" }, {
77
+ default: u(() => [
78
+ !a.value && r.value.length < 1 ? (t(), d(T, {
79
+ key: 0,
80
+ title: "No Events Today",
81
+ description: "Today, are no events available. Please check back later.",
82
+ class: "pd-medium mn-thin bg-grey radius-big"
83
+ })) : _("", !0)
84
+ ]),
85
+ _: 1
86
+ }),
87
+ i(m, {
88
+ tag: "ul",
89
+ name: "fade",
90
+ class: "container"
91
+ }, {
92
+ default: u(() => [
93
+ !a.value && r.value.length > 0 ? (t(!0), s(g, { key: 0 }, f(r.value, (n, b) => (t(), d(N, {
94
+ onClick: (A) => c.$router.push({ name: "Event", params: { url: n.url } }),
95
+ key: n._id,
96
+ event: n,
97
+ owner: o.user,
98
+ type: "short",
99
+ class: S(["pd-medium", {
100
+ "br-b br-solid br-black-transp-10": b !== r.value.length - 1
101
+ }])
102
+ }, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : _("", !0)
103
+ ]),
104
+ _: 1
105
+ })
106
+ ]));
107
+ }
108
+ }, F = {
109
+ __name: "Events",
110
+ setup(o) {
111
+ const e = $();
112
+ return E(), (r, a) => (t(), s("section", null, [
113
+ i(q, {
114
+ user: h.user._id,
115
+ class: "bg-grey mn-thin radius-big",
116
+ phase: "week"
117
+ }, null, 8, ["user"]),
118
+ i(z, {
119
+ category: y(e).params.category,
120
+ user: h.user._id,
121
+ period: y(e).query.period,
122
+ selectedDate: L.filter.date
123
+ }, null, 8, ["category", "user", "period", "selectedDate"])
124
+ ]));
125
+ }
126
+ }, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
127
+ __proto__: null,
128
+ default: F
129
+ }, Symbol.toStringTag, { value: "Module" }));
130
+ export {
131
+ ee as E,
132
+ q as _,
133
+ F as a
134
+ };