@ozdao/prometheus-framework 0.2.186 → 0.2.188
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/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/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/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/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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.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/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/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/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.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 +10 -6
- 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/mixins/mixins.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/mixins/mixins.js +20 -16
- package/dist/prometheus-framework/src/modules/globals/router/routerGuards.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/router/routerGuards.js +18 -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/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +5 -5
- 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/OrderCreate.vue.cjs +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/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- 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 +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 +2 -3
- 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 +2 -2
- 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 +2 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.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 +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 +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/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 +2 -3
- 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 +1 -1
- 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/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/router/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/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.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/components/Breadcrumbs/Breadcrumbs.vue +0 -1
- package/src/components/Sidebar/Sidebar.vue +1 -1
- 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/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 +3 -3
- 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/{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 +1 -1
- package/src/modules/chats/routes/chats.routes.js +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 +1 -1
- 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/HotPosts.vue +1 -1
- package/src/modules/community/routes/blog.routes.js +1 -1
- 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/router/events.js +1 -1
- package/src/modules/events/routes/events.routes.js +1 -1
- package/src/modules/files/routes/files.routes.js +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
- package/src/modules/gallery/routes/gallery.routes.js +2 -2
- package/src/modules/globals/globals.client.js +6 -3
- package/src/modules/globals/router/routerGuards.js +1 -1
- package/src/modules/globals/router/scrollBehavior.js +30 -0
- package/src/modules/globals/store/globals.js +3 -3
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/legal/components/pages/Legal.vue +1 -1
- 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/pages/Orders.vue +1 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +1 -1
- package/src/modules/orders/models/order.model.js +0 -1
- package/src/modules/orders/orders.server.js +3 -1
- package/src/modules/orders/routes/applications.routes.js +2 -1
- package/src/modules/orders/routes/orders.routes.js +1 -1
- package/src/modules/organizations/components/elements/ButtonToggleMembership.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/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 +1 -1
- package/src/modules/organizations/components/sections/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/router/backoffice.router.js +1 -1
- 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 +1 -1
- package/src/modules/organizations/routes/invites.routes.js +1 -1
- package/src/modules/organizations/store/invites.js +1 -1
- package/src/modules/pages/views/components/pages/Page.vue +1 -1
- package/src/modules/pages/views/components/pages/Pages.vue +1 -1
- package/src/modules/pages/views/components/partials/SidebarPages.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +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/spots/router/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/router/users.js +1 -2
- package/src/modules/wallet/controllers/routes/payments.routes.js +1 -1
- package/src/modules/wallet/controllers/routes/rewards.routes.js +1 -1
- package/src/modules/wallet/views/router/payments.router.js +1 -2
- 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/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/controllers/{twofa.controller.js → services/twofa.service.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/auth/{store → views/store}/auth.js +0 -0
- /package/src/modules/auth/{store → views/store}/twofa.js +0 -0
- /package/src/modules/globals/localization/{methods/get-browser-locale.js → get-browser-locale.js} +0 -0
@@ -1,16 +1,19 @@
|
|
1
1
|
// Components
|
2
2
|
// import Client from "./components/layouts/Client.vue"
|
3
3
|
|
4
|
-
import getBrowserLocale from './localization/
|
5
|
-
import VueI18n from './localization/vue-i18n.js';
|
4
|
+
import getBrowserLocale from './localization/get-browser-locale.js';
|
6
5
|
import routerGuards from './router/routerGuards.js';
|
6
|
+
import scrollBehavior from './router/scrollBehavior.js';
|
7
7
|
|
8
8
|
import * as mixins from './mixins/mixins.js'
|
9
9
|
import * as globalStore from './store/globals.js';
|
10
10
|
|
11
11
|
export {
|
12
12
|
// Client,
|
13
|
+
mixins,
|
14
|
+
routerGuards,
|
15
|
+
scrollBehavior,
|
13
16
|
getBrowserLocale,
|
14
|
-
|
17
|
+
|
15
18
|
globalStore
|
16
19
|
};
|
@@ -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) {
|
@@ -41,7 +41,7 @@ import FieldBig from "@pf/src/components/FieldBig/FieldBig.vue";
|
|
41
41
|
import * as globals from '@pf/src/modules/globals/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()
|
@@ -128,7 +128,7 @@ import { ref, computed, onMounted, watch } from 'vue'
|
|
128
128
|
import { useRoute,useRouter } from 'vue-router'
|
129
129
|
// Store
|
130
130
|
import * as globals from '@pf/src/modules/globals/store/globals';
|
131
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
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';
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
// Import your store
|
218
218
|
import * as globals from '@pf/src/modules/globals/store/globals';
|
219
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
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,7 +179,7 @@
|
|
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
185
|
import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
|
@@ -92,7 +92,7 @@ import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'
|
|
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
97
|
import { setError } from '@pf/src/modules/globals/store/globals'
|
98
98
|
|
@@ -4,6 +4,7 @@ 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
|
|
@@ -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);
|
@@ -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'])
|
@@ -182,7 +182,7 @@ 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'
|
185
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
186
186
|
import * as globals from '@pf/src/modules/globals/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';
|
@@ -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()
|
@@ -117,7 +117,7 @@
|
|
117
117
|
import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';
|
118
118
|
import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';
|
119
119
|
// Import validation
|
120
|
-
import * as inputsValidation from '@pf/src/modules/
|
120
|
+
import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'
|
121
121
|
// Store
|
122
122
|
import * as users from '@pf/src/modules/users/store/users';
|
123
123
|
// Props
|
@@ -42,7 +42,7 @@
|
|
42
42
|
import EmptyState from '@pf/src/modules/organizations/components/blocks/EmptyState.vue'
|
43
43
|
import Unit from '@pf/src/modules/organizations/components/sections/Unit.vue'
|
44
44
|
// Import state
|
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
|
import * as memberships from '@pf/src/modules/organizations/store/memberships'
|
48
48
|
|
@@ -26,7 +26,7 @@
|
|
26
26
|
import CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'
|
27
27
|
import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue'
|
28
28
|
|
29
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
29
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
30
30
|
import * as organization from '@pf/src/modules/organizations/store/organizations'
|
31
31
|
import * as memberships from '@pf/src/modules/organizations/store/memberships'
|
32
32
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue';
|
2
2
|
|
3
|
-
import * as validationAuth from '@pf/src/modules/middlewares/
|
3
|
+
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
4
4
|
|
5
5
|
const backofficeRoutes = [{
|
6
6
|
path: 'backoffice',
|
@@ -13,7 +13,7 @@ import galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.back
|
|
13
13
|
|
14
14
|
import backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'
|
15
15
|
|
16
|
-
import * as validationAuth from '@pf/src/modules/middlewares/
|
16
|
+
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
17
17
|
|
18
18
|
const organizations = [{
|
19
19
|
path: 'organizations',
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Factories
|
2
2
|
const controllerFactory = require("../controllers/invites.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) {
|
7
7
|
const controller = controllerFactory(db);
|
@@ -5,7 +5,7 @@ import { reactive, watch } from "vue";
|
|
5
5
|
// Globals
|
6
6
|
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
7
|
// State
|
8
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
8
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
9
9
|
// Setup Axios
|
10
10
|
const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
|
11
11
|
// State
|
@@ -88,7 +88,7 @@
|
|
88
88
|
import CardPage from '../blocks/CardPage.vue'
|
89
89
|
|
90
90
|
import * as pages from '../../store/pages';
|
91
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
91
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
92
92
|
|
93
93
|
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
94
94
|
|
@@ -29,7 +29,7 @@
|
|
29
29
|
import CardPage from '../blocks/CardPage.vue'
|
30
30
|
|
31
31
|
import * as pages from '../../store/pages.js'
|
32
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
32
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
33
33
|
|
34
34
|
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
35
35
|
|
@@ -47,7 +47,7 @@
|
|
47
47
|
import CardPage from '../blocks/CardPage.vue'
|
48
48
|
|
49
49
|
import * as pages from '../../store/pages.js'
|
50
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
50
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
51
51
|
|
52
52
|
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
53
53
|
|
@@ -150,7 +150,7 @@
|
|
150
150
|
import { useRoute, useRouter } from 'vue-router';
|
151
151
|
|
152
152
|
import * as globals from '@pf/src/modules/globals/store/globals';
|
153
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
153
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
154
154
|
import * as leftovers from '@pf/src/modules/products/store/leftovers';
|
155
155
|
import * as products from '@pf/src/modules/products/store/products';
|
156
156
|
|
@@ -23,7 +23,7 @@
|
|
23
23
|
import { useRoute,useRouter } from 'vue-router'
|
24
24
|
import { useI18n } from 'vue-i18n'
|
25
25
|
|
26
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
26
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
27
27
|
import * as products from '@pf/src/modules/products/store/products';
|
28
28
|
import * as categories from '@pf/src/modules/products/store/categories';
|
29
29
|
|
@@ -100,7 +100,7 @@
|
|
100
100
|
import CardProduct from '@pf/src/modules/products/components/blocks/CardProduct.vue'
|
101
101
|
|
102
102
|
// Accessing router and store
|
103
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
103
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
104
104
|
import * as products from '@pf/src/modules/products/store/products';
|
105
105
|
|
106
106
|
const route = useRoute()
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue'
|
2
2
|
import layoutSpots from '../components/layouts/Spots.vue'
|
3
3
|
|
4
|
-
import * as validationAuth from '@pf/src/modules/middlewares/
|
4
|
+
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
5
5
|
|
6
6
|
const spots = {
|
7
7
|
path: 'spots',
|
@@ -264,7 +264,7 @@ import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUs
|
|
264
264
|
import { computed, watch, onMounted, ref, onBeforeMount } from 'vue'
|
265
265
|
import { useRoute, useRouter } from 'vue-router'
|
266
266
|
// Import state
|
267
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
267
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
268
268
|
import * as users from '@pf/src/modules/users/store/users'
|
269
269
|
import * as memberships from '@pf/src/modules/organizations/store/memberships'
|
270
270
|
// Accessing router
|
@@ -67,7 +67,7 @@
|
|
67
67
|
|
68
68
|
import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
|
69
69
|
|
70
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
70
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
71
71
|
import * as blog from '@pf/src/modules/community/store/blogposts.js';
|
72
72
|
// Accessing router
|
73
73
|
const route = useRoute()
|
@@ -135,10 +135,10 @@
|
|
135
135
|
import { computed, onMounted, ref, onBeforeMount } from 'vue'
|
136
136
|
import { useRoute, useRouter } from 'vue-router'
|
137
137
|
// Import state
|
138
|
-
import * as auth from '@pf/src/modules/auth/store/auth'
|
138
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
139
139
|
import * as users from '@pf/src/modules/users/store/users'
|
140
140
|
// Import validation
|
141
|
-
import * as inputsValidation from '@pf/src/modules/
|
141
|
+
import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'
|
142
142
|
const passswordValidation = ref(null)
|
143
143
|
// Accessing router
|
144
144
|
const route = useRoute()
|
@@ -52,7 +52,7 @@
|
|
52
52
|
import Tab from '@pf/src/components/Tab/Tab.vue'
|
53
53
|
import Feed from '@pf/src/modules/events/components/sections/Feed.vue';
|
54
54
|
|
55
|
-
import * as auth from '@pf/src/modules/auth/store/auth';
|
55
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth';
|
56
56
|
// Accessing router
|
57
57
|
const route = useRoute()
|
58
58
|
const router = useRouter()
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import * as
|
2
|
-
import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
|
1
|
+
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
3
2
|
|
4
3
|
const users = [{
|
5
4
|
path: 'profile/:_id',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Middlewares
|
2
|
-
const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
|
2
|
+
const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
|
3
3
|
// Factories
|
4
4
|
const controllerFactory = require("../factories/payments.factory");
|
5
5
|
const controllerFactoryTickets = require("@pf/src/modules/events/controllers/tickets.controller");
|
@@ -2,7 +2,7 @@
|
|
2
2
|
const rewardsControllerFactory = require('../factories/rewards.factory');
|
3
3
|
|
4
4
|
// Middlewares
|
5
|
-
const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
|
5
|
+
const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
|
6
6
|
|
7
7
|
// Routes
|
8
8
|
module.exports = (app, db, wss, wdmClient, origins) => {
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import * as
|
2
|
-
import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
|
1
|
+
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
3
2
|
|
4
3
|
const payments = [{
|
5
4
|
path: 'payments',
|