@ozdao/prometheus-framework 0.2.308 → 0.2.310
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/products.server.js +196 -198
- package/dist/products.server.mjs +196 -198
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +2 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +3 -2
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +93 -0
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +94 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +0 -93
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -94
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +13 -12
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +1 -0
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +58 -78
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +78 -98
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +90 -85
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +94 -89
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs +19 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js +19 -1
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +6 -2
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +6 -2
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +9 -9
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +2 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +2 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +4 -2
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js +2 -0
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.cjs +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.js +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/store.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +75 -114
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +76 -115
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +4 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +4 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.cjs +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.js +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCatalog.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +36 -24
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +36 -24
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +21 -12
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +21 -12
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.cjs +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.js +36 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconHome.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1117 -1117
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1117 -1117
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +11 -10
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +11 -10
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +78 -43
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +83 -48
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +79 -29
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +90 -40
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +120 -81
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +133 -94
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +39 -21
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +51 -33
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.cjs +96 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.js +96 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/CategoriesTree.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +20 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +20 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +17 -5
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js +17 -5
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -12
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +1 -12
- package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +52 -71
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +52 -71
- package/dist/prometheus-framework/src/modules/products/store/categories.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +6 -8
- package/dist/prometheus-framework/src/modules/products/store/products.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +6 -8
- package/dist/prometheus-framework/src/modules/products/store/products.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +910 -910
- package/package.json +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Completion/Completion.vue +1 -0
- package/src/components/EditImages/EditImages.vue +1 -1
- package/src/components/Feed/Feed.vue +1 -1
- package/src/components/Field/Field.vue +1 -1
- package/src/modules/auth/auth.client.js +2 -0
- package/src/modules/auth/views/components/pages/Profile.vue +57 -35
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +91 -77
- package/src/modules/auth/views/middlewares/auth.validation.js +1 -0
- package/src/modules/auth/views/router/users.js +21 -2
- package/src/modules/auth/views/store/auth.js +6 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +1 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
- package/src/modules/community/components/layouts/Community.vue +8 -8
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/components/pages/BlogPost.vue +3 -3
- package/src/modules/community/components/pages/Community.vue +1 -1
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/router/blogposts.js +4 -3
- package/src/modules/globals/globals.client.js +3 -0
- package/src/modules/globals/views/classes/store.js +63 -0
- package/src/modules/globals/views/components/partials/BottomNavigationBar.vue +87 -59
- package/src/modules/globals/views/components/partials/NavigationBar.vue +3 -3
- package/src/modules/globals/views/store/globals.js +5 -0
- package/src/modules/icons/entities/IconCatalog.vue +18 -0
- package/src/modules/icons/entities/IconCommunity.vue +15 -5
- package/src/modules/icons/entities/IconGroups.vue +7 -2
- package/src/modules/icons/entities/IconHome.vue +18 -0
- package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEvent.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -2
- package/src/modules/products/components/blocks/CardCategory.vue +14 -3
- package/src/modules/products/components/blocks/CardProduct.vue +12 -11
- package/src/modules/products/components/pages/Categories.vue +120 -28
- package/src/modules/products/components/pages/CategoryEdit.vue +206 -151
- package/src/modules/products/components/pages/ProductEdit.vue +107 -69
- package/src/modules/products/components/pages/Products.vue +35 -20
- package/src/modules/products/components/sections/CategoriesTree.vue +102 -0
- package/src/modules/products/components/sections/EditProductInfo.vue +53 -40
- package/src/modules/products/controllers/categories.controller.js +177 -97
- package/src/modules/products/controllers/products.controller.js +4 -2
- package/src/modules/products/models/category.model.js +15 -66
- package/src/modules/products/models/product.model.js +15 -12
- package/src/modules/products/products.client.js +0 -1
- package/src/modules/products/router/categories.router.js +17 -5
- package/src/modules/products/router/products.router.js +0 -12
- package/src/modules/products/routes/categories.routes.js +5 -34
- package/src/modules/products/store/categories.js +69 -83
- package/src/modules/products/store/products.js +6 -8
- package/src/styles/base/shadow_transitions_hover_refactor.scss +2 -0
- package/src/styles/typography.scss +2 -2
- package/src/modules/auth/views/router/account.js +0 -41
package/package.json
CHANGED
@@ -15,15 +15,15 @@
|
|
15
15
|
_id="dash"
|
16
16
|
class="pd-thin w-100"
|
17
17
|
>
|
18
|
-
<Completion
|
18
|
+
<!-- <Completion
|
19
19
|
v-if="route.params._id === auth.state.user._id && show"
|
20
20
|
:user="auth.state.user._id"
|
21
21
|
:target="users.state.current"
|
22
|
-
:cta="
|
22
|
+
:cta="false"
|
23
23
|
text_cta="Fill"
|
24
24
|
text="Profile completed at"
|
25
25
|
class="mn-b-medium mn-b-regular pd-medium radius-semi t-white bg-second"
|
26
|
-
/>
|
26
|
+
/> -->
|
27
27
|
|
28
28
|
<section
|
29
29
|
class="flex-center pos-relative flex flex-column t-center w-100 mn-b-regular radius-medium pd-medium bg-light"
|
@@ -157,37 +157,27 @@
|
|
157
157
|
|
158
158
|
|
159
159
|
|
160
|
-
<Menu class="mn-b-regular bg-light">
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
<span>Wallet</span>
|
182
|
-
</MenuItem>
|
183
|
-
</Menu>
|
184
|
-
|
185
|
-
<!-- <MenuItem @click="router.push({name: 'User Comments', params: {_id: route.params._id}})" class="cursor-pointer">
|
186
|
-
<span>Comments</span>
|
187
|
-
</MenuItem>
|
188
|
-
<MenuItem @click="router.push({name: 'User Likes', params: {_id: route.params._id}})" class="cursor-pointer">
|
189
|
-
<span>Likes</span>
|
190
|
-
</MenuItem> -->
|
160
|
+
<Menu v-if="filteredModules.length > 0" class="mn-b-regular bg-light">
|
161
|
+
<MenuItem
|
162
|
+
v-for="module in filteredModules"
|
163
|
+
:key="module.name"
|
164
|
+
@click="router.push({
|
165
|
+
name: `${module.route}`,
|
166
|
+
params: {
|
167
|
+
_id: route.params._id
|
168
|
+
}
|
169
|
+
})"
|
170
|
+
class="cursor-pointer"
|
171
|
+
>
|
172
|
+
<component
|
173
|
+
:is="module.icon"
|
174
|
+
v-if="module.icon"
|
175
|
+
class="i-semi"
|
176
|
+
:icon="true"
|
177
|
+
/>
|
178
|
+
<span>{{ module.displayName }}</span>
|
179
|
+
</MenuItem>
|
180
|
+
</Menu>
|
191
181
|
|
192
182
|
<Menu
|
193
183
|
v-if="auth.state.user._id === route.params._id"
|
@@ -260,8 +250,9 @@ import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'
|
|
260
250
|
|
261
251
|
import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'
|
262
252
|
// Import libs
|
263
|
-
import { computed, watch, onMounted, ref, onBeforeMount } from 'vue'
|
253
|
+
import { computed, watch, onMounted, ref, onBeforeMount, inject } from 'vue'
|
264
254
|
import { useRoute, useRouter } from 'vue-router'
|
255
|
+
|
265
256
|
// Import state
|
266
257
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
267
258
|
import * as users from '@pf/src/modules/auth/views/store/users'
|
@@ -272,6 +263,37 @@ const router = useRouter()
|
|
272
263
|
// Get organization _id from cookie
|
273
264
|
const show = ref(false)
|
274
265
|
|
266
|
+
const store = inject('store')
|
267
|
+
|
268
|
+
const moduleMapping = {
|
269
|
+
events: {
|
270
|
+
displayName: 'Events',
|
271
|
+
route: 'User Events',
|
272
|
+
icon: IconEvents
|
273
|
+
},
|
274
|
+
organizations: {
|
275
|
+
displayName: 'Groups',
|
276
|
+
route: 'User Organizations',
|
277
|
+
icon: IconGroups
|
278
|
+
},
|
279
|
+
blogposts: {
|
280
|
+
displayName: 'Posts',
|
281
|
+
route: 'User Posts',
|
282
|
+
icon: IconCommunity
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
const filteredModules = computed(() => {
|
287
|
+
return store.modules
|
288
|
+
.map(moduleName => {
|
289
|
+
return {
|
290
|
+
name: moduleName,
|
291
|
+
...moduleMapping[moduleName]
|
292
|
+
}
|
293
|
+
})
|
294
|
+
.filter(module => moduleMapping[module.name]) // Only show modules that have mapping
|
295
|
+
})
|
296
|
+
|
275
297
|
onMounted(async () => {
|
276
298
|
await users.actions.read({ _id: route.params._id, user: auth.state.user._id });
|
277
299
|
show.value = true
|
@@ -1,56 +1,52 @@
|
|
1
1
|
<template>
|
2
|
-
<div v-if="show" class="
|
2
|
+
<div v-if="show" class="for-transition w-100">
|
3
3
|
|
4
|
-
<ProfileCompletion
|
4
|
+
<!-- <ProfileCompletion
|
5
5
|
v-if="route.params._id === auth.state.user._id"
|
6
6
|
:user="auth.state.user._id"
|
7
7
|
:target="users.state.current"
|
8
8
|
:cta="false"
|
9
|
-
/>
|
10
|
-
<!-- -->
|
11
|
-
<h3 class="mn-b-small">Username</h3>
|
12
|
-
|
13
|
-
<Field
|
14
|
-
v-model:field="users.state.current.username"
|
15
|
-
label="@"
|
16
|
-
placeholder="Not specified"
|
17
|
-
class="mn-b-thin w-100 bg-light pd-medium radius-small"
|
18
|
-
:validation="organizationName"
|
19
|
-
/>
|
20
|
-
|
21
|
-
<p class="mn-b-semi">Your username will be used for URL of profile like {{API_URL}}/users/username</p>
|
22
|
-
|
9
|
+
/> -->
|
23
10
|
|
24
|
-
<
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
11
|
+
<div class="bg-white mn-b-thin pd-medium">
|
12
|
+
<h4 class="mn-b-small">Profile</h4>
|
13
|
+
|
14
|
+
<div class="mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex">
|
15
|
+
<UploadImage
|
16
|
+
v-model:photo="users.state.current.profile.photo"
|
17
|
+
:uploadPath="'users/' + users.state.current._id + '/avatars'"
|
18
|
+
class="h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
19
|
+
/>
|
20
|
+
<h4>Upload userpic</h4>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<Field
|
24
|
+
v-model:field="users.state.current.username"
|
25
|
+
label="@"
|
26
|
+
placeholder="Not specified"
|
27
|
+
class="mn-b-thin w-100 bg-light pd-medium radius-small"
|
28
|
+
:validation="organizationName"
|
29
|
+
/>
|
30
|
+
|
31
|
+
<p class="mn-b-semi">Your username will be used for URL of profile like {{API_URL}}/users/username</p>
|
32
|
+
|
33
|
+
<Field
|
34
|
+
v-model:field="users.state.current.profile.name"
|
35
|
+
label="Name"
|
36
|
+
placeholder="Not specified"
|
37
|
+
class="mn-b-thin bg-light pd-medium radius-small"
|
38
|
+
:validation="organizationName"
|
39
|
+
/>
|
40
|
+
|
41
|
+
<Field
|
42
|
+
v-model:field="users.state.current.profile.description"
|
43
|
+
label="Description"
|
44
|
+
placeholder="Not specified"
|
45
|
+
class="mn-b-semi bg-light pd-medium radius-small"
|
46
|
+
:validation="organizationName"
|
47
|
+
/>
|
36
48
|
</div>
|
37
49
|
|
38
|
-
<Field
|
39
|
-
v-model:field="users.state.current.profile.name"
|
40
|
-
label="Name"
|
41
|
-
placeholder="Not specified"
|
42
|
-
class="mn-b-thin bg-light pd-medium radius-small"
|
43
|
-
:validation="organizationName"
|
44
|
-
/>
|
45
|
-
|
46
|
-
<Field
|
47
|
-
v-model:field="users.state.current.profile.description"
|
48
|
-
label="Description"
|
49
|
-
placeholder="Not specified"
|
50
|
-
class="mn-b-semi bg-light pd-medium radius-small"
|
51
|
-
:validation="organizationName"
|
52
|
-
/>
|
53
|
-
|
54
50
|
<!-- <p class="mn-b-thin">Select your birthday if you want to receive your birthday gift.</p>
|
55
51
|
|
56
52
|
<Field
|
@@ -61,41 +57,47 @@
|
|
61
57
|
class="mn-b-semi bg-light pd-medium radius-small"
|
62
58
|
:validation="organizationName"
|
63
59
|
/> -->
|
64
|
-
<
|
65
|
-
|
60
|
+
<div class="bg-white mn-b-thin pd-medium">
|
61
|
+
<h3 class="mn-b-small">Socials</h3>
|
62
|
+
<p class="mn-b-thin">Please provide only the username for social media profiles, without full links.</p>
|
63
|
+
|
64
|
+
<Field
|
65
|
+
v-model:field="users.state.current.socials.instagram"
|
66
|
+
label="Instagram"
|
67
|
+
placeholder=""
|
68
|
+
class="mn-b-thin bg-light pd-medium radius-small"
|
69
|
+
/>
|
70
|
+
<Field
|
71
|
+
v-model:field="users.state.current.socials.twitter"
|
72
|
+
label="Twitter"
|
73
|
+
placeholder=""
|
74
|
+
class="mn-b-thin bg-light pd-medium radius-small"
|
75
|
+
/>
|
76
|
+
<Field
|
77
|
+
v-model:field="users.state.current.socials.facebook"
|
78
|
+
label="Facebook"
|
79
|
+
placeholder=""
|
80
|
+
class="mn-b-thin bg-light pd-medium radius-small"
|
81
|
+
/>
|
82
|
+
<Field
|
83
|
+
v-model:field="users.state.current.socials.telegram"
|
84
|
+
label="Telegram"
|
85
|
+
placeholder=""
|
86
|
+
class="mn-b-semi bg-light pd-medium radius-small"
|
87
|
+
/>
|
88
|
+
</div>
|
66
89
|
|
67
|
-
<
|
68
|
-
v-model:field="users.state.current.socials.instagram"
|
69
|
-
label="Instagram"
|
70
|
-
placeholder=""
|
71
|
-
class="mn-b-thin bg-light pd-medium radius-small"
|
72
|
-
/>
|
73
|
-
<Field
|
74
|
-
v-model:field="users.state.current.socials.twitter"
|
75
|
-
label="Twitter"
|
76
|
-
placeholder=""
|
77
|
-
class="mn-b-thin bg-light pd-medium radius-small"
|
78
|
-
/>
|
79
|
-
<Field
|
80
|
-
v-model:field="users.state.current.socials.facebook"
|
81
|
-
label="Facebook"
|
82
|
-
placeholder=""
|
83
|
-
class="mn-b-thin bg-light pd-medium radius-small"
|
84
|
-
/>
|
85
|
-
<Field
|
86
|
-
v-model:field="users.state.current.socials.telegram"
|
87
|
-
label="Telegram"
|
88
|
-
placeholder=""
|
89
|
-
class="mn-b-semi bg-light pd-medium radius-small"
|
90
|
-
/>
|
91
|
-
<h3 class="mn-b-small">Settings</h3>
|
92
|
-
<Checkbox
|
93
|
-
:label="'Darkmode'"
|
94
|
-
:radio="globals.state.theme.darkmode"
|
95
|
-
@update:radio="event => globals.actions.toggleTheme()"
|
96
|
-
class="mn-b-semi w-100 bg-light t-black pd-medium radius-small"
|
97
|
-
/>
|
90
|
+
<ProfileEditCredentials class="bg-white mn-b-thin pd-medium"/>
|
98
91
|
|
92
|
+
<div class="bg-white mn-b-thin pd-medium">
|
93
|
+
<h3 class="mn-b-small">Settings</h3>
|
94
|
+
<Checkbox
|
95
|
+
:label="'Darkmode'"
|
96
|
+
:radio="globals.state.theme.darkmode"
|
97
|
+
@update:radio="event => globals.actions.toggleTheme()"
|
98
|
+
class="w-100 bg-light t-black pd-medium radius-small"
|
99
|
+
/>
|
100
|
+
</div>
|
99
101
|
|
100
102
|
<Button
|
101
103
|
:submit="onSubmit"
|
@@ -148,10 +150,17 @@
|
|
148
150
|
show.value = true
|
149
151
|
})
|
150
152
|
// Methods
|
153
|
+
|
151
154
|
async function onSubmit() {
|
152
155
|
await users.actions.update(users.state.current)
|
153
156
|
}
|
154
157
|
|
158
|
+
// Добавляем редирект после сохранения
|
159
|
+
async function handleSave() {
|
160
|
+
await onSubmit()
|
161
|
+
router.replace({ name: 'User Profile', params: { _id: users.state.current._id }})
|
162
|
+
}
|
163
|
+
|
155
164
|
async function onSubmitDelete() {
|
156
165
|
const confirmation = window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.");
|
157
166
|
|
@@ -166,6 +175,11 @@
|
|
166
175
|
function redirectTo () {
|
167
176
|
router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});
|
168
177
|
}
|
178
|
+
|
179
|
+
defineExpose({
|
180
|
+
onSubmit,
|
181
|
+
redirectTo
|
182
|
+
})
|
169
183
|
</script>
|
170
184
|
|
171
185
|
<style lang="scss">
|
@@ -3,6 +3,7 @@ import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.val
|
|
3
3
|
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
4
4
|
|
5
5
|
import IconPlus from '@pf/src/modules/icons/navigation/IconPlus.vue'
|
6
|
+
import IconCheckmark from '@pf/src/modules/icons/navigation/IconCheckmark.vue'
|
6
7
|
|
7
8
|
const users = {
|
8
9
|
path: 'users',
|
@@ -20,7 +21,9 @@ const users = {
|
|
20
21
|
title: {
|
21
22
|
en: 'Profile',
|
22
23
|
ru: 'Профиль'
|
23
|
-
}
|
24
|
+
},
|
25
|
+
title_hide: true,
|
26
|
+
hideNavigationBar: true
|
24
27
|
},
|
25
28
|
component: () => import(/* webpackChunkName: "profile" */ '../components/pages/Profile.vue'),
|
26
29
|
},{
|
@@ -33,7 +36,23 @@ const users = {
|
|
33
36
|
title: {
|
34
37
|
en: 'Edit Profile',
|
35
38
|
ru: 'Редактировать Профиль'
|
36
|
-
}
|
39
|
+
},
|
40
|
+
// actions: [{
|
41
|
+
// component: IconCheckmark,
|
42
|
+
// props: {},
|
43
|
+
// condition: () => true,
|
44
|
+
// action: async (router) => {
|
45
|
+
// const component = router.currentRoute.value.matched[0].instances.default
|
46
|
+
// console.log('Component:', component) // Проверим, что получаем
|
47
|
+
// console.log('Available methods:', Object.keys(component)) // Посмотрим доступные методы
|
48
|
+
|
49
|
+
// if (component && typeof component.onSubmit === 'function') {
|
50
|
+
// await component.onSubmit()
|
51
|
+
// } else {
|
52
|
+
// console.error('onSubmit is not available:', component)
|
53
|
+
// }
|
54
|
+
// }
|
55
|
+
// }]
|
37
56
|
},
|
38
57
|
component: () => import(/* webpackChunkName: "profile" */ '../components/pages/ProfileEdit.vue'),
|
39
58
|
},{
|
@@ -19,6 +19,7 @@
|
|
19
19
|
const state = reactive({
|
20
20
|
user: {
|
21
21
|
_id: undefined,
|
22
|
+
avatar: null,
|
22
23
|
username: '',
|
23
24
|
email: '',
|
24
25
|
phone: '',
|
@@ -40,7 +41,7 @@
|
|
40
41
|
const userCookie = cookie ? cookie : await getCookie('user');
|
41
42
|
|
42
43
|
if (userCookie) {
|
43
|
-
const { _id, email, phone, roles, accessToken } = userCookie;
|
44
|
+
const { _id, email, phone, avatar, roles, accessToken } = userCookie;
|
44
45
|
|
45
46
|
setAuthToken(accessToken);
|
46
47
|
|
@@ -50,7 +51,7 @@
|
|
50
51
|
state.accesses = userAccesses;
|
51
52
|
|
52
53
|
// Обновление состояния приложения с информацией о пользователе и его правах доступа
|
53
|
-
Object.assign(state.user, { _id, email, phone });
|
54
|
+
Object.assign(state.user, { _id, email, phone, avatar });
|
54
55
|
Object.assign(state.access, { token: accessToken, roles, status: !!accessToken });
|
55
56
|
} else {
|
56
57
|
console.log('no cookies')
|
@@ -58,6 +59,7 @@
|
|
58
59
|
state.accesses = [];
|
59
60
|
state.user = {
|
60
61
|
_id: undefined,
|
62
|
+
avatar: null,
|
61
63
|
username: '',
|
62
64
|
email: '',
|
63
65
|
phone: '',
|
@@ -77,6 +79,7 @@
|
|
77
79
|
state.user = {
|
78
80
|
_id: undefined,
|
79
81
|
username: '',
|
82
|
+
avatar: null,
|
80
83
|
email: '',
|
81
84
|
phone: '',
|
82
85
|
password: '',
|
@@ -185,6 +188,7 @@
|
|
185
188
|
Object.assign(state.user, {
|
186
189
|
_id: undefined,
|
187
190
|
username: '',
|
191
|
+
avatar: null,
|
188
192
|
email: '',
|
189
193
|
phone: '',
|
190
194
|
password: '',
|
@@ -6,11 +6,11 @@
|
|
6
6
|
url: blogpost.url
|
7
7
|
}
|
8
8
|
}"
|
9
|
-
class="font-second cursor-pointer hover-bg-
|
9
|
+
class="font-second cursor-pointer hover-bg-light pd-l-thin pd-r-thin radius-big">
|
10
10
|
👁️ {{blogpost.views}}
|
11
11
|
</router-link>
|
12
12
|
|
13
|
-
<div class="hover-bg-
|
13
|
+
<div class="hover-bg-light pd-l-thin pd-r-thin radius-big cursor-pointer">
|
14
14
|
<div class="cursor-pointer" @click="addReaction('like')" v-if="!isReacted">
|
15
15
|
👍 {{reactionsCount }}
|
16
16
|
</div>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
url: blogpost.url
|
26
26
|
}
|
27
27
|
}"
|
28
|
-
class="font-second cursor-pointer hover-bg-
|
28
|
+
class="font-second cursor-pointer hover-bg-light pd-l-thin pd-r-thin radius-big">
|
29
29
|
💬 {{ blogpost.numberOfComments }}
|
30
30
|
</router-link>
|
31
31
|
</footer>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
|
-
<div style="grid-template-columns: 2fr 4fr 2fr;" class="cols-3 gap-thin pd-t-zero pd-thin">
|
2
|
+
<div style="grid-template-columns: 2fr 4fr 2fr; grid-template-rows: auto 1fr auto;" class="cols-3 gap-thin pd-t-zero pd-thin mobile:pd-zero ">
|
3
3
|
|
4
|
-
<ul class="align-self-start pos-sticky pos-t-0 w-100 bg-
|
4
|
+
<ul class="align-self-start pos-sticky h-max pos-t-0 w-100 bg-white radius-medium pd-medium p-medium gap-thin flex-column mobile:flex-row mobile:radius-zero mobile:pd-thin flex-nowrap flex z-index-2 o-scroll t-nowrap scroll-hide">
|
5
5
|
<li
|
6
6
|
:class="{'t-black bg-white': route.params.category === 'featured' }"
|
7
7
|
@click="() => { blog.state.sort.param = 'createdAt'; router.push({name: 'Blog', params: { category: 'featured' } })}"
|
@@ -49,9 +49,9 @@
|
|
49
49
|
|
50
50
|
<section class="pos-relative">
|
51
51
|
|
52
|
-
<header v-if="!route.params.url" class="bg-
|
53
|
-
<
|
54
|
-
<span class="mn-r-thin">
|
52
|
+
<header v-if="!route.params.url" class="bg-white pd-medium radius-medium mobile:radius-zero t-black pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex">
|
53
|
+
<h2 class="pos-relative t-nowrap flex-v-center flex-nowrap flex">
|
54
|
+
<span class="mn-r-thin">Posts for </span>
|
55
55
|
|
56
56
|
<Select
|
57
57
|
:options="['today','week','month','year','all time']"
|
@@ -64,11 +64,11 @@
|
|
64
64
|
bg-main t-black
|
65
65
|
pd-thin
|
66
66
|
radius-medium
|
67
|
-
|
67
|
+
h2
|
68
68
|
t-center
|
69
69
|
"
|
70
70
|
/>
|
71
|
-
</
|
71
|
+
</h2>
|
72
72
|
</header>
|
73
73
|
|
74
74
|
<router-view v-slot="{ Component, route }">
|
@@ -79,7 +79,7 @@
|
|
79
79
|
|
80
80
|
</section>
|
81
81
|
|
82
|
-
<div class="desktop-only align-self-start bg-
|
82
|
+
<div class="desktop-only align-self-start bg-white radius-medium pd-medium">
|
83
83
|
<div class="gap-thin flex-nowrap flex">
|
84
84
|
<p class="t-medium mn-b-small">Popular Communities</p>
|
85
85
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<section>
|
3
|
-
<TransitionGroup tag="ul" name="fade" class="o-hidden bg-
|
3
|
+
<TransitionGroup tag="ul" name="fade" class="o-hidden bg-white radius-medium">
|
4
4
|
<SkeletonBlogpost
|
5
5
|
v-if="isLoading"
|
6
6
|
v-for="i in 3" :key="i"
|
@@ -29,7 +29,7 @@
|
|
29
29
|
:user="auth.state.user._id"
|
30
30
|
:type="'blogpostPage'"
|
31
31
|
:hideTitle="true"
|
32
|
-
class="mn-b-thin"
|
32
|
+
class="mn-b-thin bg-white radius-medium"
|
33
33
|
>
|
34
34
|
|
35
35
|
<Viewer
|
@@ -53,7 +53,7 @@
|
|
53
53
|
:type="'blogpost'"
|
54
54
|
:target="blogpost._id"
|
55
55
|
:owner="auth.state.user._id"
|
56
|
-
class="bg-
|
56
|
+
class="bg-white radius-medium pd-medium"
|
57
57
|
/>
|
58
58
|
|
59
59
|
</TransitionGroup>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
:key="blogpost._id"
|
14
14
|
:blogpost="blogpost"
|
15
15
|
:owner="auth.state.user._id"
|
16
|
-
class="mn-b-medium"
|
16
|
+
class="mn-b-medium "
|
17
17
|
>
|
18
18
|
<div class="flex-nowrap flex pd-t-zero pd-b-zero pd-big">
|
19
19
|
<button class="mn-r-thin button-small w-100 button" @click="$router.push({path: '/community/posts/' + blogpost.url + '/edit'})">Edit</button>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<div class="mn-b-small" v-if="owner">
|
11
|
-
<form @submit.prevent="submitComment" class="bg-
|
11
|
+
<form @submit.prevent="submitComment" class="bg-light radius-medium pd-small">
|
12
12
|
<textarea v-model="commentContent" placeholder="Enter your comment" class="p-big w-100 radius-small mn-r-small"></textarea>
|
13
13
|
<button type="submit" class="mn-l-auto bg-main button">Send</button>
|
14
14
|
</form>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
:owner="owner"
|
25
25
|
@reply="handleReply"
|
26
26
|
@load-more="loadMoreChildren"
|
27
|
-
class="comment mn-b-small radius-
|
27
|
+
class="comment mn-b-small radius-medium"
|
28
28
|
/>
|
29
29
|
</div>
|
30
30
|
</template>
|