@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 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1
|
+
function e(t) {
|
2
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
4
3
|
}
|
5
4
|
export {
|
6
|
-
|
7
|
-
l as getDefaultExportFromCjs
|
5
|
+
e as getDefaultExportFromCjs
|
8
6
|
};
|
package/dist/auth.server.js
CHANGED
@@ -237,7 +237,6 @@ const controllerFactory$3 = (db) => {
|
|
237
237
|
}
|
238
238
|
const rights = accesses[orgId].rights;
|
239
239
|
const defaultAccesses = new Department();
|
240
|
-
console.log(defaultAccesses);
|
241
240
|
const accessData = isOwner ? defaultAccesses.accesses : (depts.find((dept) => dept.organization.toString() === orgId) || {}).accesses;
|
242
241
|
Object.keys(accessData).forEach((key) => {
|
243
242
|
if (!rights[key]) {
|
package/dist/auth.server.mjs
CHANGED
@@ -236,7 +236,6 @@ const controllerFactory$3 = (db) => {
|
|
236
236
|
}
|
237
237
|
const rights = accesses[orgId].rights;
|
238
238
|
const defaultAccesses = new Department();
|
239
|
-
console.log(defaultAccesses);
|
240
239
|
const accessData = isOwner ? defaultAccesses.accesses : (depts.find((dept) => dept.organization.toString() === orgId) || {}).accesses;
|
241
240
|
Object.keys(accessData).forEach((key) => {
|
242
241
|
if (!rights[key]) {
|
package/dist/community.server.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
3
3
|
const require$$0 = require("mongoose");
|
4
|
-
const queryProcessor$3 = require("./queryProcessor-
|
4
|
+
const queryProcessor$3 = require("./queryProcessor-iewDZq_f.js");
|
5
5
|
require("util");
|
6
6
|
require("uuid");
|
7
7
|
const index = require("./index-BshfsiQG.js");
|
8
8
|
const common_schema = require("./common.schema-BFhpUXUt.js");
|
9
|
-
const engagement_schema = require("./engagement.schema-
|
9
|
+
const engagement_schema = require("./engagement.schema-D-9md46B.js");
|
10
10
|
const ownership_schema = require("./ownership.schema-DN0SlQL6.js");
|
11
11
|
const metadata_schema = require("./metadata.schema-6slGhpQS.js");
|
12
12
|
function getPeriodConditions(period) {
|
@@ -237,8 +237,8 @@ const controllerFactory$3 = (db) => {
|
|
237
237
|
// For owner
|
238
238
|
queryProcessorGlobals.getOwnerUserLookupStage(),
|
239
239
|
queryProcessorGlobals.getOwnerOrganizationLookupStage(),
|
240
|
-
queryProcessorGlobals.getAddFieldsCreatorOwnerStage()
|
241
|
-
{ $sample: { size: Number(req.query.limit) } }
|
240
|
+
queryProcessorGlobals.getAddFieldsCreatorOwnerStage()
|
241
|
+
// { $sample: { size: Number(req.query.limit) } },
|
242
242
|
];
|
243
243
|
try {
|
244
244
|
const posts = await Blogpost.aggregate(stages).exec();
|
@@ -302,46 +302,173 @@ const commentControllerFactory = (db) => {
|
|
302
302
|
const Membership = db.membership;
|
303
303
|
const read = async (req, res) => {
|
304
304
|
try {
|
305
|
-
let
|
306
|
-
|
307
|
-
const
|
308
|
-
|
309
|
-
|
310
|
-
|
305
|
+
let buildCommentTree = function(comments2) {
|
306
|
+
const commentMap = /* @__PURE__ */ new Map();
|
307
|
+
const objectIdToString = (id) => id.toString();
|
308
|
+
function addToMap(comment) {
|
309
|
+
const commentId = objectIdToString(comment._id);
|
310
|
+
if (!commentMap.has(commentId)) {
|
311
|
+
commentMap.set(commentId, { ...comment, children: [] });
|
312
|
+
if (comment.children && comment.children.length > 0) {
|
313
|
+
comment.children.forEach(addToMap);
|
314
|
+
}
|
315
|
+
}
|
311
316
|
}
|
317
|
+
comments2.forEach(addToMap);
|
318
|
+
commentMap.forEach((comment) => {
|
319
|
+
if (comment.parent) {
|
320
|
+
const parentId2 = objectIdToString(comment.parent);
|
321
|
+
const parent = commentMap.get(parentId2);
|
322
|
+
if (parent) {
|
323
|
+
parent.children.push(comment);
|
324
|
+
}
|
325
|
+
}
|
326
|
+
});
|
327
|
+
function sortChildren(comment) {
|
328
|
+
if (comment.children.length > 0) {
|
329
|
+
comment.children.sort((a, b) => new Date(a.createdAt) - new Date(b.createdAt));
|
330
|
+
comment.children.forEach(sortChildren);
|
331
|
+
}
|
332
|
+
}
|
333
|
+
const rootComments = comments2.map((comment) => {
|
334
|
+
const commentId = objectIdToString(comment._id);
|
335
|
+
return commentMap.get(commentId);
|
336
|
+
}).filter((comment) => !comment.parent);
|
337
|
+
rootComments.sort((a, b) => new Date(a.createdAt) - new Date(b.createdAt));
|
338
|
+
rootComments.forEach(sortChildren);
|
339
|
+
return rootComments;
|
340
|
+
};
|
341
|
+
const { target, type, user, maxDepth = 4, parentId = null } = req.query;
|
342
|
+
let conditions = {
|
343
|
+
target: new db.mongoose.Types.ObjectId(target),
|
344
|
+
type
|
345
|
+
};
|
346
|
+
if (parentId) {
|
347
|
+
conditions.parent = new db.mongoose.Types.ObjectId(parentId);
|
348
|
+
} else {
|
349
|
+
conditions.parent = null;
|
312
350
|
}
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
if (!comments) {
|
318
|
-
return res.status(404).send({ message: "Comments not found." });
|
351
|
+
let blockedMembers = [];
|
352
|
+
if (user) {
|
353
|
+
const memberships = await Membership.find({ user, role: "blocked" });
|
354
|
+
blockedMembers = memberships.map((membership) => membership.target);
|
319
355
|
}
|
320
|
-
const
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
356
|
+
const pipeline = [
|
357
|
+
{ $match: conditions },
|
358
|
+
{ $sort: { createdAt: 1 } },
|
359
|
+
{
|
360
|
+
$graphLookup: {
|
361
|
+
from: "comments",
|
362
|
+
startWith: "$_id",
|
363
|
+
connectFromField: "_id",
|
364
|
+
connectToField: "parent",
|
365
|
+
as: "children",
|
366
|
+
depthField: "childDepth"
|
367
|
+
}
|
368
|
+
},
|
369
|
+
{
|
370
|
+
$lookup: {
|
371
|
+
from: "users",
|
372
|
+
localField: "user",
|
373
|
+
foreignField: "_id",
|
374
|
+
as: "user"
|
375
|
+
}
|
376
|
+
},
|
377
|
+
{ $unwind: "$user" },
|
378
|
+
{
|
379
|
+
$lookup: {
|
380
|
+
from: "users",
|
381
|
+
localField: "children.user",
|
382
|
+
foreignField: "_id",
|
383
|
+
as: "childUsers"
|
384
|
+
}
|
385
|
+
},
|
386
|
+
{
|
387
|
+
$project: {
|
388
|
+
_id: 1,
|
389
|
+
content: 1,
|
390
|
+
type: 1,
|
391
|
+
target: 1,
|
392
|
+
"user.username": 1,
|
393
|
+
"user.profile.photo": 1,
|
394
|
+
"user.profile.name": 1,
|
395
|
+
"user._id": 1,
|
396
|
+
depth: 1,
|
397
|
+
createdAt: 1,
|
398
|
+
childrenCount: { $size: "$children" },
|
399
|
+
children: {
|
400
|
+
$map: {
|
401
|
+
input: "$children",
|
402
|
+
as: "child",
|
403
|
+
in: {
|
404
|
+
_id: "$$child._id",
|
405
|
+
content: "$$child.content",
|
406
|
+
type: "$$child.type",
|
407
|
+
parent: "$$child.parent",
|
408
|
+
target: "$$child.target",
|
409
|
+
user: {
|
410
|
+
$arrayElemAt: [
|
411
|
+
{
|
412
|
+
$filter: {
|
413
|
+
input: "$childUsers",
|
414
|
+
as: "childUser",
|
415
|
+
cond: { $eq: ["$$childUser._id", "$$child.user"] }
|
416
|
+
}
|
417
|
+
},
|
418
|
+
0
|
419
|
+
]
|
420
|
+
},
|
421
|
+
depth: "$$child.depth",
|
422
|
+
createdAt: "$$child.createdAt",
|
423
|
+
childrenCount: { $size: "$$child.children" }
|
424
|
+
}
|
425
|
+
}
|
426
|
+
}
|
427
|
+
}
|
428
|
+
}
|
429
|
+
];
|
430
|
+
if (blockedMembers.length > 0) {
|
431
|
+
pipeline.unshift({ $match: { user: { $nin: blockedMembers } } });
|
432
|
+
}
|
433
|
+
const comments = await Comment.aggregate(pipeline);
|
434
|
+
commentsTree = buildCommentTree(comments);
|
435
|
+
console.log(commentsTree);
|
436
|
+
res.status(200).json(commentsTree);
|
437
|
+
} catch (error) {
|
438
|
+
console.error(error);
|
439
|
+
res.status(500).json({ message: error.message });
|
329
440
|
}
|
330
441
|
};
|
331
442
|
const create = async (req, res) => {
|
332
443
|
try {
|
444
|
+
const { user, type, target, content, parent } = req.body;
|
445
|
+
let depth = 0;
|
446
|
+
if (parent) {
|
447
|
+
const parentComment = await Comment.findById(parent);
|
448
|
+
if (!parentComment) {
|
449
|
+
return res.status(404).send({ message: "Parent comment not found." });
|
450
|
+
}
|
451
|
+
depth = parentComment.depth + 1;
|
452
|
+
}
|
333
453
|
const comment = new Comment({
|
334
|
-
user
|
335
|
-
type
|
336
|
-
target
|
337
|
-
content
|
454
|
+
user,
|
455
|
+
type,
|
456
|
+
target,
|
457
|
+
content,
|
458
|
+
parent,
|
459
|
+
depth
|
338
460
|
});
|
339
|
-
const
|
340
|
-
|
461
|
+
const savedComment = await comment.save();
|
462
|
+
if (parent) {
|
463
|
+
await Comment.findByIdAndUpdate(parent, {
|
464
|
+
$push: { children: savedComment._id }
|
465
|
+
});
|
466
|
+
}
|
467
|
+
const populatedComment = await Comment.findById(savedComment._id).populate({
|
341
468
|
path: "user",
|
342
469
|
select: "username profile.photo profile.name _id"
|
343
470
|
});
|
344
|
-
res.status(
|
471
|
+
res.status(201).send(populatedComment);
|
345
472
|
} catch (err) {
|
346
473
|
console.error(err);
|
347
474
|
res.status(500).send({
|
@@ -466,8 +593,7 @@ var reactions_controller = reactionControllerFactory;
|
|
466
593
|
var verifyBlogpost;
|
467
594
|
var hasRequiredVerifyBlogpost;
|
468
595
|
function requireVerifyBlogpost() {
|
469
|
-
if (hasRequiredVerifyBlogpost)
|
470
|
-
return verifyBlogpost;
|
596
|
+
if (hasRequiredVerifyBlogpost) return verifyBlogpost;
|
471
597
|
hasRequiredVerifyBlogpost = 1;
|
472
598
|
const middlewareFactory = (db) => {
|
473
599
|
const Blogpost = db.blogpost;
|
@@ -643,17 +769,26 @@ var comment_model = (mongoose) => {
|
|
643
769
|
// заменяем 'organization' на 'target', так как это может быть или User, или Organization
|
644
770
|
type: mongoose.Schema.Types.ObjectId,
|
645
771
|
ref: function(value) {
|
646
|
-
if (this.type === "blogpost")
|
647
|
-
|
648
|
-
if (this.type === "
|
649
|
-
|
650
|
-
if (this.type === "event")
|
651
|
-
return "Event";
|
652
|
-
if (this.type === "photo")
|
653
|
-
return "Photo";
|
772
|
+
if (this.type === "blogpost") return "Blogpost";
|
773
|
+
if (this.type === "comment") return "Comment";
|
774
|
+
if (this.type === "event") return "Event";
|
775
|
+
if (this.type === "photo") return "Photo";
|
654
776
|
},
|
655
777
|
required: true
|
656
778
|
},
|
779
|
+
parent: {
|
780
|
+
type: mongoose.Schema.Types.ObjectId,
|
781
|
+
ref: "Comment",
|
782
|
+
default: null
|
783
|
+
},
|
784
|
+
children: [{
|
785
|
+
type: mongoose.Schema.Types.ObjectId,
|
786
|
+
ref: "Comment"
|
787
|
+
}],
|
788
|
+
depth: {
|
789
|
+
type: Number,
|
790
|
+
default: 0
|
791
|
+
},
|
657
792
|
content: {
|
658
793
|
type: String,
|
659
794
|
required: true
|
@@ -663,6 +798,7 @@ var comment_model = (mongoose) => {
|
|
663
798
|
default: Date.now
|
664
799
|
}
|
665
800
|
});
|
801
|
+
CommentSchema.index({ target: 1, parent: 1, depth: 1 });
|
666
802
|
const Comment = mongoose.model("Comment", CommentSchema);
|
667
803
|
return Comment;
|
668
804
|
};
|
@@ -671,10 +807,8 @@ var reaction_model = (mongoose) => {
|
|
671
807
|
user: {
|
672
808
|
type: mongoose.Schema.Types.ObjectId,
|
673
809
|
ref: function(value) {
|
674
|
-
if (this.owner.type === "user")
|
675
|
-
|
676
|
-
if (this.owner.type === "organization")
|
677
|
-
return "Organization";
|
810
|
+
if (this.owner.type === "user") return "User";
|
811
|
+
if (this.owner.type === "organization") return "Organization";
|
678
812
|
},
|
679
813
|
required: true
|
680
814
|
},
|
@@ -687,12 +821,9 @@ var reaction_model = (mongoose) => {
|
|
687
821
|
target: {
|
688
822
|
type: mongoose.Schema.Types.ObjectId,
|
689
823
|
ref: function(value) {
|
690
|
-
if (this.owner.type === "event")
|
691
|
-
|
692
|
-
if (this.owner.
|
693
|
-
return "Comment";
|
694
|
-
if (this.owner.blogpost === "blogpost")
|
695
|
-
return "Blogpost";
|
824
|
+
if (this.owner.type === "event") return "Event";
|
825
|
+
if (this.owner.type === "comment") return "Comment";
|
826
|
+
if (this.owner.blogpost === "blogpost") return "Blogpost";
|
696
827
|
}
|
697
828
|
},
|
698
829
|
targetString: {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
|
2
2
|
import require$$0 from "mongoose";
|
3
|
-
import { q as queryProcessor$3 } from "./queryProcessor-
|
3
|
+
import { q as queryProcessor$3 } from "./queryProcessor-DQSFR9YA.mjs";
|
4
4
|
import "util";
|
5
5
|
import "uuid";
|
6
6
|
import { s as server$1 } from "./index-DKtnWDNC.mjs";
|
7
7
|
import { c as common_schema } from "./common.schema-ChBVARrs.mjs";
|
8
|
-
import { e as engagement_schema } from "./engagement.schema-
|
8
|
+
import { e as engagement_schema } from "./engagement.schema-CCdSLKd4.mjs";
|
9
9
|
import { o as ownership_schema } from "./ownership.schema-oyx6eNkZ.mjs";
|
10
10
|
import { m as metadata_schema } from "./metadata.schema-CK5e2O3f.mjs";
|
11
11
|
function getPeriodConditions(period) {
|
@@ -236,8 +236,8 @@ const controllerFactory$3 = (db) => {
|
|
236
236
|
// For owner
|
237
237
|
queryProcessorGlobals.getOwnerUserLookupStage(),
|
238
238
|
queryProcessorGlobals.getOwnerOrganizationLookupStage(),
|
239
|
-
queryProcessorGlobals.getAddFieldsCreatorOwnerStage()
|
240
|
-
{ $sample: { size: Number(req.query.limit) } }
|
239
|
+
queryProcessorGlobals.getAddFieldsCreatorOwnerStage()
|
240
|
+
// { $sample: { size: Number(req.query.limit) } },
|
241
241
|
];
|
242
242
|
try {
|
243
243
|
const posts = await Blogpost.aggregate(stages).exec();
|
@@ -301,46 +301,173 @@ const commentControllerFactory = (db) => {
|
|
301
301
|
const Membership = db.membership;
|
302
302
|
const read = async (req, res) => {
|
303
303
|
try {
|
304
|
-
let
|
305
|
-
|
306
|
-
const
|
307
|
-
|
308
|
-
|
309
|
-
|
304
|
+
let buildCommentTree = function(comments2) {
|
305
|
+
const commentMap = /* @__PURE__ */ new Map();
|
306
|
+
const objectIdToString = (id) => id.toString();
|
307
|
+
function addToMap(comment) {
|
308
|
+
const commentId = objectIdToString(comment._id);
|
309
|
+
if (!commentMap.has(commentId)) {
|
310
|
+
commentMap.set(commentId, { ...comment, children: [] });
|
311
|
+
if (comment.children && comment.children.length > 0) {
|
312
|
+
comment.children.forEach(addToMap);
|
313
|
+
}
|
314
|
+
}
|
310
315
|
}
|
316
|
+
comments2.forEach(addToMap);
|
317
|
+
commentMap.forEach((comment) => {
|
318
|
+
if (comment.parent) {
|
319
|
+
const parentId2 = objectIdToString(comment.parent);
|
320
|
+
const parent = commentMap.get(parentId2);
|
321
|
+
if (parent) {
|
322
|
+
parent.children.push(comment);
|
323
|
+
}
|
324
|
+
}
|
325
|
+
});
|
326
|
+
function sortChildren(comment) {
|
327
|
+
if (comment.children.length > 0) {
|
328
|
+
comment.children.sort((a, b) => new Date(a.createdAt) - new Date(b.createdAt));
|
329
|
+
comment.children.forEach(sortChildren);
|
330
|
+
}
|
331
|
+
}
|
332
|
+
const rootComments = comments2.map((comment) => {
|
333
|
+
const commentId = objectIdToString(comment._id);
|
334
|
+
return commentMap.get(commentId);
|
335
|
+
}).filter((comment) => !comment.parent);
|
336
|
+
rootComments.sort((a, b) => new Date(a.createdAt) - new Date(b.createdAt));
|
337
|
+
rootComments.forEach(sortChildren);
|
338
|
+
return rootComments;
|
339
|
+
};
|
340
|
+
const { target, type, user, maxDepth = 4, parentId = null } = req.query;
|
341
|
+
let conditions = {
|
342
|
+
target: new db.mongoose.Types.ObjectId(target),
|
343
|
+
type
|
344
|
+
};
|
345
|
+
if (parentId) {
|
346
|
+
conditions.parent = new db.mongoose.Types.ObjectId(parentId);
|
347
|
+
} else {
|
348
|
+
conditions.parent = null;
|
311
349
|
}
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
if (!comments) {
|
317
|
-
return res.status(404).send({ message: "Comments not found." });
|
350
|
+
let blockedMembers = [];
|
351
|
+
if (user) {
|
352
|
+
const memberships = await Membership.find({ user, role: "blocked" });
|
353
|
+
blockedMembers = memberships.map((membership) => membership.target);
|
318
354
|
}
|
319
|
-
const
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
355
|
+
const pipeline = [
|
356
|
+
{ $match: conditions },
|
357
|
+
{ $sort: { createdAt: 1 } },
|
358
|
+
{
|
359
|
+
$graphLookup: {
|
360
|
+
from: "comments",
|
361
|
+
startWith: "$_id",
|
362
|
+
connectFromField: "_id",
|
363
|
+
connectToField: "parent",
|
364
|
+
as: "children",
|
365
|
+
depthField: "childDepth"
|
366
|
+
}
|
367
|
+
},
|
368
|
+
{
|
369
|
+
$lookup: {
|
370
|
+
from: "users",
|
371
|
+
localField: "user",
|
372
|
+
foreignField: "_id",
|
373
|
+
as: "user"
|
374
|
+
}
|
375
|
+
},
|
376
|
+
{ $unwind: "$user" },
|
377
|
+
{
|
378
|
+
$lookup: {
|
379
|
+
from: "users",
|
380
|
+
localField: "children.user",
|
381
|
+
foreignField: "_id",
|
382
|
+
as: "childUsers"
|
383
|
+
}
|
384
|
+
},
|
385
|
+
{
|
386
|
+
$project: {
|
387
|
+
_id: 1,
|
388
|
+
content: 1,
|
389
|
+
type: 1,
|
390
|
+
target: 1,
|
391
|
+
"user.username": 1,
|
392
|
+
"user.profile.photo": 1,
|
393
|
+
"user.profile.name": 1,
|
394
|
+
"user._id": 1,
|
395
|
+
depth: 1,
|
396
|
+
createdAt: 1,
|
397
|
+
childrenCount: { $size: "$children" },
|
398
|
+
children: {
|
399
|
+
$map: {
|
400
|
+
input: "$children",
|
401
|
+
as: "child",
|
402
|
+
in: {
|
403
|
+
_id: "$$child._id",
|
404
|
+
content: "$$child.content",
|
405
|
+
type: "$$child.type",
|
406
|
+
parent: "$$child.parent",
|
407
|
+
target: "$$child.target",
|
408
|
+
user: {
|
409
|
+
$arrayElemAt: [
|
410
|
+
{
|
411
|
+
$filter: {
|
412
|
+
input: "$childUsers",
|
413
|
+
as: "childUser",
|
414
|
+
cond: { $eq: ["$$childUser._id", "$$child.user"] }
|
415
|
+
}
|
416
|
+
},
|
417
|
+
0
|
418
|
+
]
|
419
|
+
},
|
420
|
+
depth: "$$child.depth",
|
421
|
+
createdAt: "$$child.createdAt",
|
422
|
+
childrenCount: { $size: "$$child.children" }
|
423
|
+
}
|
424
|
+
}
|
425
|
+
}
|
426
|
+
}
|
427
|
+
}
|
428
|
+
];
|
429
|
+
if (blockedMembers.length > 0) {
|
430
|
+
pipeline.unshift({ $match: { user: { $nin: blockedMembers } } });
|
431
|
+
}
|
432
|
+
const comments = await Comment.aggregate(pipeline);
|
433
|
+
commentsTree = buildCommentTree(comments);
|
434
|
+
console.log(commentsTree);
|
435
|
+
res.status(200).json(commentsTree);
|
436
|
+
} catch (error) {
|
437
|
+
console.error(error);
|
438
|
+
res.status(500).json({ message: error.message });
|
328
439
|
}
|
329
440
|
};
|
330
441
|
const create = async (req, res) => {
|
331
442
|
try {
|
443
|
+
const { user, type, target, content, parent } = req.body;
|
444
|
+
let depth = 0;
|
445
|
+
if (parent) {
|
446
|
+
const parentComment = await Comment.findById(parent);
|
447
|
+
if (!parentComment) {
|
448
|
+
return res.status(404).send({ message: "Parent comment not found." });
|
449
|
+
}
|
450
|
+
depth = parentComment.depth + 1;
|
451
|
+
}
|
332
452
|
const comment = new Comment({
|
333
|
-
user
|
334
|
-
type
|
335
|
-
target
|
336
|
-
content
|
453
|
+
user,
|
454
|
+
type,
|
455
|
+
target,
|
456
|
+
content,
|
457
|
+
parent,
|
458
|
+
depth
|
337
459
|
});
|
338
|
-
const
|
339
|
-
|
460
|
+
const savedComment = await comment.save();
|
461
|
+
if (parent) {
|
462
|
+
await Comment.findByIdAndUpdate(parent, {
|
463
|
+
$push: { children: savedComment._id }
|
464
|
+
});
|
465
|
+
}
|
466
|
+
const populatedComment = await Comment.findById(savedComment._id).populate({
|
340
467
|
path: "user",
|
341
468
|
select: "username profile.photo profile.name _id"
|
342
469
|
});
|
343
|
-
res.status(
|
470
|
+
res.status(201).send(populatedComment);
|
344
471
|
} catch (err) {
|
345
472
|
console.error(err);
|
346
473
|
res.status(500).send({
|
@@ -465,8 +592,7 @@ var reactions_controller = reactionControllerFactory;
|
|
465
592
|
var verifyBlogpost;
|
466
593
|
var hasRequiredVerifyBlogpost;
|
467
594
|
function requireVerifyBlogpost() {
|
468
|
-
if (hasRequiredVerifyBlogpost)
|
469
|
-
return verifyBlogpost;
|
595
|
+
if (hasRequiredVerifyBlogpost) return verifyBlogpost;
|
470
596
|
hasRequiredVerifyBlogpost = 1;
|
471
597
|
const middlewareFactory = (db) => {
|
472
598
|
const Blogpost = db.blogpost;
|
@@ -642,17 +768,26 @@ var comment_model = (mongoose) => {
|
|
642
768
|
// заменяем 'organization' на 'target', так как это может быть или User, или Organization
|
643
769
|
type: mongoose.Schema.Types.ObjectId,
|
644
770
|
ref: function(value) {
|
645
|
-
if (this.type === "blogpost")
|
646
|
-
|
647
|
-
if (this.type === "
|
648
|
-
|
649
|
-
if (this.type === "event")
|
650
|
-
return "Event";
|
651
|
-
if (this.type === "photo")
|
652
|
-
return "Photo";
|
771
|
+
if (this.type === "blogpost") return "Blogpost";
|
772
|
+
if (this.type === "comment") return "Comment";
|
773
|
+
if (this.type === "event") return "Event";
|
774
|
+
if (this.type === "photo") return "Photo";
|
653
775
|
},
|
654
776
|
required: true
|
655
777
|
},
|
778
|
+
parent: {
|
779
|
+
type: mongoose.Schema.Types.ObjectId,
|
780
|
+
ref: "Comment",
|
781
|
+
default: null
|
782
|
+
},
|
783
|
+
children: [{
|
784
|
+
type: mongoose.Schema.Types.ObjectId,
|
785
|
+
ref: "Comment"
|
786
|
+
}],
|
787
|
+
depth: {
|
788
|
+
type: Number,
|
789
|
+
default: 0
|
790
|
+
},
|
656
791
|
content: {
|
657
792
|
type: String,
|
658
793
|
required: true
|
@@ -662,6 +797,7 @@ var comment_model = (mongoose) => {
|
|
662
797
|
default: Date.now
|
663
798
|
}
|
664
799
|
});
|
800
|
+
CommentSchema.index({ target: 1, parent: 1, depth: 1 });
|
665
801
|
const Comment = mongoose.model("Comment", CommentSchema);
|
666
802
|
return Comment;
|
667
803
|
};
|
@@ -670,10 +806,8 @@ var reaction_model = (mongoose) => {
|
|
670
806
|
user: {
|
671
807
|
type: mongoose.Schema.Types.ObjectId,
|
672
808
|
ref: function(value) {
|
673
|
-
if (this.owner.type === "user")
|
674
|
-
|
675
|
-
if (this.owner.type === "organization")
|
676
|
-
return "Organization";
|
809
|
+
if (this.owner.type === "user") return "User";
|
810
|
+
if (this.owner.type === "organization") return "Organization";
|
677
811
|
},
|
678
812
|
required: true
|
679
813
|
},
|
@@ -686,12 +820,9 @@ var reaction_model = (mongoose) => {
|
|
686
820
|
target: {
|
687
821
|
type: mongoose.Schema.Types.ObjectId,
|
688
822
|
ref: function(value) {
|
689
|
-
if (this.owner.type === "event")
|
690
|
-
|
691
|
-
if (this.owner.
|
692
|
-
return "Comment";
|
693
|
-
if (this.owner.blogpost === "blogpost")
|
694
|
-
return "Blogpost";
|
823
|
+
if (this.owner.type === "event") return "Event";
|
824
|
+
if (this.owner.type === "comment") return "Comment";
|
825
|
+
if (this.owner.blogpost === "blogpost") return "Blogpost";
|
695
826
|
}
|
696
827
|
},
|
697
828
|
targetString: {
|
@@ -1,8 +1,7 @@
|
|
1
1
|
var engagement_schema = function applyEngagementSchema(schema, db) {
|
2
2
|
schema.add({ views: { type: Number, default: 0 } });
|
3
3
|
schema.post("aggregate", async function(docs) {
|
4
|
-
if (docs.length === 0)
|
5
|
-
return;
|
4
|
+
if (docs.length === 0) return;
|
6
5
|
console.log("Post-aggregate hook in engagement schema triggered");
|
7
6
|
const model = this._model;
|
8
7
|
if (!model) {
|
@@ -2,8 +2,7 @@
|
|
2
2
|
var engagement_schema = function applyEngagementSchema(schema, db) {
|
3
3
|
schema.add({ views: { type: Number, default: 0 } });
|
4
4
|
schema.post("aggregate", async function(docs) {
|
5
|
-
if (docs.length === 0)
|
6
|
-
return;
|
5
|
+
if (docs.length === 0) return;
|
7
6
|
console.log("Post-aggregate hook in engagement schema triggered");
|
8
7
|
const model = this._model;
|
9
8
|
if (!model) {
|