@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Organization.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/Organization.vue"],"sourcesContent":["<template>\n\t<div v-if=\"organizationData\" class=\"pd-thin for-transition w-100\">\n\n\t\t<!-- <Breadcrumbs class=\"mn-b-thin pd-medium bg-light radius-big\"/> -->\n\t\t<!-- <pre>{{organization.state.current}}</pre> -->\n\n\t\t<DetailsTabSection \t\n\t\t\t:organization=\"organization.state.current\" \n\t\t\t:user=\"auth.state.user\"\n\t\t\tclass=\"mn-b-thin\"\n\t\t>\n\n\t\t</DetailsTabSection>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Community', value: 'community' },\n\t\t\t\t{ name: 'Menu', value: 'products' },\t\n\t\t\t\t{ name: 'Events', value: 'events' },\n\t\t\t\t{ name: 'Spots', value: 'spots' }\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-thin o-hidden h5 radius-small bg-light\"\n\t\t/>\n\n\t\t<div class=\"pos-relative\">\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t <Feed\n\t\t \tv-if=\"tabOrganization === 'community'\"\n\t\t\t :showLoadMore=\"false\"\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Blog Posts Found',\n\t\t\t description: 'Currently, there are no posts available in this blog. Please check back later.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => blog.read(options)\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t status: 'published',\n\t\t\t user: auth.state.user._id,\n\t\t\t owner: route.params._id,\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t class=\"row-1 gap-thin\"\n\t\t\t >\n\t\t\t <CardBlogpost \n\t\t\t v-for=\"item in items\" \n\t\t\t :key=\"item._id\" \n\t\t\t :blogpost=\"item\" \n\t\t\t :user=\"auth.state.user._id\" \n\t\t\t class=\"h-max-40r mn-b-medium\"\n\t\t\t />\n\t\t\t </Feed>\n\t\t\t</transition>\n\n\t\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<FeedEvents \n\t\t\t\t\tv-if=\"tabOrganization === 'events'\"\n\t\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t\t:owner=\"route.params._id\"\n\t\t\t\t\t:sortOrder=\"'desc'\"\n\t\t\t\t\t:sortParam=\"'date.start'\"\n\t\t\t\t/>\n\t\t\t</transition>\n\n\t\t\t<Block\n\t\t\t\tv-if=\"tabOrganization === 'products' && auth.state.user._id === organization.state.current.owner\"\n\t\t\t\tclass=\"flex-nowrap\t gap-thin mn-b-small flex\"\n\t\t\t>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"bg-black t-white uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'ProductAdd', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tAdd Product\n\t\t\t\t</router-link>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\" uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Leftovers', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tChange Invetory\n\t\t\t\t</router-link>\n\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"d-block mn-l-auto uppercase t-semi bg-white pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Backoffice', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tGo to Backoffice\n\t\t\t\t</router-link>\n\n\t\t\t</Block>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Products \n\t\t\t\t\tv-if=\"tabOrganization === 'products'\"\n\t\t\t\t\t:organization=\"organization.state.current\"\n\t\t\t\t/>\n\n\t\t\t</transition>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<div v-if=\"tabOrganization === 'spots'\">\n\t\t\t\t\t<Feed\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Spots Found',\n\t\t\t description: 'Currently, there are no spots available.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => spots.actions.read(route.params._id),\n\t\t\t state: organization.state\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\t\tlimit: 10\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t >\n\t\t\t \t<CardSpot\n\t\t v-for=\"(spot, index) in items\"\n\t\t :key=\"index\"\n\t\t :spot=\"spot\"\n\t\t :organization=\"organization.state.current\"\n\t\t class=\"radius-big bg-light mn-b-thin\"\n\t\t />\n\t\t\t </Feed>\n\n\t\t\t <button\n\t v-if=\"auth.state.user._id === organization.state.current.owner\"\n\t @click=\"$router.push(`/spots/${organization.state.current._id}/spots/create`)\"\n\t class=\"mn-b-thin bg-main button w-100\"\n\t >\n\t Add spot\n\t </button>\n\n\t\t\t\t</div>\n\t\t\t</transition>\n\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed, reactive, ref, onMounted, watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Breadcrumbs \tfrom '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Block \t\tfrom '@pf/src/components/Block/Block.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\t// Community\n\t import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';\n\t// Mobile Module\n\timport Menu from '@pf/src/components/Menu/Menu.vue'\n\timport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\t// Organizations\n\timport DepartmentSub from '@pf/src/modules/organizations/components/blocks/DepartmentSub.vue';\n\timport DetailsTabSection from '@pf/src/modules/organizations/components/sections/DetailsTabSection.vue'\n\timport User from '@pf/src/modules/
|
1
|
+
{"version":3,"file":"Organization.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/Organization.vue"],"sourcesContent":["<template>\n\t<div v-if=\"organizationData\" class=\"pd-thin for-transition w-100\">\n\n\t\t<!-- <Breadcrumbs class=\"mn-b-thin pd-medium bg-light radius-big\"/> -->\n\t\t<!-- <pre>{{organization.state.current}}</pre> -->\n\n\t\t<DetailsTabSection \t\n\t\t\t:organization=\"organization.state.current\" \n\t\t\t:user=\"auth.state.user\"\n\t\t\tclass=\"mn-b-thin\"\n\t\t>\n\n\t\t</DetailsTabSection>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Community', value: 'community' },\n\t\t\t\t{ name: 'Menu', value: 'products' },\t\n\t\t\t\t{ name: 'Events', value: 'events' },\n\t\t\t\t{ name: 'Spots', value: 'spots' }\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-thin o-hidden h5 radius-small bg-light\"\n\t\t/>\n\n\t\t<div class=\"pos-relative\">\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t <Feed\n\t\t \tv-if=\"tabOrganization === 'community'\"\n\t\t\t :showLoadMore=\"false\"\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Blog Posts Found',\n\t\t\t description: 'Currently, there are no posts available in this blog. Please check back later.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => blog.read(options)\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t status: 'published',\n\t\t\t user: auth.state.user._id,\n\t\t\t owner: route.params._id,\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t class=\"row-1 gap-thin\"\n\t\t\t >\n\t\t\t <CardBlogpost \n\t\t\t v-for=\"item in items\" \n\t\t\t :key=\"item._id\" \n\t\t\t :blogpost=\"item\" \n\t\t\t :user=\"auth.state.user._id\" \n\t\t\t class=\"h-max-40r mn-b-medium\"\n\t\t\t />\n\t\t\t </Feed>\n\t\t\t</transition>\n\n\t\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<FeedEvents \n\t\t\t\t\tv-if=\"tabOrganization === 'events'\"\n\t\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t\t:owner=\"route.params._id\"\n\t\t\t\t\t:sortOrder=\"'desc'\"\n\t\t\t\t\t:sortParam=\"'date.start'\"\n\t\t\t\t/>\n\t\t\t</transition>\n\n\t\t\t<Block\n\t\t\t\tv-if=\"tabOrganization === 'products' && auth.state.user._id === organization.state.current.owner\"\n\t\t\t\tclass=\"flex-nowrap\t gap-thin mn-b-small flex\"\n\t\t\t>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"bg-black t-white uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'ProductAdd', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tAdd Product\n\t\t\t\t</router-link>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\" uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Leftovers', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tChange Invetory\n\t\t\t\t</router-link>\n\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"d-block mn-l-auto uppercase t-semi bg-white pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Backoffice', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tGo to Backoffice\n\t\t\t\t</router-link>\n\n\t\t\t</Block>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Products \n\t\t\t\t\tv-if=\"tabOrganization === 'products'\"\n\t\t\t\t\t:organization=\"organization.state.current\"\n\t\t\t\t/>\n\n\t\t\t</transition>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<div v-if=\"tabOrganization === 'spots'\">\n\t\t\t\t\t<Feed\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Spots Found',\n\t\t\t description: 'Currently, there are no spots available.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => spots.actions.read(route.params._id),\n\t\t\t state: organization.state\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\t\tlimit: 10\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t >\n\t\t\t \t<CardSpot\n\t\t v-for=\"(spot, index) in items\"\n\t\t :key=\"index\"\n\t\t :spot=\"spot\"\n\t\t :organization=\"organization.state.current\"\n\t\t class=\"radius-big bg-light mn-b-thin\"\n\t\t />\n\t\t\t </Feed>\n\n\t\t\t <button\n\t v-if=\"auth.state.user._id === organization.state.current.owner\"\n\t @click=\"$router.push(`/spots/${organization.state.current._id}/spots/create`)\"\n\t class=\"mn-b-thin bg-main button w-100\"\n\t >\n\t Add spot\n\t </button>\n\n\t\t\t\t</div>\n\t\t\t</transition>\n\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed, reactive, ref, onMounted, watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Breadcrumbs \tfrom '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Block \t\tfrom '@pf/src/components/Block/Block.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\t// Community\n\t import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';\n\t// Mobile Module\n\timport Menu from '@pf/src/components/Menu/Menu.vue'\n\timport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\t// Organizations\n\timport DepartmentSub from '@pf/src/modules/organizations/components/blocks/DepartmentSub.vue';\n\timport DetailsTabSection from '@pf/src/modules/organizations/components/sections/DetailsTabSection.vue'\n\timport User from '@pf/src/modules/auth/views/components/blocks/CardUser.vue';\n\t// Feeds\n\timport FeedEvents from '@pf/src/modules/events/components/sections/Feed.vue'; \n\t// Spots\n\timport CardSpot from '@pf/src/modules/spots/components/blocks/CardSpot.vue';\t\n\t// Local\n\timport Products from '@pf/src/modules/products/components/pages/Products.vue';\n\t// Import state\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as organization from '@pf/src/modules/organizations/store/organizations';\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships';\n\timport * as departments from '@pf/src/modules/organizations/store/departments';\n\t// Community\n import * as blog from '@pf/src/modules/community/store/blogposts.js';\n\t// Spots\n\timport * as spots from '@pf/src/modules/spots/store/spots';\n\t// Init router\n\tconst router \t= useRouter()\n\tconst route \t= useRoute()\n\t// Accesing state\n\tlet tab = route.query.tab ? route.query.tab : 'products';\n\n\tconst organizationData = ref(null)\n\tconst tabOrganization = ref(tab)\n\t// route.query.tab = tabOrganization.value\n\n\tonMounted(async () => {\n\t\t\n\t\torganizationData.value = await organization.actions.read({\n\t\t\t_id: route.params._id, \n\t\t\tuser: auth.state.user._id\n\t\t})\n\n \t\tawait memberships.actions.read({target: route.params._id})\n\t})\n\n\n\n\n\t// watch(tabOrganization, (newValue) => {\n\t// router.query.tab = newValue\n\t// });\n</script>\n\n<style lang=\"scss\">\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t\tposition: absolute;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n</style>\n"],"names":["useRouter","useRoute","ref","onMounted","organization.actions","auth.state","memberships.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2MiBA,wBAAW;AAC3B,UAAM,QAASC,UAAAA,SAAU;AAEzB,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,mBAAmBC,IAAG,IAAC,IAAI;AACjC,UAAM,kBAAkBA,IAAG,IAAC,GAAG;AAG/BC,QAAAA,UAAU,YAAY;AAErB,uBAAiB,QAAQ,MAAMC,cAAoB,QAAC,KAAK;AAAA,QACxD,KAAK,MAAM,OAAO;AAAA,QAClB,MAAMC,KAAAA,MAAW,KAAK;AAAA,MACzB,CAAG;AAEA,YAAMC,YAAAA,QAAoB,KAAK,EAAC,QAAQ,MAAM,OAAO,IAAG,CAAC;AAAA,IAC5D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Organization.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organization.vue"],"sourcesContent":["<template>\n\t<div v-if=\"organizationData\" class=\"pd-thin for-transition w-100\">\n\n\t\t<!-- <Breadcrumbs class=\"mn-b-thin pd-medium bg-light radius-big\"/> -->\n\t\t<!-- <pre>{{organization.state.current}}</pre> -->\n\n\t\t<DetailsTabSection \t\n\t\t\t:organization=\"organization.state.current\" \n\t\t\t:user=\"auth.state.user\"\n\t\t\tclass=\"mn-b-thin\"\n\t\t>\n\n\t\t</DetailsTabSection>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Community', value: 'community' },\n\t\t\t\t{ name: 'Menu', value: 'products' },\t\n\t\t\t\t{ name: 'Events', value: 'events' },\n\t\t\t\t{ name: 'Spots', value: 'spots' }\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-thin o-hidden h5 radius-small bg-light\"\n\t\t/>\n\n\t\t<div class=\"pos-relative\">\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t <Feed\n\t\t \tv-if=\"tabOrganization === 'community'\"\n\t\t\t :showLoadMore=\"false\"\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Blog Posts Found',\n\t\t\t description: 'Currently, there are no posts available in this blog. Please check back later.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => blog.read(options)\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t status: 'published',\n\t\t\t user: auth.state.user._id,\n\t\t\t owner: route.params._id,\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t class=\"row-1 gap-thin\"\n\t\t\t >\n\t\t\t <CardBlogpost \n\t\t\t v-for=\"item in items\" \n\t\t\t :key=\"item._id\" \n\t\t\t :blogpost=\"item\" \n\t\t\t :user=\"auth.state.user._id\" \n\t\t\t class=\"h-max-40r mn-b-medium\"\n\t\t\t />\n\t\t\t </Feed>\n\t\t\t</transition>\n\n\t\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<FeedEvents \n\t\t\t\t\tv-if=\"tabOrganization === 'events'\"\n\t\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t\t:owner=\"route.params._id\"\n\t\t\t\t\t:sortOrder=\"'desc'\"\n\t\t\t\t\t:sortParam=\"'date.start'\"\n\t\t\t\t/>\n\t\t\t</transition>\n\n\t\t\t<Block\n\t\t\t\tv-if=\"tabOrganization === 'products' && auth.state.user._id === organization.state.current.owner\"\n\t\t\t\tclass=\"flex-nowrap\t gap-thin mn-b-small flex\"\n\t\t\t>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"bg-black t-white uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'ProductAdd', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tAdd Product\n\t\t\t\t</router-link>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\" uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Leftovers', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tChange Invetory\n\t\t\t\t</router-link>\n\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"d-block mn-l-auto uppercase t-semi bg-white pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Backoffice', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tGo to Backoffice\n\t\t\t\t</router-link>\n\n\t\t\t</Block>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Products \n\t\t\t\t\tv-if=\"tabOrganization === 'products'\"\n\t\t\t\t\t:organization=\"organization.state.current\"\n\t\t\t\t/>\n\n\t\t\t</transition>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<div v-if=\"tabOrganization === 'spots'\">\n\t\t\t\t\t<Feed\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Spots Found',\n\t\t\t description: 'Currently, there are no spots available.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => spots.actions.read(route.params._id),\n\t\t\t state: organization.state\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\t\tlimit: 10\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t >\n\t\t\t \t<CardSpot\n\t\t v-for=\"(spot, index) in items\"\n\t\t :key=\"index\"\n\t\t :spot=\"spot\"\n\t\t :organization=\"organization.state.current\"\n\t\t class=\"radius-big bg-light mn-b-thin\"\n\t\t />\n\t\t\t </Feed>\n\n\t\t\t <button\n\t v-if=\"auth.state.user._id === organization.state.current.owner\"\n\t @click=\"$router.push(`/spots/${organization.state.current._id}/spots/create`)\"\n\t class=\"mn-b-thin bg-main button w-100\"\n\t >\n\t Add spot\n\t </button>\n\n\t\t\t\t</div>\n\t\t\t</transition>\n\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed, reactive, ref, onMounted, watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Breadcrumbs \tfrom '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Block \t\tfrom '@pf/src/components/Block/Block.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\t// Community\n\t import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';\n\t// Mobile Module\n\timport Menu from '@pf/src/components/Menu/Menu.vue'\n\timport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\t// Organizations\n\timport DepartmentSub from '@pf/src/modules/organizations/components/blocks/DepartmentSub.vue';\n\timport DetailsTabSection from '@pf/src/modules/organizations/components/sections/DetailsTabSection.vue'\n\timport User from '@pf/src/modules/
|
1
|
+
{"version":3,"file":"Organization.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organization.vue"],"sourcesContent":["<template>\n\t<div v-if=\"organizationData\" class=\"pd-thin for-transition w-100\">\n\n\t\t<!-- <Breadcrumbs class=\"mn-b-thin pd-medium bg-light radius-big\"/> -->\n\t\t<!-- <pre>{{organization.state.current}}</pre> -->\n\n\t\t<DetailsTabSection \t\n\t\t\t:organization=\"organization.state.current\" \n\t\t\t:user=\"auth.state.user\"\n\t\t\tclass=\"mn-b-thin\"\n\t\t>\n\n\t\t</DetailsTabSection>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Community', value: 'community' },\n\t\t\t\t{ name: 'Menu', value: 'products' },\t\n\t\t\t\t{ name: 'Events', value: 'events' },\n\t\t\t\t{ name: 'Spots', value: 'spots' }\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-thin o-hidden h5 radius-small bg-light\"\n\t\t/>\n\n\t\t<div class=\"pos-relative\">\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t <Feed\n\t\t \tv-if=\"tabOrganization === 'community'\"\n\t\t\t :showLoadMore=\"false\"\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Blog Posts Found',\n\t\t\t description: 'Currently, there are no posts available in this blog. Please check back later.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => blog.read(options)\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t status: 'published',\n\t\t\t user: auth.state.user._id,\n\t\t\t owner: route.params._id,\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t class=\"row-1 gap-thin\"\n\t\t\t >\n\t\t\t <CardBlogpost \n\t\t\t v-for=\"item in items\" \n\t\t\t :key=\"item._id\" \n\t\t\t :blogpost=\"item\" \n\t\t\t :user=\"auth.state.user._id\" \n\t\t\t class=\"h-max-40r mn-b-medium\"\n\t\t\t />\n\t\t\t </Feed>\n\t\t\t</transition>\n\n\t\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<FeedEvents \n\t\t\t\t\tv-if=\"tabOrganization === 'events'\"\n\t\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t\t:owner=\"route.params._id\"\n\t\t\t\t\t:sortOrder=\"'desc'\"\n\t\t\t\t\t:sortParam=\"'date.start'\"\n\t\t\t\t/>\n\t\t\t</transition>\n\n\t\t\t<Block\n\t\t\t\tv-if=\"tabOrganization === 'products' && auth.state.user._id === organization.state.current.owner\"\n\t\t\t\tclass=\"flex-nowrap\t gap-thin mn-b-small flex\"\n\t\t\t>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"bg-black t-white uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'ProductAdd', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tAdd Product\n\t\t\t\t</router-link>\n\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\" uppercase t-semi pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Leftovers', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tChange Invetory\n\t\t\t\t</router-link>\n\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tclass=\"d-block mn-l-auto uppercase t-semi bg-white pd-thin radius-extra \"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname:'Backoffice', \n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\t_id: route.params._id\n\t\t\t\t\t\t}\n\t\t\t\t\t}\"\n\t\t\t\t\t>\n\t\t\t\t\tGo to Backoffice\n\t\t\t\t</router-link>\n\n\t\t\t</Block>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Products \n\t\t\t\t\tv-if=\"tabOrganization === 'products'\"\n\t\t\t\t\t:organization=\"organization.state.current\"\n\t\t\t\t/>\n\n\t\t\t</transition>\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<div v-if=\"tabOrganization === 'spots'\">\n\t\t\t\t\t<Feed\n\t\t\t :states=\"{\n\t\t\t empty: {\n\t\t\t title: 'No Spots Found',\n\t\t\t description: 'Currently, there are no spots available.'\n\t\t\t }\n\t\t\t }\"\n\t\t\t :store=\"{\n\t\t\t read: (options) => spots.actions.read(route.params._id),\n\t\t\t state: organization.state\n\t\t\t }\"\n\t\t\t :options=\"{\n\t\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\t\tlimit: 10\n\t\t\t }\"\n\t\t\t v-slot=\"{ \n\t\t\t items \n\t\t\t }\"\n\t\t\t >\n\t\t\t \t<CardSpot\n\t\t v-for=\"(spot, index) in items\"\n\t\t :key=\"index\"\n\t\t :spot=\"spot\"\n\t\t :organization=\"organization.state.current\"\n\t\t class=\"radius-big bg-light mn-b-thin\"\n\t\t />\n\t\t\t </Feed>\n\n\t\t\t <button\n\t v-if=\"auth.state.user._id === organization.state.current.owner\"\n\t @click=\"$router.push(`/spots/${organization.state.current._id}/spots/create`)\"\n\t class=\"mn-b-thin bg-main button w-100\"\n\t >\n\t Add spot\n\t </button>\n\n\t\t\t\t</div>\n\t\t\t</transition>\n\n\t\t</div>\n\t</div>\n</template>\n\n<script setup>\n\timport { computed, reactive, ref, onMounted, watch } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Breadcrumbs \tfrom '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Block \t\tfrom '@pf/src/components/Block/Block.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\t// Community\n\t import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';\n\t// Mobile Module\n\timport Menu from '@pf/src/components/Menu/Menu.vue'\n\timport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\t// Organizations\n\timport DepartmentSub from '@pf/src/modules/organizations/components/blocks/DepartmentSub.vue';\n\timport DetailsTabSection from '@pf/src/modules/organizations/components/sections/DetailsTabSection.vue'\n\timport User from '@pf/src/modules/auth/views/components/blocks/CardUser.vue';\n\t// Feeds\n\timport FeedEvents from '@pf/src/modules/events/components/sections/Feed.vue'; \n\t// Spots\n\timport CardSpot from '@pf/src/modules/spots/components/blocks/CardSpot.vue';\t\n\t// Local\n\timport Products from '@pf/src/modules/products/components/pages/Products.vue';\n\t// Import state\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as organization from '@pf/src/modules/organizations/store/organizations';\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships';\n\timport * as departments from '@pf/src/modules/organizations/store/departments';\n\t// Community\n import * as blog from '@pf/src/modules/community/store/blogposts.js';\n\t// Spots\n\timport * as spots from '@pf/src/modules/spots/store/spots';\n\t// Init router\n\tconst router \t= useRouter()\n\tconst route \t= useRoute()\n\t// Accesing state\n\tlet tab = route.query.tab ? route.query.tab : 'products';\n\n\tconst organizationData = ref(null)\n\tconst tabOrganization = ref(tab)\n\t// route.query.tab = tabOrganization.value\n\n\tonMounted(async () => {\n\t\t\n\t\torganizationData.value = await organization.actions.read({\n\t\t\t_id: route.params._id, \n\t\t\tuser: auth.state.user._id\n\t\t})\n\n \t\tawait memberships.actions.read({target: route.params._id})\n\t})\n\n\n\n\n\t// watch(tabOrganization, (newValue) => {\n\t// router.query.tab = newValue\n\t// });\n</script>\n\n<style lang=\"scss\">\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t\tposition: absolute;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n</style>\n"],"names":["organization.actions","auth.state","memberships.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2MiB,cAAW;AAC3B,UAAM,QAAS,SAAU;AAEzB,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,mBAAmB,IAAI,IAAI;AACjC,UAAM,kBAAkB,IAAI,GAAG;AAG/B,cAAU,YAAY;AAErB,uBAAiB,QAAQ,MAAMA,QAAqB,KAAK;AAAA,QACxD,KAAK,MAAM,OAAO;AAAA,QAClB,MAAMC,MAAW,KAAK;AAAA,MACzB,CAAG;AAEA,YAAMC,UAAoB,KAAK,EAAC,QAAQ,MAAM,OAAO,IAAG,CAAC;AAAA,IAC5D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -7,11 +7,11 @@ require("vue-i18n");
|
|
7
7
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|
8
8
|
;/* empty css */
|
9
9
|
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
10
|
-
;/* empty css
|
10
|
+
;/* empty css */
|
11
11
|
const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
|
12
12
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
13
|
-
const Button = require("../../../../components/Button/Button.
|
14
|
-
;/* empty css
|
13
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
14
|
+
;/* empty css */
|
15
15
|
const auth = require("../../../auth/views/store/auth.cjs");
|
16
16
|
const organizations = require("../../store/organizations.cjs");
|
17
17
|
require("../../store/memberships.cjs");
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js
CHANGED
@@ -5,11 +5,11 @@ import "vue-i18n";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/FieldTags/BlockTags.vue.js";
|
6
6
|
/* empty css */
|
7
7
|
import Field from "../../../../components/Field/Field.vue2.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
10
10
|
import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
|
11
|
-
import _sfc_main$3 from "../../../../components/Button/Button.
|
12
|
-
/* empty css
|
11
|
+
import _sfc_main$3 from "../../../../components/Button/Button.vue2.js";
|
12
|
+
/* empty css */
|
13
13
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
14
14
|
import { actions, state } from "../../store/organizations.js";
|
15
15
|
import "../../store/memberships.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs
CHANGED
@@ -4,10 +4,10 @@ const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
6
6
|
require("vue-i18n");
|
7
|
-
;/* empty css
|
8
|
-
;/* empty css
|
7
|
+
;/* empty css */
|
8
|
+
;/* empty css */
|
9
9
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
10
|
-
;/* empty css
|
10
|
+
;/* empty css */
|
11
11
|
;/* empty css */
|
12
12
|
const _hoisted_1 = { class: "documents" };
|
13
13
|
const _hoisted_2 = { class: "mn-b-big cols-4" };
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js
CHANGED
@@ -2,10 +2,10 @@ import { ref, watchEffect, resolveComponent, openBlock, createElementBlock, crea
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
3
|
import Field from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import "vue-i18n";
|
5
|
-
/* empty css
|
6
|
-
/* empty css
|
5
|
+
/* empty css */
|
6
|
+
/* empty css */
|
7
7
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
const _hoisted_1 = { class: "documents" };
|
11
11
|
const _hoisted_2 = { class: "mn-b-big cols-4" };
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
|
6
6
|
const CardOrganization = require("../blocks/CardOrganization.vue.cjs");
|
7
7
|
const SkeletonOrganization = require("../../../icons/skeletons/SkeletonOrganization.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, createCommentVNode, Transition } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
|
5
5
|
import SkeletonOrganization from "../../../icons/skeletons/SkeletonOrganization.vue.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
5
|
-
;/* empty css
|
6
|
-
const Button = require("../../../../components/Button/Button.
|
5
|
+
;/* empty css */
|
6
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
7
7
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
8
8
|
const BlockSearch = require("../../../globals/views/components/blocks/BlockSearch.vue.cjs");
|
9
|
-
const CardUser = require("../../../
|
9
|
+
const CardUser = require("../../../auth/views/components/blocks/CardUser.vue.cjs");
|
10
10
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
11
11
|
const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
|
12
|
-
const users = require("../../../
|
12
|
+
const users = require("../../../auth/views/store/users.cjs");
|
13
13
|
const _hoisted_1 = { class: "mn-b-thin t-transp p-medium" };
|
14
14
|
const _hoisted_2 = { class: "mn-b-thin pos-relative" };
|
15
15
|
const _hoisted_3 = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/
|
1
|
+
{"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/auth/views/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/auth/views/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAaA,IAAG,IAAC,IAAI;AACzB,QAAI,iBAAiBA,IAAG,IAAC,KAAK;AAE9B,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAUA,IAAAA,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { ref, resolveDirective, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, createVNode, isRef, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
2
2
|
import Field from "../../../../components/Field/Field.vue2.js";
|
3
|
-
/* empty css
|
4
|
-
import _sfc_main$6 from "../../../../components/Button/Button.
|
3
|
+
/* empty css */
|
4
|
+
import _sfc_main$6 from "../../../../components/Button/Button.vue2.js";
|
5
5
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
6
6
|
import _sfc_main$1 from "../../../globals/views/components/blocks/BlockSearch.vue.js";
|
7
|
-
import _sfc_main$3 from "../../../
|
7
|
+
import _sfc_main$3 from "../../../auth/views/components/blocks/CardUser.vue.js";
|
8
8
|
import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
|
9
9
|
import _sfc_main$4 from "../../../icons/navigation/IconAdd.vue.js";
|
10
|
-
import { actions } from "../../../
|
10
|
+
import { actions } from "../../../auth/views/store/users.js";
|
11
11
|
const _hoisted_1 = { class: "mn-b-thin t-transp p-medium" };
|
12
12
|
const _hoisted_2 = { class: "mn-b-thin pos-relative" };
|
13
13
|
const _hoisted_3 = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/
|
1
|
+
{"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/auth/views/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/auth/views/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAa,IAAI,IAAI;AACzB,QAAI,iBAAiB,IAAI,KAAK;AAE9B,UAAM,oBAAoB,IAAI,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAU,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -5,9 +5,9 @@ const vueRouter = require("vue-router");
|
|
5
5
|
require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
|
-
;/* empty css
|
9
|
-
;/* empty css
|
10
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
|
+
;/* empty css */
|
10
|
+
;/* empty css */
|
11
11
|
const CardOrganization = require("../blocks/CardOrganization.vue.cjs");
|
12
12
|
const EmptyState = require("../blocks/EmptyState.vue.cjs");
|
13
13
|
;/* empty css */
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js
CHANGED
@@ -3,9 +3,9 @@ import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
/* empty css
|
7
|
-
/* empty css
|
8
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
|
+
/* empty css */
|
8
|
+
/* empty css */
|
9
9
|
import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
|
10
10
|
import _sfc_main$1 from "../blocks/EmptyState.vue.js";
|
11
11
|
/* empty css */
|
@@ -1,5 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const departments = require("./store/departments.cjs");
|
4
|
+
const memberships = require("./store/memberships.cjs");
|
5
|
+
const organizations = require("./store/organizations.cjs");
|
6
|
+
const invites = require("./store/invites.cjs");
|
7
|
+
const organizations$1 = require("./router/organizations.cjs");
|
3
8
|
const Organization = require("./components/pages/Organization.vue.cjs");
|
4
9
|
const Department = require("./components/pages/Department.vue.cjs");
|
5
10
|
const OrganizationEdit = require("./components/pages/OrganizationEdit.vue.cjs");
|
@@ -20,11 +25,59 @@ const Organizations$1 = require("./components/sections/Organizations.vue.cjs");
|
|
20
25
|
const Publics = require("./components/sections/Publics.vue.cjs");
|
21
26
|
const Documents = require("./components/sections/Documents.vue.cjs");
|
22
27
|
const ButtonToggleMembership = require("./components/elements/ButtonToggleMembership.vue.cjs");
|
23
|
-
|
24
|
-
const
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
+
function initializeOrganization(app, store, router, options = {}) {
|
29
|
+
const route = options.route || "Home";
|
30
|
+
router.addRoute(route, organizations$1.default);
|
31
|
+
store.addStore("departments", departments);
|
32
|
+
store.addStore("memberships", memberships);
|
33
|
+
store.addStore("organizations", organizations);
|
34
|
+
store.addStore("invites", invites);
|
35
|
+
}
|
36
|
+
const ModuleOrganization = {
|
37
|
+
initialize: initializeOrganization,
|
38
|
+
views: {
|
39
|
+
store: {
|
40
|
+
storeDepartments: departments,
|
41
|
+
storeMemberships: memberships,
|
42
|
+
storeOrganizations: organizations,
|
43
|
+
storeInvites: invites
|
44
|
+
},
|
45
|
+
router: {
|
46
|
+
routerOrganization: organizations$1.default
|
47
|
+
},
|
48
|
+
components: {
|
49
|
+
// Pages
|
50
|
+
Organization: Organization.default,
|
51
|
+
Department: Department.default,
|
52
|
+
OrganizationEdit: OrganizationEdit.default,
|
53
|
+
Organizations: Organizations.default,
|
54
|
+
DepartmentEdit: DepartmentEdit.default,
|
55
|
+
// Blocks
|
56
|
+
CardOrganization: CardOrganization.default,
|
57
|
+
EditArray: EditArray.default,
|
58
|
+
Unit: Unit.default,
|
59
|
+
DepartmentSub: DepartmentSub.default,
|
60
|
+
CardDepartment: CardDepartment.default,
|
61
|
+
Rating: Rating.default,
|
62
|
+
EmptyState: EmptyState.default,
|
63
|
+
Contacts: Contacts.default,
|
64
|
+
Socials: Socials.default,
|
65
|
+
// Sections
|
66
|
+
MembersAdd: MembersAdd.default,
|
67
|
+
DetailsTabSection: DetailsTabSection.default,
|
68
|
+
OrganizationsSection: Organizations$1.default,
|
69
|
+
Publics: Publics.default,
|
70
|
+
Documents: Documents.default,
|
71
|
+
// Elements
|
72
|
+
ButtonToggleMembership: ButtonToggleMembership.default
|
73
|
+
}
|
74
|
+
}
|
75
|
+
};
|
76
|
+
exports.storeDepartments = departments;
|
77
|
+
exports.storeMemberships = memberships;
|
78
|
+
exports.storeOrganizations = organizations;
|
79
|
+
exports.storeInvites = invites;
|
80
|
+
exports.routerOrganization = organizations$1.default;
|
28
81
|
exports.Organization = Organization.default;
|
29
82
|
exports.Department = Department.default;
|
30
83
|
exports.OrganizationEdit = OrganizationEdit.default;
|
@@ -45,9 +98,5 @@ exports.OrganizationsSection = Organizations$1.default;
|
|
45
98
|
exports.Publics = Publics.default;
|
46
99
|
exports.Documents = Documents.default;
|
47
100
|
exports.ButtonToggleMembership = ButtonToggleMembership.default;
|
48
|
-
exports.
|
49
|
-
exports.membershipsStore = memberships;
|
50
|
-
exports.organizationStore = organizations;
|
51
|
-
exports.invitesStore = invites;
|
52
|
-
exports.organizationsRouter = organizations$1.default;
|
101
|
+
exports.default = ModuleOrganization;
|
53
102
|
//# sourceMappingURL=organizations.client.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"organizations.client.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"organizations.client.cjs","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// Store\nimport * as storeDepartments from './store/departments.js';\nimport * as storeMemberships from './store/memberships.js';\nimport * as storeOrganizations from './store/organizations.js';\nimport * as storeInvites from './store/invites.js';\n\n// Router\nimport routerOrganization from './router/organizations';\n\n// Views\n// Pages\nimport Organization from './components/pages/Organization.vue';\nimport Department from './components/pages/Department.vue';\nimport OrganizationEdit from './components/pages/OrganizationEdit.vue';\nimport Organizations from './components/pages/Organizations.vue';\nimport DepartmentEdit from './components/pages/DepartmentEdit.vue';\n\n// Blocks\nimport CardOrganization from './components/blocks/CardOrganization.vue';\nimport EditArray from './components/blocks/EditArray.vue';\nimport Unit from './components/blocks/Unit.vue';\nimport DepartmentSub from './components/blocks/DepartmentSub.vue';\nimport CardDepartment from './components/blocks/CardDepartment.vue';\nimport Rating from './components/blocks/Rating.vue';\nimport EmptyState from './components/blocks/EmptyState.vue';\nimport Contacts from './components/blocks/Contacts.vue';\nimport Socials from './components/blocks/Socials.vue';\n\n// Sections\nimport MembersAdd from './components/sections/MembersAdd.vue';\nimport DetailsTabSection from './components/sections/DetailsTabSection.vue';\nimport OrganizationsSection from './components/sections/Organizations.vue';\nimport Publics from './components/sections/Publics.vue';\nimport Documents from './components/sections/Documents.vue';\n\n// Elements\nimport ButtonToggleMembership from './components/elements/ButtonToggleMembership.vue';\n\n// Пример функции инициализации для модуля организаций\nfunction initializeOrganization(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerOrganization);\n \n store.addStore('departments', storeDepartments);\n store.addStore('memberships', storeMemberships);\n store.addStore('organizations', storeOrganizations);\n store.addStore('invites', storeInvites);\n}\n\n// Export components, store modules, and routes\nexport {\n\tOrganization,\n\tDepartment,\n\tOrganizationEdit,\n\tOrganizations,\n\tDepartmentEdit,\n\tCardOrganization,\n\tEditArray,\n\tUnit,\n\tDepartmentSub,\n\tCardDepartment,\n\tRating,\n\tEmptyState,\n\tContacts,\n\tSocials,\n\tMembersAdd,\n\tDetailsTabSection,\n\tOrganizationsSection,\n\tPublics,\n\tDocuments,\n\tButtonToggleMembership,\n\tstoreDepartments,\n\tstoreMemberships,\n\tstoreOrganizations,\n\tstoreInvites,\n\trouterOrganization\n};\n\n\nconst ModuleOrganization = {\n initialize: initializeOrganization,\n views: {\n store: {\n storeDepartments,\n storeMemberships,\n storeOrganizations,\n storeInvites\n },\n router: {\n routerOrganization\n },\n components: {\n // Pages\n Organization,\n Department,\n OrganizationEdit,\n Organizations,\n DepartmentEdit,\n // Blocks\n CardOrganization,\n EditArray,\n Unit,\n DepartmentSub,\n CardDepartment,\n Rating,\n EmptyState,\n Contacts,\n Socials,\n // Sections\n MembersAdd,\n DetailsTabSection,\n OrganizationsSection,\n Publics,\n Documents,\n // Elements\n ButtonToggleMembership\n }\n }\n}\n\nexport default ModuleOrganization;"],"names":["routerOrganization","storeDepartments","storeMemberships","storeOrganizations","storeInvites","Organization","Department","OrganizationEdit","Organizations","DepartmentEdit","CardOrganization","EditArray","Unit","DepartmentSub","CardDepartment","Rating","EmptyState","Contacts","Socials","MembersAdd","DetailsTabSection","OrganizationsSection","Publics","Documents","ButtonToggleMembership"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAS,uBAAuB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAChE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,gBAAAA,OAAkB;AAEzC,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,iBAAiBC,aAAkB;AAClD,QAAM,SAAS,WAAWC,OAAY;AACxC;AAgCK,MAAC,qBAAqB;AAAA,EACzB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMH;AAAAA,MACN,kBAAMC;AAAAA,MACN,oBAAMC;AAAAA,MACN,cAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,oBAAMJ,gBAAkB;AAAA,IACnB;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMK,aAAY;AAAA,MAClB,YAAMC,WAAU;AAAA,MAChB,kBAAMC,iBAAgB;AAAA,MACtB,eAAMC,cAAa;AAAA,MACnB,gBAAMC,eAAc;AAAA;AAAA,MAEpB,kBAAMC,iBAAgB;AAAA,MACtB,WAAMC,UAAS;AAAA,MACf,MAAMC,KAAI;AAAA,MACV,eAAMC,cAAa;AAAA,MACnB,gBAAMC,eAAc;AAAA,MACpB,QAAMC,OAAM;AAAA,MACZ,YAAMC,WAAU;AAAA,MAChB,UAAMC,SAAQ;AAAA,MACd,SAAMC,QAAO;AAAA;AAAA,MAEb,YAAMC,WAAU;AAAA,MAChB,mBAAMC,kBAAiB;AAAA,MACvB,sBAAMC,gBAAoB;AAAA,MAC1B,SAAMC,QAAO;AAAA,MACb,WAAMC,UAAS;AAAA;AAAA,MAEf,wBAAMC,uBAAsB;AAAA,IACvB;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,53 +1,102 @@
|
|
1
|
-
import { default as default2 } from "./components/pages/Organization.vue.js";
|
2
|
-
import { default as default3 } from "./components/pages/Department.vue.js";
|
3
|
-
import { default as default4 } from "./components/pages/OrganizationEdit.vue.js";
|
4
|
-
import { default as default5 } from "./components/pages/Organizations.vue.js";
|
5
|
-
import { default as default6 } from "./components/pages/DepartmentEdit.vue.js";
|
6
|
-
import { default as default7 } from "./components/blocks/CardOrganization.vue.js";
|
7
|
-
import { default as default8 } from "./components/blocks/EditArray.vue.js";
|
8
|
-
import { default as default9 } from "./components/blocks/Unit.vue.js";
|
9
|
-
import { default as default10 } from "./components/blocks/DepartmentSub.vue.js";
|
10
|
-
import { default as default11 } from "./components/blocks/CardDepartment.vue.js";
|
11
|
-
import { default as default12 } from "./components/blocks/Rating.vue.js";
|
12
|
-
import { default as default13 } from "./components/blocks/EmptyState.vue.js";
|
13
|
-
import { default as default14 } from "./components/blocks/Contacts.vue.js";
|
14
|
-
import { default as default15 } from "./components/blocks/Socials.vue.js";
|
15
|
-
import { default as default16 } from "./components/sections/MembersAdd.vue.js";
|
16
|
-
import { default as default17 } from "./components/sections/DetailsTabSection.vue.js";
|
17
|
-
import { default as default18 } from "./components/sections/Organizations.vue.js";
|
18
|
-
import { default as default19 } from "./components/sections/Publics.vue.js";
|
19
|
-
import { default as default20 } from "./components/sections/Documents.vue.js";
|
20
|
-
import { default as default21 } from "./components/elements/ButtonToggleMembership.vue.js";
|
21
1
|
import * as departments from "./store/departments.js";
|
22
2
|
import * as memberships from "./store/memberships.js";
|
23
3
|
import * as organizations from "./store/organizations.js";
|
24
4
|
import * as invites from "./store/invites.js";
|
25
|
-
import
|
5
|
+
import organizations$1 from "./router/organizations.js";
|
6
|
+
import _sfc_main from "./components/pages/Organization.vue.js";
|
7
|
+
import _sfc_main$1 from "./components/pages/Department.vue.js";
|
8
|
+
import _sfc_main$2 from "./components/pages/OrganizationEdit.vue.js";
|
9
|
+
import _sfc_main$3 from "./components/pages/Organizations.vue.js";
|
10
|
+
import _sfc_main$4 from "./components/pages/DepartmentEdit.vue.js";
|
11
|
+
import _sfc_main$5 from "./components/blocks/CardOrganization.vue.js";
|
12
|
+
import _sfc_main$6 from "./components/blocks/EditArray.vue.js";
|
13
|
+
import _sfc_main$7 from "./components/blocks/Unit.vue.js";
|
14
|
+
import DepartmentSub from "./components/blocks/DepartmentSub.vue.js";
|
15
|
+
import CardDepartment from "./components/blocks/CardDepartment.vue.js";
|
16
|
+
import _sfc_main$8 from "./components/blocks/Rating.vue.js";
|
17
|
+
import _sfc_main$9 from "./components/blocks/EmptyState.vue.js";
|
18
|
+
import _sfc_main$a from "./components/blocks/Contacts.vue.js";
|
19
|
+
import _sfc_main$b from "./components/blocks/Socials.vue.js";
|
20
|
+
import _sfc_main$c from "./components/sections/MembersAdd.vue.js";
|
21
|
+
import _sfc_main$d from "./components/sections/DetailsTabSection.vue.js";
|
22
|
+
import _sfc_main$e from "./components/sections/Organizations.vue.js";
|
23
|
+
import _sfc_main$f from "./components/sections/Publics.vue.js";
|
24
|
+
import Documents from "./components/sections/Documents.vue.js";
|
25
|
+
import _sfc_main$g from "./components/elements/ButtonToggleMembership.vue.js";
|
26
|
+
function initializeOrganization(app, store, router, options = {}) {
|
27
|
+
const route = options.route || "Home";
|
28
|
+
router.addRoute(route, organizations$1);
|
29
|
+
store.addStore("departments", departments);
|
30
|
+
store.addStore("memberships", memberships);
|
31
|
+
store.addStore("organizations", organizations);
|
32
|
+
store.addStore("invites", invites);
|
33
|
+
}
|
34
|
+
const ModuleOrganization = {
|
35
|
+
initialize: initializeOrganization,
|
36
|
+
views: {
|
37
|
+
store: {
|
38
|
+
storeDepartments: departments,
|
39
|
+
storeMemberships: memberships,
|
40
|
+
storeOrganizations: organizations,
|
41
|
+
storeInvites: invites
|
42
|
+
},
|
43
|
+
router: {
|
44
|
+
routerOrganization: organizations$1
|
45
|
+
},
|
46
|
+
components: {
|
47
|
+
// Pages
|
48
|
+
Organization: _sfc_main,
|
49
|
+
Department: _sfc_main$1,
|
50
|
+
OrganizationEdit: _sfc_main$2,
|
51
|
+
Organizations: _sfc_main$3,
|
52
|
+
DepartmentEdit: _sfc_main$4,
|
53
|
+
// Blocks
|
54
|
+
CardOrganization: _sfc_main$5,
|
55
|
+
EditArray: _sfc_main$6,
|
56
|
+
Unit: _sfc_main$7,
|
57
|
+
DepartmentSub,
|
58
|
+
CardDepartment,
|
59
|
+
Rating: _sfc_main$8,
|
60
|
+
EmptyState: _sfc_main$9,
|
61
|
+
Contacts: _sfc_main$a,
|
62
|
+
Socials: _sfc_main$b,
|
63
|
+
// Sections
|
64
|
+
MembersAdd: _sfc_main$c,
|
65
|
+
DetailsTabSection: _sfc_main$d,
|
66
|
+
OrganizationsSection: _sfc_main$e,
|
67
|
+
Publics: _sfc_main$f,
|
68
|
+
Documents,
|
69
|
+
// Elements
|
70
|
+
ButtonToggleMembership: _sfc_main$g
|
71
|
+
}
|
72
|
+
}
|
73
|
+
};
|
26
74
|
export {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
75
|
+
_sfc_main$g as ButtonToggleMembership,
|
76
|
+
CardDepartment,
|
77
|
+
_sfc_main$5 as CardOrganization,
|
78
|
+
_sfc_main$a as Contacts,
|
79
|
+
_sfc_main$1 as Department,
|
80
|
+
_sfc_main$4 as DepartmentEdit,
|
81
|
+
DepartmentSub,
|
82
|
+
_sfc_main$d as DetailsTabSection,
|
83
|
+
Documents,
|
84
|
+
_sfc_main$6 as EditArray,
|
85
|
+
_sfc_main$9 as EmptyState,
|
86
|
+
_sfc_main$c as MembersAdd,
|
87
|
+
_sfc_main as Organization,
|
88
|
+
_sfc_main$2 as OrganizationEdit,
|
89
|
+
_sfc_main$3 as Organizations,
|
90
|
+
_sfc_main$e as OrganizationsSection,
|
91
|
+
_sfc_main$f as Publics,
|
92
|
+
_sfc_main$8 as Rating,
|
93
|
+
_sfc_main$b as Socials,
|
94
|
+
_sfc_main$7 as Unit,
|
95
|
+
ModuleOrganization as default,
|
96
|
+
organizations$1 as routerOrganization,
|
97
|
+
departments as storeDepartments,
|
98
|
+
invites as storeInvites,
|
99
|
+
memberships as storeMemberships,
|
100
|
+
organizations as storeOrganizations
|
52
101
|
};
|
53
102
|
//# sourceMappingURL=organizations.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"organizations.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"organizations.client.js","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// Store\nimport * as storeDepartments from './store/departments.js';\nimport * as storeMemberships from './store/memberships.js';\nimport * as storeOrganizations from './store/organizations.js';\nimport * as storeInvites from './store/invites.js';\n\n// Router\nimport routerOrganization from './router/organizations';\n\n// Views\n// Pages\nimport Organization from './components/pages/Organization.vue';\nimport Department from './components/pages/Department.vue';\nimport OrganizationEdit from './components/pages/OrganizationEdit.vue';\nimport Organizations from './components/pages/Organizations.vue';\nimport DepartmentEdit from './components/pages/DepartmentEdit.vue';\n\n// Blocks\nimport CardOrganization from './components/blocks/CardOrganization.vue';\nimport EditArray from './components/blocks/EditArray.vue';\nimport Unit from './components/blocks/Unit.vue';\nimport DepartmentSub from './components/blocks/DepartmentSub.vue';\nimport CardDepartment from './components/blocks/CardDepartment.vue';\nimport Rating from './components/blocks/Rating.vue';\nimport EmptyState from './components/blocks/EmptyState.vue';\nimport Contacts from './components/blocks/Contacts.vue';\nimport Socials from './components/blocks/Socials.vue';\n\n// Sections\nimport MembersAdd from './components/sections/MembersAdd.vue';\nimport DetailsTabSection from './components/sections/DetailsTabSection.vue';\nimport OrganizationsSection from './components/sections/Organizations.vue';\nimport Publics from './components/sections/Publics.vue';\nimport Documents from './components/sections/Documents.vue';\n\n// Elements\nimport ButtonToggleMembership from './components/elements/ButtonToggleMembership.vue';\n\n// Пример функции инициализации для модуля организаций\nfunction initializeOrganization(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerOrganization);\n \n store.addStore('departments', storeDepartments);\n store.addStore('memberships', storeMemberships);\n store.addStore('organizations', storeOrganizations);\n store.addStore('invites', storeInvites);\n}\n\n// Export components, store modules, and routes\nexport {\n\tOrganization,\n\tDepartment,\n\tOrganizationEdit,\n\tOrganizations,\n\tDepartmentEdit,\n\tCardOrganization,\n\tEditArray,\n\tUnit,\n\tDepartmentSub,\n\tCardDepartment,\n\tRating,\n\tEmptyState,\n\tContacts,\n\tSocials,\n\tMembersAdd,\n\tDetailsTabSection,\n\tOrganizationsSection,\n\tPublics,\n\tDocuments,\n\tButtonToggleMembership,\n\tstoreDepartments,\n\tstoreMemberships,\n\tstoreOrganizations,\n\tstoreInvites,\n\trouterOrganization\n};\n\n\nconst ModuleOrganization = {\n initialize: initializeOrganization,\n views: {\n store: {\n storeDepartments,\n storeMemberships,\n storeOrganizations,\n storeInvites\n },\n router: {\n routerOrganization\n },\n components: {\n // Pages\n Organization,\n Department,\n OrganizationEdit,\n Organizations,\n DepartmentEdit,\n // Blocks\n CardOrganization,\n EditArray,\n Unit,\n DepartmentSub,\n CardDepartment,\n Rating,\n EmptyState,\n Contacts,\n Socials,\n // Sections\n MembersAdd,\n DetailsTabSection,\n OrganizationsSection,\n Publics,\n Documents,\n // Elements\n ButtonToggleMembership\n }\n }\n}\n\nexport default ModuleOrganization;"],"names":["routerOrganization","storeDepartments","storeMemberships","storeOrganizations","storeInvites","Organization","Department","OrganizationEdit","Organizations","DepartmentEdit","CardOrganization","EditArray","Unit","Rating","EmptyState","Contacts","Socials","MembersAdd","DetailsTabSection","OrganizationsSection","Publics","ButtonToggleMembership"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAS,uBAAuB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAChE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,eAAkB;AAEzC,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,iBAAiBC,aAAkB;AAClD,QAAM,SAAS,WAAWC,OAAY;AACxC;AAgCK,MAAC,qBAAqB;AAAA,EACzB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMH;AAAAA,MACN,kBAAMC;AAAAA,MACN,oBAAMC;AAAAA,MACN,cAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,oBAAMJ;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMK;AAAAA,MACN,YAAMC;AAAAA,MACN,kBAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,gBAAMC;AAAAA;AAAAA,MAEN,kBAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,MAAMC;AAAAA,MACA;AAAA,MACA;AAAA,MACN,QAAMC;AAAAA,MACN,YAAMC;AAAAA,MACN,UAAMC;AAAAA,MACN,SAAMC;AAAAA;AAAAA,MAEN,YAAMC;AAAAA,MACN,mBAAMC;AAAAA,MACN,sBAAMC;AAAAA,MACN,SAAMC;AAAAA,MACA;AAAA;AAAA,MAEN,wBAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|