@ozdao/prometheus-framework 0.0.85 → 0.0.87

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +1 -0
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +138 -0
  3. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +1944 -0
  4. package/dist/ButtonFollow-728aab73.mjs +130 -0
  5. package/dist/CardHeader-ce5a1a75.mjs +96 -0
  6. package/dist/CardOrganization-58b54995.js +1 -0
  7. package/dist/CardOrganization-91e79698.mjs +320 -0
  8. package/dist/CardOrganization-ee5c34ab.js +1 -0
  9. package/dist/CardOrganization-f70bd169.mjs +202 -0
  10. package/dist/Comments-63f154a6.js +9 -0
  11. package/dist/Comments-c092550f.mjs +76 -0
  12. package/dist/Comments-c5afa4d6.mjs +459 -0
  13. package/dist/EditProductImages-61ff4321.mjs +236 -0
  14. package/dist/Feed-8fd41524.js +1 -0
  15. package/dist/Feed-926cf4f3.mjs +355 -0
  16. package/dist/Feed-a31c43c2.mjs +423 -0
  17. package/dist/Feed-ecf37814.mjs +367 -0
  18. package/dist/IconEdit-736c89be.js +1 -0
  19. package/dist/IconEdit-e9fd4c6c.mjs +21 -0
  20. package/dist/PlaceholderUserpic-995da0fc.mjs +28 -0
  21. package/dist/Popup-0c791801.mjs +76 -0
  22. package/dist/Popup-105ef2c3.js +1 -0
  23. package/dist/Popup-82fb2c8a.mjs +76 -0
  24. package/dist/Product-2f3d592f.mjs +837 -0
  25. package/dist/Product-2fbf9d99.js +7 -0
  26. package/dist/Product-6c37ef35.js +7 -0
  27. package/dist/Product-7087b358.mjs +837 -0
  28. package/dist/ProductEdit-20709821.mjs +349 -0
  29. package/dist/ProductEdit-a81d13b9.js +1 -0
  30. package/dist/ProductEdit-c5067942.mjs +113 -0
  31. package/dist/ProfileBlogposts-79d5c858.mjs +63 -0
  32. package/dist/ProfileBlogposts-eca9916c.js +1 -0
  33. package/dist/ProfileBlogposts-fb014bc6.mjs +63 -0
  34. package/dist/ProfileComments-48f3d4bc.mjs +43 -0
  35. package/dist/ProfileComments-58094a50.mjs +43 -0
  36. package/dist/ProfileComments-b919f021.js +1 -0
  37. package/dist/ProfileEvents-05485e20.js +1 -0
  38. package/dist/ProfileEvents-20695376.mjs +55 -0
  39. package/dist/ProfileEvents-5d206e3d.mjs +55 -0
  40. package/dist/ProfileLikes-2f3a4488.js +1 -0
  41. package/dist/ProfileLikes-503712ec.mjs +43 -0
  42. package/dist/ProfileLikes-b5ac7f48.mjs +43 -0
  43. package/dist/ProfileOrganizations-0b76e38f.js +1 -0
  44. package/dist/ProfileOrganizations-32ab1e30.mjs +211 -0
  45. package/dist/ProfileOrganizations-3f305f4e.mjs +210 -0
  46. package/dist/ProfileOrganizations-50fce34e.js +1 -0
  47. package/dist/Publics-3f277c17.js +1 -0
  48. package/dist/Publics-49dbeafc.js +1 -0
  49. package/dist/Publics-9ebffff1.mjs +122 -0
  50. package/dist/Publics-b0fad2b0.mjs +1926 -0
  51. package/dist/Tab-58cd105f.mjs +46 -0
  52. package/dist/Tab-6f0a4909.js +1 -0
  53. package/dist/UploadImage-441e8526.js +1 -0
  54. package/dist/UploadImage-d1dbc280.mjs +99 -0
  55. package/dist/UploadImage-ff8f9a0c.mjs +83 -0
  56. package/dist/auth-35ef1791.mjs +1502 -0
  57. package/dist/auth.client.cjs +2 -2
  58. package/dist/auth.client.js +61 -41
  59. package/dist/auth.validation-29113f37.mjs +20 -0
  60. package/dist/categories-d669f3af.mjs +225 -0
  61. package/dist/community.client.cjs +1 -9
  62. package/dist/community.client.js +369 -741
  63. package/dist/community.server.js +16 -4
  64. package/dist/community.server.mjs +16 -4
  65. package/dist/events.client.cjs +1 -1
  66. package/dist/events.client.js +433 -331
  67. package/dist/events.server.js +19 -2
  68. package/dist/events.server.mjs +19 -2
  69. package/dist/inputs.validation-24ae76b9.js +1 -0
  70. package/dist/modules/constructor/components/elements/Bullets.vue.d.ts +15 -0
  71. package/dist/modules/constructor/components/elements/Caption.vue.d.ts +15 -0
  72. package/dist/modules/constructor/components/elements/H2.vue.d.ts +16 -0
  73. package/dist/modules/constructor/components/elements/Image.vue.d.ts +8 -0
  74. package/dist/modules/constructor/components/elements/ImageUpload.vue.d.ts +9 -0
  75. package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +12 -0
  76. package/dist/modules/constructor/components/sections/Constructor.vue.d.ts +7 -0
  77. package/dist/modules/events/components/sections/Feed.vue.d.ts +1 -0
  78. package/dist/modules/icons/entities/IconCommunity.vue.d.ts +2 -0
  79. package/dist/organizations-1b4c84ee.mjs +121 -0
  80. package/dist/organizations-af43bda4.js +1 -0
  81. package/dist/organizations.client-253c8068.mjs +3179 -0
  82. package/dist/organizations.client-c60d7659.js +3 -0
  83. package/dist/organizations.client.cjs +1 -3
  84. package/dist/organizations.client.js +50 -3026
  85. package/dist/organizations.server.js +1 -1
  86. package/dist/organizations.server.mjs +1 -1
  87. package/dist/style.css +1 -1
  88. package/dist/users.client.cjs +1 -1
  89. package/dist/users.client.js +245 -208
  90. package/package.json +1 -1
  91. package/src/modules/auth/router/auth.js +28 -7
  92. package/src/modules/community/community.client.js +1 -12
  93. package/src/modules/community/components/pages/BlogPost.vue +1 -1
  94. package/src/modules/community/components/pages/CreateBlogPost.vue +8 -151
  95. package/src/modules/community/middlewares/server/verifyBlogpost.js +24 -11
  96. package/src/modules/{community → constructor}/components/elements/Textarea.vue +3 -11
  97. package/src/modules/constructor/components/sections/Constructor.vue +167 -0
  98. package/src/modules/events/components/blocks/CardEvent.vue +14 -6
  99. package/src/modules/events/components/pages/EditEvent.vue +228 -133
  100. package/src/modules/events/components/sections/Feed.vue +7 -1
  101. package/src/modules/events/controllers/events.controller.js +9 -0
  102. package/src/modules/events/controllers/tickets.controller.js +2 -1
  103. package/src/modules/events/models/event.model.js +10 -0
  104. package/src/modules/events/store/events.js +15 -19
  105. package/src/modules/icons/entities/IconCommunity.vue +8 -0
  106. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -5
  107. package/src/modules/organizations/components/sections/Publics.vue +3 -3
  108. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  109. package/src/modules/organizations/organizations.client.js +0 -2
  110. package/src/modules/users/components/pages/Profile.vue +15 -4
  111. package/src/modules/users/components/pages/ProfileEvents.vue +3 -3
  112. package/src/modules/organizations/components/blocks/CardOrganizationSocial.vue +0 -46
  113. /package/src/modules/{community → constructor}/components/elements/Bullets.vue +0 -0
  114. /package/src/modules/{community → constructor}/components/elements/Caption.vue +0 -0
  115. /package/src/modules/{community → constructor}/components/elements/H2.vue +0 -0
  116. /package/src/modules/{community → constructor}/components/elements/Image.vue +0 -0
  117. /package/src/modules/{community → constructor}/components/elements/ImageUpload.vue +0 -0
@@ -1,43 +1,43 @@
1
- import { openBlock as d, createElementBlock as C, renderSlot as L, createElementVNode as r, defineComponent as B, h as V, ref as H, resolveComponent as I, toDisplayString as $, createBlock as w, withCtx as p, createTextVNode as Z, createCommentVNode as P, reactive as O, onMounted as R, unref as l, Fragment as j, renderList as A, normalizeClass as F, createVNode as a, withAsyncContext as T } from "vue";
2
- import { _ as N, a as G, s as _, F as b, b as D } from "./auth-8b5aac7a.mjs";
3
- import { B as Y, m as q } from "./ButtonFollow-c9484003.mjs";
4
- import { I as J, _ as K } from "./UploadImage-74280ea3.mjs";
5
- import { P as Q } from "./PlaceholderUserpic-e44ccca8.mjs";
6
- import { useRoute as E, useRouter as S } from "vue-router";
7
- import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
1
+ import { openBlock as m, createElementBlock as C, renderSlot as z, createElementVNode as s, defineComponent as I, h as x, ref as V, resolveComponent as B, toDisplayString as $, createBlock as y, withCtx as p, createTextVNode as L, createCommentVNode as P, reactive as O, onMounted as R, unref as u, Fragment as j, renderList as A, normalizeClass as F, createVNode as d, withAsyncContext as T } from "vue";
2
+ import { _ as H, a as G, s as _, c as D, F as b, b as Y } from "./auth-35ef1791.mjs";
3
+ import { B as q, m as J } from "./ButtonFollow-728aab73.mjs";
4
+ import { I as K } from "./IconEdit-e9fd4c6c.mjs";
5
+ import { P as Q } from "./PlaceholderUserpic-995da0fc.mjs";
6
+ import { useRoute as N, useRouter as E } from "vue-router";
8
7
  import "./inputs.validation-6960f71b.mjs";
9
- import "./auth.validation-69488f55.mjs";
8
+ import { _ as W } from "./UploadImage-ff8f9a0c.mjs";
9
+ import "./auth.validation-29113f37.mjs";
10
10
  import "./globals-96ba60e4.mjs";
11
11
  import "vue-i18n";
12
- const W = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium bg-grey radius-medium" }, M = {
12
+ const X = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium bg-grey radius-medium" }, Z = {
13
13
  __name: "Menu",
14
- setup(s) {
15
- return (e, m) => (d(), C("section", W, [
16
- L(e.$slots, "default")
14
+ setup(t) {
15
+ return (e, c) => (m(), C("section", X, [
16
+ z(e.$slots, "default")
17
17
  ]));
18
18
  }
19
- }, X = {}, ee = {
19
+ }, ee = {}, te = {
20
20
  width: "80",
21
21
  height: "80",
22
22
  viewBox: "0 0 80 80",
23
23
  fill: "none",
24
24
  xmlns: "http://www.w3.org/2000/svg"
25
- }, te = /* @__PURE__ */ r("path", {
25
+ }, se = /* @__PURE__ */ s("path", {
26
26
  fill: "black",
27
27
  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"
28
- }, null, -1), se = [
29
- te
28
+ }, null, -1), re = [
29
+ se
30
30
  ];
31
- function re(s, e) {
32
- return d(), C("svg", ee, se);
31
+ function ie(t, e) {
32
+ return m(), C("svg", te, re);
33
33
  }
34
- const ie = /* @__PURE__ */ N(X, [["render", re]]), y = B({
35
- setup(s, { slots: e }) {
34
+ const ne = /* @__PURE__ */ H(ee, [["render", ie]]), w = I({
35
+ setup(t, { slots: e }) {
36
36
  return () => {
37
- const m = e.default ? e.default() : [], h = [], f = [];
38
- return m.forEach((t) => {
39
- t.toString(), t.props && t.props.icon ? h.push(t) : f.push(t);
40
- }), V(
37
+ const c = e.default ? e.default() : [], f = [], h = [];
38
+ return c.forEach((r) => {
39
+ r.toString(), r.props && r.props.icon ? f.push(r) : h.push(r);
40
+ }), x(
41
41
  "div",
42
42
  {
43
43
  class: [
@@ -52,103 +52,130 @@ const ie = /* @__PURE__ */ N(X, [["render", re]]), y = B({
52
52
  },
53
53
  [
54
54
  // Conditionally include the div for iconSlot
55
- ...h.length ? [
56
- V(
55
+ ...f.length ? [
56
+ x(
57
57
  "div",
58
58
  {
59
59
  class: ["mn-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-child-shrink-0", "i-big", "bg-main", "radius-thin"]
60
60
  },
61
- h
61
+ f
62
62
  )
63
63
  ] : [],
64
- V(
64
+ x(
65
65
  "div",
66
66
  {
67
67
  class: ["w-100", "mn-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
68
68
  },
69
69
  [
70
- V(
70
+ x(
71
71
  "span",
72
72
  {
73
73
  class: ["p-big", "t-medium", "mn-r-auto"]
74
74
  },
75
- f
75
+ h
76
76
  )
77
77
  ]
78
78
  ),
79
- V(ie, { class: "i-medium mn-r-medium", type: "chevron" })
79
+ x(ne, { class: "i-medium mn-r-medium", type: "chevron" })
80
80
  // Inserting IconChevronRight directly
81
81
  ]
82
82
  );
83
83
  };
84
84
  }
85
- }), ne = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, z = {
85
+ }), oe = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, S = {
86
86
  __name: "ProfileCompletion",
87
87
  props: {
88
88
  user: Object,
89
89
  target: Object,
90
90
  cta: Boolean
91
91
  },
92
- setup(s) {
93
- const { user: e, cta: m, target: h } = s, f = H(0), t = (u) => {
94
- let g = 0, c = 0;
95
- function o(i) {
96
- for (let v in i)
97
- i.hasOwnProperty(v) && (i[v] && typeof i[v] == "object" && !Array.isArray(i[v]) ? o(i[v]) : (g++, i[v] != null && i[v] !== "" && c++));
92
+ setup(t) {
93
+ const { user: e, cta: c, target: f } = t, h = V(0), r = (g) => {
94
+ let i = 0, n = 0;
95
+ function a(o) {
96
+ for (let v in o)
97
+ o.hasOwnProperty(v) && (o[v] && typeof o[v] == "object" && !Array.isArray(o[v]) ? a(o[v]) : (i++, o[v] != null && o[v] !== "" && n++));
98
98
  }
99
- return o(u), g === 0 ? 0 : Math.round(c / g * 100);
99
+ return a(g), i === 0 ? 0 : Math.round(n / i * 100);
100
100
  };
101
- return h && (f.value = t(h)), (u, g) => {
102
- const c = I("router-link");
103
- return d(), C("section", ne, [
104
- r("h3", null, " Profile completed at " + $(f.value) + "% ", 1),
105
- s.cta ? (d(), w(c, {
101
+ return f && (h.value = r(f)), (g, i) => {
102
+ const n = B("router-link");
103
+ return m(), C("section", oe, [
104
+ s("h3", null, " Profile completed at " + $(h.value) + "% ", 1),
105
+ t.cta ? (m(), y(n, {
106
106
  key: 0,
107
107
  to: {
108
108
  name: "User Edit Profile",
109
- params: { _id: s.user }
109
+ params: { _id: t.user }
110
110
  },
111
111
  class: "mn-t-regular t-black bg-white w-100 button"
112
112
  }, {
113
113
  default: p(() => [
114
- Z(" Fill Profile ")
114
+ L(" Fill Profile ")
115
115
  ]),
116
116
  _: 1
117
117
  }, 8, ["to"])) : P("", !0)
118
118
  ]);
119
119
  };
120
120
  }
121
- }, ae = {}, oe = {
121
+ }, ae = {}, le = {
122
122
  width: "80",
123
123
  height: "80",
124
124
  viewBox: "0 0 80 80",
125
125
  fill: "none",
126
126
  xmlns: "http://www.w3.org/2000/svg"
127
- }, le = /* @__PURE__ */ r("path", {
127
+ }, de = /* @__PURE__ */ s("path", {
128
128
  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",
129
129
  fill: "white"
130
- }, null, -1), de = [
131
- le
130
+ }, null, -1), ue = [
131
+ de
132
132
  ];
133
- function ue(s, e) {
134
- return d(), C("svg", oe, de);
133
+ function me(t, e) {
134
+ return m(), C("svg", le, ue);
135
135
  }
136
- const me = /* @__PURE__ */ N(ae, [["render", ue]]), ce = {}, pe = {
136
+ const ce = /* @__PURE__ */ H(ae, [["render", me]]), pe = {}, _e = {
137
137
  width: "80",
138
138
  height: "80",
139
139
  viewBox: "0 0 80 80",
140
140
  fill: "none",
141
141
  xmlns: "http://www.w3.org/2000/svg"
142
- }, _e = /* @__PURE__ */ r("path", {
142
+ }, fe = /* @__PURE__ */ s("path", {
143
143
  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",
144
144
  fill: "white"
145
- }, null, -1), fe = [
146
- _e
145
+ }, null, -1), Ce = [
146
+ fe
147
147
  ];
148
- function he(s, e) {
149
- return d(), C("svg", pe, fe);
148
+ function he(t, e) {
149
+ return m(), C("svg", _e, Ce);
150
150
  }
151
- const Ce = /* @__PURE__ */ N(ce, [["render", he]]), x = G.create({ baseURL: process.env.API_URL, withCredentials: !0 }), n = O({
151
+ const ge = /* @__PURE__ */ H(pe, [["render", he]]), ve = {}, be = {
152
+ width: "56",
153
+ height: "56",
154
+ viewBox: "0 0 56 56",
155
+ fill: "none",
156
+ xmlns: "http://www.w3.org/2000/svg"
157
+ }, we = /* @__PURE__ */ s("path", {
158
+ 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",
159
+ fill: "white"
160
+ }, null, -1), ye = /* @__PURE__ */ s("path", {
161
+ 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",
162
+ fill: "white"
163
+ }, null, -1), $e = /* @__PURE__ */ s("path", {
164
+ 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",
165
+ fill: "white"
166
+ }, null, -1), Pe = /* @__PURE__ */ s("path", {
167
+ 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",
168
+ fill: "white"
169
+ }, null, -1), xe = [
170
+ we,
171
+ ye,
172
+ $e,
173
+ Pe
174
+ ];
175
+ function Me(t, e) {
176
+ return m(), C("svg", be, xe);
177
+ }
178
+ const ke = /* @__PURE__ */ H(ve, [["render", Me]]), k = G.create({ baseURL: process.env.API_URL, withCredentials: !0 }), l = O({
152
179
  all: [],
153
180
  current: {
154
181
  _id: "",
@@ -170,47 +197,47 @@ const Ce = /* @__PURE__ */ N(ce, [["render", he]]), x = G.create({ baseURL: proc
170
197
  roles: []
171
198
  }
172
199
  }), U = {
173
- async create(s) {
200
+ async create(t) {
174
201
  try {
175
- const e = await x.post("/api/users", s);
176
- return k.set(e.data, "current"), Promise.resolve(e.data);
202
+ const e = await k.post("/api/users", t);
203
+ return M.set(e.data, "current"), Promise.resolve(e.data);
177
204
  } catch (e) {
178
205
  return console.error(e), Promise.reject(e);
179
206
  }
180
207
  },
181
- async read(s = {}) {
182
- s.params = {}, s._id && (s.params._id = s._id), s.user && (s.params.user = s.user);
208
+ async read(t = {}) {
209
+ t.params = {}, t._id && (t.params._id = t._id), t.user && (t.params.user = t.user);
183
210
  try {
184
- const e = await x.get("/api/users", { params: s.params });
185
- return s._id ? k.set(e.data[0], "current") : k.set(e.data, "all"), Promise.resolve(e.data);
211
+ const e = await k.get("/api/users", { params: t.params });
212
+ return t._id ? M.set(e.data[0], "current") : M.set(e.data, "all"), Promise.resolve(e.data);
186
213
  } catch (e) {
187
214
  return console.error(e), Promise.reject(e);
188
215
  }
189
216
  },
190
- async update(s) {
191
- console.log(s);
217
+ async update(t) {
218
+ console.log(t);
192
219
  try {
193
- const e = await x.put(`/api/users/${s._id}`, s);
194
- return k.set(e.data, "current"), Promise.resolve(e.data);
220
+ const e = await k.put(`/api/users/${t._id}`, t);
221
+ return M.set(e.data, "current"), Promise.resolve(e.data);
195
222
  } catch (e) {
196
223
  return console.error(e), Promise.reject(e);
197
224
  }
198
225
  },
199
- async delete(s) {
226
+ async delete(t) {
200
227
  try {
201
- await x.delete(`/api/users/${s._id}`);
202
- const e = n.all.findIndex((m) => m._id === s._id);
203
- e !== -1 && n.all.splice(e, 1);
228
+ await k.delete(`/api/users/${t._id}`);
229
+ const e = l.all.findIndex((c) => c._id === t._id);
230
+ e !== -1 && l.all.splice(e, 1);
204
231
  } catch (e) {
205
232
  console.error(e);
206
233
  }
207
234
  }
208
- }, k = {
209
- set(s, e) {
210
- n[e] = s;
235
+ }, M = {
236
+ set(t, e) {
237
+ l[e] = t;
211
238
  },
212
239
  clean() {
213
- n.current = {
240
+ l.current = {
214
241
  phone: "",
215
242
  name: "",
216
243
  surname: "",
@@ -221,37 +248,40 @@ const Ce = /* @__PURE__ */ N(ce, [["render", he]]), x = G.create({ baseURL: proc
221
248
  orders: []
222
249
  };
223
250
  }
224
- }, rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
251
+ }, pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
225
252
  __proto__: null,
226
253
  actions: U,
227
- mutations: k,
228
- state: n
254
+ mutations: M,
255
+ state: l
229
256
  }, Symbol.toStringTag, { value: "Module" }));
230
- const ge = { class: "for-transition w-100" }, ve = {
257
+ const Ve = { class: "for-transition w-100" }, Ue = {
231
258
  _id: "dash",
232
259
  class: "pd-thin w-100"
233
- }, be = { class: "t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, ye = ["src"], we = { class: "" }, $e = { class: "mn-small t-main t-semi" }, Pe = { class: "mn-medium flex-center flex-nowrap flex" }, Ve = { class: "t-semi mn-small" }, ke = /* @__PURE__ */ r("span", null, "Events", -1), xe = /* @__PURE__ */ r("span", null, "Groups", -1), Ue = /* @__PURE__ */ r("span", null, "Posts", -1), Me = /* @__PURE__ */ r("span", null, "Comments", -1), He = /* @__PURE__ */ r("span", null, "Likes", -1), Ne = /* @__PURE__ */ r("span", null, " Settings ", -1), Ze = /* @__PURE__ */ r("span", { class: "t-red" }, " Logout ", -1), Ee = {
260
+ }, He = { class: "t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, Ze = ["src"], Le = { class: "" }, Ne = { class: "mn-small t-main t-semi" }, Ee = { class: "mn-medium flex-center flex-nowrap flex" }, Se = { class: "t-semi mn-small" }, ze = /* @__PURE__ */ s("span", null, "Events", -1), Ie = /* @__PURE__ */ s("span", null, "Groups", -1), Be = /* @__PURE__ */ s("span", null, "Posts", -1), Oe = /* @__PURE__ */ s("span", null, "Comments", -1), Re = /* @__PURE__ */ s("span", null, "Likes", -1), je = /* @__PURE__ */ s("span", null, " Settings ", -1), Ae = /* @__PURE__ */ s("span", { class: "t-red" }, " Logout ", -1), Fe = {
234
261
  __name: "Profile",
235
- setup(s) {
236
- const e = E(), m = S();
262
+ setup(t) {
263
+ const e = N(), c = E(), f = V(!1);
237
264
  R(async () => {
238
- await U.read({ _id: e.params._id, user: _.user._id });
265
+ await U.read({ _id: e.params._id, user: _.user._id }), f.value = !0;
239
266
  });
240
- const h = ({ membership: f, isMember: t, targetId: u }) => {
241
- q.handleMembershipUpdate(n.current, f, t, u);
267
+ const h = ({ membership: g, isMember: i, targetId: n }) => {
268
+ J.handleMembershipUpdate(l.current, g, i, n);
242
269
  };
243
- return (f, t) => (d(), C("div", ge, [
244
- r("div", ve, [
245
- l(e).params._id === _.user._id ? (d(), w(z, {
270
+ function r() {
271
+ D.logout(), c.push({ name: "Sign In" });
272
+ }
273
+ return (g, i) => (m(), C("div", Ve, [
274
+ s("div", Ue, [
275
+ u(e).params._id === _.user._id && f.value ? (m(), y(S, {
246
276
  key: 0,
247
277
  user: _.user._id,
248
- target: n.current,
278
+ target: l.current,
249
279
  cta: !0
250
280
  }, null, 8, ["user", "target"])) : P("", !0),
251
- r("section", be, [
252
- l(e).params._id === _.user._id ? (d(), w(J, {
281
+ s("section", He, [
282
+ u(e).params._id === _.user._id ? (m(), y(K, {
253
283
  key: 0,
254
- onClick: t[0] || (t[0] = (u) => f.$router.push({
284
+ onClick: i[0] || (i[0] = (n) => g.$router.push({
255
285
  name: "User Edit Profile",
256
286
  params: {
257
287
  _id: _.user._id
@@ -259,114 +289,121 @@ const ge = { class: "for-transition w-100" }, ve = {
259
289
  })),
260
290
  class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
261
291
  })) : P("", !0),
262
- n.current.profile.photo.length > 0 ? (d(), C("img", {
292
+ l.current.profile.photo.length > 0 ? (m(), C("img", {
263
293
  key: 1,
264
- src: n.current.profile.photo,
294
+ src: l.current.profile.photo,
265
295
  class: "radius-medium mn-small i-extra"
266
- }, null, 8, ye)) : (d(), w(Q, {
296
+ }, null, 8, Ze)) : (m(), y(Q, {
267
297
  key: 2,
268
298
  class: "radius-medium mn-small i-extra"
269
299
  })),
270
- r("h3", we, $(n.current.profile.name ? n.current.profile.name : "Не указан"), 1),
271
- r("p", $e, " @" + $(n.current.username ? n.current.username : "Не указан"), 1),
272
- r("div", Pe, [
273
- (d(!0), C(j, null, A(n.current.roles, (u, g) => (d(), C("div", {
274
- class: F(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": g !== n.current.roles.length - 1 }])
275
- }, $(u.icon) + " " + $(u.name), 3))), 256))
300
+ s("h3", Le, $(l.current.profile.name ? l.current.profile.name : "Не указан"), 1),
301
+ s("p", Ne, " @" + $(l.current.username ? l.current.username : "Не указан"), 1),
302
+ s("div", Ee, [
303
+ (m(!0), C(j, null, A(l.current.roles, (n, a) => (m(), C("div", {
304
+ class: F(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": a !== l.current.roles.length - 1 }])
305
+ }, $(n.icon) + " " + $(n.name), 3))), 256))
276
306
  ]),
277
- r("p", Ve, " 👨‍👨‍👧‍👧 " + $(n.current.numberOfMemberships) + " followers ", 1),
278
- _.user._id && l(e).params._id && l(e).params._id !== _.user._id ? (d(), w(Y, {
307
+ s("p", Se, " 👨‍👨‍👧‍👧 " + $(l.current.numberOfMemberships) + " followers ", 1),
308
+ _.user._id && u(e).params._id && u(e).params._id !== _.user._id ? (m(), y(q, {
279
309
  key: 3,
280
310
  type: "user",
281
- isMember: n.current.isMember,
282
- targetId: n.current._id,
311
+ isMember: l.current.isMember,
312
+ targetId: l.current._id,
283
313
  userId: _.user._id,
284
314
  class: "w-min mn-auto",
285
315
  onUpdateMembership: h
286
316
  }, null, 8, ["isMember", "targetId", "userId"])) : P("", !0)
287
317
  ]),
288
- a(M, null, {
318
+ d(Z, null, {
289
319
  default: p(() => [
290
- a(y, {
291
- onClick: t[1] || (t[1] = (u) => l(m).push({ name: "User Events", params: { _id: l(e).params._id } })),
320
+ d(w, {
321
+ onClick: i[1] || (i[1] = (n) => u(c).push({ name: "User Events", params: { _id: u(e).params._id } })),
292
322
  class: "cursor-pointer"
293
323
  }, {
294
324
  default: p(() => [
295
- a(me, {
325
+ d(ce, {
296
326
  class: "i-semi",
297
327
  icon: !0
298
328
  }),
299
- ke
329
+ ze
300
330
  ]),
301
331
  _: 1
302
332
  }),
303
- a(y, {
304
- onClick: t[2] || (t[2] = (u) => l(m).push({ name: "User Organizations", params: { _id: l(e).params._id } })),
333
+ d(w, {
334
+ onClick: i[2] || (i[2] = (n) => u(c).push({ name: "User Organizations", params: { _id: u(e).params._id } })),
305
335
  class: "cursor-pointer"
306
336
  }, {
307
337
  default: p(() => [
308
- a(Ce, {
338
+ d(ge, {
309
339
  class: "i-semi",
310
340
  icon: !0
311
341
  }),
312
- xe
342
+ Ie
313
343
  ]),
314
344
  _: 1
315
345
  }),
316
- a(y, {
317
- onClick: t[3] || (t[3] = (u) => l(m).push({ name: "User Blogposts", params: { _id: l(e).params._id } })),
346
+ d(w, {
347
+ onClick: i[3] || (i[3] = (n) => u(c).push({ name: "User Blogposts", params: { _id: u(e).params._id } })),
318
348
  class: "cursor-pointer"
319
349
  }, {
320
350
  default: p(() => [
321
- Ue
351
+ d(ke, {
352
+ class: "i-semi",
353
+ icon: !0
354
+ }),
355
+ Be
322
356
  ]),
323
357
  _: 1
324
358
  })
325
359
  ]),
326
360
  _: 1
327
361
  }),
328
- a(M, null, {
362
+ d(Z, null, {
329
363
  default: p(() => [
330
- a(y, {
331
- onClick: t[4] || (t[4] = (u) => l(m).push({ name: "User Comments", params: { _id: l(e).params._id } })),
364
+ d(w, {
365
+ onClick: i[4] || (i[4] = (n) => u(c).push({ name: "User Comments", params: { _id: u(e).params._id } })),
332
366
  class: "cursor-pointer"
333
367
  }, {
334
368
  default: p(() => [
335
- Me
369
+ Oe
336
370
  ]),
337
371
  _: 1
338
372
  }),
339
- a(y, {
340
- onClick: t[5] || (t[5] = (u) => l(m).push({ name: "User Likes", params: { _id: l(e).params._id } })),
373
+ d(w, {
374
+ onClick: i[5] || (i[5] = (n) => u(c).push({ name: "User Likes", params: { _id: u(e).params._id } })),
341
375
  class: "cursor-pointer"
342
376
  }, {
343
377
  default: p(() => [
344
- He
378
+ Re
345
379
  ]),
346
380
  _: 1
347
381
  })
348
382
  ]),
349
383
  _: 1
350
384
  }),
351
- _.user._id === l(e).params._id ? (d(), w(M, { key: 1 }, {
385
+ _.user._id === u(e).params._id ? (m(), y(Z, { key: 1 }, {
352
386
  default: p(() => [
353
- a(y, {
354
- onClick: t[6] || (t[6] = (u) => l(m).push({
387
+ d(w, {
388
+ onClick: i[6] || (i[6] = (n) => u(c).push({
355
389
  name: "User Edit Profile",
356
390
  params: {
357
- _id: l(e).params._id
391
+ _id: u(e).params._id
358
392
  }
359
393
  })),
360
394
  class: "cursor-pointer"
361
395
  }, {
362
396
  default: p(() => [
363
- Ne
397
+ je
364
398
  ]),
365
399
  _: 1
366
400
  }),
367
- a(y, { class: "cursor-pointer" }, {
401
+ d(w, {
402
+ class: "cursor-pointer",
403
+ onClick: i[7] || (i[7] = (n) => r())
404
+ }, {
368
405
  default: p(() => [
369
- Ze
406
+ Ae
370
407
  ]),
371
408
  _: 1
372
409
  })
@@ -376,124 +413,124 @@ const ge = { class: "for-transition w-100" }, ve = {
376
413
  ])
377
414
  ]));
378
415
  }
379
- }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
416
+ }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
380
417
  __proto__: null,
381
- default: Ee
418
+ default: Fe
382
419
  }, Symbol.toStringTag, { value: "Module" }));
383
- const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("h3", { class: "mn-small" }, "Username", -1), Be = /* @__PURE__ */ r("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), Ie = /* @__PURE__ */ r("h3", { class: "mn-small" }, "Profile", -1), Oe = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Re = /* @__PURE__ */ r("h4", null, "Upload userpic", -1), je = /* @__PURE__ */ r("p", { class: "mn-thin" }, "Select your birthday if you want to receive your birthday gift.", -1), Ae = /* @__PURE__ */ r("h3", { class: "mn-small" }, "Account", -1), Fe = /* @__PURE__ */ r("p", { class: "mn-thin" }, "If you want to change your account details please contact the administratior: admin@thecommunephuket.com", -1), Te = {
420
+ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("h3", { class: "mn-small" }, "Username", -1), Ye = /* @__PURE__ */ s("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), qe = /* @__PURE__ */ s("h3", { class: "mn-small" }, "Profile", -1), Je = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Ke = /* @__PURE__ */ s("h4", null, "Upload userpic", -1), Qe = /* @__PURE__ */ s("p", { class: "mn-thin" }, "Select your birthday if you want to receive your birthday gift.", -1), We = /* @__PURE__ */ s("h3", { class: "mn-small" }, "Account", -1), Xe = /* @__PURE__ */ s("p", { class: "mn-thin" }, "If you want to change your account details please contact the administratior: admin@thecommunephuket.com", -1), et = {
384
421
  __name: "ProfileEdit",
385
- async setup(s) {
386
- let e, m;
387
- H(null);
388
- const h = E(), f = S();
389
- [e, m] = T(() => U.read({ _id: _.user._id })), await e, m();
390
- const t = H(n.current);
391
- async function u() {
392
- await U.update(n.current);
422
+ async setup(t) {
423
+ let e, c;
424
+ V(null);
425
+ const f = N(), h = E();
426
+ [e, c] = T(() => U.read({ _id: _.user._id })), await e, c();
427
+ const r = V(l.current);
428
+ async function g() {
429
+ await U.update(l.current);
393
430
  }
394
- function g() {
395
- f.replace({ name: "User Profile", params: { _id: n.current._id } });
431
+ function i() {
432
+ h.replace({ name: "User Profile", params: { _id: l.current._id } });
396
433
  }
397
- return (c, o) => (d(), C("div", ze, [
398
- l(h).params._id === _.user._id ? (d(), w(z, {
434
+ return (n, a) => (m(), C("div", Ge, [
435
+ u(f).params._id === _.user._id ? (m(), y(S, {
399
436
  key: 0,
400
437
  user: _.user._id,
401
- target: t.value,
438
+ target: r.value,
402
439
  cta: !1
403
440
  }, null, 8, ["user", "target"])) : P("", !0),
404
- Le,
405
- a(b, {
406
- field: t.value.username,
407
- "onUpdate:field": o[0] || (o[0] = (i) => t.value.username = i),
441
+ De,
442
+ d(b, {
443
+ field: r.value.username,
444
+ "onUpdate:field": a[0] || (a[0] = (o) => r.value.username = o),
408
445
  label: "Username",
409
446
  placeholder: "Not specified",
410
447
  class: "mn-thin w-100 bg-grey pd-medium radius-small",
411
448
  disabled: "true",
412
- validation: c.organizationName
449
+ validation: n.organizationName
413
450
  }, null, 8, ["field", "validation"]),
414
- Be,
415
- Ie,
416
- r("div", Oe, [
417
- a(K, {
418
- photo: t.value.profile.photo,
419
- "onUpdate:photo": o[1] || (o[1] = (i) => t.value.profile.photo = i),
420
- uploadPath: "users/" + t.value._id + "/avatars",
451
+ Ye,
452
+ qe,
453
+ s("div", Je, [
454
+ d(W, {
455
+ photo: r.value.profile.photo,
456
+ "onUpdate:photo": a[1] || (a[1] = (o) => r.value.profile.photo = o),
457
+ uploadPath: "users/" + r.value._id + "/avatars",
421
458
  class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
422
459
  }, null, 8, ["photo", "uploadPath"]),
423
- Re
460
+ Ke
424
461
  ]),
425
- a(b, {
426
- field: t.value.profile.name,
427
- "onUpdate:field": o[2] || (o[2] = (i) => t.value.profile.name = i),
462
+ d(b, {
463
+ field: r.value.profile.name,
464
+ "onUpdate:field": a[2] || (a[2] = (o) => r.value.profile.name = o),
428
465
  label: "Name",
429
466
  placeholder: "Not specified",
430
467
  class: "mn-thin bg-grey pd-medium radius-small",
431
- validation: c.organizationName
468
+ validation: n.organizationName
432
469
  }, null, 8, ["field", "validation"]),
433
- a(b, {
434
- field: t.value.profile.description,
435
- "onUpdate:field": o[3] || (o[3] = (i) => t.value.profile.description = i),
470
+ d(b, {
471
+ field: r.value.profile.description,
472
+ "onUpdate:field": a[3] || (a[3] = (o) => r.value.profile.description = o),
436
473
  label: "Description",
437
474
  placeholder: "Not specified",
438
475
  class: "mn-thin bg-grey pd-medium radius-small",
439
476
  disabled: "true",
440
- validation: c.organizationName
477
+ validation: n.organizationName
441
478
  }, null, 8, ["field", "validation"]),
442
- je,
443
- a(b, {
444
- field: t.value.birthday,
445
- "onUpdate:field": o[4] || (o[4] = (i) => t.value.birthday = i),
479
+ Qe,
480
+ d(b, {
481
+ field: r.value.birthday,
482
+ "onUpdate:field": a[4] || (a[4] = (o) => r.value.birthday = o),
446
483
  label: "Birthday",
447
484
  type: "date",
448
485
  placeholder: "Not specified",
449
486
  class: "mn-semi bg-grey pd-medium radius-small",
450
- validation: c.organizationName
487
+ validation: n.organizationName
451
488
  }, null, 8, ["field", "validation"]),
452
- Ae,
453
- Fe,
454
- a(b, {
455
- field: t.value.phone,
456
- "onUpdate:field": o[5] || (o[5] = (i) => t.value.phone = i),
489
+ We,
490
+ Xe,
491
+ d(b, {
492
+ field: r.value.phone,
493
+ "onUpdate:field": a[5] || (a[5] = (o) => r.value.phone = o),
457
494
  label: "Phone",
458
495
  placeholder: "Not specified",
459
496
  class: "mn-thin bg-grey pd-medium mn-thin radius-small",
460
497
  disabled: "true",
461
- validation: c.organizationName
498
+ validation: n.organizationName
462
499
  }, null, 8, ["field", "validation"]),
463
- a(b, {
464
- field: t.value.email,
465
- "onUpdate:field": o[6] || (o[6] = (i) => t.value.email = i),
500
+ d(b, {
501
+ field: r.value.email,
502
+ "onUpdate:field": a[6] || (a[6] = (o) => r.value.email = o),
466
503
  label: "Email",
467
504
  placeholder: "Not specified",
468
505
  class: "mn-thin bg-grey pd-medium radius-small",
469
506
  disabled: "true",
470
- validation: c.organizationName
507
+ validation: n.organizationName
471
508
  }, null, 8, ["field", "validation"]),
472
- a(b, {
473
- field: t.value.password,
474
- "onUpdate:field": o[7] || (o[7] = (i) => t.value.password = i),
509
+ d(b, {
510
+ field: r.value.password,
511
+ "onUpdate:field": a[7] || (a[7] = (o) => r.value.password = o),
475
512
  label: "Password",
476
513
  placeholder: "Not specified",
477
514
  class: "mn-semi bg-grey pd-medium radius-small",
478
515
  disabled: "true",
479
- validation: c.organizationName
516
+ validation: n.organizationName
480
517
  }, null, 8, ["field", "validation"]),
481
- a(D, {
482
- submit: u,
483
- callback: g,
518
+ d(Y, {
519
+ submit: g,
520
+ callback: i,
484
521
  class: "mn-thin"
485
522
  }, {
486
523
  default: p(() => [
487
- Z("Сохранить")
524
+ L("Сохранить")
488
525
  ]),
489
526
  _: 1
490
527
  })
491
528
  ]));
492
529
  }
493
- }, Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
530
+ }, tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
494
531
  __proto__: null,
495
- default: Te
496
- }, Symbol.toStringTag, { value: "Module" })), it = [{
532
+ default: et
533
+ }, Symbol.toStringTag, { value: "Module" })), _t = [{
497
534
  path: "profile/:_id",
498
535
  name: "User Profile",
499
536
  meta: {
@@ -502,7 +539,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
502
539
  ru: "Профиль"
503
540
  }
504
541
  },
505
- component: () => Promise.resolve().then(() => Se)
542
+ component: () => Promise.resolve().then(() => Te)
506
543
  }, {
507
544
  path: "profile/:_id/blogposts",
508
545
  name: "User Blogposts",
@@ -514,7 +551,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
514
551
  },
515
552
  component: () => import(
516
553
  /* webpackChunkName: "profile" */
517
- "./ProfileBlogposts-ffa10f34.mjs"
554
+ "./ProfileBlogposts-fb014bc6.mjs"
518
555
  )
519
556
  }, {
520
557
  path: "profile/:_id/comments",
@@ -527,7 +564,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
527
564
  },
528
565
  component: () => import(
529
566
  /* webpackChunkName: "profile" */
530
- "./ProfileComments-08d1670d.mjs"
567
+ "./ProfileComments-58094a50.mjs"
531
568
  )
532
569
  }, {
533
570
  path: "profile/:_id/edit",
@@ -538,7 +575,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
538
575
  ru: "Редактировать Профиль"
539
576
  }
540
577
  },
541
- component: () => Promise.resolve().then(() => Ge)
578
+ component: () => Promise.resolve().then(() => tt)
542
579
  }, {
543
580
  path: "profile/:_id/events",
544
581
  name: "User Events",
@@ -547,7 +584,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
547
584
  },
548
585
  component: () => import(
549
586
  /* webpackChunkName: "profile" */
550
- "./ProfileEvents-858e9471.mjs"
587
+ "./ProfileEvents-5d206e3d.mjs"
551
588
  )
552
589
  }, {
553
590
  path: "profile/:_id/likes",
@@ -560,7 +597,7 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
560
597
  },
561
598
  component: () => import(
562
599
  /* webpackChunkName: "profile" */
563
- "./ProfileLikes-c32c420b.mjs"
600
+ "./ProfileLikes-b5ac7f48.mjs"
564
601
  )
565
602
  }, {
566
603
  path: "profile/:_id/organizations",
@@ -573,12 +610,12 @@ const ze = { class: "pd-medium for-transition w-100" }, Le = /* @__PURE__ */ r("
573
610
  },
574
611
  component: () => import(
575
612
  /* webpackChunkName: "profile" */
576
- "./ProfileOrganizations-567e87e1.mjs"
613
+ "./ProfileOrganizations-32ab1e30.mjs"
577
614
  )
578
615
  }];
579
616
  export {
580
- Ee as Profile,
581
- Te as ProfileEdit,
582
- it as usersRoutes,
583
- rt as usersStore
617
+ Fe as Profile,
618
+ et as ProfileEdit,
619
+ _t as usersRoutes,
620
+ pt as usersStore
584
621
  };