@ozdao/prometheus-framework 0.2.39 → 0.2.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. package/dist/auth.server.js +1 -2
  2. package/dist/auth.server.mjs +1 -2
  3. package/dist/files.server.js +1 -2
  4. package/dist/files.server.mjs +1 -2
  5. package/dist/globals.server.js +1 -1
  6. package/dist/globals.server.mjs +1 -1
  7. package/dist/mailing-10560277.mjs +78 -0
  8. package/dist/mailing-902d13d5.js +77 -0
  9. package/dist/main.css +1 -1
  10. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
  12. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
  14. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
  16. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
  18. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +13 -9
  20. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
  21. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -0
  22. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +26 -22
  24. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +29 -30
  26. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
  28. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
  30. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
  32. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  33. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
  34. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
  36. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  37. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
  38. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -0
  39. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -0
  40. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
  42. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
  44. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  46. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  50. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  52. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  54. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  56. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  58. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -8
  60. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/community/community.client.js +18 -20
  64. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +88 -62
  66. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +97 -68
  68. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +35 -34
  70. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +18 -18
  72. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
  73. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
  75. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +4 -4
  77. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +65 -19
  79. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +9 -9
  81. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +8 -7
  83. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -6
  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 +65 -2
  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 +2 -65
  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 +64 -70
  91. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
  92. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  98. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +6 -5
  100. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  102. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +43 -42
  106. package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.cjs +1 -0
  107. package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.js +30 -0
  108. package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.cjs +1 -0
  109. package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.js +47 -0
  110. package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.cjs +1 -0
  111. package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.js +28 -0
  112. package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.cjs +1 -0
  113. package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.js +45 -0
  114. package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.cjs +1 -0
  115. package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.js +32 -0
  116. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +3 -3
  118. package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.js +25 -14
  120. package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.cjs +1 -0
  121. package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.js +44 -0
  122. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +90 -67
  124. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  126. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  128. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  130. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  132. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  134. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -42
  138. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  140. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  142. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  144. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +3 -3
  148. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  150. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +60 -55
  154. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  156. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  158. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  160. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  162. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +18 -17
  164. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +20 -21
  166. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -7
  167. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  169. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  171. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  173. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  177. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  181. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  183. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +37 -34
  185. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
  187. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  189. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  190. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -7
  192. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  194. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  196. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  198. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
  200. package/dist/prometheus-framework.cjs.js +20 -20
  201. package/dist/prometheus-framework.es.js +1278 -1288
  202. package/dist/style.css +1 -1
  203. package/package.json +1 -1
  204. package/src/components/Button/Button.vue +2 -3
  205. package/src/components/Chips/Chips.vue +9 -3
  206. package/src/components/Countdown/Countdown.vue +4 -3
  207. package/src/components/Dropdown/Dropdown.vue +9 -3
  208. package/src/components/Feed/Feed.vue +7 -11
  209. package/src/components/Feed/Masonry.vue +177 -0
  210. package/src/components/FieldBig/FieldBig.vue +3 -3
  211. package/src/components/Header/Header.vue +2 -0
  212. package/src/components/Navigation/Navigation.vue +2 -0
  213. package/src/components/Shader/Shader.vue +161 -116
  214. package/src/components/Slider/Slider.vue +92 -0
  215. package/src/modules/applications/applications.client.js +2 -0
  216. package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
  217. package/src/modules/applications/controllers/applications.controller.js +125 -136
  218. package/src/modules/applications/models/application.model.js +22 -7
  219. package/src/modules/applications/routes/applications.routes.js +29 -13
  220. package/src/modules/auth/controllers/auth.controller.js +2 -3
  221. package/src/modules/auth/store/auth.js +3 -5
  222. package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
  223. package/src/modules/chats/components/pages/ChatPage.vue +6 -6
  224. package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
  225. package/src/modules/chats/store/chat.store.js +6 -1
  226. package/src/modules/community/community.client.js +0 -2
  227. package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
  228. package/src/modules/community/components/layouts/Community.vue +65 -26
  229. package/src/modules/community/components/pages/Blog.vue +37 -0
  230. package/src/modules/community/components/pages/BlogPost.vue +5 -6
  231. package/src/modules/community/components/pages/Community.vue +1 -0
  232. package/src/modules/community/components/pages/CreateBlogPost.vue +1 -0
  233. package/src/modules/community/components/sections/Feed.vue +1 -1
  234. package/src/modules/community/components/sections/HotPosts.vue +64 -24
  235. package/src/modules/community/components/sections/JoinUs.vue +4 -5
  236. package/src/modules/community/store/blogposts.js +1 -0
  237. package/src/modules/constructor/components/elements/Embed.vue +7 -6
  238. package/src/modules/constructor/components/elements/Image.vue +2 -2
  239. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  240. package/src/modules/constructor/components/sections/Constructor.vue +3 -19
  241. package/src/modules/events/components/pages/EditEvent.vue +48 -3
  242. package/src/modules/events/components/pages/Event.vue +16 -8
  243. package/src/modules/events/components/sections/HeroEvent.vue +32 -28
  244. package/src/modules/events/components/sections/SectionMainGuest.vue +3 -2
  245. package/src/modules/events/components/sections/SectionPreviousEvents.vue +22 -15
  246. package/src/modules/events/models/event.model.js +9 -0
  247. package/src/modules/files/middlewares/server/middlewareBusboy.js +14 -3
  248. package/src/modules/files/routes/files.routes.js +9 -1
  249. package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
  250. package/src/modules/globals/utils/mailing.js +12 -0
  251. package/src/modules/icons/entities/IconEarn.vue +20 -0
  252. package/src/modules/icons/entities/IconFeatured.vue +14 -0
  253. package/src/modules/icons/entities/IconFollowing.vue +17 -0
  254. package/src/modules/icons/entities/IconPopular.vue +14 -0
  255. package/src/modules/icons/entities/IconRecent.vue +17 -0
  256. package/src/modules/icons/navigation/IconAdd.vue +1 -3
  257. package/src/modules/icons/navigation/IconArrow.vue +21 -0
  258. package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
  259. package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
  260. package/src/modules/icons/navigation/IconEdit.vue +16 -2
  261. package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
  262. package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
  263. package/src/modules/landing/components/sections/MobileApp.vue +38 -21
  264. package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
  265. package/src/modules/landing/components/sections/SectionFeatures.vue +7 -8
  266. package/src/modules/marketplace/components/layouts/Marketplace.vue +3 -3
  267. package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
  268. package/src/modules/orders/components/pages/Order.vue +3 -4
  269. package/src/modules/orders/store/shopcart.js +21 -5
  270. package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
  271. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  272. package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
  273. package/src/modules/organizations/components/sections/Publics.vue +3 -4
  274. package/src/modules/payments/controller/payments.controller.js +54 -200
  275. package/src/modules/payments/controller/payments.tinkoff.controller.js +242 -0
  276. package/src/modules/payments/models/payment.model.js +22 -0
  277. package/src/modules/payments/routes/payments.routes.js +4 -25
  278. package/src/modules/payments/routes/payments.tinkoff.routes.js +58 -0
  279. package/src/modules/products/components/pages/Product.vue +3 -1
  280. package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
  281. package/src/modules/products/components/sections/MenuSection.vue +4 -4
  282. package/src/modules/products/components/sections/PopularProducts.vue +3 -3
  283. package/src/modules/products/components/sections/SectionProduct.vue +3 -0
  284. package/src/modules/products/controllers/products.controller.js +188 -109
  285. package/src/modules/products/models/product.model.js +1 -0
  286. package/src/modules/spots/components/layouts/Spots.vue +2 -2
  287. package/src/modules/wallet/components/pages/Wallet.vue +73 -88
  288. package/src/modules/wallet/controllers/crypto.controller.js +79 -0
  289. package/src/modules/wallet/models/wallet.model.js +27 -0
  290. package/src/styles/base/all.scss +4 -0
  291. package/src/styles/base/backgrounds.scss +2 -2
  292. package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
  293. package/src/styles/typography.scss +19 -12
  294. package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
  295. package/src/modules/constructor/components/elements/Youtube.vue +0 -52
  296. /package/src/modules/{orders/models/payment.model.js → payments/models/payment.tinkoff.model.js} +0 -0
@@ -0,0 +1,242 @@
1
+
2
+ var jwt = require("jsonwebtoken");
3
+ var axios = require('axios');
4
+ var bcrypt = require("bcryptjs");
5
+ var crypto = require('crypto');
6
+ const { v4: uuidv4 } = require('uuid');
7
+
8
+ var TerminalKey = process.env.TINKOFF_TERMINAL_KEY;
9
+ var TerminalPassword = process.env.TINKOFF_TERMINAL_PASSWORD;
10
+
11
+ const controllerFactory = (db) => {
12
+ const Payment = db.payment;
13
+ const Order = db.order;
14
+
15
+ const getAll = (req, res) => {
16
+ Payment.find({}).sort({'createdAt': 'desc'}).exec((err, paymentes) => {
17
+ // If error
18
+ if (err) {return res.status(500).send({ message: err }); }
19
+ // If not found
20
+ if (!paymentes) {return res.status(404).send({ message: "Paymentes not found." }); }
21
+ // If succes
22
+ res.status(200).send(paymentes);
23
+ });
24
+ };
25
+
26
+ const create = (req, res) => {
27
+ console.log(req.body)
28
+ Payment.create({
29
+ type: req.body.type,
30
+ order: req.body.order,
31
+ positions: req.body.positions
32
+ }, (err, payment) => {
33
+ if (err) {return res.status(500).send({ message: err }); }
34
+ if (!payment) {return res.status(404).send({ message: "Something wrong when updating product. (with files)" }); }
35
+ res.status(200).send(payment);
36
+ })
37
+ };
38
+
39
+ const get = (req, res) => {
40
+ Payment.findOne({ _id: req.params._id }).exec((err, payment) => {
41
+ // If error
42
+ if (err) {return res.status(500).send({ message: err }); }
43
+ // If not found
44
+ if (!payment) {return res.status(404).send({ message: "Payment not found." }); }
45
+ // If succes
46
+ res.status(200).send(payment);
47
+ });
48
+ };
49
+
50
+ const update = (req, res) => {
51
+
52
+ Payment.findOneAndUpdate({ PaymentId: req.params._id }, req.body, { new: true, upsert: true}).exec((err, payment) => {
53
+ // If error
54
+ if (err) {return res.status(500).send({ message: err }); }
55
+ // If not found
56
+ if (!payment) {return res.status(404).send({ message: "Payment not found." }); }
57
+ // If succes
58
+ res.status(200).send(payment);
59
+ });
60
+ };
61
+
62
+ const deletePayment = (req, res) => {
63
+ Payment.findOneAndDelete({_id: req.params._id}, (err, payment) => {
64
+ if (err) {return res.status(500).send({ message: err }); }
65
+ if (!payment) {return res.status(404).send({ message: "Something wrong when deleting payment." }); }
66
+ res.status(200).send(payment);
67
+ })
68
+ };
69
+
70
+ function createToken (request) {
71
+ request = Object.entries(request).map(function(key) {
72
+ return { [key[0]]: key[1] }
73
+ })
74
+ request.push({Password: TerminalPassword})
75
+ request.sort(function(a, b){
76
+ if(Object.keys(a)[0] < Object.keys(b)[0]) { return -1; }
77
+ if(Object.keys(a)[0] > Object.keys(b)[0]) { return 1; }
78
+ return 0;
79
+ })
80
+ const requestContacted = request.map(function(key) {
81
+ return Object.values(key)[0]
82
+ }).join("")
83
+
84
+ const hash = crypto.createHash('sha256').update(requestContacted).digest('hex');
85
+
86
+ return hash
87
+ }
88
+ const newpayment = (req, res) => {
89
+ // Data for payment init
90
+ console.log(req.body.phone);
91
+ // Send request to Tinkoff
92
+ axios.post('https://securepay.tinkoff.ru/v2/Init', {
93
+ TerminalKey: TerminalKey,
94
+ Amount: '350000',
95
+ OrderId: req.body._id,
96
+ Recurrent: 'y',
97
+ PayType: "О",
98
+ CustomerKey: req.body.phone,
99
+ Description: 'Оплата в интернет-магазине',
100
+ Data: {
101
+ phone: req.body.phone,
102
+ },
103
+ // SuccessURL: 'http://tandem.ohmybike.ru/rent/' + OrderId,
104
+ // FailURL: 'http://tandem.ohmybike.ru/account'
105
+ // SuccessURL: 'http://localhost:8082/rent/' + OrderId,
106
+ // FailURL: 'http://localhost:8082/account'
107
+ }).then(function(response) {
108
+ const payment = new Payment(response.data);
109
+ payment.save((err, payment) => {
110
+ if (err) {
111
+ res.status(500).send({ message: err });
112
+ return;
113
+ }
114
+
115
+ payment.save(err => {
116
+ if (err) {
117
+ res.status(500).send({ message: err });
118
+ return;
119
+ }
120
+ res.send(response.data);
121
+ });
122
+ })
123
+ }).catch(function(error) {
124
+ res.send(error);
125
+ })
126
+
127
+ };
128
+ const setpayment = (req, res) => {
129
+ // Data for payment
130
+ const payment = new Payment({
131
+ OrderId: req.body.OrderId,
132
+ Success: req.body.Success,
133
+ Status: req.body.Status,
134
+ PaymentId: req.body.PaymentId,
135
+ ErrorCode: req.body.ErrorCode,
136
+ Message: req.body.Message,
137
+ Details: req.body.Details
138
+ });
139
+ // Wright to db
140
+ console.log(payment)
141
+
142
+ payment.save((err, payment) => {
143
+ if (err) {
144
+ res.status(500).send({ message: err });
145
+ return;
146
+ }
147
+
148
+ payment.save(err => {
149
+ if (err) {
150
+ res.status(500).send({ message: err });
151
+ return;
152
+ }
153
+
154
+ res.send({ message: "Payment was created successfully!" });
155
+ });
156
+ })
157
+ };
158
+ const getstatus = (req, res) => {
159
+ console.log(req.body.order)
160
+ Payment.findOne({
161
+ OrderId: req.body.order
162
+ })
163
+ .sort({createdAt: -1})
164
+ .exec((err, payment) => {
165
+ if (err) {
166
+ res.status(500).send({ message: err });
167
+ return;
168
+ }
169
+ if (!payment) {
170
+ return res.status(404).send({ message: "Payment Not found." });
171
+ }
172
+
173
+
174
+ if (payment.Status === 'CONFIRMED') {
175
+ console.log(payment.Status)
176
+ console.log(req.body.order)
177
+ Order.findOneAndUpdate({ _id: req.body.order, status: 'Подтвержден' }, {$set: {status: "Ожидает отправки"}},{ new: true}).catch(function(error) {
178
+ res.status(500).send(error);
179
+ });
180
+ }
181
+
182
+ axios.post('https://securepay.tinkoff.ru/v2/GetState', {
183
+ TerminalKey: TerminalKey,
184
+ PaymentId: payment.PaymentId,
185
+ Token: createToken({TerminalKey: TerminalKey, PaymentId: payment.PaymentId})
186
+ }).then(function(response) {
187
+ payment.Status = response.data.Status
188
+ payment.save()
189
+ res.send(response.data);
190
+ }).catch(function(error) {
191
+ res.status(500).send(error);
192
+ });
193
+ });
194
+ };
195
+
196
+ const addcustomer = (req, res) => {
197
+ console.log(req.body)
198
+
199
+ axios.post('https://securepay.tinkoff.ru/v2/AddCustomer', {
200
+ TerminalKey: TerminalKey,
201
+ CustomerKey: req.body,
202
+ Token: createToken({TerminalKey: TerminalKey, CustomerKey: req.body.phone})
203
+ })
204
+ .then(function(response) {
205
+ res.send(response.data);
206
+ })
207
+ .catch(function(error) {
208
+ res.status(500).send(error);
209
+ });
210
+ }
211
+
212
+ const getcustomercards = (req, res) => {
213
+ axios.post('https://securepay.tinkoff.ru/v2/GetCardList', {
214
+ TerminalKey: TerminalKey,
215
+ CustomerKey: req.body.phone,
216
+ Token: createToken({TerminalKey: TerminalKey, CustomerKey: req.body.phone})
217
+ })
218
+ .then(function(response) {
219
+ console.log(response.data)
220
+ res.send(response.data);
221
+ })
222
+ .catch(function(error) {
223
+ res.status(500).send(error);
224
+ });
225
+ }
226
+
227
+ return {
228
+ getAll,
229
+ create,
230
+ get,
231
+ update,
232
+ delete: deletePayment,
233
+ createToken,
234
+ newpayment,
235
+ setpayment,
236
+ getstatus,
237
+ addcustomer,
238
+ getcustomercards
239
+ };
240
+ };
241
+
242
+ module.exports = controllerFactory;
@@ -0,0 +1,22 @@
1
+ module.exports = (db) => {
2
+
3
+ const PaymentSchema = new db.mongoose.Schema({
4
+ creator: {
5
+ type: db.mongoose.Schema.Types.ObjectId,
6
+ ref: 'User',
7
+ },
8
+ owner: {
9
+ type: db.mongoose.Schema.Types.ObjectId,
10
+ ref: 'User',
11
+ }
12
+ }, {
13
+ timestamps: {
14
+ currentTime: () => Date.now()
15
+ }
16
+ });
17
+
18
+ const Payment = db.mongoose.model("Payment", PaymentSchema);
19
+
20
+ return Payment;
21
+ };
22
+
@@ -12,42 +12,21 @@ module.exports = function(app, db) {
12
12
  next();
13
13
  });
14
14
 
15
- app.post(
16
- "/payment/newpayment",
17
- controller.newpayment,
18
- );
19
- app.post(
20
- "/payment/getstatus",
21
- controller.getstatus
22
- );
23
- app.post(
24
- "/payment/addcustomer",
25
- controller.addcustomer
26
- );
27
- app.post(
28
- "/payment/getcustomercards",
29
- controller.getcustomercards
30
- );
31
15
 
32
- app.get(
16
+ app.post(
33
17
  "/payments",
34
- controller.getAll
18
+ controller.create
35
19
  );
36
-
20
+
37
21
  app.get(
38
22
  "/payments/:_id",
39
- controller.get
23
+ controller.read
40
24
  );
41
25
 
42
26
  app.post(
43
27
  "/payments/:_id",
44
28
  controller.update
45
29
  );
46
-
47
- app.post(
48
- "/payments",
49
- controller.create
50
- );
51
30
 
52
31
  app.delete(
53
32
  "/payments/:_id",
@@ -0,0 +1,58 @@
1
+ // Factories
2
+ const controllerFactory = require("../controllers/payments.controller");
3
+ // Middlewares
4
+ const middlewareFactory = require('@pf/src/modules/middlewares/server');
5
+ // Routes
6
+ module.exports = function(app, db) {
7
+ const controller = controllerFactory(db);
8
+ const { verifySignUp, verifyUser } = middlewareFactory(db);
9
+
10
+ app.use(function(req, res, next) {
11
+ res.header("Access-Control-Allow-Headers", "Access-Control-Allow-Origin: *", "x-access-token, Origin, Content-Type, Accept");
12
+ next();
13
+ });
14
+
15
+ app.post(
16
+ "/payment/newpayment",
17
+ controller.newpayment,
18
+ );
19
+ app.post(
20
+ "/payment/getstatus",
21
+ controller.getstatus
22
+ );
23
+ app.post(
24
+ "/payment/addcustomer",
25
+ controller.addcustomer
26
+ );
27
+ app.post(
28
+ "/payment/getcustomercards",
29
+ controller.getcustomercards
30
+ );
31
+
32
+ app.get(
33
+ "/payments",
34
+ controller.getAll
35
+ );
36
+
37
+ app.get(
38
+ "/payments/:_id",
39
+ controller.get
40
+ );
41
+
42
+ app.post(
43
+ "/payments/:_id",
44
+ controller.update
45
+ );
46
+
47
+ app.post(
48
+ "/payments",
49
+ controller.create
50
+ );
51
+
52
+ app.delete(
53
+ "/payments/:_id",
54
+ controller.delete
55
+ );
56
+
57
+ };
58
+
@@ -1,7 +1,8 @@
1
1
  <template>
2
2
  <div class="flex flex-column w-100 o-hidden gap-thin pd-thin">
3
3
  <!-- <Breadcrumbs class="bg-grey radius-big pd-small"/> -->
4
- <SectionProduct v-if="product" :product="product" class="pos-relative"/>
4
+ {{product.quantity}}
5
+ <SectionProduct v-if="product" :product="product" :user="auth.state.user" class="pos-relative"/>
5
6
 
6
7
  <PopularProducts />
7
8
  </div>
@@ -22,6 +23,7 @@
22
23
  import { useI18n } from 'vue-i18n'
23
24
  import { useMeta } from 'vue-meta'
24
25
 
26
+ import * as auth from '@pf/src/modules/auth/store/auth';
25
27
  import * as products from '@pf/src/modules/products/store/products';
26
28
  import * as categories from '@pf/src/modules/products/store/categories';
27
29
 
@@ -13,8 +13,8 @@
13
13
  const text = {
14
14
  messages: {
15
15
  "en": {
16
- "title": "Unlock Your Perfect High <br><b class='t-main'> with AI Budtender</b>",
17
- "description": "Say goodbye to endless browsing. Just tell us what you're want, and Weeder will find your ideal match.",
16
+ "title": "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
17
+ "description": "Just tell us what you're want, and Weeder will find your ideal match.",
18
18
  "placeholderTexts": [
19
19
  'Lowest THC, please!',
20
20
  'Something with banana flavors?',
@@ -66,164 +66,7 @@
66
66
  await products.actions.submitMood(moodToSend);
67
67
  }
68
68
 
69
- onMounted(() => {
70
- // const canvas = document.getElementById('glcanvas');
71
- // const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
72
-
73
- // const vsSource = `
74
- // attribute vec4 aVertexPosition;
75
- // void main() {
76
- // gl_Position = aVertexPosition;
77
- // }
78
- // `;
79
-
80
- // // Fragment shader (your GLSL code goes here)
81
- // const fsSource = `
82
- // precision mediump float;
83
-
84
- // const float PI = 3.14159265358979323846264;
85
- // const float TWOPI = PI * 2.0;
86
- // const vec4 WHITE = vec4(0.05, 0.05, 0.05, 1); // Для цвета F6F9F7
87
- // const vec4 BLACK = vec4(0.0, 0.0, 0.0, 1); // Для цвета EBF2ED
88
-
89
- // const int MAX_RINGS = 30;
90
- // const float RING_DISTANCE = 0.03;
91
- // const float WAVE_COUNT = 60.0;
92
- // const float WAVE_DEPTH = 0.08;
93
-
94
- // uniform float iTime;
95
- // uniform vec2 iResolution;
96
-
97
- // void main() {
98
- // float rot = mod(iTime * 0.6, TWOPI);
99
- // vec2 fragCoord = gl_FragCoord.xy;
100
- // vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
101
- // pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
102
- // float x = pos.x;
103
- // float y = pos.y;
104
-
105
- // bool black = false;
106
- // float prevRingDist = RING_DISTANCE;
107
- // for (int i = 0; i < MAX_RINGS; i++) {
108
- // vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
109
- // float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
110
- // float dist = distance(center, pos);
111
- // dist = pow(dist, 0.3);
112
- // float ringDist = abs(dist - radius);
113
- // if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
114
- // float angle = atan(y - center.y, x - center.x);
115
- // float thickness = 1.1 * abs(dist - radius) / prevRingDist;
116
- // float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
117
- // if (dist > radius) {
118
- // black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
119
- // } else {
120
- // black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
121
- // }
122
- // break;
123
- // }
124
- // if (dist > radius) break;
125
- // prevRingDist = ringDist;
126
- // }
127
-
128
- // gl_FragColor = black ? BLACK : WHITE;
129
- // }
130
-
131
- // `;
132
-
133
- // function compileShader(gl, type, source) {
134
- // const shader = gl.createShader(type);
135
- // gl.shaderSource(shader, source);
136
- // gl.compileShader(shader);
137
-
138
- // // Check for compilation errors
139
- // if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
140
- // alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
141
- // gl.deleteShader(shader);
142
- // return null;
143
- // }
144
-
145
- // return shader;
146
- // }
147
-
148
- // const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource);
149
- // const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource);
150
-
151
- // // Create the shader program
152
- // const shaderProgram = gl.createProgram();
153
-
154
- // gl.attachShader(shaderProgram, vertexShader);
155
- // gl.attachShader(shaderProgram, fragmentShader);
156
- // gl.linkProgram(shaderProgram);
157
-
158
- // // Check for linking errors
159
- // if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
160
- // alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram));
161
- // }
162
-
163
- // function resizeCanvasToDisplaySize(canvas) {
164
- // const width = canvas.clientWidth * window.devicePixelRatio;
165
- // const height = canvas.clientHeight * window.devicePixelRatio;
166
- // if (canvas.width !== width || canvas.height !== height) {
167
- // canvas.width = width;
168
- // canvas.height = height;
169
- // return true; // размер изменился
170
- // }
171
- // return false; // размер не изменился
172
- // }
173
-
174
-
175
- // function render() {
176
- // if (resizeCanvasToDisplaySize(gl.canvas)) {
177
- // gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);
178
- // }
179
- // gl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear to black, fully opaque
180
- // gl.clearDepth(1.0); // Clear everything
181
- // gl.enable(gl.DEPTH_TEST); // Enable depth testing
182
- // gl.depthFunc(gl.LEQUAL); // Near things obscure far things
183
-
184
- // // Clear the canvas before we start drawing on it
185
- // gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
186
-
187
- // // Set the shader program
188
- // gl.useProgram(shaderProgram);
189
-
190
- // // Set up geometry, attributes, uniforms here
191
- // // Create a buffer for the square's positions
192
- // const positionBuffer = gl.createBuffer();
193
- // gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
194
-
195
- // // Now create an array of positions for the square
196
- // const positions = [
197
- // -1.0, 1.0,
198
- // 1.0, 1.0,
199
- // -1.0, -1.0,
200
- // 1.0, -1.0,
201
- // ];
202
-
203
- // // Pass the positions to WebGL
204
- // gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW);
205
-
206
- // // Tell WebGL how to pull out the positions from the position buffer
207
- // const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition');
208
- // gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0);
209
- // gl.enableVertexAttribArray(vertexPosition);
210
-
211
- // // Set the shader uniforms
212
- // var timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime');
213
- // var resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution');
214
-
215
- // gl.uniform1f(timeUniformLocation, performance.now() / 3000.0);
216
- // gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height);
217
-
218
- // // Draw the scene
219
- // gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
220
-
221
- // // Call render again on the next frame
222
- // requestAnimationFrame(render);
223
- // }
224
- // requestAnimationFrame(render);
225
-
226
- });
69
+
227
70
  </script>
228
71
 
229
72
  <template>
@@ -233,7 +76,7 @@
233
76
  >
234
77
 
235
78
  <div
236
- class="pd-big bg-black t-white pos-relative radius-big o-hidden "
79
+ class="pd-big bg-black t-white pos-relative radius-extra o-hidden "
237
80
  >
238
81
  <div class="flex-column flex-center flex t-center pos-relative z-index-1">
239
82
 
@@ -243,13 +86,11 @@
243
86
  />
244
87
 
245
88
  <p
246
- style="max-width: 40rem;"
247
- class="mn-b-big p-big t-medium t-transp"
89
+ class="mn-b-big p-big t-transp"
248
90
  v-html="t('description')"
249
91
  />
250
92
 
251
93
  <FieldBig
252
- style="max-width: 60rem;"
253
94
  :input="mood"
254
95
  :typingSpeed="100"
255
96
  :loopTyping="true"
@@ -258,11 +99,11 @@
258
99
  :action="t('action')"
259
100
  @update:input="mood = $event"
260
101
  @action="router.push({name: 'Product Recommmendation', query: {mood: mood}})"
261
- class="mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100"
102
+ class="mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"
262
103
  />
263
104
 
264
105
  <p
265
- class="w-m-60r t-medium t-transp mn-b-semi p-medium"
106
+ class="w-m-60r t-transp mn-b-semi p-medium"
266
107
  v-html="t('subdescription')"
267
108
  />
268
109
 
@@ -275,7 +116,7 @@
275
116
  class="
276
117
  uppercase
277
118
  pd-thin
278
- t-semi
119
+ t-medium
279
120
  flex-center
280
121
  flex-column
281
122
  flex-nowrap
@@ -303,9 +144,7 @@
303
144
  </div>
304
145
 
305
146
  <div class="w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0">
306
-
307
- <div style="background-image: url(/spiral.jpg)" class="spiral"></div>
308
- <!-- <canvas id="glcanvas" class="w-100 h-100"></canvas> -->
147
+ <div style="background-image: url(/spiral.jpg)" class="spiral"></div>
309
148
  </div>
310
149
 
311
150
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <section id="main-menu" class="pd-thin pos-relative">
3
3
  <h2 class="w-m-60r mn-auto pd-t-big pd-b-big t-center">
4
- Find Extraordinary <span class="t-main t-semi">Cannabis Flowers</span> and <span class="t-main t-semi">Accessories</span> to Enhance Your Smoking Experience
4
+ Weed and Accessories to <br><b>Enhance Your Smoking Experience</b>
5
5
  </h2>
6
6
 
7
7
  <transition name="fade" mode="out-in" appear>
@@ -38,7 +38,7 @@
38
38
  <img
39
39
  v-if="category.url !== 'buds'"
40
40
  :src="'/icons/categories/' + category.url + '.svg'"
41
- class="i-extra mn-l-auto"
41
+ class="i-extra t-transp mn-l-auto"
42
42
  >
43
43
 
44
44
  </div>
@@ -49,9 +49,9 @@
49
49
 
50
50
  <button
51
51
  v-if="category.url === 'buds'"
52
- class="mn-t-small br-2px br-solid hover-bg-main br-main t-black button-small button"
52
+ class="mn-t-small radius-extra hover-bg-black t-medium t-black bg-main hover-t-white button-small button"
53
53
  >
54
- <span class="t-black">Check {{countProduct.count}} products →</span>
54
+ <span>Check {{countProduct.count}} products →</span>
55
55
  </button>
56
56
 
57
57
  </div>
@@ -2,12 +2,12 @@
2
2
  <div id="popularProducts" class="pd-thin">
3
3
  <div class="bg-grey radius-big pd-t-big pd-b-big">
4
4
 
5
- <h2 class="mn-b-semi t-center ">{{t('title')}}</h2>
5
+ <h2 class="mn-b-semi t-center " v-html="t('title')"/>
6
6
 
7
7
  <div class="embla" ref="emblaNode">
8
8
  <div class="embla__container">
9
9
 
10
- <div class="embla__slide pd-thin" v-for="(value, key, index) in productsState" :key="key">
10
+ <div class="embla__slide pd-nano" v-for="(value, key, index) in productsState" :key="key">
11
11
  <transition name="fade" mode="out-in" appear>
12
12
  <div
13
13
  v-if="!value.name"
@@ -57,7 +57,7 @@
57
57
  const text = {
58
58
  messages: {
59
59
  en: {
60
- title: 'Explore Hot Products 🔥',
60
+ title: '<b>Best Sellers 🔥</b>',
61
61
  subtitle: 'We attach great importance to high quality and customer satisfaction'
62
62
  },
63
63
  ru: {
@@ -123,6 +123,9 @@ const props = defineProps({
123
123
  type: Object,
124
124
  required: true
125
125
  },
126
+ user: {
127
+ type: String,
128
+ },
126
129
  recommendation: {
127
130
  type: String
128
131
  }