@ozdao/prometheus-framework 0.2.187 → 0.2.189
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +35 -23
- package/dist/auth.server.mjs +35 -23
- package/dist/builder.js +6 -3
- package/dist/builder.mjs +6 -3
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-BQKyTI-q.js +77 -0
- package/dist/mailing-C3VD4l0h.mjs +78 -0
- package/dist/main-BVZtf9OG.js +92 -0
- package/dist/main-CbTw08vO.mjs +13584 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.cjs +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.js +26 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js +26 -0
- package/dist/node_modules/unhead/dist/index.cjs +1 -0
- package/dist/node_modules/unhead/dist/index.js +7 -0
- package/dist/orders.server.js +162 -12
- package/dist/orders.server.mjs +162 -12
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +41 -22
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +41 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +124 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +94 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +82 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +118 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +168 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +129 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +88 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.js +20 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.js +26 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.js +30 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.js +38 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.js +32 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +30 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/auth.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/auth.js +119 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +176 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +31 -0
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js +45 -0
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +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/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +73 -42
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- 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/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js +34 -10
- package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.js +7 -0
- package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.js +18 -0
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +38 -76
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +72 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +35 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +75 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +194 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.js +38 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +66 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js +16 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +54 -0
- package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.js +7 -0
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +47 -0
- package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.js +18 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +83 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +3 -3
- 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 +3 -3
- 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.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +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/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/departments.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.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/pages/Pages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js +1 -1
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/router/spots.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- 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 +3 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.js +3 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/tickets.controller-BWVUA-GR.js +401 -0
- package/dist/tickets.controller-ChVmHHnj.mjs +402 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-CK9TrlwB.js +1 -0
- package/dist/web-aOWHNbX1.mjs +54 -0
- package/package.json +1 -1
- package/src/builder/modes/ssr.dev.js +4 -1
- package/src/builder/templates/page.js +1 -1
- package/src/builder/webpack/webpack.config.base.js +2 -1
- package/src/builder/webpack/webpack.config.spa.js +0 -1
- package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -1
- package/src/components/Feed/Feed.vue +5 -5
- package/src/components/Sidebar/Sidebar.vue +2 -2
- package/src/modules/auth/auth.client.js +53 -28
- package/src/modules/auth/auth.server.js +32 -14
- package/src/modules/auth/{routes → controllers/routes}/auth.routes.js +3 -3
- package/src/modules/auth/{routes → controllers/routes}/twofa.routes.js +2 -2
- package/src/modules/auth/controllers/{auth.controller.js → services/auth.service.js} +2 -3
- package/src/modules/auth/controllers/{twofa.controller.js → services/twofa.service.js} +1 -1
- package/src/modules/auth/models/role.model.js +9 -8
- package/src/modules/auth/{components → views/components}/layouts/Auth.vue +3 -3
- package/src/modules/auth/{components → views/components}/pages/EnterCode.vue +4 -4
- package/src/modules/auth/{components → views/components}/pages/EnterPassword.vue +3 -3
- package/src/modules/auth/{components → views/components}/pages/Invite.vue +2 -2
- package/src/modules/auth/{components → views/components}/pages/ResetPassword.vue +4 -4
- package/src/modules/auth/{components → views/components}/pages/SignIn.vue +3 -3
- package/src/modules/auth/{components → views/components}/pages/SignUp.vue +4 -4
- package/src/modules/{middlewares/client → auth/views/middlewares}/auth.validation.js +20 -1
- package/src/modules/auth/views/router/auth.js +102 -0
- package/src/modules/auth/{store → views/store}/auth.js +1 -1
- package/src/modules/auth/{store → views/store}/twofa.js +1 -1
- package/src/modules/{middlewares/client → auth/views/validations}/inputs.validation.js +3 -6
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
- package/src/modules/backoffice/components/partials/Sidebar.vue +1 -1
- package/src/modules/backoffice/router/backoffice.js +2 -2
- package/src/modules/chats/controllers/chats.controller.js +1 -1
- package/src/modules/chats/routes/chats.routes.js +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/community/components/pages/BlogPost.vue +64 -3
- package/src/modules/community/components/pages/Community.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/community/models/blogpost.model.js +4 -4
- package/src/modules/community/routes/blog.routes.js +1 -1
- package/src/modules/community/store/blogposts.js +1 -1
- package/src/modules/community/store/reactions.js +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +2 -2
- package/src/modules/events/components/elements/ButtonJoin.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -1
- package/src/modules/events/components/sections/FeaturedEvents.vue +1 -1
- package/src/modules/events/controllers/events.controller.js +1 -1
- package/src/modules/events/controllers/tickets.controller.js +1 -1
- package/src/modules/events/models/event.model.js +4 -4
- package/src/modules/events/router/events.js +1 -1
- package/src/modules/events/routes/events.routes.js +1 -1
- package/src/modules/events/store/events.js +1 -1
- package/src/modules/events/store/tickets.js +1 -1
- package/src/modules/files/routes/files.routes.js +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +2 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +3 -3
- package/src/modules/gallery/models/photo.model.js +3 -3
- package/src/modules/gallery/routes/gallery.routes.js +2 -2
- package/src/modules/gallery/store/gallery.js +1 -1
- package/src/modules/globals/{services → controllers/classes}/globals.crud.js +2 -2
- package/src/modules/globals/globals.client.js +79 -8
- package/src/modules/globals/globals.server.js +3 -3
- package/src/modules/globals/models/{metadata.schema.js → schemas/metadata.schema.js} +1 -1
- package/src/modules/globals/{services → views/classes}/globals.store.js +1 -1
- package/src/modules/globals/{components → views/components}/blocks/BlockSorting.vue +1 -1
- package/src/modules/globals/views/components/layouts/App.vue +83 -0
- package/src/modules/globals/{components → views/components}/layouts/Client.vue +8 -8
- package/src/modules/globals/{components → views/components}/partials/Header.vue +1 -1
- package/src/modules/globals/views/middlewares/localization.js +16 -0
- package/src/modules/globals/views/router/scrollBehavior.js +30 -0
- package/src/modules/globals/{store → views/store}/globals.js +3 -3
- package/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook.js +2 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +2 -2
- package/src/modules/legal/components/pages/Legal.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
- package/src/modules/marketplace/router/marketplace.js +1 -1
- package/src/modules/orders/components/pages/Order.vue +1 -1
- package/src/modules/orders/components/pages/OrderBackoffice.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -3
- package/src/modules/orders/components/sections/FormAddCustomer.vue +3 -3
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/controllers/applications.controller.js +1 -1
- package/src/modules/orders/controllers/orders.controller.js +1 -1
- package/src/modules/orders/models/customer.model.js +3 -3
- package/src/modules/orders/models/order.model.js +1 -2
- package/src/modules/orders/orders.server.js +4 -2
- package/src/modules/orders/router/orders.backoffice.router.js +1 -1
- package/src/modules/orders/router/orders.router.js +1 -1
- package/src/modules/orders/routes/applications.routes.js +2 -1
- package/src/modules/orders/routes/orders.routes.js +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/orders/store/customers.store.js +1 -1
- package/src/modules/orders/store/orders.js +1 -1
- package/src/modules/orders/store/shopcart.js +1 -1
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +3 -3
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/invites.controller.js +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/invite.model.js +2 -2
- package/src/modules/organizations/models/organization.model.js +1 -1
- package/src/modules/organizations/router/backoffice.router.js +2 -2
- package/src/modules/organizations/router/departments.router.js +1 -1
- package/src/modules/organizations/router/members.router.js +1 -1
- package/src/modules/organizations/router/organizations.js +2 -2
- package/src/modules/organizations/routes/invites.routes.js +1 -1
- package/src/modules/organizations/store/departments.js +1 -1
- package/src/modules/organizations/store/invites.js +2 -2
- package/src/modules/organizations/store/memberships.js +1 -1
- package/src/modules/organizations/store/organizations.js +1 -1
- package/src/modules/pages/pages.server.js +1 -1
- package/src/modules/pages/views/components/pages/Page.vue +2 -2
- package/src/modules/pages/views/components/pages/PageEdit.vue +1 -1
- package/src/modules/pages/views/components/pages/Pages.vue +3 -3
- package/src/modules/pages/views/components/partials/SidebarPages.vue +2 -2
- package/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +1 -1
- package/src/modules/pages/views/store/pages.js +1 -1
- package/src/modules/pages/views/store/pages.store.js +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +2 -2
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/models/leftover.model.js +1 -1
- package/src/modules/products/router/categories.router.js +1 -1
- package/src/modules/products/router/leftovers.router.js +1 -1
- package/src/modules/products/router/products.router.js +1 -1
- package/src/modules/products/store/categories.js +1 -1
- package/src/modules/products/store/leftovers.js +1 -1
- package/src/modules/products/store/products.js +1 -1
- package/src/modules/projects/store/projects.js +1 -1
- package/src/modules/reports/store/reports.js +1 -1
- package/src/modules/spots/components/layouts/Spots.vue +1 -1
- package/src/modules/spots/components/pages/Map.vue +1 -1
- package/src/modules/spots/router/spots.js +2 -2
- package/src/modules/spots/spots.server.js +1 -1
- package/src/modules/spots/store/spots.js +1 -1
- package/src/modules/users/components/pages/Profile.vue +1 -1
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +2 -2
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/models/user.model.js +3 -3
- package/src/modules/users/router/users.js +1 -2
- package/src/modules/wallet/controllers/routes/payments.routes.js +2 -2
- package/src/modules/wallet/controllers/routes/rewards.routes.js +1 -1
- package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
- package/src/modules/wallet/views/router/payments.router.js +1 -2
- package/src/modules/wallet/views/store/payments.store.js +1 -1
- package/src/modules/wallet/views/store/wallet.store.js +1 -1
- package/src/modules/auth/router/auth.js +0 -111
- package/src/modules/globals/localization/methods/get-app-locales.js +0 -13
- package/src/modules/globals/localization/vue-i18n.js +0 -38
- package/src/modules/globals/localization/vue-i18n.singleton.js +0 -11
- package/src/modules/globals/router/routerGuards.js +0 -29
- package/src/modules/middlewares/client/states.validation.js +0 -23
- package/src/modules/middlewares/middlewares.client.js +0 -11
- package/src/modules/middlewares/middlewares.server.js +0 -18
- package/src/modules/orders/routes/backcalls.routes.js +0 -36
- package/src/modules/orders/routes/fastorders.routes.js +0 -32
- /package/src/modules/auth/{middlewares → controllers/middlewares}/authJwt.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/authSecret.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/index.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyAccesses.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyInvites.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/verifySignUp.js +0 -0
- /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyUser.js +0 -0
- /package/src/modules/auth/{utils/server → controllers/utils}/verifyAppleIdToken.js +0 -0
- /package/src/modules/auth/{components → views/components}/sections/SliderFeatures.vue +0 -0
- /package/src/modules/auth/{localization → views/localization}/EnterCode.json +0 -0
- /package/src/modules/auth/{localization → views/localization}/EnterPassword.json +0 -0
- /package/src/modules/auth/{localization → views/localization}/ResetPassword.json +0 -0
- /package/src/modules/auth/{localization → views/localization}/SignIn.json +0 -0
- /package/src/modules/auth/{localization → views/localization}/SignUp.json +0 -0
- /package/src/modules/globals/{services → controllers/classes}/globals.cache.js +0 -0
- /package/src/modules/globals/{services → controllers/classes}/globals.logger.js +0 -0
- /package/src/modules/globals/{services → controllers/classes}/globals.observer.js +0 -0
- /package/src/modules/globals/{services → controllers/classes}/globals.webhook.js +0 -0
- /package/src/modules/globals/{utils → controllers/utils}/mailing.js +0 -0
- /package/src/modules/globals/{utils → controllers/utils}/parseCookie.js +0 -0
- /package/src/modules/globals/{utils → controllers/utils}/seo-friendly-url.js +0 -0
- /package/src/modules/globals/{utils → controllers/utils}/sitemap.js +0 -0
- /package/src/modules/globals/models/{common.schema.js → schemas/common.schema.js} +0 -0
- /package/src/modules/globals/models/{credentials.schema.js → schemas/credentials.schema.js} +0 -0
- /package/src/modules/globals/models/{engagement.schema.js → schemas/engagement.schema.js} +0 -0
- /package/src/modules/globals/models/{ownership.schema.js → schemas/ownership.schema.js} +0 -0
- /package/src/modules/globals/models/{profile.schema.js → schemas/profile.schema.js} +0 -0
- /package/src/modules/globals/models/{socials.schema.js → schemas/socials.schema.js} +0 -0
- /package/src/modules/globals/{components → views/components}/blocks/BlockFilter.vue +0 -0
- /package/src/modules/globals/{components → views/components}/blocks/BlockSearch.vue +0 -0
- /package/src/modules/globals/{components → views/components}/blocks/CardFooter.vue +0 -0
- /package/src/modules/globals/{components → views/components}/blocks/CardHeader.vue +0 -0
- /package/src/modules/globals/{components → views/components}/elements/ButtonDate.vue +0 -0
- /package/src/modules/globals/{components → views/components}/elements/ButtonSort.vue +0 -0
- /package/src/modules/globals/{components → views/components}/layouts/Empty.vue +0 -0
- /package/src/modules/globals/{components → views/components}/pages/401.vue +0 -0
- /package/src/modules/globals/{components → views/components}/pages/404.vue +0 -0
- /package/src/modules/globals/{components → views/components}/partials/BottomNavigation.vue +0 -0
- /package/src/modules/globals/{components → views/components}/partials/Footer.vue +0 -0
- /package/src/modules/globals/{components → views/components}/partials/Navigation.vue +0 -0
- /package/src/modules/globals/{components → views/components}/partials/NavigationBar.vue +0 -0
- /package/src/modules/globals/{components → views/components}/sections/SectionPageTitle.vue +0 -0
- /package/src/modules/globals/{components → views/components}/sections/Title.vue +0 -0
- /package/src/modules/globals/{components → views/components}/sections/Walkthrough.vue +0 -0
- /package/src/modules/globals/{localization/methods → views/localization}/get-browser-locale.js +0 -0
- /package/src/modules/globals/{mixins → views/mixins}/mixins.js +0 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
<template>
|
2
|
+
<router-view v-slot="{ Component }">
|
3
|
+
<component :is="Component"/>
|
4
|
+
</router-view>
|
5
|
+
</template>
|
6
|
+
|
7
|
+
<script setup>
|
8
|
+
import { useHead } from '@unhead/vue'
|
9
|
+
import { useI18n } from 'vue-i18n'
|
10
|
+
import { useRoute } from 'vue-router'
|
11
|
+
import { computed } from 'vue'
|
12
|
+
|
13
|
+
const props = defineProps({
|
14
|
+
messages: {
|
15
|
+
type: Object,
|
16
|
+
required: true
|
17
|
+
},
|
18
|
+
})
|
19
|
+
|
20
|
+
const { t, locale } = useI18n({
|
21
|
+
messages: props.messages
|
22
|
+
})
|
23
|
+
|
24
|
+
const current_url = computed(() => removeTrailingSlash(`${base_url}${route.path}`));
|
25
|
+
|
26
|
+
const route = useRoute();
|
27
|
+
|
28
|
+
const languages = ['en', 'ru'];
|
29
|
+
const base_url = 'https://weeder.delivery';
|
30
|
+
|
31
|
+
|
32
|
+
function removeTrailingSlash(url) {
|
33
|
+
return url.endsWith('/') ? url.slice(0, -1) : url;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Используйте эту функцию, чтобы удалить слэш в конце URL
|
37
|
+
const metadata = computed(() => {return {
|
38
|
+
title: t('meta.title'),
|
39
|
+
description: t('meta.description'),
|
40
|
+
meta: [
|
41
|
+
{ charset: 'utf-8' },
|
42
|
+
{ name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
|
43
|
+
{ hid: 'description', name: 'description', content: t('meta.description') },
|
44
|
+
{ hid: 'keywords', name: 'keywords', content: t('meta.keywords') },
|
45
|
+
{ hid: 'og:title', property: 'og:title', content: t('meta.og.title') },
|
46
|
+
{ hid: 'og:description', property: 'og:description', content: t('meta.og.description') },
|
47
|
+
{ hid: 'og:image', property: 'og:image', content: base_url + '/favicon/cover.jpg' },
|
48
|
+
{ hid: 'og:url', property: 'og:url', content: current_url.value },
|
49
|
+
{ hid: 'twitter:title', name: 'twitter:title', content: t('meta.twitter.title') },
|
50
|
+
{ hid: 'twitter:description', name: 'twitter:description', content: t('meta.twitter.description') },
|
51
|
+
{ hid: 'twitter:image', name: 'twitter:image', content: base_url + '/favicon/cover.jpg' },
|
52
|
+
{ hid: 'twitter:card', name: 'twitter:card', content: t('meta.twitter.card') },
|
53
|
+
],
|
54
|
+
link: [
|
55
|
+
{ hid: 'canonical', rel: 'canonical', href: current_url.value },
|
56
|
+
...generateAlternateLinks.value,
|
57
|
+
],
|
58
|
+
htmlAttrs: { lang: t('meta.htmlAttrs.lang')}
|
59
|
+
}});
|
60
|
+
|
61
|
+
const generateAlternateLinks = computed(() => {
|
62
|
+
return languages.map(lang => {
|
63
|
+
let newPath = route.path;
|
64
|
+
|
65
|
+
console.log(route)
|
66
|
+
|
67
|
+
if (route.params.locale) {
|
68
|
+
newPath = newPath.replace(`/${route.params.locale}`, `/${lang}`);
|
69
|
+
} else {
|
70
|
+
newPath = `/${lang}${newPath}`;
|
71
|
+
}
|
72
|
+
const href = removeTrailingSlash(`${base_url}${newPath}`);
|
73
|
+
return {
|
74
|
+
hid: 'alternate',
|
75
|
+
rel: 'alternate',
|
76
|
+
hreflang: lang,
|
77
|
+
href: href
|
78
|
+
};
|
79
|
+
});
|
80
|
+
});
|
81
|
+
|
82
|
+
useHead(metadata.value)
|
83
|
+
</script>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
/>
|
99
99
|
</section> -->
|
100
100
|
|
101
|
-
|
101
|
+
<Suspense>
|
102
102
|
<router-view v-slot="{ Component, route }">
|
103
103
|
<transition @before-enter="scrollTop" name="scaleIn" mode="out-in" appear>
|
104
104
|
<component
|
@@ -108,7 +108,7 @@
|
|
108
108
|
/>
|
109
109
|
</transition>
|
110
110
|
</router-view>
|
111
|
-
|
111
|
+
</Suspense>
|
112
112
|
<!-- <Footer /> -->
|
113
113
|
</section>
|
114
114
|
|
@@ -134,11 +134,11 @@
|
|
134
134
|
import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'
|
135
135
|
import LocationSelection from '@pf/src/components/LocationSelection/LocationSelection.vue'
|
136
136
|
|
137
|
-
import Header from '@pf/src/modules/globals/components/partials/Header.vue'
|
138
|
-
import Navigation from '@pf/src/modules/globals/components/partials/Navigation.vue'
|
139
|
-
import Footer from '@pf/src/modules/globals/components/partials/Footer.vue'
|
140
|
-
import NavigationBar from '@pf/src/modules/globals/components/partials/NavigationBar.vue';
|
141
|
-
import BottomNavigation from '@pf/src/modules/globals/components/partials/BottomNavigation.vue';
|
137
|
+
import Header from '@pf/src/modules/globals/views/components/partials/Header.vue'
|
138
|
+
import Navigation from '@pf/src/modules/globals/views/components/partials/Navigation.vue'
|
139
|
+
import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'
|
140
|
+
import NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue';
|
141
|
+
import BottomNavigation from '@pf/src/modules/globals/views/components/partials/BottomNavigation.vue';
|
142
142
|
|
143
143
|
import ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue'
|
144
144
|
// Walkthrough
|
@@ -146,7 +146,7 @@
|
|
146
146
|
|
147
147
|
if (__MOBILE_APP__) {
|
148
148
|
Walkthrough = defineAsyncComponent(() =>
|
149
|
-
import('@pf/src/modules/globals/components/sections/Walkthrough.vue').then(_ => _.default)
|
149
|
+
import('@pf/src/modules/globals/views/components/sections/Walkthrough.vue').then(_ => _.default)
|
150
150
|
);
|
151
151
|
} else {
|
152
152
|
Walkthrough = null;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import { useStore } from '@/store';
|
7
7
|
|
8
8
|
// Globasls Component
|
9
|
-
import Navigation from '@pf/src/modules/globals/components/partials/Navigation.vue'
|
9
|
+
import Navigation from '@pf/src/modules/globals/views/components/partials/Navigation.vue'
|
10
10
|
// Prometheus Component
|
11
11
|
import Button from '@pf/src/components/Button/Button.vue'
|
12
12
|
import Select from '@pf/src/components/Select/Select.vue'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
function setLocale(to, from, next) {
|
2
|
+
const locale = to.params.locale;
|
3
|
+
|
4
|
+
if (locale && this.$i18n.availableLocales.includes(locale)) {
|
5
|
+
console.log('true')
|
6
|
+
app.config.globalProperties.$i18n.locale = locale;
|
7
|
+
return next();
|
8
|
+
}
|
9
|
+
|
10
|
+
next();
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
export {
|
15
|
+
setLocale
|
16
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
export default async function scrollBehavior(to, from, savedPosition) {
|
2
|
+
if (to.hash) {
|
3
|
+
const findEl = async (hash, x) => {
|
4
|
+
return document.querySelector(hash) ||
|
5
|
+
new Promise((resolve, reject) => {
|
6
|
+
if (x > 50) {
|
7
|
+
return resolve()
|
8
|
+
}
|
9
|
+
setTimeout(() => { resolve(findEl(hash, ++x || 1)) }, 1000)
|
10
|
+
})
|
11
|
+
}
|
12
|
+
|
13
|
+
if (to.hash) {
|
14
|
+
let el = await findEl(to.hash)
|
15
|
+
let screen = await findEl('#screen')
|
16
|
+
|
17
|
+
if ('scrollBehavior' in document.documentElement.style) {
|
18
|
+
return screen.scrollTo({ top: el.offsetTop, behavior: 'smooth' })
|
19
|
+
} else {
|
20
|
+
return screen.scrollTo(0, el.offsetTop)
|
21
|
+
}
|
22
|
+
}
|
23
|
+
} else if (to.matched.some(m => m.meta.scrollTo)) {
|
24
|
+
return { top: m.meta.scrollTo.top, left: m.meta.scrollTo.left }
|
25
|
+
} else if (savedPosition) {
|
26
|
+
return { savedPosition }
|
27
|
+
} else {
|
28
|
+
return { top: 0 }
|
29
|
+
}
|
30
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Vue modules
|
2
2
|
import { reactive, computed } from "vue";
|
3
3
|
|
4
|
-
import i18n from "
|
4
|
+
// import i18n from "@/localization";
|
5
5
|
|
6
6
|
// State
|
7
7
|
const state = reactive({
|
@@ -159,8 +159,8 @@ const errorMessages = {
|
|
159
159
|
}
|
160
160
|
};
|
161
161
|
|
162
|
-
i18n.global.mergeLocaleMessage('ru', errorMessages.ru);
|
163
|
-
i18n.global.mergeLocaleMessage('en', errorMessages.en);
|
162
|
+
// i18n.global.mergeLocaleMessage('ru', errorMessages.ru);
|
163
|
+
// i18n.global.mergeLocaleMessage('en', errorMessages.en);
|
164
164
|
|
165
165
|
// Mutations
|
166
166
|
function setError(error) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
// stripeWebhook.js
|
2
2
|
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
|
3
3
|
|
4
|
-
const Webhook = require('@pf/src/modules/globals/
|
5
|
-
const Observer = require('@pf/src/modules/globals/
|
4
|
+
const Webhook = require('@pf/src/modules/globals/controllers/classes/globals.webhook');
|
5
|
+
const Observer = require('@pf/src/modules/globals/controllers/classes/globals.observer');
|
6
6
|
|
7
7
|
function middleware(req, res, next) {
|
8
8
|
next();
|
@@ -38,10 +38,10 @@ import text from '@pf/src/modules/landing/localization/SubscribeNewsletter.json'
|
|
38
38
|
|
39
39
|
import FieldBig from "@pf/src/components/FieldBig/FieldBig.vue";
|
40
40
|
|
41
|
-
import * as globals from '@pf/src/modules/globals/store/globals.js';
|
41
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals.js';
|
42
42
|
import * as applications from '@pf/src/modules/orders/store/applications.js';
|
43
43
|
|
44
|
-
import * as inputsValidation from '@pf/src/modules/
|
44
|
+
import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'
|
45
45
|
|
46
46
|
// Localization
|
47
47
|
const { t } = useI18n({
|
@@ -45,7 +45,7 @@
|
|
45
45
|
// Import libs
|
46
46
|
import { computed, watch, onMounted, ref, onBeforeMount } from 'vue'
|
47
47
|
import { useRoute, useRouter } from 'vue-router'
|
48
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
48
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
49
49
|
// Accessing router
|
50
50
|
const route = useRoute()
|
51
51
|
const router = useRouter()
|
@@ -47,7 +47,7 @@
|
|
47
47
|
import { useI18n } from 'vue-i18n'
|
48
48
|
|
49
49
|
|
50
|
-
import BlockFilter from '@pf/src/modules/globals/components/blocks/BlockFilter.vue'
|
50
|
+
import BlockFilter from '@pf/src/modules/globals/views/components/blocks/BlockFilter.vue'
|
51
51
|
|
52
52
|
// Accessing router and store
|
53
53
|
const store = useStore()
|
@@ -218,7 +218,7 @@
|
|
218
218
|
|
219
219
|
import StatusHistory from '@pf/src/modules/orders/components/blocks/StatusHistory.vue'
|
220
220
|
|
221
|
-
import * as globals from '@pf/src/modules/globals/store/globals'
|
221
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
222
222
|
import * as orders from '@pf/src/modules/orders/store/orders'
|
223
223
|
import * as products from '@pf/src/modules/products/store/products'
|
224
224
|
import * as organizations from '@pf/src/modules/organizations/store/organizations'
|
@@ -198,7 +198,7 @@
|
|
198
198
|
import VueDatePicker from '@vuepic/vue-datepicker';
|
199
199
|
import '@vuepic/vue-datepicker/dist/main.css'
|
200
200
|
|
201
|
-
import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
|
201
|
+
import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
|
202
202
|
|
203
203
|
import Popup from "@pf/src/components/Popup/Popup.vue";
|
204
204
|
|
@@ -212,7 +212,7 @@
|
|
212
212
|
|
213
213
|
import StatusHistory from '@pf/src/modules/orders/components/blocks/StatusHistory.vue'
|
214
214
|
|
215
|
-
import * as globals from '@pf/src/modules/globals/store/globals'
|
215
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
216
216
|
import * as orders from '@pf/src/modules/orders/store/orders'
|
217
217
|
import * as products from '@pf/src/modules/products/store/products'
|
218
218
|
import * as organizations from '@pf/src/modules/organizations/store/organizations'
|
@@ -127,8 +127,8 @@ import FormPayment from '@pf/src/modules/orders/components/sections/FormPayment.
|
|
127
127
|
import { ref, computed, onMounted, watch } from 'vue'
|
128
128
|
import { useRoute,useRouter } from 'vue-router'
|
129
129
|
// Store
|
130
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
131
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
130
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
131
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
132
132
|
import * as shopcart from '@pf/src/modules/orders/store/shopcart';
|
133
133
|
import * as organizations from '@pf/src/modules/organizations/store/organizations';
|
134
134
|
import * as orders from '@pf/src/modules/orders/store/orders';
|
@@ -208,15 +208,15 @@
|
|
208
208
|
import CardPosition from '@pf/src/modules/products/components/blocks/CardPosition.vue';
|
209
209
|
import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'
|
210
210
|
|
211
|
-
import BlockSearch from '@pf/src/modules/globals/components/blocks/BlockSearch.vue'
|
211
|
+
import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'
|
212
212
|
|
213
213
|
import FormAddCustomer from '@pf/src/modules/orders/components/sections/FormAddCustomer.vue'
|
214
214
|
import FormDelivery from '@pf/src/modules/orders/components/sections/FormDelivery.vue'
|
215
215
|
import FormPayment from '@pf/src/modules/orders/components/sections/FormPayment.vue'
|
216
216
|
|
217
217
|
// Import your store
|
218
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
219
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
218
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
219
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
220
220
|
import * as orders from '@pf/src/modules/orders/store/orders';
|
221
221
|
import * as products from '@pf/src/modules/products/store/products';
|
222
222
|
|
@@ -179,12 +179,12 @@
|
|
179
179
|
import Block from '@pf/src/components/Block/Block.vue';
|
180
180
|
|
181
181
|
import * as orders from '@pf/src/modules/orders/store/orders';
|
182
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
182
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
183
183
|
|
184
184
|
import CardOrder from '@pf/src/modules/orders/components/blocks/CardOrder.vue'
|
185
|
-
import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
|
185
|
+
import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'
|
186
186
|
|
187
|
-
import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
|
187
|
+
import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
|
188
188
|
|
189
189
|
import Feed from '@pf/src/components/Feed/Feed.vue'
|
190
190
|
|
@@ -85,16 +85,16 @@ import Select from '@pf/src/components/Select/Select.vue'
|
|
85
85
|
import Feed from '@pf/src/components/Feed/Feed.vue'
|
86
86
|
import Button from '@pf/src/components/Button/Button.vue'
|
87
87
|
|
88
|
-
import BlockSearch from '@pf/src/modules/globals/components/blocks/BlockSearch.vue'
|
88
|
+
import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'
|
89
89
|
|
90
90
|
import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'
|
91
91
|
|
92
92
|
import FormCustomerDetails from '@pf/src/modules/orders/components/sections/FormCustomerDetails.vue'
|
93
93
|
|
94
94
|
import * as users from '@pf/src/modules/users/store/users';
|
95
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
95
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
96
96
|
|
97
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
97
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
98
98
|
|
99
99
|
import customers from '@pf/src/modules/orders/store/customers.store';
|
100
100
|
import customerInitState from "@pf/src/modules/orders/store/models/customer"
|
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
<script setup>
|
72
72
|
import { onMounted } from 'vue'
|
73
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
73
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
74
74
|
import Block from '@pf/src/components/Block/Block.vue'
|
75
75
|
import Address from '@pf/src/components/Address/Address.vue'
|
76
76
|
import LocationMarker from "@pf/src/components/LocationMarker/LocationMarker.vue";
|
@@ -5,7 +5,7 @@ const axios = require('axios');
|
|
5
5
|
// --------------------------------------------------
|
6
6
|
// UTILS
|
7
7
|
// --------------------------------------------------
|
8
|
-
const { sendChatMessageTelegram } = require('@pf/src/modules/globals/utils/mailing');
|
8
|
+
const { sendChatMessageTelegram } = require('@pf/src/modules/globals/controllers/utils/mailing');
|
9
9
|
// --------------------------------------------------
|
10
10
|
// METHODS
|
11
11
|
// --------------------------------------------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
const queryProcessorGlobals = require('@pf/src/modules/globals/controllers/utils/queryProcessor');
|
2
2
|
|
3
|
-
const { sendChatMessageTelegram } = require('@pf/src/modules/globals/utils/mailing');
|
3
|
+
const { sendChatMessageTelegram } = require('@pf/src/modules/globals/controllers/utils/mailing');
|
4
4
|
|
5
5
|
function formatPositions(positions) {
|
6
6
|
return positions.map(pos => `🔹 ${pos.name} - Price: $${pos.price}, Quantity: ${pos.quantity}`).join('\n');
|
@@ -1,6 +1,6 @@
|
|
1
|
-
const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
|
2
|
-
const applyProfileSchema = require('@pf/src/modules/globals/models/profile.schema.js');
|
3
|
-
const applyCredentialsSchema = require('@pf/src/modules/globals/models/credentials.schema.js');
|
1
|
+
const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
|
2
|
+
const applyProfileSchema = require('@pf/src/modules/globals/models/schemas/profile.schema.js');
|
3
|
+
const applyCredentialsSchema = require('@pf/src/modules/globals/models/schemas/credentials.schema.js');
|
4
4
|
|
5
5
|
module.exports = (db) => {
|
6
6
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
|
1
|
+
const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
|
2
2
|
|
3
3
|
module.exports = (db) => {
|
4
4
|
|
@@ -45,7 +45,6 @@ module.exports = (db) => {
|
|
45
45
|
trim: true
|
46
46
|
}
|
47
47
|
}],
|
48
|
-
|
49
48
|
comment: {
|
50
49
|
type: String,
|
51
50
|
trim: true
|
@@ -4,10 +4,11 @@ const ModelTestimonial = require('./models/testimonial.model.js');
|
|
4
4
|
const ModelApplication = require('./models/application.model.js');
|
5
5
|
|
6
6
|
const RoutesOrder = require('./routes/orders.routes.js');
|
7
|
+
const RoutesApplications = require('./routes/applications.routes.js');
|
7
8
|
|
8
9
|
const FactoryOrder = require('./controllers/orders.controller.js');
|
9
10
|
|
10
|
-
const CRUD = require('@pf/src/modules/globals/
|
11
|
+
const CRUD = require('@pf/src/modules/globals/controllers/classes/globals.crud');
|
11
12
|
|
12
13
|
function initializeOrders(app, db, origins, publicPath) {
|
13
14
|
// Setup models in the database object
|
@@ -19,9 +20,10 @@ function initializeOrders(app, db, origins, publicPath) {
|
|
19
20
|
// Setup routes if the app object is provided
|
20
21
|
if (app) {
|
21
22
|
RoutesOrder(app,db,origins,publicPath)
|
23
|
+
RoutesApplications(app,db,origins,publicPath)
|
24
|
+
new CRUD('/api/customers', app, db, db.customer)
|
22
25
|
}
|
23
26
|
|
24
|
-
new CRUD('/api/customers', app, db, db.customer)
|
25
27
|
}
|
26
28
|
// Exporting controllers, routes, and models
|
27
29
|
module.exports = {
|
@@ -1,7 +1,8 @@
|
|
1
1
|
// Factories
|
2
2
|
const controllerFactory = require("../controllers/applications.controller");
|
3
3
|
// Middlewares
|
4
|
-
const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
|
4
|
+
const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
|
5
|
+
|
5
6
|
module.exports = function(app, db, origins) {
|
6
7
|
const controller = controllerFactory(db);
|
7
8
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Factories
|
2
2
|
const controllerFactory = require("../controllers/orders.controller");
|
3
3
|
// Middlewares
|
4
|
-
const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
|
4
|
+
const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
|
5
5
|
// Routes
|
6
6
|
module.exports = function(app, db, origins, publicPath) {
|
7
7
|
const controller = controllerFactory(db);
|
@@ -6,7 +6,7 @@ import { reactive, computed, watch } from "vue";
|
|
6
6
|
// --------------------------------------------------
|
7
7
|
// GLOBALS
|
8
8
|
// --------------------------------------------------
|
9
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
9
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
10
10
|
// --------------------------------------------------
|
11
11
|
// AXIOS
|
12
12
|
// --------------------------------------------------
|
@@ -5,7 +5,7 @@ import axios from 'axios';
|
|
5
5
|
// Setup Axios
|
6
6
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
7
7
|
// Globals
|
8
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
8
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
9
9
|
// Init State
|
10
10
|
import orderInitState from "@pf/src/modules/orders/store/models/order"
|
11
11
|
|
@@ -5,7 +5,7 @@ import { reactive, watch, computed } from "vue";
|
|
5
5
|
// Dependencies
|
6
6
|
import Cookies from 'js-cookie'
|
7
7
|
// Globals
|
8
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
8
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
9
9
|
|
10
10
|
/////////////////////////////
|
11
11
|
// State
|
@@ -12,7 +12,7 @@
|
|
12
12
|
import Button from "@pf/src/components/Button/Button.vue";
|
13
13
|
|
14
14
|
import { ref } from 'vue'
|
15
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
15
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
16
16
|
import * as memberships from '@pf/src/modules/organizations/store/memberships'
|
17
17
|
|
18
18
|
const emits = defineEmits(['updateMembership'])
|
@@ -297,7 +297,7 @@ import DepartmentSub from "@pf/src/modules/organizations/components/blocks/Depar
|
|
297
297
|
|
298
298
|
import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'
|
299
299
|
|
300
|
-
import * as globals from "@pf/src/modules/globals/store/globals";
|
300
|
+
import * as globals from "@pf/src/modules/globals/views/store/globals";
|
301
301
|
import * as departments from "@pf/src/modules/organizations/store/departments";
|
302
302
|
import * as memberships from "@pf/src/modules/organizations/store/memberships";
|
303
303
|
|
@@ -168,7 +168,7 @@ import Tab from '@pf/src/components/Tab/Tab.vue'
|
|
168
168
|
import Block from '@pf/src/components/Block/Block.vue'
|
169
169
|
import Popup from '@pf/src/components/Popup/Popup.vue';
|
170
170
|
|
171
|
-
import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
|
171
|
+
import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
|
172
172
|
import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'
|
173
173
|
|
174
174
|
import MembersAdd from '@pf/src/modules/organizations/components/sections/MembersAdd.vue';
|
@@ -182,8 +182,8 @@ import CardDepartment from '@pf/src/modules/organizations/components/blocks/Card
|
|
182
182
|
|
183
183
|
import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue'
|
184
184
|
|
185
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
186
|
-
import * as globals from '@pf/src/modules/globals/store/globals'
|
185
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
186
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
187
187
|
import * as invites from '@pf/src/modules/organizations/store/invites';
|
188
188
|
import * as memberships from '@pf/src/modules/organizations/store/memberships';
|
189
189
|
import * as organization from '@pf/src/modules/organizations/store/organizations'
|
@@ -190,7 +190,7 @@
|
|
190
190
|
// Local
|
191
191
|
import Products from '@pf/src/modules/products/components/pages/Products.vue';
|
192
192
|
// Import state
|
193
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
193
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
194
194
|
import * as organization from '@pf/src/modules/organizations/store/organizations';
|
195
195
|
import * as memberships from '@pf/src/modules/organizations/store/memberships';
|
196
196
|
import * as departments from '@pf/src/modules/organizations/store/departments';
|
@@ -178,7 +178,7 @@ import IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'
|
|
178
178
|
/////////////////////////////
|
179
179
|
import { useRoute, useRouter } from 'vue-router'
|
180
180
|
|
181
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
181
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
182
182
|
|
183
183
|
import * as organizations from '@pf/src/modules/organizations/store/organizations'
|
184
184
|
|
@@ -42,7 +42,7 @@ import Select from '@pf/src/components/Select/Select.vue';
|
|
42
42
|
import Button from '@pf/src/components/Button/Button.vue';
|
43
43
|
import Places from '@pf/src/modules/organizations/components/sections/Places.vue';
|
44
44
|
|
45
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
45
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
46
46
|
import * as organization from '@pf/src/modules/organizations/store/organizations';
|
47
47
|
|
48
48
|
const router = useRouter();
|
@@ -50,9 +50,9 @@ import Field from '@pf/src/components/Field/Field.vue';
|
|
50
50
|
import Select from '@pf/src/components/Select/Select.vue';
|
51
51
|
import Button from '@pf/src/components/Button/Button.vue';
|
52
52
|
import Places from '@pf/src/modules/organizations/components/sections/Places.vue';
|
53
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
53
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
54
54
|
import * as organization from '@pf/src/modules/organizations/store/organizations';
|
55
|
-
import * as inputsValidation from '@pf/src/modules/
|
55
|
+
import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation';
|
56
56
|
|
57
57
|
const router = useRouter();
|
58
58
|
const route = useRoute();
|
@@ -125,7 +125,7 @@
|
|
125
125
|
import Button from '@pf/src/components/Button/Button.vue';
|
126
126
|
import Popup from '@pf/src/components/Popup/Popup.vue';
|
127
127
|
|
128
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
128
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
129
129
|
import * as organization from '@pf/src/modules/organizations/store/organizations';
|
130
130
|
import * as memberships from '@pf/src/modules/organizations/store/memberships';
|
131
131
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
import Tab from '@pf/src/components/Tab/Tab.vue'
|
69
69
|
import Feed from '@pf/src/modules/organizations/components/sections/Feed.vue';
|
70
70
|
|
71
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
71
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
72
72
|
// Accessing router
|
73
73
|
const route = useRoute()
|
74
74
|
const router = useRouter()
|