@ozdao/prometheus-framework 0.1.36 → 0.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (342) hide show
  1. package/dist/BackofficeGallery-568b55bb.js +1 -0
  2. package/dist/BackofficeGallery-b4105137.mjs +306 -0
  3. package/dist/BlockTags-8cddaef7.js +1 -0
  4. package/dist/BlockTags-ee310572.mjs +853 -0
  5. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  6. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  7. package/dist/Button-7643c9aa.js +1 -0
  8. package/dist/Button-9e1a9284.mjs +226 -0
  9. package/dist/ButtonToggleMembership-15f149cb.js +1 -0
  10. package/dist/ButtonToggleMembership-3bb9139e.mjs +90 -0
  11. package/dist/CardBlogpost-38016b80.mjs +246 -0
  12. package/dist/CardBlogpost-cc208f93.js +1 -0
  13. package/dist/CardOrganization-d93c9bdb.js +1 -0
  14. package/dist/CardOrganization-e920be73.mjs +234 -0
  15. package/dist/CardProduct-92affca1.js +1 -0
  16. package/dist/CardProduct-fca53299.mjs +193 -0
  17. package/dist/Checkbox-5dbe7b23.mjs +62 -0
  18. package/dist/Checkbox-76f09248.js +1 -0
  19. package/dist/Chips-9d81b215.mjs +214 -0
  20. package/dist/Chips-d47704e6.js +1 -0
  21. package/dist/Community-87522a04.mjs +132 -0
  22. package/dist/Community-aef23aee.js +1 -0
  23. package/dist/Dashboard-91d73bc5.js +1 -0
  24. package/dist/Dashboard-ea9035bc.mjs +152 -0
  25. package/dist/Dropdown-31115457.js +1 -0
  26. package/dist/Dropdown-cab3605b.mjs +146 -0
  27. package/dist/EULA-aba6a807.js +1 -0
  28. package/dist/EditOrder-94bbebff.mjs +221 -0
  29. package/dist/EditOrder-c070d474.js +1 -0
  30. package/dist/EmptyState-d65bab5b.js +1 -0
  31. package/dist/EmptyState-e404b05d.mjs +36 -0
  32. package/dist/Events-cdfbca78.js +1 -0
  33. package/dist/Events-e9dd58f7.mjs +123 -0
  34. package/dist/Feed-22464fcd.js +1 -0
  35. package/dist/Feed-6e96d3dd.mjs +124 -0
  36. package/dist/Feed-793b3eef.mjs +146 -0
  37. package/dist/Feed-7b80704d.mjs +361 -0
  38. package/dist/Feed-98b47c6f.js +1 -0
  39. package/dist/Feed-b30ef609.js +1 -0
  40. package/dist/Feed-c5d4390a.js +1 -0
  41. package/dist/Feed-d114330c.mjs +112 -0
  42. package/dist/Field-e2a43424.js +1 -0
  43. package/dist/Field-e5ad88d3.mjs +75 -0
  44. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
  45. package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
  46. package/dist/IconChevronRight-a55f838e.js +1 -0
  47. package/dist/IconChevronRight-fae9d012.mjs +28 -0
  48. package/dist/IconCommunity-468dc457.mjs +65 -0
  49. package/dist/IconCommunity-b339e806.js +1 -0
  50. package/dist/IconCross-5bf93179.js +1 -0
  51. package/dist/IconCross-84cb1292.mjs +28 -0
  52. package/dist/IconEdit-9edfd74d.mjs +21 -0
  53. package/dist/IconEdit-c0469b45.js +1 -0
  54. package/dist/Image-245c003d.mjs +480 -0
  55. package/dist/Image-35d31936.js +9 -0
  56. package/dist/LabelGooglePlay-24feb437.mjs +31 -0
  57. package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
  58. package/dist/LeftoverAdd-08d9fb54.mjs +228 -0
  59. package/dist/LeftoverAdd-fc673884.js +1 -0
  60. package/dist/Leftovers-296c0042.js +1 -0
  61. package/dist/Leftovers-685d9f19.mjs +136 -0
  62. package/dist/Loader-21f016da.js +1 -0
  63. package/dist/Loader-cd422786.mjs +41 -0
  64. package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  65. package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  66. package/dist/Members-2cb2ff58.mjs +114 -0
  67. package/dist/Members-85534d1f.js +1 -0
  68. package/dist/Menu-b5d6a0c7.js +1 -0
  69. package/dist/Menu-dd7645c1.mjs +13 -0
  70. package/dist/MenuItem-56ae7f94.js +1 -0
  71. package/dist/MenuItem-6296d02f.mjs +63 -0
  72. package/dist/Orders-b64e8cb9.js +1 -0
  73. package/dist/Orders-ff30db05.mjs +75 -0
  74. package/dist/Organizations-0cb37d68.js +1 -0
  75. package/dist/Organizations-d6ef2113.mjs +73 -0
  76. package/dist/Payments-53e5fecf.js +1 -0
  77. package/dist/Payments-82e545e1.mjs +87 -0
  78. package/dist/PlaceholderUserpic-47f6f319.js +1 -0
  79. package/dist/Popup-0915427c.mjs +74 -0
  80. package/dist/Popup-795f5c88.js +1 -0
  81. package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  82. package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  83. package/dist/Product-5994a8c9.mjs +653 -0
  84. package/dist/Product-68fa1e9e.js +7 -0
  85. package/dist/ProductEdit-64207814.mjs +296 -0
  86. package/dist/ProductEdit-a434240f.js +1 -0
  87. package/dist/ProductsBackoffice-0c93f9b6.js +1 -0
  88. package/dist/ProductsBackoffice-3d987c60.mjs +86 -0
  89. package/dist/ProfileBlogposts-0b81d964.js +1 -0
  90. package/dist/ProfileBlogposts-b59992cf.mjs +79 -0
  91. package/dist/ProfileEvents-3f7ca2c1.js +1 -0
  92. package/dist/ProfileEvents-bbdd62e7.mjs +70 -0
  93. package/dist/ProfileOrganizations-4734c02e.mjs +73 -0
  94. package/dist/ProfileOrganizations-d55ee487.js +1 -0
  95. package/dist/Publics-0762210a.js +1 -0
  96. package/dist/Publics-660e851c.mjs +45 -0
  97. package/dist/SelectMulti-58704d69.mjs +1038 -0
  98. package/dist/SelectMulti-c25765cf.js +1 -0
  99. package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
  100. package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
  101. package/dist/SkeletonEvent-8690422d.mjs +16 -0
  102. package/dist/SkeletonEvent-eb284de8.js +1 -0
  103. package/dist/SkeletonEventShort-6c9e3940.js +1 -0
  104. package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
  105. package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
  106. package/dist/SkeletonOrganization-8690422d.mjs +16 -0
  107. package/dist/Socials-31c06635.mjs +74 -0
  108. package/dist/Socials-cceaeaf2.js +1 -0
  109. package/dist/Tab-054b61f7.mjs +46 -0
  110. package/dist/Tab-2c1e4224.js +1 -0
  111. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
  112. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
  113. package/dist/addMembersQuantity-7147aa4a.js +89 -0
  114. package/dist/addMembersQuantity-eac999f0.mjs +90 -0
  115. package/dist/auth-06d35b82.js +7 -0
  116. package/dist/auth-ec618cb3.mjs +627 -0
  117. package/dist/auth.client.cjs +7 -7
  118. package/dist/auth.client.js +22 -19
  119. package/dist/auth.server.js +1 -1
  120. package/dist/auth.server.mjs +1 -1
  121. package/dist/auth.validation-0ce9e326.js +1 -0
  122. package/dist/auth.validation-ba3606bf.mjs +24 -0
  123. package/dist/backoffice.client.cjs +1 -1
  124. package/dist/backoffice.client.js +235 -59
  125. package/dist/categories-82b28618.js +1 -0
  126. package/dist/categories-df3240a7.mjs +122 -0
  127. package/dist/community.client.cjs +1 -1
  128. package/dist/community.client.js +233 -227
  129. package/dist/community.server.js +217 -189
  130. package/dist/community.server.mjs +217 -189
  131. package/dist/components/Field/Field.vue.d.ts +58 -2
  132. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  133. package/dist/components/UploadImage/UploadImage.vue.d.ts +1 -1
  134. package/dist/dribbble-8e8e169b.js +1 -0
  135. package/dist/dribbble-ae37c2ac.mjs +127 -0
  136. package/dist/events.client.cjs +2 -2
  137. package/dist/events.client.js +1793 -1888
  138. package/dist/events.server.js +100 -210
  139. package/dist/events.server.mjs +100 -210
  140. package/dist/globals.server.js +1 -1
  141. package/dist/globals.server.mjs +1 -1
  142. package/dist/icons.client.cjs +1 -0
  143. package/dist/icons.client.js +84 -0
  144. package/dist/inputs.validation-d7cef32b.js +1 -0
  145. package/dist/inputs.validation-db65277a.mjs +83 -0
  146. package/dist/landing.client.cjs +1 -1
  147. package/dist/landing.client.js +40 -64
  148. package/dist/leftovers-66951de6.js +1 -0
  149. package/dist/leftovers-be37c7a5.mjs +67 -0
  150. package/dist/legal.client.cjs +1 -1
  151. package/dist/legal.client.js +7 -4
  152. package/dist/mailing-76895d59.mjs +50 -0
  153. package/dist/mailing-9659b3c4.js +49 -0
  154. package/dist/main.css +1 -1
  155. package/dist/memberships-12210953.mjs +68 -0
  156. package/dist/memberships-393765d8.js +1 -0
  157. package/dist/metadata.schema-147f9902.mjs +212 -0
  158. package/dist/metadata.schema-93397f9f.js +211 -0
  159. package/dist/metadata.schema-a539dd65.mjs +210 -0
  160. package/dist/metadata.schema-e4fe5c57.js +209 -0
  161. package/dist/modules/community/components/blocks/FooterBlogpost.vue.d.ts +1 -1
  162. package/dist/modules/community/components/sections/Feed.vue.d.ts +4 -3
  163. package/dist/modules/events/components/sections/Feed.vue.d.ts +4 -4
  164. package/dist/modules/events/components/sections/List.vue.d.ts +3 -3
  165. package/dist/modules/globals/components/blocks/CardFooter.vue.d.ts +8 -0
  166. package/dist/modules/globals/components/blocks/CardHeader.vue.d.ts +15 -0
  167. package/dist/modules/globals/components/sections/Feed.vue.d.ts +69 -0
  168. package/dist/modules/orders/components/pages/EditOrder.vue.d.ts +6 -0
  169. package/dist/modules/orders/components/pages/Favorites.vue.d.ts +6 -0
  170. package/dist/modules/orders/components/pages/History.vue.d.ts +6 -0
  171. package/dist/modules/orders/components/pages/Orders.vue.d.ts +2 -0
  172. package/dist/modules/orders/components/pages/ViewOrder.vue.d.ts +6 -0
  173. package/dist/modules/orders/components/sections/Form.vue.d.ts +1 -0
  174. package/dist/modules/organizations/components/blocks/CardDepartment.vue.d.ts +7 -0
  175. package/dist/modules/organizations/components/blocks/User.vue.d.ts +1 -1
  176. package/dist/modules/organizations/components/elements/ButtonToggleMembership.vue.d.ts +1 -1
  177. package/dist/modules/organizations/components/pages/Members.vue.d.ts +2 -0
  178. package/dist/modules/organizations/components/sections/Department2.vue.d.ts +7 -0
  179. package/dist/modules/organizations/components/sections/Feed.vue.d.ts +4 -4
  180. package/dist/modules/organizations/components/sections/FeedDepartments.vue.d.ts +8 -0
  181. package/dist/modules/payments/components/pages/Payments.vue.d.ts +2 -0
  182. package/dist/modules/products/components/blocks/CardLeftover.vue.d.ts +6 -0
  183. package/dist/modules/products/components/blocks/CardPosition.vue.d.ts +11 -0
  184. package/dist/modules/products/components/blocks/CardProduct.vue.d.ts +6 -0
  185. package/dist/modules/products/components/blocks/LeftoverPositions.vue.d.ts +0 -1
  186. package/dist/modules/products/components/pages/ProductsBackoffice.vue.d.ts +2 -0
  187. package/dist/modules/products/components/sections/FilterProducts.vue.d.ts +9 -0
  188. package/dist/modules/products/components/sections/SortProducts.vue.d.ts +10 -0
  189. package/dist/modules/reports/components/sections/FormReport.vue.d.ts +3 -3
  190. package/dist/modules/spots/components/blocks/CardSpot.vue.d.ts +7 -0
  191. package/dist/modules/spots/components/blocks/SpotMemberModify.vue.d.ts +11 -0
  192. package/dist/modules/spots/components/blocks/SpotSub.vue.d.ts +6 -0
  193. package/dist/modules/spots/components/pages/Spot.vue.d.ts +7 -0
  194. package/dist/modules/spots/components/pages/SpotEdit.vue.d.ts +2 -0
  195. package/dist/modules/spots/components/sections/Feed.vue.d.ts +8 -0
  196. package/dist/modules/spots/components/sections/PlaceModify.vue.d.ts +9 -0
  197. package/dist/modules/spots/components/sections/Places.vue.d.ts +9 -0
  198. package/dist/modules/wallet/components/pages/Wallet.vue.d.ts +2 -0
  199. package/dist/orders-13c10d49.mjs +85 -0
  200. package/dist/orders-37f041aa.js +1 -0
  201. package/dist/organizations-4d18a2e2.js +1 -0
  202. package/dist/organizations-6ed907e3.mjs +122 -0
  203. package/dist/organizations.client-01593e4d.js +3 -0
  204. package/dist/organizations.client-1b9fa66e.mjs +2997 -0
  205. package/dist/organizations.client.cjs +1 -1
  206. package/dist/organizations.client.js +75 -51
  207. package/dist/organizations.server.js +9 -20
  208. package/dist/organizations.server.mjs +9 -20
  209. package/dist/products-7960bbd4.js +1 -0
  210. package/dist/products-bf5783aa.mjs +108 -0
  211. package/dist/prometheus-framework.cjs.js +17 -17
  212. package/dist/prometheus-framework.es.js +771 -758
  213. package/dist/states.validation-03f7cd49.js +1 -0
  214. package/dist/states.validation-50e3a5a0.mjs +13 -0
  215. package/dist/style.css +1 -1
  216. package/dist/users.client.cjs +1 -1
  217. package/dist/users.client.js +214 -258
  218. package/dist/users.server.js +1 -1
  219. package/dist/users.server.mjs +1 -1
  220. package/package.json +2 -119
  221. package/src/components/Field/Field.vue +34 -9
  222. package/src/components/SelectMulti/SelectMulti.vue +18 -22
  223. package/src/modules/auth/store/auth.js +34 -15
  224. package/src/modules/backoffice/components/pages/Dashboard.vue +91 -0
  225. package/src/modules/backoffice/router/admin.js +0 -28
  226. package/src/modules/backoffice/router/backoffice.js +131 -4
  227. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  228. package/src/modules/community/components/pages/Blog.vue +1 -0
  229. package/src/modules/community/components/sections/Comments.vue +1 -1
  230. package/src/modules/community/components/sections/Feed.vue +6 -0
  231. package/src/modules/community/controllers/blog.controller.js +129 -285
  232. package/src/modules/community/controllers/reactions.controller.js +2 -0
  233. package/src/modules/community/controllers/utils/queryProcessor.js +56 -0
  234. package/src/modules/community/controllers/utils/queryProcessorReactions.js +63 -0
  235. package/src/modules/community/store/blogposts.js +5 -5
  236. package/src/modules/events/components/blocks/CardEvent.vue +2 -3
  237. package/src/modules/events/components/pages/Events.vue +4 -4
  238. package/src/modules/events/components/sections/Feed.vue +4 -4
  239. package/src/modules/events/components/sections/List.vue +2 -2
  240. package/src/modules/events/controllers/events.controller.js +8 -6
  241. package/src/modules/events/controllers/utils/queryProcessor.js +111 -1
  242. package/src/modules/events/models/event.model.js +0 -4
  243. package/src/modules/events/store/events.js +5 -7
  244. package/src/{components/CardHeader → modules/globals/components/blocks}/CardHeader.vue +31 -4
  245. package/src/modules/globals/components/sections/Feed.vue +136 -0
  246. package/src/modules/globals/controllers/utils/queryProcessor.js +19 -117
  247. package/src/modules/globals/models/engagement.schema.js +29 -25
  248. package/src/modules/globals/utils/mailing.js +1 -1
  249. package/src/modules/icons/icons.client.js +51 -0
  250. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  251. package/src/modules/marketplace/components/pages/Catalog.vue +3 -4
  252. package/src/modules/marketplace/router/marketplace.js +0 -11
  253. package/src/modules/middlewares/client/auth.validation.js +1 -1
  254. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -2
  255. package/src/modules/orders/components/pages/EditOrder.vue +238 -0
  256. package/src/modules/{backoffice → orders}/components/pages/Favorites.vue +2 -2
  257. package/src/modules/orders/components/pages/Order.vue +28 -34
  258. package/src/modules/orders/components/pages/Orders.vue +90 -0
  259. package/src/modules/{backoffice/components/pages/History.vue → orders/components/pages/ViewOrder.vue} +0 -8
  260. package/src/modules/orders/components/sections/Form.vue +52 -34
  261. package/src/modules/orders/controllers/orders.controller.js +102 -72
  262. package/src/modules/orders/models/order.model.js +30 -22
  263. package/src/modules/orders/router/orders.router.js +30 -0
  264. package/src/modules/orders/routes/orders.routes.js +23 -13
  265. package/src/modules/orders/store/orders.js +67 -40
  266. package/src/modules/organizations/components/{sections/Department.vue → blocks/CardDepartment.vue} +1 -10
  267. package/src/modules/organizations/components/blocks/CardOrganization.vue +13 -9
  268. package/src/modules/organizations/components/pages/DepartmentEdit.vue +3 -3
  269. package/src/modules/organizations/components/{sections/MembersTab.vue → pages/Members.vue} +23 -8
  270. package/src/modules/organizations/components/pages/Organization.vue +80 -46
  271. package/src/modules/organizations/components/pages/Organizations.vue +45 -90
  272. package/src/modules/organizations/components/sections/{StructureTab.vue → FeedDepartments.vue} +5 -5
  273. package/src/modules/organizations/components/sections/Organizations.vue +1 -2
  274. package/src/modules/organizations/components/sections/Publics.vue +3 -2
  275. package/src/modules/organizations/controllers/organizations.controller.js +8 -21
  276. package/src/modules/organizations/controllers/organizations.new.controller.js +372 -0
  277. package/src/modules/organizations/controllers/utils/addUserStatusFields.js +53 -48
  278. package/src/modules/organizations/controllers/utils/queryProcessor.js +87 -0
  279. package/src/modules/organizations/controllers/utils/queryProcessorOrganizations.js +25 -0
  280. package/src/modules/organizations/organizations.client.js +42 -46
  281. package/src/modules/organizations/router/departments.router.js +29 -0
  282. package/src/modules/organizations/router/members.router.js +19 -0
  283. package/src/modules/organizations/router/organizations.js +12 -88
  284. package/src/modules/organizations/router/organizations.router.js +38 -0
  285. package/src/modules/organizations/router/products.router.js +24 -0
  286. package/src/modules/organizations/store/departments.js +108 -0
  287. package/src/modules/{backoffice/components/admin/Orders.vue → payments/components/pages/Payments.vue} +0 -15
  288. package/src/modules/products/components/blocks/{Leftover.vue → CardLeftover.vue} +21 -12
  289. package/src/modules/products/components/blocks/CardPosition.vue +84 -0
  290. package/src/modules/products/components/blocks/LeftoverPositions.vue +65 -136
  291. package/src/modules/products/components/pages/LeftoverAdd.vue +133 -88
  292. package/src/modules/products/components/pages/Leftovers.vue +91 -64
  293. package/src/modules/products/components/pages/Product.vue +3 -3
  294. package/src/modules/products/components/pages/Products.vue +42 -263
  295. package/src/modules/products/components/pages/ProductsBackoffice.vue +92 -0
  296. package/src/modules/products/components/sections/FilterProducts.vue +180 -0
  297. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  298. package/src/modules/products/components/sections/SectionProduct.vue +18 -3
  299. package/src/modules/products/components/sections/SortProducts.vue +76 -0
  300. package/src/modules/products/controllers/leftovers.controller.js +51 -45
  301. package/src/modules/products/controllers/modifications.controller.js +66 -0
  302. package/src/modules/products/controllers/products.controller.js +67 -111
  303. package/src/modules/products/models/leftover.model.js +12 -9
  304. package/src/modules/products/models/product.model.js +1 -0
  305. package/src/modules/products/router/products.router.js +46 -0
  306. package/src/modules/products/routes/products.routes.js +4 -9
  307. package/src/modules/products/store/leftovers.js +56 -59
  308. package/src/modules/products/store/products.js +21 -22
  309. package/src/modules/spots/components/blocks/CardSpot.vue +104 -0
  310. package/src/modules/spots/components/blocks/SpotMemberModify.vue +92 -0
  311. package/src/modules/spots/components/blocks/SpotSub.vue +24 -0
  312. package/src/modules/spots/components/pages/Map.vue +2 -2
  313. package/src/modules/spots/components/pages/Spot.vue +107 -0
  314. package/src/modules/spots/components/pages/SpotEdit.vue +319 -0
  315. package/src/modules/spots/components/sections/Feed.vue +64 -0
  316. package/src/modules/spots/controllers/spots.controller.js +83 -0
  317. package/src/modules/spots/models/spot.model.js +72 -0
  318. package/src/modules/spots/router/spots.js +34 -1
  319. package/src/modules/spots/routes/spots.routes.js +31 -0
  320. package/src/modules/spots/store/spots.js +15 -15
  321. package/src/modules/users/components/pages/Profile.vue +2 -3
  322. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  323. package/src/styles/components/block.scss +2 -4
  324. package/src/modules/backoffice/components/admin/LeftoverAdd.vue +0 -157
  325. package/src/modules/backoffice/components/admin/Leftovers.vue +0 -119
  326. package/src/modules/backoffice/components/admin/Order.vue +0 -199
  327. package/src/modules/backoffice/components/admin/Product.vue +0 -28
  328. package/src/modules/backoffice/components/admin/Products.vue +0 -82
  329. package/src/modules/backoffice/components/pages/Organizations.vue +0 -104
  330. package/src/modules/community/controllers/blog.new.controller.js +0 -290
  331. package/src/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue +0 -92
  332. package/src/modules/organizations/components/elements/ButtonFollow.vue +0 -84
  333. package/src/modules/organizations/components/pages/OrganizationsAccount.vue +0 -110
  334. package/src/modules/organizations/controllers/utils/excludeBlockedMembers.js +0 -18
  335. /package/src/{components/CardFooter → modules/globals/components/blocks}/CardFooter.vue +0 -0
  336. /package/src/modules/{orders/controllers → payments/controller}/payments.controller.js +0 -0
  337. /package/src/modules/{orders → payments}/routes/payments.routes.js +0 -0
  338. /package/src/modules/{orders → payments}/store/payments.js +0 -0
  339. /package/src/modules/products/components/blocks/{ProductCard.vue → CardProduct.vue} +0 -0
  340. /package/src/modules/{organizations → spots}/components/sections/PlaceModify.vue +0 -0
  341. /package/src/modules/{organizations → spots}/components/sections/Places.vue +0 -0
  342. /package/src/modules/{backoffice → wallet}/components/pages/Wallet.vue +0 -0
@@ -1,68 +1,83 @@
1
- import { resolveComponent as Y, openBlock as i, createElementBlock as m, createElementVNode as o, createVNode as g, normalizeClass as B, unref as c, createCommentVNode as f, withCtx as k, Transition as J, createBlock as I, resolveDynamicComponent as G, ref as _, onMounted as F, computed as L, createTextVNode as T, createStaticVNode as Z, TransitionGroup as A, Fragment as E, renderList as V, mergeProps as ee, watch as te, toDisplayString as N, watchEffect as se, isRef as Q, pushScopeId as ae, popScopeId as oe } from "vue";
2
- import { useRoute as z, useRouter as D } from "vue-router";
3
- import { S as ne } from "./Select-11ddabf5.mjs";
4
- import { s as M, r as W, c as le, u as H, a as q, b as re, d as ie, _ as K } from "./Feed-4efa2a93.mjs";
5
- import { e as ss, f as as } from "./Feed-4efa2a93.mjs";
6
- import { s as w } from "./auth-98fe3efb.mjs";
7
- import { _ as ue, a as ce, b as pe, c as me } from "./Image-93c3a270.mjs";
8
- import { b as de } from "./IconEdit-680dc269.mjs";
9
- import { _ as ge, S as _e, C as he } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-b1873cb7.mjs";
10
- import { _ as fe, F as ve } from "./Button-c59d387c.mjs";
11
- import { a as be } from "./organizations-ea9de495.mjs";
12
- import { _ as ye } from "./EmptyState-34d85f10.mjs";
13
- import { _ as X } from "./_plugin-vue_export-helper-dad06003.mjs";
14
- import { _ as we } from "./Publics-b1cbfd97.mjs";
15
- import { useI18n as xe } from "vue-i18n";
1
+ import { resolveComponent as X, openBlock as i, createElementBlock as m, createElementVNode as a, createVNode as g, normalizeClass as B, unref as u, createCommentVNode as h, withCtx as k, Transition as J, createBlock as I, resolveDynamicComponent as G, ref as _, onMounted as F, computed as L, createTextVNode as T, TransitionGroup as A, Fragment as E, renderList as H, mergeProps as Y, watch as Z, toDisplayString as z, watchEffect as ee, isRef as Q, pushScopeId as te, popScopeId as se } from "vue";
2
+ import { useRoute as O, useRouter as N } from "vue-router";
3
+ import { S as oe } from "./Select-11ddabf5.mjs";
4
+ import { s as M, r as W, c as ae, u as V, b as q, a as ne, _ as le } from "./CardBlogpost-38016b80.mjs";
5
+ import { d as ps, e as ms } from "./CardBlogpost-38016b80.mjs";
6
+ import { s as w } from "./auth-ec618cb3.mjs";
7
+ import { _ as re, a as ie, b as ue, c as ce } from "./Image-245c003d.mjs";
8
+ import { _ as pe } from "./Popup-0915427c.mjs";
9
+ import { _ as me } from "./BlockTags-ee310572.mjs";
10
+ import { C as de } from "./Checkbox-5dbe7b23.mjs";
11
+ import { S as ge } from "./SelectMulti-58704d69.mjs";
12
+ import { _ as _e } from "./Button-9e1a9284.mjs";
13
+ import { a as fe } from "./organizations-6ed907e3.mjs";
14
+ import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
15
+ import { _ as he } from "./EmptyState-e404b05d.mjs";
16
+ import { S as ve } from "./SkeletonBlogpost-e0621af7.mjs";
17
+ import { _ as be } from "./Publics-660e851c.mjs";
18
+ import { useI18n as ye } from "vue-i18n";
16
19
  import "./globals-96ba60e4.mjs";
17
- import { r as ns } from "./Chips-41cd6570.mjs";
20
+ import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
21
+ import { _ as K } from "./Feed-6e96d3dd.mjs";
22
+ import { F as we } from "./Field-e5ad88d3.mjs";
23
+ import { _ as xe } from "./_plugin-vue_export-helper-dad06003.mjs";
24
+ import { r as gs } from "./Chips-9d81b215.mjs";
18
25
  import "./index-a661083c.mjs";
26
+ import "./IconEdit-9edfd74d.mjs";
19
27
  import "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
28
+ import "./IconCross-84cb1292.mjs";
29
+ import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
30
+ import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
31
+ import "./CardOrganization-e920be73.mjs";
32
+ import "./ButtonToggleMembership-3bb9139e.mjs";
33
+ import "./memberships-12210953.mjs";
34
+ import "./Loader-cd422786.mjs";
35
+ import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
36
+ import "./PlaceholderUserpic-14c6ea7e.mjs";
37
+ import "./Dropdown-cab3605b.mjs";
20
38
  import "./reports-79cd9459.mjs";
21
39
  import "./click-outside-6101836c.mjs";
22
- import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
23
- import "./CardOrganization-26714a5e.mjs";
24
- import "./ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs";
25
- const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, Pe = { class: "flex-v-center flex-nowrap flex t-left" }, Ce = /* @__PURE__ */ o("span", { class: "" }, "Topics for ", -1), Te = { class: "w-100 bg-grey pd-small radius-big mn-semi gap-thin flex-nowrap flex" }, Se = { class: "" }, Be = {
40
+ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, Pe = { class: "flex-v-center flex-nowrap flex t-left" }, Ce = /* @__PURE__ */ a("span", { class: "" }, "Topics for ", -1), Te = { class: "w-100 bg-grey pd-small radius-big mn-semi gap-thin flex-nowrap flex" }, Se = { class: "" }, Be = {
26
41
  __name: "Community",
27
42
  setup(p) {
28
- const n = z(), s = D();
29
- return (e, a) => {
30
- const d = Y("router-view");
43
+ const n = O(), s = N();
44
+ return (e, o) => {
45
+ const d = X("router-view");
31
46
  return i(), m("div", $e, [
32
- o("header", ke, [
33
- o("h2", Pe, [
47
+ a("header", ke, [
48
+ a("h2", Pe, [
34
49
  Ce,
35
- g(ne, {
50
+ g(oe, {
36
51
  options: ["today", "week", "month", "year"],
37
52
  select: M.filter.period,
38
- "onUpdate:select": a[0] || (a[0] = (t) => M.filter.period = t),
53
+ "onUpdate:select": o[0] || (o[0] = (t) => M.filter.period = t),
39
54
  placeholder: "Select type",
40
55
  class: "w-max mn-l-small bg-grey pd-thin radius-medium h2 t-center t-black"
41
56
  }, null, 8, ["select"])
42
57
  ])
43
58
  ]),
44
- o("ul", Te, [
45
- o("li", {
46
- class: B([{ "t-white bg-black": c(n).params.category === "featured" }, "t-medium pd-thin radius-small"]),
47
- onClick: a[1] || (a[1] = (t) => c(s).push({ name: "Blog" }))
59
+ a("ul", Te, [
60
+ a("li", {
61
+ class: B([{ "t-white bg-black": u(n).params.category === "featured" }, "t-medium pd-thin radius-small"]),
62
+ onClick: o[1] || (o[1] = (t) => u(s).push({ name: "Blog" }))
48
63
  }, "👑 Featured", 2),
49
- o("li", {
50
- class: B([{ "t-white bg-black": c(n).params.category === "popular" }, "t-medium pd-thin radius-small"]),
51
- onClick: a[2] || (a[2] = (t) => c(s).push({ name: "Blog", params: { category: "popular" } }))
64
+ a("li", {
65
+ class: B([{ "t-white bg-black": u(n).params.category === "popular" }, "t-medium pd-thin radius-small"]),
66
+ onClick: o[2] || (o[2] = (t) => u(s).push({ name: "Blog", params: { category: "popular" } }))
52
67
  }, "🔥 Popular", 2),
53
- o("li", {
54
- class: B([{ "t-white bg-black": c(n).params.category === "new" }, "t-medium pd-thin radius-small"]),
55
- onClick: a[3] || (a[3] = (t) => c(s).push({ name: "Blog", params: { category: "new" } }))
68
+ a("li", {
69
+ class: B([{ "t-white bg-black": u(n).params.category === "new" }, "t-medium pd-thin radius-small"]),
70
+ onClick: o[3] || (o[3] = (t) => u(s).push({ name: "Blog", params: { category: "new" } }))
56
71
  }, "🆕 New", 2),
57
72
  w.user._id ? (i(), m("li", {
58
73
  key: 0,
59
- class: B([{ "t-white bg-black": c(n).params.category === "following" }, "t-medium pd-thin radius-small"]),
60
- onClick: a[4] || (a[4] = (t) => c(s).push({ name: "Blog", params: { category: "following" } }))
61
- }, "👥 Following", 2)) : f("", !0)
74
+ class: B([{ "t-white bg-black": u(n).params.category === "following" }, "t-medium pd-thin radius-small"]),
75
+ onClick: o[4] || (o[4] = (t) => u(s).push({ name: "Blog", params: { category: "following" } }))
76
+ }, "👥 Following", 2)) : h("", !0)
62
77
  ]),
63
- o("section", Se, [
78
+ a("section", Se, [
64
79
  g(d, null, {
65
- default: k(({ Component: t, route: h }) => [
80
+ default: k(({ Component: t, route: f }) => [
66
81
  g(J, {
67
82
  name: "scaleIn",
68
83
  mode: "out-in"
@@ -70,7 +85,7 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
70
85
  default: k(() => [
71
86
  (i(), I(G(t), {
72
87
  ref: "page",
73
- key: h.query
88
+ key: f.query
74
89
  }))
75
90
  ]),
76
91
  _: 2
@@ -85,10 +100,10 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
85
100
  }, Ie = { class: "pd-thin" }, Me = {
86
101
  key: 0,
87
102
  class: "h-100 w-100 bg-grey pd-big radius-big"
88
- }, Fe = { class: "w-full h-full" }, Ne = {
103
+ }, Fe = { class: "w-full h-full" }, ze = {
89
104
  key: 1,
90
105
  class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
91
- }, ze = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Oe = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Final Touches", -1), je = /* @__PURE__ */ o("h5", { class: "mn-thin" }, "Add to public:", -1), De = {
106
+ }, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, je = /* @__PURE__ */ a("h3", { class: "mn-small" }, "Final Touches", -1), De = /* @__PURE__ */ a("h5", { class: "mn-thin" }, "Add to public:", -1), Ne = {
92
107
  key: 0,
93
108
  class: "mn-thin"
94
109
  }, Ue = {
@@ -97,15 +112,15 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
97
112
  }, Le = {
98
113
  __name: "CreateBlogPost",
99
114
  setup(p) {
100
- const n = z(), s = D();
101
- let e = _(null), a = _(null);
115
+ const n = O(), s = N();
116
+ let e = _(null), o = _(null);
102
117
  const d = _([]), t = _(null);
103
118
  F(async () => {
104
119
  if (n.params.url) {
105
- const u = await W({ user: w.user._id, url: n.params.url });
106
- e.value = u.pop();
120
+ const c = await W({ user: w.user._id, url: n.params.url });
121
+ e.value = c.pop();
107
122
  } else
108
- le(), e.value = M.current;
123
+ ae(), e.value = M.current;
109
124
  e.value.owner || (e.value.owner = {
110
125
  target: w.user._id,
111
126
  type: "user"
@@ -118,25 +133,25 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
118
133
  name: e.value.owner.target.profile.name,
119
134
  photo: e.value.owner.target.profile.photo
120
135
  });
121
- const r = await be.read({
136
+ const r = await fe.read({
122
137
  user: w.user._id,
123
138
  postable: w.user._id,
124
139
  limit: 100
125
140
  });
126
- console.log(r), a.value = r.map((u) => ({
127
- name: u.profile.name,
128
- _id: u._id,
129
- photo: u.profile.photo
141
+ console.log(r), o.value = r.map((c) => ({
142
+ name: c.profile.name,
143
+ _id: c._id,
144
+ photo: c.profile.photo
130
145
  }));
131
146
  });
132
- const h = _(""), l = _([
147
+ const f = _(""), l = _([
133
148
  { text: "story" },
134
149
  { text: "news" },
135
150
  { text: "guide" },
136
151
  { text: "discussion" },
137
152
  { text: "photos" }
138
153
  ]);
139
- L(() => l.value.filter((r) => r.text.toLowerCase().includes(h.value.toLowerCase()))), L(() => l.value.filter((r) => !d.value.some((u) => u.text === r.text)));
154
+ L(() => l.value.filter((r) => r.text.toLowerCase().includes(f.value.toLowerCase()))), L(() => l.value.filter((r) => !d.value.some((c) => c.text === r.text)));
140
155
  const v = _(!1);
141
156
  function P() {
142
157
  v.value = !0;
@@ -145,7 +160,7 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
145
160
  v.value = !1;
146
161
  }
147
162
  function S() {
148
- d.value.length > 0 && d.value.map((r) => r.text), e.value.status = "draft", n.params.url ? H(e.value).then((r) => {
163
+ d.value.length > 0 && d.value.map((r) => r.text), e.value.status = "draft", n.params.url ? V(e.value).then((r) => {
149
164
  s.push({ name: "BlogPost", params: { url: r.url } });
150
165
  }).catch((r) => {
151
166
  console.log(r);
@@ -155,11 +170,11 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
155
170
  console.log(r);
156
171
  });
157
172
  }
158
- function O() {
173
+ function j() {
159
174
  t.value && (e.value.owner = {
160
175
  target: t.value._id,
161
176
  type: "organization"
162
- }), t.value || (e.value.creator.hidden = !1), t.value || (e.value.organization = e.value.creator), e.value.status = "published", console.log(e.value), n.params.url ? H(e.value).then((r) => {
177
+ }), t.value || (e.value.creator.hidden = !1), t.value || (e.value.organization = e.value.creator), e.value.status = "published", console.log(e.value), n.params.url ? V(e.value).then((r) => {
163
178
  s.push({ name: "BlogPost", params: { url: r.url } });
164
179
  }).catch((r) => {
165
180
  console.log(r);
@@ -169,62 +184,62 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
169
184
  console.log(r);
170
185
  });
171
186
  }
172
- function j() {
173
- confirm("Are you sure you want to delete this post?") && re(e.value._id).then((r) => {
187
+ function D() {
188
+ confirm("Are you sure you want to delete this post?") && ne(e.value._id).then((r) => {
174
189
  s.push({ name: "User Blogposts", params: { _id: e.value.creator.target._id } });
175
190
  }).catch((r) => {
176
191
  console.log(r);
177
192
  });
178
193
  }
179
- return (r, u) => (i(), m("article", Ie, [
180
- c(e) ? (i(), m("section", Me, [
181
- o("div", Fe, [
182
- g(ue, {
183
- prop: c(e),
194
+ return (r, c) => (i(), m("article", Ie, [
195
+ u(e) ? (i(), m("section", Me, [
196
+ a("div", Fe, [
197
+ g(re, {
198
+ prop: u(e),
184
199
  content: "name",
185
200
  placeholder: "Enter post title",
186
201
  class: "h2"
187
202
  }, null, 8, ["prop"])
188
203
  ]),
189
- g(ce, {
190
- content: c(e).content,
191
- onUpdate: u[0] || (u[0] = (b) => c(e).content = b)
204
+ g(ie, {
205
+ content: u(e).content,
206
+ onUpdate: c[0] || (c[0] = (b) => u(e).content = b)
192
207
  }, null, 8, ["content"])
193
- ])) : f("", !0),
194
- c(e) ? (i(), m("section", Ne, [
195
- o("div", ze, [
196
- c(n).params.url ? (i(), m("a", {
208
+ ])) : h("", !0),
209
+ u(e) ? (i(), m("section", ze, [
210
+ a("div", Oe, [
211
+ u(n).params.url ? (i(), m("a", {
197
212
  key: 0,
198
- onClick: u[1] || (u[1] = (b) => j()),
213
+ onClick: c[1] || (c[1] = (b) => D()),
199
214
  class: "mn-r-auto bg-red t-white t-black button"
200
- }, "Delete")) : f("", !0),
201
- o("a", {
202
- onClick: u[2] || (u[2] = (b) => S()),
215
+ }, "Delete")) : h("", !0),
216
+ a("a", {
217
+ onClick: c[2] || (c[2] = (b) => S()),
203
218
  class: "mn-l-auto bg-white t-black button"
204
219
  }, "To Drafts"),
205
- o("a", {
206
- onClick: u[3] || (u[3] = (b) => P()),
220
+ a("a", {
221
+ onClick: c[3] || (c[3] = (b) => P()),
207
222
  class: "mn-l-thin bg-black t-white button"
208
223
  }, "Publish")
209
224
  ])
210
- ])) : f("", !0),
211
- g(de, {
225
+ ])) : h("", !0),
226
+ g(pe, {
212
227
  title: "Добавить участника",
213
228
  onClosePopup: $,
214
229
  isPopupOpen: v.value,
215
230
  class: "w-m-33r t-left pd-big bg-white radius-big"
216
231
  }, {
217
232
  default: k(() => [
218
- Oe,
219
- g(ge, {
220
- onTagsChanged: u[4] || (u[4] = (b) => c(e).tags = b),
221
- tags: c(e).tags
222
- }, null, 8, ["tags"]),
223
233
  je,
224
- g(_e, {
234
+ g(me, {
235
+ onTagsChanged: c[4] || (c[4] = (b) => u(e).tags = b),
236
+ tags: u(e).tags
237
+ }, null, 8, ["tags"]),
238
+ De,
239
+ g(ge, {
225
240
  modelValue: t.value,
226
- "onUpdate:modelValue": u[5] || (u[5] = (b) => t.value = b),
227
- options: c(a),
241
+ "onUpdate:modelValue": c[5] || (c[5] = (b) => t.value = b),
242
+ options: u(o),
228
243
  multiple: !1,
229
244
  taggable: !1,
230
245
  placeholder: "Type to search or add tag",
@@ -232,18 +247,18 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
232
247
  "track-by": "_id",
233
248
  class: "mn-medium bg-grey radius-medium pd-small"
234
249
  }, null, 8, ["modelValue", "options"]),
235
- t.value ? (i(), m("h5", De, "Options:")) : f("", !0),
250
+ t.value ? (i(), m("h5", Ne, "Options:")) : h("", !0),
236
251
  t.value ? (i(), m("div", Ue, [
237
- g(he, {
252
+ g(de, {
238
253
  label: "Hide Author",
239
- radio: c(e).creator.hidden,
240
- "onUpdate:radio": u[6] || (u[6] = (b) => c(e).creator.hidden = b),
254
+ radio: u(e).creator.hidden,
255
+ "onUpdate:radio": c[6] || (c[6] = (b) => u(e).creator.hidden = b),
241
256
  name: "prices",
242
257
  class: "w-100"
243
258
  }, null, 8, ["radio"])
244
- ])) : f("", !0),
245
- g(fe, {
246
- submit: O,
259
+ ])) : h("", !0),
260
+ g(_e, {
261
+ submit: j,
247
262
  callback: r.redirectTo,
248
263
  class: "w-100 bg-black t-white"
249
264
  }, {
@@ -260,54 +275,44 @@ const $e = { class: "min-h-100vh pd-thin" }, ke = { class: "mn-thin flex-v-cente
260
275
  }, R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
261
276
  __proto__: null,
262
277
  default: Le
263
- }, Symbol.toStringTag, { value: "Module" })), Ae = {}, Ee = {
264
- width: "100%",
265
- height: "20rem",
266
- xmlns: "http://www.w3.org/2000/svg"
267
- }, Ve = /* @__PURE__ */ Z('<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), He = [
268
- Ve
269
- ];
270
- function qe(p, n) {
271
- return i(), m("svg", Ee, He);
272
- }
273
- const Re = /* @__PURE__ */ X(Ae, [["render", qe]]), Je = { class: "pd-thin" }, Ge = {
278
+ }, Symbol.toStringTag, { value: "Module" })), Ae = { class: "pd-thin" }, Ee = {
274
279
  __name: "BlogPost",
275
280
  setup(p) {
276
- const n = z(), s = _(null), e = _(!0);
281
+ const n = O(), s = _(null), e = _(!0);
277
282
  F(async () => {
278
283
  e.value = !0;
279
284
  const t = await W({ user: w.user._id, url: n.params.url });
280
285
  s.value = t[0], e.value = !1;
281
286
  });
282
- const a = {
287
+ const o = {
283
288
  Textarea: "p",
284
289
  H2: "h2",
285
290
  Bullets: "p",
286
291
  Caption: "p",
287
- ImageUpload: me
292
+ ImageUpload: ce
288
293
  };
289
294
  function d(t) {
290
295
  return t.type === "Textarea" ? { innerHTML: t.content, class: "p-medium" } : t.type === "H2" ? { innerHTML: t.content, class: "h3" } : t.type === "Caption" ? { innerHTML: t.content } : t.type === "ImageUpload" ? { src: t.content } : {};
291
296
  }
292
- return (t, h) => (i(), m("section", Je, [
297
+ return (t, f) => (i(), m("section", Ae, [
293
298
  g(A, {
294
299
  tag: "ul",
295
300
  name: "fade",
296
301
  class: "o-hidden bg-grey radius-big"
297
302
  }, {
298
303
  default: k(() => [
299
- e.value ? (i(), m(E, { key: 0 }, V(3, (l) => g(Re, { key: l })), 64)) : f("", !0)
304
+ e.value ? (i(), m(E, { key: 0 }, H(3, (l) => g(ve, { key: l })), 64)) : h("", !0)
300
305
  ]),
301
306
  _: 1
302
307
  }),
303
308
  g(J, { name: "fade" }, {
304
309
  default: k(() => [
305
- !e.value && !s.value ? (i(), I(ye, {
310
+ !e.value && !s.value ? (i(), I(he, {
306
311
  key: 0,
307
312
  title: "No Blogpost Found",
308
313
  description: "Currently, there are no blogposts available. Please check back later.",
309
314
  class: "pd-medium mn-thin bg-grey radius-big"
310
- })) : f("", !0)
315
+ })) : h("", !0)
311
316
  ]),
312
317
  _: 1
313
318
  }),
@@ -317,9 +322,9 @@ const Re = /* @__PURE__ */ X(Ae, [["render", qe]]), Je = { class: "pd-thin" }, G
317
322
  class: "container"
318
323
  }, {
319
324
  default: k(() => [
320
- !e.value && s.value ? (i(), I(ie, {
325
+ !e.value && s.value ? (i(), I(le, {
321
326
  key: 0,
322
- onClick: h[0] || (h[0] = (l) => t.$router.push({ name: "Blogpost", params: { url: s.value.url } })),
327
+ onClick: f[0] || (f[0] = (l) => t.$router.push({ name: "Blogpost", params: { url: s.value.url } })),
323
328
  blogpost: s.value,
324
329
  user: w.user._id,
325
330
  type: "blogpostPage",
@@ -328,76 +333,77 @@ const Re = /* @__PURE__ */ X(Ae, [["render", qe]]), Je = { class: "pd-thin" }, G
328
333
  }])
329
334
  }, {
330
335
  default: k(() => [
331
- o("section", null, [
332
- s.value && s.value.content ? (i(!0), m(E, { key: 0 }, V(s.value.content, (l, v) => (i(), I(G(a[l.type]), ee({
336
+ a("section", null, [
337
+ s.value && s.value.content ? (i(!0), m(E, { key: 0 }, H(s.value.content, (l, v) => (i(), I(G(o[l.type]), Y({
333
338
  key: v,
334
339
  index: v,
335
340
  component: l,
336
341
  prop: l,
337
342
  class: l.class,
338
343
  content: "content"
339
- }, d(l), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : f("", !0)
344
+ }, d(l), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : h("", !0)
340
345
  ])
341
346
  ]),
342
347
  _: 1
343
- }, 8, ["blogpost", "user", "class"])) : f("", !0),
344
- g(we, { class: "mn-small" }),
345
- !e.value && s.value ? (i(), I(pe, {
348
+ }, 8, ["blogpost", "user", "class"])) : h("", !0),
349
+ g(be, { class: "mn-small" }),
350
+ !e.value && s.value ? (i(), I(ue, {
346
351
  key: 1,
347
352
  type: "blogpost",
348
353
  target: s.value._id,
349
354
  owner: w.user._id
350
- }, null, 8, ["target", "owner"])) : f("", !0)
355
+ }, null, 8, ["target", "owner"])) : h("", !0)
351
356
  ]),
352
357
  _: 1
353
358
  })
354
359
  ]));
355
360
  }
356
- }, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
361
+ }, He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
357
362
  __proto__: null,
358
- default: Ge
359
- }, Symbol.toStringTag, { value: "Module" })), We = {
363
+ default: Ee
364
+ }, Symbol.toStringTag, { value: "Module" })), Ve = {
360
365
  __name: "Blog",
361
366
  setup(p) {
362
- const n = z(), s = D();
367
+ const n = O(), s = N();
363
368
  return n.params.category || (n.params.category = "featured"), F(() => {
364
369
  if (n.query) {
365
- const e = n.query, a = {
370
+ const e = n.query, o = {
366
371
  tags: e.tags ? e.tags.split(",") : [],
367
372
  period: e.period ? e.period : "week"
368
373
  };
369
- M.filter = a;
374
+ M.filter = o;
370
375
  }
371
- }), te(() => M.filter, (e, a) => {
376
+ }), Z(() => M.filter, (e, o) => {
372
377
  const d = { ...n.query };
373
- Object.keys(a).forEach((h) => {
374
- d[h] && delete d[h];
378
+ Object.keys(o).forEach((f) => {
379
+ d[f] && delete d[f];
375
380
  });
376
381
  const t = Object.fromEntries(
377
- Object.entries(e).filter(([h, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([h, l]) => [h, Array.isArray(l) ? l.join(",") : l])
382
+ Object.entries(e).filter(([f, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([f, l]) => [f, Array.isArray(l) ? l.join(",") : l])
378
383
  );
379
384
  Object.assign(d, t), s.replace({ query: d });
380
- }, { deep: !0 }), (e, a) => (i(), m("section", null, [
385
+ }, { deep: !0 }), (e, o) => (i(), m("section", null, [
381
386
  g(K, {
382
- category: c(n).params.category,
387
+ category: u(n).params.category,
383
388
  user: w.user._id,
384
- period: c(n).query.period
385
- }, null, 8, ["category", "user", "period"])
389
+ period: u(n).query.period,
390
+ following: u(n).params.category === "following" ? w.user._id : null
391
+ }, null, 8, ["category", "user", "period", "following"])
386
392
  ]));
387
393
  }
388
- }, Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
394
+ }, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
389
395
  __proto__: null,
390
- default: We
391
- }, Symbol.toStringTag, { value: "Module" })), Xe = { class: "w-100 cols-4 t-left flex-nowrap flex" }, Ye = {
396
+ default: Ve
397
+ }, Symbol.toStringTag, { value: "Module" })), Re = { class: "w-100 cols-4 t-left flex-nowrap flex" }, Je = {
392
398
  key: 0,
393
399
  class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
394
- }, Ze = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), et = { class: "t-semi uppercase" }, tt = /* @__PURE__ */ o("br", null, null, -1), st = {
400
+ }, Ge = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), Qe = { class: "t-semi uppercase" }, We = /* @__PURE__ */ a("br", null, null, -1), Ke = {
395
401
  key: 1,
396
402
  class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
397
- }, at = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "💬", -1), ot = { class: "t-semi uppercase" }, nt = /* @__PURE__ */ o("br", null, null, -1), lt = {
403
+ }, Xe = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "💬", -1), Ye = { class: "t-semi uppercase" }, Ze = /* @__PURE__ */ a("br", null, null, -1), et = {
398
404
  key: 2,
399
405
  class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
400
- }, rt = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), it = { class: "t-semi uppercase" }, ut = /* @__PURE__ */ o("br", null, null, -1), Wt = {
406
+ }, tt = /* @__PURE__ */ a("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), st = { class: "t-semi uppercase" }, ot = /* @__PURE__ */ a("br", null, null, -1), as = {
401
407
  __name: "Activity",
402
408
  props: {
403
409
  likes: Number,
@@ -405,34 +411,34 @@ const Re = /* @__PURE__ */ X(Ae, [["render", qe]]), Je = { class: "pd-thin" }, G
405
411
  subscriptions: Number
406
412
  },
407
413
  setup(p) {
408
- return (n, s) => (i(), m("section", Xe, [
409
- p.likes ? (i(), m("div", Ye, [
410
- Ze,
411
- o("span", et, [
412
- T(N(p.likes), 1),
413
- tt,
414
+ return (n, s) => (i(), m("section", Re, [
415
+ p.likes ? (i(), m("div", Je, [
416
+ Ge,
417
+ a("span", Qe, [
418
+ T(z(p.likes), 1),
419
+ We,
414
420
  T("likes")
415
421
  ])
416
- ])) : f("", !0),
417
- p.comments ? (i(), m("div", st, [
418
- at,
419
- o("span", ot, [
420
- T(N(p.comments), 1),
421
- nt,
422
+ ])) : h("", !0),
423
+ p.comments ? (i(), m("div", Ke, [
424
+ Xe,
425
+ a("span", Ye, [
426
+ T(z(p.comments), 1),
427
+ Ze,
422
428
  T("comments")
423
429
  ])
424
- ])) : f("", !0),
425
- p.subscriptions ? (i(), m("div", lt, [
426
- rt,
427
- o("span", it, [
428
- T(N(p.subscriptions), 1),
429
- ut,
430
+ ])) : h("", !0),
431
+ p.subscriptions ? (i(), m("div", et, [
432
+ tt,
433
+ a("span", st, [
434
+ T(z(p.subscriptions), 1),
435
+ ot,
430
436
  T("subscriptions")
431
437
  ])
432
- ])) : f("", !0)
438
+ ])) : h("", !0)
433
439
  ]));
434
440
  }
435
- }, ct = { class: "pd-thin radius-extra flex-nowrap flex" }, pt = ["innerHTML"], mt = {
441
+ }, at = { class: "pd-thin radius-extra flex-nowrap flex" }, nt = ["innerHTML"], lt = {
436
442
  __name: "FieldBig",
437
443
  props: {
438
444
  input: String,
@@ -465,90 +471,90 @@ const Re = /* @__PURE__ */ X(Ae, [["render", qe]]), Je = { class: "pd-thin" }, G
465
471
  },
466
472
  emits: ["update:input", "action"],
467
473
  setup(p, { emit: n }) {
468
- const s = p, { t: e, locale: a } = xe();
469
- let d = _(0), t = _(s.input), h = _(s.placeholder), l = _(s.enableTyping), v = _(null), P = _(""), $ = _(!0), S = null;
470
- function O() {
474
+ const s = p, { t: e, locale: o } = ye();
475
+ let d = _(0), t = _(s.input), f = _(s.placeholder), l = _(s.enableTyping), v = _(null), P = _(""), $ = _(!0), S = null;
476
+ function j() {
471
477
  n("action");
472
478
  }
473
- function j(x) {
479
+ function D(x) {
474
480
  n("update:input", x), P.value = x;
475
481
  }
476
482
  function r() {
477
- d.value = (d.value + 1) % s.placeholderTexts[a.value].length;
483
+ d.value = (d.value + 1) % s.placeholderTexts[o.value].length;
478
484
  }
479
- function u() {
480
- l.value = !1, clearInterval(v.value), h.value = s.placeholder, P.value || (t.value = "");
485
+ function c() {
486
+ l.value = !1, clearInterval(v.value), f.value = s.placeholder, P.value || (t.value = "");
481
487
  }
482
488
  function b() {
483
- !P.value && s.enableTyping && (l.value = !0, h.value = "", U());
489
+ !P.value && s.enableTyping && (l.value = !0, f.value = "", U());
484
490
  }
485
491
  function U() {
486
- let x = s.placeholderTexts[a.value][d.value], y = 0, C = !1;
492
+ let x = s.placeholderTexts[o.value][d.value], y = 0, C = !1;
487
493
  S = setInterval(() => {
488
494
  $.value = !$.value;
489
495
  }, 200), v.value = setInterval(() => {
490
496
  l.value && (C ? (t.value = t.value.slice(0, -1), t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y--) : (t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y++), y > x.length && s.loopTyping && setTimeout(() => {
491
497
  C = !0, t.value = x.substring(0, y);
492
- }, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[a.value][d.value]));
498
+ }, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[o.value][d.value]));
493
499
  }, s.typingSpeed);
494
500
  }
495
501
  return F(() => {
496
502
  s.enableTyping && U();
497
- }), se(() => {
503
+ }), ee(() => {
498
504
  l.value || (clearInterval(v.value), clearInterval(S));
499
- }), (x, y) => (i(), m("div", ct, [
500
- g(ve, {
501
- field: c(t),
505
+ }), (x, y) => (i(), m("div", at, [
506
+ g(we, {
507
+ field: u(t),
502
508
  "onUpdate:field": [
503
509
  y[0] || (y[0] = (C) => Q(t) ? t.value = C : t = C),
504
- j
510
+ D
505
511
  ],
506
- placeholder: c(h),
512
+ placeholder: u(f),
507
513
  onInput: r,
508
- onFocus: u,
514
+ onFocus: c,
509
515
  onBlur: b,
510
516
  class: "w-100 pd-small p-big"
511
517
  }, null, 8, ["field", "placeholder"]),
512
518
  p.action ? (i(), m("button", {
513
519
  key: 0,
514
- onClick: O,
520
+ onClick: j,
515
521
  class: "w-min hover_bg-white hover-t-black t-black bg-main button",
516
522
  innerHTML: p.action
517
- }, null, 8, pt)) : f("", !0)
523
+ }, null, 8, nt)) : h("", !0)
518
524
  ]));
519
525
  }
520
526
  };
521
- const dt = { class: "pd-thin" }, gt = { class: "o-hidden t-black bg-main pd-big radius-big" }, _t = /* @__PURE__ */ o("header", { class: "t-center z-index-1 mn-big" }, [
522
- /* @__PURE__ */ o("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-medium" }, "Stay Updated with The Latest in Cannabis."),
523
- /* @__PURE__ */ o("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
524
- ], -1), ht = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, ft = /* @__PURE__ */ o("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
525
- /* @__PURE__ */ o("div", { class: "spiral" })
526
- ], -1), Kt = {
527
+ const rt = { class: "pd-thin" }, it = { class: "o-hidden t-black bg-main pd-big radius-big" }, ut = /* @__PURE__ */ a("header", { class: "t-center z-index-1 mn-big" }, [
528
+ /* @__PURE__ */ a("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-medium" }, "Stay Updated with The Latest in Cannabis."),
529
+ /* @__PURE__ */ a("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
530
+ ], -1), ct = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, pt = /* @__PURE__ */ a("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
531
+ /* @__PURE__ */ a("div", { class: "spiral" })
532
+ ], -1), ns = {
527
533
  __name: "SubscribeNewsletter",
528
534
  setup(p) {
529
535
  let n = _("");
530
- return (s, e) => (i(), m("section", dt, [
531
- o("div", gt, [
532
- _t,
533
- o("div", ht, [
534
- g(mt, {
535
- input: c(n),
536
+ return (s, e) => (i(), m("section", rt, [
537
+ a("div", it, [
538
+ ut,
539
+ a("div", ct, [
540
+ g(lt, {
541
+ input: u(n),
536
542
  typingSpeed: 75,
537
543
  loopTyping: !1,
538
544
  enableTyping: !1,
539
545
  placeholder: "Please enter your email",
540
546
  action: "Subscribe",
541
- "onUpdate:input": e[0] || (e[0] = (a) => Q(n) ? n.value = a : n = a),
542
- onAction: e[1] || (e[1] = (a) => s.router.push({ name: "Product Recommmendation", query: { mood: s.mood } })),
547
+ "onUpdate:input": e[0] || (e[0] = (o) => Q(n) ? n.value = o : n = o),
548
+ onAction: e[1] || (e[1] = (o) => s.router.push({ name: "Product Recommmendation", query: { mood: s.mood } })),
543
549
  class: "mn-l-auto mn-r-auto bg-white t-black w-50"
544
550
  }, null, 8, ["input"])
545
551
  ]),
546
- ft
552
+ pt
547
553
  ])
548
554
  ]));
549
555
  }
550
556
  };
551
- const vt = { class: "container container-joinus" }, bt = { class: "content" }, yt = { class: "h0 mn-big" }, wt = /* @__PURE__ */ o("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), xt = /* @__PURE__ */ o("button", { class: "bg-black t-white button" }, "Join Now", -1), Xt = {
557
+ const mt = { class: "container container-joinus" }, dt = { class: "content" }, gt = { class: "h0 mn-big" }, _t = /* @__PURE__ */ a("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), ft = /* @__PURE__ */ a("button", { class: "bg-black t-white button" }, "Join Now", -1), ls = {
552
558
  __name: "JoinUs",
553
559
  setup(p) {
554
560
  const n = _(120950), s = _([
@@ -562,7 +568,7 @@ const vt = { class: "container container-joinus" }, bt = { class: "content" }, y
562
568
  setInterval(() => {
563
569
  n.value += Math.floor(Math.random() * 5) + 1;
564
570
  }, 330);
565
- }, a = {
571
+ }, o = {
566
572
  minSize: "6rem",
567
573
  maxSize: "10rem",
568
574
  minDuration: 5,
@@ -573,30 +579,30 @@ const vt = { class: "container container-joinus" }, bt = { class: "content" }, y
573
579
  d(), e();
574
580
  });
575
581
  const d = () => {
576
- s.value.forEach((t, h) => {
582
+ s.value.forEach((t, f) => {
577
583
  let l = document.createElement("img");
578
584
  l.src = t, l.classList.add("floating-image");
579
- let v = a.spawnPoints[Math.floor(Math.random() * a.spawnPoints.length)], P = (Math.random() - 0.5) * 2 * 10;
580
- l.style.left = `${v + P}%`, l.style.animationDuration = `${Math.random() * (a.maxDuration - a.minDuration) + a.minDuration}s`, document.querySelector(".container").appendChild(l), l.addEventListener("animationiteration", () => {
581
- const $ = a.spawnPoints[Math.floor(Math.random() * a.spawnPoints.length)], S = (Math.random() - 0.5) * 2 * 10;
585
+ let v = o.spawnPoints[Math.floor(Math.random() * o.spawnPoints.length)], P = (Math.random() - 0.5) * 2 * 10;
586
+ l.style.left = `${v + P}%`, l.style.animationDuration = `${Math.random() * (o.maxDuration - o.minDuration) + o.minDuration}s`, document.querySelector(".container").appendChild(l), l.addEventListener("animationiteration", () => {
587
+ const $ = o.spawnPoints[Math.floor(Math.random() * o.spawnPoints.length)], S = (Math.random() - 0.5) * 2 * 10;
582
588
  l.style.left = `${$ + S}%`;
583
589
  });
584
590
  });
585
591
  };
586
- return (t, h) => (i(), m("div", vt, [
587
- o("div", bt, [
588
- o("span", yt, N(n.value.toLocaleString()), 1),
589
- wt,
590
- xt
592
+ return (t, f) => (i(), m("div", mt, [
593
+ a("div", dt, [
594
+ a("span", gt, z(n.value.toLocaleString()), 1),
595
+ _t,
596
+ ft
591
597
  ])
592
598
  ]));
593
599
  }
594
600
  };
595
- const $t = (p) => (ae("data-v-2591cab6"), p = p(), oe(), p), kt = { class: "community-feed" }, Pt = /* @__PURE__ */ $t(() => /* @__PURE__ */ o("h2", { class: "w-m-75r mn-auto pd-t-big pd-b-big t-center" }, "Discover the Vibrant Community", -1)), Ct = {
601
+ const ht = (p) => (te("data-v-2591cab6"), p = p(), se(), p), vt = { class: "community-feed" }, bt = /* @__PURE__ */ ht(() => /* @__PURE__ */ a("h2", { class: "w-m-75r mn-auto pd-t-big pd-b-big t-center" }, "Discover the Vibrant Community", -1)), yt = {
596
602
  __name: "HotPosts",
597
603
  setup(p) {
598
- return (n, s) => (i(), m("section", kt, [
599
- Pt,
604
+ return (n, s) => (i(), m("section", vt, [
605
+ bt,
600
606
  g(K, {
601
607
  skip: 0,
602
608
  limit: 3,
@@ -606,7 +612,7 @@ const $t = (p) => (ae("data-v-2591cab6"), p = p(), oe(), p), kt = { class: "comm
606
612
  }, null, 8, ["user"])
607
613
  ]));
608
614
  }
609
- }, Yt = /* @__PURE__ */ X(Ct, [["__scopeId", "data-v-2591cab6"]]), Zt = [
615
+ }, rs = /* @__PURE__ */ xe(yt, [["__scopeId", "data-v-2591cab6"]]), is = [
610
616
  {
611
617
  path: "community",
612
618
  component: Be,
@@ -627,7 +633,7 @@ const $t = (p) => (ae("data-v-2591cab6"), p = p(), oe(), p), kt = { class: "comm
627
633
  },
628
634
  title_hide: !0
629
635
  },
630
- component: () => Promise.resolve().then(() => Ke)
636
+ component: () => Promise.resolve().then(() => qe)
631
637
  }]
632
638
  },
633
639
  {
@@ -651,7 +657,7 @@ const $t = (p) => (ae("data-v-2591cab6"), p = p(), oe(), p), kt = { class: "comm
651
657
  ru: "Пост"
652
658
  }
653
659
  },
654
- component: () => Promise.resolve().then(() => Qe)
660
+ component: () => Promise.resolve().then(() => He)
655
661
  },
656
662
  {
657
663
  path: "community/posts/:url/edit",
@@ -667,19 +673,19 @@ const $t = (p) => (ae("data-v-2591cab6"), p = p(), oe(), p), kt = { class: "comm
667
673
  }
668
674
  ];
669
675
  export {
670
- Wt as Activity,
671
- We as Blog,
672
- Ge as BlogPost,
673
- ie as CardBlogpost,
674
- pe as Comments,
676
+ as as Activity,
677
+ Ve as Blog,
678
+ Ee as BlogPost,
679
+ le as CardBlogpost,
680
+ ue as Comments,
675
681
  Be as Community,
676
682
  Le as CreateBlogPost,
677
683
  K as Feed,
678
- ss as FooterBlogpost,
679
- Yt as HotPosts,
680
- Xt as JoinUs,
681
- Kt as SubscribeNewsletter,
682
- Zt as blogpostsRoutes,
683
- as as blogpostsStore,
684
- ns as reactionsStore
684
+ ps as FooterBlogpost,
685
+ rs as HotPosts,
686
+ ls as JoinUs,
687
+ ns as SubscribeNewsletter,
688
+ is as blogpostsRoutes,
689
+ ms as blogpostsStore,
690
+ gs as reactionsStore
685
691
  };