@ozdao/prometheus-framework 0.2.38 → 0.2.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -2
- package/dist/auth.server.mjs +1 -2
- package/dist/files.server.js +1 -2
- package/dist/files.server.mjs +1 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-10560277.mjs +78 -0
- package/dist/mailing-902d13d5.js +77 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +13 -9
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +26 -22
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +29 -30
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -0
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
- 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 +3 -3
- 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 +10 -7
- 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 +18 -15
- 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 +3 -3
- 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 +16 -13
- 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 +3 -3
- 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 +23 -20
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.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 +8 -8
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +18 -20
- 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 +88 -62
- 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 +97 -68
- 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 +35 -34
- 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 +18 -18
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +4 -4
- 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 +65 -19
- 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 +9 -9
- 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 +8 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -65
- 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 +64 -70
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- 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/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +6 -5
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- 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 +43 -42
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.js +47 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.js +45 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.js +32 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.js +25 -14
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.js +44 -0
- 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 +90 -67
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
- 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 +45 -42
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- 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/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
- 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 +2 -2
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +60 -55
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.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/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- 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 +18 -17
- 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 +20 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -7
- 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/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- 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 +2 -2
- 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/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.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/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +37 -34
- 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 +23 -23
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
- 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 +6 -6
- 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 +1 -1
- 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/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
- package/dist/prometheus-framework.cjs.js +20 -20
- package/dist/prometheus-framework.es.js +1003 -999
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +2 -3
- package/src/components/Chips/Chips.vue +9 -3
- package/src/components/Dropdown/Dropdown.vue +9 -3
- package/src/components/Feed/Feed.vue +7 -11
- package/src/components/Feed/Masonry.vue +177 -0
- package/src/components/FieldBig/FieldBig.vue +3 -3
- package/src/components/LocationSelection/LocationSelection.vue +1 -1
- package/src/components/Navigation/Navigation.vue +2 -0
- package/src/components/Shader/Shader.vue +161 -116
- package/src/components/Slider/Slider.vue +92 -0
- package/src/modules/applications/applications.client.js +2 -0
- package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
- package/src/modules/applications/controllers/applications.controller.js +125 -136
- package/src/modules/applications/models/application.model.js +22 -7
- package/src/modules/applications/routes/applications.routes.js +29 -13
- package/src/modules/auth/components/pages/EnterCode.vue +4 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +4 -1
- package/src/modules/auth/components/pages/ResetPassword.vue +4 -1
- package/src/modules/auth/components/pages/SignUp.vue +4 -1
- package/src/modules/auth/controllers/auth.controller.js +2 -3
- package/src/modules/auth/localization/SignUp.json +1 -1
- package/src/modules/auth/store/auth.js +3 -5
- package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
- package/src/modules/chats/components/pages/ChatPage.vue +6 -6
- package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
- package/src/modules/chats/store/chat.store.js +6 -1
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
- package/src/modules/community/components/layouts/Community.vue +63 -24
- package/src/modules/community/components/pages/Blog.vue +37 -0
- package/src/modules/community/components/pages/BlogPost.vue +5 -6
- package/src/modules/community/components/pages/Community.vue +1 -0
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +64 -24
- package/src/modules/community/components/sections/JoinUs.vue +4 -5
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +7 -6
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +2 -18
- package/src/modules/files/middlewares/server/middlewareBusboy.js +1 -1
- package/src/modules/files/routes/files.routes.js +9 -1
- package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
- package/src/modules/globals/utils/mailing.js +12 -0
- package/src/modules/icons/entities/IconEarn.vue +20 -0
- package/src/modules/icons/entities/IconFeatured.vue +14 -0
- package/src/modules/icons/entities/IconFollowing.vue +17 -0
- package/src/modules/icons/entities/IconPopular.vue +14 -0
- package/src/modules/icons/entities/IconRecent.vue +17 -0
- package/src/modules/icons/navigation/IconAdd.vue +1 -3
- package/src/modules/icons/navigation/IconArrow.vue +21 -0
- package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
- package/src/modules/icons/navigation/IconEdit.vue +16 -2
- package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
- package/src/modules/landing/components/sections/MobileApp.vue +38 -21
- package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
- package/src/modules/landing/components/sections/SectionFeatures.vue +80 -0
- package/src/modules/landing/components/sections/{Guide.vue → SectionGuide.vue} +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +138 -0
- package/src/modules/landing/components/sections/SectionRoadmap.vue +108 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +2 -2
- package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
- package/src/modules/orders/components/pages/Order.vue +3 -4
- package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
- package/src/modules/organizations/components/sections/Publics.vue +3 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
- package/src/modules/products/components/sections/MenuSection.vue +4 -4
- package/src/modules/products/components/sections/PopularProducts.vue +3 -3
- package/src/modules/spots/components/layouts/Spots.vue +2 -2
- package/src/modules/wallet/components/pages/Wallet.vue +1 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/base/backgrounds.scss +2 -2
- package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
- package/src/styles/typography.scss +19 -12
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
- package/src/modules/constructor/components/elements/Youtube.vue +0 -52
- package/src/modules/landing/components/sections/HeroGovernance.vue +0 -156
package/dist/auth.server.js
CHANGED
@@ -5,7 +5,7 @@ const require$$1$1 = require("bcryptjs");
|
|
5
5
|
const require$$0$1 = require("mongoose");
|
6
6
|
const require$$3 = require("uuidv4");
|
7
7
|
const require$$1 = require("jwk-to-pem");
|
8
|
-
const mailing = require("./mailing-
|
8
|
+
const mailing = require("./mailing-902d13d5.js");
|
9
9
|
const index = require("./index-a8dffc0c.js");
|
10
10
|
require("dotenv");
|
11
11
|
require("nodemailer");
|
@@ -116,7 +116,6 @@ const controllerFactory$4 = (db) => {
|
|
116
116
|
}
|
117
117
|
});
|
118
118
|
} catch (err) {
|
119
|
-
console.error(err);
|
120
119
|
res.status(500).send({ message: err });
|
121
120
|
}
|
122
121
|
};
|
package/dist/auth.server.mjs
CHANGED
@@ -4,7 +4,7 @@ import require$$1$1 from "bcryptjs";
|
|
4
4
|
import require$$0$1 from "mongoose";
|
5
5
|
import require$$3 from "uuidv4";
|
6
6
|
import require$$1 from "jwk-to-pem";
|
7
|
-
import { m as mailing } from "./mailing-
|
7
|
+
import { m as mailing } from "./mailing-10560277.mjs";
|
8
8
|
import { s as server } from "./index-d769324d.mjs";
|
9
9
|
import "dotenv";
|
10
10
|
import "nodemailer";
|
@@ -115,7 +115,6 @@ const controllerFactory$4 = (db) => {
|
|
115
115
|
}
|
116
116
|
});
|
117
117
|
} catch (err) {
|
118
|
-
console.error(err);
|
119
118
|
res.status(500).send({ message: err });
|
120
119
|
}
|
121
120
|
};
|
package/dist/files.server.js
CHANGED
@@ -150,7 +150,7 @@ function requireMiddlewareBusboy() {
|
|
150
150
|
// MOV
|
151
151
|
"video/webm"
|
152
152
|
];
|
153
|
-
handleFileUpload(req, res, next, publicPath, { folderNameDefault: "unsorted", maxSize:
|
153
|
+
handleFileUpload(req, res, next, publicPath, { folderNameDefault: "unsorted", maxSize: 100 * 1024 * 1024, allowedTypes });
|
154
154
|
};
|
155
155
|
const uploadImagesMiddleware = (req, res, next) => {
|
156
156
|
const allowedTypes = ["image/png", "image/jpeg", "image/jpg", "image/gif"];
|
@@ -178,7 +178,6 @@ const middlewareFactoryFiles = server;
|
|
178
178
|
var files_routes = function(app, db, origins, publicPath) {
|
179
179
|
const controller = controllerFactory(db, publicPath);
|
180
180
|
middlewareFactoryGlobal(db);
|
181
|
-
console.log("Public path is " + publicPath);
|
182
181
|
const { middlewareBusboy: middlewareBusboy2 } = middlewareFactoryFiles(db, publicPath);
|
183
182
|
app.use(function(req, res, next) {
|
184
183
|
const origin = req.headers.origin;
|
package/dist/files.server.mjs
CHANGED
@@ -149,7 +149,7 @@ function requireMiddlewareBusboy() {
|
|
149
149
|
// MOV
|
150
150
|
"video/webm"
|
151
151
|
];
|
152
|
-
handleFileUpload(req, res, next, publicPath, { folderNameDefault: "unsorted", maxSize:
|
152
|
+
handleFileUpload(req, res, next, publicPath, { folderNameDefault: "unsorted", maxSize: 100 * 1024 * 1024, allowedTypes });
|
153
153
|
};
|
154
154
|
const uploadImagesMiddleware = (req, res, next) => {
|
155
155
|
const allowedTypes = ["image/png", "image/jpeg", "image/jpg", "image/gif"];
|
@@ -177,7 +177,6 @@ const middlewareFactoryFiles = server;
|
|
177
177
|
var files_routes = function(app, db, origins, publicPath) {
|
178
178
|
const controller = controllerFactory(db, publicPath);
|
179
179
|
middlewareFactoryGlobal(db);
|
180
|
-
console.log("Public path is " + publicPath);
|
181
180
|
const { middlewareBusboy: middlewareBusboy2 } = middlewareFactoryFiles(db, publicPath);
|
182
181
|
app.use(function(req, res, next) {
|
183
182
|
const origin = req.headers.origin;
|
package/dist/globals.server.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers-3b53548e.js");
|
3
3
|
const require$$0 = require("sitemap");
|
4
4
|
const require$$1 = require("zlib");
|
5
|
-
const mailing$1 = require("./mailing-
|
5
|
+
const mailing$1 = require("./mailing-902d13d5.js");
|
6
6
|
require("dotenv");
|
7
7
|
require("nodemailer");
|
8
8
|
require("axios");
|
package/dist/globals.server.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-83b1d755.mjs";
|
2
2
|
import require$$0 from "sitemap";
|
3
3
|
import require$$1 from "zlib";
|
4
|
-
import { m as mailing$1 } from "./mailing-
|
4
|
+
import { m as mailing$1 } from "./mailing-10560277.mjs";
|
5
5
|
import "dotenv";
|
6
6
|
import "nodemailer";
|
7
7
|
import "axios";
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import require$$0 from "dotenv";
|
2
|
+
import require$$1 from "nodemailer";
|
3
|
+
import require$$2 from "axios";
|
4
|
+
require$$0.config();
|
5
|
+
const nodemailer = require$$1;
|
6
|
+
const axios = require$$2;
|
7
|
+
async function sendEmail(to, subject, text) {
|
8
|
+
const transporter = nodemailer.createTransport({
|
9
|
+
host: process.env.SMTP_HOST,
|
10
|
+
port: process.env.SMTP_PORT,
|
11
|
+
secure: process.env.SMTP_SECURE,
|
12
|
+
auth: {
|
13
|
+
user: process.env.SMTP_USER,
|
14
|
+
pass: process.env.SMTP_PASSWORD
|
15
|
+
}
|
16
|
+
});
|
17
|
+
const mailOptions = {
|
18
|
+
from: `${process.env.SMTP_NAME} <${process.env.SMTP_EMAIL}>`,
|
19
|
+
to,
|
20
|
+
subject,
|
21
|
+
text
|
22
|
+
};
|
23
|
+
try {
|
24
|
+
const info = await transporter.sendMail(mailOptions);
|
25
|
+
console.log("Email sent: " + info.response);
|
26
|
+
return true;
|
27
|
+
} catch (error) {
|
28
|
+
console.log(error);
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
async function sendSms(phone, message) {
|
33
|
+
const sessionUrl = `https://api.sms.to/sms/send?api_key=${process.env.SMS_API_KEY}&to=${phone}&message=${encodeURIComponent(message)}&sender_id=${encodeURIComponent(process.env.APP_NAME)}`;
|
34
|
+
console.log(`Phone:${phone} message:${message} session: ${sessionUrl}`);
|
35
|
+
try {
|
36
|
+
const response = await axios.get(sessionUrl);
|
37
|
+
console.log("SMS sent");
|
38
|
+
return true;
|
39
|
+
} catch (error) {
|
40
|
+
console.log(error);
|
41
|
+
return false;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
async function sendChatMessageTelegram(chatIds, text) {
|
45
|
+
const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
|
46
|
+
const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
|
47
|
+
JSON.stringify({
|
48
|
+
inline_keyboard: [
|
49
|
+
[
|
50
|
+
{ text: "Confirm", callback_data: `confirm_${application._id}` },
|
51
|
+
{ text: "Lost", callback_data: `lost_${application._id}` },
|
52
|
+
{ text: "Delete", callback_data: `delete_${application._id}` }
|
53
|
+
]
|
54
|
+
]
|
55
|
+
});
|
56
|
+
try {
|
57
|
+
for (const chatId of chatIds) {
|
58
|
+
await axios.post(telegramUrl, {
|
59
|
+
chat_id: chatId,
|
60
|
+
text
|
61
|
+
// reply_markup: inlineKeyboard
|
62
|
+
});
|
63
|
+
}
|
64
|
+
console.log("Telegram message sent");
|
65
|
+
return true;
|
66
|
+
} catch (error) {
|
67
|
+
console.log(error);
|
68
|
+
return false;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
var mailing = {
|
72
|
+
sendEmail,
|
73
|
+
sendSms,
|
74
|
+
sendChatMessageTelegram
|
75
|
+
};
|
76
|
+
export {
|
77
|
+
mailing as m
|
78
|
+
};
|
@@ -0,0 +1,77 @@
|
|
1
|
+
"use strict";
|
2
|
+
const require$$0 = require("dotenv");
|
3
|
+
const require$$1 = require("nodemailer");
|
4
|
+
const require$$2 = require("axios");
|
5
|
+
require$$0.config();
|
6
|
+
const nodemailer = require$$1;
|
7
|
+
const axios = require$$2;
|
8
|
+
async function sendEmail(to, subject, text) {
|
9
|
+
const transporter = nodemailer.createTransport({
|
10
|
+
host: process.env.SMTP_HOST,
|
11
|
+
port: process.env.SMTP_PORT,
|
12
|
+
secure: process.env.SMTP_SECURE,
|
13
|
+
auth: {
|
14
|
+
user: process.env.SMTP_USER,
|
15
|
+
pass: process.env.SMTP_PASSWORD
|
16
|
+
}
|
17
|
+
});
|
18
|
+
const mailOptions = {
|
19
|
+
from: `${process.env.SMTP_NAME} <${process.env.SMTP_EMAIL}>`,
|
20
|
+
to,
|
21
|
+
subject,
|
22
|
+
text
|
23
|
+
};
|
24
|
+
try {
|
25
|
+
const info = await transporter.sendMail(mailOptions);
|
26
|
+
console.log("Email sent: " + info.response);
|
27
|
+
return true;
|
28
|
+
} catch (error) {
|
29
|
+
console.log(error);
|
30
|
+
return false;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
async function sendSms(phone, message) {
|
34
|
+
const sessionUrl = `https://api.sms.to/sms/send?api_key=${process.env.SMS_API_KEY}&to=${phone}&message=${encodeURIComponent(message)}&sender_id=${encodeURIComponent(process.env.APP_NAME)}`;
|
35
|
+
console.log(`Phone:${phone} message:${message} session: ${sessionUrl}`);
|
36
|
+
try {
|
37
|
+
const response = await axios.get(sessionUrl);
|
38
|
+
console.log("SMS sent");
|
39
|
+
return true;
|
40
|
+
} catch (error) {
|
41
|
+
console.log(error);
|
42
|
+
return false;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
async function sendChatMessageTelegram(chatIds, text) {
|
46
|
+
const telegramToken = process.env.TELEGRAM_BOT_TOKEN;
|
47
|
+
const telegramUrl = `https://api.telegram.org/bot${telegramToken}/sendMessage`;
|
48
|
+
JSON.stringify({
|
49
|
+
inline_keyboard: [
|
50
|
+
[
|
51
|
+
{ text: "Confirm", callback_data: `confirm_${application._id}` },
|
52
|
+
{ text: "Lost", callback_data: `lost_${application._id}` },
|
53
|
+
{ text: "Delete", callback_data: `delete_${application._id}` }
|
54
|
+
]
|
55
|
+
]
|
56
|
+
});
|
57
|
+
try {
|
58
|
+
for (const chatId of chatIds) {
|
59
|
+
await axios.post(telegramUrl, {
|
60
|
+
chat_id: chatId,
|
61
|
+
text
|
62
|
+
// reply_markup: inlineKeyboard
|
63
|
+
});
|
64
|
+
}
|
65
|
+
console.log("Telegram message sent");
|
66
|
+
return true;
|
67
|
+
} catch (error) {
|
68
|
+
console.log(error);
|
69
|
+
return false;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
var mailing = {
|
73
|
+
sendEmail,
|
74
|
+
sendSms,
|
75
|
+
sendChatMessageTelegram
|
76
|
+
};
|
77
|
+
exports.mailing = mailing;
|