@ozdao/prometheus-framework 0.2.251 → 0.2.253
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +298 -14
- package/dist/auth.server.mjs +298 -14
- package/dist/builder.js +4 -4
- package/dist/builder.mjs +4 -4
- package/dist/community.server.js +38 -21
- package/dist/community.server.mjs +38 -21
- package/dist/events.server.js +38 -18
- package/dist/events.server.mjs +38 -17
- package/dist/gallery.server.js +17 -4
- package/dist/gallery.server.mjs +17 -4
- package/dist/organizations.server.js +43 -26
- package/dist/organizations.server.mjs +43 -26
- package/dist/products.server.js +49 -23
- package/dist/products.server.mjs +49 -22
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +15 -3
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js +16 -4
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +284 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +284 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +85 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +85 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +176 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +176 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +2 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +114 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs +72 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js +72 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs +97 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js +97 -0
- package/dist/prometheus-framework/src/modules/auth/views/router/users.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.js +95 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/users.js.map +1 -0
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +32 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +32 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +42 -7
- package/dist/prometheus-framework/src/modules/community/community.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +59 -24
- package/dist/prometheus-framework/src/modules/community/community.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +68 -70
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +68 -70
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs +26 -3
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.js +27 -4
- package/dist/prometheus-framework/src/modules/gallery/gallery.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs +2 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +4 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/orders.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs +63 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.js +63 -0
- package/dist/prometheus-framework/src/modules/orders/store/testimonials.js.map +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +60 -11
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +95 -46
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +6 -10
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +8 -12
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +786 -773
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +786 -773
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +5 -7
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -3
- package/dist/prometheus-framework/src/modules/pages/views/store/pages.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs +178 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js +178 -0
- package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs +62 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js +62 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +156 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +157 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js +128 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +74 -7
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +114 -47
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs +46 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js +46 -0
- package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js.map +1 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +79 -36
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +78 -35
- package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs +57 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.js +57 -0
- package/dist/prometheus-framework/src/modules/products/store/marketplace.js.map +1 -0
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/package.json +1 -1
- package/src/builder/webpack/webpack.config.client.js +2 -2
- package/src/builder/webpack/webpack.config.server.js +1 -1
- package/src/builder/webpack/webpack.config.spa.js +1 -1
- package/src/builder/webpack/webpack.config.ssr.js +1 -1
- package/src/modules/auth/auth.client.js +16 -3
- package/src/modules/auth/auth.server.js +22 -1
- package/src/modules/{users → auth/controllers}/routes/users.routes.js +1 -1
- package/src/modules/auth/controllers/services/auth.service.js +0 -1
- package/src/modules/{users → auth/views}/components/pages/Profile.vue +1 -1
- package/src/modules/{users → auth/views}/components/pages/ProfileEdit.vue +2 -2
- package/src/modules/{users → auth/views}/components/sections/FeaturedUsers.vue +2 -2
- package/src/modules/auth/views/router/users.js +79 -0
- package/src/modules/backoffice/backoffice.client.js +53 -11
- package/src/modules/backoffice/router/backoffice.js +29 -2
- package/src/modules/community/community.client.js +56 -10
- package/src/modules/community/community.server.js +35 -14
- package/src/modules/community/models/comment.model.js +7 -7
- package/src/modules/community/models/reaction.model.js +5 -5
- package/src/modules/community/router/blogposts.js +55 -57
- package/src/modules/events/events.server.js +37 -16
- package/src/modules/events/models/ticket.model.js +6 -6
- package/src/modules/gallery/gallery.client.js +44 -8
- package/src/modules/gallery/gallery.server.js +28 -9
- package/src/modules/gallery/router/gallery.router.js +2 -2
- package/src/modules/globals/globals.client.js +15 -14
- package/src/modules/governance/controllers/factories/initiatives.controller.js +94 -0
- package/src/modules/governance/controllers/factories/tasks.controller.js +94 -0
- package/src/modules/governance/controllers/factories/votes.controller.js +68 -0
- package/src/modules/governance/controllers/factories/votings.controller.js +112 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +13 -0
- package/src/modules/governance/controllers/routes/tasks.routes.js +13 -0
- package/src/modules/governance/controllers/routes/votes.routes.js +11 -0
- package/src/modules/governance/controllers/routes/votings.routes.js +14 -0
- package/src/modules/governance/models/initiative.model.js +25 -0
- package/src/modules/governance/models/task.model.js +21 -0
- package/src/modules/governance/models/vote.model.js +20 -0
- package/src/modules/governance/models/voting.model.js +22 -0
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +18 -0
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +19 -0
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +18 -0
- package/src/modules/governance/views/components/pages/Initiative.vue +22 -0
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +24 -0
- package/src/modules/governance/views/components/pages/Initiatives.vue +19 -0
- package/src/modules/governance/views/components/pages/Task.vue +23 -0
- package/src/modules/governance/views/components/pages/TaskCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Tasks.vue +19 -0
- package/src/modules/governance/views/components/pages/Voting.vue +30 -0
- package/src/modules/governance/views/components/pages/VotingCreate.vue +25 -0
- package/src/modules/governance/views/components/pages/Votings.vue +19 -0
- package/src/modules/governance/views/components/partials/RewardDisplay.vue +19 -0
- package/src/modules/governance/views/components/partials/VoteDisplay.vue +21 -0
- package/src/modules/governance/views/components/partials/VotingResult.vue +21 -0
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +41 -0
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +37 -0
- package/src/modules/governance/views/components/sections/VoteForm.vue +29 -0
- package/src/modules/governance/views/store/initiatives.js +102 -0
- package/src/modules/governance/views/store/tasks.js +104 -0
- package/src/modules/governance/views/store/votes.js +115 -0
- package/src/modules/governance/views/store/votings.js +81 -0
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +1 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/orders.client.js +4 -1
- package/src/modules/orders/orders.server.js +1 -0
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/controllers/organizations.controller.js +0 -2
- package/src/modules/organizations/models/department.model.js +7 -7
- package/src/modules/organizations/models/membership.model.js +5 -5
- package/src/modules/organizations/organizations.client.js +71 -16
- package/src/modules/organizations/organizations.server.js +43 -18
- package/src/modules/organizations/router/organizations.js +6 -13
- package/src/modules/pages/views/store/pages.js +1 -3
- package/src/modules/{marketplace → products}/components/layouts/Marketplace.vue +19 -19
- package/src/modules/{marketplace → products}/components/pages/Catalog.vue +0 -2
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/{marketplace → products}/components/sections/Filters.vue +12 -15
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/MenuSection.vue +8 -9
- package/src/modules/products/components/sections/PopularProducts.vue +1 -1
- package/src/modules/products/models/category.model.js +3 -3
- package/src/modules/products/models/product.model.js +7 -7
- package/src/modules/products/products.client.js +95 -27
- package/src/modules/products/products.server.js +47 -16
- package/src/modules/products/router/marketplace.router.js +38 -0
- package/src/modules/products/router/products.router.js +72 -32
- package/src/modules/spots/components/layouts/Spots.vue +1 -1
- package/src/modules/spots/components/pages/Map.vue +1 -1
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/backoffice/router/admin.js +0 -51
- package/src/modules/landing/components/pages/404.vue +0 -3
- package/src/modules/landing/components/pages/Farming.vue +0 -226
- package/src/modules/landing/components/pages/Governance.vue +0 -144
- package/src/modules/landing/components/pages/Home.vue +0 -51
- package/src/modules/landing/components/pages/Hotel.vue +0 -43
- package/src/modules/landing/router/landing.js +0 -39
- package/src/modules/legal/components/pages/Legal.vue +0 -62
- package/src/modules/legal/components/pages/legal/Cookies.vue +0 -370
- package/src/modules/legal/components/pages/legal/EULA.vue +0 -2145
- package/src/modules/legal/components/pages/legal/Privacy.vue +0 -4284
- package/src/modules/legal/components/pages/legal/Terms.vue +0 -1283
- package/src/modules/legal/legal.client.js +0 -18
- package/src/modules/legal/router/legal.js +0 -59
- package/src/modules/marketplace/router/marketplace.js +0 -55
- package/src/modules/users/router/users.js +0 -90
- package/src/modules/users/users.client.js +0 -22
- package/src/modules/users/users.server.js +0 -13
- /package/src/modules/{users → auth/controllers}/middlewares/visitor.logger.js +0 -0
- /package/src/modules/{users/controllers/users.controller.js → auth/controllers/services/users.service.js} +0 -0
- /package/src/modules/{users → auth}/models/request.model.js +0 -0
- /package/src/modules/{users → auth}/models/user.model.js +0 -0
- /package/src/modules/{users → auth}/models/visitor.model.js +0 -0
- /package/src/modules/{users → auth/views}/components/blocks/CardUser.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileBlogposts.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileComments.vue +0 -0
- /package/src/modules/{users → auth/views}/components/pages/ProfileLikes.vue +0 -0
- /package/src/modules/{users → auth/views}/components/sections/ProfileCompletion.vue +0 -0
- /package/src/modules/{users → auth/views}/router/account.js +0 -0
- /package/src/modules/{users → auth/views}/store/users.js +0 -0
- /package/src/modules/{projects/controller → governance/controllers/factories}/projects.controller.js +0 -0
- /package/src/modules/{projects → governance/controllers}/routes/projects.routes.js +0 -0
- /package/src/modules/{projects → governance}/models/project.model.js +0 -0
- /package/src/modules/{projects → governance/views}/store/projects.js +0 -0
- /package/src/modules/{marketplace → products}/store/marketplace.js +0 -0
package/dist/events.server.js
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
2
|
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
4
3
|
const require$$0 = require("mongoose");
|
5
4
|
const queryProcessor$2 = require("./queryProcessor-CcsJEUBr.js");
|
6
5
|
const metadata_schema = require("./metadata.schema-6slGhpQS.js");
|
7
6
|
const require$$1 = require("stripe");
|
8
|
-
const index = require("./index-CsS7qx1d.js");
|
9
7
|
const tickets_controller = require("./tickets.controller-Dn5NbQEu.js");
|
8
|
+
const index = require("./index-CsS7qx1d.js");
|
10
9
|
const common_schema = require("./common.schema-BFhpUXUt.js");
|
11
10
|
const engagement_schema = require("./engagement.schema-D-9md46B.js");
|
12
11
|
const ownership_schema = require("./ownership.schema-DN0SlQL6.js");
|
@@ -568,7 +567,6 @@ const middlewareFactory = (db) => {
|
|
568
567
|
};
|
569
568
|
};
|
570
569
|
var events_controller = middlewareFactory;
|
571
|
-
const events_controller$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(events_controller);
|
572
570
|
var verifyEvent;
|
573
571
|
var hasRequiredVerifyEvent;
|
574
572
|
function requireVerifyEvent() {
|
@@ -662,7 +660,6 @@ var events_routes = function(app, db, origins) {
|
|
662
660
|
controller.delete
|
663
661
|
);
|
664
662
|
};
|
665
|
-
const events_routes$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(events_routes);
|
666
663
|
const controllerFactory = tickets_controller.tickets_controller;
|
667
664
|
var tickets_routes = function(app, db, origins, publicPath) {
|
668
665
|
const controller = controllerFactory(db, publicPath);
|
@@ -683,7 +680,6 @@ var tickets_routes = function(app, db, origins, publicPath) {
|
|
683
680
|
controller.delete
|
684
681
|
);
|
685
682
|
};
|
686
|
-
const tickets_routes$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(tickets_routes);
|
687
683
|
const applyCommonSchema = common_schema.common_schema;
|
688
684
|
const applyEngagementSchema = engagement_schema.engagement_schema;
|
689
685
|
const applyOwnershipSchema = ownership_schema.ownership_schema;
|
@@ -768,11 +764,10 @@ var event_model = (db) => {
|
|
768
764
|
const Event = db.mongoose.model("Event", EventSchema);
|
769
765
|
return Event;
|
770
766
|
};
|
771
|
-
|
772
|
-
|
773
|
-
const TicketSchema = new mongoose.Schema({
|
767
|
+
var ticket_model = (db) => {
|
768
|
+
const TicketSchema = new db.mongoose.Schema({
|
774
769
|
client: {
|
775
|
-
type: mongoose.Schema.Types.ObjectId,
|
770
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
776
771
|
ref: "Client"
|
777
772
|
},
|
778
773
|
client_refactor: {
|
@@ -784,7 +779,7 @@ var ticket_model = (mongoose) => {
|
|
784
779
|
}
|
785
780
|
},
|
786
781
|
user: {
|
787
|
-
type: mongoose.Schema.Types.ObjectId,
|
782
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
788
783
|
ref: "User"
|
789
784
|
},
|
790
785
|
type: {
|
@@ -794,7 +789,7 @@ var ticket_model = (mongoose) => {
|
|
794
789
|
required: true
|
795
790
|
},
|
796
791
|
target: {
|
797
|
-
type: mongoose.Schema.Types.ObjectId,
|
792
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
798
793
|
ref: function(value) {
|
799
794
|
if (this.type === "event") return "Event";
|
800
795
|
if (this.type === "parking") return "Parking";
|
@@ -822,12 +817,37 @@ var ticket_model = (mongoose) => {
|
|
822
817
|
}
|
823
818
|
});
|
824
819
|
TicketSchema.index({ user: 1, type: 1, target: 1 });
|
825
|
-
const Ticket = mongoose.model("Ticket", TicketSchema);
|
820
|
+
const Ticket = db.mongoose.model("Ticket", TicketSchema);
|
826
821
|
return Ticket;
|
827
822
|
};
|
828
|
-
const
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
823
|
+
const EventsController = events_controller;
|
824
|
+
const TicketsController = tickets_controller.tickets_controller;
|
825
|
+
const eventsRoutes = events_routes;
|
826
|
+
const ticketsRoutes = tickets_routes;
|
827
|
+
const EventModel = event_model;
|
828
|
+
const TicketModel = ticket_model;
|
829
|
+
function initializeEvent(app, db, origins, publicPath) {
|
830
|
+
db.event = EventModel(db);
|
831
|
+
db.ticket = TicketModel(db);
|
832
|
+
if (app) {
|
833
|
+
eventsRoutes(app, db);
|
834
|
+
ticketsRoutes(app, db, origins, publicPath);
|
835
|
+
}
|
836
|
+
}
|
837
|
+
var events_server = {
|
838
|
+
initialize: initializeEvent,
|
839
|
+
models: {
|
840
|
+
EventModel,
|
841
|
+
TicketModel
|
842
|
+
},
|
843
|
+
routes: {
|
844
|
+
eventsRoutes,
|
845
|
+
ticketsRoutes
|
846
|
+
},
|
847
|
+
controllers: {
|
848
|
+
EventsController,
|
849
|
+
TicketsController
|
850
|
+
}
|
851
|
+
};
|
852
|
+
const events_server$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(events_server);
|
853
|
+
module.exports = events_server$1;
|
package/dist/events.server.mjs
CHANGED
@@ -3,8 +3,8 @@ import require$$0 from "mongoose";
|
|
3
3
|
import { q as queryProcessor$2 } from "./queryProcessor-CU4A6Y4N.mjs";
|
4
4
|
import { s as seoFriendlyUrl, m as metadata_schema } from "./metadata.schema-CK5e2O3f.mjs";
|
5
5
|
import require$$1 from "stripe";
|
6
|
-
import { m as middlewares } from "./index-UIHE6Rk3.mjs";
|
7
6
|
import { t as tickets_controller } from "./tickets.controller-CLL05IYf.mjs";
|
7
|
+
import { m as middlewares } from "./index-UIHE6Rk3.mjs";
|
8
8
|
import { c as common_schema } from "./common.schema-ChBVARrs.mjs";
|
9
9
|
import { e as engagement_schema } from "./engagement.schema-CCdSLKd4.mjs";
|
10
10
|
import { o as ownership_schema } from "./ownership.schema-oyx6eNkZ.mjs";
|
@@ -566,7 +566,6 @@ const middlewareFactory = (db) => {
|
|
566
566
|
};
|
567
567
|
};
|
568
568
|
var events_controller = middlewareFactory;
|
569
|
-
const events_controller$1 = /* @__PURE__ */ getDefaultExportFromCjs(events_controller);
|
570
569
|
var verifyEvent;
|
571
570
|
var hasRequiredVerifyEvent;
|
572
571
|
function requireVerifyEvent() {
|
@@ -660,7 +659,6 @@ var events_routes = function(app, db, origins) {
|
|
660
659
|
controller.delete
|
661
660
|
);
|
662
661
|
};
|
663
|
-
const events_routes$1 = /* @__PURE__ */ getDefaultExportFromCjs(events_routes);
|
664
662
|
const controllerFactory = tickets_controller;
|
665
663
|
var tickets_routes = function(app, db, origins, publicPath) {
|
666
664
|
const controller = controllerFactory(db, publicPath);
|
@@ -681,7 +679,6 @@ var tickets_routes = function(app, db, origins, publicPath) {
|
|
681
679
|
controller.delete
|
682
680
|
);
|
683
681
|
};
|
684
|
-
const tickets_routes$1 = /* @__PURE__ */ getDefaultExportFromCjs(tickets_routes);
|
685
682
|
const applyCommonSchema = common_schema;
|
686
683
|
const applyEngagementSchema = engagement_schema;
|
687
684
|
const applyOwnershipSchema = ownership_schema;
|
@@ -766,11 +763,10 @@ var event_model = (db) => {
|
|
766
763
|
const Event = db.mongoose.model("Event", EventSchema);
|
767
764
|
return Event;
|
768
765
|
};
|
769
|
-
|
770
|
-
|
771
|
-
const TicketSchema = new mongoose.Schema({
|
766
|
+
var ticket_model = (db) => {
|
767
|
+
const TicketSchema = new db.mongoose.Schema({
|
772
768
|
client: {
|
773
|
-
type: mongoose.Schema.Types.ObjectId,
|
769
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
774
770
|
ref: "Client"
|
775
771
|
},
|
776
772
|
client_refactor: {
|
@@ -782,7 +778,7 @@ var ticket_model = (mongoose) => {
|
|
782
778
|
}
|
783
779
|
},
|
784
780
|
user: {
|
785
|
-
type: mongoose.Schema.Types.ObjectId,
|
781
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
786
782
|
ref: "User"
|
787
783
|
},
|
788
784
|
type: {
|
@@ -792,7 +788,7 @@ var ticket_model = (mongoose) => {
|
|
792
788
|
required: true
|
793
789
|
},
|
794
790
|
target: {
|
795
|
-
type: mongoose.Schema.Types.ObjectId,
|
791
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
796
792
|
ref: function(value) {
|
797
793
|
if (this.type === "event") return "Event";
|
798
794
|
if (this.type === "parking") return "Parking";
|
@@ -820,14 +816,39 @@ var ticket_model = (mongoose) => {
|
|
820
816
|
}
|
821
817
|
});
|
822
818
|
TicketSchema.index({ user: 1, type: 1, target: 1 });
|
823
|
-
const Ticket = mongoose.model("Ticket", TicketSchema);
|
819
|
+
const Ticket = db.mongoose.model("Ticket", TicketSchema);
|
824
820
|
return Ticket;
|
825
821
|
};
|
826
|
-
const
|
822
|
+
const EventsController = events_controller;
|
823
|
+
const TicketsController = tickets_controller;
|
824
|
+
const eventsRoutes = events_routes;
|
825
|
+
const ticketsRoutes = tickets_routes;
|
826
|
+
const EventModel = event_model;
|
827
|
+
const TicketModel = ticket_model;
|
828
|
+
function initializeEvent(app, db, origins, publicPath) {
|
829
|
+
db.event = EventModel(db);
|
830
|
+
db.ticket = TicketModel(db);
|
831
|
+
if (app) {
|
832
|
+
eventsRoutes(app, db);
|
833
|
+
ticketsRoutes(app, db, origins, publicPath);
|
834
|
+
}
|
835
|
+
}
|
836
|
+
var events_server = {
|
837
|
+
initialize: initializeEvent,
|
838
|
+
models: {
|
839
|
+
EventModel,
|
840
|
+
TicketModel
|
841
|
+
},
|
842
|
+
routes: {
|
843
|
+
eventsRoutes,
|
844
|
+
ticketsRoutes
|
845
|
+
},
|
846
|
+
controllers: {
|
847
|
+
EventsController,
|
848
|
+
TicketsController
|
849
|
+
}
|
850
|
+
};
|
851
|
+
const events_server$1 = /* @__PURE__ */ getDefaultExportFromCjs(events_server);
|
827
852
|
export {
|
828
|
-
|
829
|
-
events_controller$1 as EventsController,
|
830
|
-
ticket_model$1 as TicketModel,
|
831
|
-
events_routes$1 as eventsRoutes,
|
832
|
-
tickets_routes$1 as ticketsRoutes
|
853
|
+
events_server$1 as default
|
833
854
|
};
|
package/dist/gallery.server.js
CHANGED
@@ -189,13 +189,26 @@ var photo_model = (db) => {
|
|
189
189
|
});
|
190
190
|
return Photo;
|
191
191
|
};
|
192
|
-
const
|
192
|
+
const GalleryController = gallery_controller;
|
193
193
|
const galleryRoutes = gallery_routes;
|
194
194
|
const PhotoModel = photo_model;
|
195
|
+
function initializeGallery(app, db, origins, publicPath) {
|
196
|
+
db.photo = PhotoModel(db);
|
197
|
+
if (app) {
|
198
|
+
galleryRoutes(app, db);
|
199
|
+
}
|
200
|
+
}
|
195
201
|
var gallery_server = {
|
196
|
-
|
197
|
-
|
198
|
-
|
202
|
+
initialize: initializeGallery,
|
203
|
+
models: {
|
204
|
+
PhotoModel
|
205
|
+
},
|
206
|
+
routes: {
|
207
|
+
galleryRoutes
|
208
|
+
},
|
209
|
+
controllers: {
|
210
|
+
GalleryController
|
211
|
+
}
|
199
212
|
};
|
200
213
|
const gallery_server$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(gallery_server);
|
201
214
|
module.exports = gallery_server$1;
|
package/dist/gallery.server.mjs
CHANGED
@@ -188,13 +188,26 @@ var photo_model = (db) => {
|
|
188
188
|
});
|
189
189
|
return Photo;
|
190
190
|
};
|
191
|
-
const
|
191
|
+
const GalleryController = gallery_controller;
|
192
192
|
const galleryRoutes = gallery_routes;
|
193
193
|
const PhotoModel = photo_model;
|
194
|
+
function initializeGallery(app, db, origins, publicPath) {
|
195
|
+
db.photo = PhotoModel(db);
|
196
|
+
if (app) {
|
197
|
+
galleryRoutes(app, db);
|
198
|
+
}
|
199
|
+
}
|
194
200
|
var gallery_server = {
|
195
|
-
|
196
|
-
|
197
|
-
|
201
|
+
initialize: initializeGallery,
|
202
|
+
models: {
|
203
|
+
PhotoModel
|
204
|
+
},
|
205
|
+
routes: {
|
206
|
+
galleryRoutes
|
207
|
+
},
|
208
|
+
controllers: {
|
209
|
+
GalleryController
|
210
|
+
}
|
198
211
|
};
|
199
212
|
const gallery_server$1 = /* @__PURE__ */ getDefaultExportFromCjs(gallery_server);
|
200
213
|
export {
|
@@ -93,8 +93,6 @@ const addMembersQuantity = addMembersQuantity$1.addMembersQuantity_1;
|
|
93
93
|
const controllerFactory$5 = (db) => {
|
94
94
|
const Organization = db.organization;
|
95
95
|
const Membership = db.membership;
|
96
|
-
db.user;
|
97
|
-
db.role;
|
98
96
|
const read = async (req, res) => {
|
99
97
|
const sortParam = req.query.sortParam || "numberOfProducts";
|
100
98
|
const sortOrder = req.query.sortOrder || "desc";
|
@@ -914,14 +912,14 @@ const accessesSchema$2 = {
|
|
914
912
|
};
|
915
913
|
var accesses_schema = accessesSchema$2;
|
916
914
|
const accessesSchema$1 = accesses_schema;
|
917
|
-
var department_model = (
|
918
|
-
const departmentSchema = new mongoose.Schema({
|
915
|
+
var department_model = (db) => {
|
916
|
+
const departmentSchema = new db.mongoose.Schema({
|
919
917
|
owner: {
|
920
|
-
type: mongoose.Schema.Types.ObjectId,
|
918
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
921
919
|
ref: "User"
|
922
920
|
},
|
923
921
|
organization: {
|
924
|
-
type: mongoose.Schema.Types.ObjectId,
|
922
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
925
923
|
ref: "Organization"
|
926
924
|
},
|
927
925
|
profile: {
|
@@ -948,7 +946,7 @@ var department_model = (mongoose) => {
|
|
948
946
|
members: [
|
949
947
|
{
|
950
948
|
user: {
|
951
|
-
type: mongoose.Schema.Types.ObjectId,
|
949
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
952
950
|
ref: "User"
|
953
951
|
},
|
954
952
|
position: {
|
@@ -959,7 +957,7 @@ var department_model = (mongoose) => {
|
|
959
957
|
],
|
960
958
|
subdepartments: [
|
961
959
|
{
|
962
|
-
type: mongoose.Schema.Types.ObjectId,
|
960
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
963
961
|
ref: "Department"
|
964
962
|
}
|
965
963
|
]
|
@@ -967,7 +965,7 @@ var department_model = (mongoose) => {
|
|
967
965
|
timestamps: true
|
968
966
|
});
|
969
967
|
departmentSchema.index({ organization: 1 });
|
970
|
-
const Department = mongoose.model("Department", departmentSchema);
|
968
|
+
const Department = db.mongoose.model("Department", departmentSchema);
|
971
969
|
return Department;
|
972
970
|
};
|
973
971
|
const applyEngagementSchema = engagement_schema.engagement_schema;
|
@@ -1039,10 +1037,10 @@ var organization_model = (db) => {
|
|
1039
1037
|
const Organization = db.mongoose.model("Organization", OrganizationSchema);
|
1040
1038
|
return Organization;
|
1041
1039
|
};
|
1042
|
-
var membership_model = (
|
1043
|
-
const MembershipSchema = new mongoose.Schema({
|
1040
|
+
var membership_model = (db) => {
|
1041
|
+
const MembershipSchema = new db.mongoose.Schema({
|
1044
1042
|
user: {
|
1045
|
-
type: mongoose.Schema.Types.ObjectId,
|
1043
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
1046
1044
|
ref: "User",
|
1047
1045
|
required: true
|
1048
1046
|
},
|
@@ -1062,7 +1060,7 @@ var membership_model = (mongoose) => {
|
|
1062
1060
|
},
|
1063
1061
|
target: {
|
1064
1062
|
// заменяем 'organization' на 'target', так как это может быть или User, или Organization
|
1065
|
-
type: mongoose.Schema.Types.ObjectId,
|
1063
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
1066
1064
|
ref: function(value) {
|
1067
1065
|
if (this.type === "user") return "User";
|
1068
1066
|
if (this.type === "organization") return "Organization";
|
@@ -1073,7 +1071,7 @@ var membership_model = (mongoose) => {
|
|
1073
1071
|
timestamps: true
|
1074
1072
|
});
|
1075
1073
|
MembershipSchema.index({ user: 1, target: 1 });
|
1076
|
-
const Membership = mongoose.model("Membership", MembershipSchema);
|
1074
|
+
const Membership = db.mongoose.model("Membership", MembershipSchema);
|
1077
1075
|
return Membership;
|
1078
1076
|
};
|
1079
1077
|
const applyOwnershipSchema = ownership_schema.ownership_schema;
|
@@ -1132,19 +1130,38 @@ const DepartmentModel = department_model;
|
|
1132
1130
|
const OrganizationModel = organization_model;
|
1133
1131
|
const MembershipModel = membership_model;
|
1134
1132
|
const InviteModel = invite_model;
|
1133
|
+
function initializeOrganization(app, db, origins, publicPath) {
|
1134
|
+
db.department = DepartmentModel(db);
|
1135
|
+
db.organization = OrganizationModel(db);
|
1136
|
+
db.membership = MembershipModel(db);
|
1137
|
+
db.invite = InviteModel(db);
|
1138
|
+
if (app) {
|
1139
|
+
departmentsRoutes(app, db);
|
1140
|
+
organizationsRoutes(app, db);
|
1141
|
+
membershipsRoutes(app, db);
|
1142
|
+
invitesRoutes(app, db);
|
1143
|
+
}
|
1144
|
+
}
|
1135
1145
|
var organizations_server = {
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1146
|
+
initialize: initializeOrganization,
|
1147
|
+
models: {
|
1148
|
+
DepartmentModel,
|
1149
|
+
OrganizationModel,
|
1150
|
+
MembershipModel,
|
1151
|
+
InviteModel
|
1152
|
+
},
|
1153
|
+
routes: {
|
1154
|
+
departmentsRoutes,
|
1155
|
+
organizationsRoutes,
|
1156
|
+
membershipsRoutes,
|
1157
|
+
invitesRoutes
|
1158
|
+
},
|
1159
|
+
controllers: {
|
1160
|
+
DepartmentsController,
|
1161
|
+
OrganizationsController,
|
1162
|
+
MembershipsController,
|
1163
|
+
InvitesController
|
1164
|
+
}
|
1148
1165
|
};
|
1149
1166
|
const organizations_server$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(organizations_server);
|
1150
1167
|
module.exports = organizations_server$1;
|
@@ -92,8 +92,6 @@ const addMembersQuantity = addMembersQuantity_1;
|
|
92
92
|
const controllerFactory$5 = (db) => {
|
93
93
|
const Organization = db.organization;
|
94
94
|
const Membership = db.membership;
|
95
|
-
db.user;
|
96
|
-
db.role;
|
97
95
|
const read = async (req, res) => {
|
98
96
|
const sortParam = req.query.sortParam || "numberOfProducts";
|
99
97
|
const sortOrder = req.query.sortOrder || "desc";
|
@@ -913,14 +911,14 @@ const accessesSchema$2 = {
|
|
913
911
|
};
|
914
912
|
var accesses_schema = accessesSchema$2;
|
915
913
|
const accessesSchema$1 = accesses_schema;
|
916
|
-
var department_model = (
|
917
|
-
const departmentSchema = new mongoose.Schema({
|
914
|
+
var department_model = (db) => {
|
915
|
+
const departmentSchema = new db.mongoose.Schema({
|
918
916
|
owner: {
|
919
|
-
type: mongoose.Schema.Types.ObjectId,
|
917
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
920
918
|
ref: "User"
|
921
919
|
},
|
922
920
|
organization: {
|
923
|
-
type: mongoose.Schema.Types.ObjectId,
|
921
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
924
922
|
ref: "Organization"
|
925
923
|
},
|
926
924
|
profile: {
|
@@ -947,7 +945,7 @@ var department_model = (mongoose) => {
|
|
947
945
|
members: [
|
948
946
|
{
|
949
947
|
user: {
|
950
|
-
type: mongoose.Schema.Types.ObjectId,
|
948
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
951
949
|
ref: "User"
|
952
950
|
},
|
953
951
|
position: {
|
@@ -958,7 +956,7 @@ var department_model = (mongoose) => {
|
|
958
956
|
],
|
959
957
|
subdepartments: [
|
960
958
|
{
|
961
|
-
type: mongoose.Schema.Types.ObjectId,
|
959
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
962
960
|
ref: "Department"
|
963
961
|
}
|
964
962
|
]
|
@@ -966,7 +964,7 @@ var department_model = (mongoose) => {
|
|
966
964
|
timestamps: true
|
967
965
|
});
|
968
966
|
departmentSchema.index({ organization: 1 });
|
969
|
-
const Department = mongoose.model("Department", departmentSchema);
|
967
|
+
const Department = db.mongoose.model("Department", departmentSchema);
|
970
968
|
return Department;
|
971
969
|
};
|
972
970
|
const applyEngagementSchema = engagement_schema;
|
@@ -1038,10 +1036,10 @@ var organization_model = (db) => {
|
|
1038
1036
|
const Organization = db.mongoose.model("Organization", OrganizationSchema);
|
1039
1037
|
return Organization;
|
1040
1038
|
};
|
1041
|
-
var membership_model = (
|
1042
|
-
const MembershipSchema = new mongoose.Schema({
|
1039
|
+
var membership_model = (db) => {
|
1040
|
+
const MembershipSchema = new db.mongoose.Schema({
|
1043
1041
|
user: {
|
1044
|
-
type: mongoose.Schema.Types.ObjectId,
|
1042
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
1045
1043
|
ref: "User",
|
1046
1044
|
required: true
|
1047
1045
|
},
|
@@ -1061,7 +1059,7 @@ var membership_model = (mongoose) => {
|
|
1061
1059
|
},
|
1062
1060
|
target: {
|
1063
1061
|
// заменяем 'organization' на 'target', так как это может быть или User, или Organization
|
1064
|
-
type: mongoose.Schema.Types.ObjectId,
|
1062
|
+
type: db.mongoose.Schema.Types.ObjectId,
|
1065
1063
|
ref: function(value) {
|
1066
1064
|
if (this.type === "user") return "User";
|
1067
1065
|
if (this.type === "organization") return "Organization";
|
@@ -1072,7 +1070,7 @@ var membership_model = (mongoose) => {
|
|
1072
1070
|
timestamps: true
|
1073
1071
|
});
|
1074
1072
|
MembershipSchema.index({ user: 1, target: 1 });
|
1075
|
-
const Membership = mongoose.model("Membership", MembershipSchema);
|
1073
|
+
const Membership = db.mongoose.model("Membership", MembershipSchema);
|
1076
1074
|
return Membership;
|
1077
1075
|
};
|
1078
1076
|
const applyOwnershipSchema = ownership_schema;
|
@@ -1131,19 +1129,38 @@ const DepartmentModel = department_model;
|
|
1131
1129
|
const OrganizationModel = organization_model;
|
1132
1130
|
const MembershipModel = membership_model;
|
1133
1131
|
const InviteModel = invite_model;
|
1132
|
+
function initializeOrganization(app, db, origins, publicPath) {
|
1133
|
+
db.department = DepartmentModel(db);
|
1134
|
+
db.organization = OrganizationModel(db);
|
1135
|
+
db.membership = MembershipModel(db);
|
1136
|
+
db.invite = InviteModel(db);
|
1137
|
+
if (app) {
|
1138
|
+
departmentsRoutes(app, db);
|
1139
|
+
organizationsRoutes(app, db);
|
1140
|
+
membershipsRoutes(app, db);
|
1141
|
+
invitesRoutes(app, db);
|
1142
|
+
}
|
1143
|
+
}
|
1134
1144
|
var organizations_server = {
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1145
|
+
initialize: initializeOrganization,
|
1146
|
+
models: {
|
1147
|
+
DepartmentModel,
|
1148
|
+
OrganizationModel,
|
1149
|
+
MembershipModel,
|
1150
|
+
InviteModel
|
1151
|
+
},
|
1152
|
+
routes: {
|
1153
|
+
departmentsRoutes,
|
1154
|
+
organizationsRoutes,
|
1155
|
+
membershipsRoutes,
|
1156
|
+
invitesRoutes
|
1157
|
+
},
|
1158
|
+
controllers: {
|
1159
|
+
DepartmentsController,
|
1160
|
+
OrganizationsController,
|
1161
|
+
MembershipsController,
|
1162
|
+
InvitesController
|
1163
|
+
}
|
1147
1164
|
};
|
1148
1165
|
const organizations_server$1 = /* @__PURE__ */ getDefaultExportFromCjs(organizations_server);
|
1149
1166
|
export {
|