@ozdao/prometheus-framework 0.2.129 → 0.2.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1139) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -5
  3. package/dist/community.server.js +11 -21
  4. package/dist/community.server.mjs +11 -21
  5. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  6. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  7. package/dist/events.server.js +4 -7
  8. package/dist/events.server.mjs +4 -7
  9. package/dist/files.server.js +1 -2
  10. package/dist/files.server.mjs +1 -2
  11. package/dist/gallery.server.js +1 -1
  12. package/dist/gallery.server.mjs +1 -1
  13. package/dist/main-Ckn0Sslr.js +92 -0
  14. package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
  15. package/dist/main.css +1 -1
  16. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  17. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  18. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  19. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  20. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  21. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  22. package/dist/organizations.server.js +5 -9
  23. package/dist/organizations.server.mjs +5 -9
  24. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  25. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  26. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  27. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  28. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  29. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  30. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  31. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  32. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  33. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  34. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  35. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  36. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  37. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  38. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  39. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  40. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  41. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  42. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  43. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  44. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  45. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  46. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  47. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  48. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  103. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  104. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  105. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  106. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  107. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  108. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  109. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  110. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  111. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  112. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  113. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  114. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  115. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  116. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +89 -1
  117. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
  118. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  119. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
  120. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  121. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
  123. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
  125. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  127. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +3 -3
  129. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  131. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  133. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  135. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
  137. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
  140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  141. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +127 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
  151. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +1 -1
  153. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
  155. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  157. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  159. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  160. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  162. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  163. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
  164. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  166. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -1
  168. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
  170. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  172. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  174. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  176. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  178. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  180. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  182. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  184. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  188. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  190. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/auth/store/auth.js +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  194. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  196. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  198. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  212. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  214. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +7 -7
  218. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  220. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  222. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  224. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  226. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  228. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  229. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  230. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  232. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -3
  234. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  240. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  242. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  254. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  256. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  260. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
  262. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +3 -3
  264. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  266. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
  268. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
  272. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  276. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  278. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
  280. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  282. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  284. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  288. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  292. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  294. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  296. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  309. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +8 -8
  310. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -4
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  318. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  319. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  320. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  322. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  338. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  340. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  342. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  344. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  348. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  350. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  356. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  358. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  359. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  361. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  363. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  364. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -3
  366. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  368. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  376. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  378. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  380. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  382. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  384. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  386. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +2 -2
  388. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  390. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +5 -5
  392. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  394. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  396. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  398. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  400. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
  402. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  404. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  406. package/dist/prometheus-framework.cjs.js +1 -1
  407. package/dist/prometheus-framework.es.js +1 -1
  408. package/dist/reports.server.js +2 -4
  409. package/dist/reports.server.mjs +2 -4
  410. package/dist/style.css +1 -1
  411. package/dist/users.server.js +2 -4
  412. package/dist/users.server.mjs +2 -4
  413. package/dist/wallet.server.js +6 -12
  414. package/dist/wallet.server.mjs +6 -12
  415. package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
  416. package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
  417. package/package.json +1 -2
  418. package/src/main.js +0 -3
  419. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  420. package/dist/_virtual/browser-ponyfill.js +0 -4
  421. package/dist/_virtual/crc32.cjs +0 -1
  422. package/dist/_virtual/crc32.js +0 -4
  423. package/dist/_virtual/index.cjs +0 -1
  424. package/dist/_virtual/index.js +0 -4
  425. package/dist/_virtual/index2.cjs +0 -1
  426. package/dist/_virtual/index2.js +0 -4
  427. package/dist/main-hLtpe4Hr.js +0 -92
  428. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  429. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  430. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  431. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  432. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  433. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  434. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  435. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  436. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  437. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  438. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  439. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  440. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  441. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  442. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  443. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  444. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  445. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  446. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  447. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  448. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  449. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  450. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  451. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  452. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  453. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  454. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  455. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  456. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  457. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  458. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  459. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  460. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  461. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  462. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  463. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  464. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  465. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  466. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  467. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  468. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  469. package/dist/node_modules/abitype/dist/index.js +0 -299
  470. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  471. package/dist/node_modules/crc-32/crc32.js +0 -51
  472. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  473. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  474. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  475. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  476. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  477. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  478. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  479. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  480. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  481. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  482. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  483. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  484. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  485. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  486. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  487. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  488. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  489. package/dist/node_modules/eventemitter3/index.js +0 -117
  490. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  491. package/dist/node_modules/eventemitter3/index2.js +0 -5
  492. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  493. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  494. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  495. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  496. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  497. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  498. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  499. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  500. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  501. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  502. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  503. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  504. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  505. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  506. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  507. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  508. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  509. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  510. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  511. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  512. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  513. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  514. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  515. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  516. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  517. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  518. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  519. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  520. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  521. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  522. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  523. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  524. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  525. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  526. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  527. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  528. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  529. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  530. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  531. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  532. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  533. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  534. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  535. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  536. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  537. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  538. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  539. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  540. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  541. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  542. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  543. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  544. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  545. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  546. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  547. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  548. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  549. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  550. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  551. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  552. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  553. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  554. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  555. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  556. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  557. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  558. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  559. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  560. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  561. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  562. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  563. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  564. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  565. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  566. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  567. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  568. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  569. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  570. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  571. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  572. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  573. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  574. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  575. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  576. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  577. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  578. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  579. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  580. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  581. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  582. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  583. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  584. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  585. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  586. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  587. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  588. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  589. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  590. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  591. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  592. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  593. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  594. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  595. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  596. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  597. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  598. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  599. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  600. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  601. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  602. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  603. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  604. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  605. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  606. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  607. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  608. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  609. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  610. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  611. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  612. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  613. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  614. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  615. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  616. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  617. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  618. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  619. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  620. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  621. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  622. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  623. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  624. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  625. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  626. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  627. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  628. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  629. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  630. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  631. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  632. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  633. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  634. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  635. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  636. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  637. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  638. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  639. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  640. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  641. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  642. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  643. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  644. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  645. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  646. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  647. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  648. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  649. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  650. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  651. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  652. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  653. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  654. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  655. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  656. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  657. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  658. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  659. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  660. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  661. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  662. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  663. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  664. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  665. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  666. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  667. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  668. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  669. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  670. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  671. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  672. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  673. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  674. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  675. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  676. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  677. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  678. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  679. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  680. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  681. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  682. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  683. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  684. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  685. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  686. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  687. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  688. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  689. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  690. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  691. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  692. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  693. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  694. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  695. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  696. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  697. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  698. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  699. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  700. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  701. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  702. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  703. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  704. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  705. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  706. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  707. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  708. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  709. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  710. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  711. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  712. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  713. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  714. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  715. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  716. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  717. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  718. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  719. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  720. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  721. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  722. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  723. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  724. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  725. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  726. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  727. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  728. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  729. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  730. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  731. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  732. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  733. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  734. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  735. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  736. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  737. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  738. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  739. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  740. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  741. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  742. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  743. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  744. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  745. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  746. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  747. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  748. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  749. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  750. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  751. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  752. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  753. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  754. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  755. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  756. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  757. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  758. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  759. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  760. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  761. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  762. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  763. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  764. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  765. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  766. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  767. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  768. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  769. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  770. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  771. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  772. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  773. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  774. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  775. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  776. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  777. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  778. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  779. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  780. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  781. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  782. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  783. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  784. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  785. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  786. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  787. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  788. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  789. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  790. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  791. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  792. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  793. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  794. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  795. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  796. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  797. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  798. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  799. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  800. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  801. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  802. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  803. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  804. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  805. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  806. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  807. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  808. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  809. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  810. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  811. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  812. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  813. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  814. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  815. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  816. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  817. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  818. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  819. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  820. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  821. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  822. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  823. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  824. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  825. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  826. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  827. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  828. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  829. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  830. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  831. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  832. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  833. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  834. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  835. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  836. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  837. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  838. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  839. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  840. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  841. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  842. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  843. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  844. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  845. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  846. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  847. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  848. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  849. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  850. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  851. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  852. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  853. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  854. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  855. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  856. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  857. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  858. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  859. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  860. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  861. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  862. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  863. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  864. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  865. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  866. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  867. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  868. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  869. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  870. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  871. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  872. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  873. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  874. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  875. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  876. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  877. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  878. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  879. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  880. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  881. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  882. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  883. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  884. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  885. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  886. package/dist/node_modules/zod/lib/index.cjs +0 -1
  887. package/dist/node_modules/zod/lib/index.js +0 -2983
  888. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  889. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  890. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  891. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  892. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  893. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  894. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  895. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  896. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  897. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  898. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  899. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  900. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  901. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  902. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  903. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  904. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  905. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  906. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  907. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  908. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  909. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  910. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  911. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  912. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  913. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  914. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  915. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  916. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  917. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  918. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  919. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  920. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  921. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  922. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  923. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  924. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  925. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  926. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  927. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  928. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  929. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  930. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  931. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  932. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  933. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  934. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  935. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  936. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  937. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  938. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  939. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  940. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  941. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  942. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  943. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  944. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  945. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  946. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  947. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  948. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  949. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  950. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  951. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  952. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  953. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  954. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  955. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  956. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  957. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  958. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  959. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  960. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  961. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  962. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  963. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  964. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  965. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  966. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  967. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  968. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  969. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  970. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  971. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  972. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  973. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  974. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  975. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  976. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  977. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
  978. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  979. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  980. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  981. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
  982. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  983. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -27
  984. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  985. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  986. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  987. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -58
  988. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  989. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  990. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  991. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
  992. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  993. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  994. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  995. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  996. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  997. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  998. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  999. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1000. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1001. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1002. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  1003. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
  1004. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1005. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1006. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1007. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1008. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
  1009. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
  1010. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
  1011. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.js +0 -1
  1012. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1013. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -1
  1014. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  1015. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
  1016. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1017. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1018. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1019. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1020. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1021. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1022. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1023. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
  1024. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1025. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1026. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1027. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1028. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1029. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1030. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1031. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1032. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1033. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1034. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1035. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1036. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1037. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1038. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1039. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1040. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1041. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1042. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1043. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1044. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1045. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1046. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1047. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1048. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1049. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1050. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1051. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1052. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
  1053. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
  1054. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1055. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1056. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1057. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1058. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1059. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1060. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1061. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1062. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1063. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1064. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1065. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1066. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1067. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1068. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1069. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1070. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1071. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1072. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1073. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1074. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1075. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1076. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1077. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1078. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1079. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1080. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1081. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1082. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1083. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1084. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1085. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1086. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1087. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1088. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1089. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1090. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1091. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1092. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1093. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1094. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1095. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1096. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1097. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1098. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1099. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1100. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1101. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1102. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1103. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1104. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1105. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1106. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1107. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1108. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1109. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1110. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1111. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1112. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1113. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1114. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1115. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1116. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1117. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1118. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1119. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1120. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1121. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1122. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1123. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1124. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1126. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1127. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1128. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1129. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1130. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1131. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1132. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1133. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1134. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1135. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1136. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1137. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1138. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1139. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
@@ -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("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.vue2.cjs"),g=require("../../../../components/Select/Select.vue2.cjs"),d=require("../../../../components/Field/Field.vue2.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;
@@ -2,11 +2,11 @@ import { computed as h, openBlock as o, createElementBlock as c, Fragment as m,
2
2
  import { useRoute as k, useRouter as v } from "vue-router";
3
3
  import g from "../../../icons/navigation/IconDelete.vue.js";
4
4
  import S from "../../../../components/Button/Button.vue2.js";
5
- import E from "../../../../components/Select/Select.vue.js";
5
+ import E from "../../../../components/Select/Select.vue2.js";
6
6
  import i from "../../../../components/Field/Field.vue2.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.vue2.cjs"),N=require("../../../../components/Feed/Feed.vue.cjs"),C=require("../../../../components/Select/Select.vue2.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;
@@ -2,9 +2,9 @@ import { ref as h, computed as z, onMounted as E, openBlock as l, createElementB
2
2
  import v from "../../../../components/Block/Block.vue.js";
3
3
  import B from "../../../../components/Field/Field.vue2.js";
4
4
  import F from "../../../../components/Feed/Feed.vue.js";
5
- import I from "../../../../components/Select/Select.vue.js";
5
+ import I from "../../../../components/Select/Select.vue2.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.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");;/* 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,9 +2,9 @@ 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";
7
+ /* empty css */
8
8
  import v from "../../../../components/Field/Field.vue2.js";
9
9
  import S from "../../../../components/Checkbox/Checkbox.vue.js";
10
10
  import N from "../../../../components/Button/Button.vue2.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"),s=require("../../store/products.cjs");;/* empty css */;/* empty css */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;
@@ -3,12 +3,12 @@ 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
9
  import { actions as A, state as v } from "../../store/products.js";
10
- import "../sections/HeroRecommendation.vue2.js";
11
- import "./ProductRecommmendation.vue2.js";
10
+ /* empty css */
11
+ /* empty css */
12
12
  import q from "../../../../../../_virtual/_plugin-vue_export-helper.js";
13
13
  const B = {
14
14
  id: "product-recommendation",
@@ -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.vue2.cjs"),i=require("../../../../components/Select/Select.vue2.cjs"),u={__name:"EditProductInfo",props:{product:Object},setup(e){return(a,t)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(i.default,{select:e.product.status,"onUpdate:select":t[0]||(t[0]=l=>e.product.status=l),label:"Status",options:["unpublished","published","archivied"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),d.createVNode(r.default,{field:e.product.name,"onUpdate:field":t[1]||(t[1]=l=>e.product.name=l),label:"Name",placeholder:"Enter product name",class:"w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["field"]),d.createVNode(r.default,{field:e.product.price,"onUpdate:field":t[3]||(t[3]=l=>e.product.price=l),label:"Price",placeholder:"Enter product price",class:"w-100 mn-b-small bg-white radius-small pd-medium",type:"number"},{default:d.withCtx(()=>[d.createVNode(i.default,{select:e.product.price.currency,"onUpdate:select":t[2]||(t[2]=l=>e.product.price.currency=l),placeholder:"฿",options:["฿"],class:"pos-relative bg-light pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),d.createVNode(r.default,{field:e.product.description,"onUpdate:field":t[4]||(t[4]=l=>e.product.description=l),label:"Description",placeholder:"Enter product description",class:"w-100 bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])],64))}};exports.default=u;
@@ -1,8 +1,8 @@
1
1
  import { openBlock as u, createElementBlock as a, Fragment as o, createVNode as d, withCtx as n } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
3
- import "../../../../components/Button/Button.vue.js";
2
+ /* empty css */
3
+ /* empty css */
4
4
  import i from "../../../../components/Field/Field.vue2.js";
5
- import r from "../../../../components/Select/Select.vue.js";
5
+ import r from "../../../../components/Select/Select.vue2.js";
6
6
  const w = {
7
7
  __name: "EditProductInfo",
8
8
  props: {
@@ -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"),d=require("vue-router"),u=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"},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;
@@ -3,7 +3,7 @@ import y from "../../../../components/FieldBig/FieldBig.vue.js";
3
3
  import { useRouter as x } from "vue-router";
4
4
  import { useI18n as v } from "vue-i18n";
5
5
  import "../../store/products.js";
6
- import "./HeroRecommendation.vue2.js";
6
+ /* empty css */
7
7
  const w = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], k = {
8
8
  style: { "max-width": "50rem" },
9
9
  class: "w-100 h-max gap-thin cols-6"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),_=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),g=require("../../../../components/Loader/Loader.vue2.cjs"),h=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const B={id:"popularProducts",class:"bg-light radius-big pd-t-big pd-b-big"},q=["innerHTML"],y={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},E={__name:"PopularProducts",setup(I){b.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=_.useI18n(l),r=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),s=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{r.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),s(),a(),t.value.on("reInit",s),t.value.on("reInit",a),t.value.on("select",a)}),(o,N)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,q),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(n,m,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(g.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)]))}};exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),_=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),g=require("../../../../components/Loader/Loader.vue2.cjs"),h=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");;/* empty css */const B={id:"popularProducts",class:"bg-light radius-big pd-t-big pd-b-big"},q=["innerHTML"],y={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},E={__name:"PopularProducts",setup(I){b.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=_.useI18n(l),r=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),s=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{r.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),s(),a(),t.value.on("reInit",s),t.value.on("reInit",a),t.value.on("select",a)}),(o,N)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,q),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(n,m,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(g.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)]))}};exports.default=E;
@@ -6,7 +6,7 @@ import w from "../../../../../../node_modules/embla-carousel-autoplay/esm/embla-
6
6
  import B from "../../../../components/Loader/Loader.vue2.js";
7
7
  import C from "../blocks/CardProduct.vue.js";
8
8
  import { actions as E } from "../../store/products.js";
9
- import "./PopularProducts.vue2.js";
9
+ /* empty css */
10
10
  const M = {
11
11
  id: "popularProducts",
12
12
  class: "bg-light radius-big pd-t-big pd-b-big"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");;/* empty css */const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
@@ -3,7 +3,7 @@ import z from "../../../../components/Button/Button.vue2.js";
3
3
  import I from "../../../icons/placeholders/PlaceholderImage.vue.js";
4
4
  import C from "../blocks/Images360.vue.js";
5
5
  import E from "../blocks/ImagesThumbnails.vue.js";
6
- import "../elements/THC.vue2.js";
6
+ /* empty css */
7
7
  import P from "../elements/Price.vue.js";
8
8
  import { useI18n as S } from "vue-i18n";
9
9
  import { state as u, actions as T } from "../../../orders/store/shopcart.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("../../../../node_modules/axios/lib/axios.cjs"),a=require("../../globals/store/globals.cjs"),s=u.default.create({baseURL:process.env.API_URL,withCredentials:!0}),r=o.reactive({all:[],current:{order:1,name:"",url:"",status:"draft",subcategories:[],filters:[],localization:[]}}),c={async fetchCategories(t){return await s.get("/categories",{params:t}).then(e=>(r.all=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},updateCategories(t){return s.post("/categories",t).then(e=>(r.all=t,Promise.resolve(t)),e=>(a.setError(e),Promise.reject(e)))},fetchCategory(t){return s.get("/categories/"+t).then(e=>(r.current=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},addCategory(){return s.post("/categories/add",r.current).then(t=>(r.all.push(t.data),Promise.resolve(t.data)),t=>(a.setError(t),Promise.reject(t)))},updateCategory(t){return s.post("/categories/"+t,r.current).then(e=>(r.current=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},resetCategory(){r.current={order:0,name:"",url:"",status:"draft",subcategories:[],filters:[],localization:[]}},deleteCategory(t){return s.delete("/categories/"+t).then(e=>{const n=r.all.findIndex(i=>i.url===t);r.all.splice(n,1)},e=>{a.setError(e)})}};o.watch(r,t=>{});exports.actions=c;exports.state=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("axios"),a=require("../../globals/store/globals.cjs"),s=u.create({baseURL:process.env.API_URL,withCredentials:!0}),r=o.reactive({all:[],current:{order:1,name:"",url:"",status:"draft",subcategories:[],filters:[],localization:[]}}),c={async fetchCategories(t){return await s.get("/categories",{params:t}).then(e=>(r.all=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},updateCategories(t){return s.post("/categories",t).then(e=>(r.all=t,Promise.resolve(t)),e=>(a.setError(e),Promise.reject(e)))},fetchCategory(t){return s.get("/categories/"+t).then(e=>(r.current=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},addCategory(){return s.post("/categories/add",r.current).then(t=>(r.all.push(t.data),Promise.resolve(t.data)),t=>(a.setError(t),Promise.reject(t)))},updateCategory(t){return s.post("/categories/"+t,r.current).then(e=>(r.current=e.data,Promise.resolve(e.data)),e=>(a.setError(e),Promise.reject(e)))},resetCategory(){r.current={order:0,name:"",url:"",status:"draft",subcategories:[],filters:[],localization:[]}},deleteCategory(t){return s.delete("/categories/"+t).then(e=>{const n=r.all.findIndex(i=>i.url===t);r.all.splice(n,1)},e=>{a.setError(e)})}};o.watch(r,t=>{});exports.actions=c;exports.state=r;
@@ -1,5 +1,5 @@
1
1
  import { reactive as i, watch as u } from "vue";
2
- import c from "../../../../node_modules/axios/lib/axios.js";
2
+ import c from "axios";
3
3
  import { setError as a } from "../../globals/store/globals.js";
4
4
  const s = c.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = i({
5
5
  all: [],
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),p=require("../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),o=p.default.create({baseURL:process.env.API_URL,withCredentials:!0}),e=c.reactive({all:[],current:{organization:"",type:"",comment:null,order:null,positions:[]}}),h={async read(r){try{const t=await o.get("/leftovers",{params:r});return e.all=t.data,t.data}catch(t){throw s.setError(t),t}},async fetch(r){try{const t=await o.get("/leftovers/"+r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async create({organization:r,type:t,order:n,positions:l,creator:i,owner:d,comment:u}){try{const a=await o.post("/leftovers",{organization:r,type:t,order:n,positions:l,creator:i,owner:d,comment:u});return e.all.push(a.data),a.data}catch(a){throw s.setError(a),a}},async update(r){try{const t=await o.post("/leftovers/"+r._id,r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async delete(r){try{const t=await o.delete("/leftovers/"+r);return e.all.splice(e.all.findIndex(n=>n._id==r),1),t.data}catch(t){throw s.setError(t),t}}};c.watch(e,r=>{});exports.actions=h;exports.state=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),p=require("axios"),s=require("../../globals/store/globals.cjs"),o=p.create({baseURL:process.env.API_URL,withCredentials:!0}),e=c.reactive({all:[],current:{organization:"",type:"",comment:null,order:null,positions:[]}}),h={async read(r){try{const t=await o.get("/leftovers",{params:r});return e.all=t.data,t.data}catch(t){throw s.setError(t),t}},async fetch(r){try{const t=await o.get("/leftovers/"+r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async create({organization:r,type:t,order:n,positions:l,creator:i,owner:d,comment:u}){try{const a=await o.post("/leftovers",{organization:r,type:t,order:n,positions:l,creator:i,owner:d,comment:u});return e.all.push(a.data),a.data}catch(a){throw s.setError(a),a}},async update(r){try{const t=await o.post("/leftovers/"+r._id,r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async delete(r){try{const t=await o.delete("/leftovers/"+r);return e.all.splice(e.all.findIndex(n=>n._id==r),1),t.data}catch(t){throw s.setError(t),t}}};c.watch(e,r=>{});exports.actions=h;exports.state=e;
@@ -1,5 +1,5 @@
1
1
  import { reactive as p, watch as h } from "vue";
2
- import u from "../../../../node_modules/axios/lib/axios.js";
2
+ import u from "axios";
3
3
  import { setError as o } from "../../globals/store/globals.js";
4
4
  const s = u.create({ baseURL: process.env.API_URL, withCredentials: !0 }), e = p({
5
5
  all: [],
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),i=o.default.create({baseURL:process.env.API_URL,withCredentials:!0}),t=n.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],quantityDiscount:[],ingredients:[],description:""}}),u={async create(e,r){const a={...r,organization:e};return await i.post("/api/products/create",a).then(c=>(l(c.data,"current"),Promise.resolve(c.data)),c=>(s.setError(c),Promise.reject(c)))},async read(e={}){let r={};e._id&&(r._id=e._id),e.category&&(r.category=e.category),e.organization&&(r.organization=e.organization),e.count&&(r.count=e.count),e.categories&&(r.categories=e.categories),e.prices&&(r.prices=e.prices),e.delivery&&(r.delivery=e.delivery),e.status&&(r.status=e.status),e.search&&(r.search=e.search),r.sort="createdAt",r.skip=e.skip,r.limit=e.limit;try{const a=await i.get("/api/products/read",{params:r});return e._id?(t.current={...a.data[0]},Promise.resolve(a.data[0])):Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}},async update(e,r){return await i.post("/api/products/"+e,r).then(a=>Promise.resolve(a.data),a=>(s.setError(a),Promise.reject(a)))},async deleteProduct(e){return await i.delete("/api/products/"+e).then(r=>Promise.resolve(r.data),r=>(s.setError(r),Promise.reject(r)))},async submitMood(e=null){return i.post("/api/product/recommended",{mood:e}).then(r=>(t.current=r.data.product,t.current.recommendation=r.data.recommendationText,Promise.resolve(r.data)),r=>(s.setError(r),Promise.reject(r)))},async fetchProducts(){return await i.get("/api/products/read").then(e=>(t.all=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await i.get("/api/products/popular").then(e=>(t.popular=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await i.get("/api/products").then(e=>{let r=e.data.filter(function(a,c){return a.status!=="unpublished"});return t.all=r,t.filtered=r.slice(),t.filteredPrice=t.filtered,t.filteredPrice.sort(function(a,c){return a[t.sort.current]>c[t.sort.current]?t.sort.ascending?1:-1:a[t.sort.current]<c[t.sort.current]?t.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(s.setError(e),Promise.reject(e)))},async fetchProduct(e){try{const r=await i.get("/api/products/"+e);return t.current=r.data[0],Promise.resolve(r.data[0])}catch(r){return s.setError(r),Promise.reject(r)}},async fetchProductPopular(){return await i.get("/api/products").then(e=>(t.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(s.setError(e),Promise.reject(e)))}},d={resetProduct(e){t.current={recommendation:!1,category:[],status:"unpublished",information:[],images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],quantityDiscount:[],ingredients:[],description:""}}};function l(e,r){t[r]=e}const m={};n.watch(t,(e,r)=>{});exports.actions=u;exports.getters=m;exports.mutations=d;exports.state=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("axios"),s=require("../../globals/store/globals.cjs"),i=o.create({baseURL:process.env.API_URL,withCredentials:!0}),t=n.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],quantityDiscount:[],ingredients:[],description:""}}),u={async create(e,r){const a={...r,organization:e};return await i.post("/api/products/create",a).then(c=>(l(c.data,"current"),Promise.resolve(c.data)),c=>(s.setError(c),Promise.reject(c)))},async read(e={}){let r={};e._id&&(r._id=e._id),e.category&&(r.category=e.category),e.organization&&(r.organization=e.organization),e.count&&(r.count=e.count),e.categories&&(r.categories=e.categories),e.prices&&(r.prices=e.prices),e.delivery&&(r.delivery=e.delivery),e.status&&(r.status=e.status),e.search&&(r.search=e.search),r.sort="createdAt",r.skip=e.skip,r.limit=e.limit;try{const a=await i.get("/api/products/read",{params:r});return e._id?(t.current={...a.data[0]},Promise.resolve(a.data[0])):Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}},async update(e,r){return await i.post("/api/products/"+e,r).then(a=>Promise.resolve(a.data),a=>(s.setError(a),Promise.reject(a)))},async deleteProduct(e){return await i.delete("/api/products/"+e).then(r=>Promise.resolve(r.data),r=>(s.setError(r),Promise.reject(r)))},async submitMood(e=null){return i.post("/api/product/recommended",{mood:e}).then(r=>(t.current=r.data.product,t.current.recommendation=r.data.recommendationText,Promise.resolve(r.data)),r=>(s.setError(r),Promise.reject(r)))},async fetchProducts(){return await i.get("/api/products/read").then(e=>(t.all=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await i.get("/api/products/popular").then(e=>(t.popular=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await i.get("/api/products").then(e=>{let r=e.data.filter(function(a,c){return a.status!=="unpublished"});return t.all=r,t.filtered=r.slice(),t.filteredPrice=t.filtered,t.filteredPrice.sort(function(a,c){return a[t.sort.current]>c[t.sort.current]?t.sort.ascending?1:-1:a[t.sort.current]<c[t.sort.current]?t.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(s.setError(e),Promise.reject(e)))},async fetchProduct(e){try{const r=await i.get("/api/products/"+e);return t.current=r.data[0],Promise.resolve(r.data[0])}catch(r){return s.setError(r),Promise.reject(r)}},async fetchProductPopular(){return await i.get("/api/products").then(e=>(t.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(s.setError(e),Promise.reject(e)))}},d={resetProduct(e){t.current={recommendation:!1,category:[],status:"unpublished",information:[],images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],quantityDiscount:[],ingredients:[],description:""}}};function l(e,r){t[r]=e}const m={};n.watch(t,(e,r)=>{});exports.actions=u;exports.getters=m;exports.mutations=d;exports.state=t;
@@ -1,5 +1,5 @@
1
1
  import { reactive as n, watch as u } from "vue";
2
- import o from "../../../../node_modules/axios/lib/axios.js";
2
+ import o from "axios";
3
3
  import { setError as i } from "../../globals/store/globals.js";
4
4
  const s = o.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = n({
5
5
  all: [],
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue.cjs"),f=require("../../store/reports.cjs"),b=e.createElementVNode("h3",{class:"mn-b-small"}," Report Content ",-1),g=e.createElementVNode("p",{class:"p-medium mn-b-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),v=e.createElementVNode("p",{class:"p-medium mn-b-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),h={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(i){const t=i,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function l(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:o[1]||(o[1]=n=>u())},[e.renderSlot(p.$slots,"default"),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[b,g,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[0]||(o[0]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),v,e.createVNode(d.default,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])]))}};exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue2.cjs"),f=require("../../store/reports.cjs"),b=e.createElementVNode("h3",{class:"mn-b-small"}," Report Content ",-1),g=e.createElementVNode("p",{class:"p-medium mn-b-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),v=e.createElementVNode("p",{class:"p-medium mn-b-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),h={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(i){const t=i,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function l(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:o[1]||(o[1]=n=>u())},[e.renderSlot(p.$slots,"default"),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[b,g,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[0]||(o[0]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),v,e.createVNode(d.default,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])]))}};exports.default=h;