@ozdao/prometheus-framework 0.2.127 → 0.2.129

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. package/LICENSE +1 -1
  2. package/dist/auth.server.js +28 -37
  3. package/dist/auth.server.mjs +28 -37
  4. package/dist/community.server.js +1 -1
  5. package/dist/community.server.mjs +1 -1
  6. package/dist/events.server.js +1 -1
  7. package/dist/events.server.mjs +1 -1
  8. package/dist/files.server.js +1 -1
  9. package/dist/files.server.mjs +1 -1
  10. package/dist/gallery.server.js +6 -2
  11. package/dist/gallery.server.mjs +6 -2
  12. package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
  13. package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
  14. package/dist/{main-CmL_j3wv.mjs → main-DvdaURTh.mjs} +3261 -3154
  15. package/dist/main-hLtpe4Hr.js +92 -0
  16. package/dist/main.css +1 -1
  17. package/dist/middlewares.server.js +1 -1
  18. package/dist/middlewares.server.mjs +1 -1
  19. package/dist/node_modules/zod/lib/index.cjs +1 -1
  20. package/dist/node_modules/zod/lib/index.js +1162 -1033
  21. package/dist/orders.server.js +1 -1
  22. package/dist/orders.server.mjs +1 -1
  23. package/dist/organizations.server.js +1 -1
  24. package/dist/organizations.server.mjs +1 -1
  25. package/dist/products.server.js +1 -1
  26. package/dist/products.server.mjs +1 -1
  27. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -1
  29. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  30. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -89
  31. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  33. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
  34. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +73 -0
  35. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  36. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +23 -22
  37. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -27
  39. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  40. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +27 -1
  41. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -58
  43. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  44. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +58 -1
  45. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +144 -112
  47. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
  49. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -1
  51. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  52. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -127
  53. package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
  54. package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
  55. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
  56. package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +6 -6
  57. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
  59. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  60. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -77
  61. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
  63. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  64. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
  65. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  67. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  68. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
  69. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/auth/store/auth.js +7 -6
  71. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +114 -77
  73. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +7 -22
  75. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
  77. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
  79. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  83. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +17 -16
  85. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
  86. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +66 -0
  87. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  88. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
  89. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  97. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
  101. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +9 -9
  103. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
  104. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
  105. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
  106. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
  107. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +20 -16
  109. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +2 -2
  111. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +10 -10
  113. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  115. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
  117. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
  119. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +111 -93
  123. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  125. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
  127. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
  133. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
  137. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  141. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  143. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  145. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
  146. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
  147. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  149. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  151. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  157. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
  158. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
  159. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
  161. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +26 -27
  165. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  167. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  169. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -23
  171. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  173. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +30 -29
  175. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  177. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +72 -51
  179. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +5 -5
  181. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +51 -53
  183. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +22 -22
  185. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  187. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  189. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +62 -48
  191. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +43 -44
  193. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  195. package/dist/prometheus-framework.cjs.js +1 -1
  196. package/dist/prometheus-framework.es.js +24 -25
  197. package/dist/reports.server.js +1 -1
  198. package/dist/reports.server.mjs +1 -1
  199. package/dist/style.css +1 -1
  200. package/dist/wallet.server.js +1 -1
  201. package/dist/wallet.server.mjs +1 -1
  202. package/dist/{web-Bk_OtXgv.js → web-CVIepGUM.js} +1 -1
  203. package/dist/{web-BHzpMOmk.mjs → web-Dt2JR41o.mjs} +1 -1
  204. package/package.json +3 -2
  205. package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
  206. package/src/components/Button/Button.vue +20 -3
  207. package/src/components/Feed/Feed.vue +28 -3
  208. package/src/components/FieldBig/FieldBig.vue +2 -2
  209. package/src/components/Sidebar/Sidebar.vue +13 -5
  210. package/src/components/index.js +0 -1
  211. package/src/main.js +0 -4
  212. package/src/modules/auth/controllers/auth.controller.js +32 -48
  213. package/src/modules/auth/router/auth.js +1 -4
  214. package/src/modules/auth/store/auth.js +28 -24
  215. package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
  216. package/src/modules/backoffice/router/backoffice.js +4 -15
  217. package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
  218. package/src/modules/community/components/layouts/Community.vue +1 -1
  219. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  220. package/src/modules/gallery/components/pages/Gallery.vue +1 -2
  221. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
  222. package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
  223. package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
  224. package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
  225. package/src/modules/globals/components/layouts/Client.vue +99 -43
  226. package/src/modules/globals/components/pages/401.vue +5 -0
  227. package/src/modules/globals/components/pages/404.vue +5 -0
  228. package/src/modules/globals/components/partials/Footer.vue +17 -5
  229. package/src/modules/globals/components/partials/Header.vue +37 -18
  230. package/src/modules/globals/components/partials/Navigation.vue +7 -2
  231. package/src/modules/landing/components/sections/MobileApp.vue +2 -2
  232. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  233. package/src/modules/landing/router/landing.js +2 -12
  234. package/src/modules/legal/components/pages/Legal.vue +2 -2
  235. package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
  236. package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
  237. package/src/modules/marketplace/router/marketplace.js +12 -10
  238. package/src/modules/marketplace/store/marketplace.js +25 -1
  239. package/src/modules/middlewares/client/auth.validation.js +5 -2
  240. package/src/modules/middlewares/server/authJwt.js +12 -6
  241. package/src/modules/middlewares/server/verifyAccesses.js +7 -3
  242. package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
  243. package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
  244. package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
  245. package/src/modules/orders/router/orders.router.js +6 -3
  246. package/src/modules/organizations/components/pages/Members.vue +2 -2
  247. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  248. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
  249. package/src/modules/organizations/router/backoffice.router.js +25 -0
  250. package/src/modules/organizations/router/organizations.js +3 -1
  251. package/src/modules/pages/router/pages.router.js +15 -0
  252. package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
  253. package/src/modules/products/components/pages/Product.vue +7 -3
  254. package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
  255. package/src/modules/products/components/sections/FilterProducts.vue +6 -6
  256. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  257. package/src/modules/products/components/sections/PopularProducts.vue +1 -3
  258. package/src/modules/products/components/sections/SectionProduct.vue +8 -8
  259. package/src/modules/spots/components/layouts/Spots.vue +33 -31
  260. package/src/modules/spots/components/pages/Map.vue +380 -353
  261. package/src/modules/spots/router/spots.js +3 -1
  262. package/src/modules/users/components/pages/Profile.vue +4 -4
  263. package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
  264. package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
  265. package/src/styles/base/all.scss +4 -0
  266. package/src/styles/config.scss +2 -1
  267. package/src/styles/layout.scss +0 -1
  268. package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
  269. package/dist/credentials.schema-CfhPcsuI.js +0 -105
  270. package/dist/index-CGIn4v5E.mjs +0 -217
  271. package/dist/index-CL9l0HRS.js +0 -216
  272. package/dist/main-8APITHuW.mjs +0 -14201
  273. package/dist/main-8N2Jmsuk.js +0 -91
  274. package/dist/main-BJvlNekm.mjs +0 -13631
  275. package/dist/main-BQisDfLk.js +0 -92
  276. package/dist/main-BV1Yv9Hy.js +0 -92
  277. package/dist/main-Ba3zK8PO.js +0 -92
  278. package/dist/main-Btlny-89.mjs +0 -14207
  279. package/dist/main-Bw0PvTs-.mjs +0 -13616
  280. package/dist/main-ByCtZbHD.mjs +0 -13752
  281. package/dist/main-CF35oB7q.js +0 -92
  282. package/dist/main-CX2ISR43.mjs +0 -13629
  283. package/dist/main-CXObXjv-.js +0 -92
  284. package/dist/main-CkeuHuCY.mjs +0 -13619
  285. package/dist/main-CnfcBov2.mjs +0 -13740
  286. package/dist/main-D0va05OD.js +0 -92
  287. package/dist/main-D50VqYhy.js +0 -91
  288. package/dist/main-D8gNZLSa.js +0 -92
  289. package/dist/main-DL3vRQCi.js +0 -92
  290. package/dist/main-DPsHxX0l.mjs +0 -13633
  291. package/dist/main-DTlUA63C.mjs +0 -13617
  292. package/dist/main-DfD5hLQo.mjs +0 -13633
  293. package/dist/main-Dh6Zfei9.js +0 -92
  294. package/dist/main-DmNP-t33.mjs +0 -13625
  295. package/dist/main-Ds3Z5x5d.mjs +0 -14206
  296. package/dist/main-DwyUYWFX.js +0 -92
  297. package/dist/main-VcxO-jAt.js +0 -92
  298. package/dist/main-cffh4bbv.js +0 -92
  299. package/dist/main-o_2eO2tP.mjs +0 -14208
  300. package/dist/main-pGo7JpSP.js +0 -92
  301. package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
  302. package/dist/metadata.schema-Cu_mPkjE.js +0 -77
  303. package/dist/metadata.schema-DWR97jhW.js +0 -54
  304. package/dist/metadata.schema-cbFgazeK.mjs +0 -78
  305. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
  306. package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
  307. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
  308. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
  309. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
  310. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
  311. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
  312. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
  313. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
  314. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
  315. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
  316. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
  317. package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
  318. package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
  319. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
  320. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
  321. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
  322. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
  323. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
  324. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
  325. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
  326. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
  327. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
  328. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
  329. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
  330. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
  331. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
  332. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
  333. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
  334. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
  335. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
  336. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
  337. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
  339. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
  341. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
  343. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
  344. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
  345. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
  346. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
  347. package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
  348. package/dist/queryProcessor-BJoJAetd.mjs +0 -162
  349. package/dist/queryProcessor-BUDoM96e.js +0 -148
  350. package/dist/queryProcessor-Cl6sU582.mjs +0 -149
  351. package/dist/queryProcessor-DRMo_GWK.js +0 -161
  352. package/dist/queryProcessor-DWf9tsis.js +0 -161
  353. package/dist/web-B2xhKZNK.js +0 -1
  354. package/dist/web-B8tq3Fda.mjs +0 -54
  355. package/dist/web-BDaOF322.js +0 -1
  356. package/dist/web-BEJCRWop.mjs +0 -54
  357. package/dist/web-BNKN7kk3.mjs +0 -54
  358. package/dist/web-BX5um81l.js +0 -1
  359. package/dist/web-ByJkgGrt.js +0 -1
  360. package/dist/web-C0sFgeYh.mjs +0 -54
  361. package/dist/web-CQQEUA9l.js +0 -1
  362. package/dist/web-CQiHBOEN.mjs +0 -54
  363. package/dist/web-CXzcKdk4.mjs +0 -54
  364. package/dist/web-CciQvENI.js +0 -1
  365. package/dist/web-CkrMHYIU.js +0 -1
  366. package/dist/web-CtVocufd.js +0 -1
  367. package/dist/web-CvRd3N_J.mjs +0 -54
  368. package/dist/web-D0ugI6ra.js +0 -1
  369. package/dist/web-D2Em-p-C.mjs +0 -54
  370. package/dist/web-D9Cfcy5k.js +0 -1
  371. package/dist/web-DEysqj0n.js +0 -1
  372. package/dist/web-DNq1tHCE.mjs +0 -54
  373. package/dist/web-DTzbVshr.mjs +0 -54
  374. package/dist/web-Douq6xn6.js +0 -1
  375. package/dist/web-DtWmpLE-.mjs +0 -54
  376. package/dist/web-TGdVOTnw.js +0 -1
  377. package/dist/web-VFuzUsNl.mjs +0 -54
  378. package/dist/web-_W9a_nWD.mjs +0 -54
  379. package/dist/web-kg3KgbAF.js +0 -1
  380. package/dist/web-nVxTNRH4.mjs +0 -54
  381. package/src/components/Magnifier/Magnifier.vue +0 -89
  382. /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.cjs +0 -0
  383. /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.js +0 -0
  384. /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.cjs +0 -0
  385. /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.js +0 -0
  386. /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.cjs +0 -0
  387. /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.js +0 -0
  388. /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
  389. /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
  390. /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
  391. /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
  392. /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
  393. /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
  394. /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
  395. /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
  396. /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -1,12 +1,12 @@
1
- import { ref as C, watch as A, onMounted as P, openBlock as a, createElementBlock as p, createVNode as g, withCtx as n, createElementVNode as c, toDisplayString as d, unref as f, Fragment as y, renderList as h, createBlock as v } from "vue";
2
- import _ from "../../../../components/Spoiler/Spoiler.vue2.js";
3
- import w from "../../../../components/Checkbox/Checkbox.vue.js";
4
- import { useI18n as T } from "vue-i18n";
5
- import { useRoute as V, useRouter as $ } from "vue-router";
6
- import { actions as B, state as F } from "../../store/categories.js";
7
- import { state as l } from "../../../marketplace/store/marketplace.js";
1
+ import { ref as C, watch as T, onMounted as A, openBlock as i, createElementBlock as m, createVNode as p, withCtx as n, createElementVNode as o, toDisplayString as f, unref as b, Fragment as g, renderList as y, createBlock as h } from "vue";
2
+ import v from "../../../../components/Spoiler/Spoiler.vue2.js";
3
+ import _ from "../../../../components/Checkbox/Checkbox.vue.js";
4
+ import { useI18n as P } from "vue-i18n";
5
+ import { useRoute as U, useRouter as V } from "vue-router";
6
+ import { actions as $, state as k } from "../../store/categories.js";
7
+ import { state as r } from "../../../marketplace/store/marketplace.js";
8
8
  import "./FilterProducts.vue2.js";
9
- const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cursor-pointer mn-r-auto t-medium p-big" }, N = /* @__PURE__ */ c("hr", { class: "mn-b-small t-transp" }, null, -1), D = { class: "cursor-pointer mn-r-auto t-medium p-big" }, J = {
9
+ const B = { class: "pd-medium bg-light radius-big" }, R = { class: "cursor-pointer mn-r-auto t-medium p-big" }, D = /* @__PURE__ */ o("hr", { class: "mn-b-small t-transp" }, null, -1), L = { class: "cursor-pointer mn-r-auto t-medium p-big" }, M = /* @__PURE__ */ o("hr", { class: "mn-b-small" }, null, -1), N = /* @__PURE__ */ o("p", { class: "cursor-pointer mn-r-auto t-medium p-big" }, "Delivery", -1), H = /* @__PURE__ */ o("hr", { class: "mn-b-semi" }, null, -1), X = {
10
10
  __name: "FilterProducts",
11
11
  props: {
12
12
  selectedFilters: Object,
@@ -29,8 +29,8 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
29
29
  }
30
30
  },
31
31
  emits: ["updateFilters", "resetFilters"],
32
- setup(x, { emit: k }) {
33
- const u = V(), j = $();
32
+ setup(w, { emit: x }) {
33
+ const c = U(), j = V();
34
34
  let E = {
35
35
  status: "published"
36
36
  };
@@ -39,29 +39,29 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
39
39
  prices: [],
40
40
  delivery: [],
41
41
  extra: []
42
- }), A(() => l.filter, (e, t) => {
43
- const r = { ...u.query };
44
- Object.keys(t).forEach((s) => {
45
- r[s] && delete r[s];
42
+ }), T(() => r.filter, (l, e) => {
43
+ const t = { ...c.query };
44
+ Object.keys(e).forEach((s) => {
45
+ t[s] && delete t[s];
46
46
  });
47
- const i = Object.fromEntries(
48
- Object.entries(e).filter(([s, o]) => Array.isArray(o) && o.length > 0).map(([s, o]) => [s, o.join(",")])
47
+ const a = Object.fromEntries(
48
+ Object.entries(l).filter(([s, u]) => Array.isArray(u) && u.length > 0).map(([s, u]) => [s, u.join(",")])
49
49
  );
50
- Object.assign(r, i), j.push({ query: r });
51
- }, { deep: !0 }), P(async () => {
52
- if (await B.fetchCategories(E), u.query) {
53
- const e = u.query, t = {
54
- categories: e.categories ? e.categories.split(",") : [],
55
- prices: e.prices ? e.prices.split(",") : [],
56
- delivery: e.delivery ? e.delivery.split(",") : []
50
+ Object.assign(t, a), j.push({ query: t });
51
+ }, { deep: !0 }), A(async () => {
52
+ if (await $.fetchCategories(E), c.query) {
53
+ const l = c.query, e = {
54
+ categories: l.categories ? l.categories.split(",") : [],
55
+ prices: l.prices ? l.prices.split(",") : [],
56
+ delivery: l.delivery ? l.delivery.split(",") : []
57
57
  // Продолжайте этот паттерн для остальных полей фильтра
58
58
  };
59
- l.filter = t;
59
+ r.filter.innerHTML = e;
60
60
  }
61
61
  });
62
- const O = k, q = () => {
62
+ const O = x, q = () => {
63
63
  O("resetFilters");
64
- }, b = {
64
+ }, F = {
65
65
  locale: "en",
66
66
  messages: {
67
67
  en: {
@@ -94,59 +94,80 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
94
94
  }
95
95
  }
96
96
  };
97
- F.all.forEach((e) => {
98
- e.localization.forEach((t) => {
99
- b.messages[t.locale].categories.push(t.text);
97
+ k.all.forEach((l) => {
98
+ l.localization.forEach((e) => {
99
+ F.messages[e.locale].categories.push(e.text);
100
100
  });
101
101
  });
102
- const { t: m } = T(b);
103
- return (e, t) => (a(), p("div", R, [
104
- g(_, {
102
+ const { t: d } = P(F);
103
+ return (l, e) => (i(), m("div", B, [
104
+ p(v, {
105
105
  class: "radius-small o-hidden mn-b-small",
106
106
  status: !0
107
107
  }, {
108
108
  header: n(() => [
109
- c("p", U, d(f(m)("categoriesTitle")), 1)
109
+ o("p", R, f(b(d)("categoriesTitle")), 1)
110
110
  ]),
111
111
  content: n(() => [
112
- (a(!0), p(y, null, h(F.all, (r, i) => (a(), v(w, {
113
- key: i,
114
- label: r.name,
115
- value: r.url,
112
+ (i(!0), m(g, null, y(k.all, (t, a) => (i(), h(_, {
113
+ key: a,
114
+ label: t.name,
115
+ value: t.url,
116
116
  class: "w-100 mn-t-small mn-b-small bg-white radius-small pd-small",
117
- radio: l.filter.categories,
118
- "onUpdate:radio": t[0] || (t[0] = (s) => l.filter.categories = s)
117
+ radio: r.filter.categories,
118
+ "onUpdate:radio": e[0] || (e[0] = (s) => r.filter.categories = s)
119
119
  }, null, 8, ["label", "value", "radio"]))), 128))
120
120
  ]),
121
121
  _: 1
122
122
  }),
123
- N,
124
- g(_, {
123
+ D,
124
+ p(v, {
125
125
  class: "radius-small o-hidden mn-b-small",
126
126
  status: !1
127
127
  }, {
128
128
  header: n(() => [
129
- c("p", D, d(f(m)("filters.price.title")), 1)
129
+ o("p", L, f(b(d)("filters.price.title")), 1)
130
130
  ]),
131
131
  content: n(() => [
132
- (a(!0), p(y, null, h(x.prices, (r, i) => (a(), v(w, {
133
- key: i,
134
- label: r.label,
135
- value: r.value,
132
+ (i(!0), m(g, null, y(w.prices, (t, a) => (i(), h(_, {
133
+ key: a,
134
+ label: t.label,
135
+ value: t.value,
136
136
  class: "w-100 mn-t-small bg-white radius-small pd-small",
137
- radio: l.filter.prices,
138
- "onUpdate:radio": t[1] || (t[1] = (s) => l.filter.prices = s)
137
+ radio: r.filter.prices,
138
+ "onUpdate:radio": e[1] || (e[1] = (s) => r.filter.prices = s)
139
139
  }, null, 8, ["label", "value", "radio"]))), 128))
140
140
  ]),
141
141
  _: 1
142
142
  }),
143
- c("button", {
143
+ M,
144
+ p(v, {
145
+ class: "radius-small o-hidden mn-b-small",
146
+ status: !1
147
+ }, {
148
+ header: n(() => [
149
+ N
150
+ ]),
151
+ content: n(() => [
152
+ (i(!0), m(g, null, y(w.deliveryOptions, (t, a) => (i(), h(_, {
153
+ key: a,
154
+ label: t.label,
155
+ value: t.value,
156
+ class: "w-100 mn-t-small bg-white radius-small pd-small",
157
+ radio: r.filter.delivery,
158
+ "onUpdate:radio": e[2] || (e[2] = (s) => r.filter.delivery = s)
159
+ }, null, 8, ["label", "value", "radio"]))), 128))
160
+ ]),
161
+ _: 1
162
+ }),
163
+ H,
164
+ o("button", {
144
165
  onClick: q,
145
166
  class: "bg-main w-100 button"
146
- }, d(f(m)("filters.reset")), 1)
167
+ }, f(b(d)("filters.reset")), 1)
147
168
  ]));
148
169
  }
149
170
  };
150
171
  export {
151
- J as default
172
+ X as default
152
173
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={class:"pd-t-8r pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},x=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),w={__name:"HeroRecommendation",setup(E){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit&nbsp→"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать&nbsp→"}}},{t:n,rt:T}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,V)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])]),x]))}};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={class:"pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},x=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),w={__name:"HeroRecommendation",setup(E){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit&nbsp→"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать&nbsp→"}}},{t:n,rt:T}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,V)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])]),x]))}};exports.default=w;
@@ -4,7 +4,7 @@ import { useRouter as x } from "vue-router";
4
4
  import { useI18n as v } from "vue-i18n";
5
5
  import "../../store/products.js";
6
6
  import "./HeroRecommendation.vue2.js";
7
- const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], k = {
7
+ const w = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], k = {
8
8
  style: { "max-width": "50rem" },
9
9
  class: "w-100 h-max gap-thin cols-6"
10
10
  }, R = ["onClick"], M = ["src"], A = { class: "t-white" }, C = /* @__PURE__ */ t("div", { class: "w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0" }, [
@@ -15,7 +15,7 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
15
15
  ], -1), Y = {
16
16
  __name: "HeroRecommendation",
17
17
  setup(E) {
18
- const r = x(), p = {
18
+ const r = x(), c = {
19
19
  messages: {
20
20
  en: {
21
21
  title: "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
@@ -58,9 +58,9 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
58
58
  action: "Передать&nbsp→"
59
59
  }
60
60
  }
61
- }, { t: o, rt: B } = v(p);
61
+ }, { t: o, rt: B } = v(c);
62
62
  let s = m("");
63
- const c = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
63
+ const p = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
64
64
  return (d, n) => (l(), a("div", w, [
65
65
  t("div", T, [
66
66
  t("h1", {
@@ -87,7 +87,7 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
87
87
  innerHTML: e(o)("subdescription")
88
88
  }, null, 8, L),
89
89
  t("div", k, [
90
- (l(), a(h, null, g(c, (i, S) => t("a", {
90
+ (l(), a(h, null, g(p, (i, S) => t("a", {
91
91
  key: i,
92
92
  onClick: _((V) => e(r).push({ name: "Product Recommmendation", query: { mood: i } }), ["stop"]),
93
93
  class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("vue-router"),b=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),h=require("../../../../components/Loader/Loader.vue2.cjs"),g=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const B={id:"popularProducts",class:"pd-thin"},q={class:"bg-light radius-big pd-t-big pd-b-big"},y=["innerHTML"],E={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},N={__name:"PopularProducts",setup(I){_.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=b.useI18n(l),s=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),r=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{s.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),r(),a(),t.value.on("reInit",r),t.value.on("reInit",a),t.value.on("select",a)}),(o,O)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",q,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,y),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(n,m,V)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(h.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)])]))}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),_=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),g=require("../../../../components/Loader/Loader.vue2.cjs"),h=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const B={id:"popularProducts",class:"bg-light radius-big pd-t-big pd-b-big"},q=["innerHTML"],y={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},E={__name:"PopularProducts",setup(I){b.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=_.useI18n(l),r=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),s=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{r.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),s(),a(),t.value.on("reInit",s),t.value.on("reInit",a),t.value.on("select",a)}),(o,N)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,q),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(n,m,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(g.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)]))}};exports.default=E;
@@ -1,4 +1,4 @@
1
- import { ref as i, onMounted as g, openBlock as o, createElementBlock as a, createElementVNode as s, unref as v, Fragment as k, renderList as y, createVNode as u, Transition as S, withCtx as I, createBlock as x } from "vue";
1
+ import { ref as r, onMounted as g, openBlock as o, createElementBlock as a, createElementVNode as i, unref as v, Fragment as k, renderList as y, createVNode as u, Transition as S, withCtx as I, createBlock as x } from "vue";
2
2
  import { useRouter as L } from "vue-router";
3
3
  import { useI18n as O } from "vue-i18n";
4
4
  import N from "../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
@@ -9,15 +9,15 @@ import { actions as E } from "../../store/products.js";
9
9
  import "./PopularProducts.vue2.js";
10
10
  const M = {
11
11
  id: "popularProducts",
12
- class: "pd-thin"
13
- }, P = { class: "bg-light radius-big pd-t-big pd-b-big" }, z = ["innerHTML"], T = { class: "embla__container" }, V = {
12
+ class: "bg-light radius-big pd-t-big pd-b-big"
13
+ }, P = ["innerHTML"], z = { class: "embla__container" }, T = {
14
14
  key: 0,
15
15
  class: "h-100 w-100 radius-big flex-center bg-light"
16
- }, U = {
16
+ }, Q = {
17
17
  __name: "PopularProducts",
18
- setup($) {
18
+ setup(V) {
19
19
  L();
20
- const d = {
20
+ const p = {
21
21
  messages: {
22
22
  en: {
23
23
  title: "<b>Best Sellers 🔥</b>",
@@ -28,7 +28,7 @@ const M = {
28
28
  subtitle: "Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"
29
29
  }
30
30
  }
31
- }, { t: p } = O(d), l = i(10), m = i(0), _ = i([]), b = {
31
+ }, { t: m } = O(p), l = r(10), d = r(0), _ = r([]), b = {
32
32
  delay: 2e3,
33
33
  jump: !1,
34
34
  stopOnInteraction: !1,
@@ -36,58 +36,56 @@ const M = {
36
36
  stopOnFocusIn: !0,
37
37
  stopOnLastSnap: !1,
38
38
  rootNode: (t) => t.parentElement
39
- }, [f, e] = N({ loop: !0 }, [w(b)]), c = (t) => _.value = e.value.scrollSnapList(), r = (t) => m.value = e.value.selectedScrollSnap();
39
+ }, [f, e] = N({ loop: !0 }, [w(b)]), c = (t) => _.value = e.value.scrollSnapList(), s = (t) => d.value = e.value.selectedScrollSnap();
40
40
  return g(async () => {
41
41
  l.value = await E.read({
42
42
  limit: 10,
43
43
  organization: "657e7134efb8110c51b8b713"
44
- }), c(), r(), e.value.on("reInit", c), e.value.on("reInit", r), e.value.on("select", r);
45
- }), (t, A) => (o(), a("div", M, [
46
- s("div", P, [
47
- s("h2", {
48
- class: "mn-b-semi t-center",
49
- innerHTML: v(p)("title")
50
- }, null, 8, z),
51
- s("div", {
52
- class: "embla",
53
- ref_key: "emblaNode",
54
- ref: f
55
- }, [
56
- s("div", T, [
57
- (o(!0), a(k, null, y(l.value, (n, h, F) => (o(), a("div", {
58
- class: "embla__slide pd-nano",
59
- key: h
60
- }, [
61
- u(S, {
62
- name: "fade",
63
- mode: "out-in",
64
- appear: ""
65
- }, {
66
- default: I(() => [
67
- n.name ? (o(), x(C, {
68
- key: 1,
69
- onClick: (H) => t.$router.push({
70
- name: "Product Organization",
71
- params: {
72
- _id: n.organization,
73
- product: n._id
74
- }
75
- }),
76
- product: n,
77
- class: "cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"
78
- }, null, 8, ["onClick", "product"])) : (o(), a("div", V, [
79
- u(B, { class: "pos-relative" })
80
- ]))
81
- ]),
82
- _: 2
83
- }, 1024)
84
- ]))), 128))
85
- ])
86
- ], 512)
87
- ])
44
+ }), c(), s(), e.value.on("reInit", c), e.value.on("reInit", s), e.value.on("select", s);
45
+ }), (t, $) => (o(), a("div", M, [
46
+ i("h2", {
47
+ class: "mn-b-semi t-center",
48
+ innerHTML: v(m)("title")
49
+ }, null, 8, P),
50
+ i("div", {
51
+ class: "embla",
52
+ ref_key: "emblaNode",
53
+ ref: f
54
+ }, [
55
+ i("div", z, [
56
+ (o(!0), a(k, null, y(l.value, (n, h, A) => (o(), a("div", {
57
+ class: "embla__slide pd-nano",
58
+ key: h
59
+ }, [
60
+ u(S, {
61
+ name: "fade",
62
+ mode: "out-in",
63
+ appear: ""
64
+ }, {
65
+ default: I(() => [
66
+ n.name ? (o(), x(C, {
67
+ key: 1,
68
+ onClick: (F) => t.$router.push({
69
+ name: "Product Organization",
70
+ params: {
71
+ _id: n.organization,
72
+ product: n._id
73
+ }
74
+ }),
75
+ product: n,
76
+ class: "cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"
77
+ }, null, 8, ["onClick", "product"])) : (o(), a("div", T, [
78
+ u(B, { class: "pos-relative" })
79
+ ]))
80
+ ]),
81
+ _: 2
82
+ }, 1024)
83
+ ]))), 128))
84
+ ])
85
+ ], 512)
88
86
  ]));
89
87
  }
90
88
  };
91
89
  export {
92
- U as default
90
+ Q as default
93
91
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),f=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),p={class:"cols-2-1_2 w-100 gap-big"},b={class:"flex-nowrap flex-column flex pos-relative"},y={class:"h-100 h-max-50vh bg-light radius-big o-hidden"},B=["src"],v={class:"pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},x={class:"w-100 pd-small radius-small bg-light-transp-30 product-information"},q={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=f.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-100 bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-medium"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",x,[e.createElementVNode("p",q,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
@@ -1,4 +1,4 @@
1
- import { computed as v, openBlock as e, createElementBlock as a, createElementVNode as s, createBlock as m, createCommentVNode as o, toDisplayString as n, unref as l, createVNode as g, Fragment as y, renderList as w, withCtx as x, createTextVNode as k } from "vue";
1
+ import { computed as y, openBlock as e, createElementBlock as a, createElementVNode as s, createBlock as m, createCommentVNode as o, toDisplayString as r, unref as l, createVNode as g, Fragment as v, renderList as w, withCtx as k, createTextVNode as x } from "vue";
2
2
  import z from "../../../../components/Button/Button.vue2.js";
3
3
  import I from "../../../icons/placeholders/PlaceholderImage.vue.js";
4
4
  import C from "../blocks/Images360.vue.js";
@@ -7,7 +7,7 @@ import "../elements/THC.vue2.js";
7
7
  import P from "../elements/Price.vue.js";
8
8
  import { useI18n as S } from "vue-i18n";
9
9
  import { state as u, actions as T } from "../../../orders/store/shopcart.js";
10
- const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-column flex pos-relative" }, A = { class: "h-100 h-max-50vh bg-light radius-big o-hidden" }, N = ["src"], R = { class: "pos-relative w-100 h-100 flex-column flex-justify flex col" }, B = {
10
+ const V = { class: "cols-2-1_2 w-100 gap-thin" }, j = { class: "pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative" }, A = { class: "w-100 bg-light radius-semi o-hidden" }, N = ["src"], R = { class: "pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col" }, B = {
11
11
  key: 0,
12
12
  class: "t-main t-semi p-big"
13
13
  }, F = { class: "w-100 h1-product mn-b-thin" }, L = {
@@ -19,7 +19,7 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
19
19
  }, q = {
20
20
  key: 3,
21
21
  class: "w-100 mn-b-medium t-transp"
22
- }, O = { class: "cols-2 w-100 gap-small mn-b-semi" }, D = { class: "w-100 pd-small radius-small bg-light-transp-30 product-information" }, U = { class: "t-demi" }, Y = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, tt = {
22
+ }, O = { class: "cols-2 w-100 gap-small mn-b-semi" }, D = { class: "w-100 pd-small radius-small bg-grey-transp-10 product-information" }, U = { class: "t-demi" }, Y = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, tt = {
23
23
  __name: "SectionProduct",
24
24
  props: {
25
25
  product: {
@@ -34,7 +34,7 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
34
34
  }
35
35
  },
36
36
  setup(t) {
37
- const h = t, r = v(() => h.product.images), f = {
37
+ const h = t, n = y(() => h.product.images), f = {
38
38
  messages: {
39
39
  en: {
40
40
  airecommend: "AI Recommends You",
@@ -65,39 +65,39 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
65
65
  imagePath: `/assets/images/products/${t.product.image3d}`,
66
66
  imageCount: 36
67
67
  }, null, 8, ["imagePath"])) : o("", !0),
68
- r.value[0] && !t.product.image3d ? (e(), a("img", {
68
+ n.value[0] && !t.product.image3d ? (e(), a("img", {
69
69
  key: 1,
70
- class: "h-100 bg-light w-100",
70
+ class: "h-auto bg-light w-100",
71
71
  style: { "object-fit": "contain" },
72
- src: (i.FILE_SERVER_URL || "") + r.value[0]
72
+ src: (i.FILE_SERVER_URL || "") + n.value[0]
73
73
  }, null, 8, N)) : o("", !0),
74
- !r.value[0] && !t.product.image3d ? (e(), m(I, {
74
+ !n.value[0] && !t.product.image3d ? (e(), m(I, {
75
75
  key: 2,
76
76
  class: "h-100 w-100",
77
77
  style: { "object-fit": "cover" }
78
78
  })) : o("", !0)
79
79
  ]),
80
- r.value.length > 1 ? (e(), m(E, {
80
+ n.value.length > 1 ? (e(), m(E, {
81
81
  key: 0,
82
- images: r.value,
83
- class: "mn-t-medium"
82
+ images: n.value,
83
+ class: "mn-t-thin"
84
84
  }, null, 8, ["images"])) : o("", !0)
85
85
  ]),
86
86
  s("div", R, [
87
- t.recommendation ? (e(), a("h2", B, n(l(c)("airecommend")), 1)) : o("", !0),
88
- s("h1", F, n(t.product.name), 1),
87
+ t.recommendation ? (e(), a("h2", B, r(l(c)("airecommend")), 1)) : o("", !0),
88
+ s("h1", F, r(t.product.name), 1),
89
89
  g(P, {
90
90
  product: t.product,
91
91
  size: "big",
92
92
  class: "mn-b-semi"
93
93
  }, null, 8, ["product"]),
94
- t.recommendation ? (e(), a("h3", L, n(t.recommendation), 1)) : o("", !0),
95
- t.product.description && !t.product.localization < 1 && !t.recommendation ? (e(), a("p", $, n(t.product.description), 1)) : o("", !0),
96
- t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (e(), a("p", q, n(l(c)("description")), 1)) : o("", !0),
94
+ t.recommendation ? (e(), a("h3", L, r(t.recommendation), 1)) : o("", !0),
95
+ t.product.description && !t.product.localization < 1 && !t.recommendation ? (e(), a("p", $, r(t.product.description), 1)) : o("", !0),
96
+ t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (e(), a("p", q, r(l(c)("description")), 1)) : o("", !0),
97
97
  s("div", O, [
98
- t.product.information.length > 0 ? (e(!0), a(y, { key: 0 }, w(t.product.information, (d) => (e(), a("div", D, [
99
- s("p", U, n(d.name), 1),
100
- s("p", null, n(d.value), 1)
98
+ t.product.information.length > 0 ? (e(!0), a(v, { key: 0 }, w(t.product.information, (d) => (e(), a("div", D, [
99
+ s("p", U, r(d.name), 1),
100
+ s("p", null, r(d.value), 1)
101
101
  ]))), 256)) : o("", !0)
102
102
  ]),
103
103
  s("div", Y, [
@@ -108,10 +108,10 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
108
108
  success: " ✔ Added",
109
109
  error: "error"
110
110
  },
111
- class: "w-100 mn-r-small bg-main button"
111
+ class: "h-3r w-100 mn-r-small bg-main button"
112
112
  }, {
113
- default: x(() => [
114
- k(n(l(c)("addtoorder")), 1)
113
+ default: k(() => [
114
+ x(r(l(c)("addtoorder")), 1)
115
115
  ]),
116
116
  _: 1
117
117
  }, 8, ["submit", "disabled"])
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue2.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue2.cjs"),f=require("../../store/reports.cjs"),b=e.createElementVNode("h3",{class:"mn-b-small"}," Report Content ",-1),g=e.createElementVNode("p",{class:"p-medium mn-b-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),v=e.createElementVNode("p",{class:"p-medium mn-b-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),h={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(i){const t=i,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function l(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:o[1]||(o[1]=n=>u())},[e.renderSlot(p.$slots,"default"),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[b,g,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[0]||(o[0]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),v,e.createVNode(d.default,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])]))}};exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue.cjs"),f=require("../../store/reports.cjs"),b=e.createElementVNode("h3",{class:"mn-b-small"}," Report Content ",-1),g=e.createElementVNode("p",{class:"p-medium mn-b-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),v=e.createElementVNode("p",{class:"p-medium mn-b-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),h={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(i){const t=i,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function l(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:o[1]||(o[1]=n=>u())},[e.renderSlot(p.$slots,"default"),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[b,g,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[0]||(o[0]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),v,e.createVNode(d.default,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])]))}};exports.default=h;
@@ -1,7 +1,7 @@
1
1
  import { reactive as d, ref as f, openBlock as b, createElementBlock as g, renderSlot as h, createVNode as s, withCtx as l, createTextVNode as y, createElementVNode as a } from "vue";
2
- import _ from "../../../../components/Popup/Popup.vue2.js";
2
+ import _ from "../../../../components/Popup/Popup.vue.js";
3
3
  import v from "../../../../components/Button/Button.vue2.js";
4
- import w from "../../../../components/Select/Select.vue2.js";
4
+ import w from "../../../../components/Select/Select.vue.js";
5
5
  import { actions as S } from "../../store/reports.js";
6
6
  const k = /* @__PURE__ */ a("h3", { class: "mn-b-small" }, " Report Content ", -1), P = /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1), R = /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1), O = {
7
7
  __name: "FormReport",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.vue.cjs"),d=require("../../../../components/Map/Map.vue.cjs");require("./CardSpot.vue2.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=t=>(e.pushScopeId("data-v-fba16034"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden pos-relative cols-2-1_3"},u={class:"pd-medium w-100"},m=["innerHTML"],h={class:"d-block p-big mn-b-semi"},g=l(()=>e.createElementVNode("h4",null,"Delivery:",-1)),y=l(()=>e.createElementVNode("h4",null,"Accepted Payment:",-1)),b={__name:"CardSpot",props:{spot:Object,organization:Object},setup(t){const i=t;return(o,n)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(d.default,{apiKey:o.GOOGLE_MAPS_API_KEY,location:{lat:t.spot.location.coordinates[1],lng:t.spot.location.coordinates[0]},locale:o.$i18n.locale,class:""},null,8,["apiKey","location","locale"]),e.createElementVNode("div",u,[e.createVNode(r.default,{onClick:n[0]||(n[0]=a=>o.$router.push({name:"Spot Edit",params:{_id:i.organization._id,spot:t.spot._id}})),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"}),e.createElementVNode("p",{onClick:n[1]||(n[1]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"pd-thin bg-white radius-small mn-b-thin p-small w-max"},e.toDisplayString(t.spot.address),1),e.createElementVNode("h3",{onClick:n[2]||(n[2]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"mn-b-thin w-100",innerHTML:t.spot.profile.name},null,8,m),e.createElementVNode("p",h,e.toDisplayString(t.spot.profile.description),1),g,o.type!=="short"&&t.spot.delivery.length>0?(e.openBlock(),e.createBlock(s.default,{key:0,chips:t.spot.delivery},null,8,["chips"])):e.createCommentVNode("",!0),y,o.type!=="short"&&t.spot.payment.length>0?(e.openBlock(),e.createBlock(s.default,{key:1,chips:t.spot.payment},null,8,["chips"])):e.createCommentVNode("",!0)])]))}},v=c.default(b,[["__scopeId","data-v-fba16034"]]);exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.vue2.cjs"),d=require("../../../../components/Map/Map.vue.cjs");require("./CardSpot.vue2.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=t=>(e.pushScopeId("data-v-fba16034"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden pos-relative cols-2-1_3"},u={class:"pd-medium w-100"},m=["innerHTML"],h={class:"d-block p-big mn-b-semi"},g=l(()=>e.createElementVNode("h4",null,"Delivery:",-1)),y=l(()=>e.createElementVNode("h4",null,"Accepted Payment:",-1)),b={__name:"CardSpot",props:{spot:Object,organization:Object},setup(t){const i=t;return(o,n)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(d.default,{apiKey:o.GOOGLE_MAPS_API_KEY,location:{lat:t.spot.location.coordinates[1],lng:t.spot.location.coordinates[0]},locale:o.$i18n.locale,class:""},null,8,["apiKey","location","locale"]),e.createElementVNode("div",u,[e.createVNode(r.default,{onClick:n[0]||(n[0]=a=>o.$router.push({name:"Spot Edit",params:{_id:i.organization._id,spot:t.spot._id}})),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"}),e.createElementVNode("p",{onClick:n[1]||(n[1]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"pd-thin bg-white radius-small mn-b-thin p-small w-max"},e.toDisplayString(t.spot.address),1),e.createElementVNode("h3",{onClick:n[2]||(n[2]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"mn-b-thin w-100",innerHTML:t.spot.profile.name},null,8,m),e.createElementVNode("p",h,e.toDisplayString(t.spot.profile.description),1),g,o.type!=="short"&&t.spot.delivery.length>0?(e.openBlock(),e.createBlock(s.default,{key:0,chips:t.spot.delivery},null,8,["chips"])):e.createCommentVNode("",!0),y,o.type!=="short"&&t.spot.payment.length>0?(e.openBlock(),e.createBlock(s.default,{key:1,chips:t.spot.payment},null,8,["chips"])):e.createCommentVNode("",!0)])]))}},v=c.default(b,[["__scopeId","data-v-fba16034"]]);exports.default=v;
@@ -1,6 +1,6 @@
1
1
  import { openBlock as n, createElementBlock as u, createVNode as l, createElementVNode as i, toDisplayString as r, createBlock as p, createCommentVNode as d, pushScopeId as h, popScopeId as g } from "vue";
2
2
  import f from "../../../icons/navigation/IconEdit.vue.js";
3
- import c from "../../../../components/Chips/Chips.vue.js";
3
+ import c from "../../../../components/Chips/Chips.vue2.js";
4
4
  import y from "../../../../components/Map/Map.vue.js";
5
5
  import "./CardSpot.vue2.js";
6
6
  import b from "../../../../../../_virtual/_plugin-vue_export-helper.js";