@ozdao/prometheus-framework 0.1.15 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-579e2c7a.mjs +1945 -0
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cab2bcd2.js +1 -0
  3. package/dist/ButtonFollow-23c4d9fc.mjs +132 -0
  4. package/dist/ButtonFollow-bf5e6d42.js +1 -0
  5. package/dist/CardOrganization-63dcc83b.js +1 -0
  6. package/dist/CardOrganization-e530c9d5.mjs +230 -0
  7. package/dist/Chips-3dac276c.js +1 -0
  8. package/dist/Feed-4d9001aa.mjs +368 -0
  9. package/dist/Feed-51eef23f.js +1 -0
  10. package/dist/Feed-d78d4b91.mjs +439 -0
  11. package/dist/Feed-f4e9769e.js +1 -0
  12. package/dist/Gallery-1f82841a.mjs +357 -0
  13. package/dist/Gallery-dd29c7f6.js +1 -0
  14. package/dist/Image-a2c2ab9c.js +9 -0
  15. package/dist/Image-ad6d4f0f.mjs +477 -0
  16. package/dist/Popup-383abb2e.js +1 -0
  17. package/dist/Popup-f7a5e86b.mjs +76 -0
  18. package/dist/Product-b32fb0e1.js +7 -0
  19. package/dist/Product-d01e3a0d.mjs +839 -0
  20. package/dist/ProductEdit-2b4d1d88.js +1 -0
  21. package/dist/ProductEdit-5e479343.mjs +300 -0
  22. package/dist/ProfileBlogposts-070cb7e9.mjs +65 -0
  23. package/dist/ProfileBlogposts-b6bf0c42.js +1 -0
  24. package/dist/ProfileComments-8a0c489c.mjs +44 -0
  25. package/dist/ProfileComments-f0000ea6.js +1 -0
  26. package/dist/ProfileEvents-8b88287a.js +1 -0
  27. package/dist/ProfileEvents-d978617d.mjs +57 -0
  28. package/dist/ProfileLikes-d5f9f058.js +1 -0
  29. package/dist/ProfileLikes-f5ad4497.mjs +44 -0
  30. package/dist/ProfileOrganizations-422d1fa5.js +1 -0
  31. package/dist/ProfileOrganizations-6b1bc5b2.mjs +213 -0
  32. package/dist/Publics-640d32fc.mjs +123 -0
  33. package/dist/Publics-8595ab7e.js +1 -0
  34. package/dist/Socials-43293869.js +1 -0
  35. package/dist/Tab-dcd62005.js +1 -0
  36. package/dist/UploadImage-dfb36cdb.js +1 -0
  37. package/dist/UploadImage-e4418b43.mjs +83 -0
  38. package/dist/UploadImageMultiple-c9a7b54f.js +1 -0
  39. package/dist/UploadImageMultiple-d2d48f39.mjs +58 -0
  40. package/dist/auth-45a454f2.js +7 -0
  41. package/dist/auth-5cd34aae.mjs +905 -0
  42. package/dist/auth.client.cjs +8 -8
  43. package/dist/auth.client.js +42 -42
  44. package/dist/auth.validation-4b016fa5.js +1 -0
  45. package/dist/auth.validation-a52304cf.mjs +20 -0
  46. package/dist/backoffice.client.cjs +1 -0
  47. package/dist/backoffice.client.js +69 -0
  48. package/dist/carousel.es-cdfb392c.js +5 -0
  49. package/dist/community.client.cjs +1 -1
  50. package/dist/community.client.js +23 -22
  51. package/dist/components/EditImages/EditImages.vue.d.ts +7 -0
  52. package/dist/components/FieldPhone/FieldPhone(script-setup).vue.d.ts +3 -3
  53. package/dist/components/FieldPhone/FieldPhone.vue.d.ts +1 -1
  54. package/dist/events.client.cjs +2 -2
  55. package/dist/events.client.js +17 -16
  56. package/dist/files.server.js +149 -112
  57. package/dist/files.server.mjs +149 -112
  58. package/dist/gallery.server.js +127 -0
  59. package/dist/gallery.server.mjs +128 -0
  60. package/dist/index-2059e444.js +2 -0
  61. package/dist/index-4e469a71.mjs +941 -0
  62. package/dist/landing.client.cjs +1 -1
  63. package/dist/modules/gallery/components/sections/Gallery.vue.d.ts +2 -0
  64. package/dist/modules/icons/navigation/IconChevronRight.vue.d.ts +13 -1
  65. package/dist/modules/mobile/components/Menu/MenuItem.vue.d.ts +14 -2
  66. package/dist/organizations-81e762e7.mjs +122 -0
  67. package/dist/organizations-cf1ab766.js +1 -0
  68. package/dist/organizations.client-b692a78a.mjs +3018 -0
  69. package/dist/organizations.client-bdc9b044.js +3 -0
  70. package/dist/organizations.client.cjs +1 -1
  71. package/dist/organizations.client.js +44 -43
  72. package/dist/style.css +1 -1
  73. package/dist/users.client.cjs +1 -1
  74. package/dist/users.client.js +224 -184
  75. package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
  76. package/dist/vuex.esm-bundler-685cf29f.js +5 -0
  77. package/package.json +10 -1
  78. package/src/components/EditImages/EditImages.vue +55 -0
  79. package/src/configurator/components/layouts/layoutConfigurator.vue +0 -40
  80. package/src/modules/auth/components/pages/EnterCode.vue +0 -1
  81. package/src/modules/backoffice/backoffice.client.js +15 -0
  82. package/src/modules/backoffice/components/layouts/Account.vue +48 -58
  83. package/src/modules/backoffice/router/backoffice.js +20 -0
  84. package/src/modules/files/controllers/files.controller.js +27 -131
  85. package/src/modules/files/middlewares/server/index.js +10 -0
  86. package/src/modules/files/middlewares/server/md.js +151 -0
  87. package/src/modules/files/middlewares/server/middlewareMulter.js +121 -0
  88. package/src/modules/files/routes/files.routes.js +20 -6
  89. package/src/modules/gallery/components/sections/Gallery.vue +414 -0
  90. package/src/modules/gallery/controllers/gallery.controller.js +87 -73
  91. package/src/modules/gallery/gallery.client.js +17 -0
  92. package/src/modules/gallery/gallery.server.js +13 -0
  93. package/src/modules/gallery/models/photo.model.js +20 -14
  94. package/src/modules/gallery/routes/gallery.routes.js +18 -9
  95. package/src/modules/gallery/store/gallery.js +25 -19
  96. package/src/modules/icons/navigation/IconChevronRight.vue +14 -2
  97. package/src/modules/mobile/components/Menu/Menu.vue +1 -1
  98. package/src/modules/mobile/components/Menu/MenuItem.vue +8 -2
  99. package/src/modules/users/components/pages/Profile.vue +22 -1
  100. package/src/modules/backoffice/components/pages/Profile.vue +0 -109
  101. package/src/modules/backoffice/components/pages/profile/ProfileEdit.vue +0 -132
@@ -1,43 +1,58 @@
1
- import { openBlock as d, createElementBlock as p, renderSlot as O, createElementVNode as o, defineComponent as B, h as x, ref as U, resolveComponent as R, toDisplayString as w, createBlock as y, withCtx as g, createTextVNode as Z, createCommentVNode as $, reactive as F, onMounted as j, unref as m, Fragment as A, renderList as T, normalizeClass as D, createVNode as a, withAsyncContext as G } from "vue";
2
- import { a as Y, s as f, b as L, F as b, _ as S } from "./auth-962e3b73.mjs";
1
+ import { openBlock as d, createElementBlock as _, renderSlot as R, createElementVNode as n, defineComponent as B, h as x, ref as U, resolveComponent as z, toDisplayString as $, createBlock as w, withCtx as C, createTextVNode as S, createCommentVNode as y, reactive as A, onMounted as F, unref as c, Fragment as T, renderList as j, normalizeClass as D, createVNode as l, withAsyncContext as G } from "vue";
2
+ import { s as p, a as L, F as b, _ as Z } from "./auth-5cd34aae.mjs";
3
3
  import { _ as H } from "./_plugin-vue_export-helper-dad06003.mjs";
4
- import { B as q, m as J } from "./ButtonFollow-f0cefb85.mjs";
5
- import { _ as K } from "./Socials-8193477c.mjs";
6
- import { I as Q, P as W } from "./IconEdit-eacf3856.mjs";
4
+ import { B as Y, m as q } from "./ButtonFollow-23c4d9fc.mjs";
5
+ import { _ as J } from "./Socials-8193477c.mjs";
6
+ import { I as K, P as Q } from "./IconEdit-eacf3856.mjs";
7
7
  import { useRoute as N, useRouter as I } from "vue-router";
8
+ import { a as W } from "./index-4e469a71.mjs";
8
9
  import "./inputs.validation-14e8e01f.mjs";
9
- import { _ as X } from "./UploadImage-86fda95d.mjs";
10
- import "./auth.validation-1b60cef5.mjs";
10
+ import { _ as X } from "./UploadImage-e4418b43.mjs";
11
+ import "./auth.validation-a52304cf.mjs";
11
12
  import "./globals-96ba60e4.mjs";
12
13
  import "vue-i18n";
13
- const ee = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium bg-grey radius-medium" }, E = {
14
+ const ee = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, E = {
14
15
  __name: "Menu",
15
16
  setup(s) {
16
- return (e, c) => (d(), p("section", ee, [
17
- O(e.$slots, "default")
17
+ return (e, m) => (d(), _("section", ee, [
18
+ R(e.$slots, "default")
18
19
  ]));
19
20
  }
20
- }, te = {}, se = {
21
+ }, te = {
22
+ props: {
23
+ theme: {
24
+ type: String,
25
+ default: "black"
26
+ }
27
+ }
28
+ }, se = {
21
29
  width: "80",
22
30
  height: "80",
23
31
  viewBox: "0 0 80 80",
24
32
  fill: "none",
25
33
  xmlns: "http://www.w3.org/2000/svg"
26
- }, re = /* @__PURE__ */ o("path", {
27
- fill: "black",
28
- d: "M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"
29
- }, null, -1), ie = [
30
- re
31
- ];
32
- function ne(s, e) {
33
- return d(), p("svg", se, ie);
34
+ }, re = ["fill"];
35
+ function ie(s, e, m, f, g, t) {
36
+ return d(), _("svg", se, [
37
+ n("path", {
38
+ fill: m.theme,
39
+ d: "M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"
40
+ }, null, 8, re)
41
+ ]);
34
42
  }
35
- const oe = /* @__PURE__ */ H(te, [["render", ne]]), k = B({
43
+ const ne = /* @__PURE__ */ H(te, [["render", ie]]), k = B({
44
+ props: {
45
+ theme: {
46
+ type: String,
47
+ default: "black"
48
+ // Значение по умолчанию
49
+ }
50
+ },
36
51
  setup(s, { slots: e }) {
37
52
  return () => {
38
- const c = e.default ? e.default() : [], h = [], C = [];
39
- return c.forEach((t) => {
40
- t.toString(), t.props && t.props.icon ? h.push(t) : C.push(t);
53
+ const m = e.default ? e.default() : [], f = [], g = [];
54
+ return m.forEach((t) => {
55
+ t.toString(), t.props && t.props.icon ? f.push(t) : g.push(t);
41
56
  }), x(
42
57
  "div",
43
58
  {
@@ -53,13 +68,13 @@ const oe = /* @__PURE__ */ H(te, [["render", ne]]), k = B({
53
68
  },
54
69
  [
55
70
  // Conditionally include the div for iconSlot
56
- ...h.length ? [
71
+ ...f.length ? [
57
72
  x(
58
73
  "div",
59
74
  {
60
75
  class: ["mn-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-child-shrink-0", "i-big", "bg-main", "radius-thin"]
61
76
  },
62
- h
77
+ f
63
78
  )
64
79
  ] : [],
65
80
  x(
@@ -73,17 +88,16 @@ const oe = /* @__PURE__ */ H(te, [["render", ne]]), k = B({
73
88
  {
74
89
  class: ["p-big", "t-medium", "mn-r-auto"]
75
90
  },
76
- C
91
+ g
77
92
  )
78
93
  ]
79
94
  ),
80
- x(oe, { class: "i-medium mn-r-medium", type: "chevron" })
81
- // Inserting IconChevronRight directly
95
+ x(ne, { class: "i-medium mn-r-medium", type: "chevron", theme: s.theme })
82
96
  ]
83
97
  );
84
98
  };
85
99
  }
86
- }), ae = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, z = {
100
+ }), ae = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, O = {
87
101
  __name: "ProfileCompletion",
88
102
  props: {
89
103
  user: Object,
@@ -91,19 +105,19 @@ const oe = /* @__PURE__ */ H(te, [["render", ne]]), k = B({
91
105
  cta: Boolean
92
106
  },
93
107
  setup(s) {
94
- const { user: e, cta: c, target: h } = s, C = U(0), t = (v) => {
95
- let l = 0, u = 0;
96
- function _(i) {
97
- for (let n in i)
98
- i.hasOwnProperty(n) && (i[n] && typeof i[n] == "object" && !Array.isArray(i[n]) ? _(i[n]) : (l++, i[n] != null && i[n] !== "" && u++));
108
+ const { user: e, cta: m, target: f } = s, g = U(0), t = (v) => {
109
+ let o = 0, u = 0;
110
+ function h(i) {
111
+ for (let a in i)
112
+ i.hasOwnProperty(a) && (i[a] && typeof i[a] == "object" && !Array.isArray(i[a]) ? h(i[a]) : (o++, i[a] != null && i[a] !== "" && u++));
99
113
  }
100
- return _(v), l === 0 ? 0 : Math.round(u / l * 100);
114
+ return h(v), o === 0 ? 0 : Math.round(u / o * 100);
101
115
  };
102
- return h && (C.value = t(h)), (v, l) => {
103
- const u = R("router-link");
104
- return d(), p("section", ae, [
105
- o("h3", null, " Profile completed at " + w(C.value) + "% ", 1),
106
- s.cta ? (d(), y(u, {
116
+ return f && (g.value = t(f)), (v, o) => {
117
+ const u = z("router-link");
118
+ return d(), _("section", ae, [
119
+ n("h3", null, " Profile completed at " + $(g.value) + "% ", 1),
120
+ s.cta ? (d(), w(u, {
107
121
  key: 0,
108
122
  to: {
109
123
  name: "User Edit Profile",
@@ -111,72 +125,72 @@ const oe = /* @__PURE__ */ H(te, [["render", ne]]), k = B({
111
125
  },
112
126
  class: "mn-t-regular t-black bg-white w-100 button"
113
127
  }, {
114
- default: g(() => [
115
- Z(" Fill Profile ")
128
+ default: C(() => [
129
+ S(" Fill Profile ")
116
130
  ]),
117
131
  _: 1
118
- }, 8, ["to"])) : $("", !0)
132
+ }, 8, ["to"])) : y("", !0)
119
133
  ]);
120
134
  };
121
135
  }
122
- }, le = {}, de = {
136
+ }, oe = {}, le = {
123
137
  width: "80",
124
138
  height: "80",
125
139
  viewBox: "0 0 80 80",
126
140
  fill: "none",
127
141
  xmlns: "http://www.w3.org/2000/svg"
128
- }, ue = /* @__PURE__ */ o("path", {
142
+ }, de = /* @__PURE__ */ n("path", {
129
143
  d: "M12 66V32H68V66C68 69.25 65.25 72 62 72H18C14.75 72 12 69.25 12 66ZM52 42V46C52 47.125 52.875 48 54 48H58C59.125 48 60 47.125 60 46V42C60 40.875 59.125 40 58 40H54C52.875 40 52 40.875 52 42ZM52 58V62C52 63.125 52.875 64 54 64H58C59.125 64 60 63.125 60 62V58C60 56.875 59.125 56 58 56H54C52.875 56 52 56.875 52 58ZM36 42V46C36 47.125 36.875 48 38 48H42C43.125 48 44 47.125 44 46V42C44 40.875 43.125 40 42 40H38C36.875 40 36 40.875 36 42ZM36 58V62C36 63.125 36.875 64 38 64H42C43.125 64 44 63.125 44 62V58C44 56.875 43.125 56 42 56H38C36.875 56 36 56.875 36 58ZM20 42V46C20 47.125 20.875 48 22 48H26C27.125 48 28 47.125 28 46V42C28 40.875 27.125 40 26 40H22C20.875 40 20 40.875 20 42ZM20 58V62C20 63.125 20.875 64 22 64H26C27.125 64 28 63.125 28 62V58C28 56.875 27.125 56 26 56H22C20.875 56 20 56.875 20 58ZM62 16C65.25 16 68 18.75 68 22V28H12V22C12 18.75 14.75 16 18 16H24V10C24 8.875 24.875 8 26 8H30C31.125 8 32 8.875 32 10V16H48V10C48 8.875 48.875 8 50 8H54C55.125 8 56 8.875 56 10V16H62Z",
130
144
  fill: "white"
131
- }, null, -1), me = [
132
- ue
145
+ }, null, -1), ue = [
146
+ de
133
147
  ];
134
148
  function ce(s, e) {
135
- return d(), p("svg", de, me);
149
+ return d(), _("svg", le, ue);
136
150
  }
137
- const pe = /* @__PURE__ */ H(le, [["render", ce]]), _e = {}, fe = {
151
+ const me = /* @__PURE__ */ H(oe, [["render", ce]]), pe = {}, _e = {
138
152
  width: "80",
139
153
  height: "80",
140
154
  viewBox: "0 0 80 80",
141
155
  fill: "none",
142
156
  xmlns: "http://www.w3.org/2000/svg"
143
- }, he = /* @__PURE__ */ o("path", {
157
+ }, fe = /* @__PURE__ */ n("path", {
144
158
  d: "M9 19C9 17.1435 9.7375 15.363 11.0503 14.0503C12.363 12.7375 14.1435 12 16 12C17.8565 12 19.637 12.7375 20.9497 14.0503C22.2625 15.363 23 17.1435 23 19C23 20.8565 22.2625 22.637 20.9497 23.9497C19.637 25.2625 17.8565 26 16 26C14.1435 26 12.363 25.2625 11.0503 23.9497C9.7375 22.637 9 20.8565 9 19ZM8 38.7125C6.75 40.1125 6 41.975 6 44C6 46.025 6.75 47.8875 8 49.2875V38.7125ZM26.05 32.55C22.3375 35.8375 20 40.65 20 46C20 50.2875 21.5 54.225 24 57.3125V60C24 62.2125 22.2125 64 20 64H12C9.7875 64 8 62.2125 8 60V56.65C3.275 54.4 0 49.5875 0 44C0 36.2625 6.2625 30 14 30H18C21 30 23.775 30.9375 26.05 32.5375V32.55ZM56 60V57.3125C58.5 54.225 60 50.2875 60 46C60 40.65 57.6625 35.8375 53.95 32.5375C56.225 30.9375 59 30 62 30H66C73.7375 30 80 36.2625 80 44C80 49.5875 76.725 54.4 72 56.65V60C72 62.2125 70.2125 64 68 64H60C57.7875 64 56 62.2125 56 60ZM57 19C57 17.1435 57.7375 15.363 59.0503 14.0503C60.363 12.7375 62.1435 12 64 12C65.8565 12 67.637 12.7375 68.9497 14.0503C70.2625 15.363 71 17.1435 71 19C71 20.8565 70.2625 22.637 68.9497 23.9497C67.637 25.2625 65.8565 26 64 26C62.1435 26 60.363 25.2625 59.0503 23.9497C57.7375 22.637 57 20.8565 57 19ZM72 38.7125V49.3C73.25 47.8875 74 46.0375 74 44.0125C74 41.9875 73.25 40.125 72 38.725V38.7125ZM40 12C42.1217 12 44.1566 12.8429 45.6569 14.3431C47.1571 15.8434 48 17.8783 48 20C48 22.1217 47.1571 24.1566 45.6569 25.6569C44.1566 27.1571 42.1217 28 40 28C37.8783 28 35.8434 27.1571 34.3431 25.6569C32.8429 24.1566 32 22.1217 32 20C32 17.8783 32.8429 15.8434 34.3431 14.3431C35.8434 12.8429 37.8783 12 40 12ZM30 46C30 48.025 30.75 49.875 32 51.2875V40.7125C30.75 42.125 30 43.975 30 46ZM48 40.7125V51.3C49.25 49.8875 50 48.0375 50 46.0125C50 43.9875 49.25 42.125 48 40.725V40.7125ZM56 46C56 51.5875 52.725 56.4 48 58.65V64C48 66.2125 46.2125 68 44 68H36C33.7875 68 32 66.2125 32 64V58.65C27.275 56.4 24 51.5875 24 46C24 38.2625 30.2625 32 38 32H42C49.7375 32 56 38.2625 56 46Z",
145
159
  fill: "white"
146
- }, null, -1), Ce = [
147
- he
160
+ }, null, -1), he = [
161
+ fe
148
162
  ];
149
- function ge(s, e) {
150
- return d(), p("svg", fe, Ce);
163
+ function Ce(s, e) {
164
+ return d(), _("svg", _e, he);
151
165
  }
152
- const ve = /* @__PURE__ */ H(_e, [["render", ge]]), be = {}, we = {
166
+ const ge = /* @__PURE__ */ H(pe, [["render", Ce]]), ve = {}, be = {
153
167
  width: "56",
154
168
  height: "56",
155
169
  viewBox: "0 0 56 56",
156
170
  fill: "none",
157
171
  xmlns: "http://www.w3.org/2000/svg"
158
- }, ye = /* @__PURE__ */ o("path", {
172
+ }, we = /* @__PURE__ */ n("path", {
159
173
  d: "M28.2899 50C24.4282 50.007 20.6332 48.9927 17.2899 47.06L12.5299 49.17C11.6317 49.567 10.6307 49.6695 9.67068 49.4627C8.71061 49.2558 7.84068 48.7503 7.1856 48.0186C6.53051 47.2869 6.12391 46.3666 6.02409 45.3896C5.92426 44.4126 6.13634 43.4291 6.62991 42.58L8.96991 38.58C6.65145 34.3531 5.78562 29.4816 6.50556 24.7147C7.22549 19.9478 9.49132 15.5493 12.9546 12.1956C16.418 8.84187 20.887 6.71863 25.6747 6.15233C30.4623 5.58604 35.3034 6.60805 39.4536 9.06121C43.6037 11.5144 46.8332 15.2629 48.6454 19.7303C50.4576 24.1977 50.7522 29.1367 49.4839 33.7879C48.2155 38.4391 45.4545 42.5448 41.6254 45.4739C37.7962 48.403 33.1109 49.9932 28.2899 50ZM17.4799 42.81C17.8631 42.811 18.238 42.9221 18.5599 43.13C22.2995 45.5441 26.7982 46.4939 31.1945 45.7975C35.5908 45.1011 39.5757 42.8075 42.3861 39.3558C45.1966 35.9041 46.6349 31.537 46.4258 27.0908C46.2167 22.6446 44.3748 18.4318 41.2529 15.2591C38.1309 12.0864 33.9483 10.1769 29.5061 9.89616C25.0638 9.61544 20.6741 10.9833 17.1776 13.7377C13.6811 16.4921 11.3235 20.4396 10.5563 24.8241C9.78918 29.2086 10.6664 33.722 13.0199 37.5C13.2068 37.8111 13.3055 38.1671 13.3055 38.53C13.3055 38.8929 13.2068 39.2489 13.0199 39.56L10.0899 44.56C10.0202 44.6791 9.99023 44.8174 10.0043 44.9547C10.0184 45.0919 10.0759 45.2212 10.1683 45.3237C10.2608 45.4262 10.3834 45.4966 10.5186 45.5247C10.6537 45.5528 10.7943 45.5371 10.9199 45.48L16.6699 43C16.9236 42.8806 17.1996 42.8159 17.4799 42.81Z",
160
174
  fill: "white"
161
- }, null, -1), $e = /* @__PURE__ */ o("path", {
175
+ }, null, -1), ye = /* @__PURE__ */ n("path", {
162
176
  d: "M28.2898 30C27.7594 30 27.2507 29.7893 26.8756 29.4142C26.5005 29.0391 26.2898 28.5304 26.2898 28C26.2898 27.4696 26.5005 26.9609 26.8756 26.5858C27.2507 26.2107 27.7594 26 28.2898 26C28.8202 26 29.3289 26.2107 29.704 26.5858C30.0791 26.9609 30.2898 27.4696 30.2898 28C30.2898 28.5304 30.0791 29.0391 29.704 29.4142C29.3289 29.7893 28.8202 30 28.2898 30Z",
163
177
  fill: "white"
164
- }, null, -1), xe = /* @__PURE__ */ o("path", {
178
+ }, null, -1), $e = /* @__PURE__ */ n("path", {
165
179
  d: "M20.2898 30C19.7594 30 19.2507 29.7893 18.8756 29.4142C18.5005 29.0391 18.2898 28.5304 18.2898 28C18.2898 27.4696 18.5005 26.9609 18.8756 26.5858C19.2507 26.2107 19.7594 26 20.2898 26C20.8202 26 21.3289 26.2107 21.704 26.5858C22.0791 26.9609 22.2898 27.4696 22.2898 28C22.2898 28.5304 22.0791 29.0391 21.704 29.4142C21.3289 29.7893 20.8202 30 20.2898 30Z",
166
180
  fill: "white"
167
- }, null, -1), ke = /* @__PURE__ */ o("path", {
181
+ }, null, -1), ke = /* @__PURE__ */ n("path", {
168
182
  d: "M36.2898 30C35.7594 30 35.2507 29.7893 34.8756 29.4142C34.5005 29.0391 34.2898 28.5304 34.2898 28C34.2898 27.4696 34.5005 26.9609 34.8756 26.5858C35.2507 26.2107 35.7594 26 36.2898 26C36.8202 26 37.3289 26.2107 37.704 26.5858C38.0791 26.9609 38.2898 27.4696 38.2898 28C38.2898 28.5304 38.0791 29.0391 37.704 29.4142C37.3289 29.7893 36.8202 30 36.2898 30Z",
169
183
  fill: "white"
170
- }, null, -1), Pe = [
184
+ }, null, -1), xe = [
185
+ we,
171
186
  ye,
172
187
  $e,
173
- xe,
174
188
  ke
175
189
  ];
176
- function Me(s, e) {
177
- return d(), p("svg", we, Pe);
190
+ function Pe(s, e) {
191
+ return d(), _("svg", be, xe);
178
192
  }
179
- const Ve = /* @__PURE__ */ H(be, [["render", Me]]), V = Y.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = F({
193
+ const Me = /* @__PURE__ */ H(ve, [["render", Pe]]), V = W.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = A({
180
194
  all: [],
181
195
  current: {
182
196
  _id: "",
@@ -227,7 +241,7 @@ const Ve = /* @__PURE__ */ H(be, [["render", Me]]), V = Y.create({ baseURL: proc
227
241
  async delete(s) {
228
242
  try {
229
243
  await V.delete(`/api/users/${s._id}`);
230
- const e = r.all.findIndex((c) => c._id === s._id);
244
+ const e = r.all.findIndex((m) => m._id === s._id);
231
245
  e !== -1 && r.all.splice(e, 1);
232
246
  } catch (e) {
233
247
  console.error(e);
@@ -249,82 +263,82 @@ const Ve = /* @__PURE__ */ H(be, [["render", Me]]), V = Y.create({ baseURL: proc
249
263
  orders: []
250
264
  };
251
265
  }
252
- }, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
266
+ }, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
253
267
  __proto__: null,
254
268
  actions: M,
255
269
  mutations: P,
256
270
  state: r
257
271
  }, Symbol.toStringTag, { value: "Module" }));
258
- const Ue = { class: "for-transition w-100" }, He = {
272
+ const Ve = { class: "for-transition w-100" }, Ue = {
259
273
  key: 0,
260
274
  class: "flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"
261
- }, Ze = {
275
+ }, He = {
262
276
  key: 1,
263
277
  _id: "dash",
264
278
  class: "pd-b-extra pd-thin w-100"
265
- }, Se = { class: "flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, Ee = ["src"], Le = { class: "mn-thin" }, Ne = { class: "mn-thin t-main t-semi" }, Ie = { class: "mn-small p-medium" }, ze = { class: "mn-medium flex-center flex-nowrap flex" }, Oe = { class: "t-semi mn-small" }, Be = {
279
+ }, Ee = { class: "flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, Se = ["src"], Ze = { class: "mn-thin" }, Le = { class: "mn-thin t-main t-semi" }, Ne = { class: "mn-small p-medium" }, Ie = { class: "mn-medium flex-center flex-nowrap flex" }, Oe = { class: "t-semi mn-small" }, Re = {
266
280
  key: 4,
267
281
  class: "mn-t-small mn-thin"
268
- }, Re = /* @__PURE__ */ o("span", null, "Events", -1), Fe = /* @__PURE__ */ o("span", null, "Groups", -1), je = /* @__PURE__ */ o("span", null, "Posts", -1), Ae = /* @__PURE__ */ o("span", null, " Settings ", -1), Te = /* @__PURE__ */ o("span", { class: "t-red" }, " Logout ", -1), De = {
282
+ }, Be = /* @__PURE__ */ n("span", null, " Backoffice ", -1), ze = /* @__PURE__ */ n("span", null, "Events", -1), Ae = /* @__PURE__ */ n("span", null, "Groups", -1), Fe = /* @__PURE__ */ n("span", null, "Posts", -1), Te = /* @__PURE__ */ n("span", null, " Settings ", -1), je = /* @__PURE__ */ n("span", { class: "t-red" }, " Logout ", -1), De = {
269
283
  __name: "Profile",
270
284
  setup(s) {
271
- const e = N(), c = I(), h = U(!1);
272
- j(async () => {
273
- await M.read({ _id: e.params._id, user: f.user._id }), h.value = !0;
285
+ const e = N(), m = I(), f = U(!1);
286
+ F(async () => {
287
+ await M.read({ _id: e.params._id, user: p.user._id }), f.value = !0;
274
288
  });
275
- const C = ({ membership: v, isMember: l, targetId: u }) => {
276
- J.handleMembershipUpdate(r.current, v, l, u);
289
+ const g = ({ membership: v, isMember: o, targetId: u }) => {
290
+ q.handleMembershipUpdate(r.current, v, o, u);
277
291
  };
278
292
  function t() {
279
- L.logout(), c.push({ name: "Sign In" });
293
+ L.logout(), m.push({ name: "Sign In" });
280
294
  }
281
- return (v, l) => (d(), p("div", Ue, [
282
- r.current.status === "removed" ? (d(), p("div", He, " Sorry, user has been removed. ")) : (d(), p("div", Ze, [
283
- m(e).params._id === f.user._id && h.value ? (d(), y(z, {
295
+ return (v, o) => (d(), _("div", Ve, [
296
+ r.current.status === "removed" ? (d(), _("div", Ue, " Sorry, user has been removed. ")) : (d(), _("div", He, [
297
+ c(e).params._id === p.user._id && f.value ? (d(), w(O, {
284
298
  key: 0,
285
- user: f.user._id,
299
+ user: p.user._id,
286
300
  target: r.current,
287
301
  cta: !0
288
- }, null, 8, ["user", "target"])) : $("", !0),
289
- o("section", Se, [
290
- m(e).params._id === f.user._id ? (d(), y(Q, {
302
+ }, null, 8, ["user", "target"])) : y("", !0),
303
+ n("section", Ee, [
304
+ c(e).params._id === p.user._id ? (d(), w(K, {
291
305
  key: 0,
292
- onClick: l[0] || (l[0] = (u) => v.$router.push({
306
+ onClick: o[0] || (o[0] = (u) => v.$router.push({
293
307
  name: "User Edit Profile",
294
308
  params: {
295
- _id: f.user._id
309
+ _id: p.user._id
296
310
  }
297
311
  })),
298
312
  class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
299
- })) : $("", !0),
300
- r.current.profile.photo.length > 0 ? (d(), p("img", {
313
+ })) : y("", !0),
314
+ r.current.profile.photo.length > 0 ? (d(), _("img", {
301
315
  key: 1,
302
316
  src: (v.FILE_SERVER_URL || "") + r.current.profile.photo,
303
317
  class: "radius-extra bg-white mn-small object-fit-cover i-extra"
304
- }, null, 8, Ee)) : (d(), y(W, {
318
+ }, null, 8, Se)) : (d(), w(Q, {
305
319
  key: 2,
306
320
  class: "radius-medium mn-small i-extra"
307
321
  })),
308
- o("h3", Le, w(r.current.profile.name ? r.current.profile.name : "Not specified"), 1),
309
- o("p", Ne, " @" + w(r.current.username ? r.current.username : "Not specified"), 1),
310
- o("p", Ie, w(r.current.profile.description ? r.current.profile.description : "Not specified"), 1),
311
- o("div", ze, [
312
- (d(!0), p(A, null, T(r.current.roles, (u, _) => (d(), p("div", {
313
- class: D(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": _ !== r.current.roles.length - 1 }])
314
- }, w(u.icon) + " " + w(u.name), 3))), 256))
322
+ n("h3", Ze, $(r.current.profile.name ? r.current.profile.name : "Not specified"), 1),
323
+ n("p", Le, " @" + $(r.current.username ? r.current.username : "Not specified"), 1),
324
+ n("p", Ne, $(r.current.profile.description ? r.current.profile.description : "Not specified"), 1),
325
+ n("div", Ie, [
326
+ (d(!0), _(T, null, j(r.current.roles, (u, h) => (d(), _("div", {
327
+ class: D(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": h !== r.current.roles.length - 1 }])
328
+ }, $(u.icon) + " " + $(u.name), 3))), 256))
315
329
  ]),
316
- o("p", Oe, " 👨‍👨‍👧‍👧 " + w(r.current.numberOfMemberships) + " followers ", 1),
317
- f.user._id && m(e).params._id && m(e).params._id !== f.user._id ? (d(), y(q, {
330
+ n("p", Oe, " 👨‍👨‍👧‍👧 " + $(r.current.numberOfMemberships) + " followers ", 1),
331
+ p.user._id && c(e).params._id && c(e).params._id !== p.user._id ? (d(), w(Y, {
318
332
  key: 3,
319
333
  type: "user",
320
334
  isMember: r.current.isMember,
321
335
  targetId: r.current._id,
322
- userId: f.user._id,
336
+ userId: p.user._id,
323
337
  class: "w-min mn-medium mn-r-auto mn-l-auto",
324
- onUpdateMembership: C
325
- }, null, 8, ["isMember", "targetId", "userId"])) : $("", !0),
326
- Object.values(r.current.socials).some((u) => u) ? (d(), p("h4", Be, " Find Me in Socials ")) : $("", !0),
327
- a(K, {
338
+ onUpdateMembership: g
339
+ }, null, 8, ["isMember", "targetId", "userId"])) : y("", !0),
340
+ Object.values(r.current.socials).some((u) => u) ? (d(), _("h4", Re, " Find Me in Socials ")) : y("", !0),
341
+ l(J, {
328
342
  telegram: r.current.socials.telegram,
329
343
  facebook: r.current.socials.facebook,
330
344
  instagram: r.current.socials.instagram,
@@ -332,78 +346,104 @@ const Ue = { class: "for-transition w-100" }, He = {
332
346
  class: "mn-r-auto mn-l-auto"
333
347
  }, null, 8, ["telegram", "facebook", "instagram", "twitter"])
334
348
  ]),
335
- a(E, null, {
336
- default: g(() => [
337
- a(k, {
338
- onClick: l[1] || (l[1] = (u) => m(c).push({ name: "User Events", params: { _id: m(e).params._id } })),
349
+ p.user._id === c(e).params._id && (p.access.roles.includes("ROLE_MODERATOR") || p.access.roles.includes("ROLE_ADMIN")) ? (d(), w(E, {
350
+ key: 1,
351
+ class: "bg-black t-white"
352
+ }, {
353
+ default: C(() => [
354
+ l(k, {
355
+ onClick: o[1] || (o[1] = (u) => c(m).push({
356
+ name: "Backoffice",
357
+ params: {
358
+ _id: c(e).params._id
359
+ }
360
+ })),
361
+ class: "cursor-pointer",
362
+ theme: "white"
363
+ }, {
364
+ default: C(() => [
365
+ Be
366
+ ]),
367
+ _: 1
368
+ })
369
+ ]),
370
+ _: 1
371
+ })) : y("", !0),
372
+ l(E, { class: "bg-grey" }, {
373
+ default: C(() => [
374
+ l(k, {
375
+ onClick: o[2] || (o[2] = (u) => c(m).push({ name: "User Events", params: { _id: c(e).params._id } })),
339
376
  class: "cursor-pointer"
340
377
  }, {
341
- default: g(() => [
342
- a(pe, {
378
+ default: C(() => [
379
+ l(me, {
343
380
  class: "i-semi",
344
381
  icon: !0
345
382
  }),
346
- Re
383
+ ze
347
384
  ]),
348
385
  _: 1
349
386
  }),
350
- a(k, {
351
- onClick: l[2] || (l[2] = (u) => m(c).push({ name: "User Organizations", params: { _id: m(e).params._id } })),
387
+ l(k, {
388
+ onClick: o[3] || (o[3] = (u) => c(m).push({ name: "User Organizations", params: { _id: c(e).params._id } })),
352
389
  class: "cursor-pointer"
353
390
  }, {
354
- default: g(() => [
355
- a(ve, {
391
+ default: C(() => [
392
+ l(ge, {
356
393
  class: "i-semi",
357
394
  icon: !0
358
395
  }),
359
- Fe
396
+ Ae
360
397
  ]),
361
398
  _: 1
362
399
  }),
363
- a(k, {
364
- onClick: l[3] || (l[3] = (u) => m(c).push({ name: "User Blogposts", params: { _id: m(e).params._id } })),
400
+ l(k, {
401
+ onClick: o[4] || (o[4] = (u) => c(m).push({ name: "User Blogposts", params: { _id: c(e).params._id } })),
365
402
  class: "cursor-pointer"
366
403
  }, {
367
- default: g(() => [
368
- a(Ve, {
404
+ default: C(() => [
405
+ l(Me, {
369
406
  class: "i-semi",
370
407
  icon: !0
371
408
  }),
372
- je
409
+ Fe
373
410
  ]),
374
411
  _: 1
375
412
  })
376
413
  ]),
377
414
  _: 1
378
415
  }),
379
- f.user._id === m(e).params._id ? (d(), y(E, { key: 1 }, {
380
- default: g(() => [
381
- a(k, {
382
- onClick: l[4] || (l[4] = (u) => m(c).push({
416
+ p.user._id === c(e).params._id ? (d(), w(E, {
417
+ key: 2,
418
+ class: "bg-grey"
419
+ }, {
420
+ default: C(() => [
421
+ l(k, {
422
+ onClick: o[5] || (o[5] = (u) => c(m).push({
383
423
  name: "User Edit Profile",
384
424
  params: {
385
- _id: m(e).params._id
425
+ _id: c(e).params._id
386
426
  }
387
427
  })),
388
428
  class: "cursor-pointer"
389
429
  }, {
390
- default: g(() => [
391
- Ae
430
+ default: C(() => [
431
+ Te
392
432
  ]),
393
433
  _: 1
394
434
  }),
395
- a(k, {
435
+ l(k, {
396
436
  class: "cursor-pointer",
397
- onClick: l[5] || (l[5] = (u) => t())
437
+ onClick: o[6] || (o[6] = (u) => t())
398
438
  }, {
399
- default: g(() => [
400
- Te
439
+ default: C(() => [
440
+ je
401
441
  ]),
402
442
  _: 1
403
443
  })
404
444
  ]),
405
445
  _: 1
406
- })) : $("", !0)
446
+ })) : y("", !0)
407
447
  ]))
408
448
  ]));
409
449
  }
@@ -411,136 +451,136 @@ const Ue = { class: "for-transition w-100" }, He = {
411
451
  __proto__: null,
412
452
  default: De
413
453
  }, Symbol.toStringTag, { value: "Module" }));
414
- const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Username", -1), Je = /* @__PURE__ */ o("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), Ke = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Profile", -1), Qe = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, We = /* @__PURE__ */ o("h4", null, "Upload userpic", -1), Xe = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Socials", -1), et = /* @__PURE__ */ o("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), tt = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Account", -1), st = {
454
+ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Username", -1), Je = /* @__PURE__ */ n("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), Ke = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Profile", -1), Qe = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, We = /* @__PURE__ */ n("h4", null, "Upload userpic", -1), Xe = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Socials", -1), et = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), tt = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Account", -1), st = {
415
455
  __name: "ProfileEdit",
416
456
  async setup(s) {
417
- let e, c;
457
+ let e, m;
418
458
  U(null);
419
- const h = N(), C = I();
420
- [e, c] = G(() => M.read({ _id: f.user._id })), await e, c();
459
+ const f = N(), g = I();
460
+ [e, m] = G(() => M.read({ _id: p.user._id })), await e, m();
421
461
  const t = U(r.current);
422
462
  async function v() {
423
463
  await M.update(r.current);
424
464
  }
425
- async function l() {
465
+ async function o() {
426
466
  window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.") && (r.current.status = "removed", await M.update(r.current), L.logout());
427
467
  }
428
468
  function u() {
429
- C.replace({ name: "User Profile", params: { _id: r.current._id } });
469
+ g.replace({ name: "User Profile", params: { _id: r.current._id } });
430
470
  }
431
- return (_, i) => (d(), p("div", Ye, [
432
- m(h).params._id === f.user._id ? (d(), y(z, {
471
+ return (h, i) => (d(), _("div", Ye, [
472
+ c(f).params._id === p.user._id ? (d(), w(O, {
433
473
  key: 0,
434
- user: f.user._id,
474
+ user: p.user._id,
435
475
  target: t.value,
436
476
  cta: !1
437
- }, null, 8, ["user", "target"])) : $("", !0),
477
+ }, null, 8, ["user", "target"])) : y("", !0),
438
478
  qe,
439
- a(b, {
479
+ l(b, {
440
480
  field: t.value.username,
441
- "onUpdate:field": i[0] || (i[0] = (n) => t.value.username = n),
481
+ "onUpdate:field": i[0] || (i[0] = (a) => t.value.username = a),
442
482
  label: "@",
443
483
  placeholder: "Not specified",
444
484
  class: "mn-thin w-100 bg-grey pd-medium radius-small",
445
485
  disabled: "true",
446
- validation: _.organizationName
486
+ validation: h.organizationName
447
487
  }, null, 8, ["field", "validation"]),
448
488
  Je,
449
489
  Ke,
450
- o("div", Qe, [
451
- a(X, {
490
+ n("div", Qe, [
491
+ l(X, {
452
492
  photo: t.value.profile.photo,
453
- "onUpdate:photo": i[1] || (i[1] = (n) => t.value.profile.photo = n),
493
+ "onUpdate:photo": i[1] || (i[1] = (a) => t.value.profile.photo = a),
454
494
  uploadPath: "users/" + t.value._id + "/avatars",
455
495
  class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-thin radius-extra"
456
496
  }, null, 8, ["photo", "uploadPath"]),
457
497
  We
458
498
  ]),
459
- a(b, {
499
+ l(b, {
460
500
  field: t.value.profile.name,
461
- "onUpdate:field": i[2] || (i[2] = (n) => t.value.profile.name = n),
501
+ "onUpdate:field": i[2] || (i[2] = (a) => t.value.profile.name = a),
462
502
  label: "Name",
463
503
  placeholder: "Not specified",
464
504
  class: "mn-thin bg-grey pd-medium radius-small",
465
- validation: _.organizationName
505
+ validation: h.organizationName
466
506
  }, null, 8, ["field", "validation"]),
467
- a(b, {
507
+ l(b, {
468
508
  field: t.value.profile.description,
469
- "onUpdate:field": i[3] || (i[3] = (n) => t.value.profile.description = n),
509
+ "onUpdate:field": i[3] || (i[3] = (a) => t.value.profile.description = a),
470
510
  label: "Description",
471
511
  placeholder: "Not specified",
472
512
  class: "mn-semi bg-grey pd-medium radius-small",
473
513
  disabled: "true",
474
- validation: _.organizationName
514
+ validation: h.organizationName
475
515
  }, null, 8, ["field", "validation"]),
476
516
  Xe,
477
517
  et,
478
- a(b, {
518
+ l(b, {
479
519
  field: t.value.socials.instagram,
480
- "onUpdate:field": i[4] || (i[4] = (n) => t.value.socials.instagram = n),
520
+ "onUpdate:field": i[4] || (i[4] = (a) => t.value.socials.instagram = a),
481
521
  label: "Instagram",
482
522
  placeholder: "",
483
523
  class: "mn-thin bg-grey pd-medium radius-small"
484
524
  }, null, 8, ["field"]),
485
- a(b, {
525
+ l(b, {
486
526
  field: t.value.socials.twitter,
487
- "onUpdate:field": i[5] || (i[5] = (n) => t.value.socials.twitter = n),
527
+ "onUpdate:field": i[5] || (i[5] = (a) => t.value.socials.twitter = a),
488
528
  label: "Twitter",
489
529
  placeholder: "",
490
530
  class: "mn-thin bg-grey pd-medium radius-small"
491
531
  }, null, 8, ["field"]),
492
- a(b, {
532
+ l(b, {
493
533
  field: t.value.socials.facebook,
494
- "onUpdate:field": i[6] || (i[6] = (n) => t.value.socials.facebook = n),
534
+ "onUpdate:field": i[6] || (i[6] = (a) => t.value.socials.facebook = a),
495
535
  label: "Facebook",
496
536
  placeholder: "",
497
537
  class: "mn-thin bg-grey pd-medium radius-small"
498
538
  }, null, 8, ["field"]),
499
- a(b, {
539
+ l(b, {
500
540
  field: t.value.socials.telegram,
501
- "onUpdate:field": i[7] || (i[7] = (n) => t.value.socials.telegram = n),
541
+ "onUpdate:field": i[7] || (i[7] = (a) => t.value.socials.telegram = a),
502
542
  label: "Telegram",
503
543
  placeholder: "",
504
544
  class: "mn-semi bg-grey pd-medium radius-small"
505
545
  }, null, 8, ["field"]),
506
546
  tt,
507
- a(b, {
547
+ l(b, {
508
548
  field: t.value.phone,
509
- "onUpdate:field": i[8] || (i[8] = (n) => t.value.phone = n),
549
+ "onUpdate:field": i[8] || (i[8] = (a) => t.value.phone = a),
510
550
  label: "Phone",
511
551
  placeholder: "Not specified",
512
552
  class: "mn-thin bg-grey pd-medium mn-thin radius-small",
513
553
  disabled: "true",
514
- validation: _.organizationName
554
+ validation: h.organizationName
515
555
  }, null, 8, ["field", "validation"]),
516
- a(b, {
556
+ l(b, {
517
557
  field: t.value.email,
518
- "onUpdate:field": i[9] || (i[9] = (n) => t.value.email = n),
558
+ "onUpdate:field": i[9] || (i[9] = (a) => t.value.email = a),
519
559
  label: "Email",
520
560
  placeholder: "Not specified",
521
561
  class: "mn-semi bg-grey pd-medium radius-small",
522
562
  disabled: !0,
523
- validation: _.organizationName
563
+ validation: h.organizationName
524
564
  }, null, 8, ["field", "validation"]),
525
- a(S, {
565
+ l(Z, {
526
566
  submit: v,
527
567
  callback: u,
528
568
  class: "mn-thin"
529
569
  }, {
530
- default: g(() => [
531
- Z("Save")
570
+ default: C(() => [
571
+ S("Save")
532
572
  ]),
533
573
  _: 1
534
574
  }),
535
- a(S, {
536
- submit: l,
537
- callback: _.a = () => {
538
- m(C).push({ name: "Sign In" });
575
+ l(Z, {
576
+ submit: o,
577
+ callback: h.a = () => {
578
+ c(g).push({ name: "Sign In" });
539
579
  },
540
580
  class: "mn-thin bg-red t-white"
541
581
  }, {
542
- default: g(() => [
543
- Z("Delete Account")
582
+ default: C(() => [
583
+ S("Delete Account")
544
584
  ]),
545
585
  _: 1
546
586
  }, 8, ["callback"])
@@ -549,7 +589,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
549
589
  }, rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
550
590
  __proto__: null,
551
591
  default: st
552
- }, Symbol.toStringTag, { value: "Module" })), Ct = [{
592
+ }, Symbol.toStringTag, { value: "Module" })), gt = [{
553
593
  path: "profile/:_id",
554
594
  name: "User Profile",
555
595
  meta: {
@@ -570,7 +610,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
570
610
  },
571
611
  component: () => import(
572
612
  /* webpackChunkName: "profile" */
573
- "./ProfileBlogposts-3aea0091.mjs"
613
+ "./ProfileBlogposts-070cb7e9.mjs"
574
614
  )
575
615
  }, {
576
616
  path: "profile/:_id/comments",
@@ -583,7 +623,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
583
623
  },
584
624
  component: () => import(
585
625
  /* webpackChunkName: "profile" */
586
- "./ProfileComments-9398be62.mjs"
626
+ "./ProfileComments-8a0c489c.mjs"
587
627
  )
588
628
  }, {
589
629
  path: "profile/:_id/edit",
@@ -606,7 +646,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
606
646
  },
607
647
  component: () => import(
608
648
  /* webpackChunkName: "profile" */
609
- "./ProfileEvents-82517a3b.mjs"
649
+ "./ProfileEvents-d978617d.mjs"
610
650
  )
611
651
  }, {
612
652
  path: "profile/:_id/likes",
@@ -619,7 +659,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
619
659
  },
620
660
  component: () => import(
621
661
  /* webpackChunkName: "profile" */
622
- "./ProfileLikes-0c8a7255.mjs"
662
+ "./ProfileLikes-f5ad4497.mjs"
623
663
  )
624
664
  }, {
625
665
  path: "profile/:_id/organizations",
@@ -632,12 +672,12 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
632
672
  },
633
673
  component: () => import(
634
674
  /* webpackChunkName: "profile" */
635
- "./ProfileOrganizations-5b5480d5.mjs"
675
+ "./ProfileOrganizations-6b1bc5b2.mjs"
636
676
  )
637
677
  }];
638
678
  export {
639
679
  De as Profile,
640
680
  st as ProfileEdit,
641
- Ct as usersRoutes,
642
- ht as usersStore
681
+ gt as usersRoutes,
682
+ Ct as usersStore
643
683
  };