@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,111 +0,0 @@
|
|
1
|
-
import layoutAuth from '../components/layouts/Auth.vue'
|
2
|
-
|
3
|
-
import * as validationState from '@pf/src/modules/middlewares/client/states.validation.js'
|
4
|
-
import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
|
5
|
-
|
6
|
-
function createAuthRoutes (options) {
|
7
|
-
const auth = [
|
8
|
-
{
|
9
|
-
path: 'auth',
|
10
|
-
name: 'Authentication',
|
11
|
-
meta: {
|
12
|
-
title: {
|
13
|
-
en: 'Аутентификация',
|
14
|
-
ru: 'Authentication'
|
15
|
-
},
|
16
|
-
options: options
|
17
|
-
},
|
18
|
-
component: layoutAuth,
|
19
|
-
children: [{
|
20
|
-
path: 'signin',
|
21
|
-
name: 'Sign In',
|
22
|
-
beforeEnter: [
|
23
|
-
validationAuth.requiresNoAuth,
|
24
|
-
validationState.resetUser
|
25
|
-
],
|
26
|
-
meta: {
|
27
|
-
title: {
|
28
|
-
en: 'Sign In',
|
29
|
-
ru: 'Вход'
|
30
|
-
},
|
31
|
-
},
|
32
|
-
component: () => import(/* webpackChunkName: "signin" */ '../components/pages/SignIn.vue'),
|
33
|
-
},{
|
34
|
-
path: 'reset-password',
|
35
|
-
name: 'Reset Password',
|
36
|
-
beforeEnter: [
|
37
|
-
validationAuth.requiresNoAuth,
|
38
|
-
validationState.resetUser
|
39
|
-
],
|
40
|
-
meta: {
|
41
|
-
title: {
|
42
|
-
en: 'Reset Password',
|
43
|
-
ru: 'Сбросить Пароль'
|
44
|
-
},
|
45
|
-
},
|
46
|
-
component: () => import(/* webpackChunkName: "reset-password" */ '../components/pages/ResetPassword.vue'),
|
47
|
-
},{
|
48
|
-
path: 'signup',
|
49
|
-
name: 'Sign Up',
|
50
|
-
beforeEnter: [
|
51
|
-
validationAuth.requiresNoAuth,
|
52
|
-
validationState.resetUser
|
53
|
-
],
|
54
|
-
meta: {
|
55
|
-
title: {
|
56
|
-
en: 'Sign Up',
|
57
|
-
ru: 'Регистрация'
|
58
|
-
},
|
59
|
-
},
|
60
|
-
component: () => import(/* webpackChunkName: "signup" */ '../components/pages/SignUp.vue'),
|
61
|
-
},{
|
62
|
-
path: 'enter-code',
|
63
|
-
name: 'Enter Code',
|
64
|
-
beforeEnter: [
|
65
|
-
validationAuth.requiresNoAuth,
|
66
|
-
validationState.checkUser
|
67
|
-
],
|
68
|
-
meta: {
|
69
|
-
title: {
|
70
|
-
en: 'Enter Code',
|
71
|
-
ru: 'Введите Код'
|
72
|
-
},
|
73
|
-
},
|
74
|
-
component: () => import(/* webpackChunkName: "signup" */ '../components/pages/EnterCode.vue'),
|
75
|
-
},{
|
76
|
-
path: 'enter-password',
|
77
|
-
name: 'Enter Password',
|
78
|
-
beforeEnter: [
|
79
|
-
validationAuth.requiresNoAuth,
|
80
|
-
validationState.checkUser
|
81
|
-
],
|
82
|
-
meta: {
|
83
|
-
title: {
|
84
|
-
en: 'Enter Password',
|
85
|
-
ru: 'Введите Пароль'
|
86
|
-
},
|
87
|
-
},
|
88
|
-
component: () => import(/* webpackChunkName: "signup" */ '../components/pages/EnterPassword.vue'),
|
89
|
-
},{
|
90
|
-
path: 'invite',
|
91
|
-
name: 'Invite',
|
92
|
-
beforeEnter: [
|
93
|
-
validationAuth.requiresNoAuth,
|
94
|
-
validationState.resetUser
|
95
|
-
],
|
96
|
-
meta: {
|
97
|
-
title: {
|
98
|
-
en: 'Invite',
|
99
|
-
ru: 'Приглашение'
|
100
|
-
},
|
101
|
-
},
|
102
|
-
component: () => import(/* webpackChunkName: "signup" */ '../components/pages/Invite.vue'),
|
103
|
-
}],
|
104
|
-
},
|
105
|
-
];
|
106
|
-
|
107
|
-
return auth
|
108
|
-
}
|
109
|
-
|
110
|
-
|
111
|
-
export default createAuthRoutes;
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { createI18n, useI18n } from 'vue-i18n'
|
2
|
-
|
3
|
-
const supportedLocales = {
|
4
|
-
en: "🌎 EN",
|
5
|
-
ru: "🇷🇺 RU",
|
6
|
-
zh: "🇨🇳 ZH",
|
7
|
-
fr: "🇫🇷 FR",
|
8
|
-
de: "🇩🇪 DE",
|
9
|
-
it: "🇮🇹 IT"
|
10
|
-
}
|
11
|
-
|
12
|
-
const messages = {};
|
13
|
-
|
14
|
-
for (const locale of Object.keys(supportedLocales)) {
|
15
|
-
messages[locale] = {
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
const i18n = createI18n({
|
20
|
-
locale: 'en',
|
21
|
-
fallbackLocale: {
|
22
|
-
'en': ['en-default'],
|
23
|
-
'ru': ['ru-default', 'en-default'],
|
24
|
-
'zh': ['zh-default', 'en-default'],
|
25
|
-
'fr': ['fr-default', 'en-default'],
|
26
|
-
'de': ['de-default', 'en-default'],
|
27
|
-
'it': ['it-default', 'en-default'],
|
28
|
-
},
|
29
|
-
legacy: false,
|
30
|
-
globalInjection: true,
|
31
|
-
warnHtmlMessage: false,
|
32
|
-
missingWarn: false,
|
33
|
-
fallbackWarn: false,
|
34
|
-
messages: messages,
|
35
|
-
availableLocales: Object.keys(supportedLocales),
|
36
|
-
});
|
37
|
-
|
38
|
-
export default i18n;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
let i18nInstance = null;
|
2
|
-
|
3
|
-
import { createMyI18n } from "./vue-i18n";
|
4
|
-
|
5
|
-
export async function getI18nInstance(jsonModules = {}) {
|
6
|
-
console.log(i18nInstance)
|
7
|
-
if (!i18nInstance) {
|
8
|
-
i18nInstance = await createMyI18n(jsonModules);
|
9
|
-
}
|
10
|
-
return i18nInstance;
|
11
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import * as auth from '../../../modules/auth/store/auth'
|
2
|
-
|
3
|
-
function resetUser(to, from, next) {
|
4
|
-
next()
|
5
|
-
auth.state.user.phone = ''
|
6
|
-
auth.state.user.email = ''
|
7
|
-
auth.state.user.password = ''
|
8
|
-
auth.state.user.passwordRepeat = ''
|
9
|
-
}
|
10
|
-
|
11
|
-
// Check state before open
|
12
|
-
function checkUser(to, from, next) {
|
13
|
-
if (auth.state.user.phone === '' && auth.state.user.email === '') {
|
14
|
-
next('/auth/signin')
|
15
|
-
} else {
|
16
|
-
next()
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
export {
|
21
|
-
resetUser,
|
22
|
-
checkUser,
|
23
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
// Валидаторы
|
2
|
-
// import inputsValidation from './client/inputs.validation.js';
|
3
|
-
// import statesValidation from './client/states.validation.js';
|
4
|
-
// import authValidation from './client/auth.validation.js';
|
5
|
-
|
6
|
-
// Exporting
|
7
|
-
export {
|
8
|
-
// authValidation,
|
9
|
-
// inputsValidation,
|
10
|
-
// statesValidation
|
11
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Importing middlewares
|
2
|
-
const verifyUser = require('./server/verifyUser.js');
|
3
|
-
const verifyInvites = require('./server/verifyInvites.js');
|
4
|
-
const authJwt = require('./server/authJwt.js');
|
5
|
-
const verifySignUp = require('./server/verifySignUp.js');
|
6
|
-
const verifyCategory = require('./server/verifyCategory.js');
|
7
|
-
|
8
|
-
const middlewareIndexFactory = require('./server');
|
9
|
-
|
10
|
-
// Exporting
|
11
|
-
module.exports = {
|
12
|
-
verifyUser,
|
13
|
-
verifyInvites,
|
14
|
-
authJwt,
|
15
|
-
verifySignUp,
|
16
|
-
verifyCategory,
|
17
|
-
middlewareIndexFactory
|
18
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
const controller = require("../controllers/backcalls.controller");
|
2
|
-
|
3
|
-
module.exports = function(app) {
|
4
|
-
app.get(
|
5
|
-
"/blog",
|
6
|
-
controller.getBlogPosts
|
7
|
-
);
|
8
|
-
|
9
|
-
|
10
|
-
app.get(
|
11
|
-
"/backcalls",
|
12
|
-
controller.getAll
|
13
|
-
);
|
14
|
-
|
15
|
-
app.post(
|
16
|
-
"/backcalls",
|
17
|
-
controller.create
|
18
|
-
);
|
19
|
-
|
20
|
-
app.get(
|
21
|
-
"/backcalls/:_id",
|
22
|
-
controller.get
|
23
|
-
);
|
24
|
-
|
25
|
-
app.post(
|
26
|
-
"/backcalls/:_id",
|
27
|
-
controller.update
|
28
|
-
);
|
29
|
-
|
30
|
-
app.delete(
|
31
|
-
"/backcalls/:_id",
|
32
|
-
controller.delete
|
33
|
-
);
|
34
|
-
|
35
|
-
};
|
36
|
-
|
@@ -1,32 +0,0 @@
|
|
1
|
-
const controller = require("../controllers/fastorders.controller");
|
2
|
-
|
3
|
-
module.exports = function(app) {
|
4
|
-
|
5
|
-
|
6
|
-
app.get(
|
7
|
-
"/fastorders",
|
8
|
-
controller.getAll
|
9
|
-
);
|
10
|
-
|
11
|
-
app.post(
|
12
|
-
"/fastorders",
|
13
|
-
controller.create
|
14
|
-
);
|
15
|
-
|
16
|
-
app.get(
|
17
|
-
"/fastorders/:_id",
|
18
|
-
controller.get
|
19
|
-
);
|
20
|
-
|
21
|
-
app.post(
|
22
|
-
"/fastorders/:_id",
|
23
|
-
controller.update
|
24
|
-
);
|
25
|
-
|
26
|
-
app.delete(
|
27
|
-
"/fastorders/:_id",
|
28
|
-
controller.delete
|
29
|
-
);
|
30
|
-
|
31
|
-
};
|
32
|
-
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/src/modules/globals/localization/{methods/get-browser-locale.js → get-browser-locale.js}
RENAMED
File without changes
|