@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
|
5
|
-
;/* empty css
|
|
5
|
+
;/* empty css */
|
|
6
6
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
7
7
|
const orders = require("../../store/orders.cjs");
|
|
8
8
|
const auth = require("../../../auth/views/store/auth.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createBlock, createCommentVNode, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
/* empty css
|
|
3
|
+
/* empty css */
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
|
|
5
5
|
import { state, actions, getters } from "../../store/orders.js";
|
|
6
6
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
5
|
+
const StatusBadge = require("../../../../components/Table/StatusBadge.vue.cjs");
|
|
6
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
|
7
|
+
const mixins = require("../../../globals/views/mixins/mixins.cjs");
|
|
8
|
+
;/* empty css */
|
|
9
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
|
10
|
+
const _hoisted_1 = { class: "gap-small cols-1" };
|
|
11
|
+
const _hoisted_2 = { class: "gap-small" };
|
|
12
|
+
const _hoisted_3 = { class: "flex" };
|
|
13
|
+
const _hoisted_4 = { class: "flex" };
|
|
14
|
+
const _hoisted_5 = { class: "flex" };
|
|
15
|
+
const _hoisted_6 = { class: "flex" };
|
|
16
|
+
const _hoisted_7 = { class: "flex" };
|
|
17
|
+
const _hoisted_8 = { class: "gap-small" };
|
|
18
|
+
const _hoisted_9 = { class: "flex" };
|
|
19
|
+
const _hoisted_10 = { class: "flex" };
|
|
20
|
+
const _hoisted_11 = { key: 0 };
|
|
21
|
+
const _hoisted_12 = { class: "mn-t-thin" };
|
|
22
|
+
const _hoisted_13 = { key: 1 };
|
|
23
|
+
const _hoisted_14 = { class: "mn-t-thin" };
|
|
24
|
+
const _hoisted_15 = { class: "gap-thin flex mn-t-small" };
|
|
25
|
+
const _sfc_main = {
|
|
26
|
+
__name: "ApplicationDetails",
|
|
27
|
+
props: {
|
|
28
|
+
application: {
|
|
29
|
+
type: Object,
|
|
30
|
+
required: true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["edit", "delete"],
|
|
34
|
+
setup(__props) {
|
|
35
|
+
const { formatDate } = mixins.useGlobalMixins();
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
38
|
+
vue.createVNode(Block.default, { title: "Application Information" }, {
|
|
39
|
+
default: vue.withCtx(() => [
|
|
40
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
41
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
42
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Name:", -1)),
|
|
43
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.application.contacts?.name || "Not specified"), 1)
|
|
44
|
+
]),
|
|
45
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
46
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Email:", -1)),
|
|
47
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.application.contacts?.email || "Not specified"), 1)
|
|
48
|
+
]),
|
|
49
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
50
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
|
|
51
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.application.contacts?.phone || "Not specified"), 1)
|
|
52
|
+
]),
|
|
53
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
54
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
|
|
55
|
+
vue.createVNode(StatusBadge.default, {
|
|
56
|
+
value: {
|
|
57
|
+
text: __props.application.status,
|
|
58
|
+
color: __props.application.status === "completed" ? "#22c55e" : __props.application.status === "in_progress" ? "#f59e0b" : "#6b7280"
|
|
59
|
+
}
|
|
60
|
+
}, null, 8, ["value"])
|
|
61
|
+
]),
|
|
62
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
63
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Type:", -1)),
|
|
64
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.application.type || "Unknown"), 1)
|
|
65
|
+
])
|
|
66
|
+
])
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}),
|
|
70
|
+
vue.createVNode(Block.default, { title: "Additional Information" }, {
|
|
71
|
+
default: vue.withCtx(() => [
|
|
72
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
73
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
74
|
+
_cache[7] || (_cache[7] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Created:", -1)),
|
|
75
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatDate)(__props.application.createdAt)), 1)
|
|
76
|
+
]),
|
|
77
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
78
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Updated:", -1)),
|
|
79
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatDate)(__props.application.updatedAt)), 1)
|
|
80
|
+
]),
|
|
81
|
+
__props.application.text ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
|
|
82
|
+
_cache[9] || (_cache[9] = vue.createElementVNode("strong", null, "Message:", -1)),
|
|
83
|
+
vue.createElementVNode("p", _hoisted_12, vue.toDisplayString(__props.application.text), 1)
|
|
84
|
+
])) : vue.createCommentVNode("", true),
|
|
85
|
+
__props.application.chat ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
86
|
+
_cache[10] || (_cache[10] = vue.createElementVNode("strong", null, "Chat ID:", -1)),
|
|
87
|
+
vue.createElementVNode("p", _hoisted_14, vue.toDisplayString(__props.application.chat), 1)
|
|
88
|
+
])) : vue.createCommentVNode("", true)
|
|
89
|
+
])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
94
|
+
vue.createVNode(Button.default, {
|
|
95
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit")),
|
|
96
|
+
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
97
|
+
}, {
|
|
98
|
+
default: vue.withCtx(() => _cache[11] || (_cache[11] = [
|
|
99
|
+
vue.createTextVNode(" Edit ")
|
|
100
|
+
])),
|
|
101
|
+
_: 1
|
|
102
|
+
}),
|
|
103
|
+
vue.createVNode(Button.default, {
|
|
104
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("delete")),
|
|
105
|
+
class: "w-100 pd-small radius-big bg-danger t-white uppercase t-medium"
|
|
106
|
+
}, {
|
|
107
|
+
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
108
|
+
vue.createTextVNode(" Delete ")
|
|
109
|
+
])),
|
|
110
|
+
_: 1
|
|
111
|
+
})
|
|
112
|
+
])
|
|
113
|
+
]);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const ApplicationDetails = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-87cd1f42"]]);
|
|
118
|
+
exports.default = ApplicationDetails;
|
|
119
|
+
//# sourceMappingURL=ApplicationDetails.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDetails.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/ApplicationDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Application Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ application.contacts?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ application.contacts?.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ application.contacts?.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"{\n text: application.status,\n color: application.status === 'completed' ? '#22c55e' : application.status === 'in_progress' ? '#f59e0b' : '#6b7280'\n }\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ application.type || 'Unknown' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(application.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Updated:</strong>\n <span>{{ formatDate(application.updatedAt) }}</span>\n </div>\n <div v-if=\"application.text\">\n <strong>Message:</strong>\n <p class=\"mn-t-thin\">{{ application.text }}</p>\n </div>\n <div v-if=\"application.chat\">\n <strong>Chat ID:</strong>\n <p class=\"mn-t-thin\">{{ application.chat }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase t-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase t-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n application: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":["useGlobalMixins"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EA,UAAM,EAAE,WAAU,IAAKA,uBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, unref, createTextVNode } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
|
+
import StatusBadge from "../../../../components/Table/StatusBadge.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
|
5
|
+
import { useGlobalMixins } from "../../../globals/views/mixins/mixins.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const _hoisted_1 = { class: "gap-small cols-1" };
|
|
9
|
+
const _hoisted_2 = { class: "gap-small" };
|
|
10
|
+
const _hoisted_3 = { class: "flex" };
|
|
11
|
+
const _hoisted_4 = { class: "flex" };
|
|
12
|
+
const _hoisted_5 = { class: "flex" };
|
|
13
|
+
const _hoisted_6 = { class: "flex" };
|
|
14
|
+
const _hoisted_7 = { class: "flex" };
|
|
15
|
+
const _hoisted_8 = { class: "gap-small" };
|
|
16
|
+
const _hoisted_9 = { class: "flex" };
|
|
17
|
+
const _hoisted_10 = { class: "flex" };
|
|
18
|
+
const _hoisted_11 = { key: 0 };
|
|
19
|
+
const _hoisted_12 = { class: "mn-t-thin" };
|
|
20
|
+
const _hoisted_13 = { key: 1 };
|
|
21
|
+
const _hoisted_14 = { class: "mn-t-thin" };
|
|
22
|
+
const _hoisted_15 = { class: "gap-thin flex mn-t-small" };
|
|
23
|
+
const _sfc_main = {
|
|
24
|
+
__name: "ApplicationDetails",
|
|
25
|
+
props: {
|
|
26
|
+
application: {
|
|
27
|
+
type: Object,
|
|
28
|
+
required: true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
emits: ["edit", "delete"],
|
|
32
|
+
setup(__props) {
|
|
33
|
+
const { formatDate } = useGlobalMixins();
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
36
|
+
createVNode(_sfc_main$1, { title: "Application Information" }, {
|
|
37
|
+
default: withCtx(() => [
|
|
38
|
+
createElementVNode("div", _hoisted_2, [
|
|
39
|
+
createElementVNode("div", _hoisted_3, [
|
|
40
|
+
_cache[2] || (_cache[2] = createElementVNode("strong", { class: "mn-r-auto" }, "Name:", -1)),
|
|
41
|
+
createElementVNode("span", null, toDisplayString(__props.application.contacts?.name || "Not specified"), 1)
|
|
42
|
+
]),
|
|
43
|
+
createElementVNode("div", _hoisted_4, [
|
|
44
|
+
_cache[3] || (_cache[3] = createElementVNode("strong", { class: "mn-r-auto" }, "Email:", -1)),
|
|
45
|
+
createElementVNode("span", null, toDisplayString(__props.application.contacts?.email || "Not specified"), 1)
|
|
46
|
+
]),
|
|
47
|
+
createElementVNode("div", _hoisted_5, [
|
|
48
|
+
_cache[4] || (_cache[4] = createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
|
|
49
|
+
createElementVNode("span", null, toDisplayString(__props.application.contacts?.phone || "Not specified"), 1)
|
|
50
|
+
]),
|
|
51
|
+
createElementVNode("div", _hoisted_6, [
|
|
52
|
+
_cache[5] || (_cache[5] = createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
|
|
53
|
+
createVNode(StatusBadge, {
|
|
54
|
+
value: {
|
|
55
|
+
text: __props.application.status,
|
|
56
|
+
color: __props.application.status === "completed" ? "#22c55e" : __props.application.status === "in_progress" ? "#f59e0b" : "#6b7280"
|
|
57
|
+
}
|
|
58
|
+
}, null, 8, ["value"])
|
|
59
|
+
]),
|
|
60
|
+
createElementVNode("div", _hoisted_7, [
|
|
61
|
+
_cache[6] || (_cache[6] = createElementVNode("strong", { class: "mn-r-auto" }, "Type:", -1)),
|
|
62
|
+
createElementVNode("span", null, toDisplayString(__props.application.type || "Unknown"), 1)
|
|
63
|
+
])
|
|
64
|
+
])
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
}),
|
|
68
|
+
createVNode(_sfc_main$1, { title: "Additional Information" }, {
|
|
69
|
+
default: withCtx(() => [
|
|
70
|
+
createElementVNode("div", _hoisted_8, [
|
|
71
|
+
createElementVNode("div", _hoisted_9, [
|
|
72
|
+
_cache[7] || (_cache[7] = createElementVNode("strong", { class: "mn-r-auto" }, "Created:", -1)),
|
|
73
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.application.createdAt)), 1)
|
|
74
|
+
]),
|
|
75
|
+
createElementVNode("div", _hoisted_10, [
|
|
76
|
+
_cache[8] || (_cache[8] = createElementVNode("strong", { class: "mn-r-auto" }, "Updated:", -1)),
|
|
77
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.application.updatedAt)), 1)
|
|
78
|
+
]),
|
|
79
|
+
__props.application.text ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
80
|
+
_cache[9] || (_cache[9] = createElementVNode("strong", null, "Message:", -1)),
|
|
81
|
+
createElementVNode("p", _hoisted_12, toDisplayString(__props.application.text), 1)
|
|
82
|
+
])) : createCommentVNode("", true),
|
|
83
|
+
__props.application.chat ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
84
|
+
_cache[10] || (_cache[10] = createElementVNode("strong", null, "Chat ID:", -1)),
|
|
85
|
+
createElementVNode("p", _hoisted_14, toDisplayString(__props.application.chat), 1)
|
|
86
|
+
])) : createCommentVNode("", true)
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}),
|
|
91
|
+
createElementVNode("div", _hoisted_15, [
|
|
92
|
+
createVNode(_sfc_main$2, {
|
|
93
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit")),
|
|
94
|
+
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
95
|
+
}, {
|
|
96
|
+
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
97
|
+
createTextVNode(" Edit ")
|
|
98
|
+
])),
|
|
99
|
+
_: 1
|
|
100
|
+
}),
|
|
101
|
+
createVNode(_sfc_main$2, {
|
|
102
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("delete")),
|
|
103
|
+
class: "w-100 pd-small radius-big bg-danger t-white uppercase t-medium"
|
|
104
|
+
}, {
|
|
105
|
+
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
106
|
+
createTextVNode(" Delete ")
|
|
107
|
+
])),
|
|
108
|
+
_: 1
|
|
109
|
+
})
|
|
110
|
+
])
|
|
111
|
+
]);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const ApplicationDetails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-87cd1f42"]]);
|
|
116
|
+
export {
|
|
117
|
+
ApplicationDetails as default
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=ApplicationDetails.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/ApplicationDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Application Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ application.contacts?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ application.contacts?.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ application.contacts?.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"{\n text: application.status,\n color: application.status === 'completed' ? '#22c55e' : application.status === 'in_progress' ? '#f59e0b' : '#6b7280'\n }\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ application.type || 'Unknown' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(application.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Updated:</strong>\n <span>{{ formatDate(application.updatedAt) }}</span>\n </div>\n <div v-if=\"application.text\">\n <strong>Message:</strong>\n <p class=\"mn-t-thin\">{{ application.text }}</p>\n </div>\n <div v-if=\"application.chat\">\n <strong>Chat ID:</strong>\n <p class=\"mn-t-thin\">{{ application.chat }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase t-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase t-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n application: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EA,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
5
|
+
const StatusBadge = require("../../../../components/Table/StatusBadge.vue.cjs");
|
|
6
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
|
7
|
+
const mixins = require("../../../globals/views/mixins/mixins.cjs");
|
|
8
|
+
;/* empty css */
|
|
9
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
|
10
|
+
const _hoisted_1 = { class: "gap-small cols-1" };
|
|
11
|
+
const _hoisted_2 = { class: "gap-small" };
|
|
12
|
+
const _hoisted_3 = { class: "flex" };
|
|
13
|
+
const _hoisted_4 = { class: "flex" };
|
|
14
|
+
const _hoisted_5 = { class: "flex" };
|
|
15
|
+
const _hoisted_6 = { class: "flex" };
|
|
16
|
+
const _hoisted_7 = { class: "flex" };
|
|
17
|
+
const _hoisted_8 = { class: "flex" };
|
|
18
|
+
const _hoisted_9 = { class: "gap-small" };
|
|
19
|
+
const _hoisted_10 = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "flex"
|
|
22
|
+
};
|
|
23
|
+
const _hoisted_11 = { class: "flex" };
|
|
24
|
+
const _hoisted_12 = { class: "flex" };
|
|
25
|
+
const _hoisted_13 = { key: 1 };
|
|
26
|
+
const _hoisted_14 = { class: "flex flex-wrap gap-nano mn-t-thin" };
|
|
27
|
+
const _hoisted_15 = { key: 2 };
|
|
28
|
+
const _hoisted_16 = { class: "mn-t-thin" };
|
|
29
|
+
const _hoisted_17 = { class: "gap-thin flex mn-t-small" };
|
|
30
|
+
const _sfc_main = {
|
|
31
|
+
__name: "CustomerDetails",
|
|
32
|
+
props: {
|
|
33
|
+
customer: {
|
|
34
|
+
type: Object,
|
|
35
|
+
required: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: ["edit", "delete"],
|
|
39
|
+
setup(__props) {
|
|
40
|
+
const { formatDate } = mixins.useGlobalMixins();
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
43
|
+
vue.createVNode(Block.default, { title: "Customer Information" }, {
|
|
44
|
+
default: vue.withCtx(() => [
|
|
45
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
46
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
47
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Name:", -1)),
|
|
48
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.profile?.name || "Not specified"), 1)
|
|
49
|
+
]),
|
|
50
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
51
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Email:", -1)),
|
|
52
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.email || "Not specified"), 1)
|
|
53
|
+
]),
|
|
54
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
55
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
|
|
56
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.phone || "Not specified"), 1)
|
|
57
|
+
]),
|
|
58
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
59
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
|
|
60
|
+
vue.createVNode(StatusBadge.default, {
|
|
61
|
+
value: {
|
|
62
|
+
text: __props.customer.status,
|
|
63
|
+
color: __props.customer.status === "active" ? "#22c55e" : __props.customer.status === "inactive" ? "#f59e0b" : "#ef4444"
|
|
64
|
+
}
|
|
65
|
+
}, null, 8, ["value"])
|
|
66
|
+
]),
|
|
67
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
68
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Source:", -1)),
|
|
69
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.source || "Unknown"), 1)
|
|
70
|
+
]),
|
|
71
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
72
|
+
_cache[7] || (_cache[7] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Type:", -1)),
|
|
73
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.identity?.type || "Visitor"), 1)
|
|
74
|
+
])
|
|
75
|
+
])
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
vue.createVNode(Block.default, { title: "Additional Information" }, {
|
|
80
|
+
default: vue.withCtx(() => [
|
|
81
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
82
|
+
__props.customer.referral?.code ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
83
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Referral Code:", -1)),
|
|
84
|
+
vue.createElementVNode("span", null, vue.toDisplayString(__props.customer.referral.code), 1)
|
|
85
|
+
])) : vue.createCommentVNode("", true),
|
|
86
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
87
|
+
_cache[9] || (_cache[9] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Created:", -1)),
|
|
88
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatDate)(__props.customer.createdAt)), 1)
|
|
89
|
+
]),
|
|
90
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
91
|
+
_cache[10] || (_cache[10] = vue.createElementVNode("strong", { class: "mn-r-auto" }, "Last Activity:", -1)),
|
|
92
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatDate)(__props.customer.lastActivity || __props.customer.updatedAt)), 1)
|
|
93
|
+
]),
|
|
94
|
+
__props.customer.tags && __props.customer.tags.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
|
95
|
+
_cache[11] || (_cache[11] = vue.createElementVNode("strong", null, "Tags:", -1)),
|
|
96
|
+
vue.createElementVNode("div", _hoisted_14, [
|
|
97
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.customer.tags, (tag) => {
|
|
98
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
|
99
|
+
key: tag,
|
|
100
|
+
class: "bg-light pd-nano radius-small t-small"
|
|
101
|
+
}, vue.toDisplayString(tag), 1);
|
|
102
|
+
}), 128))
|
|
103
|
+
])
|
|
104
|
+
])) : vue.createCommentVNode("", true),
|
|
105
|
+
__props.customer.notes ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
|
106
|
+
_cache[12] || (_cache[12] = vue.createElementVNode("strong", null, "Notes:", -1)),
|
|
107
|
+
vue.createElementVNode("p", _hoisted_16, vue.toDisplayString(__props.customer.notes), 1)
|
|
108
|
+
])) : vue.createCommentVNode("", true)
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}),
|
|
113
|
+
vue.createElementVNode("div", _hoisted_17, [
|
|
114
|
+
vue.createVNode(Button.default, {
|
|
115
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit")),
|
|
116
|
+
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
117
|
+
}, {
|
|
118
|
+
default: vue.withCtx(() => _cache[13] || (_cache[13] = [
|
|
119
|
+
vue.createTextVNode(" Edit ")
|
|
120
|
+
])),
|
|
121
|
+
_: 1
|
|
122
|
+
}),
|
|
123
|
+
vue.createVNode(Button.default, {
|
|
124
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("delete")),
|
|
125
|
+
class: "w-100 pd-small radius-big bg-danger t-white uppercase t-medium"
|
|
126
|
+
}, {
|
|
127
|
+
default: vue.withCtx(() => _cache[14] || (_cache[14] = [
|
|
128
|
+
vue.createTextVNode(" Delete ")
|
|
129
|
+
])),
|
|
130
|
+
_: 1
|
|
131
|
+
})
|
|
132
|
+
])
|
|
133
|
+
]);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
const CustomerDetails = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b2a5e9a6"]]);
|
|
138
|
+
exports.default = CustomerDetails;
|
|
139
|
+
//# sourceMappingURL=CustomerDetails.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerDetails.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/CustomerDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Customer Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ customer.profile?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ customer.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ customer.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"{\n text: customer.status,\n color: customer.status === 'active' ? '#22c55e' : customer.status === 'inactive' ? '#f59e0b' : '#ef4444'\n }\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Source:</strong>\n <span>{{ customer.source || 'Unknown' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ customer.identity?.type || 'Visitor' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div v-if=\"customer.referral?.code\" class=\"flex\">\n <strong class=\"mn-r-auto\">Referral Code:</strong>\n <span>{{ customer.referral.code }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(customer.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Last Activity:</strong>\n <span>{{ formatDate(customer.lastActivity || customer.updatedAt) }}</span>\n </div>\n <div v-if=\"customer.tags && customer.tags.length > 0\">\n <strong>Tags:</strong>\n <div class=\"flex flex-wrap gap-nano mn-t-thin\">\n <span \n v-for=\"tag in customer.tags\" \n :key=\"tag\"\n class=\"bg-light pd-nano radius-small t-small\"\n >\n {{ tag }}\n </span>\n </div>\n </div>\n <div v-if=\"customer.notes\">\n <strong>Notes:</strong>\n <p class=\"mn-t-thin\">{{ customer.notes }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase t-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase t-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n customer: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":["useGlobalMixins"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FA,UAAM,EAAE,WAAU,IAAKA,uBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, unref, Fragment, renderList, createTextVNode } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
|
+
import StatusBadge from "../../../../components/Table/StatusBadge.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
|
5
|
+
import { useGlobalMixins } from "../../../globals/views/mixins/mixins.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const _hoisted_1 = { class: "gap-small cols-1" };
|
|
9
|
+
const _hoisted_2 = { class: "gap-small" };
|
|
10
|
+
const _hoisted_3 = { class: "flex" };
|
|
11
|
+
const _hoisted_4 = { class: "flex" };
|
|
12
|
+
const _hoisted_5 = { class: "flex" };
|
|
13
|
+
const _hoisted_6 = { class: "flex" };
|
|
14
|
+
const _hoisted_7 = { class: "flex" };
|
|
15
|
+
const _hoisted_8 = { class: "flex" };
|
|
16
|
+
const _hoisted_9 = { class: "gap-small" };
|
|
17
|
+
const _hoisted_10 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "flex"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_11 = { class: "flex" };
|
|
22
|
+
const _hoisted_12 = { class: "flex" };
|
|
23
|
+
const _hoisted_13 = { key: 1 };
|
|
24
|
+
const _hoisted_14 = { class: "flex flex-wrap gap-nano mn-t-thin" };
|
|
25
|
+
const _hoisted_15 = { key: 2 };
|
|
26
|
+
const _hoisted_16 = { class: "mn-t-thin" };
|
|
27
|
+
const _hoisted_17 = { class: "gap-thin flex mn-t-small" };
|
|
28
|
+
const _sfc_main = {
|
|
29
|
+
__name: "CustomerDetails",
|
|
30
|
+
props: {
|
|
31
|
+
customer: {
|
|
32
|
+
type: Object,
|
|
33
|
+
required: true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
emits: ["edit", "delete"],
|
|
37
|
+
setup(__props) {
|
|
38
|
+
const { formatDate } = useGlobalMixins();
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
41
|
+
createVNode(_sfc_main$1, { title: "Customer Information" }, {
|
|
42
|
+
default: withCtx(() => [
|
|
43
|
+
createElementVNode("div", _hoisted_2, [
|
|
44
|
+
createElementVNode("div", _hoisted_3, [
|
|
45
|
+
_cache[2] || (_cache[2] = createElementVNode("strong", { class: "mn-r-auto" }, "Name:", -1)),
|
|
46
|
+
createElementVNode("span", null, toDisplayString(__props.customer.profile?.name || "Not specified"), 1)
|
|
47
|
+
]),
|
|
48
|
+
createElementVNode("div", _hoisted_4, [
|
|
49
|
+
_cache[3] || (_cache[3] = createElementVNode("strong", { class: "mn-r-auto" }, "Email:", -1)),
|
|
50
|
+
createElementVNode("span", null, toDisplayString(__props.customer.email || "Not specified"), 1)
|
|
51
|
+
]),
|
|
52
|
+
createElementVNode("div", _hoisted_5, [
|
|
53
|
+
_cache[4] || (_cache[4] = createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
|
|
54
|
+
createElementVNode("span", null, toDisplayString(__props.customer.phone || "Not specified"), 1)
|
|
55
|
+
]),
|
|
56
|
+
createElementVNode("div", _hoisted_6, [
|
|
57
|
+
_cache[5] || (_cache[5] = createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
|
|
58
|
+
createVNode(StatusBadge, {
|
|
59
|
+
value: {
|
|
60
|
+
text: __props.customer.status,
|
|
61
|
+
color: __props.customer.status === "active" ? "#22c55e" : __props.customer.status === "inactive" ? "#f59e0b" : "#ef4444"
|
|
62
|
+
}
|
|
63
|
+
}, null, 8, ["value"])
|
|
64
|
+
]),
|
|
65
|
+
createElementVNode("div", _hoisted_7, [
|
|
66
|
+
_cache[6] || (_cache[6] = createElementVNode("strong", { class: "mn-r-auto" }, "Source:", -1)),
|
|
67
|
+
createElementVNode("span", null, toDisplayString(__props.customer.source || "Unknown"), 1)
|
|
68
|
+
]),
|
|
69
|
+
createElementVNode("div", _hoisted_8, [
|
|
70
|
+
_cache[7] || (_cache[7] = createElementVNode("strong", { class: "mn-r-auto" }, "Type:", -1)),
|
|
71
|
+
createElementVNode("span", null, toDisplayString(__props.customer.identity?.type || "Visitor"), 1)
|
|
72
|
+
])
|
|
73
|
+
])
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
}),
|
|
77
|
+
createVNode(_sfc_main$1, { title: "Additional Information" }, {
|
|
78
|
+
default: withCtx(() => [
|
|
79
|
+
createElementVNode("div", _hoisted_9, [
|
|
80
|
+
__props.customer.referral?.code ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
81
|
+
_cache[8] || (_cache[8] = createElementVNode("strong", { class: "mn-r-auto" }, "Referral Code:", -1)),
|
|
82
|
+
createElementVNode("span", null, toDisplayString(__props.customer.referral.code), 1)
|
|
83
|
+
])) : createCommentVNode("", true),
|
|
84
|
+
createElementVNode("div", _hoisted_11, [
|
|
85
|
+
_cache[9] || (_cache[9] = createElementVNode("strong", { class: "mn-r-auto" }, "Created:", -1)),
|
|
86
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.customer.createdAt)), 1)
|
|
87
|
+
]),
|
|
88
|
+
createElementVNode("div", _hoisted_12, [
|
|
89
|
+
_cache[10] || (_cache[10] = createElementVNode("strong", { class: "mn-r-auto" }, "Last Activity:", -1)),
|
|
90
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.customer.lastActivity || __props.customer.updatedAt)), 1)
|
|
91
|
+
]),
|
|
92
|
+
__props.customer.tags && __props.customer.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
93
|
+
_cache[11] || (_cache[11] = createElementVNode("strong", null, "Tags:", -1)),
|
|
94
|
+
createElementVNode("div", _hoisted_14, [
|
|
95
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.customer.tags, (tag) => {
|
|
96
|
+
return openBlock(), createElementBlock("span", {
|
|
97
|
+
key: tag,
|
|
98
|
+
class: "bg-light pd-nano radius-small t-small"
|
|
99
|
+
}, toDisplayString(tag), 1);
|
|
100
|
+
}), 128))
|
|
101
|
+
])
|
|
102
|
+
])) : createCommentVNode("", true),
|
|
103
|
+
__props.customer.notes ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
104
|
+
_cache[12] || (_cache[12] = createElementVNode("strong", null, "Notes:", -1)),
|
|
105
|
+
createElementVNode("p", _hoisted_16, toDisplayString(__props.customer.notes), 1)
|
|
106
|
+
])) : createCommentVNode("", true)
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}),
|
|
111
|
+
createElementVNode("div", _hoisted_17, [
|
|
112
|
+
createVNode(_sfc_main$2, {
|
|
113
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit")),
|
|
114
|
+
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
115
|
+
}, {
|
|
116
|
+
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
117
|
+
createTextVNode(" Edit ")
|
|
118
|
+
])),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
createVNode(_sfc_main$2, {
|
|
122
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("delete")),
|
|
123
|
+
class: "w-100 pd-small radius-big bg-danger t-white uppercase t-medium"
|
|
124
|
+
}, {
|
|
125
|
+
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
126
|
+
createTextVNode(" Delete ")
|
|
127
|
+
])),
|
|
128
|
+
_: 1
|
|
129
|
+
})
|
|
130
|
+
])
|
|
131
|
+
]);
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
const CustomerDetails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2a5e9a6"]]);
|
|
136
|
+
export {
|
|
137
|
+
CustomerDetails as default
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=CustomerDetails.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomerDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/CustomerDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Customer Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ customer.profile?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ customer.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ customer.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"{\n text: customer.status,\n color: customer.status === 'active' ? '#22c55e' : customer.status === 'inactive' ? '#f59e0b' : '#ef4444'\n }\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Source:</strong>\n <span>{{ customer.source || 'Unknown' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ customer.identity?.type || 'Visitor' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div v-if=\"customer.referral?.code\" class=\"flex\">\n <strong class=\"mn-r-auto\">Referral Code:</strong>\n <span>{{ customer.referral.code }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(customer.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Last Activity:</strong>\n <span>{{ formatDate(customer.lastActivity || customer.updatedAt) }}</span>\n </div>\n <div v-if=\"customer.tags && customer.tags.length > 0\">\n <strong>Tags:</strong>\n <div class=\"flex flex-wrap gap-nano mn-t-thin\">\n <span \n v-for=\"tag in customer.tags\" \n :key=\"tag\"\n class=\"bg-light pd-nano radius-small t-small\"\n >\n {{ tag }}\n </span>\n </div>\n </div>\n <div v-if=\"customer.notes\">\n <strong>Notes:</strong>\n <p class=\"mn-t-thin\">{{ customer.notes }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase t-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase t-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n customer: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FA,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -8,10 +8,8 @@ const vueRouter = require("vue-router");
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
|
10
10
|
const Radio = require("../../../../components/Radio/Radio.vue.cjs");
|
|
11
|
-
;/* empty css
|
|
11
|
+
;/* empty css */
|
|
12
12
|
;/* empty css */
|
|
13
|
-
;/* empty css */
|
|
14
|
-
;/* empty css */
|
|
15
13
|
;/* empty css */
|
|
16
14
|
;/* empty css */
|
|
17
15
|
const CardSpot = require("../../../spots/components/blocks/CardSpot.vue.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormDelivery.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\">\n <h5 class=\"font-second mn-b-thin\">Select delivery type</h5>\n \n <div class=\"mn-b-small flex-nowrap flex\" v-if=\"availableDeliveryTypes.length\">\n <Radio \n v-for=\"type in availableDeliveryTypes\"\n :key=\"type\"\n v-model:radio=\"order.delivery.type\"\n :label=\"capitalize(type)\"\n :value=\"type\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n </div>\n <div v-else>No delivery options available.</div>\n\n <!-- Раздел для Pickup -->\n <template v-if=\"order.delivery.type === 'pickup'\">\n <h5 class=\"font-second mn-b-thin\">Select pickup spot</h5>\n <CardSpot\n v-for=\"(spot, index) in organization?.spots.filter(item => item.delivery?.includes('pickup'))\"\n :key=\"index\"\n :spot=\"spot\"\n :organization=\"order.organization\"\n :editAcess=\"false\"\n :showDeliveryOptions=\"false\"\n :showPaymentOptions=\"false\"\n :selected=\"order.delivery.spot === spot._id\"\n @click=\"() => order.delivery.spot = order.delivery.spot === spot._id ? null : spot._id\"\n class=\"mn-b-thin radius-medium o-hidden bg-white\"\n />\n </template>\n\n <!-- Раздел для Courier -->\n <template v-else-if=\"order.delivery.type === 'courier' || order.delivery.type === 'post'\">\n <h5 class=\"font-second mn-b-thin\">Address</h5>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => { order.delivery.location = newLocation; }\"\n @update:address=\"newAddress => { order.delivery.address = newAddress; }\"\n />\n <!-- Карта доставки -->\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => { \n if (order.delivery.type === 'courier') order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => { \n if (order.delivery.type === 'courier') order.delivery.address = newAddress;\n }\"\n />\n </template>\n <!-- Комментарии -->\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { watch, computed, onMounted } from 'vue';\nimport { useRoute } from 'vue-router';\n\nimport Feed from '@martyrs/src/components/Feed/Feed.vue';\nimport CardSpot from '@martyrs/src/modules/spots/components/blocks/CardSpot.vue'; \nimport * as spotsModule from '@martyrs/src/modules/spots/store/spots.js';\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js';\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport Address from '@martyrs/src/components/Address/Address.vue';\nimport LocationMarker from '@martyrs/src/components/LocationMarker/LocationMarker.vue';\nimport Radio from '@martyrs/src/components/Radio/Radio.vue';\nimport Field from '@martyrs/src/components/Field/Field.vue';\n\nconst props = defineProps({\n order: Object,\n organization: Object,\n});\n\nconst route = useRoute();\n\n// Сбрасываем spot при переключении типа доставки\nwatch(() => props.order.delivery.type, (newType) => {\n if (newType !== 'pickup') {\n props.order.delivery.spot = null;\n }\n});\n\n// Устанавливаем начальные данные из globals при монтировании\nonMounted(() => {\n if (globals.state.position) {\n props.order.delivery.address = globals.state.position.address;\n props.order.delivery.location = globals.state.position.location;\n }\n});\n\nconst availableDeliveryTypes = computed(() => {\n const types = new Set()\n props.organization?.spots?.forEach(spot => {\n spot.delivery?.forEach(type => types.add(type))\n })\n return Array.from(types)\n})\n\nfunction capitalize(str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n}\n\n</script>"],"names":["useRoute","watch","onMounted","globals.state","computed"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormDelivery.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\">\n <h5 class=\"font-second mn-b-thin\">Select delivery type</h5>\n \n <div class=\"mn-b-small flex-nowrap flex\" v-if=\"availableDeliveryTypes.length\">\n <Radio \n v-for=\"type in availableDeliveryTypes\"\n :key=\"type\"\n v-model:radio=\"order.delivery.type\"\n :label=\"capitalize(type)\"\n :value=\"type\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n </div>\n <div v-else>No delivery options available.</div>\n\n <!-- Раздел для Pickup -->\n <template v-if=\"order.delivery.type === 'pickup'\">\n <h5 class=\"font-second mn-b-thin\">Select pickup spot</h5>\n <CardSpot\n v-for=\"(spot, index) in organization?.spots.filter(item => item.delivery?.includes('pickup'))\"\n :key=\"index\"\n :spot=\"spot\"\n :organization=\"order.organization\"\n :editAcess=\"false\"\n :showDeliveryOptions=\"false\"\n :showPaymentOptions=\"false\"\n :selected=\"order.delivery.spot === spot._id\"\n @click=\"() => order.delivery.spot = order.delivery.spot === spot._id ? null : spot._id\"\n class=\"mn-b-thin radius-medium o-hidden bg-white\"\n />\n </template>\n\n <!-- Раздел для Courier -->\n <template v-else-if=\"order.delivery.type === 'courier' || order.delivery.type === 'post'\">\n <h5 class=\"font-second mn-b-thin\">Address</h5>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => { order.delivery.location = newLocation; }\"\n @update:address=\"newAddress => { order.delivery.address = newAddress; }\"\n />\n <!-- Карта доставки -->\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => { \n if (order.delivery.type === 'courier') order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => { \n if (order.delivery.type === 'courier') order.delivery.address = newAddress;\n }\"\n />\n </template>\n <!-- Комментарии -->\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { watch, computed, onMounted } from 'vue';\nimport { useRoute } from 'vue-router';\n\nimport Feed from '@martyrs/src/components/Feed/Feed.vue';\nimport CardSpot from '@martyrs/src/modules/spots/components/blocks/CardSpot.vue'; \nimport * as spotsModule from '@martyrs/src/modules/spots/store/spots.js';\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js';\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport Address from '@martyrs/src/components/Address/Address.vue';\nimport LocationMarker from '@martyrs/src/components/LocationMarker/LocationMarker.vue';\nimport Radio from '@martyrs/src/components/Radio/Radio.vue';\nimport Field from '@martyrs/src/components/Field/Field.vue';\n\nconst props = defineProps({\n order: Object,\n organization: Object,\n});\n\nconst route = useRoute();\n\n// Сбрасываем spot при переключении типа доставки\nwatch(() => props.order.delivery.type, (newType) => {\n if (newType !== 'pickup') {\n props.order.delivery.spot = null;\n }\n});\n\n// Устанавливаем начальные данные из globals при монтировании\nonMounted(() => {\n if (globals.state.position) {\n props.order.delivery.address = globals.state.position.address;\n props.order.delivery.location = globals.state.position.location;\n }\n});\n\nconst availableDeliveryTypes = computed(() => {\n const types = new Set()\n props.organization?.spots?.forEach(spot => {\n spot.delivery?.forEach(type => types.add(type))\n })\n return Array.from(types)\n})\n\nfunction capitalize(str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n}\n\n</script>"],"names":["useRoute","watch","onMounted","globals.state","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFA,UAAM,QAAQ;AAKAA,cAAAA,SAAQ;AAGtBC,QAAAA,MAAM,MAAM,MAAM,MAAM,SAAS,MAAM,CAAC,YAAY;AAClD,UAAI,YAAY,UAAU;AACxB,cAAM,MAAM,SAAS,OAAO;AAAA,MAC9B;AAAA,IACF,CAAC;AAGDC,QAAAA,UAAU,MAAM;AACd,UAAIC,QAAAA,MAAc,UAAU;AAC1B,cAAM,MAAM,SAAS,UAAUA,QAAAA,MAAc,SAAS;AACtD,cAAM,MAAM,SAAS,WAAWA,QAAAA,MAAc,SAAS;AAAA,MACzD;AAAA,IACF,CAAC;AAED,UAAM,yBAAyBC,IAAAA,SAAS,MAAM;AAC5C,YAAM,QAAQ,oBAAI,IAAG;AACrB,YAAM,cAAc,OAAO,QAAQ,UAAQ;AACzC,aAAK,UAAU,QAAQ,UAAQ,MAAM,IAAI,IAAI,CAAC;AAAA,MAChD,CAAC;AACD,aAAO,MAAM,KAAK,KAAK;AAAA,IACzB,CAAC;AAED,aAAS,WAAW,KAAK;AACvB,aAAO,IAAI,OAAO,CAAC,EAAE,gBAAgB,IAAI,MAAM,CAAC;AAAA,IAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|