@ozdao/prometheus-framework 0.2.38 → 0.2.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) 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 +10 -7
  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 +18 -15
  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 +16 -13
  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 +23 -20
  58. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +1 -1
  60. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -8
  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 +2 -2
  126. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  132. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -42
  134. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  140. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  142. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  144. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +60 -55
  148. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  150. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  154. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  156. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +18 -17
  158. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +20 -21
  160. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -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 +2 -2
  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 +1 -1
  165. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  167. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  169. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  171. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  173. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  175. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  177. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +37 -34
  179. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
  181. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  183. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  184. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +6 -6
  186. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  188. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  190. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
  194. package/dist/prometheus-framework.cjs.js +20 -20
  195. package/dist/prometheus-framework.es.js +1003 -999
  196. package/dist/style.css +1 -1
  197. package/package.json +1 -1
  198. package/src/components/Button/Button.vue +2 -3
  199. package/src/components/Chips/Chips.vue +9 -3
  200. package/src/components/Dropdown/Dropdown.vue +9 -3
  201. package/src/components/Feed/Feed.vue +7 -11
  202. package/src/components/Feed/Masonry.vue +177 -0
  203. package/src/components/FieldBig/FieldBig.vue +3 -3
  204. package/src/components/LocationSelection/LocationSelection.vue +1 -1
  205. package/src/components/Navigation/Navigation.vue +2 -0
  206. package/src/components/Shader/Shader.vue +161 -116
  207. package/src/components/Slider/Slider.vue +92 -0
  208. package/src/modules/applications/applications.client.js +2 -0
  209. package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
  210. package/src/modules/applications/controllers/applications.controller.js +125 -136
  211. package/src/modules/applications/models/application.model.js +22 -7
  212. package/src/modules/applications/routes/applications.routes.js +29 -13
  213. package/src/modules/auth/components/pages/EnterCode.vue +4 -1
  214. package/src/modules/auth/components/pages/EnterPassword.vue +4 -1
  215. package/src/modules/auth/components/pages/ResetPassword.vue +4 -1
  216. package/src/modules/auth/components/pages/SignUp.vue +4 -1
  217. package/src/modules/auth/controllers/auth.controller.js +2 -3
  218. package/src/modules/auth/localization/SignUp.json +1 -1
  219. package/src/modules/auth/store/auth.js +3 -5
  220. package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
  221. package/src/modules/chats/components/pages/ChatPage.vue +6 -6
  222. package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
  223. package/src/modules/chats/store/chat.store.js +6 -1
  224. package/src/modules/community/community.client.js +0 -2
  225. package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
  226. package/src/modules/community/components/layouts/Community.vue +63 -24
  227. package/src/modules/community/components/pages/Blog.vue +37 -0
  228. package/src/modules/community/components/pages/BlogPost.vue +5 -6
  229. package/src/modules/community/components/pages/Community.vue +1 -0
  230. package/src/modules/community/components/sections/Feed.vue +1 -1
  231. package/src/modules/community/components/sections/HotPosts.vue +64 -24
  232. package/src/modules/community/components/sections/JoinUs.vue +4 -5
  233. package/src/modules/community/store/blogposts.js +1 -0
  234. package/src/modules/constructor/components/elements/Embed.vue +7 -6
  235. package/src/modules/constructor/components/elements/Image.vue +2 -2
  236. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  237. package/src/modules/constructor/components/sections/Constructor.vue +2 -18
  238. package/src/modules/files/middlewares/server/middlewareBusboy.js +1 -1
  239. package/src/modules/files/routes/files.routes.js +9 -1
  240. package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
  241. package/src/modules/globals/utils/mailing.js +12 -0
  242. package/src/modules/icons/entities/IconEarn.vue +20 -0
  243. package/src/modules/icons/entities/IconFeatured.vue +14 -0
  244. package/src/modules/icons/entities/IconFollowing.vue +17 -0
  245. package/src/modules/icons/entities/IconPopular.vue +14 -0
  246. package/src/modules/icons/entities/IconRecent.vue +17 -0
  247. package/src/modules/icons/navigation/IconAdd.vue +1 -3
  248. package/src/modules/icons/navigation/IconArrow.vue +21 -0
  249. package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
  250. package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
  251. package/src/modules/icons/navigation/IconEdit.vue +16 -2
  252. package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
  253. package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
  254. package/src/modules/landing/components/sections/MobileApp.vue +38 -21
  255. package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
  256. package/src/modules/landing/components/sections/SectionFeatures.vue +80 -0
  257. package/src/modules/landing/components/sections/{Guide.vue → SectionGuide.vue} +1 -1
  258. package/src/modules/landing/components/sections/SectionHeroToken.vue +138 -0
  259. package/src/modules/landing/components/sections/SectionRoadmap.vue +108 -0
  260. package/src/modules/marketplace/components/layouts/Marketplace.vue +2 -2
  261. package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
  262. package/src/modules/orders/components/pages/Order.vue +3 -4
  263. package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
  264. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  265. package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
  266. package/src/modules/organizations/components/sections/Publics.vue +3 -4
  267. package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
  268. package/src/modules/products/components/sections/MenuSection.vue +4 -4
  269. package/src/modules/products/components/sections/PopularProducts.vue +3 -3
  270. package/src/modules/spots/components/layouts/Spots.vue +2 -2
  271. package/src/modules/wallet/components/pages/Wallet.vue +1 -1
  272. package/src/styles/base/all.scss +4 -0
  273. package/src/styles/base/backgrounds.scss +2 -2
  274. package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
  275. package/src/styles/typography.scss +19 -12
  276. package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
  277. package/src/modules/constructor/components/elements/Youtube.vue +0 -52
  278. package/src/modules/landing/components/sections/HeroGovernance.vue +0 -156
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="pd-thin radius-extra flex-nowrap flex">
2
+ <div class=" pd-thin radius-extra flex-nowrap flex">
3
3
  <Field
4
4
  v-model:field="inputField"
5
5
  @update:field="updateInput"
@@ -7,9 +7,9 @@
7
7
  @input="handleInput"
8
8
  @focus="handleFocus"
9
9
  @blur="checkInput"
10
- class="w-100 t-semi uppercase pd-small p-big"
10
+ class="w-100 p-medium t-regular uppercase pd-small"
11
11
  />
12
- <button v-if="action" @click="emitAction" class="w-max hover-bg-black hover-t-white t-black bg-main button" v-html="action"/>
12
+ <button v-if="action" @click="emitAction" class="t-medium radius-big uppercase cursor-pointer pd-l-semi pd-r-semi w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main" v-html="action"/>
13
13
  </div>
14
14
  </template>
15
15
 
@@ -40,7 +40,7 @@
40
40
  :address="position.address"
41
41
  :location="position.location"
42
42
 
43
- class=" radius-bl-medium radius-br-medium h-15r o-hidden"
43
+ class="bg-grey radius-bl-medium radius-br-medium h-15r o-hidden"
44
44
 
45
45
  @update:country="newCountry => {
46
46
  position.country = newCountry;
@@ -111,4 +111,6 @@ const { t } = useI18n(text)
111
111
  color: rgb(var(--main)) !important;
112
112
  }
113
113
 
114
+ a:hover { cursor: pointer; color: rgb(var(--main));;}
115
+
114
116
  </style>
@@ -1,123 +1,168 @@
1
1
  <template>
2
- <canvas ref="refCanvas"></canvas>
2
+ <canvas id="glcanvas" ref="refCanvas"/>
3
3
  </template>
4
4
 
5
5
  <script setup>
6
- import {onMounted, ref} from 'vue'
7
-
8
- let refCanvas = ref(null)
9
- const vertexShaderSource = `
10
- void main() {
11
- gl_Position = vec4(0.0, 0.0, 0.0, 1.0);
12
- }
13
- `;
14
-
15
- const fragmentShaderSource = `
16
- precision mediump float;
17
-
18
- #define time (iTime * 0.9)
19
-
20
- vec4 gradient(float f)
21
- {
22
- vec4 c = vec4(0);
23
- f = mod(f, 1.5);
24
- for (int i = 0; i < 3; ++i)
25
- c[i] = pow(0.5 + 0.5 * sin(2.0 * (f + 0.2 * float(i))), 10.0);
26
- return c;
27
- }
28
-
29
- float offset(float th)
30
- {
31
- return 0.5 * sin(25.0 * th) * sin(time);
32
- }
33
-
34
- vec4 tunnel(float th, float radius)
35
- {
36
- return gradient(offset(th + 0.25 * time) + 3.0 * log(3.0 * radius) - time);
37
- }
38
-
39
- void main() {
40
- vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / iResolution.xy;
41
- p.x *= iResolution.x / iResolution.y;
42
- gl_FragColor = tunnel(atan(p.y, p.x), 2.0 * length(p));
43
- }
44
- `;
45
-
46
- onMounted(() => {
47
- const canvas = refCanvas.value;
48
- const gl = canvas.getContext("webgl");
49
-
50
- if (!gl) {
51
- console.error("Unable to initialize WebGL. Your browser may not support it.");
52
- return;
53
- }
54
-
55
- const vertexShader = createShader(gl, gl.VERTEX_SHADER, vertexShaderSource);
56
- const fragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragmentShaderSource);
57
-
58
- const program = createProgram(gl, vertexShader, fragmentShader);
59
-
60
- gl.useProgram(program);
61
-
62
- const positionAttributeLocation = gl.getAttribLocation(program, "a_position");
63
- const positionBuffer = gl.createBuffer();
64
-
65
- gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
66
-
67
- const positions = new Float32Array([-1, -1, 3, -1, -1, 3]);
68
- gl.bufferData(gl.ARRAY_BUFFER, positions, gl.STATIC_DRAW);
69
-
70
- const vao = gl.createVertexArray();
71
- gl.bindVertexArray(vao);
72
- gl.enableVertexAttribArray(positionAttributeLocation);
73
-
74
- const size = 2;
75
- const type = gl.FLOAT;
76
- const normalize = false;
77
- const stride = 0;
78
- const offset = 0;
79
-
80
- gl.vertexAttribPointer(
81
- positionAttributeLocation, size, type, normalize, stride, offset
82
- );
83
-
84
- gl.clearColor(0, 0, 0, 0);
85
- gl.clear(gl.COLOR_BUFFER_BIT);
86
-
87
- gl.useProgram(program);
88
- gl.bindVertexArray(vao);
89
-
90
- gl.drawArrays(gl.TRIANGLES, 0, 3);
91
- });
92
-
93
- function createShader(gl, type, source) {
94
- const shader = gl.createShader(type);
95
- gl.shaderSource(shader, source);
96
- gl.compileShader(shader);
97
-
98
- if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
99
- console.error(gl.getShaderInfoLog(shader));
100
- gl.deleteShader(shader);
101
- return null;
102
- }
103
-
104
- return shader;
105
- }
106
-
107
- function createProgram(gl, vertexShader, fragmentShader) {
108
- const program = gl.createProgram();
109
- gl.attachShader(program, vertexShader);
110
- gl.attachShader(program, fragmentShader);
111
- gl.linkProgram(program);
112
-
113
- if (!gl.getProgramParameter(program, gl.LINK_STATUS)) {
114
- console.error(gl.getProgramInfoLog(program));
115
- gl.deleteProgram(program);
116
- return null;
117
- }
118
-
119
- return program;
120
- }
6
+ import {onMounted, ref} from 'vue'
7
+
8
+ onMounted(() => {
9
+ const canvas = document.getElementById('glcanvas');
10
+ const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
11
+
12
+ const vsSource = `
13
+ attribute vec4 aVertexPosition;
14
+ void main() {
15
+ gl_Position = aVertexPosition;
16
+ }
17
+ `;
18
+
19
+ // Fragment shader (your GLSL code goes here)
20
+ const fsSource = `
21
+ precision mediump float;
22
+
23
+ const float PI = 3.14159265358979323846264;
24
+ const float TWOPI = PI * 2.0;
25
+ const vec4 WHITE = vec4(0.0, 1.0, 0.533, 1); // Для цвета F6F9F7
26
+ const vec4 BLACK = vec4(0.0, 0.9, 0.48, 1); // Для цвета EBF2ED
27
+
28
+ const int MAX_RINGS = 30;
29
+ const float RING_DISTANCE = 0.03;
30
+ const float WAVE_COUNT = 60.0;
31
+ const float WAVE_DEPTH = 0.08;
32
+
33
+ uniform float iTime;
34
+ uniform vec2 iResolution;
35
+
36
+ void main() {
37
+ float rot = mod(iTime * 0.6, TWOPI);
38
+ vec2 fragCoord = gl_FragCoord.xy;
39
+ vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
40
+ pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
41
+ float x = pos.x;
42
+ float y = pos.y;
43
+
44
+ bool black = false;
45
+ float prevRingDist = RING_DISTANCE;
46
+ for (int i = 0; i < MAX_RINGS; i++) {
47
+ vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
48
+ float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
49
+ float dist = distance(center, pos);
50
+ dist = pow(dist, 0.3);
51
+ float ringDist = abs(dist - radius);
52
+ if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
53
+ float angle = atan(y - center.y, x - center.x);
54
+ float thickness = 1.1 * abs(dist - radius) / prevRingDist;
55
+ float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
56
+ if (dist > radius) {
57
+ black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
58
+ } else {
59
+ black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
60
+ }
61
+ break;
62
+ }
63
+ if (dist > radius) break;
64
+ prevRingDist = ringDist;
65
+ }
66
+
67
+ gl_FragColor = black ? BLACK : WHITE;
68
+ }
69
+
70
+ `;
71
+
72
+ function compileShader(gl, type, source) {
73
+ const shader = gl.createShader(type);
74
+ gl.shaderSource(shader, source);
75
+ gl.compileShader(shader);
76
+
77
+ // Check for compilation errors
78
+ if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
79
+ alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
80
+ gl.deleteShader(shader);
81
+ return null;
82
+ }
83
+
84
+ return shader;
85
+ }
86
+
87
+ const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource);
88
+ const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource);
89
+
90
+ // Create the shader program
91
+ const shaderProgram = gl.createProgram();
92
+
93
+ gl.attachShader(shaderProgram, vertexShader);
94
+ gl.attachShader(shaderProgram, fragmentShader);
95
+ gl.linkProgram(shaderProgram);
96
+
97
+ // Check for linking errors
98
+ if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
99
+ alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram));
100
+ }
101
+
102
+ function resizeCanvasToDisplaySize(canvas) {
103
+ const width = canvas.clientWidth * window.devicePixelRatio;
104
+ const height = canvas.clientHeight * window.devicePixelRatio;
105
+ if (canvas.width !== width || canvas.height !== height) {
106
+ canvas.width = width;
107
+ canvas.height = height;
108
+ return true; // размер изменился
109
+ }
110
+ return false; // размер не изменился
111
+ }
112
+
113
+
114
+ function render() {
115
+ if (resizeCanvasToDisplaySize(gl.canvas)) {
116
+ gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);
117
+ }
118
+ gl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear to black, fully opaque
119
+ gl.clearDepth(1.0); // Clear everything
120
+ gl.enable(gl.DEPTH_TEST); // Enable depth testing
121
+ gl.depthFunc(gl.LEQUAL); // Near things obscure far things
122
+
123
+ // Clear the canvas before we start drawing on it
124
+ gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
125
+
126
+ // Set the shader program
127
+ gl.useProgram(shaderProgram);
128
+
129
+ // Set up geometry, attributes, uniforms here
130
+ // Create a buffer for the square's positions
131
+ const positionBuffer = gl.createBuffer();
132
+ gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
133
+
134
+ // Now create an array of positions for the square
135
+ const positions = [
136
+ -1.0, 1.0,
137
+ 1.0, 1.0,
138
+ -1.0, -1.0,
139
+ 1.0, -1.0,
140
+ ];
141
+
142
+ // Pass the positions to WebGL
143
+ gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW);
144
+
145
+ // Tell WebGL how to pull out the positions from the position buffer
146
+ const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition');
147
+ gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0);
148
+ gl.enableVertexAttribArray(vertexPosition);
149
+
150
+ // Set the shader uniforms
151
+ var timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime');
152
+ var resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution');
153
+
154
+ gl.uniform1f(timeUniformLocation, performance.now() / 3000.0);
155
+ gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height);
156
+
157
+ // Draw the scene
158
+ gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
159
+
160
+ // Call render again on the next frame
161
+ requestAnimationFrame(render);
162
+ }
163
+ requestAnimationFrame(render);
164
+
165
+ });
121
166
  </script>
122
167
 
123
168
  <style scoped>
@@ -0,0 +1,92 @@
1
+ <template>
2
+ <div class="embla" ref="emblaNode">
3
+ <div class="embla__container">
4
+
5
+ <div class="embla__slide pd-nano" v-for="(entity, key, index) in entitiesState" :key="key">
6
+ <transition name="fade" mode="out-in" appear>
7
+ <!-- <div
8
+ v-if="!isLoading && entitiesState.length > 0"
9
+ class="h-100 w-100 radius-big flex-center bg-grey"
10
+ >
11
+ <Loader class="pos-relative"/>
12
+ </div>
13
+ -->
14
+ <slot
15
+ :item="entity"
16
+ :user="user"
17
+ ></slot>
18
+ </transition>
19
+ </div>
20
+
21
+ </div>
22
+ </div>
23
+ </template>
24
+
25
+ <style scoped>
26
+
27
+ </style>
28
+
29
+ <script setup scoped>
30
+ import { ref, onMounted } from 'vue'
31
+ import { useRouter } from 'vue-router'
32
+ import { useI18n } from 'vue-i18n'
33
+
34
+ import emblaCarouselVue from 'embla-carousel-vue'
35
+ import Autoplay from 'embla-carousel-autoplay'
36
+
37
+ import Loader from '@pf/src/components/Loader/Loader.vue'
38
+
39
+ // Props for customization
40
+ const props = defineProps({
41
+ store: Object, // Expect a store object with a 'read' function
42
+ options: Object, // Options to pass to the store's read function
43
+ text: Object, // Optional: Custom text for i18n
44
+ });
45
+
46
+ const router = useRouter()
47
+
48
+ const { t } = useI18n(props.text || {
49
+ messages: {
50
+ en: {
51
+ title: 'Explore Our Collection',
52
+ },
53
+ }
54
+ })
55
+
56
+ const entitiesState = ref([])
57
+ const isLoading = ref(true);
58
+
59
+
60
+ const autoplayOptions = {
61
+ delay: 2000,
62
+ jump: false,
63
+ stopOnInteraction: false,
64
+ stopOnMouseEnter: false,
65
+ stopOnFocusIn: true,
66
+ stopOnLastSnap: false,
67
+ rootNode: (emblaRoot) => emblaRoot.parentElement
68
+ }
69
+
70
+ const [emblaNode, emblaApi] = emblaCarouselVue({ loop: true }, [Autoplay(autoplayOptions)])
71
+
72
+ const scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);
73
+ // const onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();
74
+ const onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollSnap();
75
+
76
+ onMounted(async() => {
77
+ entitiesState.value = await props.store.read({
78
+ ...props.options
79
+ });
80
+
81
+ console.log(entitiesState.value)
82
+
83
+ isLoading.value = false;
84
+
85
+ onInit(emblaApi);
86
+ onSelect(emblaApi);
87
+
88
+ emblaApi.value.on('reInit', onInit);
89
+ emblaApi.value.on('reInit', onSelect);
90
+ emblaApi.value.on('select', onSelect);
91
+ });
92
+ </script>
@@ -0,0 +1,2 @@
1
+
2
+ import SubscribeNewsletter from './components/sections/SubscribeNewsletter.vue';
@@ -0,0 +1,114 @@
1
+ <template>
2
+ <section class="pd-thin">
3
+ <div class="pos-relative o-hidden t-black bg-main pd-big radius-big">
4
+ <div class="pos-relative z-index-1">
5
+ <header class="t-center z-index-1 mn-b-big">
6
+ <h2 class="mn-l-auto mn-r-auto mn-b-medium">Stay Updated with <b>Latest in Cannabis</b></h2>
7
+ <p class="t-transp p-big">Subscribe to our newsletter for news, insights, and more from the Weeder universe.</p>
8
+ </header>
9
+
10
+ <div class="z-index-1 w-100 flex-nowrap flex">
11
+
12
+ <!-- v-model:field="store.applications.state.form.data.email" -->
13
+ <FieldBig
14
+ :input="email"
15
+ :typingSpeed="75"
16
+ :loopTyping="false"
17
+ :enableTyping="false"
18
+ placeholder="Please enter your email"
19
+ action="Subscribe"
20
+ @update:input="email = $event"
21
+ @action="sendApplication"
22
+ class="mn-l-auto mn-r-auto bg-white t-black w-50"
23
+ />
24
+ </div>
25
+ </div>
26
+
27
+ <div class="w-100 h-100 pos-absolute pos-b-50-negative pos-r-0 z-index-0 grid">
28
+ <div class="spiral"></div>
29
+ </div>
30
+
31
+ </div>
32
+ </section>
33
+ </template>
34
+
35
+ <script setup>
36
+ import { ref } from 'vue'
37
+
38
+ import FieldBig from "@pf/src/components/FieldBig/FieldBig.vue";
39
+
40
+ import * as globals from '@pf/src/modules/globals/store/globals.js';
41
+ import * as applications from '@pf/src/modules/applications/store/applications.js';
42
+
43
+ import * as inputsValidation from '@pf/src/modules/middlewares/client/inputs.validation'
44
+
45
+
46
+ let email = ref('')
47
+ let emailValidation = ref(false)
48
+
49
+ async function sendApplication() {
50
+ try {
51
+ await inputsValidation.validateInputs(
52
+ emailValidation,
53
+ inputsValidation.validateEmail,
54
+ email.value,
55
+ 'Wrong email'
56
+ )
57
+ } catch (error) {
58
+ globals.setError({
59
+ response: {
60
+ status: "Invalid Email",
61
+ data: {
62
+ message: "The email address entered is invalid. Please provide a valid email address."
63
+ }
64
+ }
65
+ });
66
+ return false
67
+ }
68
+
69
+ gtag('event', 'subscribe_newsletter', {
70
+ 'event_category': 'conversion',
71
+ 'event_label': 'Subscribe Newsletter'
72
+ });
73
+
74
+ try {
75
+ let application = {
76
+ type: 'newsletter',
77
+ contacts: {
78
+ email: email.value
79
+ }
80
+ };
81
+ const response = await applications.create(application);
82
+ return Promise.resolve(response.data);
83
+ } catch (error) {
84
+ console.log(error)
85
+ globals.setError(error)
86
+ return Promise.reject(error);
87
+ }
88
+ }
89
+ </script>
90
+
91
+ <style lang="scss">
92
+ .spiral {
93
+ background-image: url('https://weeder.delivery/spiral.jpg');
94
+ background-size: cover;
95
+ width: 100rem;
96
+ height: 100rem;
97
+ position: absolute;
98
+ top: 50%;
99
+ left: 50%;
100
+ opacity: 0.03;
101
+ transform: translate(-50%, -50%) rotate(0deg);
102
+ transform-origin: center center;
103
+ animation: spin 5s linear infinite;
104
+ }
105
+
106
+ @keyframes spin {
107
+ 0% {
108
+ transform: translate(-50%, -50%) rotate(0deg);
109
+ }
110
+ 100% {
111
+ transform: translate(-50%, -50%) rotate(360deg);
112
+ }
113
+ }
114
+ </style>