@ozdao/prometheus-framework 0.2.39 → 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 +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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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/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/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 +3 -3
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -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/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- 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 +3 -3
- 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 +7 -7
- 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/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/controllers/auth.controller.js +2 -3
- 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 +7 -8
- 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
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="pd-thin radius-extra flex-nowrap flex">
|
2
|
+
<div class=" pd-thin radius-extra flex-nowrap flex">
|
3
3
|
<Field
|
4
4
|
v-model:field="inputField"
|
5
5
|
@update:field="updateInput"
|
@@ -7,9 +7,9 @@
|
|
7
7
|
@input="handleInput"
|
8
8
|
@focus="handleFocus"
|
9
9
|
@blur="checkInput"
|
10
|
-
class="w-100 t-
|
10
|
+
class="w-100 p-medium t-regular uppercase pd-small"
|
11
11
|
/>
|
12
|
-
<button v-if="action" @click="emitAction" class="w-max hover-bg-
|
12
|
+
<button v-if="action" @click="emitAction" class="t-medium radius-big uppercase cursor-pointer pd-l-semi pd-r-semi w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main" v-html="action"/>
|
13
13
|
</div>
|
14
14
|
</template>
|
15
15
|
|
@@ -1,123 +1,168 @@
|
|
1
1
|
<template>
|
2
|
-
<canvas ref="refCanvas"
|
2
|
+
<canvas id="glcanvas" ref="refCanvas"/>
|
3
3
|
</template>
|
4
4
|
|
5
5
|
<script setup>
|
6
|
-
import {onMounted, ref} from 'vue'
|
7
|
-
|
8
|
-
|
9
|
-
const
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
6
|
+
import {onMounted, ref} from 'vue'
|
7
|
+
|
8
|
+
onMounted(() => {
|
9
|
+
const canvas = document.getElementById('glcanvas');
|
10
|
+
const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
|
11
|
+
|
12
|
+
const vsSource = `
|
13
|
+
attribute vec4 aVertexPosition;
|
14
|
+
void main() {
|
15
|
+
gl_Position = aVertexPosition;
|
16
|
+
}
|
17
|
+
`;
|
18
|
+
|
19
|
+
// Fragment shader (your GLSL code goes here)
|
20
|
+
const fsSource = `
|
21
|
+
precision mediump float;
|
22
|
+
|
23
|
+
const float PI = 3.14159265358979323846264;
|
24
|
+
const float TWOPI = PI * 2.0;
|
25
|
+
const vec4 WHITE = vec4(0.0, 1.0, 0.533, 1); // Для цвета F6F9F7
|
26
|
+
const vec4 BLACK = vec4(0.0, 0.9, 0.48, 1); // Для цвета EBF2ED
|
27
|
+
|
28
|
+
const int MAX_RINGS = 30;
|
29
|
+
const float RING_DISTANCE = 0.03;
|
30
|
+
const float WAVE_COUNT = 60.0;
|
31
|
+
const float WAVE_DEPTH = 0.08;
|
32
|
+
|
33
|
+
uniform float iTime;
|
34
|
+
uniform vec2 iResolution;
|
35
|
+
|
36
|
+
void main() {
|
37
|
+
float rot = mod(iTime * 0.6, TWOPI);
|
38
|
+
vec2 fragCoord = gl_FragCoord.xy;
|
39
|
+
vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
|
40
|
+
pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
|
41
|
+
float x = pos.x;
|
42
|
+
float y = pos.y;
|
43
|
+
|
44
|
+
bool black = false;
|
45
|
+
float prevRingDist = RING_DISTANCE;
|
46
|
+
for (int i = 0; i < MAX_RINGS; i++) {
|
47
|
+
vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
|
48
|
+
float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
|
49
|
+
float dist = distance(center, pos);
|
50
|
+
dist = pow(dist, 0.3);
|
51
|
+
float ringDist = abs(dist - radius);
|
52
|
+
if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
|
53
|
+
float angle = atan(y - center.y, x - center.x);
|
54
|
+
float thickness = 1.1 * abs(dist - radius) / prevRingDist;
|
55
|
+
float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
|
56
|
+
if (dist > radius) {
|
57
|
+
black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
|
58
|
+
} else {
|
59
|
+
black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
|
60
|
+
}
|
61
|
+
break;
|
62
|
+
}
|
63
|
+
if (dist > radius) break;
|
64
|
+
prevRingDist = ringDist;
|
65
|
+
}
|
66
|
+
|
67
|
+
gl_FragColor = black ? BLACK : WHITE;
|
68
|
+
}
|
69
|
+
|
70
|
+
`;
|
71
|
+
|
72
|
+
function compileShader(gl, type, source) {
|
73
|
+
const shader = gl.createShader(type);
|
74
|
+
gl.shaderSource(shader, source);
|
75
|
+
gl.compileShader(shader);
|
76
|
+
|
77
|
+
// Check for compilation errors
|
78
|
+
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
79
|
+
alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
|
80
|
+
gl.deleteShader(shader);
|
81
|
+
return null;
|
82
|
+
}
|
83
|
+
|
84
|
+
return shader;
|
85
|
+
}
|
86
|
+
|
87
|
+
const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource);
|
88
|
+
const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource);
|
89
|
+
|
90
|
+
// Create the shader program
|
91
|
+
const shaderProgram = gl.createProgram();
|
92
|
+
|
93
|
+
gl.attachShader(shaderProgram, vertexShader);
|
94
|
+
gl.attachShader(shaderProgram, fragmentShader);
|
95
|
+
gl.linkProgram(shaderProgram);
|
96
|
+
|
97
|
+
// Check for linking errors
|
98
|
+
if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
99
|
+
alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram));
|
100
|
+
}
|
101
|
+
|
102
|
+
function resizeCanvasToDisplaySize(canvas) {
|
103
|
+
const width = canvas.clientWidth * window.devicePixelRatio;
|
104
|
+
const height = canvas.clientHeight * window.devicePixelRatio;
|
105
|
+
if (canvas.width !== width || canvas.height !== height) {
|
106
|
+
canvas.width = width;
|
107
|
+
canvas.height = height;
|
108
|
+
return true; // размер изменился
|
109
|
+
}
|
110
|
+
return false; // размер не изменился
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
function render() {
|
115
|
+
if (resizeCanvasToDisplaySize(gl.canvas)) {
|
116
|
+
gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);
|
117
|
+
}
|
118
|
+
gl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear to black, fully opaque
|
119
|
+
gl.clearDepth(1.0); // Clear everything
|
120
|
+
gl.enable(gl.DEPTH_TEST); // Enable depth testing
|
121
|
+
gl.depthFunc(gl.LEQUAL); // Near things obscure far things
|
122
|
+
|
123
|
+
// Clear the canvas before we start drawing on it
|
124
|
+
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
|
125
|
+
|
126
|
+
// Set the shader program
|
127
|
+
gl.useProgram(shaderProgram);
|
128
|
+
|
129
|
+
// Set up geometry, attributes, uniforms here
|
130
|
+
// Create a buffer for the square's positions
|
131
|
+
const positionBuffer = gl.createBuffer();
|
132
|
+
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
133
|
+
|
134
|
+
// Now create an array of positions for the square
|
135
|
+
const positions = [
|
136
|
+
-1.0, 1.0,
|
137
|
+
1.0, 1.0,
|
138
|
+
-1.0, -1.0,
|
139
|
+
1.0, -1.0,
|
140
|
+
];
|
141
|
+
|
142
|
+
// Pass the positions to WebGL
|
143
|
+
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW);
|
144
|
+
|
145
|
+
// Tell WebGL how to pull out the positions from the position buffer
|
146
|
+
const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition');
|
147
|
+
gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0);
|
148
|
+
gl.enableVertexAttribArray(vertexPosition);
|
149
|
+
|
150
|
+
// Set the shader uniforms
|
151
|
+
var timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime');
|
152
|
+
var resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution');
|
153
|
+
|
154
|
+
gl.uniform1f(timeUniformLocation, performance.now() / 3000.0);
|
155
|
+
gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height);
|
156
|
+
|
157
|
+
// Draw the scene
|
158
|
+
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
|
159
|
+
|
160
|
+
// Call render again on the next frame
|
161
|
+
requestAnimationFrame(render);
|
162
|
+
}
|
163
|
+
requestAnimationFrame(render);
|
164
|
+
|
165
|
+
});
|
121
166
|
</script>
|
122
167
|
|
123
168
|
<style scoped>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="embla" ref="emblaNode">
|
3
|
+
<div class="embla__container">
|
4
|
+
|
5
|
+
<div class="embla__slide pd-nano" v-for="(entity, key, index) in entitiesState" :key="key">
|
6
|
+
<transition name="fade" mode="out-in" appear>
|
7
|
+
<!-- <div
|
8
|
+
v-if="!isLoading && entitiesState.length > 0"
|
9
|
+
class="h-100 w-100 radius-big flex-center bg-grey"
|
10
|
+
>
|
11
|
+
<Loader class="pos-relative"/>
|
12
|
+
</div>
|
13
|
+
-->
|
14
|
+
<slot
|
15
|
+
:item="entity"
|
16
|
+
:user="user"
|
17
|
+
></slot>
|
18
|
+
</transition>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</template>
|
24
|
+
|
25
|
+
<style scoped>
|
26
|
+
|
27
|
+
</style>
|
28
|
+
|
29
|
+
<script setup scoped>
|
30
|
+
import { ref, onMounted } from 'vue'
|
31
|
+
import { useRouter } from 'vue-router'
|
32
|
+
import { useI18n } from 'vue-i18n'
|
33
|
+
|
34
|
+
import emblaCarouselVue from 'embla-carousel-vue'
|
35
|
+
import Autoplay from 'embla-carousel-autoplay'
|
36
|
+
|
37
|
+
import Loader from '@pf/src/components/Loader/Loader.vue'
|
38
|
+
|
39
|
+
// Props for customization
|
40
|
+
const props = defineProps({
|
41
|
+
store: Object, // Expect a store object with a 'read' function
|
42
|
+
options: Object, // Options to pass to the store's read function
|
43
|
+
text: Object, // Optional: Custom text for i18n
|
44
|
+
});
|
45
|
+
|
46
|
+
const router = useRouter()
|
47
|
+
|
48
|
+
const { t } = useI18n(props.text || {
|
49
|
+
messages: {
|
50
|
+
en: {
|
51
|
+
title: 'Explore Our Collection',
|
52
|
+
},
|
53
|
+
}
|
54
|
+
})
|
55
|
+
|
56
|
+
const entitiesState = ref([])
|
57
|
+
const isLoading = ref(true);
|
58
|
+
|
59
|
+
|
60
|
+
const autoplayOptions = {
|
61
|
+
delay: 2000,
|
62
|
+
jump: false,
|
63
|
+
stopOnInteraction: false,
|
64
|
+
stopOnMouseEnter: false,
|
65
|
+
stopOnFocusIn: true,
|
66
|
+
stopOnLastSnap: false,
|
67
|
+
rootNode: (emblaRoot) => emblaRoot.parentElement
|
68
|
+
}
|
69
|
+
|
70
|
+
const [emblaNode, emblaApi] = emblaCarouselVue({ loop: true }, [Autoplay(autoplayOptions)])
|
71
|
+
|
72
|
+
const scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);
|
73
|
+
// const onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();
|
74
|
+
const onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollSnap();
|
75
|
+
|
76
|
+
onMounted(async() => {
|
77
|
+
entitiesState.value = await props.store.read({
|
78
|
+
...props.options
|
79
|
+
});
|
80
|
+
|
81
|
+
console.log(entitiesState.value)
|
82
|
+
|
83
|
+
isLoading.value = false;
|
84
|
+
|
85
|
+
onInit(emblaApi);
|
86
|
+
onSelect(emblaApi);
|
87
|
+
|
88
|
+
emblaApi.value.on('reInit', onInit);
|
89
|
+
emblaApi.value.on('reInit', onSelect);
|
90
|
+
emblaApi.value.on('select', onSelect);
|
91
|
+
});
|
92
|
+
</script>
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<template>
|
2
|
+
<section class="pd-thin">
|
3
|
+
<div class="pos-relative o-hidden t-black bg-main pd-big radius-big">
|
4
|
+
<div class="pos-relative z-index-1">
|
5
|
+
<header class="t-center z-index-1 mn-b-big">
|
6
|
+
<h2 class="mn-l-auto mn-r-auto mn-b-medium">Stay Updated with <b>Latest in Cannabis</b></h2>
|
7
|
+
<p class="t-transp p-big">Subscribe to our newsletter for news, insights, and more from the Weeder universe.</p>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="z-index-1 w-100 flex-nowrap flex">
|
11
|
+
|
12
|
+
<!-- v-model:field="store.applications.state.form.data.email" -->
|
13
|
+
<FieldBig
|
14
|
+
:input="email"
|
15
|
+
:typingSpeed="75"
|
16
|
+
:loopTyping="false"
|
17
|
+
:enableTyping="false"
|
18
|
+
placeholder="Please enter your email"
|
19
|
+
action="Subscribe"
|
20
|
+
@update:input="email = $event"
|
21
|
+
@action="sendApplication"
|
22
|
+
class="mn-l-auto mn-r-auto bg-white t-black w-50"
|
23
|
+
/>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div class="w-100 h-100 pos-absolute pos-b-50-negative pos-r-0 z-index-0 grid">
|
28
|
+
<div class="spiral"></div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</div>
|
32
|
+
</section>
|
33
|
+
</template>
|
34
|
+
|
35
|
+
<script setup>
|
36
|
+
import { ref } from 'vue'
|
37
|
+
|
38
|
+
import FieldBig from "@pf/src/components/FieldBig/FieldBig.vue";
|
39
|
+
|
40
|
+
import * as globals from '@pf/src/modules/globals/store/globals.js';
|
41
|
+
import * as applications from '@pf/src/modules/applications/store/applications.js';
|
42
|
+
|
43
|
+
import * as inputsValidation from '@pf/src/modules/middlewares/client/inputs.validation'
|
44
|
+
|
45
|
+
|
46
|
+
let email = ref('')
|
47
|
+
let emailValidation = ref(false)
|
48
|
+
|
49
|
+
async function sendApplication() {
|
50
|
+
try {
|
51
|
+
await inputsValidation.validateInputs(
|
52
|
+
emailValidation,
|
53
|
+
inputsValidation.validateEmail,
|
54
|
+
email.value,
|
55
|
+
'Wrong email'
|
56
|
+
)
|
57
|
+
} catch (error) {
|
58
|
+
globals.setError({
|
59
|
+
response: {
|
60
|
+
status: "Invalid Email",
|
61
|
+
data: {
|
62
|
+
message: "The email address entered is invalid. Please provide a valid email address."
|
63
|
+
}
|
64
|
+
}
|
65
|
+
});
|
66
|
+
return false
|
67
|
+
}
|
68
|
+
|
69
|
+
gtag('event', 'subscribe_newsletter', {
|
70
|
+
'event_category': 'conversion',
|
71
|
+
'event_label': 'Subscribe Newsletter'
|
72
|
+
});
|
73
|
+
|
74
|
+
try {
|
75
|
+
let application = {
|
76
|
+
type: 'newsletter',
|
77
|
+
contacts: {
|
78
|
+
email: email.value
|
79
|
+
}
|
80
|
+
};
|
81
|
+
const response = await applications.create(application);
|
82
|
+
return Promise.resolve(response.data);
|
83
|
+
} catch (error) {
|
84
|
+
console.log(error)
|
85
|
+
globals.setError(error)
|
86
|
+
return Promise.reject(error);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
</script>
|
90
|
+
|
91
|
+
<style lang="scss">
|
92
|
+
.spiral {
|
93
|
+
background-image: url('https://weeder.delivery/spiral.jpg');
|
94
|
+
background-size: cover;
|
95
|
+
width: 100rem;
|
96
|
+
height: 100rem;
|
97
|
+
position: absolute;
|
98
|
+
top: 50%;
|
99
|
+
left: 50%;
|
100
|
+
opacity: 0.03;
|
101
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
102
|
+
transform-origin: center center;
|
103
|
+
animation: spin 5s linear infinite;
|
104
|
+
}
|
105
|
+
|
106
|
+
@keyframes spin {
|
107
|
+
0% {
|
108
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
109
|
+
}
|
110
|
+
100% {
|
111
|
+
transform: translate(-50%, -50%) rotate(360deg);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
</style>
|