@ozdao/prometheus-framework 0.2.323 → 0.2.325

Sign up to get free protection for your applications and to get access to all the features.
Files changed (338) hide show
  1. package/dist/Media-BjSScxrV.js +1 -0
  2. package/dist/Media-CCVndMgQ.mjs +111 -0
  3. package/dist/main-BBmjvE8i.js +92 -0
  4. package/dist/main-BCskq3d2.mjs +13068 -0
  5. package/dist/main.css +1 -1
  6. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +9 -11
  7. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
  8. package/dist/prometheus-framework/src/components/Button/Button.vue.js +10 -12
  9. package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
  10. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +37 -9
  11. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs.map +1 -1
  12. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +37 -9
  13. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js.map +1 -1
  14. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +27 -18
  15. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs.map +1 -1
  16. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +27 -18
  17. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js.map +1 -1
  18. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +93 -0
  19. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs.map +1 -1
  20. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +94 -1
  21. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js.map +1 -1
  22. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +0 -93
  23. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
  24. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -94
  25. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js.map +1 -1
  26. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +2 -2
  27. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +2 -2
  28. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +7 -3
  29. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
  30. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +7 -3
  31. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
  32. package/dist/prometheus-framework/src/components/Media/Media.vue.cjs +154 -0
  33. package/dist/prometheus-framework/src/components/Media/Media.vue.cjs.map +1 -0
  34. package/dist/prometheus-framework/src/components/Media/Media.vue.js +154 -0
  35. package/dist/prometheus-framework/src/components/Media/Media.vue.js.map +1 -0
  36. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -4
  37. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs.map +1 -1
  38. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -4
  39. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js.map +1 -1
  40. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +68 -37
  41. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs.map +1 -1
  42. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -38
  43. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js.map +1 -1
  44. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -2
  45. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  46. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +3 -2
  47. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  48. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +0 -2
  49. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
  50. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +4 -6
  51. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
  52. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +118 -3
  53. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
  54. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +119 -4
  55. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  56. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +112 -163
  57. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
  58. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +119 -170
  59. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
  60. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +0 -17
  61. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
  62. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -19
  63. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
  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 +1 -1
  66. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +18 -78
  67. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  68. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +23 -83
  69. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  70. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -5
  78. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +34 -25
  79. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
  80. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +35 -26
  81. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
  82. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  83. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  84. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +45 -38
  87. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  88. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +56 -49
  89. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
  90. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +221 -50
  91. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  92. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +225 -54
  93. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
  94. package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs +98 -0
  95. package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -0
  96. package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js +98 -0
  97. package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map +1 -0
  98. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +9 -9
  99. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
  100. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +9 -9
  101. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
  102. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs.map +1 -1
  104. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js.map +1 -1
  106. package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -0
  107. package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
  108. package/dist/prometheus-framework/src/modules/events/events.client.js +1 -0
  109. package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
  110. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  111. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  112. package/dist/prometheus-framework/src/modules/events/store/events.cjs +2 -1
  113. package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
  114. package/dist/prometheus-framework/src/modules/events/store/events.js +2 -1
  115. package/dist/prometheus-framework/src/modules/events/store/events.js.map +1 -1
  116. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +4 -4
  119. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
  120. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  122. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +4 -4
  123. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
  124. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +4 -4
  125. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
  126. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +11 -5
  127. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  128. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +11 -5
  129. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  130. package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs +100 -0
  131. package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs.map +1 -0
  132. package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js +100 -0
  133. package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js.map +1 -0
  134. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +6 -7
  135. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  136. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +6 -7
  137. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  138. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -6
  139. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
  140. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -6
  141. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
  142. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +30 -14
  143. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
  144. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +30 -14
  145. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js.map +1 -1
  146. package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs +33 -0
  147. package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +1 -0
  148. package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js +33 -0
  149. package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js.map +1 -0
  150. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +4 -17
  151. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
  152. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +4 -17
  153. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
  154. package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs +34 -0
  155. package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs.map +1 -0
  156. package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js +34 -0
  157. package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js.map +1 -0
  158. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +27 -17
  159. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
  160. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +28 -18
  161. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
  162. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +2 -0
  163. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs.map +1 -1
  164. package/dist/prometheus-framework/src/modules/icons/icons.client.js +50 -48
  165. package/dist/prometheus-framework/src/modules/icons/icons.client.js.map +1 -1
  166. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
  168. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
  169. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
  170. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  172. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  173. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  174. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  176. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  178. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  180. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +67 -2
  181. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs.map +1 -1
  182. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +67 -2
  183. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js.map +1 -1
  184. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +7 -7
  186. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  187. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  188. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  190. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  191. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  192. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  194. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  195. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  196. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  197. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  198. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +821 -789
  205. package/dist/prometheus-framework/src/modules/pages/pages.client.js +821 -789
  206. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +4 -15
  211. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
  212. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -15
  213. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  214. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +4 -4
  215. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +1 -1
  216. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +4 -4
  217. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +1 -1
  218. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +24 -30
  219. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
  220. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +25 -31
  221. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js.map +1 -1
  222. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  224. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  225. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  226. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  227. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  228. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +236 -13
  229. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  230. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +239 -16
  231. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js.map +1 -1
  232. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  233. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  234. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +60 -14
  237. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
  238. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +67 -21
  239. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
  240. package/dist/prometheus-framework/src/modules/products/products.client.cjs +0 -3
  241. package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
  242. package/dist/prometheus-framework/src/modules/products/products.client.js +48 -51
  243. package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
  244. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  245. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  246. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  250. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  253. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  254. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  256. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
  257. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  258. package/dist/prometheus-framework.cjs.js +1 -92
  259. package/dist/prometheus-framework.es.js +36 -13005
  260. package/package.json +1 -1
  261. package/src/components/Button/Button.vue +43 -40
  262. package/src/components/DatePicker/Calendar.vue +15 -7
  263. package/src/components/DatePicker/DatePicker.vue +50 -40
  264. package/src/components/EmptyState/EmptyState.vue +2 -2
  265. package/src/components/Feed/Feed.vue +6 -2
  266. package/src/components/Media/Media.vue +211 -0
  267. package/src/components/Popup/Popup.vue +19 -21
  268. package/src/components/Slider/Slider.vue +57 -21
  269. package/src/components/index.js +1 -0
  270. package/src/main.js +3 -1
  271. package/src/modules/auth/views/components/pages/Profile.vue +2 -1
  272. package/src/modules/backoffice/backoffice.client.js +0 -2
  273. package/src/modules/backoffice/components/pages/Dashboard.vue +95 -2
  274. package/src/modules/backoffice/components/partials/Sidebar.vue +115 -132
  275. package/src/modules/backoffice/router/backoffice.js +0 -14
  276. package/src/modules/community/components/layouts/Community.vue +1 -52
  277. package/src/modules/events/components/blocks/CardEvent.vue +28 -22
  278. package/src/modules/events/components/pages/Event.vue +11 -8
  279. package/src/modules/events/components/pages/Events.vue +241 -56
  280. package/src/modules/events/components/sections/EventsHot.vue +93 -0
  281. package/src/modules/events/components/sections/FeaturedEvents.vue +17 -15
  282. package/src/modules/events/components/sections/List.vue +1 -1
  283. package/src/modules/events/events.client.js +1 -0
  284. package/src/modules/events/router/events.js +0 -4
  285. package/src/modules/events/store/events.js +1 -0
  286. package/src/modules/globals/views/components/layouts/App.vue +4 -5
  287. package/src/modules/globals/views/components/layouts/Client.vue +8 -2
  288. package/src/modules/globals/views/components/partials/CitySelection.vue +88 -0
  289. package/src/modules/globals/views/components/partials/Header.vue +3 -3
  290. package/src/modules/globals/views/components/partials/Navigation.vue +75 -20
  291. package/src/modules/globals/views/components/partials/Sidebar.vue +2 -9
  292. package/src/modules/globals/views/mixins/mixins.js +56 -35
  293. package/src/modules/governance/DESCRIPTION.MD +238 -0
  294. package/src/modules/governance/controllers/factories/initiatives.controller.js +3 -1
  295. package/src/modules/governance/controllers/routes/initiatives.routes.js +1 -1
  296. package/src/modules/governance/controllers/routes/tasks.routes.js +1 -1
  297. package/src/modules/governance/controllers/routes/votes.routes.js +1 -1
  298. package/src/modules/governance/controllers/routes/votings.routes.js +1 -1
  299. package/src/modules/governance/governance.client.js +35 -35
  300. package/src/modules/governance/governance.server.js +8 -8
  301. package/src/modules/governance/models/milestone.model.js +98 -0
  302. package/src/modules/governance/models/task.model.js +39 -7
  303. package/src/modules/governance/views/components/pages/Initiative.vue +1 -1
  304. package/src/modules/governance/views/components/pages/InitiativeCreate.vue +2 -2
  305. package/src/modules/governance/views/components/pages/Initiatives.vue +3 -2
  306. package/src/modules/governance/views/components/pages/Task.vue +1 -1
  307. package/src/modules/governance/views/components/pages/TaskCreate.vue +2 -2
  308. package/src/modules/governance/views/components/pages/Tasks.vue +2 -2
  309. package/src/modules/governance/views/components/pages/Voting.vue +3 -3
  310. package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
  311. package/src/modules/governance/views/components/pages/Votings.vue +2 -2
  312. package/src/modules/governance/views/components/sections/VoteForm.vue +1 -1
  313. package/src/modules/governance/views/router/goverance.router.js +263 -0
  314. package/src/modules/icons/actions/IconShopcartAdd.vue +15 -0
  315. package/src/modules/icons/entities/IconCommunity.vue +4 -6
  316. package/src/modules/icons/entities/IconPayments.vue +14 -0
  317. package/src/modules/icons/entities/IconPrice.vue +12 -3
  318. package/src/modules/icons/icons.client.js +5 -0
  319. package/src/modules/icons/logos/Logotype.vue +50 -17
  320. package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -0
  321. package/src/modules/orders/store/shopcart.js +100 -1
  322. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  323. package/src/modules/products/components/blocks/CardProduct.vue +5 -11
  324. package/src/modules/products/components/blocks/ImagesThumbnails.vue +4 -4
  325. package/src/modules/products/components/elements/Price.vue +33 -56
  326. package/src/modules/products/components/pages/Product.vue +235 -13
  327. package/src/modules/products/components/sections/SectionProduct.vue +50 -25
  328. package/src/modules/products/products.client.js +0 -4
  329. package/src/styles/base/all.scss +15 -16
  330. package/src/styles/config.scss +2 -2
  331. package/src/modules/backoffice/components/layouts/Backoffice.vue +0 -55
  332. package/src/modules/events/components/sections/SectionLineup.vue +0 -42
  333. package/src/modules/events/components/sections/SectionMainGuest.vue +0 -95
  334. package/src/modules/events/components/sections/SectionPreviousEvents.vue +0 -117
  335. package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -46
  336. package/src/modules/governance/controllers/factories/projects.controller.js +0 -65
  337. package/src/modules/governance/controllers/routes/projects.routes.js +0 -34
  338. package/src/modules/governance/models/project.model.js +0 -26
@@ -0,0 +1,263 @@
1
+ import { defineAsyncComponent } from 'vue'
2
+
3
+ import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
4
+
5
+ export function createGovernanceRoutes(prefix = '', options = {}) {
6
+ const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
7
+
8
+ const routes = {
9
+ path: options.basePath || 'governance',
10
+ meta: {
11
+ title: {
12
+ en: 'Governance',
13
+ ru: 'Управление'
14
+ },
15
+ title_hide: true
16
+ },
17
+ children: [
18
+ // Initiatives routes
19
+ {
20
+ path: 'initiatives',
21
+ name: nameWithPrefix('Initiatives'),
22
+ meta: {
23
+ title: {
24
+ en: 'Initiatives',
25
+ ru: 'Инициативы'
26
+ },
27
+ title_hide: false
28
+ },
29
+ children: [
30
+ {
31
+ path: '',
32
+ name: nameWithPrefix('Initiatives'),
33
+ meta: {
34
+ title: {
35
+ en: 'Initiatives',
36
+ ru: 'Инициативы'
37
+ },
38
+ title_hide: false
39
+ },
40
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Initiatives.vue'),
41
+ },
42
+ {
43
+ path: 'create',
44
+ name: nameWithPrefix('Create Initiative'),
45
+ meta: {
46
+ title: {
47
+ en: 'Create Initiative',
48
+ ru: 'Создать Инициативу'
49
+ },
50
+ title_hide: false
51
+ },
52
+ beforeEnter: [
53
+ validationAuth.requiresAuth,
54
+ ],
55
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/InitiativeCreate.vue')
56
+ },
57
+ {
58
+ path: ':id',
59
+ name: nameWithPrefix('Initiative'),
60
+ meta: {
61
+ title: {
62
+ en: 'Initiative',
63
+ ru: 'Инициатива'
64
+ },
65
+ title_hide: false
66
+ },
67
+ component: options.page_initiative || defineAsyncComponent(() =>
68
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/Initiative.vue')
69
+ )
70
+ },
71
+ {
72
+ path: ':id/edit',
73
+ name: nameWithPrefix('Edit Initiative'),
74
+ meta: {
75
+ title: {
76
+ en: 'Edit Initiative',
77
+ ru: 'Редактировать Инициативу'
78
+ },
79
+ title_hide: false
80
+ },
81
+ beforeEnter: [
82
+ validationAuth.requiresAuth,
83
+ ],
84
+ component: options.page_initiative_edit || defineAsyncComponent(() =>
85
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/InitiativeCreate.vue')
86
+ )
87
+ }
88
+ ]
89
+ },
90
+
91
+ // Tasks routes
92
+ {
93
+ path: 'tasks',
94
+ name: nameWithPrefix('Tasks'),
95
+ meta: {
96
+ title: {
97
+ en: 'Tasks',
98
+ ru: 'Задачи'
99
+ },
100
+ title_hide: false
101
+ },
102
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Tasks.vue'),
103
+ children: [
104
+ {
105
+ path: 'create',
106
+ name: nameWithPrefix('Create Task'),
107
+ meta: {
108
+ title: {
109
+ en: 'Create Task',
110
+ ru: 'Создать Задачу'
111
+ },
112
+ title_hide: false
113
+ },
114
+ beforeEnter: [
115
+ validationAuth.requiresAuth,
116
+ ],
117
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/TaskCreate.vue')
118
+ },
119
+ {
120
+ path: ':id',
121
+ name: nameWithPrefix('Task'),
122
+ meta: {
123
+ title: {
124
+ en: 'Task',
125
+ ru: 'Задача'
126
+ },
127
+ title_hide: false
128
+ },
129
+ component: options.page_task || defineAsyncComponent(() =>
130
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/Task.vue')
131
+ )
132
+ },
133
+ {
134
+ path: ':id/edit',
135
+ name: nameWithPrefix('Edit Task'),
136
+ meta: {
137
+ title: {
138
+ en: 'Edit Task',
139
+ ru: 'Редактировать Задачу'
140
+ },
141
+ title_hide: false
142
+ },
143
+ beforeEnter: [
144
+ validationAuth.requiresAuth,
145
+ ],
146
+ component: options.page_task_edit || defineAsyncComponent(() =>
147
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/TaskCreate.vue')
148
+ )
149
+ }
150
+ ]
151
+ },
152
+
153
+ // Votings routes
154
+ {
155
+ path: 'votings',
156
+ name: nameWithPrefix('Votings'),
157
+ meta: {
158
+ title: {
159
+ en: 'Votings',
160
+ ru: 'Голосования'
161
+ },
162
+ title_hide: false
163
+ },
164
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Votings.vue'),
165
+ children: [
166
+ {
167
+ path: 'create',
168
+ name: nameWithPrefix('Create Voting'),
169
+ meta: {
170
+ title: {
171
+ en: 'Create Voting',
172
+ ru: 'Создать Голосование'
173
+ },
174
+ title_hide: false
175
+ },
176
+ beforeEnter: [
177
+ validationAuth.requiresAuth,
178
+ ],
179
+ component: () => import(/* webpackChunkName: 'Governance' */ '../components/pages/VotingCreate.vue')
180
+ },
181
+ {
182
+ path: ':id',
183
+ name: nameWithPrefix('Voting'),
184
+ meta: {
185
+ title: {
186
+ en: 'Voting',
187
+ ru: 'Голосование'
188
+ },
189
+ title_hide: false
190
+ },
191
+ component: options.page_voting || defineAsyncComponent(() =>
192
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/Voting.vue')
193
+ )
194
+ },
195
+ {
196
+ path: ':id/edit',
197
+ name: nameWithPrefix('Edit Voting'),
198
+ meta: {
199
+ title: {
200
+ en: 'Edit Voting',
201
+ ru: 'Редактировать Голосование'
202
+ },
203
+ title_hide: false
204
+ },
205
+ beforeEnter: [
206
+ validationAuth.requiresAuth,
207
+ ],
208
+ component: options.page_voting_edit || defineAsyncComponent(() =>
209
+ import(/* webpackChunkName: 'Governance' */ '../components/pages/VotingCreate.vue')
210
+ )
211
+ },
212
+ ]
213
+ }
214
+ ]
215
+ };
216
+
217
+ return routes;
218
+ }
219
+
220
+ // Navigation guards
221
+ export function setupGovernanceNavigationGuards(router) {
222
+ // Check voting status before allowing votes or edits
223
+ router.beforeEach(async (to, from, next) => {
224
+ if (to.name?.includes('Voting') && to.params.id) {
225
+ try {
226
+ const response = await fetch(`/api/votings/${to.params.id}`);
227
+ const voting = await response.json();
228
+
229
+ // Prevent voting on closed votings
230
+ if (voting.status === 'closed' && to.name?.includes('Edit')) {
231
+ next({ name: 'Votings' });
232
+ return;
233
+ }
234
+ } catch (error) {
235
+ console.error('Error checking voting status:', error);
236
+ }
237
+ }
238
+ next();
239
+ });
240
+
241
+ // Check initiative status before allowing edits
242
+ router.beforeEach(async (to, from, next) => {
243
+ if (to.name?.includes('Initiative') && to.params.id && to.name?.includes('Edit')) {
244
+ try {
245
+ const response = await fetch(`/api/initiatives/${to.params.id}`);
246
+ const initiative = await response.json();
247
+
248
+ // Only allow editing draft initiatives
249
+ if (initiative.status !== 'draft') {
250
+ next({ name: 'Initiatives' });
251
+ return;
252
+ }
253
+ } catch (error) {
254
+ console.error('Error checking initiative status:', error);
255
+ }
256
+ }
257
+ next();
258
+ });
259
+ }
260
+
261
+ // Example usage:
262
+ // const governanceRoutes = createGovernanceRoutes('Admin', { basePath: 'admin/governance' });
263
+ // export { governanceRoutes, setupGovernanceNavigationGuards };
@@ -0,0 +1,15 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="25" height="21" viewBox="0 0 25 21" fill="none">
3
+ <path d="M7.69141 15.582C6.99414 15.582 6.45638 15.3861 6.07812 14.9941C5.69987 14.6022 5.45833 14.0622 5.35352 13.374L4.02734 4.30957H1.4502C1.18587 4.30957 0.958008 4.21387 0.766602 4.02246C0.575195 3.8265 0.479492 3.59408 0.479492 3.3252C0.479492 3.05632 0.575195 2.82617 0.766602 2.63477C0.958008 2.4388 1.18587 2.34082 1.4502 2.34082H4.41699C4.93197 2.34082 5.29655 2.44564 5.51074 2.65527C5.72493 2.86035 5.86393 3.16797 5.92773 3.57812L6.05078 4.42578H14.2471C14.2288 4.5625 14.2152 4.69922 14.2061 4.83594C14.1969 4.97266 14.1924 5.10938 14.1924 5.24609C14.1924 6.04362 14.3405 6.79102 14.6367 7.48828C14.9329 8.18555 15.3454 8.80306 15.874 9.34082C16.4072 9.87858 17.0247 10.3024 17.7266 10.6123C18.4284 10.9176 19.1826 11.0771 19.9893 11.0908L19.9209 11.248C19.7432 11.5671 19.5016 11.8132 19.1963 11.9863C18.891 12.1595 18.5127 12.2461 18.0615 12.2461H7.17188L7.30859 13.1963C7.34049 13.3831 7.40885 13.5335 7.51367 13.6475C7.61849 13.7614 7.75977 13.8184 7.9375 13.8184H17.959C18.196 13.8184 18.4056 13.8981 18.5879 14.0576C18.7702 14.2171 18.8613 14.429 18.8613 14.6934C18.8613 14.9622 18.7702 15.1787 18.5879 15.3428C18.4056 15.5023 18.196 15.582 17.959 15.582H7.69141ZM6.84375 18.4873C6.84375 18.1865 6.91667 17.9108 7.0625 17.6602C7.21289 17.4141 7.41113 17.2181 7.65723 17.0723C7.90788 16.9264 8.18359 16.8535 8.48438 16.8535C8.78516 16.8535 9.05859 16.9264 9.30469 17.0723C9.55534 17.2181 9.75358 17.4141 9.89941 17.6602C10.0452 17.9108 10.1182 18.1865 10.1182 18.4873C10.1182 18.7926 10.0452 19.0684 9.89941 19.3145C9.75358 19.5651 9.55534 19.7611 9.30469 19.9023C9.05859 20.0482 8.78516 20.1211 8.48438 20.1211C8.18359 20.1211 7.90788 20.0482 7.65723 19.9023C7.41113 19.7611 7.21289 19.5651 7.0625 19.3145C6.91667 19.0684 6.84375 18.7926 6.84375 18.4873ZM14.8555 18.4873C14.8555 18.1865 14.9284 17.9108 15.0742 17.6602C15.2246 17.4141 15.4229 17.2181 15.6689 17.0723C15.9196 16.9264 16.1953 16.8535 16.4961 16.8535C16.8014 16.8535 17.0771 16.9264 17.3232 17.0723C17.5693 17.2181 17.7653 17.4141 17.9111 17.6602C18.0615 17.9108 18.1367 18.1865 18.1367 18.4873C18.1367 18.7926 18.0615 19.0684 17.9111 19.3145C17.7653 19.5651 17.5693 19.7611 17.3232 19.9023C17.0771 20.0482 16.8014 20.1211 16.4961 20.1211C16.1953 20.1211 15.9196 20.0482 15.6689 19.9023C15.4229 19.7611 15.2246 19.5651 15.0742 19.3145C14.9284 19.0684 14.8555 18.7926 14.8555 18.4873ZM20.0439 9.82617C19.415 9.82617 18.8226 9.70768 18.2666 9.4707C17.7152 9.23372 17.2275 8.90332 16.8037 8.47949C16.3799 8.05566 16.0472 7.56803 15.8057 7.0166C15.5687 6.46061 15.4502 5.86816 15.4502 5.23926C15.4502 4.61035 15.5687 4.02018 15.8057 3.46875C16.0472 2.91732 16.3799 2.42969 16.8037 2.00586C17.2275 1.58203 17.7152 1.25163 18.2666 1.01465C18.8226 0.773112 19.415 0.652344 20.0439 0.652344C20.6729 0.652344 21.263 0.773112 21.8145 1.01465C22.3704 1.25163 22.8581 1.58203 23.2773 2.00586C23.7012 2.42513 24.0316 2.91276 24.2686 3.46875C24.5055 4.02018 24.624 4.61035 24.624 5.23926C24.624 5.86361 24.5033 6.45378 24.2617 7.00977C24.0247 7.5612 23.6943 8.04883 23.2705 8.47266C22.8467 8.89648 22.3568 9.22917 21.8008 9.4707C21.2493 9.70768 20.6637 9.82617 20.0439 9.82617ZM20.0439 8.19922C20.2445 8.19922 20.404 8.13997 20.5225 8.02148C20.641 7.89844 20.7002 7.73893 20.7002 7.54297V5.89551H22.3408C22.5368 5.89551 22.694 5.83626 22.8125 5.71777C22.9355 5.59928 22.9971 5.44206 22.9971 5.24609C22.9971 5.04557 22.9355 4.88607 22.8125 4.76758C22.694 4.64453 22.5368 4.58301 22.3408 4.58301H20.7002V2.95605C20.7002 2.75553 20.641 2.59603 20.5225 2.47754C20.404 2.35905 20.2445 2.2998 20.0439 2.2998C19.8434 2.2998 19.6839 2.36133 19.5654 2.48438C19.4469 2.60286 19.3877 2.76009 19.3877 2.95605V4.58301H17.7539C17.5534 4.58301 17.3916 4.64453 17.2686 4.76758C17.1501 4.88607 17.0908 5.04557 17.0908 5.24609C17.0908 5.44206 17.1523 5.59928 17.2754 5.71777C17.3984 5.83626 17.5579 5.89551 17.7539 5.89551H19.3877V7.54297C19.3877 7.73893 19.4469 7.89844 19.5654 8.02148C19.6839 8.13997 19.8434 8.19922 20.0439 8.19922Z" :fill="fill" :class="$attrs.class"/>
4
+ </svg>
5
+ </template>
6
+
7
+
8
+ <script setup>
9
+ const props = defineProps({
10
+ fill: {
11
+ type: String,
12
+ default: 'rgb(var(--black))'
13
+ }
14
+ })
15
+ </script>
@@ -1,10 +1,8 @@
1
1
  <template>
2
- <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M28.2899 50C24.4282 50.007 20.6332 48.9927 17.2899 47.06L12.5299 49.17C11.6317 49.567 10.6307 49.6695 9.67068 49.4627C8.71061 49.2558 7.84068 48.7503 7.1856 48.0186C6.53051 47.2869 6.12391 46.3666 6.02409 45.3896C5.92426 44.4126 6.13634 43.4291 6.62991 42.58L8.96991 38.58C6.65145 34.3531 5.78562 29.4816 6.50556 24.7147C7.22549 19.9478 9.49132 15.5493 12.9546 12.1956C16.418 8.84187 20.887 6.71863 25.6747 6.15233C30.4623 5.58604 35.3034 6.60805 39.4536 9.06121C43.6037 11.5144 46.8332 15.2629 48.6454 19.7303C50.4576 24.1977 50.7522 29.1367 49.4839 33.7879C48.2155 38.4391 45.4545 42.5448 41.6254 45.4739C37.7962 48.403 33.1109 49.9932 28.2899 50ZM17.4799 42.81C17.8631 42.811 18.238 42.9221 18.5599 43.13C22.2995 45.5441 26.7982 46.4939 31.1945 45.7975C35.5908 45.1011 39.5757 42.8075 42.3861 39.3558C45.1966 35.9041 46.6349 31.537 46.4258 27.0908C46.2167 22.6446 44.3748 18.4318 41.2529 15.2591C38.1309 12.0864 33.9483 10.1769 29.5061 9.89616C25.0638 9.61544 20.6741 10.9833 17.1776 13.7377C13.6811 16.4921 11.3235 20.4396 10.5563 24.8241C9.78918 29.2086 10.6664 33.722 13.0199 37.5C13.2068 37.8111 13.3055 38.1671 13.3055 38.53C13.3055 38.8929 13.2068 39.2489 13.0199 39.56L10.0899 44.56C10.0202 44.6791 9.99023 44.8174 10.0043 44.9547C10.0184 45.0919 10.0759 45.2212 10.1683 45.3237C10.2608 45.4262 10.3834 45.4966 10.5186 45.5247C10.6537 45.5528 10.7943 45.5371 10.9199 45.48L16.6699 43C16.9236 42.8806 17.1996 42.8159 17.4799 42.81Z" :fill="fill"/>
4
- <path d="M28.2898 30C27.7594 30 27.2507 29.7893 26.8756 29.4142C26.5005 29.0391 26.2898 28.5304 26.2898 28C26.2898 27.4696 26.5005 26.9609 26.8756 26.5858C27.2507 26.2107 27.7594 26 28.2898 26C28.8202 26 29.3289 26.2107 29.704 26.5858C30.0791 26.9609 30.2898 27.4696 30.2898 28C30.2898 28.5304 30.0791 29.0391 29.704 29.4142C29.3289 29.7893 28.8202 30 28.2898 30Z" :fill="fill"/>
5
- <path d="M20.2898 30C19.7594 30 19.2507 29.7893 18.8756 29.4142C18.5005 29.0391 18.2898 28.5304 18.2898 28C18.2898 27.4696 18.5005 26.9609 18.8756 26.5858C19.2507 26.2107 19.7594 26 20.2898 26C20.8202 26 21.3289 26.2107 21.704 26.5858C22.0791 26.9609 22.2898 27.4696 22.2898 28C22.2898 28.5304 22.0791 29.0391 21.704 29.4142C21.3289 29.7893 20.8202 30 20.2898 30Z" :fill="fill"/>
6
- <path d="M36.2898 30C35.7594 30 35.2507 29.7893 34.8756 29.4142C34.5005 29.0391 34.2898 28.5304 34.2898 28C34.2898 27.4696 34.5005 26.9609 34.8756 26.5858C35.2507 26.2107 35.7594 26 36.2898 26C36.8202 26 37.3289 26.2107 37.704 26.5858C38.0791 26.9609 38.2898 27.4696 38.2898 28C38.2898 28.5304 38.0791 29.0391 37.704 29.4142C37.3289 29.7893 36.8202 30 36.2898 30Z" :fill="fill"/>
7
- </svg>
2
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M28.2899 50C24.4282 50.007 20.6332 48.9927 17.2899 47.06L12.5299 49.17C11.6317 49.567 10.6307 49.6695 9.67068 49.4627C8.71061 49.2558 7.84068 48.7503 7.1856 48.0186C6.53051 47.2869 6.12391 46.3666 6.02409 45.3896C5.92426 44.4126 6.13634 43.4291 6.62991 42.58L8.96991 38.58C6.65145 34.3531 5.78562 29.4816 6.50556 24.7147C7.22549 19.9478 9.49132 15.5493 12.9546 12.1956C16.418 8.84187 20.887 6.71863 25.6747 6.15233C30.4623 5.58604 35.3034 6.60805 39.4536 9.06121C43.6037 11.5144 46.8332 15.2629 48.6454 19.7303C50.4576 24.1977 50.7522 29.1367 49.4839 33.7879C48.2155 38.4391 45.4545 42.5448 41.6254 45.4739C37.7962 48.403 33.1109 49.9932 28.2899 50ZM20.2898 26C19.7594 26 19.2507 26.2107 18.8756 26.5858C18.5005 26.9609 18.2898 27.4696 18.2898 28C18.2898 28.5304 18.5005 29.0391 18.8756 29.4142C19.2507 29.7893 19.7594 30 20.2898 30C20.8202 30 21.3289 29.7893 21.704 29.4142C22.0791 29.0391 22.2898 28.5304 22.2898 28C22.2898 27.4696 22.0791 26.9609 21.704 26.5858C21.3289 26.2107 20.8202 26 20.2898 26ZM28.2898 26C27.7594 26 27.2507 26.2107 26.8756 26.5858C26.5005 26.9609 26.2898 27.4696 26.2898 28C26.2898 28.5304 26.5005 29.0391 26.8756 29.4142C27.2507 29.7893 27.7594 30 28.2898 30C28.8202 30 29.3289 29.7893 29.704 29.4142C30.0791 29.0391 30.2898 28.5304 30.2898 28C30.2898 27.4696 30.0791 26.9609 29.704 26.5858C29.3289 26.2107 28.8202 26 28.2898 26ZM36.2898 26C35.7594 26 35.2507 26.2107 34.8756 26.5858C34.5005 26.9609 34.2898 27.4696 34.2898 28C34.2898 28.5304 34.5005 29.0391 34.8756 29.4142C35.2507 29.7893 35.7594 30 36.2898 30C36.8202 30 37.3289 29.7893 37.704 29.4142C38.0791 29.0391 38.2898 27.4696 38.2898 28C38.2898 28.5304 38.0791 29.0391 37.704 29.4142C37.3289 29.7893 36.8202 30 36.2898 30Z" :fill="fill"/>
4
+ </svg>
5
+
8
6
  </template>
9
7
 
10
8
 
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 14C9.87827 14 7.84344 14.8429 6.34315 16.3431C4.84285 17.8434 4 19.8783 4 22V38C4 40.1217 4.84285 42.1566 6.34315 43.6569C7.84344 45.1571 9.87827 46 12 46H44C46.1217 46 48.1566 45.1571 49.6569 43.6569C51.1571 42.1566 52 40.1217 52 38V22C52 19.8783 51.1571 17.8434 49.6569 16.3431C48.1566 14.8429 46.1217 14 44 14H12ZM4 26H52V30H4V26ZM42 34H36V38H42V34Z" :fill="fill"/>
4
+ </svg>
5
+ </template>
6
+
7
+ <script setup>
8
+ const props = defineProps({
9
+ fill: {
10
+ type: String,
11
+ default: 'rgb(var(--black))'
12
+ }
13
+ })
14
+ </script>
@@ -1,5 +1,14 @@
1
1
  <template>
2
- <svg width="50" height="49" viewBox="0 0 50 49" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M29.0738 1.38517C28.5651 0.874226 27.9457 0.487052 27.2635 0.253547C26.5814 0.0200424 25.8547 -0.053546 25.1395 0.0384659L14.4424 1.5263C13.8226 1.61206 13.2261 1.82059 12.6879 2.13968C12.1497 2.45877 11.6806 2.88201 11.3079 3.38463C11.1439 3.60963 11.0479 3.87704 11.0315 4.15502L2.72198 10.4475C2.15313 10.8839 1.69157 11.4446 1.37256 12.0867C1.05354 12.7288 0.885504 13.4354 0.881292 14.1524L0.881284 44.0539C0.895116 45.2864 1.39206 46.4642 2.26524 47.3341C3.13843 48.204 4.31812 48.6964 5.55063 48.7056H22.7519C23.9875 48.6964 25.1698 48.2015 26.0435 47.3278C26.9171 46.4541 27.412 45.2718 27.4213 44.0363L27.4213 37.2756L29.4619 39.3104C29.8956 39.7449 30.4108 40.0897 30.9779 40.3249C31.545 40.5602 32.1529 40.6813 32.7669 40.6813C33.3809 40.6813 33.9888 40.5602 34.5559 40.3249C35.1231 40.0897 35.6382 39.7449 36.0719 39.3104L48.2334 27.1489C49.1007 26.2687 49.5869 25.0826 49.5869 23.8468C49.5869 22.6111 49.1007 21.425 48.2334 20.5448L29.0738 1.38517ZM24.4809 44.0539C24.4762 44.5094 24.292 44.9446 23.9683 45.2651C23.6445 45.5855 23.2074 45.7652 22.7519 45.7652H5.55063C5.09208 45.7652 4.65232 45.5831 4.32808 45.2588C4.00383 44.9346 3.82168 44.4948 3.82168 44.0363L3.82168 14.1524C3.82431 13.8864 3.88703 13.6245 4.00516 13.3862C4.12329 13.1479 4.29377 12.9394 4.50386 12.7762L13.1016 6.25446C13.4053 6.02957 13.7733 5.90818 14.1513 5.90818C14.5293 5.90818 14.8972 6.02957 15.201 6.25446L23.7987 12.788C24.0073 12.9499 24.1768 13.1565 24.2949 13.3926C24.4129 13.6288 24.4765 13.8884 24.4809 14.1524L24.4809 44.0539ZM46.1516 25.073L33.9901 37.2344C33.6614 37.5507 33.223 37.7273 32.7669 37.7273C32.3108 37.7273 31.8724 37.5507 31.5437 37.2344L27.4272 33.1179V14.1524C27.424 13.4329 27.256 12.7237 26.9358 12.0794C26.6157 11.4351 26.1521 10.8728 25.5806 10.4357L17.2358 4.10797L25.5394 2.97886C25.8041 2.9456 26.0728 2.97278 26.3254 3.05834C26.578 3.1439 26.8079 3.28562 26.9979 3.47285L46.1516 22.6207C46.4696 22.9497 46.6473 23.3893 46.6473 23.8468C46.6473 24.3044 46.4696 24.744 46.1516 25.073ZM14.1542 11.5883C13.2121 11.5883 12.2911 11.8677 11.5078 12.3911C10.7245 12.9145 10.1139 13.6585 9.75339 14.5289C9.39285 15.3993 9.29852 16.3571 9.48232 17.2811C9.66612 18.2051 10.1198 19.0538 10.786 19.72C11.4521 20.3862 12.3009 20.8399 13.2249 21.0237C14.1489 21.2075 15.1067 21.1131 15.9771 20.7526C16.8475 20.3921 17.5915 19.7815 18.1149 18.9982C18.6383 18.2148 18.9177 17.2939 18.9177 16.3518C18.9161 15.0889 18.4137 13.8782 17.5208 12.9852C16.6278 12.0922 15.4171 11.5899 14.1542 11.5883ZM14.1542 18.1748C13.7937 18.1748 13.4412 18.0679 13.1414 17.8676C12.8416 17.6673 12.6079 17.3825 12.47 17.0494C12.332 16.7163 12.2959 16.3497 12.3662 15.9961C12.4366 15.6425 12.6102 15.3176 12.8651 15.0627C13.1201 14.8077 13.4449 14.6341 13.7986 14.5638C14.1522 14.4934 14.5188 14.5295 14.8519 14.6675C15.185 14.8055 15.4697 15.0391 15.67 15.3389C15.8704 15.6387 15.9773 15.9912 15.9773 16.3518C15.9757 16.8348 15.7832 17.2976 15.4416 17.6391C15.1001 17.9807 14.6373 18.1733 14.1542 18.1748Z" fill="rgb(var(--black))"/>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="27" height="27" viewBox="0 0 27 27" fill="none">
3
+ <path :fill="fill" :class="$attrs.class" d="M14.2208 24.915C13.4005 25.7295 12.5655 26.1367 11.7159 26.1367C10.8721 26.1426 10.0342 25.7324 9.20221 24.9062L1.96002 17.6816C1.13385 16.8555 0.723695 16.0176 0.729554 15.168C0.735413 14.3184 1.14557 13.4834 1.96002 12.6631L13.1221 1.53613C13.4034 1.24902 13.6583 1.04102 13.8868 0.912109C14.1153 0.783203 14.3672 0.698242 14.6426 0.657227C14.9239 0.616211 15.2755 0.595703 15.6973 0.595703H20.004C20.4024 0.595703 20.7305 0.630859 20.9883 0.701172C21.2462 0.771484 21.4864 0.891602 21.709 1.06152C21.9317 1.22559 22.1954 1.45996 22.5001 1.76465L25.1104 4.38379C25.4151 4.68262 25.6495 4.94629 25.8135 5.1748C25.9835 5.39746 26.1036 5.6377 26.1739 5.89551C26.2442 6.14746 26.2794 6.47266 26.2794 6.87109V11.1777C26.2794 11.5996 26.2589 11.9512 26.2178 12.2324C26.1827 12.5078 26.1006 12.7627 25.9717 12.9971C25.8428 13.2256 25.6348 13.4805 25.3477 13.7617L14.2208 24.915ZM18.0528 9.77148C18.4864 9.77148 18.8497 9.625 19.1426 9.33203C19.4356 9.0332 19.5821 8.66992 19.5821 8.24219C19.5821 7.81445 19.4356 7.4541 19.1426 7.16113C18.8497 6.8623 18.4864 6.71289 18.0528 6.71289C17.6192 6.71289 17.2559 6.8623 16.963 7.16113C16.67 7.4541 16.5235 7.81445 16.5235 8.24219C16.5235 8.66992 16.67 9.0332 16.963 9.33203C17.2559 9.625 17.6192 9.77148 18.0528 9.77148Z"/>
4
4
  </svg>
5
- </template>
5
+ </template>
6
+
7
+ <script setup>
8
+ const props = defineProps({
9
+ fill: {
10
+ type: String,
11
+ default: 'rgb(var(--black))'
12
+ }
13
+ })
14
+ </script>
@@ -5,6 +5,9 @@ import IconGroups from './entities/IconGroups.vue';
5
5
  // Labels
6
6
  import LabelGooglePlay from './labels/LabelGooglePlay.vue';
7
7
  import LabelAppStore from './labels/LabelAppStore.vue';
8
+ // Actions
9
+ import IconShopcartAdd from './actions/IconShopcartAdd.vue';
10
+ // Actions
8
11
  // Navigation
9
12
  import IconCross from './navigation/IconCross.vue';
10
13
  import IconChevronRight from './navigation/IconChevronRight.vue';
@@ -44,6 +47,8 @@ export {
44
47
  // Labels
45
48
  LabelGooglePlay,
46
49
  LabelAppStore,
50
+ // Actions
51
+ IconShopcartAdd,
47
52
  // Navigation
48
53
  IconCross,
49
54
  IconChevronRight,
@@ -1,22 +1,55 @@
1
1
  <template>
2
- <svg class="h-2r w-auto" width="987" height="256" viewBox="0 0 987 256" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <rect width="256" height="256" rx="79" fill="rgb(var(--main))"/>
4
- <path d="M42.9997 160.326L50.5998 160.326L50.5998 159.476L50.4123 158.648L42.9997 160.326ZM42.9997 168.523L35.3997 168.523L42.9997 168.523ZM129.999 203.826L134.794 197.929L129.999 194.031L125.205 197.929L129.999 203.826ZM216.999 166.549L209.729 164.333L209.399 165.416V166.549H216.999ZM217.399 151.503L209.799 151.409L209.799 151.456V151.503H217.399ZM217.399 150.958H209.799V151.004L209.799 151.051L217.399 150.958ZM184.623 81.5337H177.023V81.597L177.024 81.6604L184.623 81.5337ZM146.387 100.997H153.987V90.9781L144.339 93.6777L146.387 100.997ZM146.386 100.997H138.785V111.016L148.433 108.316L146.386 100.997ZM113.61 81.5938H106.01V81.6451L106.01 81.6965L113.61 81.5938ZM75.3733 101.235H82.9733V91.0201L73.1894 93.9553L75.3733 101.235ZM75.3714 101.235H67.7714V111.45L77.5553 108.515L75.3714 101.235ZM50.1958 59.6048C50.1958 62.3636 47.9593 64.6001 45.2005 64.6001V49.3999C39.5645 49.3999 34.9956 53.9688 34.9956 59.6048H50.1958ZM50.1958 156.693V59.6048H34.9956V156.693H50.1958ZM50.4123 158.648C50.2716 158.026 50.1958 157.373 50.1958 156.693H34.9956C34.9956 158.509 35.199 160.288 35.5871 162.003L50.4123 158.648ZM50.5998 168.523L50.5998 160.326L35.3997 160.326L35.3997 168.523L50.5998 168.523ZM88.4768 206.4C67.5579 206.4 50.5998 189.442 50.5998 168.523L35.3997 168.523C35.3997 197.837 59.1631 221.6 88.4768 221.6V206.4ZM101.329 206.4H88.4768V221.6H101.329V206.4ZM125.205 197.929C118.687 203.229 110.389 206.4 101.329 206.4V221.6C114.007 221.6 125.665 217.145 134.794 209.723L125.205 197.929ZM158.67 206.4C149.61 206.4 141.312 203.229 134.794 197.929L125.205 209.723C134.333 217.145 145.992 221.6 158.67 221.6V206.4ZM171.522 206.4H158.67V221.6H171.522V206.4ZM209.399 168.523C209.399 189.442 192.441 206.4 171.522 206.4V221.6C200.836 221.6 224.599 197.837 224.599 168.523H209.399ZM209.399 166.549V168.523H224.599V166.549H209.399ZM209.799 163.855C209.799 164.033 209.773 164.191 209.729 164.333L224.269 168.765C224.745 167.202 224.999 165.551 224.999 163.855H209.799ZM209.799 151.503V163.855H224.999V151.503H209.799ZM209.8 151.23C209.8 151.291 209.8 151.35 209.799 151.409L224.998 151.596C225 151.474 225 151.352 225 151.23H209.8ZM209.799 151.051C209.8 151.11 209.8 151.17 209.8 151.23H225C225 151.109 225 150.987 224.998 150.864L209.799 151.051ZM209.799 87.1709V150.958H224.999V87.1709H209.799ZM187.228 64.6001C199.693 64.6001 209.799 74.7054 209.799 87.1709H224.999C224.999 66.3106 208.088 49.3999 187.228 49.3999V64.6001ZM192.223 59.6048C192.223 62.3636 189.986 64.6001 187.228 64.6001V49.3999C181.592 49.3999 177.023 53.9688 177.023 59.6048H192.223ZM192.223 81.5337V59.6048H177.023V81.5337H192.223ZM192.226 81.8583C192.226 81.7078 192.224 81.5574 192.222 81.407L177.024 81.6604C177.025 81.726 177.025 81.792 177.025 81.8583H192.226ZM192.226 159.701V81.8583H177.025V159.701H192.226ZM165.506 186.42C180.263 186.42 192.226 174.457 192.226 159.701H177.025C177.025 166.063 171.868 171.22 165.506 171.22V186.42ZM138.787 159.701C138.787 174.457 150.75 186.42 165.506 186.42V171.22C159.145 171.22 153.987 166.063 153.987 159.701H138.787ZM138.787 100.997V159.701H153.987V100.997H138.787ZM148.433 108.316L148.435 108.316L144.339 93.6777L144.338 93.6782L148.433 108.316ZM138.785 87.1709V100.997H153.986V87.1709H138.785ZM116.215 64.6001C128.68 64.6001 138.785 74.7054 138.785 87.1709H153.986C153.986 66.3106 137.075 49.3999 116.215 49.3999V64.6001ZM121.21 59.6048C121.21 62.3636 118.973 64.6001 116.215 64.6001V49.3999C110.579 49.3999 106.01 53.9688 106.01 59.6048H121.21ZM121.21 81.5938V59.6048H106.01V81.5938H121.21ZM106.01 81.6965C106.011 81.7506 106.012 81.8046 106.012 81.8583H121.212C121.212 81.7354 121.211 81.613 121.209 81.491L106.01 81.6965ZM106.012 81.8583V159.701H121.212V81.8583H106.012ZM106.012 159.701C106.012 166.063 100.854 171.22 94.4924 171.22V186.42C109.249 186.42 121.212 174.457 121.212 159.701H106.012ZM94.4924 171.22C88.1306 171.22 82.9733 166.063 82.9733 159.701H67.7732C67.7732 174.457 79.7358 186.42 94.4924 186.42V171.22ZM82.9733 159.701V101.235H67.7732V159.701H82.9733ZM77.5553 108.515C77.5575 108.514 77.5593 108.514 77.5604 108.513C77.5615 108.513 77.5625 108.513 77.5625 108.513C77.5633 108.512 77.5605 108.513 77.5571 108.514L73.1894 93.9553C73.1872 93.9559 73.1854 93.9565 73.1842 93.9568C73.1832 93.9571 73.1822 93.9574 73.1822 93.9574C73.1814 93.9577 73.1842 93.9568 73.1876 93.9558L77.5553 108.515ZM67.7714 87.1709V101.235H82.9715V87.1709H67.7714ZM45.2005 64.6001C57.666 64.6001 67.7714 74.7054 67.7714 87.1709H82.9715C82.9715 66.3106 66.0608 49.3999 45.2005 49.3999V64.6001Z" fill="white"/>
5
- <path d="M289.767 89.4945C289.532 88.9289 289.414 88.2927 289.414 87.5858C289.414 86.8317 289.814 85.9834 290.616 85.0408C291.464 84.0511 292.713 83.5562 294.362 83.5562H309.844C311.682 83.5562 313.379 84.1925 314.934 85.465C316.489 86.7374 317.597 88.3398 318.257 90.2721L336.92 146.261L354.169 90.2721C355.536 85.7949 358.34 83.5562 362.582 83.5562H375.589C379.831 83.5562 382.635 85.7949 384.002 90.2721L401.251 146.261L419.914 90.2721C420.574 88.3398 421.681 86.7374 423.236 85.465C424.792 84.1925 426.488 83.5562 428.326 83.5562H443.808C445.411 83.5562 446.612 84.0511 447.414 85.0408C448.262 85.9834 448.686 86.8317 448.686 87.5858C448.686 88.2927 448.592 88.9289 448.403 89.4945L416.874 177.72C415.13 182.527 411.737 184.931 406.694 184.931H396.444C391.212 184.931 387.843 182.527 386.334 177.72L369.085 123.286L351.836 177.72C350.281 182.527 346.911 184.931 341.727 184.931H331.406C326.41 184.931 323.04 182.527 321.297 177.72L289.767 89.4945ZM450.253 176.023C442.995 169.142 439.366 159.245 439.366 146.332C439.366 133.372 443.018 123.427 450.323 116.499C457.628 109.524 467.761 106.037 480.721 106.037C493.682 106.037 503.791 109.43 511.049 116.217C518.307 122.956 521.936 132.641 521.936 145.272V149.301C521.936 150.574 521.512 151.634 520.663 152.482C519.862 153.283 518.825 153.684 517.553 153.684H464.321C464.792 159.481 466.441 163.699 469.269 166.338C472.144 168.977 476.715 170.297 482.984 170.297C489.252 170.297 493.541 168.883 495.85 166.055C498.159 163.228 501.01 161.79 504.404 161.743H514.937C516.21 161.743 517.246 162.167 518.048 163.016C518.896 163.817 519.32 164.854 519.32 166.126C519.32 179.652 506.43 186.392 480.651 186.344C467.643 186.344 457.51 182.904 450.253 176.023ZM464.179 138.768H497.052C496.58 127.645 491.113 122.084 480.651 122.084C470.235 122.084 464.745 127.645 464.179 138.768ZM537.104 176.023C529.846 169.142 526.217 159.245 526.217 146.332C526.217 133.372 529.869 123.427 537.174 116.499C544.479 109.524 554.612 106.037 567.572 106.037C580.533 106.037 590.642 109.43 597.9 116.217C605.158 122.956 608.787 132.641 608.787 145.272V149.301C608.787 150.574 608.363 151.634 607.514 152.482C606.713 153.283 605.676 153.684 604.404 153.684H551.172C551.643 159.481 553.292 163.699 556.12 166.338C558.995 168.977 563.567 170.297 569.835 170.297C576.103 170.297 580.392 168.883 582.701 166.055C585.01 163.228 587.861 161.79 591.255 161.743H601.788C603.061 161.743 604.097 162.167 604.899 163.016C605.747 163.817 606.171 164.854 606.171 166.126C606.171 179.652 593.281 186.392 567.502 186.344C554.494 186.344 544.361 182.904 537.104 176.023ZM551.03 138.768H583.903C583.431 127.645 577.964 122.084 567.502 122.084C557.086 122.084 551.596 127.645 551.03 138.768ZM623.955 176.023C616.697 169.142 613.068 159.245 613.068 146.332C613.068 133.372 616.72 123.427 624.025 116.499C631.33 109.524 641.463 106.037 654.424 106.037C667.384 106.037 677.493 109.43 684.751 116.217C692.009 122.956 695.638 132.641 695.638 145.272V149.301C695.638 150.574 695.214 151.634 694.365 152.482C693.564 153.283 692.527 153.684 691.255 153.684H638.023C638.494 159.481 640.143 163.699 642.971 166.338C645.846 168.977 650.418 170.297 656.686 170.297C662.954 170.297 667.243 168.883 669.552 166.055C671.861 163.228 674.713 161.79 678.106 161.743H688.639C689.912 161.743 690.948 162.167 691.75 163.016C692.598 163.817 693.022 164.854 693.022 166.126C693.022 179.652 680.132 186.392 654.353 186.344C641.345 186.344 631.213 182.904 623.955 176.023ZM637.881 138.768H670.754C670.282 127.645 664.815 122.084 654.353 122.084C643.937 122.084 638.447 127.645 637.881 138.768ZM736.007 186.344C726.157 186.344 717.909 182.88 711.264 175.952C704.666 169.025 701.367 159.104 701.367 146.191C701.367 133.23 704.784 123.309 711.617 116.429C718.498 109.501 727.735 106.037 739.329 106.037C745.314 106.037 752.125 107.239 759.759 109.642V87.9392C759.759 86.6668 760.16 85.6299 760.961 84.8287C761.81 83.9804 762.846 83.5562 764.072 83.5562H779.836C781.109 83.5562 782.146 83.9804 782.947 84.8287C783.795 85.6299 784.219 86.6668 784.219 87.9392V180.618C784.219 181.844 783.795 182.88 782.947 183.729C782.146 184.53 781.109 184.931 779.836 184.931H766.263C764.991 184.931 763.954 184.53 763.153 183.729C762.352 182.88 761.951 181.844 761.951 180.618V178.427C754.505 183.705 745.856 186.344 736.007 186.344ZM744.419 123.145C737.915 123.145 733.32 124.983 730.634 128.659C727.947 132.288 726.604 138.132 726.604 146.191C726.604 154.25 727.877 160.117 730.422 163.793C732.967 167.469 736.784 169.307 741.874 169.307C747.011 169.307 752.973 167.187 759.759 162.945V125.972C753.68 124.087 748.566 123.145 744.419 123.145ZM800.875 176.023C793.617 169.142 789.988 159.245 789.988 146.332C789.988 133.372 793.64 123.427 800.945 116.499C808.25 109.524 818.383 106.037 831.344 106.037C844.304 106.037 854.413 109.43 861.671 116.217C868.929 122.956 872.558 132.641 872.558 145.272V149.301C872.558 150.574 872.134 151.634 871.285 152.482C870.484 153.283 869.447 153.684 868.175 153.684H814.943C815.414 159.481 817.064 163.699 819.891 166.338C822.766 168.977 827.338 170.297 833.606 170.297C839.874 170.297 844.163 168.883 846.472 166.055C848.781 163.228 851.633 161.79 855.026 161.743H865.559C866.832 161.743 867.869 162.167 868.67 163.016C869.518 163.817 869.942 164.854 869.942 166.126C869.942 179.652 857.052 186.392 831.273 186.344C818.265 186.344 808.133 182.904 800.875 176.023ZM814.801 138.768H847.674C847.202 127.645 841.736 122.084 831.273 122.084C820.857 122.084 815.367 127.645 814.801 138.768ZM931.912 125.407L921.025 124.983C914.663 124.983 908.583 128.47 902.786 135.445V180.618C902.786 181.891 902.362 182.928 901.514 183.729C900.713 184.53 899.699 184.931 898.474 184.931H882.639C881.366 184.931 880.329 184.53 879.528 183.729C878.727 182.928 878.326 181.891 878.326 180.618V111.834C878.326 110.561 878.727 109.524 879.528 108.723C880.376 107.875 881.413 107.451 882.639 107.451H898.474C899.746 107.451 900.783 107.875 901.585 108.723C902.386 109.524 902.786 110.561 902.786 111.834V116.287C907.593 112.8 912.212 110.231 916.642 108.582C921.119 106.885 926.963 106.037 934.174 106.037C935.447 106.037 936.483 106.461 937.285 107.309C938.133 108.11 938.557 109.124 938.557 110.349V121.094C938.557 122.367 938.133 123.404 937.285 124.205C936.483 125.006 935.447 125.407 934.174 125.407H931.912Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
6
- <path d="M963.646 122.589C960.717 122.589 958.013 122.082 955.534 121.068C953.056 120.016 950.878 118.57 949 116.73C947.16 114.852 945.714 112.674 944.663 110.196C943.649 107.68 943.142 104.976 943.142 102.084C943.142 99.1925 943.649 96.5074 944.663 94.0289C945.714 91.5128 947.16 89.3347 949 87.4945C950.878 85.6544 953.056 84.2273 955.534 83.2134C958.013 82.1619 960.717 81.6361 963.646 81.6361C966.538 81.6361 969.223 82.1619 971.701 83.2134C974.217 84.2273 976.395 85.6544 978.236 87.4945C980.076 89.3347 981.503 91.5128 982.517 94.0289C983.568 96.5074 984.094 99.1925 984.094 102.084C984.094 104.976 983.568 107.68 982.517 110.196C981.503 112.674 980.076 114.852 978.236 116.73C976.395 118.57 974.217 120.016 971.701 121.068C969.223 122.082 966.538 122.589 963.646 122.589ZM963.646 118.983C966.049 118.983 968.265 118.57 970.293 117.744C972.321 116.88 974.086 115.679 975.588 114.139C977.09 112.599 978.236 110.815 979.024 108.788C979.85 106.722 980.264 104.488 980.264 102.084C980.264 99.6807 979.85 97.465 979.024 95.4371C978.236 93.3717 977.09 91.5879 975.588 90.0857C974.086 88.546 972.321 87.3631 970.293 86.5369C968.265 85.6732 966.049 85.2413 963.646 85.2413C961.205 85.2413 958.971 85.6732 956.943 86.5369C954.915 87.3631 953.15 88.546 951.648 90.0857C950.145 91.5879 948.981 93.3717 948.155 95.4371C947.366 97.465 946.972 99.6807 946.972 102.084C946.972 104.488 947.366 106.722 948.155 108.788C948.981 110.815 950.145 112.599 951.648 114.139C953.15 115.679 954.915 116.88 956.943 117.744C958.971 118.57 961.205 118.983 963.646 118.983ZM957.844 114.308C955.403 114.308 954.182 113.05 954.182 110.534V94.4795C954.182 93.09 954.539 92.0198 955.253 91.2687C956.004 90.48 957.093 90.0857 958.52 90.0857H965.28C968.021 90.0857 970.143 90.7805 971.645 92.17C973.147 93.5595 973.898 95.2682 973.898 97.2961C973.898 99.4742 973.166 101.145 971.701 102.309C970.274 103.474 968.284 104.056 965.73 104.056L967.645 103.38C968.922 103.38 969.936 103.68 970.687 104.281C971.438 104.844 972.058 106.065 972.546 107.943L973.11 109.97C973.485 111.473 973.279 112.58 972.49 113.294C971.739 113.97 970.706 114.308 969.392 114.308C968.49 114.308 967.739 114.045 967.138 113.519C966.575 112.994 966.2 112.28 966.012 111.379L964.998 107.267C964.848 106.591 964.566 106.14 964.153 105.915C963.777 105.652 963.346 105.52 962.857 105.52H960.491L961.562 104.844V110.534C961.562 113.05 960.322 114.308 957.844 114.308ZM961.505 100.225H964.209C965.111 100.225 965.787 100.037 966.237 99.6619C966.688 99.2864 966.913 98.6668 966.913 97.803C966.913 96.9393 966.669 96.3197 966.181 95.9441C965.73 95.5686 965.073 95.3808 964.209 95.3808H961.505V100.225Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
7
- </svg>
2
+ <svg class="h-2r w-max" width="270" height="300" viewBox="0 0 270 300" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <g clip-path="url(#clip0)">
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M264.626 52.2791C265.531 57.2858 266 62.4066 266 67.6155C266 125.882 207.349 173.116 135 173.116C62.6507 173.116 4 125.882 4 67.6155C4 62.4066 4.46875 57.2858 5.37413 52.2791C11.0997 32.6306 21.1714 14.8341 34.4789 0C34.1621 2.17658 34 4.38345 34 6.61562C34 43.8948 79.2192 74.1156 135 74.1156C190.781 74.1156 236 43.8948 236 6.61562C236 4.38345 235.838 2.17659 235.521 5.29254e-06C248.829 14.8341 258.9 32.6306 264.626 52.2791Z" fill="#00FF88"/>
5
+ <path d="M270 165C270 239.558 209.558 300 135 300C60.4416 300 0 239.558 0 165C0 90.4416 60.4416 30 135 30C209.558 30 270 90.4416 270 165Z" fill="#00FF88"/>
6
+ <ellipse class="eye" cx="143" cy="155.5" rx="37" ry="37.5" stroke="white" fill="white" stroke-width="1.48515"/>
7
+ <g class="eye">
8
+ <path d="M215 166C215 210.849 179.07 247 135 247C90.9303 247 55 210.849 55 166C55 121.151 90.9303 85 135 85C179.07 85 215 121.151 215 166Z" stroke="white" stroke-width="11"/>
8
9
 
10
+ </g>
11
+ </g>
12
+ <defs>
13
+ <clipPath id="clip0">
14
+ <rect width="269.333" height="300" fill="white"/>
15
+ </clipPath>
16
+ </defs>
17
+ </svg>
9
18
  </template>
10
19
 
11
20
  <script setup>
12
- const props = defineProps({
13
- fill: {
14
- type: String,
15
- default: 'rgb(var(--black))'
16
- },
17
- theme: {
18
- type: String,
19
- default: "light"
20
- }
21
- })
22
- </script>
21
+ // Здесь нет необходимости в дополнительном JavaScript
22
+ </script>
23
+
24
+ <style lang="scss" scoped>
25
+ .eye {
26
+ animation: rotateEye 10s linear infinite;
27
+ transform-origin: center 55%;
28
+ }
29
+
30
+ .mouth {
31
+ animation: rotateMouth 20s ease-in-out infinite;
32
+ transform-origin: center 55%;
33
+ }
34
+
35
+ @keyframes rotateEye {
36
+ from {
37
+ transform: rotate(0deg);
38
+ }
39
+ to {
40
+ transform: rotate(360deg);
41
+ }
42
+ }
43
+
44
+ @keyframes rotateMouth {
45
+ 0% {
46
+ transform: rotate(0deg);
47
+ }
48
+ 50% {
49
+ transform: rotate(180deg);
50
+ }
51
+ 100% {
52
+ transform: rotate(360deg);
53
+ }
54
+ }
55
+ </style>
@@ -24,6 +24,8 @@
24
24
  <div class="w-100 pos-relative">
25
25
  <!-- Name -->
26
26
  <p class="t-truncate t-medium">{{ product.name }}
27
+ {{product.date}}
28
+ {{product.listing}}
27
29
  <span v-if="product.size" class="t-transp">, {{ product.size}}</span>
28
30
  <span v-if="typeof product.color === 'string' && product.size" class="t-transp">, </span>
29
31
  <span v-if="typeof product.color === 'string' " class="t-transp">{{product.color}}</span>
@@ -16,6 +16,104 @@ const state = reactive({
16
16
  currentState: false
17
17
  });
18
18
 
19
+ /////////////////////////////
20
+ // Helpers
21
+ /////////////////////////////
22
+ const helpers = {
23
+ createCartItem(product, organization, type = 'sale') {
24
+ return {
25
+ _id: product._id,
26
+ images: product.images,
27
+ name: product.name,
28
+ price: product.price,
29
+ quantity: 1,
30
+ org_id: organization,
31
+ type: type
32
+ };
33
+ },
34
+
35
+ saveToStorage() {
36
+ localStorage.setItem(CART_STORAGE_KEY, JSON.stringify({
37
+ positions: state.positions,
38
+ organization: state.organization
39
+ }));
40
+ },
41
+
42
+ async validateProduct(product) {
43
+ const serverProduct = await api.fetchProduct(product._id);
44
+
45
+ if (!serverProduct) {
46
+ return false;
47
+ }
48
+
49
+ return serverProduct.price === product.price &&
50
+ serverProduct.name === product.name &&
51
+ serverProduct.available !== false;
52
+ }
53
+ };
54
+
55
+ /////////////////////////////
56
+ // SYNC PRODUCT IN SHOPCART
57
+ /////////////////////////////
58
+ // Constants
59
+ const CART_STORAGE_KEY = 'shopcart';
60
+ const SYNC_INTERVAL = 30000; // 30 seconds in milliseconds
61
+
62
+ // API service
63
+ const api = {
64
+ async fetchProduct(productId) {
65
+ try {
66
+ const response = await fetch(`/api/products/read`, { _id: productId});
67
+ return await response.json();
68
+ } catch (error) {
69
+ console.error('Failed to fetch product:', error);
70
+ return null;
71
+ }
72
+ }
73
+ };
74
+
75
+ async function syncWithServer() {
76
+ try {
77
+ const invalidProducts = [];
78
+
79
+ for (let i = 0; i < state.positions.length; i++) {
80
+ const product = state.positions[i];
81
+ const serverProduct = await api.fetchProduct(product._id);
82
+
83
+ if (!serverProduct ||
84
+ serverProduct.price !== product.price ||
85
+ serverProduct.name !== product.name ||
86
+ serverProduct.available === false) {
87
+ invalidProducts.push(product._id);
88
+ }
89
+ }
90
+
91
+ if (invalidProducts.length > 0) {
92
+ state.positions = state.positions.filter(
93
+ product => !invalidProducts.includes(product._id)
94
+ );
95
+ helpers.saveToStorage();
96
+ setError('Some products were removed from cart due to changes on server');
97
+ }
98
+ } catch (error) {
99
+ console.error('Failed to sync with server:', error);
100
+ }
101
+ }
102
+ // Initialize periodic sync
103
+ let syncInterval;
104
+
105
+ const startPeriodicSync = () => {
106
+ syncInterval = setInterval(syncWithServer, SYNC_INTERVAL);
107
+ };
108
+
109
+ const stopPeriodicSync = () => {
110
+ if (syncInterval) {
111
+ clearInterval(syncInterval);
112
+ }
113
+ };
114
+
115
+ // Start sync when module is imported
116
+ startPeriodicSync();
19
117
  /////////////////////////////
20
118
  // Actions
21
119
  /////////////////////////////
@@ -41,7 +139,7 @@ const actions = {
41
139
  },
42
140
 
43
141
 
44
- addProductToCart(product, organization) {
142
+ addProductToCart(product, organization, date) {
45
143
  const cartItem = state.positions.find(
46
144
  (item) => item._id === product._id
47
145
  );
@@ -55,6 +153,7 @@ const actions = {
55
153
  name: product.name,
56
154
  price: product.price,
57
155
  quantity: 1,
156
+ date: date,
58
157
  org_id: organization, // Добавляем _id организации к каждому продукту
59
158
  });
60
159
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <header v-if="!MOBILE_APP" class="pd-small bg-red flex-v-center flex-nowrap flex">
3
+ <header v-if="!MOBILE_APP" class="pd-small bg-white flex-v-center flex-nowrap flex">
4
4
  <h2 class="mn-r-medium">Groups</h2>
5
5
  <button
6
6
  @click="$router.push({