@ozdao/prometheus-framework 0.2.252 → 0.2.254
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +298 -14
- package/dist/auth.server.mjs +298 -14
- package/dist/builder.js +4 -4
- package/dist/builder.mjs +4 -4
- package/dist/chats.server.js +110 -0
- package/dist/chats.server.mjs +111 -0
- package/dist/community.server.js +38 -21
- package/dist/community.server.mjs +38 -21
- package/dist/events.server.js +38 -18
- package/dist/events.server.mjs +38 -17
- package/dist/files.server.js +12 -3
- package/dist/files.server.mjs +12 -3
- package/dist/gallery.server.js +17 -4
- package/dist/gallery.server.mjs +17 -4
- package/dist/organizations.server.js +43 -26
- package/dist/organizations.server.mjs +43 -26
- package/dist/products.server.js +49 -23
- package/dist/products.server.mjs +49 -22
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +15 -3
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +16 -4
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +284 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +284 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +85 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +85 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +176 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +176 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +114 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs +72 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js +72 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs +97 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js +97 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.js +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.js.map +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +32 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +32 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/chats.client.cjs +31 -0
- package/dist/prometheus-framework/src/modules/chats/chats.client.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/chats/chats.client.js +31 -0
- package/dist/prometheus-framework/src/modules/chats/chats.client.js.map +1 -0
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +42 -7
- package/dist/prometheus-framework/src/modules/community/community.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +59 -24
- package/dist/prometheus-framework/src/modules/community/community.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +68 -70
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +68 -70
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs +26 -3
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.js +27 -4
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs +2 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +4 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs +63 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.js +63 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.js.map +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js.map +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.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +60 -11
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +95 -46
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +6 -10
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +8 -12
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +500 -500
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +500 -500
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs +179 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js +179 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs +64 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js +64 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- 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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +156 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +157 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +72 -7
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +114 -49
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs +46 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js +46 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +79 -36
- 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 +78 -35
- package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs +57 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.js +57 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.js.map +1 -0
- package/dist/prometheus-framework/src/modules/reports/reports.client.cjs +21 -2
- package/dist/prometheus-framework/src/modules/reports/reports.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/reports.client.js +20 -1
- package/dist/prometheus-framework/src/modules/reports/reports.client.js.map +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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/reports.server.js +21 -8
- package/dist/reports.server.mjs +21 -8
- package/package.json +9 -1
- package/src/builder/webpack/webpack.config.client.js +2 -2
- package/src/builder/webpack/webpack.config.server.js +1 -1
- package/src/builder/webpack/webpack.config.spa.js +1 -1
- package/src/builder/webpack/webpack.config.ssr.js +1 -1
- package/src/modules/auth/auth.client.js +16 -3
- package/src/modules/auth/auth.server.js +22 -1
- package/src/modules/{users → auth/controllers}/routes/users.routes.js +1 -1
- package/src/modules/auth/controllers/services/auth.service.js +0 -1
- package/src/modules/{users → auth/views}/components/pages/Profile.vue +1 -1
- package/src/modules/{users → auth/views}/components/pages/ProfileEdit.vue +2 -2
- package/src/modules/{users → auth/views}/components/sections/FeaturedUsers.vue +2 -2
- package/src/modules/auth/views/router/users.js +79 -0
- package/src/modules/backoffice/backoffice.client.js +53 -11
- package/src/modules/backoffice/router/backoffice.js +29 -2
- package/src/modules/chats/chats.client.js +48 -0
- package/src/modules/chats/chats.server.js +32 -0
- package/src/modules/community/community.client.js +56 -10
- package/src/modules/community/community.server.js +35 -14
- package/src/modules/community/models/comment.model.js +7 -7
- package/src/modules/community/models/reaction.model.js +5 -5
- package/src/modules/community/router/blogposts.js +55 -57
- package/src/modules/events/events.server.js +37 -16
- package/src/modules/events/models/ticket.model.js +6 -6
- package/src/modules/files/files.server.js +17 -7
- package/src/modules/gallery/gallery.client.js +44 -8
- package/src/modules/gallery/gallery.server.js +28 -9
- package/src/modules/gallery/router/gallery.router.js +2 -2
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +1 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/orders.client.js +4 -1
- package/src/modules/orders/orders.server.js +1 -0
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/controllers/organizations.controller.js +0 -2
- package/src/modules/organizations/models/department.model.js +7 -7
- package/src/modules/organizations/models/membership.model.js +5 -5
- package/src/modules/organizations/organizations.client.js +71 -16
- package/src/modules/organizations/organizations.server.js +43 -18
- package/src/modules/organizations/router/organizations.js +6 -13
- package/src/modules/{marketplace → products}/components/layouts/Marketplace.vue +20 -19
- package/src/modules/{marketplace → products}/components/pages/Catalog.vue +5 -5
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/{marketplace → products}/components/sections/Filters.vue +12 -15
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/PopularProducts.vue +1 -1
- package/src/modules/products/models/category.model.js +3 -3
- package/src/modules/products/models/product.model.js +7 -7
- package/src/modules/products/products.client.js +93 -25
- package/src/modules/products/products.server.js +47 -16
- package/src/modules/products/router/marketplace.router.js +38 -0
- package/src/modules/products/router/products.router.js +72 -32
- package/src/modules/reports/models/report.model.js +4 -4
- package/src/modules/reports/reports.client.js +35 -14
- package/src/modules/reports/reports.server.js +27 -8
- package/src/modules/spots/components/layouts/Spots.vue +1 -1
- package/src/modules/spots/components/pages/Map.vue +1 -1
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/backoffice/router/admin.js +0 -51
- package/src/modules/landing/components/pages/404.vue +0 -3
- package/src/modules/landing/components/pages/Farming.vue +0 -226
- package/src/modules/landing/components/pages/Governance.vue +0 -144
- package/src/modules/landing/components/pages/Home.vue +0 -51
- package/src/modules/landing/components/pages/Hotel.vue +0 -43
- package/src/modules/landing/router/landing.js +0 -39
- package/src/modules/legal/components/pages/Legal.vue +0 -62
- package/src/modules/legal/components/pages/legal/Cookies.vue +0 -370
- package/src/modules/legal/components/pages/legal/EULA.vue +0 -2145
- package/src/modules/legal/components/pages/legal/Privacy.vue +0 -4284
- package/src/modules/legal/components/pages/legal/Terms.vue +0 -1283
- package/src/modules/legal/legal.client.js +0 -18
- package/src/modules/legal/router/legal.js +0 -59
- package/src/modules/marketplace/router/marketplace.js +0 -54
- package/src/modules/users/router/users.js +0 -90
- package/src/modules/users/users.client.js +0 -22
- package/src/modules/users/users.server.js +0 -13
- /package/src/modules/{users → auth/controllers}/middlewares/visitor.logger.js +0 -0
- /package/src/modules/{users/controllers/users.controller.js → auth/controllers/services/users.service.js} +0 -0
- /package/src/modules/{users → auth}/models/request.model.js +0 -0
- /package/src/modules/{users → auth}/models/user.model.js +0 -0
- /package/src/modules/{users → auth}/models/visitor.model.js +0 -0
- /package/src/modules/{users → auth/views}/components/blocks/CardUser.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileBlogposts.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileComments.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileLikes.vue +0 -0
- /package/src/modules/{users → auth/views}/components/sections/ProfileCompletion.vue +0 -0
- /package/src/modules/{users → auth/views}/router/account.js +0 -0
- /package/src/modules/{users → auth/views}/store/users.js +0 -0
- /package/src/modules/{projects/controller → governance/controllers/factories}/projects.controller.js +0 -0
- /package/src/modules/{projects → governance/controllers}/routes/projects.routes.js +0 -0
- /package/src/modules/{projects → governance}/models/project.model.js +0 -0
- /package/src/modules/{projects → governance/views}/store/projects.js +0 -0
- /package/src/modules/{marketplace → products}/store/marketplace.js +0 -0
@@ -1,5 +1,35 @@
|
|
1
|
-
import
|
1
|
+
import backofficeRoutes from "./router/backoffice.js";
|
2
|
+
import _sfc_main from "./components/layouts/Backoffice.vue.js";
|
3
|
+
import _sfc_main$1 from "./components/pages/Dashboard.vue.js";
|
4
|
+
import _sfc_main$2 from "./components/partials/Sidebar.vue.js";
|
5
|
+
function initializeBackoffice(app, store, router, options = {}) {
|
6
|
+
const route = options.route || "Home";
|
7
|
+
router.addRoute(route, backofficeRoutes);
|
8
|
+
}
|
9
|
+
const ModuleBackoffice = {
|
10
|
+
initialize: initializeBackoffice,
|
11
|
+
views: {
|
12
|
+
router: {
|
13
|
+
routerBackoffice: backofficeRoutes
|
14
|
+
},
|
15
|
+
components: {
|
16
|
+
// Layouts
|
17
|
+
BackofficeLayout: _sfc_main,
|
18
|
+
// Pages
|
19
|
+
Dashboard: _sfc_main$1,
|
20
|
+
// Admin components
|
21
|
+
// AdminDashboard,
|
22
|
+
// FastOrders,
|
23
|
+
// UserEdit,
|
24
|
+
// Users,
|
25
|
+
// ProductEdit,
|
26
|
+
// Backcalls,
|
27
|
+
// Partials
|
28
|
+
Sidebar: _sfc_main$2
|
29
|
+
}
|
30
|
+
}
|
31
|
+
};
|
2
32
|
export {
|
3
|
-
|
33
|
+
ModuleBackoffice as default
|
4
34
|
};
|
5
35
|
//# sourceMappingURL=backoffice.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
1
|
+
{"version":3,"file":"backoffice.client.js","sources":["../../../../../src/modules/backoffice/backoffice.client.js"],"sourcesContent":["// Router\nimport routerBackoffice from './router/backoffice';\n\n// Views\n// Layouts\nimport BackofficeLayout from './components/layouts/Backoffice.vue';\n\n// Pages\nimport Dashboard from './components/pages/Dashboard.vue';\n\n// Admin components\n// import AdminDashboard from './components/admin/Dashboard.vue';\n// import FastOrders from './components/admin/FastOrders.vue';\n// import UserEdit from './components/admin/UserEdit.vue';\n// import Users from './components/admin/Users.vue';\n// import ProductEdit from './components/admin/ProductEdit.vue';\n// import Backcalls from './components/admin/Backcalls.vue';\n\n// Partials\nimport Sidebar from './components/partials/Sidebar.vue';\n\n// Пример функции инициализации для модуля бэкофиса\nfunction initializeBackoffice(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n // const routesBackoffice = createBackofficeRoutes();\n // const routesAdmin = createAdminRoutes();\n \n router.addRoute(route, routerBackoffice);\n // router.addRoute(`${route}.admin`, routerBackoffice);\n}\n\nconst ModuleBackoffice = {\n initialize: initializeBackoffice,\n views: {\n router: {\n routerBackoffice\n },\n components: {\n // Layouts\n BackofficeLayout,\n // Pages\n Dashboard,\n // Admin components\n // AdminDashboard,\n // FastOrders,\n // UserEdit,\n // Users,\n // ProductEdit,\n // Backcalls,\n // Partials\n Sidebar\n }\n }\n}\n\nexport default ModuleBackoffice;"],"names":["routerBackoffice","BackofficeLayout","Dashboard","Sidebar"],"mappings":";;;;AAsBA,SAAS,qBAAqB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC9D,QAAM,QAAQ,QAAQ,SAAS;AAK/B,SAAO,SAAS,OAAOA,gBAAgB;AAEzC;AAEK,MAAC,mBAAmB;AAAA,EACvB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,QAAQ;AAAA,MACZ,kBAAMA;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,kBAAMC;AAAAA;AAAAA,MAEN,WAAMC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,MASN,SAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -4,7 +4,7 @@ const Backoffice = require("../components/layouts/Backoffice.vue.cjs");
|
|
4
4
|
const Sidebar = require("../components/partials/Sidebar.vue.cjs");
|
5
5
|
require("vue");
|
6
6
|
const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
|
7
|
-
const backofficeRoutes =
|
7
|
+
const backofficeRoutes = {
|
8
8
|
path: "backoffice",
|
9
9
|
name: "Backoffice Root",
|
10
10
|
component: Backoffice.default,
|
@@ -92,6 +92,6 @@ const backofficeRoutes = [{
|
|
92
92
|
))
|
93
93
|
}
|
94
94
|
]
|
95
|
-
}
|
95
|
+
};
|
96
96
|
exports.default = backofficeRoutes;
|
97
97
|
//# sourceMappingURL=backoffice.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.cjs","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import layoutBackoffice from '../components/layouts/Backoffice.vue'\nimport Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst backofficeRoutes =
|
1
|
+
{"version":3,"file":"backoffice.cjs","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import layoutBackoffice from '../components/layouts/Backoffice.vue'\nimport Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// const admin = [\n// {\n// path: 'admin',\n// component: layoutAdmin,\n// meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// children: [{\n// path: 'backcalls',\n// name: 'Backcalls',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'Backcalls' */ '@/components/pages/admin/Backcalls.vue')\n// },{\n// path: 'fastorder',\n// name: 'FastOrders',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'FastOrders' */ '@/components/pages/admin/FastOrders.vue')\n// },{\n// path: 'users',\n// name: 'Users',\n// component: () => import(/* webpackChunkName: 'Users' */ '@/components/pages/admin/Users.vue')\n// },{\n// path: 'users/:phone',\n// name: 'User',\n// component: () => import(/* webpackChunkName: 'User' */ '@/components/pages/admin/User.vue')\n// }]\n// } \n// ];\n\nconst backofficeRoutes = {\n path: 'backoffice',\n name: 'Backoffice Root',\n\n component: layoutBackoffice,\n\n meta: {\n sidebar: Sidebar,\n },\n \n props: {\n newsletterPopup: 12344\n },\n\n beforeEnter: [\n validationAuth.requiresAdmin,\n ],\n children: [{\n path: '',\n name: 'Backoffice Admin',\n meta: {\n title: {\n en: 'Backoffice',\n ru: 'Управление'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '../components/pages/Dashboard.vue'),\n },{\n path: 'reports',\n name: 'Backoffice Reports',\n meta: {\n title: {\n en: 'Backoffice Reports',\n ru: 'Управление Жалобами'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '@pf/src/modules/reports/components/pages/BackofficeReports.vue'),\n },\n {\n path: 'organizations',\n name: 'Backoffice Organizations',\n meta: {\n title: {\n en: 'Backoffice Organizations',\n ru: 'Управление Организациями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeOrganizations' */ '@pf/src/modules/organizations/components/pages/Organizations.vue'),\n },{\n path: 'events',\n name: 'Backoffice Events',\n meta: {\n title: {\n en: 'Backoffice Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeEvents' */ '@pf/src/modules/events/components/pages/Events.vue'),\n },{\n path: 'community',\n name: 'Backoffice Community',\n meta: {\n title: {\n en: 'Backoffice Community',\n ru: 'Управление Сообществом'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeCommunity' */ '@pf/src/modules/community/components/pages/Community.vue'),\n }]\n};\n\nexport default backofficeRoutes;\n"],"names":["layoutBackoffice","Sidebar","validationAuth.requiresAdmin"],"mappings":";;;;;;AAkCK,MAAC,mBAAmB;AAAA,EACvB,MAAM;AAAA,EACN,MAAM;AAAA,EAEN,WAAWA,WAAgB;AAAA,EAE3B,MAAM;AAAA,IACJ,SAASC,QAAO;AAAA,EACjB;AAAA,EAED,OAAO;AAAA,IACL,iBAAiB;AAAA,EAClB;AAAA,EAED,aAAa;AAAA,IACXC,gBAA4B;AAAA,EAC7B;AAAA,EACD,UAAU;AAAA,IAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA4C;AAAA,MAAmC,CAAC;AAAA,IAC5G;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA4C;AAAA,MAAgE,CAAC;AAAA,IACtI;AAAA,IACD;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAkD;AAAA,MAAkE,CAAC;AAAA,IACjJ;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA2C;AAAA,MAAoD,CAAC;AAAA,IAC5H;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA8C;AAAA,MAA0D,CAAC;AAAA,IACrI;AAAA,EAAG;AACH;;"}
|
@@ -2,7 +2,7 @@ import _sfc_main from "../components/layouts/Backoffice.vue.js";
|
|
2
2
|
import _sfc_main$1 from "../components/partials/Sidebar.vue.js";
|
3
3
|
import "vue";
|
4
4
|
import { requiresAdmin } from "../../auth/views/middlewares/auth.validation.js";
|
5
|
-
const backofficeRoutes =
|
5
|
+
const backofficeRoutes = {
|
6
6
|
path: "backoffice",
|
7
7
|
name: "Backoffice Root",
|
8
8
|
component: _sfc_main,
|
@@ -90,7 +90,7 @@ const backofficeRoutes = [{
|
|
90
90
|
)
|
91
91
|
}
|
92
92
|
]
|
93
|
-
}
|
93
|
+
};
|
94
94
|
export {
|
95
95
|
backofficeRoutes as default
|
96
96
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.js","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import layoutBackoffice from '../components/layouts/Backoffice.vue'\nimport Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst backofficeRoutes =
|
1
|
+
{"version":3,"file":"backoffice.js","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import layoutBackoffice from '../components/layouts/Backoffice.vue'\nimport Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// const admin = [\n// {\n// path: 'admin',\n// component: layoutAdmin,\n// meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// children: [{\n// path: 'backcalls',\n// name: 'Backcalls',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'Backcalls' */ '@/components/pages/admin/Backcalls.vue')\n// },{\n// path: 'fastorder',\n// name: 'FastOrders',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'FastOrders' */ '@/components/pages/admin/FastOrders.vue')\n// },{\n// path: 'users',\n// name: 'Users',\n// component: () => import(/* webpackChunkName: 'Users' */ '@/components/pages/admin/Users.vue')\n// },{\n// path: 'users/:phone',\n// name: 'User',\n// component: () => import(/* webpackChunkName: 'User' */ '@/components/pages/admin/User.vue')\n// }]\n// } \n// ];\n\nconst backofficeRoutes = {\n path: 'backoffice',\n name: 'Backoffice Root',\n\n component: layoutBackoffice,\n\n meta: {\n sidebar: Sidebar,\n },\n \n props: {\n newsletterPopup: 12344\n },\n\n beforeEnter: [\n validationAuth.requiresAdmin,\n ],\n children: [{\n path: '',\n name: 'Backoffice Admin',\n meta: {\n title: {\n en: 'Backoffice',\n ru: 'Управление'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '../components/pages/Dashboard.vue'),\n },{\n path: 'reports',\n name: 'Backoffice Reports',\n meta: {\n title: {\n en: 'Backoffice Reports',\n ru: 'Управление Жалобами'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '@pf/src/modules/reports/components/pages/BackofficeReports.vue'),\n },\n {\n path: 'organizations',\n name: 'Backoffice Organizations',\n meta: {\n title: {\n en: 'Backoffice Organizations',\n ru: 'Управление Организациями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeOrganizations' */ '@pf/src/modules/organizations/components/pages/Organizations.vue'),\n },{\n path: 'events',\n name: 'Backoffice Events',\n meta: {\n title: {\n en: 'Backoffice Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeEvents' */ '@pf/src/modules/events/components/pages/Events.vue'),\n },{\n path: 'community',\n name: 'Backoffice Community',\n meta: {\n title: {\n en: 'Backoffice Community',\n ru: 'Управление Сообществом'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeCommunity' */ '@pf/src/modules/community/components/pages/Community.vue'),\n }]\n};\n\nexport default backofficeRoutes;\n"],"names":["layoutBackoffice","Sidebar","validationAuth.requiresAdmin"],"mappings":";;;;AAkCK,MAAC,mBAAmB;AAAA,EACvB,MAAM;AAAA,EACN,MAAM;AAAA,EAEN,WAAWA;AAAAA,EAEX,MAAM;AAAA,IACJ,SAASC;AAAAA,EACV;AAAA,EAED,OAAO;AAAA,IACL,iBAAiB;AAAA,EAClB;AAAA,EAED,aAAa;AAAA,IACXC;AAAAA,EACD;AAAA,EACD,UAAU;AAAA,IAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAmD;AAAA,MAAmC;AAAA,IAC3G;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAmD;AAAA,MAAgE;AAAA,IACrI;AAAA,IACD;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAyD;AAAA,MAAkE;AAAA,IAChJ;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAkD;AAAA,MAAoD;AAAA,IAC3H;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAqD;AAAA,MAA0D;AAAA,IACpI;AAAA,EAAG;AACH;"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const chat_store = require("./store/chat.store.cjs");
|
4
|
+
const ChatPage = require("./components/pages/ChatPage.vue.cjs");
|
5
|
+
const ChatWindow = require("./components/sections/ChatWindow.vue.cjs");
|
6
|
+
const ChatMessage = require("./components/blocks/ChatMessage.vue.cjs");
|
7
|
+
function initializeChats(app, store, router, options = {}) {
|
8
|
+
options.route || "Home";
|
9
|
+
store.addStore("chat", chat_store);
|
10
|
+
}
|
11
|
+
const ModuleChats = {
|
12
|
+
initialize: initializeChats,
|
13
|
+
views: {
|
14
|
+
store: {
|
15
|
+
storeChatModule: chat_store
|
16
|
+
},
|
17
|
+
router: {
|
18
|
+
// createChatRoutes
|
19
|
+
},
|
20
|
+
components: {
|
21
|
+
// Pages
|
22
|
+
ChatPage: ChatPage.default,
|
23
|
+
// Sections
|
24
|
+
ChatWindow: ChatWindow.default,
|
25
|
+
// Blocks
|
26
|
+
ChatMessage: ChatMessage.default
|
27
|
+
}
|
28
|
+
}
|
29
|
+
};
|
30
|
+
exports.default = ModuleChats;
|
31
|
+
//# sourceMappingURL=chats.client.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chats.client.cjs","sources":["../../../../../src/modules/chats/chats.client.js"],"sourcesContent":["// Store\nimport * as storeChatModule from './store/chat.store.js';\n\n// Router\n// import { createChatRoutes } from './router/chat.router';\n\n// Views\n// Pages\nimport ChatPage from './components/pages/ChatPage.vue';\n\n// Sections\nimport ChatWindow from './components/sections/ChatWindow.vue';\n\n// Blocks\nimport ChatMessage from './components/blocks/ChatMessage.vue';\n\n// Пример функции инициализации для модуля чатов\nfunction initializeChats(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n // const routesChat = createChatRoutes();\n \n // router.addRoute(route, routesChat);\n \n store.addStore('chat', storeChatModule);\n}\n\nconst ModuleChats = {\n initialize: initializeChats,\n views: {\n store: {\n storeChatModule\n },\n router: {\n // createChatRoutes\n },\n components: {\n // Pages\n ChatPage,\n // Sections\n ChatWindow,\n // Blocks\n ChatMessage\n }\n }\n}\n\nexport default ModuleChats;"],"names":["storeChatModule","ChatPage","ChatWindow","ChatMessage"],"mappings":";;;;;;AAiBA,SAAS,gBAAgB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC3C,UAAQ,SAAS;AAM/B,QAAM,SAAS,QAAQA,UAAe;AACxC;AAEK,MAAC,cAAc;AAAA,EAClB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,iBAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,UAAMC,SAAQ;AAAA;AAAA,MAEd,YAAMC,WAAU;AAAA;AAAA,MAEhB,aAAMC,YAAW;AAAA,IACZ;AAAA,EACF;AACH;;"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import * as chat_store from "./store/chat.store.js";
|
2
|
+
import _sfc_main from "./components/pages/ChatPage.vue.js";
|
3
|
+
import _sfc_main$1 from "./components/sections/ChatWindow.vue.js";
|
4
|
+
import ChatMessage from "./components/blocks/ChatMessage.vue.js";
|
5
|
+
function initializeChats(app, store, router, options = {}) {
|
6
|
+
options.route || "Home";
|
7
|
+
store.addStore("chat", chat_store);
|
8
|
+
}
|
9
|
+
const ModuleChats = {
|
10
|
+
initialize: initializeChats,
|
11
|
+
views: {
|
12
|
+
store: {
|
13
|
+
storeChatModule: chat_store
|
14
|
+
},
|
15
|
+
router: {
|
16
|
+
// createChatRoutes
|
17
|
+
},
|
18
|
+
components: {
|
19
|
+
// Pages
|
20
|
+
ChatPage: _sfc_main,
|
21
|
+
// Sections
|
22
|
+
ChatWindow: _sfc_main$1,
|
23
|
+
// Blocks
|
24
|
+
ChatMessage
|
25
|
+
}
|
26
|
+
}
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
ModuleChats as default
|
30
|
+
};
|
31
|
+
//# sourceMappingURL=chats.client.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chats.client.js","sources":["../../../../../src/modules/chats/chats.client.js"],"sourcesContent":["// Store\nimport * as storeChatModule from './store/chat.store.js';\n\n// Router\n// import { createChatRoutes } from './router/chat.router';\n\n// Views\n// Pages\nimport ChatPage from './components/pages/ChatPage.vue';\n\n// Sections\nimport ChatWindow from './components/sections/ChatWindow.vue';\n\n// Blocks\nimport ChatMessage from './components/blocks/ChatMessage.vue';\n\n// Пример функции инициализации для модуля чатов\nfunction initializeChats(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n // const routesChat = createChatRoutes();\n \n // router.addRoute(route, routesChat);\n \n store.addStore('chat', storeChatModule);\n}\n\nconst ModuleChats = {\n initialize: initializeChats,\n views: {\n store: {\n storeChatModule\n },\n router: {\n // createChatRoutes\n },\n components: {\n // Pages\n ChatPage,\n // Sections\n ChatWindow,\n // Blocks\n ChatMessage\n }\n }\n}\n\nexport default ModuleChats;"],"names":["storeChatModule","ChatPage","ChatWindow"],"mappings":";;;;AAiBA,SAAS,gBAAgB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC3C,UAAQ,SAAS;AAM/B,QAAM,SAAS,QAAQA,UAAe;AACxC;AAEK,MAAC,cAAc;AAAA,EAClB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,iBAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,UAAMC;AAAAA;AAAAA,MAEN,YAAMC;AAAAA;AAAAA,MAEA;AAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -1,5 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const blogposts = require("./store/blogposts.cjs");
|
4
|
+
const reactions = require("./store/reactions.cjs");
|
5
|
+
const blogposts$1 = require("./router/blogposts.cjs");
|
3
6
|
const Community = require("./components/layouts/Community.vue.cjs");
|
4
7
|
const CreateBlogPost = require("./components/pages/CreateBlogPost.vue.cjs");
|
5
8
|
const BlogPost = require("./components/pages/BlogPost.vue.cjs");
|
@@ -10,9 +13,43 @@ const CardBlogpost = require("./components/blocks/CardBlogpost.vue.cjs");
|
|
10
13
|
const JoinUs = require("./components/sections/JoinUs.vue.cjs");
|
11
14
|
const Comments = require("./components/sections/Comments.vue.cjs");
|
12
15
|
const HotPosts = require("./components/sections/HotPosts.vue.cjs");
|
13
|
-
|
14
|
-
const
|
15
|
-
|
16
|
+
function initializeCommunity(app, store, router, options = {}) {
|
17
|
+
const route = options.route || "Home";
|
18
|
+
router.addRoute(route, blogposts$1.default);
|
19
|
+
store.addStore("blogposts", blogposts);
|
20
|
+
store.addStore("reactions", reactions);
|
21
|
+
}
|
22
|
+
const ModuleCommunity = {
|
23
|
+
initialize: initializeCommunity,
|
24
|
+
views: {
|
25
|
+
store: {
|
26
|
+
storeBlogposts: blogposts,
|
27
|
+
storeReactions: reactions
|
28
|
+
},
|
29
|
+
router: {
|
30
|
+
routerCommunity: blogposts$1.default
|
31
|
+
},
|
32
|
+
components: {
|
33
|
+
// Layouts
|
34
|
+
Community: Community.default,
|
35
|
+
// Pages
|
36
|
+
CreateBlogPost: CreateBlogPost.default,
|
37
|
+
BlogPost: BlogPost.default,
|
38
|
+
Blog: Blog.default,
|
39
|
+
// Blocks
|
40
|
+
FooterBlogpost: FooterBlogpost.default,
|
41
|
+
Activity: Activity.default,
|
42
|
+
CardBlogpost: CardBlogpost.default,
|
43
|
+
// Sections
|
44
|
+
JoinUs: JoinUs.default,
|
45
|
+
Comments: Comments.default,
|
46
|
+
HotPosts: HotPosts.default
|
47
|
+
}
|
48
|
+
}
|
49
|
+
};
|
50
|
+
exports.storeBlogposts = blogposts;
|
51
|
+
exports.storeReactions = reactions;
|
52
|
+
exports.routerCommunity = blogposts$1.default;
|
16
53
|
exports.Community = Community.default;
|
17
54
|
exports.CreateBlogPost = CreateBlogPost.default;
|
18
55
|
exports.BlogPost = BlogPost.default;
|
@@ -23,7 +60,5 @@ exports.CardBlogpost = CardBlogpost.default;
|
|
23
60
|
exports.JoinUs = JoinUs.default;
|
24
61
|
exports.Comments = Comments.default;
|
25
62
|
exports.HotPosts = HotPosts.default;
|
26
|
-
exports.
|
27
|
-
exports.reactionsStore = reactions;
|
28
|
-
exports.blogpostsRoutes = blogposts$1.default;
|
63
|
+
exports.default = ModuleCommunity;
|
29
64
|
//# sourceMappingURL=community.client.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"community.client.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"community.client.cjs","sources":["../../../../../src/modules/community/community.client.js"],"sourcesContent":["// Store\nimport * as storeBlogposts from './store/blogposts.js';\nimport * as storeReactions from './store/reactions.js';\n\n// Router\nimport routerCommunity from './router/blogposts';\n\n// Views\n// Layouts\nimport Community from './components/layouts/Community.vue';\n\n// Pages\nimport CreateBlogPost from './components/pages/CreateBlogPost.vue';\nimport BlogPost from './components/pages/BlogPost.vue';\nimport Blog from './components/pages/Blog.vue';\n\n// Blocks\nimport FooterBlogpost from './components/blocks/FooterBlogpost.vue';\nimport Activity from './components/blocks/Activity.vue';\nimport CardBlogpost from './components/blocks/CardBlogpost.vue';\n\n// Sections\nimport JoinUs from './components/sections/JoinUs.vue';\nimport Comments from './components/sections/Comments.vue';\nimport HotPosts from './components/sections/HotPosts.vue';\n\n// Пример функции инициализации для модуля сообщества\nfunction initializeCommunity(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerCommunity);\n \n store.addStore('blogposts', storeBlogposts);\n store.addStore('reactions', storeReactions);\n}\n\nconst ModuleCommunity = {\n initialize: initializeCommunity,\n views: {\n store: {\n storeBlogposts,\n storeReactions\n },\n router: {\n routerCommunity\n },\n components: {\n // Layouts\n Community,\n // Pages\n CreateBlogPost,\n BlogPost,\n Blog,\n // Blocks\n FooterBlogpost,\n Activity,\n CardBlogpost,\n // Sections\n JoinUs,\n Comments,\n HotPosts\n }\n }\n}\n\nexport {\n Community,\n CreateBlogPost,\n BlogPost,\n Blog,\n FooterBlogpost,\n Activity,\n CardBlogpost,\n JoinUs,\n Comments,\n HotPosts,\n storeBlogposts,\n storeReactions,\n routerCommunity\n};\n\nexport default ModuleCommunity;"],"names":["routerCommunity","storeBlogposts","storeReactions","Community","CreateBlogPost","BlogPost","Blog","FooterBlogpost","Activity","CardBlogpost","JoinUs","Comments","HotPosts"],"mappings":";;;;;;;;;;;;;;;AA2BA,SAAS,oBAAoB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC7D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,YAAAA,OAAe;AAEtC,QAAM,SAAS,aAAaC,SAAc;AAC1C,QAAM,SAAS,aAAaC,SAAc;AAC5C;AAEK,MAAC,kBAAkB;AAAA,EACtB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,gBAAMD;AAAAA,MACN,gBAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,iBAAMF,YAAe;AAAA,IAChB;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,WAAMG,UAAS;AAAA;AAAA,MAEf,gBAAMC,eAAc;AAAA,MACpB,UAAMC,SAAQ;AAAA,MACd,MAAMC,KAAI;AAAA;AAAA,MAEV,gBAAMC,eAAc;AAAA,MACpB,UAAMC,SAAQ;AAAA,MACd,cAAMC,aAAY;AAAA;AAAA,MAElB,QAAMC,OAAM;AAAA,MACZ,UAAMC,SAAQ;AAAA,MACd,UAAMC,SAAQ;AAAA,IACT;AAAA,EACF;AACH;;;;;;;;;;;;;;;"}
|
@@ -1,29 +1,64 @@
|
|
1
|
-
import { default as default2 } from "./components/layouts/Community.vue.js";
|
2
|
-
import { default as default3 } from "./components/pages/CreateBlogPost.vue.js";
|
3
|
-
import { default as default4 } from "./components/pages/BlogPost.vue.js";
|
4
|
-
import { default as default5 } from "./components/pages/Blog.vue.js";
|
5
|
-
import { default as default6 } from "./components/blocks/FooterBlogpost.vue.js";
|
6
|
-
import { default as default7 } from "./components/blocks/Activity.vue.js";
|
7
|
-
import { default as default8 } from "./components/blocks/CardBlogpost.vue.js";
|
8
|
-
import { default as default9 } from "./components/sections/JoinUs.vue.js";
|
9
|
-
import { default as default10 } from "./components/sections/Comments.vue.js";
|
10
|
-
import { default as default11 } from "./components/sections/HotPosts.vue.js";
|
11
1
|
import * as blogposts from "./store/blogposts.js";
|
12
2
|
import * as reactions from "./store/reactions.js";
|
13
|
-
import
|
3
|
+
import community from "./router/blogposts.js";
|
4
|
+
import _sfc_main from "./components/layouts/Community.vue.js";
|
5
|
+
import _sfc_main$1 from "./components/pages/CreateBlogPost.vue.js";
|
6
|
+
import _sfc_main$2 from "./components/pages/BlogPost.vue.js";
|
7
|
+
import _sfc_main$3 from "./components/pages/Blog.vue.js";
|
8
|
+
import _sfc_main$4 from "./components/blocks/FooterBlogpost.vue.js";
|
9
|
+
import _sfc_main$5 from "./components/blocks/Activity.vue.js";
|
10
|
+
import _sfc_main$6 from "./components/blocks/CardBlogpost.vue.js";
|
11
|
+
import _sfc_main$7 from "./components/sections/JoinUs.vue.js";
|
12
|
+
import _sfc_main$8 from "./components/sections/Comments.vue.js";
|
13
|
+
import _sfc_main$9 from "./components/sections/HotPosts.vue.js";
|
14
|
+
function initializeCommunity(app, store, router, options = {}) {
|
15
|
+
const route = options.route || "Home";
|
16
|
+
router.addRoute(route, community);
|
17
|
+
store.addStore("blogposts", blogposts);
|
18
|
+
store.addStore("reactions", reactions);
|
19
|
+
}
|
20
|
+
const ModuleCommunity = {
|
21
|
+
initialize: initializeCommunity,
|
22
|
+
views: {
|
23
|
+
store: {
|
24
|
+
storeBlogposts: blogposts,
|
25
|
+
storeReactions: reactions
|
26
|
+
},
|
27
|
+
router: {
|
28
|
+
routerCommunity: community
|
29
|
+
},
|
30
|
+
components: {
|
31
|
+
// Layouts
|
32
|
+
Community: _sfc_main,
|
33
|
+
// Pages
|
34
|
+
CreateBlogPost: _sfc_main$1,
|
35
|
+
BlogPost: _sfc_main$2,
|
36
|
+
Blog: _sfc_main$3,
|
37
|
+
// Blocks
|
38
|
+
FooterBlogpost: _sfc_main$4,
|
39
|
+
Activity: _sfc_main$5,
|
40
|
+
CardBlogpost: _sfc_main$6,
|
41
|
+
// Sections
|
42
|
+
JoinUs: _sfc_main$7,
|
43
|
+
Comments: _sfc_main$8,
|
44
|
+
HotPosts: _sfc_main$9
|
45
|
+
}
|
46
|
+
}
|
47
|
+
};
|
14
48
|
export {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
49
|
+
_sfc_main$5 as Activity,
|
50
|
+
_sfc_main$3 as Blog,
|
51
|
+
_sfc_main$2 as BlogPost,
|
52
|
+
_sfc_main$6 as CardBlogpost,
|
53
|
+
_sfc_main$8 as Comments,
|
54
|
+
_sfc_main as Community,
|
55
|
+
_sfc_main$1 as CreateBlogPost,
|
56
|
+
_sfc_main$4 as FooterBlogpost,
|
57
|
+
_sfc_main$9 as HotPosts,
|
58
|
+
_sfc_main$7 as JoinUs,
|
59
|
+
ModuleCommunity as default,
|
60
|
+
community as routerCommunity,
|
61
|
+
blogposts as storeBlogposts,
|
62
|
+
reactions as storeReactions
|
28
63
|
};
|
29
64
|
//# sourceMappingURL=community.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"community.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"community.client.js","sources":["../../../../../src/modules/community/community.client.js"],"sourcesContent":["// Store\nimport * as storeBlogposts from './store/blogposts.js';\nimport * as storeReactions from './store/reactions.js';\n\n// Router\nimport routerCommunity from './router/blogposts';\n\n// Views\n// Layouts\nimport Community from './components/layouts/Community.vue';\n\n// Pages\nimport CreateBlogPost from './components/pages/CreateBlogPost.vue';\nimport BlogPost from './components/pages/BlogPost.vue';\nimport Blog from './components/pages/Blog.vue';\n\n// Blocks\nimport FooterBlogpost from './components/blocks/FooterBlogpost.vue';\nimport Activity from './components/blocks/Activity.vue';\nimport CardBlogpost from './components/blocks/CardBlogpost.vue';\n\n// Sections\nimport JoinUs from './components/sections/JoinUs.vue';\nimport Comments from './components/sections/Comments.vue';\nimport HotPosts from './components/sections/HotPosts.vue';\n\n// Пример функции инициализации для модуля сообщества\nfunction initializeCommunity(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerCommunity);\n \n store.addStore('blogposts', storeBlogposts);\n store.addStore('reactions', storeReactions);\n}\n\nconst ModuleCommunity = {\n initialize: initializeCommunity,\n views: {\n store: {\n storeBlogposts,\n storeReactions\n },\n router: {\n routerCommunity\n },\n components: {\n // Layouts\n Community,\n // Pages\n CreateBlogPost,\n BlogPost,\n Blog,\n // Blocks\n FooterBlogpost,\n Activity,\n CardBlogpost,\n // Sections\n JoinUs,\n Comments,\n HotPosts\n }\n }\n}\n\nexport {\n Community,\n CreateBlogPost,\n BlogPost,\n Blog,\n FooterBlogpost,\n Activity,\n CardBlogpost,\n JoinUs,\n Comments,\n HotPosts,\n storeBlogposts,\n storeReactions,\n routerCommunity\n};\n\nexport default ModuleCommunity;"],"names":["routerCommunity","storeBlogposts","storeReactions","Community","CreateBlogPost","BlogPost","Blog","FooterBlogpost","Activity","CardBlogpost","JoinUs","Comments","HotPosts"],"mappings":";;;;;;;;;;;;;AA2BA,SAAS,oBAAoB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC7D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,SAAe;AAEtC,QAAM,SAAS,aAAaC,SAAc;AAC1C,QAAM,SAAS,aAAaC,SAAc;AAC5C;AAEK,MAAC,kBAAkB;AAAA,EACtB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,gBAAMD;AAAAA,MACN,gBAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,iBAAMF;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,WAAMG;AAAAA;AAAAA,MAEN,gBAAMC;AAAAA,MACN,UAAMC;AAAAA,MACN,MAAMC;AAAAA;AAAAA,MAEN,gBAAMC;AAAAA,MACN,UAAMC;AAAAA,MACN,cAAMC;AAAAA;AAAAA,MAEN,QAAMC;AAAAA,MACN,UAAMC;AAAAA,MACN,UAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -3,82 +3,80 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const Community = require("../components/layouts/Community.vue.cjs");
|
4
4
|
const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
|
5
5
|
const ownership_validation = require("../../auth/views/middlewares/ownership.validation.cjs");
|
6
|
-
const community =
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
const community = {
|
7
|
+
path: "community",
|
8
|
+
component: Community.default,
|
9
|
+
meta: {
|
10
|
+
title: {
|
11
|
+
en: "Community",
|
12
|
+
ru: "Коммьюнити"
|
13
|
+
},
|
14
|
+
breadcrumbs: {
|
15
|
+
hidden: true
|
16
|
+
},
|
17
|
+
title_hide: true
|
18
|
+
},
|
19
|
+
children: [{
|
20
|
+
path: ":category?",
|
21
|
+
name: "Blog",
|
10
22
|
meta: {
|
11
23
|
title: {
|
12
24
|
en: "Community",
|
13
25
|
ru: "Коммьюнити"
|
14
26
|
},
|
15
|
-
breadcrumbs: {
|
16
|
-
hidden: true
|
17
|
-
},
|
18
27
|
title_hide: true
|
19
28
|
},
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
beforeEnter: [
|
73
|
-
auth_validation.requiresAuth,
|
74
|
-
ownership_validation.requiresEditAccess
|
75
|
-
],
|
76
|
-
component: () => Promise.resolve().then(() => require(
|
77
|
-
/* webpackChunkName: 'CreateBlogPost' */
|
78
|
-
"../components/pages/CreateBlogPost.vue.cjs"
|
79
|
-
))
|
80
|
-
}]
|
81
|
-
}
|
82
|
-
];
|
29
|
+
component: () => Promise.resolve().then(() => require(
|
30
|
+
/* webpackChunkName: 'Blog' */
|
31
|
+
"../components/pages/Blog.vue.cjs"
|
32
|
+
))
|
33
|
+
}, {
|
34
|
+
path: "posts/create",
|
35
|
+
name: "Create BlogPost",
|
36
|
+
meta: {
|
37
|
+
title: {
|
38
|
+
en: "Create Post",
|
39
|
+
ru: "Создать Пост"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
// beforeEnter: [
|
43
|
+
// validationAuth.requiresAuth,
|
44
|
+
// ],
|
45
|
+
component: () => Promise.resolve().then(() => require(
|
46
|
+
/* webpackChunkName: 'CreateBlogPost' */
|
47
|
+
"../components/pages/CreateBlogPost.vue.cjs"
|
48
|
+
))
|
49
|
+
}, {
|
50
|
+
path: "posts/:url",
|
51
|
+
name: "BlogPost",
|
52
|
+
meta: {
|
53
|
+
title: {
|
54
|
+
en: "Post",
|
55
|
+
ru: "Пост"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
component: () => Promise.resolve().then(() => require(
|
59
|
+
/* webpackChunkName: 'BlogPost' */
|
60
|
+
"../components/pages/BlogPost.vue.cjs"
|
61
|
+
))
|
62
|
+
}, {
|
63
|
+
path: "posts/:url/edit",
|
64
|
+
name: "Edit BlogPost",
|
65
|
+
meta: {
|
66
|
+
title: {
|
67
|
+
en: "Edit Post",
|
68
|
+
ru: "Редактировать пост"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
beforeEnter: [
|
72
|
+
auth_validation.requiresAuth,
|
73
|
+
ownership_validation.requiresEditAccess
|
74
|
+
],
|
75
|
+
component: () => Promise.resolve().then(() => require(
|
76
|
+
/* webpackChunkName: 'CreateBlogPost' */
|
77
|
+
"../components/pages/CreateBlogPost.vue.cjs"
|
78
|
+
))
|
79
|
+
}]
|
80
|
+
};
|
83
81
|
exports.default = community;
|
84
82
|
//# sourceMappingURL=blogposts.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"blogposts.cjs","sources":["../../../../../../src/modules/community/router/blogposts.js"],"sourcesContent":["import layoutCommunity from '../components/layouts/Community.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\nimport * as validationOwnership from '@pf/src/modules/auth/views/middlewares/ownership.validation';\n\
|
1
|
+
{"version":3,"file":"blogposts.cjs","sources":["../../../../../../src/modules/community/router/blogposts.js"],"sourcesContent":["import layoutCommunity from '../components/layouts/Community.vue'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\nimport * as validationOwnership from '@pf/src/modules/auth/views/middlewares/ownership.validation';\n\nconst community = {\n path: 'community',\n component: layoutCommunity,\n meta: {\n title: {\n en: 'Community',\n ru: 'Коммьюнити'\n },\n breadcrumbs: {\n hidden: true\n },\n title_hide: true\n\n },\n children: [{\n path: ':category?',\n name: 'Blog',\n meta: {\n title: {\n en: 'Community',\n ru: 'Коммьюнити'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'Blog' */ '../components/pages/Blog.vue')\n },{\n path: 'posts/create',\n name: 'Create BlogPost',\n meta: {\n title: {\n en: 'Create Post',\n ru: 'Создать Пост'\n },\n },\n // beforeEnter: [\n // validationAuth.requiresAuth,\n // ],\n component: () => import(/* webpackChunkName: 'CreateBlogPost' */ '../components/pages/CreateBlogPost.vue')\n },{\n path: 'posts/:url',\n name: 'BlogPost',\n meta: {\n title: {\n en: 'Post',\n ru: 'Пост'\n }\n },\n component: () => import(/* webpackChunkName: 'BlogPost' */ '../components/pages/BlogPost.vue')\n },{\n path: 'posts/:url/edit',\n name: 'Edit BlogPost',\n meta: {\n title: {\n en: 'Edit Post',\n ru: 'Редактировать пост'\n },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n validationOwnership.requiresEditAccess\n ],\n component: () => import(/* webpackChunkName: 'CreateBlogPost' */ '../components/pages/CreateBlogPost.vue')\n }]\n}\n\nexport default community;"],"names":["layoutCommunity","validationAuth.requiresAuth","validationOwnership.requiresEditAccess"],"mappings":";;;;;AAKK,MAAC,YAAY;AAAA,EAChB,MAAM;AAAA,EACN,WAAWA,UAAe;AAAA,EAC1B,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,IACD,YAAY;AAAA,EAEb;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAA+B;AAAA,IAA8B,CAAC;AAAA,EAC1F,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAID,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAyC;AAAA,IAAwC,CAAC;AAAA,EAC9G,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAmC;AAAA,IAAkC,CAAC;AAAA,EAClG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACL,MAAM;AAAA,MACL,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa;AAAA,MACXC,gBAA2B;AAAA,MAC3BC,qBAAsC;AAAA,IACvC;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAyC;AAAA,IAAwC,CAAC;AAAA,EAC9G,CAAG;AACH;;"}
|