@ozdao/prometheus-framework 0.2.112 → 0.2.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (529) hide show
  1. package/dist/common.schema-BFhpUXUt.js +12 -0
  2. package/dist/common.schema-ChBVARrs.mjs +13 -0
  3. package/dist/community.server.js +6 -4
  4. package/dist/community.server.mjs +4 -2
  5. package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
  6. package/dist/engagement.schema-fdLNO2_6.js +27 -0
  7. package/dist/events.server.js +6 -4
  8. package/dist/events.server.mjs +4 -2
  9. package/dist/files.server.js +81 -29
  10. package/dist/files.server.mjs +81 -29
  11. package/dist/gallery.server.js +66 -39
  12. package/dist/gallery.server.mjs +66 -39
  13. package/dist/main-8APITHuW.mjs +14201 -0
  14. package/dist/main-8N2Jmsuk.js +2 -2
  15. package/dist/main-BJvlNekm.mjs +5 -5
  16. package/dist/main-BQisDfLk.js +2 -2
  17. package/dist/main-BV1Yv9Hy.js +2 -2
  18. package/dist/main-Bw0PvTs-.mjs +5 -5
  19. package/dist/main-ByCtZbHD.mjs +5 -5
  20. package/dist/main-CX2ISR43.mjs +5 -5
  21. package/dist/main-CXObXjv-.js +2 -2
  22. package/dist/main-CkeuHuCY.mjs +5 -5
  23. package/dist/main-CnfcBov2.mjs +5 -5
  24. package/dist/main-D50VqYhy.js +2 -2
  25. package/dist/main-D8gNZLSa.js +2 -2
  26. package/dist/main-DPsHxX0l.mjs +5 -5
  27. package/dist/main-DTlUA63C.mjs +5 -5
  28. package/dist/main-DfD5hLQo.mjs +5 -5
  29. package/dist/main-Dh6Zfei9.js +2 -2
  30. package/dist/main-DmNP-t33.mjs +5 -5
  31. package/dist/main-DwyUYWFX.js +2 -2
  32. package/dist/main-VcxO-jAt.js +92 -0
  33. package/dist/main-cffh4bbv.js +2 -2
  34. package/dist/main-pGo7JpSP.js +2 -2
  35. package/dist/main.css +1 -1
  36. package/dist/metadata.schema-6slGhpQS.js +40 -0
  37. package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
  38. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  39. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
  40. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  41. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
  42. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  43. package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
  44. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  45. package/dist/node_modules/web3/lib/esm/index.js +45 -42
  46. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  47. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  48. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  49. package/dist/node_modules/web3/lib/esm/web3.js +40 -37
  50. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  51. package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
  52. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
  54. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  55. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
  56. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
  57. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
  58. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
  59. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
  60. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
  61. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
  62. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
  63. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
  64. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
  65. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
  66. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
  67. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
  68. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
  70. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
  72. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
  74. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
  76. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
  78. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
  80. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
  82. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
  84. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
  86. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
  88. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
  89. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
  90. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  91. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
  92. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
  93. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
  94. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
  96. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  97. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
  98. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  99. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
  100. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  101. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
  102. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  103. package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
  104. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  105. package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
  106. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
  108. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  109. package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
  110. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  111. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
  112. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
  113. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
  114. package/dist/orders.server.js +1 -1
  115. package/dist/orders.server.mjs +1 -1
  116. package/dist/organizations.server.js +56 -59
  117. package/dist/organizations.server.mjs +56 -59
  118. package/dist/products.server.js +1 -1
  119. package/dist/products.server.mjs +1 -1
  120. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  121. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
  122. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
  124. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
  126. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
  128. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
  129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
  130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
  132. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
  134. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
  136. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
  137. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
  138. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
  140. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
  142. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
  144. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
  146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -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/components/Tooltip/Tooltip.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  152. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
  154. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  156. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  164. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  166. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  168. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
  170. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  172. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  174. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  176. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +46 -46
  178. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  180. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  182. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  184. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  186. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  187. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  188. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  190. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  192. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  194. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +214 -214
  198. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  200. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  201. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  202. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  204. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  206. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  208. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  213. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  215. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  218. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  219. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  221. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  223. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  224. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  225. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  226. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  227. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  229. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  231. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  232. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  233. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  234. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  235. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  236. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  237. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  238. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  239. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  240. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  241. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  243. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  245. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  247. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  249. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  251. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  253. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  255. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
  257. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
  259. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  261. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  265. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  267. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  269. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  271. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  273. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  275. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  277. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  279. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  280. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  281. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  283. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  285. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  289. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  291. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
  293. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
  295. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  297. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  299. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  301. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  303. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  305. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  307. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  309. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  311. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  313. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  315. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  317. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  319. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  323. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  325. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  327. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  328. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  330. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  332. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  334. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  336. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  338. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  340. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  342. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
  344. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  346. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  348. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  350. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
  352. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  354. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
  356. package/dist/prometheus-framework.cjs.js +1 -1
  357. package/dist/prometheus-framework.es.js +1 -1
  358. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  359. package/dist/queryProcessor-DWf9tsis.js +161 -0
  360. package/dist/style.css +1 -1
  361. package/dist/wallet.server.js +1 -1
  362. package/dist/wallet.server.mjs +1 -1
  363. package/dist/web-TGdVOTnw.js +1 -0
  364. package/dist/web-_W9a_nWD.mjs +54 -0
  365. package/package.json +1 -1
  366. package/src/components/Address/Address.vue +1 -1
  367. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  368. package/src/components/Block/Block.vue +1 -1
  369. package/src/components/Checkbox/Checkbox.vue +40 -43
  370. package/src/components/Chips/Chips.vue +2 -2
  371. package/src/components/DatePicker/Calendar.vue +29 -31
  372. package/src/components/Dropdown/Dropdown.vue +5 -11
  373. package/src/components/Feed/Feed.vue +98 -15
  374. package/src/components/FieldTags/BlockTags.vue +3 -3
  375. package/src/components/FieldTags/FieldTags.vue +1 -1
  376. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  377. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  378. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  379. package/src/components/Map/LoaderGMaps.js +66 -0
  380. package/src/components/Map/Map.vue +2 -1
  381. package/src/components/Marquee/Marquee.vue +1 -1
  382. package/src/components/Radio/Radio.vue +36 -13
  383. package/src/configurator/components/pages/Styles.vue +1 -1
  384. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  385. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  386. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  387. package/src/modules/auth/components/pages/Invite.vue +2 -2
  388. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  389. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  390. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  391. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  392. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  393. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  394. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  395. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  396. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  397. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  398. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  399. package/src/modules/community/components/layouts/Community.vue +2 -2
  400. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  401. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  402. package/src/modules/community/components/sections/Comments.vue +2 -2
  403. package/src/modules/community/components/sections/Feed.vue +1 -1
  404. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  405. package/src/modules/constructor/components/elements/Image.vue +1 -1
  406. package/src/modules/constructor/components/elements/Video.vue +2 -2
  407. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  408. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  409. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  410. package/src/modules/events/components/pages/Event.vue +3 -3
  411. package/src/modules/events/components/pages/Events.vue +4 -3
  412. package/src/modules/events/components/sections/Feed.vue +3 -3
  413. package/src/modules/events/components/sections/List.vue +2 -2
  414. package/src/modules/files/controllers/files.controller.js +8 -6
  415. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  416. package/src/modules/files/routes/files.routes.js +11 -9
  417. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  418. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  419. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  420. package/src/modules/gallery/models/photo.model.js +20 -11
  421. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  422. package/src/modules/gallery/store/gallery.js +3 -78
  423. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  424. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  425. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  426. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  427. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  428. package/src/modules/globals/components/layouts/Client.vue +273 -0
  429. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  430. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  431. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  432. package/src/modules/globals/models/common.schema.js +1 -1
  433. package/src/modules/globals/services/globals.store.js +11 -6
  434. package/src/modules/globals/store/globals.js +12 -10
  435. package/src/modules/icons/logos/Logotype.vue +23 -19
  436. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  437. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  438. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  439. package/src/modules/icons/navigation/IconSort.vue +21 -0
  440. package/src/modules/landing/components/pages/Home.vue +4 -4
  441. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  442. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  443. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  444. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  445. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  446. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  447. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  448. package/src/modules/landing/landing.client.js +2 -0
  449. package/src/modules/landing/router/landing.js +1 -1
  450. package/src/modules/legal/components/pages/Legal.vue +2 -2
  451. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  452. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  453. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  454. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  455. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  456. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  457. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  458. package/src/modules/marketplace/store/marketplace.js +22 -167
  459. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  460. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  461. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  462. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  463. package/src/modules/orders/components/pages/Order.vue +8 -8
  464. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  465. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  466. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  467. package/src/modules/orders/components/pages/Orders.vue +3 -5
  468. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  469. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  470. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  471. package/src/modules/orders/store/applications.js +1 -1
  472. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  473. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  474. package/src/modules/organizations/components/pages/Department.vue +3 -3
  475. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  476. package/src/modules/organizations/components/pages/Members.vue +4 -4
  477. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  478. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  479. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  480. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  481. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  482. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  483. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  484. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  485. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  486. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  487. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  488. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  489. package/src/modules/organizations/models/organization.model.js +10 -7
  490. package/src/modules/organizations/store/organizations.js +3 -34
  491. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  492. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  493. package/src/modules/products/components/pages/Categories.vue +1 -1
  494. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  495. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  496. package/src/modules/products/components/pages/Product.vue +1 -5
  497. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  498. package/src/modules/products/components/pages/Products.vue +2 -2
  499. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  500. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  501. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  502. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  503. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  504. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  505. package/src/modules/products/products.client.js +0 -2
  506. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  507. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  508. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  509. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  510. package/src/modules/spots/components/pages/Spot.vue +4 -4
  511. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  512. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  513. package/src/modules/spots/components/sections/Places.vue +1 -1
  514. package/src/modules/users/components/pages/Profile.vue +5 -5
  515. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  516. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  517. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  518. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  519. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  520. package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
  521. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  522. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  523. package/src/styles/base/borders.scss +4 -0
  524. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  525. package/src/styles/config.scss +15 -9
  526. package/src/styles/layout.scss +37 -8
  527. package/src/styles/typography.scss +24 -24
  528. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  529. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const o=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const d=require("../../../../components/Field/Field.vue2.cjs"),B=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/Button/Button.vue2.cjs"),C=require("../../../../components/Popup/Popup.vue2.cjs"),V=require("../../../../components/Feed/Feed.vue.cjs"),y=require("../../../../components/EditImages/EditImages.vue.cjs"),b=require("../../../icons/navigation/IconDelete.vue.cjs"),q=require("../blocks/CardPosition.vue.cjs"),P=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),E=require("../sections/EditProductInfo.vue.cjs"),u=require("../../../globals/store/globals.cjs"),t=require("../../store/products.cjs"),w=require("../../store/categories.cjs");require("./ProductEdit.vue2.cjs");const U={class:"for-transition w-100 cols-1 pd-thin gap-thin"},z={class:"mn-r-auto"},F={class:"cols-2 gap-thin"},I={key:0,class:"cols-1 gap-thin"},O={class:"bg-grey mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},D={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},L={class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},S={__name:"ProductEdit",setup(T){const l=k.useRoute(),f=k.useRouter(),g=e.ref(t.state.all),p=e.ref(!1);function N(s){p.value=!0}function i(){p.value=!1}e.onMounted(async()=>{t.mutations.resetProduct(),l.params.product&&await t.actions.read({_id:l.params.product}),t.state.current.ingredients||(t.state.current.ingredients=[]),await w.actions.fetchCategories();try{const s=await t.actions.read({organization:l.params._id,limit:100});g.value=s}catch{console.error("error")}});function v(){l.params.product?t.actions.update(l.params.product,t.state.current):t.actions.create(l.params._id,t.state.current)}function x(){t.actions.deleteProduct(t.state.current._id)}function h(){f.push({name:"Organization",params:{_id:l.params._id}})}return(s,c)=>(e.openBlock(),e.createElementBlock("div",U,[e.createVNode(o.default,{class:"flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",z,e.toDisplayString(e.unref(l).params.product?t.state.current.name:"Create Product"),1),e.unref(l).params.product?(e.openBlock(),e.createBlock(_.default,{key:0,submit:x,callback:h,class:"bg-red mn-r-thin"},{default:e.withCtx(()=>[e.createTextVNode(" Delete ")]),_:1})):e.createCommentVNode("",!0),e.createVNode(_.default,{submit:v,callback:h,class:"bg-main"},{default:e.withCtx(()=>[e.createTextVNode(" Save ")]),_:1})]),_:1}),e.createVNode(o.default,{placeholder:"The product doesn't have any images yet.",class:"h-min"},{default:e.withCtx(()=>[e.createVNode(y.default,{images:t.state.current.images,uploadPath:"photos","onUpdate:images":c[0]||(c[0]=a=>{t.state.current.images=a})},null,8,["images"])]),_:1}),e.createElementVNode("div",F,[e.createVNode(o.default,{title:"Profile"},{default:e.withCtx(()=>[e.createVNode(E.default,{product:t.state.current},null,8,["product"])]),_:1}),e.createVNode(o.default,{title:"Ingredients",placeholder:"No ingridients added yet",actions:[{label:"+",function:()=>N()}]},{default:e.withCtx(()=>[t.state.current.ingredients.length>0?(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.ingredients,(a,n)=>(e.openBlock(),e.createBlock(q.default,{key:a._id,product:a,array:t.state.current.ingredients,products:g.value,showPrice:!1,onAdd:c[1]||(c[1]=r=>{u.actions.add(t.state.current.ingredients,r),i()}),onUpdate:r=>{u.actions.update(t.state.current.ingredients,r,n),i()},onDelete:r=>{u.actions.delete(t.state.current.ingredients,r,n),i()}},null,8,["product","array","products","onUpdate","onDelete"]))),128))])):e.createCommentVNode("",!0)]),_:1},8,["actions"]),e.createVNode(C.default,{title:"Add ingredient",onClosePopup:i,isPopupOpen:p.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",O,[e.createVNode(V.default,{search:{class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:a=>t.actions.read(a),state:null},options:{organization:e.unref(l).params._id},class:""},{default:e.withCtx(({items:a})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a,(n,r)=>(e.openBlock(),e.createBlock(P.default,{key:n._id,editable:!1,product:n,onClick:()=>{let m={...n};m.quantity=1,m.type="pcs",u.actions.add(t.state.current.ingredients,m),i()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"])]),e.createVNode(o.default,{title:"Categories",actions:[{label:"+",function:()=>e.unref(f).push({name:"Categories Organization",params:{_id:e.unref(l).params._id}})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.state.all,(a,n)=>(e.openBlock(),e.createBlock(B.default,{label:a.name,name:"categories",value:a.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:t.state.current.category,"onUpdate:radio":r=>t.state.current.category=r},null,8,["label","value","radio","onUpdate:radio"]))),256))]),_:1},8,["actions"]),e.createVNode(o.default,{title:"Parameters",placeholder:"No parameters added yet",actions:[{label:"+",function:()=>t.state.current.information.push({name:"",value:""})}],class:"cols-1 gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.information,(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:n},[e.createVNode(d.default,{field:a.name,"onUpdate:field":r=>a.name=r,placeholder:"Название параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:a.value,"onUpdate:field":r=>a.value=r,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",D,[e.createVNode(b.default,{onClick:()=>t.state.current.information.splice(n,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),e.createVNode(o.default,{title:"Localization",placeholder:"No localizations added yet",actions:[{label:"+",function:()=>t.state.current.localization.push({name:"",value:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.localization,(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:n},[e.createVNode(d.default,{field:a.name,"onUpdate:field":r=>a.name=r,placeholder:"Название параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:a.value,"onUpdate:field":r=>a.value=r,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",L,[e.createVNode(b.default,{onClick:()=>t.state.current.localization.splice(n,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"])]))}};exports.default=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const o=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const d=require("../../../../components/Field/Field.vue2.cjs"),B=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/Button/Button.vue2.cjs"),C=require("../../../../components/Popup/Popup.vue2.cjs"),V=require("../../../../components/Feed/Feed.vue.cjs"),q=require("../../../../components/EditImages/EditImages.vue.cjs"),b=require("../../../icons/navigation/IconDelete.vue.cjs"),y=require("../blocks/CardPosition.vue.cjs"),P=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),E=require("../sections/EditProductInfo.vue.cjs"),u=require("../../../globals/store/globals.cjs"),t=require("../../store/products.cjs"),w=require("../../store/categories.cjs");require("./ProductEdit.vue2.cjs");const U={class:"for-transition w-100 cols-1 pd-thin gap-thin"},z={class:"mn-r-auto"},F={class:"cols-2 gap-thin"},I={key:0,class:"cols-1 gap-thin"},O={class:"bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},D={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},L={class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},S={__name:"ProductEdit",setup(T){const l=k.useRoute(),f=k.useRouter(),h=e.ref(t.state.all),p=e.ref(!1);function N(s){p.value=!0}function i(){p.value=!1}e.onMounted(async()=>{t.mutations.resetProduct(),l.params.product&&await t.actions.read({_id:l.params.product}),t.state.current.ingredients||(t.state.current.ingredients=[]),await w.actions.fetchCategories();try{const s=await t.actions.read({organization:l.params._id,limit:100});h.value=s}catch{console.error("error")}});function v(){l.params.product?t.actions.update(l.params.product,t.state.current):t.actions.create(l.params._id,t.state.current)}function x(){t.actions.deleteProduct(t.state.current._id)}function g(){f.push({name:"Organization",params:{_id:l.params._id}})}return(s,c)=>(e.openBlock(),e.createElementBlock("div",U,[e.createVNode(o.default,{class:"flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",z,e.toDisplayString(e.unref(l).params.product?t.state.current.name:"Create Product"),1),e.unref(l).params.product?(e.openBlock(),e.createBlock(_.default,{key:0,submit:x,callback:g,class:"bg-red mn-r-thin"},{default:e.withCtx(()=>[e.createTextVNode(" Delete ")]),_:1})):e.createCommentVNode("",!0),e.createVNode(_.default,{submit:v,callback:g,class:"bg-main"},{default:e.withCtx(()=>[e.createTextVNode(" Save ")]),_:1})]),_:1}),e.createVNode(o.default,{placeholder:"The product doesn't have any images yet.",class:"h-min"},{default:e.withCtx(()=>[e.createVNode(q.default,{images:t.state.current.images,uploadPath:"photos","onUpdate:images":c[0]||(c[0]=a=>{t.state.current.images=a})},null,8,["images"])]),_:1}),e.createElementVNode("div",F,[e.createVNode(o.default,{title:"Profile"},{default:e.withCtx(()=>[e.createVNode(E.default,{product:t.state.current},null,8,["product"])]),_:1}),e.createVNode(o.default,{title:"Ingredients",placeholder:"No ingridients added yet",actions:[{label:"+",function:()=>N()}]},{default:e.withCtx(()=>[t.state.current.ingredients.length>0?(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.ingredients,(a,n)=>(e.openBlock(),e.createBlock(y.default,{key:a._id,product:a,array:t.state.current.ingredients,products:h.value,showPrice:!1,onAdd:c[1]||(c[1]=r=>{u.actions.add(t.state.current.ingredients,r),i()}),onUpdate:r=>{u.actions.update(t.state.current.ingredients,r,n),i()},onDelete:r=>{u.actions.delete(t.state.current.ingredients,r,n),i()}},null,8,["product","array","products","onUpdate","onDelete"]))),128))])):e.createCommentVNode("",!0)]),_:1},8,["actions"]),e.createVNode(C.default,{title:"Add ingredient",onClosePopup:i,isPopupOpen:p.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",O,[e.createVNode(V.default,{search:{class:"bg-white mn-b-thin"},states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:a=>t.actions.read(a),state:null},options:{organization:e.unref(l).params._id},class:""},{default:e.withCtx(({items:a})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a,(n,r)=>(e.openBlock(),e.createBlock(P.default,{key:n._id,editable:!1,product:n,onClick:()=>{let m={...n};m.quantity=1,m.type="pcs",u.actions.add(t.state.current.ingredients,m),i()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["store","options"])])]),_:1},8,["isPopupOpen"])]),e.createVNode(o.default,{title:"Categories",actions:[{label:"+",function:()=>e.unref(f).push({name:"Categories Organization",params:{_id:e.unref(l).params._id}})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.state.all,(a,n)=>(e.openBlock(),e.createBlock(B.default,{label:a.name,name:"categories",value:a.url,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:t.state.current.category,"onUpdate:radio":r=>t.state.current.category=r},null,8,["label","value","radio","onUpdate:radio"]))),256))]),_:1},8,["actions"]),e.createVNode(o.default,{title:"Parameters",placeholder:"No parameters added yet",actions:[{label:"+",function:()=>t.state.current.information.push({name:"",value:""})}],class:"cols-1 gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.information,(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:n},[e.createVNode(d.default,{field:a.name,"onUpdate:field":r=>a.name=r,placeholder:"Название параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:a.value,"onUpdate:field":r=>a.value=r,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",D,[e.createVNode(b.default,{onClick:()=>t.state.current.information.splice(n,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),e.createVNode(o.default,{title:"Localization",placeholder:"No localizations added yet",actions:[{label:"+",function:()=>t.state.current.localization.push({name:"",value:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.localization,(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:n},[e.createVNode(d.default,{field:a.name,"onUpdate:field":r=>a.name=r,placeholder:"Название параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:a.value,"onUpdate:field":r=>a.value=r,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",L,[e.createVNode(b.default,{onClick:()=>t.state.current.localization.splice(n,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"])]))}};exports.default=S;
@@ -1,4 +1,4 @@
1
- import { ref as U, onMounted as B, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, createElementVNode as m, toDisplayString as E, unref as p, createBlock as b, createTextVNode as $, createCommentVNode as z, Fragment as f, renderList as _ } from "vue";
1
+ import { ref as U, onMounted as B, openBlock as n, createElementBlock as s, createVNode as a, withCtx as o, createElementVNode as m, toDisplayString as E, unref as p, createBlock as b, createTextVNode as $, createCommentVNode as z, Fragment as f, renderList as _ } from "vue";
2
2
  import { useRoute as F, useRouter as R } from "vue-router";
3
3
  import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
@@ -22,10 +22,10 @@ import "./ProductEdit.vue2.js";
22
22
  const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class: "mn-r-auto" }, W = { class: "cols-2 gap-thin" }, X = {
23
23
  key: 0,
24
24
  class: "cols-1 gap-thin"
25
- }, Y = { class: "bg-grey mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big" }, Z = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ee = { class: "radius-small pd-small flex-center flex aspect-1x1 bg-red" }, ke = {
25
+ }, Y = { class: "bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big" }, Z = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ee = { class: "radius-small pd-small flex-center flex aspect-1x1 bg-red" }, ke = {
26
26
  __name: "ProductEdit",
27
27
  setup(te) {
28
- const o = F(), k = R(), P = U(e.all), y = U(!1);
28
+ const l = F(), k = R(), P = U(e.all), y = U(!1);
29
29
  function O(g) {
30
30
  y.value = !0;
31
31
  }
@@ -33,10 +33,10 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
33
33
  y.value = !1;
34
34
  }
35
35
  B(async () => {
36
- G.resetProduct(), o.params.product && await c.read({ _id: o.params.product }), e.current.ingredients || (e.current.ingredients = []), await H.fetchCategories();
36
+ G.resetProduct(), l.params.product && await c.read({ _id: l.params.product }), e.current.ingredients || (e.current.ingredients = []), await H.fetchCategories();
37
37
  try {
38
38
  const g = await c.read({
39
- organization: o.params._id,
39
+ organization: l.params._id,
40
40
  limit: 100
41
41
  });
42
42
  P.value = g;
@@ -45,7 +45,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
45
45
  }
46
46
  });
47
47
  function I() {
48
- o.params.product ? c.update(o.params.product, e.current) : c.create(o.params._id, e.current);
48
+ l.params.product ? c.update(l.params.product, e.current) : c.create(l.params._id, e.current);
49
49
  }
50
50
  function V() {
51
51
  c.deleteProduct(e.current._id);
@@ -54,21 +54,21 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
54
54
  k.push({
55
55
  name: "Organization",
56
56
  params: {
57
- _id: o.params._id
57
+ _id: l.params._id
58
58
  }
59
59
  });
60
60
  }
61
61
  return (g, h) => (n(), s("div", K, [
62
62
  a(d, { class: "flex-nowrap flex-v-center flex" }, {
63
- default: l(() => [
64
- m("h1", Q, E(p(o).params.product ? e.current.name : "Create Product"), 1),
65
- p(o).params.product ? (n(), b(N, {
63
+ default: o(() => [
64
+ m("h1", Q, E(p(l).params.product ? e.current.name : "Create Product"), 1),
65
+ p(l).params.product ? (n(), b(N, {
66
66
  key: 0,
67
67
  submit: V,
68
68
  callback: C,
69
69
  class: "bg-red mn-r-thin"
70
70
  }, {
71
- default: l(() => [
71
+ default: o(() => [
72
72
  $(" Delete ")
73
73
  ]),
74
74
  _: 1
@@ -78,7 +78,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
78
78
  callback: C,
79
79
  class: "bg-main"
80
80
  }, {
81
- default: l(() => [
81
+ default: o(() => [
82
82
  $(" Save ")
83
83
  ]),
84
84
  _: 1
@@ -90,7 +90,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
90
90
  placeholder: "The product doesn't have any images yet.",
91
91
  class: "h-min"
92
92
  }, {
93
- default: l(() => [
93
+ default: o(() => [
94
94
  a(L, {
95
95
  images: e.current.images,
96
96
  uploadPath: "photos",
@@ -103,7 +103,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
103
103
  }),
104
104
  m("div", W, [
105
105
  a(d, { title: "Profile" }, {
106
- default: l(() => [
106
+ default: o(() => [
107
107
  a(j, {
108
108
  product: e.current
109
109
  }, null, 8, ["product"])
@@ -118,7 +118,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
118
118
  function: () => O()
119
119
  }]
120
120
  }, {
121
- default: l(() => [
121
+ default: o(() => [
122
122
  e.current.ingredients.length > 0 ? (n(), s("div", X, [
123
123
  (n(!0), s(f, null, _(e.current.ingredients, (t, i) => (n(), b(q, {
124
124
  key: t._id,
@@ -146,7 +146,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
146
146
  isPopupOpen: y.value,
147
147
  class: "bg-white w-min-30r w-max-30r radius-big pd-medium"
148
148
  }, {
149
- default: l(() => [
149
+ default: o(() => [
150
150
  m("div", Y, [
151
151
  a(A, {
152
152
  search: {
@@ -163,11 +163,11 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
163
163
  state: null
164
164
  },
165
165
  options: {
166
- organization: p(o).params._id
166
+ organization: p(l).params._id
167
167
  },
168
168
  class: ""
169
169
  }, {
170
- default: l(({
170
+ default: o(({
171
171
  items: t
172
172
  }) => [
173
173
  (n(!0), s(f, null, _(t, (i, r) => (n(), b(M, {
@@ -195,12 +195,12 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
195
195
  function: () => p(k).push({
196
196
  name: "Categories Organization",
197
197
  params: {
198
- _id: p(o).params._id
198
+ _id: p(l).params._id
199
199
  }
200
200
  })
201
201
  }]
202
202
  }, {
203
- default: l(() => [
203
+ default: o(() => [
204
204
  (n(!0), s(f, null, _(J.all, (t, i) => (n(), b(S, {
205
205
  label: t.name,
206
206
  name: "categories",
@@ -221,7 +221,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
221
221
  }],
222
222
  class: "cols-1 gap-thin"
223
223
  }, {
224
- default: l(() => [
224
+ default: o(() => [
225
225
  (n(!0), s(f, null, _(e.current.information, (t, i) => (n(), s("div", {
226
226
  class: "gap-thin flex-nowrap flex",
227
227
  key: i
@@ -256,7 +256,7 @@ const K = { class: "for-transition w-100 cols-1 pd-thin gap-thin" }, Q = { class
256
256
  function: () => e.current.localization.push({ name: "", value: "" })
257
257
  }]
258
258
  }, {
259
- default: l(() => [
259
+ default: o(() => [
260
260
  (n(!0), s(f, null, _(e.current.localization, (t, i) => (n(), s("div", {
261
261
  class: "gap-thin mn-b-thin flex-nowrap flex",
262
262
  key: i
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),p=require("../../../../components/Feed/Feed.vue.cjs"),m=require("../sections/FilterProducts.vue.cjs"),h=require("../../../globals/components/blocks/BlockSearch.vue.cjs"),b=require("../blocks/CardProduct.vue.cjs"),v=require("../../../auth/store/auth.cjs"),l=require("../../store/products.cjs"),f={class:"pd-thin"},y={key:0,class:"mn-b-medium flex-v-center flex-nowrap flex"},g=e.createElementVNode("h2",{class:"mn-r-medium"},"Products",-1),q={class:"cols-2-1_3 bg-grey pd-thin radius-big gap-thin"},_={__name:"Products",setup(k){const t=c.useRoute(),n=c.useRouter(),a=e.ref(t.query.tabProducts?t.query.tabProducts:"all");t.query.tabProducts=a.value,e.watch(a,u=>{n.replace({query:{...t.query,tabProducts:u}})});function i(u){let r={...t.query};r.search=u,n.push({query:r})}return(u,r)=>(e.openBlock(),e.createElementBlock("div",f,[e.unref(t).name!=="Organization"?(e.openBlock(),e.createElementBlock("header",y,[g,e.createElementVNode("button",{onClick:r[0]||(r[0]=o=>u.$router.push({name:"ProductAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")])):e.createCommentVNode("",!0),e.unref(t).name!=="Organization"?(e.openBlock(),e.createBlock(d.default,{key:1,selected:a.value,"onUpdate:selected":r[1]||(r[1]=o=>a.value=o),tabs:[{name:"All",value:"all"},{name:"Published",value:"published"},{name:"Unpublished",value:"unpublished"},{name:"Archivied",value:"archivied"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),e.createElementVNode("div",q,[e.createVNode(m.default),e.createElementVNode("div",null,[e.createVNode(h.default,{onSearch:i,placeholder:"Enter product name",class:"bg-white mn-b-thin"}),e.createVNode(p.default,{states:{empty:{title:"No Products Found",description:"Currently, there are no products available."}},store:{read:o=>l.actions.read(o),state:l.state},options:{limit:15,organization:e.unref(t).params._id,categories:e.unref(t).query.categories,prices:e.unref(t).query.prices,delivery:e.unref(t).query.delivery,search:e.unref(t).query.search,...a.value!=="all"&&{status:a.value}},class:"cols-4 gap-thin"},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,s=>(e.openBlock(),e.createBlock(b.default,{key:s._id,product:s,user:v.state.access,class:"h-max",onClickCapture:P=>u.$router.push({name:"Product Organization",params:{_id:e.unref(t).params._id,product:s._id}})},null,8,["product","user","onClickCapture"]))),128))]),_:1},8,["store","options"])])])]))}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),p=require("../../../../components/Feed/Feed.vue.cjs"),m=require("../sections/FilterProducts.vue.cjs"),h=require("../../../globals/components/blocks/BlockSearch.vue.cjs"),b=require("../blocks/CardProduct.vue.cjs"),v=require("../../../auth/store/auth.cjs"),c=require("../../store/products.cjs"),f={class:"pd-thin"},g={key:0,class:"mn-b-medium flex-v-center flex-nowrap flex"},q=e.createElementVNode("h2",{class:"mn-r-medium"},"Products",-1),y={class:"cols-2-1_3 bg-light pd-thin radius-big gap-thin"},_={__name:"Products",setup(k){const t=l.useRoute(),n=l.useRouter(),a=e.ref(t.query.tabProducts?t.query.tabProducts:"all");t.query.tabProducts=a.value,e.watch(a,u=>{n.replace({query:{...t.query,tabProducts:u}})});function i(u){let r={...t.query};r.search=u,n.push({query:r})}return(u,r)=>(e.openBlock(),e.createElementBlock("div",f,[e.unref(t).name!=="Organization"?(e.openBlock(),e.createElementBlock("header",g,[q,e.createElementVNode("button",{onClick:r[0]||(r[0]=o=>u.$router.push({name:"ProductAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")])):e.createCommentVNode("",!0),e.unref(t).name!=="Organization"?(e.openBlock(),e.createBlock(d.default,{key:1,selected:a.value,"onUpdate:selected":r[1]||(r[1]=o=>a.value=o),tabs:[{name:"All",value:"all"},{name:"Published",value:"published"},{name:"Unpublished",value:"unpublished"},{name:"Archivied",value:"archivied"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"])):e.createCommentVNode("",!0),e.createElementVNode("div",y,[e.createVNode(m.default),e.createElementVNode("div",null,[e.createVNode(h.default,{onSearch:i,placeholder:"Enter product name",class:"bg-white mn-b-thin"}),e.createVNode(p.default,{states:{empty:{title:"No Products Found",description:"Currently, there are no products available."}},store:{read:o=>c.actions.read(o),state:c.state},options:{limit:15,organization:e.unref(t).params._id,categories:e.unref(t).query.categories,prices:e.unref(t).query.prices,delivery:e.unref(t).query.delivery,search:e.unref(t).query.search,...a.value!=="all"&&{status:a.value}},class:"cols-4 gap-thin"},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,s=>(e.openBlock(),e.createBlock(b.default,{key:s._id,product:s,user:v.state.access,class:"h-max",onClickCapture:P=>u.$router.push({name:"Product Organization",params:{_id:e.unref(t).params._id,product:s._id}})},null,8,["product","user","onClickCapture"]))),128))]),_:1},8,["store","options"])])])]))}};exports.default=_;
@@ -1,5 +1,5 @@
1
- import { ref as _, watch as f, openBlock as i, createElementBlock as l, unref as t, createElementVNode as n, createCommentVNode as m, createBlock as p, createVNode as c, withCtx as b, Fragment as v, renderList as y } from "vue";
2
- import { useRoute as g, useRouter as q } from "vue-router";
1
+ import { ref as _, watch as f, openBlock as i, createElementBlock as l, unref as t, createElementVNode as n, createCommentVNode as m, createBlock as p, createVNode as c, withCtx as b, Fragment as v, renderList as g } from "vue";
2
+ import { useRoute as y, useRouter as q } from "vue-router";
3
3
  import P from "../../../../components/Tab/Tab.vue2.js";
4
4
  import $ from "../../../../components/Feed/Feed.vue.js";
5
5
  import k from "../sections/FilterProducts.vue.js";
@@ -10,10 +10,10 @@ import { actions as z, state as N } from "../../store/products.js";
10
10
  const A = { class: "pd-thin" }, B = {
11
11
  key: 0,
12
12
  class: "mn-b-medium flex-v-center flex-nowrap flex"
13
- }, E = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Products", -1), O = { class: "cols-2-1_3 bg-grey pd-thin radius-big gap-thin" }, J = {
13
+ }, E = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Products", -1), O = { class: "cols-2-1_3 bg-light pd-thin radius-big gap-thin" }, J = {
14
14
  __name: "Products",
15
15
  setup(V) {
16
- const e = g(), d = q(), a = _(e.query.tabProducts ? e.query.tabProducts : "all");
16
+ const e = y(), d = q(), a = _(e.query.tabProducts ? e.query.tabProducts : "all");
17
17
  e.query.tabProducts = a.value, f(a, (s) => {
18
18
  d.replace({ query: { ...e.query, tabProducts: s } });
19
19
  });
@@ -41,7 +41,7 @@ const A = { class: "pd-thin" }, B = {
41
41
  { name: "Unpublished", value: "unpublished" },
42
42
  { name: "Archivied", value: "archivied" }
43
43
  ],
44
- class: "mn-b-small o-hidden h5 radius-big bg-grey"
44
+ class: "mn-b-small o-hidden h5 radius-big bg-light"
45
45
  }, null, 8, ["selected"])) : m("", !0),
46
46
  n("div", O, [
47
47
  c(k),
@@ -77,7 +77,7 @@ const A = { class: "pd-thin" }, B = {
77
77
  default: b(({
78
78
  items: o
79
79
  }) => [
80
- (i(!0), l(v, null, y(o, (u) => (i(), p(w, {
80
+ (i(!0), l(v, null, g(o, (u) => (i(), p(w, {
81
81
  key: u._id,
82
82
  product: u,
83
83
  user: x.access,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const r=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Select/Select.vue2.cjs"),i={__name:"EditProductInfo",props:{product:Object},setup(e){return(a,t)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(u.default,{select:e.product.status,"onUpdate:select":t[0]||(t[0]=l=>e.product.status=l),label:"Status",options:["unpublished","published","archivied"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),d.createVNode(r.default,{field:e.product.name,"onUpdate:field":t[1]||(t[1]=l=>e.product.name=l),label:"Name",placeholder:"Enter product name",class:"w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["field"]),d.createVNode(r.default,{field:e.product.price,"onUpdate:field":t[3]||(t[3]=l=>e.product.price=l),label:"Price",placeholder:"Enter product price",class:"w-100 mn-b-small bg-white radius-small pd-medium",type:"number"},{default:d.withCtx(()=>[d.createVNode(u.default,{select:e.product.price.currency,"onUpdate:select":t[2]||(t[2]=l=>e.product.price.currency=l),placeholder:"฿",options:["฿"],class:"pos-relative bg-grey pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),d.createVNode(r.default,{field:e.product.description,"onUpdate:field":t[4]||(t[4]=l=>e.product.description=l),label:"Description",placeholder:"Enter product description",class:"w-100 bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])],64))}};exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const r=require("../../../../components/Field/Field.vue2.cjs"),i=require("../../../../components/Select/Select.vue2.cjs"),u={__name:"EditProductInfo",props:{product:Object},setup(e){return(a,t)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(i.default,{select:e.product.status,"onUpdate:select":t[0]||(t[0]=l=>e.product.status=l),label:"Status",options:["unpublished","published","archivied"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),d.createVNode(r.default,{field:e.product.name,"onUpdate:field":t[1]||(t[1]=l=>e.product.name=l),label:"Name",placeholder:"Enter product name",class:"w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["field"]),d.createVNode(r.default,{field:e.product.price,"onUpdate:field":t[3]||(t[3]=l=>e.product.price=l),label:"Price",placeholder:"Enter product price",class:"w-100 mn-b-small bg-white radius-small pd-medium",type:"number"},{default:d.withCtx(()=>[d.createVNode(i.default,{select:e.product.price.currency,"onUpdate:select":t[2]||(t[2]=l=>e.product.price.currency=l),placeholder:"฿",options:["฿"],class:"pos-relative bg-light pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),d.createVNode(r.default,{field:e.product.description,"onUpdate:field":t[4]||(t[4]=l=>e.product.description=l),label:"Description",placeholder:"Enter product description",class:"w-100 bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])],64))}};exports.default=u;
@@ -1,8 +1,8 @@
1
1
  import { openBlock as u, createElementBlock as a, Fragment as o, createVNode as d, withCtx as n } from "vue";
2
2
  import "../../../../components/Loader/Loader.vue.js";
3
3
  import "../../../../components/Button/Button.vue.js";
4
- import r from "../../../../components/Field/Field.vue2.js";
5
- import i from "../../../../components/Select/Select.vue2.js";
4
+ import i from "../../../../components/Field/Field.vue2.js";
5
+ import r from "../../../../components/Select/Select.vue2.js";
6
6
  const w = {
7
7
  __name: "EditProductInfo",
8
8
  props: {
@@ -10,7 +10,7 @@ const w = {
10
10
  },
11
11
  setup(e) {
12
12
  return (p, t) => (u(), a(o, null, [
13
- d(i, {
13
+ d(r, {
14
14
  select: e.product.status,
15
15
  "onUpdate:select": t[0] || (t[0] = (l) => e.product.status = l),
16
16
  label: "Status",
@@ -22,14 +22,14 @@ const w = {
22
22
  placeholder: "Display product",
23
23
  class: "pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
24
24
  }, null, 8, ["select"]),
25
- d(r, {
25
+ d(i, {
26
26
  field: e.product.name,
27
27
  "onUpdate:field": t[1] || (t[1] = (l) => e.product.name = l),
28
28
  label: "Name",
29
29
  placeholder: "Enter product name",
30
30
  class: "w-100 mn-b-small bg-white radius-small pd-medium"
31
31
  }, null, 8, ["field"]),
32
- d(r, {
32
+ d(i, {
33
33
  field: e.product.price,
34
34
  "onUpdate:field": t[3] || (t[3] = (l) => e.product.price = l),
35
35
  label: "Price",
@@ -38,19 +38,19 @@ const w = {
38
38
  type: "number"
39
39
  }, {
40
40
  default: n(() => [
41
- d(i, {
41
+ d(r, {
42
42
  select: e.product.price.currency,
43
43
  "onUpdate:select": t[2] || (t[2] = (l) => e.product.price.currency = l),
44
44
  placeholder: "฿",
45
45
  options: [
46
46
  "฿"
47
47
  ],
48
- class: "pos-relative bg-grey pd-thin radius-thin"
48
+ class: "pos-relative bg-light pd-thin radius-thin"
49
49
  }, null, 8, ["select"])
50
50
  ]),
51
51
  _: 1
52
52
  }, 8, ["field"]),
53
- d(r, {
53
+ d(i, {
54
54
  field: e.product.description,
55
55
  "onUpdate:field": t[4] || (t[4] = (l) => e.product.description = l),
56
56
  label: "Description",
@@ -1,8 +1,8 @@
1
- import { withAsyncContext as P, ref as T, watch as V, onMounted as B, openBlock as a, createElementBlock as p, createVNode as h, withCtx as n, createElementVNode as c, toDisplayString as d, unref as f, Fragment as v, renderList as _, createBlock as w } from "vue";
2
- import x from "../../../../components/Spoiler/Spoiler.vue2.js";
3
- import F from "../../../../components/Checkbox/Checkbox.vue.js";
4
- import { useI18n as R } from "vue-i18n";
5
- import { useRoute as U, useRouter as $ } from "vue-router";
1
+ import { withAsyncContext as P, ref as T, watch as V, onMounted as $, openBlock as a, createElementBlock as p, createVNode as h, withCtx as n, createElementVNode as c, toDisplayString as d, unref as f, Fragment as _, renderList as v, createBlock as w } from "vue";
2
+ import F from "../../../../components/Spoiler/Spoiler.vue2.js";
3
+ import x from "../../../../components/Checkbox/Checkbox.vue.js";
4
+ import { useI18n as B } from "vue-i18n";
5
+ import { useRoute as R, useRouter as U } from "vue-router";
6
6
  import { actions as N, state as k } from "../../store/categories.js";
7
7
  import { state as l } from "../../../marketplace/store/marketplace.js";
8
8
  import "./FilterProducts.vue2.js";
@@ -29,9 +29,9 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
29
29
  }
30
30
  },
31
31
  emits: ["updateFilters", "resetFilters"],
32
- async setup(C, { emit: j }) {
32
+ async setup(j, { emit: C }) {
33
33
  let b, g;
34
- const u = U(), E = $();
34
+ const u = R(), E = U();
35
35
  let O = {
36
36
  status: "published"
37
37
  };
@@ -49,7 +49,7 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
49
49
  Object.entries(e).filter(([s, o]) => Array.isArray(o) && o.length > 0).map(([s, o]) => [s, o.join(",")])
50
50
  );
51
51
  Object.assign(r, i), E.push({ query: r });
52
- }, { deep: !0 }), B(async () => {
52
+ }, { deep: !0 }), $(async () => {
53
53
  if (u.query) {
54
54
  const e = u.query, t = {
55
55
  categories: e.categories ? e.categories.split(",") : [],
@@ -60,7 +60,7 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
60
60
  l.filter = t;
61
61
  }
62
62
  });
63
- const q = j, A = () => {
63
+ const q = C, A = () => {
64
64
  q("resetFilters");
65
65
  }, y = {
66
66
  locale: "en",
@@ -100,9 +100,9 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
100
100
  y.messages[t.locale].categories.push(t.text);
101
101
  });
102
102
  });
103
- const { t: m } = R(y);
103
+ const { t: m } = B(y);
104
104
  return (e, t) => (a(), p("div", D, [
105
- h(x, {
105
+ h(F, {
106
106
  class: "radius-small o-hidden mn-b-small",
107
107
  status: !0
108
108
  }, {
@@ -110,7 +110,7 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
110
110
  c("p", I, d(f(m)("categoriesTitle")), 1)
111
111
  ]),
112
112
  content: n(() => [
113
- (a(!0), p(v, null, _(k.all, (r, i) => (a(), w(F, {
113
+ (a(!0), p(_, null, v(k.all, (r, i) => (a(), w(x, {
114
114
  key: i,
115
115
  label: r.name,
116
116
  value: r.url,
@@ -122,7 +122,7 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
122
122
  _: 1
123
123
  }),
124
124
  L,
125
- h(x, {
125
+ h(F, {
126
126
  class: "radius-small o-hidden mn-b-small",
127
127
  status: !1
128
128
  }, {
@@ -130,7 +130,7 @@ const D = { class: "pd-medium bg-white-transp-50 radius-big" }, I = { class: "cu
130
130
  c("p", M, d(f(m)("filters.price.title")), 1)
131
131
  ]),
132
132
  content: n(() => [
133
- (a(!0), p(v, null, _(C.prices, (r, i) => (a(), w(F, {
133
+ (a(!0), p(_, null, v(j.prices, (r, i) => (a(), w(x, {
134
134
  key: i,
135
135
  label: r.label,
136
136
  value: r.value,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={id:"hero",class:"pd-thin"},m={class:"pd-big bg-black t-white pos-relative radius-extra o-hidden"},b={class:"flex-column flex-center flex t-center pos-relative z-index-1"},h=["innerHTML"],g=["innerHTML"],f=["innerHTML"],_={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},y=["onClick"],v=["src"],x={class:"t-white"},w=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),E={__name:"HeroRecommendation",setup(T){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit&nbsp→"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать&nbsp→"}}},{t:n,rt:V}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("section",p,[e.createElementVNode("div",m,[e.createElementVNode("div",b,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,h),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,g),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,f),e.createElementVNode("div",_,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,N)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,v),e.createElementVNode("span",x,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,y)),64))])]),w])]))}};exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={class:"pd-t-8r pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},x=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),w={__name:"HeroRecommendation",setup(E){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit&nbsp→"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать&nbsp→"}}},{t:n,rt:T}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,V)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])]),x]))}};exports.default=w;
@@ -1,24 +1,21 @@
1
- import { ref as m, openBlock as l, createElementBlock as a, createElementVNode as e, unref as t, createVNode as u, isRef as h, Fragment as b, renderList as g, withModifiers as _, toDisplayString as f } from "vue";
1
+ import { ref as m, openBlock as l, createElementBlock as a, createElementVNode as t, unref as e, createVNode as u, isRef as b, Fragment as h, renderList as g, withModifiers as _, toDisplayString as f } from "vue";
2
2
  import y from "../../../../components/FieldBig/FieldBig.vue.js";
3
3
  import { useRouter as x } from "vue-router";
4
4
  import { useI18n as v } from "vue-i18n";
5
5
  import "../../store/products.js";
6
6
  import "./HeroRecommendation.vue2.js";
7
- const w = {
8
- id: "hero",
9
- class: "pd-thin"
10
- }, T = { class: "pd-big bg-black t-white pos-relative radius-extra o-hidden" }, H = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, I = ["innerHTML"], L = ["innerHTML"], k = ["innerHTML"], R = {
7
+ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], k = {
11
8
  style: { "max-width": "50rem" },
12
9
  class: "w-100 h-max gap-thin cols-6"
13
- }, M = ["onClick"], A = ["src"], C = { class: "t-white" }, E = /* @__PURE__ */ e("div", { class: "w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0" }, [
14
- /* @__PURE__ */ e("div", {
10
+ }, R = ["onClick"], M = ["src"], A = { class: "t-white" }, C = /* @__PURE__ */ t("div", { class: "w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0" }, [
11
+ /* @__PURE__ */ t("div", {
15
12
  style: { "background-image": "url(/spiral.jpg)" },
16
13
  class: "spiral"
17
14
  })
18
- ], -1), $ = {
15
+ ], -1), Y = {
19
16
  __name: "HeroRecommendation",
20
- setup(B) {
21
- const r = x(), c = {
17
+ setup(E) {
18
+ const r = x(), p = {
22
19
  messages: {
23
20
  en: {
24
21
  title: "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
@@ -61,54 +58,52 @@ const w = {
61
58
  action: "Передать&nbsp→"
62
59
  }
63
60
  }
64
- }, { t: s, rt: S } = v(c);
65
- let o = m("");
66
- const p = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
67
- return (d, n) => (l(), a("section", w, [
68
- e("div", T, [
69
- e("div", H, [
70
- e("h1", {
71
- class: "mn-b-semi",
72
- innerHTML: t(s)("title")
73
- }, null, 8, I),
74
- e("p", {
75
- class: "mn-b-big p-big t-transp",
76
- innerHTML: t(s)("description")
77
- }, null, 8, L),
78
- u(y, {
79
- input: t(o),
80
- typingSpeed: 100,
81
- loopTyping: !0,
82
- enableTyping: !0,
83
- placeholder: t(s)("placeholder"),
84
- action: t(s)("action"),
85
- "onUpdate:input": n[0] || (n[0] = (i) => h(o) ? o.value = i : o = i),
86
- onAction: n[1] || (n[1] = (i) => t(r).push({ name: "Product Recommmendation", query: { mood: t(o) } })),
87
- class: "mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"
88
- }, null, 8, ["input", "placeholder", "action"]),
89
- e("p", {
90
- class: "w-m-60r t-transp mn-b-semi p-medium",
91
- innerHTML: t(s)("subdescription")
92
- }, null, 8, k),
93
- e("div", R, [
94
- (l(), a(b, null, g(p, (i, V) => e("a", {
95
- key: i,
96
- onClick: _((q) => t(r).push({ name: "Product Recommmendation", query: { mood: i } }), ["stop"]),
97
- class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
98
- }, [
99
- e("img", {
100
- src: (d.FILE_SERVER_URL || "") + "/icons/moods/" + i + ".svg",
101
- class: "w-100"
102
- }, null, 8, A),
103
- e("span", C, f(t(s)("presets." + i)), 1)
104
- ], 8, M)), 64))
105
- ])
106
- ]),
107
- E
108
- ])
61
+ }, { t: o, rt: B } = v(p);
62
+ let s = m("");
63
+ const c = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
64
+ return (d, n) => (l(), a("div", w, [
65
+ t("div", T, [
66
+ t("h1", {
67
+ class: "mn-b-semi",
68
+ innerHTML: e(o)("title")
69
+ }, null, 8, H),
70
+ t("p", {
71
+ class: "mn-b-big p-big t-transp",
72
+ innerHTML: e(o)("description")
73
+ }, null, 8, I),
74
+ u(y, {
75
+ input: e(s),
76
+ typingSpeed: 100,
77
+ loopTyping: !0,
78
+ enableTyping: !0,
79
+ placeholder: e(o)("placeholder"),
80
+ action: e(o)("action"),
81
+ "onUpdate:input": n[0] || (n[0] = (i) => b(s) ? s.value = i : s = i),
82
+ onAction: n[1] || (n[1] = (i) => e(r).push({ name: "Product Recommmendation", query: { mood: e(s) } })),
83
+ class: "mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"
84
+ }, null, 8, ["input", "placeholder", "action"]),
85
+ t("p", {
86
+ class: "w-m-60r t-transp mn-b-semi p-medium",
87
+ innerHTML: e(o)("subdescription")
88
+ }, null, 8, L),
89
+ t("div", k, [
90
+ (l(), a(h, null, g(c, (i, S) => t("a", {
91
+ key: i,
92
+ onClick: _((V) => e(r).push({ name: "Product Recommmendation", query: { mood: i } }), ["stop"]),
93
+ class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
94
+ }, [
95
+ t("img", {
96
+ src: (d.FILE_SERVER_URL || "") + "/icons/moods/" + i + ".svg",
97
+ class: "w-100"
98
+ }, null, 8, M),
99
+ t("span", A, f(e(o)("presets." + i)), 1)
100
+ ], 8, R)), 64))
101
+ ])
102
+ ]),
103
+ C
109
104
  ]));
110
105
  }
111
106
  };
112
107
  export {
113
- $ as default
108
+ Y as default
114
109
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("vue-router"),b=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),g=require("../../../../components/Loader/Loader.vue2.cjs"),h=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const y={id:"popularProducts",class:"pd-thin"},B={class:"bg-grey radius-big pd-t-big pd-b-big"},q=["innerHTML"],E={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-grey"},N={__name:"PopularProducts",setup(I){_.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=b.useI18n(l),r=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),s=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{r.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),s(),a(),t.value.on("reInit",s),t.value.on("reInit",a),t.value.on("select",a)}),(o,O)=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",B,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,q),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(n,m,V)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(g.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)])]))}};exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),_=require("vue-router"),b=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),h=require("../../../../components/Loader/Loader.vue2.cjs"),g=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const B={id:"popularProducts",class:"pd-thin"},q={class:"bg-light radius-big pd-t-big pd-b-big"},y=["innerHTML"],E={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},N={__name:"PopularProducts",setup(I){_.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=b.useI18n(l),s=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),r=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{s.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),r(),a(),t.value.on("reInit",r),t.value.on("reInit",a),t.value.on("select",a)}),(o,O)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",q,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,y),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(n,m,V)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(h.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)])]))}};exports.default=N;
@@ -1,4 +1,4 @@
1
- import { ref as i, onMounted as g, openBlock as o, createElementBlock as a, createElementVNode as s, unref as v, Fragment as y, renderList as k, createVNode as u, Transition as S, withCtx as I, createBlock as x } from "vue";
1
+ import { ref as i, onMounted as g, openBlock as o, createElementBlock as a, createElementVNode as s, unref as v, Fragment as k, renderList as y, createVNode as u, Transition as S, withCtx as I, createBlock as x } from "vue";
2
2
  import { useRouter as L } from "vue-router";
3
3
  import { useI18n as O } from "vue-i18n";
4
4
  import N from "../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
@@ -10,9 +10,9 @@ import "./PopularProducts.vue2.js";
10
10
  const M = {
11
11
  id: "popularProducts",
12
12
  class: "pd-thin"
13
- }, P = { class: "bg-grey radius-big pd-t-big pd-b-big" }, z = ["innerHTML"], T = { class: "embla__container" }, V = {
13
+ }, P = { class: "bg-light radius-big pd-t-big pd-b-big" }, z = ["innerHTML"], T = { class: "embla__container" }, V = {
14
14
  key: 0,
15
- class: "h-100 w-100 radius-big flex-center bg-grey"
15
+ class: "h-100 w-100 radius-big flex-center bg-light"
16
16
  }, U = {
17
17
  __name: "PopularProducts",
18
18
  setup($) {
@@ -54,7 +54,7 @@ const M = {
54
54
  ref: f
55
55
  }, [
56
56
  s("div", T, [
57
- (o(!0), a(y, null, k(l.value, (n, h, F) => (o(), a("div", {
57
+ (o(!0), a(k, null, y(l.value, (n, h, F) => (o(), a("div", {
58
58
  class: "embla__slide pd-nano",
59
59
  key: h
60
60
  }, [