@ozdao/prometheus-framework 0.1.40 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/dist/LeftoverAdd-5a8988d9.js +1 -0
  2. package/dist/{LeftoverAdd-08d9fb54.mjs → LeftoverAdd-c4f37f47.mjs} +4 -5
  3. package/dist/{Leftovers-296c0042.js → Leftovers-470a1689.js} +1 -1
  4. package/dist/{Leftovers-685d9f19.mjs → Leftovers-69c7dcd9.mjs} +1 -1
  5. package/dist/{Members-7251dd52.mjs → Members-87278466.mjs} +3 -3
  6. package/dist/{Members-d35ab7e8.js → Members-bbcb79ae.js} +1 -1
  7. package/dist/{Product-299070ad.mjs → Product-2f8e6943.mjs} +2 -2
  8. package/dist/{Product-aacb05f3.js → Product-4a834930.js} +1 -1
  9. package/dist/{ProductEdit-70bed802.mjs → ProductEdit-959b3cd3.mjs} +4 -5
  10. package/dist/ProductEdit-bae5e898.js +1 -0
  11. package/dist/ProductsBackoffice-0716123f.js +1 -0
  12. package/dist/{ProductsBackoffice-3d987c60.mjs → ProductsBackoffice-a36ecbc6.mjs} +3 -4
  13. package/dist/backoffice.client.cjs +1 -1
  14. package/dist/backoffice.client.js +7 -7
  15. package/dist/{categories-52a561a4.mjs → categories-5b08da53.mjs} +14 -15
  16. package/dist/categories-7ccd6be9.js +1 -0
  17. package/dist/{leftovers-be37c7a5.mjs → leftovers-5d1ff88b.mjs} +6 -6
  18. package/dist/leftovers-b60180cf.js +1 -0
  19. package/dist/{organizations.client-8f263e28.js → organizations.client-7e11a989.js} +2 -2
  20. package/dist/{organizations.client-9ffc023f.mjs → organizations.client-e519ef17.mjs} +6 -6
  21. package/dist/organizations.client.cjs +1 -1
  22. package/dist/organizations.client.js +3 -3
  23. package/dist/products-3c43eb18.js +1 -0
  24. package/dist/{products-aabe5c02.mjs → products-943fb95e.mjs} +2 -3
  25. package/package.json +1 -1
  26. package/src/components/Sidebar/Sidebar.vue +8 -10
  27. package/src/modules/backoffice/components/admin/ProductEdit.vue +0 -2
  28. package/src/modules/products/components/sections/FilterProducts.vue +2 -0
  29. package/src/modules/products/components/sections/SortProducts.vue +0 -2
  30. package/src/modules/products/store/categories.js +9 -9
  31. package/src/modules/products/store/leftovers.js +9 -6
  32. package/src/modules/products/store/products.js +0 -2
  33. package/dist/BackofficeGallery-02c9721b.mjs +0 -304
  34. package/dist/BackofficeGallery-08d96af1.mjs +0 -305
  35. package/dist/BackofficeGallery-0e0132f5.mjs +0 -306
  36. package/dist/BackofficeGallery-1d117a40.js +0 -1
  37. package/dist/BackofficeGallery-2e695fed.js +0 -1
  38. package/dist/BackofficeGallery-3bb55ea2.mjs +0 -357
  39. package/dist/BackofficeGallery-7ae8fbba.mjs +0 -307
  40. package/dist/BackofficeGallery-a52a27b6.js +0 -1
  41. package/dist/BackofficeGallery-e54a33a3.js +0 -1
  42. package/dist/BackofficeGallery-fe39cff3.js +0 -1
  43. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +0 -1945
  44. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2426cb6f.mjs +0 -1945
  45. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-505c3ca5.js +0 -1
  46. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-561d6db3.js +0 -1
  47. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-579e2c7a.mjs +0 -1945
  48. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js +0 -1
  49. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8660f9cb.js +0 -1
  50. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-97217d38.mjs +0 -1945
  51. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-9e474158.mjs +0 -1945
  52. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-b1873cb7.mjs +0 -1945
  53. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs +0 -1945
  54. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6aba800.js +0 -1
  55. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cab2bcd2.js +0 -1
  56. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cf9f6aed.js +0 -1
  57. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs +0 -1945
  58. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +0 -1
  59. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs +0 -1945
  60. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-ec801e39.mjs +0 -1945
  61. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +0 -1
  62. package/dist/Button-2ca405bd.js +0 -1
  63. package/dist/Button-c59d387c.mjs +0 -283
  64. package/dist/Button-d8e72ac0.mjs +0 -296
  65. package/dist/Button-ee08e6bf.js +0 -1
  66. package/dist/ButtonFollow-00d85977.mjs +0 -133
  67. package/dist/ButtonFollow-23c4d9fc.mjs +0 -132
  68. package/dist/ButtonFollow-351486b0.js +0 -1
  69. package/dist/ButtonFollow-38d9a720.mjs +0 -131
  70. package/dist/ButtonFollow-3a05d29f.mjs +0 -132
  71. package/dist/ButtonFollow-4049a57e.js +0 -1
  72. package/dist/ButtonFollow-5e19fc49.mjs +0 -131
  73. package/dist/ButtonFollow-6765c266.mjs +0 -131
  74. package/dist/ButtonFollow-7c0180b3.js +0 -1
  75. package/dist/ButtonFollow-81508d85.mjs +0 -132
  76. package/dist/ButtonFollow-959861db.js +0 -1
  77. package/dist/ButtonFollow-9a33ab06.js +0 -1
  78. package/dist/ButtonFollow-bf5e6d42.js +0 -1
  79. package/dist/ButtonFollow-d4552677.mjs +0 -131
  80. package/dist/ButtonFollow-daa0e9e4.js +0 -1
  81. package/dist/ButtonFollow-df6317f0.js +0 -1
  82. package/dist/ButtonFollow-f0cefb85.mjs +0 -131
  83. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-0ea8fbf8.js +0 -1
  84. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs +0 -1
  85. package/dist/ButtonToggleMembership-15f149cb.js +0 -1
  86. package/dist/ButtonToggleMembership-3bb9139e.mjs +0 -90
  87. package/dist/CardBlogpost-38016b80.mjs +0 -246
  88. package/dist/CardBlogpost-ae3b4d23.js +0 -1
  89. package/dist/CardBlogpost-cc208f93.js +0 -1
  90. package/dist/CardBlogpost-d6f49156.mjs +0 -246
  91. package/dist/CardOrganization-01c2e248.mjs +0 -210
  92. package/dist/CardOrganization-18c1e3fa.mjs +0 -297
  93. package/dist/CardOrganization-1b0da77c.mjs +0 -230
  94. package/dist/CardOrganization-1be3651b.js +0 -1
  95. package/dist/CardOrganization-26714a5e.mjs +0 -297
  96. package/dist/CardOrganization-3049931d.mjs +0 -230
  97. package/dist/CardOrganization-3f4a13d3.mjs +0 -230
  98. package/dist/CardOrganization-43e80590.js +0 -1
  99. package/dist/CardOrganization-4d22037e.js +0 -1
  100. package/dist/CardOrganization-522845c7.mjs +0 -230
  101. package/dist/CardOrganization-63dcc83b.js +0 -1
  102. package/dist/CardOrganization-79eb2b6f.js +0 -1
  103. package/dist/CardOrganization-7d679e75.js +0 -1
  104. package/dist/CardOrganization-82c5b4c6.js +0 -1
  105. package/dist/CardOrganization-88c6d479.js +0 -1
  106. package/dist/CardOrganization-8b376cbb.js +0 -1
  107. package/dist/CardOrganization-8c5b582b.mjs +0 -230
  108. package/dist/CardOrganization-b2098e42.js +0 -1
  109. package/dist/CardOrganization-bf366e4e.js +0 -1
  110. package/dist/CardOrganization-c2e7e903.mjs +0 -229
  111. package/dist/CardOrganization-d3a9d898.mjs +0 -230
  112. package/dist/CardOrganization-d8f209ee.js +0 -1
  113. package/dist/CardOrganization-d93c9bdb.js +0 -1
  114. package/dist/CardOrganization-de8ec36e.mjs +0 -230
  115. package/dist/CardOrganization-df0a4506.mjs +0 -229
  116. package/dist/CardOrganization-e530c9d5.mjs +0 -230
  117. package/dist/CardOrganization-e920be73.mjs +0 -234
  118. package/dist/Chips-03ff0c34.mjs +0 -108
  119. package/dist/Chips-0e5bdd54.js +0 -1
  120. package/dist/Chips-2a0d9bfe.js +0 -1
  121. package/dist/Chips-2ada5eda.mjs +0 -200
  122. package/dist/Chips-32092a52.js +0 -1
  123. package/dist/Chips-3a07f374.js +0 -1
  124. package/dist/Chips-3dac276c.js +0 -1
  125. package/dist/Chips-41cd6570.mjs +0 -203
  126. package/dist/Chips-4316f652.mjs +0 -110
  127. package/dist/Chips-493042f7.js +0 -1
  128. package/dist/Chips-4d8ac62e.js +0 -1
  129. package/dist/Chips-5e32c8cb.mjs +0 -200
  130. package/dist/Chips-8d0a1d2c.js +0 -1
  131. package/dist/Chips-92ccc11f.js +0 -1
  132. package/dist/Chips-9cf6c0da.mjs +0 -286
  133. package/dist/Chips-9d81b215.mjs +0 -214
  134. package/dist/Chips-a8681edd.mjs +0 -213
  135. package/dist/Chips-c3d7341e.js +0 -1
  136. package/dist/Chips-cc08d85a.mjs +0 -108
  137. package/dist/Chips-d47704e6.js +0 -1
  138. package/dist/Chips-f0b7ce36.mjs +0 -110
  139. package/dist/Community-72dbb933.js +0 -1
  140. package/dist/Community-87522a04.mjs +0 -132
  141. package/dist/Community-aef23aee.js +0 -1
  142. package/dist/Community-b4d10da6.mjs +0 -130
  143. package/dist/Dashboard-239fb7a6.mjs +0 -52
  144. package/dist/Dashboard-91d73bc5.js +0 -1
  145. package/dist/Dashboard-94267906.js +0 -1
  146. package/dist/Dashboard-ea9035bc.mjs +0 -152
  147. package/dist/Dropdown-31115457.js +0 -1
  148. package/dist/Dropdown-cab3605b.mjs +0 -146
  149. package/dist/EULA-8265b0cf.mjs +0 -4218
  150. package/dist/EULA-cbb27503.js +0 -1
  151. package/dist/EULA-f5fba925.js +0 -1
  152. package/dist/EmptyState-34d85f10.mjs +0 -36
  153. package/dist/EmptyState-7658d7d6.js +0 -1
  154. package/dist/Events-0c6e3ef4.mjs +0 -134
  155. package/dist/Events-4742f070.js +0 -1
  156. package/dist/Events-cdfbca78.js +0 -1
  157. package/dist/Events-e9dd58f7.mjs +0 -123
  158. package/dist/Feed-046852fc.js +0 -1
  159. package/dist/Feed-09b0790d.js +0 -1
  160. package/dist/Feed-0b1dad65.js +0 -1
  161. package/dist/Feed-0dbe15b9.js +0 -1
  162. package/dist/Feed-12b12380.js +0 -1
  163. package/dist/Feed-13499a3a.mjs +0 -428
  164. package/dist/Feed-1d0d9853.js +0 -1
  165. package/dist/Feed-22464fcd.js +0 -1
  166. package/dist/Feed-275a14d8.mjs +0 -371
  167. package/dist/Feed-27f62b1c.mjs +0 -368
  168. package/dist/Feed-2c92ceed.js +0 -1
  169. package/dist/Feed-345d8513.mjs +0 -355
  170. package/dist/Feed-361761f5.mjs +0 -366
  171. package/dist/Feed-3a187776.js +0 -1
  172. package/dist/Feed-406e3b66.mjs +0 -368
  173. package/dist/Feed-416d84b0.mjs +0 -439
  174. package/dist/Feed-44beaa4c.mjs +0 -368
  175. package/dist/Feed-44f715a7.mjs +0 -439
  176. package/dist/Feed-4d9001aa.mjs +0 -368
  177. package/dist/Feed-4df9352b.js +0 -1
  178. package/dist/Feed-4efa2a93.mjs +0 -394
  179. package/dist/Feed-505b3fa8.mjs +0 -383
  180. package/dist/Feed-51eef23f.js +0 -1
  181. package/dist/Feed-530e40ab.mjs +0 -428
  182. package/dist/Feed-536c8a92.mjs +0 -439
  183. package/dist/Feed-585d5821.mjs +0 -124
  184. package/dist/Feed-5d8c16da.mjs +0 -368
  185. package/dist/Feed-5ecd756e.js +0 -1
  186. package/dist/Feed-66095e66.js +0 -1
  187. package/dist/Feed-67f403fb.mjs +0 -366
  188. package/dist/Feed-6e96d3dd.mjs +0 -124
  189. package/dist/Feed-6fd26cb4.mjs +0 -367
  190. package/dist/Feed-76fc4475.mjs +0 -383
  191. package/dist/Feed-793b3eef.mjs +0 -146
  192. package/dist/Feed-79839e67.mjs +0 -368
  193. package/dist/Feed-7b80704d.mjs +0 -361
  194. package/dist/Feed-7c8c901a.mjs +0 -380
  195. package/dist/Feed-807d265b.mjs +0 -156
  196. package/dist/Feed-8110366a.mjs +0 -439
  197. package/dist/Feed-82ad8e29.mjs +0 -368
  198. package/dist/Feed-8a151970.js +0 -1
  199. package/dist/Feed-8a867bfc.js +0 -1
  200. package/dist/Feed-8acc6844.js +0 -1
  201. package/dist/Feed-8bbb7077.mjs +0 -428
  202. package/dist/Feed-8f6eb29d.mjs +0 -439
  203. package/dist/Feed-90f74d6c.mjs +0 -361
  204. package/dist/Feed-986ddd21.mjs +0 -355
  205. package/dist/Feed-a0df5d24.js +0 -1
  206. package/dist/Feed-a2870bbf.js +0 -1
  207. package/dist/Feed-a47977d3.js +0 -1
  208. package/dist/Feed-a5229528.js +0 -1
  209. package/dist/Feed-a75d053e.js +0 -1
  210. package/dist/Feed-a7a6bd2e.mjs +0 -368
  211. package/dist/Feed-acfbb839.mjs +0 -371
  212. package/dist/Feed-aee74095.js +0 -1
  213. package/dist/Feed-af94027c.js +0 -1
  214. package/dist/Feed-b30ef609.js +0 -1
  215. package/dist/Feed-b616f102.mjs +0 -439
  216. package/dist/Feed-bbe44c17.mjs +0 -368
  217. package/dist/Feed-bf575b72.mjs +0 -428
  218. package/dist/Feed-bfd7d1d9.js +0 -1
  219. package/dist/Feed-c25dc839.js +0 -1
  220. package/dist/Feed-c4084664.mjs +0 -368
  221. package/dist/Feed-c5d4390a.js +0 -1
  222. package/dist/Feed-c6b67df4.js +0 -1
  223. package/dist/Feed-c88eb3aa.js +0 -1
  224. package/dist/Feed-c8b1c72d.js +0 -1
  225. package/dist/Feed-c8dc4359.js +0 -1
  226. package/dist/Feed-c9e6190e.js +0 -1
  227. package/dist/Feed-d0da2943.js +0 -1
  228. package/dist/Feed-d78d4b91.mjs +0 -439
  229. package/dist/Feed-e55bc6fa.js +0 -1
  230. package/dist/Feed-e6e84388.js +0 -1
  231. package/dist/Feed-e77e3bb3.js +0 -1
  232. package/dist/Feed-e9bddb71.mjs +0 -439
  233. package/dist/Feed-ee36f80b.js +0 -1
  234. package/dist/Feed-ef6c6ca3.mjs +0 -371
  235. package/dist/Feed-f0a40b33.js +0 -1
  236. package/dist/Feed-f3b2bd74.mjs +0 -439
  237. package/dist/Feed-f4e9769e.js +0 -1
  238. package/dist/Feed-f987d8bb.js +0 -1
  239. package/dist/Feed-fb4f7ee6.mjs +0 -368
  240. package/dist/Feed-fea84ce7.mjs +0 -439
  241. package/dist/Feed-ff3b96b2.js +0 -1
  242. package/dist/Gallery-1f82841a.mjs +0 -357
  243. package/dist/Gallery-9305f294.mjs +0 -357
  244. package/dist/Gallery-dd29c7f6.js +0 -1
  245. package/dist/Gallery-dea27e94.js +0 -1
  246. package/dist/IconChevronRight-a55f838e.js +0 -1
  247. package/dist/IconChevronRight-fae9d012.mjs +0 -28
  248. package/dist/IconCommunity-468dc457.mjs +0 -65
  249. package/dist/IconCommunity-b339e806.js +0 -1
  250. package/dist/IconCross-5bf93179.js +0 -1
  251. package/dist/IconCross-84cb1292.mjs +0 -28
  252. package/dist/IconEdit-1b7b5874.js +0 -1
  253. package/dist/IconEdit-4cfe2115.js +0 -1
  254. package/dist/IconEdit-680dc269.mjs +0 -339
  255. package/dist/IconEdit-823ddda9.js +0 -1
  256. package/dist/IconEdit-c98d3d06.mjs +0 -339
  257. package/dist/IconEdit-e4d0cc6e.js +0 -1
  258. package/dist/IconEdit-eacf3856.mjs +0 -44
  259. package/dist/IconEdit-f0ad8b9a.mjs +0 -205
  260. package/dist/Image-04944a2f.js +0 -9
  261. package/dist/Image-052a3cc2.mjs +0 -480
  262. package/dist/Image-0e21ae0a.mjs +0 -477
  263. package/dist/Image-0f2814f0.js +0 -9
  264. package/dist/Image-1281bc48.mjs +0 -477
  265. package/dist/Image-1f7252c0.mjs +0 -477
  266. package/dist/Image-2269667e.js +0 -9
  267. package/dist/Image-22e17cef.js +0 -9
  268. package/dist/Image-245c003d.mjs +0 -480
  269. package/dist/Image-268e2a1b.js +0 -9
  270. package/dist/Image-2d2e606a.js +0 -9
  271. package/dist/Image-35d31936.js +0 -9
  272. package/dist/Image-3fee8409.mjs +0 -477
  273. package/dist/Image-448f9228.js +0 -9
  274. package/dist/Image-5423e8ce.mjs +0 -480
  275. package/dist/Image-58efaf35.mjs +0 -477
  276. package/dist/Image-661e2fbc.mjs +0 -477
  277. package/dist/Image-75f5becb.js +0 -9
  278. package/dist/Image-7dcfe90d.mjs +0 -477
  279. package/dist/Image-89b2a540.js +0 -9
  280. package/dist/Image-8e67dd2d.js +0 -9
  281. package/dist/Image-93c3a270.mjs +0 -480
  282. package/dist/Image-95c0fb07.mjs +0 -480
  283. package/dist/Image-9e90a5f6.mjs +0 -477
  284. package/dist/Image-a2c2ab9c.js +0 -9
  285. package/dist/Image-ad6d4f0f.mjs +0 -477
  286. package/dist/Image-b2131fa0.mjs +0 -477
  287. package/dist/Image-be69af9c.mjs +0 -477
  288. package/dist/Image-c0ae2c5f.mjs +0 -477
  289. package/dist/Image-c90ee624.js +0 -9
  290. package/dist/Image-d01026cf.js +0 -9
  291. package/dist/Image-d42a89db.mjs +0 -477
  292. package/dist/Image-d5c4d8d9.js +0 -9
  293. package/dist/Image-d74c19ee.mjs +0 -477
  294. package/dist/Image-de94b883.js +0 -9
  295. package/dist/Image-f66dbbf4.js +0 -9
  296. package/dist/Image-fd501859.js +0 -9
  297. package/dist/LabelGooglePlay-24feb437.mjs +0 -31
  298. package/dist/LabelGooglePlay-f80e5ff0.js +0 -1
  299. package/dist/LeftoverAdd-21311275.js +0 -1
  300. package/dist/LeftoverAdd-ccf4595f.mjs +0 -228
  301. package/dist/LeftoverAdd-fc673884.js +0 -1
  302. package/dist/Members-2cb2ff58.mjs +0 -114
  303. package/dist/Members-85534d1f.js +0 -1
  304. package/dist/Members-9b013515.js +0 -1
  305. package/dist/Members-d64149f3.mjs +0 -109
  306. package/dist/Menu-b5d6a0c7.js +0 -1
  307. package/dist/Menu-dd7645c1.mjs +0 -13
  308. package/dist/MenuItem-0b249b94.mjs +0 -93
  309. package/dist/MenuItem-1216a99f.js +0 -1
  310. package/dist/MenuItem-56ae7f94.js +0 -1
  311. package/dist/MenuItem-6296d02f.mjs +0 -63
  312. package/dist/MenuItem-8b70d2cf.js +0 -1
  313. package/dist/MenuItem-97c50b97.mjs +0 -93
  314. package/dist/Organizations-0cb37d68.js +0 -1
  315. package/dist/Organizations-0fd5bc8b.mjs +0 -72
  316. package/dist/Organizations-d360c360.js +0 -1
  317. package/dist/Organizations-d6ef2113.mjs +0 -73
  318. package/dist/PlaceholderUserpic-14c6ea7e.mjs +0 -28
  319. package/dist/PlaceholderUserpic-20d58460.js +0 -1
  320. package/dist/PlaceholderUserpic-47f6f319.js +0 -1
  321. package/dist/Popup-0106ee0c.js +0 -1
  322. package/dist/Popup-0420381f.js +0 -1
  323. package/dist/Popup-0915427c.mjs +0 -74
  324. package/dist/Popup-0b38b537.js +0 -1
  325. package/dist/Popup-31c7ffc6.mjs +0 -76
  326. package/dist/Popup-383abb2e.js +0 -1
  327. package/dist/Popup-47b37484.mjs +0 -76
  328. package/dist/Popup-709634dc.mjs +0 -76
  329. package/dist/Popup-795f5c88.js +0 -1
  330. package/dist/Popup-ad5f59d0.js +0 -1
  331. package/dist/Popup-b7609baa.js +0 -1
  332. package/dist/Popup-d5c4cb46.mjs +0 -76
  333. package/dist/Popup-d7dbc670.mjs +0 -76
  334. package/dist/Popup-e6685f31.mjs +0 -76
  335. package/dist/Popup-e7c9a43e.mjs +0 -76
  336. package/dist/Popup-ee4bd834.js +0 -1
  337. package/dist/Popup-f5cdd3c1.js +0 -1
  338. package/dist/Popup-f7a5e86b.mjs +0 -76
  339. package/dist/Popup-fca78130.mjs +0 -76
  340. package/dist/Product-0095681c.mjs +0 -838
  341. package/dist/Product-09a39f0b.js +0 -7
  342. package/dist/Product-1892b14a.js +0 -7
  343. package/dist/Product-2459e9da.mjs +0 -838
  344. package/dist/Product-2c6df98d.mjs +0 -838
  345. package/dist/Product-2d05acc8.mjs +0 -839
  346. package/dist/Product-3001d998.mjs +0 -838
  347. package/dist/Product-3c2ae338.js +0 -7
  348. package/dist/Product-3c7b2921.mjs +0 -841
  349. package/dist/Product-3c9c8197.js +0 -7
  350. package/dist/Product-4b58701f.js +0 -7
  351. package/dist/Product-54854cd1.js +0 -7
  352. package/dist/Product-58a83c67.mjs +0 -838
  353. package/dist/Product-5994a8c9.mjs +0 -653
  354. package/dist/Product-601a9d5b.mjs +0 -838
  355. package/dist/Product-68fa1e9e.js +0 -7
  356. package/dist/Product-6aa1c9ee.mjs +0 -844
  357. package/dist/Product-6ca8d04d.js +0 -7
  358. package/dist/Product-6d05d027.js +0 -7
  359. package/dist/Product-6df77924.js +0 -7
  360. package/dist/Product-748ec8b7.mjs +0 -842
  361. package/dist/Product-7f86f9d4.js +0 -7
  362. package/dist/Product-84e2c789.js +0 -7
  363. package/dist/Product-852f952c.js +0 -7
  364. package/dist/Product-86bb1a63.mjs +0 -838
  365. package/dist/Product-89ca1bff.js +0 -7
  366. package/dist/Product-8bee8d1c.mjs +0 -838
  367. package/dist/Product-9170a446.mjs +0 -838
  368. package/dist/Product-943b64bb.mjs +0 -838
  369. package/dist/Product-977a8a7f.js +0 -7
  370. package/dist/Product-a23f852f.js +0 -7
  371. package/dist/Product-a39f3ca3.js +0 -7
  372. package/dist/Product-a6251018.mjs +0 -844
  373. package/dist/Product-a9efa410.js +0 -7
  374. package/dist/Product-abf86516.js +0 -7
  375. package/dist/Product-b054c74c.mjs +0 -838
  376. package/dist/Product-b1336cde.js +0 -7
  377. package/dist/Product-b32fb0e1.js +0 -7
  378. package/dist/Product-b7c53f33.mjs +0 -838
  379. package/dist/Product-bbdc8460.mjs +0 -841
  380. package/dist/Product-bbe7171a.mjs +0 -842
  381. package/dist/Product-c085f00f.mjs +0 -838
  382. package/dist/Product-d01e3a0d.mjs +0 -839
  383. package/dist/Product-d3f1d10a.mjs +0 -844
  384. package/dist/Product-d9c3b9b9.js +0 -7
  385. package/dist/Product-dc5024f6.js +0 -7
  386. package/dist/Product-dccb371a.mjs +0 -838
  387. package/dist/Product-e43dd2f1.js +0 -7
  388. package/dist/Product-e4e583f0.mjs +0 -652
  389. package/dist/Product-e825edfc.mjs +0 -838
  390. package/dist/Product-f017e6cd.js +0 -7
  391. package/dist/ProductEdit-052b0aef.mjs +0 -350
  392. package/dist/ProductEdit-171c9923.js +0 -1
  393. package/dist/ProductEdit-17f4e395.mjs +0 -304
  394. package/dist/ProductEdit-23d35d67.mjs +0 -350
  395. package/dist/ProductEdit-2b4d1d88.js +0 -1
  396. package/dist/ProductEdit-2e309add.js +0 -1
  397. package/dist/ProductEdit-3350274e.js +0 -1
  398. package/dist/ProductEdit-36e5cfdd.js +0 -1
  399. package/dist/ProductEdit-3aecb5bf.js +0 -1
  400. package/dist/ProductEdit-3d7f2823.js +0 -1
  401. package/dist/ProductEdit-3ff2af92.js +0 -1
  402. package/dist/ProductEdit-4af06681.js +0 -1
  403. package/dist/ProductEdit-4f9b6d56.js +0 -1
  404. package/dist/ProductEdit-55b6cb06.mjs +0 -350
  405. package/dist/ProductEdit-56752bbe.mjs +0 -350
  406. package/dist/ProductEdit-576c9ff8.js +0 -1
  407. package/dist/ProductEdit-590b7a01.js +0 -1
  408. package/dist/ProductEdit-5e479343.mjs +0 -300
  409. package/dist/ProductEdit-64207814.mjs +0 -296
  410. package/dist/ProductEdit-6abcc97b.mjs +0 -306
  411. package/dist/ProductEdit-70ddae4d.js +0 -1
  412. package/dist/ProductEdit-737e2a5a.mjs +0 -302
  413. package/dist/ProductEdit-777bb9e2.mjs +0 -350
  414. package/dist/ProductEdit-82658f2f.mjs +0 -350
  415. package/dist/ProductEdit-86fedffe.mjs +0 -350
  416. package/dist/ProductEdit-8e779ed8.js +0 -1
  417. package/dist/ProductEdit-a1050ab6.mjs +0 -303
  418. package/dist/ProductEdit-a322f1ba.js +0 -1
  419. package/dist/ProductEdit-a434240f.js +0 -1
  420. package/dist/ProductEdit-a57fd2b0.mjs +0 -350
  421. package/dist/ProductEdit-ab0530e8.js +0 -1
  422. package/dist/ProductEdit-ab5d71ce.mjs +0 -350
  423. package/dist/ProductEdit-aca44ef7.mjs +0 -300
  424. package/dist/ProductEdit-ba3fef8c.mjs +0 -350
  425. package/dist/ProductEdit-c08ee26f.mjs +0 -350
  426. package/dist/ProductEdit-c99ab559.js +0 -1
  427. package/dist/ProductEdit-cdc3415a.mjs +0 -350
  428. package/dist/ProductEdit-d2666662.js +0 -1
  429. package/dist/ProductEdit-d5dec3cf.js +0 -1
  430. package/dist/ProductEdit-d74fddb1.mjs +0 -350
  431. package/dist/ProductEdit-dae66a53.js +0 -1
  432. package/dist/ProductEdit-e22cc4ef.js +0 -1
  433. package/dist/ProductEdit-e4cad9d1.js +0 -1
  434. package/dist/ProductEdit-e5a2e0f6.js +0 -1
  435. package/dist/ProductEdit-e71dbe52.js +0 -1
  436. package/dist/ProductEdit-e827ea38.mjs +0 -350
  437. package/dist/ProductEdit-ebcc3f98.mjs +0 -306
  438. package/dist/ProductEdit-f7a9af17.mjs +0 -303
  439. package/dist/ProductEdit-f901314c.mjs +0 -306
  440. package/dist/ProductEdit-fa0117b6.mjs +0 -350
  441. package/dist/ProductsBackoffice-0c93f9b6.js +0 -1
  442. package/dist/ProductsBackoffice-3c182d6a.mjs +0 -86
  443. package/dist/ProductsBackoffice-b684913d.js +0 -1
  444. package/dist/ProfileBlogposts-03d04b92.mjs +0 -66
  445. package/dist/ProfileBlogposts-070cb7e9.mjs +0 -65
  446. package/dist/ProfileBlogposts-08f784c3.mjs +0 -64
  447. package/dist/ProfileBlogposts-0b81d964.js +0 -1
  448. package/dist/ProfileBlogposts-2063c511.mjs +0 -65
  449. package/dist/ProfileBlogposts-39c20b79.mjs +0 -64
  450. package/dist/ProfileBlogposts-3aea0091.mjs +0 -64
  451. package/dist/ProfileBlogposts-4293a1e3.js +0 -1
  452. package/dist/ProfileBlogposts-4c326fed.mjs +0 -65
  453. package/dist/ProfileBlogposts-5379335e.js +0 -1
  454. package/dist/ProfileBlogposts-5382274b.mjs +0 -64
  455. package/dist/ProfileBlogposts-57931834.mjs +0 -70
  456. package/dist/ProfileBlogposts-5c0f3b58.js +0 -1
  457. package/dist/ProfileBlogposts-5c6ab74a.mjs +0 -64
  458. package/dist/ProfileBlogposts-5deee0c5.mjs +0 -65
  459. package/dist/ProfileBlogposts-62d5e809.mjs +0 -70
  460. package/dist/ProfileBlogposts-67e1bd8f.mjs +0 -64
  461. package/dist/ProfileBlogposts-69beaa14.js +0 -1
  462. package/dist/ProfileBlogposts-6c715a38.js +0 -1
  463. package/dist/ProfileBlogposts-6f80b734.mjs +0 -64
  464. package/dist/ProfileBlogposts-8b66ae1b.js +0 -1
  465. package/dist/ProfileBlogposts-8c10a505.js +0 -1
  466. package/dist/ProfileBlogposts-8f6191d6.js +0 -1
  467. package/dist/ProfileBlogposts-92c4addb.mjs +0 -64
  468. package/dist/ProfileBlogposts-a2d04221.js +0 -1
  469. package/dist/ProfileBlogposts-a2f7cd4c.mjs +0 -70
  470. package/dist/ProfileBlogposts-a798df3d.js +0 -1
  471. package/dist/ProfileBlogposts-aa839fcb.mjs +0 -77
  472. package/dist/ProfileBlogposts-af88ce98.js +0 -1
  473. package/dist/ProfileBlogposts-b59992cf.mjs +0 -79
  474. package/dist/ProfileBlogposts-b6bf0c42.js +0 -1
  475. package/dist/ProfileBlogposts-bf3cd8e5.mjs +0 -64
  476. package/dist/ProfileBlogposts-c31917ec.js +0 -1
  477. package/dist/ProfileBlogposts-d1d3326e.js +0 -1
  478. package/dist/ProfileBlogposts-d6bba033.js +0 -1
  479. package/dist/ProfileBlogposts-e3ea2c82.js +0 -1
  480. package/dist/ProfileBlogposts-eaecd267.js +0 -1
  481. package/dist/ProfileBlogposts-f90f947b.mjs +0 -64
  482. package/dist/ProfileBlogposts-f9312adf.js +0 -1
  483. package/dist/ProfileComments-03f88b54.mjs +0 -44
  484. package/dist/ProfileComments-061ea40b.mjs +0 -44
  485. package/dist/ProfileComments-06985576.mjs +0 -44
  486. package/dist/ProfileComments-0d22a8ec.js +0 -1
  487. package/dist/ProfileComments-12b51ae3.js +0 -1
  488. package/dist/ProfileComments-1525663e.mjs +0 -44
  489. package/dist/ProfileComments-17352b6a.mjs +0 -44
  490. package/dist/ProfileComments-1ae70859.js +0 -1
  491. package/dist/ProfileComments-1cbf5c45.js +0 -1
  492. package/dist/ProfileComments-1e0d72cc.mjs +0 -44
  493. package/dist/ProfileComments-3cf3e265.mjs +0 -44
  494. package/dist/ProfileComments-473c3413.js +0 -1
  495. package/dist/ProfileComments-6d863cd3.mjs +0 -45
  496. package/dist/ProfileComments-761ce00e.js +0 -1
  497. package/dist/ProfileComments-78231e6a.mjs +0 -44
  498. package/dist/ProfileComments-8a0c489c.mjs +0 -44
  499. package/dist/ProfileComments-8c9146ef.js +0 -1
  500. package/dist/ProfileComments-9398be62.mjs +0 -44
  501. package/dist/ProfileComments-96f6cde8.mjs +0 -44
  502. package/dist/ProfileComments-bae499e9.js +0 -1
  503. package/dist/ProfileComments-c3290211.js +0 -1
  504. package/dist/ProfileComments-c7230f42.mjs +0 -44
  505. package/dist/ProfileComments-cdaccefe.mjs +0 -44
  506. package/dist/ProfileComments-d6779ee2.mjs +0 -44
  507. package/dist/ProfileComments-db4b6fbc.js +0 -1
  508. package/dist/ProfileComments-dd923865.js +0 -1
  509. package/dist/ProfileComments-e0116e5f.js +0 -1
  510. package/dist/ProfileComments-e6970923.js +0 -1
  511. package/dist/ProfileComments-f0000ea6.js +0 -1
  512. package/dist/ProfileEvents-0bdd36e4.mjs +0 -57
  513. package/dist/ProfileEvents-11dc4034.mjs +0 -56
  514. package/dist/ProfileEvents-1ca72873.mjs +0 -56
  515. package/dist/ProfileEvents-1e0c1291.js +0 -1
  516. package/dist/ProfileEvents-26a72fe2.mjs +0 -56
  517. package/dist/ProfileEvents-2f22e7cf.mjs +0 -56
  518. package/dist/ProfileEvents-3089a526.mjs +0 -56
  519. package/dist/ProfileEvents-314eadc3.js +0 -1
  520. package/dist/ProfileEvents-3f7ca2c1.js +0 -1
  521. package/dist/ProfileEvents-47409c9e.mjs +0 -62
  522. package/dist/ProfileEvents-48c70286.mjs +0 -56
  523. package/dist/ProfileEvents-4a2fa422.mjs +0 -57
  524. package/dist/ProfileEvents-588eadf9.js +0 -1
  525. package/dist/ProfileEvents-6b3fb52e.mjs +0 -68
  526. package/dist/ProfileEvents-7502ed90.mjs +0 -57
  527. package/dist/ProfileEvents-76166bc5.mjs +0 -56
  528. package/dist/ProfileEvents-7b202655.js +0 -1
  529. package/dist/ProfileEvents-82517a3b.mjs +0 -56
  530. package/dist/ProfileEvents-893285bb.js +0 -1
  531. package/dist/ProfileEvents-89471c05.js +0 -1
  532. package/dist/ProfileEvents-8b88287a.js +0 -1
  533. package/dist/ProfileEvents-90448f97.js +0 -1
  534. package/dist/ProfileEvents-917169c6.mjs +0 -58
  535. package/dist/ProfileEvents-980b0281.mjs +0 -56
  536. package/dist/ProfileEvents-996bce18.js +0 -1
  537. package/dist/ProfileEvents-a28a4ee5.js +0 -1
  538. package/dist/ProfileEvents-a9b96fec.js +0 -1
  539. package/dist/ProfileEvents-af2536a3.js +0 -1
  540. package/dist/ProfileEvents-ba769f57.mjs +0 -56
  541. package/dist/ProfileEvents-bbdd62e7.mjs +0 -70
  542. package/dist/ProfileEvents-bff6e071.js +0 -1
  543. package/dist/ProfileEvents-c9aa3d41.mjs +0 -56
  544. package/dist/ProfileEvents-cc65404c.js +0 -1
  545. package/dist/ProfileEvents-cdebd612.js +0 -1
  546. package/dist/ProfileEvents-d0c5e3dc.js +0 -1
  547. package/dist/ProfileEvents-d978617d.mjs +0 -57
  548. package/dist/ProfileEvents-db12cf78.js +0 -1
  549. package/dist/ProfileEvents-e070d9d4.mjs +0 -62
  550. package/dist/ProfileEvents-e62e76cf.js +0 -1
  551. package/dist/ProfileEvents-ea023c17.js +0 -1
  552. package/dist/ProfileEvents-ed7f9603.mjs +0 -62
  553. package/dist/ProfileLikes-0402d1fb.js +0 -1
  554. package/dist/ProfileLikes-05911934.mjs +0 -44
  555. package/dist/ProfileLikes-0c8a7255.mjs +0 -44
  556. package/dist/ProfileLikes-11ca8c11.js +0 -1
  557. package/dist/ProfileLikes-23b6f2f9.js +0 -1
  558. package/dist/ProfileLikes-36373ac1.mjs +0 -44
  559. package/dist/ProfileLikes-3c5c02be.mjs +0 -44
  560. package/dist/ProfileLikes-3edf6fb8.mjs +0 -44
  561. package/dist/ProfileLikes-51729962.js +0 -1
  562. package/dist/ProfileLikes-553c52df.js +0 -1
  563. package/dist/ProfileLikes-5b52e4ae.mjs +0 -44
  564. package/dist/ProfileLikes-6cf19687.js +0 -1
  565. package/dist/ProfileLikes-74c78a16.mjs +0 -44
  566. package/dist/ProfileLikes-75215d15.mjs +0 -44
  567. package/dist/ProfileLikes-92196922.mjs +0 -45
  568. package/dist/ProfileLikes-a2c1b585.js +0 -1
  569. package/dist/ProfileLikes-b1060d1e.js +0 -1
  570. package/dist/ProfileLikes-b48ce0ef.js +0 -1
  571. package/dist/ProfileLikes-c068c6c6.js +0 -1
  572. package/dist/ProfileLikes-c8dab14d.mjs +0 -44
  573. package/dist/ProfileLikes-ca197731.mjs +0 -44
  574. package/dist/ProfileLikes-d5f9f058.js +0 -1
  575. package/dist/ProfileLikes-da6303a4.js +0 -1
  576. package/dist/ProfileLikes-e31f28dc.js +0 -1
  577. package/dist/ProfileLikes-e4fa0792.mjs +0 -44
  578. package/dist/ProfileLikes-e88dae8f.mjs +0 -44
  579. package/dist/ProfileLikes-f5ad4497.mjs +0 -44
  580. package/dist/ProfileLikes-f838ff5e.mjs +0 -44
  581. package/dist/ProfileLikes-fa41bad0.js +0 -1
  582. package/dist/ProfileOrganizations-1f9f1841.js +0 -1
  583. package/dist/ProfileOrganizations-3a879480.mjs +0 -212
  584. package/dist/ProfileOrganizations-422d1fa5.js +0 -1
  585. package/dist/ProfileOrganizations-43710687.js +0 -1
  586. package/dist/ProfileOrganizations-4734c02e.mjs +0 -73
  587. package/dist/ProfileOrganizations-5348e892.js +0 -1
  588. package/dist/ProfileOrganizations-55914b43.js +0 -1
  589. package/dist/ProfileOrganizations-58ebfe44.mjs +0 -212
  590. package/dist/ProfileOrganizations-5b5480d5.mjs +0 -212
  591. package/dist/ProfileOrganizations-600d310d.js +0 -1
  592. package/dist/ProfileOrganizations-6b1bc5b2.mjs +0 -213
  593. package/dist/ProfileOrganizations-6f4df3da.js +0 -1
  594. package/dist/ProfileOrganizations-738f444a.js +0 -1
  595. package/dist/ProfileOrganizations-769325c7.js +0 -1
  596. package/dist/ProfileOrganizations-774c6508.mjs +0 -212
  597. package/dist/ProfileOrganizations-78fef72e.js +0 -1
  598. package/dist/ProfileOrganizations-7911deec.mjs +0 -219
  599. package/dist/ProfileOrganizations-8961aaee.mjs +0 -213
  600. package/dist/ProfileOrganizations-930ca51f.mjs +0 -212
  601. package/dist/ProfileOrganizations-974a50ca.mjs +0 -212
  602. package/dist/ProfileOrganizations-ae258581.js +0 -1
  603. package/dist/ProfileOrganizations-bee6a3ae.js +0 -1
  604. package/dist/ProfileOrganizations-c4fb03a1.mjs +0 -72
  605. package/dist/ProfileOrganizations-c5151835.mjs +0 -214
  606. package/dist/ProfileOrganizations-cef668b5.mjs +0 -212
  607. package/dist/ProfileOrganizations-cf8a12f5.mjs +0 -213
  608. package/dist/ProfileOrganizations-d4ec181b.js +0 -1
  609. package/dist/ProfileOrganizations-d55ee487.js +0 -1
  610. package/dist/ProfileOrganizations-db313b5e.mjs +0 -219
  611. package/dist/ProfileOrganizations-ec908108.mjs +0 -212
  612. package/dist/ProfileOrganizations-f52e62e1.js +0 -1
  613. package/dist/Publics-0762210a.js +0 -1
  614. package/dist/Publics-103da60e.js +0 -1
  615. package/dist/Publics-24f055eb.js +0 -1
  616. package/dist/Publics-4438ca51.js +0 -1
  617. package/dist/Publics-4db36606.js +0 -1
  618. package/dist/Publics-50c0ff6c.js +0 -1
  619. package/dist/Publics-538180a8.mjs +0 -45
  620. package/dist/Publics-5472f70c.mjs +0 -123
  621. package/dist/Publics-5ae33b91.mjs +0 -123
  622. package/dist/Publics-640d32fc.mjs +0 -123
  623. package/dist/Publics-660e851c.mjs +0 -45
  624. package/dist/Publics-6b7c97bd.js +0 -1
  625. package/dist/Publics-70a0ca9c.mjs +0 -45
  626. package/dist/Publics-71b9efbe.js +0 -1
  627. package/dist/Publics-8595ab7e.js +0 -1
  628. package/dist/Publics-8bb9a680.js +0 -1
  629. package/dist/Publics-8bc74cc3.js +0 -1
  630. package/dist/Publics-abbe2e0c.mjs +0 -123
  631. package/dist/Publics-b1cbfd97.mjs +0 -45
  632. package/dist/Publics-bbab7a79.js +0 -1
  633. package/dist/Publics-bed70f0c.mjs +0 -123
  634. package/dist/Publics-cbb8eaaa.mjs +0 -123
  635. package/dist/Publics-e14d36ed.js +0 -1
  636. package/dist/Publics-f34131bf.mjs +0 -45
  637. package/dist/Publics-f4c3ef5b.mjs +0 -123
  638. package/dist/Publics-fcb1f708.mjs +0 -123
  639. package/dist/Publics-ffc08ad7.mjs +0 -123
  640. package/dist/Select-90d4b7c8.mjs +0 -81
  641. package/dist/Select-b9299fb6.js +0 -1
  642. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  643. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  644. package/dist/SkeletonBlogpost-95db0fa9.js +0 -1
  645. package/dist/SkeletonBlogpost-e0621af7.mjs +0 -16
  646. package/dist/SkeletonEventShort-6c9e3940.js +0 -1
  647. package/dist/SkeletonEventShort-f030e56f.mjs +0 -16
  648. package/dist/SkeletonOrganization-5c09cfc5.js +0 -1
  649. package/dist/SkeletonOrganization-8690422d.mjs +0 -16
  650. package/dist/Socials-31c06635.mjs +0 -74
  651. package/dist/Socials-3fe01af1.mjs +0 -275
  652. package/dist/Socials-821bd677.js +0 -1
  653. package/dist/Socials-9b2d27a6.js +0 -1
  654. package/dist/Socials-b19d0cb1.js +0 -1
  655. package/dist/Socials-becde7dc.mjs +0 -275
  656. package/dist/Socials-cceaeaf2.js +0 -1
  657. package/dist/Tab-6f0a4909.js +0 -1
  658. package/dist/Tab-a243605d.mjs +0 -46
  659. package/dist/Tab-dcd62005.js +0 -1
  660. package/dist/UploadImage-15e24d71.mjs +0 -83
  661. package/dist/UploadImage-1b4c2a5e.mjs +0 -83
  662. package/dist/UploadImage-2170c4df.js +0 -1
  663. package/dist/UploadImage-33f6a9f4.js +0 -1
  664. package/dist/UploadImage-39483aee.mjs +0 -83
  665. package/dist/UploadImage-39d42048.js +0 -1
  666. package/dist/UploadImage-6344f789.js +0 -1
  667. package/dist/UploadImage-739cab04.js +0 -1
  668. package/dist/UploadImage-73d66f27.js +0 -1
  669. package/dist/UploadImage-802b81db.js +0 -1
  670. package/dist/UploadImage-86fda95d.mjs +0 -83
  671. package/dist/UploadImage-8835be69.mjs +0 -83
  672. package/dist/UploadImage-a3ef4012.mjs +0 -83
  673. package/dist/UploadImage-c9711af2.js +0 -1
  674. package/dist/UploadImage-dfb36cdb.js +0 -1
  675. package/dist/UploadImage-e4418b43.mjs +0 -83
  676. package/dist/UploadImage-ec3714e8.mjs +0 -83
  677. package/dist/UploadImage-f04e4bc0.mjs +0 -83
  678. package/dist/UploadImage-f7b0335f.mjs +0 -83
  679. package/dist/UploadImageMultiple-297b3897.js +0 -1
  680. package/dist/UploadImageMultiple-7b132ba0.mjs +0 -58
  681. package/dist/UploadImageMultiple-b4c8d627.js +0 -1
  682. package/dist/UploadImageMultiple-c9a7b54f.js +0 -1
  683. package/dist/UploadImageMultiple-d2d48f39.mjs +0 -58
  684. package/dist/UploadImageMultiple-ebcc51e6.mjs +0 -58
  685. package/dist/addMembersQuantity-ea216f92.mjs +0 -85
  686. package/dist/addMembersQuantity-f922d82b.js +0 -84
  687. package/dist/auth-06d35b82.js +0 -7
  688. package/dist/auth-2f9b2dfc.js +0 -7
  689. package/dist/auth-3dedf391.js +0 -8
  690. package/dist/auth-4415a97a.js +0 -7
  691. package/dist/auth-45a454f2.js +0 -7
  692. package/dist/auth-5217f6a5.mjs +0 -1498
  693. package/dist/auth-5a58f8cb.js +0 -8
  694. package/dist/auth-5cd34aae.mjs +0 -905
  695. package/dist/auth-60c81f40.mjs +0 -1836
  696. package/dist/auth-78d9392a.mjs +0 -612
  697. package/dist/auth-962e3b73.mjs +0 -1836
  698. package/dist/auth-96449d96.js +0 -7
  699. package/dist/auth-98fe3efb.mjs +0 -612
  700. package/dist/auth-acbe3ae1.js +0 -7
  701. package/dist/auth-afa25b86.mjs +0 -905
  702. package/dist/auth-b047fdc0.mjs +0 -612
  703. package/dist/auth-b61483ce.js +0 -8
  704. package/dist/auth-c3234662.mjs +0 -1836
  705. package/dist/auth-cfeacd61.mjs +0 -1839
  706. package/dist/auth-e8f6d979.js +0 -8
  707. package/dist/auth-ec618cb3.mjs +0 -627
  708. package/dist/auth.validation-02e0629b.mjs +0 -20
  709. package/dist/auth.validation-0ce9e326.js +0 -1
  710. package/dist/auth.validation-1b60cef5.mjs +0 -20
  711. package/dist/auth.validation-1d5f2990.mjs +0 -20
  712. package/dist/auth.validation-2cdd2231.mjs +0 -17
  713. package/dist/auth.validation-2dfb450f.js +0 -1
  714. package/dist/auth.validation-2f00457e.js +0 -1
  715. package/dist/auth.validation-30bb0efd.js +0 -1
  716. package/dist/auth.validation-3e93dc23.mjs +0 -20
  717. package/dist/auth.validation-3fd4cc7c.mjs +0 -20
  718. package/dist/auth.validation-495e9d6d.js +0 -1
  719. package/dist/auth.validation-4b016fa5.js +0 -1
  720. package/dist/auth.validation-6a59443b.js +0 -1
  721. package/dist/auth.validation-892bea9b.js +0 -1
  722. package/dist/auth.validation-9e493d2f.mjs +0 -20
  723. package/dist/auth.validation-9f87ea95.mjs +0 -20
  724. package/dist/auth.validation-a17cd085.js +0 -1
  725. package/dist/auth.validation-a52304cf.mjs +0 -20
  726. package/dist/auth.validation-ba3606bf.mjs +0 -24
  727. package/dist/auth.validation-be05e981.js +0 -1
  728. package/dist/auth.validation-c8d5adf5.mjs +0 -20
  729. package/dist/auth.validation-d4795c25.js +0 -1
  730. package/dist/auth.validation-e265b496.mjs +0 -23
  731. package/dist/carousel.es-ee047568.js +0 -5
  732. package/dist/categories-4327a81c.js +0 -1
  733. package/dist/categories-82b28618.js +0 -1
  734. package/dist/categories-df3240a7.mjs +0 -122
  735. package/dist/components/CardFooter/CardFooter.vue.d.ts +0 -8
  736. package/dist/components/CardHeader/CardHeader.vue.d.ts +0 -15
  737. package/dist/dribbble-8e8e169b.js +0 -1
  738. package/dist/dribbble-ae37c2ac.mjs +0 -127
  739. package/dist/icons.client.cjs +0 -1
  740. package/dist/icons.client.js +0 -84
  741. package/dist/index-0ab9d59c.mjs +0 -934
  742. package/dist/index-2059e444.js +0 -2
  743. package/dist/index-2a0269fc.js +0 -2
  744. package/dist/index-4e469a71.mjs +0 -941
  745. package/dist/index-7ecbf72a.js +0 -2
  746. package/dist/index-9128ade5.mjs +0 -1228
  747. package/dist/inputs.validation-14e8e01f.mjs +0 -93
  748. package/dist/inputs.validation-24ae76b9.js +0 -1
  749. package/dist/leftovers-66951de6.js +0 -1
  750. package/dist/mailing-25d08f4c.js +0 -49
  751. package/dist/mailing-ebc6e90f.mjs +0 -50
  752. package/dist/metadata.schema-147f9902.mjs +0 -212
  753. package/dist/metadata.schema-4f856191.js +0 -85
  754. package/dist/metadata.schema-7f36e829.mjs +0 -86
  755. package/dist/metadata.schema-93397f9f.js +0 -211
  756. package/dist/modules/backoffice/components/admin/LeftoverAdd.vue.d.ts +0 -2
  757. package/dist/modules/backoffice/components/admin/Leftovers.vue.d.ts +0 -2
  758. package/dist/modules/backoffice/components/admin/Order.vue.d.ts +0 -6
  759. package/dist/modules/backoffice/components/admin/Orders.vue.d.ts +0 -2
  760. package/dist/modules/backoffice/components/admin/Product.vue.d.ts +0 -2
  761. package/dist/modules/backoffice/components/admin/Products.vue.d.ts +0 -2
  762. package/dist/modules/backoffice/components/layouts/Account.vue.d.ts +0 -2
  763. package/dist/modules/backoffice/components/pages/Favorites.vue.d.ts +0 -6
  764. package/dist/modules/backoffice/components/pages/History.vue.d.ts +0 -6
  765. package/dist/modules/backoffice/components/pages/Organizations.vue.d.ts +0 -2
  766. package/dist/modules/backoffice/components/pages/Profile.vue.d.ts +0 -2
  767. package/dist/modules/backoffice/components/pages/Wallet.vue.d.ts +0 -2
  768. package/dist/modules/backoffice/components/pages/profile/ProfileEdit.vue.d.ts +0 -2
  769. package/dist/modules/gallery/components/sections/Gallery.vue.d.ts +0 -2
  770. package/dist/modules/landing/components/pages/Legal.vue.d.ts +0 -2
  771. package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +0 -2
  772. package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +0 -2
  773. package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +0 -2
  774. package/dist/modules/orders/components/pages/History.vue.d.ts +0 -6
  775. package/dist/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue.d.ts +0 -11
  776. package/dist/modules/organizations/components/elements/ButtonFollow.vue.d.ts +0 -10
  777. package/dist/modules/organizations/components/pages/OrganizationsAccount.vue.d.ts +0 -2
  778. package/dist/modules/organizations/components/sections/Department.vue.d.ts +0 -7
  779. package/dist/modules/organizations/components/sections/Department2.vue.d.ts +0 -7
  780. package/dist/modules/organizations/components/sections/MembersTab.vue.d.ts +0 -7
  781. package/dist/modules/organizations/components/sections/PlaceModify.vue.d.ts +0 -9
  782. package/dist/modules/organizations/components/sections/Places.vue.d.ts +0 -9
  783. package/dist/modules/organizations/components/sections/StructureTab.vue.d.ts +0 -8
  784. package/dist/modules/products/components/blocks/Leftover.vue.d.ts +0 -6
  785. package/dist/modules/products/components/blocks/ProductCard.vue.d.ts +0 -6
  786. package/dist/organizations-0fb56927.mjs +0 -122
  787. package/dist/organizations-195ec134.js +0 -1
  788. package/dist/organizations-2adff182.mjs +0 -121
  789. package/dist/organizations-4157d81d.js +0 -1
  790. package/dist/organizations-49a10611.js +0 -1
  791. package/dist/organizations-4d18a2e2.js +0 -1
  792. package/dist/organizations-52438d24.mjs +0 -121
  793. package/dist/organizations-65937ba4.js +0 -1
  794. package/dist/organizations-6ed907e3.mjs +0 -122
  795. package/dist/organizations-81e762e7.mjs +0 -122
  796. package/dist/organizations-8408770b.mjs +0 -121
  797. package/dist/organizations-8ffdf84d.mjs +0 -121
  798. package/dist/organizations-a241b21d.js +0 -1
  799. package/dist/organizations-aed4245d.mjs +0 -122
  800. package/dist/organizations-af965fcf.mjs +0 -122
  801. package/dist/organizations-bb8f676d.js +0 -1
  802. package/dist/organizations-cf1ab766.js +0 -1
  803. package/dist/organizations-e1bfd3a8.mjs +0 -121
  804. package/dist/organizations-e74f4f84.js +0 -1
  805. package/dist/organizations-e97a0f85.js +0 -1
  806. package/dist/organizations-ea9de495.mjs +0 -122
  807. package/dist/organizations.client-0071acee.js +0 -3
  808. package/dist/organizations.client-01593e4d.js +0 -3
  809. package/dist/organizations.client-13fc2cbe.js +0 -3
  810. package/dist/organizations.client-16ee6b43.js +0 -3
  811. package/dist/organizations.client-1b0906f9.js +0 -3
  812. package/dist/organizations.client-1b9fa66e.mjs +0 -2997
  813. package/dist/organizations.client-1e9361ec.js +0 -3
  814. package/dist/organizations.client-1eb0b49c.js +0 -3
  815. package/dist/organizations.client-21cfcf36.mjs +0 -3038
  816. package/dist/organizations.client-292e8444.js +0 -3
  817. package/dist/organizations.client-2e452fee.js +0 -3
  818. package/dist/organizations.client-37ec4817.js +0 -3
  819. package/dist/organizations.client-39196bef.mjs +0 -3041
  820. package/dist/organizations.client-43816e25.mjs +0 -3018
  821. package/dist/organizations.client-48568171.mjs +0 -3017
  822. package/dist/organizations.client-49eaeca6.mjs +0 -3017
  823. package/dist/organizations.client-52d2951c.mjs +0 -3017
  824. package/dist/organizations.client-5548024c.js +0 -3
  825. package/dist/organizations.client-63b476ff.mjs +0 -2996
  826. package/dist/organizations.client-6947e530.js +0 -3
  827. package/dist/organizations.client-696eacbb.js +0 -3
  828. package/dist/organizations.client-6a69b54a.js +0 -3
  829. package/dist/organizations.client-6f1f8b73.mjs +0 -3017
  830. package/dist/organizations.client-6fc91683.mjs +0 -3072
  831. package/dist/organizations.client-723ebb3b.js +0 -3
  832. package/dist/organizations.client-76c3660a.mjs +0 -3072
  833. package/dist/organizations.client-7e51b4a8.js +0 -3
  834. package/dist/organizations.client-85a2ae66.js +0 -3
  835. package/dist/organizations.client-88d41199.mjs +0 -3038
  836. package/dist/organizations.client-8aa34e80.mjs +0 -3017
  837. package/dist/organizations.client-91e84d4f.mjs +0 -3022
  838. package/dist/organizations.client-976762d2.mjs +0 -3021
  839. package/dist/organizations.client-9e480f60.js +0 -3
  840. package/dist/organizations.client-b0878617.js +0 -3
  841. package/dist/organizations.client-b39db194.js +0 -3
  842. package/dist/organizations.client-b692a78a.mjs +0 -3018
  843. package/dist/organizations.client-bae43c7c.mjs +0 -3017
  844. package/dist/organizations.client-bdc9b044.js +0 -3
  845. package/dist/organizations.client-be1224a1.mjs +0 -3017
  846. package/dist/organizations.client-bf73e73d.mjs +0 -3017
  847. package/dist/organizations.client-c288ff44.mjs +0 -3072
  848. package/dist/organizations.client-c6fd9351.js +0 -3
  849. package/dist/organizations.client-c7844bc2.mjs +0 -3038
  850. package/dist/organizations.client-cdbaf6aa.mjs +0 -3017
  851. package/dist/organizations.client-d0cae5f4.mjs +0 -3017
  852. package/dist/organizations.client-d21a22ec.js +0 -3
  853. package/dist/organizations.client-d47f0b3f.js +0 -3
  854. package/dist/organizations.client-ddbf8809.js +0 -3
  855. package/dist/organizations.client-df5e8a6f.mjs +0 -3020
  856. package/dist/organizations.client-f4dff584.mjs +0 -3017
  857. package/dist/organizations.client-fa3b0839.mjs +0 -3017
  858. package/dist/products-7960bbd4.js +0 -1
  859. package/dist/products-7e4253eb.js +0 -1
  860. package/dist/products-bf5783aa.mjs +0 -108
  861. package/dist/states.validation-02ba0aee.js +0 -1
  862. package/dist/states.validation-03f7cd49.js +0 -1
  863. package/dist/states.validation-50e3a5a0.mjs +0 -13
  864. package/dist/states.validation-766a62a6.mjs +0 -13
  865. package/dist/states.validation-92231934.js +0 -1
  866. package/dist/states.validation-e5f4fa3a.mjs +0 -13
  867. package/dist/vue-draggable-next.esm-bundler-80731ae0.js +0 -10
  868. package/dist/vuex.esm-bundler-e8cf3cd2.js +0 -5
@@ -1,368 +0,0 @@
1
- import { ref as v, computed as m, openBlock as r, createElementBlock as i, normalizeClass as p, createVNode as C, unref as T, createElementVNode as f, createCommentVNode as l, createBlock as w, withModifiers as L, toDisplayString as g, renderSlot as O, createStaticVNode as R, reactive as N, watch as _, onMounted as j, TransitionGroup as z, withCtx as D, Fragment as I, renderList as F, Transition as V } from "vue";
2
- import { _ as B } from "./EmptyState-34d85f10.mjs";
3
- import { _ as H, a as Y } from "./Chips-03ff0c34.mjs";
4
- import { I as q } from "./IconEdit-eacf3856.mjs";
5
- import { a as A } from "./index-9128ade5.mjs";
6
- import { useRouter as G } from "vue-router";
7
- import { _ as J } from "./_plugin-vue_export-helper-dad06003.mjs";
8
- import { s as S } from "./globals-96ba60e4.mjs";
9
- const K = {
10
- key: 0,
11
- class: "o-hidden pos-relative bg-grey mn-small w-100"
12
- }, Q = ["src"], W = ["src"], X = { class: "w-max mn-r-thin pd-thin radius-small t-semi bg-main" }, Z = {
13
- key: 0,
14
- class: "t-semi"
15
- }, ee = { class: "t-semi" }, te = {
16
- key: 0,
17
- class: "t-semi uppercase"
18
- }, ae = {
19
- key: 1,
20
- class: "cursor-pointer mn-thin flex-nowrap flex w-100"
21
- }, re = {
22
- key: 0,
23
- class: ""
24
- }, ne = {
25
- key: 1,
26
- class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
27
- }, se = {
28
- key: 2,
29
- class: "mn-small p-big"
30
- }, le = {
31
- __name: "CardEvent",
32
- props: ["event", "user", "short", "type"],
33
- setup(e) {
34
- const t = e;
35
- v(/* @__PURE__ */ new Date()), G(), m(() => t.event.content.find((a) => a.type.name === "ImageUpload")), m(() => t.event.content.find((a) => a.type.name === "Textarea"));
36
- const s = m(() => {
37
- const a = /* @__PURE__ */ new Date(), u = Date.UTC(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate(), a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds()), n = new Date(t.event.date.start), o = Date.UTC(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate(), n.getUTCHours(), n.getUTCMinutes(), n.getUTCSeconds()) - u;
38
- if (o < 0)
39
- return "Finished";
40
- if (o === 0)
41
- return "Starting Now";
42
- {
43
- const k = Math.floor(o / 1e3), x = Math.floor(k / 60), $ = Math.floor(x / 60), M = Math.floor($ / 24);
44
- return M > 0 ? `${M} days until event` : $ > 0 ? `${$} hours until event` : x > 0 ? `${x} minutes until event` : `${k} seconds until event`;
45
- }
46
- }), c = m(() => {
47
- const a = new Date(t.event.date.start), u = { day: "2-digit", month: "2-digit" };
48
- return a.toLocaleDateString(void 0, u);
49
- }), d = m(() => {
50
- console.log(t.event.date.start), console.log(t.event.date.end);
51
- const a = new Date(t.event.date.start), u = new Date(t.event.date.end), n = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(a), E = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(u);
52
- return `${n}-${E}`;
53
- }), y = m(() => {
54
- const a = t.event.name;
55
- return a.length > 26 ? `${a.substring(0, 22)}…` : a;
56
- });
57
- return (a, u) => (r(), i("article", {
58
- class: p([{
59
- "flex-nowrap flex-v-center flex": e.type === "short"
60
- }, "pos-relative"])
61
- }, [
62
- C(H, {
63
- class: p({
64
- "mn-small pd-medium": e.type !== "short",
65
- "flex-child-order-last flex-child mn-l-small": e.type === "short"
66
- }),
67
- owner: e.event.owner,
68
- creator: e.event.creator,
69
- members: e.event.numberOfTickets,
70
- membersPhotos: e.event.participantsPhotos,
71
- type: e.type,
72
- dateFormatted: T(s)
73
- }, null, 8, ["class", "owner", "creator", "members", "membersPhotos", "type", "dateFormatted"]),
74
- e.event.cover && e.type !== "short" ? (r(), i("div", K, [
75
- f("img", {
76
- src: (a.FILE_SERVER_URL || "") + e.event.cover,
77
- alt: "Event image",
78
- class: "pos-relative z-index-1 d-block mn-auto h-20r"
79
- }, null, 8, Q),
80
- f("img", {
81
- src: (a.FILE_SERVER_URL || "") + e.event.cover,
82
- alt: "Event Background",
83
- class: "z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",
84
- style: { transform: "scale(1.5)", filter: "blur(2rem)", "-webkit-filter": "blur(2rem)" }
85
- }, null, 8, W)
86
- ])) : l("", !0),
87
- f("section", {
88
- class: p(["pos-relative w-100", { "pd-t-zero pd-medium": e.type !== "short" }])
89
- }, [
90
- e.user === e.event.creator.target._id ? (r(), w(q, {
91
- key: 0,
92
- onClick: u[0] || (u[0] = L((n) => a.$router.push({
93
- name: "Edit Event",
94
- params: {
95
- url: e.event.url
96
- }
97
- }), ["stop"])),
98
- class: "z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
99
- })) : l("", !0),
100
- f("div", {
101
- class: p([{ "mn-small": e.type !== "short" }, "flex-v-center flex-nowrap flex"])
102
- }, [
103
- f("div", X, [
104
- e.type !== "short" ? (r(), i("span", Z, g(T(c)) + " | ", 1)) : l("", !0),
105
- f("span", ee, g(T(d)), 1)
106
- ]),
107
- e.type === "short" ? (r(), i("span", te, g(T(y)), 1)) : l("", !0)
108
- ], 2),
109
- e.type !== "short" ? (r(), i("div", ae, [
110
- e.type !== "short" ? (r(), i("h3", re, g(e.event.name), 1)) : l("", !0),
111
- e.event.status === "draft" ? (r(), i("div", ne, g(e.event.status), 1)) : l("", !0)
112
- ])) : l("", !0),
113
- e.type !== "short" ? (r(), i("p", se, g(e.event.description), 1)) : l("", !0),
114
- O(a.$slots, "default"),
115
- e.type !== "short" && e.event.tags.length > 0 ? (r(), w(Y, {
116
- key: 3,
117
- chips: e.event.tags
118
- }, null, 8, ["chips"])) : l("", !0)
119
- ], 2)
120
- ], 2));
121
- }
122
- }, ie = {}, ce = {
123
- width: "100%",
124
- height: "20rem",
125
- xmlns: "http://www.w3.org/2000/svg"
126
- }, ue = /* @__PURE__ */ R('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), oe = [
127
- ue
128
- ];
129
- function de(e, t) {
130
- return r(), i("svg", ce, oe);
131
- }
132
- const me = /* @__PURE__ */ J(ie, [["render", de]]), U = A.create({ baseURL: process.env.API_URL, withCredentials: !0 }), h = N({
133
- all: [],
134
- filter: {
135
- // query
136
- tags: [],
137
- period: "",
138
- date: null
139
- // pagination
140
- },
141
- pagination: {
142
- page: 1,
143
- perPage: 18
144
- },
145
- // Sort
146
- sort: {
147
- current: "popularity",
148
- ascending: !1
149
- },
150
- current: {
151
- _id: "",
152
- cover: "",
153
- url: "",
154
- status: "",
155
- name: "",
156
- tags: [],
157
- date: {
158
- start: null,
159
- false: null
160
- },
161
- views: 0,
162
- content: []
163
- }
164
- });
165
- async function P(e = {}) {
166
- e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 9, e.params.tags = e.tags || [], e.status && (e.params = { status: e.status }), e.url && (e.params = { url: e.url }), e.period && (e.params.period = e.period), e.category && (e.params.category = e.category), e.organization && (e.params.organization = e.organization), e.date && (e.params.date = e.date), e.participant && (e.params.participant = e.participant), e.owner && (e.params.owner = e.owner), e.creator && (e.params.creator = e.creator), e.user && (e.params.user = e.user), e.sortOrder && (e.params.sortOrder = e.sortOrder), e.sortParam && (e.params.sortParam = e.sortParam), e.params.skip = e.skip || 0, e.params.limit = e.limit || 10;
167
- try {
168
- console.log("Request params:" + e.params);
169
- const t = await U.get("/api/events/read", { params: e.params });
170
- return console.log(e.params), e.url ? b(t.data, "current") : b(t.data, "all"), Promise.resolve(t.data);
171
- } catch (t) {
172
- return S(t), Promise.reject(t);
173
- }
174
- }
175
- async function fe(e) {
176
- return U.post("/api/events/create", e).then(
177
- (t) => (b(t.data, "current"), Promise.resolve(t.data)),
178
- (t) => (S(t), Promise.reject(t))
179
- );
180
- }
181
- async function ge(e) {
182
- return U.post("/api/events/update", e).then(
183
- (t) => (b(t.data, "current"), Promise.resolve(t.data)),
184
- (t) => (S(t), Promise.reject(t))
185
- );
186
- }
187
- async function ve(e) {
188
- return await U.post("/api/events/delete", { _id: e }).then(
189
- (t) => {
190
- const s = h.all.findIndex((c) => c._id === e);
191
- return s !== -1 && h.all.splice(s, 1), Promise.resolve(t.data);
192
- },
193
- (t) => (S(t), Promise.reject(t))
194
- );
195
- }
196
- function b(e, t) {
197
- h[t] = e;
198
- }
199
- function he() {
200
- h.current = {
201
- _id: "",
202
- cover: "",
203
- url: "",
204
- status: "",
205
- name: "",
206
- tags: [],
207
- date: {
208
- start: null,
209
- false: null
210
- },
211
- views: 0,
212
- content: []
213
- };
214
- }
215
- _(h, (e, t) => {
216
- });
217
- const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
218
- __proto__: null,
219
- clean: he,
220
- create: fe,
221
- read: P,
222
- remove: ve,
223
- set: b,
224
- state: h,
225
- update: ge
226
- }, Symbol.toStringTag, { value: "Module" })), ye = { class: "feed" }, Ee = {
227
- __name: "Feed",
228
- props: {
229
- category: {
230
- type: String,
231
- default: null
232
- },
233
- selectedDate: {
234
- type: String,
235
- default: null
236
- },
237
- organization: {
238
- type: String,
239
- default: null
240
- },
241
- owner: {
242
- type: String,
243
- default: null
244
- },
245
- creator: {
246
- type: String,
247
- default: null
248
- },
249
- user: {
250
- type: [String, Number],
251
- default: null
252
- },
253
- sortOrder: {
254
- type: String,
255
- default: "desc"
256
- },
257
- participant: {
258
- type: String,
259
- default: null
260
- },
261
- period: {
262
- type: String,
263
- default: null
264
- },
265
- status: {
266
- type: String,
267
- default: null
268
- }
269
- },
270
- setup(e) {
271
- const t = e, s = v([]), c = v(!1), d = v(!0), y = v(0), a = v(20), u = async () => {
272
- if (c.value) {
273
- y.value += a.value;
274
- const n = await P({
275
- skip: y.value,
276
- limit: a.value,
277
- category: t.category,
278
- sortOrder: t.sortOrder,
279
- participant: t.participant,
280
- creator: t.creator,
281
- user: t.user,
282
- date: t.selectedDate,
283
- owner: t.owner,
284
- organization: t.organization,
285
- period: t.period,
286
- status: t.status
287
- });
288
- n.length === 0 ? c.value = !1 : c.value = !0, s.value = [...s.value, ...n];
289
- }
290
- };
291
- return j(async () => {
292
- d.value = !0, console.log(t.selectedDate);
293
- const n = await P({
294
- skip: y.value,
295
- limit: a.value,
296
- category: t.category,
297
- participant: t.participant,
298
- sortOrder: t.sortOrder,
299
- user: t.user,
300
- owner: t.owner,
301
- creator: t.creator,
302
- date: t.selectedDate,
303
- organization: t.organization,
304
- period: t.period,
305
- status: t.status
306
- });
307
- n.length === 0 ? c.value = !1 : c.value = !0, s.value = n, d.value = !1;
308
- }), (n, E) => (r(), i("section", ye, [
309
- C(z, {
310
- tag: "ul",
311
- name: "scaleTransition",
312
- class: "o-hidden bg-grey radius-big"
313
- }, {
314
- default: D(() => [
315
- d.value ? (r(!0), i(I, { key: 0 }, F(a.value, (o) => (r(), w(me, { key: o }))), 128)) : l("", !0)
316
- ]),
317
- _: 1
318
- }),
319
- C(V, { name: "scaleTransition" }, {
320
- default: D(() => [
321
- !d.value && s.value.length < 1 ? (r(), w(B, {
322
- key: 0,
323
- title: "No Events Found",
324
- description: "Currently, there are no events available. Please check back later.",
325
- class: "pd-medium mn-thin bg-grey radius-big"
326
- })) : l("", !0)
327
- ]),
328
- _: 1
329
- }),
330
- C(z, {
331
- tag: "ul",
332
- name: "scaleTransition",
333
- class: "container"
334
- }, {
335
- default: D(() => [
336
- !d.value && s.value.length > 0 ? (r(!0), i(I, { key: 0 }, F(s.value, (o, k) => (r(), w(le, {
337
- onClick: (x) => n.$router.push({ name: "Event", params: { url: o.url } }),
338
- key: o._id,
339
- event: o,
340
- owner: e.user,
341
- type: "normal",
342
- class: p(["bg-grey radius-big mn-medium", {
343
- "br-b br-solid br-black-transp-10": k !== s.value.length - 1
344
- }])
345
- }, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : l("", !0),
346
- c.value && s.value.length > 0 ? (r(), i("button", {
347
- key: 1,
348
- onClick: u,
349
- class: "w-100 bg-main button"
350
- }, "Load more")) : l("", !0)
351
- ]),
352
- _: 1
353
- })
354
- ]));
355
- }
356
- };
357
- export {
358
- me as S,
359
- Ee as _,
360
- le as a,
361
- fe as b,
362
- he as c,
363
- ve as d,
364
- Ue as e,
365
- P as r,
366
- h as s,
367
- ge as u
368
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),p=require("./Loader-21f016da.js"),m=require("./EmptyState-d65bab5b.js"),i=require("./CardBlogpost-cc208f93.js"),f={__name:"Feed",props:{category:{type:String,default:null},limit:{type:Number,default:7},skip:{type:Number,default:0},owner:{type:String,default:null},creator:{type:String,default:null},following:{type:String,default:null},status:{type:String,default:"published"},user:{type:[String,Number],default:null},period:{type:String,default:null}},setup(u){const t=u,l=e.ref([]),r=e.ref(!0);let o=e.ref(!0),n=e.ref(t.skip),s=e.ref(t.limit);const d=async()=>{if(r.value){n.value+=s.value;const a=await i.read({skip:n.value,limit:s.value,category:t.category,user:t.user,owner:t.owner,following:t.following,creator:t.creator,status:t.status,period:t.period});a.length===0&&(r.value=!1),l.value=[...l.value,...a]}};return e.onMounted(async()=>{const a=await i.read({skip:n.value,limit:s.value,category:t.category,user:t.user,owner:t.owner,following:t.following,status:t.status,creator:t.creator,period:t.period});a.length===0?r.value=!1:r.value=!0,l.value=a,o.value=!1}),(a,g)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[e.unref(o)?(e.openBlock(),e.createBlock(p.Loader,{key:0,class:"z-index-5 pos-t-50 left-t-50 pos-absolute"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(o)&&l.value.length<1?(e.openBlock(),e.createBlock(m._sfc_main,{key:0,title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(a.$attrs.class)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,c=>(e.openBlock(),e.createBlock(i._sfc_main,{key:c._id,blogpost:c,user:u.user,class:"mn-medium"},null,8,["blogpost","user"]))),128)),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[r.value&&l.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:d,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:1})],2))]),_:1})],64))}};exports._sfc_main=f;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),b=require("./Chips-2a0d9bfe.js"),T=require("./auth-b61483ce.js"),D=require("vue-router"),V=require("./_plugin-vue_export-helper-f246444f.js"),v=require("./globals-928eb13c.js"),U={key:0,class:"o-hidden bg-grey mn-small w-100"},$=["src"],P=["src"],z={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},_={key:0,class:"t-semi"},M={class:"t-semi"},F={key:0,class:"t-semi uppercase"},O={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},I={key:0,class:""},q={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},L={key:1,class:"mn-small p-big"},C={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),D.useRouter(),e.computed(()=>r.event.content.find(a=>a.type.name==="ImageUpload")),e.computed(()=>r.event.content.find(a=>a.type.name==="Textarea"));const s=e.computed(()=>{const a=new Date,o=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),c=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-o;if(c<0)return"Finished";if(c===0)return"Starting Now";{const f=Math.floor(c/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),o={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,o)}),i=e.computed(()=>{const a=new Date(r.event.date.start),o=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(o);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,o)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(b._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-1 d-block mn-auto h-20r"},null,8,$),e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,P)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[e.createElementVNode("div",{class:e.normalizeClass([{"mn-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",z,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",_,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",M,e.toDisplayString(e.unref(i)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",O,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",I,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",q,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",L,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(b._sfc_main$1,{key:2,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},j={},R={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},H=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),G=[H];function Y(t,r){return e.openBlock(),e.createElementBlock("svg",R,G)}const x=V._export_sfc(j,[["render",Y]]),y=T.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),u=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function h(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.status&&(t.params={status:t.status}),t.url&&(t.params={url:t.url}),t.period&&(t.params.period=t.period),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.date&&(t.params.date=t.date),t.participant&&(t.params.participant=t.participant),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.user&&(t.params.user=t.user),t.sortOrder&&(t.params.sortOrder=t.sortOrder),t.sortParam&&(t.params.sortParam=t.sortParam),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function E(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function B(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function A(t){return await y.delete(`/api/events/delete/${t}`).then(r=>{const s=u.all.findIndex(l=>l._id===t);return s!==-1&&u.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function m(t,r){u[r]=t}function S(){u.current={_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}}e.watch(u,(t,r)=>{});const J=Object.freeze(Object.defineProperty({__proto__:null,clean:S,create:E,read:h,remove:A,set:m,state:u,update:B},Symbol.toStringTag,{value:"Module"})),K={class:"feed"},Q={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),i=e.ref(!0),d=e.ref(0),a=e.ref(20),o=async()=>{if(l.value){d.value+=a.value;const n=await h({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,creator:r.creator,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{i.value=!0,console.log(r.selectedDate);const n=await h({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,creator:r.creator,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,i.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",K,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,c=>(e.openBlock(),e.createBlock(x,{key:c}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!i.value&&s.value.length<1?(e.openBlock(),e.createBlock(N._sfc_main,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!i.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(c,f)=>(e.openBlock(),e.createBlock(C,{onClick:g=>n.$router.push({name:"Event",params:{url:c.url}}),key:c._id,event:c,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=x;exports._sfc_main=Q;exports._sfc_main$1=C;exports.clean=S;exports.create=E;exports.events=J;exports.read=h;exports.state=u;exports.update=B;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),V=require("./EmptyState-7658d7d6.js"),S=require("./_plugin-vue_export-helper-f246444f.js"),v=require("./Chips-32092a52.js"),$=require("vue-router"),w=require("./auth-b61483ce.js"),u=require("./globals-928eb13c.js"),R=require("./IconEdit-4cfe2115.js"),f=w.axios.create({baseURL:process.env.API_URL,withCredentials:!0});f.defaults.withCredentials=!0;const i=e.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},date:"",views:0,content:[]}});async function k(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.period&&(t.params.period=t.period),t.url&&(t.params={url:t.url}),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.status&&(t.params.status=t.status),t.user&&(t.params.user=t.user),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await f.get("/api/blog/read",{params:t.params});return t.url?g(r.data,"current"):g(r.data,"all"),Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}}async function B(t){return f.post("/api/blog/create",t).then(r=>(g(r.data,"current"),Promise.resolve(r.data)),r=>(u.setError(r),Promise.reject(r)))}async function E(t){return f.post("/api/blog/update",t).then(r=>(g(r.data,"current"),Promise.resolve(r.data)),r=>(u.setError(r),Promise.reject(r)))}async function _(t){return await f.delete(`/api/blog/delete/${t}`).then(r=>{const o=i.all.findIndex(a=>a._id===t);return o!==-1&&i.all.splice(o,1),Promise.resolve(r.data)},r=>(u.setError(r),Promise.reject(r)))}function g(t,r){i[r]=t}function P(){i.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function j(t){const r={order:i.project.content.length+1,type:t.type,data:t.data,class:t.class,content:t.content};i.project.content.push(r)}e.watch(i,(t,r)=>{});const I=Object.freeze(Object.defineProperty({__proto__:null,blockAdd:j,clean:P,create:B,read:k,remove:_,set:g,state:i,update:E},Symbol.toStringTag,{value:"Module"})),L={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},z={class:"circular-loader"},D=e.createElementVNode("svg",{viewBox:"25 25 50 50"},[e.createElementVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),q={key:0,class:"progress-text"},T={key:1,class:"uppercase t-semi w-m-10r status-text"};function O(t,r,o,a,s,l){return e.openBlock(),e.createElementBlock("div",z,[D,o.progress?(e.openBlock(),e.createElementBlock("div",q,e.toDisplayString(o.progress),1)):e.createCommentVNode("",!0),o.status?(e.openBlock(),e.createElementBlock("div",T,e.toDisplayString(o.status),1)):e.createCommentVNode("",!0)])}const x=S._export_sfc(L,[["render",O]]),y=w.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),d=e.reactive({reactions:[],error:null}),b={async read({user:t,type:r,target:o,role:a}){try{const s=await y.get("/api/reactions",{params:{user:t,type:r,target:o,role:a}});return d.error=null,d.reactions=s.data,Promise.resolve(s.data)}catch(s){return u.setError(s),Promise.reject(s)}},async create(t){try{const r=await y.post("/api/reactions/create",t);return d.error=null,Promise.resolve(r.data)}catch(r){return console.log(r),u.setError(r),Promise.reject(r)}},async update(t){try{const r=await y.post("/api/reactions/update",t);return d.error=null,Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}},async delete(t){try{const r=await y.post("/api/reactions/delete",t);return d.error=null,Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}}},U={handleReactionUpdate(t,r,o){let a;if(Array.isArray(t)?a=t.find(s=>s._id===r.target):typeof t=="object"&&t._id===r.target&&(a=t),a)if(a.hasReaction=o,o)a.reactions.push(r),a.numberOfReactions+=1;else{const s=a.reactions.findIndex(l=>l._id===r._id);s!==-1&&(a.reactions.splice(s,1),a.numberOfReactions-=1)}}};e.watch(d,t=>{});const A=Object.freeze(Object.defineProperty({__proto__:null,actions:b,mutations:U,state:d},Symbol.toStringTag,{value:"Module"})),M={class:"t-semi br-top-dark flex-nowrap flex-nojustify flex"},F=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),H={class:"cursor-pointer"},G=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),N={__name:"FooterBlogpost",props:["blogpost","owner","user"],setup(t){const r=t,o=e.ref(r.blogpost.numberOfReactions),a=e.ref(r.blogpost.isReacted),s=e.ref(r.blogpost.reactionId);async function l(m){if(!r.user){alert("Please login to add a reaction");return}try{const n={target:r.blogpost._id,type:"blogpost",user:r.user,class:"like"},p=await b.create(n);p.reaction.class==="like"&&(o.value+=1,a.value=!0,s.value=p.reaction._id)}catch(n){console.error(n),alert("Error adding reaction. Please try again later.")}}async function c(m){if(!r.user){alert("Please login to add a reaction");return}try{const n={_id:s.value};await b.delete(n),o.value-=1,a.value=!1,s.value=null}catch{alert("Error adding reaction. Please try again later.")}}return(m,n)=>(e.openBlock(),e.createElementBlock("footer",M,[e.createTextVNode(" 👁️ "+e.toDisplayString(t.blogpost.views)+" ",1),F,e.createElementVNode("div",H,[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"cursor-pointer",onClick:n[0]||(n[0]=p=>l())}," 👍 "+e.toDisplayString(o.value),1)),a.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"cursor-pointer",onClick:n[1]||(n[1]=p=>c())}," 👍 "+e.toDisplayString(o.value),1)):e.createCommentVNode("",!0)]),G,e.createTextVNode(" 💬 "+e.toDisplayString(t.blogpost.numberOfComments),1)]))}},J={class:"bg-grey radius-big"},K=["src"],Q={class:"pd-t-zero pd-medium"},W={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},X={key:0,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},Y={key:1,class:"mn-small t-transp p-big"},Z={key:2,class:"mn-small h2"},C={__name:"CardBlogpost",props:["blogpost","user","type"],setup(t){const r=t,o=$.useRouter(),a=e.computed(()=>r.blogpost.content.find(l=>l.type==="ImageUpload")),s=e.computed(()=>r.blogpost.content.find(l=>l.type==="Textarea"));return(l,c)=>(e.openBlock(),e.createElementBlock("article",J,[t.user===t.blogpost.creator.target._id?(e.openBlock(),e.createBlock(R.IconEdit,{key:0,onClick:c[0]||(c[0]=e.withModifiers(m=>l.$router.push({name:"Edit BlogPost",params:{url:t.blogpost.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createVNode(v._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.blogpost.owner,creator:t.blogpost.creator,date:t.blogpost.createdAt},null,8,["class","owner","creator","date"]),e.unref(a)&&e.unref(a).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("img",{key:1,src:(l.FILE_SERVER_URL||"")+e.unref(a).content,alt:"Blog post image",class:"mn-medium object-fit-cover w-100 h-20r"},null,8,K)):e.createCommentVNode("",!0),e.createElementVNode("section",Q,[t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("h3",{onClick:c[1]||(c[1]=m=>e.unref(o).push({name:"BlogPost",params:{url:t.blogpost.url}})),class:""},e.toDisplayString(t.blogpost.name),1),t.blogpost.status==="draft"?(e.openBlock(),e.createElementBlock("div",X,e.toDisplayString(t.blogpost.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(s)&&e.unref(s).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("p",Y,e.toDisplayString(e.unref(s).content.slice(0,120))+"... ",1)):e.createCommentVNode("",!0),t.type==="blogpostPage"?(e.openBlock(),e.createElementBlock("h3",Z,e.toDisplayString(t.blogpost.name),1)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),t.type!=="short"&&t.blogpost.tags.length>0?(e.openBlock(),e.createBlock(v._sfc_main$1,{key:3,chips:t.blogpost.tags},null,8,["chips"])):e.createCommentVNode("",!0)]),e.createVNode(N,{class:"pd-t-zero pd-medium",blogpost:t.blogpost,user:t.user},null,8,["blogpost","user"])]))}},ee={class:"feed"},te={key:1},re={__name:"Feed",props:{category:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},status:{type:String,default:"published"},user:{type:[String,Number],default:null},period:{type:String,default:null}},setup(t){const r=t,o=e.ref([]),a=e.ref(!0);let s=e.ref(!0),l=e.ref(0),c=e.ref(7);const m=async()=>{if(a.value){l.value+=c.value;const n=await k({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,status:r.status,creator:r.creator,period:r.period});n.length===0&&(a.value=!1),o.value=[...o.value,...n]}};return e.onMounted(async()=>{const n=await k({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,status:r.status,creator:r.creator,period:r.period});n.length===0?a.value=!1:a.value=!0,o.value=n,s.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",ee,[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(x,{key:0,class:"z-index-5 pos-t-50 left-t-50 pos-absolute"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!e.unref(s)&&o.value.length<1?(e.openBlock(),e.createBlock(V._sfc_main,{key:0,title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,h=>(e.openBlock(),e.createBlock(C,{key:h._id,blogpost:h,user:t.user,class:"mn-medium"},null,8,["blogpost","user"]))),128)),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:m,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:1})]))]),_:1})]))}};exports.Loader=x;exports._sfc_main=re;exports._sfc_main$1=C;exports._sfc_main$2=N;exports.blogposts=I;exports.clean=P;exports.create=B;exports.reactions=A;exports.read=k;exports.remove=_;exports.state=i;exports.update=E;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),C=require("./Chips-4d8ac62e.js"),V=require("./IconEdit-4cfe2115.js"),D=require("./index-7ecbf72a.js"),U=require("vue-router"),$=require("./_plugin-vue_export-helper-f246444f.js"),h=require("./globals-928eb13c.js"),z={key:0,class:"o-hidden pos-relative bg-grey mn-small w-100"},P=["src"],M=["src"],I={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},F={key:0,class:"t-semi"},L={class:"t-semi"},R={key:0,class:"t-semi uppercase"},_={key:1,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},O={key:0,class:""},q={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},j={key:2,class:"mn-small p-big"},b={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),U.useRouter(),e.computed(()=>r.event.content.find(a=>a.type.name==="ImageUpload")),e.computed(()=>r.event.content.find(a=>a.type.name==="Textarea"));const s=e.computed(()=>{const a=new Date,c=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),o=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-c;if(o<0)return"Finished";if(o===0)return"Starting Now";{const f=Math.floor(o/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),c={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,c)}),i=e.computed(()=>{console.log(r.event.date.start),console.log(r.event.date.end);const a=new Date(r.event.date.start),c=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(c);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,c)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,P),e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,M)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(V.IconEdit,{key:0,onClick:c[0]||(c[0]=e.withModifiers(n=>a.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",I,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",L,e.toDisplayString(e.unref(i)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",_,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",O,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",q,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",j,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(C._sfc_main$1,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},H={},G={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},Y=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),A=[Y];function J(t,r){return e.openBlock(),e.createElementBlock("svg",G,A)}const E=$._export_sfc(H,[["render",J]]),y=D.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),u=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function v(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.status&&(t.params={status:t.status}),t.url&&(t.params={url:t.url}),t.period&&(t.params.period=t.period),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.date&&(t.params.date=t.date),t.participant&&(t.params.participant=t.participant),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.user&&(t.params.user=t.user),t.sortOrder&&(t.params.sortOrder=t.sortOrder),t.sortParam&&(t.params.sortParam=t.sortParam),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return h.setError(r),Promise.reject(r)}}async function x(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(h.setError(r),Promise.reject(r)))}async function B(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(h.setError(r),Promise.reject(r)))}async function S(t){return await y.post("/api/events/delete",{_id:t}).then(r=>{const s=u.all.findIndex(l=>l._id===t);return s!==-1&&u.all.splice(s,1),Promise.resolve(r.data)},r=>(h.setError(r),Promise.reject(r)))}function m(t,r){u[r]=t}function T(){u.current={_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}}e.watch(u,(t,r)=>{});const K=Object.freeze(Object.defineProperty({__proto__:null,clean:T,create:x,read:v,remove:S,set:m,state:u,update:B},Symbol.toStringTag,{value:"Module"})),Q={class:"feed"},W={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),i=e.ref(!0),d=e.ref(0),a=e.ref(20),c=async()=>{if(l.value){d.value+=a.value;const n=await v({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,creator:r.creator,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{i.value=!0,console.log(r.selectedDate);const n=await v({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,creator:r.creator,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,i.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",Q,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,o=>(e.openBlock(),e.createBlock(E,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!i.value&&s.value.length<1?(e.openBlock(),e.createBlock(N._sfc_main,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"container"},{default:e.withCtx(()=>[!i.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(o,f)=>(e.openBlock(),e.createBlock(b,{onClick:g=>n.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:c,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=E;exports._sfc_main=W;exports._sfc_main$1=b;exports.clean=T;exports.create=x;exports.events=K;exports.read=v;exports.remove=S;exports.state=u;exports.update=B;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),C=require("./Chips-92ccc11f.js"),T=require("./IconEdit-4cfe2115.js"),V=require("./auth-b61483ce.js"),D=require("vue-router"),U=require("./_plugin-vue_export-helper-f246444f.js"),v=require("./globals-928eb13c.js"),$={key:0,class:"o-hidden bg-grey mn-small w-100"},z=["src"],P=["src"],M={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},I={key:0,class:"t-semi"},F={class:"t-semi"},L={key:0,class:"t-semi uppercase"},R={key:1,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},O={key:0,class:""},_={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},q={key:2,class:"mn-small p-big"},b={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),D.useRouter(),e.computed(()=>r.event.content.find(a=>a.type.name==="ImageUpload")),e.computed(()=>r.event.content.find(a=>a.type.name==="Textarea"));const s=e.computed(()=>{const a=new Date,c=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),o=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-c;if(o<0)return"Finished";if(o===0)return"Starting Now";{const f=Math.floor(o/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),c={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,c)}),i=e.computed(()=>{const a=new Date(r.event.date.start),c=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(c);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,c)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(C._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"z-index-1 d-block mn-auto h-20r"},null,8,z),e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,P)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(T.IconEdit,{key:0,onClick:c[0]||(c[0]=e.withModifiers(n=>a.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",M,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",F,e.toDisplayString(e.unref(i)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",R,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",O,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",_,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",q,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(C._sfc_main$1,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},j={},H={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},G=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),Y=[G];function A(t,r){return e.openBlock(),e.createElementBlock("svg",H,Y)}const E=U._export_sfc(j,[["render",A]]),y=V.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),u=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function h(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.status&&(t.params={status:t.status}),t.url&&(t.params={url:t.url}),t.period&&(t.params.period=t.period),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.date&&(t.params.date=t.date),t.participant&&(t.params.participant=t.participant),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.user&&(t.params.user=t.user),t.sortOrder&&(t.params.sortOrder=t.sortOrder),t.sortParam&&(t.params.sortParam=t.sortParam),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function x(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function B(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function J(t){return await y.delete(`/api/events/delete/${t}`).then(r=>{const s=u.all.findIndex(l=>l._id===t);return s!==-1&&u.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function m(t,r){u[r]=t}function S(){u.current={_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}}e.watch(u,(t,r)=>{});const K=Object.freeze(Object.defineProperty({__proto__:null,clean:S,create:x,read:h,remove:J,set:m,state:u,update:B},Symbol.toStringTag,{value:"Module"})),Q={class:"feed"},W={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),i=e.ref(!0),d=e.ref(0),a=e.ref(20),c=async()=>{if(l.value){d.value+=a.value;const n=await h({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,creator:r.creator,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{i.value=!0,console.log(r.selectedDate);const n=await h({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,creator:r.creator,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,i.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",Q,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,o=>(e.openBlock(),e.createBlock(E,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!i.value&&s.value.length<1?(e.openBlock(),e.createBlock(N._sfc_main,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!i.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(o,f)=>(e.openBlock(),e.createBlock(b,{onClick:g=>n.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:c,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=E;exports._sfc_main=W;exports._sfc_main$1=b;exports.clean=S;exports.create=x;exports.events=K;exports.read=h;exports.state=u;exports.update=B;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),V=require("./EmptyState-7658d7d6.js"),$=require("./_plugin-vue_export-helper-f246444f.js"),h=require("./Chips-3dac276c.js"),S=require("vue-router"),w=require("./index-b41aac19.js"),u=require("./globals-928eb13c.js"),R=require("./IconEdit-4cfe2115.js"),f=w.axios.create({baseURL:process.env.API_URL,withCredentials:!0});f.defaults.withCredentials=!0;const i=e.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},date:"",views:0,content:[]}});async function k(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.period&&(t.params.period=t.period),t.url&&(t.params={url:t.url}),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.status&&(t.params.status=t.status),t.user&&(t.params.user=t.user),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await f.get("/api/blog/read",{params:t.params});return t.url?g(r.data,"current"):g(r.data,"all"),Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}}async function B(t){return f.post("/api/blog/create",t).then(r=>(g(r.data,"current"),Promise.resolve(r.data)),r=>(u.setError(r),Promise.reject(r)))}async function E(t){return f.post("/api/blog/update",t).then(r=>(g(r.data,"current"),Promise.resolve(r.data)),r=>(u.setError(r),Promise.reject(r)))}async function _(t){return await f.delete(`/api/blog/delete/${t}`).then(r=>{const o=i.all.findIndex(a=>a._id===t);return o!==-1&&i.all.splice(o,1),Promise.resolve(r.data)},r=>(u.setError(r),Promise.reject(r)))}function g(t,r){i[r]=t}function x(){i.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function j(t){const r={order:i.project.content.length+1,type:t.type,data:t.data,class:t.class,content:t.content};i.project.content.push(r)}e.watch(i,(t,r)=>{});const T=Object.freeze(Object.defineProperty({__proto__:null,blockAdd:j,clean:x,create:B,read:k,remove:_,set:g,state:i,update:E},Symbol.toStringTag,{value:"Module"})),I={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},L={class:"circular-loader"},q=e.createElementVNode("svg",{viewBox:"25 25 50 50"},[e.createElementVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),z={key:0,class:"progress-text"},D={key:1,class:"uppercase t-semi w-m-10r status-text"};function O(t,r,o,a,s,l){return e.openBlock(),e.createElementBlock("div",L,[q,o.progress?(e.openBlock(),e.createElementBlock("div",z,e.toDisplayString(o.progress),1)):e.createCommentVNode("",!0),o.status?(e.openBlock(),e.createElementBlock("div",D,e.toDisplayString(o.status),1)):e.createCommentVNode("",!0)])}const P=$._export_sfc(I,[["render",O]]),y=w.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),d=e.reactive({reactions:[],error:null}),b={async read({user:t,type:r,target:o,role:a}){try{const s=await y.get("/api/reactions",{params:{user:t,type:r,target:o,role:a}});return d.error=null,d.reactions=s.data,Promise.resolve(s.data)}catch(s){return u.setError(s),Promise.reject(s)}},async create(t){try{const r=await y.post("/api/reactions/create",t);return d.error=null,Promise.resolve(r.data)}catch(r){return console.log(r),u.setError(r),Promise.reject(r)}},async update(t){try{const r=await y.post("/api/reactions/update",t);return d.error=null,Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}},async delete(t){try{const r=await y.post("/api/reactions/delete",t);return d.error=null,Promise.resolve(r.data)}catch(r){return u.setError(r),Promise.reject(r)}}},U={handleReactionUpdate(t,r,o){let a;if(Array.isArray(t)?a=t.find(s=>s._id===r.target):typeof t=="object"&&t._id===r.target&&(a=t),a)if(a.hasReaction=o,o)a.reactions.push(r),a.numberOfReactions+=1;else{const s=a.reactions.findIndex(l=>l._id===r._id);s!==-1&&(a.reactions.splice(s,1),a.numberOfReactions-=1)}}};e.watch(d,t=>{});const A=Object.freeze(Object.defineProperty({__proto__:null,actions:b,mutations:U,state:d},Symbol.toStringTag,{value:"Module"})),M={class:"t-semi br-top-dark flex-nowrap flex-nojustify flex"},F=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),H={class:"cursor-pointer"},G=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),N={__name:"FooterBlogpost",props:["blogpost","owner","user"],setup(t){const r=t,o=e.ref(r.blogpost.numberOfReactions),a=e.ref(r.blogpost.isReacted),s=e.ref(r.blogpost.reactionId);async function l(m){if(!r.user){alert("Please login to add a reaction");return}try{const n={target:r.blogpost._id,type:"blogpost",user:r.user,class:"like"},p=await b.create(n);p.reaction.class==="like"&&(o.value+=1,a.value=!0,s.value=p.reaction._id)}catch(n){console.error(n),alert("Error adding reaction. Please try again later.")}}async function c(m){if(!r.user){alert("Please login to add a reaction");return}try{const n={_id:s.value};await b.delete(n),o.value-=1,a.value=!1,s.value=null}catch{alert("Error adding reaction. Please try again later.")}}return(m,n)=>(e.openBlock(),e.createElementBlock("footer",M,[e.createTextVNode(" 👁️ "+e.toDisplayString(t.blogpost.views)+" ",1),F,e.createElementVNode("div",H,[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"cursor-pointer",onClick:n[0]||(n[0]=p=>l())}," 👍 "+e.toDisplayString(o.value),1)),a.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"cursor-pointer",onClick:n[1]||(n[1]=p=>c())}," 👍 "+e.toDisplayString(o.value),1)):e.createCommentVNode("",!0)]),G,e.createTextVNode(" 💬 "+e.toDisplayString(t.blogpost.numberOfComments),1)]))}},J={class:"pos-relative bg-grey radius-big"},K=["src"],Q={class:"pd-t-zero pd-medium"},W={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},X={key:0,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},Y={key:1,class:"mn-small t-transp p-big"},Z={key:2,class:"mn-small h2"},C={__name:"CardBlogpost",props:["blogpost","user","type"],setup(t){const r=t,o=S.useRouter(),a=e.computed(()=>r.blogpost.content.find(l=>l.type==="ImageUpload")),s=e.computed(()=>r.blogpost.content.find(l=>l.type==="Textarea"));return(l,c)=>(e.openBlock(),e.createElementBlock("article",J,[t.user===t.blogpost.creator.target._id?(e.openBlock(),e.createBlock(R.IconEdit,{key:0,onClick:c[0]||(c[0]=e.withModifiers(m=>l.$router.push({name:"Edit BlogPost",params:{url:t.blogpost.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createVNode(h._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.blogpost.owner,creator:t.blogpost.creator,date:t.blogpost.createdAt},null,8,["class","owner","creator","date"]),e.unref(a)&&e.unref(a).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("img",{key:1,src:(l.FILE_SERVER_URL||"")+e.unref(a).content,alt:"Blog post image",class:"mn-medium object-fit-cover w-100 h-20r"},null,8,K)):e.createCommentVNode("",!0),e.createElementVNode("section",Q,[t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("h3",{onClick:c[1]||(c[1]=m=>e.unref(o).push({name:"BlogPost",params:{url:t.blogpost.url}})),class:""},e.toDisplayString(t.blogpost.name),1),t.blogpost.status==="draft"?(e.openBlock(),e.createElementBlock("div",X,e.toDisplayString(t.blogpost.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(s)&&e.unref(s).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("p",Y,e.toDisplayString(e.unref(s).content.slice(0,120))+"... ",1)):e.createCommentVNode("",!0),t.type==="blogpostPage"?(e.openBlock(),e.createElementBlock("h3",Z,e.toDisplayString(t.blogpost.name),1)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),t.type!=="short"&&t.blogpost.tags.length>0?(e.openBlock(),e.createBlock(h._sfc_main$1,{key:3,chips:t.blogpost.tags},null,8,["chips"])):e.createCommentVNode("",!0)]),e.createVNode(N,{class:"pd-t-zero pd-medium",blogpost:t.blogpost,user:t.user},null,8,["blogpost","user"])]))}},ee={class:"feed"},te={key:1},re={__name:"Feed",props:{category:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},status:{type:String,default:"published"},user:{type:[String,Number],default:null},period:{type:String,default:null}},setup(t){const r=t,o=e.ref([]),a=e.ref(!0);let s=e.ref(!0),l=e.ref(0),c=e.ref(7);const m=async()=>{if(a.value){l.value+=c.value;const n=await k({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,status:r.status,creator:r.creator,period:r.period});n.length===0&&(a.value=!1),o.value=[...o.value,...n]}};return e.onMounted(async()=>{const n=await k({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,status:r.status,creator:r.creator,period:r.period});n.length===0?a.value=!1:a.value=!0,o.value=n,s.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",ee,[e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(P,{key:0,class:"z-index-5 pos-t-50 left-t-50 pos-absolute"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(s)&&o.value.length<1?(e.openBlock(),e.createBlock(V._sfc_main,{key:0,title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):(e.openBlock(),e.createElementBlock("div",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,v=>(e.openBlock(),e.createBlock(C,{key:v._id,blogpost:v,user:t.user,class:"mn-medium"},null,8,["blogpost","user"]))),128)),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[a.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:m,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:1})]))]),_:1})]))}};exports.Loader=P;exports._sfc_main=re;exports._sfc_main$1=C;exports._sfc_main$2=N;exports.blogposts=T;exports.clean=x;exports.create=B;exports.reactions=A;exports.read=k;exports.remove=_;exports.state=i;exports.update=E;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),C=require("./_plugin-vue_export-helper-f246444f.js"),p=require("./Chips-0e5bdd54.js"),V=require("vue-router"),_=require("./IconEdit-1b7b5874.js"),P=require("./index-b41aac19.js"),y=require("./globals-928eb13c.js"),g=P.axios.create({baseURL:process.env.API_URL,withCredentials:!0});g.defaults.withCredentials=!0;const i=e.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},date:"",views:0,content:[]}});async function f(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.period&&(t.params.period=t.period),t.url&&(t.params={url:t.url}),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.status&&(t.params.status=t.status),t.user&&(t.params.user=t.user),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await g.get("/api/blog/read",{params:t.params});return t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return y.setError(r),Promise.reject(r)}}async function b(t){return g.post("/api/blog/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(y.setError(r),Promise.reject(r)))}async function v(t){return g.post("/api/blog/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(y.setError(r),Promise.reject(r)))}async function h(t){return await g.delete(`/api/blog/delete/${t}`).then(r=>{const a=i.all.findIndex(s=>s._id===t);return a!==-1&&i.all.splice(a,1),Promise.resolve(r.data)},r=>(y.setError(r),Promise.reject(r)))}function m(t,r){i[r]=t}function B(){i.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function S(t){const r={order:i.project.content.length+1,type:t.type,data:t.data,class:t.class,content:t.content};i.project.content.push(r)}e.watch(i,(t,r)=>{});const $=Object.freeze(Object.defineProperty({__proto__:null,blockAdd:S,clean:B,create:b,read:f,remove:h,set:m,state:i,update:v},Symbol.toStringTag,{value:"Module"})),R={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},T={class:"circular-loader"},j=e.createElementVNode("svg",{viewBox:"25 25 50 50"},[e.createElementVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),D={key:0,class:"progress-text"},q={key:1,class:"uppercase t-semi w-m-10r status-text"};function z(t,r,a,s,n,l){return e.openBlock(),e.createElementBlock("div",T,[j,a.progress?(e.openBlock(),e.createElementBlock("div",D,e.toDisplayString(a.progress),1)):e.createCommentVNode("",!0),a.status?(e.openBlock(),e.createElementBlock("div",q,e.toDisplayString(a.status),1)):e.createCommentVNode("",!0)])}const w=C._export_sfc(R,[["render",z]]),I={class:"t-semi br-top-dark flex-nowrap flex-nojustify flex"},L=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),F={class:"cursor-pointer"},M=e.createElementVNode("span",{class:"mn-r-small mn-l-small d-block"},"·",-1),E={__name:"FooterBlogpost",props:["blogpost","owner","user"],setup(t){const r=t,a=e.ref(r.blogpost.numberOfReactions),s=e.ref(r.blogpost.isReacted),n=e.ref(r.blogpost.reactionId);async function l(u){if(!r.user){alert("Please login to add a reaction");return}try{const o={target:r.blogpost._id,type:"blogpost",user:r.user,class:"like"},d=await p.actions.create(o);d.reaction.class==="like"&&(a.value+=1,s.value=!0,n.value=d.reaction._id)}catch(o){console.error(o),alert("Error adding reaction. Please try again later.")}}async function c(u){if(!r.user){alert("Please login to add a reaction");return}try{const o={_id:n.value};await p.actions.delete(o),a.value-=1,s.value=!1,n.value=null}catch{alert("Error adding reaction. Please try again later.")}}return(u,o)=>(e.openBlock(),e.createElementBlock("footer",I,[e.createTextVNode(" 👁️ "+e.toDisplayString(t.blogpost.views)+" ",1),L,e.createElementVNode("div",F,[s.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"cursor-pointer",onClick:o[0]||(o[0]=d=>l())}," 👍 "+e.toDisplayString(a.value),1)),s.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"cursor-pointer",onClick:o[1]||(o[1]=d=>c())}," 👍 "+e.toDisplayString(a.value),1)):e.createCommentVNode("",!0)]),M,e.createTextVNode(" 💬 "+e.toDisplayString(t.blogpost.numberOfComments),1)]))}},O={class:"pos-relative bg-grey radius-big"},U=["src"],A={class:"pd-t-zero pd-medium"},H={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},G={key:0,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},J={key:1,class:"mn-small t-transp p-big"},K={key:2,class:"mn-small h2"},x={__name:"CardBlogpost",props:["blogpost","user","type"],setup(t){const r=t,a=V.useRouter(),s=e.computed(()=>r.blogpost.content.find(l=>l.type==="ImageUpload")),n=e.computed(()=>r.blogpost.content.find(l=>l.type==="Textarea"));return(l,c)=>(e.openBlock(),e.createElementBlock("article",O,[t.user===t.blogpost.creator.target._id?(e.openBlock(),e.createBlock(_.IconEdit,{key:0,onClick:c[0]||(c[0]=e.withModifiers(u=>l.$router.push({name:"Edit BlogPost",params:{url:t.blogpost.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createVNode(p._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.blogpost,entityType:"blogpost",user:t.user,owner:t.blogpost.owner,creator:t.blogpost.creator,date:t.blogpost.createdAt},null,8,["class","entity","user","owner","creator","date"]),e.unref(s)&&e.unref(s).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("img",{key:1,src:(l.FILE_SERVER_URL||"")+e.unref(s).content,alt:"Blog post image",class:"mn-medium object-fit-cover w-100 h-20r"},null,8,U)):e.createCommentVNode("",!0),e.createElementVNode("section",A,[t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("h3",{onClick:c[1]||(c[1]=u=>e.unref(a).push({name:"BlogPost",params:{url:t.blogpost.url}})),class:""},e.toDisplayString(t.blogpost.name),1),t.blogpost.status==="draft"?(e.openBlock(),e.createElementBlock("div",G,e.toDisplayString(t.blogpost.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(n)&&e.unref(n).content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("p",J,e.toDisplayString(e.unref(n).content.slice(0,120))+"... ",1)):e.createCommentVNode("",!0),t.type==="blogpostPage"?(e.openBlock(),e.createElementBlock("h3",K,e.toDisplayString(t.blogpost.name),1)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default"),t.type!=="short"&&t.blogpost.tags.length>0?(e.openBlock(),e.createBlock(p._sfc_main$1,{key:3,chips:t.blogpost.tags},null,8,["chips"])):e.createCommentVNode("",!0)]),e.createVNode(E,{class:"pd-t-zero pd-medium",blogpost:t.blogpost,user:t.user},null,8,["blogpost","user"])]))}},Q={class:"feed"},W={key:1},X={__name:"Feed",props:{category:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},status:{type:String,default:"published"},user:{type:[String,Number],default:null},period:{type:String,default:null}},setup(t){const r=t,a=e.ref([]),s=e.ref(!0);let n=e.ref(!0),l=e.ref(0),c=e.ref(7);const u=async()=>{if(s.value){l.value+=c.value;const o=await f({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,creator:r.creator,status:r.status,period:r.period});o.length===0&&(s.value=!1),a.value=[...a.value,...o]}};return e.onMounted(async()=>{const o=await f({skip:l.value,limit:c.value,category:r.category,user:r.user,owner:r.owner,status:r.status,creator:r.creator,period:r.period});o.length===0?s.value=!1:s.value=!0,a.value=o,n.value=!1}),(o,d)=>(e.openBlock(),e.createElementBlock("section",Q,[e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[e.unref(n)?(e.openBlock(),e.createBlock(w,{key:0,class:"z-index-5 pos-t-50 left-t-50 pos-absolute"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(n)&&a.value.length<1?(e.openBlock(),e.createBlock(N._sfc_main,{key:0,title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):(e.openBlock(),e.createElementBlock("div",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,k=>(e.openBlock(),e.createBlock(x,{key:k._id,blogpost:k,user:t.user,class:"mn-medium"},null,8,["blogpost","user"]))),128)),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[s.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:u,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:1})]))]),_:1})]))}};exports.Loader=w;exports._sfc_main=X;exports._sfc_main$1=x;exports._sfc_main$2=E;exports.blogposts=$;exports.clean=B;exports.create=b;exports.read=f;exports.remove=h;exports.state=i;exports.update=v;