@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,34 +1,34 @@
1
- import { openBlock as t, createElementBlock as i, createElementVNode as m, withModifiers as w, createCommentVNode as r, createBlock as f, toDisplayString as h, withCtx as k, createTextVNode as F, Fragment as M, renderList as L, normalizeStyle as P } from "vue";
2
- import { useRouter as T } from "vue-router";
3
- import U from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
4
- import V from "../../../reports/components/sections/FormReport.vue.js";
5
- import I from "../../../../components/Tooltip/Tooltip.vue2.js";
6
- import S from "../../../../components/Dropdown/Dropdown.vue.js";
1
+ import { resolveComponent as I, openBlock as t, createElementBlock as s, createElementVNode as c, withModifiers as y, createCommentVNode as o, createBlock as b, toDisplayString as d, withCtx as w, createTextVNode as U, Fragment as k, renderList as D, normalizeStyle as F, normalizeClass as L } from "vue";
2
+ import { useRouter as S } from "vue-router";
3
+ import T from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
4
+ import A from "../../../reports/components/sections/FormReport.vue.js";
5
+ import B from "../../../../components/Tooltip/Tooltip.vue2.js";
6
+ import N from "../../../../components/Dropdown/Dropdown.vue.js";
7
7
  import "../../../../components/Loader/Loader.vue.js";
8
8
  import "../../../../components/Button/Button.vue.js";
9
9
  import "../../../auth/store/auth.js";
10
10
  import "../../../organizations/store/memberships.js";
11
- import A from "../../../icons/navigation/IconEllipsis.vue.js";
12
- const B = {
11
+ import O from "../../../icons/navigation/IconEllipsis.vue.js";
12
+ const j = {
13
13
  key: 0,
14
14
  class: "pd-b-zero"
15
- }, N = { class: "w-100 flex-v-center flex-nojustify flex" }, O = { class: "w-100 flex-nowrap flex-v-center flex" }, j = ["src"], H = {
15
+ }, H = { class: "w-100 flex-v-center flex-nojustify flex" }, J = { class: "w-100 flex-nowrap flex-v-center flex" }, q = ["src"], G = {
16
16
  key: 2,
17
17
  class: "t-semi"
18
- }, J = {
18
+ }, K = {
19
19
  key: 1,
20
20
  class: "pos-relative"
21
- }, q = { key: 2 }, G = { class: "d-block mn-l-auto flex-nowrap flex flex-v-center" }, K = {
21
+ }, Q = { key: 2 }, W = { class: "d-block mn-l-auto flex-nowrap flex flex-v-center" }, X = {
22
22
  key: 0,
23
23
  class: "w-4r pos-relative i-thin"
24
- }, Q = {
24
+ }, Y = {
25
25
  style: {
26
26
  position: "absolute",
27
27
  top: "0px",
28
28
  right: "0px"
29
29
  },
30
30
  class: "br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"
31
- }, W = ["src"], X = { class: "bg-black pd-thin radius-small" }, Y = /* @__PURE__ */ m("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), ue = {
31
+ }, Z = ["src"], _ = { class: "bg-black pd-thin radius-small" }, ee = /* @__PURE__ */ c("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), te = ["onClick"], he = {
32
32
  __name: "CardHeader",
33
33
  props: [
34
34
  "user",
@@ -40,110 +40,112 @@ const B = {
40
40
  "creator",
41
41
  "members",
42
42
  "membersPhotos",
43
- "type"
43
+ "type",
44
+ "actions"
44
45
  ],
45
46
  setup(e) {
46
- T();
47
- function D(s) {
48
- const o = /* @__PURE__ */ new Date(), g = new Date(s), y = Math.abs(o - g), b = Math.floor(y / 1e3), a = Math.floor(b / 60), l = Math.floor(a / 60), u = Math.floor(l / 24), d = Math.floor(u / 7);
49
- return d > 0 ? `${d} week${d > 1 ? "s" : ""} ago` : u > 0 ? `${u} day${u > 1 ? "s" : ""} ago` : l > 0 ? `${l} hour${l > 1 ? "s" : ""} ago` : a > 0 ? `${a} minute${a > 1 ? "s" : ""} ago` : "Just now";
47
+ S();
48
+ function V(i) {
49
+ const n = /* @__PURE__ */ new Date(), x = new Date(i), f = Math.abs(n - x), g = Math.floor(f / 1e3), l = Math.floor(g / 60), u = Math.floor(l / 60), m = Math.floor(u / 24), h = Math.floor(m / 7);
50
+ return h > 0 ? `${h} week${h > 1 ? "s" : ""} ago` : m > 0 ? `${m} day${m > 1 ? "s" : ""} ago` : u > 0 ? `${u} hour${u > 1 ? "s" : ""} ago` : l > 0 ? `${l} minute${l > 1 ? "s" : ""} ago` : "Just now";
50
51
  }
51
- return (s, o) => {
52
- var g, y, b, a, l, u, d, x, $, v, p, z, E, R, C;
53
- return e.owner ? (t(), i("header", B, [
54
- m("div", N, [
55
- m("div", O, [
56
- ((b = (y = (g = e.owner.target) == null ? void 0 : g.profile) == null ? void 0 : y.photo) == null ? void 0 : b.length) > 0 && e.type !== "short" ? (t(), i("img", {
52
+ return (i, n) => {
53
+ var f, g, l, u, m, h, $, p, v, C, z, E, R, M, P;
54
+ const x = I("router-link");
55
+ return e.owner ? (t(), s("header", j, [
56
+ c("div", H, [
57
+ c("div", J, [
58
+ ((l = (g = (f = e.owner.target) == null ? void 0 : f.profile) == null ? void 0 : g.photo) == null ? void 0 : l.length) > 0 && e.type !== "short" ? (t(), s("img", {
57
59
  key: 0,
58
- src: (s.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
60
+ src: (i.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
59
61
  class: "radius-medium object-fit-cover mn-r-thin i-thin",
60
- onClick: o[0] || (o[0] = w((c) => s.$router.push({
62
+ onClick: n[0] || (n[0] = y((r) => i.$router.push({
61
63
  name: e.owner.type === "user" ? "User Profile" : "Organization",
62
64
  params: {
63
65
  _id: e.owner.target._id
64
66
  }
65
67
  }), ["stop"]))
66
- }, null, 8, j)) : r("", !0),
67
- !((l = (a = e.owner.target) == null ? void 0 : a.profile) != null && l.photo) && e.type !== "short" ? (t(), f(U, {
68
+ }, null, 8, q)) : o("", !0),
69
+ !((m = (u = e.owner.target) == null ? void 0 : u.profile) != null && m.photo) && e.type !== "short" ? (t(), b(T, {
68
70
  key: 1,
69
71
  class: "radius-medium mn-r-thin i-thin",
70
- onClick: o[1] || (o[1] = w((c) => s.$router.push({
72
+ onClick: n[1] || (n[1] = y((r) => i.$router.push({
71
73
  name: e.owner.type === "user" ? "User Profile" : "Organization",
72
74
  params: {
73
75
  _id: e.owner.target._id
74
76
  }
75
77
  }), ["stop"]))
76
- })) : r("", !0),
77
- e.type !== "short" ? (t(), i("span", H, [
78
- m("span", {
79
- onClick: o[2] || (o[2] = w((c) => s.$router.push({
78
+ })) : o("", !0),
79
+ e.type !== "short" ? (t(), s("span", G, [
80
+ c("span", {
81
+ onClick: n[2] || (n[2] = y((r) => i.$router.push({
80
82
  name: e.owner.type === "user" ? "User Profile" : "Organization",
81
83
  params: {
82
84
  _id: e.owner.target._id
83
85
  }
84
86
  }), ["stop"]))
85
- }, h(((d = (u = e.owner.target) == null ? void 0 : u.profile) == null ? void 0 : d.name) || ((x = e.creator.target) == null ? void 0 : x.username) || "Anonymous"), 1),
86
- !e.creator.hidden && ((v = ($ = e.owner.target) == null ? void 0 : $.profile) == null ? void 0 : v.name) !== ((z = (p = e.creator.target) == null ? void 0 : p.profile) == null ? void 0 : z.name) ? (t(), i("span", {
87
+ }, d((($ = (h = e.owner.target) == null ? void 0 : h.profile) == null ? void 0 : $.name) || ((p = e.creator.target) == null ? void 0 : p.username) || "Anonymous"), 1),
88
+ !e.creator.hidden && ((C = (v = e.owner.target) == null ? void 0 : v.profile) == null ? void 0 : C.name) !== ((E = (z = e.creator.target) == null ? void 0 : z.profile) == null ? void 0 : E.name) ? (t(), s("span", {
87
89
  key: 0,
88
- onClick: o[3] || (o[3] = w((c) => {
89
- var n;
90
- return s.$router.push({
90
+ onClick: n[3] || (n[3] = y((r) => {
91
+ var a;
92
+ return i.$router.push({
91
93
  name: "User Profile",
92
94
  params: {
93
- _id: (n = e.creator.target) == null ? void 0 : n._id
95
+ _id: (a = e.creator.target) == null ? void 0 : a._id
94
96
  }
95
97
  });
96
98
  }, ["stop"]))
97
- }, " · by " + h(((R = (E = e.creator.target) == null ? void 0 : E.profile) == null ? void 0 : R.name) || ((C = e.creator.target) == null ? void 0 : C.username) || "Anonymous"), 1)) : r("", !0),
98
- e.date ? (t(), i("span", J, [
99
- e.date ? (t(), f(I, {
99
+ }, " · by " + d(((M = (R = e.creator.target) == null ? void 0 : R.profile) == null ? void 0 : M.name) || ((P = e.creator.target) == null ? void 0 : P.username) || "Anonymous"), 1)) : o("", !0),
100
+ e.date ? (t(), s("span", K, [
101
+ e.date ? (t(), b(B, {
100
102
  key: 0,
101
- text: s.formatDate(e.date)
103
+ text: i.formatDate(e.date)
102
104
  }, {
103
- default: k(() => [
104
- F(" · " + h(D(e.date)), 1)
105
+ default: w(() => [
106
+ U(" · " + d(V(e.date)), 1)
105
107
  ]),
106
108
  _: 1
107
- }, 8, ["text"])) : r("", !0)
108
- ])) : r("", !0),
109
- e.dateFormatted ? (t(), i("span", q, " · " + h(e.dateFormatted), 1)) : r("", !0)
110
- ])) : r("", !0),
111
- m("div", G, [
112
- e.members ? (t(), i("div", K, [
113
- m("span", Q, h(e.members), 1),
114
- (t(!0), i(M, null, L(e.membersPhotos.slice(0, 2), (c, n) => (t(), i(M, null, [
115
- c ? (t(), i("img", {
116
- key: n,
117
- src: (s.FILE_SERVER_URL || "") + c,
118
- style: P({
109
+ }, 8, ["text"])) : o("", !0)
110
+ ])) : o("", !0),
111
+ e.dateFormatted ? (t(), s("span", Q, " · " + d(e.dateFormatted), 1)) : o("", !0)
112
+ ])) : o("", !0),
113
+ c("div", W, [
114
+ e.members ? (t(), s("div", X, [
115
+ c("span", Y, d(e.members), 1),
116
+ (t(!0), s(k, null, D(e.membersPhotos.slice(0, 2), (r, a) => (t(), s(k, null, [
117
+ r ? (t(), s("img", {
118
+ key: a,
119
+ src: (i.FILE_SERVER_URL || "") + r,
120
+ style: F({
119
121
  position: "absolute",
120
122
  top: "0px",
121
- right: n * 20 + 20 + "%",
122
- zIndex: 1 - n
123
+ right: a * 20 + 20 + "%",
124
+ zIndex: 1 - a
123
125
  }),
124
- class: "br-solid br-2px br-white i-thin bg-grey radius-big"
125
- }, null, 12, W)) : (t(), f(U, {
126
+ class: "br-solid br-2px br-white i-thin bg-light radius-big"
127
+ }, null, 12, Z)) : (t(), b(T, {
126
128
  key: 1,
127
- style: P({
129
+ style: F({
128
130
  position: "absolute",
129
131
  top: "0px",
130
- right: n * 20 + 20 + "%",
131
- zIndex: 1 - n
132
+ right: a * 20 + 20 + "%",
133
+ zIndex: 1 - a
132
134
  }),
133
- class: "br-solid br-2px br-white i-thin bg-grey radius-big"
135
+ class: "br-solid br-2px br-white i-thin bg-light radius-big"
134
136
  }, null, 8, ["style"]))
135
137
  ], 64))), 256))
136
- ])) : r("", !0)
138
+ ])) : o("", !0)
137
139
  ]),
138
- e.type !== "short" && e.user && e.user != e.creator.target._id ? (t(), f(S, {
140
+ e.type !== "short" && e.user ? (t(), b(N, {
139
141
  key: 3,
140
- label: { component: A, class: "t-transp i-regular" },
142
+ label: { component: O, class: "t-transp i-regular" },
141
143
  align: "right",
142
144
  class: "cursor-pointer z-index-2"
143
145
  }, {
144
- default: k(() => [
145
- m("section", X, [
146
- e.user !== e.creator.target._id ? (t(), f(V, {
146
+ default: w(() => [
147
+ c("section", _, [
148
+ e.user !== e.creator.target._id ? (t(), b(A, {
147
149
  key: 0,
148
150
  user: e.user,
149
151
  type: e.entityType,
@@ -151,21 +153,38 @@ const B = {
151
153
  text: "Report",
152
154
  class: "w-100"
153
155
  }, {
154
- default: k(() => [
155
- Y
156
+ default: w(() => [
157
+ ee
156
158
  ]),
157
159
  _: 1
158
- }, 8, ["user", "type", "target"])) : r("", !0)
160
+ }, 8, ["user", "type", "target"])) : o("", !0),
161
+ e.actions && e.actions.length > 0 ? (t(!0), s(k, { key: 1 }, D(e.actions, (r) => (t(), s(k, null, [
162
+ r.to ? (t(), b(x, {
163
+ key: r.to,
164
+ to: r.to,
165
+ class: L(r.class || "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")
166
+ }, {
167
+ default: w(() => [
168
+ U(d(r.label), 1)
169
+ ]),
170
+ _: 2
171
+ }, 1032, ["to", "class"])) : o("", !0),
172
+ r.method ? (t(), s("button", {
173
+ key: 1,
174
+ onClick: r.method,
175
+ class: L(r.class || "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")
176
+ }, d(r.label), 11, te)) : o("", !0)
177
+ ], 64))), 256)) : o("", !0)
159
178
  ])
160
179
  ]),
161
180
  _: 1
162
- }, 8, ["label"])) : r("", !0)
181
+ }, 8, ["label"])) : o("", !0)
163
182
  ])
164
183
  ])
165
- ])) : r("", !0);
184
+ ])) : o("", !0);
166
185
  };
167
186
  }
168
187
  };
169
188
  export {
170
- ue as default
189
+ he as default
171
190
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../icons/navigation/IconCalendar.vue.cjs");require("./ButtonDate.vue.cjs");const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),s=t=>(e.pushScopeId("data-v-605382d1"),t=t(),e.popScopeId(),t),u=s(()=>e.createElementVNode("span",{class:"t-semi"},"11 Apr - 18 Mar 23",-1)),l={__name:"ButtonDate",props:{action:{type:Function}},setup(t){const c=t,{action:o}=e.toRefs(c),n=()=>{o.value&&o.value()};return(d,p)=>(e.openBlock(),e.createElementBlock("div",{onClick:n,class:"flex-center flex"},[e.createVNode(a.default,{class:"w-1r mn-r-thin h-auto"}),u]))}},i=r.default(l,[["__scopeId","data-v-605382d1"]]);exports.default=i;
@@ -0,0 +1,27 @@
1
+ import { toRefs as a, openBlock as s, createElementBlock as n, createVNode as r, pushScopeId as p, popScopeId as i, createElementVNode as l } from "vue";
2
+ import _ from "../../../icons/navigation/IconCalendar.vue.js";
3
+ import "./ButtonDate.vue.js";
4
+ import d from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
+ const m = (t) => (p("data-v-605382d1"), t = t(), i(), t), f = /* @__PURE__ */ m(() => /* @__PURE__ */ l("span", { class: "t-semi" }, "11 Apr - 18 Mar 23", -1)), u = {
6
+ __name: "ButtonDate",
7
+ props: {
8
+ action: {
9
+ type: Function
10
+ }
11
+ },
12
+ setup(t) {
13
+ const o = t, { action: e } = a(o), c = () => {
14
+ e.value && e.value();
15
+ };
16
+ return (h, v) => (s(), n("div", {
17
+ onClick: c,
18
+ class: "flex-center flex"
19
+ }, [
20
+ r(_, { class: "w-1r mn-r-thin h-auto" }),
21
+ f
22
+ ]));
23
+ }
24
+ }, S = /* @__PURE__ */ d(u, [["__scopeId", "data-v-605382d1"]]);
25
+ export {
26
+ S as default
27
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../icons/navigation/IconSort.vue.cjs"),l={__name:"ButtonSort",props:{action:{type:Function},order:{type:String,required:!0}},setup(r){const o=r,{action:t,order:c}=e.toRefs(o),n=()=>{t.value&&t.value()};return(s,a)=>(e.openBlock(),e.createElementBlock("div",{onClick:n,class:"cursor-pointer t-center t-black radius-small flex-center flex aspect-1x1"},[e.createVNode(u.default,{order:e.unref(c),class:"w-100 h-auto"},null,8,["order"])]))}};exports.default=l;
@@ -0,0 +1,31 @@
1
+ import { toRefs as n, openBlock as a, createElementBlock as s, createVNode as l, unref as i } from "vue";
2
+ import u from "../../../icons/navigation/IconSort.vue.js";
3
+ const _ = {
4
+ __name: "ButtonSort",
5
+ props: {
6
+ action: {
7
+ type: Function
8
+ },
9
+ order: {
10
+ type: String,
11
+ required: !0
12
+ }
13
+ },
14
+ setup(r) {
15
+ const t = r, { action: e, order: o } = n(t), c = () => {
16
+ e.value && e.value();
17
+ };
18
+ return (p, d) => (a(), s("div", {
19
+ onClick: c,
20
+ class: "cursor-pointer t-center t-black radius-small flex-center flex aspect-1x1"
21
+ }, [
22
+ l(u, {
23
+ order: i(o),
24
+ class: "w-100 h-auto"
25
+ }, null, 8, ["order"])
26
+ ]));
27
+ }
28
+ };
29
+ export {
30
+ _ as default
31
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("../store/globals.cjs");class d{constructor(e){this.state=n.reactive({items:[],current:{}}),this.apiUrl=e}async request(e,t={}){const s=e.startsWith("http")?e:`${this.apiUrl}${e}`,r={...{credentials:"include",headers:{}},...t};!r.headers["Content-Type"]&&t.body&&(r.headers["Content-Type"]="application/json",r.body=JSON.stringify(t.body));try{const a=await fetch(s,r);if(!a.ok)throw new Error("Network response was not ok");return await a.json()}catch(a){throw console.error(a),o.setError(a),a}}async create(e){return await this.request("/create",{method:"POST",body:e})}async read(e={}){const t=new URLSearchParams(e).toString();return await this.request(`/read?${t}`)}async update(e){return await this.request("/update",{method:"POST",body:e})}async delete(e){return await this.request(`/delete/${e}`,{method:"DELETE"})}setItems(e,t){t||this.state.items,t.splice(0,t.length,...e)}addItem(e,t){const s=t?t.items:this.state.items;s.findIndex(r=>r._id===e._id)===-1?s.push(e):Object.assign(s[index],e)}updateItem(e,t){const s=t?t.items:this.state.items,i=s.findIndex(r=>r._id===e._id);i!==-1&&s.splice(i,1,e)}removeItem(e,t){const s=t?t.items:this.state.items,i=s.findIndex(r=>r._id===e._id);i!==-1&&s.splice(i,1)}}exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue"),c=require("../store/globals.cjs");class u{constructor(e){this.state=d.reactive({items:[],current:{}}),this.apiUrl=e}async request(e,t={}){const r=e.startsWith("http")?e:`${this.apiUrl}${e}`,s={...{credentials:"include",headers:{}},...t};!s.headers["Content-Type"]&&t.body&&(s.headers["Content-Type"]="application/json",s.body=JSON.stringify(t.body));try{const i=await fetch(r,s);if(!i.ok){const n=await i.json(),o=new Error(n.message||"Unknown error");throw o.errorCode=n.errorCode||"UNKNOWN_ERROR",o}return await i.json()}catch(i){throw console.error(i),c.setError(i),i}}async create(e){return await this.request("/create",{method:"POST",body:e})}async read(e={}){const t=new URLSearchParams(e).toString();return await this.request(`/read?${t}`)}async update(e){return await this.request("/update",{method:"POST",body:e})}async delete(e){return await this.request(`/delete/${e}`,{method:"DELETE"})}setItems(e,t){t||this.state.items,t.splice(0,t.length,...e)}addItem(e,t){const r=t||this.state.items,a=r.findIndex(s=>s._id===e._id);a===-1?r.splice(0,0,e):Object.assign(r[a],e)}updateItem(e,t){const r=t?t.items:this.state.items,a=r.findIndex(s=>s._id===e._id);a!==-1&&r.splice(a,1,e)}removeItem(e,t){const r=t?t.items:this.state.items,a=r.findIndex(s=>s._id===e._id);a!==-1&&r.splice(a,1)}}exports.default=u;
@@ -1,15 +1,15 @@
1
- import { reactive as n } from "vue";
2
- import { setError as o } from "../store/globals.js";
3
- class u {
1
+ import { reactive as d } from "vue";
2
+ import { setError as c } from "../store/globals.js";
3
+ class m {
4
4
  constructor(t) {
5
- this.state = n({
5
+ this.state = d({
6
6
  items: [],
7
7
  current: {}
8
8
  }), this.apiUrl = t;
9
9
  }
10
10
  // Simplified request method to avoid repetition and enhance maintainability
11
11
  async request(t, e = {}) {
12
- const s = t.startsWith("http") ? t : `${this.apiUrl}${t}`, r = {
12
+ const r = t.startsWith("http") ? t : `${this.apiUrl}${t}`, s = {
13
13
  ...{
14
14
  credentials: "include",
15
15
  // Assumes credentials needed for each request
@@ -17,14 +17,16 @@ class u {
17
17
  },
18
18
  ...e
19
19
  };
20
- !r.headers["Content-Type"] && e.body && (r.headers["Content-Type"] = "application/json", r.body = JSON.stringify(e.body));
20
+ !s.headers["Content-Type"] && e.body && (s.headers["Content-Type"] = "application/json", s.body = JSON.stringify(e.body));
21
21
  try {
22
- const a = await fetch(s, r);
23
- if (!a.ok)
24
- throw new Error("Network response was not ok");
25
- return await a.json();
26
- } catch (a) {
27
- throw console.error(a), o(a), a;
22
+ const i = await fetch(r, s);
23
+ if (!i.ok) {
24
+ const n = await i.json(), o = new Error(n.message || "Unknown error");
25
+ throw o.errorCode = n.errorCode || "UNKNOWN_ERROR", o;
26
+ }
27
+ return await i.json();
28
+ } catch (i) {
29
+ throw console.error(i), c(i), i;
28
30
  }
29
31
  }
30
32
  async create(t) {
@@ -53,18 +55,18 @@ class u {
53
55
  e || this.state.items, e.splice(0, e.length, ...t);
54
56
  }
55
57
  addItem(t, e) {
56
- const s = e ? e.items : this.state.items;
57
- s.findIndex((r) => r._id === t._id) === -1 ? s.push(t) : Object.assign(s[index], t);
58
+ const r = e || this.state.items, a = r.findIndex((s) => s._id === t._id);
59
+ a === -1 ? r.splice(0, 0, t) : Object.assign(r[a], t);
58
60
  }
59
61
  updateItem(t, e) {
60
- const s = e ? e.items : this.state.items, i = s.findIndex((r) => r._id === t._id);
61
- i !== -1 && s.splice(i, 1, t);
62
+ const r = e ? e.items : this.state.items, a = r.findIndex((s) => s._id === t._id);
63
+ a !== -1 && r.splice(a, 1, t);
62
64
  }
63
65
  removeItem(t, e) {
64
- const s = e ? e.items : this.state.items, i = s.findIndex((r) => r._id === t._id);
65
- i !== -1 && s.splice(i, 1);
66
+ const r = e ? e.items : this.state.items, a = r.findIndex((s) => s._id === t._id);
67
+ a !== -1 && r.splice(a, 1);
66
68
  }
67
69
  }
68
70
  export {
69
- u as default
71
+ m as default
70
72
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),d=require("../localization/vue-i18n.cjs"),n=l.reactive({loading:!1,isOpenLocationPopup:!1,isOpenSidebar:!1,position:null,search:null,theme:{darkmode:!1},error:{status:"",headers:"",data:"",show:"",name:"",message:""}}),E={setLoading(e){n.loading=e},toggleTheme(){let e=document.querySelector(":root");n.theme.darkmode=!n.theme.darkmode,e.classList.toggle("dark-theme");const o=["--white","--black","--grey"];n.theme.originalColors||(n.theme.originalColors={},o.forEach(t=>{const s=getComputedStyle(document.documentElement).getPropertyValue(t).trim();n.theme.originalColors[t]=s})),R(o,n.theme.originalColors)},add(e,o){const t=e.findIndex(s=>s._id===o._id);t===-1?e.push(o):e[t]=o},update(e,o){const t=e.findIndex(s=>s._id===o._id);t===-1?e.push(o):Object.assign(e[t],o)},delete(e,o){const t=e.findIndex(s=>s._id===o._id);t!==-1&&e.splice(t,1)},increment(e,o){console.log(e),console.log(o);const t=e.find(s=>s._id===o._id);t&&t.quantity++},decrement(e,o){const t=e.find(r=>r._id===o._id),s=e.indexOf(t);s>-1&&(t.quantity--,t.quantity<1&&e.splice(s,1))},reset(e){}},_={ru:{errors:{USER_ALREADY_REGISTERED:"Такой пользователь уже зарегистрирован!",USER_NOT_REGISTERED_YET:"Такой пользователь еще не зарегистрирован!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"Пользователь с таким телефоном или паролем не найден!",INCORRECT_PASSWORD_ENTERED:"Вы ввели неверный пароль!",INVALID_INVITATION_CODE:"Неверный код приглашения",MISSING_REQUIRED_PARAMETERS:"Отсутствуют необходимые параметры.",ERROR_UPDATING_USER:"Произошла ошибка при обновлении пользователя.",PASSWORDS_DO_NOT_MATCH:"Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",CODE_NOT_SENT:"Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",INPUT_ERROR:"Вставьте только четырехзначный код.",WRONG_CODE:"Вы ввели неверный код. Попробуйте еще раз.",POST_URL_ALREADY_IN_USE:"Ошибка! Публикация с этим URL уже используется!",NAME_CANNOT_BE_EMPTY:"Ошибка: Название не может быть пустым. Пожалуйста, введите название."}},en:{errors:{USER_ALREADY_REGISTERED:"Such user is already registered!",USER_NOT_REGISTERED_YET:"This user has not been registered yet!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"User with such phone or password not found!",INCORRECT_PASSWORD_ENTERED:"You entered an incorrect password!",INVALID_INVITATION_CODE:"Incorrect invitation code.",MISSING_REQUIRED_PARAMETERS:"Missing required parameters.",ERROR_UPDATING_USER:"Something wrong when updating user.",PASSWORDS_DO_NOT_MATCH:"The passwords you entered do not match. Please correct the errors and try again.",CODE_NOT_SENT:"Something went wrong and the code was not sent. Please try again.",INPUT_ERROR:"Please enter only a four-digit code.",WRONG_CODE:"You entered an incorrect code. Please try again.",POST_URL_ALREADY_IN_USE:"Failed! Blogpost with this URL is already in use!",NAME_CANNOT_BE_EMPTY:"Error: Name cannot be empty. Please enter a name."}}};d.default.global.mergeLocaleMessage("ru",_.ru);d.default.global.mergeLocaleMessage("en",_.en);function c(e){var t;let o;o=e,(t=e==null?void 0:e.response)!=null&&t.data&&(o=e.response.data),e&&o.errorCode?n.error.message=d.default.global.t(`errors.${o.errorCode}`):n.error.message=o.message||"Unknown error",n.error.show=!0,setTimeout(()=>n.error.show=!1,3e3)}function R(e,o){e.forEach(t=>{const s=o[t],r=s.split(",").map(Number);let a;t==="--white"?a=r.map(i=>255-i/1.075):t==="--black"?a=r.map(i=>255-i):t==="--grey"&&(a=r.map(i=>255-i*2)),document.documentElement.style.setProperty(t,n.theme.darkmode?a.join(", "):s)})}exports.actions=E;exports.setError=c;exports.state=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),d=require("../localization/vue-i18n.cjs"),n=l.reactive({loading:!1,isOpenLocationPopup:!1,isOpenSidebar:!1,position:null,search:null,theme:{darkmode:!1},error:{status:"",headers:"",data:"",show:"",name:"",message:""}}),E={setLoading(e){n.loading=e},toggleTheme(){let e=document.querySelector(":root");n.theme.darkmode=!n.theme.darkmode,e.classList.toggle("dark-theme");const o=["--white","--light","--grey","--dark","--black"];n.theme.originalColors||(n.theme.originalColors={},o.forEach(t=>{const s=getComputedStyle(document.documentElement).getPropertyValue(t).trim();n.theme.originalColors[t]=s})),R(o,n.theme.originalColors)},add(e,o){const t=e.findIndex(s=>s._id===o._id);t===-1?e.push(o):e[t]=o},update(e,o){const t=e.findIndex(s=>s._id===o._id);t===-1?e.push(o):Object.assign(e[t],o)},delete(e,o){const t=e.findIndex(s=>s._id===o._id);t!==-1&&e.splice(t,1)},increment(e,o){console.log(e),console.log(o);const t=e.find(s=>s._id===o._id);t&&t.quantity++},decrement(e,o){const t=e.find(i=>i._id===o._id),s=e.indexOf(t);s>-1&&(t.quantity--,t.quantity<1&&e.splice(s,1))},reset(e){}},_={ru:{errors:{USER_ALREADY_REGISTERED:"Такой пользователь уже зарегистрирован!",USER_NOT_REGISTERED_YET:"Такой пользователь еще не зарегистрирован!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"Пользователь с таким телефоном или паролем не найден!",INCORRECT_PASSWORD_ENTERED:"Вы ввели неверный пароль!",INVALID_INVITATION_CODE:"Неверный код приглашения",MISSING_REQUIRED_PARAMETERS:"Отсутствуют необходимые параметры.",ERROR_UPDATING_USER:"Произошла ошибка при обновлении пользователя.",PASSWORDS_DO_NOT_MATCH:"Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",CODE_NOT_SENT:"Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",INPUT_ERROR:"Вставьте только четырехзначный код.",WRONG_CODE:"Вы ввели неверный код. Попробуйте еще раз.",POST_URL_ALREADY_IN_USE:"Ошибка! Публикация с этим URL уже используется!",NAME_CANNOT_BE_EMPTY:"Ошибка: Название не может быть пустым. Пожалуйста, введите название."}},en:{errors:{USER_ALREADY_REGISTERED:"Such user is already registered!",USER_NOT_REGISTERED_YET:"This user has not been registered yet!",USER_PHONE_OR_PASSWORD_NOT_FOUND:"User with such phone or password not found!",INCORRECT_PASSWORD_ENTERED:"You entered an incorrect password!",INVALID_INVITATION_CODE:"Incorrect invitation code.",MISSING_REQUIRED_PARAMETERS:"Missing required parameters.",ERROR_UPDATING_USER:"Something wrong when updating user.",PASSWORDS_DO_NOT_MATCH:"The passwords you entered do not match. Please correct the errors and try again.",CODE_NOT_SENT:"Something went wrong and the code was not sent. Please try again.",INPUT_ERROR:"Please enter only a four-digit code.",WRONG_CODE:"You entered an incorrect code. Please try again.",POST_URL_ALREADY_IN_USE:"Failed! Blogpost with this URL is already in use!",NAME_CANNOT_BE_EMPTY:"Error: Name cannot be empty. Please enter a name."}}};d.default.global.mergeLocaleMessage("ru",_.ru);d.default.global.mergeLocaleMessage("en",_.en);function c(e){var t;let o;o=e,(t=e==null?void 0:e.response)!=null&&t.data&&(o=e.response.data),e&&o.errorCode?n.error.message=d.default.global.t(`errors.${o.errorCode}`):n.error.message=o.message||"Unknown error",n.error.show=!0,setTimeout(()=>n.error.show=!1,3e3)}function R(e,o){e.forEach(t=>{const s=o[t],i=s.split(",").map(Number);let a;t==="--white"?a=i.map(r=>255-r/1.075):t==="--black"?a=i.map(r=>255-r):t==="--grey"?a=i.map(r=>255-r*2):a=i.map(r=>255-r/1.075),document.documentElement.style.setProperty(t,n.theme.darkmode?a.join(", "):s)})}exports.actions=E;exports.setError=c;exports.state=n;
@@ -25,7 +25,13 @@ const n = E({
25
25
  toggleTheme() {
26
26
  let e = document.querySelector(":root");
27
27
  n.theme.darkmode = !n.theme.darkmode, e.classList.toggle("dark-theme");
28
- const t = ["--white", "--black", "--grey"];
28
+ const t = [
29
+ "--white",
30
+ "--light",
31
+ "--grey",
32
+ "--dark",
33
+ "--black"
34
+ ];
29
35
  n.theme.originalColors || (n.theme.originalColors = {}, t.forEach((o) => {
30
36
  const s = getComputedStyle(document.documentElement).getPropertyValue(o).trim();
31
37
  n.theme.originalColors[o] = s;
@@ -52,7 +58,7 @@ const n = E({
52
58
  },
53
59
  decrement(e, t) {
54
60
  const o = e.find(
55
- (r) => r._id === t._id
61
+ (i) => i._id === t._id
56
62
  ), s = e.indexOf(o);
57
63
  s > -1 && (o.quantity--, o.quantity < 1 && e.splice(s, 1));
58
64
  },
@@ -103,9 +109,9 @@ function m(e) {
103
109
  }
104
110
  function l(e, t) {
105
111
  e.forEach((o) => {
106
- const s = t[o], r = s.split(",").map(Number);
112
+ const s = t[o], i = s.split(",").map(Number);
107
113
  let a;
108
- o === "--white" ? a = r.map((i) => 255 - i / 1.075) : o === "--black" ? a = r.map((i) => 255 - i) : o === "--grey" && (a = r.map((i) => 255 - i * 2)), document.documentElement.style.setProperty(o, n.theme.darkmode ? a.join(", ") : s);
114
+ o === "--white" ? a = i.map((r) => 255 - r / 1.075) : o === "--black" ? a = i.map((r) => 255 - r) : o === "--grey" ? a = i.map((r) => 255 - r * 2) : a = i.map((r) => 255 - r / 1.075), document.documentElement.style.setProperty(o, n.theme.darkmode ? a.join(", ") : s);
109
115
  });
110
116
  }
111
117
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},l=["fill"],r={__name:"IconCalendar",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",C,[e.createElementVNode("path",{d:"M3 43.5V18H45V43.5C45 45.9375 42.9375 48 40.5 48H7.5C5.0625 48 3 45.9375 3 43.5ZM33 25.5V28.5C33 29.3438 33.6562 30 34.5 30H37.5C38.3438 30 39 29.3438 39 28.5V25.5C39 24.6562 38.3438 24 37.5 24H34.5C33.6562 24 33 24.6562 33 25.5ZM33 37.5V40.5C33 41.3438 33.6562 42 34.5 42H37.5C38.3438 42 39 41.3438 39 40.5V37.5C39 36.6562 38.3438 36 37.5 36H34.5C33.6562 36 33 36.6562 33 37.5ZM21 25.5V28.5C21 29.3438 21.6562 30 22.5 30H25.5C26.3438 30 27 29.3438 27 28.5V25.5C27 24.6562 26.3438 24 25.5 24H22.5C21.6562 24 21 24.6562 21 25.5ZM21 37.5V40.5C21 41.3438 21.6562 42 22.5 42H25.5C26.3438 42 27 41.3438 27 40.5V37.5C27 36.6562 26.3438 36 25.5 36H22.5C21.6562 36 21 36.6562 21 37.5ZM9 25.5V28.5C9 29.3438 9.65625 30 10.5 30H13.5C14.3438 30 15 29.3438 15 28.5V25.5C15 24.6562 14.3438 24 13.5 24H10.5C9.65625 24 9 24.6562 9 25.5ZM9 37.5V40.5C9 41.3438 9.65625 42 10.5 42H13.5C14.3438 42 15 41.3438 15 40.5V37.5C15 36.6562 14.3438 36 13.5 36H10.5C9.65625 36 9 36.6562 9 37.5ZM40.5 6C42.9375 6 45 8.0625 45 10.5V15H3V10.5C3 8.0625 5.0625 6 7.5 6H12V1.5C12 0.65625 12.6562 0 13.5 0H16.5C17.3438 0 18 0.65625 18 1.5V6H30V1.5C30 0.65625 30.6562 0 31.5 0H34.5C35.3438 0 36 0.65625 36 1.5V6H40.5Z",fill:t.fill},null,8,l)]))}};exports.default=r;
@@ -0,0 +1,31 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as l } from "vue";
2
+ const V = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ width: "48",
5
+ height: "48",
6
+ viewBox: "0 0 48 48",
7
+ fill: "none"
8
+ }, H = ["fill"], a = {
9
+ __name: "IconCalendar",
10
+ props: {
11
+ fill: {
12
+ type: String,
13
+ default: "rgb(var(--black))"
14
+ },
15
+ order: {
16
+ type: String,
17
+ default: "desc"
18
+ }
19
+ },
20
+ setup(C) {
21
+ return (n, o) => (e(), t("svg", V, [
22
+ l("path", {
23
+ d: "M3 43.5V18H45V43.5C45 45.9375 42.9375 48 40.5 48H7.5C5.0625 48 3 45.9375 3 43.5ZM33 25.5V28.5C33 29.3438 33.6562 30 34.5 30H37.5C38.3438 30 39 29.3438 39 28.5V25.5C39 24.6562 38.3438 24 37.5 24H34.5C33.6562 24 33 24.6562 33 25.5ZM33 37.5V40.5C33 41.3438 33.6562 42 34.5 42H37.5C38.3438 42 39 41.3438 39 40.5V37.5C39 36.6562 38.3438 36 37.5 36H34.5C33.6562 36 33 36.6562 33 37.5ZM21 25.5V28.5C21 29.3438 21.6562 30 22.5 30H25.5C26.3438 30 27 29.3438 27 28.5V25.5C27 24.6562 26.3438 24 25.5 24H22.5C21.6562 24 21 24.6562 21 25.5ZM21 37.5V40.5C21 41.3438 21.6562 42 22.5 42H25.5C26.3438 42 27 41.3438 27 40.5V37.5C27 36.6562 26.3438 36 25.5 36H22.5C21.6562 36 21 36.6562 21 37.5ZM9 25.5V28.5C9 29.3438 9.65625 30 10.5 30H13.5C14.3438 30 15 29.3438 15 28.5V25.5C15 24.6562 14.3438 24 13.5 24H10.5C9.65625 24 9 24.6562 9 25.5ZM9 37.5V40.5C9 41.3438 9.65625 42 10.5 42H13.5C14.3438 42 15 41.3438 15 40.5V37.5C15 36.6562 14.3438 36 13.5 36H10.5C9.65625 36 9 36.6562 9 37.5ZM40.5 6C42.9375 6 45 8.0625 45 10.5V15H3V10.5C3 8.0625 5.0625 6 7.5 6H12V1.5C12 0.65625 12.6562 0 13.5 0H16.5C17.3438 0 18 0.65625 18 1.5V6H30V1.5C30 0.65625 30.6562 0 31.5 0H34.5C35.3438 0 36 0.65625 36 1.5V6H40.5Z",
24
+ fill: C.fill
25
+ }, null, 8, H)
26
+ ]));
27
+ }
28
+ };
29
+ export {
30
+ a as default
31
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},r=["fill"],o={__name:"IconFilter",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(t){return(n,i)=>(e.openBlock(),e.createElementBlock("svg",l,[e.createElementVNode("path",{d:"M46.4267 13.1341L29.226 30.2782V43.1433C29.2272 43.5293 29.1102 43.9065 28.8907 44.2239C28.6711 44.5414 28.3596 44.784 27.998 44.9191L20.5831 47.6868C20.2976 47.7934 19.9905 47.8294 19.6881 47.7917C19.3856 47.754 19.0968 47.6437 18.8462 47.4701C18.5957 47.2966 18.3908 47.065 18.2492 46.7952C18.1075 46.5253 18.0332 46.2252 18.0327 45.9204V30.2498L1.50259 13.0491C0.772898 12.2954 0.281511 11.3434 0.0898392 10.312C-0.101832 9.28058 0.0147126 8.21558 0.424909 7.25005C0.835106 6.28453 1.52076 5.46131 2.39619 4.88327C3.27161 4.30523 4.29798 3.99801 5.34702 4.00001H42.6579C43.7158 4.00084 44.7497 4.31552 45.6287 4.90422C46.5077 5.49291 47.1923 6.32916 47.5958 7.30712C47.9993 8.28507 48.1036 9.36075 47.8955 10.398C47.6874 11.4353 47.1763 12.3875 46.4267 13.1341Z",fill:t.fill},null,8,r)]))}};exports.default=o;
@@ -0,0 +1,31 @@
1
+ import { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
2
+ const r = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ width: "48",
5
+ height: "48",
6
+ viewBox: "0 0 48 48",
7
+ fill: "none"
8
+ }, n = ["fill"], s = {
9
+ __name: "IconFilter",
10
+ props: {
11
+ fill: {
12
+ type: String,
13
+ default: "rgb(var(--black))"
14
+ },
15
+ order: {
16
+ type: String,
17
+ default: "desc"
18
+ }
19
+ },
20
+ setup(e) {
21
+ return (i, c) => (t(), l("svg", r, [
22
+ o("path", {
23
+ d: "M46.4267 13.1341L29.226 30.2782V43.1433C29.2272 43.5293 29.1102 43.9065 28.8907 44.2239C28.6711 44.5414 28.3596 44.784 27.998 44.9191L20.5831 47.6868C20.2976 47.7934 19.9905 47.8294 19.6881 47.7917C19.3856 47.754 19.0968 47.6437 18.8462 47.4701C18.5957 47.2966 18.3908 47.065 18.2492 46.7952C18.1075 46.5253 18.0332 46.2252 18.0327 45.9204V30.2498L1.50259 13.0491C0.772898 12.2954 0.281511 11.3434 0.0898392 10.312C-0.101832 9.28058 0.0147126 8.21558 0.424909 7.25005C0.835106 6.28453 1.52076 5.46131 2.39619 4.88327C3.27161 4.30523 4.29798 3.99801 5.34702 4.00001H42.6579C43.7158 4.00084 44.7497 4.31552 45.6287 4.90422C46.5077 5.49291 47.1923 6.32916 47.5958 7.30712C47.9993 8.28507 48.1036 9.36075 47.8955 10.398C47.6874 11.4353 47.1763 12.3875 46.4267 13.1341Z",
24
+ fill: e.fill
25
+ }, null, 8, n)
26
+ ]));
27
+ }
28
+ };
29
+ export {
30
+ s as default
31
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},i=["width","fill"],r=["width","fill"],n=["width","fill"],c=["width","fill"],d={__name:"IconSort",props:{fill:{type:String,default:"rgb(var(--black))"},order:{type:String,default:"desc"}},setup(e){return(o,s)=>(t.openBlock(),t.createElementBlock("svg",l,[t.createElementVNode("rect",{y:"0",width:e.order==="desc"?32:8,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,i),t.createElementVNode("rect",{y:"9",width:e.order==="desc"?24:16,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,r),t.createElementVNode("rect",{y:"18",width:e.order==="desc"?16:24,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,n),t.createElementVNode("rect",{y:"27",width:e.order==="desc"?8:32,height:"5",rx:"2.5",fill:e.fill,class:"transition-linear"},null,8,c)]))}};exports.default=d;