@ozdao/prometheus-framework 0.0.88 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs → Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs} +8 -7
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +1 -0
  3. package/dist/{ButtonFollow-728aab73.mjs → ButtonFollow-5e19fc49.mjs} +7 -6
  4. package/dist/ButtonFollow-959861db.js +1 -0
  5. package/dist/CardOrganization-01c2e248.mjs +210 -0
  6. package/dist/CardOrganization-1be3651b.js +1 -0
  7. package/dist/{CardHeader-925a972b.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-a31c43c2.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-dc8b66bf.mjs → Feed-986ddd21.mjs} +114 -126
  11. package/dist/Feed-a2870bbf.js +1 -0
  12. package/dist/Feed-f987d8bb.js +1 -0
  13. package/dist/IconEdit-823ddda9.js +1 -0
  14. package/dist/IconEdit-f0ad8b9a.mjs +205 -0
  15. package/dist/{Image-9a870c88.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6c7584f5.mjs → Image-9e90a5f6.mjs} +2 -2
  17. package/dist/{PlaceholderUserpic-2221dbf2.mjs → PlaceholderUserpic-14c6ea7e.mjs} +1 -1
  18. package/dist/PlaceholderUserpic-20d58460.js +1 -0
  19. package/dist/{Popup-105ef2c3.js → Popup-0106ee0c.js} +1 -1
  20. package/dist/{Popup-0c791801.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-2fbf9d99.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-1724d88d.mjs → Product-58a83c67.mjs} +19 -18
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-20709821.mjs → ProductEdit-56752bbe.mjs} +32 -31
  25. package/dist/{ProfileBlogposts-fb014bc6.mjs → ProfileBlogposts-67e1bd8f.mjs} +13 -12
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-58094a50.mjs → ProfileComments-17352b6a.mjs} +9 -8
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-5d206e3d.mjs → ProfileEvents-76166bc5.mjs} +15 -14
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-503712ec.mjs → ProfileLikes-f838ff5e.mjs} +13 -12
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-32ab1e30.mjs → ProfileOrganizations-58ebfe44.mjs} +9 -8
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-9ebffff1.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{Tab-fcb73759.mjs → Tab-a243605d.mjs} +1 -1
  38. package/dist/{UploadImage-441e8526.js → UploadImage-73d66f27.js} +1 -1
  39. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  40. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  41. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  42. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  43. package/dist/auth-5a58f8cb.js +8 -0
  44. package/dist/auth.client.cjs +8 -8
  45. package/dist/auth.client.js +18 -17
  46. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  47. package/dist/{auth.validation-a18510e8.js → auth.validation-be05e981.js} +1 -1
  48. package/dist/community.client.cjs +1 -1
  49. package/dist/community.client.js +28 -26
  50. package/dist/community.server.js +7 -167
  51. package/dist/community.server.mjs +7 -167
  52. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  53. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  54. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  55. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  56. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  57. package/dist/components/FieldPhone/FieldPhone(script-setup).vue.d.ts +3 -3
  58. package/dist/components/FieldPhone/FieldPhone.vue.d.ts +1 -1
  59. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  60. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  61. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  62. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  63. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  64. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  65. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  66. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  67. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  68. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  69. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  70. package/dist/events.client.cjs +1 -1
  71. package/dist/events.client.js +26 -24
  72. package/dist/{inputs.validation-6960f71b.mjs → inputs.validation-14e8e01f.mjs} +4 -4
  73. package/dist/landing.client.cjs +1 -0
  74. package/dist/landing.client.js +132 -0
  75. package/dist/main.css +1 -1
  76. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  77. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  78. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  79. package/dist/{organizations-1b4c84ee.mjs → organizations-2adff182.mjs} +3 -3
  80. package/dist/organizations-e97a0f85.js +1 -0
  81. package/dist/{organizations.client-253c8068.mjs → organizations.client-88d41199.mjs} +998 -1139
  82. package/dist/organizations.client-d21a22ec.js +3 -0
  83. package/dist/organizations.client.cjs +1 -1
  84. package/dist/organizations.client.js +36 -35
  85. package/dist/organizations.server.js +7 -3
  86. package/dist/organizations.server.mjs +7 -3
  87. package/dist/prometheus-framework.cjs.js +19 -19
  88. package/dist/prometheus-framework.es.js +2173 -2165
  89. package/dist/style.css +1 -1
  90. package/dist/users.client.cjs +1 -1
  91. package/dist/users.client.js +266 -256
  92. package/dist/users.server.js +2 -2
  93. package/dist/users.server.mjs +2 -2
  94. package/package.json +6 -2
  95. package/src/components/Field/Field.vue +2 -1
  96. package/src/components/Text/Text.vue +3 -1
  97. package/src/modules/community/community.server.js +0 -2
  98. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  99. package/src/modules/community/components/pages/Blog.vue +1 -1
  100. package/src/modules/community/components/pages/CreateBlogPost.vue +2 -1
  101. package/src/modules/community/controllers/blog.controller.js +5 -1
  102. package/src/modules/events/components/pages/EditEvent.vue +2 -1
  103. package/src/modules/icons/labels/LabelAppStore.vue +32 -0
  104. package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
  105. package/src/modules/landing/components/sections/MobileApp.vue +125 -0
  106. package/src/modules/landing/landing.client.js +7 -0
  107. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  108. package/src/modules/organizations/components/blocks/Socials.vue +16 -3
  109. package/src/modules/organizations/components/pages/OrganizationEdit.vue +39 -15
  110. package/src/modules/organizations/components/sections/DetailsTab.vue +13 -9
  111. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  112. package/src/modules/organizations/models/organization.model.js +6 -2
  113. package/src/modules/organizations/store/organizations.js +2 -2
  114. package/src/modules/users/components/pages/Profile.vue +26 -11
  115. package/src/modules/users/components/pages/ProfileEdit.vue +28 -10
  116. package/src/modules/users/models/user.model.js +2 -2
  117. package/src/modules/users/store/users.js +1 -2
  118. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  119. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  120. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  121. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  122. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  123. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  124. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  125. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  126. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  127. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  128. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  129. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  130. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  131. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  132. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  133. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  134. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  135. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  136. package/dist/ButtonFollow-1b655344.js +0 -1
  137. package/dist/ButtonFollow-2ce169ca.js +0 -1
  138. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  139. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  140. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  141. package/dist/ButtonFollow-c4680999.js +0 -1
  142. package/dist/ButtonFollow-c9484003.mjs +0 -130
  143. package/dist/ButtonFollow-d983e174.js +0 -1
  144. package/dist/ButtonFollow-f630623a.js +0 -1
  145. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  146. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  147. package/dist/CardHeader-2ef6618e.mjs +0 -96
  148. package/dist/CardHeader-377cfc4b.js +0 -1
  149. package/dist/CardHeader-39f75e85.mjs +0 -76
  150. package/dist/CardHeader-88de7b20.mjs +0 -76
  151. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  152. package/dist/CardHeader-ddf82318.js +0 -1
  153. package/dist/CardHeader-dff9c71a.js +0 -1
  154. package/dist/CardHeader-e15eb618.js +0 -1
  155. package/dist/CardHeader-e517c801.mjs +0 -76
  156. package/dist/CardOrganization-0291683b.js +0 -1
  157. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  158. package/dist/CardOrganization-21de52b3.js +0 -1
  159. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  160. package/dist/CardOrganization-4859370e.mjs +0 -320
  161. package/dist/CardOrganization-58b54995.js +0 -1
  162. package/dist/CardOrganization-91e79698.mjs +0 -320
  163. package/dist/CardOrganization-9841dbe0.js +0 -1
  164. package/dist/CardOrganization-a05f3a19.js +0 -1
  165. package/dist/CardOrganization-a75b523d.mjs +0 -63
  166. package/dist/CardOrganization-d462e158.mjs +0 -320
  167. package/dist/CardOrganization-ee5c34ab.js +0 -1
  168. package/dist/CardOrganization-f70bd169.mjs +0 -202
  169. package/dist/CardOrganization-ffa585a7.js +0 -1
  170. package/dist/Comments-1aec0e5e.js +0 -1
  171. package/dist/Comments-5ed669ea.mjs +0 -74
  172. package/dist/Comments-63f154a6.js +0 -9
  173. package/dist/Comments-641516f8.mjs +0 -76
  174. package/dist/Comments-646c73ee.js +0 -1
  175. package/dist/Comments-6ff58c26.js +0 -1
  176. package/dist/Comments-7c4f2715.js +0 -1
  177. package/dist/Comments-81feeb4a.mjs +0 -76
  178. package/dist/Comments-9427a0eb.mjs +0 -76
  179. package/dist/Comments-b5821190.mjs +0 -76
  180. package/dist/Comments-b620bae6.js +0 -1
  181. package/dist/Comments-b6e32958.js +0 -1
  182. package/dist/Comments-c092550f.mjs +0 -76
  183. package/dist/Comments-c5afa4d6.mjs +0 -459
  184. package/dist/Comments-d2a8fd0f.mjs +0 -76
  185. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  186. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  187. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  188. package/dist/DepartmentEdit-d98c2239.js +0 -1
  189. package/dist/EditProductImages-04ec4326.js +0 -1
  190. package/dist/EditProductImages-11510b66.js +0 -1
  191. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  192. package/dist/EditProductImages-4246db75.mjs +0 -236
  193. package/dist/EditProductImages-42f9f665.mjs +0 -236
  194. package/dist/EditProductImages-61ff4321.mjs +0 -236
  195. package/dist/EditProductImages-98d13eb0.js +0 -1
  196. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  197. package/dist/EditProductImages-b1b05c03.js +0 -1
  198. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  199. package/dist/EditProductImages-cf67d31b.js +0 -1
  200. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  201. package/dist/EditProductImages-d9228ad0.js +0 -1
  202. package/dist/EditProductImages-ec630dbf.js +0 -1
  203. package/dist/EditProductImages-f983f473.mjs +0 -236
  204. package/dist/EmptyState-1214f70b.mjs +0 -36
  205. package/dist/EmptyState-23c13029.js +0 -1
  206. package/dist/Feed-0b549674.js +0 -1
  207. package/dist/Feed-193dd1df.mjs +0 -342
  208. package/dist/Feed-26bf6bef.js +0 -1
  209. package/dist/Feed-2f9a1922.mjs +0 -334
  210. package/dist/Feed-31523f38.js +0 -1
  211. package/dist/Feed-51e4e232.js +0 -1
  212. package/dist/Feed-531de2d5.js +0 -1
  213. package/dist/Feed-55c5907a.js +0 -1
  214. package/dist/Feed-5c9e4e74.mjs +0 -340
  215. package/dist/Feed-706cd7c0.mjs +0 -383
  216. package/dist/Feed-8009e4f8.js +0 -1
  217. package/dist/Feed-81d5802e.mjs +0 -355
  218. package/dist/Feed-83ef5666.js +0 -1
  219. package/dist/Feed-8fd41524.js +0 -1
  220. package/dist/Feed-91eff3af.mjs +0 -393
  221. package/dist/Feed-926cf4f3.mjs +0 -355
  222. package/dist/Feed-932d976d.js +0 -1
  223. package/dist/Feed-962e009b.js +0 -1
  224. package/dist/Feed-a82ae26b.js +0 -1
  225. package/dist/Feed-aa3bd30a.js +0 -1
  226. package/dist/Feed-b8eeb4e7.js +0 -1
  227. package/dist/Feed-bd7b1a45.js +0 -1
  228. package/dist/Feed-c0007a83.mjs +0 -383
  229. package/dist/Feed-c93012c7.mjs +0 -346
  230. package/dist/Feed-ca8e0e22.mjs +0 -423
  231. package/dist/Feed-d2e5978c.mjs +0 -342
  232. package/dist/Feed-d4220f74.mjs +0 -340
  233. package/dist/Feed-d8e33aed.mjs +0 -397
  234. package/dist/Feed-df5bbb3c.mjs +0 -346
  235. package/dist/Feed-e5fb4972.mjs +0 -397
  236. package/dist/Feed-e8fb21ed.js +0 -1
  237. package/dist/Feed-e91b36ea.mjs +0 -390
  238. package/dist/Feed-ecf37814.mjs +0 -367
  239. package/dist/Feed-f4cad6c3.js +0 -1
  240. package/dist/Field-740d5a17.mjs +0 -60
  241. package/dist/Field-a1770ccf.js +0 -1
  242. package/dist/Field-ada86df2.js +0 -1
  243. package/dist/Field-e839d9ca.mjs +0 -60
  244. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  245. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  246. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  247. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  248. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  249. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  250. package/dist/IconEdit-736c89be.js +0 -1
  251. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  252. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  253. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  254. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  255. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  256. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  257. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  258. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  259. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  260. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  261. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  262. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  263. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  264. package/dist/Popup-70f6a8c0.mjs +0 -76
  265. package/dist/Popup-82fb2c8a.mjs +0 -76
  266. package/dist/Popup-9479e39a.js +0 -1
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  276. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  277. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  278. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  279. package/dist/Product-0195429b.js +0 -1
  280. package/dist/Product-035252c0.js +0 -1
  281. package/dist/Product-05cc1386.mjs +0 -687
  282. package/dist/Product-151f4473.mjs +0 -904
  283. package/dist/Product-19cc3654.js +0 -7
  284. package/dist/Product-2f3d592f.mjs +0 -837
  285. package/dist/Product-334f8bf4.mjs +0 -904
  286. package/dist/Product-35904a9b.js +0 -7
  287. package/dist/Product-3c64a352.mjs +0 -904
  288. package/dist/Product-45a6e7bd.mjs +0 -687
  289. package/dist/Product-4a5f985d.mjs +0 -837
  290. package/dist/Product-60e14832.mjs +0 -904
  291. package/dist/Product-67efba5c.js +0 -7
  292. package/dist/Product-6c37ef35.js +0 -7
  293. package/dist/Product-7087b358.mjs +0 -837
  294. package/dist/Product-96195a8e.js +0 -7
  295. package/dist/Product-a94d8b65.js +0 -7
  296. package/dist/Product-b440df7f.js +0 -7
  297. package/dist/Product-c3a77d07.mjs +0 -837
  298. package/dist/Product-c8441f02.js +0 -7
  299. package/dist/Product-cf9cfe65.mjs +0 -904
  300. package/dist/Product-df622dc0.mjs +0 -837
  301. package/dist/Product-eb2b6725.js +0 -7
  302. package/dist/Product-f4dbd969.mjs +0 -837
  303. package/dist/Product-f819b17e.js +0 -7
  304. package/dist/Product-fb63c7cd.js +0 -7
  305. package/dist/ProductEdit-04760699.js +0 -1
  306. package/dist/ProductEdit-177c1f16.mjs +0 -113
  307. package/dist/ProductEdit-1e990a92.js +0 -1
  308. package/dist/ProductEdit-20bda9f1.mjs +0 -113
  309. package/dist/ProductEdit-39adf62f.mjs +0 -113
  310. package/dist/ProductEdit-4d6f3720.js +0 -1
  311. package/dist/ProductEdit-57484f1e.mjs +0 -349
  312. package/dist/ProductEdit-5e419719.mjs +0 -113
  313. package/dist/ProductEdit-5f9a55b6.mjs +0 -113
  314. package/dist/ProductEdit-765f4780.js +0 -1
  315. package/dist/ProductEdit-9e579dd7.mjs +0 -113
  316. package/dist/ProductEdit-a81d13b9.js +0 -1
  317. package/dist/ProductEdit-b98883d8.js +0 -1
  318. package/dist/ProductEdit-c3c6341d.js +0 -1
  319. package/dist/ProductEdit-c5067942.mjs +0 -113
  320. package/dist/ProductEdit-ca271287.js +0 -1
  321. package/dist/ProductEdit-e2d47403.mjs +0 -113
  322. package/dist/ProductEdit-ef301baa.js +0 -1
  323. package/dist/ProfileBlogposts-00424109.js +0 -1
  324. package/dist/ProfileBlogposts-03658199.js +0 -1
  325. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  326. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  327. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  328. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  329. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  330. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  331. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  332. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  333. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  334. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  335. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  336. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  337. package/dist/ProfileComments-0396b55c.js +0 -1
  338. package/dist/ProfileComments-08d1670d.mjs +0 -43
  339. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  340. package/dist/ProfileComments-34eb560b.mjs +0 -43
  341. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  342. package/dist/ProfileComments-5884d09f.mjs +0 -43
  343. package/dist/ProfileComments-66651060.mjs +0 -43
  344. package/dist/ProfileComments-677731b3.js +0 -1
  345. package/dist/ProfileComments-730c2f73.js +0 -1
  346. package/dist/ProfileComments-82791682.js +0 -1
  347. package/dist/ProfileComments-b6a688cd.js +0 -1
  348. package/dist/ProfileComments-b919f021.js +0 -1
  349. package/dist/ProfileComments-d3966a83.mjs +0 -43
  350. package/dist/ProfileComments-f5f260ec.js +0 -1
  351. package/dist/ProfileEvents-05485e20.js +0 -1
  352. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  353. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  354. package/dist/ProfileEvents-20695376.mjs +0 -55
  355. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  356. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  357. package/dist/ProfileEvents-676239cc.js +0 -1
  358. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  359. package/dist/ProfileEvents-858e9471.mjs +0 -55
  360. package/dist/ProfileEvents-85a88674.mjs +0 -55
  361. package/dist/ProfileEvents-89def76b.js +0 -1
  362. package/dist/ProfileEvents-94d7b407.js +0 -1
  363. package/dist/ProfileEvents-b057d374.js +0 -1
  364. package/dist/ProfileEvents-b5431cd6.js +0 -1
  365. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  366. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  367. package/dist/ProfileEvents-cd75d80b.js +0 -1
  368. package/dist/ProfileEvents-cebebb17.js +0 -1
  369. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  370. package/dist/ProfileEvents-d8e16509.js +0 -1
  371. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  372. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  373. package/dist/ProfileLikes-0668b718.js +0 -1
  374. package/dist/ProfileLikes-2f3a4488.js +0 -1
  375. package/dist/ProfileLikes-405c2636.js +0 -1
  376. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  377. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  378. package/dist/ProfileLikes-7f965631.mjs +0 -43
  379. package/dist/ProfileLikes-854276f0.js +0 -1
  380. package/dist/ProfileLikes-8ccf6815.js +0 -1
  381. package/dist/ProfileLikes-a78900c0.js +0 -1
  382. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  383. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  384. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  385. package/dist/ProfileLikes-c899e3df.js +0 -1
  386. package/dist/ProfileLikes-d978b084.mjs +0 -43
  387. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  388. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  389. package/dist/ProfileOrganizations-0e202612.js +0 -1
  390. package/dist/ProfileOrganizations-13748b09.js +0 -1
  391. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  392. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  393. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  394. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  395. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  396. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  397. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  398. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  399. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  400. package/dist/ProfileOrganizations-704f628b.js +0 -1
  401. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  402. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  403. package/dist/ProfileOrganizations-c7688210.js +0 -1
  404. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  405. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  406. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  407. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  408. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  409. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  410. package/dist/Publics-07d5bbc4.js +0 -1
  411. package/dist/Publics-122d9fc7.mjs +0 -1078
  412. package/dist/Publics-13c48a23.mjs +0 -47
  413. package/dist/Publics-17009745.mjs +0 -1926
  414. package/dist/Publics-213e0e9e.mjs +0 -44
  415. package/dist/Publics-21f24533.mjs +0 -44
  416. package/dist/Publics-3f277c17.js +0 -1
  417. package/dist/Publics-450a6715.mjs +0 -1926
  418. package/dist/Publics-49dbeafc.js +0 -1
  419. package/dist/Publics-501c9f27.js +0 -1
  420. package/dist/Publics-54134615.mjs +0 -47
  421. package/dist/Publics-889c25fc.js +0 -1
  422. package/dist/Publics-8bea4201.mjs +0 -44
  423. package/dist/Publics-8d94ee66.js +0 -1
  424. package/dist/Publics-a030da8f.js +0 -1
  425. package/dist/Publics-aca585c3.js +0 -1
  426. package/dist/Publics-b0fad2b0.mjs +0 -1926
  427. package/dist/Publics-becb1486.js +0 -1
  428. package/dist/Publics-c6f6b824.js +0 -1
  429. package/dist/Publics-c9d5aa74.js +0 -1
  430. package/dist/Publics-fbc8d2db.mjs +0 -1926
  431. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  432. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  433. package/dist/Tab-054b61f7.mjs +0 -46
  434. package/dist/Tab-1ca0fe66.js +0 -1
  435. package/dist/Tab-58cd105f.mjs +0 -46
  436. package/dist/Tab-b0a7ac11.js +0 -1
  437. package/dist/Tab-c67fbf51.mjs +0 -46
  438. package/dist/Tab-f04c185d.js +0 -1
  439. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  440. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  441. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  442. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  443. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  444. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  445. package/dist/UploadImage-4e91bd99.js +0 -1
  446. package/dist/UploadImage-74280ea3.mjs +0 -99
  447. package/dist/UploadImage-75b1a18a.js +0 -1
  448. package/dist/UploadImage-7c502f96.js +0 -1
  449. package/dist/UploadImage-96408782.mjs +0 -99
  450. package/dist/UploadImage-9abb7116.js +0 -1
  451. package/dist/UploadImage-b1acc48f.mjs +0 -99
  452. package/dist/UploadImage-c81c3b76.js +0 -1
  453. package/dist/UploadImage-cd6de241.js +0 -1
  454. package/dist/UploadImage-d1dbc280.mjs +0 -99
  455. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  456. package/dist/auth-07c01b19.js +0 -8
  457. package/dist/auth-18f80fef.mjs +0 -1501
  458. package/dist/auth-35ef1791.mjs +0 -1502
  459. package/dist/auth-50bd4ebb.js +0 -8
  460. package/dist/auth-5aa8e90c.js +0 -8
  461. package/dist/auth-708eebcb.mjs +0 -1446
  462. package/dist/auth-78fd9408.js +0 -8
  463. package/dist/auth-7dff19e4.js +0 -8
  464. package/dist/auth-84680727.mjs +0 -1501
  465. package/dist/auth-ab40831d.js +0 -8
  466. package/dist/auth-d102dac0.mjs +0 -1501
  467. package/dist/auth-f81f3598.mjs +0 -1439
  468. package/dist/auth.validation-1fb0cb4f.js +0 -1
  469. package/dist/auth.validation-29113f37.mjs +0 -20
  470. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  471. package/dist/auth.validation-2e8ee994.js +0 -1
  472. package/dist/auth.validation-6923140f.js +0 -1
  473. package/dist/auth.validation-69488f55.mjs +0 -20
  474. package/dist/auth.validation-6bccabd6.mjs +0 -20
  475. package/dist/auth.validation-9cfd985b.mjs +0 -20
  476. package/dist/auth.validation-9f7c7948.js +0 -1
  477. package/dist/auth.validation-b644ee65.js +0 -1
  478. package/dist/auth.validation-f23a7238.mjs +0 -21
  479. package/dist/categories-75b7d14b.js +0 -1
  480. package/dist/categories-86b2d45b.mjs +0 -225
  481. package/dist/categories-d669f3af.mjs +0 -225
  482. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  483. package/dist/globals-d7a54bb4.js +0 -1
  484. package/dist/globals-f538c0ef.mjs +0 -87
  485. package/dist/inputs.validation-498d8ec9.js +0 -1
  486. package/dist/inputs.validation-5732152a.mjs +0 -93
  487. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  488. package/dist/inputs.validation-c53e01a2.js +0 -1
  489. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  490. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  491. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  492. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  493. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  494. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  495. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  496. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  497. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  498. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  499. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  500. package/dist/organizations-0e9ff7ca.mjs +0 -319
  501. package/dist/organizations-35fe2db4.js +0 -1
  502. package/dist/organizations-4d74e13b.js +0 -1
  503. package/dist/organizations-5f9c7fbd.js +0 -1
  504. package/dist/organizations-6c1450fa.mjs +0 -153
  505. package/dist/organizations-773c328c.mjs +0 -319
  506. package/dist/organizations-a9b86de7.mjs +0 -319
  507. package/dist/organizations-af43bda4.js +0 -1
  508. package/dist/organizations-b3df0859.js +0 -1
  509. package/dist/organizations-c77ea9d0.js +0 -1
  510. package/dist/organizations-d4307861.mjs +0 -319
  511. package/dist/organizations-dd07ba2c.js +0 -1
  512. package/dist/organizations-fb1a2214.mjs +0 -319
  513. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  514. package/dist/organizations.client-4e29c957.js +0 -3
  515. package/dist/organizations.client-686845be.mjs +0 -3179
  516. package/dist/organizations.client-71c9abde.mjs +0 -2898
  517. package/dist/organizations.client-99bfc474.js +0 -3
  518. package/dist/organizations.client-ba59ed4e.js +0 -3
  519. package/dist/organizations.client-c60d7659.js +0 -3
  520. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -1,43 +1,44 @@
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";
7
- import "./inputs.validation-6960f71b.mjs";
8
- import { _ as W } from "./UploadImage-ff8f9a0c.mjs";
9
- import "./auth.validation-29113f37.mjs";
1
+ import { openBlock as u, createElementBlock as _, renderSlot as I, createElementVNode as i, defineComponent as z, h as P, ref as V, resolveComponent as B, toDisplayString as $, createBlock as w, withCtx as g, createTextVNode as S, createCommentVNode as y, reactive as O, onMounted as F, unref as c, Fragment as R, renderList as T, normalizeClass as j, createVNode as o, withAsyncContext as A } from "vue";
2
+ import { a as G, s as p, b as D, F as h, _ as Y } from "./auth-5217f6a5.mjs";
3
+ import { _ as H } from "./_plugin-vue_export-helper-dad06003.mjs";
4
+ import { B as q, m as J } from "./ButtonFollow-5e19fc49.mjs";
5
+ import { I as K, _ as Q } from "./IconEdit-f0ad8b9a.mjs";
6
+ import { P as W } from "./PlaceholderUserpic-14c6ea7e.mjs";
7
+ import { useRoute as E, useRouter as L } from "vue-router";
8
+ import "./inputs.validation-14e8e01f.mjs";
9
+ import { _ as X } from "./UploadImage-a3ef4012.mjs";
10
+ import "./auth.validation-9f87ea95.mjs";
10
11
  import "./globals-96ba60e4.mjs";
11
12
  import "vue-i18n";
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
+ const ee = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium bg-grey radius-medium" }, Z = {
13
14
  __name: "Menu",
14
- setup(t) {
15
- return (e, c) => (m(), C("section", X, [
16
- z(e.$slots, "default")
15
+ setup(s) {
16
+ return (e, m) => (u(), _("section", ee, [
17
+ I(e.$slots, "default")
17
18
  ]));
18
19
  }
19
- }, ee = {}, te = {
20
+ }, te = {}, se = {
20
21
  width: "80",
21
22
  height: "80",
22
23
  viewBox: "0 0 80 80",
23
24
  fill: "none",
24
25
  xmlns: "http://www.w3.org/2000/svg"
25
- }, se = /* @__PURE__ */ s("path", {
26
+ }, re = /* @__PURE__ */ i("path", {
26
27
  fill: "black",
27
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"
28
- }, null, -1), re = [
29
- se
29
+ }, null, -1), ie = [
30
+ re
30
31
  ];
31
- function ie(t, e) {
32
- return m(), C("svg", te, re);
32
+ function ne(s, e) {
33
+ return u(), _("svg", se, ie);
33
34
  }
34
- const ne = /* @__PURE__ */ H(ee, [["render", ie]]), w = I({
35
- setup(t, { slots: e }) {
35
+ const ae = /* @__PURE__ */ H(te, [["render", ne]]), x = z({
36
+ setup(s, { slots: e }) {
36
37
  return () => {
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(
38
+ const m = e.default ? e.default() : [], f = [], C = [];
39
+ return m.forEach((t) => {
40
+ t.toString(), t.props && t.props.icon ? f.push(t) : C.push(t);
41
+ }), P(
41
42
  "div",
42
43
  {
43
44
  class: [
@@ -53,7 +54,7 @@ const ne = /* @__PURE__ */ H(ee, [["render", ie]]), w = I({
53
54
  [
54
55
  // Conditionally include the div for iconSlot
55
56
  ...f.length ? [
56
- x(
57
+ P(
57
58
  "div",
58
59
  {
59
60
  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,121 +62,121 @@ const ne = /* @__PURE__ */ H(ee, [["render", ie]]), w = I({
61
62
  f
62
63
  )
63
64
  ] : [],
64
- x(
65
+ P(
65
66
  "div",
66
67
  {
67
68
  class: ["w-100", "mn-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
68
69
  },
69
70
  [
70
- x(
71
+ P(
71
72
  "span",
72
73
  {
73
74
  class: ["p-big", "t-medium", "mn-r-auto"]
74
75
  },
75
- h
76
+ C
76
77
  )
77
78
  ]
78
79
  ),
79
- x(ne, { class: "i-medium mn-r-medium", type: "chevron" })
80
+ P(ae, { class: "i-medium mn-r-medium", type: "chevron" })
80
81
  // Inserting IconChevronRight directly
81
82
  ]
82
83
  );
83
84
  };
84
85
  }
85
- }), oe = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, S = {
86
+ }), le = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, N = {
86
87
  __name: "ProfileCompletion",
87
88
  props: {
88
89
  user: Object,
89
90
  target: Object,
90
91
  cta: Boolean
91
92
  },
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++));
93
+ setup(s) {
94
+ const { user: e, cta: m, target: f } = s, C = V(0), t = (v) => {
95
+ let d = 0, l = 0;
96
+ function n(r) {
97
+ for (let b in r)
98
+ r.hasOwnProperty(b) && (r[b] && typeof r[b] == "object" && !Array.isArray(r[b]) ? n(r[b]) : (d++, r[b] != null && r[b] !== "" && l++));
98
99
  }
99
- return a(g), i === 0 ? 0 : Math.round(n / i * 100);
100
+ return n(v), d === 0 ? 0 : Math.round(l / d * 100);
100
101
  };
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, {
102
+ return f && (C.value = t(f)), (v, d) => {
103
+ const l = B("router-link");
104
+ return u(), _("section", le, [
105
+ i("h3", null, " Profile completed at " + $(C.value) + "% ", 1),
106
+ s.cta ? (u(), w(l, {
106
107
  key: 0,
107
108
  to: {
108
109
  name: "User Edit Profile",
109
- params: { _id: t.user }
110
+ params: { _id: s.user }
110
111
  },
111
112
  class: "mn-t-regular t-black bg-white w-100 button"
112
113
  }, {
113
- default: p(() => [
114
- L(" Fill Profile ")
114
+ default: g(() => [
115
+ S(" Fill Profile ")
115
116
  ]),
116
117
  _: 1
117
- }, 8, ["to"])) : P("", !0)
118
+ }, 8, ["to"])) : y("", !0)
118
119
  ]);
119
120
  };
120
121
  }
121
- }, ae = {}, le = {
122
+ }, oe = {}, de = {
122
123
  width: "80",
123
124
  height: "80",
124
125
  viewBox: "0 0 80 80",
125
126
  fill: "none",
126
127
  xmlns: "http://www.w3.org/2000/svg"
127
- }, de = /* @__PURE__ */ s("path", {
128
+ }, ue = /* @__PURE__ */ i("path", {
128
129
  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
130
  fill: "white"
130
- }, null, -1), ue = [
131
- de
131
+ }, null, -1), me = [
132
+ ue
132
133
  ];
133
- function me(t, e) {
134
- return m(), C("svg", le, ue);
134
+ function ce(s, e) {
135
+ return u(), _("svg", de, me);
135
136
  }
136
- const ce = /* @__PURE__ */ H(ae, [["render", me]]), pe = {}, _e = {
137
+ const pe = /* @__PURE__ */ H(oe, [["render", ce]]), _e = {}, fe = {
137
138
  width: "80",
138
139
  height: "80",
139
140
  viewBox: "0 0 80 80",
140
141
  fill: "none",
141
142
  xmlns: "http://www.w3.org/2000/svg"
142
- }, fe = /* @__PURE__ */ s("path", {
143
+ }, he = /* @__PURE__ */ i("path", {
143
144
  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
145
  fill: "white"
145
146
  }, null, -1), Ce = [
146
- fe
147
+ he
147
148
  ];
148
- function he(t, e) {
149
- return m(), C("svg", _e, Ce);
149
+ function ge(s, e) {
150
+ return u(), _("svg", fe, Ce);
150
151
  }
151
- const ge = /* @__PURE__ */ H(pe, [["render", he]]), ve = {}, be = {
152
+ const ve = /* @__PURE__ */ H(_e, [["render", ge]]), be = {}, we = {
152
153
  width: "56",
153
154
  height: "56",
154
155
  viewBox: "0 0 56 56",
155
156
  fill: "none",
156
157
  xmlns: "http://www.w3.org/2000/svg"
157
- }, we = /* @__PURE__ */ s("path", {
158
+ }, ye = /* @__PURE__ */ i("path", {
158
159
  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
160
  fill: "white"
160
- }, null, -1), ye = /* @__PURE__ */ s("path", {
161
+ }, null, -1), $e = /* @__PURE__ */ i("path", {
161
162
  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
163
  fill: "white"
163
- }, null, -1), $e = /* @__PURE__ */ s("path", {
164
+ }, null, -1), Pe = /* @__PURE__ */ i("path", {
164
165
  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
166
  fill: "white"
166
- }, null, -1), Pe = /* @__PURE__ */ s("path", {
167
+ }, null, -1), xe = /* @__PURE__ */ i("path", {
167
168
  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
169
  fill: "white"
169
- }, null, -1), xe = [
170
- we,
170
+ }, null, -1), ke = [
171
171
  ye,
172
172
  $e,
173
- Pe
173
+ Pe,
174
+ xe
174
175
  ];
175
- function Me(t, e) {
176
- return m(), C("svg", be, xe);
176
+ function Me(s, e) {
177
+ return u(), _("svg", we, ke);
177
178
  }
178
- const ke = /* @__PURE__ */ H(ve, [["render", Me]]), k = G.create({ baseURL: process.env.API_URL, withCredentials: !0 }), l = O({
179
+ const Ve = /* @__PURE__ */ H(be, [["render", Me]]), M = G.create({ baseURL: process.env.API_URL, withCredentials: !0 }), a = O({
179
180
  all: [],
180
181
  current: {
181
182
  _id: "",
@@ -190,54 +191,54 @@ const ke = /* @__PURE__ */ H(ve, [["render", Me]]), k = G.create({ baseURL: proc
190
191
  },
191
192
  socials: {
192
193
  facebook: "",
193
- line: "",
194
+ twitter: "",
194
195
  instagram: "",
195
196
  telegram: ""
196
197
  },
197
198
  roles: []
198
199
  }
199
200
  }), U = {
200
- async create(t) {
201
+ async create(s) {
201
202
  try {
202
- const e = await k.post("/api/users", t);
203
- return M.set(e.data, "current"), Promise.resolve(e.data);
203
+ const e = await M.post("/api/users", s);
204
+ return k.set(e.data, "current"), Promise.resolve(e.data);
204
205
  } catch (e) {
205
206
  return console.error(e), Promise.reject(e);
206
207
  }
207
208
  },
208
- async read(t = {}) {
209
- t.params = {}, t._id && (t.params._id = t._id), t.user && (t.params.user = t.user);
209
+ async read(s = {}) {
210
+ s.params = {}, s._id && (s.params._id = s._id), s.user && (s.params.user = s.user);
210
211
  try {
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);
212
+ const e = await M.get("/api/users", { params: s.params });
213
+ return s._id ? k.set(e.data[0], "current") : k.set(e.data, "all"), Promise.resolve(e.data);
213
214
  } catch (e) {
214
215
  return console.error(e), Promise.reject(e);
215
216
  }
216
217
  },
217
- async update(t) {
218
- console.log(t);
218
+ async update(s) {
219
+ console.log(s);
219
220
  try {
220
- const e = await k.put(`/api/users/${t._id}`, t);
221
- return M.set(e.data, "current"), Promise.resolve(e.data);
221
+ const e = await M.put(`/api/users/${s._id}`, s);
222
+ return k.set(e.data, "current"), Promise.resolve(e.data);
222
223
  } catch (e) {
223
224
  return console.error(e), Promise.reject(e);
224
225
  }
225
226
  },
226
- async delete(t) {
227
+ async delete(s) {
227
228
  try {
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);
229
+ await M.delete(`/api/users/${s._id}`);
230
+ const e = a.all.findIndex((m) => m._id === s._id);
231
+ e !== -1 && a.all.splice(e, 1);
231
232
  } catch (e) {
232
233
  console.error(e);
233
234
  }
234
235
  }
235
- }, M = {
236
- set(t, e) {
237
- l[e] = t;
236
+ }, k = {
237
+ set(s, e) {
238
+ a[e] = s;
238
239
  },
239
240
  clean() {
240
- l.current = {
241
+ a.current = {
241
242
  phone: "",
242
243
  name: "",
243
244
  surname: "",
@@ -248,289 +249,298 @@ const ke = /* @__PURE__ */ H(ve, [["render", Me]]), k = G.create({ baseURL: proc
248
249
  orders: []
249
250
  };
250
251
  }
251
- }, pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
252
+ }, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
252
253
  __proto__: null,
253
254
  actions: U,
254
- mutations: M,
255
- state: l
255
+ mutations: k,
256
+ state: a
256
257
  }, Symbol.toStringTag, { value: "Module" }));
257
- const Ve = { class: "for-transition w-100" }, Ue = {
258
+ const Ue = { class: "for-transition w-100" }, He = {
258
259
  _id: "dash",
259
260
  class: "pd-thin w-100"
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 = {
261
+ }, Ze = { class: "flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, Se = ["src"], Ee = { class: "" }, Le = { class: "mn-small t-main t-semi" }, Ne = { class: "mn-medium flex-center flex-nowrap flex" }, Ie = { class: "t-semi mn-small" }, ze = {
262
+ key: 4,
263
+ class: "mn-t-small mn-thin"
264
+ }, Be = /* @__PURE__ */ i("span", null, "Events", -1), Oe = /* @__PURE__ */ i("span", null, "Groups", -1), Fe = /* @__PURE__ */ i("span", null, "Posts", -1), Re = /* @__PURE__ */ i("span", null, " Settings ", -1), Te = /* @__PURE__ */ i("span", { class: "t-red" }, " Logout ", -1), je = {
261
265
  __name: "Profile",
262
- setup(t) {
263
- const e = N(), c = E(), f = V(!1);
264
- R(async () => {
265
- await U.read({ _id: e.params._id, user: _.user._id }), f.value = !0;
266
+ setup(s) {
267
+ const e = E(), m = L(), f = V(!1);
268
+ F(async () => {
269
+ await U.read({ _id: e.params._id, user: p.user._id }), f.value = !0;
266
270
  });
267
- const h = ({ membership: g, isMember: i, targetId: n }) => {
268
- J.handleMembershipUpdate(l.current, g, i, n);
271
+ const C = ({ membership: v, isMember: d, targetId: l }) => {
272
+ J.handleMembershipUpdate(a.current, v, d, l);
269
273
  };
270
- function r() {
271
- D.logout(), c.push({ name: "Sign In" });
274
+ function t() {
275
+ D.logout(), m.push({ name: "Sign In" });
272
276
  }
273
- return (g, i) => (m(), C("div", Ve, [
274
- s("div", Ue, [
275
- u(e).params._id === _.user._id && f.value ? (m(), y(S, {
277
+ return (v, d) => (u(), _("div", Ue, [
278
+ i("div", He, [
279
+ c(e).params._id === p.user._id && f.value ? (u(), w(N, {
276
280
  key: 0,
277
- user: _.user._id,
278
- target: l.current,
281
+ user: p.user._id,
282
+ target: a.current,
279
283
  cta: !0
280
- }, null, 8, ["user", "target"])) : P("", !0),
281
- s("section", He, [
282
- u(e).params._id === _.user._id ? (m(), y(K, {
284
+ }, null, 8, ["user", "target"])) : y("", !0),
285
+ i("section", Ze, [
286
+ c(e).params._id === p.user._id ? (u(), w(K, {
283
287
  key: 0,
284
- onClick: i[0] || (i[0] = (n) => g.$router.push({
288
+ onClick: d[0] || (d[0] = (l) => v.$router.push({
285
289
  name: "User Edit Profile",
286
290
  params: {
287
- _id: _.user._id
291
+ _id: p.user._id
288
292
  }
289
293
  })),
290
294
  class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
291
- })) : P("", !0),
292
- l.current.profile.photo.length > 0 ? (m(), C("img", {
295
+ })) : y("", !0),
296
+ a.current.profile.photo.length > 0 ? (u(), _("img", {
293
297
  key: 1,
294
- src: l.current.profile.photo,
298
+ src: a.current.profile.photo,
295
299
  class: "radius-medium mn-small i-extra"
296
- }, null, 8, Ze)) : (m(), y(Q, {
300
+ }, null, 8, Se)) : (u(), w(W, {
297
301
  key: 2,
298
302
  class: "radius-medium mn-small i-extra"
299
303
  })),
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))
304
+ i("h3", Ee, $(a.current.profile.name ? a.current.profile.name : "Не указан"), 1),
305
+ i("p", Le, " @" + $(a.current.username ? a.current.username : "Не указан"), 1),
306
+ i("div", Ne, [
307
+ (u(!0), _(R, null, T(a.current.roles, (l, n) => (u(), _("div", {
308
+ class: j(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": n !== a.current.roles.length - 1 }])
309
+ }, $(l.icon) + " " + $(l.name), 3))), 256))
306
310
  ]),
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, {
311
+ i("p", Ie, " 👨‍👨‍👧‍👧 " + $(a.current.numberOfMemberships) + " followers ", 1),
312
+ p.user._id && c(e).params._id && c(e).params._id !== p.user._id ? (u(), w(q, {
309
313
  key: 3,
310
314
  type: "user",
311
- isMember: l.current.isMember,
312
- targetId: l.current._id,
313
- userId: _.user._id,
315
+ isMember: a.current.isMember,
316
+ targetId: a.current._id,
317
+ userId: p.user._id,
314
318
  class: "w-min mn-auto",
315
- onUpdateMembership: h
316
- }, null, 8, ["isMember", "targetId", "userId"])) : P("", !0)
319
+ onUpdateMembership: C
320
+ }, null, 8, ["isMember", "targetId", "userId"])) : y("", !0),
321
+ Object.values(a.current.socials).some((l) => l) ? (u(), _("h4", ze, " Find Me in Socials ")) : y("", !0),
322
+ o(Q, {
323
+ telegram: a.current.socials.telegram,
324
+ facebook: a.current.socials.facebook,
325
+ instagram: a.current.socials.instagram,
326
+ twitter: a.current.socials.twitter,
327
+ class: "mn-r-auto mn-l-auto"
328
+ }, null, 8, ["telegram", "facebook", "instagram", "twitter"])
317
329
  ]),
318
- d(Z, null, {
319
- default: p(() => [
320
- d(w, {
321
- onClick: i[1] || (i[1] = (n) => u(c).push({ name: "User Events", params: { _id: u(e).params._id } })),
330
+ o(Z, null, {
331
+ default: g(() => [
332
+ o(x, {
333
+ onClick: d[1] || (d[1] = (l) => c(m).push({ name: "User Events", params: { _id: c(e).params._id } })),
322
334
  class: "cursor-pointer"
323
335
  }, {
324
- default: p(() => [
325
- d(ce, {
336
+ default: g(() => [
337
+ o(pe, {
326
338
  class: "i-semi",
327
339
  icon: !0
328
340
  }),
329
- ze
341
+ Be
330
342
  ]),
331
343
  _: 1
332
344
  }),
333
- d(w, {
334
- onClick: i[2] || (i[2] = (n) => u(c).push({ name: "User Organizations", params: { _id: u(e).params._id } })),
345
+ o(x, {
346
+ onClick: d[2] || (d[2] = (l) => c(m).push({ name: "User Organizations", params: { _id: c(e).params._id } })),
335
347
  class: "cursor-pointer"
336
348
  }, {
337
- default: p(() => [
338
- d(ge, {
349
+ default: g(() => [
350
+ o(ve, {
339
351
  class: "i-semi",
340
352
  icon: !0
341
353
  }),
342
- Ie
354
+ Oe
343
355
  ]),
344
356
  _: 1
345
357
  }),
346
- d(w, {
347
- onClick: i[3] || (i[3] = (n) => u(c).push({ name: "User Blogposts", params: { _id: u(e).params._id } })),
358
+ o(x, {
359
+ onClick: d[3] || (d[3] = (l) => c(m).push({ name: "User Blogposts", params: { _id: c(e).params._id } })),
348
360
  class: "cursor-pointer"
349
361
  }, {
350
- default: p(() => [
351
- d(ke, {
362
+ default: g(() => [
363
+ o(Ve, {
352
364
  class: "i-semi",
353
365
  icon: !0
354
366
  }),
355
- Be
356
- ]),
357
- _: 1
358
- })
359
- ]),
360
- _: 1
361
- }),
362
- d(Z, null, {
363
- default: p(() => [
364
- d(w, {
365
- onClick: i[4] || (i[4] = (n) => u(c).push({ name: "User Comments", params: { _id: u(e).params._id } })),
366
- class: "cursor-pointer"
367
- }, {
368
- default: p(() => [
369
- Oe
370
- ]),
371
- _: 1
372
- }),
373
- d(w, {
374
- onClick: i[5] || (i[5] = (n) => u(c).push({ name: "User Likes", params: { _id: u(e).params._id } })),
375
- class: "cursor-pointer"
376
- }, {
377
- default: p(() => [
378
- Re
367
+ Fe
379
368
  ]),
380
369
  _: 1
381
370
  })
382
371
  ]),
383
372
  _: 1
384
373
  }),
385
- _.user._id === u(e).params._id ? (m(), y(Z, { key: 1 }, {
386
- default: p(() => [
387
- d(w, {
388
- onClick: i[6] || (i[6] = (n) => u(c).push({
374
+ p.user._id === c(e).params._id ? (u(), w(Z, { key: 1 }, {
375
+ default: g(() => [
376
+ o(x, {
377
+ onClick: d[4] || (d[4] = (l) => c(m).push({
389
378
  name: "User Edit Profile",
390
379
  params: {
391
- _id: u(e).params._id
380
+ _id: c(e).params._id
392
381
  }
393
382
  })),
394
383
  class: "cursor-pointer"
395
384
  }, {
396
- default: p(() => [
397
- je
385
+ default: g(() => [
386
+ Re
398
387
  ]),
399
388
  _: 1
400
389
  }),
401
- d(w, {
390
+ o(x, {
402
391
  class: "cursor-pointer",
403
- onClick: i[7] || (i[7] = (n) => r())
392
+ onClick: d[5] || (d[5] = (l) => t())
404
393
  }, {
405
- default: p(() => [
406
- Ae
394
+ default: g(() => [
395
+ Te
407
396
  ]),
408
397
  _: 1
409
398
  })
410
399
  ]),
411
400
  _: 1
412
- })) : P("", !0)
401
+ })) : y("", !0)
413
402
  ])
414
403
  ]));
415
404
  }
416
- }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
405
+ }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
417
406
  __proto__: null,
418
- default: Fe
407
+ default: je
419
408
  }, Symbol.toStringTag, { value: "Module" }));
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 = {
409
+ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ i("h3", { class: "mn-small" }, "Username", -1), Ye = /* @__PURE__ */ i("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), qe = /* @__PURE__ */ i("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__ */ i("h4", null, "Upload userpic", -1), Qe = /* @__PURE__ */ i("p", { class: "mn-thin" }, "Select your birthday if you want to receive your birthday gift.", -1), We = /* @__PURE__ */ i("h3", { class: "mn-small" }, "Socials", -1), Xe = /* @__PURE__ */ i("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), et = /* @__PURE__ */ i("h3", { class: "mn-small" }, "Account", -1), tt = /* @__PURE__ */ i("p", { class: "mn-thin" }, "If you want to change your account details please contact the administratior: admin@thecommunephuket.com", -1), st = {
421
410
  __name: "ProfileEdit",
422
- async setup(t) {
423
- let e, c;
411
+ async setup(s) {
412
+ let e, m;
424
413
  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);
414
+ const f = E(), C = L();
415
+ [e, m] = A(() => U.read({ _id: p.user._id })), await e, m();
416
+ const t = V(a.current);
417
+ async function v() {
418
+ await U.update(a.current);
430
419
  }
431
- function i() {
432
- h.replace({ name: "User Profile", params: { _id: l.current._id } });
420
+ function d() {
421
+ C.replace({ name: "User Profile", params: { _id: a.current._id } });
433
422
  }
434
- return (n, a) => (m(), C("div", Ge, [
435
- u(f).params._id === _.user._id ? (m(), y(S, {
423
+ return (l, n) => (u(), _("div", Ge, [
424
+ c(f).params._id === p.user._id ? (u(), w(N, {
436
425
  key: 0,
437
- user: _.user._id,
438
- target: r.value,
426
+ user: p.user._id,
427
+ target: t.value,
439
428
  cta: !1
440
- }, null, 8, ["user", "target"])) : P("", !0),
429
+ }, null, 8, ["user", "target"])) : y("", !0),
441
430
  De,
442
- d(b, {
443
- field: r.value.username,
444
- "onUpdate:field": a[0] || (a[0] = (o) => r.value.username = o),
431
+ o(h, {
432
+ field: t.value.username,
433
+ "onUpdate:field": n[0] || (n[0] = (r) => t.value.username = r),
445
434
  label: "Username",
446
435
  placeholder: "Not specified",
447
436
  class: "mn-thin w-100 bg-grey pd-medium radius-small",
448
437
  disabled: "true",
449
- validation: n.organizationName
438
+ validation: l.organizationName
450
439
  }, null, 8, ["field", "validation"]),
451
440
  Ye,
452
441
  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",
442
+ i("div", Je, [
443
+ o(X, {
444
+ photo: t.value.profile.photo,
445
+ "onUpdate:photo": n[1] || (n[1] = (r) => t.value.profile.photo = r),
446
+ uploadPath: "users/" + t.value._id + "/avatars",
458
447
  class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
459
448
  }, null, 8, ["photo", "uploadPath"]),
460
449
  Ke
461
450
  ]),
462
- d(b, {
463
- field: r.value.profile.name,
464
- "onUpdate:field": a[2] || (a[2] = (o) => r.value.profile.name = o),
451
+ o(h, {
452
+ field: t.value.profile.name,
453
+ "onUpdate:field": n[2] || (n[2] = (r) => t.value.profile.name = r),
465
454
  label: "Name",
466
455
  placeholder: "Not specified",
467
456
  class: "mn-thin bg-grey pd-medium radius-small",
468
- validation: n.organizationName
457
+ validation: l.organizationName
469
458
  }, null, 8, ["field", "validation"]),
470
- d(b, {
471
- field: r.value.profile.description,
472
- "onUpdate:field": a[3] || (a[3] = (o) => r.value.profile.description = o),
459
+ o(h, {
460
+ field: t.value.profile.description,
461
+ "onUpdate:field": n[3] || (n[3] = (r) => t.value.profile.description = r),
473
462
  label: "Description",
474
463
  placeholder: "Not specified",
475
464
  class: "mn-thin bg-grey pd-medium radius-small",
476
465
  disabled: "true",
477
- validation: n.organizationName
466
+ validation: l.organizationName
478
467
  }, null, 8, ["field", "validation"]),
479
468
  Qe,
480
- d(b, {
481
- field: r.value.birthday,
482
- "onUpdate:field": a[4] || (a[4] = (o) => r.value.birthday = o),
469
+ o(h, {
470
+ field: t.value.birthday,
471
+ "onUpdate:field": n[4] || (n[4] = (r) => t.value.birthday = r),
483
472
  label: "Birthday",
484
473
  type: "date",
485
474
  placeholder: "Not specified",
486
475
  class: "mn-semi bg-grey pd-medium radius-small",
487
- validation: n.organizationName
476
+ validation: l.organizationName
488
477
  }, null, 8, ["field", "validation"]),
489
478
  We,
490
479
  Xe,
491
- d(b, {
492
- field: r.value.phone,
493
- "onUpdate:field": a[5] || (a[5] = (o) => r.value.phone = o),
480
+ o(h, {
481
+ field: t.value.socials.instagram,
482
+ "onUpdate:field": n[5] || (n[5] = (r) => t.value.socials.instagram = r),
483
+ label: "Instagram",
484
+ placeholder: "",
485
+ class: "mn-thin bg-grey pd-medium radius-small"
486
+ }, null, 8, ["field"]),
487
+ o(h, {
488
+ field: t.value.socials.twitter,
489
+ "onUpdate:field": n[6] || (n[6] = (r) => t.value.socials.twitter = r),
490
+ label: "Twitter",
491
+ placeholder: "",
492
+ class: "mn-thin bg-grey pd-medium radius-small"
493
+ }, null, 8, ["field"]),
494
+ o(h, {
495
+ field: t.value.socials.facebook,
496
+ "onUpdate:field": n[7] || (n[7] = (r) => t.value.socials.facebook = r),
497
+ label: "Facebook",
498
+ placeholder: "",
499
+ class: "mn-thin bg-grey pd-medium radius-small"
500
+ }, null, 8, ["field"]),
501
+ o(h, {
502
+ field: t.value.socials.telegram,
503
+ "onUpdate:field": n[8] || (n[8] = (r) => t.value.socials.telegram = r),
504
+ label: "Telegram",
505
+ placeholder: "",
506
+ class: "mn-semi bg-grey pd-medium radius-small"
507
+ }, null, 8, ["field"]),
508
+ et,
509
+ tt,
510
+ o(h, {
511
+ field: t.value.phone,
512
+ "onUpdate:field": n[9] || (n[9] = (r) => t.value.phone = r),
494
513
  label: "Phone",
495
514
  placeholder: "Not specified",
496
515
  class: "mn-thin bg-grey pd-medium mn-thin radius-small",
497
516
  disabled: "true",
498
- validation: n.organizationName
517
+ validation: l.organizationName
499
518
  }, null, 8, ["field", "validation"]),
500
- d(b, {
501
- field: r.value.email,
502
- "onUpdate:field": a[6] || (a[6] = (o) => r.value.email = o),
519
+ o(h, {
520
+ field: t.value.email,
521
+ "onUpdate:field": n[10] || (n[10] = (r) => t.value.email = r),
503
522
  label: "Email",
504
523
  placeholder: "Not specified",
505
524
  class: "mn-thin bg-grey pd-medium radius-small",
506
- disabled: "true",
507
- validation: n.organizationName
508
- }, null, 8, ["field", "validation"]),
509
- d(b, {
510
- field: r.value.password,
511
- "onUpdate:field": a[7] || (a[7] = (o) => r.value.password = o),
512
- label: "Password",
513
- placeholder: "Not specified",
514
- class: "mn-semi bg-grey pd-medium radius-small",
515
- disabled: "true",
516
- validation: n.organizationName
525
+ disabled: !0,
526
+ validation: l.organizationName
517
527
  }, null, 8, ["field", "validation"]),
518
- d(Y, {
519
- submit: g,
520
- callback: i,
528
+ o(Y, {
529
+ submit: v,
530
+ callback: d,
521
531
  class: "mn-thin"
522
532
  }, {
523
- default: p(() => [
524
- L("Сохранить")
533
+ default: g(() => [
534
+ S("Сохранить")
525
535
  ]),
526
536
  _: 1
527
537
  })
528
538
  ]));
529
539
  }
530
- }, tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
540
+ }, rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
531
541
  __proto__: null,
532
- default: et
533
- }, Symbol.toStringTag, { value: "Module" })), _t = [{
542
+ default: st
543
+ }, Symbol.toStringTag, { value: "Module" })), Ct = [{
534
544
  path: "profile/:_id",
535
545
  name: "User Profile",
536
546
  meta: {
@@ -539,7 +549,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
539
549
  ru: "Профиль"
540
550
  }
541
551
  },
542
- component: () => Promise.resolve().then(() => Te)
552
+ component: () => Promise.resolve().then(() => Ae)
543
553
  }, {
544
554
  path: "profile/:_id/blogposts",
545
555
  name: "User Blogposts",
@@ -551,7 +561,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
551
561
  },
552
562
  component: () => import(
553
563
  /* webpackChunkName: "profile" */
554
- "./ProfileBlogposts-fb014bc6.mjs"
564
+ "./ProfileBlogposts-67e1bd8f.mjs"
555
565
  )
556
566
  }, {
557
567
  path: "profile/:_id/comments",
@@ -564,7 +574,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
564
574
  },
565
575
  component: () => import(
566
576
  /* webpackChunkName: "profile" */
567
- "./ProfileComments-58094a50.mjs"
577
+ "./ProfileComments-17352b6a.mjs"
568
578
  )
569
579
  }, {
570
580
  path: "profile/:_id/edit",
@@ -575,7 +585,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
575
585
  ru: "Редактировать Профиль"
576
586
  }
577
587
  },
578
- component: () => Promise.resolve().then(() => tt)
588
+ component: () => Promise.resolve().then(() => rt)
579
589
  }, {
580
590
  path: "profile/:_id/events",
581
591
  name: "User Events",
@@ -584,7 +594,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
584
594
  },
585
595
  component: () => import(
586
596
  /* webpackChunkName: "profile" */
587
- "./ProfileEvents-1cfe6858.mjs"
597
+ "./ProfileEvents-76166bc5.mjs"
588
598
  )
589
599
  }, {
590
600
  path: "profile/:_id/likes",
@@ -597,7 +607,7 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
597
607
  },
598
608
  component: () => import(
599
609
  /* webpackChunkName: "profile" */
600
- "./ProfileLikes-b5ac7f48.mjs"
610
+ "./ProfileLikes-f838ff5e.mjs"
601
611
  )
602
612
  }, {
603
613
  path: "profile/:_id/organizations",
@@ -610,12 +620,12 @@ const Ge = { class: "pd-medium for-transition w-100" }, De = /* @__PURE__ */ s("
610
620
  },
611
621
  component: () => import(
612
622
  /* webpackChunkName: "profile" */
613
- "./ProfileOrganizations-32ab1e30.mjs"
623
+ "./ProfileOrganizations-58ebfe44.mjs"
614
624
  )
615
625
  }];
616
626
  export {
617
- Fe as Profile,
618
- et as ProfileEdit,
619
- _t as usersRoutes,
620
- pt as usersStore
627
+ je as Profile,
628
+ st as ProfileEdit,
629
+ Ct as usersRoutes,
630
+ ht as usersStore
621
631
  };