@ozdao/prometheus-framework 0.2.111 → 0.2.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (533) hide show
  1. package/dist/common.schema-BFhpUXUt.js +12 -0
  2. package/dist/common.schema-ChBVARrs.mjs +13 -0
  3. package/dist/community.server.js +6 -4
  4. package/dist/community.server.mjs +4 -2
  5. package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
  6. package/dist/engagement.schema-fdLNO2_6.js +27 -0
  7. package/dist/events.server.js +6 -4
  8. package/dist/events.server.mjs +4 -2
  9. package/dist/files.server.js +81 -29
  10. package/dist/files.server.mjs +81 -29
  11. package/dist/gallery.server.js +66 -39
  12. package/dist/gallery.server.mjs +66 -39
  13. package/dist/main-8APITHuW.mjs +14201 -0
  14. package/dist/main-8N2Jmsuk.js +2 -2
  15. package/dist/main-BJvlNekm.mjs +5 -5
  16. package/dist/main-BQisDfLk.js +2 -2
  17. package/dist/main-BV1Yv9Hy.js +2 -2
  18. package/dist/main-Bw0PvTs-.mjs +5 -5
  19. package/dist/main-ByCtZbHD.mjs +5 -5
  20. package/dist/main-CX2ISR43.mjs +5 -5
  21. package/dist/main-CXObXjv-.js +2 -2
  22. package/dist/main-CkeuHuCY.mjs +5 -5
  23. package/dist/main-CnfcBov2.mjs +5 -5
  24. package/dist/main-D50VqYhy.js +2 -2
  25. package/dist/main-D8gNZLSa.js +2 -2
  26. package/dist/main-DPsHxX0l.mjs +5 -5
  27. package/dist/main-DTlUA63C.mjs +5 -5
  28. package/dist/main-DfD5hLQo.mjs +5 -5
  29. package/dist/main-Dh6Zfei9.js +2 -2
  30. package/dist/main-DmNP-t33.mjs +5 -5
  31. package/dist/main-DwyUYWFX.js +2 -2
  32. package/dist/main-VcxO-jAt.js +92 -0
  33. package/dist/main-cffh4bbv.js +2 -2
  34. package/dist/main-pGo7JpSP.js +2 -2
  35. package/dist/main.css +1 -1
  36. package/dist/metadata.schema-6slGhpQS.js +40 -0
  37. package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
  38. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  39. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
  40. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  41. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
  42. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  43. package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
  44. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  45. package/dist/node_modules/web3/lib/esm/index.js +45 -42
  46. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  47. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  48. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  49. package/dist/node_modules/web3/lib/esm/web3.js +40 -37
  50. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  51. package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
  52. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
  54. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  55. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
  56. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
  57. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
  58. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
  59. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
  60. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
  61. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
  62. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
  63. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
  64. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
  65. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
  66. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
  67. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
  68. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
  70. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
  72. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
  74. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
  76. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
  78. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
  80. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
  82. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
  84. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
  86. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
  88. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
  89. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
  90. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  91. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
  92. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
  93. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
  94. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
  96. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  97. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
  98. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  99. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
  100. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  101. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
  102. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  103. package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
  104. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  105. package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
  106. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
  108. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  109. package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
  110. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  111. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
  112. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
  113. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
  114. package/dist/orders.server.js +1 -1
  115. package/dist/orders.server.mjs +1 -1
  116. package/dist/organizations.server.js +56 -59
  117. package/dist/organizations.server.mjs +56 -59
  118. package/dist/products.server.js +1 -1
  119. package/dist/products.server.mjs +1 -1
  120. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  121. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
  122. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
  124. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
  126. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
  128. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
  129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
  130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
  132. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
  134. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
  136. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
  137. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
  138. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
  140. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
  142. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
  144. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
  146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
  148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
  149. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
  150. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  152. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  154. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  156. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  164. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  166. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  168. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  170. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
  172. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  174. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  176. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  178. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
  180. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  182. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  184. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  186. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  188. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  190. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
  194. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  196. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  197. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  198. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  200. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  202. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  204. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  205. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  207. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  209. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  211. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  213. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  215. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  217. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  218. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  219. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  220. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  221. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  223. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  225. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  227. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  228. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  229. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  230. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  231. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  232. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  233. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  234. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  235. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  236. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  237. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  239. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  245. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  247. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  249. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  251. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  253. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  255. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  257. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  261. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  263. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  267. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  269. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  273. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  275. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  276. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  277. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  279. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  281. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  283. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  285. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  287. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
  289. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
  291. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  293. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  295. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  297. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  299. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  301. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  303. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  305. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  307. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  309. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  311. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  313. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  315. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  319. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  321. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  323. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  324. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  326. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  328. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  330. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  332. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  334. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  336. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  338. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
  340. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
  342. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  344. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  346. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  348. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
  349. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
  350. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
  351. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
  352. package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
  354. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  356. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
  358. package/dist/prometheus-framework.cjs.js +1 -1
  359. package/dist/prometheus-framework.es.js +1 -1
  360. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  361. package/dist/queryProcessor-DWf9tsis.js +161 -0
  362. package/dist/style.css +1 -1
  363. package/dist/wallet.server.js +1 -1
  364. package/dist/wallet.server.mjs +1 -1
  365. package/dist/web-TGdVOTnw.js +1 -0
  366. package/dist/web-_W9a_nWD.mjs +54 -0
  367. package/package.json +1 -1
  368. package/src/components/Address/Address.vue +1 -1
  369. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  370. package/src/components/Block/Block.vue +1 -1
  371. package/src/components/Checkbox/Checkbox.vue +40 -43
  372. package/src/components/Chips/Chips.vue +2 -2
  373. package/src/components/DatePicker/Calendar.vue +29 -31
  374. package/src/components/Dropdown/Dropdown.vue +5 -11
  375. package/src/components/Feed/Feed.vue +98 -15
  376. package/src/components/FieldTags/BlockTags.vue +3 -3
  377. package/src/components/FieldTags/FieldTags.vue +1 -1
  378. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  379. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  380. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  381. package/src/components/Map/LoaderGMaps.js +66 -0
  382. package/src/components/Map/Map.vue +2 -1
  383. package/src/components/Marquee/Marquee.vue +1 -1
  384. package/src/components/Radio/Radio.vue +36 -13
  385. package/src/configurator/components/pages/Styles.vue +1 -1
  386. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  387. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  388. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  389. package/src/modules/auth/components/pages/Invite.vue +2 -2
  390. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  391. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  392. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  393. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  394. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  395. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  396. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  397. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  398. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  399. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  400. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  401. package/src/modules/community/components/layouts/Community.vue +2 -2
  402. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  403. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  404. package/src/modules/community/components/sections/Comments.vue +2 -2
  405. package/src/modules/community/components/sections/Feed.vue +1 -1
  406. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  407. package/src/modules/constructor/components/elements/Image.vue +1 -1
  408. package/src/modules/constructor/components/elements/Video.vue +2 -2
  409. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  410. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  411. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  412. package/src/modules/events/components/pages/Event.vue +3 -3
  413. package/src/modules/events/components/pages/Events.vue +4 -3
  414. package/src/modules/events/components/sections/Feed.vue +3 -3
  415. package/src/modules/events/components/sections/List.vue +2 -2
  416. package/src/modules/files/controllers/files.controller.js +8 -6
  417. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  418. package/src/modules/files/routes/files.routes.js +11 -9
  419. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  420. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  421. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  422. package/src/modules/gallery/models/photo.model.js +20 -11
  423. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  424. package/src/modules/gallery/store/gallery.js +3 -78
  425. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  426. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  427. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  428. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  429. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  430. package/src/modules/globals/components/layouts/Client.vue +273 -0
  431. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  432. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  433. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  434. package/src/modules/globals/models/common.schema.js +1 -1
  435. package/src/modules/globals/services/globals.store.js +11 -6
  436. package/src/modules/globals/store/globals.js +12 -10
  437. package/src/modules/icons/logos/Logotype.vue +23 -19
  438. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  439. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  440. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  441. package/src/modules/icons/navigation/IconSort.vue +21 -0
  442. package/src/modules/landing/components/pages/Home.vue +4 -4
  443. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  444. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  445. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  446. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  447. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  448. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  449. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  450. package/src/modules/landing/landing.client.js +2 -0
  451. package/src/modules/landing/router/landing.js +1 -1
  452. package/src/modules/legal/components/pages/Legal.vue +2 -2
  453. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  454. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  455. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  456. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  457. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  458. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  459. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  460. package/src/modules/marketplace/store/marketplace.js +22 -167
  461. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  462. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  463. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  464. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  465. package/src/modules/orders/components/pages/Order.vue +8 -8
  466. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  467. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  468. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  469. package/src/modules/orders/components/pages/Orders.vue +3 -5
  470. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  471. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  472. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  473. package/src/modules/orders/store/applications.js +1 -1
  474. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  475. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  476. package/src/modules/organizations/components/pages/Department.vue +3 -3
  477. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  478. package/src/modules/organizations/components/pages/Members.vue +4 -4
  479. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  480. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  481. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  482. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  483. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  484. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  485. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  486. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  487. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  488. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  489. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  490. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  491. package/src/modules/organizations/models/organization.model.js +10 -7
  492. package/src/modules/organizations/store/organizations.js +3 -34
  493. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  494. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  495. package/src/modules/products/components/pages/Categories.vue +1 -1
  496. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  497. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  498. package/src/modules/products/components/pages/Product.vue +1 -5
  499. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  500. package/src/modules/products/components/pages/Products.vue +2 -2
  501. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  502. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  503. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  504. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  505. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  506. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  507. package/src/modules/products/products.client.js +0 -2
  508. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  509. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  510. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  511. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  512. package/src/modules/spots/components/pages/Spot.vue +4 -4
  513. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  514. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  515. package/src/modules/spots/components/sections/Places.vue +1 -1
  516. package/src/modules/users/components/blocks/CardUser.vue +3 -3
  517. package/src/modules/users/components/pages/Profile.vue +5 -5
  518. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  519. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  520. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  521. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  522. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  523. package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
  524. package/src/modules/users/users.client.js +5 -0
  525. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  526. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  527. package/src/styles/base/borders.scss +4 -0
  528. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  529. package/src/styles/config.scss +15 -9
  530. package/src/styles/layout.scss +37 -8
  531. package/src/styles/typography.scss +24 -24
  532. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  533. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section class="pd-thin">
3
- <TransitionGroup tag="ul" name="fade" class="o-hidden bg-grey radius-big">
3
+ <TransitionGroup tag="ul" name="fade" class="o-hidden bg-light radius-big">
4
4
  <SkeletonEvent
5
5
  v-if="isLoading"
6
6
  v-for="i in 3" :key="i"
@@ -14,7 +14,7 @@
14
14
  v-if="!isLoading && !event"
15
15
  title="No Event Found"
16
16
  description="Currently, there are no events available. Please check back later."
17
- class="pd-medium mn-b-thin bg-grey radius-big"
17
+ class="pd-medium mn-b-thin bg-light radius-big"
18
18
  />
19
19
  </transition>
20
20
 
@@ -117,7 +117,7 @@
117
117
  :owner="event.owner"
118
118
  :user="auth.state.user._id"
119
119
  :type="'normal'"
120
- class="mn-b-medium bg-grey radius-big"
120
+ class="mn-b-medium bg-light radius-big"
121
121
  >
122
122
  <ButtonJoin
123
123
  v-if="auth.state.user._id"
@@ -11,7 +11,7 @@
11
11
  </header>
12
12
  <List
13
13
  :user="auth.state.user._id"
14
- class="bg-grey mn-b-medium radius-big"
14
+ class="bg-light mn-b-medium radius-big"
15
15
  :phase="'planned'"
16
16
  />
17
17
  <header
@@ -34,7 +34,7 @@
34
34
  <DatePicker
35
35
  v-model:date="events.state.filter.date"
36
36
  :locale="$i18n.locale"
37
- class="radius-semi o-hidden bg-grey mn-b-thin pd-l-zero pd-r-zero pd-medium"
37
+ class="radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium"
38
38
  />
39
39
 
40
40
  <Feed
@@ -64,7 +64,7 @@
64
64
  :event="event"
65
65
  :user="auth.state.user._id"
66
66
  :type="'normal'"
67
- class="bg-grey radius-big mn-b-medium"
67
+ class="bg-light radius-big mn-b-medium"
68
68
  />
69
69
  </Feed>
70
70
  </section>
@@ -78,6 +78,7 @@
78
78
  import Feed from '@pf/src/components/Feed/Feed.vue'
79
79
  import DatePicker from '@pf/src/components/DatePicker/DatePicker.vue'
80
80
 
81
+
81
82
  import List from '@pf/src/modules/events/components/sections/List.vue';
82
83
  import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';
83
84
  // Import state
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section class="feed">
3
- <TransitionGroup tag="ul" name="scaleTransition" class="o-hidden bg-grey radius-big">
3
+ <TransitionGroup tag="ul" name="scaleTransition" class="o-hidden bg-light radius-big">
4
4
  <SkeletonEvent
5
5
  v-if="isLoading"
6
6
  v-for="i in limit" :key="i"
@@ -14,7 +14,7 @@
14
14
  v-if="!isLoading && eventsList.length < 1"
15
15
  title="No Events Found"
16
16
  description="Currently, there are no events available. Please check back later."
17
- class="pd-medium mn-b-thin bg-grey radius-big"
17
+ class="pd-medium mn-b-thin bg-light radius-big"
18
18
  />
19
19
  </transition>
20
20
 
@@ -28,7 +28,7 @@
28
28
  :event="event"
29
29
  :user="user"
30
30
  :type="'normal'"
31
- class="bg-grey radius-big mn-b-medium"
31
+ class="bg-light radius-big mn-b-medium"
32
32
  />
33
33
 
34
34
  <button v-if="hasMoreEvents && eventsList.length > 0" @click="loadMoreEvents" class="w-100 bg-main button">Load more</button>
@@ -6,7 +6,7 @@
6
6
  <Loader v-if="isLoading" class="z-index-5 pos-t-50 left-t-50 pos-absolute"/>
7
7
  </transition> -->
8
8
 
9
- <TransitionGroup tag="ul" name="fade" class="o-hidden bg-grey radius-big">
9
+ <TransitionGroup tag="ul" name="fade" class="o-hidden bg-light radius-big">
10
10
  <SkeletonEventShort
11
11
  v-if="isLoading"
12
12
  v-for="i in limit" :key="i"
@@ -20,7 +20,7 @@
20
20
  v-if="!isLoading && eventsList.length < 1"
21
21
  title="No Events Today"
22
22
  description="Today, are no events available. Please check back later."
23
- class="pd-medium mn-b-thin bg-grey radius-big"
23
+ class="pd-medium mn-b-thin bg-light radius-big"
24
24
  />
25
25
  </transition>
26
26
 
@@ -3,18 +3,20 @@ const path = require('path');
3
3
  const controllerFactory = (db, publicPath) => {
4
4
 
5
5
  const uploadMultipleFileController = async (req, res, next) => {
6
- console.log('uploadMultipleFileController called');
7
- console.log("Files received:", req.files ? req.files.length : 0); // Лог
8
-
9
6
  if (!req.files || req.files.length === 0) {
10
7
  return res.status(400).send({ message: 'No files uploaded.' });
11
8
  }
12
9
 
13
- const convertToRelativePath = (absolutePath, publicPath) => {
14
- return '/' + path.relative(publicPath, absolutePath);
10
+ const convertToRelativePath = (absolutePath) => {
11
+
12
+ if (!absolutePath.startsWith('/')) {
13
+ absolutePath = '/' + absolutePath;
14
+ }
15
+
16
+ return absolutePath;
15
17
  };
16
18
 
17
- req.files = req.files.map(file => convertToRelativePath(file, publicPath));
19
+ req.files = req.files.map(file => convertToRelativePath(file));
18
20
 
19
21
  try {
20
22
  const fileResponses = req.files.map(file => ({
@@ -4,12 +4,27 @@ const fsp = require('fs/promises');
4
4
  const path = require('path');
5
5
  const busboy = require('busboy');
6
6
 
7
+ const convertToJpg = async (filePath) => {
8
+ const metadata = await sharp(filePath).metadata();
9
+
10
+ if (metadata.format === 'heic' || metadata.format === 'heif' || metadata.format === 'tiff' || metadata.format === 'bmp') {
11
+ const jpgPath = filePath.replace(/\.[^.]+$/, '.jpg');
12
+
13
+ await sharp(filePath).toFormat('jpeg').toFile(jpgPath);
14
+ await fsp.unlink(filePath);
15
+
16
+ filePath = jpgPath
17
+ }
18
+
19
+ return filePath;
20
+ };
21
+
7
22
  const createThumbnail = async (originalPath) => {
8
23
  const thumbnailPath = path.join(
9
24
  path.dirname(originalPath),
10
25
  'thumbnail_' + path.basename(originalPath)
11
26
  );
12
-
27
+
13
28
  try {
14
29
  const metadata = await sharp(originalPath).metadata();
15
30
 
@@ -29,15 +44,14 @@ const createThumbnail = async (originalPath) => {
29
44
  }
30
45
  };
31
46
 
32
-
33
47
  const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'unsorted', maxSize = 10 * 1024 * 1024, allowedTypes = null }) => {
34
- console.log('handleFileUpload middleware called');
35
- console.log('Options:' + folderNameDefault + maxSize + allowedTypes);
36
-
37
48
  let folderName = req.query.folderName || folderNameDefault;
49
+
38
50
  folderName = decodeURIComponent(folderName);
39
51
  folderName = folderName.startsWith('/') ? folderName : '/' + folderName;
52
+
40
53
  const filePath = path.join(publicPath, folderName);
54
+
41
55
  let files = [];
42
56
  let filesWrongSize = [];
43
57
  let filesWrongType = [];
@@ -52,6 +66,7 @@ const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'uns
52
66
  console.log(`Received file: ${info.filename}, Type: ${info.mimeType}`);
53
67
 
54
68
  const isValidType = !allowedTypes || allowedTypes.includes(info.mimeType);
69
+
55
70
  if (!isValidType) {
56
71
  console.log(`File of wrong type: ${info.filename}`);
57
72
  filesWrongType.push(info.filename);
@@ -71,19 +86,21 @@ const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'uns
71
86
 
72
87
  // Применяем нормализацию к имени файла
73
88
  const fileName = `${Math.floor(Math.random() * 10000)}-${normalizeFileName(info.filename)}`;
74
- const fileFullPath = path.join(filePath, fileName);
89
+
90
+ let fileFullPath = path.join(filePath, fileName);
75
91
 
76
92
  const fileProcess = fsp.mkdir(path.dirname(fileFullPath), { recursive: true })
77
93
  .then(() => new Promise((resolve, reject) => {
78
94
  const stream = file.pipe(fs.createWriteStream(fileFullPath));
79
- stream.on('finish', () => {
95
+ stream.on('finish', async () => {
96
+
80
97
  files.push(path.relative(publicPath, fileFullPath));
98
+
81
99
  resolve();
82
100
  });
83
101
  stream.on('error', reject);
84
102
  }));
85
103
 
86
-
87
104
  fileProcessingPromises.push(fileProcess);
88
105
 
89
106
  file.on('limit', () => {
@@ -122,6 +139,11 @@ const handleFileUpload = (req, res, next, publicPath, { folderNameDefault = 'uns
122
139
  const middlewareFactory = (db, publicPath) => {
123
140
  const generatePreviewMiddleware = async (req, res, next) => {
124
141
  const files = req.files;
142
+
143
+ if (!files || files.length === 0) {
144
+ return next();
145
+ }
146
+
125
147
  try {
126
148
  await Promise.all(files.map(file => createThumbnail(path.join(publicPath, file))));
127
149
  } catch (error) {
@@ -131,32 +153,75 @@ const middlewareFactory = (db, publicPath) => {
131
153
  next();
132
154
  };
133
155
 
156
+ const convertImagesMiddleware = async (req, res, next) => {
157
+ const files = req.files;
158
+
159
+ if (!files || files.length === 0) {
160
+ return next();
161
+ }
162
+
163
+ try {
164
+ req.files = await Promise.all(files.map(async file => {
165
+ const convertedPath = await convertToJpg(path.join(publicPath, file));
166
+ return path.relative(publicPath, convertedPath);
167
+ }));
168
+ next();
169
+ } catch (error) {
170
+ console.error('Error converting images or generating previews:', error);
171
+ return res.status(500).json({ message: 'Internal server error while processing images.' });
172
+ }
173
+ };
174
+
134
175
  const uploadFilesMiddleware = (req, res, next) => {
135
176
  const allowedTypes = [
136
177
  'image/png',
137
178
  'image/jpeg',
138
179
  'image/jpg',
139
180
  'image/gif',
181
+ 'image/heic',
182
+ 'image/heif',
183
+ 'image/webp',
184
+ 'image/tiff',
185
+ 'image/bmp',
140
186
  'application/pdf',
141
187
  'image/svg+xml',
142
188
  'video/mp4',
143
- 'video/quicktime', // MOV
189
+ 'video/quicktime',
144
190
  'video/webm'
145
191
  ];
146
192
 
147
-
148
- handleFileUpload(req, res, next, publicPath, { folderNameDefault: 'unsorted', maxSize: 100 * 1024 * 1024, allowedTypes });
193
+ handleFileUpload(req, res, next, publicPath, {
194
+ folderNameDefault: 'unsorted',
195
+ maxSize: 100 * 1024 * 1024,
196
+ allowedTypes
197
+ });
149
198
  };
150
199
 
151
200
  const uploadImagesMiddleware = (req, res, next) => {
152
- const allowedTypes = ['image/png', 'image/jpeg', 'image/jpg', 'image/gif'];
153
- handleFileUpload(req, res, next, publicPath, { folderNameDefault: 'unsorted', maxSize: 10 * 1024 * 1024, allowedTypes });
201
+ const allowedTypes = [
202
+ 'image/png',
203
+ 'image/jpeg',
204
+ 'image/jpg',
205
+ 'image/gif',
206
+ 'image/heic',
207
+ 'image/heif',
208
+ 'image/webp',
209
+ 'image/tiff',
210
+ 'image/bmp'
211
+ ];
212
+
213
+ handleFileUpload(req, res, next, publicPath, {
214
+ folderNameDefault: 'unsorted',
215
+ maxSize: 10 * 1024 * 1024,
216
+ allowedTypes
217
+ });
154
218
  };
155
219
 
156
220
  return {
157
221
  uploadImagesMiddleware,
158
222
  uploadFilesMiddleware,
159
- generatePreviewMiddleware
223
+ generatePreviewMiddleware,
224
+ convertImagesMiddleware
160
225
  };
161
226
  };
162
227
 
@@ -14,6 +14,17 @@ module.exports = function(app, db, origins, publicPath) {
14
14
  "/api/upload/image",
15
15
  [
16
16
  middlewareBusboy.uploadImagesMiddleware,
17
+ middlewareBusboy.convertImagesMiddleware,
18
+ middlewareBusboy.generatePreviewMiddleware
19
+ ],
20
+ controller.uploadMultipleFileController
21
+ );
22
+
23
+ app.post(
24
+ "/api/upload/multiple",
25
+ [
26
+ middlewareBusboy.uploadImagesMiddleware,
27
+ middlewareBusboy.convertImagesMiddleware,
17
28
  middlewareBusboy.generatePreviewMiddleware
18
29
  ],
19
30
  controller.uploadMultipleFileController
@@ -35,13 +46,4 @@ module.exports = function(app, db, origins, publicPath) {
35
46
  ],
36
47
  controller.uploadMultipleFileController
37
48
  );
38
-
39
- app.post(
40
- "/api/upload/multiple",
41
- [
42
- middlewareBusboy.uploadImagesMiddleware,
43
- middlewareBusboy.generatePreviewMiddleware
44
- ],
45
- controller.uploadMultipleFileController
46
- );
47
49
  };