@ozdao/prometheus-framework 0.1.99 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
- 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 +12 -12
- 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 +15 -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 +8 -8
- 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 +14 -14
- 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 +14 -14
- 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 +9 -9
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
- 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/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
- 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 +1 -1
- 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 +10 -10
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
- 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 +8 -8
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
- 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 +20 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +11 -11
- 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 +18 -18
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
- 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 +10 -10
- 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 +13 -13
- package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
- 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 +3 -3
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
- 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 +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
- 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 +5 -5
- 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 +13 -13
- 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 +7 -7
- 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 +5 -5
- 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 +14 -14
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
- 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 +5 -5
- 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 +5 -5
- 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 +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
- 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 +6 -6
- 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 +18 -18
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.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 +8 -8
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/EditImages/EditImages.vue +3 -3
- package/src/components/EmptyState/EmptyState.vue +2 -2
- package/src/components/Field/Field.svlt +1 -1
- package/src/components/Field/Field.vue +1 -1
- package/src/components/FieldTags/BlockTags.vue +4 -4
- package/src/components/Footer/Footer.vue +8 -8
- package/src/components/LocationSelection/LocationSelection.vue +4 -4
- package/src/components/Search/Search.vue +3 -3
- package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
- package/src/configurator/components/pages/Styles.vue +3 -3
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
- package/src/modules/auth/components/pages/Invite.vue +6 -6
- package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
- package/src/modules/auth/components/pages/SignIn.vue +11 -11
- package/src/modules/auth/components/pages/SignUp.vue +11 -11
- package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
- package/src/modules/backoffice/components/admin/Categories.vue +2 -2
- package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
- package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
- package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/User.vue +6 -6
- package/src/modules/backoffice/components/admin/Users.vue +4 -4
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +4 -4
- package/src/modules/community/components/pages/Community.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
- package/src/modules/community/components/sections/Comments.vue +5 -5
- package/src/modules/community/components/sections/Feed.vue +2 -2
- package/src/modules/community/components/sections/JoinUs.vue +2 -2
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
- package/src/modules/constructor/components/elements/Audio.vue +2 -2
- package/src/modules/constructor/components/elements/Bullets.vue +1 -1
- package/src/modules/constructor/components/elements/Caption.vue +1 -1
- package/src/modules/constructor/components/elements/Embed.vue +2 -2
- package/src/modules/constructor/components/elements/H2.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +19 -5
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +4 -4
- package/src/modules/events/components/blocks/CardEvent.vue +5 -5
- package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +12 -12
- package/src/modules/events/components/pages/Event.vue +4 -4
- package/src/modules/events/components/pages/Events.vue +1 -1
- package/src/modules/events/components/sections/Feed.vue +2 -2
- package/src/modules/events/components/sections/List.vue +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
- package/src/modules/globals/components/sections/Feed.vue +1 -1
- package/src/modules/landing/components/sections/MobileApp.vue +7 -7
- package/src/modules/legal/components/pages/Legal.vue +5 -5
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
- package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
- package/src/modules/orders/components/blocks/Positions.vue +8 -8
- package/src/modules/orders/components/pages/EditOrder.vue +19 -19
- package/src/modules/orders/components/pages/Favorites.vue +2 -2
- package/src/modules/orders/components/pages/Order.vue +5 -5
- package/src/modules/orders/components/pages/Orders.vue +5 -5
- package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
- package/src/modules/orders/components/partials/ShopCart.vue +3 -3
- package/src/modules/orders/components/sections/Form.vue +12 -12
- package/src/modules/orders/components/sections/Succes.vue +4 -4
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
- package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
- package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
- package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +6 -6
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/pages/Organization.vue +5 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
- package/src/modules/organizations/components/pages/Organizations.vue +2 -2
- package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
- package/src/modules/organizations/components/sections/Documents.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
- package/src/modules/organizations/components/sections/MembersList.vue +2 -2
- package/src/modules/organizations/components/sections/Unit.vue +12 -12
- package/src/modules/payments/components/pages/Payments.vue +3 -3
- package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
- package/src/modules/products/components/blocks/CardProduct.vue +3 -3
- package/src/modules/products/components/blocks/EditCategories.vue +4 -4
- package/src/modules/products/components/blocks/EditFilters.vue +4 -4
- package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
- package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
- package/src/modules/products/components/pages/Leftovers.vue +5 -5
- package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
- package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
- package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
- package/src/modules/products/components/pages/ProductEdit.vue +5 -5
- package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
- package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
- package/src/modules/products/components/sections/EditModifications.vue +8 -8
- package/src/modules/products/components/sections/EditParameters.vue +4 -4
- package/src/modules/products/components/sections/EditProductImages.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
- package/src/modules/products/components/sections/FilterProducts.vue +9 -9
- package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
- package/src/modules/products/components/sections/PopularProducts.vue +1 -1
- package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
- package/src/modules/products/components/sections/SectionProduct.vue +6 -6
- package/src/modules/products/components/sections/SortProducts.vue +1 -1
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/reports/components/sections/FormReport.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +3 -3
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
- package/src/modules/spots/components/sections/Feed.vue +2 -2
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/pages/Profile.vue +13 -13
- package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
- package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
- package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
- package/src/modules/wallet/components/pages/Wallet.vue +17 -17
- package/src/styles/base/all.scss +83 -324
- package/src/styles/base/border-radius.scss +47 -0
- package/src/styles/base/height.scss +60 -0
- package/src/styles/base/scrolling.scss +8 -8
- package/src/styles/base/width.scss +2 -0
- package/src/styles/config.scss +153 -51
- package/src/styles/responsive.scss +2 -2
package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js
CHANGED
@@ -2,12 +2,12 @@ import { reactive as h, toRefs as v, ref as o, computed as k, openBlock as t, cr
|
|
2
2
|
import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
|
3
3
|
import { useRouter as x, useRoute as g } from "vue-router";
|
4
4
|
import "./EditArray.vue2.js";
|
5
|
-
const y = { class: "w-100" },
|
5
|
+
const y = { class: "w-100" }, b = { class: "flex" }, S = { class: "mn-b-regular" }, C = { class: "flex-column flex-wrap block" }, E = {
|
6
6
|
key: 0,
|
7
7
|
class: "w-100"
|
8
8
|
}, R = { class: "w-100 flex-center flex-nowrap flex" }, A = { class: "mn-r-regular w-100" }, B = ["onClick"], F = {
|
9
9
|
key: 0,
|
10
|
-
class: "mn-t-small mn-small w-100"
|
10
|
+
class: "mn-t-small mn-b-small w-100"
|
11
11
|
}, $ = {
|
12
12
|
__name: "EditArray",
|
13
13
|
props: {
|
@@ -30,8 +30,8 @@ const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }
|
|
30
30
|
store.commit("leftovers/deleteItemFromLeftover", a);
|
31
31
|
}
|
32
32
|
return (a, L) => (t(), l("div", y, [
|
33
|
-
e("div",
|
34
|
-
e("h3",
|
33
|
+
e("div", b, [
|
34
|
+
e("h3", S, i(s.name), 1)
|
35
35
|
]),
|
36
36
|
e("ul", C, [
|
37
37
|
s.items.length < 1 ? (t(), l("span", E, "Вы еще не добавили позиции")) : m("", !0),
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l={class:"mn-big radius-medium pd-big bg-white"},a={class:"mn-regular"},c={class:"mn-small t-transp p-medium"},o={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String,default:"Создать организацию"},callback:{type:Function,default:()=>{}}},setup(e){return(s,n)=>(t.openBlock(),t.createElementBlock("section",l,[t.createElementVNode("h3",a,t.toDisplayString(e.title),1),t.createElementVNode("p",c,t.toDisplayString(e.description),1),t.createElementVNode("button",{onClick:n[0]||(n[0]=(...i)=>e.callback&&e.callback(...i)),class:"t-white bg-second w-100 button"},t.toDisplayString(e.action),1)]))}};exports.default=o;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l={class:"mn-b-big radius-medium pd-big bg-white"},a={class:"mn-b-regular"},c={class:"mn-b-small t-transp p-medium"},o={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String,default:"Создать организацию"},callback:{type:Function,default:()=>{}}},setup(e){return(s,n)=>(t.openBlock(),t.createElementBlock("section",l,[t.createElementVNode("h3",a,t.toDisplayString(e.title),1),t.createElementVNode("p",c,t.toDisplayString(e.description),1),t.createElementVNode("button",{onClick:n[0]||(n[0]=(...i)=>e.callback&&e.callback(...i)),class:"t-white bg-second w-100 button"},t.toDisplayString(e.action),1)]))}};exports.default=o;
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as c, createElementBlock as l, createElementVNode as e, toDisplayString as n } from "vue";
|
2
|
-
const s = { class: "mn-big radius-medium pd-big bg-white" }, o = { class: "mn-regular" }, d = { class: "mn-small t-transp p-medium" }, u = {
|
2
|
+
const s = { class: "mn-b-big radius-medium pd-big bg-white" }, o = { class: "mn-b-regular" }, d = { class: "mn-b-small t-transp p-medium" }, u = {
|
3
3
|
__name: "EmptyState",
|
4
4
|
props: {
|
5
5
|
title: {
|
package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"w-100 mn-small star-container flex-v-center flex"},r={class:"p-big t-semi mn-r-small"},s=e.createElementVNode("path",{fill:"#00FF88",d:"M62.2406 5.85971L75.413 32.6098L105.203 36.8654C110.472 37.676 112.498 44.3636 108.648 48.0113L87.1668 68.8844L92.2331 98.2689C93.2464 103.741 87.5721 107.591 82.9111 105.159L56.3637 91.3788L29.8163 105.159C25.1553 107.794 19.4811 103.741 20.4944 98.4716L25.5607 68.8844L4.07956 48.0113C0.22917 44.3636 2.25569 37.676 7.52464 36.8654L37.3145 32.6098L50.4868 5.85971C52.9186 0.996063 59.8088 0.996063 62.2406 5.85971Z"},null,-1),a=[s],o={class:""},i={__name:"Rating",props:{rating:{type:Number,required:!0},amount:{type:Number,required:!0}},setup(t){return(c,m)=>(e.openBlock(),e.createElementBlock("section",null,[e.createElementVNode("div",l,[e.createElementVNode("span",r,e.toDisplayString(t.rating),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("svg",{class:e.normalizeClass(["i-semi mn-r-small",{"t-transp":n>t.rating}]),width:"113",height:"108",viewBox:"0 0 113 108",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,2)),64))]),e.createElementVNode("p",o,"Based on "+e.toDisplayString(t.amount)+" reviews",1)]))}};exports.default=i;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"w-100 mn-b-small star-container flex-v-center flex"},r={class:"p-big t-semi mn-r-small"},s=e.createElementVNode("path",{fill:"#00FF88",d:"M62.2406 5.85971L75.413 32.6098L105.203 36.8654C110.472 37.676 112.498 44.3636 108.648 48.0113L87.1668 68.8844L92.2331 98.2689C93.2464 103.741 87.5721 107.591 82.9111 105.159L56.3637 91.3788L29.8163 105.159C25.1553 107.794 19.4811 103.741 20.4944 98.4716L25.5607 68.8844L4.07956 48.0113C0.22917 44.3636 2.25569 37.676 7.52464 36.8654L37.3145 32.6098L50.4868 5.85971C52.9186 0.996063 59.8088 0.996063 62.2406 5.85971Z"},null,-1),a=[s],o={class:""},i={__name:"Rating",props:{rating:{type:Number,required:!0},amount:{type:Number,required:!0}},setup(t){return(c,m)=>(e.openBlock(),e.createElementBlock("section",null,[e.createElementVNode("div",l,[e.createElementVNode("span",r,e.toDisplayString(t.rating),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("svg",{class:e.normalizeClass(["i-semi mn-r-small",{"t-transp":n>t.rating}]),width:"113",height:"108",viewBox:"0 0 113 108",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,2)),64))]),e.createElementVNode("p",o,"Based on "+e.toDisplayString(t.amount)+" reviews",1)]))}};exports.default=i;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as n, createElementBlock as s, createElementVNode as e, toDisplayString as r, Fragment as a, renderList as i, normalizeClass as o } from "vue";
|
2
|
-
const c = { class: "w-100 mn-small star-container flex-v-center flex" }, m = { class: "p-big t-semi mn-r-small" }, u = /* @__PURE__ */ e("path", {
|
2
|
+
const c = { class: "w-100 mn-b-small star-container flex-v-center flex" }, m = { class: "p-big t-semi mn-r-small" }, u = /* @__PURE__ */ e("path", {
|
3
3
|
fill: "#00FF88",
|
4
4
|
d: "M62.2406 5.85971L75.413 32.6098L105.203 36.8654C110.472 37.676 112.498 44.3636 108.648 48.0113L87.1668 68.8844L92.2331 98.2689C93.2464 103.741 87.5721 107.591 82.9111 105.159L56.3637 91.3788L29.8163 105.159C25.1553 107.794 19.4811 103.741 20.4944 98.4716L25.5607 68.8844L4.07956 48.0113C0.22917 44.3636 2.25569 37.676 7.52464 36.8654L37.3145 32.6098L50.4868 5.85971C52.9186 0.996063 59.8088 0.996063 62.2406 5.85971Z"
|
5
5
|
}, null, -1), d = [
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../../spots/store/spots.cjs"),p={class:"for-transition w-100"},_={id:"dash",class:"pd-medium bg-grey"},h={class:"mn-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-small"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../../spots/store/spots.cjs"),p={class:"for-transition w-100"},_={id:"dash",class:"pd-medium bg-grey"},h={class:"mn-b-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-b-small"},b={class:"w-100"},g=e.createElementVNode("path",{d:"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",fill:"black"},null,-1),L=[g],E=["innerHTML"],B={class:"mn-b-medium radius-medium pd-semi bg-white"},C=e.createElementVNode("h3",{class:"mn-b-regular"},"Команда",-1),w={key:0},N={class:"mn-b-medium radius-medium pd-semi bg-white"},V=e.createElementVNode("h3",{class:"mn-b-regular"},"Подотделы",-1),v={key:0},f={__name:"Department",async setup(y){let r,l;i.useRouter();const c=i.useRoute();return[r,l]=e.withAsyncContext(()=>t.actions.readOne(c.params._id)),await r,l(),(s,a)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",_,[e.createElementVNode("section",h,[e.createElementVNode("div",k,[e.createElementVNode("h2",b,e.toDisplayString(t.state.department.name),1),(e.openBlock(),e.createElementBlock("svg",{onClick:a[0]||(a[0]=n=>s.$router.push(`/app/organization/departments/${t.state.department._id}/edit`)),class:"i-regular t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L))]),e.createElementVNode("p",{class:"t-transp p-big",innerHTML:t.state.department.description},null,8,E)]),e.createElementVNode("section",B,[C,e.createElementVNode("ul",null,[t.state.department.members.length<1?(e.openBlock(),e.createElementBlock("li",w,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(n,o)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:o,user:n.user,position:n.position,onClick:d=>s.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),e.createElementVNode("section",N,[V,e.createElementVNode("ul",null,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",v,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(n,o)=>(e.openBlock(),e.createBlock(m.default,{onClick:d=>s.$router.push(`/app/organization/departments/${n._id}`),key:o,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])])])]))}};exports.default=f;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { withAsyncContext as
|
2
|
-
import { useRouter as
|
1
|
+
import { withAsyncContext as b, openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as g, createCommentVNode as m, Fragment as p, renderList as u, createBlock as c } from "vue";
|
2
|
+
import { useRouter as L, useRoute as C } from "vue-router";
|
3
3
|
import "../../../../components/Spoiler/Spoiler.vue.js";
|
4
4
|
import w from "../blocks/DepartmentSub.vue.js";
|
5
5
|
import f from "../blocks/User.vue.js";
|
@@ -7,22 +7,22 @@ import { actions as k, state as n } from "../../../spots/store/spots.js";
|
|
7
7
|
const y = { class: "for-transition w-100" }, v = {
|
8
8
|
id: "dash",
|
9
9
|
class: "pd-medium bg-grey"
|
10
|
-
}, $ = { class: "mn-medium radius-medium pd-semi bg-white" }, M = { class: "flex-nowrap flex mn-small" }, x = { class: "w-100" }, B = /* @__PURE__ */ e("path", {
|
10
|
+
}, $ = { class: "mn-b-medium radius-medium pd-semi bg-white" }, M = { class: "flex-nowrap flex mn-b-small" }, x = { class: "w-100" }, B = /* @__PURE__ */ e("path", {
|
11
11
|
d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
|
12
12
|
fill: "black"
|
13
13
|
}, null, -1), Z = [
|
14
14
|
B
|
15
|
-
], D = ["innerHTML"], H = { class: "mn-medium radius-medium pd-semi bg-white" }, z = /* @__PURE__ */ e("h3", { class: "mn-regular" }, "Команда", -1), E = { key: 0 }, N = { class: "mn-medium radius-medium pd-semi bg-white" }, R = /* @__PURE__ */ e("h3", { class: "mn-regular" }, "Подотделы", -1), S = { key: 0 }, q = {
|
15
|
+
], D = ["innerHTML"], H = { class: "mn-b-medium radius-medium pd-semi bg-white" }, z = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Команда", -1), E = { key: 0 }, N = { class: "mn-b-medium radius-medium pd-semi bg-white" }, R = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Подотделы", -1), S = { key: 0 }, q = {
|
16
16
|
__name: "Department",
|
17
17
|
async setup(T) {
|
18
18
|
let a, l;
|
19
|
-
|
19
|
+
L();
|
20
20
|
const _ = C();
|
21
|
-
return [a, l] =
|
21
|
+
return [a, l] = b(() => k.readOne(_.params._id)), await a, l(), (i, d) => (t(), r("div", y, [
|
22
22
|
e("div", v, [
|
23
23
|
e("section", $, [
|
24
24
|
e("div", M, [
|
25
|
-
e("h2", x,
|
25
|
+
e("h2", x, g(n.department.name), 1),
|
26
26
|
(t(), r("svg", {
|
27
27
|
onClick: d[0] || (d[0] = (s) => i.$router.push(`/app/organization/departments/${n.department._id}/edit`)),
|
28
28
|
class: "i-regular t-transp",
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),p=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),c=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-d4f32aeb"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-b-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please the available delivery options:",-1)),T={class:"mn-b-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-b-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await c.actions.read(d.params.department),e.ref(c.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function b(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function _(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(p.default,{submit:h,callback:b},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-b-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-b-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(p.default,{submit:_,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-d4f32aeb"]]);exports.default=H;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js
CHANGED
@@ -21,13 +21,13 @@ import "../blocks/User.vue2.js";
|
|
21
21
|
import { state as e, actions as m } from "../../../spots/store/spots.js";
|
22
22
|
import { actions as K, state as O } from "../../store/memberships.js";
|
23
23
|
import "./DepartmentEdit.vue2.js";
|
24
|
-
const r = (p) => (k("data-v-
|
24
|
+
const r = (p) => (k("data-v-d4f32aeb"), p = p(), D(), p), C = { class: "for-transition w-100" }, $ = { class: "pd-b-zero pd-t-zero pd-thin" }, G = { class: "pd-thin" }, L = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, T = {
|
25
25
|
key: 0,
|
26
26
|
class: "mn-r-auto"
|
27
27
|
}, B = {
|
28
28
|
key: 1,
|
29
29
|
class: "mn-r-auto"
|
30
|
-
}, M = { class: "flex-nowrap flex pd-thin" }, V = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, R = { class: "flex-stretch flex-column flex" }, Y = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, F = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Profile", -1)), j = { class: "radius-small flex-nowrap flex" }, q = { class: "w-100 flex-child-grow-1 flex-child" }, H = { class: "bg-grey pd-medium o-hidden radius-big" }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Details", -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-small" }, "Please the available delivery options:", -1)), W = { class: "mn-medium flex-nowrap flex" }, X = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-small" }, "Please select the available payment methods:", -1)), Z = { class: "flex-nowrap flex" }, ee = { class: "bg-grey pd-medium o-hidden radius-big" }, ae = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Location", -1)), te = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "mn-small p-medium" }, "Or choose on map:", -1)), se = { class: "flex-nowrap flex pd-thin" }, ie = {
|
30
|
+
}, M = { class: "flex-nowrap flex pd-thin" }, V = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, R = { class: "flex-stretch flex-column flex" }, Y = { class: "mn-b-thin bg-grey pd-medium o-hidden radius-big" }, F = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Profile", -1)), j = { class: "radius-small flex-nowrap flex" }, q = { class: "w-100 flex-child-grow-1 flex-child" }, H = { class: "bg-grey pd-medium o-hidden radius-big" }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Details", -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1)), W = { class: "mn-b-medium flex-nowrap flex" }, X = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1)), Z = { class: "flex-nowrap flex" }, ee = { class: "bg-grey pd-medium o-hidden radius-big" }, ae = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Location", -1)), te = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "mn-b-small p-medium" }, "Or choose on map:", -1)), se = { class: "flex-nowrap flex pd-thin" }, ie = {
|
31
31
|
__name: "DepartmentEdit",
|
32
32
|
setup(p) {
|
33
33
|
const v = S(), o = E();
|
@@ -91,7 +91,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
|
|
91
91
|
"onUpdate:field": t[1] || (t[1] = (i) => e.department.profile.name = i),
|
92
92
|
label: "Name",
|
93
93
|
placeholder: "Spot Name",
|
94
|
-
class: "mn-small bg-white radius-small pd-medium",
|
94
|
+
class: "mn-b-small bg-white radius-small pd-medium",
|
95
95
|
validation: n.organizationName
|
96
96
|
}, null, 8, ["field", "validation"]),
|
97
97
|
s(_, {
|
@@ -165,7 +165,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
|
|
165
165
|
location: e.department.location,
|
166
166
|
label: "Address",
|
167
167
|
placeholder: "Enter delivery address",
|
168
|
-
class: "bg-white radius-small pd-small mn-small",
|
168
|
+
class: "bg-white radius-small pd-small mn-b-small",
|
169
169
|
"onUpdate:location": t[3] || (t[3] = (i) => {
|
170
170
|
e.department.location = i;
|
171
171
|
}),
|
@@ -202,7 +202,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
|
|
202
202
|
])
|
203
203
|
]));
|
204
204
|
}
|
205
|
-
}, ze = /* @__PURE__ */ U(ie, [["__scopeId", "data-v-
|
205
|
+
}, ze = /* @__PURE__ */ U(ie, [["__scopeId", "data-v-d4f32aeb"]]);
|
206
206
|
export {
|
207
207
|
ze as default
|
208
208
|
};
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),v=require("../../../spots/components/sections/Feed.vue.cjs"),f=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const a=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const l=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const y={key:0,class:"pd-thin for-transition w-100"},g={class:"pos-relative"},h={key:0},k={__name:"Organization",setup(N){const c=i.useRouter(),r=i.useRoute();let d=r.query.tab?r.query.tab:"events";const u=e.ref(null);e.onMounted(async()=>{u.value=await o.actions.read({_id:r.params._id,user:a.state.user._id}),await l.actions.read(r.params._id)});const t=e.ref(d);return r.query.tab=t.value,e.watch(t,n=>{c.replace({query:{...r.query,tab:n}})}),(n,s)=>u.value?(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{organization:o.state.current,user:a.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=m=>t.value=m),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",g,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id,sortOrder:"desc",sortParam:"date.start"},null,8,["user","owner","sortParam"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(v.default,{organization:o.state.current,memberships:l.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=k;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),v=require("../../../spots/components/sections/Feed.vue.cjs"),f=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const a=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const l=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const y={key:0,class:"pd-thin for-transition w-100"},g={class:"pos-relative"},h={key:0},k={__name:"Organization",setup(N){const c=i.useRouter(),r=i.useRoute();let d=r.query.tab?r.query.tab:"events";const u=e.ref(null);e.onMounted(async()=>{u.value=await o.actions.read({_id:r.params._id,user:a.state.user._id}),await l.actions.read(r.params._id)});const t=e.ref(d);return r.query.tab=t.value,e.watch(t,n=>{c.replace({query:{...r.query,tab:n}})}),(n,s)=>u.value?(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{organization:o.state.current,user:a.state.user,class:"mn-b-semi"},null,8,["organization","user"]),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=m=>t.value=m),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",g,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id,sortOrder:"desc",sortParam:"date.start"},null,8,["user","owner","sortParam"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(v.default,{organization:o.state.current,memberships:l.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=k;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js
CHANGED
@@ -45,7 +45,7 @@ const P = {
|
|
45
45
|
r(C, {
|
46
46
|
organization: u.current,
|
47
47
|
user: n.user,
|
48
|
-
class: "mn-semi"
|
48
|
+
class: "mn-b-semi"
|
49
49
|
}, null, 8, ["organization", "user"]),
|
50
50
|
r(k, {
|
51
51
|
selected: t.value,
|
@@ -56,7 +56,7 @@ const P = {
|
|
56
56
|
{ name: "Events", value: "events" }
|
57
57
|
// { name: 'Spots', value: 'spots' }
|
58
58
|
],
|
59
|
-
class: "mn-small o-hidden h5 radius-big bg-grey"
|
59
|
+
class: "mn-b-small o-hidden h5 radius-big bg-grey"
|
60
60
|
}, null, 8, ["selected"]),
|
61
61
|
w("div", R, [
|
62
62
|
r(i, { name: "slide-fade" }, {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),b=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");const h=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-b-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-b-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),q={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,h.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-b-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(b.default,{submit:c,callback:m,class:"mn-b-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { withAsyncContext as f, computed as g, openBlock as
|
1
|
+
import { withAsyncContext as f, computed as g, openBlock as b, createElementBlock as h, createVNode as o, createElementVNode as l, withCtx as _, createTextVNode as y } from "vue";
|
2
2
|
import { useRoute as w, useRouter as x } from "vue-router";
|
3
3
|
import "vue-i18n";
|
4
4
|
import "../../../globals/localization/vue-i18n.js";
|
@@ -14,7 +14,7 @@ import "../../../../components/Popup/Popup.vue2.js";
|
|
14
14
|
import { state as z } from "../../../auth/store/auth.js";
|
15
15
|
import { actions as s, state as e } from "../../store/organizations.js";
|
16
16
|
import "../../store/memberships.js";
|
17
|
-
const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Type of group", -1), N = /* @__PURE__ */ l("p", { class: "mn-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), S = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Profile", -1), $ = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, B = /* @__PURE__ */ l("h4", null, "Upload photo", -1), C = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Socials", -1), E = /* @__PURE__ */ l("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Z = {
|
17
|
+
const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Type of group", -1), N = /* @__PURE__ */ l("p", { class: "mn-b-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), S = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Profile", -1), $ = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, B = /* @__PURE__ */ l("h4", null, "Upload photo", -1), C = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Socials", -1), E = /* @__PURE__ */ l("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Z = {
|
18
18
|
__name: "OrganizationEdit",
|
19
19
|
async setup(F) {
|
20
20
|
let n, d;
|
@@ -27,7 +27,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
|
|
27
27
|
function c() {
|
28
28
|
m.replace({ name: "Organization", params: { _id: e.current._id } });
|
29
29
|
}
|
30
|
-
return (I, t) => (
|
30
|
+
return (I, t) => (b(), h("div", V, [
|
31
31
|
P,
|
32
32
|
N,
|
33
33
|
o(U, {
|
@@ -37,7 +37,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
|
|
37
37
|
multiple: !1,
|
38
38
|
taggable: !1,
|
39
39
|
placeholder: "Type to search or add type of organization",
|
40
|
-
class: "mn-semi bg-grey pd-medium radius-small"
|
40
|
+
class: "mn-b-semi bg-grey pd-medium radius-small"
|
41
41
|
}, null, 8, ["modelValue"]),
|
42
42
|
S,
|
43
43
|
l("div", $, [
|
@@ -45,7 +45,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
|
|
45
45
|
photo: e.current.profile.photo,
|
46
46
|
"onUpdate:photo": t[1] || (t[1] = (r) => e.current.profile.photo = r),
|
47
47
|
uploadPath: "organizations/" + e.current._id + "/avatars",
|
48
|
-
class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
|
48
|
+
class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
49
49
|
}, null, 8, ["photo", "uploadPath"]),
|
50
50
|
B
|
51
51
|
]),
|
@@ -53,13 +53,13 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
|
|
53
53
|
field: e.current.profile.name,
|
54
54
|
"onUpdate:field": t[2] || (t[2] = (r) => e.current.profile.name = r),
|
55
55
|
placeholder: "Name of organization",
|
56
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
56
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
57
57
|
}, null, 8, ["field"]),
|
58
58
|
o(i, {
|
59
59
|
field: e.current.profile.description,
|
60
60
|
"onUpdate:field": t[3] || (t[3] = (r) => e.current.profile.description = r),
|
61
61
|
placeholder: "Brief description of your group",
|
62
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
62
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
63
63
|
}, null, 8, ["field"]),
|
64
64
|
o(v, {
|
65
65
|
onTagsChanged: t[4] || (t[4] = (r) => e.current.profile.tags = r),
|
@@ -72,35 +72,35 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
|
|
72
72
|
"onUpdate:field": t[5] || (t[5] = (r) => e.current.socials.instagram = r),
|
73
73
|
label: "Instagram",
|
74
74
|
placeholder: "",
|
75
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
75
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
76
76
|
}, null, 8, ["field"]),
|
77
77
|
o(i, {
|
78
78
|
field: e.current.socials.twitter,
|
79
79
|
"onUpdate:field": t[6] || (t[6] = (r) => e.current.socials.twitter = r),
|
80
80
|
label: "Twitter",
|
81
81
|
placeholder: "",
|
82
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
82
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
83
83
|
}, null, 8, ["field"]),
|
84
84
|
o(i, {
|
85
85
|
field: e.current.socials.facebook,
|
86
86
|
"onUpdate:field": t[7] || (t[7] = (r) => e.current.socials.facebook = r),
|
87
87
|
label: "Facebook",
|
88
88
|
placeholder: "",
|
89
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
89
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
90
90
|
}, null, 8, ["field"]),
|
91
91
|
o(i, {
|
92
92
|
field: e.current.socials.telegram,
|
93
93
|
"onUpdate:field": t[8] || (t[8] = (r) => e.current.socials.telegram = r),
|
94
94
|
label: "Telegram",
|
95
95
|
placeholder: "",
|
96
|
-
class: "mn-thin bg-grey pd-medium radius-small"
|
96
|
+
class: "mn-b-thin bg-grey pd-medium radius-small"
|
97
97
|
}, null, 8, ["field"]),
|
98
98
|
o(T, {
|
99
99
|
submit: u,
|
100
100
|
callback: c,
|
101
|
-
class: "mn-thin"
|
101
|
+
class: "mn-b-thin"
|
102
102
|
}, {
|
103
|
-
default:
|
103
|
+
default: _(() => [
|
104
104
|
y("Save")
|
105
105
|
]),
|
106
106
|
_: 1
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"Organizations",setup(_){const t=n.useRoute(),i=n.useRouter();let d=t.query.tab?t.query.tab:"member";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"Organizations",setup(_){const t=n.useRoute(),i=n.useRouter();let d=t.query.tab?t.query.tab:"member";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-b-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as h, watch as w, openBlock as a, createElementBlock as l, createElementVNode as
|
1
|
+
import { ref as h, watch as w, openBlock as a, createElementBlock as l, createElementVNode as _, unref as o, createCommentVNode as u, createVNode as n, Transition as d, withCtx as c, createBlock as b } from "vue";
|
2
2
|
import { useRoute as y, useRouter as g } from "vue-router";
|
3
3
|
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
|
-
import
|
4
|
+
import p from "../sections/Feed.vue.js";
|
5
5
|
import { state as i } from "../../../auth/store/auth.js";
|
6
|
-
const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */
|
6
|
+
const q = { class: "pd-thin" }, x = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */ _("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
|
7
7
|
__name: "Organizations",
|
8
8
|
setup($) {
|
9
9
|
const e = y(), f = g();
|
@@ -12,7 +12,7 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
|
|
12
12
|
return e.query.tab = r.value, w(r, (s) => {
|
13
13
|
f.replace({ query: { ...e.query, tab: s } });
|
14
14
|
}), (s, t) => (a(), l("div", q, [
|
15
|
-
|
15
|
+
_("header", x, [
|
16
16
|
C,
|
17
17
|
i.user._id === o(e).params._id ? (a(), l("button", {
|
18
18
|
key: 0,
|
@@ -29,11 +29,11 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
|
|
29
29
|
{ name: "Member", value: "member" },
|
30
30
|
{ name: "Follower", value: "follower" }
|
31
31
|
],
|
32
|
-
class: "mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"
|
32
|
+
class: "mn-b-medium mn-r-medium o-hidden h5 radius-big bg-grey"
|
33
33
|
}, null, 8, ["selected"]),
|
34
34
|
n(d, { name: "slide-fade" }, {
|
35
35
|
default: c(() => [
|
36
|
-
r.value === "member" ? (a(), p
|
36
|
+
r.value === "member" ? (a(), b(p, {
|
37
37
|
key: 0,
|
38
38
|
user: i.user._id,
|
39
39
|
owner: o(e).params._id
|
@@ -43,7 +43,7 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
|
|
43
43
|
}),
|
44
44
|
n(d, { name: "slide-fade" }, {
|
45
45
|
default: c(() => [
|
46
|
-
r.value === "follower" ? (a(), p
|
46
|
+
r.value === "follower" ? (a(), b(p, {
|
47
47
|
key: 0,
|
48
48
|
user: i.user._id,
|
49
49
|
subscriber: o(e).params._id
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue2.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../icons/navigation/IconEdit.vue.cjs"),b=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),s=require("../elements/ButtonToggleMembership.vue.cjs"),k=require("../blocks/Socials.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),h=require("../../store/organizations.cjs"),z=require("../../store/memberships.cjs"),B={class:"t-center flex-center flex-column flex pd-medium radius-big bg-grey"},w={class:"bg-black pd-thin radius-small"},x=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),y=["src"],E={class:"mn-thin"},V={class:"mn-medium p-big"},N={class:"flex-center flex-wrap gap-thin flex mn-semi"},q={class:"pd-thin radius-small t-semi uppercase t-black bg-main p-medium"},S={class:"t-semi mn-small"},p={key:5,class:"mn-t-small mn-thin"},v={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const n=u.useRoute(),r=({membership:i,status:o,target:a},l,c)=>{z.mutations.handleMembershipUpdate(h.state.current,i,o,a,l,c)};return(i,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("section",B,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",w,[e.createVNode(f.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[x]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(s.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:o[0]||(o[0]=a=>r(a,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:o[1]||(o[1]=a=>i.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-grey flex-center flex mn-small i-extra"},null,8,y)):(e.openBlock(),e.createBlock(b.default,{key:3,class:"radius-medium mn-small i-extra"})),e.createElementVNode("h1",E,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("p",V,[e.createVNode(m.default,{text:t.organization.profile.description?t.organization.profile.description:"",maxLen:240},null,8,["text"])]),e.createElementVNode("div",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.profile.tags,a=>(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(a),1))),256))]),e.createElementVNode("p",S," 👨👨👧👧 "+e.toDisplayString(t.organization.numberOfSubscribers)+" followers ",1),t.user._id&&e.unref(n).params._id&&e.unref(n).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(s.default,{key:4,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[2]||(o[2]=a=>r(a,"isSubscriber","numberOfSubscribers")),class:"w-min mn-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",p," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(k.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter},null,8,["telegram","facebook","instagram","twitter"])])]),_:1}))}};exports.default=v;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue2.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../icons/navigation/IconEdit.vue.cjs"),b=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),s=require("../elements/ButtonToggleMembership.vue.cjs"),k=require("../blocks/Socials.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),h=require("../../store/organizations.cjs"),z=require("../../store/memberships.cjs"),B={class:"t-center flex-center flex-column flex pd-medium radius-big bg-grey"},w={class:"bg-black pd-thin radius-small"},x=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),y=["src"],E={class:"mn-b-thin"},V={class:"mn-b-medium p-big"},N={class:"flex-center flex-wrap gap-thin flex mn-b-semi"},q={class:"pd-thin radius-small t-semi uppercase t-black bg-main p-medium"},S={class:"t-semi mn-b-small"},p={key:5,class:"mn-t-small mn-b-thin"},v={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const n=u.useRoute(),r=({membership:i,status:o,target:a},l,c)=>{z.mutations.handleMembershipUpdate(h.state.current,i,o,a,l,c)};return(i,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("section",B,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",w,[e.createVNode(f.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[x]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(s.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:o[0]||(o[0]=a=>r(a,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:o[1]||(o[1]=a=>i.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-grey flex-center flex mn-b-small i-extra"},null,8,y)):(e.openBlock(),e.createBlock(b.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h1",E,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("p",V,[e.createVNode(m.default,{text:t.organization.profile.description?t.organization.profile.description:"",maxLen:240},null,8,["text"])]),e.createElementVNode("div",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.profile.tags,a=>(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(a),1))),256))]),e.createElementVNode("p",S," 👨👨👧👧 "+e.toDisplayString(t.organization.numberOfSubscribers)+" followers ",1),t.user._id&&e.unref(n).params._id&&e.unref(n).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(s.default,{key:4,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[2]||(o[2]=a=>r(a,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",p," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(k.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter},null,8,["telegram","facebook","instagram","twitter"])])]),_:1}))}};exports.default=v;
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js
CHANGED
@@ -9,9 +9,9 @@ import O from "../blocks/Socials.vue.js";
|
|
9
9
|
import R from "../../../reports/components/sections/FormReport.vue.js";
|
10
10
|
import { state as S } from "../../store/organizations.js";
|
11
11
|
import { mutations as $ } from "../../store/memberships.js";
|
12
|
-
const v = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, F = { class: "bg-black pd-thin radius-small" }, L = /* @__PURE__ */ r("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), M = ["src"], V = { class: "mn-thin" }, j = { class: "mn-medium p-big" }, C = { class: "flex-center flex-wrap gap-thin flex mn-semi" }, D = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, N = { class: "t-semi mn-small" }, I = {
|
12
|
+
const v = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, F = { class: "bg-black pd-thin radius-small" }, L = /* @__PURE__ */ r("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), M = ["src"], V = { class: "mn-b-thin" }, j = { class: "mn-b-medium p-big" }, C = { class: "flex-center flex-wrap gap-thin flex mn-b-semi" }, D = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, N = { class: "t-semi mn-b-small" }, I = {
|
13
13
|
key: 5,
|
14
|
-
class: "mn-t-small mn-thin"
|
14
|
+
class: "mn-t-small mn-b-thin"
|
15
15
|
}, Y = {
|
16
16
|
__name: "DetailsTab",
|
17
17
|
props: {
|
@@ -73,10 +73,10 @@ const v = { class: "t-center flex-center flex-column flex pd-medium radius-big b
|
|
73
73
|
e.organization.profile.photo ? (i(), l("img", {
|
74
74
|
key: 2,
|
75
75
|
src: (s.FILE_SERVER_URL || "") + e.organization.profile.photo,
|
76
|
-
class: "radius-big bg-grey flex-center flex mn-small i-extra"
|
76
|
+
class: "radius-big bg-grey flex-center flex mn-b-small i-extra"
|
77
77
|
}, null, 8, M)) : (i(), n(B, {
|
78
78
|
key: 3,
|
79
|
-
class: "radius-medium mn-small i-extra"
|
79
|
+
class: "radius-medium mn-b-small i-extra"
|
80
80
|
})),
|
81
81
|
r("h1", V, c(e.organization.profile.name), 1),
|
82
82
|
r("p", j, [
|
@@ -98,7 +98,7 @@ const v = { class: "t-center flex-center flex-column flex pd-medium radius-big b
|
|
98
98
|
status: e.organization.isSubscriber,
|
99
99
|
text: { create: "Follow", remove: "Unfollow" },
|
100
100
|
onUpdateMembership: a[2] || (a[2] = (t) => g(t, "isSubscriber", "numberOfSubscribers")),
|
101
|
-
class: "w-min mn-medium mn-r-auto mn-l-auto"
|
101
|
+
class: "w-min mn-b-medium mn-r-auto mn-l-auto"
|
102
102
|
}, null, 8, ["user", "target", "status"])) : o("", !0),
|
103
103
|
Object.values(e.organization.socials).some((t) => t) ? (i(), l("h4", I, " Find us in socials ")) : o("", !0),
|
104
104
|
u(O, {
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const f=o=>(e.pushScopeId("data-v-f93fcad7"),o=o(),e.popScopeId(),o),v={class:"documents"},h=f(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Список документов",-1)),k={class:"mn-b-big cols-4"},b=["onClick"],y={class:"mn-b-small"},E={class:"t-semi t-transp radius-small"},B={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,x)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",v,[h,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:P=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",y,e.toDisplayString(t.name),1),e.createElementVNode("p",E,e.toDisplayString(t.status),1)],8,b))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-b-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(B,[["__scopeId","data-v-f93fcad7"]]);exports.default=g;
|