@ozdao/prometheus-framework 0.2.188 → 0.2.189
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +6 -3
- package/dist/builder.mjs +6 -3
- 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/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/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.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/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/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/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/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 +2 -2
- 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/globals.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js +34 -10
- 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/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 +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 +2 -2
- 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 +2 -2
- 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/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/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/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.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/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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/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 +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 +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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/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/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/style.css +1 -1
- 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/Feed/Feed.vue +5 -5
- package/src/components/Sidebar/Sidebar.vue +1 -1
- package/src/modules/auth/controllers/services/twofa.service.js +1 -1
- package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/views/store/auth.js +1 -1
- package/src/modules/auth/views/store/twofa.js +1 -1
- package/src/modules/auth/views/validations/inputs.validation.js +1 -1
- package/src/modules/backoffice/router/backoffice.js +1 -1
- package/src/modules/chats/controllers/chats.controller.js +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/pages/BlogPost.vue +63 -2
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/models/blogpost.model.js +4 -4
- 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/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/store/events.js +1 -1
- package/src/modules/events/store/tickets.js +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +2 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
- package/src/modules/gallery/models/photo.model.js +3 -3
- 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 +78 -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/integrations/stripe/controllers/webhooks/stripe.webhook.js +2 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.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 +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +2 -2
- package/src/modules/orders/components/pages/Orders.vue +2 -2
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- 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 -1
- package/src/modules/orders/orders.server.js +1 -1
- 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/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/pages/DepartmentEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.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 +1 -1
- package/src/modules/organizations/router/organizations.js +1 -1
- package/src/modules/organizations/store/departments.js +1 -1
- package/src/modules/organizations/store/invites.js +1 -1
- 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 +1 -1
- package/src/modules/pages/views/components/pages/PageEdit.vue +1 -1
- package/src/modules/pages/views/components/pages/Pages.vue +2 -2
- package/src/modules/pages/views/components/partials/SidebarPages.vue +1 -1
- 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 +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/products/models/leftover.model.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 +1 -1
- package/src/modules/spots/spots.server.js +1 -1
- package/src/modules/spots/store/spots.js +1 -1
- package/src/modules/users/models/user.model.js +3 -3
- package/src/modules/wallet/controllers/routes/payments.routes.js +1 -1
- package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
- 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/globals/router/routerGuards.js +0 -29
- /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 → views/localization}/get-browser-locale.js +0 -0
- /package/src/modules/globals/{mixins → views/mixins}/mixins.js +0 -0
- /package/src/modules/globals/{router → views/router}/scrollBehavior.js +0 -0
- /package/src/modules/globals/{store → views/store}/globals.js +0 -0
@@ -9,7 +9,7 @@ const client = new Client({});
|
|
9
9
|
const addUserStatusFields = require('@pf/src/modules/organizations/controllers/utils/addUserStatusFields');
|
10
10
|
const addMembersQuantity = require('@pf/src/modules/organizations/controllers/utils/addMembersQuantity');
|
11
11
|
|
12
|
-
const parseCookie = require('@pf/src/modules/globals/utils/parseCookie'); // Assuming this is your utility function for parsing cookies
|
12
|
+
const parseCookie = require('@pf/src/modules/globals/controllers/utils/parseCookie'); // Assuming this is your utility function for parsing cookies
|
13
13
|
|
14
14
|
const controllerFactory = (db) => {
|
15
15
|
const Organization = db.organization;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
|
2
|
-
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 applyCredentialsSchema = require('@pf/src/modules/globals/models/schemas/credentials.schema.js');
|
3
3
|
|
4
4
|
module.exports = (db) => {
|
5
5
|
const InviteSchema = new db.mongoose.Schema({
|
@@ -1,4 +1,4 @@
|
|
1
|
-
const applyEngagementSchema = require('@pf/src/modules/globals/models/engagement.schema.js');
|
1
|
+
const applyEngagementSchema = require('@pf/src/modules/globals/models/schemas/engagement.schema.js');
|
2
2
|
|
3
3
|
module.exports = (db) => {
|
4
4
|
const OrganizationSchema = new db.mongoose.Schema({
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue';
|
1
|
+
import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';
|
2
2
|
|
3
3
|
import membersRoutes from './members.router.js';
|
4
4
|
import departmentRoutes from './departments.router.js'
|
@@ -4,7 +4,7 @@ import Cookies from 'js-cookie'
|
|
4
4
|
// Vue modules
|
5
5
|
import { reactive, watch } from "vue";
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
// Setup Cookies
|
@@ -3,7 +3,7 @@ import axios from 'axios';
|
|
3
3
|
// Vue modules
|
4
4
|
import { reactive, watch } from "vue";
|
5
5
|
// Globals
|
6
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
6
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
7
7
|
// State
|
8
8
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
9
9
|
// Setup Axios
|
@@ -5,7 +5,7 @@ import axios from 'axios';
|
|
5
5
|
import { reactive, watch } from "vue";
|
6
6
|
|
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
|
// Setup Axios
|
11
11
|
const $axios = axios.create({
|
@@ -4,7 +4,7 @@ import Cookies from 'js-cookie'
|
|
4
4
|
// Vue modules
|
5
5
|
import { reactive, watch } from "vue";
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
// State
|
@@ -3,7 +3,7 @@ const ModelPage = require('./models/page.model.js');
|
|
3
3
|
const RoutesPage = require('./controllers/routes/pages.routes.js');
|
4
4
|
const FactoryPage = require('./controllers/factories/pages.factory.js');
|
5
5
|
|
6
|
-
const CRUD = require('@pf/src/modules/globals/
|
6
|
+
const CRUD = require('@pf/src/modules/globals/controllers/classes/globals.crud');
|
7
7
|
|
8
8
|
function initializePages(app, db, origins, publicPath) {
|
9
9
|
// Setup models in the database object
|
@@ -90,7 +90,7 @@
|
|
90
90
|
import * as pages from '../../store/pages';
|
91
91
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
92
92
|
|
93
|
-
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
93
|
+
import { useGlobalMixins } from "@pf/src/modules/globals/views/mixins/mixins.js"
|
94
94
|
|
95
95
|
const isMenuOpen = ref(false)
|
96
96
|
|
@@ -35,7 +35,7 @@
|
|
35
35
|
import { ref, computed, onMounted } from 'vue'
|
36
36
|
import { useRoute, useRouter } from 'vue-router'
|
37
37
|
|
38
|
-
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
38
|
+
import { useGlobalMixins } from "@pf/src/modules/globals/views/mixins/mixins.js"
|
39
39
|
|
40
40
|
const {
|
41
41
|
normalizeUrlParam,
|
@@ -24,14 +24,14 @@
|
|
24
24
|
import { useRoute,useRouter } from 'vue-router'
|
25
25
|
|
26
26
|
import Block from '@pf/src/components/Block/Block.vue';
|
27
|
-
import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
|
27
|
+
import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
|
28
28
|
|
29
29
|
import CardPage from '../blocks/CardPage.vue'
|
30
30
|
|
31
31
|
import * as pages from '../../store/pages.js'
|
32
32
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
33
33
|
|
34
|
-
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
34
|
+
import { useGlobalMixins } from "@pf/src/modules/globals/views/mixins/mixins.js"
|
35
35
|
|
36
36
|
const {
|
37
37
|
normalizeUrlParam,
|
@@ -49,7 +49,7 @@
|
|
49
49
|
import * as pages from '../../store/pages.js'
|
50
50
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
51
51
|
|
52
|
-
import { useGlobalMixins } from "@pf/src/modules/globals/mixins/mixins.js"
|
52
|
+
import { useGlobalMixins } from "@pf/src/modules/globals/views/mixins/mixins.js"
|
53
53
|
|
54
54
|
const {
|
55
55
|
normalizeUrlParam,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue';
|
1
|
+
import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';
|
2
2
|
import Sidebar from '@pf/src/modules/backoffice/components/partials/Sidebar.vue'
|
3
3
|
|
4
4
|
import SidebarPages from '../components/partials/SidebarPages.vue'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { reactive, watch } from "vue";
|
2
2
|
import axios from "axios";
|
3
|
-
import { setError } from "@pf/src/modules/globals/store/globals";
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
4
|
|
5
5
|
const clientUrl = process.env.API_URL;
|
6
6
|
const $axios = axios.create({ baseURL: clientUrl });
|
@@ -83,7 +83,7 @@
|
|
83
83
|
import { ref } from 'vue'
|
84
84
|
import { useRouter } from 'vue-router'
|
85
85
|
|
86
|
-
import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
|
86
|
+
import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'
|
87
87
|
|
88
88
|
// Icons
|
89
89
|
import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'
|
@@ -149,7 +149,7 @@
|
|
149
149
|
import { computed, onMounted, ref, reactive } from 'vue';
|
150
150
|
import { useRoute, useRouter } from 'vue-router';
|
151
151
|
|
152
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
152
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
153
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';
|
@@ -290,7 +290,7 @@
|
|
290
290
|
import EditModifications from '@pf/src/modules/products/components/sections/EditModifications.vue';
|
291
291
|
|
292
292
|
// Accessing router and store
|
293
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
293
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
294
294
|
import * as products from '@pf/src/modules/products/store/products';
|
295
295
|
import * as categories from '@pf/src/modules/products/store/categories';
|
296
296
|
|
@@ -95,7 +95,7 @@
|
|
95
95
|
import Feed from '@pf/src/components/Feed/Feed.vue'
|
96
96
|
|
97
97
|
import FilterProducts from '@pf/src/modules/products/components/sections/FilterProducts.vue'
|
98
|
-
import BlockSearch from '@pf/src/modules/globals/components/blocks/BlockSearch.vue'
|
98
|
+
import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'
|
99
99
|
|
100
100
|
import CardProduct from '@pf/src/modules/products/components/blocks/CardProduct.vue'
|
101
101
|
|
@@ -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
|
const LeftoverSchema = new db.mongoose.Schema({
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { reactive, watch, computed } from "vue";
|
5
5
|
import axios from 'axios';
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { reactive, watch, computed } from "vue";
|
5
5
|
import axios from 'axios';
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { reactive, watch, computed } from "vue";
|
5
5
|
import axios from 'axios';
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
/////////////////////////////
|
@@ -8,7 +8,7 @@ const $axios = axios.create({baseURL: clientUrl})
|
|
8
8
|
// Vue modules
|
9
9
|
import { reactive, ref, computed, toRefs, watch } from "vue";
|
10
10
|
// Globals
|
11
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
11
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
12
12
|
// State
|
13
13
|
const state = reactive({
|
14
14
|
all: [],
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { reactive, computed, watch } from "vue";
|
2
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
2
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
3
3
|
import axios from 'axios';
|
4
4
|
|
5
5
|
const $axios = axios.create({baseURL: process.env.API_URL})
|
@@ -59,7 +59,7 @@
|
|
59
59
|
// import Filters from '@pf/src/modules/marketplace/components/sections/Filters.vue'
|
60
60
|
|
61
61
|
|
62
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
62
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
63
63
|
import * as categories from '@pf/src/modules/products/store/categories';
|
64
64
|
import * as marketplace from '@pf/src/modules/marketplace/store/marketplace';
|
65
65
|
|
@@ -24,7 +24,7 @@ import Button from '@pf/src/components/Button/Button.vue'
|
|
24
24
|
|
25
25
|
import { state, actions } from '@pf/src/modules/organizations/store/organizations'
|
26
26
|
|
27
|
-
import * as globals from '@pf/src/modules/globals/store/globals';
|
27
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals';
|
28
28
|
import * as marketplace from '@pf/src/modules/marketplace/store/marketplace';
|
29
29
|
|
30
30
|
const router = useRouter();
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue'
|
1
|
+
import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue'
|
2
2
|
import layoutSpots from '../components/layouts/Spots.vue'
|
3
3
|
|
4
4
|
import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
|
@@ -4,7 +4,7 @@ const RoutesSpot = require('./routes/spots.routes.js');
|
|
4
4
|
|
5
5
|
const FactorySpot = require('./controllers/spots.controller.js');
|
6
6
|
|
7
|
-
const CRUD = require('@pf/src/modules/globals/
|
7
|
+
const CRUD = require('@pf/src/modules/globals/controllers/classes/globals.crud');
|
8
8
|
|
9
9
|
function initializeSpots(app, db, origins, publicPath) {
|
10
10
|
// Setup models in the database object
|
@@ -4,7 +4,7 @@ import Cookies from 'js-cookie'
|
|
4
4
|
// Vue modules
|
5
5
|
import { reactive, watch } from "vue";
|
6
6
|
// Globals
|
7
|
-
import { setError } from '@pf/src/modules/globals/store/globals'
|
7
|
+
import { setError } from '@pf/src/modules/globals/views/store/globals'
|
8
8
|
// Setup Axios
|
9
9
|
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
10
10
|
// Setup Cookies
|
@@ -1,6 +1,6 @@
|
|
1
|
-
const applyProfileSchema = require('@pf/src/modules/globals/models/profile.schema.js');
|
2
|
-
const applySocialsSchema = require('@pf/src/modules/globals/models/socials.schema.js');
|
3
|
-
const applyCredentialsSchema = require('@pf/src/modules/globals/models/credentials.schema.js');
|
1
|
+
const applyProfileSchema = require('@pf/src/modules/globals/models/schemas/profile.schema.js');
|
2
|
+
const applySocialsSchema = require('@pf/src/modules/globals/models/schemas/socials.schema.js');
|
3
|
+
const applyCredentialsSchema = require('@pf/src/modules/globals/models/schemas/credentials.schema.js');
|
4
4
|
|
5
5
|
module.exports = (db) => {
|
6
6
|
|
@@ -6,7 +6,7 @@ const controllerFactoryTickets = require("@pf/src/modules/events/controllers/tic
|
|
6
6
|
// Webhooks
|
7
7
|
const WebhookStripe = require('@pf/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook');
|
8
8
|
// Observer
|
9
|
-
const Observer = require('@pf/src/modules/globals/
|
9
|
+
const Observer = require('@pf/src/modules/globals/controllers/classes/globals.observer');
|
10
10
|
// Routes
|
11
11
|
module.exports = function(app, db, origins, publicPath) {
|
12
12
|
const observer = new Observer();
|
@@ -57,7 +57,7 @@
|
|
57
57
|
import { ref } from 'vue';
|
58
58
|
import { useRoute, useRouter } from 'vue-router';
|
59
59
|
|
60
|
-
import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
|
60
|
+
import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
|
61
61
|
import Feed from '@pf/src/components/Feed/Feed.vue'
|
62
62
|
|
63
63
|
import * as payments from '@pf/src/modules/wallet/views/store/payments.store';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { reactive, watch } from "vue";
|
2
2
|
import axios from "axios";
|
3
|
-
import { setError } from "@pf/src/modules/globals/store/globals";
|
3
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
4
4
|
|
5
5
|
const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
|
6
6
|
|
@@ -2,7 +2,7 @@ import axios from 'axios';
|
|
2
2
|
import { reactive } from 'vue';
|
3
3
|
import { BigNumber } from 'bignumber.js';
|
4
4
|
|
5
|
-
import { setError } from "@pf/src/modules/globals/store/globals";
|
5
|
+
import { setError } from "@pf/src/modules/globals/views/store/globals";
|
6
6
|
|
7
7
|
const API_CRYPTO_PATH = '/api/crypto';
|
8
8
|
const WDT_SUPPLY = 20_000_000;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
// routerGuards.js
|
2
|
-
export default function setupRouterGuards(router, store, app, i18n) {
|
3
|
-
router.beforeEach((to, from, next) => {
|
4
|
-
const { authorize } = to.meta;
|
5
|
-
|
6
|
-
if (authorize) {
|
7
|
-
if (store.auth.state.access.status === false) {
|
8
|
-
return next({ path: '/auth/signin', query: { returnUrl: to.path } });
|
9
|
-
}
|
10
|
-
|
11
|
-
if (authorize.length && !authorize.some(r => store.auth.state.access.roles.includes(r))) {
|
12
|
-
return next({ path: '/auth/signin' });
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
const locale = to.params.locale;
|
17
|
-
|
18
|
-
if (
|
19
|
-
app.config.globalProperties.$i18n.locale !== locale
|
20
|
-
&& locale
|
21
|
-
&& Object.keys(i18n.global.availableLocales).includes(locale)
|
22
|
-
) {
|
23
|
-
app.config.globalProperties.$i18n.locale = locale;
|
24
|
-
return next();
|
25
|
-
}
|
26
|
-
|
27
|
-
next();
|
28
|
-
});
|
29
|
-
}
|
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
|
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
|