@ozdao/prometheus-framework 0.0.89 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-afba007a.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-0677d446.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-ca8e0e22.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-76b2997e.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-8df23653.mjs → IconEdit-f0ad8b9a.mjs} +1 -1
  15. package/dist/{Image-30f04604.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6ec294f3.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-bdf043ba.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-b233e2a3.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-eb00f35e.mjs → Product-58a83c67.mjs} +17 -16
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-61413d02.mjs → ProductEdit-56752bbe.mjs} +30 -29
  25. package/dist/{ProfileBlogposts-775b1cfa.mjs → ProfileBlogposts-67e1bd8f.mjs} +11 -10
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-fd7d66bf.mjs → ProfileComments-17352b6a.mjs} +7 -6
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-7a51a9e6.mjs → ProfileEvents-76166bc5.mjs} +13 -12
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-20a8a3c9.mjs → ProfileLikes-f838ff5e.mjs} +10 -9
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-4b866823.mjs → ProfileOrganizations-58ebfe44.mjs} +7 -6
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-0e44c61e.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{UploadImage-9e7e7468.js → UploadImage-73d66f27.js} +1 -1
  38. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  39. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  40. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  41. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  42. package/dist/auth-5a58f8cb.js +8 -0
  43. package/dist/auth.client.cjs +8 -8
  44. package/dist/auth.client.js +16 -15
  45. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  46. package/dist/{auth.validation-9f7c7948.js → auth.validation-be05e981.js} +1 -1
  47. package/dist/community.client.cjs +1 -1
  48. package/dist/community.client.js +26 -25
  49. package/dist/community.server.js +7 -167
  50. package/dist/community.server.mjs +7 -167
  51. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  52. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  53. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  54. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  55. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  56. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  57. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  58. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  59. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  60. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  61. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  62. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  63. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  64. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  65. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  66. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  67. package/dist/events.client.cjs +1 -1
  68. package/dist/events.client.js +24 -23
  69. package/dist/landing.client.cjs +1 -0
  70. package/dist/landing.client.js +132 -0
  71. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  72. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  73. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  74. package/dist/{organizations-1581c013.mjs → organizations-2adff182.mjs} +1 -1
  75. package/dist/{organizations-c455dad7.js → organizations-e97a0f85.js} +1 -1
  76. package/dist/{organizations.client-7937e180.mjs → organizations.client-88d41199.mjs} +50 -49
  77. package/dist/organizations.client-d21a22ec.js +3 -0
  78. package/dist/organizations.client.cjs +1 -1
  79. package/dist/organizations.client.js +46 -45
  80. package/dist/prometheus-framework.cjs.js +19 -19
  81. package/dist/prometheus-framework.es.js +2171 -2164
  82. package/dist/style.css +1 -1
  83. package/dist/users.client.cjs +1 -1
  84. package/dist/users.client.js +16 -15
  85. package/package.json +6 -2
  86. package/src/components/Text/Text.vue +3 -1
  87. package/src/modules/community/community.server.js +0 -2
  88. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  89. package/src/modules/community/components/pages/Blog.vue +1 -1
  90. package/src/modules/community/controllers/blog.controller.js +5 -1
  91. package/src/modules/icons/labels/LabelAppStore.vue +32 -0
  92. package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
  93. package/src/modules/landing/components/sections/MobileApp.vue +125 -0
  94. package/src/modules/landing/landing.client.js +7 -0
  95. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  96. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  97. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  98. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  99. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  100. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  101. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js +0 -1
  102. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  103. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  104. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  105. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  106. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  107. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  108. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  109. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  110. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +0 -1944
  111. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  112. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  113. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  114. package/dist/ButtonFollow-001c4a65.mjs +0 -130
  115. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  116. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  117. package/dist/ButtonFollow-1b655344.js +0 -1
  118. package/dist/ButtonFollow-2ce169ca.js +0 -1
  119. package/dist/ButtonFollow-48043cc7.js +0 -1
  120. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  121. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  122. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  123. package/dist/ButtonFollow-c4680999.js +0 -1
  124. package/dist/ButtonFollow-c9484003.mjs +0 -130
  125. package/dist/ButtonFollow-d983e174.js +0 -1
  126. package/dist/ButtonFollow-f630623a.js +0 -1
  127. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  128. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  129. package/dist/CardHeader-2ef6618e.mjs +0 -96
  130. package/dist/CardHeader-377cfc4b.js +0 -1
  131. package/dist/CardHeader-39f75e85.mjs +0 -76
  132. package/dist/CardHeader-88de7b20.mjs +0 -76
  133. package/dist/CardHeader-925a972b.js +0 -1
  134. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  135. package/dist/CardHeader-ddf82318.js +0 -1
  136. package/dist/CardHeader-dff9c71a.js +0 -1
  137. package/dist/CardHeader-e15eb618.js +0 -1
  138. package/dist/CardHeader-e361dada.mjs +0 -96
  139. package/dist/CardHeader-e517c801.mjs +0 -76
  140. package/dist/CardOrganization-0291683b.js +0 -1
  141. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  142. package/dist/CardOrganization-21de52b3.js +0 -1
  143. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  144. package/dist/CardOrganization-4859370e.mjs +0 -320
  145. package/dist/CardOrganization-51309400.js +0 -1
  146. package/dist/CardOrganization-58b54995.js +0 -1
  147. package/dist/CardOrganization-91e79698.mjs +0 -320
  148. package/dist/CardOrganization-9841dbe0.js +0 -1
  149. package/dist/CardOrganization-a05f3a19.js +0 -1
  150. package/dist/CardOrganization-a75b523d.mjs +0 -63
  151. package/dist/CardOrganization-bacc2ef6.mjs +0 -202
  152. package/dist/CardOrganization-d462e158.mjs +0 -320
  153. package/dist/CardOrganization-ee5c34ab.js +0 -1
  154. package/dist/CardOrganization-f70bd169.mjs +0 -202
  155. package/dist/CardOrganization-ffa585a7.js +0 -1
  156. package/dist/Comments-1aec0e5e.js +0 -1
  157. package/dist/Comments-5ed669ea.mjs +0 -74
  158. package/dist/Comments-63f154a6.js +0 -9
  159. package/dist/Comments-641516f8.mjs +0 -76
  160. package/dist/Comments-646c73ee.js +0 -1
  161. package/dist/Comments-6ff58c26.js +0 -1
  162. package/dist/Comments-7c4f2715.js +0 -1
  163. package/dist/Comments-81feeb4a.mjs +0 -76
  164. package/dist/Comments-9427a0eb.mjs +0 -76
  165. package/dist/Comments-b5821190.mjs +0 -76
  166. package/dist/Comments-b620bae6.js +0 -1
  167. package/dist/Comments-b6e32958.js +0 -1
  168. package/dist/Comments-c092550f.mjs +0 -76
  169. package/dist/Comments-c5afa4d6.mjs +0 -459
  170. package/dist/Comments-d2a8fd0f.mjs +0 -76
  171. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  172. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  173. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  174. package/dist/DepartmentEdit-d98c2239.js +0 -1
  175. package/dist/EditProductImages-04ec4326.js +0 -1
  176. package/dist/EditProductImages-11510b66.js +0 -1
  177. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  178. package/dist/EditProductImages-4246db75.mjs +0 -236
  179. package/dist/EditProductImages-42f9f665.mjs +0 -236
  180. package/dist/EditProductImages-61ff4321.mjs +0 -236
  181. package/dist/EditProductImages-98d13eb0.js +0 -1
  182. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  183. package/dist/EditProductImages-b1b05c03.js +0 -1
  184. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  185. package/dist/EditProductImages-cf67d31b.js +0 -1
  186. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  187. package/dist/EditProductImages-d9228ad0.js +0 -1
  188. package/dist/EditProductImages-ec630dbf.js +0 -1
  189. package/dist/EditProductImages-f983f473.mjs +0 -236
  190. package/dist/EmptyState-1214f70b.mjs +0 -36
  191. package/dist/EmptyState-23c13029.js +0 -1
  192. package/dist/Feed-0b549674.js +0 -1
  193. package/dist/Feed-193dd1df.mjs +0 -342
  194. package/dist/Feed-26bf6bef.js +0 -1
  195. package/dist/Feed-2f9a1922.mjs +0 -334
  196. package/dist/Feed-31523f38.js +0 -1
  197. package/dist/Feed-4b28adc5.mjs +0 -423
  198. package/dist/Feed-51e4e232.js +0 -1
  199. package/dist/Feed-531de2d5.js +0 -1
  200. package/dist/Feed-55c5907a.js +0 -1
  201. package/dist/Feed-5c9e4e74.mjs +0 -340
  202. package/dist/Feed-5d8d5c21.js +0 -1
  203. package/dist/Feed-706cd7c0.mjs +0 -383
  204. package/dist/Feed-8009e4f8.js +0 -1
  205. package/dist/Feed-81d5802e.mjs +0 -355
  206. package/dist/Feed-83ef5666.js +0 -1
  207. package/dist/Feed-8fd41524.js +0 -1
  208. package/dist/Feed-91eff3af.mjs +0 -393
  209. package/dist/Feed-926cf4f3.mjs +0 -355
  210. package/dist/Feed-932d976d.js +0 -1
  211. package/dist/Feed-962e009b.js +0 -1
  212. package/dist/Feed-a31c43c2.mjs +0 -423
  213. package/dist/Feed-a82ae26b.js +0 -1
  214. package/dist/Feed-aa3bd30a.js +0 -1
  215. package/dist/Feed-b8eeb4e7.js +0 -1
  216. package/dist/Feed-bd7b1a45.js +0 -1
  217. package/dist/Feed-c0007a83.mjs +0 -383
  218. package/dist/Feed-c93012c7.mjs +0 -346
  219. package/dist/Feed-d2e5978c.mjs +0 -342
  220. package/dist/Feed-d4220f74.mjs +0 -340
  221. package/dist/Feed-d8e33aed.mjs +0 -397
  222. package/dist/Feed-dc8b66bf.mjs +0 -367
  223. package/dist/Feed-df5bbb3c.mjs +0 -346
  224. package/dist/Feed-e5fb4972.mjs +0 -397
  225. package/dist/Feed-e8fb21ed.js +0 -1
  226. package/dist/Feed-e91b36ea.mjs +0 -390
  227. package/dist/Feed-ecf37814.mjs +0 -367
  228. package/dist/Feed-eeb63363.js +0 -1
  229. package/dist/Feed-f4cad6c3.js +0 -1
  230. package/dist/Field-740d5a17.mjs +0 -60
  231. package/dist/Field-a1770ccf.js +0 -1
  232. package/dist/Field-ada86df2.js +0 -1
  233. package/dist/Field-e839d9ca.mjs +0 -60
  234. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  235. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  236. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  237. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  238. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  239. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  240. package/dist/IconEdit-3028a3b7.js +0 -1
  241. package/dist/IconEdit-736c89be.js +0 -1
  242. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  243. package/dist/Image-6c7584f5.mjs +0 -477
  244. package/dist/Image-9a870c88.js +0 -9
  245. package/dist/PlaceholderUserpic-10fd9026.js +0 -1
  246. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  247. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  248. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  249. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  250. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  251. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  252. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  253. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  254. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  255. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  256. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  257. package/dist/PlaceholderUserpic-eb9820ce.mjs +0 -28
  258. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  259. package/dist/Popup-0c791801.mjs +0 -76
  260. package/dist/Popup-70f6a8c0.mjs +0 -76
  261. package/dist/Popup-7c331e1c.js +0 -1
  262. package/dist/Popup-82fb2c8a.mjs +0 -76
  263. package/dist/Popup-9479e39a.js +0 -1
  264. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  265. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  266. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  276. package/dist/Product-0195429b.js +0 -1
  277. package/dist/Product-035252c0.js +0 -1
  278. package/dist/Product-05cc1386.mjs +0 -687
  279. package/dist/Product-151f4473.mjs +0 -904
  280. package/dist/Product-1724d88d.mjs +0 -837
  281. package/dist/Product-19cc3654.js +0 -7
  282. package/dist/Product-2f3d592f.mjs +0 -837
  283. package/dist/Product-2fbf9d99.js +0 -7
  284. package/dist/Product-334f8bf4.mjs +0 -904
  285. package/dist/Product-35904a9b.js +0 -7
  286. package/dist/Product-3c64a352.mjs +0 -904
  287. package/dist/Product-45a6e7bd.mjs +0 -687
  288. package/dist/Product-4a5f985d.mjs +0 -837
  289. package/dist/Product-60e14832.mjs +0 -904
  290. package/dist/Product-67efba5c.js +0 -7
  291. package/dist/Product-6c37ef35.js +0 -7
  292. package/dist/Product-7087b358.mjs +0 -837
  293. package/dist/Product-96195a8e.js +0 -7
  294. package/dist/Product-a94d8b65.js +0 -7
  295. package/dist/Product-b440df7f.js +0 -7
  296. package/dist/Product-c3a77d07.mjs +0 -837
  297. package/dist/Product-c8441f02.js +0 -7
  298. package/dist/Product-cf9cfe65.mjs +0 -904
  299. package/dist/Product-df622dc0.mjs +0 -837
  300. package/dist/Product-eb2b6725.js +0 -7
  301. package/dist/Product-f4dbd969.mjs +0 -837
  302. package/dist/Product-f819b17e.js +0 -7
  303. package/dist/Product-fb63c7cd.js +0 -7
  304. package/dist/ProductEdit-04760699.js +0 -1
  305. package/dist/ProductEdit-177c1f16.mjs +0 -113
  306. package/dist/ProductEdit-1e990a92.js +0 -1
  307. package/dist/ProductEdit-20709821.mjs +0 -349
  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/ProductEdit-fca68ff9.js +0 -1
  324. package/dist/ProfileBlogposts-00424109.js +0 -1
  325. package/dist/ProfileBlogposts-03658199.js +0 -1
  326. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  327. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  328. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  329. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  330. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  331. package/dist/ProfileBlogposts-6704a38c.js +0 -1
  332. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  333. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  334. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  335. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  336. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  337. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  338. package/dist/ProfileBlogposts-fb014bc6.mjs +0 -63
  339. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  340. package/dist/ProfileComments-0396b55c.js +0 -1
  341. package/dist/ProfileComments-08d1670d.mjs +0 -43
  342. package/dist/ProfileComments-175e42da.js +0 -1
  343. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  344. package/dist/ProfileComments-34eb560b.mjs +0 -43
  345. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  346. package/dist/ProfileComments-58094a50.mjs +0 -43
  347. package/dist/ProfileComments-5884d09f.mjs +0 -43
  348. package/dist/ProfileComments-66651060.mjs +0 -43
  349. package/dist/ProfileComments-677731b3.js +0 -1
  350. package/dist/ProfileComments-730c2f73.js +0 -1
  351. package/dist/ProfileComments-82791682.js +0 -1
  352. package/dist/ProfileComments-b6a688cd.js +0 -1
  353. package/dist/ProfileComments-b919f021.js +0 -1
  354. package/dist/ProfileComments-d3966a83.mjs +0 -43
  355. package/dist/ProfileComments-f5f260ec.js +0 -1
  356. package/dist/ProfileEvents-05485e20.js +0 -1
  357. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  358. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  359. package/dist/ProfileEvents-20695376.mjs +0 -55
  360. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  361. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  362. package/dist/ProfileEvents-4f2a5f00.js +0 -1
  363. package/dist/ProfileEvents-5d206e3d.mjs +0 -55
  364. package/dist/ProfileEvents-676239cc.js +0 -1
  365. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  366. package/dist/ProfileEvents-858e9471.mjs +0 -55
  367. package/dist/ProfileEvents-85a88674.mjs +0 -55
  368. package/dist/ProfileEvents-89def76b.js +0 -1
  369. package/dist/ProfileEvents-94d7b407.js +0 -1
  370. package/dist/ProfileEvents-b057d374.js +0 -1
  371. package/dist/ProfileEvents-b5431cd6.js +0 -1
  372. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  373. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  374. package/dist/ProfileEvents-cd75d80b.js +0 -1
  375. package/dist/ProfileEvents-cebebb17.js +0 -1
  376. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  377. package/dist/ProfileEvents-d8e16509.js +0 -1
  378. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  379. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  380. package/dist/ProfileLikes-0668b718.js +0 -1
  381. package/dist/ProfileLikes-2f3a4488.js +0 -1
  382. package/dist/ProfileLikes-405c2636.js +0 -1
  383. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  384. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  385. package/dist/ProfileLikes-503712ec.mjs +0 -43
  386. package/dist/ProfileLikes-7f965631.mjs +0 -43
  387. package/dist/ProfileLikes-854276f0.js +0 -1
  388. package/dist/ProfileLikes-8ccf6815.js +0 -1
  389. package/dist/ProfileLikes-a78900c0.js +0 -1
  390. package/dist/ProfileLikes-b3b1350a.js +0 -1
  391. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  392. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  393. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  394. package/dist/ProfileLikes-c899e3df.js +0 -1
  395. package/dist/ProfileLikes-d978b084.mjs +0 -43
  396. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  397. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  398. package/dist/ProfileOrganizations-0e202612.js +0 -1
  399. package/dist/ProfileOrganizations-13748b09.js +0 -1
  400. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  401. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  402. package/dist/ProfileOrganizations-32ab1e30.mjs +0 -211
  403. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  404. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  405. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  406. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  407. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  408. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  409. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  410. package/dist/ProfileOrganizations-6d3a43e4.js +0 -1
  411. package/dist/ProfileOrganizations-704f628b.js +0 -1
  412. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  413. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  414. package/dist/ProfileOrganizations-c7688210.js +0 -1
  415. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  416. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  417. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  418. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  419. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  420. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  421. package/dist/Publics-07d5bbc4.js +0 -1
  422. package/dist/Publics-122d9fc7.mjs +0 -1078
  423. package/dist/Publics-13c48a23.mjs +0 -47
  424. package/dist/Publics-17009745.mjs +0 -1926
  425. package/dist/Publics-213e0e9e.mjs +0 -44
  426. package/dist/Publics-21f24533.mjs +0 -44
  427. package/dist/Publics-3f277c17.js +0 -1
  428. package/dist/Publics-450a6715.mjs +0 -1926
  429. package/dist/Publics-49dbeafc.js +0 -1
  430. package/dist/Publics-4e1c14fc.js +0 -1
  431. package/dist/Publics-501c9f27.js +0 -1
  432. package/dist/Publics-54134615.mjs +0 -47
  433. package/dist/Publics-889c25fc.js +0 -1
  434. package/dist/Publics-8bea4201.mjs +0 -44
  435. package/dist/Publics-8d94ee66.js +0 -1
  436. package/dist/Publics-9ebffff1.mjs +0 -122
  437. package/dist/Publics-a030da8f.js +0 -1
  438. package/dist/Publics-aca585c3.js +0 -1
  439. package/dist/Publics-b0fad2b0.mjs +0 -1926
  440. package/dist/Publics-becb1486.js +0 -1
  441. package/dist/Publics-c6f6b824.js +0 -1
  442. package/dist/Publics-c9d5aa74.js +0 -1
  443. package/dist/Publics-fbc8d2db.mjs +0 -1926
  444. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  445. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  446. package/dist/Tab-054b61f7.mjs +0 -46
  447. package/dist/Tab-1ca0fe66.js +0 -1
  448. package/dist/Tab-58cd105f.mjs +0 -46
  449. package/dist/Tab-b0a7ac11.js +0 -1
  450. package/dist/Tab-c67fbf51.mjs +0 -46
  451. package/dist/Tab-f04c185d.js +0 -1
  452. package/dist/Tab-fcb73759.mjs +0 -46
  453. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  454. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  455. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  456. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  457. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  458. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  459. package/dist/UploadImage-441e8526.js +0 -1
  460. package/dist/UploadImage-4e91bd99.js +0 -1
  461. package/dist/UploadImage-6e312c46.mjs +0 -83
  462. package/dist/UploadImage-74280ea3.mjs +0 -99
  463. package/dist/UploadImage-75b1a18a.js +0 -1
  464. package/dist/UploadImage-7c502f96.js +0 -1
  465. package/dist/UploadImage-96408782.mjs +0 -99
  466. package/dist/UploadImage-9abb7116.js +0 -1
  467. package/dist/UploadImage-b1acc48f.mjs +0 -99
  468. package/dist/UploadImage-c81c3b76.js +0 -1
  469. package/dist/UploadImage-cd6de241.js +0 -1
  470. package/dist/UploadImage-d1dbc280.mjs +0 -99
  471. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  472. package/dist/auth-07c01b19.js +0 -8
  473. package/dist/auth-18f80fef.mjs +0 -1501
  474. package/dist/auth-2bc18d1e.js +0 -8
  475. package/dist/auth-35ef1791.mjs +0 -1502
  476. package/dist/auth-50bd4ebb.js +0 -8
  477. package/dist/auth-5aa8e90c.js +0 -8
  478. package/dist/auth-708eebcb.mjs +0 -1446
  479. package/dist/auth-78fd9408.js +0 -8
  480. package/dist/auth-7dff19e4.js +0 -8
  481. package/dist/auth-84680727.mjs +0 -1501
  482. package/dist/auth-ab40831d.js +0 -8
  483. package/dist/auth-d102dac0.mjs +0 -1501
  484. package/dist/auth-f81f3598.mjs +0 -1439
  485. package/dist/auth-fefd15a3.mjs +0 -1503
  486. package/dist/auth.validation-1fb0cb4f.js +0 -1
  487. package/dist/auth.validation-29113f37.mjs +0 -20
  488. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  489. package/dist/auth.validation-2e8ee994.js +0 -1
  490. package/dist/auth.validation-4a617c0b.mjs +0 -20
  491. package/dist/auth.validation-6923140f.js +0 -1
  492. package/dist/auth.validation-69488f55.mjs +0 -20
  493. package/dist/auth.validation-6bccabd6.mjs +0 -20
  494. package/dist/auth.validation-78a90fed.js +0 -1
  495. package/dist/auth.validation-9cfd985b.mjs +0 -20
  496. package/dist/auth.validation-a18510e8.js +0 -1
  497. package/dist/auth.validation-b644ee65.js +0 -1
  498. package/dist/auth.validation-f23a7238.mjs +0 -21
  499. package/dist/categories-75b7d14b.js +0 -1
  500. package/dist/categories-86b2d45b.mjs +0 -225
  501. package/dist/categories-d669f3af.mjs +0 -225
  502. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  503. package/dist/globals-d7a54bb4.js +0 -1
  504. package/dist/globals-f538c0ef.mjs +0 -87
  505. package/dist/inputs.validation-498d8ec9.js +0 -1
  506. package/dist/inputs.validation-5732152a.mjs +0 -93
  507. package/dist/inputs.validation-6960f71b.mjs +0 -93
  508. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  509. package/dist/inputs.validation-c53e01a2.js +0 -1
  510. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  511. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  512. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  513. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  514. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  515. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  516. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  517. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  518. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  519. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  520. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  521. package/dist/organizations-0e9ff7ca.mjs +0 -319
  522. package/dist/organizations-1b4c84ee.mjs +0 -121
  523. package/dist/organizations-35fe2db4.js +0 -1
  524. package/dist/organizations-4d74e13b.js +0 -1
  525. package/dist/organizations-5f9c7fbd.js +0 -1
  526. package/dist/organizations-6c1450fa.mjs +0 -153
  527. package/dist/organizations-773c328c.mjs +0 -319
  528. package/dist/organizations-a9b86de7.mjs +0 -319
  529. package/dist/organizations-af43bda4.js +0 -1
  530. package/dist/organizations-b3df0859.js +0 -1
  531. package/dist/organizations-c77ea9d0.js +0 -1
  532. package/dist/organizations-d4307861.mjs +0 -319
  533. package/dist/organizations-dd07ba2c.js +0 -1
  534. package/dist/organizations-fb1a2214.mjs +0 -319
  535. package/dist/organizations.client-040ec107.js +0 -3
  536. package/dist/organizations.client-253c8068.mjs +0 -3179
  537. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  538. package/dist/organizations.client-4e29c957.js +0 -3
  539. package/dist/organizations.client-686845be.mjs +0 -3179
  540. package/dist/organizations.client-71c9abde.mjs +0 -2898
  541. package/dist/organizations.client-99bfc474.js +0 -3
  542. package/dist/organizations.client-ba59ed4e.js +0 -3
  543. package/dist/organizations.client-c60d7659.js +0 -3
  544. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -1,130 +0,0 @@
1
- import { reactive as d, watch as b, openBlock as h, createBlock as y, withCtx as _, createTextVNode as f, toDisplayString as g } from "vue";
2
- import { a as w, _ as I, b as M } from "./auth-84680727.mjs";
3
- import { s as p } from "./globals-f538c0ef.mjs";
4
- const l = w.create({
5
- baseURL: process.env.API_URL,
6
- withCredentials: !0
7
- }), i = d({
8
- memberships: [],
9
- error: null
10
- }), u = {
11
- async read({ user: r, type: e, target: t, role: s }) {
12
- try {
13
- const o = await l.get("/api/memberships", { params: { user: r, type: e, target: t, role: s } });
14
- return i.error = null, i.memberships = o.data, Promise.resolve(o.data);
15
- } catch (o) {
16
- return p(o), Promise.reject(o);
17
- }
18
- },
19
- async create(r) {
20
- try {
21
- const e = await l.post("/api/memberships/create", r);
22
- return i.error = null, Promise.resolve(e.data);
23
- } catch (e) {
24
- return p(e), Promise.reject(e);
25
- }
26
- },
27
- async update(r) {
28
- try {
29
- const e = await l.post("/api/memberships/update", r);
30
- return i.error = null, Promise.resolve(e.data);
31
- } catch (e) {
32
- return p(e), Promise.reject(e);
33
- }
34
- },
35
- async delete(r) {
36
- try {
37
- const e = await l.post("/api/memberships/delete", r);
38
- return i.error = null, Promise.resolve(e.data);
39
- } catch (e) {
40
- return p(e), Promise.reject(e);
41
- }
42
- }
43
- }, P = {
44
- handleMembershipUpdate(r, e, t) {
45
- let s;
46
- if (Array.isArray(r) ? s = r.find((o) => o._id === e.target) : typeof r == "object" && r._id === e.target && (s = r), s)
47
- if (s.isMember = t, t)
48
- s.memberships.push(e), s.numberOfMemberships += 1;
49
- else {
50
- const o = s.memberships.findIndex((m) => m._id === e._id);
51
- o !== -1 && (s.memberships.splice(o, 1), s.numberOfMemberships -= 1);
52
- }
53
- }
54
- };
55
- b(i, (r) => {
56
- });
57
- const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
- __proto__: null,
59
- actions: u,
60
- mutations: P,
61
- state: i
62
- }, Symbol.toStringTag, { value: "Module" }));
63
- const v = {
64
- __name: "ButtonFollow",
65
- props: {
66
- type: {
67
- type: String,
68
- required: !0
69
- },
70
- userId: {
71
- type: String,
72
- required: !0
73
- },
74
- isMember: {
75
- type: Boolean,
76
- required: !0
77
- },
78
- targetId: {
79
- type: String,
80
- required: !0
81
- }
82
- },
83
- emits: ["updateMembership"],
84
- setup(r, { emit: e }) {
85
- const t = r, s = async () => {
86
- t.isMember ? await m(t.targetId) : await o(t.targetId);
87
- };
88
- async function o(c) {
89
- try {
90
- const a = {
91
- type: t.type,
92
- target: c,
93
- user: t.userId
94
- }, n = await u.create(a);
95
- e("updateMembership", { membership: n, isMember: !0, targetId: t.targetId });
96
- } catch (a) {
97
- throw console.log(a), a;
98
- }
99
- }
100
- async function m(c) {
101
- const a = {
102
- type: t.type,
103
- target: c,
104
- user: t.userId
105
- };
106
- try {
107
- const n = await u.delete(a);
108
- e("updateMembership", { membership: n, isMember: !1, targetId: t.targetId });
109
- } catch (n) {
110
- throw console.log(n), n;
111
- }
112
- }
113
- return (c, a) => (h(), y(M, {
114
- submit: s,
115
- class: "bg-main button-small button"
116
- }, {
117
- default: _(() => [
118
- f(g(r.isMember ? "Unfollow" : "Follow"), 1)
119
- ]),
120
- _: 1
121
- }));
122
- }
123
- }, F = /* @__PURE__ */ I(v, [["__scopeId", "data-v-c50e046c"]]);
124
- export {
125
- F as B,
126
- u as a,
127
- S as b,
128
- P as m,
129
- i as s
130
- };
@@ -1,130 +0,0 @@
1
- import { reactive as d, watch as b, openBlock as h, createBlock as y, withCtx as _, createTextVNode as f, toDisplayString as g } from "vue";
2
- import { a as w, _ as I, b as M } from "./auth-f81f3598.mjs";
3
- import { s as p } from "./globals-f538c0ef.mjs";
4
- const l = w.create({
5
- baseURL: process.env.API_URL,
6
- withCredentials: !0
7
- }), i = d({
8
- memberships: [],
9
- error: null
10
- }), u = {
11
- async read({ user: r, type: e, target: t, role: s }) {
12
- try {
13
- const o = await l.get("/api/memberships", { params: { user: r, type: e, target: t, role: s } });
14
- return i.error = null, i.memberships = o.data, Promise.resolve(o.data);
15
- } catch (o) {
16
- return p(o), Promise.reject(o);
17
- }
18
- },
19
- async create(r) {
20
- try {
21
- const e = await l.post("/api/memberships/create", r);
22
- return i.error = null, Promise.resolve(e.data);
23
- } catch (e) {
24
- return p(e), Promise.reject(e);
25
- }
26
- },
27
- async update(r) {
28
- try {
29
- const e = await l.post("/api/memberships/update", r);
30
- return i.error = null, Promise.resolve(e.data);
31
- } catch (e) {
32
- return p(e), Promise.reject(e);
33
- }
34
- },
35
- async delete(r) {
36
- try {
37
- const e = await l.post("/api/memberships/delete", r);
38
- return i.error = null, Promise.resolve(e.data);
39
- } catch (e) {
40
- return p(e), Promise.reject(e);
41
- }
42
- }
43
- }, P = {
44
- handleMembershipUpdate(r, e, t) {
45
- let s;
46
- if (Array.isArray(r) ? s = r.find((o) => o._id === e.target) : typeof r == "object" && r._id === e.target && (s = r), s)
47
- if (s.isMember = t, t)
48
- s.memberships.push(e), s.numberOfMemberships += 1;
49
- else {
50
- const o = s.memberships.findIndex((m) => m._id === e._id);
51
- o !== -1 && (s.memberships.splice(o, 1), s.numberOfMemberships -= 1);
52
- }
53
- }
54
- };
55
- b(i, (r) => {
56
- });
57
- const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
- __proto__: null,
59
- actions: u,
60
- mutations: P,
61
- state: i
62
- }, Symbol.toStringTag, { value: "Module" }));
63
- const v = {
64
- __name: "ButtonFollow",
65
- props: {
66
- type: {
67
- type: String,
68
- required: !0
69
- },
70
- userId: {
71
- type: String,
72
- required: !0
73
- },
74
- isMember: {
75
- type: Boolean,
76
- required: !0
77
- },
78
- targetId: {
79
- type: String,
80
- required: !0
81
- }
82
- },
83
- emits: ["updateMembership"],
84
- setup(r, { emit: e }) {
85
- const t = r, s = async () => {
86
- t.isMember ? await m(t.targetId) : await o(t.targetId);
87
- };
88
- async function o(c) {
89
- try {
90
- const a = {
91
- type: t.type,
92
- target: c,
93
- user: t.userId
94
- }, n = await u.create(a);
95
- e("updateMembership", { membership: n, isMember: !0, targetId: t.targetId });
96
- } catch (a) {
97
- throw console.log(a), a;
98
- }
99
- }
100
- async function m(c) {
101
- const a = {
102
- type: t.type,
103
- target: c,
104
- user: t.userId
105
- };
106
- try {
107
- const n = await u.delete(a);
108
- e("updateMembership", { membership: n, isMember: !1, targetId: t.targetId });
109
- } catch (n) {
110
- throw console.log(n), n;
111
- }
112
- }
113
- return (c, a) => (h(), y(M, {
114
- submit: s,
115
- class: "bg-main button-small button"
116
- }, {
117
- default: _(() => [
118
- f(g(r.isMember ? "Unfollow" : "Follow"), 1)
119
- ]),
120
- _: 1
121
- }));
122
- }
123
- }, F = /* @__PURE__ */ I(v, [["__scopeId", "data-v-c50e046c"]]);
124
- export {
125
- F as B,
126
- u as a,
127
- S as b,
128
- P as m,
129
- i as s
130
- };
@@ -1,130 +0,0 @@
1
- import { reactive as d, watch as b, openBlock as h, createBlock as y, withCtx as _, createTextVNode as f, toDisplayString as g } from "vue";
2
- import { a as w, _ as I, b as M } from "./auth-d102dac0.mjs";
3
- import { s as p } from "./globals-f538c0ef.mjs";
4
- const l = w.create({
5
- baseURL: process.env.API_URL,
6
- withCredentials: !0
7
- }), i = d({
8
- memberships: [],
9
- error: null
10
- }), u = {
11
- async read({ user: r, type: e, target: t, role: s }) {
12
- try {
13
- const o = await l.get("/api/memberships", { params: { user: r, type: e, target: t, role: s } });
14
- return i.error = null, i.memberships = o.data, Promise.resolve(o.data);
15
- } catch (o) {
16
- return p(o), Promise.reject(o);
17
- }
18
- },
19
- async create(r) {
20
- try {
21
- const e = await l.post("/api/memberships/create", r);
22
- return i.error = null, Promise.resolve(e.data);
23
- } catch (e) {
24
- return p(e), Promise.reject(e);
25
- }
26
- },
27
- async update(r) {
28
- try {
29
- const e = await l.post("/api/memberships/update", r);
30
- return i.error = null, Promise.resolve(e.data);
31
- } catch (e) {
32
- return p(e), Promise.reject(e);
33
- }
34
- },
35
- async delete(r) {
36
- try {
37
- const e = await l.post("/api/memberships/delete", r);
38
- return i.error = null, Promise.resolve(e.data);
39
- } catch (e) {
40
- return p(e), Promise.reject(e);
41
- }
42
- }
43
- }, P = {
44
- handleMembershipUpdate(r, e, t) {
45
- let s;
46
- if (Array.isArray(r) ? s = r.find((o) => o._id === e.target) : typeof r == "object" && r._id === e.target && (s = r), s)
47
- if (s.isMember = t, t)
48
- s.memberships.push(e), s.numberOfMemberships += 1;
49
- else {
50
- const o = s.memberships.findIndex((m) => m._id === e._id);
51
- o !== -1 && (s.memberships.splice(o, 1), s.numberOfMemberships -= 1);
52
- }
53
- }
54
- };
55
- b(i, (r) => {
56
- });
57
- const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
- __proto__: null,
59
- actions: u,
60
- mutations: P,
61
- state: i
62
- }, Symbol.toStringTag, { value: "Module" }));
63
- const v = {
64
- __name: "ButtonFollow",
65
- props: {
66
- type: {
67
- type: String,
68
- required: !0
69
- },
70
- userId: {
71
- type: String,
72
- required: !0
73
- },
74
- isMember: {
75
- type: Boolean,
76
- required: !0
77
- },
78
- targetId: {
79
- type: String,
80
- required: !0
81
- }
82
- },
83
- emits: ["updateMembership"],
84
- setup(r, { emit: e }) {
85
- const t = r, s = async () => {
86
- t.isMember ? await m(t.targetId) : await o(t.targetId);
87
- };
88
- async function o(c) {
89
- try {
90
- const a = {
91
- type: t.type,
92
- target: c,
93
- user: t.userId
94
- }, n = await u.create(a);
95
- e("updateMembership", { membership: n, isMember: !0, targetId: t.targetId });
96
- } catch (a) {
97
- throw console.log(a), a;
98
- }
99
- }
100
- async function m(c) {
101
- const a = {
102
- type: t.type,
103
- target: c,
104
- user: t.userId
105
- };
106
- try {
107
- const n = await u.delete(a);
108
- e("updateMembership", { membership: n, isMember: !1, targetId: t.targetId });
109
- } catch (n) {
110
- throw console.log(n), n;
111
- }
112
- }
113
- return (c, a) => (h(), y(M, {
114
- submit: s,
115
- class: "bg-main button-small button"
116
- }, {
117
- default: _(() => [
118
- f(g(r.isMember ? "Unfollow" : "Follow"), 1)
119
- ]),
120
- _: 1
121
- }));
122
- }
123
- }, F = /* @__PURE__ */ I(v, [["__scopeId", "data-v-c50e046c"]]);
124
- export {
125
- F as B,
126
- u as a,
127
- S as b,
128
- P as m,
129
- i as s
130
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("vue"),b=require("./auth-7dff19e4.js"),u=require("./globals-d7a54bb4.js"),p=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=n.reactive({memberships:[],error:null}),m={async read({user:r,type:e,target:t,role:s}){try{const o=await p.get("/api/memberships",{params:{user:r,type:e,target:t,role:s}});return a.error=null,a.memberships=o.data,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}},async create(r){try{const e=await p.post("/api/memberships/create",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async update(r){try{const e=await p.post("/api/memberships/update",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async delete(r){try{const e=await p.post("/api/memberships/delete",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,t){let s;if(Array.isArray(r)?s=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(s=r),s)if(s.isMember=t,t)s.memberships.push(e),s.numberOfMemberships+=1;else{const o=s.memberships.findIndex(d=>d._id===e._id);o!==-1&&(s.memberships.splice(o,1),s.numberOfMemberships-=1)}}};n.watch(a,r=>{});const y=Object.freeze(Object.defineProperty({__proto__:null,actions:m,mutations:h,state:a},Symbol.toStringTag,{value:"Module"}));const _={__name:"ButtonFollow",props:{type:{type:String,required:!0},userId:{type:String,required:!0},isMember:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateMembership"],setup(r,{emit:e}){const t=r,s=async()=>{t.isMember?await d(t.targetId):await o(t.targetId)};async function o(l){try{const i={type:t.type,target:l,user:t.userId},c=await m.create(i);e("updateMembership",{membership:c,isMember:!0,targetId:t.targetId})}catch(i){throw console.log(i),i}}async function d(l){const i={type:t.type,target:l,user:t.userId};try{const c=await m.delete(i);e("updateMembership",{membership:c,isMember:!1,targetId:t.targetId})}catch(c){throw console.log(c),c}}return(l,i)=>(n.openBlock(),n.createBlock(b._sfc_main,{submit:s,class:"bg-main button-small button"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.isMember?"Unfollow":"Follow"),1)]),_:1}))}},g=b._export_sfc(_,[["__scopeId","data-v-c50e046c"]]);exports.ButtonFollow=g;exports.actions=m;exports.memberships=y;exports.mutations=h;exports.state=a;
@@ -1,130 +0,0 @@
1
- import { reactive as d, watch as b, openBlock as h, createBlock as y, withCtx as _, createTextVNode as f, toDisplayString as g } from "vue";
2
- import { a as w, _ as I, b as M } from "./auth-8b5aac7a.mjs";
3
- import { s as p } from "./globals-96ba60e4.mjs";
4
- const l = w.create({
5
- baseURL: process.env.API_URL,
6
- withCredentials: !0
7
- }), i = d({
8
- memberships: [],
9
- error: null
10
- }), u = {
11
- async read({ user: r, type: e, target: t, role: s }) {
12
- try {
13
- const o = await l.get("/api/memberships", { params: { user: r, type: e, target: t, role: s } });
14
- return i.error = null, i.memberships = o.data, Promise.resolve(o.data);
15
- } catch (o) {
16
- return p(o), Promise.reject(o);
17
- }
18
- },
19
- async create(r) {
20
- try {
21
- const e = await l.post("/api/memberships/create", r);
22
- return i.error = null, Promise.resolve(e.data);
23
- } catch (e) {
24
- return p(e), Promise.reject(e);
25
- }
26
- },
27
- async update(r) {
28
- try {
29
- const e = await l.post("/api/memberships/update", r);
30
- return i.error = null, Promise.resolve(e.data);
31
- } catch (e) {
32
- return p(e), Promise.reject(e);
33
- }
34
- },
35
- async delete(r) {
36
- try {
37
- const e = await l.post("/api/memberships/delete", r);
38
- return i.error = null, Promise.resolve(e.data);
39
- } catch (e) {
40
- return p(e), Promise.reject(e);
41
- }
42
- }
43
- }, P = {
44
- handleMembershipUpdate(r, e, t) {
45
- let s;
46
- if (Array.isArray(r) ? s = r.find((o) => o._id === e.target) : typeof r == "object" && r._id === e.target && (s = r), s)
47
- if (s.isMember = t, t)
48
- s.memberships.push(e), s.numberOfMemberships += 1;
49
- else {
50
- const o = s.memberships.findIndex((m) => m._id === e._id);
51
- o !== -1 && (s.memberships.splice(o, 1), s.numberOfMemberships -= 1);
52
- }
53
- }
54
- };
55
- b(i, (r) => {
56
- });
57
- const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
- __proto__: null,
59
- actions: u,
60
- mutations: P,
61
- state: i
62
- }, Symbol.toStringTag, { value: "Module" }));
63
- const v = {
64
- __name: "ButtonFollow",
65
- props: {
66
- type: {
67
- type: String,
68
- required: !0
69
- },
70
- userId: {
71
- type: String,
72
- required: !0
73
- },
74
- isMember: {
75
- type: Boolean,
76
- required: !0
77
- },
78
- targetId: {
79
- type: String,
80
- required: !0
81
- }
82
- },
83
- emits: ["updateMembership"],
84
- setup(r, { emit: e }) {
85
- const t = r, s = async () => {
86
- t.isMember ? await m(t.targetId) : await o(t.targetId);
87
- };
88
- async function o(c) {
89
- try {
90
- const a = {
91
- type: t.type,
92
- target: c,
93
- user: t.userId
94
- }, n = await u.create(a);
95
- e("updateMembership", { membership: n, isMember: !0, targetId: t.targetId });
96
- } catch (a) {
97
- throw console.log(a), a;
98
- }
99
- }
100
- async function m(c) {
101
- const a = {
102
- type: t.type,
103
- target: c,
104
- user: t.userId
105
- };
106
- try {
107
- const n = await u.delete(a);
108
- e("updateMembership", { membership: n, isMember: !1, targetId: t.targetId });
109
- } catch (n) {
110
- throw console.log(n), n;
111
- }
112
- }
113
- return (c, a) => (h(), y(M, {
114
- submit: s,
115
- class: "bg-main button-small button"
116
- }, {
117
- default: _(() => [
118
- f(g(r.isMember ? "Unfollow" : "Follow"), 1)
119
- ]),
120
- _: 1
121
- }));
122
- }
123
- }, F = /* @__PURE__ */ I(v, [["__scopeId", "data-v-c50e046c"]]);
124
- export {
125
- F as B,
126
- u as a,
127
- S as b,
128
- P as m,
129
- i as s
130
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("vue"),b=require("./auth-ab40831d.js"),u=require("./globals-d7a54bb4.js"),p=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=n.reactive({memberships:[],error:null}),m={async read({user:r,type:e,target:t,role:s}){try{const o=await p.get("/api/memberships",{params:{user:r,type:e,target:t,role:s}});return a.error=null,a.memberships=o.data,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}},async create(r){try{const e=await p.post("/api/memberships/create",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async update(r){try{const e=await p.post("/api/memberships/update",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async delete(r){try{const e=await p.post("/api/memberships/delete",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,t){let s;if(Array.isArray(r)?s=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(s=r),s)if(s.isMember=t,t)s.memberships.push(e),s.numberOfMemberships+=1;else{const o=s.memberships.findIndex(d=>d._id===e._id);o!==-1&&(s.memberships.splice(o,1),s.numberOfMemberships-=1)}}};n.watch(a,r=>{});const y=Object.freeze(Object.defineProperty({__proto__:null,actions:m,mutations:h,state:a},Symbol.toStringTag,{value:"Module"}));const _={__name:"ButtonFollow",props:{type:{type:String,required:!0},userId:{type:String,required:!0},isMember:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateMembership"],setup(r,{emit:e}){const t=r,s=async()=>{t.isMember?await d(t.targetId):await o(t.targetId)};async function o(l){try{const i={type:t.type,target:l,user:t.userId},c=await m.create(i);e("updateMembership",{membership:c,isMember:!0,targetId:t.targetId})}catch(i){throw console.log(i),i}}async function d(l){const i={type:t.type,target:l,user:t.userId};try{const c=await m.delete(i);e("updateMembership",{membership:c,isMember:!1,targetId:t.targetId})}catch(c){throw console.log(c),c}}return(l,i)=>(n.openBlock(),n.createBlock(b._sfc_main,{submit:s,class:"bg-main button-small button"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.isMember?"Unfollow":"Follow"),1)]),_:1}))}},g=b._export_sfc(_,[["__scopeId","data-v-c50e046c"]]);exports.ButtonFollow=g;exports.actions=m;exports.memberships=y;exports.mutations=h;exports.state=a;
@@ -1 +0,0 @@
1
- "use strict";const n=require("vue"),b=require("./auth-07c01b19.js"),u=require("./globals-d7a54bb4.js"),p=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=n.reactive({memberships:[],error:null}),m={async read({user:r,type:e,target:t,role:s}){try{const o=await p.get("/api/memberships",{params:{user:r,type:e,target:t,role:s}});return a.error=null,a.memberships=o.data,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}},async create(r){try{const e=await p.post("/api/memberships/create",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async update(r){try{const e=await p.post("/api/memberships/update",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async delete(r){try{const e=await p.post("/api/memberships/delete",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,t){let s;if(Array.isArray(r)?s=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(s=r),s)if(s.isMember=t,t)s.memberships.push(e),s.numberOfMemberships+=1;else{const o=s.memberships.findIndex(d=>d._id===e._id);o!==-1&&(s.memberships.splice(o,1),s.numberOfMemberships-=1)}}};n.watch(a,r=>{});const y=Object.freeze(Object.defineProperty({__proto__:null,actions:m,mutations:h,state:a},Symbol.toStringTag,{value:"Module"}));const _={__name:"ButtonFollow",props:{type:{type:String,required:!0},userId:{type:String,required:!0},isMember:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateMembership"],setup(r,{emit:e}){const t=r,s=async()=>{t.isMember?await d(t.targetId):await o(t.targetId)};async function o(l){try{const i={type:t.type,target:l,user:t.userId},c=await m.create(i);e("updateMembership",{membership:c,isMember:!0,targetId:t.targetId})}catch(i){throw console.log(i),i}}async function d(l){const i={type:t.type,target:l,user:t.userId};try{const c=await m.delete(i);e("updateMembership",{membership:c,isMember:!1,targetId:t.targetId})}catch(c){throw console.log(c),c}}return(l,i)=>(n.openBlock(),n.createBlock(b._sfc_main,{submit:s,class:"bg-main button-small button"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.isMember?"Unfollow":"Follow"),1)]),_:1}))}},g=b._export_sfc(_,[["__scopeId","data-v-c50e046c"]]);exports.ButtonFollow=g;exports.actions=m;exports.memberships=y;exports.mutations=h;exports.state=a;
@@ -1 +0,0 @@
1
- "use strict";const n=require("vue"),b=require("./auth-78fd9408.js"),u=require("./globals-d7a54bb4.js"),p=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=n.reactive({memberships:[],error:null}),m={async read({user:r,type:e,target:t,role:s}){try{const o=await p.get("/api/memberships",{params:{user:r,type:e,target:t,role:s}});return a.error=null,a.memberships=o.data,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}},async create(r){try{const e=await p.post("/api/memberships/create",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async update(r){try{const e=await p.post("/api/memberships/update",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}},async delete(r){try{const e=await p.post("/api/memberships/delete",r);return a.error=null,Promise.resolve(e.data)}catch(e){return u.setError(e),Promise.reject(e)}}},h={handleMembershipUpdate(r,e,t){let s;if(Array.isArray(r)?s=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(s=r),s)if(s.isMember=t,t)s.memberships.push(e),s.numberOfMemberships+=1;else{const o=s.memberships.findIndex(d=>d._id===e._id);o!==-1&&(s.memberships.splice(o,1),s.numberOfMemberships-=1)}}};n.watch(a,r=>{});const y=Object.freeze(Object.defineProperty({__proto__:null,actions:m,mutations:h,state:a},Symbol.toStringTag,{value:"Module"}));const _={__name:"ButtonFollow",props:{type:{type:String,required:!0},userId:{type:String,required:!0},isMember:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateMembership"],setup(r,{emit:e}){const t=r,s=async()=>{t.isMember?await d(t.targetId):await o(t.targetId)};async function o(l){try{const i={type:t.type,target:l,user:t.userId},c=await m.create(i);e("updateMembership",{membership:c,isMember:!0,targetId:t.targetId})}catch(i){throw console.log(i),i}}async function d(l){const i={type:t.type,target:l,user:t.userId};try{const c=await m.delete(i);e("updateMembership",{membership:c,isMember:!1,targetId:t.targetId})}catch(c){throw console.log(c),c}}return(l,i)=>(n.openBlock(),n.createBlock(b._sfc_main,{submit:s,class:"bg-main button-small button"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.isMember?"Unfollow":"Follow"),1)]),_:1}))}},g=b._export_sfc(_,[["__scopeId","data-v-c50e046c"]]);exports.ButtonFollow=g;exports.actions=m;exports.memberships=y;exports.mutations=h;exports.state=a;
@@ -1,76 +0,0 @@
1
- import { openBlock as t, createElementBlock as r, createElementVNode as n, withModifiers as w, createCommentVNode as o, createBlock as y, toDisplayString as m, Fragment as b, renderList as x, normalizeStyle as k } from "vue";
2
- import { useRouter as p } from "vue-router";
3
- import { P as $ } from "./PlaceholderUserpic-1a6cf257.mjs";
4
- const v = {
5
- key: 0,
6
- class: "pd-b-zero"
7
- }, M = { class: "w-100 flex-v-center flex-nojustify flex" }, z = ["src"], P = {
8
- key: 2,
9
- class: "t-semi"
10
- }, D = { key: 0 }, F = { key: 1 }, B = { class: "d-block mn-l-auto flex-nowrap flex flex-v-center" }, C = {
11
- key: 0,
12
- class: "w-4r i-thin"
13
- }, E = {
14
- style: { position: "absolute", top: "0px", right: "0px" },
15
- class: "br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small mn-r-small t-semi"
16
- }, N = ["src"], j = {
17
- __name: "CardHeader",
18
- props: [
19
- "date",
20
- "dateFormatted",
21
- "owner",
22
- "creator",
23
- "members",
24
- "membersPhotos",
25
- "type"
26
- ],
27
- setup(e) {
28
- p();
29
- function f(h) {
30
- const i = /* @__PURE__ */ new Date(), a = new Date(h), s = Math.abs(i - a), g = Math.floor(s / 1e3), l = Math.floor(g / 60), c = Math.floor(l / 60), d = Math.floor(c / 24), u = Math.floor(d / 7);
31
- return u > 0 ? `${u} week${u > 1 ? "s" : ""} ago` : d > 0 ? `${d} day${d > 1 ? "s" : ""} ago` : c > 0 ? `${c} hour${c > 1 ? "s" : ""} ago` : l > 0 ? `${l} minute${l > 1 ? "s" : ""} ago` : "Just now";
32
- }
33
- return (h, i) => e.owner ? (t(), r("header", v, [
34
- n("div", M, [
35
- n("div", {
36
- onClick: i[0] || (i[0] = w((a) => h.$router.push({
37
- name: e.owner.type === "user" ? "User Profile" : "Organization",
38
- params: {
39
- _id: e.owner.target._id
40
- }
41
- }), ["stop"])),
42
- class: "w-100 flex-nowrap flex-v-center flex"
43
- }, [
44
- e.owner.target.profile.photo.length > 0 && e.type !== "short" ? (t(), r("img", {
45
- key: 0,
46
- src: e.owner.target.profile.photo,
47
- class: "radius-medium mn-r-thin i-thin"
48
- }, null, 8, z)) : o("", !0),
49
- !e.owner.target.profile.photo && e.type !== "short" ? (t(), y($, {
50
- key: 1,
51
- class: "radius-medium mn-r-thin i-thin"
52
- })) : o("", !0),
53
- e.type !== "short" ? (t(), r("span", P, [
54
- n("span", null, m(e.owner.target.profile.name), 1),
55
- e.date ? (t(), r("span", D, " · " + m(f(e.date)), 1)) : o("", !0),
56
- e.dateFormatted ? (t(), r("span", F, " · " + m(e.dateFormatted), 1)) : o("", !0)
57
- ])) : o("", !0),
58
- n("div", B, [
59
- e.members ? (t(), r("div", C, [
60
- n("span", E, m(e.members), 1),
61
- (t(!0), r(b, null, x(e.membersPhotos.slice(0, 2), (a, s) => (t(), r("img", {
62
- key: s,
63
- src: a,
64
- style: k({ position: "absolute", top: "0px", right: s * 20 + 40 + "%", zIndex: 1 - s }),
65
- class: "br-solid br-2px br-white i-thin bg-grey radius-big"
66
- }, null, 12, N))), 128))
67
- ])) : o("", !0)
68
- ])
69
- ])
70
- ])
71
- ])) : o("", !0);
72
- }
73
- };
74
- export {
75
- j as _
76
- };