@ozdao/prometheus-framework 0.2.112 → 0.2.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) 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 +4 -4
  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 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
  148. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  150. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  154. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  156. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  164. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +10 -10
  166. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  168. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  170. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  172. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
  174. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  176. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  178. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  180. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  182. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  184. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
  188. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  190. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  191. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  192. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  194. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  196. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  198. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  199. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  201. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  203. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  205. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  208. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  209. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  211. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  212. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  213. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  216. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  217. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  219. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  221. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  223. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  224. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  225. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  226. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  227. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  228. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  229. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  230. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  231. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  233. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
  235. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  243. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  245. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  247. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  249. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  251. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  253. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  257. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  259. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  263. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  265. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  267. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  269. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  271. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  275. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  277. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +9 -9
  279. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +16 -16
  281. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  283. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  285. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  287. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  289. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  291. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  293. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  295. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  297. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  299. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  301. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  303. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  305. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  307. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  309. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  311. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  313. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  314. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  315. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  316. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  318. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  319. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  320. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  322. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  324. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  326. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  328. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +34 -34
  330. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  332. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  334. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  336. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
  338. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  340. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +13 -10
  342. package/dist/prometheus-framework.cjs.js +1 -1
  343. package/dist/prometheus-framework.es.js +1 -1
  344. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  345. package/dist/queryProcessor-DWf9tsis.js +161 -0
  346. package/dist/style.css +1 -1
  347. package/dist/wallet.server.js +1 -1
  348. package/dist/wallet.server.mjs +1 -1
  349. package/dist/web-TGdVOTnw.js +1 -0
  350. package/dist/web-_W9a_nWD.mjs +54 -0
  351. package/package.json +1 -1
  352. package/src/components/Address/Address.vue +1 -1
  353. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  354. package/src/components/Block/Block.vue +1 -1
  355. package/src/components/Checkbox/Checkbox.vue +40 -43
  356. package/src/components/Chips/Chips.vue +2 -2
  357. package/src/components/DatePicker/Calendar.vue +29 -31
  358. package/src/components/Dropdown/Dropdown.vue +5 -11
  359. package/src/components/Feed/Feed.vue +98 -15
  360. package/src/components/FieldTags/BlockTags.vue +3 -3
  361. package/src/components/FieldTags/FieldTags.vue +1 -1
  362. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  363. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  364. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  365. package/src/components/Map/LoaderGMaps.js +66 -0
  366. package/src/components/Map/Map.vue +2 -1
  367. package/src/components/Marquee/Marquee.vue +1 -1
  368. package/src/components/Radio/Radio.vue +36 -13
  369. package/src/configurator/components/pages/Styles.vue +1 -1
  370. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  371. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  372. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  373. package/src/modules/auth/components/pages/Invite.vue +2 -2
  374. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  375. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  376. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  377. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  378. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  379. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  380. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  381. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  382. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  383. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  384. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  385. package/src/modules/community/components/layouts/Community.vue +2 -2
  386. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  387. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  388. package/src/modules/community/components/sections/Comments.vue +2 -2
  389. package/src/modules/community/components/sections/Feed.vue +1 -1
  390. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  391. package/src/modules/constructor/components/elements/Image.vue +1 -1
  392. package/src/modules/constructor/components/elements/Video.vue +2 -2
  393. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  394. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  395. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  396. package/src/modules/events/components/pages/Event.vue +3 -3
  397. package/src/modules/events/components/pages/Events.vue +4 -3
  398. package/src/modules/events/components/sections/Feed.vue +3 -3
  399. package/src/modules/events/components/sections/List.vue +2 -2
  400. package/src/modules/files/controllers/files.controller.js +8 -6
  401. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  402. package/src/modules/files/routes/files.routes.js +11 -9
  403. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  404. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  405. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  406. package/src/modules/gallery/models/photo.model.js +20 -11
  407. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  408. package/src/modules/gallery/store/gallery.js +3 -78
  409. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  410. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  411. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  412. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  413. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  414. package/src/modules/globals/components/layouts/Client.vue +273 -0
  415. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  416. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  417. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  418. package/src/modules/globals/models/common.schema.js +1 -1
  419. package/src/modules/globals/services/globals.store.js +11 -6
  420. package/src/modules/globals/store/globals.js +12 -10
  421. package/src/modules/icons/logos/Logotype.vue +23 -19
  422. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  423. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  424. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  425. package/src/modules/icons/navigation/IconSort.vue +21 -0
  426. package/src/modules/landing/components/pages/Home.vue +4 -4
  427. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  429. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  430. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  431. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  432. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  433. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  434. package/src/modules/landing/landing.client.js +2 -0
  435. package/src/modules/landing/router/landing.js +1 -1
  436. package/src/modules/legal/components/pages/Legal.vue +2 -2
  437. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  438. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  439. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  440. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  441. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  442. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  443. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  444. package/src/modules/marketplace/store/marketplace.js +22 -167
  445. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  446. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  447. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  448. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  449. package/src/modules/orders/components/pages/Order.vue +8 -8
  450. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  451. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  452. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  453. package/src/modules/orders/components/pages/Orders.vue +3 -5
  454. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  455. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  456. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  457. package/src/modules/orders/store/applications.js +1 -1
  458. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  459. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  460. package/src/modules/organizations/components/pages/Department.vue +3 -3
  461. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  462. package/src/modules/organizations/components/pages/Members.vue +4 -4
  463. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  464. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  465. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  466. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  467. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  468. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  469. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  470. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  471. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  472. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  473. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  474. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  475. package/src/modules/organizations/models/organization.model.js +10 -7
  476. package/src/modules/organizations/store/organizations.js +3 -34
  477. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  478. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  479. package/src/modules/products/components/pages/Categories.vue +1 -1
  480. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  481. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  482. package/src/modules/products/components/pages/Product.vue +1 -5
  483. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  484. package/src/modules/products/components/pages/Products.vue +2 -2
  485. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  486. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  487. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  488. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  489. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  490. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  491. package/src/modules/products/products.client.js +0 -2
  492. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  493. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  494. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  495. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  496. package/src/modules/spots/components/pages/Spot.vue +4 -4
  497. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  498. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  499. package/src/modules/spots/components/sections/Places.vue +1 -1
  500. package/src/modules/users/components/pages/Profile.vue +5 -5
  501. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  502. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  503. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  504. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  505. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  506. package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
  507. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  508. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  509. package/src/styles/base/borders.scss +4 -0
  510. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  511. package/src/styles/config.scss +15 -9
  512. package/src/styles/layout.scss +37 -8
  513. package/src/styles/typography.scss +24 -24
  514. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  515. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1,116 +1,71 @@
1
1
  <template>
2
2
  <div class="z-index-1 pos-relative radius-big bg-black t-white pd-medium flex-v-center flex-nowrap flex">
3
- <!-- <p class="t-semi radius-extra uppercase p-medium mn-r-thin">Filter by</p> -->
4
- <div class="
5
- mn-r-auto pd-micro gap-micro br-solid br-2px br-white radius-extra flex-nowrap flex
6
- "
3
+ <div class="mn-r-auto pd-micro gap-micro br-solid br-2px br-white radius-extra flex-nowrap flex"
7
4
  >
8
- <Dropdown
9
- id="fitlerCategory"
10
- :label="t('categoriesTitle')"
11
- class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
12
- :class="[
13
- store.marketplace.state.filter.categories.length > 0 ? 'bg-white t-black' : ''
14
- ]"
15
- >
16
- <div class="w-100 h-100 radius-semi o-hidden bg-black">
17
- <Checkbox
18
- v-for="(category, index) in categories"
19
- :label="category.name"
20
- name="categories"
21
- :value="category.url"
22
- class="cursor-pointer w-100 bg-black t-white radius-small pd-small"
23
- :radio="store.marketplace.state.filter.categories"
24
- @update:radio="event => store.marketplace.state.filter.categories = event"
25
- />
26
- </div>
27
- </Dropdown>
28
-
29
- <Dropdown
30
- id="fitlerPrice"
31
- :label="t('filters.price.title')"
32
- class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
33
- :class="[
34
- store.marketplace.state.filter.prices.length > 0 ? 'bg-white t-black' : ''
35
- ]"
36
- >
37
- <div class="w-100 h-100 radius-semi o-hidden bg-black">
38
- <Checkbox
39
- v-for="(price, index) in prices"
40
- :label="price.label"
41
- name="prices"
42
- :value="price.value"
43
- class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
44
- :radio="store.marketplace.state.filter.prices"
45
- @update:radio="event => store.marketplace.state.filter.prices = event"
46
- />
47
- </div>
48
- </Dropdown>
49
-
50
- <Dropdown
51
- label="Delivery"
52
- id="fitlerDelivery"
53
- class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
54
- :class="[
55
- store.marketplace.state.filter.delivery.length > 0 ? 'bg-white t-black' : ''
56
- ]"
57
- >
58
- <div class="w-100 h-100 radius-semi o-hidden bg-black">
59
- <Checkbox
60
- v-for="(delivery, index) in delivery"
61
- :label="delivery.label"
62
- name="prices"
63
- :value="delivery.value"
64
- class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
65
- :radio="store.marketplace.state.filter.delivery"
66
- @update:radio="event => store.marketplace.state.filter.delivery = event"
67
- />
68
- </div>
69
-
70
- </Dropdown>
71
- </div>
72
- <div class="flex-stretch flex-nowrap gap-thin flex">
73
- <Select
74
- :options="['products','distance','popularity']"
75
- v-model:select="store.marketplace.state.sort.param"
76
- placeholder="Select type"
77
- class="
78
- bg-white
79
- cursor-pointer
80
- radius-small
81
- pd-thin t-semi uppercase p-medium
82
- w-8r
83
- t-center
84
- t-black
85
- "
86
- />
87
- <div
88
- @click="() => {
89
- if (store.marketplace.state.sort.order === 'desc') {
90
- store.marketplace.state.sort.order = 'asc'
91
- }
92
- else {
93
- store.marketplace.state.sort.order = 'desc'
94
- }
95
- }"
96
- class="
97
- bg-white
98
- cursor-pointer
99
- pd-thin
100
- w-2r
101
- t-center
102
- t-black
103
- radius-small
104
- flex-justify-between
105
- flex-column
106
- flex
107
- aspect-1x1
108
- "
5
+ <Dropdown
6
+ id="fitlerCategory"
7
+ :label="t('categoriesTitle')"
8
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
9
+ :class="[
10
+ store.marketplace.state.filter.categories.length > 0 ? 'bg-white t-black' : ''
11
+ ]"
12
+ >
13
+ <div class="w-100 h-100 radius-semi o-hidden bg-black">
14
+ <Checkbox
15
+ v-for="(category, index) in categories"
16
+ :label="category.name"
17
+ name="categories"
18
+ :value="category.url"
19
+ class="cursor-pointer w-100 bg-black t-white radius-small pd-small"
20
+ :radio="store.marketplace.state.filter.categories"
21
+ @update:radio="event => store.marketplace.state.filter.categories = event"
22
+ />
23
+ </div>
24
+ </Dropdown>
25
+
26
+ <Dropdown
27
+ id="fitlerPrice"
28
+ :label="t('filters.price.title')"
29
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
30
+ :class="[
31
+ store.marketplace.state.filter.prices.length > 0 ? 'bg-white t-black' : ''
32
+ ]"
33
+ >
34
+ <div class="w-100 h-100 radius-semi o-hidden bg-black">
35
+ <Checkbox
36
+ v-for="(price, index) in prices"
37
+ :label="price.label"
38
+ name="prices"
39
+ :value="price.value"
40
+ class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
41
+ :radio="store.marketplace.state.filter.prices"
42
+ @update:radio="event => store.marketplace.state.filter.prices = event"
43
+ />
44
+ </div>
45
+ </Dropdown>
46
+
47
+ <Dropdown
48
+ label="Delivery"
49
+ id="fitlerDelivery"
50
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
51
+ :class="[
52
+ store.marketplace.state.filter.delivery.length > 0 ? 'bg-white t-black' : ''
53
+ ]"
109
54
  >
110
- <div v-for="i in 4" :style="`height: 0.2rem; width: ${store.marketplace.state.sort.order === 'desc' ? 100 / i : 25 * i }%;`" class="transition-linear radius-small bg-black"/>
55
+ <div class="w-100 h-100 radius-semi o-hidden bg-black">
56
+ <Checkbox
57
+ v-for="(delivery, index) in delivery"
58
+ :label="delivery.label"
59
+ name="prices"
60
+ :value="delivery.value"
61
+ class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
62
+ :radio="store.marketplace.state.filter.delivery"
63
+ @update:radio="event => store.marketplace.state.filter.delivery = event"
64
+ />
111
65
  </div>
112
- </div>
66
+ </Dropdown>
113
67
  </div>
68
+ </div>
114
69
 
115
70
  </template>
116
71
 
@@ -119,6 +74,7 @@
119
74
 
120
75
 
121
76
  import Checkbox from "@pf/src/components/Checkbox/Checkbox.vue";
77
+ import Radio from "@pf/src/components/Radio/Radio.vue";
122
78
  import Select from "@pf/src/components/Select/Select.vue";
123
79
  import Dropdown from "@pf/src/components/Dropdown/Dropdown.vue";
124
80
 
@@ -192,15 +148,7 @@
192
148
  status: 'published'
193
149
  }
194
150
 
195
- console.log(options)
196
- console.log()
197
151
  await store.categories.actions.fetchCategories(options)
198
-
199
- store.categories.state.all.forEach( category => {
200
- category.localization.forEach( localization => {
201
- text.messages[localization.locale].categories.push(localization.text)
202
- })
203
- })
204
152
  })
205
153
 
206
154
 
@@ -1,22 +1,18 @@
1
- // Dependencies
2
- import axios from 'axios';
3
- import Cookies from 'js-cookie'
4
- // Vue modules
5
1
  import { reactive, watch } from "vue";
6
- // Globals
7
- import { setError } from '@pf/src/modules/globals/store/globals'
8
- // Setup Axios
9
- const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
10
- // Setup Cookies
11
- $axios.defaults.withCredentials = true
2
+
12
3
  // State
13
4
  const state = reactive({
14
- all: [],
5
+ shops: [],
15
6
  popular: [],
16
7
  pagination: {
17
8
  page: 1,
18
9
  perPage: 18,
19
10
  },
11
+ search: {
12
+ active: false,
13
+ current: '',
14
+ result:[]
15
+ },
20
16
  filter: {
21
17
  categories: [],
22
18
  prices: [],
@@ -25,170 +21,29 @@ const state = reactive({
25
21
  },
26
22
  sort: {
27
23
  param: 'distance',
28
- order: 'asc'
29
- },
30
- search: {
31
- active: false,
32
- current: '',
33
- result:[]
34
- },
35
- current: {
36
- _id: null,
37
- profile: {
38
- categories: [],
39
- photo: '',
40
- name: '',
41
- description: ''
42
- },
43
- structure: [],
44
- owner: null,
45
- types: '',
46
- contacts: {
47
- email: '',
48
- website: '',
49
- phone: '',
50
- address: '',
51
- },
52
- social: {
53
- telegram: '',
54
- line: '',
55
- facebook: '',
56
- instagram: ''
57
- },
58
- rating: {
59
- popularity: 0,
60
- median: 0,
61
- amount: 0,
62
- }
24
+ order: 'asc',
25
+ options: [{
26
+ label: 'Distance',
27
+ value: 'distance'
28
+ },{
29
+ label: 'Popularity',
30
+ value: 'views'
31
+ },{
32
+ label: 'Products',
33
+ value: 'products'
34
+ }]
63
35
  }
64
36
  });
65
37
 
66
- const actions = {
67
- // Create
68
- async create(organization,owner) {
69
- organization.owner = owner
70
- try {
71
- const response = await $axios.post('/api/organizations/create', organization);
72
- console.log('Organization created successfully');
73
- state.current = response.data;
74
- return response.data;
75
- } catch (error) {
76
- console.log('Organization creation failed');
77
- setError(error);
78
- throw error;
79
- }
80
- },
81
- // Read
82
- async read(options = {}) {
83
- console.log(options)
84
-
85
- // Handle fetching a specific organization by website
86
- if (options._id) {
87
- options.params = options.params || {};
88
- options.params._id = options._id;
89
- }
90
-
91
- // Handle fetching organization by type
92
- if (options.types) {
93
- options.params = options.params || {};
94
- options.params.types = options.types;
95
- }
96
-
97
- if (options.owner) {
98
- options.params = options.params || {};
99
- options.params.owner = options.owner;
100
- }
101
-
102
- // Handle pagination
103
- if (option.skip && option.limit) {
104
- options.params = options.params || {};
105
- options.params.skip = options.skip || 0;
106
- options.params.limit = options.limit || 10;
107
- }
108
-
109
- options.params.sort = 'createdAt';
110
-
111
- try {
112
- console.log('Request params:' + options.params)
113
- const response = await $axios.get('/api/organizations', { params: options.params });
114
-
115
- // Check if we are fetching a single organization or all organizations
116
- if (options._id) {
117
- state.current = response.data[0]; // Assuming that the response.data is the organization object
118
- } else {
119
- state.all = response.data; // Assuming that the response.data is an array of organization objects
120
- }
121
- return Promise.resolve(response.data);
122
- } catch (error) {
123
- setError(error)
124
- return Promise.reject(error);
125
- }
126
- },
127
- // Update
128
- async update(_id, updatedData) {
129
- console.log(_id,updatedData)
130
- return await $axios
131
- .post(`/api/organizations/${_id}/update`, updatedData)
132
- .then(
133
- (response) => {
134
- console.log('Organization updated successfully');
135
- return Promise.resolve(response.data);
136
- },
137
- (error) => {
138
- console.log('Updating organization failed');
139
- return Promise.reject(error);
140
- }
141
- );
142
- },
143
- // Remove
144
- async remove(organizationId) {
145
- await $axios
146
- .delete(`/api/organizations/${organizationId}/delete`)
147
- .then(
148
- (response) => {
149
- state.error = null;
150
-
151
- // Получить текущую куку
152
- let cookieValue = Cookies.get('user');
153
- let cookieObject = JSON.parse(cookieValue);
154
-
155
- // Изменить значение нужного поля
156
- cookieObject.organization = null
157
- // cookieObject.accessToken = response.data
158
-
159
- // Установить обновленную куку
160
- Cookies.set('user', JSON.stringify(cookieObject),{ expires: 7, domain: '.osi.plus', sameSite: 'none', secure: true });
161
- return Promise.resolve(response.data);
162
- },
163
- (error) => {
164
- setError(error)
165
- return Promise.reject(error);
166
- }
167
- )
168
- .catch(error => {
169
- setError(error)
170
- });
171
- },
172
- // Reset
173
- async reset () {
174
- state._id = null
175
- state.details = {
176
- name: '',
177
- type: '',
178
- }
179
- }
180
- }
181
-
182
- const history = []
183
- history.push(state)
38
+ // History
39
+ const history = []; history.push(state);
184
40
 
185
- // // Watch
41
+ // Watch
186
42
  watch(state, (newState, oldState) => {
187
43
  history.push(newState)
188
44
  })
189
45
 
190
46
  // Module Export
191
47
  export {
192
- state,
193
- actions
48
+ state
194
49
  }
@@ -47,7 +47,7 @@
47
47
  @click="scrollTo(index)"
48
48
  :class="[
49
49
  'embla__dot i-small radius-extra br-solid br-main br-2px',
50
- { 'bg-grey': index !== selectedIndex },
50
+ { 'bg-light': index !== selectedIndex },
51
51
  { 'bg-main': index === selectedIndex }
52
52
  ]"
53
53
  >
@@ -4,7 +4,7 @@
4
4
  >
5
5
 
6
6
  <div class="pos-relative w-100 gap-thin flex-stretch flex-nowrap flex">
7
- <div class="bg-grey h-100 o-hidden pos-relative radius-small aspect-1x1"
7
+ <div class="bg-light h-100 o-hidden pos-relative radius-small aspect-1x1"
8
8
  style="flex: 1 0 auto"
9
9
  >
10
10
  <!-- Item Image -->
@@ -15,7 +15,7 @@
15
15
  >
16
16
  <PlaceholderImage
17
17
  v-if="!product.images[0]"
18
- class="bg-grey pos-absolute radius-small w-100 h-100"
18
+ class="bg-light pos-absolute radius-small w-100 h-100"
19
19
  />
20
20
  </div>
21
21
 
@@ -39,15 +39,15 @@
39
39
  <div v-if="editable" class="mn-t-thin gap-thin flex-nojustify flex">
40
40
  <IconAdd
41
41
  @click="increase_(product)"
42
- class="hover-scale-1 cursor-pointer bg-grey i-big pd-thin radius-small"
42
+ class="hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"
43
43
  />
44
44
  <IconMinus
45
45
  @click="decrease(product)"
46
- class="hover-scale-1 cursor-pointer bg-grey i-big pd-thin radius-small"
46
+ class="hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"
47
47
  />
48
48
  <IconDelete
49
49
  @click="remove(product)"
50
- class="hover-scale-1 cursor-pointer bg-grey i-big pd-thin radius-small"
50
+ class="hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"
51
51
  />
52
52
  </div>
53
53
 
@@ -83,7 +83,7 @@
83
83
 
84
84
  const props = defineProps({
85
85
  product: Object,
86
- editable: String,
86
+ editable: Boolean,
87
87
  increase: Function,
88
88
  decrease: Function,
89
89
  remove: Function
@@ -7,7 +7,7 @@
7
7
 
8
8
  }
9
9
  }"
10
- class="bg-grey pd-medium radius-big"
10
+ class="bg-light pd-medium radius-big"
11
11
  >
12
12
  <CardHeader
13
13
  :entity="order"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="bg-grey radius-medium w-100">
2
+ <div class="bg-light radius-medium w-100">
3
3
  <h3 class="pd-medium">Tracking History</h3>
4
4
  <div v-for="status in statusDetailedHistory" :key="status" class="w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex">
5
5
  <div class="flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small">
@@ -13,13 +13,13 @@
13
13
 
14
14
  <div class="radius-extra mn-b-medium flex-nowrap flex h-1r pos-relativew-40r">
15
15
  <div
16
- class="bg-grey br-anim br-glow radius-extra mn-r-thin h-100 w-20"
16
+ class="bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20"
17
17
  :class="
18
18
  {'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 }
19
19
  "
20
20
  />
21
21
  <div
22
- class="bg-grey br-anim br-glow radius-extra mn-r-thin h-100 w-20"
22
+ class="bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20"
23
23
  :class="
24
24
  {'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 },
25
25
  {'t-transp': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },
@@ -32,10 +32,10 @@
32
32
  {'t-transp': ['confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },
33
33
  {'blink': order.status === 'confirmed' }
34
34
  "
35
- class="bg-grey radius-extra mn-r-thin h-100 w-40"
35
+ class="bg-light radius-extra mn-r-thin h-100 w-40"
36
36
  />
37
37
  <div
38
- class="bg-grey radius-extra mn-r-thin h-100 w-40"
38
+ class="bg-light radius-extra mn-r-thin h-100 w-40"
39
39
  :class="
40
40
  {'br-anim br-glow br-glow-anim': ['packing','in delivery','delivered'].indexOf(order.status) === 0 },
41
41
  {'t-transp': ['packing','in delivery','delivered'].indexOf(order.status) === -1 },
@@ -43,7 +43,7 @@
43
43
  "
44
44
  />
45
45
  <div
46
- class="bg-grey radius-extra h-100 w-20"
46
+ class="bg-light radius-extra h-100 w-20"
47
47
  :class="
48
48
  {'br-anim br-glow br-glow-anim': ['in delivery','delivered'].indexOf(order.status) === 0 },
49
49
  {'t-transp': ['in delivery','delivered'].indexOf(order.status) === -1 },
@@ -82,11 +82,11 @@
82
82
  :showRating="true"
83
83
  :showFollowers="false"
84
84
  :showProducts="false"
85
- class="bg-grey mn-b-thin w-100 o-hidden radius-big pd-small "
85
+ class="bg-light mn-b-thin w-100 o-hidden radius-big pd-small "
86
86
  />
87
87
 
88
88
  <div
89
- class="mn-b-thin bg-grey w-100 o-hidden radius-medium "
89
+ class="mn-b-thin bg-light w-100 o-hidden radius-medium "
90
90
  >
91
91
  <div class="pd-small flex-nowrap flex">
92
92
  <div class="mn-r-auto">
@@ -164,7 +164,7 @@
164
164
  <span class="t-transp" v-if="payment && payment.Status === 'CONFIRMED'">Paid</span>
165
165
  </div>
166
166
 
167
- <div class="bg-grey radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100">
167
+ <div class="bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100">
168
168
  <h3 class="mn-b-small">Order Summary</h3>
169
169
 
170
170
  <ul class="flex gap-thin flex-column mn-b-semi">
@@ -11,7 +11,7 @@
11
11
  <div class="flex-nowrap flex gap-thin pos-relative ">
12
12
  <div v-for="(status, index) in statuses" :key="index" class="w-20">
13
13
  <div
14
- class="bg-grey br-anim br-glow radius-extra h-1r w-100"
14
+ class="bg-light br-anim br-glow radius-extra h-1r w-100"
15
15
  :class="
16
16
  { 'br-glow-anim': isActiveStatus(index) },
17
17
  { 't-transp': !isActiveStatus(index) },
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  </div>
27
27
 
28
- <div class="bg-grey mn-b-thin pd-thin radius-extra flex-nowrap flex">
28
+ <div class="bg-light mn-b-thin pd-thin radius-extra flex-nowrap flex">
29
29
  <div class="w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-white-transp-20">
30
30
  <IconTime class="i-semi t-transp" fill="rgb(var(--black)" />
31
31
  <p class="t-medium mn-r-auto"><span class="p-small t-transp">Estimated Arrival</span><br>{{formatDate(order.deadline)}}</p>
@@ -43,13 +43,13 @@
43
43
  class="bg-white w-min-30r w-max-30r radius-big pd-big"
44
44
  >
45
45
 
46
- <VueDatePicker v-model="order.deadline" :hide-navigation="['calendar']" :flow="['time']" class="z-index-3 bg-grey radius-small pd-small mn-b-thin mn-b-semi" />
46
+ <VueDatePicker v-model="order.deadline" :hide-navigation="['calendar']" :flow="['time']" class="z-index-3 bg-light radius-small pd-small mn-b-thin mn-b-semi" />
47
47
 
48
48
  <p class="t-medium p-medium mn-b-thin">
49
49
  Positions
50
50
  </p>
51
51
 
52
- <ul class="bg-grey pd-small radius-small flex gap-thin flex-column mn-b-semi">
52
+ <ul class="bg-light pd-small radius-small flex gap-thin flex-column mn-b-semi">
53
53
  <CardOrderItem
54
54
  v-for="(product, index) in orderProducts" :key="product._id"
55
55
  :editable="false"
@@ -74,12 +74,12 @@
74
74
  :showRating="true"
75
75
  :showFollowers="false"
76
76
  :showProducts="false"
77
- class="bg-grey mn-b-thin w-100 o-hidden radius-big pd-small "
77
+ class="bg-light mn-b-thin w-100 o-hidden radius-big pd-small "
78
78
  />
79
79
 
80
80
 
81
81
  <div
82
- class="mn-b-thin bg-grey w-100 o-hidden radius-medium "
82
+ class="mn-b-thin bg-light w-100 o-hidden radius-medium "
83
83
  >
84
84
  <div class="pd-small flex-nowrap flex">
85
85
  <div class="mn-r-auto">
@@ -148,7 +148,7 @@
148
148
  <span class="t-transp" v-if="payment && payment.Status === 'CONFIRMED'">Paid</span>
149
149
  </div>
150
150
 
151
- <div class="bg-grey radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100">
151
+ <div class="bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100">
152
152
  <h3 class="mn-b-small">Order Summary</h3>
153
153
 
154
154
  <ul class="flex gap-thin flex-column mn-b-semi">
@@ -44,7 +44,7 @@
44
44
  <CardOrderItem
45
45
  v-for="product in shopcart.state.positions"
46
46
  :key="product._id"
47
- editable="true"
47
+ :editable="true"
48
48
  :product="product"
49
49
  :increase="product => shopcart.actions.incrementItemQuantity(product._id)"
50
50
  :decrease="product => shopcart.actions.decrementItemQuantity(product._id)"
@@ -21,7 +21,7 @@
21
21
  {name: 'Delivery', value: 'delivery'},
22
22
  {name: 'Payment', value: 'payment'}
23
23
  ]"
24
- class="t-medium radius-medium bg-grey mn-b-small"
24
+ class="t-medium radius-medium bg-light mn-b-small"
25
25
  />
26
26
 
27
27
  <Popup
@@ -32,7 +32,7 @@
32
32
 
33
33
  <h3 class="mn-b-small">Add to order</h3>
34
34
 
35
- <div class="bg-grey h-max-100 mn-b-thin o-scroll pd-medium radius-big">
35
+ <div class="bg-light h-max-100 mn-b-thin o-scroll pd-medium radius-big">
36
36
  <Feed
37
37
  :search="{
38
38
  placeholder: 'Search products...',
@@ -141,7 +141,7 @@
141
141
  v-slot="{
142
142
  items
143
143
  }"
144
- class="bg-grey h-max-20r o-scroll"
144
+ class="bg-light h-max-20r o-scroll"
145
145
  >
146
146
  <CardUser
147
147
  v-for="(user, index) in items"