@ozdao/prometheus-framework 0.2.129 → 0.2.132

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1275) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -5
  3. package/dist/auth.server.js +0 -1
  4. package/dist/auth.server.mjs +0 -1
  5. package/dist/community.server.js +183 -52
  6. package/dist/community.server.mjs +183 -52
  7. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  8. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  9. package/dist/events.server.js +5 -8
  10. package/dist/events.server.mjs +5 -8
  11. package/dist/files.server.js +39 -6
  12. package/dist/files.server.mjs +39 -6
  13. package/dist/gallery.server.js +2 -2
  14. package/dist/gallery.server.mjs +2 -2
  15. package/dist/main-CI9l9xMs.js +92 -0
  16. package/dist/main-Ckn0Sslr.js +92 -0
  17. package/dist/main-DPg58GOU.mjs +14509 -0
  18. package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
  19. package/dist/main.css +1 -1
  20. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  21. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  22. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  23. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  24. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  25. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  26. package/dist/orders.server.js +1 -1
  27. package/dist/orders.server.mjs +1 -1
  28. package/dist/organizations.server.js +9 -12
  29. package/dist/organizations.server.mjs +9 -12
  30. package/dist/products.server.js +2 -1
  31. package/dist/products.server.mjs +2 -1
  32. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  33. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  34. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  35. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  36. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  37. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  38. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  39. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  40. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  41. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  45. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  46. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  47. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  48. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  111. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  112. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  113. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  114. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  123. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -1
  125. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +88 -1
  127. package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
  128. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
  129. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  134. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  137. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +13 -14
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +33 -34
  140. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
  141. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
  142. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  144. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +15 -16
  146. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +95 -89
  148. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -1
  150. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  152. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
  154. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +23 -24
  156. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  158. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +40 -40
  160. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  161. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +6 -6
  163. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  164. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  166. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  168. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +126 -1
  170. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  172. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  174. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +1 -1
  176. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
  178. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +23 -24
  180. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
  182. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -1
  184. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  186. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  188. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  189. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +15 -16
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +10 -11
  197. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +39 -36
  199. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  201. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +4 -4
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +4 -4
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +32 -32
  213. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +33 -33
  215. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +21 -21
  217. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/store/auth.js +12 -12
  221. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  223. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  227. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  229. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
  233. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +55 -72
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +86 -76
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +59 -29
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  245. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +73 -82
  247. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +34 -35
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
  257. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +1 -1
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  275. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -113
  277. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
  278. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  280. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  282. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  284. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  286. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  288. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  290. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  292. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  294. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  296. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  298. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  299. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  300. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  302. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +21 -21
  303. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +30 -30
  305. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
  307. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  309. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +18 -18
  311. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  313. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  319. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
  321. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  323. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  325. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  327. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
  329. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  331. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  333. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  337. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
  339. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  341. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  343. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  347. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +39 -38
  349. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  355. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +10 -10
  359. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  361. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +116 -89
  363. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +40 -39
  367. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
  368. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +5 -5
  370. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  372. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  374. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  376. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +18 -18
  378. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  380. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  382. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +19 -19
  384. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  390. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
  392. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  394. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -13
  396. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +2 -2
  398. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  400. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  402. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  404. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  406. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  408. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  410. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  412. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  413. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  414. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +5 -5
  416. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +6 -5
  418. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  419. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  420. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  421. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  422. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  424. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +33 -38
  426. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  428. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  430. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  432. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  434. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  436. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  438. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  439. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  440. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  442. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  444. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
  446. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -32
  448. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +53 -35
  450. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  452. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  456. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
  457. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
  458. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
  459. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
  460. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
  461. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
  462. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
  464. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
  465. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
  466. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  467. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  468. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  469. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +160 -129
  470. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  471. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  472. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  473. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  474. package/dist/prometheus-framework.cjs.js +1 -1
  475. package/dist/prometheus-framework.es.js +14 -14
  476. package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
  477. package/dist/queryProcessor-iewDZq_f.js +178 -0
  478. package/dist/reports.server.js +2 -4
  479. package/dist/reports.server.mjs +2 -4
  480. package/dist/style.css +1 -1
  481. package/dist/users.server.js +2 -4
  482. package/dist/users.server.mjs +2 -4
  483. package/dist/wallet.server.js +86 -39
  484. package/dist/wallet.server.mjs +86 -39
  485. package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
  486. package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
  487. package/dist/web-DZUec7pP.js +1 -0
  488. package/dist/web-krQQeSb6.mjs +54 -0
  489. package/package.json +1 -2
  490. package/src/components/Address/Address.vue +1 -1
  491. package/src/components/Chips/Chips.vue +1 -1
  492. package/src/components/Completion/Completion.vue +1 -4
  493. package/src/components/DatePicker/Calendar.vue +1 -1
  494. package/src/components/Draggable/Draggable.vue +113 -0
  495. package/src/components/Dropdown/Dropdown.vue +1 -1
  496. package/src/components/Feed/Feed.vue +18 -12
  497. package/src/components/FieldBig/FieldBig.vue +11 -1
  498. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  499. package/src/components/FieldTags/FieldTags.vue +2 -1
  500. package/src/components/FieldTags/tag-input.vue +1 -1
  501. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  502. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  503. package/src/components/Shader/Shader.vue +2 -2
  504. package/src/components/Slider/Slider.vue +1 -5
  505. package/src/components/Spoiler/Spoiler.vue +1 -1
  506. package/src/components/Text/Text.vue +1 -4
  507. package/src/components/Tooltip/Tooltip.vue +1 -1
  508. package/src/components/Upload/Upload.vue +5 -3
  509. package/src/main.js +0 -3
  510. package/src/modules/auth/controllers/auth.controller.js +0 -2
  511. package/src/modules/auth/store/auth.js +2 -2
  512. package/src/modules/community/DOCUMENTATION.MD +4 -0
  513. package/src/modules/community/community.client.js +0 -2
  514. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
  515. package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
  516. package/src/modules/community/components/layouts/Community.vue +15 -11
  517. package/src/modules/community/components/pages/Blog.vue +25 -32
  518. package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
  519. package/src/modules/community/components/sections/Comment.vue +123 -0
  520. package/src/modules/community/components/sections/Comments.vue +90 -19
  521. package/src/modules/community/components/sections/HotPosts.vue +3 -6
  522. package/src/modules/community/controllers/blog.controller.js +1 -1
  523. package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
  524. package/src/modules/community/controllers/comments.controller.js +187 -38
  525. package/src/modules/community/controllers/comments.controller.populate.js +180 -0
  526. package/src/modules/community/models/comment.model.js +15 -0
  527. package/src/modules/community/store/blogposts.js +20 -2
  528. package/src/modules/constructor/components/elements/Audio.vue +28 -40
  529. package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
  530. package/src/modules/constructor/components/elements/Video.vue +10 -18
  531. package/src/modules/constructor/components/sections/Constructor.vue +54 -47
  532. package/src/modules/files/controllers/files.controller.js +2 -0
  533. package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
  534. package/src/modules/files/routes/files.routes.js +8 -0
  535. package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
  536. package/src/modules/globals/components/partials/Header.vue +12 -7
  537. package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
  538. package/src/modules/icons/logos/Logotype.vue +8 -6
  539. package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
  540. package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
  541. package/src/modules/marketplace/store/marketplace.js +2 -8
  542. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  543. package/src/modules/organizations/components/pages/Members.vue +1 -1
  544. package/src/modules/organizations/components/pages/Organization.vue +33 -5
  545. package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
  546. package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
  547. package/src/modules/organizations/components/sections/Publics.vue +2 -2
  548. package/src/modules/organizations/controllers/memberships.controller.js +2 -3
  549. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  550. package/src/modules/organizations/store/memberships.js +4 -1
  551. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  552. package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
  553. package/src/modules/products/models/product.model.js +2 -1
  554. package/src/modules/spots/components/layouts/Spots.vue +0 -3
  555. package/src/modules/spots/components/pages/Map.vue +13 -3
  556. package/src/modules/users/components/blocks/CardUser.vue +2 -2
  557. package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
  558. package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
  559. package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
  560. package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
  561. package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
  562. package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
  563. package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
  564. package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
  565. package/src/modules/wallet/localization/Wallet.json +22 -0
  566. package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
  567. package/src/styles/base/all.scss +16 -26
  568. package/src/styles/config.scss +70 -34
  569. package/src/styles/typography.scss +5 -5
  570. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  571. package/dist/_virtual/browser-ponyfill.js +0 -4
  572. package/dist/_virtual/crc32.cjs +0 -1
  573. package/dist/_virtual/crc32.js +0 -4
  574. package/dist/_virtual/index.cjs +0 -1
  575. package/dist/_virtual/index.js +0 -4
  576. package/dist/_virtual/index2.cjs +0 -1
  577. package/dist/_virtual/index2.js +0 -4
  578. package/dist/main-hLtpe4Hr.js +0 -92
  579. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  580. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  581. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  582. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  583. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  584. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  585. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  586. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  587. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  588. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  589. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  590. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  591. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  592. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  593. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  594. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  595. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  596. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  597. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  598. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  599. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  600. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  601. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  602. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  603. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  604. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  605. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  606. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  607. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  609. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  610. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  611. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  612. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  613. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  614. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  615. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  616. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  617. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  618. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  619. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  620. package/dist/node_modules/abitype/dist/index.js +0 -299
  621. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  622. package/dist/node_modules/crc-32/crc32.js +0 -51
  623. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  624. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  625. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  626. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  627. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  628. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  629. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  630. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  631. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  632. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  633. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  634. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  635. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  636. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  637. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  638. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  639. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  640. package/dist/node_modules/eventemitter3/index.js +0 -117
  641. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  642. package/dist/node_modules/eventemitter3/index2.js +0 -5
  643. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  644. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  645. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  646. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  647. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  648. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  649. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  650. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  651. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  652. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  653. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  654. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  655. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  656. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  657. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  658. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  659. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  660. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  661. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  662. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  663. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  664. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  665. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  666. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  667. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  668. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  669. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  670. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  671. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  672. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  673. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  674. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  675. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  676. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  677. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  679. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  680. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  681. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  683. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  685. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  686. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  687. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  688. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  689. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  690. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  691. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  692. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  693. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  694. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  695. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  696. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  697. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  698. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  699. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  700. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  701. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  702. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  703. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  704. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  705. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  706. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  707. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  708. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  709. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  711. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  713. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  715. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  717. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  719. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  721. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  723. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  725. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  727. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  729. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  730. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  731. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  732. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  733. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  734. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  735. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  736. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  737. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  738. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  739. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  740. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  741. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  742. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  743. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  744. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  745. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  746. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  747. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  748. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  749. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  750. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  751. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  752. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  753. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  755. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  757. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  759. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  761. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  765. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  767. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  769. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  770. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  771. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  772. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  773. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  774. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  775. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  776. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  777. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  778. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  779. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  780. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  781. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  782. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  783. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  784. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  785. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  786. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  787. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  788. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  789. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  790. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  791. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  792. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  889. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  890. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  891. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  892. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  893. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  894. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  895. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  896. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  897. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  898. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  899. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  900. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  901. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  902. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  903. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  904. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  905. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  906. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  907. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  908. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  909. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  910. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  911. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  912. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  913. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  914. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  915. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  916. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  917. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  918. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  919. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  920. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  921. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  922. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  923. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  924. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  925. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  926. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  927. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  928. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  929. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  930. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  931. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  932. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  933. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  934. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  935. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  936. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  937. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  938. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  939. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  940. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  941. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  942. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  943. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  944. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  945. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  946. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  947. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  948. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  949. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  950. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  951. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  952. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  953. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  954. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  955. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  956. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  957. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  958. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  959. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  960. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  961. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  962. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  963. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  964. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  965. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  966. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  967. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  969. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  971. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  973. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  975. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  977. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  978. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  979. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  980. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  981. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  982. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  983. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  984. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  985. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  986. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  987. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  988. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  989. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  990. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  991. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  992. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  993. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  994. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  995. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  996. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  997. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  998. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  999. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  1000. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  1001. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  1003. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  1005. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  1006. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  1007. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  1009. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  1011. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  1013. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  1014. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  1015. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  1016. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  1017. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  1018. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  1019. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  1020. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  1021. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  1022. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  1023. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1024. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1025. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1026. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1027. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1028. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1029. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1030. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1031. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1032. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1033. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1034. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1035. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1036. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1037. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1038. package/dist/node_modules/zod/lib/index.js +0 -2983
  1039. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1041. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1042. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1043. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1045. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1047. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1049. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1051. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1053. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1054. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1055. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1057. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1058. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1059. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1061. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1063. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1065. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1067. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1069. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1071. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1073. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1075. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1076. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1089. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1091. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1093. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1095. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1097. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1099. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1100. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1101. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1103. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1104. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1105. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1106. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1107. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1108. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1109. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1110. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1111. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1112. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1113. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1114. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1115. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1116. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1117. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1118. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1119. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1120. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1121. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1122. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1123. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1124. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1125. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1126. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1127. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1131. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1137. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1143. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.js +0 -1
  1149. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1150. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -1
  1151. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1153. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1161. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1207. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1208. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1209. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1210. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1211. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1212. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1213. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1214. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1215. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1216. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1217. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1218. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1219. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1220. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1221. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1222. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1223. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1224. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1225. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1229. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1230. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1231. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1232. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1233. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1234. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1235. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1237. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1238. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1239. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1240. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1241. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1242. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1243. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1244. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1245. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1246. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1247. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1248. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1249. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1250. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1251. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1252. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1253. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1254. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1255. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1256. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1257. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1258. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1259. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1260. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1261. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1262. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1263. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1264. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1265. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1267. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1268. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1269. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1270. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1271. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1272. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1273. package/src/modules/community/components/sections/Feed.vue +0 -148
  1274. package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
  1275. package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -1,15 +1,15 @@
1
1
  <template>
2
2
  <div class="pd-thin">
3
3
  <header class="mn-b-medium flex-v-center flex-nowrap flex">
4
- <h2 class="mn-r-medium">Posts</h2>
5
- <button
6
- v-if="auth.state.user._id === route.params._id"
7
- @click="$router.push({
8
- name: 'Create BlogPost'
9
- })"
10
- class="radius-100 t-white t-semi i-big hover-scale-1 cursor-pointer t-white bg-second">
11
- +
12
- </button>
4
+ <h2 class="mn-r-medium">Posts</h2>
5
+ <button
6
+ v-if="auth.state.user._id === route.params._id"
7
+ @click="$router.push({
8
+ name: 'Create BlogPost'
9
+ })"
10
+ class="radius-100 t-white t-semi i-big hover-scale-1 cursor-pointer t-white bg-second">
11
+ +
12
+ </button>
13
13
  </header>
14
14
 
15
15
  <Tab
@@ -23,24 +23,37 @@
23
23
  class="mn-b-small o-hidden h5 radius-big bg-light"
24
24
  />
25
25
 
26
- <Feed
27
- v-if="tabOrganization === 'posts'"
28
- :user="auth.state.user._id"
29
- :creator="route.params._id"
30
- />
31
-
32
- <Feed
33
- v-if="tabOrganization === 'drafts'"
34
- :user="auth.state.user._id"
35
- :creator="route.params._id"
36
- :status="'draft'"
37
- />
38
-
39
- <Feed
40
- v-if="tabOrganization === 'following'"
41
- :user="auth.state.user._id"
42
- :following="route.params._id"
43
- />
26
+ <Feed
27
+ :showLoadMore="false"
28
+ :states="{
29
+ empty: {
30
+ title: 'No Blog Posts Found',
31
+ description: 'Currently, there are no posts available in this blog. Please check back later.'
32
+ },
33
+ }"
34
+ :store="{
35
+ read: (options) => blog.read(options)
36
+ }"
37
+ :options="{
38
+ limit: 15,
39
+ category: route.params.category,
40
+ period: route.query.period,
41
+ status: tabOrganization === 'drafts' ? 'draft' : 'published',
42
+ user: auth.state.user._id,
43
+ creator: ['posts', 'drafts'].includes(tabOrganization) ? route.params._id : null,
44
+ following: tabOrganization === 'following' ? auth.state.user._id : null,
45
+ }"
46
+ v-slot="{ items }"
47
+ class="row-1 gap-thin"
48
+ >
49
+ <CardBlogpost
50
+ v-for="item in items"
51
+ :key="item._id"
52
+ :blogpost="item"
53
+ :user="auth.state.user._id"
54
+ class="h-max-40r mn-b-medium"
55
+ />
56
+ </Feed>
44
57
  </div>
45
58
  </template>
46
59
 
@@ -49,9 +62,13 @@
49
62
  import { useRoute, useRouter } from 'vue-router'
50
63
  // Components
51
64
  import Tab from '@pf/src/components/Tab/Tab.vue'
52
- import Feed from '@pf/src/modules/community/components/sections/Feed.vue';
65
+
66
+ import Feed from '@pf/src/components/Feed/Feed.vue'
67
+
68
+ import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
53
69
 
54
70
  import * as auth from '@pf/src/modules/auth/store/auth';
71
+ import * as blog from '@pf/src/modules/community/store/blogposts.js';
55
72
  // Accessing router
56
73
  const route = useRoute()
57
74
  const router = useRouter()
@@ -0,0 +1,40 @@
1
+ <template>
2
+ <h2 class="mn-b-small t-center t-bold">{{ t('balanceReplenished') }}</h2>
3
+
4
+ <div class="radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center">
5
+ <h3 class="t-semi">
6
+ {{ t('youReceived') }}
7
+ </h3>
8
+ <h3 class="t-semi">
9
+ 500 WDT
10
+ </h3>
11
+
12
+ </div>
13
+
14
+ <button
15
+ class="uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
16
+ @click="close"
17
+ >
18
+ {{ t('backToWallet') }}
19
+ </button>
20
+ </template>
21
+
22
+ <script setup>
23
+ import text from '@pf/src/modules/wallet/localization/Wallet.json'
24
+ import { useI18n } from 'vue-i18n'
25
+
26
+ const emits = defineEmits(['close'])
27
+
28
+ // Localization
29
+ const { t } = useI18n({
30
+ useScope: 'global',
31
+ ...text
32
+ })
33
+
34
+ function close() {
35
+ emits("close")
36
+ }
37
+ </script>
38
+
39
+ <style scoped>
40
+ </style>
@@ -0,0 +1,55 @@
1
+ <template>
2
+ <h2 class="mn-b-small t-center t-bold">Deposit with card</h2>
3
+
4
+ <div class="bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between">
5
+ <Field
6
+ :placeholder="t('enterAmount')"
7
+ class="pd-medium radius-small"
8
+ />
9
+
10
+ <div class="uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi">
11
+ USD
12
+ </div>
13
+ </div>
14
+
15
+ <h3 class="t-semi">You will receieve: 0 WDT</h3>
16
+
17
+ <button
18
+ class="uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
19
+ @click="switchMenu(3)"
20
+ >
21
+ {{ t('pay') }}
22
+ </button>
23
+
24
+ <button
25
+ class="uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
26
+ @click="backSelection"
27
+ >
28
+ {{ t('backToSelection') }}
29
+ </button>
30
+ </template>
31
+
32
+ <script setup>
33
+ import text from '@pf/src/modules/wallet/localization/Wallet.json'
34
+ import Field from '@pf/src/components/Field/Field.vue'
35
+ import { useI18n } from 'vue-i18n'
36
+
37
+ const emits = defineEmits(['back-selection', 'switch-menu'])
38
+
39
+ // Localization
40
+ const { t } = useI18n({
41
+ useScope: 'global',
42
+ ...text
43
+ })
44
+
45
+ function backSelection() {
46
+ emits("back-selection")
47
+ }
48
+
49
+ function switchMenu(screen = 0) {
50
+ emits("switch-menu", screen)
51
+ }
52
+ </script>
53
+
54
+ <style scoped>
55
+ </style>
@@ -0,0 +1,28 @@
1
+ <template>
2
+ <h2 class="mn-b-small t-center t-bold">Deposit with cash</h2>
3
+
4
+ <p class="t-transp t-center">
5
+ You need to go to casse to topup balance
6
+ </p>
7
+
8
+ <div
9
+ class="w-100 bg-grey radius-medium mn-t-medium mn-b-medium"
10
+ style="height: 152px"
11
+ />
12
+
13
+ <button
14
+ class="w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
15
+ @click="backSelection">Back to selection
16
+ </button>
17
+ </template>
18
+
19
+ <script setup>
20
+ const emits = defineEmits(['back-selection'])
21
+
22
+ function backSelection() {
23
+ emits("back-selection");
24
+ }
25
+ </script>
26
+
27
+ <style scoped>
28
+ </style>
@@ -0,0 +1,55 @@
1
+ <template>
2
+ <h2 class="mn-b-small t-center t-bold">{{ t('depositeWithCrypto') }}</h2>
3
+
4
+ <div class="bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between">
5
+ <Field
6
+ :placeholder="t('enterAmount')"
7
+ class="pd-medium radius-small"
8
+ />
9
+
10
+ <div class="uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi">
11
+ POLY USDT
12
+ </div>
13
+ </div>
14
+
15
+ <h3 class="t-semi">You will receieve: 0 WDT</h3>
16
+
17
+ <button
18
+ class="uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
19
+ @click="switchMenu(3)"
20
+ >
21
+ {{ t('pay') }}
22
+ </button>
23
+
24
+ <button
25
+ class="uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small"
26
+ @click="backSelection"
27
+ >
28
+ {{ t('backToSelection') }}
29
+ </button>
30
+ </template>
31
+
32
+ <script setup>
33
+ import text from '@pf/src/modules/wallet/localization/Wallet.json'
34
+ import Field from '@pf/src/components/Field/Field.vue'
35
+ import { useI18n } from 'vue-i18n'
36
+
37
+ const emits = defineEmits(['back-selection', 'switch-menu'])
38
+
39
+ // Localization
40
+ const { t } = useI18n({
41
+ useScope: 'global',
42
+ ...text
43
+ })
44
+
45
+ function backSelection() {
46
+ emits("back-selection")
47
+ }
48
+
49
+ function switchMenu(screen = 0) {
50
+ emits("switch-menu", screen)
51
+ }
52
+ </script>
53
+
54
+ <style scoped>
55
+ </style>
@@ -0,0 +1,181 @@
1
+ const ObjectId = require('mongoose').Types.ObjectId;
2
+ const { BigNumber } = require('bignumber.js');
3
+
4
+ const queryProcessorGlobals = require('@pf/src/modules/globals/controllers/utils/queryProcessor');
5
+
6
+ const VIEWS_REWARD_COEFF = '0.1';
7
+ const WDT_DECIMALS = 8;
8
+
9
+ const calculateRewardForPost = (snapshot, viewsCount, reactionsCount, commentsCount) => {
10
+
11
+ console.log('views',viewsCount)
12
+ console.log('reactions',reactionsCount)
13
+ console.log('comments',commentsCount)
14
+
15
+ if (snapshot) {
16
+ return new BigNumber(Math.max(viewsCount - snapshot.views, 0))
17
+ .multipliedBy(VIEWS_REWARD_COEFF)
18
+ .plus(Math.max(reactionsCount - snapshot.reactions, 0))
19
+ .plus(Math.max(commentsCount - snapshot.comments, 0));
20
+ }
21
+
22
+ return new BigNumber('10')
23
+ .plus(new BigNumber(viewsCount).multipliedBy(VIEWS_REWARD_COEFF))
24
+ .plus(reactionsCount)
25
+ .plus(commentsCount);
26
+ };
27
+
28
+ const rewardsControllerFactory = (db, wdmClient) => {
29
+ const Blogpost = db.blogpost;
30
+ const Reaction = db.reaction;
31
+ const Comment = db.comment;
32
+ const Reward = db.reward;
33
+
34
+
35
+
36
+ const listRewards = async (req, res) => {
37
+ try {
38
+ const aggregationResults = await Blogpost.aggregate([
39
+ // Соответствие блогпостов для данного пользователя
40
+ { $match: { "creator.target": new ObjectId(req.userId) } },
41
+
42
+ // Добавление информации о реакциях и комментариях
43
+ {
44
+ $lookup: {
45
+ from: "reactions",
46
+ localField: "_id",
47
+ foreignField: "target",
48
+ as: "reactions"
49
+ }
50
+ },
51
+ {
52
+ $lookup: {
53
+ from: "comments",
54
+ localField: "_id",
55
+ foreignField: "target",
56
+ as: "comments"
57
+ }
58
+ },
59
+
60
+ // Добавление информации о предыдущей награде
61
+ {
62
+ $lookup: {
63
+ from: "rewards",
64
+ let: { blogId: "$_id" },
65
+ pipeline: [
66
+ {
67
+ $match: {
68
+ $expr: {
69
+ $and: [
70
+ { $eq: ["$user", req.userId] },
71
+ { $eq: ["$type", "blogpost"] },
72
+ { $eq: ["$target", "$$blogId"] }
73
+ ]
74
+ }
75
+ }
76
+ },
77
+ { $sort: { createdAt: -1 } },
78
+ { $limit: 1 }
79
+ ],
80
+ as: "previousReward"
81
+ }
82
+ },
83
+
84
+ // Преобразование результатов
85
+ {
86
+ $project: {
87
+ _id: 1,
88
+ user: req.userId,
89
+ type: "blogpost",
90
+ views: 1,
91
+ reactionsCount: { $size: "$reactions" },
92
+ commentsCount: { $size: "$comments" },
93
+ previousReward: { $arrayElemAt: ["$previousReward", 0] },
94
+ name: 1,
95
+ content: 1,
96
+ url: 1
97
+ }
98
+ }
99
+ ])
100
+
101
+ const rewards = aggregationResults.map(result => ({
102
+ user: result.user,
103
+ type: result.type,
104
+ amount: calculateRewardForPost(
105
+ result.previousReward?.snapshot,
106
+ result.views,
107
+ result.reactionsCount,
108
+ result.commentsCount
109
+ ),
110
+ name: result.name,
111
+ content: result.content,
112
+ url: result.url
113
+ }));
114
+
115
+ res.status(200).send(rewards);
116
+ } catch (error) {
117
+ res.status(500).send({ message: "Произошла ошибка при получении наград", error: error.message });
118
+ }
119
+ };
120
+
121
+ const collectTokens = async (req, res) => {
122
+ const blogs = await Blogpost.find({ "creator.target": req.userId }).exec();
123
+
124
+ let totalRewards = new BigNumber(0);
125
+
126
+ for (const blog of blogs) {
127
+ const reactions = await Reaction.countDocuments({ target: { $in: blog._id } }).exec();
128
+ const comments = await Comment.countDocuments({ target: { $in: blog._id } }).exec();
129
+
130
+ const previousReward = await Reward
131
+ .findOne({ user: req.userId, type: 'blogpost', target: blog._id })
132
+ .sort({ createdAt: -1 })
133
+ .exec();
134
+
135
+ const reward = calculateRewardForPost(
136
+ previousReward?.snapshot,
137
+ blog.views,
138
+ reactions,
139
+ comments
140
+ );
141
+
142
+ if (reward.gt(0)) {
143
+ totalRewards = totalRewards.plus(reward);
144
+
145
+ const snapshot = {
146
+ views: previousReward ?
147
+ previousReward.snapshot.views < blog.views ? blog.views : previousReward.snapshot.views
148
+ : blog.views,
149
+ reactions: previousReward ?
150
+ previousReward.snapshot.reactions < reactions ? reactions : previousReward.snapshot.reactions
151
+ : reactions,
152
+ comments: previousReward ?
153
+ previousReward.snapshot.comments < comments ? comments : previousReward.snapshot.comments
154
+ : comments,
155
+ };
156
+
157
+ await Reward.create({
158
+ user: req.userId,
159
+ type: 'blogpost',
160
+ target: blog._id,
161
+ amount: reward.toString(),
162
+ snapshot: snapshot,
163
+ });
164
+ }
165
+ }
166
+
167
+ if (totalRewards.gt(0)) {
168
+ await wdmClient.transfer(
169
+ totalRewards.shiftedBy(WDT_DECIMALS).toString(),
170
+ req.body.recipient,
171
+ req.userId
172
+ );
173
+ }
174
+
175
+ res.status(200).send();
176
+ };
177
+
178
+ return { listRewards, collectTokens };
179
+ };
180
+
181
+ module.exports = rewardsControllerFactory;
@@ -7,6 +7,9 @@ const VIEWS_REWARD_COEFF = '0.1';
7
7
  const WDT_DECIMALS = 8;
8
8
 
9
9
  const calculateRewardForPost = (snapshot, viewsCount, reactionsCount, commentsCount) => {
10
+
11
+ console.log('snapshot',snapshot)
12
+
10
13
  if (snapshot) {
11
14
  return new BigNumber(Math.max(viewsCount - snapshot.views, 0))
12
15
  .multipliedBy(VIEWS_REWARD_COEFF)
@@ -26,123 +29,94 @@ const rewardsControllerFactory = (db, wdmClient) => {
26
29
  const Comment = db.comment;
27
30
  const Reward = db.reward;
28
31
 
29
- // const listRewards = async (req, res) => {
30
- // try {
31
- // const rewards = await Blogpost.aggregate([
32
- // // Шаг 1: Фильтрация блогпостов по создателю
33
- // { $match: { "creator.target": req.userId } },
34
- // // Шаг 2: Соединение с Reaction для подсчета реакций
35
- // {
36
- // $lookup: {
37
- // from: "reactions",
38
- // localField: "_id",
39
- // foreignField: "target",
40
- // as: "reactions"
41
- // }
42
- // },
43
- // // Шаг 3: Соединение с Comment для подсчета комментариев
44
- // {
45
- // $lookup: {
46
- // from: "comments",
47
- // localField: "_id",
48
- // foreignField: "target",
49
- // as: "comments"
50
- // }
51
- // },
52
- // // Шаг 4: Соединение с Reward для получения предыдущих наград
53
- // {
54
- // $lookup: {
55
- // from: "rewards",
56
- // let: { blogId: "$_id", userId: req.userId },
57
- // pipeline: [
58
- // { $match: {
59
- // $expr: {
60
- // $and: [
61
- // { $eq: ["$user", "$$userId"] },
62
- // { $eq: ["$type", "blogpost"] },
63
- // { $eq: ["$target", "$$blogId"] }
64
- // ]
65
- // }
66
- // }
67
- // },
68
- // { $sort: { createdAt: -1 } },
69
- // { $limit: 1 }
70
- // ],
71
- // as: "previousReward"
72
- // }
73
- // },
74
- // // Шаг 5: Проецирование результата и преобразование массивов в счетчики
75
- // {
76
- // $project: {
77
- // user: req.userId,
78
- // type: 'blogpost',
79
- // name: "$name",
80
- // content: "$content",
81
- // url: "$url",
82
- // views: "$views",
83
- // reactionsCount: { $size: "$reactions" },
84
- // commentsCount: { $size: "$comments" },
85
- // previousRewardSnapshot: { $arrayElemAt: ["$previousReward.snapshot", 0] },
86
- // }
87
- // }
88
- // ]).exec();
89
-
90
- // // Пересчет наград на основе полученных данных
91
- // const calculatedRewards = rewards.map(reward => ({
92
- // ...reward,
93
- // amount: calculateRewardForPost(
94
- // reward.previousRewardSnapshot,
95
- // reward.views,
96
- // reward.reactionsCount,
97
- // reward.commentsCount
98
- // ).toString(),
99
- // }));
100
-
101
- // res.status(200).send(calculatedRewards);
102
- // } catch (error) {
103
- // console.error("Error listing rewards:", error);
104
- // res.status(500).send({ message: "Internal server error" });
105
- // }
106
- // };
107
-
108
- const listRewards = async (req, res) => {
109
- const blogs = await Blogpost.find({ "creator.target": req.userId }).exec();
110
-
111
- const rewards = [];
112
32
 
113
- for (const blog of blogs) {
114
- const reactions = await Reaction.countDocuments({ target: { $in: blog._id } }).exec();
115
- const comments = await Comment.countDocuments({ target: { $in: blog._id } }).exec();
116
33
 
117
- const previousReward = await Reward
118
- .findOne({ user: req.userId, type: 'blogpost', target: blog._id })
119
- .populate({
120
- path: 'target',
121
- model: 'Blogpost' // Убедитесь, что 'Blogpost' соответствует имени вашей модели блогпоста
122
- })
123
- .sort({ createdAt: -1 })
124
- .exec();
125
-
126
- const reward = calculateRewardForPost(
127
- previousReward?.snapshot,
128
- blog.views,
129
- reactions,
130
- comments
131
- );
132
-
133
- rewards.push({
134
- user: req.userId,
135
- type: 'blogpost',
136
- amount: reward.toString(),
137
- name: blog.name,
138
- content: blog.content,
139
- url: blog.url
140
- });
34
+ const listRewards = async (req, res) => {
141
35
 
142
- // console.log(rewards)
36
+ const userId = new ObjectId(req.userId)
37
+
38
+ try {
39
+ const aggregationResults = await Blogpost.aggregate([
40
+ // Соответствие блогпостов для данного пользователя
41
+ { $match: { "creator.target": userId } },
42
+
43
+ // Добавление информации о реакциях и комментариях
44
+ {
45
+ $lookup: {
46
+ from: "reactions",
47
+ localField: "_id",
48
+ foreignField: "target",
49
+ as: "reactions"
50
+ }
51
+ },
52
+ {
53
+ $lookup: {
54
+ from: "comments",
55
+ localField: "_id",
56
+ foreignField: "target",
57
+ as: "comments"
58
+ }
59
+ },
60
+
61
+ // Добавление информации о предыдущей награде
62
+ {
63
+ $lookup: {
64
+ from: "rewards",
65
+ let: { blogId: "$_id" },
66
+ pipeline: [
67
+ {
68
+ $match: {
69
+ $expr: {
70
+ $and: [
71
+ { $eq: ["$user", userId] },
72
+ { $eq: ["$type", "blogpost"] },
73
+ { $eq: ["$target", "$$blogId"] }
74
+ ]
75
+ }
76
+ }
77
+ },
78
+ { $sort: { createdAt: -1 } },
79
+ { $limit: 1 }
80
+ ],
81
+ as: "previousReward"
82
+ }
83
+ },
84
+
85
+ // Преобразование результатов
86
+ {
87
+ $project: {
88
+ _id: 1,
89
+ user: req.userId,
90
+ type: "blogpost",
91
+ views: 1,
92
+ reactionsCount: { $size: "$reactions" },
93
+ commentsCount: { $size: "$comments" },
94
+ previousReward: { $arrayElemAt: ["$previousReward", 0] },
95
+ name: 1,
96
+ content: 1,
97
+ url: 1
98
+ }
99
+ }
100
+ ])
101
+
102
+ const rewards = aggregationResults.map(result => ({
103
+ user: result.user,
104
+ type: result.type,
105
+ amount: calculateRewardForPost(
106
+ result.previousReward?.snapshot,
107
+ result.views,
108
+ result.reactionsCount,
109
+ result.commentsCount
110
+ ),
111
+ name: result.name,
112
+ content: result.content,
113
+ url: result.url
114
+ }));
115
+
116
+ res.status(200).send(rewards);
117
+ } catch (error) {
118
+ res.status(500).send({ message: "Произошла ошибка при получении наград", error: error.message });
143
119
  }
144
-
145
- res.status(200).send(rewards);
146
120
  };
147
121
 
148
122
  const collectTokens = async (req, res) => {