@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
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="search || date || (sort && !sort.hideButton)" style="transform: scale(1);" class="mn-b-thin pos-relative flex-nowrap flex gap-thin">
|
|
3
|
+
|
|
4
|
+
<BlockSearch
|
|
5
|
+
v-if="search"
|
|
6
|
+
:placeholder="search.placeholder || 'Search...'"
|
|
7
|
+
:class="search.class || 'bg-light'"
|
|
8
|
+
@search="updateSearch"
|
|
9
|
+
:autofocus="search.autofocus"
|
|
10
|
+
/>
|
|
11
|
+
|
|
12
|
+
<!-- <FiltersBar
|
|
13
|
+
v-if="filter"
|
|
14
|
+
v-model="filter.selected"
|
|
15
|
+
:filters="filterConfig"
|
|
16
|
+
:class="filter.class || 'mobile-only'"
|
|
17
|
+
/> -->
|
|
18
|
+
|
|
19
|
+
<Dropdown
|
|
20
|
+
v-if="date"
|
|
21
|
+
:label="{
|
|
22
|
+
component: ButtonDate,
|
|
23
|
+
props: { date: date }
|
|
24
|
+
}"
|
|
25
|
+
:class="date.class || 'bg-light'"
|
|
26
|
+
class="flex-child flex-child-shrink-0 pd-r-small pd-l-small pd-thin bg-light radius-medium"
|
|
27
|
+
:align="search ? 'right' : 'left'"
|
|
28
|
+
>
|
|
29
|
+
|
|
30
|
+
<Calendar
|
|
31
|
+
v-model:date="date"
|
|
32
|
+
:locale="$i18n.locale"
|
|
33
|
+
:allowRange="true"
|
|
34
|
+
class="radius-medium w-100 o-hidden bg-light"
|
|
35
|
+
/>
|
|
36
|
+
</Dropdown>
|
|
37
|
+
|
|
38
|
+
<template
|
|
39
|
+
v-if="filter"
|
|
40
|
+
>
|
|
41
|
+
<div
|
|
42
|
+
:class="filter.class || 'bg-light'"
|
|
43
|
+
class="flex-center flex pd-thin bg-light radius-medium aspect-1x1 h-100"
|
|
44
|
+
>
|
|
45
|
+
<IconFilter @click="() => filter.active = !filter.active" class="w-1r h-auto"/>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<BottomSheet
|
|
50
|
+
:show="filter.active"
|
|
51
|
+
@toggle="() => filter.active = false"
|
|
52
|
+
class="z-index-10 pos-fixed pos-r-0"
|
|
53
|
+
:class="{
|
|
54
|
+
'pos-t-0': filter.active,
|
|
55
|
+
'pos-t-100': !filter.active
|
|
56
|
+
}"
|
|
57
|
+
>
|
|
58
|
+
<BlockFilter
|
|
59
|
+
v-model:filter="filter"
|
|
60
|
+
:options="filter.options"
|
|
61
|
+
@click_filter="() => { filter.active = false } "
|
|
62
|
+
class="h-max w-100 pd-small pd-b-5r bg-light"
|
|
63
|
+
/>
|
|
64
|
+
</BottomSheet>
|
|
65
|
+
</template>
|
|
66
|
+
|
|
67
|
+
<Dropdown
|
|
68
|
+
v-if="sort && !sort.hideButton"
|
|
69
|
+
:label="{
|
|
70
|
+
component: ButtonSort,
|
|
71
|
+
props: { order: sort.order },
|
|
72
|
+
class: 'w-1r'
|
|
73
|
+
}"
|
|
74
|
+
:class="sort.class || 'bg-light'"
|
|
75
|
+
class="radius-medium aspect-1x1 h-100"
|
|
76
|
+
:align="search ? 'right' : 'left'"
|
|
77
|
+
>
|
|
78
|
+
|
|
79
|
+
<BlockSorting
|
|
80
|
+
v-model:param="sort.param"
|
|
81
|
+
v-model:order="sort.order"
|
|
82
|
+
:options="sort.options"
|
|
83
|
+
class="h-100 pd-small radius-medium t-white bg-black"
|
|
84
|
+
/>
|
|
85
|
+
</Dropdown>
|
|
86
|
+
|
|
87
|
+
<!-- Actions -->
|
|
88
|
+
<template
|
|
89
|
+
v-if="actions.length"
|
|
90
|
+
>
|
|
91
|
+
<template v-for="action in actions" :key="action.key">
|
|
92
|
+
<div
|
|
93
|
+
:class="action.class || 'bg-light'"
|
|
94
|
+
class="flex-center flex pd-thin bg-light radius-medium aspect-1x1 h-100"
|
|
95
|
+
>
|
|
96
|
+
<component
|
|
97
|
+
:is="action.component"
|
|
98
|
+
@click="action.handler"
|
|
99
|
+
class="w-1r h-auto"
|
|
100
|
+
>
|
|
101
|
+
</component>
|
|
102
|
+
|
|
103
|
+
</div>
|
|
104
|
+
</template>
|
|
105
|
+
</template>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<TransitionGroup
|
|
109
|
+
v-if="isLoading && !keepSlotVisible"
|
|
110
|
+
tag="ul"
|
|
111
|
+
name="scaleTransition"
|
|
112
|
+
class="pos-relative z-index-1"
|
|
113
|
+
:class="$attrs.class"
|
|
114
|
+
>
|
|
115
|
+
<Skeleton
|
|
116
|
+
v-if="isLoading && !skeleton?.hide"
|
|
117
|
+
v-for="i in currentLimit"
|
|
118
|
+
:structure="skeleton.structure"
|
|
119
|
+
:horizontal="skeleton.horizontal"
|
|
120
|
+
:loading="skeleton.apply_to_slot"
|
|
121
|
+
:key="'skeleton-' + i"
|
|
122
|
+
:class="replaceClasses('radius-medium bg-light pd-thin flex-child-default o-hidden d-block', skeleton.class)"
|
|
123
|
+
/>
|
|
124
|
+
<Loader v-if="isLoading && skeleton?.hide"/>
|
|
125
|
+
</TransitionGroup>
|
|
126
|
+
|
|
127
|
+
<TransitionGroup
|
|
128
|
+
tag="ul"
|
|
129
|
+
v-else-if="itemsList.length < 1"
|
|
130
|
+
name="feed"
|
|
131
|
+
>
|
|
132
|
+
<EmptyState
|
|
133
|
+
v-if="!isLoading && itemsList.length < 1"
|
|
134
|
+
:title="states.empty.title"
|
|
135
|
+
:description="states.empty.description"
|
|
136
|
+
:action="states.empty.action"
|
|
137
|
+
:callback="states.empty.callback"
|
|
138
|
+
:class="replaceClasses('pd-medium bg-light radius-medium', states.empty.class)"
|
|
139
|
+
/>
|
|
140
|
+
</TransitionGroup>
|
|
141
|
+
|
|
142
|
+
<TransitionGroup
|
|
143
|
+
v-else-if="!keepSlotVisible || !isLoading"
|
|
144
|
+
tag="ul"
|
|
145
|
+
name="feed"
|
|
146
|
+
:class="$attrs.class"
|
|
147
|
+
>
|
|
148
|
+
<slot
|
|
149
|
+
:items="itemsList"
|
|
150
|
+
>
|
|
151
|
+
</slot>
|
|
152
|
+
</TransitionGroup>
|
|
153
|
+
|
|
154
|
+
<!-- Slot visible with overlay loader -->
|
|
155
|
+
<div v-else class="pos-relative">
|
|
156
|
+
<TransitionGroup
|
|
157
|
+
tag="ul"
|
|
158
|
+
name="feed"
|
|
159
|
+
:class="$attrs.class"
|
|
160
|
+
>
|
|
161
|
+
<slot
|
|
162
|
+
:items="itemsList"
|
|
163
|
+
>
|
|
164
|
+
</slot>
|
|
165
|
+
</TransitionGroup>
|
|
166
|
+
|
|
167
|
+
<!-- Overlay loader -->
|
|
168
|
+
<div
|
|
169
|
+
v-if="isLoading && keepSlotVisible"
|
|
170
|
+
class="pos-absolute pos-t-0 pos-l-0 w-100 h-100 flex-center bg-white-transp-90 z-index-10"
|
|
171
|
+
>
|
|
172
|
+
<Loader />
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<button
|
|
177
|
+
v-if="showLoadMore && hasMoreItems && itemsList.length > 0 && !isLoadingExtra"
|
|
178
|
+
@click="loadMoreItems"
|
|
179
|
+
class="col-w-100 mn-t-thin w-100 t-black bg-main button"
|
|
180
|
+
>
|
|
181
|
+
Load More
|
|
182
|
+
</button>
|
|
183
|
+
|
|
184
|
+
<div v-else key="sentinel" ref="sentinel" class="sentinel"></div>
|
|
185
|
+
|
|
186
|
+
<div
|
|
187
|
+
v-if="isLoadingExtra"
|
|
188
|
+
class="col-w-100 w-100 pos-relative"
|
|
189
|
+
>
|
|
190
|
+
<Loader/>
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
</template>
|
|
195
|
+
|
|
196
|
+
<script setup>
|
|
197
|
+
import { ref, computed, onMounted, onUnmounted, watch } from 'vue';
|
|
198
|
+
|
|
199
|
+
import SkeletonEvent from '@martyrs/src/modules/icons/skeletons/SkeletonEvent.vue'
|
|
200
|
+
|
|
201
|
+
import Loader from '@martyrs/src/components/Loader/Loader.vue';
|
|
202
|
+
import Skeleton from '@martyrs/src/components/Skeleton/Skeleton.vue';
|
|
203
|
+
import EmptyState from '@martyrs/src/components/EmptyState/EmptyState.vue';
|
|
204
|
+
import Dropdown from "@martyrs/src/components/Dropdown/Dropdown.vue";
|
|
205
|
+
import Calendar from '@martyrs/src/components/Calendar/Calendar.vue'
|
|
206
|
+
import BottomSheet from '@martyrs/src/components/BottomSheet/BottomSheet.vue';
|
|
207
|
+
|
|
208
|
+
import BlockSearch from '@martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue'
|
|
209
|
+
import BlockSorting from '@martyrs/src/modules/globals/views/components/blocks/BlockSorting.vue'
|
|
210
|
+
import BlockFilter from '@martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue'
|
|
211
|
+
|
|
212
|
+
import FiltersBar from '@martyrs/src/modules/globals/views/components/sections/Filters.vue'
|
|
213
|
+
|
|
214
|
+
import ButtonSort from '@martyrs/src/modules/globals/views/components/elements/ButtonSort.vue'
|
|
215
|
+
import ButtonDate from '@martyrs/src/modules/globals/views/components/elements/ButtonDate.vue'
|
|
216
|
+
|
|
217
|
+
import IconFilter from '@martyrs/src/modules/icons/navigation/IconFilter.vue'
|
|
218
|
+
import IconEvents from '@martyrs/src/modules/icons/entities/IconEvents.vue'
|
|
219
|
+
|
|
220
|
+
const search = defineModel('search')
|
|
221
|
+
const sort = defineModel('sort')
|
|
222
|
+
const filter = defineModel('filter')
|
|
223
|
+
const date = defineModel('date')
|
|
224
|
+
const items = defineModel('items')
|
|
225
|
+
|
|
226
|
+
// Внутреннее хранилище для случая, когда v-model:items не передан
|
|
227
|
+
const internalItems = ref([])
|
|
228
|
+
|
|
229
|
+
// Элегантное решение через computed
|
|
230
|
+
const itemsList = computed({
|
|
231
|
+
get: () => items.value ?? internalItems.value,
|
|
232
|
+
set: (val) => {
|
|
233
|
+
if (items.value !== undefined) {
|
|
234
|
+
items.value = val
|
|
235
|
+
} else {
|
|
236
|
+
internalItems.value = val
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
const filterConfig = computed(() => {
|
|
242
|
+
if (!filter.value?.options) return []
|
|
243
|
+
|
|
244
|
+
return filter.value.options.map(opt => ({
|
|
245
|
+
key: opt.value,
|
|
246
|
+
title: opt.title,
|
|
247
|
+
type: 'options',
|
|
248
|
+
options: opt.options || [],
|
|
249
|
+
defaultValue: null
|
|
250
|
+
}))
|
|
251
|
+
})
|
|
252
|
+
|
|
253
|
+
// Пропсы
|
|
254
|
+
const props = defineProps({
|
|
255
|
+
showLoadMore: {
|
|
256
|
+
type: Boolean,
|
|
257
|
+
default: true
|
|
258
|
+
},
|
|
259
|
+
LoadMore: {
|
|
260
|
+
type: Boolean,
|
|
261
|
+
default: true
|
|
262
|
+
},
|
|
263
|
+
search: {
|
|
264
|
+
type: [Boolean, Object],
|
|
265
|
+
default: false
|
|
266
|
+
},
|
|
267
|
+
states: {
|
|
268
|
+
type: Object,
|
|
269
|
+
default: () => ({
|
|
270
|
+
empty: {
|
|
271
|
+
title: 'Nothing found',
|
|
272
|
+
description: 'Sorry, nothing found',
|
|
273
|
+
},
|
|
274
|
+
}),
|
|
275
|
+
},
|
|
276
|
+
actions: {
|
|
277
|
+
type: Array,
|
|
278
|
+
default: () => []
|
|
279
|
+
},
|
|
280
|
+
skeleton: {
|
|
281
|
+
type: Object,
|
|
282
|
+
default: () => ({
|
|
283
|
+
hide: false,
|
|
284
|
+
horizontal: false,
|
|
285
|
+
structure: [
|
|
286
|
+
{ block: 'text', size: 'medium' },
|
|
287
|
+
{ block: 'text', size: 'large' },
|
|
288
|
+
{ block: 'button', size: 'small' }
|
|
289
|
+
]
|
|
290
|
+
}),
|
|
291
|
+
|
|
292
|
+
},
|
|
293
|
+
store: {
|
|
294
|
+
type: Object,
|
|
295
|
+
default: () => ({
|
|
296
|
+
read: Function,
|
|
297
|
+
state: Object,
|
|
298
|
+
}),
|
|
299
|
+
},
|
|
300
|
+
external: {
|
|
301
|
+
type: Boolean,
|
|
302
|
+
default: false
|
|
303
|
+
},
|
|
304
|
+
options: {
|
|
305
|
+
type: Object,
|
|
306
|
+
default: () => ({
|
|
307
|
+
category: null,
|
|
308
|
+
limit: 10,
|
|
309
|
+
skip: 0 ,
|
|
310
|
+
owner: null,
|
|
311
|
+
creator: null,
|
|
312
|
+
customer: null,
|
|
313
|
+
user: null,
|
|
314
|
+
status: null,
|
|
315
|
+
period: null,
|
|
316
|
+
contain: null,
|
|
317
|
+
}),
|
|
318
|
+
},
|
|
319
|
+
keepSlotVisible: {
|
|
320
|
+
type: Boolean,
|
|
321
|
+
default: false
|
|
322
|
+
},
|
|
323
|
+
});
|
|
324
|
+
|
|
325
|
+
const hasMoreItems = ref(false);
|
|
326
|
+
|
|
327
|
+
let isLoading = ref(true);
|
|
328
|
+
let isLoadingExtra = ref(false);
|
|
329
|
+
let sentinel = ref(null)
|
|
330
|
+
|
|
331
|
+
let currentSkip = ref(props.options.skip ? props.options.skip : 0);
|
|
332
|
+
let currentLimit = ref(props.options.limit ? props.options.limit : 10);
|
|
333
|
+
|
|
334
|
+
let currentSearch = ref('');
|
|
335
|
+
let isSearching = ref(false);
|
|
336
|
+
|
|
337
|
+
let requestId = 0;
|
|
338
|
+
|
|
339
|
+
function debounce(fn, delay) {
|
|
340
|
+
let timeoutId = null;
|
|
341
|
+
return (...args) => {
|
|
342
|
+
clearTimeout(timeoutId);
|
|
343
|
+
timeoutId = setTimeout(() => fn(...args), delay);
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
const debouncedSearch = debounce((value) => {
|
|
348
|
+
isSearching.value = true;
|
|
349
|
+
currentSearch.value = value;
|
|
350
|
+
currentSkip.value = 0;
|
|
351
|
+
currentLimit.value = 10;
|
|
352
|
+
fetchItems();
|
|
353
|
+
}, 500);
|
|
354
|
+
|
|
355
|
+
function updateSearch(search) {
|
|
356
|
+
debouncedSearch(search);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
const removeNullValues = (obj) => {
|
|
360
|
+
return Object.fromEntries(
|
|
361
|
+
Object.entries(obj).filter(([_, value]) => value != null)
|
|
362
|
+
);
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
const loadMoreItems = async () => {
|
|
366
|
+
if (!hasMoreItems.value || isLoadingExtra.value) {
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
isLoadingExtra.value = true;
|
|
371
|
+
|
|
372
|
+
const currentRequestId = ++requestId;
|
|
373
|
+
|
|
374
|
+
currentSkip.value += currentLimit.value;
|
|
375
|
+
|
|
376
|
+
try {
|
|
377
|
+
const allParams = {
|
|
378
|
+
skip: currentSkip.value,
|
|
379
|
+
limit: currentLimit.value,
|
|
380
|
+
search: currentSearch.value,
|
|
381
|
+
dateStart: date.value?.start,
|
|
382
|
+
dateEnd: date.value?.end,
|
|
383
|
+
sortParam: sort.value?.param,
|
|
384
|
+
sortOrder: sort.value?.order,
|
|
385
|
+
...props.options
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
const params = removeNullValues(allParams);
|
|
389
|
+
|
|
390
|
+
const data = await props.store.read(params);
|
|
391
|
+
|
|
392
|
+
if (currentRequestId !== requestId) {
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (data.length === 0) {
|
|
397
|
+
hasMoreItems.value = false;
|
|
398
|
+
} else if (data.length < currentLimit.value) {
|
|
399
|
+
hasMoreItems.value = false;
|
|
400
|
+
} else {
|
|
401
|
+
hasMoreItems.value = true;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Элегантное обновление через computed setter
|
|
405
|
+
itemsList.value = [...itemsList.value, ...data];
|
|
406
|
+
|
|
407
|
+
} catch (error) {
|
|
408
|
+
console.error('Load more error:', error);
|
|
409
|
+
} finally {
|
|
410
|
+
if (currentRequestId === requestId) {
|
|
411
|
+
isLoadingExtra.value = false;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
const fetchItems = async () => {
|
|
417
|
+
isLoading.value = true;
|
|
418
|
+
|
|
419
|
+
const currentRequestId = ++requestId;
|
|
420
|
+
|
|
421
|
+
if (isSearching.value) {
|
|
422
|
+
itemsList.value = [];
|
|
423
|
+
isSearching.value = false;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
try {
|
|
427
|
+
const allParams = {
|
|
428
|
+
skip: currentSkip.value,
|
|
429
|
+
limit: currentLimit.value,
|
|
430
|
+
search: currentSearch.value,
|
|
431
|
+
dateStart: date.value?.start,
|
|
432
|
+
dateEnd: date.value?.end,
|
|
433
|
+
sortParam: sort.value?.param,
|
|
434
|
+
sortOrder: sort.value?.order,
|
|
435
|
+
...props.options
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
const params = removeNullValues(allParams);
|
|
439
|
+
|
|
440
|
+
const data = await props.store.read(params);
|
|
441
|
+
|
|
442
|
+
if (currentRequestId !== requestId) {
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (data.length === 0) {
|
|
447
|
+
hasMoreItems.value = false;
|
|
448
|
+
} else if (data.length < currentLimit.value) {
|
|
449
|
+
hasMoreItems.value = false;
|
|
450
|
+
} else {
|
|
451
|
+
hasMoreItems.value = true;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// Элегантное обновление через computed setter
|
|
455
|
+
itemsList.value = data;
|
|
456
|
+
|
|
457
|
+
} catch (error) {
|
|
458
|
+
console.error('Fetch error:', error);
|
|
459
|
+
} finally {
|
|
460
|
+
if (currentRequestId === requestId) {
|
|
461
|
+
isLoading.value = false;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
watch(
|
|
467
|
+
[() => props.external, () => date.value, () => ({...sort.value}), () => ({...props.options})],
|
|
468
|
+
([newExternal, newDate, newSort, newOptions], [oldExternal, oldDate, oldSort, oldOptions]) => {
|
|
469
|
+
if (
|
|
470
|
+
newExternal !== oldExternal ||
|
|
471
|
+
newDate !== oldDate ||
|
|
472
|
+
newSort?.order !== oldSort?.order ||
|
|
473
|
+
newSort?.param !== oldSort?.param ||
|
|
474
|
+
JSON.stringify(newOptions) !== JSON.stringify(oldOptions)
|
|
475
|
+
) {
|
|
476
|
+
currentSkip.value = 0;
|
|
477
|
+
fetchItems();
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{ deep: true }
|
|
481
|
+
);
|
|
482
|
+
|
|
483
|
+
let observer = null
|
|
484
|
+
|
|
485
|
+
onMounted(async () => {
|
|
486
|
+
await fetchItems()
|
|
487
|
+
|
|
488
|
+
if (typeof window !== 'undefined' && !props.showLoadMore && props.LoadMore) {
|
|
489
|
+
observer = new IntersectionObserver(entries => {
|
|
490
|
+
if (entries.some(entry => entry.isIntersecting)) {
|
|
491
|
+
loadMoreItems()
|
|
492
|
+
}
|
|
493
|
+
})
|
|
494
|
+
|
|
495
|
+
if (sentinel.value) observer.observe(sentinel.value)
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
onUnmounted(() => {
|
|
500
|
+
if (observer) {
|
|
501
|
+
observer.disconnect();
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
</script>
|
|
505
|
+
|
|
506
|
+
<style>
|
|
507
|
+
.feed-move,
|
|
508
|
+
.feed-enter-active,
|
|
509
|
+
.feed-leave-active {
|
|
510
|
+
transition: all 0.5s ease;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.feed-enter-from,
|
|
514
|
+
.feed-leave-to {
|
|
515
|
+
opacity: 0;
|
|
516
|
+
transform: translateY(30px);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.feed-leave-active {
|
|
520
|
+
position: absolute;
|
|
521
|
+
}
|
|
522
|
+
</style>
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
:autofocus="search.autofocus"
|
|
10
10
|
/>
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
<FiltersBar
|
|
13
13
|
v-if="filter"
|
|
14
14
|
v-model="filter.selected"
|
|
15
15
|
:filters="filterConfig"
|
|
16
16
|
:class="filter.class || 'mobile-only'"
|
|
17
|
-
/>
|
|
17
|
+
/>
|
|
18
18
|
|
|
19
19
|
<Dropdown
|
|
20
20
|
v-if="date"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
/>
|
|
36
36
|
</Dropdown>
|
|
37
37
|
|
|
38
|
-
<template
|
|
38
|
+
<!-- <template
|
|
39
39
|
v-if="filter"
|
|
40
40
|
>
|
|
41
41
|
<div
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
class="h-max w-100 pd-small pd-b-5r bg-light"
|
|
63
63
|
/>
|
|
64
64
|
</BottomSheet>
|
|
65
|
-
</template>
|
|
65
|
+
</template> -->
|
|
66
66
|
|
|
67
67
|
<Dropdown
|
|
68
68
|
v-if="sort && !sort.hideButton"
|
|
@@ -13,7 +13,9 @@ const props = defineProps({
|
|
|
13
13
|
disabled: null,
|
|
14
14
|
tabindex: -1,
|
|
15
15
|
autofocus: false,
|
|
16
|
-
icon: null // Добавлен пропс для иконки
|
|
16
|
+
icon: null, // Добавлен пропс для иконки
|
|
17
|
+
name: null, // Имя поля для автозаполнения
|
|
18
|
+
id: null // ID поля
|
|
17
19
|
});
|
|
18
20
|
if (props.value) {
|
|
19
21
|
emit('update:field', props.value)
|
|
@@ -95,6 +97,8 @@ const text = ref(props.field);
|
|
|
95
97
|
:tabindex="tabindex"
|
|
96
98
|
:disabled="disabled"
|
|
97
99
|
:autofocus="autofocus"
|
|
100
|
+
:name="name"
|
|
101
|
+
:id="id"
|
|
98
102
|
/>
|
|
99
103
|
<textarea
|
|
100
104
|
v-else
|
|
@@ -107,6 +111,8 @@ const text = ref(props.field);
|
|
|
107
111
|
:placeholder="placeholder"
|
|
108
112
|
:tabindex="tabindex"
|
|
109
113
|
:disabled="disabled"
|
|
114
|
+
:name="name"
|
|
115
|
+
:id="id"
|
|
110
116
|
/>
|
|
111
117
|
</div>
|
|
112
118
|
<IconShow
|
|
@@ -6,24 +6,36 @@
|
|
|
6
6
|
@input="handleInput"
|
|
7
7
|
@focus="handleFocus"
|
|
8
8
|
@blur="checkInput"
|
|
9
|
-
|
|
9
|
+
:name="fieldName"
|
|
10
|
+
:id="fieldId"
|
|
11
|
+
:validation="validation"
|
|
12
|
+
class="pd-l-medium radius-extra flex-nowrap flex w-100 p-medium t-regular uppercase pd-thin"
|
|
10
13
|
>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
<slot></slot>
|
|
15
|
+
<Button
|
|
16
|
+
:submit="handleAction"
|
|
17
|
+
:showSucces="showSuccess"
|
|
18
|
+
:showLoader="showLoader"
|
|
19
|
+
:callback="callback"
|
|
20
|
+
:callbackDelay="callbackDelay"
|
|
21
|
+
class="t-nowrap t-medium radius-big uppercase cursor-pointer flex flex-v-center pd-thin w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main"
|
|
22
|
+
>
|
|
23
|
+
<span v-if="action" class="desktop-only mn-r-thin">{{action}}</span>
|
|
24
|
+
<IconArrow class="i-medium"/>
|
|
25
|
+
</Button>
|
|
18
26
|
</Field>
|
|
19
27
|
</template>
|
|
20
28
|
|
|
21
29
|
<script setup="props">
|
|
22
30
|
import { ref, watchEffect, onMounted } from 'vue'
|
|
23
31
|
import Field from '@martyrs/src/components/Field/Field.vue'
|
|
32
|
+
import Button from '@martyrs/src/components/Button/Button.vue'
|
|
24
33
|
import IconArrow from '@martyrs/src/modules/icons/navigation/IconArrow.vue'
|
|
25
34
|
import { useI18n } from 'vue-i18n'
|
|
26
35
|
|
|
36
|
+
// Генерируем уникальный ID для каждого экземпляра
|
|
37
|
+
const uniqueId = Math.random().toString(36).substr(2, 9)
|
|
38
|
+
|
|
27
39
|
const props = defineProps({
|
|
28
40
|
input: String,
|
|
29
41
|
placeholder: {
|
|
@@ -58,9 +70,41 @@
|
|
|
58
70
|
enableTyping: {
|
|
59
71
|
type: Boolean,
|
|
60
72
|
default: false
|
|
73
|
+
},
|
|
74
|
+
showLoader: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: true
|
|
77
|
+
},
|
|
78
|
+
showSuccess: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: true
|
|
81
|
+
},
|
|
82
|
+
callback: {
|
|
83
|
+
type: Function,
|
|
84
|
+
default: null
|
|
85
|
+
},
|
|
86
|
+
callbackDelay: {
|
|
87
|
+
type: Number,
|
|
88
|
+
default: 750
|
|
89
|
+
},
|
|
90
|
+
name: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: null
|
|
93
|
+
},
|
|
94
|
+
id: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: null
|
|
97
|
+
},
|
|
98
|
+
validation: {
|
|
99
|
+
type: [Object, Boolean],
|
|
100
|
+
default: false
|
|
61
101
|
}
|
|
62
102
|
});
|
|
63
103
|
|
|
104
|
+
// Уникальные имена для полей
|
|
105
|
+
const fieldName = props.name || `field-big-${uniqueId}`
|
|
106
|
+
const fieldId = props.id || `field-big-${uniqueId}`
|
|
107
|
+
|
|
64
108
|
const { t, locale } = useI18n()
|
|
65
109
|
|
|
66
110
|
let placeholderIndex = ref(0)
|
|
@@ -78,6 +122,16 @@
|
|
|
78
122
|
function emitAction() {
|
|
79
123
|
emit('action')
|
|
80
124
|
}
|
|
125
|
+
|
|
126
|
+
async function handleAction() {
|
|
127
|
+
const result = emit('action')
|
|
128
|
+
// Если обработчик вернул промис, ждем его
|
|
129
|
+
if (result && typeof result.then === 'function') {
|
|
130
|
+
return result
|
|
131
|
+
}
|
|
132
|
+
// Иначе возвращаем resolved промис
|
|
133
|
+
return Promise.resolve(result)
|
|
134
|
+
}
|
|
81
135
|
|
|
82
136
|
function updateInput(event) {
|
|
83
137
|
emit('update:input', event)
|