@ozdao/prometheus-framework 0.2.129 → 0.2.132

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1275) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -5
  3. package/dist/auth.server.js +0 -1
  4. package/dist/auth.server.mjs +0 -1
  5. package/dist/community.server.js +183 -52
  6. package/dist/community.server.mjs +183 -52
  7. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  8. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  9. package/dist/events.server.js +5 -8
  10. package/dist/events.server.mjs +5 -8
  11. package/dist/files.server.js +39 -6
  12. package/dist/files.server.mjs +39 -6
  13. package/dist/gallery.server.js +2 -2
  14. package/dist/gallery.server.mjs +2 -2
  15. package/dist/main-CI9l9xMs.js +92 -0
  16. package/dist/main-Ckn0Sslr.js +92 -0
  17. package/dist/main-DPg58GOU.mjs +14509 -0
  18. package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
  19. package/dist/main.css +1 -1
  20. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  21. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  22. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  23. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  24. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  25. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  26. package/dist/orders.server.js +1 -1
  27. package/dist/orders.server.mjs +1 -1
  28. package/dist/organizations.server.js +9 -12
  29. package/dist/organizations.server.mjs +9 -12
  30. package/dist/products.server.js +2 -1
  31. package/dist/products.server.mjs +2 -1
  32. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  33. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  34. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  35. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  36. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  37. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  38. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  39. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  40. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  41. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  45. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  46. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  47. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  48. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  111. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  112. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  113. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  114. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  123. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -1
  125. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +88 -1
  127. package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
  128. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
  129. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  134. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  137. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +13 -14
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +33 -34
  140. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
  141. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
  142. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  144. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +15 -16
  146. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +95 -89
  148. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -1
  150. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  152. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
  154. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +23 -24
  156. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  158. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +40 -40
  160. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  161. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +6 -6
  163. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  164. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  166. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  168. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +126 -1
  170. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  172. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  174. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +1 -1
  176. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
  178. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +23 -24
  180. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
  182. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -1
  184. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  186. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  188. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  189. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +15 -16
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +10 -11
  197. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +39 -36
  199. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  201. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +4 -4
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +4 -4
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +32 -32
  213. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +33 -33
  215. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +21 -21
  217. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/store/auth.js +12 -12
  221. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  223. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  227. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  229. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
  233. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +55 -72
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +86 -76
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +59 -29
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  245. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +73 -82
  247. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +34 -35
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
  257. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +1 -1
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  275. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -113
  277. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
  278. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  280. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  282. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  284. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  286. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  288. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  290. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  292. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  294. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  296. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  298. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  299. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  300. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  302. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +21 -21
  303. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +30 -30
  305. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
  307. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  309. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +18 -18
  311. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  319. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
  321. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  323. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  325. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  327. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
  329. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  331. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  333. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  337. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
  339. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  341. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  343. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  347. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +39 -38
  349. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  355. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +10 -10
  359. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  361. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +116 -89
  363. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +40 -39
  367. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
  368. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +5 -5
  370. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  372. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  374. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  376. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +18 -18
  378. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  380. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  382. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +19 -19
  384. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  390. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
  392. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  394. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -13
  396. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +2 -2
  398. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  400. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  402. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  404. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  406. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  408. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  410. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  412. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  413. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  414. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +5 -5
  416. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +6 -5
  418. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  419. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  420. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  421. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  422. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  424. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +33 -38
  426. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  428. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  430. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  432. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  434. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  436. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  438. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  439. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  440. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  442. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  444. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
  446. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -32
  448. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +53 -35
  450. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  452. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  456. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
  457. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
  458. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
  459. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
  460. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
  461. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
  462. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
  464. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
  465. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
  466. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  467. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  468. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  469. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +160 -129
  470. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  471. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  472. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  473. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  474. package/dist/prometheus-framework.cjs.js +1 -1
  475. package/dist/prometheus-framework.es.js +14 -14
  476. package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
  477. package/dist/queryProcessor-iewDZq_f.js +178 -0
  478. package/dist/reports.server.js +2 -4
  479. package/dist/reports.server.mjs +2 -4
  480. package/dist/style.css +1 -1
  481. package/dist/users.server.js +2 -4
  482. package/dist/users.server.mjs +2 -4
  483. package/dist/wallet.server.js +86 -39
  484. package/dist/wallet.server.mjs +86 -39
  485. package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
  486. package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
  487. package/dist/web-DZUec7pP.js +1 -0
  488. package/dist/web-krQQeSb6.mjs +54 -0
  489. package/package.json +1 -2
  490. package/src/components/Address/Address.vue +1 -1
  491. package/src/components/Chips/Chips.vue +1 -1
  492. package/src/components/Completion/Completion.vue +1 -4
  493. package/src/components/DatePicker/Calendar.vue +1 -1
  494. package/src/components/Draggable/Draggable.vue +113 -0
  495. package/src/components/Dropdown/Dropdown.vue +1 -1
  496. package/src/components/Feed/Feed.vue +18 -12
  497. package/src/components/FieldBig/FieldBig.vue +11 -1
  498. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  499. package/src/components/FieldTags/FieldTags.vue +2 -1
  500. package/src/components/FieldTags/tag-input.vue +1 -1
  501. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  502. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  503. package/src/components/Shader/Shader.vue +2 -2
  504. package/src/components/Slider/Slider.vue +1 -5
  505. package/src/components/Spoiler/Spoiler.vue +1 -1
  506. package/src/components/Text/Text.vue +1 -4
  507. package/src/components/Tooltip/Tooltip.vue +1 -1
  508. package/src/components/Upload/Upload.vue +5 -3
  509. package/src/main.js +0 -3
  510. package/src/modules/auth/controllers/auth.controller.js +0 -2
  511. package/src/modules/auth/store/auth.js +2 -2
  512. package/src/modules/community/DOCUMENTATION.MD +4 -0
  513. package/src/modules/community/community.client.js +0 -2
  514. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
  515. package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
  516. package/src/modules/community/components/layouts/Community.vue +15 -11
  517. package/src/modules/community/components/pages/Blog.vue +25 -32
  518. package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
  519. package/src/modules/community/components/sections/Comment.vue +123 -0
  520. package/src/modules/community/components/sections/Comments.vue +90 -19
  521. package/src/modules/community/components/sections/HotPosts.vue +3 -6
  522. package/src/modules/community/controllers/blog.controller.js +1 -1
  523. package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
  524. package/src/modules/community/controllers/comments.controller.js +187 -38
  525. package/src/modules/community/controllers/comments.controller.populate.js +180 -0
  526. package/src/modules/community/models/comment.model.js +15 -0
  527. package/src/modules/community/store/blogposts.js +20 -2
  528. package/src/modules/constructor/components/elements/Audio.vue +28 -40
  529. package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
  530. package/src/modules/constructor/components/elements/Video.vue +10 -18
  531. package/src/modules/constructor/components/sections/Constructor.vue +54 -47
  532. package/src/modules/files/controllers/files.controller.js +2 -0
  533. package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
  534. package/src/modules/files/routes/files.routes.js +8 -0
  535. package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
  536. package/src/modules/globals/components/partials/Header.vue +12 -7
  537. package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
  538. package/src/modules/icons/logos/Logotype.vue +8 -6
  539. package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
  540. package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
  541. package/src/modules/marketplace/store/marketplace.js +2 -8
  542. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  543. package/src/modules/organizations/components/pages/Members.vue +1 -1
  544. package/src/modules/organizations/components/pages/Organization.vue +33 -5
  545. package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
  546. package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
  547. package/src/modules/organizations/components/sections/Publics.vue +2 -2
  548. package/src/modules/organizations/controllers/memberships.controller.js +2 -3
  549. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  550. package/src/modules/organizations/store/memberships.js +4 -1
  551. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  552. package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
  553. package/src/modules/products/models/product.model.js +2 -1
  554. package/src/modules/spots/components/layouts/Spots.vue +0 -3
  555. package/src/modules/spots/components/pages/Map.vue +13 -3
  556. package/src/modules/users/components/blocks/CardUser.vue +2 -2
  557. package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
  558. package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
  559. package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
  560. package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
  561. package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
  562. package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
  563. package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
  564. package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
  565. package/src/modules/wallet/localization/Wallet.json +22 -0
  566. package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
  567. package/src/styles/base/all.scss +16 -26
  568. package/src/styles/config.scss +70 -34
  569. package/src/styles/typography.scss +5 -5
  570. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  571. package/dist/_virtual/browser-ponyfill.js +0 -4
  572. package/dist/_virtual/crc32.cjs +0 -1
  573. package/dist/_virtual/crc32.js +0 -4
  574. package/dist/_virtual/index.cjs +0 -1
  575. package/dist/_virtual/index.js +0 -4
  576. package/dist/_virtual/index2.cjs +0 -1
  577. package/dist/_virtual/index2.js +0 -4
  578. package/dist/main-hLtpe4Hr.js +0 -92
  579. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  580. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  581. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  582. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  583. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  584. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  585. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  586. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  587. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  588. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  589. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  590. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  591. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  592. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  593. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  594. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  595. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  596. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  597. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  598. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  599. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  600. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  601. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  602. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  603. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  604. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  605. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  606. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  607. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  609. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  610. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  611. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  612. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  613. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  614. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  615. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  616. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  617. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  618. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  619. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  620. package/dist/node_modules/abitype/dist/index.js +0 -299
  621. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  622. package/dist/node_modules/crc-32/crc32.js +0 -51
  623. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  624. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  625. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  626. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  627. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  628. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  629. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  630. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  631. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  632. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  633. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  634. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  635. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  636. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  637. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  638. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  639. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  640. package/dist/node_modules/eventemitter3/index.js +0 -117
  641. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  642. package/dist/node_modules/eventemitter3/index2.js +0 -5
  643. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  644. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  645. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  646. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  647. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  648. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  649. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  650. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  651. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  652. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  653. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  654. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  655. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  656. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  657. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  658. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  659. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  660. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  661. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  662. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  663. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  664. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  665. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  666. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  667. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  668. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  669. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  670. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  671. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  672. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  673. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  674. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  675. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  676. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  677. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  679. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  680. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  681. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  683. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  685. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  686. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  687. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  688. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  689. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  690. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  691. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  692. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  693. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  694. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  695. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  696. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  697. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  698. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  699. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  700. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  701. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  702. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  703. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  704. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  705. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  706. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  707. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  708. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  709. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  711. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  713. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  715. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  717. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  719. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  721. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  723. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  725. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  727. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  729. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  730. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  731. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  732. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  733. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  734. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  735. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  736. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  737. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  738. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  739. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  740. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  741. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  742. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  743. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  744. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  745. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  746. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  747. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  748. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  749. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  750. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  751. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  752. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  753. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  755. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  757. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  759. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  761. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  765. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  767. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  769. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  770. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  771. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  772. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  773. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  774. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  775. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  776. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  777. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  778. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  779. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  780. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  781. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  782. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  783. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  784. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  785. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  786. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  787. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  788. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  789. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  790. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  791. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  792. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  889. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  890. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  891. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  892. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  893. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  894. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  895. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  896. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  897. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  898. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  899. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  900. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  901. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  902. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  903. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  904. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  905. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  906. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  907. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  908. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  909. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  910. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  911. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  912. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  913. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  914. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  915. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  916. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  917. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  918. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  919. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  920. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  921. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  922. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  923. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  924. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  925. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  926. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  927. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  928. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  929. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  930. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  931. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  932. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  933. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  934. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  935. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  936. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  937. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  938. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  939. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  940. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  941. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  942. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  943. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  944. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  945. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  946. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  947. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  948. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  949. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  950. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  951. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  952. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  953. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  954. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  955. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  956. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  957. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  958. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  959. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  960. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  961. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  962. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  963. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  964. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  965. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  966. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  967. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  969. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  971. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  973. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  975. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  977. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  978. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  979. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  980. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  981. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  982. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  983. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  984. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  985. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  986. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  987. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  988. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  989. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  990. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  991. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  992. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  993. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  994. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  995. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  996. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  997. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  998. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  999. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  1000. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  1001. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  1003. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  1005. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  1006. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  1007. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  1009. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  1011. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  1013. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  1014. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  1015. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  1016. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  1017. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  1018. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  1019. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  1020. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  1021. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  1022. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  1023. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1024. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1025. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1026. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1027. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1028. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1029. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1030. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1031. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1032. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1033. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1034. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1035. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1036. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1037. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1038. package/dist/node_modules/zod/lib/index.js +0 -2983
  1039. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1041. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1042. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1043. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1045. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1047. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1049. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1051. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1053. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1054. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1055. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1057. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1058. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1059. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1061. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1063. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1065. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1067. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1069. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1071. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1073. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1075. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1076. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1089. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1091. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1093. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1095. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1097. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1099. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1100. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1101. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1103. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1104. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1105. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1106. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1107. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1108. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1109. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1110. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1111. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1112. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1113. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1114. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1115. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1116. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1117. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1118. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1119. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1120. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1121. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1122. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1123. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1124. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1125. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1126. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1127. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1131. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1137. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1143. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.js +0 -1
  1149. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1150. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -1
  1151. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1153. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1161. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1207. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1208. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1209. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1210. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1211. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1212. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1213. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1214. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1215. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1216. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1217. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1218. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1219. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1220. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1221. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1222. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1223. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1224. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1225. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1229. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1230. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1231. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1232. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1233. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1234. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1235. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1237. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1238. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1239. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1240. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1241. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1242. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1243. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1244. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1245. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1246. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1247. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1248. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1249. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1250. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1251. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1252. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1253. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1254. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1255. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1256. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1257. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1258. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1259. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1260. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1261. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1262. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1263. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1264. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1265. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1267. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1268. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1269. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1270. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1271. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1272. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1273. package/src/modules/community/components/sections/Feed.vue +0 -148
  1274. package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
  1275. package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../components/Field/Field.vue.cjs");const i=require("./CardPosition.vue.cjs"),u=require("../../store/leftovers.cjs");require("./ListPositions.vue2.cjs");const a={class:"flex-column flex-wrap"},d={key:0,class:"w-100"},m={class:"flex-v-center flex radius-medium pd-small bg-white w-100"},p={__name:"ListPositions",props:{order:Object},setup(t){n.useRouter(),n.useRoute();const l=t;function s(r){u.actions.deleteItemFromLeftover(l.order.positions[r])}return(r,f)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",a,[t.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",d," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.order.positions,(o,c)=>(e.openBlock(),e.createElementBlock("li",{key:o._id,class:"w-100 gap-small flex-stretch flex-center flex-nowrap flex"},[e.createElementVNode("span",m,e.toDisplayString(o.name),1),e.createVNode(i.default,{products:[],product:o,onAdd:_=>s(c)},null,8,["product","onAdd"])]))),128))])]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");;/* empty css */const i=require("./CardPosition.vue.cjs"),u=require("../../store/leftovers.cjs");;/* empty css */const a={class:"flex-column flex-wrap"},d={key:0,class:"w-100"},m={class:"flex-v-center flex radius-medium pd-small bg-white w-100"},p={__name:"ListPositions",props:{order:Object},setup(t){n.useRouter(),n.useRoute();const l=t;function s(r){u.actions.deleteItemFromLeftover(l.order.positions[r])}return(r,f)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("ul",a,[t.order.positions.length===0?(e.openBlock(),e.createElementBlock("span",d," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.order.positions,(o,c)=>(e.openBlock(),e.createElementBlock("li",{key:o._id,class:"w-100 gap-small flex-stretch flex-center flex-nowrap flex"},[e.createElementVNode("span",m,e.toDisplayString(o.name),1),e.createVNode(i.default,{products:[],product:o,onAdd:_=>s(c)},null,8,["product","onAdd"])]))),128))])]))}};exports.default=p;
@@ -1,9 +1,9 @@
1
1
  import { openBlock as e, createElementBlock as t, createElementVNode as n, createCommentVNode as d, Fragment as a, renderList as m, toDisplayString as p, createVNode as u } from "vue";
2
2
  import { useRouter as f, useRoute as _ } from "vue-router";
3
- import "../../../../components/Field/Field.vue.js";
3
+ /* empty css */
4
4
  import x from "./CardPosition.vue.js";
5
5
  import { actions as h } from "../../store/leftovers.js";
6
- import "./ListPositions.vue2.js";
6
+ /* empty css */
7
7
  const w = { class: "flex-column flex-wrap" }, g = {
8
8
  key: 0,
9
9
  class: "w-100"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Price.vue2.cjs");const l={key:0,class:"pd-r-small t-transp t-transp p-medium line-through price"},i={__name:"Price",props:{product:Object,size:String},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["price-tag radius-small",{"bg-main":!t.product.sale,"bg-third-small":t.product.sale}])},[e.createElementVNode("p",{class:e.normalizeClass({h4:!t.size,"h5 t-semi pd-thin":t.size==="small","h3 t-semi pd-small":t.size==="big"})},e.toDisplayString(t.product.price)+" "+e.toDisplayString(r.returnCurrency()),3),t.product.sale?(e.openBlock(),e.createElementBlock("p",l,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(r.returnCurrency()),1)):e.createCommentVNode("",!0)],2))}};exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const l={key:0,class:"pd-r-small t-transp t-transp p-medium line-through price"},i={__name:"Price",props:{product:Object,size:String},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["price-tag radius-small",{"bg-main":!t.product.sale,"bg-third-small":t.product.sale}])},[e.createElementVNode("p",{class:e.normalizeClass({h4:!t.size,"h5 t-semi pd-thin":t.size==="small","h3 t-semi pd-small":t.size==="big"})},e.toDisplayString(t.product.price)+" "+e.toDisplayString(r.returnCurrency()),3),t.product.sale?(e.openBlock(),e.createElementBlock("p",l,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(r.returnCurrency()),1)):e.createCommentVNode("",!0)],2))}};exports.default=i;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as c, normalizeClass as i, createElementVNode as l, toDisplayString as t, createCommentVNode as s } from "vue";
2
- import "./Price.vue2.js";
2
+ /* empty css */
3
3
  const n = {
4
4
  key: 0,
5
5
  class: "pd-r-small t-transp t-transp p-medium line-through price"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./THC.vue2.cjs");const o={key:0,class:"thc"},n={class:"t-bold t-white"},r=e.createElementVNode("p",{class:"t-white h6"},"THC",-1),i={key:0,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l=e.createElementVNode("path",{fill:"#FF0000",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),c=[l],s={key:1,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d=e.createElementVNode("path",{fill:"#FF0099",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),a=[d],h={key:2,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u=e.createElementVNode("path",{fill:"#EB00FF",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),m=[u],w={key:3,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=e.createElementVNode("path",{fill:"#00FF29",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),v=[C],_={__name:"THC",props:{product:Object},setup(t){return(g,k)=>t.product.information[1]?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("p",n,e.toDisplayString(t.product.information[1].value)+" %",1),r,Number(t.product.information[1].value)>=18?(e.openBlock(),e.createElementBlock("svg",i,c)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=18&&Number(t.product.information[1].value)>=14?(e.openBlock(),e.createElementBlock("svg",s,a)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=14&&Number(t.product.information[1].value)>=10?(e.openBlock(),e.createElementBlock("svg",h,m)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=10?(e.openBlock(),e.createElementBlock("svg",w,v)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const o={key:0,class:"thc"},n={class:"t-bold t-white"},r=e.createElementVNode("p",{class:"t-white h6"},"THC",-1),i={key:0,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l=e.createElementVNode("path",{fill:"#FF0000",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),c=[l],s={key:1,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d=e.createElementVNode("path",{fill:"#FF0099",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),a=[d],h={key:2,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u=e.createElementVNode("path",{fill:"#EB00FF",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),m=[u],w={key:3,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=e.createElementVNode("path",{fill:"#00FF29",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),v=[C],_={__name:"THC",props:{product:Object},setup(t){return(g,k)=>t.product.information[1]?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("p",n,e.toDisplayString(t.product.information[1].value)+" %",1),r,Number(t.product.information[1].value)>=18?(e.openBlock(),e.createElementBlock("svg",i,c)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=18&&Number(t.product.information[1].value)>=14?(e.openBlock(),e.createElementBlock("svg",s,a)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=14&&Number(t.product.information[1].value)>=10?(e.openBlock(),e.createElementBlock("svg",h,m)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=10?(e.openBlock(),e.createElementBlock("svg",w,v)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}};exports.default=_;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as i, createElementVNode as e, toDisplayString as s, createCommentVNode as n } from "vue";
2
- import "./THC.vue2.js";
2
+ /* empty css */
3
3
  const r = {
4
4
  key: 0,
5
5
  class: "thc"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),l=require("vue-router"),t=require("../../store/categories.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Block/Block.vue.cjs"),g=require("../blocks/CardCategory.vue.cjs"),f={class:"pd-thin"},p=e.createElementVNode("h1",{class:"mn-r-auto"}," Product Categories ",-1),_={__name:"Categories",setup(C){l.useRoute(),l.useRouter(),e.onMounted(async()=>{await t.actions.fetchCategories()});function s(){t.state.all.forEach((r,a)=>{r.order=a}),o()}async function o(){await t.actions.updateCategories(t.state.all)}async function i(r){confirm(`Are you sure you want to delete the category "${r.name}"?`)?await t.actions.deleteCategory(r.url):alert("Category deletion cancelled")}return(r,a)=>{const u=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(m.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[p,e.createVNode(u,{to:{name:"CategoryAdd",params:{_id:r.$route.params._id}},class:"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link"},{default:e.withCtx(()=>[e.createTextVNode(" Add category ")]),_:1},8,["to"]),e.createVNode(d.default,{onClick:o,class:"pd-small radius-big bg-black t-white uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Change Order ")]),_:1})]),_:1}),e.createVNode(e.unref(c.VueDraggableNext),{class:"dragArea list-group w-full",list:t.state.all,"item-key":"order",onEnd:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.all,(n,h)=>(e.openBlock(),e.createBlock(g.default,{key:n.id,category:n,onDelete:i,class:"pd-medium bg-light radius-medium mn-b-thin"},null,8,["category"]))),128))]),_:1},8,["list"])])}}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),l=require("vue-router"),t=require("../../store/categories.cjs"),d=require("../../../../components/Button/Button.vue.cjs"),m=require("../../../../components/Block/Block.vue.cjs"),g=require("../blocks/CardCategory.vue.cjs"),f={class:"pd-thin"},p=e.createElementVNode("h1",{class:"mn-r-auto"}," Product Categories ",-1),_={__name:"Categories",setup(C){l.useRoute(),l.useRouter(),e.onMounted(async()=>{await t.actions.fetchCategories()});function s(){t.state.all.forEach((r,a)=>{r.order=a}),o()}async function o(){await t.actions.updateCategories(t.state.all)}async function i(r){confirm(`Are you sure you want to delete the category "${r.name}"?`)?await t.actions.deleteCategory(r.url):alert("Category deletion cancelled")}return(r,a)=>{const u=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(m.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[p,e.createVNode(u,{to:{name:"CategoryAdd",params:{_id:r.$route.params._id}},class:"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link"},{default:e.withCtx(()=>[e.createTextVNode(" Add category ")]),_:1},8,["to"]),e.createVNode(d.default,{onClick:o,class:"pd-small radius-big bg-black t-white uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Change Order ")]),_:1})]),_:1}),e.createVNode(e.unref(c.VueDraggableNext),{class:"dragArea list-group w-full",list:t.state.all,"item-key":"order",onEnd:s},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.all,(n,h)=>(e.openBlock(),e.createBlock(g.default,{key:n.id,category:n,onDelete:i,class:"pd-medium bg-light radius-medium mn-b-thin"},null,8,["category"]))),128))]),_:1},8,["list"])])}}};exports.default=_;
@@ -2,7 +2,7 @@ import { onMounted as p, resolveComponent as _, openBlock as i, createElementBlo
2
2
  import { VueDraggableNext as k } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
3
3
  import { useRoute as w, useRouter as x } from "vue-router";
4
4
  import { actions as n, state as a } from "../../store/categories.js";
5
- import $ from "../../../../components/Button/Button.vue2.js";
5
+ import $ from "../../../../components/Button/Button.vue.js";
6
6
  import v from "../../../../components/Block/Block.vue.js";
7
7
  import A from "../blocks/CardCategory.vue.js";
8
8
  const E = { class: "pd-thin" }, N = /* @__PURE__ */ b("h1", { class: "mn-r-auto" }, " Product Categories ", -1), T = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),i=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),g=require("../../../../components/Select/Select.vue.cjs"),d=require("../../../../components/Field/Field.vue2.cjs"),n=require("../../../../components/Block/Block.vue.cjs"),l=require("../../store/categories.cjs");require("./CategoryEdit.vue2.cjs");const b={class:"mn-r-auto"},h={class:"mn-b-medium w-100 flex-nowrap gap-thin flex"},w={class:"flex-v-center flex-nowrap flex"},x=e.createElementVNode("h4",{class:"mn-r-thin t-medium"},"Localization",-1),N=["onClick"],k=["onClick"],V=["onClick"],y={__name:"CategoryEdit",setup(C){const o=c.useRoute(),u=c.useRouter();o.params.category?l.actions.fetchCategory(o.params.category):l.actions.resetCategory(),e.computed(()=>l.state.current),e.computed(()=>o.name);function m(){o.params.category?l.actions.updateCategory(o.params.category):l.actions.addCategory()}function p(){u.push({name:"Categories Organization",params:{_id:o.params._id}})}return(_,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(n.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",b,e.toDisplayString(e.unref(o).params.category?"Edit Category":"Add Category"),1),e.createVNode(f.default,{submit:m,callback:p,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Save Category ")]),_:1})]),_:1}),e.createVNode(n.default,{title:"Profile",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",h,[e.createVNode(d.default,{field:l.state.current.order,"onUpdate:field":r[0]||(r[0]=t=>l.state.current.order=t),label:"Order",disabled:!0,class:"w-25 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.url,"onUpdate:field":r[1]||(r[1]=t=>l.state.current.url=t),label:"URL",placeholder:"Enter category URL",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.name,"onUpdate:field":r[2]||(r[2]=t=>l.state.current.name=t),label:"Name",placeholder:"Enter category name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),e.createVNode(g.default,{select:l.state.current.status,"onUpdate:select":r[3]||(r[3]=t=>l.state.current.status=t),label:"Status",options:["draft","internal","published","removed"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),e.createElementVNode("div",w,[x,e.createElementVNode("button",{onClick:r[4]||(r[4]=()=>l.state.current.localization.push({locale:"",text:""})),class:"i-small pd-thin button-delete button"}," + ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.localization,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.locale,"onUpdate:field":a=>t.locale=a,placeholder:"Locale",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.text,"onUpdate:field":a=>t.text=a,placeholder:"Text",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.localization.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,N)]))),128))]),_:1}),e.createVNode(n.default,{title:"Subcategories",placeholder:"No subcategories added yet",actions:[{label:"+",function:()=>l.state.current.subcategories.push({name:"",url:""})}],class:"mn-b-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.subcategories,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Subcategory name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.url,"onUpdate:field":a=>t.url=a,placeholder:"Subcategory",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.subcategories.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,k)]))),128))]),_:1},8,["actions"]),e.createVNode(n.default,{title:"Filters",placeholder:"No filters added yet",actions:[{label:"+",function:()=>l.state.current.filters.push({name:"",url:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.filters,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Filter name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.options,"onUpdate:field":a=>t.options=a,placeholder:"Filter options divided by ,",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.filters.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,V)]))),128))]),_:1},8,["actions"])],64))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),i=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../../components/Button/Button.vue.cjs"),g=require("../../../../components/Select/Select.vue.cjs"),d=require("../../../../components/Field/Field.vue.cjs"),n=require("../../../../components/Block/Block.vue.cjs"),l=require("../../store/categories.cjs");;/* empty css */const b={class:"mn-r-auto"},h={class:"mn-b-medium w-100 flex-nowrap gap-thin flex"},w={class:"flex-v-center flex-nowrap flex"},x=e.createElementVNode("h4",{class:"mn-r-thin t-medium"},"Localization",-1),N=["onClick"],k=["onClick"],V=["onClick"],y={__name:"CategoryEdit",setup(C){const o=c.useRoute(),u=c.useRouter();o.params.category?l.actions.fetchCategory(o.params.category):l.actions.resetCategory(),e.computed(()=>l.state.current),e.computed(()=>o.name);function m(){o.params.category?l.actions.updateCategory(o.params.category):l.actions.addCategory()}function p(){u.push({name:"Categories Organization",params:{_id:o.params._id}})}return(_,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(n.default,{class:"radius-big mn-b-thin flex-nowrap flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("h1",b,e.toDisplayString(e.unref(o).params.category?"Edit Category":"Add Category"),1),e.createVNode(f.default,{submit:m,callback:p,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Save Category ")]),_:1})]),_:1}),e.createVNode(n.default,{title:"Profile",class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("div",h,[e.createVNode(d.default,{field:l.state.current.order,"onUpdate:field":r[0]||(r[0]=t=>l.state.current.order=t),label:"Order",disabled:!0,class:"w-25 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.url,"onUpdate:field":r[1]||(r[1]=t=>l.state.current.url=t),label:"URL",placeholder:"Enter category URL",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(d.default,{field:l.state.current.name,"onUpdate:field":r[2]||(r[2]=t=>l.state.current.name=t),label:"Name",placeholder:"Enter category name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),e.createVNode(g.default,{select:l.state.current.status,"onUpdate:select":r[3]||(r[3]=t=>l.state.current.status=t),label:"Status",options:["draft","internal","published","removed"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),e.createElementVNode("div",w,[x,e.createElementVNode("button",{onClick:r[4]||(r[4]=()=>l.state.current.localization.push({locale:"",text:""})),class:"i-small pd-thin button-delete button"}," + ")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.localization,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.locale,"onUpdate:field":a=>t.locale=a,placeholder:"Locale",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.text,"onUpdate:field":a=>t.text=a,placeholder:"Text",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.localization.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,N)]))),128))]),_:1}),e.createVNode(n.default,{title:"Subcategories",placeholder:"No subcategories added yet",actions:[{label:"+",function:()=>l.state.current.subcategories.push({name:"",url:""})}],class:"mn-b-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.subcategories,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Subcategory name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.url,"onUpdate:field":a=>t.url=a,placeholder:"Subcategory",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.subcategories.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,k)]))),128))]),_:1},8,["actions"]),e.createVNode(n.default,{title:"Filters",placeholder:"No filters added yet",actions:[{label:"+",function:()=>l.state.current.filters.push({name:"",url:""})}]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.current.filters,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin mn-b-thin flex-nowrap flex",key:s},[e.createVNode(d.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Filter name",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.options,"onUpdate:field":a=>t.options=a,placeholder:"Filter options divided by ,",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",{onClick:()=>l.state.current.filters.splice(s,1),class:"radius-small pd-small flex-center flex aspect-1x1 bg-red"},[e.createVNode(i.default,{class:"i-medium"})],8,V)]))),128))]),_:1},8,["actions"])],64))}};exports.default=y;
@@ -1,12 +1,12 @@
1
1
  import { computed as h, openBlock as o, createElementBlock as c, Fragment as m, createVNode as l, withCtx as u, createElementVNode as d, toDisplayString as _, unref as U, createTextVNode as C, renderList as b } from "vue";
2
2
  import { useRoute as k, useRouter as v } from "vue-router";
3
3
  import g from "../../../icons/navigation/IconDelete.vue.js";
4
- import S from "../../../../components/Button/Button.vue2.js";
4
+ import S from "../../../../components/Button/Button.vue.js";
5
5
  import E from "../../../../components/Select/Select.vue.js";
6
- import i from "../../../../components/Field/Field.vue2.js";
6
+ import i from "../../../../components/Field/Field.vue.js";
7
7
  import p from "../../../../components/Block/Block.vue.js";
8
8
  import { actions as f, state as t } from "../../store/categories.js";
9
- import "./CategoryEdit.vue2.js";
9
+ /* empty css */
10
10
  const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap gap-thin flex" }, F = { class: "flex-v-center flex-nowrap flex" }, L = /* @__PURE__ */ d("h4", { class: "mn-r-thin t-medium" }, "Localization", -1), R = ["onClick"], T = ["onClick"], V = ["onClick"], J = {
11
11
  __name: "CategoryEdit",
12
12
  setup($) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Block/Block.vue.cjs"),w=require("../../../../components/Field/Field.vue2.cjs"),N=require("../../../../components/Feed/Feed.vue.cjs"),C=require("../../../../components/Select/Select.vue.cjs"),q=require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const P=require("../blocks/CardPosition.vue.cjs"),x=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),v=require("vue-router"),p=require("../../../globals/store/globals.cjs"),V=require("../../../auth/store/auth.cjs"),t=require("../../store/leftovers.cjs"),m=require("../../store/products.cjs");require("./EditLeftover.vue2.cjs");const B={class:"pd-thin"},E={class:"mn-b-medium gap-small flex-v-center flex-nowrap flex"},S={class:""},D={class:"bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},L={class:"gap-thin flex-v-center flex-nojustify flex"},R={class:"mn-r-auto"},F={__name:"EditLeftover",setup(O){const r=v.useRoute(),i=v.useRouter(),f=e.ref(m.state.all);e.ref(null);const b=e.computed(()=>Number(t.state.current.positions.reduce((a,s)=>Number(a)+Number(s.price),0))),c=e.ref(!1);function g(){c.value=!0}function h(){c.value=!1}e.onMounted(async()=>{if(r.params.leftover)try{await t.actions.fetch(r.params.leftover)}catch{console.error("error")}else t.state.current={type:"",order:"",positions:[]};try{const a=await m.actions.read({organization:r.params._id,limit:100});f.value=a}catch{console.error("error")}});function _(){r.params.leftover?t.actions.fetch(r.params.leftover):t.state.current={type:"",order:"",positions:[]}}function y(){t.state.current.organization=r.params._id,r.params.leftover?t.actions.update(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")):(t.state.current.creator={type:"user",target:V.state.user._id},t.state.current.owner={type:"organization",target:r.params._id},console.log("leftover state is",t.state.current),t.actions.create(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")))}function k(){t.actions.delete(r.params.leftover).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error"))}return(a,s)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("header",E,[e.createElementVNode("h2",S,e.toDisplayString(e.unref(r).params.leftover?"Edit ":"Add ")+" Inventory",1),e.createVNode(C.default,{select:t.state.current.type,"onUpdate:select":s[0]||(s[0]=o=>t.state.current.type=o),options:["stock-in","stock-out"],placeholder:"Select type",class:"bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"},null,8,["select"])]),e.createVNode(q.default,{title:"Add position",onClosePopup:h,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(N.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:o=>m.actions.read(o),state:null},options:{organization:e.unref(r).params._id},class:""},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(n,l)=>(e.openBlock(),e.createBlock(x.default,{key:n._id,editable:!1,product:n,onClick:()=>{let u={...n};u.quantity=1,u.type="pcs",p.actions.add(t.state.current.positions,u),h()},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(d.default,{title:"Invetory Sheet",actions:[{label:"+",function:()=>g()}],placeholder:"No positions added yet",class:"mn-b-semi"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(o,n)=>(e.openBlock(),e.createBlock(P.default,{key:o._id,product:o,array:t.state.current.positions,products:f.value,onUpdate:l=>p.actions.update(t.state.current.positions,l,n),onDelete:l=>p.actions.delete(t.state.current.positions,l,n),class:"mn-b-small radius-medium bg-white pd-small"},null,8,["product","array","products","onUpdate","onDelete"]))),128))]),_:1},8,["actions"]),e.createVNode(d.default,{title:"Comment",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(w.default,{field:t.state.current.comment,"onUpdate:field":s[1]||(s[1]=o=>t.state.current.comment=o),label:"Comment",type:"textarea",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),_:1}),e.createVNode(d.default,{class:""},{default:e.withCtx(()=>[e.createElementVNode("section",L,[e.createElementVNode("h3",R," In total: "+e.toDisplayString(a.formatPrice(b.value)),1),e.createElementVNode("a",{onClick:s[2]||(s[2]=o=>y()),class:"bg-main button"}," Save "),e.createElementVNode("a",{class:"t-white bg-second button",onClick:s[3]||(s[3]=o=>_())}," Reset "),e.unref(r).params.leftover?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:s[4]||(s[4]=o=>k()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])]),_:1})]))}};exports.default=F;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Block/Block.vue.cjs"),w=require("../../../../components/Field/Field.vue.cjs"),N=require("../../../../components/Feed/Feed.vue.cjs"),C=require("../../../../components/Select/Select.vue.cjs"),q=require("../../../../components/Popup/Popup.vue.cjs");;/* empty css */const P=require("../blocks/CardPosition.vue.cjs"),x=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),v=require("vue-router"),p=require("../../../globals/store/globals.cjs"),V=require("../../../auth/store/auth.cjs"),t=require("../../store/leftovers.cjs"),m=require("../../store/products.cjs");;/* empty css */const B={class:"pd-thin"},E={class:"mn-b-medium gap-small flex-v-center flex-nowrap flex"},S={class:""},D={class:"bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},L={class:"gap-thin flex-v-center flex-nojustify flex"},R={class:"mn-r-auto"},F={__name:"EditLeftover",setup(O){const r=v.useRoute(),i=v.useRouter(),f=e.ref(m.state.all);e.ref(null);const b=e.computed(()=>Number(t.state.current.positions.reduce((a,s)=>Number(a)+Number(s.price),0))),c=e.ref(!1);function g(){c.value=!0}function h(){c.value=!1}e.onMounted(async()=>{if(r.params.leftover)try{await t.actions.fetch(r.params.leftover)}catch{console.error("error")}else t.state.current={type:"",order:"",positions:[]};try{const a=await m.actions.read({organization:r.params._id,limit:100});f.value=a}catch{console.error("error")}});function _(){r.params.leftover?t.actions.fetch(r.params.leftover):t.state.current={type:"",order:"",positions:[]}}function y(){t.state.current.organization=r.params._id,r.params.leftover?t.actions.update(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")):(t.state.current.creator={type:"user",target:V.state.user._id},t.state.current.owner={type:"organization",target:r.params._id},console.log("leftover state is",t.state.current),t.actions.create(t.state.current).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error")))}function k(){t.actions.delete(r.params.leftover).then(()=>i.push({name:"Leftovers",params:{_id:r.params._id}}),a=>console.error("error"))}return(a,s)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("header",E,[e.createElementVNode("h2",S,e.toDisplayString(e.unref(r).params.leftover?"Edit ":"Add ")+" Inventory",1),e.createVNode(C.default,{select:t.state.current.type,"onUpdate:select":s[0]||(s[0]=o=>t.state.current.type=o),options:["stock-in","stock-out"],placeholder:"Select type",class:"bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"},null,8,["select"])]),e.createVNode(q.default,{title:"Add position",onClosePopup:h,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(N.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:o=>m.actions.read(o),state:null},options:{organization:e.unref(r).params._id},class:""},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(n,l)=>(e.openBlock(),e.createBlock(x.default,{key:n._id,editable:!1,product:n,onClick:()=>{let u={...n};u.quantity=1,u.type="pcs",p.actions.add(t.state.current.positions,u),h()},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(d.default,{title:"Invetory Sheet",actions:[{label:"+",function:()=>g()}],placeholder:"No positions added yet",class:"mn-b-semi"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(o,n)=>(e.openBlock(),e.createBlock(P.default,{key:o._id,product:o,array:t.state.current.positions,products:f.value,onUpdate:l=>p.actions.update(t.state.current.positions,l,n),onDelete:l=>p.actions.delete(t.state.current.positions,l,n),class:"mn-b-small radius-medium bg-white pd-small"},null,8,["product","array","products","onUpdate","onDelete"]))),128))]),_:1},8,["actions"]),e.createVNode(d.default,{title:"Comment",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(w.default,{field:t.state.current.comment,"onUpdate:field":s[1]||(s[1]=o=>t.state.current.comment=o),label:"Comment",type:"textarea",class:"w-100 bg-white radius-small pd-medium"},null,8,["field"])]),_:1}),e.createVNode(d.default,{class:""},{default:e.withCtx(()=>[e.createElementVNode("section",L,[e.createElementVNode("h3",R," In total: "+e.toDisplayString(a.formatPrice(b.value)),1),e.createElementVNode("a",{onClick:s[2]||(s[2]=o=>y()),class:"bg-main button"}," Save "),e.createElementVNode("a",{class:"t-white bg-second button",onClick:s[3]||(s[3]=o=>_())}," Reset "),e.unref(r).params.leftover?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:s[4]||(s[4]=o=>k()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])]),_:1})]))}};exports.default=F;
@@ -1,10 +1,10 @@
1
1
  import { ref as h, computed as z, onMounted as E, openBlock as l, createElementBlock as m, createElementVNode as n, toDisplayString as k, unref as b, createVNode as a, withCtx as c, Fragment as P, renderList as x, createBlock as $, createCommentVNode as U } from "vue";
2
2
  import v from "../../../../components/Block/Block.vue.js";
3
- import B from "../../../../components/Field/Field.vue2.js";
3
+ import B from "../../../../components/Field/Field.vue.js";
4
4
  import F from "../../../../components/Feed/Feed.vue.js";
5
5
  import I from "../../../../components/Select/Select.vue.js";
6
6
  import O from "../../../../components/Popup/Popup.vue.js";
7
- import "../../../../components/SelectMulti/SelectMulti.vue2.js";
7
+ /* empty css */
8
8
  import V from "../blocks/CardPosition.vue.js";
9
9
  import A from "../../../orders/components/blocks/CardOrderItem.vue.js";
10
10
  import { useRoute as j, useRouter as q } from "vue-router";
@@ -12,7 +12,7 @@ import { actions as y } from "../../../globals/store/globals.js";
12
12
  import { state as M } from "../../../auth/store/auth.js";
13
13
  import { state as e, actions as u } from "../../store/leftovers.js";
14
14
  import { state as G, actions as C } from "../../store/products.js";
15
- import "./EditLeftover.vue2.js";
15
+ /* empty css */
16
16
  const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-center flex-nowrap flex" }, K = { class: "" }, Q = { class: "bg-light mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big" }, T = { class: "gap-thin flex-v-center flex-nojustify flex" }, W = { class: "mn-r-auto" }, de = {
17
17
  __name: "EditLeftover",
18
18
  setup(X) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("../../../../components/Feed/Feed.vue.cjs"),p=require("../blocks/CardLeftover.vue.cjs"),u=require("../../store/leftovers.cjs");require("./Leftovers.vue2.cjs");const v={class:"pd-thin"},f={class:"mn-b-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),h={class:"mn-b-semi pd-medium bg-light radius-big"},_=e.createElementVNode("p",{class:"mn-b-thin"},"Balance:",-1),g={__name:"Leftovers",setup(k){const s=a.useRoute();a.useRouter();const l=e.ref(s.query.tab?s.query.tab:"all"),i=e.computed(()=>u.state.all.reduce((o,r)=>{const t=r.positions.reduce((n,c)=>n+c.price,0);return r.type==="stock-in"?o-t:r.type==="stock-out"?o+t:o},0));return(o,r)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("header",f,[b,e.createElementVNode("button",{onClick:r[0]||(r[0]=t=>o.$router.push({name:"LeftoverAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",h,[_,e.createElementVNode("h3",null,e.toDisplayString(o.formatPrice(i.value)),1)]),e.createVNode(d.default,{selected:l.value,"onUpdate:selected":r[1]||(r[1]=t=>l.value=t),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"]),e.createVNode(m.default,{search:!0,states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:t=>u.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...l.value!=="all"&&{type:l.value}}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(p.default,{leftover:n,class:"bg-light pd-small mn-b-thin radius-small"},null,8,["leftover"]))),256))]),_:1},8,["store","options"])]))}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("../../../../components/Feed/Feed.vue.cjs"),p=require("../blocks/CardLeftover.vue.cjs"),u=require("../../store/leftovers.cjs");;/* empty css */const v={class:"pd-thin"},f={class:"mn-b-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),h={class:"mn-b-semi pd-medium bg-light radius-big"},_=e.createElementVNode("p",{class:"mn-b-thin"},"Balance:",-1),g={__name:"Leftovers",setup(k){const s=a.useRoute();a.useRouter();const l=e.ref(s.query.tab?s.query.tab:"all"),i=e.computed(()=>u.state.all.reduce((o,r)=>{const t=r.positions.reduce((n,c)=>n+c.price,0);return r.type==="stock-in"?o-t:r.type==="stock-out"?o+t:o},0));return(o,r)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("header",f,[b,e.createElementVNode("button",{onClick:r[0]||(r[0]=t=>o.$router.push({name:"LeftoverAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",h,[_,e.createElementVNode("h3",null,e.toDisplayString(o.formatPrice(i.value)),1)]),e.createVNode(d.default,{selected:l.value,"onUpdate:selected":r[1]||(r[1]=t=>l.value=t),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"]),e.createVNode(m.default,{search:!0,states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:t=>u.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...l.value!=="all"&&{type:l.value}}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(p.default,{leftover:n,class:"bg-light pd-small mn-b-thin radius-small"},null,8,["leftover"]))),256))]),_:1},8,["store","options"])]))}};exports.default=g;
@@ -4,7 +4,7 @@ import L from "../../../../components/Tab/Tab.vue2.js";
4
4
  import w from "../../../../components/Feed/Feed.vue.js";
5
5
  import x from "../blocks/CardLeftover.vue.js";
6
6
  import { state as B, actions as C } from "../../store/leftovers.js";
7
- import "./Leftovers.vue2.js";
7
+ /* empty css */
8
8
  const $ = { class: "pd-thin" }, N = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ o("h2", { class: "mn-r-medium" }, "Inventory", -1), A = { class: "mn-b-semi pd-medium bg-light radius-big" }, E = /* @__PURE__ */ o("p", { class: "mn-b-thin" }, "Balance:", -1), T = {
9
9
  __name: "Leftovers",
10
10
  setup(F) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../sections/PopularProducts.vue.cjs"),n=require("../sections/SectionProduct.vue.cjs"),o=require("vue-router"),a=require("vue-i18n"),l=require("../../../auth/store/auth.cjs"),t=require("../../store/products.cjs");require("../../store/categories.cjs");require("./Product.vue2.cjs");const i={class:"flex flex-column w-100 o-hidden gap-thin pd-thin"},d={__name:"Product",setup(p){const r=o.useRoute();o.useRouter(),r.meta.title.en=t.state.current.name,r.meta.title.ru=t.state.current.name;const u=e.computed(()=>t.state.current),c={messages:{en:{},ru:{}}};return e.onMounted(async()=>{await t.actions.fetchProduct(r.params.product)}),a.useI18n(c),(m,_)=>(e.openBlock(),e.createElementBlock("div",i,[u.value?(e.openBlock(),e.createBlock(n.default,{key:0,product:u.value,user:l.state.user,class:"pos-relative"},null,8,["product","user"])):e.createCommentVNode("",!0),e.createVNode(s.default)]))}};exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../sections/PopularProducts.vue.cjs"),n=require("../sections/SectionProduct.vue.cjs"),o=require("vue-router"),a=require("vue-i18n"),l=require("../../../auth/store/auth.cjs"),t=require("../../store/products.cjs");require("../../store/categories.cjs");;/* empty css */const i={class:"flex flex-column w-100 o-hidden gap-thin pd-thin"},d={__name:"Product",setup(p){const r=o.useRoute();o.useRouter(),r.meta.title.en=t.state.current.name,r.meta.title.ru=t.state.current.name;const u=e.computed(()=>t.state.current),c={messages:{en:{},ru:{}}};return e.onMounted(async()=>{await t.actions.fetchProduct(r.params.product)}),a.useI18n(c),(m,_)=>(e.openBlock(),e.createElementBlock("div",i,[u.value?(e.openBlock(),e.createBlock(n.default,{key:0,product:u.value,user:l.state.user,class:"pos-relative"},null,8,["product","user"])):e.createCommentVNode("",!0),e.createVNode(s.default)]))}};exports.default=d;
@@ -6,7 +6,7 @@ import { useI18n as _ } from "vue-i18n";
6
6
  import { state as h } from "../../../auth/store/auth.js";
7
7
  import { state as e, actions as x } from "../../store/products.js";
8
8
  import "../../store/categories.js";
9
- import "./Product.vue2.js";
9
+ /* empty css */
10
10
  const k = { class: "flex flex-column w-100 o-hidden gap-thin pd-thin" }, I = {
11
11
  __name: "Product",
12
12
  setup(v) {
@@ -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.vue.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
+ "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");;/* empty css */const o=require("../../../../components/Block/Block.vue.cjs");;/* empty css */const d=require("../../../../components/Field/Field.vue.cjs"),B=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/Button/Button.vue.cjs"),C=require("../../../../components/Popup/Popup.vue.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");;/* empty css */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;
@@ -2,12 +2,12 @@ import { ref as U, onMounted as B, openBlock as n, createElementBlock as s, crea
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";
5
- import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
5
+ /* empty css */
6
6
  import d from "../../../../components/Block/Block.vue.js";
7
- import "../../../../components/Tab/Tab.vue.js";
8
- import v from "../../../../components/Field/Field.vue2.js";
7
+ /* empty css */
8
+ import v from "../../../../components/Field/Field.vue.js";
9
9
  import S from "../../../../components/Checkbox/Checkbox.vue.js";
10
- import N from "../../../../components/Button/Button.vue2.js";
10
+ import N from "../../../../components/Button/Button.vue.js";
11
11
  import T from "../../../../components/Popup/Popup.vue.js";
12
12
  import A from "../../../../components/Feed/Feed.vue.js";
13
13
  import L from "../../../../components/EditImages/EditImages.vue.js";
@@ -18,7 +18,7 @@ import j from "../sections/EditProductInfo.vue.js";
18
18
  import { actions as w } from "../../../globals/store/globals.js";
19
19
  import { state as e, mutations as G, actions as c } from "../../store/products.js";
20
20
  import { actions as H, state as J } from "../../store/categories.js";
21
- import "./ProductEdit.vue2.js";
21
+ /* empty css */
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"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),g=require("vue-i18n"),h=require("../../../../components/Loader/Loader.vue2.cjs");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const f=require("../../../../components/FieldBig/FieldBig.vue.cjs"),_=require("../sections/SectionProduct.vue.cjs"),s=require("../../store/products.cjs");require("../sections/HeroRecommendation.vue2.cjs");require("./ProductRecommmendation.vue2.cjs");const k=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),I={id:"product-recommendation",class:"h-min-100 pd-thin t-white bg-black"},q={key:1,class:"section"},y={key:0,class:"mn-b-thin"},R={__name:"ProductRecommmendation",setup(T){const r=b.useRouter(),t=e.ref(!0),m=e.ref(!1),u=e.ref(["Loading all we know about the buds","Processing the cannabis universe","Creating a strain of knowledge","Harvesting taste insights"]),p={messages:{en:{TITLE:"Increase Your High,<br><b class='t-white'>Powered by AI Budtender</b>",DESCRIPTION:"AI's got your chill, bro. We're picking out the most cosmic weed strains based on your desired vibe:",placeholder:"Describe your desired high, bro...",action:"Transmit →"},ru:{TITLE:"Персональный Накур,<br><b class='t-white'>Напрямую от AI</b>",DESCRIPTION:"AI на страже твоего релакса, бро. Мы подбираем самые космические сорта травы, исходя из твоего желаемого настроения:",placeholder:"Опиши свой желамый хай, bro...",action:"Передать →"}}},{t:o}=g.useI18n(p),a=e.ref(u.value[0]);let c=e.ref(r.currentRoute.value.query.mood||o("Recommend me something"));e.watchEffect(async()=>{c.value=r.currentRoute.value.query.mood||o("Recommend me something"),t.value=!0,await s.actions.submitMood(c.value),t.value=!1}),e.onMounted(async()=>{}),setInterval(()=>{const i=u.value.indexOf(a.value);a.value=u.value[(i+1)%u.value.length]},2e3);let n=e.ref(r.currentRoute.value.query.mood||o("Recommend me something"));function v(){r.push({name:"Product Recommmendation",query:{mood:n.value}})}return(i,l)=>(e.openBlock(),e.createElementBlock("div",I,[t.value?(e.openBlock(),e.createBlock(h.default,{key:0,status:a.value,class:"pos-fixed"},null,8,["status"])):e.createCommentVNode("",!0),!t.value&&!m.value?(e.openBlock(),e.createElementBlock("div",q,[t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{input:e.unref(n),loopTyping:!1,enableTyping:!1,placeholder:e.unref(o)("placeholder"),action:e.unref(o)("action"),"onUpdate:input":l[0]||(l[0]=d=>e.isRef(n)?n.value=d:n=d),onAction:v,class:"t-white bg-dark-transp-50 w-100"},null,8,["input","placeholder","action"])])),e.createVNode(_.default,{product:s.state.current,recommendation:s.state.current.recommendation,class:"bg-dark-transp-50 pd-big radius-big"},null,8,["product","recommendation"])])):e.createCommentVNode("",!0)]))}},w=k.default(R,[["__scopeId","data-v-bbe59673"]]);exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),g=require("vue-i18n"),h=require("../../../../components/Loader/Loader.vue2.cjs");require("../../../globals/localization/vue-i18n.cjs");;/* empty css */const f=require("../../../../components/FieldBig/FieldBig.vue.cjs"),_=require("../sections/SectionProduct.vue.cjs");;/* empty css */const s=require("../../store/products.cjs");;/* empty css */;/* empty css */const k=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),q={id:"product-recommendation",class:"h-min-100 pd-thin t-white bg-black"},I={key:1,class:"section"},y={key:0,class:"mn-b-thin"},R={__name:"ProductRecommmendation",setup(T){const r=b.useRouter(),t=e.ref(!0),m=e.ref(!1),u=e.ref(["Loading all we know about the buds","Processing the cannabis universe","Creating a strain of knowledge","Harvesting taste insights"]),p={messages:{en:{TITLE:"Increase Your High,<br><b class='t-white'>Powered by AI Budtender</b>",DESCRIPTION:"AI's got your chill, bro. We're picking out the most cosmic weed strains based on your desired vibe:",placeholder:"Describe your desired high, bro...",action:"Transmit →"},ru:{TITLE:"Персональный Накур,<br><b class='t-white'>Напрямую от AI</b>",DESCRIPTION:"AI на страже твоего релакса, бро. Мы подбираем самые космические сорта травы, исходя из твоего желаемого настроения:",placeholder:"Опиши свой желамый хай, bro...",action:"Передать →"}}},{t:o}=g.useI18n(p),a=e.ref(u.value[0]);let c=e.ref(r.currentRoute.value.query.mood||o("Recommend me something"));e.watchEffect(async()=>{c.value=r.currentRoute.value.query.mood||o("Recommend me something"),t.value=!0,await s.actions.submitMood(c.value),t.value=!1}),e.onMounted(async()=>{}),setInterval(()=>{const i=u.value.indexOf(a.value);a.value=u.value[(i+1)%u.value.length]},2e3);let n=e.ref(r.currentRoute.value.query.mood||o("Recommend me something"));function v(){r.push({name:"Product Recommmendation",query:{mood:n.value}})}return(i,l)=>(e.openBlock(),e.createElementBlock("div",q,[t.value?(e.openBlock(),e.createBlock(h.default,{key:0,status:a.value,class:"pos-fixed"},null,8,["status"])):e.createCommentVNode("",!0),!t.value&&!m.value?(e.openBlock(),e.createElementBlock("div",I,[t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{input:e.unref(n),loopTyping:!1,enableTyping:!1,placeholder:e.unref(o)("placeholder"),action:e.unref(o)("action"),"onUpdate:input":l[0]||(l[0]=d=>e.isRef(n)?n.value=d:n=d),onAction:v,class:"t-white bg-dark-transp-50 w-100"},null,8,["input","placeholder","action"])])),e.createVNode(_.default,{product:s.state.current,recommendation:s.state.current.recommendation,class:"bg-dark-transp-50 pd-big radius-big"},null,8,["product","recommendation"])])):e.createCommentVNode("",!0)]))}},w=k.default(R,[["__scopeId","data-v-bbe59673"]]);exports.default=w;
@@ -3,12 +3,13 @@ import { useRouter as k } from "vue-router";
3
3
  import { useI18n as T } from "vue-i18n";
4
4
  import x from "../../../../components/Loader/Loader.vue2.js";
5
5
  import "../../../globals/localization/vue-i18n.js";
6
- import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
+ /* empty css */
7
7
  import P from "../../../../components/FieldBig/FieldBig.vue.js";
8
8
  import E from "../sections/SectionProduct.vue.js";
9
+ /* empty css */
9
10
  import { actions as A, state as v } from "../../store/products.js";
10
- import "../sections/HeroRecommendation.vue2.js";
11
- import "./ProductRecommmendation.vue2.js";
11
+ /* empty css */
12
+ /* empty css */
12
13
  import q from "../../../../../../_virtual/_plugin-vue_export-helper.js";
13
14
  const B = {
14
15
  id: "product-recommendation",
@@ -82,7 +83,7 @@ const B = {
82
83
  ])) : u("", !0)
83
84
  ]));
84
85
  }
85
- }, G = /* @__PURE__ */ q(N, [["__scopeId", "data-v-bbe59673"]]);
86
+ }, J = /* @__PURE__ */ q(N, [["__scopeId", "data-v-bbe59673"]]);
86
87
  export {
87
- G as default
88
+ J as default
88
89
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Field/Field.vue2.cjs"),L={key:0,class:"mn-b-small w-100"},k={class:"w-100 flex-nowrap flex"},w=["onClick"],E=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"rgb(var(--white))"})],-1),g=[E],N=e.createElementVNode("hr",{class:"mn-b-medium"},null,-1),V=["onClick"],B=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"rgb(var(--white))"})],-1),x=[B],C=e.createElementVNode("hr",{class:"mn-b-medium"},null,-1),U=["onClick"],y={__name:"EditModifications",props:{product:Object},emits:["add-modification","delete-modification","add-characteristic","delete-characteristic","submit"],setup(u,{emit:m}){const o=m,f=u,{product:r}=e.toRefs(f);function p(){o("add-modification")}function h(l){o("delete-modification",l)}function b(l){o("add-characteristic",l)}function _(l,d){o("delete-characteristic",{modIndex:l,charIndex:d})}function v(){o("submit")}return(l,d)=>(e.openBlock(),e.createElementBlock("div",null,[e.unref(r).modifications.length==0?(e.openBlock(),e.createElementBlock("p",L,"У продукта еще не заданы модификации.")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r).modifications,(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small flex-column flex-wrap block",key:i},[e.createElementVNode("div",k,[e.createVNode(c.default,{field:n.quantity,"onUpdate:field":t=>n.quantity=t,disabled:!0,placeholder:"Количество",class:"mn-b-medium input-text input",type:"number"},null,8,["field","onUpdate:field"]),e.createVNode(c.default,{field:n.name,"onUpdate:field":t=>n.name=t,placeholder:"Новая модификация",class:"mn-b-medium input-text input"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:t=>h(i),class:"mn-l-small i-normal pd-regular button-delete button"},g,8,w)]),N,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.characteristics,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-medium w-100 flex-nowrap flex variants-wrapper",key:s},[e.createVNode(c.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Название параметра",class:"input-text input"},null,8,["field","onUpdate:field"]),e.createVNode(c.default,{field:t.value,"onUpdate:field":a=>t.value=a,placeholder:"Значение параметра",class:"mn-l-small input-text input"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:a=>_(i,s),class:"mn-l-small i-normal pd-regular button-delete button"},x,8,V)]))),128)),C,e.createElementVNode("button",{onClick:t=>b(i),class:"button"},"Добавить характеристику",8,U)]))),128)),e.createElementVNode("div",{class:"mn-b-big t-center flex-center flex block"},[e.createElementVNode("button",{onClick:p,class:"w-100"},"Добавить модификацю")]),e.createElementVNode("button",{onClick:d[0]||(d[0]=n=>v()),class:"button"},"Сохранить модификации")]))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Field/Field.vue.cjs"),L={key:0,class:"mn-b-small w-100"},k={class:"w-100 flex-nowrap flex"},w=["onClick"],E=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"rgb(var(--white))"})],-1),g=[E],N=e.createElementVNode("hr",{class:"mn-b-medium"},null,-1),V=["onClick"],B=e.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"rgb(var(--white))"})],-1),x=[B],C=e.createElementVNode("hr",{class:"mn-b-medium"},null,-1),U=["onClick"],y={__name:"EditModifications",props:{product:Object},emits:["add-modification","delete-modification","add-characteristic","delete-characteristic","submit"],setup(u,{emit:m}){const o=m,f=u,{product:r}=e.toRefs(f);function p(){o("add-modification")}function h(l){o("delete-modification",l)}function b(l){o("add-characteristic",l)}function _(l,d){o("delete-characteristic",{modIndex:l,charIndex:d})}function v(){o("submit")}return(l,d)=>(e.openBlock(),e.createElementBlock("div",null,[e.unref(r).modifications.length==0?(e.openBlock(),e.createElementBlock("p",L,"У продукта еще не заданы модификации.")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r).modifications,(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small flex-column flex-wrap block",key:i},[e.createElementVNode("div",k,[e.createVNode(c.default,{field:n.quantity,"onUpdate:field":t=>n.quantity=t,disabled:!0,placeholder:"Количество",class:"mn-b-medium input-text input",type:"number"},null,8,["field","onUpdate:field"]),e.createVNode(c.default,{field:n.name,"onUpdate:field":t=>n.name=t,placeholder:"Новая модификация",class:"mn-b-medium input-text input"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:t=>h(i),class:"mn-l-small i-normal pd-regular button-delete button"},g,8,w)]),N,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.characteristics,(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-medium w-100 flex-nowrap flex variants-wrapper",key:s},[e.createVNode(c.default,{field:t.name,"onUpdate:field":a=>t.name=a,placeholder:"Название параметра",class:"input-text input"},null,8,["field","onUpdate:field"]),e.createVNode(c.default,{field:t.value,"onUpdate:field":a=>t.value=a,placeholder:"Значение параметра",class:"mn-l-small input-text input"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:a=>_(i,s),class:"mn-l-small i-normal pd-regular button-delete button"},x,8,V)]))),128)),C,e.createElementVNode("button",{onClick:t=>b(i),class:"button"},"Добавить характеристику",8,U)]))),128)),e.createElementVNode("div",{class:"mn-b-big t-center flex-center flex block"},[e.createElementVNode("button",{onClick:p,class:"w-100"},"Добавить модификацю")]),e.createElementVNode("button",{onClick:d[0]||(d[0]=n=>v()),class:"button"},"Сохранить модификации")]))}};exports.default=y;
@@ -1,5 +1,5 @@
1
1
  import { toRefs as U, openBlock as i, createElementBlock as o, unref as p, createCommentVNode as y, Fragment as h, renderList as b, createElementVNode as e, createVNode as r } from "vue";
2
- import u from "../../../../components/Field/Field.vue2.js";
2
+ import u from "../../../../components/Field/Field.vue.js";
3
3
  const M = {
4
4
  key: 0,
5
5
  class: "mn-b-small w-100"
@@ -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"),i=require("../../../../components/Select/Select.vue.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
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");;/* empty css */;/* empty css */const r=require("../../../../components/Field/Field.vue.cjs"),i=require("../../../../components/Select/Select.vue.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,7 +1,7 @@
1
1
  import { openBlock as u, createElementBlock as a, Fragment as o, createVNode as d, withCtx as n } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
3
- import "../../../../components/Button/Button.vue.js";
4
- import i from "../../../../components/Field/Field.vue2.js";
2
+ /* empty css */
3
+ /* empty css */
4
+ import i from "../../../../components/Field/Field.vue.js";
5
5
  import r from "../../../../components/Select/Select.vue.js";
6
6
  const w = {
7
7
  __name: "EditProductInfo",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Spoiler/Spoiler.vue2.cjs"),d=require("../../../../components/Checkbox/Checkbox.vue.cjs"),w=require("vue-i18n"),f=require("vue-router"),m=require("../../store/categories.cjs"),a=require("../../../marketplace/store/marketplace.cjs");require("./FilterProducts.vue2.cjs");const _={class:"pd-medium bg-light radius-big"},E={class:"cursor-pointer mn-r-auto t-medium p-big"},x=e.createElementVNode("hr",{class:"mn-b-small t-transp"},null,-1),B={class:"cursor-pointer mn-r-auto t-medium p-big"},q=e.createElementVNode("hr",{class:"mn-b-small"},null,-1),F=e.createElementVNode("p",{class:"cursor-pointer mn-r-auto t-medium p-big"},"Delivery",-1),V=e.createElementVNode("hr",{class:"mn-b-semi"},null,-1),C={__name:"FilterProducts",props:{selectedFilters:Object,prices:{type:Array,default:()=>[{label:"Under 300฿",value:"<300"},{label:"300฿ to 600฿",value:"300-600"},{label:"600฿ to 1200฿",value:"600-1200"},{label:"$1200 and above",value:">1200"}]},deliveryOptions:{type:Array,default:()=>[{label:"Pickup",value:{min:0,max:25}},{label:"Courier",value:{min:25,max:50}},{label:"Post",value:{min:50,max:100}}]}},emits:["updateFilters","resetFilters"],setup(p,{emit:g}){const n=f.useRoute(),h=f.useRouter();let v={status:"published"};e.ref({categories:[],prices:[],delivery:[],extra:[]}),e.watch(()=>a.state.filter,(r,t)=>{const l={...n.query};Object.keys(t).forEach(s=>{l[s]&&delete l[s]});const i=Object.fromEntries(Object.entries(r).filter(([s,o])=>Array.isArray(o)&&o.length>0).map(([s,o])=>[s,o.join(",")]));Object.assign(l,i),h.push({query:l})},{deep:!0}),e.onMounted(async()=>{if(await m.actions.fetchCategories(v),n.query){const r=n.query,t={categories:r.categories?r.categories.split(","):[],prices:r.prices?r.prices.split(","):[],delivery:r.delivery?r.delivery.split(","):[]};a.state.filter.innerHTML=t}});const y=g,k=()=>{y("resetFilters")},b={locale:"en",messages:{en:{categoriesTitle:"Category",categories:[],filters:{title:"Filters",price:{title:"Price",from:"From",to:"To"},filters:[],reset:"Reset Filters"}},ru:{categoriesTitle:"Категория",categories:[],filters:{title:"Фильтры",price:{title:"Цена",from:"От",to:"До"},filters:[],reset:"Сбросить фильтры"}}}};m.state.all.forEach(r=>{r.localization.forEach(t=>{b.messages[t.locale].categories.push(t.text)})});const{t:c}=w.useI18n(b);return(r,t)=>(e.openBlock(),e.createElementBlock("div",_,[e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!0},{header:e.withCtx(()=>[e.createElementVNode("p",E,e.toDisplayString(e.unref(c)("categoriesTitle")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.state.all,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.name,value:l.url,class:"w-100 mn-t-small mn-b-small bg-white radius-small pd-small",radio:a.state.filter.categories,"onUpdate:radio":t[0]||(t[0]=s=>a.state.filter.categories=s)},null,8,["label","value","radio"]))),128))]),_:1}),x,e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!1},{header:e.withCtx(()=>[e.createElementVNode("p",B,e.toDisplayString(e.unref(c)("filters.price.title")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.prices,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.label,value:l.value,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:a.state.filter.prices,"onUpdate:radio":t[1]||(t[1]=s=>a.state.filter.prices=s)},null,8,["label","value","radio"]))),128))]),_:1}),q,e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!1},{header:e.withCtx(()=>[F]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.deliveryOptions,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.label,value:l.value,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:a.state.filter.delivery,"onUpdate:radio":t[2]||(t[2]=s=>a.state.filter.delivery=s)},null,8,["label","value","radio"]))),128))]),_:1}),V,e.createElementVNode("button",{onClick:k,class:"bg-main w-100 button"},e.toDisplayString(e.unref(c)("filters.reset")),1)]))}};exports.default=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Spoiler/Spoiler.vue2.cjs"),d=require("../../../../components/Checkbox/Checkbox.vue.cjs"),w=require("vue-i18n"),f=require("vue-router"),m=require("../../store/categories.cjs"),a=require("../../../marketplace/store/marketplace.cjs");;/* empty css */const _={class:"pd-medium bg-light radius-big"},E={class:"cursor-pointer mn-r-auto t-medium p-big"},x=e.createElementVNode("hr",{class:"mn-b-small t-transp"},null,-1),B={class:"cursor-pointer mn-r-auto t-medium p-big"},q=e.createElementVNode("hr",{class:"mn-b-small"},null,-1),F=e.createElementVNode("p",{class:"cursor-pointer mn-r-auto t-medium p-big"},"Delivery",-1),V=e.createElementVNode("hr",{class:"mn-b-semi"},null,-1),C={__name:"FilterProducts",props:{selectedFilters:Object,prices:{type:Array,default:()=>[{label:"Under 300฿",value:"<300"},{label:"300฿ to 600฿",value:"300-600"},{label:"600฿ to 1200฿",value:"600-1200"},{label:"$1200 and above",value:">1200"}]},deliveryOptions:{type:Array,default:()=>[{label:"Pickup",value:{min:0,max:25}},{label:"Courier",value:{min:25,max:50}},{label:"Post",value:{min:50,max:100}}]}},emits:["updateFilters","resetFilters"],setup(p,{emit:g}){const n=f.useRoute(),h=f.useRouter();let v={status:"published"};e.ref({categories:[],prices:[],delivery:[],extra:[]}),e.watch(()=>a.state.filter,(r,t)=>{const l={...n.query};Object.keys(t).forEach(s=>{l[s]&&delete l[s]});const i=Object.fromEntries(Object.entries(r).filter(([s,o])=>Array.isArray(o)&&o.length>0).map(([s,o])=>[s,o.join(",")]));Object.assign(l,i),h.push({query:l})},{deep:!0}),e.onMounted(async()=>{if(await m.actions.fetchCategories(v),n.query){const r=n.query,t={categories:r.categories?r.categories.split(","):[],prices:r.prices?r.prices.split(","):[],delivery:r.delivery?r.delivery.split(","):[]};a.state.filter.innerHTML=t}});const y=g,k=()=>{y("resetFilters")},b={locale:"en",messages:{en:{categoriesTitle:"Category",categories:[],filters:{title:"Filters",price:{title:"Price",from:"From",to:"To"},filters:[],reset:"Reset Filters"}},ru:{categoriesTitle:"Категория",categories:[],filters:{title:"Фильтры",price:{title:"Цена",from:"От",to:"До"},filters:[],reset:"Сбросить фильтры"}}}};m.state.all.forEach(r=>{r.localization.forEach(t=>{b.messages[t.locale].categories.push(t.text)})});const{t:c}=w.useI18n(b);return(r,t)=>(e.openBlock(),e.createElementBlock("div",_,[e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!0},{header:e.withCtx(()=>[e.createElementVNode("p",E,e.toDisplayString(e.unref(c)("categoriesTitle")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.state.all,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.name,value:l.url,class:"w-100 mn-t-small mn-b-small bg-white radius-small pd-small",radio:a.state.filter.categories,"onUpdate:radio":t[0]||(t[0]=s=>a.state.filter.categories=s)},null,8,["label","value","radio"]))),128))]),_:1}),x,e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!1},{header:e.withCtx(()=>[e.createElementVNode("p",B,e.toDisplayString(e.unref(c)("filters.price.title")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.prices,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.label,value:l.value,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:a.state.filter.prices,"onUpdate:radio":t[1]||(t[1]=s=>a.state.filter.prices=s)},null,8,["label","value","radio"]))),128))]),_:1}),q,e.createVNode(u.default,{class:"radius-small o-hidden mn-b-small",status:!1},{header:e.withCtx(()=>[F]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.deliveryOptions,(l,i)=>(e.openBlock(),e.createBlock(d.default,{key:i,label:l.label,value:l.value,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:a.state.filter.delivery,"onUpdate:radio":t[2]||(t[2]=s=>a.state.filter.delivery=s)},null,8,["label","value","radio"]))),128))]),_:1}),V,e.createElementVNode("button",{onClick:k,class:"bg-main w-100 button"},e.toDisplayString(e.unref(c)("filters.reset")),1)]))}};exports.default=C;
@@ -5,7 +5,7 @@ import { useI18n as P } from "vue-i18n";
5
5
  import { useRoute as U, useRouter as V } from "vue-router";
6
6
  import { actions as $, state as k } from "../../store/categories.js";
7
7
  import { state as r } from "../../../marketplace/store/marketplace.js";
8
- import "./FilterProducts.vue2.js";
8
+ /* empty css */
9
9
  const B = { class: "pd-medium bg-light radius-big" }, R = { class: "cursor-pointer mn-r-auto t-medium p-big" }, D = /* @__PURE__ */ o("hr", { class: "mn-b-small t-transp" }, null, -1), L = { class: "cursor-pointer mn-r-auto t-medium p-big" }, M = /* @__PURE__ */ o("hr", { class: "mn-b-small" }, null, -1), N = /* @__PURE__ */ o("p", { class: "cursor-pointer mn-r-auto t-medium p-big" }, "Delivery", -1), H = /* @__PURE__ */ o("hr", { class: "mn-b-semi" }, null, -1), X = {
10
10
  __name: "FilterProducts",
11
11
  props: {
@@ -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={class:"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
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs");;/* empty css */const u=require("vue-router"),d=require("vue-i18n");require("../../store/products.cjs");;/* empty css */const p={class:"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"},w={__name:"HeroRecommendation",setup(x){const o=u.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"},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:"Передать"}}},{t:n,rt:T}=d.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,i)=>(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":i[0]||(i[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:i[1]||(i[1]=t=>e.unref(o).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-dark-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,E)=>e.createElementVNode("button",{key:t,onClick:e.withModifiers(I=>e.unref(o).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-dark-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))])])]))}};exports.default=w;