@ozdao/prometheus-framework 0.2.251 → 0.2.253
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/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/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/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- 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/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- 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/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- 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/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/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- 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 +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/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/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/EditEventTickets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.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/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.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/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/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +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/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/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 +5 -5
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- 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/pages/OrganizationEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -4
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- 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 +786 -773
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +786 -773
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +5 -7
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -3
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.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/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs +178 -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 +178 -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 +62 -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 +62 -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/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -3
- 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/EditProductInfo.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.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/MenuSection.vue.cjs +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +74 -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 -47
- 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/components/sections/FormReport.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.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.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 +3 -3
- 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 +3 -3
- 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/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/package.json +1 -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/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/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/globals/globals.client.js +15 -14
- package/src/modules/governance/controllers/factories/initiatives.controller.js +94 -0
- package/src/modules/governance/controllers/factories/tasks.controller.js +94 -0
- package/src/modules/governance/controllers/factories/votes.controller.js +68 -0
- package/src/modules/governance/controllers/factories/votings.controller.js +112 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +13 -0
- package/src/modules/governance/controllers/routes/tasks.routes.js +13 -0
- package/src/modules/governance/controllers/routes/votes.routes.js +11 -0
- package/src/modules/governance/controllers/routes/votings.routes.js +14 -0
- package/src/modules/governance/models/initiative.model.js +25 -0
- package/src/modules/governance/models/task.model.js +21 -0
- package/src/modules/governance/models/vote.model.js +20 -0
- package/src/modules/governance/models/voting.model.js +22 -0
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +18 -0
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +19 -0
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +18 -0
- package/src/modules/governance/views/components/pages/Initiative.vue +22 -0
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +24 -0
- package/src/modules/governance/views/components/pages/Initiatives.vue +19 -0
- package/src/modules/governance/views/components/pages/Task.vue +23 -0
- package/src/modules/governance/views/components/pages/TaskCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Tasks.vue +19 -0
- package/src/modules/governance/views/components/pages/Voting.vue +30 -0
- package/src/modules/governance/views/components/pages/VotingCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Votings.vue +19 -0
- package/src/modules/governance/views/components/partials/RewardDisplay.vue +19 -0
- package/src/modules/governance/views/components/partials/VoteDisplay.vue +21 -0
- package/src/modules/governance/views/components/partials/VotingResult.vue +21 -0
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +41 -0
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/VoteForm.vue +29 -0
- package/src/modules/governance/views/store/initiatives.js +102 -0
- package/src/modules/governance/views/store/tasks.js +104 -0
- package/src/modules/governance/views/store/votes.js +115 -0
- package/src/modules/governance/views/store/votings.js +81 -0
- 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/pages/views/store/pages.js +1 -3
- package/src/modules/{marketplace → products}/components/layouts/Marketplace.vue +19 -19
- package/src/modules/{marketplace → products}/components/pages/Catalog.vue +0 -2
- 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/MenuSection.vue +8 -9
- 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 +95 -27
- 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/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 -55
- 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
@@ -0,0 +1,128 @@
|
|
1
|
+
import { ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, Transition, withCtx, Fragment, renderList, createBlock, createCommentVNode, normalizeClass, toDisplayString } from "vue";
|
2
|
+
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
3
|
+
import { useRouter } from "vue-router";
|
4
|
+
import { useI18n } from "vue-i18n";
|
5
|
+
import { state, actions as actions$1 } from "../../store/categories.js";
|
6
|
+
import { actions } from "../../store/products.js";
|
7
|
+
/* empty css */
|
8
|
+
const _hoisted_1 = {
|
9
|
+
id: "main-menu",
|
10
|
+
class: "pd-thin pos-relative"
|
11
|
+
};
|
12
|
+
const _hoisted_2 = {
|
13
|
+
key: 0,
|
14
|
+
class: "w-100 h-15r radius-big flex-center bg-light"
|
15
|
+
};
|
16
|
+
const _hoisted_3 = {
|
17
|
+
key: 1,
|
18
|
+
class: "gap-thin grid-container"
|
19
|
+
};
|
20
|
+
const _hoisted_4 = {
|
21
|
+
key: 0,
|
22
|
+
class: "w-33 radius-100 o-hidden mn-r-medium",
|
23
|
+
autoplay: "",
|
24
|
+
loop: "",
|
25
|
+
muted: ""
|
26
|
+
};
|
27
|
+
const _hoisted_5 = { class: "w-100 flex-v-center flex-nowrap flex" };
|
28
|
+
const _hoisted_6 = { class: "t-black capitalize h3" };
|
29
|
+
const _hoisted_7 = ["src"];
|
30
|
+
const _hoisted_8 = {
|
31
|
+
key: 0,
|
32
|
+
class: "mn-t-thin mn-b-thin t-transp t-black p-medium"
|
33
|
+
};
|
34
|
+
const _hoisted_9 = {
|
35
|
+
key: 1,
|
36
|
+
class: "mn-t-small radius-extra hover-bg-black t-medium t-black bg-main hover-t-white button-small button"
|
37
|
+
};
|
38
|
+
const _sfc_main = {
|
39
|
+
__name: "MenuSection",
|
40
|
+
setup(__props) {
|
41
|
+
useRouter();
|
42
|
+
const text = {
|
43
|
+
locale: "en",
|
44
|
+
messages: {
|
45
|
+
en: {
|
46
|
+
categories: []
|
47
|
+
},
|
48
|
+
ru: {
|
49
|
+
categories: []
|
50
|
+
}
|
51
|
+
}
|
52
|
+
};
|
53
|
+
state.all.forEach((category) => {
|
54
|
+
category.localization.forEach((localization) => {
|
55
|
+
text.messages[localization.locale].categories.push(localization.text);
|
56
|
+
});
|
57
|
+
});
|
58
|
+
useI18n(text);
|
59
|
+
const countProduct = ref(0);
|
60
|
+
const menu = ref(false);
|
61
|
+
onMounted(async () => {
|
62
|
+
countProduct.value = await actions.read({ count: true });
|
63
|
+
await actions$1.fetchCategories();
|
64
|
+
menu.value = true;
|
65
|
+
});
|
66
|
+
return (_ctx, _cache) => {
|
67
|
+
const _component_router_link = resolveComponent("router-link");
|
68
|
+
return openBlock(), createElementBlock("section", _hoisted_1, [
|
69
|
+
_cache[1] || (_cache[1] = createElementVNode("h2", { class: "w-m-60r mn-auto pd-t-big pd-b-big t-center" }, [
|
70
|
+
createTextVNode(" Weed and Accessories to "),
|
71
|
+
createElementVNode("br"),
|
72
|
+
createElementVNode("b", null, "Enhance Your Smoking Experience")
|
73
|
+
], -1)),
|
74
|
+
createVNode(Transition, {
|
75
|
+
name: "fade",
|
76
|
+
mode: "out-in",
|
77
|
+
appear: ""
|
78
|
+
}, {
|
79
|
+
default: withCtx(() => [
|
80
|
+
!menu.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
81
|
+
createVNode(Loader, { class: "pos-relative" })
|
82
|
+
])) : (openBlock(), createElementBlock("ul", _hoisted_3, [
|
83
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(state.all.slice(0, 5), (category, index) => {
|
84
|
+
return openBlock(), createBlock(_component_router_link, {
|
85
|
+
to: _ctx.getMarketplaceLink([category.url]),
|
86
|
+
key: category,
|
87
|
+
class: "cursor-pointer hover-scale-0 flex-v-center flex-h-center flex-nowrap flex-row flex bg-light radius-big pd-medium grid-item"
|
88
|
+
}, {
|
89
|
+
default: withCtx(() => [
|
90
|
+
category.url === "buds" ? (openBlock(), createElementBlock("video", _hoisted_4, _cache[0] || (_cache[0] = [
|
91
|
+
createElementVNode("source", {
|
92
|
+
src: "/output.webm",
|
93
|
+
type: "video/webm"
|
94
|
+
}, null, -1)
|
95
|
+
]))) : createCommentVNode("", true),
|
96
|
+
createElementVNode("div", {
|
97
|
+
class: normalizeClass(["w-100", { "mn-r-auto": category.url === "buds" }])
|
98
|
+
}, [
|
99
|
+
createElementVNode("div", _hoisted_5, [
|
100
|
+
createElementVNode("h3", _hoisted_6, toDisplayString(category.name), 1),
|
101
|
+
category.url !== "buds" ? (openBlock(), createElementBlock("img", {
|
102
|
+
key: 0,
|
103
|
+
loading: "lazy",
|
104
|
+
src: "/icons/categories/" + category.url + ".svg",
|
105
|
+
class: "i-extra t-transp mn-l-auto"
|
106
|
+
}, null, 8, _hoisted_7)) : createCommentVNode("", true)
|
107
|
+
]),
|
108
|
+
category.url === "buds" ? (openBlock(), createElementBlock("p", _hoisted_8, " Unveiling the Exceptional User Curated Best Buds ")) : createCommentVNode("", true),
|
109
|
+
category.url === "buds" ? (openBlock(), createElementBlock("button", _hoisted_9, [
|
110
|
+
createElementVNode("span", null, "Check " + toDisplayString(countProduct.value.count) + " products →", 1)
|
111
|
+
])) : createCommentVNode("", true)
|
112
|
+
], 2)
|
113
|
+
]),
|
114
|
+
_: 2
|
115
|
+
}, 1032, ["to"]);
|
116
|
+
}), 128))
|
117
|
+
]))
|
118
|
+
]),
|
119
|
+
_: 1
|
120
|
+
})
|
121
|
+
]);
|
122
|
+
};
|
123
|
+
}
|
124
|
+
};
|
125
|
+
export {
|
126
|
+
_sfc_main as default
|
127
|
+
};
|
128
|
+
//# sourceMappingURL=MenuSection.vue.js.map
|
package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MenuSection.vue.js","sources":["../../../../../../../src/modules/products/components/sections/MenuSection.vue"],"sourcesContent":["<template>\n\t<section id=\"main-menu\" class=\"pd-thin pos-relative\">\n\t\t<h2 class=\"w-m-60r mn-auto pd-t-big pd-b-big t-center\">\n\t\t\tWeed and Accessories to <br><b>Enhance Your Smoking Experience</b> \n\t\t</h2>\n\n\t\t<transition name=\"fade\" mode=\"out-in\" appear>\n\t\t\t<div v-if=\"!menu\" class=\"w-100 h-15r radius-big flex-center bg-light\">\n\t\t\t\t<Loader class=\"pos-relative\"/>\n\t\t\t</div>\n\n\t\t\t<ul v-else class=\"gap-thin grid-container\">\n\t\t\t\t<router-link :to=\"getMarketplaceLink([category.url])\"\n\t\t\t\t\tv-for=\"(category,index) in categories.state.all.slice(0,5)\" \n\t\t\t\t\t:key=\"category\" \n\t\t\t\t\tclass=\"cursor-pointer hover-scale-0 flex-v-center flex-h-center flex-nowrap flex-row flex bg-light radius-big pd-medium grid-item\"\n\t\t\t\t>\n\n\t\t\t\t\t<video \n\t\t\t\t\t\tv-if=\"category.url === 'buds'\" \n\t\t\t\t\t\tclass=\"w-33 radius-100 o-hidden mn-r-medium\" \n\t\t\t\t\t\tautoplay loop muted\n\t\t\t\t\t>\n\t\t\t\t\t <source \n\t\t\t\t\t \t:src=\"'/output.webm'\" \n\t\t\t\t\t \ttype=\"video/webm\"\n\t\t\t\t\t >\n\t\t\t\t\t</video>\n\n\t\t\t\t\t<div class=\"w-100\" :class=\"{'mn-r-auto':category.url === 'buds'}\">\n\n\t\t\t\t\t\t<div class=\"w-100 flex-v-center flex-nowrap flex\">\n\n\t\t\t\t\t\t\t<h3 class=\"t-black capitalize h3\">\n\t\t\t\t\t\t\t\t{{category.name}}\n\t\t\t\t\t\t\t</h3>\n\n\t\t\t\t\t\t\t<img loading=\"lazy\" \n\t\t\t\t\t\t\t\tv-if=\"category.url !== 'buds'\"\n\t\t\t\t\t\t\t\t:src=\"'/icons/categories/' + category.url + '.svg'\"\n\t\t\t\t\t\t\t\tclass=\"i-extra t-transp mn-l-auto\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p v-if=\"category.url === 'buds'\" class=\"mn-t-thin mn-b-thin t-transp t-black p-medium\">\n\t\t\t\t\t\t\tUnveiling the Exceptional User Curated Best Buds\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<button \n\t\t\t\t\t\t\tv-if=\"category.url === 'buds'\"\n\t\t\t class=\"mn-t-small radius-extra hover-bg-black t-medium t-black bg-main hover-t-white button-small button\"\n\t\t\t >\n\t\t\t <span>Check {{countProduct.count}} products →</span>\n\t\t\t </button>\n\n\t\t\t\t\t</div>\n\t\t\t\t</router-link>\n\n\t\t\t</ul>\n\t\t</transition>\n\t</section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted,computed } from 'vue'\n\timport Loader from '@pf/src/components/Loader/Loader.vue'\n\n\timport { useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\t\n\timport * as categories from '@pf/src/modules/products/store/categories';\n\timport * as products from '@pf/src/modules/products/store/products';\n\n\tconst router = useRouter()\n\t\n \tconst text = {\n locale: 'en',\n messages: {\n en: {\n \tcategories: []\n },\n ru: {\n \tcategories: []\n }\n }\n }\n\n categories.state.all.forEach( category => {\n category.localization.forEach( localization => {\n text.messages[localization.locale].categories.push(localization.text)\n })\n })\n\n\tconst { t } = useI18n(text)\n\n\tconst countProduct = ref(0)\n\tconst menu = ref(false)\n\n\tonMounted( async () => {\n\t\tcountProduct.value = await products.actions.read({count: true})\n\t\tawait categories.actions.fetchCategories()\n\t\tmenu.value = true\n\t})\n\n</script>\n\n<style lang=\"scss\">\n\t.grid-container {\n\t display: grid;\n\t grid-template-columns: repeat(4, 1fr);\n\t grid-template-rows: repeat(2, 1fr);\n\t}\n\n\t.grid-item {\n\t &:first-of-type {\n\t \tgrid-column: span 2;\n\t \tgrid-row: span 2;\n\t }\n\t}\n\n\t@media screen and (max-width: 1025px) {\n .grid-container { grid-template-columns: repeat(2, 1fr); }\n }\n</style>\n"],"names":["categories.state","products.actions","categories.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EgB,cAAW;AAEzB,UAAM,OAAO;AAAA,MACX,QAAQ;AAAA,MACR,UAAU;AAAA,QACR,IAAI;AAAA,UACH,YAAY,CAAE;AAAA,QACd;AAAA,QACD,IAAI;AAAA,UACH,YAAY,CAAE;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAEDA,UAAiB,IAAI,QAAS,cAAY;AACxC,eAAS,aAAa,QAAS,kBAAgB;AAC7C,aAAK,SAAS,aAAa,MAAM,EAAE,WAAW,KAAK,aAAa,IAAI;AAAA,MAC1E,CAAK;AAAA,IACL,CAAG;AAEY,YAAQ,IAAI;AAE1B,UAAM,eAAe,IAAI,CAAC;AAC1B,UAAM,OAAO,IAAI,KAAK;AAEtB,cAAW,YAAY;AACtB,mBAAa,QAAQ,MAAMC,QAAiB,KAAK,EAAC,OAAO,KAAI,CAAC;AAC9D,YAAMC,UAAmB,gBAAiB;AAC1C,WAAK,QAAQ;AAAA,IACf,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs
CHANGED
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const vueI18n = require("vue-i18n");
|
6
6
|
const emblaCarouselVue_esm = require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs");
|
7
7
|
const emblaCarouselAutoplay_esm = require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");
|
8
|
-
const Loader = require("../../../../components/Loader/Loader.
|
8
|
+
const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
|
9
9
|
const CardProduct = require("../blocks/CardProduct.vue.cjs");
|
10
10
|
const products = require("../../store/products.cjs");
|
11
11
|
;/* empty css */
|
@@ -90,7 +90,7 @@ const _sfc_main = {
|
|
90
90
|
])) : (vue.openBlock(), vue.createBlock(CardProduct.default, {
|
91
91
|
key: 1,
|
92
92
|
onClick: ($event) => _ctx.$router.push({
|
93
|
-
name: "
|
93
|
+
name: "Organization_Product",
|
94
94
|
params: {
|
95
95
|
_id: value.organization,
|
96
96
|
product: value._id
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PopularProducts.vue.cjs","sources":["../../../../../../../src/modules/products/components/sections/PopularProducts.vue"],"sourcesContent":["<template>\n\t<div id=\"popularProducts\" class=\"bg-light radius-big pd-t-big pd-b-big\">\n\n\t\t<h2 class=\"mn-b-semi t-center \" v-html=\"t('title')\"/>\n\t\t\n\t\t<div class=\"embla\" ref=\"emblaNode\">\n\t\t \t<div class=\"embla__container\">\n\t\t \n\t\t <div class=\"embla__slide pd-nano\" v-for=\"(value, key, index) in productsState\" :key=\"key\">\n\t\t \t<transition name=\"fade\" mode=\"out-in\" appear>\n\t\t\t\t\t\t<div \n\t\t\t\t\t\t\tv-if=\"!value.name\" \n\t\t\t\t\t\t\tclass=\"h-100 w-100 radius-big flex-center bg-light\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Loader class=\"pos-relative\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<CardProduct \n\t\t\t\t\t\t\tv-else \n\t\t\t\t\t\t\t@click=\"$router.push({\n\t\t\t name: '
|
1
|
+
{"version":3,"file":"PopularProducts.vue.cjs","sources":["../../../../../../../src/modules/products/components/sections/PopularProducts.vue"],"sourcesContent":["<template>\n\t<div id=\"popularProducts\" class=\"bg-light radius-big pd-t-big pd-b-big\">\n\n\t\t<h2 class=\"mn-b-semi t-center \" v-html=\"t('title')\"/>\n\t\t\n\t\t<div class=\"embla\" ref=\"emblaNode\">\n\t\t \t<div class=\"embla__container\">\n\t\t \n\t\t <div class=\"embla__slide pd-nano\" v-for=\"(value, key, index) in productsState\" :key=\"key\">\n\t\t \t<transition name=\"fade\" mode=\"out-in\" appear>\n\t\t\t\t\t\t<div \n\t\t\t\t\t\t\tv-if=\"!value.name\" \n\t\t\t\t\t\t\tclass=\"h-100 w-100 radius-big flex-center bg-light\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Loader class=\"pos-relative\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<CardProduct \n\t\t\t\t\t\t\tv-else \n\t\t\t\t\t\t\t@click=\"$router.push({\n\t\t\t name: 'Organization_Product', \n\t\t\t params: { \n\t\t\t _id: value.organization, \n\t\t\t product: value._id \n\t\t\t } \n\t\t\t })\" \n\t\t\t\t\t\t\t:product=\"value\"\n\t\t\t\t\t\t\tclass=\"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100\" \n\t\t\t\t\t\t/>\n\t\t\t\t\t</transition>\n\t\t </div>\n\n \t</div>\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup scoped>\n\timport { ref, computed, onMounted } from 'vue'\n\n\timport { useRouter } \tfrom 'vue-router'\n\timport { useI18n } \t\tfrom 'vue-i18n'\n\t\t\n\timport emblaCarouselVue from 'embla-carousel-vue'; // Assuming a Vue version exists\n\timport Autoplay from 'embla-carousel-autoplay'\n\n\timport Loader from '@pf/src/components/Loader/Loader.vue'\n\timport CardProduct from '@pf/src/modules/products/components/blocks/CardProduct.vue'\n\n\timport * as products from '@pf/src/modules/products/store/products';\n\t\n\tconst router = useRouter()\n\n \tconst text = {\n messages: {\n en: {\n \ttitle: '<b>Best Sellers 🔥</b>',\n \tsubtitle: 'We attach great importance to high quality and customer satisfaction'\n },\n ru: {\n \ttitle: 'Самое Горячее 🔥',\n \tsubtitle: 'Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов'\n }\n }\n }\n\n\tconst { t } = useI18n(text)\n\n\tconst productsState = ref(10)\n\tconst selectedIndex = ref(0);\n\tconst scrollSnaps = ref([]);\n\n\tconst autoplayOptions = {\n\t delay: 2000,\n\t jump: false,\n\t stopOnInteraction: false,\n\t stopOnMouseEnter: false,\n\t stopOnFocusIn: true,\n\t stopOnLastSnap: false,\n\t rootNode: (emblaRoot) => emblaRoot.parentElement\n\t}\n\n\tconst [emblaNode, emblaApi] = emblaCarouselVue({ loop: true }, [Autoplay(autoplayOptions)])\n\n\tconst scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);\n\tconst onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();\n\tconst onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollSnap();\n\n\tonMounted(async() => {\n\t\tproductsState.value = await products.actions.read({\n\t\t\tlimit: 10, \n\t\t\torganization: '657e7134efb8110c51b8b713'\n\t\t})\n\n\t onInit(emblaApi);\n\t onSelect(emblaApi);\n\n\t emblaApi.value.on('reInit', onInit);\n\t emblaApi.value.on('reInit', onSelect);\n\t emblaApi.value.on('select', onSelect);\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.embla {\n overflow: hidden;\n }\n .embla__container {\n display: flex;\n }\n .embla__slide {\n flex: 0 0 25%;\n min-width: 0;\n }\n\n @media screen and (max-width: 1025px) {\n .embla__slide {\n\t flex: 0 0 50%;\n\t min-width: 0;\n\t }\n }\n</style>"],"names":["useRouter","useI18n","ref","emblaCarouselVue","Autoplay","onMounted","products.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoDgBA,wBAAW;AAEzB,UAAM,OAAO;AAAA,MACX,UAAU;AAAA,QACR,IAAI;AAAA,UACH,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD,IAAI;AAAA,UACH,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,MACF;AAAA,IACF;AAEF,UAAM,EAAE,EAAC,IAAKC,QAAO,QAAC,IAAI;AAE1B,UAAM,gBAAgBC,IAAG,IAAC,EAAE;AAC5B,UAAM,gBAAgBA,QAAI,CAAC;AAC3B,UAAM,cAAcA,QAAI,CAAA,CAAE;AAE1B,UAAM,kBAAkB;AAAA,MACtB,OAAO;AAAA,MACP,MAAM;AAAA,MACN,mBAAmB;AAAA,MACnB,kBAAkB;AAAA,MAClB,eAAe;AAAA,MACf,gBAAgB;AAAA,MAChB,UAAU,CAAC,cAAc,UAAU;AAAA,IACpC;AAED,UAAM,CAAC,WAAW,QAAQ,IAAIC,6BAAiB,EAAE,MAAM,QAAQ,CAACC,kCAAS,eAAe,CAAC,CAAC;AAG1F,UAAM,SAAS,CAAC,UAAW,YAAY,QAAQ,SAAS,MAAM;AAC9D,UAAM,WAAW,CAAC,UAAU,cAAc,QAAQ,SAAS,MAAM;AAEjEC,QAAAA,UAAU,YAAW;AACpB,oBAAc,QAAQ,MAAMC,SAAgB,QAAC,KAAK;AAAA,QACjD,OAAO;AAAA,QACP,cAAc;AAAA,MACjB,CAAG;AAEA,aAAe;AACf,eAAiB;AAEjB,eAAS,MAAM,GAAG,UAAU,MAAM;AAClC,eAAS,MAAM,GAAG,UAAU,QAAQ;AACpC,eAAS,MAAM,GAAG,UAAU,QAAQ;AAAA,IACvC,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js
CHANGED
@@ -3,7 +3,7 @@ import { useRouter } from "vue-router";
|
|
3
3
|
import { useI18n } from "vue-i18n";
|
4
4
|
import emblaCarouselVue from "../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
|
5
5
|
import Autoplay from "../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js";
|
6
|
-
import Loader from "../../../../components/Loader/Loader.
|
6
|
+
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
7
7
|
import _sfc_main$1 from "../blocks/CardProduct.vue.js";
|
8
8
|
import { actions } from "../../store/products.js";
|
9
9
|
/* empty css */
|
@@ -88,7 +88,7 @@ const _sfc_main = {
|
|
88
88
|
])) : (openBlock(), createBlock(_sfc_main$1, {
|
89
89
|
key: 1,
|
90
90
|
onClick: ($event) => _ctx.$router.push({
|
91
|
-
name: "
|
91
|
+
name: "Organization_Product",
|
92
92
|
params: {
|
93
93
|
_id: value.organization,
|
94
94
|
product: value._id
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PopularProducts.vue.js","sources":["../../../../../../../src/modules/products/components/sections/PopularProducts.vue"],"sourcesContent":["<template>\n\t<div id=\"popularProducts\" class=\"bg-light radius-big pd-t-big pd-b-big\">\n\n\t\t<h2 class=\"mn-b-semi t-center \" v-html=\"t('title')\"/>\n\t\t\n\t\t<div class=\"embla\" ref=\"emblaNode\">\n\t\t \t<div class=\"embla__container\">\n\t\t \n\t\t <div class=\"embla__slide pd-nano\" v-for=\"(value, key, index) in productsState\" :key=\"key\">\n\t\t \t<transition name=\"fade\" mode=\"out-in\" appear>\n\t\t\t\t\t\t<div \n\t\t\t\t\t\t\tv-if=\"!value.name\" \n\t\t\t\t\t\t\tclass=\"h-100 w-100 radius-big flex-center bg-light\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Loader class=\"pos-relative\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<CardProduct \n\t\t\t\t\t\t\tv-else \n\t\t\t\t\t\t\t@click=\"$router.push({\n\t\t\t name: '
|
1
|
+
{"version":3,"file":"PopularProducts.vue.js","sources":["../../../../../../../src/modules/products/components/sections/PopularProducts.vue"],"sourcesContent":["<template>\n\t<div id=\"popularProducts\" class=\"bg-light radius-big pd-t-big pd-b-big\">\n\n\t\t<h2 class=\"mn-b-semi t-center \" v-html=\"t('title')\"/>\n\t\t\n\t\t<div class=\"embla\" ref=\"emblaNode\">\n\t\t \t<div class=\"embla__container\">\n\t\t \n\t\t <div class=\"embla__slide pd-nano\" v-for=\"(value, key, index) in productsState\" :key=\"key\">\n\t\t \t<transition name=\"fade\" mode=\"out-in\" appear>\n\t\t\t\t\t\t<div \n\t\t\t\t\t\t\tv-if=\"!value.name\" \n\t\t\t\t\t\t\tclass=\"h-100 w-100 radius-big flex-center bg-light\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Loader class=\"pos-relative\"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<CardProduct \n\t\t\t\t\t\t\tv-else \n\t\t\t\t\t\t\t@click=\"$router.push({\n\t\t\t name: 'Organization_Product', \n\t\t\t params: { \n\t\t\t _id: value.organization, \n\t\t\t product: value._id \n\t\t\t } \n\t\t\t })\" \n\t\t\t\t\t\t\t:product=\"value\"\n\t\t\t\t\t\t\tclass=\"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100\" \n\t\t\t\t\t\t/>\n\t\t\t\t\t</transition>\n\t\t </div>\n\n \t</div>\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup scoped>\n\timport { ref, computed, onMounted } from 'vue'\n\n\timport { useRouter } \tfrom 'vue-router'\n\timport { useI18n } \t\tfrom 'vue-i18n'\n\t\t\n\timport emblaCarouselVue from 'embla-carousel-vue'; // Assuming a Vue version exists\n\timport Autoplay from 'embla-carousel-autoplay'\n\n\timport Loader from '@pf/src/components/Loader/Loader.vue'\n\timport CardProduct from '@pf/src/modules/products/components/blocks/CardProduct.vue'\n\n\timport * as products from '@pf/src/modules/products/store/products';\n\t\n\tconst router = useRouter()\n\n \tconst text = {\n messages: {\n en: {\n \ttitle: '<b>Best Sellers 🔥</b>',\n \tsubtitle: 'We attach great importance to high quality and customer satisfaction'\n },\n ru: {\n \ttitle: 'Самое Горячее 🔥',\n \tsubtitle: 'Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов'\n }\n }\n }\n\n\tconst { t } = useI18n(text)\n\n\tconst productsState = ref(10)\n\tconst selectedIndex = ref(0);\n\tconst scrollSnaps = ref([]);\n\n\tconst autoplayOptions = {\n\t delay: 2000,\n\t jump: false,\n\t stopOnInteraction: false,\n\t stopOnMouseEnter: false,\n\t stopOnFocusIn: true,\n\t stopOnLastSnap: false,\n\t rootNode: (emblaRoot) => emblaRoot.parentElement\n\t}\n\n\tconst [emblaNode, emblaApi] = emblaCarouselVue({ loop: true }, [Autoplay(autoplayOptions)])\n\n\tconst scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);\n\tconst onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();\n\tconst onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollSnap();\n\n\tonMounted(async() => {\n\t\tproductsState.value = await products.actions.read({\n\t\t\tlimit: 10, \n\t\t\torganization: '657e7134efb8110c51b8b713'\n\t\t})\n\n\t onInit(emblaApi);\n\t onSelect(emblaApi);\n\n\t emblaApi.value.on('reInit', onInit);\n\t emblaApi.value.on('reInit', onSelect);\n\t emblaApi.value.on('select', onSelect);\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.embla {\n overflow: hidden;\n }\n .embla__container {\n display: flex;\n }\n .embla__slide {\n flex: 0 0 25%;\n min-width: 0;\n }\n\n @media screen and (max-width: 1025px) {\n .embla__slide {\n\t flex: 0 0 50%;\n\t min-width: 0;\n\t }\n }\n</style>"],"names":["products.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAoDgB,cAAW;AAEzB,UAAM,OAAO;AAAA,MACX,UAAU;AAAA,QACR,IAAI;AAAA,UACH,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,QACD,IAAI;AAAA,UACH,OAAO;AAAA,UACP,UAAU;AAAA,QACV;AAAA,MACF;AAAA,IACF;AAEF,UAAM,EAAE,EAAC,IAAK,QAAQ,IAAI;AAE1B,UAAM,gBAAgB,IAAI,EAAE;AAC5B,UAAM,gBAAgB,IAAI,CAAC;AAC3B,UAAM,cAAc,IAAI,CAAA,CAAE;AAE1B,UAAM,kBAAkB;AAAA,MACtB,OAAO;AAAA,MACP,MAAM;AAAA,MACN,mBAAmB;AAAA,MACnB,kBAAkB;AAAA,MAClB,eAAe;AAAA,MACf,gBAAgB;AAAA,MAChB,UAAU,CAAC,cAAc,UAAU;AAAA,IACpC;AAED,UAAM,CAAC,WAAW,QAAQ,IAAI,iBAAiB,EAAE,MAAM,QAAQ,CAAC,SAAS,eAAe,CAAC,CAAC;AAG1F,UAAM,SAAS,CAAC,UAAW,YAAY,QAAQ,SAAS,MAAM;AAC9D,UAAM,WAAW,CAAC,UAAU,cAAc,QAAQ,SAAS,MAAM;AAEjE,cAAU,YAAW;AACpB,oBAAc,QAAQ,MAAMA,QAAiB,KAAK;AAAA,QACjD,OAAO;AAAA,QACP,cAAc;AAAA,MACjB,CAAG;AAEA,aAAe;AACf,eAAiB;AAEjB,eAAS,MAAM,GAAG,UAAU,MAAM;AAClC,eAAS,MAAM,GAAG,UAAU,QAAQ;AACpC,eAAS,MAAM,GAAG,UAAU,QAAQ;AAAA,IACvC,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Button = require("../../../../components/Button/Button.
|
4
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
5
5
|
const PlaceholderImage = require("../../../icons/placeholders/PlaceholderImage.vue.cjs");
|
6
6
|
const Images360 = require("../blocks/Images360.vue.cjs");
|
7
7
|
const ImagesThumbnails = require("../blocks/ImagesThumbnails.vue.cjs");
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed, openBlock, createElementBlock, createElementVNode, createBlock, createCommentVNode, toDisplayString, unref, createVNode, Fragment, renderList, withCtx, createTextVNode } from "vue";
|
2
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
2
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
3
3
|
import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
|
4
4
|
import Images360 from "../blocks/Images360.vue.js";
|
5
5
|
import ImagesThumbnails from "../blocks/ImagesThumbnails.vue.js";
|
@@ -1,5 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const products_router = require("./router/products.router.cjs");
|
4
|
+
const marketplace_router = require("./router/marketplace.router.cjs");
|
5
|
+
const categories = require("./store/categories.cjs");
|
6
|
+
const leftovers = require("./store/leftovers.cjs");
|
7
|
+
const products = require("./store/products.cjs");
|
8
|
+
const marketplace = require("./store/marketplace.cjs");
|
9
|
+
const Marketplace = require("./components/layouts/Marketplace.vue.cjs");
|
3
10
|
const ImagesThumbnails = require("./components/blocks/ImagesThumbnails.vue.cjs");
|
4
11
|
const LeftoverPositions = require("./components/blocks/LeftoverPositions.vue.cjs");
|
5
12
|
const ListPositions = require("./components/blocks/ListPositions.vue.cjs");
|
@@ -11,9 +18,11 @@ const CardPosition = require("./components/blocks/CardPosition.vue.cjs");
|
|
11
18
|
const SectionProduct = require("./components/sections/SectionProduct.vue.cjs");
|
12
19
|
const HeroRecommendation = require("./components/sections/HeroRecommendation.vue.cjs");
|
13
20
|
const FilterProducts = require("./components/sections/FilterProducts.vue.cjs");
|
21
|
+
const MenuSection = require("./components/sections/MenuSection.vue.cjs");
|
14
22
|
const EditModifications = require("./components/sections/EditModifications.vue.cjs");
|
15
23
|
const PopularProducts = require("./components/sections/PopularProducts.vue.cjs");
|
16
24
|
const EditProductInfo = require("./components/sections/EditProductInfo.vue.cjs");
|
25
|
+
const Filters = require("./components/sections/Filters.vue.cjs");
|
17
26
|
const Price = require("./components/elements/Price.vue.cjs");
|
18
27
|
const THC = require("./components/elements/THC.vue.cjs");
|
19
28
|
const Product = require("./components/pages/Product.vue.cjs");
|
@@ -22,9 +31,66 @@ const EditLeftover = require("./components/pages/EditLeftover.vue.cjs");
|
|
22
31
|
const ProductRecommmendation = require("./components/pages/ProductRecommmendation.vue.cjs");
|
23
32
|
const Products = require("./components/pages/Products.vue.cjs");
|
24
33
|
const Leftovers = require("./components/pages/Leftovers.vue.cjs");
|
25
|
-
const
|
26
|
-
|
27
|
-
const
|
34
|
+
const Catalog = require("./components/pages/Catalog.vue.cjs");
|
35
|
+
function initializeProducts(app, store, router, options = {}) {
|
36
|
+
const route = options.route || "Home";
|
37
|
+
const routesProducts = products_router.createProductRoutes();
|
38
|
+
router.addRoute(route, routesProducts);
|
39
|
+
router.addRoute(route, marketplace_router.default);
|
40
|
+
store.addStore("categories", categories);
|
41
|
+
store.addStore("leftovers", leftovers);
|
42
|
+
store.addStore("products", products);
|
43
|
+
store.addStore("marketplace", marketplace);
|
44
|
+
}
|
45
|
+
const ModuleProducts = {
|
46
|
+
initialize: initializeProducts,
|
47
|
+
views: {
|
48
|
+
store: {
|
49
|
+
storeCategories: categories,
|
50
|
+
storeLeftovers: leftovers,
|
51
|
+
storeProducts: products,
|
52
|
+
storeMarketplace: marketplace,
|
53
|
+
routerMarketplace: marketplace_router.default
|
54
|
+
},
|
55
|
+
router: {
|
56
|
+
createProductRoutes: products_router.createProductRoutes
|
57
|
+
},
|
58
|
+
components: {
|
59
|
+
// Elements
|
60
|
+
Price: Price.default,
|
61
|
+
THC: THC.default,
|
62
|
+
// Blocks
|
63
|
+
ImagesThumbnails: ImagesThumbnails.default,
|
64
|
+
LeftoverPositions: LeftoverPositions.default,
|
65
|
+
ListPositions: ListPositions.default,
|
66
|
+
CardCategory: CardCategory.default,
|
67
|
+
CardProduct: CardProduct.default,
|
68
|
+
CardLeftover: CardLeftover.default,
|
69
|
+
Images360: Images360.default,
|
70
|
+
CardPosition: CardPosition.default,
|
71
|
+
// Sections
|
72
|
+
SectionProduct: SectionProduct.default,
|
73
|
+
HeroRecommendation: HeroRecommendation.default,
|
74
|
+
FilterProducts: FilterProducts.default,
|
75
|
+
MenuSection: MenuSection.default,
|
76
|
+
EditModifications: EditModifications.default,
|
77
|
+
PopularProducts: PopularProducts.default,
|
78
|
+
EditProductInfo: EditProductInfo.default,
|
79
|
+
Filters: Filters.default,
|
80
|
+
// Pages
|
81
|
+
Product: Product.default,
|
82
|
+
ProductEdit: ProductEdit.default,
|
83
|
+
EditLeftover: EditLeftover.default,
|
84
|
+
ProductRecommendation: ProductRecommmendation.default,
|
85
|
+
Products: Products.default,
|
86
|
+
Leftovers: Leftovers.default,
|
87
|
+
Catalog: Catalog.default,
|
88
|
+
// Layouts
|
89
|
+
Marketplace: Marketplace.default
|
90
|
+
}
|
91
|
+
}
|
92
|
+
};
|
93
|
+
exports.Marketplace = Marketplace.default;
|
28
94
|
exports.ImagesThumbnails = ImagesThumbnails.default;
|
29
95
|
exports.LeftoverPositions = LeftoverPositions.default;
|
30
96
|
exports.ListPositions = ListPositions.default;
|
@@ -36,9 +102,11 @@ exports.CardPosition = CardPosition.default;
|
|
36
102
|
exports.SectionProduct = SectionProduct.default;
|
37
103
|
exports.HeroRecommendation = HeroRecommendation.default;
|
38
104
|
exports.FilterProducts = FilterProducts.default;
|
105
|
+
exports.MenuSection = MenuSection.default;
|
39
106
|
exports.EditModifications = EditModifications.default;
|
40
107
|
exports.PopularProducts = PopularProducts.default;
|
41
108
|
exports.EditProductInfo = EditProductInfo.default;
|
109
|
+
exports.Filters = Filters.default;
|
42
110
|
exports.Price = Price.default;
|
43
111
|
exports.THC = THC.default;
|
44
112
|
exports.Product = Product.default;
|
@@ -47,7 +115,6 @@ exports.EditLeftover = EditLeftover.default;
|
|
47
115
|
exports.ProductRecommendation = ProductRecommmendation.default;
|
48
116
|
exports.Products = Products.default;
|
49
117
|
exports.Leftovers = Leftovers.default;
|
50
|
-
exports.
|
51
|
-
exports.
|
52
|
-
exports.productsStore = products;
|
118
|
+
exports.Catalog = Catalog.default;
|
119
|
+
exports.default = ModuleProducts;
|
53
120
|
//# sourceMappingURL=products.client.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"products.client.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"products.client.cjs","sources":["../../../../../src/modules/products/products.client.js"],"sourcesContent":["// Router\nimport { createProductRoutes } from './router/products.router';\nimport routerMarketplace from './router/marketplace.router.js';\n\n//Store\nimport * as storeCategories from './store/categories.js';\nimport * as storeLeftovers from './store/leftovers.js';\nimport * as storeProducts from './store/products.js';\nimport * as storeMarketplace from './store/marketplace.js';\n\n// Layouts \nimport Marketplace from './components/layouts/Marketplace.vue';\n\n// Blocks\nimport ImagesThumbnails from './components/blocks/ImagesThumbnails.vue';\nimport LeftoverPositions from './components/blocks/LeftoverPositions.vue';\nimport ListPositions from './components/blocks/ListPositions.vue';\nimport CardCategory from './components/blocks/CardCategory.vue';\nimport CardProduct from './components/blocks/CardProduct.vue';\nimport CardLeftover from './components/blocks/CardLeftover.vue';\nimport Images360 from './components/blocks/Images360.vue';\nimport CardPosition from './components/blocks/CardPosition.vue';\n\n// Sections\nimport SectionProduct from './components/sections/SectionProduct.vue';\nimport HeroRecommendation from './components/sections/HeroRecommendation.vue';\nimport FilterProducts from './components/sections/FilterProducts.vue';\nimport MenuSection from './components/sections/MenuSection.vue';\nimport EditModifications from './components/sections/EditModifications.vue';\nimport PopularProducts from './components/sections/PopularProducts.vue';\nimport EditProductInfo from './components/sections/EditProductInfo.vue';\nimport Filters from './components/sections/Filters.vue';\n\n// Elements\nimport Price from './components/elements/Price.vue';\nimport THC from './components/elements/THC.vue';\n\n// Pages\nimport Product from './components/pages/Product.vue';\nimport ProductEdit from './components/pages/ProductEdit.vue';\nimport EditLeftover from './components/pages/EditLeftover.vue';\nimport ProductRecommendation from './components/pages/ProductRecommmendation.vue';\nimport Products from './components/pages/Products.vue';\nimport Leftovers from './components/pages/Leftovers.vue';\nimport Catalog from './components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const routesProducts = createProductRoutes();\n \n router.addRoute(route, routesProducts);\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('categories', storeCategories);\n store.addStore('leftovers', storeLeftovers);\n store.addStore('products', storeProducts);\n store.addStore('marketplace', storeMarketplace);\n}\n\nconst ModuleProducts = {\n initialize: initializeProducts,\n views: {\n store: {\n storeCategories,\n storeLeftovers,\n storeProducts,\n storeMarketplace,\n routerMarketplace\n },\n router: {\n createProductRoutes\n },\n components: {\n // Elements\n Price,\n THC,\n // Blocks\n ImagesThumbnails,\n LeftoverPositions,\n ListPositions,\n CardCategory,\n CardProduct,\n CardLeftover,\n Images360,\n CardPosition,\n // Sections\n SectionProduct,\n HeroRecommendation,\n FilterProducts,\n MenuSection,\n EditModifications,\n PopularProducts,\n EditProductInfo,\n Filters,\n // Pages\n Product,\n ProductEdit,\n EditLeftover,\n ProductRecommendation,\n Products,\n Leftovers,\n Catalog,\n // Layouts\n Marketplace\n }\n }\n}\n\nexport {\n // Blocks\n ImagesThumbnails,\n LeftoverPositions,\n ListPositions,\n CardCategory,\n CardProduct,\n CardLeftover,\n Images360,\n CardPosition,\n // Sections\n SectionProduct,\n HeroRecommendation,\n FilterProducts,\n MenuSection,\n EditModifications,\n PopularProducts,\n EditProductInfo,\n Filters,\n // Elements\n Price,\n THC,\n // Pages\n Product,\n ProductEdit,\n EditLeftover,\n ProductRecommendation,\n Products,\n Leftovers,\n Catalog,\n // Layouts\n Marketplace\n};\n\nexport default ModuleProducts;"],"names":["createProductRoutes","routerMarketplace","storeCategories","storeLeftovers","storeProducts","storeMarketplace","Price","THC","ImagesThumbnails","LeftoverPositions","ListPositions","CardCategory","CardProduct","CardLeftover","Images360","CardPosition","SectionProduct","HeroRecommendation","FilterProducts","MenuSection","EditModifications","PopularProducts","EditProductInfo","Filters","Product","ProductEdit","EditLeftover","ProductRecommendation","Products","Leftovers","Catalog","Marketplace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CA,SAAS,mBAAmB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC5D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,iBAAiBA,gBAAAA;AAEvB,SAAO,SAAS,OAAO,cAAc;AAErC,SAAO,SAAS,OAAOC,mBAAAA,OAAiB;AAExC,QAAM,SAAS,cAAcC,UAAe;AAC5C,QAAM,SAAS,aAAaC,SAAc;AAC1C,QAAM,SAAS,YAAYC,QAAa;AACxC,QAAM,SAAS,eAAeC,WAAgB;AAChD;AAEK,MAAC,iBAAiB;AAAA,EACrB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,iBAAMH;AAAAA,MACN,gBAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,kBAAMC;AAAAA,MACN,mBAAMJ,mBAAiB;AAAA,IAClB;AAAA,IACD,QAAQ;AAAA,MACZ,qBAAMD,gBAAmB;AAAA,IACpB;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,OAAMM,MAAK;AAAA,MACX,KAAMC,IAAG;AAAA;AAAA,MAET,kBAAMC,iBAAgB;AAAA,MACtB,mBAAMC,kBAAiB;AAAA,MACvB,eAAMC,cAAa;AAAA,MACnB,cAAMC,aAAY;AAAA,MAClB,aAAMC,YAAW;AAAA,MACjB,cAAMC,aAAY;AAAA,MAClB,WAAMC,UAAS;AAAA,MACf,cAAMC,aAAY;AAAA;AAAA,MAElB,gBAAMC,eAAc;AAAA,MACpB,oBAAMC,mBAAkB;AAAA,MACxB,gBAAMC,eAAc;AAAA,MACpB,aAAMC,YAAW;AAAA,MACjB,mBAAMC,kBAAiB;AAAA,MACvB,iBAAMC,gBAAe;AAAA,MACrB,iBAAMC,gBAAe;AAAA,MACrB,SAAMC,QAAO;AAAA;AAAA,MAEb,SAAMC,QAAO;AAAA,MACb,aAAMC,YAAW;AAAA,MACjB,cAAMC,aAAY;AAAA,MAClB,uBAAMC,uBAAqB;AAAA,MAC3B,UAAMC,SAAQ;AAAA,MACd,WAAMC,UAAS;AAAA,MACf,SAAMC,QAAO;AAAA;AAAA,MAEb,aAAMC,YAAW;AAAA,IACZ;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,53 +1,120 @@
|
|
1
|
-
import {
|
2
|
-
import
|
3
|
-
import { default as default4 } from "./components/blocks/ListPositions.vue.js";
|
4
|
-
import { default as default5 } from "./components/blocks/CardCategory.vue.js";
|
5
|
-
import { default as default6 } from "./components/blocks/CardProduct.vue.js";
|
6
|
-
import { default as default7 } from "./components/blocks/CardLeftover.vue.js";
|
7
|
-
import { default as default8 } from "./components/blocks/Images360.vue.js";
|
8
|
-
import { default as default9 } from "./components/blocks/CardPosition.vue.js";
|
9
|
-
import { default as default10 } from "./components/sections/SectionProduct.vue.js";
|
10
|
-
import { default as default11 } from "./components/sections/HeroRecommendation.vue.js";
|
11
|
-
import { default as default12 } from "./components/sections/FilterProducts.vue.js";
|
12
|
-
import { default as default13 } from "./components/sections/EditModifications.vue.js";
|
13
|
-
import { default as default14 } from "./components/sections/PopularProducts.vue.js";
|
14
|
-
import { default as default15 } from "./components/sections/EditProductInfo.vue.js";
|
15
|
-
import { default as default16 } from "./components/elements/Price.vue.js";
|
16
|
-
import { default as default17 } from "./components/elements/THC.vue.js";
|
17
|
-
import { default as default18 } from "./components/pages/Product.vue.js";
|
18
|
-
import { default as default19 } from "./components/pages/ProductEdit.vue.js";
|
19
|
-
import { default as default20 } from "./components/pages/EditLeftover.vue.js";
|
20
|
-
import { default as default21 } from "./components/pages/ProductRecommmendation.vue.js";
|
21
|
-
import { default as default22 } from "./components/pages/Products.vue.js";
|
22
|
-
import { default as default23 } from "./components/pages/Leftovers.vue.js";
|
1
|
+
import { createProductRoutes } from "./router/products.router.js";
|
2
|
+
import marketplace$1 from "./router/marketplace.router.js";
|
23
3
|
import * as categories from "./store/categories.js";
|
24
4
|
import * as leftovers from "./store/leftovers.js";
|
25
5
|
import * as products from "./store/products.js";
|
6
|
+
import * as marketplace from "./store/marketplace.js";
|
7
|
+
import _sfc_main$l from "./components/layouts/Marketplace.vue.js";
|
8
|
+
import ImagesThumbnails from "./components/blocks/ImagesThumbnails.vue.js";
|
9
|
+
import _sfc_main$2 from "./components/blocks/LeftoverPositions.vue.js";
|
10
|
+
import _sfc_main$3 from "./components/blocks/ListPositions.vue.js";
|
11
|
+
import _sfc_main$4 from "./components/blocks/CardCategory.vue.js";
|
12
|
+
import _sfc_main$5 from "./components/blocks/CardProduct.vue.js";
|
13
|
+
import CardLeftover from "./components/blocks/CardLeftover.vue.js";
|
14
|
+
import Images360 from "./components/blocks/Images360.vue.js";
|
15
|
+
import _sfc_main$6 from "./components/blocks/CardPosition.vue.js";
|
16
|
+
import _sfc_main$7 from "./components/sections/SectionProduct.vue.js";
|
17
|
+
import _sfc_main$8 from "./components/sections/HeroRecommendation.vue.js";
|
18
|
+
import _sfc_main$9 from "./components/sections/FilterProducts.vue.js";
|
19
|
+
import _sfc_main$a from "./components/sections/MenuSection.vue.js";
|
20
|
+
import _sfc_main$b from "./components/sections/EditModifications.vue.js";
|
21
|
+
import _sfc_main$c from "./components/sections/PopularProducts.vue.js";
|
22
|
+
import _sfc_main$d from "./components/sections/EditProductInfo.vue.js";
|
23
|
+
import _sfc_main$e from "./components/sections/Filters.vue.js";
|
24
|
+
import _sfc_main from "./components/elements/Price.vue.js";
|
25
|
+
import _sfc_main$1 from "./components/elements/THC.vue.js";
|
26
|
+
import _sfc_main$f from "./components/pages/Product.vue.js";
|
27
|
+
import _sfc_main$g from "./components/pages/ProductEdit.vue.js";
|
28
|
+
import _sfc_main$h from "./components/pages/EditLeftover.vue.js";
|
29
|
+
import ProductRecommendation from "./components/pages/ProductRecommmendation.vue.js";
|
30
|
+
import _sfc_main$i from "./components/pages/Products.vue.js";
|
31
|
+
import _sfc_main$j from "./components/pages/Leftovers.vue.js";
|
32
|
+
import _sfc_main$k from "./components/pages/Catalog.vue.js";
|
33
|
+
function initializeProducts(app, store, router, options = {}) {
|
34
|
+
const route = options.route || "Home";
|
35
|
+
const routesProducts = createProductRoutes();
|
36
|
+
router.addRoute(route, routesProducts);
|
37
|
+
router.addRoute(route, marketplace$1);
|
38
|
+
store.addStore("categories", categories);
|
39
|
+
store.addStore("leftovers", leftovers);
|
40
|
+
store.addStore("products", products);
|
41
|
+
store.addStore("marketplace", marketplace);
|
42
|
+
}
|
43
|
+
const ModuleProducts = {
|
44
|
+
initialize: initializeProducts,
|
45
|
+
views: {
|
46
|
+
store: {
|
47
|
+
storeCategories: categories,
|
48
|
+
storeLeftovers: leftovers,
|
49
|
+
storeProducts: products,
|
50
|
+
storeMarketplace: marketplace,
|
51
|
+
routerMarketplace: marketplace$1
|
52
|
+
},
|
53
|
+
router: {
|
54
|
+
createProductRoutes
|
55
|
+
},
|
56
|
+
components: {
|
57
|
+
// Elements
|
58
|
+
Price: _sfc_main,
|
59
|
+
THC: _sfc_main$1,
|
60
|
+
// Blocks
|
61
|
+
ImagesThumbnails,
|
62
|
+
LeftoverPositions: _sfc_main$2,
|
63
|
+
ListPositions: _sfc_main$3,
|
64
|
+
CardCategory: _sfc_main$4,
|
65
|
+
CardProduct: _sfc_main$5,
|
66
|
+
CardLeftover,
|
67
|
+
Images360,
|
68
|
+
CardPosition: _sfc_main$6,
|
69
|
+
// Sections
|
70
|
+
SectionProduct: _sfc_main$7,
|
71
|
+
HeroRecommendation: _sfc_main$8,
|
72
|
+
FilterProducts: _sfc_main$9,
|
73
|
+
MenuSection: _sfc_main$a,
|
74
|
+
EditModifications: _sfc_main$b,
|
75
|
+
PopularProducts: _sfc_main$c,
|
76
|
+
EditProductInfo: _sfc_main$d,
|
77
|
+
Filters: _sfc_main$e,
|
78
|
+
// Pages
|
79
|
+
Product: _sfc_main$f,
|
80
|
+
ProductEdit: _sfc_main$g,
|
81
|
+
EditLeftover: _sfc_main$h,
|
82
|
+
ProductRecommendation,
|
83
|
+
Products: _sfc_main$i,
|
84
|
+
Leftovers: _sfc_main$j,
|
85
|
+
Catalog: _sfc_main$k,
|
86
|
+
// Layouts
|
87
|
+
Marketplace: _sfc_main$l
|
88
|
+
}
|
89
|
+
}
|
90
|
+
};
|
26
91
|
export {
|
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
|
-
|
92
|
+
_sfc_main$4 as CardCategory,
|
93
|
+
CardLeftover,
|
94
|
+
_sfc_main$6 as CardPosition,
|
95
|
+
_sfc_main$5 as CardProduct,
|
96
|
+
_sfc_main$k as Catalog,
|
97
|
+
_sfc_main$h as EditLeftover,
|
98
|
+
_sfc_main$b as EditModifications,
|
99
|
+
_sfc_main$d as EditProductInfo,
|
100
|
+
_sfc_main$9 as FilterProducts,
|
101
|
+
_sfc_main$e as Filters,
|
102
|
+
_sfc_main$8 as HeroRecommendation,
|
103
|
+
Images360,
|
104
|
+
ImagesThumbnails,
|
105
|
+
_sfc_main$2 as LeftoverPositions,
|
106
|
+
_sfc_main$j as Leftovers,
|
107
|
+
_sfc_main$3 as ListPositions,
|
108
|
+
_sfc_main$l as Marketplace,
|
109
|
+
_sfc_main$a as MenuSection,
|
110
|
+
_sfc_main$c as PopularProducts,
|
111
|
+
_sfc_main as Price,
|
112
|
+
_sfc_main$f as Product,
|
113
|
+
_sfc_main$g as ProductEdit,
|
114
|
+
ProductRecommendation,
|
115
|
+
_sfc_main$i as Products,
|
116
|
+
_sfc_main$7 as SectionProduct,
|
117
|
+
_sfc_main$1 as THC,
|
118
|
+
ModuleProducts as default
|
52
119
|
};
|
53
120
|
//# sourceMappingURL=products.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"products.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"products.client.js","sources":["../../../../../src/modules/products/products.client.js"],"sourcesContent":["// Router\nimport { createProductRoutes } from './router/products.router';\nimport routerMarketplace from './router/marketplace.router.js';\n\n//Store\nimport * as storeCategories from './store/categories.js';\nimport * as storeLeftovers from './store/leftovers.js';\nimport * as storeProducts from './store/products.js';\nimport * as storeMarketplace from './store/marketplace.js';\n\n// Layouts \nimport Marketplace from './components/layouts/Marketplace.vue';\n\n// Blocks\nimport ImagesThumbnails from './components/blocks/ImagesThumbnails.vue';\nimport LeftoverPositions from './components/blocks/LeftoverPositions.vue';\nimport ListPositions from './components/blocks/ListPositions.vue';\nimport CardCategory from './components/blocks/CardCategory.vue';\nimport CardProduct from './components/blocks/CardProduct.vue';\nimport CardLeftover from './components/blocks/CardLeftover.vue';\nimport Images360 from './components/blocks/Images360.vue';\nimport CardPosition from './components/blocks/CardPosition.vue';\n\n// Sections\nimport SectionProduct from './components/sections/SectionProduct.vue';\nimport HeroRecommendation from './components/sections/HeroRecommendation.vue';\nimport FilterProducts from './components/sections/FilterProducts.vue';\nimport MenuSection from './components/sections/MenuSection.vue';\nimport EditModifications from './components/sections/EditModifications.vue';\nimport PopularProducts from './components/sections/PopularProducts.vue';\nimport EditProductInfo from './components/sections/EditProductInfo.vue';\nimport Filters from './components/sections/Filters.vue';\n\n// Elements\nimport Price from './components/elements/Price.vue';\nimport THC from './components/elements/THC.vue';\n\n// Pages\nimport Product from './components/pages/Product.vue';\nimport ProductEdit from './components/pages/ProductEdit.vue';\nimport EditLeftover from './components/pages/EditLeftover.vue';\nimport ProductRecommendation from './components/pages/ProductRecommmendation.vue';\nimport Products from './components/pages/Products.vue';\nimport Leftovers from './components/pages/Leftovers.vue';\nimport Catalog from './components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const routesProducts = createProductRoutes();\n \n router.addRoute(route, routesProducts);\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('categories', storeCategories);\n store.addStore('leftovers', storeLeftovers);\n store.addStore('products', storeProducts);\n store.addStore('marketplace', storeMarketplace);\n}\n\nconst ModuleProducts = {\n initialize: initializeProducts,\n views: {\n store: {\n storeCategories,\n storeLeftovers,\n storeProducts,\n storeMarketplace,\n routerMarketplace\n },\n router: {\n createProductRoutes\n },\n components: {\n // Elements\n Price,\n THC,\n // Blocks\n ImagesThumbnails,\n LeftoverPositions,\n ListPositions,\n CardCategory,\n CardProduct,\n CardLeftover,\n Images360,\n CardPosition,\n // Sections\n SectionProduct,\n HeroRecommendation,\n FilterProducts,\n MenuSection,\n EditModifications,\n PopularProducts,\n EditProductInfo,\n Filters,\n // Pages\n Product,\n ProductEdit,\n EditLeftover,\n ProductRecommendation,\n Products,\n Leftovers,\n Catalog,\n // Layouts\n Marketplace\n }\n }\n}\n\nexport {\n // Blocks\n ImagesThumbnails,\n LeftoverPositions,\n ListPositions,\n CardCategory,\n CardProduct,\n CardLeftover,\n Images360,\n CardPosition,\n // Sections\n SectionProduct,\n HeroRecommendation,\n FilterProducts,\n MenuSection,\n EditModifications,\n PopularProducts,\n EditProductInfo,\n Filters,\n // Elements\n Price,\n THC,\n // Pages\n Product,\n ProductEdit,\n EditLeftover,\n ProductRecommendation,\n Products,\n Leftovers,\n Catalog,\n // Layouts\n Marketplace\n};\n\nexport default ModuleProducts;"],"names":["routerMarketplace","storeCategories","storeLeftovers","storeProducts","storeMarketplace","Price","THC","LeftoverPositions","ListPositions","CardCategory","CardProduct","CardPosition","SectionProduct","HeroRecommendation","FilterProducts","MenuSection","EditModifications","PopularProducts","EditProductInfo","Filters","Product","ProductEdit","EditLeftover","Products","Leftovers","Catalog","Marketplace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CA,SAAS,mBAAmB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC5D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,iBAAiB;AAEvB,SAAO,SAAS,OAAO,cAAc;AAErC,SAAO,SAAS,OAAOA,aAAiB;AAExC,QAAM,SAAS,cAAcC,UAAe;AAC5C,QAAM,SAAS,aAAaC,SAAc;AAC1C,QAAM,SAAS,YAAYC,QAAa;AACxC,QAAM,SAAS,eAAeC,WAAgB;AAChD;AAEK,MAAC,iBAAiB;AAAA,EACrB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,iBAAMH;AAAAA,MACN,gBAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,kBAAMC;AAAAA,MACN,mBAAMJ;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACN;AAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,OAAMK;AAAAA,MACN,KAAMC;AAAAA;AAAAA,MAEA;AAAA,MACN,mBAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,aAAMC;AAAAA,MACA;AAAA,MACA;AAAA,MACN,cAAMC;AAAAA;AAAAA,MAEN,gBAAMC;AAAAA,MACN,oBAAMC;AAAAA,MACN,gBAAMC;AAAAA,MACN,aAAMC;AAAAA,MACN,mBAAMC;AAAAA,MACN,iBAAMC;AAAAA,MACN,iBAAMC;AAAAA,MACN,SAAMC;AAAAA;AAAAA,MAEN,SAAMC;AAAAA,MACN,aAAMC;AAAAA,MACN,cAAMC;AAAAA,MACA;AAAA,MACN,UAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,SAAMC;AAAAA;AAAAA,MAEN,aAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
require("vue");
|
4
|
+
const Marketplace = require("../components/layouts/Marketplace.vue.cjs");
|
5
|
+
const marketplace = {
|
6
|
+
path: "marketplace",
|
7
|
+
component: Marketplace.default,
|
8
|
+
name: "Marketplace",
|
9
|
+
meta: {
|
10
|
+
title: {
|
11
|
+
en: "Marketplace",
|
12
|
+
ru: "Маркетплейс"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
children: [
|
16
|
+
{
|
17
|
+
path: ":country?",
|
18
|
+
component: () => Promise.resolve().then(() => require(
|
19
|
+
/* webpackChunkName: 'Deliveries' */
|
20
|
+
"../components/pages/Catalog.vue.cjs"
|
21
|
+
)),
|
22
|
+
children: [
|
23
|
+
{
|
24
|
+
path: ":state?",
|
25
|
+
name: "State",
|
26
|
+
component: () => Promise.resolve().then(() => require(
|
27
|
+
/* webpackChunkName: 'Deliveries' */
|
28
|
+
"../components/pages/Catalog.vue.cjs"
|
29
|
+
)),
|
30
|
+
children: [
|
31
|
+
{
|
32
|
+
path: ":city?",
|
33
|
+
name: "City",
|
34
|
+
component: () => Promise.resolve().then(() => require(
|
35
|
+
/* webpackChunkName: 'Deliveries' */
|
36
|
+
"../components/pages/Catalog.vue.cjs"
|
37
|
+
))
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
41
|
+
]
|
42
|
+
}
|
43
|
+
]
|
44
|
+
};
|
45
|
+
exports.default = marketplace;
|
46
|
+
//# sourceMappingURL=marketplace.router.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"marketplace.router.cjs","sources":["../../../../../../src/modules/products/router/marketplace.router.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue'\nimport layoutMarketplace from '../components/layouts/Marketplace.vue'\n\nconst marketplace = {\n path: 'marketplace',\n component: layoutMarketplace,\n name: 'Marketplace',\n meta: {\n title: {\n en: 'Marketplace',\n ru: 'Маркетплейс'\n }\n },\n children: [\n {\n path: ':country?',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n children: [\n {\n path: ':state?',\n name: 'State',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n children: [\n {\n path: ':city?',\n name: 'City',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n }\n ]\n }\n ]\n },\n ],\n}\n\n\n\nexport default marketplace;"],"names":["layoutMarketplace"],"mappings":";;;;AAGK,MAAC,cAAc;AAAA,EAClB,MAAM;AAAA,EACN,WAAWA,YAAiB;AAAA,EAC5B,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,EACF;AAAA,EACD,UAAU;AAAA,IACR;AAAA,MACE,MAAM;AAAA,MACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAqC;AAAA,MAAiC,CAAC;AAAA,MAC/F,UAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAqC;AAAA,UAAiC,CAAC;AAAA,UAC/F,UAAU;AAAA,YACR;AAAA,cACE,MAAM;AAAA,cACN,MAAM;AAAA,cACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,gBAAqC;AAAA,cAAiC,CAAC;AAAA,YAChG;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACH;;"}
|