@ozdao/martyrs 0.2.506 → 0.2.507
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.server.cjs +1 -1
- package/dist/auth.server.js +1 -1
- package/dist/builder.cjs +52 -60
- package/dist/builder.js +52 -60
- package/dist/chats.server.cjs +1 -1
- package/dist/chats.server.js +1 -1
- package/dist/events.server.cjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/{mailing-q7sR8gCV.cjs → mailing-Bs9ThyVZ.cjs} +1 -24
- package/dist/{mailing-C11EYWm-.js → mailing-DzlhsxCC.js} +1 -24
- package/dist/main-AWSb_d2P.cjs +11 -0
- package/dist/{main-DC__VS5b.js → main-Dq-UfO4G.js} +2562 -2477
- package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
- package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +3 -3
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +3 -3
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs +0 -93
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js +1 -94
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +93 -0
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js +94 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +14 -45
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +21 -52
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +14 -6
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +14 -6
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +58 -11
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +60 -13
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +2 -2
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +2 -2
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs → Spoiler.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs.map → Spoiler.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +42 -10
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +44 -12
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +12 -16
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +22 -26
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +13 -17
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +34 -38
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +13 -9
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +13 -9
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.cjs +0 -4
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +0 -4
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +431 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +431 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/blogposts.cjs +17 -0
- package/dist/martyrs/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.js +17 -0
- package/dist/martyrs/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -3
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -3
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs +4 -6
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js +4 -6
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs +5 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js +6 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +324 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +324 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs +2 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js +116 -114
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +5 -3
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +117 -115
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +11 -36
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -36
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.cjs +3 -0
- package/dist/martyrs/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js +3 -0
- package/dist/martyrs/src/modules/landing/landing.client.js.map +1 -1
- package/dist/martyrs/src/modules/landing/locales/en.cjs +12 -0
- package/dist/martyrs/src/modules/landing/locales/en.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/en.js +12 -0
- package/dist/martyrs/src/modules/landing/locales/en.js.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/index.cjs +10 -0
- package/dist/martyrs/src/modules/landing/locales/index.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/index.js +10 -0
- package/dist/martyrs/src/modules/landing/locales/index.js.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/ru.cjs +12 -0
- package/dist/martyrs/src/modules/landing/locales/ru.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/ru.js +12 -0
- package/dist/martyrs/src/modules/landing/locales/ru.js.map +1 -0
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +2 -4
- package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.js +2 -4
- package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs +86 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +86 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs +103 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +103 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +194 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +194 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +138 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +138 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +189 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +189 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +173 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +173 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +233 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +233 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +234 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +234 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +10 -9
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +10 -9
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +9 -83
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -84
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +119 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +119 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +139 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +139 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/locales/en.cjs +38 -0
- package/dist/martyrs/src/modules/orders/locales/en.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/en.js +38 -0
- package/dist/martyrs/src/modules/orders/locales/en.js.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/index.cjs +10 -0
- package/dist/martyrs/src/modules/orders/locales/index.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/index.js +10 -0
- package/dist/martyrs/src/modules/orders/locales/index.js.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/ru.cjs +38 -0
- package/dist/martyrs/src/modules/orders/locales/ru.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/ru.js +38 -0
- package/dist/martyrs/src/modules/orders/locales/ru.js.map +1 -0
- package/dist/martyrs/src/modules/orders/orders.client.cjs +78 -3
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +80 -5
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs +17 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.js +17 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs +18 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.js +18 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/store/applications.cjs +4 -42
- package/dist/martyrs/src/modules/orders/store/applications.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.js +3 -41
- package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/application.cjs +20 -0
- package/dist/martyrs/src/modules/orders/store/models/application.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/store/models/application.js +20 -0
- package/dist/martyrs/src/modules/orders/store/models/application.js.map +1 -0
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs +13 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js +13 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +16 -192
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +17 -193
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -11
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +6 -15
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +85 -89
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +92 -96
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +4 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +4 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs +3 -6
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js +3 -6
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +22 -19
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +22 -19
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +28 -19
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +28 -19
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +360 -105
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +378 -123
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +33 -3
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +34 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/products/router/products.router.cjs +15 -0
- package/dist/martyrs/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.js +15 -0
- package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/categories.cjs +25 -7
- package/dist/martyrs/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/categories.js +25 -7
- package/dist/martyrs/src/modules/products/store/categories.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +345 -0
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +345 -0
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/router/spots.cjs +17 -0
- package/dist/martyrs/src/modules/spots/router/spots.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/router/spots.js +17 -0
- package/dist/martyrs/src/modules/spots/router/spots.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/notifications.server.cjs +1 -1
- package/dist/notifications.server.js +1 -1
- package/dist/orders.server.cjs +459 -201
- package/dist/orders.server.js +459 -201
- package/dist/organizations.server.cjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/products.server.cjs +428 -255
- package/dist/products.server.js +428 -255
- package/dist/style.css +115 -139
- package/dist/{tickets.controller-DQQcjyui.js → tickets.controller-C56OvH6v.js} +1 -1
- package/dist/{tickets.controller-D0V0gJCA.cjs → tickets.controller-DdnndM6c.cjs} +1 -1
- package/dist/wallet.server.cjs +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/{web-B1bEJ1W9.js → web-BXajFCU2.js} +1 -1
- package/dist/{web-D5i9k2Vv.cjs → web-DaBwwCQ5.cjs} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.dev.js +10 -10
- package/src/builder/rspack/rspack.config.ssr.client.js +50 -50
- package/src/components/Checkbox/Checkbox.vue +3 -4
- package/src/components/Feed/Feed.old.vue +522 -0
- package/src/components/Feed/Feed.vue +4 -4
- package/src/components/Field/Field.vue +7 -1
- package/src/components/FieldBig/FieldBig.vue +62 -8
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/modules/STYLES.MD +198 -0
- package/src/modules/auth/views/components/pages/Profile.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +42 -8
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +9 -11
- package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +9 -11
- package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +7 -4
- package/src/modules/auth/views/router/users.js +0 -4
- package/src/modules/community/components/pages/Posts.vue +444 -0
- package/src/modules/community/router/blogposts.js +15 -0
- package/src/modules/globals/views/classes/globals.websocket.js +7 -8
- package/src/modules/globals/views/components/blocks/Card.vue +2 -1
- package/src/modules/globals/views/components/layouts/Client.vue +1 -2
- package/src/modules/globals/views/components/partials/FooterAlt.vue +161 -188
- package/src/modules/globals/views/components/sections/Filters.vue +261 -121
- package/src/modules/globals/views/components/sections/filters/FilterCheckbox.vue +78 -0
- package/src/modules/globals/views/components/sections/filters/FilterDateRange.vue +177 -0
- package/src/modules/globals/views/components/sections/filters/FilterRange.vue +51 -50
- package/src/modules/icons/entities/IconLock.vue +14 -0
- package/src/modules/icons/icons.client.js +2 -1
- package/src/modules/icons/pages/IconsPage.vue +4 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +11 -61
- package/src/modules/landing/landing.client.js +6 -0
- package/src/modules/landing/locales/en.js +9 -0
- package/src/modules/landing/locales/index.js +7 -0
- package/src/modules/landing/locales/ru.js +9 -0
- package/src/modules/music/components/pages/Album.vue +1 -1
- package/src/modules/music/components/pages/Playlist.vue +1 -1
- package/src/modules/music/components/pages/Track.vue +1 -1
- package/src/modules/orders/components/blocks/CardApplication.vue +74 -0
- package/src/modules/orders/components/blocks/CardCustomer.vue +90 -0
- package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +199 -0
- package/src/modules/orders/components/forms/FormApplicationDetails.vue +117 -0
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +165 -0
- package/src/modules/orders/components/forms/FormSelectCustomer.vue +172 -0
- package/src/modules/orders/components/pages/Applications.vue +240 -0
- package/src/modules/orders/components/pages/Customers.vue +239 -0
- package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +4 -75
- package/src/modules/orders/components/sections/ApplicationDetails.vue +91 -0
- package/src/modules/orders/components/sections/CustomerDetails.vue +107 -0
- package/src/modules/orders/locales/en.js +35 -0
- package/src/modules/orders/locales/index.js +7 -0
- package/src/modules/orders/locales/ru.js +35 -0
- package/src/modules/orders/middlewares/applications.verifier.js +189 -0
- package/src/modules/orders/middlewares/customers.verifier.js +251 -0
- package/src/modules/orders/models/application.model.js +21 -0
- package/src/modules/orders/models/customer.model.js +26 -0
- package/src/modules/orders/orders.client.js +86 -1
- package/src/modules/orders/orders.server.js +3 -1
- package/src/modules/orders/router/applications.router.js +15 -0
- package/src/modules/orders/router/customers.router.js +17 -0
- package/src/modules/orders/routes/applications.routes.js +124 -12
- package/src/modules/orders/routes/customers.routes.js +43 -0
- package/src/modules/orders/store/applications.js +3 -159
- package/src/modules/orders/store/models/application.js +18 -0
- package/src/modules/orders/store/models/customer.js +12 -0
- package/src/modules/organizations/components/pages/Organization.new.vue +593 -0
- package/src/modules/organizations/components/pages/Organization.vue +10 -201
- package/src/modules/organizations/components/sections/DetailsTabSection.vue +2 -2
- package/src/modules/organizations/configs/navigation.organization.config.js +69 -85
- package/src/modules/organizations/router/organizations.js +5 -0
- package/src/modules/pages/views/components/pages/Page.vue +1 -1
- package/src/modules/products/TASKS.MD +157 -0
- package/src/modules/products/components/blocks/CardCategory.vue +1 -1
- package/src/modules/products/components/blocks/ProductImages.vue +1 -1
- package/src/modules/products/components/pages/Categories.vue +27 -22
- package/src/modules/products/components/pages/CategoryEdit.vue +24 -13
- package/src/modules/products/components/pages/Products.vue +414 -173
- package/src/modules/products/components/sections/ProductsRecommended.vue +46 -2
- package/src/modules/products/controllers/categories.controller.js +321 -282
- package/src/modules/products/controllers/configs/products.lookup.config.js +9 -0
- package/src/modules/products/controllers/products.controller.js +2 -1
- package/src/modules/products/controllers/queries/products.queries.js +183 -11
- package/src/modules/products/middlewares/categories.verifier.js +58 -15
- package/src/modules/products/migrations/categories-to-materialized-path.js +433 -0
- package/src/modules/products/migrations/path-to-url.js +27 -0
- package/src/modules/products/models/category.model.js +8 -23
- package/src/modules/products/router/products.router.js +12 -0
- package/src/modules/products/store/categories.js +26 -7
- package/src/modules/rents/TASK.MD +161 -0
- package/src/modules/spots/components/pages/Spots.vue +342 -0
- package/src/modules/spots/router/spots.js +15 -0
- package/src/styles/base/all.scss +2 -3
- package/src/styles/layout.scss +16 -0
- package/dist/main-w3rPUBVh.cjs +0 -11
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs +0 -96
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js +0 -96
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +0 -155
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +0 -155
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +0 -81
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js +0 -81
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js.map +0 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +0 -152
- package/src/modules/orders/components/sections/FormCustomerDetails.vue +0 -67
- package/src/modules/orders/controllers/applications.controller.js +0 -122
|
@@ -8,166 +8,19 @@
|
|
|
8
8
|
:organization="organization.state.current"
|
|
9
9
|
:user="auth.state.user"
|
|
10
10
|
class="mn-b-thin"
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
</DetailsTabSection>
|
|
14
|
-
|
|
15
|
-
<Tab
|
|
16
|
-
v-model:selected="tabOrganization"
|
|
17
|
-
:tabs="[
|
|
18
|
-
{ name: 'Community', value: 'community' },
|
|
19
|
-
{ name: 'Menu', value: 'products' },
|
|
20
|
-
{ name: 'Events', value: 'events' },
|
|
21
|
-
{ name: 'Spots', value: 'spots' }
|
|
22
|
-
]"
|
|
23
|
-
class="mn-b-thin o-x-scroll scroll-hide flex-child-default o-hidden t-medium p-medium radius-medium pd-thin bg-light"
|
|
24
11
|
/>
|
|
25
12
|
|
|
13
|
+
<!-- Organization Info Section -->
|
|
26
14
|
<div class="pos-relative">
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
}"
|
|
38
|
-
:store="{
|
|
39
|
-
read: (options) => blog.read(options)
|
|
40
|
-
}"
|
|
41
|
-
:options="{
|
|
42
|
-
status: 'published',
|
|
43
|
-
user: auth.state.user._id,
|
|
44
|
-
owner: route.params._id,
|
|
45
|
-
}"
|
|
46
|
-
v-slot="{
|
|
47
|
-
items
|
|
48
|
-
}"
|
|
49
|
-
class="rows-1 gap-thin"
|
|
50
|
-
>
|
|
51
|
-
<CardBlogpost
|
|
52
|
-
v-for="item in items"
|
|
53
|
-
:key="item._id"
|
|
54
|
-
:blogpost="item"
|
|
55
|
-
:user="auth.state.user._id"
|
|
56
|
-
class="h-max-40r bg-light radius-medium"
|
|
57
|
-
/>
|
|
58
|
-
</Feed>
|
|
59
|
-
</transition>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<transition name="slide-fade">
|
|
63
|
-
<FeedEvents
|
|
64
|
-
v-if="tabOrganization === 'events'"
|
|
65
|
-
:user="auth.state.user._id"
|
|
66
|
-
:owner="route.params._id"
|
|
67
|
-
:sortOrder="'desc'"
|
|
68
|
-
:sortParam="'date.start'"
|
|
69
|
-
/>
|
|
70
|
-
</transition>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<transition name="slide-fade">
|
|
75
|
-
<Products
|
|
76
|
-
v-if="tabOrganization === 'products'"
|
|
77
|
-
:organization="organization.state.current"
|
|
78
|
-
>
|
|
79
|
-
<Block
|
|
80
|
-
v-if="hasAccess(route.params._id, null, null, auth.state.accesses, auth.state.access.roles)"
|
|
81
|
-
class="o-x-scroll pd-small scroll-hide w-100 pos-relative mn-b-thin"
|
|
82
|
-
>
|
|
83
|
-
<div class="w-100 gap-thin flex flex-nowrap o-x-scroll">
|
|
84
|
-
<router-link
|
|
85
|
-
class="bg-black t-nowrap t-white uppercase t-semi pd-thin radius-small "
|
|
86
|
-
:to="{
|
|
87
|
-
name:'Organization_ProductAdd',
|
|
88
|
-
params: {
|
|
89
|
-
_id: route.params._id
|
|
90
|
-
}
|
|
91
|
-
}"
|
|
92
|
-
>
|
|
93
|
-
Add Product
|
|
94
|
-
</router-link>
|
|
95
|
-
|
|
96
|
-
<router-link
|
|
97
|
-
class=" uppercase t-nowrap t-semi pd-thin"
|
|
98
|
-
:to="{
|
|
99
|
-
name:'OrganizationInventoryList',
|
|
100
|
-
params: {
|
|
101
|
-
_id: route.params._id
|
|
102
|
-
}
|
|
103
|
-
}"
|
|
104
|
-
>
|
|
105
|
-
Change Invetory
|
|
106
|
-
</router-link>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<router-link
|
|
110
|
-
class="d-block t-nowrap mn-l-auto uppercase t-semi bg-white pd-thin radius-small "
|
|
111
|
-
:to="{
|
|
112
|
-
name:'Backoffice',
|
|
113
|
-
params: {
|
|
114
|
-
_id: route.params._id
|
|
115
|
-
}
|
|
116
|
-
}"
|
|
117
|
-
>
|
|
118
|
-
Go to Backoffice
|
|
119
|
-
</router-link>
|
|
120
|
-
</div>
|
|
121
|
-
</Block>
|
|
122
|
-
</Products>
|
|
123
|
-
|
|
124
|
-
</transition>
|
|
125
|
-
|
|
126
|
-
<transition name="slide-fade">
|
|
127
|
-
<div v-if="tabOrganization === 'spots'">
|
|
128
|
-
<Feed
|
|
129
|
-
:states="{
|
|
130
|
-
empty: {
|
|
131
|
-
title: 'No Spots Found',
|
|
132
|
-
description: 'Currently, there are no spots available.'
|
|
133
|
-
}
|
|
134
|
-
}"
|
|
135
|
-
:store="{
|
|
136
|
-
read: (options) => spots.actions.read(options),
|
|
137
|
-
state: organization.state
|
|
138
|
-
}"
|
|
139
|
-
:options="{
|
|
140
|
-
user: auth.state.user._id,
|
|
141
|
-
organization: route.params._id,
|
|
142
|
-
limit: 10
|
|
143
|
-
}"
|
|
144
|
-
v-slot="{
|
|
145
|
-
items
|
|
146
|
-
}"
|
|
147
|
-
>
|
|
148
|
-
<CardSpot
|
|
149
|
-
v-for="(spot, index) in items"
|
|
150
|
-
:key="index"
|
|
151
|
-
:spot="spot"
|
|
152
|
-
:organization="organization.state.current"
|
|
153
|
-
:editAccess="hasAccess(route.params._id, 'spots', 'edit', auth.state.accesses, auth.state.access.roles)"
|
|
154
|
-
:showDeliveryOptions="true"
|
|
155
|
-
:showPaymentOptions="true"
|
|
156
|
-
class="radius-medium h-min-big bg-light mn-b-thin"
|
|
157
|
-
/>
|
|
158
|
-
</Feed>
|
|
159
|
-
|
|
160
|
-
<button
|
|
161
|
-
v-if="hasAccess(route.params._id, 'spots', 'create', auth.state.accesses, auth.state.access.roles)"
|
|
162
|
-
@click="$router.push(`/spots/${organization.state.current._id}/spots/create`)"
|
|
163
|
-
class="mn-b-thin bg-main button w-100"
|
|
164
|
-
>
|
|
165
|
-
Add spot
|
|
166
|
-
</button>
|
|
167
|
-
|
|
168
|
-
</div>
|
|
169
|
-
</transition>
|
|
170
|
-
|
|
15
|
+
<div class="bg-light radius-medium pd-medium">
|
|
16
|
+
<h3 class="mn-b-small">About {{ organization.state.current?.profile?.name }}</h3>
|
|
17
|
+
<p v-if="organization.state.current?.profile?.description" class="t-medium">
|
|
18
|
+
{{ organization.state.current.profile.description }}
|
|
19
|
+
</p>
|
|
20
|
+
<p v-else class="t-medium t-black-transp-60">
|
|
21
|
+
No description available.
|
|
22
|
+
</p>
|
|
23
|
+
</div>
|
|
171
24
|
</div>
|
|
172
25
|
</div>
|
|
173
26
|
</template>
|
|
@@ -177,11 +30,7 @@
|
|
|
177
30
|
import { useRoute, useRouter } from 'vue-router'
|
|
178
31
|
// Import components
|
|
179
32
|
import Breadcrumbs from '@martyrs/src/components/Breadcrumbs/Breadcrumbs.vue'
|
|
180
|
-
import Tab from '@martyrs/src/components/Tab/Tab.vue'
|
|
181
33
|
import Block from '@martyrs/src/components/Block/Block.vue'
|
|
182
|
-
import Feed from '@martyrs/src/components/Feed/Feed.vue'
|
|
183
|
-
// Community
|
|
184
|
-
import CardBlogpost from '@martyrs/src/modules/community/components/blocks/CardBlogpost.vue';
|
|
185
34
|
// Mobile Module
|
|
186
35
|
import Menu from '@martyrs/src/components/Menu/Menu.vue'
|
|
187
36
|
import MenuItem from '@martyrs/src/components/Menu/MenuItem.vue'
|
|
@@ -189,33 +38,17 @@
|
|
|
189
38
|
import DepartmentSub from '@martyrs/src/modules/organizations/components/blocks/DepartmentSub.vue';
|
|
190
39
|
import DetailsTabSection from '@martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue'
|
|
191
40
|
import User from '@martyrs/src/modules/auth/views/components/blocks/CardUser.vue';
|
|
192
|
-
// Feeds
|
|
193
|
-
import FeedEvents from '@martyrs/src/modules/events/components/sections/Feed.vue';
|
|
194
|
-
// Spots
|
|
195
|
-
import CardSpot from '@martyrs/src/modules/spots/components/blocks/CardSpot.vue';
|
|
196
|
-
// Local
|
|
197
|
-
import Products from '@martyrs/src/modules/products/components/pages/Products.vue';
|
|
198
41
|
// Import state
|
|
199
42
|
import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
|
|
200
43
|
import * as organization from '@martyrs/src/modules/organizations/store/organizations.js';
|
|
201
44
|
import * as memberships from '@martyrs/src/modules/organizations/store/memberships.js';
|
|
202
45
|
import * as departments from '@martyrs/src/modules/organizations/store/departments.js';
|
|
203
|
-
// Community
|
|
204
|
-
import * as blog from '@martyrs/src/modules/community/store/blogposts.js';
|
|
205
|
-
// Spots
|
|
206
|
-
import * as spots from '@martyrs/src/modules/spots/store/spots.js';
|
|
207
46
|
// Init router
|
|
208
47
|
const router = useRouter()
|
|
209
48
|
const route = useRoute()
|
|
210
|
-
// Accesing state
|
|
211
|
-
let tab = route.query.tab ? route.query.tab : 'products';
|
|
212
49
|
|
|
213
50
|
const organizationData = ref(null)
|
|
214
51
|
|
|
215
|
-
const tabOrganization = ref(tab)
|
|
216
|
-
|
|
217
|
-
route.query.tab = tabOrganization.value
|
|
218
|
-
|
|
219
52
|
onMounted(async () => {
|
|
220
53
|
|
|
221
54
|
organizationData.value = await organization.actions.read({
|
|
@@ -236,31 +69,7 @@
|
|
|
236
69
|
});
|
|
237
70
|
}
|
|
238
71
|
})
|
|
239
|
-
|
|
240
|
-
watch(tabOrganization, (newValue) => {
|
|
241
|
-
router.replace({ query: { ...route.query, tab: newValue } });
|
|
242
|
-
});
|
|
243
72
|
</script>
|
|
244
73
|
|
|
245
74
|
<style lang="scss">
|
|
246
|
-
.slide-fade-enter-active {
|
|
247
|
-
// min-height: 100vh;
|
|
248
|
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.slide-fade-leave-active {
|
|
252
|
-
// min-height: 100vh;
|
|
253
|
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.slide-fade-enter-from,
|
|
257
|
-
.slide-fade-leave-to {
|
|
258
|
-
min-height: 0;
|
|
259
|
-
position: absolute;
|
|
260
|
-
transform: translateX(20px);
|
|
261
|
-
opacity: 0;
|
|
262
|
-
left: 0;
|
|
263
|
-
top: 0;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
75
|
</style>
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
/>
|
|
101
101
|
</div>
|
|
102
102
|
|
|
103
|
-
<p class="w-max-50r mn-t-regular mn-b-medium p-semi">
|
|
103
|
+
<!-- <p class="w-max-50r mn-t-regular mn-b-medium p-semi">
|
|
104
104
|
<Text :text="organization.profile.description || ''" :showToggleText="true" :maxLen="320" />
|
|
105
|
-
</p>
|
|
105
|
+
</p> -->
|
|
106
106
|
|
|
107
107
|
<Chips
|
|
108
108
|
v-if="organization.profile?.tags?.length > 0"
|
|
@@ -10,6 +10,7 @@ import IconDate from '@martyrs/src/modules/icons/entities/IconDate.vue';
|
|
|
10
10
|
import IconPrice from '@martyrs/src/modules/icons/entities/IconPrice.vue';
|
|
11
11
|
import IconSettings from '@martyrs/src/modules/icons/entities/IconSettings.vue';
|
|
12
12
|
import IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue';
|
|
13
|
+
import IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';
|
|
13
14
|
|
|
14
15
|
// Import global mixins for access control
|
|
15
16
|
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
@@ -19,6 +20,7 @@ const { hasAccess } = useGlobalMixins();
|
|
|
19
20
|
export const navigationItems = [
|
|
20
21
|
{
|
|
21
22
|
category: 'Organization',
|
|
23
|
+
visible: () => true, // Always visible - has both public and private items
|
|
22
24
|
items: [
|
|
23
25
|
{
|
|
24
26
|
title: 'Profile',
|
|
@@ -27,13 +29,7 @@ export const navigationItems = [
|
|
|
27
29
|
name: 'Organization',
|
|
28
30
|
params: { _id: route.params._id }
|
|
29
31
|
}),
|
|
30
|
-
visible: (
|
|
31
|
-
route.params._id,
|
|
32
|
-
'members',
|
|
33
|
-
'read',
|
|
34
|
-
auth.accesses,
|
|
35
|
-
auth.access.roles
|
|
36
|
-
)
|
|
32
|
+
visible: () => true // Public access
|
|
37
33
|
},
|
|
38
34
|
{
|
|
39
35
|
title: 'Members',
|
|
@@ -42,13 +38,7 @@ export const navigationItems = [
|
|
|
42
38
|
name: 'Organization Members',
|
|
43
39
|
params: { _id: route.params._id }
|
|
44
40
|
}),
|
|
45
|
-
visible: (
|
|
46
|
-
route.params._id,
|
|
47
|
-
'members',
|
|
48
|
-
'read',
|
|
49
|
-
auth.accesses,
|
|
50
|
-
auth.access.roles
|
|
51
|
-
)
|
|
41
|
+
visible: () => true // Public access
|
|
52
42
|
},
|
|
53
43
|
{
|
|
54
44
|
title: 'Settings',
|
|
@@ -68,7 +58,8 @@ export const navigationItems = [
|
|
|
68
58
|
]
|
|
69
59
|
},
|
|
70
60
|
{
|
|
71
|
-
category: '
|
|
61
|
+
category: 'Discover',
|
|
62
|
+
visible: () => true, // Always visible - public category
|
|
72
63
|
items: [
|
|
73
64
|
{
|
|
74
65
|
title: 'Products',
|
|
@@ -77,14 +68,50 @@ export const navigationItems = [
|
|
|
77
68
|
name: 'Organization_Products',
|
|
78
69
|
params: { _id: route.params._id }
|
|
79
70
|
}),
|
|
80
|
-
visible: (
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
71
|
+
visible: () => true // Public access
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
title: 'Events',
|
|
75
|
+
iconComponent: IconEvents,
|
|
76
|
+
route: (auth, route) => ({
|
|
77
|
+
name: 'Organization_Events',
|
|
78
|
+
params: { _id: route.params._id }
|
|
79
|
+
}),
|
|
80
|
+
visible: () => true // Public access
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
title: 'Posts',
|
|
84
|
+
iconComponent: IconCommunity,
|
|
85
|
+
route: (auth, route) => ({
|
|
86
|
+
name: 'Organization_Posts',
|
|
87
|
+
params: { _id: route.params._id }
|
|
88
|
+
}),
|
|
89
|
+
visible: () => true // Public access
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
title: 'Spots',
|
|
93
|
+
iconComponent: IconAddress,
|
|
94
|
+
route: (auth, route) => ({
|
|
95
|
+
name: 'Organization_Spots',
|
|
96
|
+
params: { _id: route.params._id }
|
|
97
|
+
}),
|
|
98
|
+
visible: () => true // Public access
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
title: 'Gallery',
|
|
102
|
+
iconComponent: IconGallery,
|
|
103
|
+
route: (auth, route) => ({
|
|
104
|
+
name: 'Backoffice Gallery',
|
|
105
|
+
params: { _id: route.params._id }
|
|
106
|
+
}),
|
|
107
|
+
visible: () => true // Public access
|
|
87
108
|
},
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
category: 'Management',
|
|
113
|
+
visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id, // Only for authenticated users
|
|
114
|
+
items: [
|
|
88
115
|
{
|
|
89
116
|
title: 'Categories',
|
|
90
117
|
iconComponent: IconPrice,
|
|
@@ -115,16 +142,11 @@ export const navigationItems = [
|
|
|
115
142
|
auth.access.roles
|
|
116
143
|
)
|
|
117
144
|
},
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
category: 'Orders & Sales',
|
|
122
|
-
items: [
|
|
123
145
|
{
|
|
124
|
-
title: '
|
|
125
|
-
iconComponent:
|
|
146
|
+
title: 'Rents',
|
|
147
|
+
iconComponent: IconEvents,
|
|
126
148
|
route: (auth, route) => ({
|
|
127
|
-
name: '
|
|
149
|
+
name: 'Organization_Rents',
|
|
128
150
|
params: { _id: route.params._id }
|
|
129
151
|
}),
|
|
130
152
|
visible: (auth, route) => hasAccess(
|
|
@@ -135,11 +157,17 @@ export const navigationItems = [
|
|
|
135
157
|
auth.access.roles
|
|
136
158
|
)
|
|
137
159
|
},
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
category: 'Orders & Sales',
|
|
164
|
+
visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id, // Only for authenticated users
|
|
165
|
+
items: [
|
|
138
166
|
{
|
|
139
|
-
title: '
|
|
140
|
-
iconComponent:
|
|
167
|
+
title: 'Orders',
|
|
168
|
+
iconComponent: IconOrders,
|
|
141
169
|
route: (auth, route) => ({
|
|
142
|
-
name: '
|
|
170
|
+
name: 'OrganizationOrdersList',
|
|
143
171
|
params: { _id: route.params._id }
|
|
144
172
|
}),
|
|
145
173
|
visible: (auth, route) => hasAccess(
|
|
@@ -150,82 +178,38 @@ export const navigationItems = [
|
|
|
150
178
|
auth.access.roles
|
|
151
179
|
)
|
|
152
180
|
},
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
category: 'Content',
|
|
157
|
-
items: [
|
|
158
181
|
{
|
|
159
|
-
title: '
|
|
160
|
-
iconComponent:
|
|
182
|
+
title: 'Customers',
|
|
183
|
+
iconComponent: IconCommunity,
|
|
161
184
|
route: (auth, route) => ({
|
|
162
|
-
name: '
|
|
185
|
+
name: 'OrganizationCustomers',
|
|
163
186
|
params: { _id: route.params._id }
|
|
164
187
|
}),
|
|
165
188
|
visible: (auth, route) => hasAccess(
|
|
166
189
|
route.params._id,
|
|
167
|
-
'
|
|
190
|
+
'orders',
|
|
168
191
|
'read',
|
|
169
192
|
auth.accesses,
|
|
170
193
|
auth.access.roles
|
|
171
194
|
)
|
|
172
195
|
},
|
|
173
196
|
{
|
|
174
|
-
title: '
|
|
175
|
-
iconComponent:
|
|
197
|
+
title: 'Applications',
|
|
198
|
+
iconComponent: IconOrders,
|
|
176
199
|
route: (auth, route) => ({
|
|
177
|
-
name: '
|
|
200
|
+
name: 'OrganizationApplications',
|
|
178
201
|
params: { _id: route.params._id }
|
|
179
202
|
}),
|
|
180
203
|
visible: (auth, route) => hasAccess(
|
|
181
204
|
route.params._id,
|
|
182
|
-
'
|
|
205
|
+
'orders',
|
|
183
206
|
'read',
|
|
184
207
|
auth.accesses,
|
|
185
208
|
auth.access.roles
|
|
186
209
|
)
|
|
187
210
|
},
|
|
188
|
-
// Закомментированные пункты меню из оригинала также можно добавить при необходимости
|
|
189
|
-
// {
|
|
190
|
-
// title: 'Community',
|
|
191
|
-
// iconComponent: IconCommunity,
|
|
192
|
-
// route: (auth, route) => ({
|
|
193
|
-
// name: 'Backoffice Community',
|
|
194
|
-
// params: { _id: route.params._id }
|
|
195
|
-
// }),
|
|
196
|
-
// },
|
|
197
|
-
// {
|
|
198
|
-
// title: 'Payments',
|
|
199
|
-
// icon: '💰',
|
|
200
|
-
// route: (auth, route) => ({
|
|
201
|
-
// name: 'Payments',
|
|
202
|
-
// params: { _id: route.params._id }
|
|
203
|
-
// }),
|
|
204
|
-
// },
|
|
205
211
|
]
|
|
206
212
|
},
|
|
207
|
-
// Закомментированное меню из оригинала
|
|
208
|
-
// {
|
|
209
|
-
// category: 'System',
|
|
210
|
-
// items: [
|
|
211
|
-
// {
|
|
212
|
-
// title: 'Organizations',
|
|
213
|
-
// iconComponent: IconGroups,
|
|
214
|
-
// route: (auth, route) => ({
|
|
215
|
-
// name: 'Backoffice Organizations',
|
|
216
|
-
// params: { _id: route.params._id }
|
|
217
|
-
// }),
|
|
218
|
-
// },
|
|
219
|
-
// {
|
|
220
|
-
// title: 'Reports',
|
|
221
|
-
// icon: '📊',
|
|
222
|
-
// route: (auth, route) => ({
|
|
223
|
-
// name: 'Backoffice Reports',
|
|
224
|
-
// params: { _id: route.params._id }
|
|
225
|
-
// }),
|
|
226
|
-
// },
|
|
227
|
-
// ]
|
|
228
|
-
// },
|
|
229
213
|
];
|
|
230
214
|
|
|
231
215
|
export default navigationItems;
|
|
@@ -8,6 +8,9 @@ import { createRentsRoutes } from '@martyrs/src/modules/rents/views/router/rents
|
|
|
8
8
|
import categoriesRoutes from '@martyrs/src/modules/products/router/categories.router.js';
|
|
9
9
|
import { createProductRoutes } from '@martyrs/src/modules/products/router/products.router.js';
|
|
10
10
|
|
|
11
|
+
import { createSpotsRoutes } from '@martyrs/src/modules/spots/router/spots.js';
|
|
12
|
+
import { createPostsRoutes } from '@martyrs/src/modules/community/router/blogposts.js';
|
|
13
|
+
|
|
11
14
|
import galleryBackofficeRoutes from '@martyrs/src/modules/gallery/router/gallery.backoffice.router.js';
|
|
12
15
|
import paymentsRoutes from '@martyrs/src/modules/wallet/views/router/payments.router.js';
|
|
13
16
|
|
|
@@ -71,6 +74,8 @@ const organizations = {
|
|
|
71
74
|
createProductRoutes('Organization_'),
|
|
72
75
|
createEventRoutes('Organization_'),
|
|
73
76
|
createRentsRoutes('Organization_'),
|
|
77
|
+
createSpotsRoutes('Organization_'),
|
|
78
|
+
createPostsRoutes('Organization_'),
|
|
74
79
|
...categoriesRoutes,
|
|
75
80
|
...paymentsRoutes,
|
|
76
81
|
...galleryBackofficeRoutes,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<div v-if="!isMenuOpen" class="cols-2-1_3 h-100 bg-light z-index-0 pos-relative">
|
|
24
24
|
|
|
25
|
-
<div
|
|
25
|
+
<div class="desktop-only h-100 bg-white o-scroll z-index-0 pos-relative">
|
|
26
26
|
<ul
|
|
27
27
|
class="transition-ease-in-out w-100 bg-light"
|
|
28
28
|
>
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
теперь добавь фильтрацию по выбранному периоду на фронте и беке. На фронте в lookups надо добавить rents в случае если есть период (чтобы не грузить лишний раз), в products.lookup.config
|
|
2
|
+
добавить rents и добавить в product.query фильтрацию по доступности с учетом quantityЖ Для фильтрации доступных товаров при агрегации на основе аренд, вам нужно использовать $lookup для
|
|
3
|
+
проверки пересечений с активными арендами. Вот пример агрегации:
|
|
4
|
+
|
|
5
|
+
javascript
|
|
6
|
+
const checkAvailability = async (startDate, endDate) => {
|
|
7
|
+
const pipeline = [
|
|
8
|
+
// Фильтр по нужным критериям товаров
|
|
9
|
+
{
|
|
10
|
+
$match: {
|
|
11
|
+
listing: 'rent',
|
|
12
|
+
status: 'active' // или другие условия
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
// Присоединяем аренды для каждого товара
|
|
17
|
+
{
|
|
18
|
+
$lookup: {
|
|
19
|
+
from: 'rents',
|
|
20
|
+
let: { productId: '$_id' },
|
|
21
|
+
pipeline: [
|
|
22
|
+
{
|
|
23
|
+
$match: {
|
|
24
|
+
$expr: {
|
|
25
|
+
$and: [
|
|
26
|
+
{ $eq: ['$product', '$productId'] },
|
|
27
|
+
// Только активные аренды
|
|
28
|
+
{ $in: ['$status', ['confirmed', 'active']] },
|
|
29
|
+
// Проверка пересечения дат
|
|
30
|
+
{
|
|
31
|
+
$or: [
|
|
32
|
+
// Аренда начинается в запрашиваемый период
|
|
33
|
+
{
|
|
34
|
+
$and: [
|
|
35
|
+
{ $gte: ['$startDate', new Date(startDate)] },
|
|
36
|
+
{ $lte: ['$startDate', new Date(endDate)] }
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
// Аренда заканчивается в запрашиваемый период
|
|
40
|
+
{
|
|
41
|
+
$and: [
|
|
42
|
+
{ $gte: ['$endDate', new Date(startDate)] },
|
|
43
|
+
{ $lte: ['$endDate', new Date(endDate)] }
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
// Аренда полностью покрывает запрашиваемый период
|
|
47
|
+
{
|
|
48
|
+
$and: [
|
|
49
|
+
{ $lte: ['$startDate', new Date(startDate)] },
|
|
50
|
+
{ $gte: ['$endDate', new Date(endDate)] }
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
as: 'activeRents'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
// Фильтруем только доступные товары
|
|
65
|
+
{
|
|
66
|
+
$match: {
|
|
67
|
+
activeRents: { $size: 0 } // Нет активных аренд в этот период
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
// Убираем поле activeRents из результата
|
|
72
|
+
{
|
|
73
|
+
$project: {
|
|
74
|
+
activeRents: 0
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
return await Product.aggregate(pipeline);
|
|
80
|
+
};
|
|
81
|
+
Если у вас товары могут иметь количество (например, несколько единиц одного товара), то нужно модифицировать логику:
|
|
82
|
+
|
|
83
|
+
javascript
|
|
84
|
+
const checkAvailabilityWithQuantity = async (startDate, endDate, requestedQuantity = 1) => {
|
|
85
|
+
const pipeline = [
|
|
86
|
+
{
|
|
87
|
+
$match: {
|
|
88
|
+
listing: 'rent',
|
|
89
|
+
status: 'active'
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
{
|
|
94
|
+
$lookup: {
|
|
95
|
+
from: 'rents',
|
|
96
|
+
let: { productId: '$_id' },
|
|
97
|
+
pipeline: [
|
|
98
|
+
{
|
|
99
|
+
$match: {
|
|
100
|
+
$expr: {
|
|
101
|
+
$and: [
|
|
102
|
+
{ $eq: ['$product', '$productId'] },
|
|
103
|
+
{ $in: ['$status', ['confirmed', 'active']] },
|
|
104
|
+
// Проверка пересечения дат (та же логика)
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
// Суммируем количество в активных арендах
|
|
110
|
+
{
|
|
111
|
+
$group: {
|
|
112
|
+
_id: null,
|
|
113
|
+
totalRented: { $sum: '$quantity' }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
as: 'rentInfo'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
// Добавляем поле с доступным количеством
|
|
122
|
+
{
|
|
123
|
+
$addFields: {
|
|
124
|
+
rentedQuantity: {
|
|
125
|
+
$ifNull: [{ $arrayElemAt: ['$rentInfo.totalRented', 0] }, 0]
|
|
126
|
+
},
|
|
127
|
+
availableQuantity: {
|
|
128
|
+
$subtract: [
|
|
129
|
+
{ $ifNull: ['$quantity', 1] }, // quantity товара или 1 по умолчанию
|
|
130
|
+
{ $ifNull: [{ $arrayElemAt: ['$rentInfo.totalRented', 0] }, 0] }
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
// Фильтруем товары с достаточным количеством
|
|
137
|
+
{
|
|
138
|
+
$match: {
|
|
139
|
+
availableQuantity: { $gte: requestedQuantity }
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
// Убираем временные поля
|
|
144
|
+
{
|
|
145
|
+
$project: {
|
|
146
|
+
rentInfo: 0,
|
|
147
|
+
rentedQuantity: 0
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
];
|
|
151
|
+
|
|
152
|
+
return await Product.aggregate(pipeline);
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
сделать нужно минималистично и ничего кроме этого
|