@ozdao/prometheus-framework 0.1.98 → 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/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
- 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/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
- 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 +6 -6
- 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.vue.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -62
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +62 -2
- 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 +13 -13
- 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 +20 -20
- 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/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- 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/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- 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/icons/navigation/IconLike.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconLike.vue.js +7 -7
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
- 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 +6 -6
- 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 +15 -15
- 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/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- 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 +5 -5
- 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 +8 -8
- 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/icons/navigation/IconLike.vue +2 -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/users/components/pages/ProfileBlogposts.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"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { ref as _, watch as
|
2
|
-
import { useRoute as
|
1
|
+
import { ref as _, watch as b, openBlock as t, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as l } from "vue";
|
2
|
+
import { useRoute as g, useRouter as v } from "vue-router";
|
3
3
|
import y from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import i from "../../../community/components/sections/Feed.vue.js";
|
5
5
|
import { state as a } from "../../../auth/store/auth.js";
|
6
|
-
const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
|
6
|
+
const h = { class: "pd-thin" }, k = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
|
7
7
|
__name: "ProfileBlogposts",
|
8
8
|
setup(q) {
|
9
|
-
const e =
|
9
|
+
const e = g(), p = v();
|
10
10
|
let f = e.query.tab ? e.query.tab : "posts";
|
11
11
|
const r = _(f);
|
12
|
-
return e.query.tab = r.value,
|
12
|
+
return e.query.tab = r.value, b(r, (n) => {
|
13
13
|
p.replace({ query: { ...e.query, tab: n } });
|
14
14
|
}), (n, u) => (t(), d("div", h, [
|
15
15
|
c("header", k, [
|
@@ -31,7 +31,7 @@ const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowra
|
|
31
31
|
{ name: "Drafts", value: "drafts" },
|
32
32
|
{ name: "Following", value: "following" }
|
33
33
|
],
|
34
|
-
class: "mn-small o-hidden h5 radius-big bg-grey"
|
34
|
+
class: "mn-b-small o-hidden h5 radius-big bg-grey"
|
35
35
|
}, null, 8, ["selected"])) : o("", !0),
|
36
36
|
r.value === "posts" ? (t(), l(i, {
|
37
37
|
key: 1,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue2.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue2.cjs"),v=require("../../../../components/UploadImage/UploadImage.vue.cjs"),g=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),r=require("../../../auth/store/auth.cjs"),o=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const N={class:"pd-medium for-transition w-100"},V=e.createElementVNode("h3",{class:"mn-b-small"},"Username",-1),w=e.createElementVNode("p",{class:"mn-b-semi"},"Your username will be used for URL of profile like thecommunephuket/users/username",-1),y=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),_={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),q=e.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),E=e.createElementVNode("h3",{class:"mn-b-small"},"Account",-1),P={__name:"ProfileEdit",async setup(S){let n,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[n,d]=e.withAsyncContext(()=>o.actions.read({_id:r.state.user._id})),await n,d();const l=e.ref(o.state.current);async function p(){await o.actions.update(o.state.current)}async function b(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(o.state.current.status="removed",await o.actions.update(o.state.current),r.actions.logout())}function h(){u.replace({name:"User Profile",params:{_id:o.state.current._id}})}return(s,a)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===r.state.user._id?(e.openBlock(),e.createBlock(g.default,{key:0,user:r.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),V,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),w,y,e.createElementVNode("div",_,[e.createVNode(v.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium radius-small",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),k,q,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-b-semi bg-grey pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium mn-b-thin radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:!0,validation:s.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:h,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(m.default,{submit:b,callback:s.a=()=>{e.unref(u).push({name:"Sign In"})},class:"mn-b-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=P;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as
|
1
|
+
import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as b, createBlock as P, createCommentVNode as z, createVNode as i, createElementVNode as o, withCtx as h, createTextVNode as v } from "vue";
|
2
2
|
import "../../../../../../node_modules/js-cookie/src/js.cookie.js";
|
3
3
|
import "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import t from "../../../../components/Field/Field.vue2.js";
|
@@ -10,7 +10,7 @@ import { state as r, actions as E } from "../../../auth/store/auth.js";
|
|
10
10
|
import { actions as d, state as n } from "../../store/users.js";
|
11
11
|
import "../../../middlewares/client/inputs.validation.js";
|
12
12
|
import "./ProfileEdit.vue2.js";
|
13
|
-
const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Username", -1), V = /* @__PURE__ */ o("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), B = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Profile", -1), C = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, D = /* @__PURE__ */ o("h4", null, "Upload userpic", -1), F = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Socials", -1), I = /* @__PURE__ */ o("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), L = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Account", -1), ee = {
|
13
|
+
const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Username", -1), V = /* @__PURE__ */ o("p", { class: "mn-b-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), B = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Profile", -1), C = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, D = /* @__PURE__ */ o("h4", null, "Upload userpic", -1), F = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Socials", -1), I = /* @__PURE__ */ o("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), L = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Account", -1), ee = {
|
14
14
|
__name: "ProfileEdit",
|
15
15
|
async setup(Y) {
|
16
16
|
let m, u;
|
@@ -28,7 +28,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
28
28
|
p.replace({ name: "User Profile", params: { _id: n.current._id } });
|
29
29
|
}
|
30
30
|
return (s, l) => (c(), k("div", R, [
|
31
|
-
|
31
|
+
b(w).params._id === r.user._id ? (c(), P($, {
|
32
32
|
key: 0,
|
33
33
|
user: r.user._id,
|
34
34
|
target: e.value,
|
@@ -40,7 +40,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
40
40
|
"onUpdate:field": l[0] || (l[0] = (a) => e.value.username = a),
|
41
41
|
label: "@",
|
42
42
|
placeholder: "Not specified",
|
43
|
-
class: "mn-thin w-100 bg-grey pd-medium radius-small",
|
43
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small",
|
44
44
|
disabled: "true",
|
45
45
|
validation: s.organizationName
|
46
46
|
}, null, 8, ["field", "validation"]),
|
@@ -51,7 +51,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
51
51
|
photo: e.value.profile.photo,
|
52
52
|
"onUpdate:photo": l[1] || (l[1] = (a) => e.value.profile.photo = a),
|
53
53
|
uploadPath: "users/" + e.value._id + "/avatars",
|
54
|
-
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-thin radius-extra"
|
54
|
+
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
55
55
|
}, null, 8, ["photo", "uploadPath"]),
|
56
56
|
D
|
57
57
|
]),
|
@@ -60,7 +60,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
60
60
|
"onUpdate:field": l[2] || (l[2] = (a) => e.value.profile.name = a),
|
61
61
|
label: "Name",
|
62
62
|
placeholder: "Not specified",
|
63
|
-
class: "mn-thin bg-grey pd-medium radius-small",
|
63
|
+
class: "mn-b-thin bg-grey pd-medium radius-small",
|
64
64
|
validation: s.organizationName
|
65
65
|
}, null, 8, ["field", "validation"]),
|
66
66
|
i(t, {
|
@@ -68,7 +68,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
68
68
|
"onUpdate:field": l[3] || (l[3] = (a) => e.value.profile.description = a),
|
69
69
|
label: "Description",
|
70
70
|
placeholder: "Not specified",
|
71
|
-
class: "mn-semi bg-grey pd-medium radius-small",
|
71
|
+
class: "mn-b-semi bg-grey pd-medium radius-small",
|
72
72
|
disabled: "true",
|
73
73
|
validation: s.organizationName
|
74
74
|
}, null, 8, ["field", "validation"]),
|
@@ -79,28 +79,28 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
79
79
|
"onUpdate:field": l[4] || (l[4] = (a) => e.value.socials.instagram = a),
|
80
80
|
label: "Instagram",
|
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
|
i(t, {
|
85
85
|
field: e.value.socials.twitter,
|
86
86
|
"onUpdate:field": l[5] || (l[5] = (a) => e.value.socials.twitter = a),
|
87
87
|
label: "Twitter",
|
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
|
i(t, {
|
92
92
|
field: e.value.socials.facebook,
|
93
93
|
"onUpdate:field": l[6] || (l[6] = (a) => e.value.socials.facebook = a),
|
94
94
|
label: "Facebook",
|
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
|
i(t, {
|
99
99
|
field: e.value.socials.telegram,
|
100
100
|
"onUpdate:field": l[7] || (l[7] = (a) => e.value.socials.telegram = a),
|
101
101
|
label: "Telegram",
|
102
102
|
placeholder: "",
|
103
|
-
class: "mn-semi bg-grey pd-medium radius-small"
|
103
|
+
class: "mn-b-semi bg-grey pd-medium radius-small"
|
104
104
|
}, null, 8, ["field"]),
|
105
105
|
L,
|
106
106
|
i(t, {
|
@@ -108,7 +108,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
108
108
|
"onUpdate:field": l[8] || (l[8] = (a) => e.value.phone = a),
|
109
109
|
label: "Phone",
|
110
110
|
placeholder: "Not specified",
|
111
|
-
class: "mn-thin bg-grey pd-medium mn-thin radius-small",
|
111
|
+
class: "mn-b-thin bg-grey pd-medium mn-b-thin radius-small",
|
112
112
|
disabled: "true",
|
113
113
|
validation: s.organizationName
|
114
114
|
}, null, 8, ["field", "validation"]),
|
@@ -117,16 +117,16 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
117
117
|
"onUpdate:field": l[9] || (l[9] = (a) => e.value.email = a),
|
118
118
|
label: "Email",
|
119
119
|
placeholder: "Not specified",
|
120
|
-
class: "mn-semi bg-grey pd-medium radius-small",
|
120
|
+
class: "mn-b-semi bg-grey pd-medium radius-small",
|
121
121
|
disabled: !0,
|
122
122
|
validation: s.organizationName
|
123
123
|
}, null, 8, ["field", "validation"]),
|
124
124
|
i(g, {
|
125
125
|
submit: y,
|
126
126
|
callback: N,
|
127
|
-
class: "mn-thin"
|
127
|
+
class: "mn-b-thin"
|
128
128
|
}, {
|
129
|
-
default:
|
129
|
+
default: h(() => [
|
130
130
|
v("Save")
|
131
131
|
]),
|
132
132
|
_: 1
|
@@ -134,11 +134,11 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
134
134
|
i(g, {
|
135
135
|
submit: _,
|
136
136
|
callback: s.a = () => {
|
137
|
-
|
137
|
+
b(p).push({ name: "Sign In" });
|
138
138
|
},
|
139
|
-
class: "mn-thin bg-red t-white"
|
139
|
+
class: "mn-b-thin bg-red t-white"
|
140
140
|
}, {
|
141
|
-
default:
|
141
|
+
default: h(() => [
|
142
142
|
v("Delete Account")
|
143
143
|
]),
|
144
144
|
_: 1
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { ref as f, watch as
|
1
|
+
import { ref as f, watch as b, openBlock as a, createElementBlock as l, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as v, createBlock as m } from "vue";
|
2
2
|
import { useRoute as y, useRouter as h } from "vue-router";
|
3
3
|
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import d from "../../../events/components/sections/Feed.vue.js";
|
5
5
|
import { state as n } from "../../../auth/store/auth.js";
|
6
|
-
const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
|
6
|
+
const g = { class: "pd-thin" }, w = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
|
7
7
|
__name: "ProfileEvents",
|
8
8
|
setup(x) {
|
9
9
|
const e = y(), i = h();
|
10
10
|
let _ = e.query.tab ? e.query.tab : "owner";
|
11
11
|
const r = f(_);
|
12
|
-
return e.query.tab = r.value,
|
12
|
+
return e.query.tab = r.value, b(r, (u) => {
|
13
13
|
i.replace({ query: { ...e.query, tab: u } });
|
14
14
|
}), (u, t) => (a(), l("div", g, [
|
15
15
|
p("header", w, [
|
@@ -20,14 +20,14 @@ const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowra
|
|
20
20
|
class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
|
21
21
|
}, " + ")) : o("", !0)
|
22
22
|
]),
|
23
|
-
|
23
|
+
v(k, {
|
24
24
|
selected: r.value,
|
25
25
|
"onUpdate:selected": t[1] || (t[1] = (c) => r.value = c),
|
26
26
|
tabs: [
|
27
27
|
{ name: "My", value: "owner" },
|
28
28
|
{ name: "Participant", value: "participant" }
|
29
29
|
],
|
30
|
-
class: "mn-small o-hidden h5 radius-big bg-grey"
|
30
|
+
class: "mn-b-small o-hidden h5 radius-big bg-grey"
|
31
31
|
}, null, 8, ["selected"]),
|
32
32
|
r.value === "owner" ? (a(), m(d, {
|
33
33
|
key: 0,
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.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("../../../organizations/components/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:"ProfileOrganizations",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("../../../organizations/components/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:"ProfileOrganizations",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/users/components/pages/ProfileOrganizations.vue.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
import { ref as h, watch as w, openBlock as a, createElementBlock as m, createElementVNode as
|
1
|
+
import { ref as h, watch as w, openBlock as a, createElementBlock as m, createElementVNode as p, unref as s, 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 f from "../../../organizations/components/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__ */ p("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
|
7
7
|
__name: "ProfileOrganizations",
|
8
8
|
setup($) {
|
9
|
-
const e = y(),
|
9
|
+
const e = y(), _ = g();
|
10
10
|
let v = e.query.tab ? e.query.tab : "member";
|
11
11
|
const r = h(v);
|
12
12
|
return e.query.tab = r.value, w(r, (o) => {
|
13
|
-
|
13
|
+
_.replace({ query: { ...e.query, tab: o } });
|
14
14
|
}), (o, t) => (a(), m("div", q, [
|
15
|
-
|
15
|
+
p("header", x, [
|
16
16
|
C,
|
17
17
|
i.user._id === s(e).params._id ? (a(), m("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(), f
|
36
|
+
r.value === "member" ? (a(), b(f, {
|
37
37
|
key: 0,
|
38
38
|
user: i.user._id,
|
39
39
|
owner: s(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(), f
|
46
|
+
r.value === "follower" ? (a(), b(f, {
|
47
47
|
key: 0,
|
48
48
|
user: i.user._id,
|
49
49
|
subscriber: s(e).params._id
|
package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m={class:"w-100 mn-semi radius-medium pd-medium bg-main t-black"},d={__name:"ProfileCompletion",props:{user:Object,target:Object,cta:Boolean},setup(n){const{user:f,cta:p,target:a}=n,c=e.ref(0),u=i=>{let o=0,l=0;function s(t){for(let r in t)t.hasOwnProperty(r)&&(t[r]&&typeof t[r]=="object"&&!Array.isArray(t[r])?s(t[r]):(o++,t[r]!=null&&t[r]!==""&&l++))}return s(i),o===0?0:Math.round(l/o*100)};return a&&(c.value=u(a)),(i,o)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",m,[e.createElementVNode("h3",null," Profile completed at "+e.toDisplayString(c.value)+"% ",1),n.cta?(e.openBlock(),e.createBlock(l,{key:0,to:{name:"User Edit Profile",params:{_id:n.user}},class:"mn-t-regular t-black bg-white w-100 button"},{default:e.withCtx(()=>[e.createTextVNode(" Fill Profile ")]),_:1},8,["to"])):e.createCommentVNode("",!0)])}}};exports.default=d;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m={class:"w-100 mn-b-semi radius-medium pd-medium bg-main t-black"},d={__name:"ProfileCompletion",props:{user:Object,target:Object,cta:Boolean},setup(n){const{user:f,cta:p,target:a}=n,c=e.ref(0),u=i=>{let o=0,l=0;function s(t){for(let r in t)t.hasOwnProperty(r)&&(t[r]&&typeof t[r]=="object"&&!Array.isArray(t[r])?s(t[r]):(o++,t[r]!=null&&t[r]!==""&&l++))}return s(i),o===0?0:Math.round(l/o*100)};return a&&(c.value=u(a)),(i,o)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",m,[e.createElementVNode("h3",null," Profile completed at "+e.toDisplayString(c.value)+"% ",1),n.cta?(e.openBlock(),e.createBlock(l,{key:0,to:{name:"User Edit Profile",params:{_id:n.user}},class:"mn-t-regular t-black bg-white w-100 button"},{default:e.withCtx(()=>[e.createTextVNode(" Fill Profile ")]),_:1},8,["to"])):e.createCommentVNode("",!0)])}}};exports.default=d;
|
package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as m, resolveComponent as f, openBlock as s, createElementBlock as d, createElementVNode as p, toDisplayString as k, createBlock as _, withCtx as P, createTextVNode as g, createCommentVNode as h } from "vue";
|
2
|
-
const y = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, B = {
|
2
|
+
const y = { class: "w-100 mn-b-semi radius-medium pd-medium bg-main t-black" }, B = {
|
3
3
|
__name: "ProfileCompletion",
|
4
4
|
props: {
|
5
5
|
user: Object,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const i=require("vue-router"),c={class:"pd-big"},u=e.createElementVNode("h1",{class:"mn-small"}," Your Wallet ",-1),d=e.createElementVNode("p",{class:"mn-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),m={class:"mn-semi flex-nowrap flex gap-thin"},_={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const i=require("vue-router"),c={class:"pd-big"},u=e.createElementVNode("h1",{class:"mn-b-small"}," Your Wallet ",-1),d=e.createElementVNode("p",{class:"mn-b-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),m={class:"mn-b-semi flex-nowrap flex gap-thin"},_={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},b=e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token ",-1),p=e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace",-1),h=[b,p],q={key:1,class:"w-100 pd-medium radius-medium bg-grey"},k=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You own: ",-1),g=e.createElementVNode("h3",{class:"mn-b-small"},"0.14% of Weeder",-1),E=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),y=[k,g,E],N={key:2,class:"w-100 pd-medium radius-medium bg-grey"},V=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You earn: ",-1),v=e.createElementVNode("h3",{class:"mn-b-small"},"245.43 WDT",-1),w=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),B=[V,v,w],f={class:"w-50 bg-black radius-semi pd-medium t-white"},W=e.createElementVNode("p",{class:"h4 mn-b-thin"},"Your Metamask",-1),C={key:0,class:"mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"},M={key:1,class:"p-medium t-transp mn-b-small"},D=e.createElementVNode("h3",{class:"mn-b-small"}," Incomes ",-1),S={class:"cols-4 gap-thin"},j={class:"pd-medium radius-medium bg-grey"},T={class:"mn-b-small"},Y={class:"p-small mn-b-small"},x={__name:"Wallet",setup(F){i.useRoute(),e.ref(!1);const a=new s.Web3(s.Web3.givenProvider||"http://localhost:8080"),t=e.ref(null);async function l(){const o=await a.eth.requestAccounts();t.value=o[0]}return e.onMounted(()=>{}),(o,n)=>(e.openBlock(),e.createElementBlock("section",c,[u,d,e.createElementVNode("div",m,[t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_,h)),t.value?(e.openBlock(),e.createElementBlock("div",q,y)):e.createCommentVNode("",!0),t.value?(e.openBlock(),e.createElementBlock("div",N,B)):e.createCommentVNode("",!0),e.createElementVNode("div",f,[W,t.value?(e.openBlock(),e.createElementBlock("div",C,e.toDisplayString(t.value),1)):e.createCommentVNode("",!0),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",M,"Connect Metamask to withdrawal your earnings.")),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:2,onClick:l,class:"w-100 button"}," Connect Wallet ")),t.value?(e.openBlock(),e.createElementBlock("button",{key:3,onClick:n[0]||(n[0]=(...r)=>o.disconnectWallet&&o.disconnectWallet(...r)),class:"w-100 bg-red button"}," Disonnect Wallet ")):e.createCommentVNode("",!0)])]),D,e.createElementVNode("section",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([{balance:34,type:"income",reason:"order",target:"ef34dsdase4389snjnu (_id)"},{balance:25,type:"income",reason:"post",target:"ef34dsdase4389snjnu (_id)"},{balance:17,type:"income",reason:"comment",target:"ef34dsdase4389snjnu (_id)"},{balance:43,type:"event",reason:"order",target:"ef34dsdase4389snjnu (_id)"}],r=>(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("h3",T,"+ "+e.toDisplayString(r.balance)+" WDT",1),e.createElementVNode("p",Y,"For "+e.toDisplayString(r.reason)+" "+e.toDisplayString(r.target),1)]))),256))])]))}};exports.default=x;
|
@@ -43,33 +43,33 @@ import "../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.
|
|
43
43
|
import "../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js";
|
44
44
|
import "../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js";
|
45
45
|
import { useRoute as b } from "vue-router";
|
46
|
-
const g = { class: "pd-big" }, w = /* @__PURE__ */ t("h1", { class: "mn-small" }, " Your Wallet ", -1), y = /* @__PURE__ */ t("p", { class: "mn-semi p-big" }, " Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ", -1), v = { class: "mn-semi flex-nowrap flex gap-thin" }, k = {
|
46
|
+
const g = { class: "pd-big" }, w = /* @__PURE__ */ t("h1", { class: "mn-b-small" }, " Your Wallet ", -1), y = /* @__PURE__ */ t("p", { class: "mn-b-semi p-big" }, " Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ", -1), v = { class: "mn-b-semi flex-nowrap flex gap-thin" }, k = {
|
47
47
|
key: 0,
|
48
48
|
class: "w-100 pd-medium radius-medium t-center bg-grey"
|
49
|
-
}, f = /* @__PURE__ */ t("h3", { class: "mn-small" }, "Make first order and start earning Weeder Token ", -1), W = /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace", -1), C = [
|
49
|
+
}, f = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token ", -1), W = /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace", -1), C = [
|
50
50
|
f,
|
51
51
|
W
|
52
52
|
], M = {
|
53
53
|
key: 1,
|
54
54
|
class: "w-100 pd-medium radius-medium bg-grey"
|
55
|
-
}, j = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "You own: ", -1), x = /* @__PURE__ */ t("h3", { class: "mn-small" }, "0.14% of Weeder", -1), D = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), E = [
|
55
|
+
}, j = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You own: ", -1), x = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "0.14% of Weeder", -1), D = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), E = [
|
56
56
|
j,
|
57
57
|
x,
|
58
58
|
D
|
59
59
|
], T = {
|
60
60
|
key: 2,
|
61
61
|
class: "w-100 pd-medium radius-medium bg-grey"
|
62
|
-
}, Y = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "You earn: ", -1), B = /* @__PURE__ */ t("h3", { class: "mn-small" }, "245.43 WDT", -1), F = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), G = [
|
62
|
+
}, Y = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You earn: ", -1), B = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "245.43 WDT", -1), F = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), G = [
|
63
63
|
Y,
|
64
64
|
B,
|
65
65
|
F
|
66
|
-
], N = { class: "w-50 bg-black radius-semi pd-medium t-white" }, V = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "Your Metamask", -1), q = {
|
66
|
+
], N = { class: "w-50 bg-black radius-semi pd-medium t-white" }, V = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "Your Metamask", -1), q = {
|
67
67
|
key: 0,
|
68
|
-
class: "mn-small pd-small br-solid br-1px br-white-transp-10 radius-small"
|
68
|
+
class: "mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"
|
69
69
|
}, A = {
|
70
70
|
key: 1,
|
71
|
-
class: "p-medium t-transp mn-small"
|
72
|
-
}, I = /* @__PURE__ */ t("h3", { class: "mn-small" }, " Incomes ", -1), L = { class: "cols-4 gap-thin" }, P = { class: "pd-medium radius-medium bg-grey" }, R = { class: "mn-small" }, S = { class: "p-small mn-small" }, Vt = {
|
71
|
+
class: "p-medium t-transp mn-b-small"
|
72
|
+
}, I = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, " Incomes ", -1), L = { class: "cols-4 gap-thin" }, P = { class: "pd-medium radius-medium bg-grey" }, R = { class: "mn-b-small" }, S = { class: "p-small mn-b-small" }, Vt = {
|
73
73
|
__name: "Wallet",
|
74
74
|
setup(z) {
|
75
75
|
b(), l(!1);
|