@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,7 +1,7 @@
1
1
  import { reactive as d, ref as f, openBlock as b, createElementBlock as g, renderSlot as h, createVNode as s, withCtx as l, createTextVNode as y, createElementVNode as a } from "vue";
2
2
  import _ from "../../../../components/Popup/Popup.vue.js";
3
3
  import v from "../../../../components/Button/Button.vue2.js";
4
- import w from "../../../../components/Select/Select.vue.js";
4
+ import w from "../../../../components/Select/Select.vue2.js";
5
5
  import { actions as S } from "../../store/reports.js";
6
6
  const k = /* @__PURE__ */ a("h3", { class: "mn-b-small" }, " Report Content ", -1), P = /* @__PURE__ */ a("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), R = /* @__PURE__ */ a("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), O = {
7
7
  __name: "FormReport",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),s=require("../../globals/store/globals.cjs"),l=require("../../../../node_modules/axios/lib/axios.cjs"),a=l.default.create({baseURL:process.env.API_URL}),r=c.reactive({all:[],current:{_id:"",status:"",user:"",type:"",reason:"",target:""},form:{isOpen:!1,status:"",user:"",type:"",reason:"",target:""}}),i={async read(){try{const t=await a.get("/reports");return o.setAll(t.data),t.data}catch(t){throw s.setError(t),t}},async create(t){try{return console.log(t),(await a.post("/reports",t)).data}catch(e){throw s.setError(e),e}},async update(t){try{const e=await a.put("/reports/"+t._id,t);return o.updateReportInAll(e.data),e.data}catch(e){throw s.setError(e),e}},async remove(t){try{const e=await a.delete("/reports/"+t._id);return o.removeReportFromAll(t._id),e.data}catch(e){throw s.setError(e),e}}},o={setAll(t){r.all=t},setCurrent(t){r.current=t},updateReportInAll(t){const e=r.all.findIndex(n=>n._id===t._id);e!==-1&&(r.all[e]=t)},removeReportFromAll(t){const e=r.all.findIndex(n=>n._id===t);e!==-1&&r.all.splice(e,1)},toggleForm(){r.form.isOpen=!r.form.isOpen,r.form={status:"",user:"",type:"",reason:"",target:""}}};c.watch(r,(t,e)=>{});exports.actions=i;exports.mutations=o;exports.state=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),s=require("../../globals/store/globals.cjs"),l=require("axios"),a=l.create({baseURL:process.env.API_URL}),r=c.reactive({all:[],current:{_id:"",status:"",user:"",type:"",reason:"",target:""},form:{isOpen:!1,status:"",user:"",type:"",reason:"",target:""}}),i={async read(){try{const t=await a.get("/reports");return o.setAll(t.data),t.data}catch(t){throw s.setError(t),t}},async create(t){try{return console.log(t),(await a.post("/reports",t)).data}catch(e){throw s.setError(e),e}},async update(t){try{const e=await a.put("/reports/"+t._id,t);return o.updateReportInAll(e.data),e.data}catch(e){throw s.setError(e),e}},async remove(t){try{const e=await a.delete("/reports/"+t._id);return o.removeReportFromAll(t._id),e.data}catch(e){throw s.setError(e),e}}},o={setAll(t){r.all=t},setCurrent(t){r.current=t},updateReportInAll(t){const e=r.all.findIndex(n=>n._id===t._id);e!==-1&&(r.all[e]=t)},removeReportFromAll(t){const e=r.all.findIndex(n=>n._id===t);e!==-1&&r.all.splice(e,1)},toggleForm(){r.form.isOpen=!r.form.isOpen,r.form={status:"",user:"",type:"",reason:"",target:""}}};c.watch(r,(t,e)=>{});exports.actions=i;exports.mutations=o;exports.state=r;
@@ -1,6 +1,6 @@
1
1
  import { reactive as c, watch as l } from "vue";
2
2
  import { setError as a } from "../../globals/store/globals.js";
3
- import i from "../../../../node_modules/axios/lib/axios.js";
3
+ import i from "axios";
4
4
  const o = i.create({ baseURL: process.env.API_URL }), r = c({
5
5
  all: [],
6
6
  current: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.vue2.cjs"),d=require("../../../../components/Map/Map.vue.cjs");require("./CardSpot.vue2.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=t=>(e.pushScopeId("data-v-fba16034"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden pos-relative cols-2-1_3"},u={class:"pd-medium w-100"},m=["innerHTML"],h={class:"d-block p-big mn-b-semi"},g=l(()=>e.createElementVNode("h4",null,"Delivery:",-1)),y=l(()=>e.createElementVNode("h4",null,"Accepted Payment:",-1)),b={__name:"CardSpot",props:{spot:Object,organization:Object},setup(t){const i=t;return(o,n)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(d.default,{apiKey:o.GOOGLE_MAPS_API_KEY,location:{lat:t.spot.location.coordinates[1],lng:t.spot.location.coordinates[0]},locale:o.$i18n.locale,class:""},null,8,["apiKey","location","locale"]),e.createElementVNode("div",u,[e.createVNode(r.default,{onClick:n[0]||(n[0]=a=>o.$router.push({name:"Spot Edit",params:{_id:i.organization._id,spot:t.spot._id}})),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"}),e.createElementVNode("p",{onClick:n[1]||(n[1]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"pd-thin bg-white radius-small mn-b-thin p-small w-max"},e.toDisplayString(t.spot.address),1),e.createElementVNode("h3",{onClick:n[2]||(n[2]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"mn-b-thin w-100",innerHTML:t.spot.profile.name},null,8,m),e.createElementVNode("p",h,e.toDisplayString(t.spot.profile.description),1),g,o.type!=="short"&&t.spot.delivery.length>0?(e.openBlock(),e.createBlock(s.default,{key:0,chips:t.spot.delivery},null,8,["chips"])):e.createCommentVNode("",!0),y,o.type!=="short"&&t.spot.payment.length>0?(e.openBlock(),e.createBlock(s.default,{key:1,chips:t.spot.payment},null,8,["chips"])):e.createCommentVNode("",!0)])]))}},v=c.default(b,[["__scopeId","data-v-fba16034"]]);exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.vue.cjs"),d=require("../../../../components/Map/Map.vue.cjs");;/* empty css */const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=t=>(e.pushScopeId("data-v-fba16034"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden pos-relative cols-2-1_3"},u={class:"pd-medium w-100"},m=["innerHTML"],h={class:"d-block p-big mn-b-semi"},g=l(()=>e.createElementVNode("h4",null,"Delivery:",-1)),y=l(()=>e.createElementVNode("h4",null,"Accepted Payment:",-1)),b={__name:"CardSpot",props:{spot:Object,organization:Object},setup(t){const i=t;return(o,n)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(d.default,{apiKey:o.GOOGLE_MAPS_API_KEY,location:{lat:t.spot.location.coordinates[1],lng:t.spot.location.coordinates[0]},locale:o.$i18n.locale,class:""},null,8,["apiKey","location","locale"]),e.createElementVNode("div",u,[e.createVNode(r.default,{onClick:n[0]||(n[0]=a=>o.$router.push({name:"Spot Edit",params:{_id:i.organization._id,spot:t.spot._id}})),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"}),e.createElementVNode("p",{onClick:n[1]||(n[1]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"pd-thin bg-white radius-small mn-b-thin p-small w-max"},e.toDisplayString(t.spot.address),1),e.createElementVNode("h3",{onClick:n[2]||(n[2]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"mn-b-thin w-100",innerHTML:t.spot.profile.name},null,8,m),e.createElementVNode("p",h,e.toDisplayString(t.spot.profile.description),1),g,o.type!=="short"&&t.spot.delivery.length>0?(e.openBlock(),e.createBlock(s.default,{key:0,chips:t.spot.delivery},null,8,["chips"])):e.createCommentVNode("",!0),y,o.type!=="short"&&t.spot.payment.length>0?(e.openBlock(),e.createBlock(s.default,{key:1,chips:t.spot.payment},null,8,["chips"])):e.createCommentVNode("",!0)])]))}},v=c.default(b,[["__scopeId","data-v-fba16034"]]);exports.default=v;
@@ -1,8 +1,8 @@
1
1
  import { openBlock as n, createElementBlock as u, createVNode as l, createElementVNode as i, toDisplayString as r, createBlock as p, createCommentVNode as d, pushScopeId as h, popScopeId as g } from "vue";
2
2
  import f from "../../../icons/navigation/IconEdit.vue.js";
3
- import c from "../../../../components/Chips/Chips.vue2.js";
3
+ import c from "../../../../components/Chips/Chips.vue.js";
4
4
  import y from "../../../../components/Map/Map.vue.js";
5
- import "./CardSpot.vue2.js";
5
+ /* empty css */
6
6
  import b from "../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const m = (o) => (h("data-v-fba16034"), o = o(), g(), o), $ = { class: "radius-big o-hidden pos-relative cols-2-1_3" }, v = { class: "pd-medium w-100" }, k = ["innerHTML"], S = { class: "d-block p-big mn-b-semi" }, z = /* @__PURE__ */ m(() => /* @__PURE__ */ i("h4", null, "Delivery:", -1)), C = /* @__PURE__ */ m(() => /* @__PURE__ */ i("h4", null, "Accepted Payment:", -1)), w = {
8
8
  __name: "CardSpot",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../node_modules/axios/lib/axios.cjs");require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs");const i=require("vue"),a=require("../../globals/store/globals.cjs"),s=n.default.create({baseURL:process.env.API_URL,withCredentials:!0});s.defaults.withCredentials=!0;const o=i.reactive({spots:[],spot:{status:"unpublished",organization:"",profile:{photo:"",name:"",description:"",categories:[]},position:{address:void 0,location:void 0,hide:!1},address:void 0,location:void 0,worktime:[],delivery:[],payment:[],members:[],subspots:[]},error:null}),c={async readOne(t){try{const e=await s.get(`/api/spots/get/${t}`);o.spot=e.data}catch(e){a.setError(e)}},async read(t){try{const e=await s.get(`/api/spots/${t}`);return o.spots=e.data,e.data}catch(e){a.setError(e)}},async create(t,e){try{const r=await s.post(`/api/spots/${t}/create`,e);o.spot=r.data}catch(r){a.setError(r)}},async update(t,e){try{await s.post(`/api/spots/${t}/update`,e)}catch(r){a.setError(r)}},async delete(t,e){try{await s.delete(`/api/spots/${t}/delete`,{data:{_id:e}})}catch(r){a.setError(r)}}};i.watch(o,(t,e)=>{});exports.actions=c;exports.state=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("axios");require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs");const i=require("vue"),a=require("../../globals/store/globals.cjs"),s=n.create({baseURL:process.env.API_URL,withCredentials:!0});s.defaults.withCredentials=!0;const o=i.reactive({spots:[],spot:{status:"unpublished",organization:"",profile:{photo:"",name:"",description:"",categories:[]},position:{address:void 0,location:void 0,hide:!1},address:void 0,location:void 0,worktime:[],delivery:[],payment:[],members:[],subspots:[]},error:null}),c={async readOne(t){try{const e=await s.get(`/api/spots/get/${t}`);o.spot=e.data}catch(e){a.setError(e)}},async read(t){try{const e=await s.get(`/api/spots/${t}`);return o.spots=e.data,e.data}catch(e){a.setError(e)}},async create(t,e){try{const r=await s.post(`/api/spots/${t}/create`,e);o.spot=r.data}catch(r){a.setError(r)}},async update(t,e){try{await s.post(`/api/spots/${t}/update`,e)}catch(r){a.setError(r)}},async delete(t,e){try{await s.delete(`/api/spots/${t}/delete`,{data:{_id:e}})}catch(r){a.setError(r)}}};i.watch(o,(t,e)=>{});exports.actions=c;exports.state=o;
@@ -1,4 +1,4 @@
1
- import i from "../../../../node_modules/axios/lib/axios.js";
1
+ import i from "axios";
2
2
  import "../../../../../node_modules/js-cookie/dist/js.cookie.js";
3
3
  import { reactive as n, watch as p } from "vue";
4
4
  import { setError as r } from "../../globals/store/globals.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const h=require("../../../../components/Dropdown/Dropdown.vue2.cjs"),g=require("../../../../components/Completion/Completion.vue.cjs"),d=require("../../../../components/Menu/Menu.vue.cjs"),l=require("../../../../components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),N=require("../../../reports/components/sections/FormReport.vue.cjs"),V=require("../../../organizations/components/blocks/Socials.vue.cjs"),B=require("../../../icons/entities/IconEvents.vue.cjs"),f=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),C=require("../../../icons/navigation/IconEdit.vue.cjs"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),_=require("vue-router"),o=require("../../../auth/store/auth.cjs"),t=require("../../store/users.cjs"),v=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const x={key:0,class:"for-transition w-100"},y={key:0,class:"flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light"},U={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),P=["src"],R={class:"mn-b-thin"},$={key:4,class:"mn-b-thin t-main t-semi"},D={class:"mn-b-small p-medium"},I={class:"mn-b-medium flex-center flex-nowrap flex"},F={class:"t-semi mn-b-small"},L={key:6,class:"mn-t-small mn-b-thin"},O=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),j=e.createElementVNode("span",null,"Posts",-1),W=e.createElementVNode("span",null,"Wallet",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),T=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),H={__name:"Profile",setup(J){const a=_.useRoute(),n=_.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:a.params._id,user:o.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{v.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function b(){o.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",x,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",y," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(a).params._id===o.state.user._id&&u.value?(e.openBlock(),e.createBlock(g.default,{key:0,user:o.state.user._id,target:t.state.current,cta:!0,text_cta:"Fill Profile",text:"Profile completed at",class:"mn-b-medium"},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[e.createVNode(N.default,{user:o.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","target"]),o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:o.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1})):e.createCommentVNode("",!0),e.unref(a).params._id===o.state.user._id?(e.openBlock(),e.createBlock(C.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:o.state.user._id}})),class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo&&t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-b-small object-fit-cover i-extra"},null,8,P)):(e.openBlock(),e.createBlock(E.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h3",R,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Anonymous"),1),t.state.current.username?(e.openBlock(),e.createElementBlock("p",$," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1)):e.createCommentVNode("",!0),e.createElementVNode("p",D,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Bio not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",F," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),o.state.user._id&&e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:5,user:o.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",L," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(V.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),e.createVNode(d.default,{class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),O]),_:1}),e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),j]),_:1})]),_:1}),i.APP_NAME==="Weeder"?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Wallet",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),W]),_:1})]),_:1})):e.createCommentVNode("",!0),o.state.user._id===e.unref(a).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>b())},{default:e.withCtx(()=>[T]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=H;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const h=require("../../../../components/Dropdown/Dropdown.vue.cjs"),g=require("../../../../components/Completion/Completion.vue.cjs"),d=require("../../../../components/Menu/Menu.vue2.cjs"),l=require("../../../../components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),N=require("../../../reports/components/sections/FormReport.vue.cjs"),V=require("../../../organizations/components/blocks/Socials.vue.cjs"),B=require("../../../icons/entities/IconEvents.vue.cjs"),f=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),C=require("../../../icons/navigation/IconEdit.vue.cjs"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),_=require("vue-router"),o=require("../../../auth/store/auth.cjs"),t=require("../../store/users.cjs"),v=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const x={key:0,class:"for-transition w-100"},y={key:0,class:"flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light"},U={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),P=["src"],R={class:"mn-b-thin"},$={key:4,class:"mn-b-thin t-main t-semi"},D={class:"mn-b-small p-medium"},I={class:"mn-b-medium flex-center flex-nowrap flex"},F={class:"t-semi mn-b-small"},L={key:6,class:"mn-t-small mn-b-thin"},O=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),j=e.createElementVNode("span",null,"Posts",-1),W=e.createElementVNode("span",null,"Wallet",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),T=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),H={__name:"Profile",setup(J){const a=_.useRoute(),n=_.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:a.params._id,user:o.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{v.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function b(){o.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",x,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",y," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(a).params._id===o.state.user._id&&u.value?(e.openBlock(),e.createBlock(g.default,{key:0,user:o.state.user._id,target:t.state.current,cta:!0,text_cta:"Fill Profile",text:"Profile completed at",class:"mn-b-medium"},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[e.createVNode(N.default,{user:o.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","target"]),o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:o.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1})):e.createCommentVNode("",!0),e.unref(a).params._id===o.state.user._id?(e.openBlock(),e.createBlock(C.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:o.state.user._id}})),class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo&&t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-b-small object-fit-cover i-extra"},null,8,P)):(e.openBlock(),e.createBlock(E.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h3",R,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Anonymous"),1),t.state.current.username?(e.openBlock(),e.createElementBlock("p",$," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1)):e.createCommentVNode("",!0),e.createElementVNode("p",D,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Bio not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",F," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),o.state.user._id&&e.unref(a).params._id&&e.unref(a).params._id!==o.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:5,user:o.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",L," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(V.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),e.createVNode(d.default,{class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),O]),_:1}),e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),j]),_:1})]),_:1}),i.APP_NAME==="Weeder"?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-b-regular bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Wallet",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0}),W]),_:1})]),_:1})):e.createCommentVNode("",!0),o.state.user._id===e.unref(a).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(a).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>b())},{default:e.withCtx(()=>[T]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=H;
@@ -1,10 +1,10 @@
1
1
  import { ref as U, onMounted as C, openBlock as i, createElementBlock as c, unref as s, createBlock as d, createCommentVNode as m, createElementVNode as n, withCtx as u, createVNode as a, toDisplayString as f, Fragment as E, renderList as S, normalizeClass as P } from "vue";
2
- import "../../../../components/Field/Field.vue.js";
3
- import "../../../../components/Loader/Loader.vue.js";
4
- import "../../../../components/Button/Button.vue.js";
5
- import B from "../../../../components/Dropdown/Dropdown.vue2.js";
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ import B from "../../../../components/Dropdown/Dropdown.vue.js";
6
6
  import M from "../../../../components/Completion/Completion.vue.js";
7
- import k from "../../../../components/Menu/Menu.vue.js";
7
+ import k from "../../../../components/Menu/Menu.vue2.js";
8
8
  import _ from "../../../../components/Menu/MenuItem.vue.js";
9
9
  import w from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
10
10
  import R from "../../../reports/components/sections/FormReport.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Button/Button.vue2.cjs"),b=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../sections/ProfileCompletion.vue.cjs"),m=require("vue-router"),n=require("../../../auth/store/auth.cjs"),s=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const v={class:"pd-medium for-transition w-100"},g=e.createElementVNode("h3",{class:"mn-b-small"},"Username",-1),N={class:"mn-b-semi"},V=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),w={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),_=e.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),q=e.createElementVNode("h3",{class:"mn-b-small"},"Account",-1),y={__name:"ProfileEdit",setup(E){e.ref(null);const d=m.useRoute(),r=m.useRouter(),l=e.ref(s.state.current);e.onMounted(async()=>{await s.actions.read({_id:d.params._id})});async function c(){await s.actions.update(s.state.current)}async function f(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(s.state.current.status="removed",await s.actions.update(s.state.current),n.actions.logout())}function p(){r.replace({name:"User Profile",params:{_id:s.state.current._id}})}return(o,a)=>(e.openBlock(),e.createElementBlock("div",v,[e.unref(d).params._id===n.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,user:n.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),g,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-light pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createElementVNode("p",N,"Your username will be used for URL of profile like "+e.toDisplayString(o.API_URL)+"/users/username",1),V,e.createElementVNode("div",w,[e.createVNode(b.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-light pd-medium radius-small",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),k,_,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-b-semi bg-light pd-medium radius-small"},null,8,["field"]),q,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-light pd-medium mn-b-thin radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:!0,validation:o.organizationName},null,8,["field","validation"]),e.createVNode(u.default,{submit:c,callback:p,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(u.default,{submit:f,callback:o.a=()=>{e.unref(r).push({name:"Sign In"})},class:"mn-b-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const i=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Button/Button.vue2.cjs"),b=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../sections/ProfileCompletion.vue.cjs"),m=require("vue-router"),n=require("../../../auth/store/auth.cjs"),s=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const v={class:"pd-medium for-transition w-100"},g=e.createElementVNode("h3",{class:"mn-b-small"},"Username",-1),N={class:"mn-b-semi"},V=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),w={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),_=e.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),q=e.createElementVNode("h3",{class:"mn-b-small"},"Account",-1),y={__name:"ProfileEdit",setup(E){e.ref(null);const d=m.useRoute(),r=m.useRouter(),l=e.ref(s.state.current);e.onMounted(async()=>{await s.actions.read({_id:d.params._id})});async function c(){await s.actions.update(s.state.current)}async function f(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(s.state.current.status="removed",await s.actions.update(s.state.current),n.actions.logout())}function p(){r.replace({name:"User Profile",params:{_id:s.state.current._id}})}return(o,a)=>(e.openBlock(),e.createElementBlock("div",v,[e.unref(d).params._id===n.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,user:n.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),g,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-light pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createElementVNode("p",N,"Your username will be used for URL of profile like "+e.toDisplayString(o.API_URL)+"/users/username",1),V,e.createElementVNode("div",w,[e.createVNode(b.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-light pd-medium radius-small",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),k,_,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-b-semi bg-light pd-medium radius-small"},null,8,["field"]),q,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-light pd-medium mn-b-thin radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:!0,validation:o.organizationName},null,8,["field","validation"]),e.createVNode(u.default,{submit:c,callback:p,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(u.default,{submit:f,callback:o.a=()=>{e.unref(r).push({name:"Sign In"})},class:"mn-b-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=y;
@@ -1,5 +1,5 @@
1
1
  import { ref as u, onMounted as N, openBlock as p, createElementBlock as U, unref as f, createBlock as k, createCommentVNode as y, createVNode as a, createElementVNode as s, toDisplayString as P, withCtx as c, createTextVNode as b } from "vue";
2
- import "../../../../components/Tab/Tab.vue.js";
2
+ /* empty css */
3
3
  import t from "../../../../components/Field/Field.vue2.js";
4
4
  import h from "../../../../components/Button/Button.vue2.js";
5
5
  import S from "../../../../components/UploadImage/UploadImage.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../store/users.cjs"),o=require("../../../../components/Marquee/Marquee.vue.cjs"),r=require("../blocks/CardUser.vue.cjs");require("./FeaturedUsers.vue2.cjs");const i={class:"o-hidden w-100"},c=e.createElementVNode("div",{class:"flex-center flex w-100"},[e.createElementVNode("h2",{class:"t-center h2 w-max-50 mn-b-big"}," Ask the hundreds shaping your entertainment for decades ")],-1),s={class:"flex flex-nowrap"},d={class:"flex flex-nowrap"},u={class:"flex flex-nowrap"},m=e.createElementVNode("p",{class:"w-m-33r mn-r-auto mn-l-auto t-center mn-b-small p-big"}," Together, we're shaping the future of the globals music community. ",-1),h={__name:"FeaturedUsers",setup(p){const n=e.ref([]);return e.onMounted(async()=>{n.value=await a.actions.read({limit:25})}),(f,g)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",i,[c,e.createVNode(o.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(0,6),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(o.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"reverse",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(7,14),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(o.default,{class:"mn-b-big",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(15,22),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),m,e.createVNode(l,{to:{name:"Sign In"},class:"bg-black mn-r-auto mn-l-auto t-medium t-white button"},{default:e.withCtx(()=>[e.createTextVNode(" Join Now ")]),_:1})])}}};exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../store/users.cjs"),o=require("../../../../components/Marquee/Marquee.vue.cjs"),r=require("../blocks/CardUser.vue.cjs");;/* empty css */const i={class:"o-hidden w-100"},c=e.createElementVNode("div",{class:"flex-center flex w-100"},[e.createElementVNode("h2",{class:"t-center h2 w-max-50 mn-b-big"}," Ask the hundreds shaping your entertainment for decades ")],-1),s={class:"flex flex-nowrap"},d={class:"flex flex-nowrap"},u={class:"flex flex-nowrap"},m=e.createElementVNode("p",{class:"w-m-33r mn-r-auto mn-l-auto t-center mn-b-small p-big"}," Together, we're shaping the future of the globals music community. ",-1),h={__name:"FeaturedUsers",setup(p){const n=e.ref([]);return e.onMounted(async()=>{n.value=await a.actions.read({limit:25})}),(f,g)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",i,[c,e.createVNode(o.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(0,6),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(o.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"reverse",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(7,14),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(o.default,{class:"mn-b-big",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.slice(15,22),t=>(e.openBlock(),e.createBlock(r.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),m,e.createVNode(l,{to:{name:"Sign In"},class:"bg-black mn-r-auto mn-l-auto t-medium t-white button"},{default:e.withCtx(()=>[e.createTextVNode(" Join Now ")]),_:1})])}}};exports.default=h;
@@ -2,7 +2,7 @@ import { ref as u, onMounted as p, resolveComponent as f, openBlock as t, create
2
2
  import { actions as _ } from "../../store/users.js";
3
3
  import c from "../../../../components/Marquee/Marquee.vue.js";
4
4
  import h from "../blocks/CardUser.vue.js";
5
- import "./FeaturedUsers.vue2.js";
5
+ /* empty css */
6
6
  const x = { class: "o-hidden w-100" }, w = /* @__PURE__ */ n("div", { class: "flex-center flex w-100" }, [
7
7
  /* @__PURE__ */ n("h2", { class: "t-center h2 w-max-50 mn-b-big" }, " Ask the hundreds shaping your entertainment for decades ")
8
8
  ], -1), v = { class: "flex flex-nowrap" }, b = { class: "flex flex-nowrap" }, k = { class: "flex flex-nowrap" }, C = /* @__PURE__ */ n("p", { class: "w-m-33r mn-r-auto mn-l-auto t-center mn-b-small p-big" }, " Together, we're shaping the future of the globals music community. ", -1), V = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),c=require("../../../../node_modules/axios/lib/axios.cjs"),a=c.default.create({baseURL:process.env.API_URL,withCredentials:!0}),s=n.reactive({all:[],current:{_id:"",username:"",email:"",phone:"",status:"",profile:{name:"",photo:"",description:"",birthday:""},socials:{facebook:"",twitter:"",instagram:"",telegram:""},roles:[]}}),i={async create(r){try{const e=await a.post("/api/users",r);return t.set(e.data,"current"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async read(r={}){try{const e=await a.get("/api/users",{params:r});return r._id?t.set(e.data[0],"current"):t.set(e.data,"all"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async update(r){try{const e=await a.put(`/api/users/${r._id}`,r);return t.set(e.data,"current"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async delete(r){try{await a.delete(`/api/users/${r._id}`);const e=s.all.findIndex(o=>o._id===r._id);e!==-1&&s.all.splice(e,1)}catch(e){console.error(e)}}},t={set(r,e){s[e]=r},clean(){s.current={phone:"",name:"",surname:"",birthday:"",city:"",address:"",roles:[],orders:[]}}};exports.actions=i;exports.mutations=t;exports.state=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),c=require("axios"),a=c.create({baseURL:process.env.API_URL,withCredentials:!0}),s=n.reactive({all:[],current:{_id:"",username:"",email:"",phone:"",status:"",profile:{name:"",photo:"",description:"",birthday:""},socials:{facebook:"",twitter:"",instagram:"",telegram:""},roles:[]}}),i={async create(r){try{const e=await a.post("/api/users",r);return t.set(e.data,"current"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async read(r={}){try{const e=await a.get("/api/users",{params:r});return r._id?t.set(e.data[0],"current"):t.set(e.data,"all"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async update(r){try{const e=await a.put(`/api/users/${r._id}`,r);return t.set(e.data,"current"),Promise.resolve(e.data)}catch(e){return console.error(e),Promise.reject(e)}},async delete(r){try{await a.delete(`/api/users/${r._id}`);const e=s.all.findIndex(o=>o._id===r._id);e!==-1&&s.all.splice(e,1)}catch(e){console.error(e)}}},t={set(r,e){s[e]=r},clean(){s.current={phone:"",name:"",surname:"",birthday:"",city:"",address:"",roles:[],orders:[]}}};exports.actions=i;exports.mutations=t;exports.state=s;
@@ -1,5 +1,5 @@
1
1
  import { reactive as n } from "vue";
2
- import c from "../../../../node_modules/axios/lib/axios.js";
2
+ import c from "axios";
3
3
  const t = c.create({ baseURL: process.env.API_URL, withCredentials: !0 }), s = n({
4
4
  all: [],
5
5
  current: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),o=require("../../../../globals/components/sections/SectionPageTitle.vue.cjs"),u=require("../../../../../components/Feed/Feed.vue.cjs"),i=require("../../store/payments.store.cjs");require("./Payments.vue2.cjs");const c={class:"pd-thin"},d={class:"bg-light pos-relative pd-medium radius-big"},m={__name:"Payments",setup(p){const s=n.useRoute();n.useRouter();const a=e.ref("all");return(_,r)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(o.default,{title:"Payments","onUpdate:tabs_current":r[0]||(r[0]=t=>a.value=t),tabs_current:a.value,tabs:[{name:"All",value:"all"},{name:"Created",value:"created"},{name:"Proccesing",value:"processing"},{name:"Finished",value:"finished"},{name:"Canceled",value:"canceled"},{name:"Refunded",value:"refunded"}],actions:[{to:{name:"PaymentsCreate"},label:"Create Payment"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current"]),e.createVNode(u.default,{search:!0,states:{empty:{title:"No Payments Found",description:"Currently, there are no payments."}},store:{read:t=>i.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...a.value!=="all"&&{type:a.value}},class:"gap-thin cols-3"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>(e.openBlock(),e.createElementBlock("div",d,e.toDisplayString(l),1))),256))]),_:1},8,["store","options"])]))}};exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),o=require("../../../../globals/components/sections/SectionPageTitle.vue.cjs"),u=require("../../../../../components/Feed/Feed.vue.cjs"),i=require("../../store/payments.store.cjs");;/* empty css */const c={class:"pd-thin"},d={class:"bg-light pos-relative pd-medium radius-big"},m={__name:"Payments",setup(p){const s=n.useRoute();n.useRouter();const a=e.ref("all");return(_,r)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(o.default,{title:"Payments","onUpdate:tabs_current":r[0]||(r[0]=t=>a.value=t),tabs_current:a.value,tabs:[{name:"All",value:"all"},{name:"Created",value:"created"},{name:"Proccesing",value:"processing"},{name:"Finished",value:"finished"},{name:"Canceled",value:"canceled"},{name:"Refunded",value:"refunded"}],actions:[{to:{name:"PaymentsCreate"},label:"Create Payment"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current"]),e.createVNode(u.default,{search:!0,states:{empty:{title:"No Payments Found",description:"Currently, there are no payments."}},store:{read:t=>i.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...a.value!=="all"&&{type:a.value}},class:"gap-thin cols-3"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>(e.openBlock(),e.createElementBlock("div",d,e.toDisplayString(l),1))),256))]),_:1},8,["store","options"])]))}};exports.default=m;
@@ -3,7 +3,7 @@ import { useRoute as _, useRouter as f } from "vue-router";
3
3
  import g from "../../../../globals/components/sections/SectionPageTitle.vue.js";
4
4
  import v from "../../../../../components/Feed/Feed.vue.js";
5
5
  import { actions as b } from "../../store/payments.store.js";
6
- import "./Payments.vue2.js";
6
+ /* empty css */
7
7
  const h = { class: "pd-thin" }, y = { class: "bg-light pos-relative pd-medium radius-big" }, N = {
8
8
  __name: "Payments",
9
9
  setup(C) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.store.cjs"),s=require("../../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs");require("../../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../../node_modules/web3/lib/esm/web3_eip6963.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");require("vue-router");require("vue-i18n");require("../../../../../components/Popup/Popup.vue2.cjs");require("../../../../../components/Loader/Loader.vue.cjs");require("../../../../../components/Button/Button.vue.cjs");require("../../../../../components/Select/Select.vue2.cjs");require("../../../../reports/store/reports.cjs");require("../../../../../components/Tooltip/Tooltip.vue2.cjs");require("../../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../auth/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");require("../../../../community/store/reactions.cjs");require("../../../../../components/Chips/Chips.vue.cjs");const a={class:"pd-thin"},l={class:"bg-black t-white mn-b-thin radius-big pd-big"},i=e.createElementVNode("h1",{class:"mn-b-medium"},"Your Wallet",-1),c=e.createElementVNode("p",{class:"mn-b-semi t-transp p-big"}," Earn Weeder Tokens by purchasing our weed or contributing to the community. ",-1),u={key:0,class:"gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"},d={class:"flex-v-center flex-nowrap flex mn-r-auto"},m=e.createElementVNode("button",{class:"w-max bg-main t-medium button"},"Get More",-1),p={key:0,class:"mn-b-semi cols-2 gap-thin"},b=e.createElementVNode("div",{class:"w-100 pd-medium radius-medium t-center bg-light"},[e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token"),e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace")],-1),q={class:"w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light"},h={key:0,class:"mn-b-small"},_={key:1,class:"w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"},k=e.createElementVNode("p",{class:"t-transp t-medium mn-b-thin"},"You own:",-1),f={class:"h1 mn-b-small"},g=e.createElementVNode("p",{class:"t-white p-big t-medium mn-b-semi"},"of all shares",-1),E={class:"flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"},w={key:0,class:"t-transp t-medium"},N=e.createElementVNode("span",{class:"uppercase p-small t-medium t-transp"},"Connected Metamask",-1),V=e.createElementVNode("br",null,null,-1),x={key:2,class:"mn-b-small"},B={class:"cols-3 gap-thin"},y={class:"radius-medium bg-light"},v={class:"flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium"},C={class:"t-semi mn-r-auto"},W={class:"pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small"},D={class:"pd-medium"},S={class:"t-regular mn-b-thin"},M={__name:"Wallet",setup(R){return window.ethereum.on("accountsChanged",o=>{o.length<1&&(t.state.account=null)}),t.state.web3=new s.Web3(window.ethereum||"http://localhost:8080"),e.onMounted(()=>{t.actions.listRewards(),t.actions.tryReconnectWallet()}),(o,n)=>(e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("section",l,[i,c,e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",d,[e.createElementVNode("h2",null,e.toDisplayString(e.unref(t.state).tokenBalance)+" WDT",1)]),m,e.createElementVNode("button",{class:"w-max bg-white t-black t-medium button",onClick:n[0]||(n[0]=(...r)=>e.unref(t.actions).collectRewards&&e.unref(t.actions).collectRewards(...r))},"Withdraw")])):e.createCommentVNode("",!0)]),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",p,[b,e.createElementVNode("div",q,[e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",h," Connect Metamask to withdrawal your earnings. ")),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[1]||(n[1]=(...r)=>e.unref(t.actions).connectWallet&&e.unref(t.actions).connectWallet(...r)),class:"br-solid br-2px br-black-transp-10 t-black button"}," Connect Wallet "))])])),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",_,[k,e.createElementVNode("p",f,e.toDisplayString(e.unref(t.state).share)+"%",1),g,e.createElementVNode("div",E,[e.unref(t.state).account?(e.openBlock(),e.createElementBlock("p",w,[N,V,e.createElementVNode("span",null,e.toDisplayString(e.unref(t.state).account),1)])):e.createCommentVNode("",!0),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=(...r)=>e.unref(t.actions).disconnectWallet&&e.unref(t.actions).disconnectWallet(...r)),class:"mn-l-auto bg-red button"}," Disconnect Wallet ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.unref(t.state).rewards.length>0?(e.openBlock(),e.createElementBlock("h2",x,"Latest Rewards ")):e.createCommentVNode("",!0),e.createElementVNode("section",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,r=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",v,[e.createElementVNode("p",C,e.toDisplayString(r.amount)+" WDT",1),e.createElementVNode("span",W,e.toDisplayString(r.type==="blogpost"?"Community Reward":r.type),1)]),e.createElementVNode("div",D,[e.createElementVNode("h4",S,e.toDisplayString(r.name),1)])]))),256))])]))}};exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.store.cjs"),a=require("web3");require("vue-router");require("vue-i18n");;/* empty css */;/* empty css */;/* empty css */;/* empty css */require("../../../../reports/store/reports.cjs");;/* empty css */;/* empty css */require("../../../../auth/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");require("../../../../community/store/reactions.cjs");;/* empty css */const l={class:"pd-thin"},r={class:"bg-black t-white mn-b-thin radius-big pd-big"},c=e.createElementVNode("h1",{class:"mn-b-medium"},"Your Wallet",-1),i=e.createElementVNode("p",{class:"mn-b-semi t-transp p-big"}," Earn Weeder Tokens by purchasing our weed or contributing to the community. ",-1),d={key:0,class:"gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"},m={class:"flex-v-center flex-nowrap flex mn-r-auto"},u=e.createElementVNode("button",{class:"w-max bg-main t-medium button"},"Get More",-1),p={key:0,class:"mn-b-semi cols-2 gap-thin"},b=e.createElementVNode("div",{class:"w-100 pd-medium radius-medium t-center bg-light"},[e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token"),e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace")],-1),h={class:"w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light"},_={key:0,class:"mn-b-small"},k={key:1,class:"w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"},f=e.createElementVNode("p",{class:"t-transp t-medium mn-b-thin"},"You own:",-1),g={class:"h1 mn-b-small"},E=e.createElementVNode("p",{class:"t-white p-big t-medium mn-b-semi"},"of all shares",-1),w={class:"flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"},N={key:0,class:"t-transp t-medium"},V=e.createElementVNode("span",{class:"uppercase p-small t-medium t-transp"},"Connected Metamask",-1),x=e.createElementVNode("br",null,null,-1),B={key:2,class:"mn-b-small"},y={class:"cols-3 gap-thin"},q={class:"radius-medium bg-light"},v={class:"flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium"},C={class:"t-semi mn-r-auto"},W={class:"pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small"},D={class:"pd-medium"},S={class:"t-regular mn-b-thin"},M={__name:"Wallet",setup(R){return window.ethereum.on("accountsChanged",s=>{s.length<1&&(t.state.account=null)}),t.state.web3=new a(window.ethereum||"http://localhost:8080"),e.onMounted(()=>{t.actions.listRewards(),t.actions.tryReconnectWallet()}),(s,o)=>(e.openBlock(),e.createElementBlock("section",l,[e.createElementVNode("section",r,[c,i,e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",m,[e.createElementVNode("h2",null,e.toDisplayString(e.unref(t.state).tokenBalance)+" WDT",1)]),u,e.createElementVNode("button",{class:"w-max bg-white t-black t-medium button",onClick:o[0]||(o[0]=(...n)=>e.unref(t.actions).collectRewards&&e.unref(t.actions).collectRewards(...n))},"Withdraw")])):e.createCommentVNode("",!0)]),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",p,[b,e.createElementVNode("div",h,[e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",_," Connect Metamask to withdrawal your earnings. ")),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o[1]||(o[1]=(...n)=>e.unref(t.actions).connectWallet&&e.unref(t.actions).connectWallet(...n)),class:"br-solid br-2px br-black-transp-10 t-black button"}," Connect Wallet "))])])),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",k,[f,e.createElementVNode("p",g,e.toDisplayString(e.unref(t.state).share)+"%",1),E,e.createElementVNode("div",w,[e.unref(t.state).account?(e.openBlock(),e.createElementBlock("p",N,[V,x,e.createElementVNode("span",null,e.toDisplayString(e.unref(t.state).account),1)])):e.createCommentVNode("",!0),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o[2]||(o[2]=(...n)=>e.unref(t.actions).disconnectWallet&&e.unref(t.actions).disconnectWallet(...n)),class:"mn-l-auto bg-red button"}," Disconnect Wallet ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.unref(t.state).rewards.length>0?(e.openBlock(),e.createElementBlock("h2",B,"Latest Rewards ")):e.createCommentVNode("",!0),e.createElementVNode("section",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,n=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("div",v,[e.createElementVNode("p",C,e.toDisplayString(n.amount)+" WDT",1),e.createElementVNode("span",W,e.toDisplayString(n.type==="blogpost"?"Community Reward":n.type),1)]),e.createElementVNode("div",D,[e.createElementVNode("h4",S,e.toDisplayString(n.name),1)])]))),256))])]))}};exports.default=M;
@@ -1,65 +1,19 @@
1
- import { onMounted as p, openBlock as s, createElementBlock as i, createElementVNode as t, unref as o, toDisplayString as l, createCommentVNode as r, Fragment as d, renderList as u } from "vue";
2
- import { state as e, actions as m } from "../../store/wallet.store.js";
3
- import { Web3 as b } from "../../../../../../../node_modules/web3/lib/esm/web3.js";
4
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_config.js";
5
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.js";
6
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.js";
7
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.js";
8
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_context.js";
9
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.js";
10
- import "../../../../../../../node_modules/web3-types/lib/esm/data_format_types.js";
11
- import "../../../../../../../node_modules/web3-types/lib/esm/eth_types.js";
12
- import "../../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.js";
13
- import "../../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.js";
14
- import "../../../../../../../node_modules/web3-eth-iban/lib/esm/iban.js";
15
- import "../../../../../../../node_modules/web3-validator/lib/esm/formats.js";
16
- import "../../../../../../../node_modules/web3-validator/lib/esm/default_validator.js";
17
- import "../../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.js";
18
- import "../../../../../../../node_modules/setimmediate/setImmediate.js";
19
- import "../../../../../../../node_modules/web3-eth/lib/esm/web3_eth.js";
20
- import "../../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.js";
21
- import "../../../../../../../node_modules/web3-eth/lib/esm/schemas.js";
22
- import "../../../../../../../node_modules/web3-eth/lib/esm/constants.js";
23
- import "../../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.js";
24
- import "../../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
25
- import "../../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.js";
26
- import "../../../../../../../node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
27
- import "../../../../../../../node_modules/web3-eth/lib/esm/utils/try_send_transaction.js";
28
- import "../../../../../../../node_modules/web3-eth/lib/esm/utils/send_tx_helper.js";
29
- import "../../../../../../../node_modules/web3-eth-contract/lib/esm/contract.js";
30
- import "../../../../../../../node_modules/web3-eth-personal/lib/esm/personal.js";
31
- import "../../../../../../../node_modules/web3-net/lib/esm/net.js";
32
- import "../../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.js";
33
- import "../../../../../../../node_modules/web3-providers-http/lib/esm/index.js";
34
- import "../../../../../../../node_modules/isomorphic-ws/browser.js";
35
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.js";
36
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/account.js";
37
- import "../../../../../../../node_modules/crc-32/crc32.js";
38
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.js";
39
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.js";
40
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.js";
41
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js";
42
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
43
- import "../../../../../../../node_modules/@ethereumjs/rlp/dist/index.js";
44
- import "../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.js";
45
- import "../../../../../../../node_modules/web3-eth-ens/lib/esm/ens.js";
46
- import "../../../../../../../node_modules/web3/lib/esm/web3_eip6963.js";
47
- import "../../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js";
48
- import "../../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js";
49
- import "../../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js";
1
+ import { onMounted as d, openBlock as n, createElementBlock as o, createElementVNode as t, unref as e, toDisplayString as c, createCommentVNode as l, Fragment as u, renderList as p } from "vue";
2
+ import { state as s, actions as i } from "../../store/wallet.store.js";
3
+ import b from "web3";
50
4
  import "vue-router";
51
5
  import "vue-i18n";
52
- import "../../../../../components/Popup/Popup.vue2.js";
53
- import "../../../../../components/Loader/Loader.vue.js";
54
- import "../../../../../components/Button/Button.vue.js";
55
- import "../../../../../components/Select/Select.vue2.js";
6
+ /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
56
10
  import "../../../../reports/store/reports.js";
57
- import "../../../../../components/Tooltip/Tooltip.vue2.js";
58
- import "../../../../../components/Dropdown/Dropdown.vue.js";
11
+ /* empty css */
12
+ /* empty css */
59
13
  import "../../../../auth/store/auth.js";
60
14
  import "../../../../organizations/store/memberships.js";
61
15
  import "../../../../community/store/reactions.js";
62
- import "../../../../../components/Chips/Chips.vue.js";
16
+ /* empty css */
63
17
  const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-big pd-big" }, g = /* @__PURE__ */ t("h1", { class: "mn-b-medium" }, "Your Wallet", -1), w = /* @__PURE__ */ t("p", { class: "mn-b-semi t-transp p-big" }, " Earn Weeder Tokens by purchasing our weed or contributing to the community. ", -1), k = {
64
18
  key: 0,
65
19
  class: "gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"
@@ -81,65 +35,65 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
81
35
  }, L = /* @__PURE__ */ t("span", { class: "uppercase p-small t-medium t-transp" }, "Connected Metamask", -1), N = /* @__PURE__ */ t("br", null, null, -1), V = {
82
36
  key: 2,
83
37
  class: "mn-b-small"
84
- }, Y = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-light" }, G = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" }, S = { class: "t-semi mn-r-auto" }, j = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" }, q = { class: "pd-medium" }, z = { class: "t-regular mn-b-thin" }, Xt = {
38
+ }, Y = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-light" }, G = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" }, S = { class: "t-semi mn-r-auto" }, j = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" }, q = { class: "pd-medium" }, z = { class: "t-regular mn-b-thin" }, at = {
85
39
  __name: "Wallet",
86
40
  setup(A) {
87
- return window.ethereum.on("accountsChanged", (c) => {
88
- c.length < 1 && (e.account = null);
89
- }), e.web3 = new b(window.ethereum || "http://localhost:8080"), p(() => {
90
- m.listRewards(), m.tryReconnectWallet();
91
- }), (c, a) => (s(), i("section", h, [
41
+ return window.ethereum.on("accountsChanged", (m) => {
42
+ m.length < 1 && (s.account = null);
43
+ }), s.web3 = new b(window.ethereum || "http://localhost:8080"), d(() => {
44
+ i.listRewards(), i.tryReconnectWallet();
45
+ }), (m, r) => (n(), o("section", h, [
92
46
  t("section", _, [
93
47
  g,
94
48
  w,
95
- o(e).account ? (s(), i("div", k, [
49
+ e(s).account ? (n(), o("div", k, [
96
50
  t("div", x, [
97
- t("h2", null, l(o(e).tokenBalance) + " WDT", 1)
51
+ t("h2", null, c(e(s).tokenBalance) + " WDT", 1)
98
52
  ]),
99
53
  f,
100
54
  t("button", {
101
55
  class: "w-max bg-white t-black t-medium button",
102
- onClick: a[0] || (a[0] = (...n) => o(m).collectRewards && o(m).collectRewards(...n))
56
+ onClick: r[0] || (r[0] = (...a) => e(i).collectRewards && e(i).collectRewards(...a))
103
57
  }, "Withdraw")
104
- ])) : r("", !0)
58
+ ])) : l("", !0)
105
59
  ]),
106
- o(e).account ? r("", !0) : (s(), i("div", y, [
60
+ e(s).account ? l("", !0) : (n(), o("div", y, [
107
61
  W,
108
62
  t("div", v, [
109
- o(e).account ? r("", !0) : (s(), i("h3", C, " Connect Metamask to withdrawal your earnings. ")),
110
- o(e).account ? r("", !0) : (s(), i("button", {
63
+ e(s).account ? l("", !0) : (n(), o("h3", C, " Connect Metamask to withdrawal your earnings. ")),
64
+ e(s).account ? l("", !0) : (n(), o("button", {
111
65
  key: 1,
112
- onClick: a[1] || (a[1] = (...n) => o(m).connectWallet && o(m).connectWallet(...n)),
66
+ onClick: r[1] || (r[1] = (...a) => e(i).connectWallet && e(i).connectWallet(...a)),
113
67
  class: "br-solid br-2px br-black-transp-10 t-black button"
114
68
  }, " Connect Wallet "))
115
69
  ])
116
70
  ])),
117
- o(e).account ? (s(), i("div", R, [
71
+ e(s).account ? (n(), o("div", R, [
118
72
  M,
119
- t("p", D, l(o(e).share) + "%", 1),
73
+ t("p", D, c(e(s).share) + "%", 1),
120
74
  E,
121
75
  t("div", T, [
122
- o(e).account ? (s(), i("p", B, [
76
+ e(s).account ? (n(), o("p", B, [
123
77
  L,
124
78
  N,
125
- t("span", null, l(o(e).account), 1)
126
- ])) : r("", !0),
127
- o(e).account ? (s(), i("button", {
79
+ t("span", null, c(e(s).account), 1)
80
+ ])) : l("", !0),
81
+ e(s).account ? (n(), o("button", {
128
82
  key: 1,
129
- onClick: a[2] || (a[2] = (...n) => o(m).disconnectWallet && o(m).disconnectWallet(...n)),
83
+ onClick: r[2] || (r[2] = (...a) => e(i).disconnectWallet && e(i).disconnectWallet(...a)),
130
84
  class: "mn-l-auto bg-red button"
131
- }, " Disconnect Wallet ")) : r("", !0)
85
+ }, " Disconnect Wallet ")) : l("", !0)
132
86
  ])
133
- ])) : r("", !0),
134
- o(e).rewards.length > 0 ? (s(), i("h2", V, "Latest Rewards ")) : r("", !0),
87
+ ])) : l("", !0),
88
+ e(s).rewards.length > 0 ? (n(), o("h2", V, "Latest Rewards ")) : l("", !0),
135
89
  t("section", Y, [
136
- (s(!0), i(d, null, u(o(e).rewards, (n) => (s(), i("div", F, [
90
+ (n(!0), o(u, null, p(e(s).rewards, (a) => (n(), o("div", F, [
137
91
  t("div", G, [
138
- t("p", S, l(n.amount) + " WDT", 1),
139
- t("span", j, l(n.type === "blogpost" ? "Community Reward" : n.type), 1)
92
+ t("p", S, c(a.amount) + " WDT", 1),
93
+ t("span", j, c(a.type === "blogpost" ? "Community Reward" : a.type), 1)
140
94
  ]),
141
95
  t("div", q, [
142
- t("h4", z, l(n.name), 1)
96
+ t("h4", z, c(a.name), 1)
143
97
  ])
144
98
  ]))), 256))
145
99
  ])
@@ -147,5 +101,5 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
147
101
  }
148
102
  };
149
103
  export {
150
- Xt as default
104
+ at as default
151
105
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("../../../../../node_modules/axios/lib/axios.cjs"),r=require("../../../globals/store/globals.cjs"),s=n.default.create({baseURL:process.env.API_URL,withCredentials:!0}),a=o.reactive({current:{Status:""},data:{}}),c={async read(){try{const e=await s.get("/api/payments");return a.data=e.data,e.data}catch(e){throw r.setError(e),e}},async create(e){try{const t=await s.post("/api/payments",e);return a.data[t.data._id]=t.data,t.data}catch(t){throw r.setError(t),t}},async update(e){try{const t=await s.post("/api/payments",e);return a.current=t.data,t.data}catch(t){throw r.setError(t),t}},async delete(e){try{const t=await s.delete("/api/payments");return delete a.data[e],t.data}catch(t){throw r.setError(t),t}}};o.watch(a,e=>{});exports.actions=c;exports.state=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("axios"),r=require("../../../globals/store/globals.cjs"),s=n.create({baseURL:process.env.API_URL,withCredentials:!0}),a=o.reactive({current:{Status:""},data:{}}),c={async read(){try{const e=await s.get("/api/payments");return a.data=e.data,e.data}catch(e){throw r.setError(e),e}},async create(e){try{const t=await s.post("/api/payments",e);return a.data[t.data._id]=t.data,t.data}catch(t){throw r.setError(t),t}},async update(e){try{const t=await s.post("/api/payments",e);return a.current=t.data,t.data}catch(t){throw r.setError(t),t}},async delete(e){try{const t=await s.delete("/api/payments");return delete a.data[e],t.data}catch(t){throw r.setError(t),t}}};o.watch(a,e=>{});exports.actions=c;exports.state=a;
@@ -1,5 +1,5 @@
1
1
  import { reactive as o, watch as n } from "vue";
2
- import c from "../../../../../node_modules/axios/lib/axios.js";
2
+ import c from "axios";
3
3
  import { setError as e } from "../../../globals/store/globals.js";
4
4
  const s = c.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = o({
5
5
  current: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../../node_modules/axios/lib/axios.cjs"),i=require("vue"),n=require("../../../../../node_modules/bignumber.js/bignumber.cjs"),o="/api/crypto",u=2e7,r=l.default.create({baseURL:process.env.API_URL,withCredentials:!0}),t=i.reactive({rewards:[],tokenBalance:"0",share:"0",account:null,web3:null}),c={listRewards:()=>r.get(`${o}/rewards`).then(e=>{t.rewards=e.data,t.tokenBalance=e.data.reduce((a,s)=>a.plus(s.amount),new n.BigNumber("0")).toString(),t.share=new n.BigNumber(t.tokenBalance).div(u).multipliedBy(100).toFormat(6)}).catch(e=>console.error(e)),collectRewards:()=>r.post(`${o}/collect`,{recipient:t.account}).then(()=>c.listRewards()).catch(e=>console.error(e)),disconnectWallet:()=>window.ethereum.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}).then(()=>{t.account=null}).catch(e=>console.error(e)),connectWallet:()=>t.web3.eth.requestAccounts().then(e=>{t.account=e[0]}).catch(e=>console.error(e)),tryReconnectWallet:()=>t.web3.eth.getAccounts().then(e=>{if(e.length>0)return c.connectWallet()}).catch(e=>console.error(e))};exports.actions=c;exports.state=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("axios"),i=require("vue"),n=require("../../../../../node_modules/bignumber.js/bignumber.cjs"),o="/api/crypto",u=2e7,r=l.create({baseURL:process.env.API_URL,withCredentials:!0}),t=i.reactive({rewards:[],tokenBalance:"0",share:"0",account:null,web3:null}),c={listRewards:()=>r.get(`${o}/rewards`).then(e=>{t.rewards=e.data,t.tokenBalance=e.data.reduce((a,s)=>a.plus(s.amount),new n.BigNumber("0")).toString(),t.share=new n.BigNumber(t.tokenBalance).div(u).multipliedBy(100).toFormat(6)}).catch(e=>console.error(e)),collectRewards:()=>r.post(`${o}/collect`,{recipient:t.account}).then(()=>c.listRewards()).catch(e=>console.error(e)),disconnectWallet:()=>window.ethereum.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}).then(()=>{t.account=null}).catch(e=>console.error(e)),connectWallet:()=>t.web3.eth.requestAccounts().then(e=>{t.account=e[0]}).catch(e=>console.error(e)),tryReconnectWallet:()=>t.web3.eth.getAccounts().then(e=>{if(e.length>0)return c.connectWallet()}).catch(e=>console.error(e))};exports.actions=c;exports.state=t;
@@ -1,4 +1,4 @@
1
- import l from "../../../../../node_modules/axios/lib/axios.js";
1
+ import l from "axios";
2
2
  import { reactive as i } from "vue";
3
3
  import { BigNumber as o } from "../../../../../node_modules/bignumber.js/bignumber.js";
4
4
  const c = "/api/crypto", u = 2e7, r = l.create({ baseURL: process.env.API_URL, withCredentials: !0 }), t = i({
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./main-hLtpe4Hr.js");exports.Address=e.Address;exports.Breadcrumbs=e._sfc_main$10;exports.Button=e._sfc_main;exports.Checkbox=e._sfc_main$1;exports.Chips=e.Chips;exports.Countdown=e._sfc_main$11;exports.DatePicker=e._sfc_main$12;exports.Dropdown=e.Dropdown;exports.EmptyState=e._sfc_main$13;exports.Error=e._sfc_main$2;exports.Feed=e._sfc_main$14;exports.Field=e.Field;exports.FieldBig=e._sfc_main$15;exports.FieldPhone=e.FieldPhone;exports.FieldTags=e.FieldTags;exports.Loader=e.Loader;exports.LocationMarker=e.LocationMarker;exports.Map=e.Map;exports.Marquee=e._sfc_main$19;exports.Popup=e._sfc_main$3;exports.Radio=e._sfc_main$4;exports.Select=e.Select;exports.SelectMulti=e.SelectMulti;exports.Shader=e.Shader;exports.Sidebar=e._sfc_main$16;exports.Slider=e._sfc_main$17;exports.Spoiler=e._sfc_main$5;exports.Status=e._sfc_main$18;exports.Tab=e._sfc_main$6;exports.Text=e._sfc_main$7;exports.Tooltip=e.Tooltip;exports.Upload=e.Upload;exports.UploadImage=e._sfc_main$8;exports.UploadImageMultiple=e._sfc_main$9;exports.default=e.main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./main-Ckn0Sslr.js");exports.Address=e.Address;exports.Breadcrumbs=e._sfc_main$10;exports.Button=e._sfc_main;exports.Checkbox=e._sfc_main$1;exports.Chips=e.Chips;exports.Countdown=e._sfc_main$11;exports.DatePicker=e._sfc_main$12;exports.Dropdown=e.Dropdown;exports.EmptyState=e._sfc_main$13;exports.Error=e._sfc_main$2;exports.Feed=e._sfc_main$14;exports.Field=e.Field;exports.FieldBig=e._sfc_main$15;exports.FieldPhone=e.FieldPhone;exports.FieldTags=e.FieldTags;exports.Loader=e.Loader;exports.LocationMarker=e.LocationMarker;exports.Map=e.Map;exports.Marquee=e._sfc_main$19;exports.Popup=e._sfc_main$3;exports.Radio=e._sfc_main$4;exports.Select=e.Select;exports.SelectMulti=e.SelectMulti;exports.Shader=e.Shader;exports.Sidebar=e._sfc_main$16;exports.Slider=e._sfc_main$17;exports.Spoiler=e._sfc_main$5;exports.Status=e._sfc_main$18;exports.Tab=e._sfc_main$6;exports.Text=e._sfc_main$7;exports.Tooltip=e.Tooltip;exports.Upload=e.Upload;exports.UploadImage=e._sfc_main$8;exports.UploadImageMultiple=e._sfc_main$9;exports.default=e.main;
@@ -1,4 +1,4 @@
1
- import { A as e, l as o, _ as d, a as r, C as t, n as l, o as i, D as p, p as u, b as S, q as c, F as n, r as m, c as F, s as M, t as b, L as g, M as h, y as T, d as k, e as x, S as C, f as U, u as f, v as w, w as B, g as D, x as L, h as P, i as q, T as y, U as A, j as E, k as I, m as j } from "./main-DvdaURTh.mjs";
1
+ import { A as e, l as o, _ as d, a as r, C as t, n as l, o as i, D as p, p as u, b as S, q as c, F as n, r as m, c as F, s as M, t as b, L as g, M as h, y as T, d as k, e as x, S as C, f as U, u as f, v as w, w as B, g as D, x as L, h as P, i as q, T as y, U as A, j as E, k as I, m as j } from "./main-DxyAONrm.mjs";
2
2
  export {
3
3
  e as Address,
4
4
  o as Breadcrumbs,
@@ -124,10 +124,8 @@ var report_model = (mongoose) => {
124
124
  // заменяем 'organization' на 'target', так как это может быть или User, или Organization
125
125
  type: mongoose.Schema.Types.ObjectId,
126
126
  ref: function(value) {
127
- if (this.type === "user")
128
- return "User";
129
- if (this.type === "organization")
130
- return "Organization";
127
+ if (this.type === "user") return "User";
128
+ if (this.type === "organization") return "Organization";
131
129
  },
132
130
  required: true
133
131
  }
@@ -123,10 +123,8 @@ var report_model = (mongoose) => {
123
123
  // заменяем 'organization' на 'target', так как это может быть или User, или Organization
124
124
  type: mongoose.Schema.Types.ObjectId,
125
125
  ref: function(value) {
126
- if (this.type === "user")
127
- return "User";
128
- if (this.type === "organization")
129
- return "Organization";
126
+ if (this.type === "user") return "User";
127
+ if (this.type === "organization") return "Organization";
130
128
  },
131
129
  required: true
132
130
  }