@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
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="w-100 container container-joinus">
2
+ <div class="pd-extra o-hidden w-100 container container-joinus">
3
3
  <div class="content">
4
4
  <span class="h0 mn-b-big">
5
5
  {{ userCount.toLocaleString() }}
@@ -7,7 +7,7 @@
7
7
  <p class="w-m-33r t-center mn-b-small p-big">
8
8
  Together, we're shaping the future of the globals cannabis community.
9
9
  </p>
10
- <router-link :to="{name: 'Sign In'}" class="bg-black t-white button">
10
+ <router-link :to="{name: 'Sign In'}" class="bg-black t-medium t-white button">
11
11
  Join Now
12
12
  </router-link>
13
13
  </div>
@@ -19,9 +19,8 @@
19
19
  display: flex;
20
20
  align-items: center;
21
21
  justify-content: center;
22
- height: 66vh;
22
+ height: 66%;
23
23
  position: relative;
24
- overflow: hidden;
25
24
 
26
25
  .content {
27
26
  display: flex;
@@ -55,7 +54,7 @@
55
54
  opacity: 1;
56
55
  }
57
56
  100% {
58
- transform: translateY(-50vh); // движение вверх на высоту экрана
57
+ transform: translateY(-33vh); // движение вверх на высоту экрана
59
58
  opacity: 0.0
60
59
  }
61
60
  }
@@ -88,6 +88,7 @@ async function read(options = {}) {
88
88
  } else {
89
89
  set(response.data, 'all')
90
90
  }
91
+
91
92
  return Promise.resolve(response.data);
92
93
  } catch (err) {
93
94
  setError(err)
@@ -28,12 +28,12 @@
28
28
  />
29
29
  <div class="flex-v-center flex-nowrap flex gap-small">
30
30
 
31
- <p class="t-center">Embeds from youtube.com, vimeo.com, soundcloud.com are allowed</p>
32
- <button
33
- @click="onComponentClick"
34
- class="button-small button"
35
- >
36
- Save
31
+ <p class="t-center">Embeds from youtube.com, vimeo.com, soundcloud.com are allowed</p>
32
+ <button
33
+ @click="onComponentClick"
34
+ class="button-small button"
35
+ >
36
+ Save
37
37
  </button>
38
38
  </div>
39
39
  </div>
@@ -68,6 +68,7 @@ function isValidEmbedCode(code) {
68
68
  /reddit\.com/,
69
69
  /linkedin\.com/,
70
70
  /medium\.com/,
71
+ /spotify\.com/,
71
72
  ];
72
73
  return allowedSources.some(pattern => pattern.test(code));
73
74
  }
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="prop.content"
4
- class="o-hidden radius-big pos-relative bg-grey mn-b-small w-100"
4
+ class="o-hidden radius-big pos-relative bg-grey mn-b-small w-100 flex-center flex"
5
5
  >
6
6
  <img
7
7
  :src="(FILE_SERVER_URL || '') + prop.content"
8
8
  alt="Event image"
9
- class="pos-relative z-index-1 d-block mn-auto w-100 object-fit-contain"
9
+ class="pos-relative z-index-1 d-block mn-auto w-100 h-100 object-fit-contain"
10
10
  style="max-height: 40rem"
11
11
  />
12
12
 
@@ -2,7 +2,7 @@
2
2
  <div>
3
3
  <textarea
4
4
  v-model="prop[content]"
5
- :placeholder="placeholder ? placeholder : 'Enter text'"
5
+ :placeholder="placeholder ? placeholder : ''"
6
6
  @input="handleInput"
7
7
  @focus="emit('focus', textarea)"
8
8
  @keyup="handleKeyUp"
@@ -12,7 +12,6 @@ a<template>
12
12
  v-for="(block, index) in post.content"
13
13
  :key="index"
14
14
  class="pos-relative"
15
-
16
15
  >
17
16
  <div
18
17
  @mouseover="showControls = index, showMenu = false"
@@ -29,7 +28,6 @@ a<template>
29
28
  @deleteBlock="handleDeleteBlock"
30
29
  @addBlock="handleAddBlock"
31
30
  @updateBlock="handleUpdateBlock"
32
-
33
31
  />
34
32
  </div>
35
33
 
@@ -87,27 +85,15 @@ a<template>
87
85
  >
88
86
  Add Video
89
87
  </span>
90
- <span
91
- @click="handleAddBlock('Youtube', '', index)"
92
- class="w-max button-small t-black bg-white button"
93
- >
94
- Add Youtube
95
- </span>
96
88
  <span
97
89
  @click="handleAddBlock('Link', '', index)"
98
90
  class="w-max button-small t-black bg-white button"
99
91
  >
100
92
  Add Link
101
93
  </span>
102
-
103
94
  </div>
104
-
105
-
106
95
  </div>
107
96
  </transition>
108
-
109
-
110
-
111
97
  </div>
112
98
  </VueDraggableNext>
113
99
  </section>
@@ -123,8 +109,6 @@ import ImageUpload from '../elements/ImageUpload.vue';
123
109
  import Embed from '../elements/Embed.vue';
124
110
  import Audio from '../elements/Audio.vue';
125
111
  import Video from '../elements/Video.vue';
126
- import Youtube from '../elements/Youtube.vue';
127
-
128
112
 
129
113
  import { ref, watchEffect, computed } from 'vue';
130
114
  import { VueDraggableNext } from 'vue-draggable-next';
@@ -147,11 +131,11 @@ const ComponentMap = {
147
131
  'Embed': Embed,
148
132
  'Audio': Audio,
149
133
  'Video': Video,
150
- 'Youtube': Youtube
151
134
  };
152
135
 
153
136
  function handleAddBlock(type = 'Textarea', content = '', index, data) {
154
- console.log('We are adding new block (functuin HandleAddBlock):' + type + content + index + data )
137
+ console.log('We are adding new block (functuin HandleAddBlock):' + type + content + index + data )
138
+
155
139
  let blockNew = {
156
140
  order: post.value.content.length + 1,
157
141
  type: type,
@@ -159,7 +143,7 @@ function handleAddBlock(type = 'Textarea', content = '', index, data) {
159
143
  class: '',
160
144
  content: content,
161
145
  blocks: [],
162
- setFocus: true,
146
+ setFocus: false,
163
147
  };
164
148
 
165
149
  if (data && data.blocks && Array.isArray(data.blocks)) {
@@ -113,6 +113,18 @@
113
113
  class="mn-b-thin w-100 bg-grey pd-medium radius-small"
114
114
  />
115
115
 
116
+ <Field
117
+ v-model:field="event.specialData.ticketText"
118
+ placeholder="Promotion text for ticket in hero "
119
+ class="w-100 bg-grey radius-small pd-medium"
120
+ />
121
+
122
+ <Field
123
+ v-model:field="event.specialData.ticketTextButton"
124
+ placeholder="Text on 'Buy Ticket' button "
125
+ class="w-100 bg-grey radius-small pd-medium"
126
+ />
127
+
116
128
 
117
129
  </div>
118
130
  </div>
@@ -175,6 +187,12 @@
175
187
  placeholder="Link to Main guest spotify track"
176
188
  class="mn-b-thin w-100 bg-grey pd-medium radius-small"
177
189
  />
190
+
191
+ <Field
192
+ v-model:field="event.specialData.guestYoutube"
193
+ placeholder="Link to Main guest youtube video"
194
+ class="mn-b-thin w-100 bg-grey pd-medium radius-small"
195
+ />
178
196
  </div>
179
197
 
180
198
  <h5
@@ -295,12 +313,41 @@
295
313
  "
296
314
  />
297
315
 
298
- <h5
316
+ <hr class="bg-black-transp-10 mn-b-semi mn-t-semi d-block">
317
+
318
+ <h4
319
+ class="mn-b-thin"
320
+ >
321
+ Previous Party Section
322
+ </h4>
323
+
324
+ <h5
299
325
  class="mn-b-thin"
300
326
  >
301
327
  Video in Previous Partys Section
302
328
  </h5>
303
329
 
330
+ <Field
331
+ v-model:field="event.specialData.previousTitle"
332
+ placeholder="Name"
333
+ class="w-100 bg-grey radius-small pd-medium"
334
+ />
335
+ <Field
336
+ v-model:field="event.specialData.previousDescription"
337
+ placeholder="Name"
338
+ class="w-100 bg-grey radius-small pd-medium"
339
+ />
340
+ <Field
341
+ v-model:field="event.specialData.previousLink"
342
+ placeholder="Name"
343
+ class="w-100 bg-grey radius-small pd-medium"
344
+ />
345
+ <Field
346
+ v-model:field="event.specialData.previousLinkText"
347
+ placeholder="Name"
348
+ class="w-100 bg-grey radius-small pd-medium"
349
+ />
350
+
304
351
  <Upload
305
352
  v-model:field="event.specialData.previousVideo"
306
353
  :placeholder="'Upload image'"
@@ -311,8 +358,6 @@
311
358
  mn-b-thin w-100 bg-grey pd-medium radius-small t-black
312
359
  "
313
360
  />
314
-
315
-
316
361
  </div>
317
362
 
318
363
  <h3 class="mn-b-small">Date</h3>
@@ -26,11 +26,12 @@
26
26
  title: event.name,
27
27
  description: event.description,
28
28
  ticketLinkStripe: event.specialData.ticketLinkStripe,
29
+ ticketText: event.specialData.ticketText,
30
+ cover: event.cover,
29
31
  subtitle: event.specialData.subtitle,
30
32
  logos: event.specialData.logos,
31
33
  video: event.specialData.video,
32
- buyticket: 'Buy ticket',
33
- booktable: 'Book table'
34
+ ticketTextButton: event.specialData.ticketTextButton,
34
35
  }"
35
36
  :options="{
36
37
  date: event.date.start,
@@ -52,15 +53,15 @@
52
53
  video: event.specialData.guestVideo,
53
54
  spotify: event.specialData.guestSpotify,
54
55
  soundcloud: event.specialData.guestSoundcloud,
56
+ youtube: event.specialData.guestYoutube
55
57
  }"
56
58
  class="mn-b-thin"
57
59
  />
58
-
59
60
  <section
60
61
  v-if="!isLoading && event && event.special"
61
62
  :style="`
62
- background-image: url(${event.specialData.lineupBackground});
63
63
  background-size: 100%; background-repeat: no-repeat;
64
+ background-image: url(${event.specialData.lineupBackground});
64
65
  `"
65
66
  class="mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
66
67
  >
@@ -68,13 +69,13 @@
68
69
  <div
69
70
  class="gap-big mn-b-thin"
70
71
  :class="{
71
- 'cols-2': event.specialData.guests.lenght > 0,
72
- 'cols-1': event.specialData.guests.lenght > 1
72
+ 'cols-2': event.specialData.guests.length > 0,
73
+ 'cols-1': event.specialData.guests.length > 1
73
74
  }"
74
75
  >
75
76
 
76
77
  <SectionSpecialGuests
77
- v-if="event.specialData.guests.lenght > 0"
78
+ v-if="event.specialData.guests.length > 0"
78
79
  :content="{
79
80
  title: 'Special Guests',
80
81
  guests: event.specialData.guests
@@ -92,7 +93,14 @@
92
93
 
93
94
  <SectionPreviousEvents
94
95
  :content="{
95
- ticket: event.specialData.ticketImage
96
+ ticket: event.specialData.ticketImage,
97
+ ticketTextButton: event.specialData.ticketTextButton,
98
+ paymentText: event.specialData.paymentText,
99
+ paymentContact: event.specialData.paymentContact,
100
+ previousTitle: event.specialData.previousTitle,
101
+ previousDescription: event.specialData.previousDescription,
102
+ previousLink: event.specialData.previousLink,
103
+ previousLinkText: event.specialData.previousLinkText,
96
104
  }"
97
105
  :options="{
98
106
  link: event.specialData.ticketLinkStripe,
@@ -4,7 +4,6 @@
4
4
  t-white
5
5
  t-center
6
6
  w-100
7
- h-100
8
7
  pos-relative
9
8
  gap-thin
10
9
  cols-2
@@ -15,6 +14,9 @@
15
14
  style="min-height: 20rem;"
16
15
  class="desktop-only radius-big o-hidden bg-black pos-relative"
17
16
  >
17
+
18
+ <img v-if="content.cover && !content.video" :src="content.cover" class="desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100">
19
+
18
20
  <video
19
21
  v-if="content.video"
20
22
  style="object-fit: cover;"
@@ -36,7 +38,7 @@
36
38
  pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero">
37
39
  <!-- <img src="/logo/jungle-stereo-cosmonaut.png" class="h-8r mn-b-small z-index-1"/> -->
38
40
  <div class="mn-b-big z-index-1 flex-nowrap flex gap-small">
39
- <img v-for="logo in content.logos" class="i-big" :src="logo">
41
+ <img v-for="logo in content.logos" class="radius-thin i-big" :src="logo">
40
42
  </div>
41
43
 
42
44
  <h3 class="pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin">
@@ -51,25 +53,32 @@
51
53
  {{content?.description}}
52
54
  </p>
53
55
 
54
- <p class="z-index-1 t-transp p-small mn-b-thin">
55
-
56
- Hurry up and purchase your ticket at a special price of only <span class="bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra">{{options?.price}} {{returnCurrency()}}</span>
56
+ <p class="z-index-1 t-transp p-small mn-b-thin">
57
+ <span>
58
+ {{content?.ticketText }}
59
+ </span>
60
+
61
+ <span v-if="options?.price" class="bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra">
62
+ {{options?.price}} {{returnCurrency()}}
63
+ </span>
57
64
  </p>
58
65
 
59
66
 
67
+
60
68
  <Countdown
61
- class="z-index-1 mn-b-small w-40"
62
- :options="props.options"
69
+ v-if="options.date"
70
+ class="z-index-1 mn-t-medium w-100 w-max-30r"
71
+ :date="options.date"
63
72
  />
73
+
64
74
  <div v-if="content?.ticketLinkStripe" class="z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin">
65
- <!-- <a href="#" class="pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white ">
66
- Sold Out
67
- </a> -->
68
75
  <a href="#" @click="clickBuyTicket()" class="pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white ">
69
- {{content?.buyticket}}
76
+ {{content?.ticketTextButton || 'Buy Ticket' }}
70
77
  </a>
71
78
  </div>
72
79
 
80
+ <img style="object-fit: cover; opacity: 0.2;" v-if="content.cover && !content.video" :src="content.cover" class="mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100">
81
+
73
82
  <video
74
83
  v-if="content.video"
75
84
  style="object-fit: cover; opacity: 0.2;"
@@ -89,30 +98,36 @@
89
98
 
90
99
 
91
100
  <script setup>
101
+ import { ref, onMounted } from 'vue'
92
102
  import { useI18n } from 'vue-i18n'
93
103
 
94
104
  import Countdown from "@pf/src/components/Countdown/Countdown.vue"
95
105
 
96
- import { ref, onMounted } from 'vue'
106
+
107
+ const props = defineProps({
108
+ content: {
109
+ type: Object
110
+ },
111
+ options: {
112
+ type: Object
113
+ }
114
+ })
115
+
116
+
97
117
  const videoElement = ref(null)
98
118
 
99
119
  var isPlaying = false;
100
120
 
101
121
  function checkAndPlayVideo() {
102
- // Initializing values
103
-
104
- // On video playing toggle values
105
122
  videoElement.value.onplaying = function() {
106
123
  isPlaying = true;
107
124
  };
108
125
 
109
- // On video pause toggle values
110
126
  videoElement.value.onpause = function() {
111
127
  isPlaying = false;
112
128
  };
113
129
  }
114
130
 
115
- // Play video function
116
131
  async function playVid() {
117
132
  if (videoElement.value.paused && !isPlaying) {
118
133
  return videoElement.value.play();
@@ -124,17 +139,6 @@
124
139
  playVid()
125
140
  })
126
141
 
127
-
128
- const props = defineProps({
129
- content: {
130
- type: Object
131
- },
132
- options: {
133
- type: Object
134
- }
135
- })
136
-
137
-
138
142
  function clickBuyTicket () {
139
143
  gtag('event', 'buy_ticket', {
140
144
  'event_category': 'conversion',
@@ -11,11 +11,11 @@
11
11
  class="mn-b-semi"
12
12
  />
13
13
 
14
- <h2 class="mn-b-big">
14
+ <h2 class="mn-b-semi">
15
15
  {{content?.title}}
16
16
  </h2>
17
17
 
18
- <p class="p-medium" v-html="content?.description"/>
18
+ <p class="p-medium t-transp" v-html="content?.description"/>
19
19
  <slot></slot>
20
20
  <iframe class="radius-big o-hidden mn-t-medium" v-if="content?.soundcloud" width="100%" height="200" scrolling="no" frameborder="no" allow="autoplay"
21
21
  :src="`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com/${content.soundcloud}
@@ -33,6 +33,7 @@
33
33
  loading="lazy"
34
34
  class="mn-t-thin radius-big o-hidden"
35
35
  ></iframe>
36
+ <iframe v-if="content?.youtube" width="100%" class="radius-big mn-t-semi" height="315" :src="`https://www.youtube.com/embed/${content?.youtube}`" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
36
37
  </div>
37
38
 
38
39
  <div style="min-height: 20rem;" class="o-hidden pos-relative">
@@ -3,40 +3,48 @@
3
3
  <div class="cols-2 gap-big pos-relative ">
4
4
  <div class="cols-1 gap-small ">
5
5
  <a v-if="options?.link" @click="clickBuyTicket()" href="#" class="bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero">
6
- <img class="w-100" :src="content?.ticket">
6
+ <img v-if="content?.ticket" class="w-100" :src="content?.ticket">
7
7
 
8
- <a class="t-white bg-black pd-l-medium pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204">
8
+ <a class="t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204">
9
9
  <!-- SOLD OUT -->
10
- {{t('nye2024.buyticket')}}
10
+ {{ content?.ticketTextButton || 'Buy Ticket'}}
11
11
  </a>
12
12
 
13
13
  </a>
14
14
 
15
- <p class="pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white">
16
- <span>For extra payment options contact</span>
17
- <a class="t-black bg-white radius-extra pd-thin" href="https://t.me/thecommunebar" target="_blank">@thecommunebar</a>
15
+ <p v-if="content?.paymentContact" class="pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white">
16
+ <span>{{content?.paymentText}}</span>
17
+ <a class="t-black bg-white radius-extra pd-thin" :href="content?.paymentContactURL" target="_blank">{{content?.paymentContact}}</a>
18
18
  </p>
19
19
  </div>
20
20
 
21
21
  <div class="br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black ">
22
- <video v-if="options?.video" style="max-height: 20rem; object-fit: cover;" ref="videoElement" class="pos-t-0 pos-l-0 w-100 h-auto" preload autoplay muted loop playsinlineclass playsinline :src="options?.video" itemprop="video" type="video/mp4" ></video>
22
+
23
+ <video
24
+ v-if="options?.video" style="max-height: 20rem; object-fit: cover;"
25
+ ref="videoElement" class="pos-t-0 pos-l-0 w-100 h-auto"
26
+ preload autoplay muted loop playsinlineclass playsinline
27
+ :src="options?.video" itemprop="video" type="video/mp4"
28
+ >
29
+ </video>
23
30
 
24
31
 
25
32
  <div class="pd-big flex-column flex w-100 h-100 gap-zero">
26
- <h3 class="t-unna t-nye204 mn-b-small">
27
- {{t('nye2024.title')}}
33
+ <h3 v-if="content?.previousTitle" class="t-unna t-nye204 mn-b-small">
34
+ {{content?.previousTitle}}
28
35
  </h3>
29
36
 
30
- <p class="p-medium t-transp mn-b-big">
31
- {{t('nye2024.description')}}
37
+ <p v-if="content?.previousDescription" class="p-medium t-transp mn-b-big">
38
+ {{content?.previousDescription}}
32
39
  </p>
33
40
 
34
- <div class="flex-nowrap flex gap-thin">
35
- <a href="https://www.instagram.com/thecommune.phuket/" target="_blank" class="pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white">
36
- {{t('nye2024.checkinblog')}}
41
+ <div v-if="content?.previousLink" class="flex-nowrap flex gap-thin">
42
+ <a :href="content?.previousLink" target="_blank" class="pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white">
43
+ {{content?.previousLinkText || 'Check'}}
37
44
  </a>
38
45
  </div>
39
46
  </div>
47
+
40
48
  </div>
41
49
 
42
50
 
@@ -68,7 +76,6 @@
68
76
  "titleTicket":"Are you ready?",
69
77
  "description":"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",
70
78
  "checkinblog":"CHECK IN INSTAGRAM",
71
- "buyticket": "Buy Ticket Now →"
72
79
  }
73
80
  }
74
81
  }
@@ -34,6 +34,8 @@ module.exports = (db) => {
34
34
  default: () => ({
35
35
  subtitle: 'NMS Presents',
36
36
  ticketPrice: '499',
37
+ ticketText: 'Hurry up and purchase your ticket at a special price of only',
38
+ ticketTextButton: 'Buy Ticket Now →',
37
39
  ticketImage: null,
38
40
  ticketLinkStripe: null,
39
41
  video: null,
@@ -47,6 +49,13 @@ module.exports = (db) => {
47
49
  guestTwitter: null,
48
50
  guestSoundcloud: null,
49
51
  guestSpotify: null,
52
+ guestYoutube: null,
53
+ paymentContact: null,
54
+ paymentText: 'For extra payment options contact',
55
+ previousTitle: null,
56
+ previousDescription: null,
57
+ previousLink: null,
58
+ previousLinkText: null,
50
59
  logos: [],
51
60
  lineup: [],
52
61
  lineupBackground: null,
@@ -59,7 +59,18 @@ const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'uns
59
59
  return;
60
60
  }
61
61
 
62
- const fileName = `${Math.floor(Math.random() * 10000)}-${info.filename}`;
62
+ const normalizeFileName = (filename) => {
63
+ return filename
64
+ // Заменяем пробелы на подчеркивания
65
+ .replace(/\s/g, '_')
66
+ // Удаляем или заменяем небезопасные символы
67
+ .replace(/[^a-zA-Z0-9-_\.]/g, '')
68
+ // Опционально: сокращаем имя файла, если оно слишком длинное
69
+ .slice(0, 80);
70
+ };
71
+
72
+ // Применяем нормализацию к имени файла
73
+ const fileName = `${Math.floor(Math.random() * 10000)}-${normalizeFileName(info.filename)}`;
63
74
  const fileFullPath = path.join(filePath, fileName);
64
75
 
65
76
  const fileProcess = fsp.mkdir(path.dirname(fileFullPath), { recursive: true })
@@ -67,7 +78,7 @@ const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'uns
67
78
  const stream = file.pipe(fs.createWriteStream(fileFullPath));
68
79
  stream.on('finish', () => {
69
80
  files.push(path.relative(publicPath, fileFullPath));
70
- resolve(); // This line replaces the thumbnail creation process
81
+ resolve();
71
82
  });
72
83
  stream.on('error', reject);
73
84
  }));
@@ -134,7 +145,7 @@ const middlewareFactory = (db, publicPath) => {
134
145
  ];
135
146
 
136
147
 
137
- handleFileUpload(req, res, next, publicPath, { folderNameDefault: 'unsorted', maxSize: 10 * 1024 * 1024, allowedTypes });
148
+ handleFileUpload(req, res, next, publicPath, { folderNameDefault: 'unsorted', maxSize: 100 * 1024 * 1024, allowedTypes });
138
149
  };
139
150
 
140
151
  const uploadImagesMiddleware = (req, res, next) => {
@@ -8,7 +8,6 @@ module.exports = function(app, db, origins, publicPath) {
8
8
  const controller = controllerFactory(db, publicPath);
9
9
 
10
10
  const { authJwt } = middlewareFactoryGlobal(db);
11
- console.log('Public path is ' + publicPath)
12
11
  const { middlewareBusboy } = middlewareFactoryFiles(db, publicPath);
13
12
 
14
13
  app.use(function(req, res, next) {
@@ -33,6 +32,15 @@ module.exports = function(app, db, origins, publicPath) {
33
32
  controller.uploadMultipleFileController
34
33
  );
35
34
 
35
+ // app.post(
36
+ // "/api/upload/videos",
37
+ // [
38
+ // middlewareBusboy.uploadVideosMiddleware,
39
+ // middlewareBusboy.generatePreviewMiddleware
40
+ // ],
41
+ // controller.uploadMultipleFileController
42
+ // );
43
+
36
44
  app.post(
37
45
  "/api/upload/file",
38
46
  [
@@ -13,7 +13,7 @@
13
13
  <img
14
14
  v-if="owner.target.profile.photo.length > 0 && type !== 'short'"
15
15
  :src="(FILE_SERVER_URL || '') + owner.target.profile.photo"
16
- class="radius-medium mn-r-thin i-thin"
16
+ class="radius-medium object-fit-cover mn-r-thin i-thin"
17
17
 
18
18
  @click.stop="$router.push({
19
19
  name: owner.type === 'user' ? 'User Profile' : 'Organization',
@@ -125,9 +125,9 @@
125
125
  <!-- Report -->
126
126
  <Dropdown
127
127
  v-if="type !== 'short' && user && user != creator.target._id"
128
- :label="'...'"
128
+ :label="{ component: IconEllipsis, class: 't-transp i-regular' }"
129
129
  :align="'right'"
130
- class="cursor-pointer z-index-2 pd-thin radius-extra "
130
+ class="cursor-pointer z-index-2"
131
131
  >
132
132
  <section
133
133
  class="bg-black pd-thin radius-small"
@@ -186,6 +186,9 @@
186
186
  import Dropdown from "@pf/src/components/Dropdown/Dropdown.vue";
187
187
  import ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'
188
188
 
189
+
190
+ import IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'
191
+
189
192
  const props = defineProps([
190
193
  'user',
191
194
  'entity',