@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.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +3 -5
- package/dist/auth.server.js +0 -1
- package/dist/auth.server.mjs +0 -1
- package/dist/community.server.js +183 -52
- package/dist/community.server.mjs +183 -52
- package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
- package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
- package/dist/events.server.js +5 -8
- package/dist/events.server.mjs +5 -8
- package/dist/files.server.js +39 -6
- package/dist/files.server.mjs +39 -6
- package/dist/gallery.server.js +2 -2
- package/dist/gallery.server.mjs +2 -2
- package/dist/main-CI9l9xMs.js +92 -0
- package/dist/main-Ckn0Sslr.js +92 -0
- package/dist/main-DPg58GOU.mjs +14509 -0
- package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
- package/dist/main.css +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
- package/dist/node_modules/fast-deep-equal/index.js +10 -20
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +9 -12
- package/dist/organizations.server.mjs +9 -12
- package/dist/products.server.js +2 -1
- package/dist/products.server.mjs +2 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +88 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +13 -14
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +33 -34
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +15 -16
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +95 -89
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +23 -24
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +40 -40
- package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +6 -6
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +126 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +23 -24
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +15 -16
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +10 -11
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +39 -36
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +21 -21
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +12 -12
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +55 -72
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +86 -76
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +59 -29
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +73 -82
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +34 -35
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -113
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +21 -21
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +39 -38
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +116 -89
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +40 -39
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +19 -19
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +6 -5
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +33 -38
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +53 -35
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +160 -129
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +14 -14
- package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
- package/dist/queryProcessor-iewDZq_f.js +178 -0
- package/dist/reports.server.js +2 -4
- package/dist/reports.server.mjs +2 -4
- package/dist/style.css +1 -1
- package/dist/users.server.js +2 -4
- package/dist/users.server.mjs +2 -4
- package/dist/wallet.server.js +86 -39
- package/dist/wallet.server.mjs +86 -39
- package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
- package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
- package/dist/web-DZUec7pP.js +1 -0
- package/dist/web-krQQeSb6.mjs +54 -0
- package/package.json +1 -2
- package/src/components/Address/Address.vue +1 -1
- package/src/components/Chips/Chips.vue +1 -1
- package/src/components/Completion/Completion.vue +1 -4
- package/src/components/DatePicker/Calendar.vue +1 -1
- package/src/components/Draggable/Draggable.vue +113 -0
- package/src/components/Dropdown/Dropdown.vue +1 -1
- package/src/components/Feed/Feed.vue +18 -12
- package/src/components/FieldBig/FieldBig.vue +11 -1
- package/src/components/FieldPhone/FieldPhone.vue +1 -1
- package/src/components/FieldTags/FieldTags.vue +2 -1
- package/src/components/FieldTags/tag-input.vue +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/components/Shader/Shader.vue +2 -2
- package/src/components/Slider/Slider.vue +1 -5
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Text/Text.vue +1 -4
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/Upload/Upload.vue +5 -3
- package/src/main.js +0 -3
- package/src/modules/auth/controllers/auth.controller.js +0 -2
- package/src/modules/auth/store/auth.js +2 -2
- package/src/modules/community/DOCUMENTATION.MD +4 -0
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
- package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
- package/src/modules/community/components/layouts/Community.vue +15 -11
- package/src/modules/community/components/pages/Blog.vue +25 -32
- package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
- package/src/modules/community/components/sections/Comment.vue +123 -0
- package/src/modules/community/components/sections/Comments.vue +90 -19
- package/src/modules/community/components/sections/HotPosts.vue +3 -6
- package/src/modules/community/controllers/blog.controller.js +1 -1
- package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
- package/src/modules/community/controllers/comments.controller.js +187 -38
- package/src/modules/community/controllers/comments.controller.populate.js +180 -0
- package/src/modules/community/models/comment.model.js +15 -0
- package/src/modules/community/store/blogposts.js +20 -2
- package/src/modules/constructor/components/elements/Audio.vue +28 -40
- package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
- package/src/modules/constructor/components/elements/Video.vue +10 -18
- package/src/modules/constructor/components/sections/Constructor.vue +54 -47
- package/src/modules/files/controllers/files.controller.js +2 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
- package/src/modules/files/routes/files.routes.js +8 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
- package/src/modules/globals/components/partials/Header.vue +12 -7
- package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
- package/src/modules/icons/logos/Logotype.vue +8 -6
- package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
- package/src/modules/marketplace/store/marketplace.js +2 -8
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +33 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
- package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
- package/src/modules/organizations/components/sections/Publics.vue +2 -2
- package/src/modules/organizations/controllers/memberships.controller.js +2 -3
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/store/memberships.js +4 -1
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
- package/src/modules/products/models/product.model.js +2 -1
- package/src/modules/spots/components/layouts/Spots.vue +0 -3
- package/src/modules/spots/components/pages/Map.vue +13 -3
- package/src/modules/users/components/blocks/CardUser.vue +2 -2
- package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
- package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
- package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
- package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
- package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
- package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
- package/src/modules/wallet/localization/Wallet.json +22 -0
- package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
- package/src/styles/base/all.scss +16 -26
- package/src/styles/config.scss +70 -34
- package/src/styles/typography.scss +5 -5
- package/dist/_virtual/browser-ponyfill.cjs +0 -1
- package/dist/_virtual/browser-ponyfill.js +0 -4
- package/dist/_virtual/crc32.cjs +0 -1
- package/dist/_virtual/crc32.js +0 -4
- package/dist/_virtual/index.cjs +0 -1
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.cjs +0 -1
- package/dist/_virtual/index2.js +0 -4
- package/dist/main-hLtpe4Hr.js +0 -92
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
- package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
- package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
- package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
- package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
- package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
- package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
- package/dist/node_modules/abitype/dist/index.cjs +0 -2
- package/dist/node_modules/abitype/dist/index.js +0 -299
- package/dist/node_modules/crc-32/crc32.cjs +0 -1
- package/dist/node_modules/crc-32/crc32.js +0 -51
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
- package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
- package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
- package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
- package/dist/node_modules/eventemitter3/index.cjs +0 -1
- package/dist/node_modules/eventemitter3/index.js +0 -117
- package/dist/node_modules/eventemitter3/index2.cjs +0 -1
- package/dist/node_modules/eventemitter3/index2.js +0 -5
- package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
- package/dist/node_modules/isomorphic-ws/browser.js +0 -6
- package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
- package/dist/node_modules/setimmediate/setImmediate.js +0 -99
- package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/abi.js +0 -19
- package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
- package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/index.js +0 -81
- package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/version.js +0 -4
- package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/web3.js +0 -91
- package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
- package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
- package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
- package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
- package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
- package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
- package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
- package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
- package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
- package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
- package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
- package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
- package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
- package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
- package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
- package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
- package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
- package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
- package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
- package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
- package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
- package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
- package/dist/node_modules/zod/lib/index.cjs +0 -1
- package/dist/node_modules/zod/lib/index.js +0 -2983
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
- package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
- package/src/modules/community/components/sections/Feed.vue +0 -148
- package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
- 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
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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) => {
|