@ozdao/prometheus-framework 0.1.35 → 0.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (345) 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 +7 -7
  120. package/dist/auth.server.mjs +7 -7
  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 +223 -195
  130. package/dist/community.server.mjs +223 -195
  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 +106 -216
  139. package/dist/events.server.mjs +106 -216
  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/routes/auth.routes.js +9 -6
  224. package/src/modules/auth/store/auth.js +34 -15
  225. package/src/modules/backoffice/components/pages/Dashboard.vue +91 -0
  226. package/src/modules/backoffice/router/admin.js +0 -28
  227. package/src/modules/backoffice/router/backoffice.js +131 -4
  228. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  229. package/src/modules/community/components/pages/Blog.vue +1 -0
  230. package/src/modules/community/components/sections/Comments.vue +1 -1
  231. package/src/modules/community/components/sections/Feed.vue +6 -0
  232. package/src/modules/community/controllers/blog.controller.js +129 -285
  233. package/src/modules/community/controllers/reactions.controller.js +2 -0
  234. package/src/modules/community/controllers/utils/queryProcessor.js +56 -0
  235. package/src/modules/community/controllers/utils/queryProcessorReactions.js +63 -0
  236. package/src/modules/community/routes/blog.routes.js +10 -6
  237. package/src/modules/community/store/blogposts.js +5 -5
  238. package/src/modules/events/components/blocks/CardEvent.vue +2 -3
  239. package/src/modules/events/components/pages/Events.vue +4 -4
  240. package/src/modules/events/components/sections/Feed.vue +4 -4
  241. package/src/modules/events/components/sections/List.vue +2 -2
  242. package/src/modules/events/controllers/events.controller.js +8 -6
  243. package/src/modules/events/controllers/utils/queryProcessor.js +111 -1
  244. package/src/modules/events/models/event.model.js +0 -4
  245. package/src/modules/events/routes/events.routes.js +9 -6
  246. package/src/modules/events/store/events.js +5 -7
  247. package/src/{components/CardHeader → modules/globals/components/blocks}/CardHeader.vue +31 -4
  248. package/src/modules/globals/components/sections/Feed.vue +136 -0
  249. package/src/modules/globals/controllers/utils/queryProcessor.js +19 -117
  250. package/src/modules/globals/models/engagement.schema.js +29 -25
  251. package/src/modules/globals/utils/mailing.js +1 -1
  252. package/src/modules/icons/icons.client.js +51 -0
  253. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  254. package/src/modules/marketplace/components/pages/Catalog.vue +3 -4
  255. package/src/modules/marketplace/router/marketplace.js +0 -11
  256. package/src/modules/middlewares/client/auth.validation.js +1 -1
  257. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -2
  258. package/src/modules/orders/components/pages/EditOrder.vue +238 -0
  259. package/src/modules/{backoffice → orders}/components/pages/Favorites.vue +2 -2
  260. package/src/modules/orders/components/pages/Order.vue +28 -34
  261. package/src/modules/orders/components/pages/Orders.vue +90 -0
  262. package/src/modules/{backoffice/components/pages/History.vue → orders/components/pages/ViewOrder.vue} +0 -8
  263. package/src/modules/orders/components/sections/Form.vue +52 -34
  264. package/src/modules/orders/controllers/orders.controller.js +102 -72
  265. package/src/modules/orders/models/order.model.js +30 -22
  266. package/src/modules/orders/router/orders.router.js +30 -0
  267. package/src/modules/orders/routes/orders.routes.js +23 -13
  268. package/src/modules/orders/store/orders.js +67 -40
  269. package/src/modules/organizations/components/{sections/Department.vue → blocks/CardDepartment.vue} +1 -10
  270. package/src/modules/organizations/components/blocks/CardOrganization.vue +13 -9
  271. package/src/modules/organizations/components/pages/DepartmentEdit.vue +3 -3
  272. package/src/modules/organizations/components/{sections/MembersTab.vue → pages/Members.vue} +23 -8
  273. package/src/modules/organizations/components/pages/Organization.vue +80 -46
  274. package/src/modules/organizations/components/pages/Organizations.vue +45 -90
  275. package/src/modules/organizations/components/sections/{StructureTab.vue → FeedDepartments.vue} +5 -5
  276. package/src/modules/organizations/components/sections/Organizations.vue +1 -2
  277. package/src/modules/organizations/components/sections/Publics.vue +3 -2
  278. package/src/modules/organizations/controllers/organizations.controller.js +8 -21
  279. package/src/modules/organizations/controllers/organizations.new.controller.js +372 -0
  280. package/src/modules/organizations/controllers/utils/addUserStatusFields.js +53 -48
  281. package/src/modules/organizations/controllers/utils/queryProcessor.js +87 -0
  282. package/src/modules/organizations/controllers/utils/queryProcessorOrganizations.js +25 -0
  283. package/src/modules/organizations/organizations.client.js +42 -46
  284. package/src/modules/organizations/router/departments.router.js +29 -0
  285. package/src/modules/organizations/router/members.router.js +19 -0
  286. package/src/modules/organizations/router/organizations.js +12 -88
  287. package/src/modules/organizations/router/organizations.router.js +38 -0
  288. package/src/modules/organizations/router/products.router.js +24 -0
  289. package/src/modules/organizations/store/departments.js +108 -0
  290. package/src/modules/{backoffice/components/admin/Orders.vue → payments/components/pages/Payments.vue} +0 -15
  291. package/src/modules/products/components/blocks/{Leftover.vue → CardLeftover.vue} +21 -12
  292. package/src/modules/products/components/blocks/CardPosition.vue +84 -0
  293. package/src/modules/products/components/blocks/LeftoverPositions.vue +65 -136
  294. package/src/modules/products/components/pages/LeftoverAdd.vue +133 -88
  295. package/src/modules/products/components/pages/Leftovers.vue +91 -64
  296. package/src/modules/products/components/pages/Product.vue +3 -3
  297. package/src/modules/products/components/pages/Products.vue +42 -263
  298. package/src/modules/products/components/pages/ProductsBackoffice.vue +92 -0
  299. package/src/modules/products/components/sections/FilterProducts.vue +180 -0
  300. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  301. package/src/modules/products/components/sections/SectionProduct.vue +18 -3
  302. package/src/modules/products/components/sections/SortProducts.vue +76 -0
  303. package/src/modules/products/controllers/leftovers.controller.js +51 -45
  304. package/src/modules/products/controllers/modifications.controller.js +66 -0
  305. package/src/modules/products/controllers/products.controller.js +67 -111
  306. package/src/modules/products/models/leftover.model.js +12 -9
  307. package/src/modules/products/models/product.model.js +1 -0
  308. package/src/modules/products/router/products.router.js +46 -0
  309. package/src/modules/products/routes/products.routes.js +4 -9
  310. package/src/modules/products/store/leftovers.js +56 -59
  311. package/src/modules/products/store/products.js +21 -22
  312. package/src/modules/spots/components/blocks/CardSpot.vue +104 -0
  313. package/src/modules/spots/components/blocks/SpotMemberModify.vue +92 -0
  314. package/src/modules/spots/components/blocks/SpotSub.vue +24 -0
  315. package/src/modules/spots/components/pages/Map.vue +2 -2
  316. package/src/modules/spots/components/pages/Spot.vue +107 -0
  317. package/src/modules/spots/components/pages/SpotEdit.vue +319 -0
  318. package/src/modules/spots/components/sections/Feed.vue +64 -0
  319. package/src/modules/spots/controllers/spots.controller.js +83 -0
  320. package/src/modules/spots/models/spot.model.js +72 -0
  321. package/src/modules/spots/router/spots.js +34 -1
  322. package/src/modules/spots/routes/spots.routes.js +31 -0
  323. package/src/modules/spots/store/spots.js +15 -15
  324. package/src/modules/users/components/pages/Profile.vue +2 -3
  325. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  326. package/src/styles/components/block.scss +2 -4
  327. package/src/modules/backoffice/components/admin/LeftoverAdd.vue +0 -157
  328. package/src/modules/backoffice/components/admin/Leftovers.vue +0 -119
  329. package/src/modules/backoffice/components/admin/Order.vue +0 -199
  330. package/src/modules/backoffice/components/admin/Product.vue +0 -28
  331. package/src/modules/backoffice/components/admin/Products.vue +0 -82
  332. package/src/modules/backoffice/components/pages/Organizations.vue +0 -104
  333. package/src/modules/community/controllers/blog.new.controller.js +0 -290
  334. package/src/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue +0 -92
  335. package/src/modules/organizations/components/elements/ButtonFollow.vue +0 -84
  336. package/src/modules/organizations/components/pages/OrganizationsAccount.vue +0 -110
  337. package/src/modules/organizations/controllers/utils/excludeBlockedMembers.js +0 -18
  338. /package/src/{components/CardFooter → modules/globals/components/blocks}/CardFooter.vue +0 -0
  339. /package/src/modules/{orders/controllers → payments/controller}/payments.controller.js +0 -0
  340. /package/src/modules/{orders → payments}/routes/payments.routes.js +0 -0
  341. /package/src/modules/{orders → payments}/store/payments.js +0 -0
  342. /package/src/modules/products/components/blocks/{ProductCard.vue → CardProduct.vue} +0 -0
  343. /package/src/modules/{organizations → spots}/components/sections/PlaceModify.vue +0 -0
  344. /package/src/modules/{organizations → spots}/components/sections/Places.vue +0 -0
  345. /package/src/modules/{backoffice → wallet}/components/pages/Wallet.vue +0 -0
@@ -0,0 +1,653 @@
1
+ import { getCurrentInstance as D, isProxy as X, watch as O, defineComponent as U, withAsyncContext as N, ref as y, onMounted as F, openBlock as i, createElementBlock as r, createElementVNode as o, toDisplayString as f, unref as l, createVNode as C, withCtx as M, Fragment as R, renderList as z, createBlock as T, computed as S, onUnmounted as W, Transition as Z, withModifiers as J, createCommentVNode as v, createStaticVNode as Y, normalizeStyle as G, reactive as Q } from "vue";
2
+ import { _ as K } from "./categories-df3240a7.mjs";
3
+ import { useRouter as H, useRoute as tt } from "vue-router";
4
+ import { useI18n as E } from "vue-i18n";
5
+ import { C as et, S as st } from "./carousel.es-44c501bc.mjs";
6
+ import { _ as ot, a as at } from "./CardProduct-fca53299.mjs";
7
+ import { a as q, s as $ } from "./products-bf5783aa.mjs";
8
+ import { L as nt } from "./Loader-cd422786.mjs";
9
+ import { _ as A } from "./_plugin-vue_export-helper-dad06003.mjs";
10
+ import { _ as it } from "./Popup-0915427c.mjs";
11
+ import { I as rt } from "./IconEdit-9edfd74d.mjs";
12
+ import "./auth-ec618cb3.mjs";
13
+ import "./globals-96ba60e4.mjs";
14
+ import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
15
+ import "./index-a661083c.mjs";
16
+ import "./vuex.esm-bundler-57d8b6ba.mjs";
17
+ import "./Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
18
+ import "./IconCross-84cb1292.mjs";
19
+ import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
20
+ /**
21
+ * vue-meta v3.0.0-alpha.10
22
+ * (c) 2022
23
+ * - Pim (@pimlie)
24
+ * - All the amazing contributors
25
+ * @license MIT
26
+ */
27
+ const ct = (t) => t !== null && typeof t == "object";
28
+ function j(t, e, s) {
29
+ for (const a in e)
30
+ a in s ? ct(t[a]) ? j(t[a], e[a], s[a]) : e[a] !== s[a] && (t[a] = e[a]) : t[a] = e[a];
31
+ for (const a in s)
32
+ e && a in e || delete t[a];
33
+ }
34
+ function B(t) {
35
+ if (t || (t = D() || void 0), t)
36
+ return t.appContext.config.globalProperties.$metaManager;
37
+ }
38
+ function lt(t, e) {
39
+ const s = D() || void 0;
40
+ if (!e && s && (e = B(s)), !e)
41
+ throw new Error("No manager or current instance");
42
+ X(t) && (O(t, (n, c) => {
43
+ j(a.meta, n, c);
44
+ }), t = t.value);
45
+ const a = e.addMeta(t, s);
46
+ return a;
47
+ }
48
+ U({ name: "Metainfo", inheritAttrs: !1, setup: (t, { slots: e }) => () => {
49
+ const s = B();
50
+ if (s)
51
+ return s.render({ slots: e });
52
+ } });
53
+ const ut = {
54
+ id: "popularProducts",
55
+ class: "pd-thin"
56
+ }, dt = { class: "bg-grey radius-big pd-t-big pd-b-big" }, mt = { class: "mn-semi t-center title" }, pt = { class: "" }, ht = {
57
+ __name: "PopularProducts",
58
+ async setup(t) {
59
+ let e, s;
60
+ H(), [e, s] = N(() => q.read({ limit: 10 })), await e, s();
61
+ const a = {
62
+ messages: {
63
+ en: {
64
+ title: "Explore Hot Products 🔥",
65
+ subtitle: "We attach great importance to high quality and customer satisfaction"
66
+ },
67
+ ru: {
68
+ title: "Самое Горячее 🔥",
69
+ subtitle: "Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"
70
+ }
71
+ }
72
+ }, { t: n } = E(a), c = y(null), _ = {
73
+ 320: { itemsToShow: 1 },
74
+ 640: { itemsToShow: 3 },
75
+ 1024: { itemsToShow: 3 }
76
+ };
77
+ return F(async () => {
78
+ setTimeout(() => {
79
+ c.value.updateSlideWidth();
80
+ }, 500);
81
+ }), (p, d) => (i(), r("div", ut, [
82
+ o("div", dt, [
83
+ o("div", mt, [
84
+ o("h2", pt, f(l(n)("title")), 1)
85
+ ]),
86
+ C(l(et), {
87
+ ref_key: "myCarousel",
88
+ ref: c,
89
+ "items-to-show": 3,
90
+ transition: 330,
91
+ wrapAround: !0,
92
+ autoplay: 3e3,
93
+ pauseAutoplayOnHover: !0,
94
+ breakpoints: _
95
+ }, {
96
+ default: M(() => [
97
+ (i(!0), r(R, null, z($.all, (m, h, w) => (i(), T(l(st), {
98
+ class: "pd-thin",
99
+ key: h
100
+ }, {
101
+ default: M(() => [
102
+ C(ot, {
103
+ class: "carousel__item h-100 w-100",
104
+ product: m
105
+ }, null, 8, ["product"])
106
+ ]),
107
+ _: 2
108
+ }, 1024))), 128))
109
+ ]),
110
+ _: 1
111
+ }, 512)
112
+ ])
113
+ ]));
114
+ }
115
+ };
116
+ const _t = { class: "product-360-viewer" }, ft = /* @__PURE__ */ Y('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-6accd1fb><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="black" fill-opacity="0.1" data-v-6accd1fb></path></svg>', 1), gt = {
117
+ key: 0,
118
+ class: "h-100 w-100 transition-ease"
119
+ }, vt = ["src"], yt = {
120
+ __name: "Images360",
121
+ props: {
122
+ imagePath: {
123
+ type: String,
124
+ required: !0
125
+ },
126
+ imageCount: {
127
+ type: Number,
128
+ default: 36
129
+ },
130
+ autoRotateSpeed: {
131
+ type: Number,
132
+ default: 100
133
+ }
134
+ },
135
+ setup(t) {
136
+ const e = t, s = y(0), a = y(!1), n = y(0), c = y(0);
137
+ y(!0);
138
+ const _ = async () => {
139
+ const g = [];
140
+ for (let b = 1; b <= e.imageCount; b++) {
141
+ const I = new Image();
142
+ I.src = `${e.imagePath}/${b}.jpg`;
143
+ try {
144
+ await I.decode(), c.value++;
145
+ } catch (V) {
146
+ console.warn(`Failed to decode ${e.imagePath}/${b}.jpg:`, V);
147
+ }
148
+ g.push(I);
149
+ }
150
+ return g;
151
+ }, p = S(() => Math.round(c.value / e.imageCount * 100)), d = y([]), m = y(""), h = y(null);
152
+ O(s, (g) => {
153
+ m.value = d.value[g] || "";
154
+ });
155
+ function w(g) {
156
+ a.value = !0, n.value = g.clientX || g.touches[0].clientX;
157
+ }
158
+ function L(g) {
159
+ if (!a.value)
160
+ return;
161
+ const b = g.clientX || g.touches[0].clientX, I = b - n.value;
162
+ if (Math.abs(I) >= 5) {
163
+ const V = I > 0 ? 1 : -1;
164
+ s.value = (s.value + V) % e.imageCount, s.value < 0 && (s.value = e.imageCount - 1), n.value = b;
165
+ }
166
+ }
167
+ function k() {
168
+ a.value = !1;
169
+ }
170
+ let x = null;
171
+ const P = () => {
172
+ d.value = [];
173
+ };
174
+ return F(async () => {
175
+ d.value = await _(), m.value = d.value[0] || "";
176
+ }), W(() => {
177
+ clearInterval(x), P();
178
+ }), (g, b) => (i(), r("div", _t, [
179
+ ft,
180
+ C(Z, {
181
+ name: "scale5",
182
+ css: !h.value,
183
+ appear: ""
184
+ }, {
185
+ default: M(() => [
186
+ m.value ? (i(), r("div", gt, [
187
+ m.value ? (i(), r("img", {
188
+ key: m.value,
189
+ class: "h-100 w-100 transition-ease",
190
+ src: (g.FILE_SERVER_URL || "") + m.value.src,
191
+ alt: "360 product view",
192
+ onMousedown: w,
193
+ onMousemove: L,
194
+ onMouseup: k,
195
+ onMouseleave: k,
196
+ onTouchstart: w,
197
+ onTouchmove: L,
198
+ onTouchend: k,
199
+ onDragstart: b[0] || (b[0] = J(() => {
200
+ }, ["prevent"]))
201
+ }, null, 40, vt)) : v("", !0)
202
+ ])) : v("", !0)
203
+ ]),
204
+ _: 1
205
+ }, 8, ["css"]),
206
+ C(Z, { name: "scale5" }, {
207
+ default: M(() => [
208
+ m.value ? v("", !0) : (i(), T(nt, {
209
+ key: 0,
210
+ progress: l(p),
211
+ class: "center z-index-5"
212
+ }, null, 8, ["progress"]))
213
+ ]),
214
+ _: 1
215
+ })
216
+ ]));
217
+ }
218
+ }, Ct = /* @__PURE__ */ A(yt, [["__scopeId", "data-v-6accd1fb"]]);
219
+ const wt = ["src"], bt = {
220
+ __name: "Magnifier",
221
+ props: {
222
+ imageSrc: String,
223
+ zoomFactor: {
224
+ type: Number,
225
+ default: 2
226
+ }
227
+ },
228
+ setup(t) {
229
+ const e = t, s = y(!1), a = y({});
230
+ function n(h) {
231
+ const w = h.target.getBoundingClientRect(), L = h.clientX - w.left, k = h.clientY - w.top, x = 100, P = Math.max(0, Math.min(L - x / 2, w.width - x)), g = Math.max(0, Math.min(k - x / 2, w.height - x));
232
+ a.value = {
233
+ left: `${P}px`,
234
+ top: `${g}px`,
235
+ backgroundPosition: `-${P * e.zoomFactor}px -${g * e.zoomFactor}px`,
236
+ backgroundImage: `url(${e.imageSrc})`,
237
+ backgroundSize: `${w.width * e.zoomFactor}px ${w.height * e.zoomFactor}px`
238
+ };
239
+ }
240
+ function c(h) {
241
+ s.value = !0, n(h);
242
+ }
243
+ function _() {
244
+ s.value = !1;
245
+ }
246
+ function p(h) {
247
+ h.preventDefault(), s.value = !0, n(h.touches[0]);
248
+ }
249
+ function d(h) {
250
+ h.preventDefault(), n(h.touches[0]);
251
+ }
252
+ function m() {
253
+ s.value = !1;
254
+ }
255
+ return (h, w) => (i(), r("div", {
256
+ class: "w-100 image-container",
257
+ onMousemove: c,
258
+ onMouseleave: _,
259
+ onTouchstart: p,
260
+ onTouchmove: d,
261
+ onTouchend: m
262
+ }, [
263
+ o("img", {
264
+ src: (h.FILE_SERVER_URL || "") + t.imageSrc,
265
+ class: "w-100"
266
+ }, null, 8, wt),
267
+ s.value ? (i(), r("div", {
268
+ key: 0,
269
+ class: "zoom-lens",
270
+ style: G(a.value)
271
+ }, null, 4)) : v("", !0)
272
+ ], 32));
273
+ }
274
+ }, $t = /* @__PURE__ */ A(bt, [["__scopeId", "data-v-c3815eaf"]]);
275
+ const St = { class: "product-images" }, xt = { class: "no-responsive cols-4 thumbnails" }, It = ["src", "onClick"], kt = {
276
+ __name: "ImagesThumbnails",
277
+ props: {
278
+ images: {
279
+ type: Array,
280
+ required: !0
281
+ }
282
+ },
283
+ setup(t) {
284
+ const e = y(!1), s = y(0), a = (c) => {
285
+ s.value = c, e.value = !0;
286
+ }, n = () => {
287
+ e.value = !1;
288
+ };
289
+ return (c, _) => (i(), r("div", St, [
290
+ o("div", xt, [
291
+ (i(!0), r(R, null, z(t.images, (p, d) => (i(), r("img", {
292
+ key: d,
293
+ src: (c.FILE_SERVER_URL || "") + p,
294
+ onClick: (m) => a(d),
295
+ class: "radius-medium bg-white o-hidden thumbnail"
296
+ }, null, 8, It))), 128))
297
+ ]),
298
+ C(it, {
299
+ onClosePopup: n,
300
+ isPopupOpen: e.value,
301
+ class: "radius-medium o-hidden"
302
+ }, {
303
+ default: M(() => [
304
+ C($t, {
305
+ imageSrc: c.path + t.images[s.value],
306
+ class: "magnifier z-index-4"
307
+ }, null, 8, ["imageSrc"])
308
+ ]),
309
+ _: 1
310
+ }, 8, ["isPopupOpen"])
311
+ ]));
312
+ }
313
+ }, Mt = /* @__PURE__ */ A(kt, [["__scopeId", "data-v-732c99c3"]]), u = Q({
314
+ items: [],
315
+ currentState: !1
316
+ }), Lt = {
317
+ toggleShopcart() {
318
+ u.currentState = !u.currentState;
319
+ },
320
+ setShopcart() {
321
+ try {
322
+ localStorage.getItem("shopcart") && (u.items = JSON.parse(localStorage.getItem("shopcart")));
323
+ } catch (t) {
324
+ throw console.error(t), t;
325
+ }
326
+ },
327
+ addProductToCart(t) {
328
+ const e = u.items.find(
329
+ (s) => s._id === t._id
330
+ );
331
+ e ? e.quantity++ : u.items.push({
332
+ _id: t._id,
333
+ images: t.images,
334
+ name: t.name,
335
+ price: t.price,
336
+ quantity: 1
337
+ }), localStorage.setItem("shopcart", JSON.stringify(u.items));
338
+ },
339
+ removeProduct(t) {
340
+ const e = u.items.find(
341
+ (a) => a._id === t
342
+ ), s = u.items.indexOf(e);
343
+ s > -1 && (u.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(u.items)));
344
+ },
345
+ decrementItemQuantity(t) {
346
+ const e = u.items.find(
347
+ (a) => a._id === t
348
+ ), s = u.items.indexOf(e);
349
+ s > -1 && (e.quantity--, e.quantity < 1 && u.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(u.items)));
350
+ },
351
+ incrementItemQuantity(t) {
352
+ const e = u.items.find(
353
+ (s) => s._id === t
354
+ );
355
+ e && (e.quantity++, localStorage.setItem("shopcart", JSON.stringify(u.items)));
356
+ },
357
+ resetShopcart({ state: t }) {
358
+ t.items = [], localStorage.removeItem("shopcart");
359
+ }
360
+ };
361
+ S(() => Number(u.items.reduce((t, e) => t + e.price * e.quantity, 0))), S(() => Number(u.items.reduce((t, e) => t + e.quantity, 0))), S(() => Number(u.currentState));
362
+ O(u, (t, e) => {
363
+ });
364
+ const Pt = { class: "cols-2-1_2 gap-big product-data-wrapper" }, Tt = { class: "flex-nowrap flex-column flex" }, Rt = { class: "h-100 bg-white radius-medium o-hidden" }, zt = ["src"], Et = {
365
+ key: 2,
366
+ width: "524",
367
+ height: "345",
368
+ viewBox: "0 0 524 345",
369
+ fill: "none",
370
+ xmlns: "http://www.w3.org/2000/svg",
371
+ class: "h-100 w-100",
372
+ style: { "object-fit": "cover" }
373
+ }, Vt = /* @__PURE__ */ o("rect", {
374
+ width: "524",
375
+ height: "345",
376
+ fill: "white"
377
+ }, null, -1), Ot = /* @__PURE__ */ o("rect", {
378
+ width: "524",
379
+ height: "345",
380
+ fill: "white"
381
+ }, null, -1), Nt = /* @__PURE__ */ o("circle", {
382
+ cx: "262",
383
+ cy: "172",
384
+ r: "56",
385
+ fill: "#00ff88",
386
+ "fill-opacity": "0.1"
387
+ }, null, -1), Ft = /* @__PURE__ */ o("path", {
388
+ fill: "#00ff88",
389
+ d: "M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"
390
+ }, null, -1), Ht = [
391
+ Vt,
392
+ Ot,
393
+ Nt,
394
+ Ft
395
+ ], qt = { class: "h-100 flex-justify flex col" }, At = {
396
+ key: 0,
397
+ class: "t-main t-semi p-big"
398
+ }, Zt = { class: "w-100 h1-product mn-thin" }, Dt = {
399
+ key: 1,
400
+ class: "mn-semi"
401
+ }, jt = {
402
+ key: 2,
403
+ class: "w-100 mn-medium t-transp"
404
+ }, Bt = {
405
+ key: 3,
406
+ class: "w-100 mn-medium t-transp"
407
+ }, Xt = { class: "cols-2 w-100 gap-small mn-semi" }, Ut = { class: "w-100 pd-small radius-small bg-white product-information" }, Wt = { class: "t-demi" }, Jt = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, Yt = ["disabled"], Gt = {
408
+ __name: "SectionProduct",
409
+ props: {
410
+ product: {
411
+ type: Object,
412
+ required: !0
413
+ },
414
+ recommendation: {
415
+ type: String
416
+ }
417
+ },
418
+ setup(t) {
419
+ const e = t, s = S(() => e.product.images), a = {
420
+ messages: {
421
+ en: {
422
+ airecommend: "AI Recommends You",
423
+ description: "",
424
+ addtoorder: "Add to order",
425
+ fastorder: "Fast Order"
426
+ },
427
+ ru: {
428
+ airecommend: "AI Рекомендует вам",
429
+ description: "",
430
+ addtoorder: "Добавить в корзину",
431
+ fastorder: "Быстрый заказ"
432
+ }
433
+ }
434
+ }, { t: n } = E(a);
435
+ function c(p) {
436
+ return !(p.quantity > 0);
437
+ }
438
+ function _(p) {
439
+ Lt.addProductToCart(p);
440
+ }
441
+ return (p, d) => (i(), r("div", Pt, [
442
+ o("div", Tt, [
443
+ o("div", Rt, [
444
+ t.product && t.product.image3d ? (i(), T(Ct, {
445
+ key: 0,
446
+ class: "h-100 w-100",
447
+ imagePath: `/assets/images/products/${t.product.image3d}`,
448
+ imageCount: 36
449
+ }, null, 8, ["imagePath"])) : v("", !0),
450
+ l(s)[0] && !t.product.image3d ? (i(), r("img", {
451
+ key: 1,
452
+ class: "h-100 w-100",
453
+ style: { "object-fit": "cover" },
454
+ src: (p.FILE_SERVER_URL || "") + l(s)[0]
455
+ }, null, 8, zt)) : v("", !0),
456
+ !l(s)[0] && !t.product.image3d ? (i(), r("svg", Et, Ht)) : v("", !0)
457
+ ]),
458
+ l(s).length > 1 ? (i(), T(Mt, {
459
+ key: 0,
460
+ images: l(s),
461
+ class: "mn-t-medium"
462
+ }, null, 8, ["images"])) : v("", !0)
463
+ ]),
464
+ o("div", qt, [
465
+ C(rt, {
466
+ onClick: d[0] || (d[0] = (m) => p.$router.push({
467
+ name: "ProductEdit",
468
+ params: {
469
+ _id: t.product.organization,
470
+ product: t.product._id
471
+ }
472
+ })),
473
+ class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
474
+ }),
475
+ t.recommendation ? (i(), r("h2", At, f(l(n)("airecommend")), 1)) : v("", !0),
476
+ o("h1", Zt, f(t.product.name), 1),
477
+ C(at, {
478
+ product: t.product,
479
+ size: "big",
480
+ class: "mn-semi"
481
+ }, null, 8, ["product"]),
482
+ t.recommendation ? (i(), r("h3", Dt, f(t.recommendation), 1)) : v("", !0),
483
+ t.product.description && !t.product.localization && !t.recommendation ? (i(), r("p", jt, f(t.product.description), 1)) : v("", !0),
484
+ t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (i(), r("p", Bt, f(l(n)("description")), 1)) : v("", !0),
485
+ o("div", Xt, [
486
+ t.product.information.length > 0 ? (i(!0), r(R, { key: 0 }, z(t.product.information, (m) => (i(), r("div", Ut, [
487
+ o("p", Wt, f(m.name), 1),
488
+ o("p", null, f(m.value), 1)
489
+ ]))), 256)) : v("", !0)
490
+ ]),
491
+ o("div", Jt, [
492
+ o("button", {
493
+ disabled: c(t.product),
494
+ onClick: d[1] || (d[1] = (m) => _(t.product)),
495
+ class: "w-100 mn-r-small bg-main button"
496
+ }, f(l(n)("addtoorder")), 9, Yt)
497
+ ])
498
+ ])
499
+ ]));
500
+ }
501
+ };
502
+ const Qt = { class: "pd-t-zero pd-thin" }, Kt = { class: "bg-black t-white radius-big footer" }, te = {
503
+ id: "top-footer",
504
+ class: "cols-3 section"
505
+ }, ee = {
506
+ href: "mailto:hello@weeder.delivery",
507
+ class: "w-100 radius-small contact col"
508
+ }, se = { class: "t-transp" }, oe = { class: "h4 mn-small" }, ae = /* @__PURE__ */ o("div", { class: "store-buttons" }, null, -1), ne = {
509
+ href: "https://t.me/weeder_support",
510
+ target: "_blank",
511
+ class: "w-100 radius-small contact col"
512
+ }, ie = { class: "h4 mn-small" }, re = /* @__PURE__ */ o("div", { class: "socials flex-nojustify flex" }, [
513
+ /* @__PURE__ */ o("a", {
514
+ class: "mn-r-small",
515
+ href: "https://t.me/weederdelivery",
516
+ target: "_blank"
517
+ }),
518
+ /* @__PURE__ */ o("a", {
519
+ class: "mn-r-small",
520
+ href: "https://t.me/weederdelivery",
521
+ target: "_blank"
522
+ }),
523
+ /* @__PURE__ */ o("a", {
524
+ class: "mn-r-small",
525
+ href: "https://t.me/weederdelivery",
526
+ target: "_blank"
527
+ })
528
+ ], -1), ce = { class: "cols-3 section" }, le = { class: "lh-semi nav-footer col" }, ue = { class: "mn-small t-semi h5" }, de = { class: "mn-medium ol" }, me = ["innerHTML"], pe = /* @__PURE__ */ o("a", {
529
+ href: "https://ozdao.dev",
530
+ target: "_blank"
531
+ }, null, -1), he = { class: "lh-semi nav-footer col" }, _e = { class: "mn-small t-semi h5" }, fe = { class: "lh-semi col" }, ge = { class: "mn-small t-semi h5" }, ve = /* @__PURE__ */ o("div", { class: "mn-medium" }, [
532
+ /* @__PURE__ */ o("li", null, "Phuket,"),
533
+ /* @__PURE__ */ o("li", null, "43 283 Soi Boathouse,"),
534
+ /* @__PURE__ */ o("li", null, "Rawai")
535
+ ], -1), ye = { class: "pd-small t-center br-top-dark copyright" }, Ce = {
536
+ __name: "Footer",
537
+ async setup(t) {
538
+ let e, s;
539
+ H(), [e, s] = N(() => q.fetchCategories()), await e, s();
540
+ const a = {
541
+ locale: "en",
542
+ messages: {
543
+ en: {
544
+ store: "Online Store",
545
+ information: "Information",
546
+ description: "Weeder Delivery stocks a wide range of quality!",
547
+ app: "Get Our App",
548
+ adress: "Adress",
549
+ support: "Get Online Support",
550
+ socials: "Find Us in Socials",
551
+ email: "Contact by email",
552
+ // request: 'hello@weeder.delivery',
553
+ time: "24 / 7 Seven days a week",
554
+ copyright: "2022 © Weeder Delivery. Proudly created with OZ DAO.",
555
+ pages: [],
556
+ categories: []
557
+ },
558
+ ru: {
559
+ store: "Онлайн Каталог",
560
+ information: "Информация",
561
+ description: "Weeder Delivery предлагает широкий ассортимент качественных!",
562
+ app: "Скачайте Наше Приложение",
563
+ adress: "Адрес",
564
+ support: "Онлайн Поддержка",
565
+ socials: "Найдите Нас в Социальных Сетях",
566
+ email: "Связаться по email",
567
+ // request: 'hello@weeder.delivery',
568
+ time: "24 / 7 без перерывов",
569
+ copyright: "2022 © Weeder Delivery. С гордостью создано OZ DAO.",
570
+ pages: [],
571
+ categories: []
572
+ }
573
+ }
574
+ };
575
+ $.all.forEach((c) => {
576
+ c.localization.forEach((_) => {
577
+ a.messages[_.locale].categories.push(_.text);
578
+ });
579
+ });
580
+ const { t: n } = E(a);
581
+ return (c, _) => (i(), r("div", Qt, [
582
+ o("footer", Kt, [
583
+ o("div", te, [
584
+ o("a", ee, [
585
+ o("p", se, f(l(n)("description")), 1)
586
+ ]),
587
+ o("div", {
588
+ onClick: _[0] || (_[0] = (p) => this.$router.push({ name: "Home" })),
589
+ class: "flex-v-center flex logo-link col"
590
+ }, [
591
+ o("p", oe, f(l(n)("app")), 1),
592
+ ae
593
+ ]),
594
+ o("a", ne, [
595
+ o("p", ie, f(l(n)("socials")), 1),
596
+ re
597
+ ])
598
+ ]),
599
+ o("div", ce, [
600
+ o("ul", le, [
601
+ o("li", ue, f(l(n)("store")), 1),
602
+ o("div", de, [
603
+ (i(!0), r(R, null, z($.all, (p, d) => (i(), r("li", null, [
604
+ o("span", {
605
+ innerHTML: l(n)("categories[" + d + "]")
606
+ }, null, 8, me)
607
+ ]))), 256))
608
+ ]),
609
+ pe
610
+ ]),
611
+ o("ul", he, [
612
+ o("li", _e, f(l(n)("information")), 1)
613
+ ]),
614
+ o("ul", fe, [
615
+ o("li", ge, f(l(n)("email")), 1),
616
+ ve
617
+ ])
618
+ ]),
619
+ o("p", ye, f(l(n)("copyright")), 1)
620
+ ])
621
+ ]));
622
+ }
623
+ };
624
+ const qe = {
625
+ __name: "Product",
626
+ async setup(t) {
627
+ let e, s;
628
+ const a = tt();
629
+ H(), [e, s] = N(() => q.read({ _id: a.params.product })), await e, s(), a.meta.title.en = $.current.name, a.meta.title.ru = $.current.name;
630
+ const n = S(() => $.current), c = {
631
+ messages: {
632
+ en: {},
633
+ ru: {}
634
+ }
635
+ }, { t: _ } = E(c), p = S(() => ({
636
+ title: $.current.name,
637
+ description: _("description")
638
+ }));
639
+ return lt(p), F(() => {
640
+ }), (d, m) => (i(), r("div", null, [
641
+ C(K, { class: "section" }),
642
+ C(Gt, {
643
+ product: l(n),
644
+ class: "section"
645
+ }, null, 8, ["product"]),
646
+ C(ht),
647
+ C(Ce)
648
+ ]));
649
+ }
650
+ };
651
+ export {
652
+ qe as default
653
+ };