@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
@@ -0,0 +1,80 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="howtobuy" class="pd-thin">
|
3
|
+
<section class="t-center bg-black t-white radius-big pd-big pd-t-big pd-b-big">
|
4
|
+
<h2 class="w-max-50r mn-l-auto mn-r-auto mn-b-small" v-html="t('title')"/>
|
5
|
+
|
6
|
+
|
7
|
+
<div class="cols-3 gap-thin">
|
8
|
+
<div
|
9
|
+
v-for="feature in tm('features')"
|
10
|
+
:key="feature.title"
|
11
|
+
class="pd-medium radius-big"
|
12
|
+
>
|
13
|
+
<p class="mn-r-auto mn-l-auto h2 i-extra radius-extra bg-main flex-center flex mn-b-medium">
|
14
|
+
{{ feature.icon }}
|
15
|
+
</p>
|
16
|
+
<h3 class="mn-b-medium">
|
17
|
+
{{ feature.title }}
|
18
|
+
</h3>
|
19
|
+
<p class="t-transp">
|
20
|
+
{{ feature.description }}
|
21
|
+
</p>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
</section>
|
26
|
+
</div>
|
27
|
+
</template>
|
28
|
+
|
29
|
+
|
30
|
+
<script setup>
|
31
|
+
import { useI18n } from 'vue-i18n'
|
32
|
+
|
33
|
+
const props = defineProps({
|
34
|
+
title: String,
|
35
|
+
textData: {
|
36
|
+
type: Object,
|
37
|
+
default: () => ({
|
38
|
+
messages: {
|
39
|
+
en: {
|
40
|
+
title: 'Transform Your View on Smoking with <b class="t-main">Next Industrial Revolution</b>',
|
41
|
+
features: [{
|
42
|
+
icon: '1',
|
43
|
+
title: 'United in Growth',
|
44
|
+
description: 'Weeder thrives on community participation. As an open-source platform, it invites everyone to contribute and shape the evolution of cannabis culture globally.',
|
45
|
+
},{
|
46
|
+
icon: '2',
|
47
|
+
title: 'Trust in Crypto',
|
48
|
+
description: 'Weeder utilizes the power of blockchain technology and smart contracts, building a trust-rich, transparent environment that ensures secure and smooth transactions.',
|
49
|
+
},{
|
50
|
+
icon: '3',
|
51
|
+
title: 'Boosted by AI',
|
52
|
+
description: 'With AI at the core, Weeder enhances understanding of cannabis, creating personalized tools to enrich the user experience and business goals.',
|
53
|
+
}]
|
54
|
+
},
|
55
|
+
ru: {
|
56
|
+
title: 'ะะฐัะธ ะัะตะธะผััะตััะฒะฐ',
|
57
|
+
features: [{
|
58
|
+
icon: '๐ฆ',
|
59
|
+
headline: 'ะะพััะฐะฒะบะฐ ะทะฐ 1 ัะฐั',
|
60
|
+
description: 'ะั ะฟะพะฝะธะผะฐะตะผ, ะบะฐะบ ะฒะฐะถะฝะพ ะดะปั ะบะปะธะตะฝัะพะฒ ะฟะพะปััะธัั ัะพะฒะฐั ะฒ ัะฐะผัะน ะบัะฐัะบะธะน ััะพะบ. ะะพะปััะธัะต ัะฒะพะน ะทะฐะบะฐะท ะฒ ัะตัะตะฝะธะธ ัะฐัะฐ ะฟะพัะปะต ะฟะพะดัะฒะตัะถะดะตะฝะธั!',
|
61
|
+
},{
|
62
|
+
icon: '๐ฌ',
|
63
|
+
headline: 'ะะพะดะดะตัะถะบะฐ 24/7',
|
64
|
+
description: 'ะัะปะธ ั ะฒะฐั ะตััั ะบะฐะบะธะต-ะปะธะฑะพ ะฒะพะฟัะพัั, ะฝะฐัะฐ ัะปัะถะฑะฐ ะฟะพะดะดะตัะถะบะธ ะบะปะธะตะฝัะพะฒ ัะฐะฑะพัะฐะตั ะบััะณะปะพัััะพัะฝะพ ะธ ะฑะตะท ะฒัั
ะพะดะฝัั
. ะั ะผะพะถะตัะต ัะฒัะทะฐัััั ั ะฝะฐะผะธ ะฒ ะปัะฑะพะต ะฒัะตะผั ะฒ Telegram!',
|
65
|
+
},{
|
66
|
+
icon: '๐',
|
67
|
+
headline: 'ะะฐัะฐะฝัะธั ะบะฐัะตััะฒะฐ',
|
68
|
+
description: 'ะะตะฟัะตะฒะทะพะนะดะตะฝะฝัะต ัะตะฝั ะธ ัะฐะผัะต ะดะพัััะฟะฝัะต ะบะฐัะตััะฒะตะฝะฝัะต ัะพะฒะฐัั. ะะพะปััะต ะฝะต ััะฐัััะต ะดะตะฝัะณะธ ะฝะฐ ะดะพัะพะณะธะต ะฝะตะบะฐัะตััะฒะตะฝะฝัะต ะฟัะพะดัะบัั!',
|
69
|
+
}]
|
70
|
+
}
|
71
|
+
}
|
72
|
+
})
|
73
|
+
}
|
74
|
+
})
|
75
|
+
|
76
|
+
const { t, tm } = useI18n(props.textData)
|
77
|
+
</script>
|
78
|
+
|
79
|
+
<style lang="scss">
|
80
|
+
</style>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="bg-black t-white radius-big pd-big">
|
3
3
|
<div class="mn-b-big t-center title">
|
4
4
|
<h2 class="mn-b-semi">{{t('title')}}</h2>
|
5
|
-
<p class="t-transp p-big w-m-60r mn-l-auto mn-r-auto">{{t('subtitle')}}</p>
|
5
|
+
<p v-if="t('subtitle') !== 'subtitle'" class="t-transp p-big w-m-60r mn-l-auto mn-r-auto">{{t('subtitle')}}</p>
|
6
6
|
</div>
|
7
7
|
<div class="cols-1 ">
|
8
8
|
|
@@ -0,0 +1,138 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { useRouter } from 'vue-router'
|
3
|
+
import { useI18n } from 'vue-i18n'
|
4
|
+
|
5
|
+
const props = defineProps({
|
6
|
+
textData: {
|
7
|
+
type: Object,
|
8
|
+
default: () => ({
|
9
|
+
messages: {
|
10
|
+
en: {
|
11
|
+
TITLE: "Smoke Weed Every Day &<b> Get A Slice Of The Pie</b>",
|
12
|
+
DESCRIPTION: "Earn Weeder Token and Get part of the profits of Weeder Delivery. The more tokens you have, the bigger your cut of the profits will be. So what are you waiting for?",
|
13
|
+
ACTION: "Open Marketplace โ",
|
14
|
+
SUBACTION: "Sign Up To Start"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
})
|
18
|
+
}
|
19
|
+
})
|
20
|
+
|
21
|
+
const { t } = useI18n(props.textData)
|
22
|
+
</script>
|
23
|
+
|
24
|
+
|
25
|
+
<template>
|
26
|
+
<div
|
27
|
+
id="heroGovernance"
|
28
|
+
class="pos-relative bg-black o-hidden t-white t-center pd-extra radius-big flex-column flex-center flex"
|
29
|
+
>
|
30
|
+
<div class="sheen h-5r mn-b-small radius-extra o-hidden pos-relative ">
|
31
|
+
<img src="/logo/wdt.svg" class="w-100 h-100">
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<h1
|
35
|
+
class="w-max-35r mn-b-medium"
|
36
|
+
v-html="t('TITLE')"
|
37
|
+
/>
|
38
|
+
|
39
|
+
<p
|
40
|
+
class="w-max-40r mn-b-big t-transp p-big"
|
41
|
+
v-html="t('DESCRIPTION')"
|
42
|
+
/>
|
43
|
+
|
44
|
+
<div
|
45
|
+
class="t-white gap-small cols-2-fit-content"
|
46
|
+
>
|
47
|
+
<router-link
|
48
|
+
:to="{
|
49
|
+
name: 'Sign In'
|
50
|
+
}"
|
51
|
+
class="w-max bg-light t-dark br-light button"
|
52
|
+
v-html="t('SUBACTION')"
|
53
|
+
/>
|
54
|
+
|
55
|
+
<router-link
|
56
|
+
:to="{
|
57
|
+
name: 'Marketplace'
|
58
|
+
}"
|
59
|
+
class="w-max bg-dark t-white button"
|
60
|
+
v-html="t('ACTION')"
|
61
|
+
/>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<div class="w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid ">
|
65
|
+
<div class="grid-lines"></div>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</template>
|
70
|
+
|
71
|
+
<style lang="scss">
|
72
|
+
.sheen:after {
|
73
|
+
content:'';
|
74
|
+
top:0;
|
75
|
+
left: -25%;
|
76
|
+
transform:translateX(100%);
|
77
|
+
width:100%;
|
78
|
+
height:220px;
|
79
|
+
position: absolute;
|
80
|
+
z-index:1;
|
81
|
+
animation: slide 3s infinite;
|
82
|
+
|
83
|
+
/*
|
84
|
+
CSS Gradient - complete browser support from http://www.colorzilla.com/gradient-editor/
|
85
|
+
*/
|
86
|
+
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(128,186,232,0) 99%, rgba(125,185,232,0) 100%); /* FF3.6+ */
|
87
|
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0.8)), color-stop(99%,rgba(128,186,232,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
|
88
|
+
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
|
89
|
+
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
|
90
|
+
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* IE10+ */
|
91
|
+
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(128,186,232,0) 99%,rgba(125,185,232,0) 100%); /* W3C */
|
92
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 */
|
93
|
+
}
|
94
|
+
|
95
|
+
/* animation */
|
96
|
+
|
97
|
+
@keyframes slide {
|
98
|
+
0% {
|
99
|
+
transform:translateX(-00%);
|
100
|
+
opacity: 0;
|
101
|
+
}
|
102
|
+
20% {
|
103
|
+
opacity: 1
|
104
|
+
}
|
105
|
+
80% {
|
106
|
+
opacity: 1
|
107
|
+
}
|
108
|
+
100% {
|
109
|
+
transform:translateX(100%);
|
110
|
+
opacity: 0
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
.grid {
|
116
|
+
perspective: 450px;
|
117
|
+
background-size: cover;
|
118
|
+
}
|
119
|
+
|
120
|
+
.grid-lines {
|
121
|
+
width: 100%;
|
122
|
+
height: 200%;
|
123
|
+
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 0), linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 0);
|
124
|
+
background-size: 45px 30px;
|
125
|
+
background-repeat: repeat;
|
126
|
+
transform-origin: 100% 0 0;
|
127
|
+
animation: play 15s linear infinite;
|
128
|
+
}
|
129
|
+
|
130
|
+
@keyframes play {
|
131
|
+
0% {
|
132
|
+
transform: rotateX(45deg) translateY(-50%);
|
133
|
+
}
|
134
|
+
100% {
|
135
|
+
transform: rotateX(45deg) translateY(0);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
</style>
|
@@ -0,0 +1,108 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { ref } from 'vue';
|
3
|
+
import { useI18n } from 'vue-i18n';
|
4
|
+
|
5
|
+
const props = defineProps({
|
6
|
+
textData: {
|
7
|
+
type: Object,
|
8
|
+
default: () => ({
|
9
|
+
messages: {
|
10
|
+
en: {
|
11
|
+
title: 'Weeder Roadmap',
|
12
|
+
milestones: [{
|
13
|
+
title: 'MVP in Thailand',
|
14
|
+
description: 'The Weeder platform was tested as a minimum viable product (MVP) in Thailand to validate its basic features and gather user feedback. This helped the company make improvements before launching on a larger scale.',
|
15
|
+
date: '2023-02-01',
|
16
|
+
finished: 'true'
|
17
|
+
},{
|
18
|
+
date: '2023-05-01',
|
19
|
+
title: 'Weeder Platform Soft Launch',
|
20
|
+
description: 'A soft version of the Weeder platform will be launched for users to explore and provide feedback. This allows the company to identify any issues and make improvements before the official release.',
|
21
|
+
},{
|
22
|
+
date: '2023-07-01',
|
23
|
+
title: 'IDO',
|
24
|
+
description: 'The Initial DEX Offering (IDO) will launch the Weeder token on a our decentralized platform. It allows the public to purchase Weeder tokens and get involved in the project at an early stage. It can also help establish the initial token price.',
|
25
|
+
},{
|
26
|
+
date: '2023-09-01',
|
27
|
+
title: 'Weeder Platform Official Release',
|
28
|
+
description: 'The Weeder platform will be officially released with dividend features, cashback, and full blockchain integration. This marks the full launch of the platform and allows users to access all its features.',
|
29
|
+
},{
|
30
|
+
date: '2023-11-01',
|
31
|
+
title: 'Weeder Ecosystem Expansion',
|
32
|
+
description: 'The Weeder ecosystem will be expanded by adding support for new countries and enhancing its functionalities. This helps to increase the platforms user base and improve its overall capabilities.',
|
33
|
+
}]
|
34
|
+
}
|
35
|
+
}
|
36
|
+
})
|
37
|
+
}
|
38
|
+
});
|
39
|
+
|
40
|
+
const { t,tm } = useI18n(props.textData);
|
41
|
+
</script>
|
42
|
+
|
43
|
+
<template>
|
44
|
+
<div class="o-hidden bg-black t-white t-left pd-big radius-big">
|
45
|
+
<h2 class="mn-b-big t-center w-100">{{ t('title') }}</h2>
|
46
|
+
|
47
|
+
<div class="gap-thin flex-nowrap flex o-scrolled timeline custom-scroll">
|
48
|
+
<div
|
49
|
+
v-for="(milestone, index) in tm('milestones')"
|
50
|
+
:key="index"
|
51
|
+
class="timeline-item br-white-transp-10 br-1px br-solid pd-big radius-small"
|
52
|
+
>
|
53
|
+
|
54
|
+
<div class="mn-b-semi bg-white-transp-5 timeline-icon">
|
55
|
+
<svg v-if="milestone.finished" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
56
|
+
<g id="24 / basic / check-mark">
|
57
|
+
<path id="icon" fill-rule="evenodd" clip-rule="evenodd" d="M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z" fill="rgb(var(--main))"/>
|
58
|
+
</g>
|
59
|
+
</svg>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div class="w-100 timeline-content">
|
63
|
+
<h3 class="mn-b-small">{{ t(milestone.title) }}</h3>
|
64
|
+
<p class="uppercase mn-b-semi t-main t-semi date">{{ milestone.date }}</p>
|
65
|
+
<p class="t-transp w-100">{{ t(milestone.description) }}</p>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</template>
|
71
|
+
|
72
|
+
<style lang="scss" scoped>
|
73
|
+
.timeline {
|
74
|
+
.timeline-item {
|
75
|
+
min-width: 32rem;
|
76
|
+
}
|
77
|
+
|
78
|
+
.timeline-icon {
|
79
|
+
border-radius: 100%;
|
80
|
+
width: 3rem;
|
81
|
+
height: 3rem;
|
82
|
+
display: flex;
|
83
|
+
align-items: center;
|
84
|
+
justify-content: center;
|
85
|
+
|
86
|
+
|
87
|
+
img {
|
88
|
+
width: 1.5rem;
|
89
|
+
height: 1.5rem;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
.custom-scroll {
|
95
|
+
overflow-x: scroll;
|
96
|
+
scrollbar-width: none; /* Hide scrollbar for Firefox */
|
97
|
+
-ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
|
98
|
+
display: -webkit-box; /* Fix for Safari */
|
99
|
+
display: -webkit-flex; /* Fix for Safari */
|
100
|
+
display: -ms-flexbox;
|
101
|
+
display: flex;
|
102
|
+
}
|
103
|
+
|
104
|
+
.custom-scroll::-webkit-scrollbar {
|
105
|
+
width: 0px; /* Hide scrollbar for Chrome and Safari */
|
106
|
+
height: 0px;
|
107
|
+
}
|
108
|
+
</style>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<template>
|
2
2
|
<div style="min-height: 100%;" class="h-min-100 pd-thin">
|
3
|
-
<header class="mn-b-thin radius-big bg-
|
3
|
+
<header class="mn-b-thin radius-big bg-main pd-medium flex-v-center t-left flex-nowrap flex">
|
4
4
|
<h2 class="t-left">
|
5
5
|
<span class="">Weed in </span>
|
6
6
|
|
7
|
-
<span @click="a => { store.globals.state.isOpenLocationPopup = true }" v-if="localPosition.city || localPosition.state || localPosition.country" class="t-semi t-
|
7
|
+
<span @click="a => { store.globals.state.isOpenLocationPopup = true }" v-if="localPosition.city || localPosition.state || localPosition.country" class="t-semi t-black cursor-pointer hover-t-underline">
|
8
8
|
<span v-if="localPosition.city">{{localPosition.city}}, </span>
|
9
9
|
<span v-if="localPosition.state">{{localPosition.state}}, </span>
|
10
10
|
<span v-if="localPosition.country">{{localPosition.country}}</span>
|
@@ -3,7 +3,11 @@
|
|
3
3
|
<h3 class="pd-medium">Tracking History</h3>
|
4
4
|
<div v-for="status in statuses" :key="status.value" class="w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex">
|
5
5
|
<div class="flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small">
|
6
|
-
|
6
|
+
|
7
|
+
<IconCheckmark
|
8
|
+
v-if="isStatusInHistory(status.value)"
|
9
|
+
class="i-medium"
|
10
|
+
/>
|
7
11
|
</div>
|
8
12
|
<p class="h4 w-8r">{{status.name}}</p>
|
9
13
|
<button v-if="edit" :disabled="!isNextPossibleStatus(status.value)" @click="setStatus(status)" class="mn-l-auto bg-main button radius-big">Set status</button>
|
@@ -14,6 +18,8 @@
|
|
14
18
|
<script setup>
|
15
19
|
import { ref, computed } from 'vue';
|
16
20
|
|
21
|
+
import IconCheckmark from '@pf/src/modules/icons/navigation/IconCheckmark.vue'
|
22
|
+
|
17
23
|
const props = defineProps({
|
18
24
|
statusHistory: {
|
19
25
|
type: Array
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div v-if="order && orderOrganization" class="pd-
|
2
|
+
<div v-if="order && orderOrganization" class="pd-thin">
|
3
3
|
|
4
4
|
|
5
5
|
|
@@ -167,7 +167,7 @@
|
|
167
167
|
<div class="bg-grey radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100">
|
168
168
|
<h3 class="mn-b-small">Order Summary</h3>
|
169
169
|
|
170
|
-
<ul class="mn-b-semi">
|
170
|
+
<ul class="flex gap-thin flex-column mn-b-semi">
|
171
171
|
<CardOrderItem
|
172
172
|
v-for="(product, index) in orderProducts" :key="product._id"
|
173
173
|
:editable="false"
|
@@ -197,7 +197,7 @@
|
|
197
197
|
route.name === 'Order Status' ? order.user?.name || 'User' : 'Weeder Support'
|
198
198
|
"
|
199
199
|
:chatID="order._id"
|
200
|
-
class="
|
200
|
+
class="radius-semi bg-white o-hidden"
|
201
201
|
/>
|
202
202
|
|
203
203
|
</div>
|
@@ -244,7 +244,6 @@
|
|
244
244
|
|
245
245
|
})
|
246
246
|
|
247
|
-
|
248
247
|
let cartTotalPrice = computed(() => {
|
249
248
|
return Number(order.value.positions.reduce((total, product) => {
|
250
249
|
return total + product.price * product.quantity;
|
@@ -16,10 +16,10 @@
|
|
16
16
|
class="h-4r w-4r"
|
17
17
|
/>
|
18
18
|
|
19
|
-
<div class="pos-relative w-100 flex-child-1 flex-child mn-l-
|
19
|
+
<div class="pos-relative w-100 flex-h-center flex flex-column flex-child-1 flex-child mn-l-thin w-100">
|
20
20
|
|
21
21
|
<!-- <Text :text="organization.profile.name ? organization.profile.name : ''" :maxLen="18" class="h3 d-block"/> -->
|
22
|
-
<p class="
|
22
|
+
<p class="h4 t-truncate">{{organization.profile.name}}</p>
|
23
23
|
<!-- RATING -->
|
24
24
|
<!-- <div v-if="showRating && organization.rating" class="w-max star-container flex-v-center flex">
|
25
25
|
<img
|
@@ -38,8 +38,8 @@
|
|
38
38
|
class="pos-relative p-small"
|
39
39
|
/>
|
40
40
|
|
41
|
-
<div v-if="showFollowers">
|
42
|
-
<p class="mn-b-thin">{{organization.numberOfSubscribers}} followers</p>
|
41
|
+
<div v-if="showFollowers" class="flex-center gap-thin pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max">
|
42
|
+
<p class="mn-t-thin mn-b-thin">{{organization.numberOfSubscribers}} followers</p>
|
43
43
|
|
44
44
|
<ButtonToggleMembership
|
45
45
|
v-if="
|
@@ -51,9 +51,9 @@
|
|
51
51
|
:role="'subscriber'"
|
52
52
|
:target="organization._id"
|
53
53
|
:status="organization.isSubscriber"
|
54
|
-
:text="{create: '
|
54
|
+
:text="{create: '+', remove: '-'}"
|
55
55
|
@updateMembership="event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')"
|
56
|
-
class="
|
56
|
+
class="i-semi"
|
57
57
|
/>
|
58
58
|
</div>
|
59
59
|
|
@@ -191,7 +191,7 @@
|
|
191
191
|
const router = useRouter()
|
192
192
|
const route = useRoute()
|
193
193
|
// Accesing state
|
194
|
-
let tab = route.query.tab ? route.query.tab : '
|
194
|
+
let tab = route.query.tab ? route.query.tab : 'products';
|
195
195
|
|
196
196
|
const organizationData = ref(null)
|
197
197
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<template>
|
2
2
|
<transition name="slide-fade">
|
3
|
-
<section class="
|
3
|
+
<section class="flex-center flex flex-column t-center pd-medium radius-big bg-grey">
|
4
4
|
|
5
5
|
<Dropdown
|
6
6
|
v-if="user._id !== organization.owner"
|
7
|
-
:label="'
|
7
|
+
:label="{ component: IconEllipsis, class: 'i-regular t-transp' }"
|
8
8
|
:align="'right'"
|
9
|
-
class="cursor-pointer pos-absolute pos-r-
|
9
|
+
class="cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra "
|
10
10
|
>
|
11
11
|
<section
|
12
12
|
class="bg-black pd-thin radius-small"
|
@@ -34,7 +34,7 @@
|
|
34
34
|
:status="organization.isBlocked"
|
35
35
|
:text="{create: 'Block', remove: 'Unblock'}"
|
36
36
|
@updateMembership="event => handleMembershipUpdate(event, 'isBlocked')"
|
37
|
-
class="t-white
|
37
|
+
class="t-white w-100 mn-t-thin bg-red"
|
38
38
|
/>
|
39
39
|
</section>
|
40
40
|
</Dropdown>
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<img
|
54
54
|
v-if="organization.profile.photo"
|
55
55
|
:src="(FILE_SERVER_URL || '') + organization.profile.photo"
|
56
|
-
class="radius-big bg-grey flex-center flex mn-b-small
|
56
|
+
class="radius-big bg-grey flex-center flex mn-b-small w-8r"
|
57
57
|
/>
|
58
58
|
|
59
59
|
<PlaceholderOrganizationPic
|
@@ -61,48 +61,45 @@
|
|
61
61
|
class="radius-medium mn-b-small i-extra"
|
62
62
|
/>
|
63
63
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
64
|
+
<h1
|
65
|
+
class="mn-b-thin"
|
66
|
+
>
|
67
|
+
{{ organization.profile.name }}
|
68
|
+
</h1>
|
69
|
+
|
70
|
+
<div class="flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max">
|
71
|
+
<IconFollowing class="i-medium mn-r-micro t-transp"/>
|
72
|
+
|
73
|
+
<p class="mn-t-thin p-medium t-medium uppercase mn-b-thin">{{organization.numberOfSubscribers}} followers</p>
|
74
|
+
|
75
|
+
<ButtonToggleMembership
|
76
|
+
v-if="
|
77
|
+
user._id
|
78
|
+
&& route.params._id
|
79
|
+
&& route.params._id !== user._id
|
80
|
+
&& organization.owner !== user._id
|
81
|
+
"
|
82
|
+
:user="user._id"
|
83
|
+
:type="'organization'"
|
84
|
+
:role="'subscriber'"
|
85
|
+
:target="organization._id"
|
86
|
+
:status="organization.isSubscriber"
|
87
|
+
:text="{create: '+', remove: '-'}"
|
88
|
+
@updateMembership="event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')"
|
89
|
+
class=" mn-l-thin p-medium t-medium radius-extra i-semi"
|
90
|
+
/>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<p class="w-max-50r mn-t-regular mn-b-medium p-big">
|
94
|
+
<Text :text="organization.profile.description || ''" :maxLen="240" />
|
95
|
+
</p>
|
96
|
+
|
97
|
+
<Chips
|
77
98
|
v-if="organization.profile?.tags?.length > 0"
|
78
99
|
:chips="organization.profile.tags"
|
79
|
-
class="
|
100
|
+
class="p-medium"
|
80
101
|
/>
|
81
102
|
|
82
|
-
<p
|
83
|
-
class="t-semi mn-b-small"
|
84
|
-
>
|
85
|
-
<!-- ๐ 3 212 likes ยท -->
|
86
|
-
<!-- ๐ฌ 342 comments ยท -->
|
87
|
-
๐จโ๐จโ๐งโ๐ง {{organization.numberOfSubscribers}} followers
|
88
|
-
</p>
|
89
|
-
|
90
|
-
<ButtonToggleMembership
|
91
|
-
v-if="
|
92
|
-
user._id
|
93
|
-
&& route.params._id
|
94
|
-
&& route.params._id !== user._id
|
95
|
-
&& organization.owner !== user._id
|
96
|
-
"
|
97
|
-
:user="user._id"
|
98
|
-
:type="'organization'"
|
99
|
-
:role="'subscriber'"
|
100
|
-
:target="organization._id"
|
101
|
-
:status="organization.isSubscriber"
|
102
|
-
:text="{create: 'Follow', remove: 'Unfollow'}"
|
103
|
-
@updateMembership="event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')"
|
104
|
-
class="w-min mn-b-medium mn-r-auto mn-l-auto"
|
105
|
-
/>
|
106
103
|
|
107
104
|
<h4
|
108
105
|
v-if="Object.values(organization.socials).some(value => value)"
|
@@ -148,7 +145,9 @@
|
|
148
145
|
import Text from '@pf/src/components/Text/Text.vue'
|
149
146
|
import Chips from '@pf/src/components/Chips/Chips.vue'
|
150
147
|
// Icons
|
148
|
+
import IconFollowing from '@pf/src/modules/icons/entities/IconFollowing.vue'
|
151
149
|
import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'
|
150
|
+
import IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'
|
152
151
|
import PlaceholderOrganizationPic from '@pf/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'
|
153
152
|
// Org Module
|
154
153
|
import ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'
|
@@ -14,8 +14,8 @@
|
|
14
14
|
:key="organization._id"
|
15
15
|
:organization="organization"
|
16
16
|
:user="auth.state.user"
|
17
|
-
|
18
|
-
|
17
|
+
@updateMembership="handleMembershipUpdate"
|
18
|
+
class="w-max-20r radius-big"
|
19
19
|
/>
|
20
20
|
</div>
|
21
21
|
</div>
|
@@ -35,9 +35,8 @@
|
|
35
35
|
onMounted(async () => {
|
36
36
|
publics.value = await organization.actions.read({
|
37
37
|
user: auth.state.user._id,
|
38
|
-
|
38
|
+
sortParam: "profile.tags",
|
39
39
|
limit: 10,
|
40
|
-
types: ['public']
|
41
40
|
});
|
42
41
|
});
|
43
42
|
|