@ozdao/martyrs 0.2.505 → 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/_virtual/index.cjs +4 -4
- package/dist/_virtual/index.js +4 -4
- package/dist/_virtual/index2.cjs +4 -4
- package/dist/_virtual/index2.js +4 -4
- 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-CJm5myDI.js → main-Dq-UfO4G.js} +2562 -2477
- package/dist/martyrs/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js +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/Feed/Carousel.vue.cjs +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +15 -46
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +22 -53
- 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/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue2.cjs → Loader.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js.map → Loader.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- 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/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +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 +11 -15
- 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 +21 -25
- 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 +12 -16
- 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 +33 -37
- 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/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/pages/EditEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.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.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
- 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/{BlockMultiselect.vue2.cjs → BlockMultiselect.vue.cjs} +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/{BlockMultiselect.vue2.js.map → BlockMultiselect.vue.cjs.map} +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/{BlockMultiselect.vue2.js → BlockMultiselect.vue.js} +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js.map +1 -0
- 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/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/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/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/Inventory.vue.cjs +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/marketplace/views/components/sections/SectionMenu.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.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 +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
- 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/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/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/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/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/OrderCreate.vue.cjs +9 -8
- 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 +9 -8
- 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 +8 -82
- 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 +9 -83
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +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/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- 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 +18 -194
- 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 +19 -195
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +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/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- 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 +5 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +5 -1
- 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/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/elements/Image360.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +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 +27 -18
- 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 +27 -18
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +361 -106
- 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 +379 -124
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +20 -6
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -6
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +32 -2
- 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 +33 -3
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
- 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/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- 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/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.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 +439 -255
- package/dist/products.server.js +439 -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-Dkk0_7TA.js → web-BXajFCU2.js} +1 -1
- package/dist/{web-stVkXd0l.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/FieldPhone/FieldPhone.vue +1 -1
- 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/events/components/pages/EventsBackoffice.vue +1 -1
- 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 +5 -76
- 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 +11 -202
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- 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 +415 -174
- package/src/modules/products/components/sections/EditVariants.vue +14 -0
- 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/middlewares/variants.verifier.js +12 -0
- 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/models/variant.model.js +3 -0
- 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/reports/components/sections/FormReport.vue +1 -1
- 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-DTaE01lg.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/Loader/Loader.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue2.cjs.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
|
@@ -1,51 +1,47 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import Field from "../../../../../components/Field/Field.vue.js";
|
|
3
3
|
import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
|
|
4
4
|
import _sfc_main$1 from "../../../../../components/UploadImage/UploadImage.vue.js";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
const _hoisted_1 = {
|
|
9
|
-
|
|
10
|
-
class: "for-transition w-100"
|
|
11
|
-
};
|
|
12
|
-
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
5
|
+
import { useRouter } from "vue-router";
|
|
6
|
+
import "../../store/auth.js";
|
|
7
|
+
import { state, actions } from "../../store/users.js";
|
|
8
|
+
const _hoisted_1 = { class: "for-transition w-100" };
|
|
9
|
+
const _hoisted_2 = { class: "bg-white mn-b-thin" };
|
|
13
10
|
const _hoisted_3 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
|
|
14
11
|
const _hoisted_4 = { class: "mn-b-semi" };
|
|
15
|
-
const _hoisted_5 = { class: "bg-white mn-b-thin
|
|
12
|
+
const _hoisted_5 = { class: "bg-white mn-b-thin" };
|
|
16
13
|
const _sfc_main = {
|
|
17
14
|
__name: "ProfileEditProfile",
|
|
15
|
+
props: {
|
|
16
|
+
userData: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
18
21
|
setup(__props) {
|
|
19
|
-
const route = useRoute();
|
|
20
22
|
const router = useRouter();
|
|
21
|
-
const show = ref(false);
|
|
22
|
-
onMounted(async () => {
|
|
23
|
-
const userId = route.params._id || state.user._id;
|
|
24
|
-
await actions.read({ _id: userId, user: state.user._id });
|
|
25
|
-
show.value = true;
|
|
26
|
-
});
|
|
27
23
|
async function onSubmit() {
|
|
28
|
-
await actions.update(state
|
|
24
|
+
await actions.update(state.current);
|
|
29
25
|
}
|
|
30
26
|
function redirectTo() {
|
|
31
27
|
router.back();
|
|
32
28
|
}
|
|
33
29
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
30
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
35
31
|
createElementVNode("div", _hoisted_2, [
|
|
36
32
|
_cache[9] || (_cache[9] = createElementVNode("h4", { class: "mn-b-small" }, "Profile", -1)),
|
|
37
33
|
createElementVNode("div", _hoisted_3, [
|
|
38
34
|
createVNode(_sfc_main$1, {
|
|
39
|
-
photo: state
|
|
40
|
-
"onUpdate:photo": _cache[0] || (_cache[0] = ($event) => state
|
|
41
|
-
uploadPath: "users/" + state
|
|
35
|
+
photo: state.current.profile.photo,
|
|
36
|
+
"onUpdate:photo": _cache[0] || (_cache[0] = ($event) => state.current.profile.photo = $event),
|
|
37
|
+
uploadPath: "users/" + state.current._id + "/avatars",
|
|
42
38
|
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
|
43
39
|
}, null, 8, ["photo", "uploadPath"]),
|
|
44
40
|
_cache[8] || (_cache[8] = createElementVNode("h4", null, "Upload userpic", -1))
|
|
45
41
|
]),
|
|
46
42
|
createVNode(Field, {
|
|
47
|
-
field: state
|
|
48
|
-
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => state
|
|
43
|
+
field: state.current.username,
|
|
44
|
+
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => state.current.username = $event),
|
|
49
45
|
label: "@",
|
|
50
46
|
placeholder: "Not specified",
|
|
51
47
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small",
|
|
@@ -53,16 +49,16 @@ const _sfc_main = {
|
|
|
53
49
|
}, null, 8, ["field", "validation"]),
|
|
54
50
|
createElementVNode("p", _hoisted_4, "Your username will be used for URL of profile like " + toDisplayString(_ctx.API_URL) + "/users/username", 1),
|
|
55
51
|
createVNode(Field, {
|
|
56
|
-
field: state
|
|
57
|
-
"onUpdate:field": _cache[2] || (_cache[2] = ($event) => state
|
|
52
|
+
field: state.current.profile.name,
|
|
53
|
+
"onUpdate:field": _cache[2] || (_cache[2] = ($event) => state.current.profile.name = $event),
|
|
58
54
|
label: "Name",
|
|
59
55
|
placeholder: "Not specified",
|
|
60
56
|
class: "mn-b-thin bg-light pd-medium radius-small",
|
|
61
57
|
validation: _ctx.organizationName
|
|
62
58
|
}, null, 8, ["field", "validation"]),
|
|
63
59
|
createVNode(Field, {
|
|
64
|
-
field: state
|
|
65
|
-
"onUpdate:field": _cache[3] || (_cache[3] = ($event) => state
|
|
60
|
+
field: state.current.profile.description,
|
|
61
|
+
"onUpdate:field": _cache[3] || (_cache[3] = ($event) => state.current.profile.description = $event),
|
|
66
62
|
label: "Description",
|
|
67
63
|
placeholder: "Not specified",
|
|
68
64
|
class: "mn-b-semi bg-light pd-medium radius-small",
|
|
@@ -73,29 +69,29 @@ const _sfc_main = {
|
|
|
73
69
|
_cache[10] || (_cache[10] = createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1)),
|
|
74
70
|
_cache[11] || (_cache[11] = createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1)),
|
|
75
71
|
createVNode(Field, {
|
|
76
|
-
field: state
|
|
77
|
-
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => state
|
|
72
|
+
field: state.current.socials.instagram,
|
|
73
|
+
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => state.current.socials.instagram = $event),
|
|
78
74
|
label: "Instagram",
|
|
79
75
|
placeholder: "",
|
|
80
76
|
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
81
77
|
}, null, 8, ["field"]),
|
|
82
78
|
createVNode(Field, {
|
|
83
|
-
field: state
|
|
84
|
-
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => state
|
|
79
|
+
field: state.current.socials.twitter,
|
|
80
|
+
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => state.current.socials.twitter = $event),
|
|
85
81
|
label: "Twitter",
|
|
86
82
|
placeholder: "",
|
|
87
83
|
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
88
84
|
}, null, 8, ["field"]),
|
|
89
85
|
createVNode(Field, {
|
|
90
|
-
field: state
|
|
91
|
-
"onUpdate:field": _cache[6] || (_cache[6] = ($event) => state
|
|
86
|
+
field: state.current.socials.facebook,
|
|
87
|
+
"onUpdate:field": _cache[6] || (_cache[6] = ($event) => state.current.socials.facebook = $event),
|
|
92
88
|
label: "Facebook",
|
|
93
89
|
placeholder: "",
|
|
94
90
|
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
95
91
|
}, null, 8, ["field"]),
|
|
96
92
|
createVNode(Field, {
|
|
97
|
-
field: state
|
|
98
|
-
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => state
|
|
93
|
+
field: state.current.socials.telegram,
|
|
94
|
+
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => state.current.socials.telegram = $event),
|
|
99
95
|
label: "Telegram",
|
|
100
96
|
placeholder: "",
|
|
101
97
|
class: "mn-b-semi bg-light pd-medium radius-small"
|
|
@@ -111,7 +107,7 @@ const _sfc_main = {
|
|
|
111
107
|
])),
|
|
112
108
|
_: 1
|
|
113
109
|
})
|
|
114
|
-
])
|
|
110
|
+
]);
|
|
115
111
|
};
|
|
116
112
|
}
|
|
117
113
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileEditProfile.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditProfile.vue"],"sourcesContent":["<template>\n <div
|
|
1
|
+
{"version":3,"file":"ProfileEditProfile.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditProfile.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100\">\n <div class=\"bg-white mn-b-thin\">\n <h4 class=\"mn-b-small\">Profile</h4>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n </div>\n\n <div class=\"bg-white mn-b-thin\">\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n </div>\n</template>\n\n<script setup>\n import Field from '@martyrs/src/components/Field/Field.vue'\n import Button from '@martyrs/src/components/Button/Button.vue'\n import UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue'\n \n import { useRouter } from 'vue-router'\n \n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import * as users from '@martyrs/src/modules/auth/views/store/users.js'\n \n const router = useRouter()\n \n defineProps({\n userData: {\n type: Object,\n required: true\n }\n })\n \n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n \n function redirectTo() {\n router.back()\n }\n</script>"],"names":["users.actions","users.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA2FE,UAAM,SAAS,UAAS;AASxB,mBAAe,WAAW;AACxB,YAAMA,QAAc,OAAOC,MAAY,OAAO;AAAA,IAChD;AAEA,aAAS,aAAa;AACpB,aAAO,KAAI;AAAA,IACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
|
5
5
|
const auth = require("../../store/auth.cjs");
|
|
6
|
-
const
|
|
6
|
+
const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
|
|
7
|
+
const IconLock = require("../../../../icons/entities/IconLock.vue.cjs");
|
|
8
|
+
const _hoisted_1 = { class: "flex flex-column mobile:flex-row bg-light pd-medium radius-small" };
|
|
7
9
|
const _sfc_main = {
|
|
8
10
|
__name: "ProfileEditSidebar",
|
|
9
11
|
setup(__props) {
|
|
@@ -14,20 +16,22 @@ const _sfc_main = {
|
|
|
14
16
|
return vue.openBlock(), vue.createElementBlock("nav", _hoisted_1, [
|
|
15
17
|
vue.createVNode(_component_RouterLink, {
|
|
16
18
|
to: { name: "Profile Edit Profile", params: { _id: userId.value } },
|
|
17
|
-
class: vue.normalizeClass(["flex
|
|
19
|
+
class: vue.normalizeClass(["flex flex-v-center pd-small mn-b-thin radius-small hover:bg-white", { "bg-white": vue.unref(route).name === "Profile Edit Profile" }])
|
|
18
20
|
}, {
|
|
19
|
-
default: vue.withCtx(() =>
|
|
20
|
-
vue.
|
|
21
|
-
|
|
21
|
+
default: vue.withCtx(() => [
|
|
22
|
+
vue.createVNode(IconProfile.default, { class: "mn-r-thin i-medium" }),
|
|
23
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("span", null, "Profile", -1))
|
|
24
|
+
]),
|
|
22
25
|
_: 1
|
|
23
26
|
}, 8, ["to", "class"]),
|
|
24
27
|
vue.createVNode(_component_RouterLink, {
|
|
25
28
|
to: { name: "Profile Edit Account", params: { _id: userId.value } },
|
|
26
|
-
class: vue.normalizeClass(["flex
|
|
29
|
+
class: vue.normalizeClass(["flex flex-v-center pd-small radius-small hover:bg-white", { "bg-white": vue.unref(route).name === "Profile Edit Account" }])
|
|
27
30
|
}, {
|
|
28
|
-
default: vue.withCtx(() =>
|
|
29
|
-
vue.
|
|
30
|
-
|
|
31
|
+
default: vue.withCtx(() => [
|
|
32
|
+
vue.createVNode(IconLock.default, { class: "mn-r-thin i-medium" }),
|
|
33
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("span", null, "Account", -1))
|
|
34
|
+
]),
|
|
31
35
|
_: 1
|
|
32
36
|
}, 8, ["to", "class"])
|
|
33
37
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileEditSidebar.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditSidebar.vue"],"sourcesContent":["<template>\n <nav class=\"bg-light pd-medium radius-small\">\n <RouterLink \n :to=\"{ name: 'Profile Edit Profile', params: { _id: userId } }\"\n class=\"flex
|
|
1
|
+
{"version":3,"file":"ProfileEditSidebar.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditSidebar.vue"],"sourcesContent":["<template>\n <nav class=\"flex flex-column mobile:flex-row bg-light pd-medium radius-small\">\n <RouterLink \n :to=\"{ name: 'Profile Edit Profile', params: { _id: userId } }\"\n class=\"flex flex-v-center pd-small mn-b-thin radius-small hover:bg-white\"\n :class=\"{ 'bg-white': route.name === 'Profile Edit Profile' }\"\n >\n <IconProfile class=\"mn-r-thin i-medium\"/>\n <span>Profile</span>\n </RouterLink>\n \n <RouterLink \n :to=\"{ name: 'Profile Edit Account', params: { _id: userId } }\"\n class=\"flex flex-v-center pd-small radius-small hover:bg-white\"\n :class=\"{ 'bg-white': route.name === 'Profile Edit Account' }\"\n >\n <IconLock class=\"mn-r-thin i-medium\"/>\n <span>Account</span>\n </RouterLink>\n </nav>\n</template>\n\n<script setup>\n import { computed } from 'vue'\n import { useRoute } from 'vue-router'\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue';\n import IconLock from '@martyrs/src/modules/icons/entities/IconLock.vue';\n const route = useRoute()\n const userId = computed(() => route.params._id || auth.state.user._id)\n</script>"],"names":["useRoute","computed","auth.state"],"mappings":";;;;;;;;;;;AA4BE,UAAM,QAAQA,UAAAA,SAAQ;AACtB,UAAM,SAASC,IAAAA,SAAS,MAAM,MAAM,OAAO,OAAOC,KAAAA,MAAW,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { computed, resolveComponent, createElementBlock, openBlock, createVNode, normalizeClass, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
3
|
import { state } from "../../store/auth.js";
|
|
4
|
-
|
|
4
|
+
import _sfc_main$1 from "../../../../icons/entities/IconProfile.vue.js";
|
|
5
|
+
import _sfc_main$2 from "../../../../icons/entities/IconLock.vue.js";
|
|
6
|
+
const _hoisted_1 = { class: "flex flex-column mobile:flex-row bg-light pd-medium radius-small" };
|
|
5
7
|
const _sfc_main = {
|
|
6
8
|
__name: "ProfileEditSidebar",
|
|
7
9
|
setup(__props) {
|
|
@@ -12,20 +14,22 @@ const _sfc_main = {
|
|
|
12
14
|
return openBlock(), createElementBlock("nav", _hoisted_1, [
|
|
13
15
|
createVNode(_component_RouterLink, {
|
|
14
16
|
to: { name: "Profile Edit Profile", params: { _id: userId.value } },
|
|
15
|
-
class: normalizeClass(["flex
|
|
17
|
+
class: normalizeClass(["flex flex-v-center pd-small mn-b-thin radius-small hover:bg-white", { "bg-white": unref(route).name === "Profile Edit Profile" }])
|
|
16
18
|
}, {
|
|
17
|
-
default: withCtx(() =>
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
default: withCtx(() => [
|
|
20
|
+
createVNode(_sfc_main$1, { class: "mn-r-thin i-medium" }),
|
|
21
|
+
_cache[0] || (_cache[0] = createElementVNode("span", null, "Profile", -1))
|
|
22
|
+
]),
|
|
20
23
|
_: 1
|
|
21
24
|
}, 8, ["to", "class"]),
|
|
22
25
|
createVNode(_component_RouterLink, {
|
|
23
26
|
to: { name: "Profile Edit Account", params: { _id: userId.value } },
|
|
24
|
-
class: normalizeClass(["flex
|
|
27
|
+
class: normalizeClass(["flex flex-v-center pd-small radius-small hover:bg-white", { "bg-white": unref(route).name === "Profile Edit Account" }])
|
|
25
28
|
}, {
|
|
26
|
-
default: withCtx(() =>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
default: withCtx(() => [
|
|
30
|
+
createVNode(_sfc_main$2, { class: "mn-r-thin i-medium" }),
|
|
31
|
+
_cache[1] || (_cache[1] = createElementVNode("span", null, "Account", -1))
|
|
32
|
+
]),
|
|
29
33
|
_: 1
|
|
30
34
|
}, 8, ["to", "class"])
|
|
31
35
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileEditSidebar.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditSidebar.vue"],"sourcesContent":["<template>\n <nav class=\"bg-light pd-medium radius-small\">\n <RouterLink \n :to=\"{ name: 'Profile Edit Profile', params: { _id: userId } }\"\n class=\"flex
|
|
1
|
+
{"version":3,"file":"ProfileEditSidebar.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditSidebar.vue"],"sourcesContent":["<template>\n <nav class=\"flex flex-column mobile:flex-row bg-light pd-medium radius-small\">\n <RouterLink \n :to=\"{ name: 'Profile Edit Profile', params: { _id: userId } }\"\n class=\"flex flex-v-center pd-small mn-b-thin radius-small hover:bg-white\"\n :class=\"{ 'bg-white': route.name === 'Profile Edit Profile' }\"\n >\n <IconProfile class=\"mn-r-thin i-medium\"/>\n <span>Profile</span>\n </RouterLink>\n \n <RouterLink \n :to=\"{ name: 'Profile Edit Account', params: { _id: userId } }\"\n class=\"flex flex-v-center pd-small radius-small hover:bg-white\"\n :class=\"{ 'bg-white': route.name === 'Profile Edit Account' }\"\n >\n <IconLock class=\"mn-r-thin i-medium\"/>\n <span>Account</span>\n </RouterLink>\n </nav>\n</template>\n\n<script setup>\n import { computed } from 'vue'\n import { useRoute } from 'vue-router'\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue';\n import IconLock from '@martyrs/src/modules/icons/entities/IconLock.vue';\n const route = useRoute()\n const userId = computed(() => route.params._id || auth.state.user._id)\n</script>"],"names":["auth.state"],"mappings":";;;;;;;;;AA4BE,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,SAAS,MAAM,MAAM,OAAO,OAAOA,MAAW,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -44,10 +44,6 @@ const users = {
|
|
|
44
44
|
name: "User Edit Profile",
|
|
45
45
|
component: () => Promise.resolve().then(() => require("../components/pages/ProfileEdit.vue.cjs")),
|
|
46
46
|
children: [
|
|
47
|
-
{
|
|
48
|
-
path: "",
|
|
49
|
-
redirect: { name: "Profile Edit Profile" }
|
|
50
|
-
},
|
|
51
47
|
{
|
|
52
48
|
path: "profile",
|
|
53
49
|
name: "Profile Edit Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.cjs","sources":["../../../../../../../src/modules/auth/views/router/users.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\nimport IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue';\n\nconst users = {\n path: 'users',\n name: 'Users',\n meta: {\n title: {\n en: 'Users',\n ru: 'Пользователи',\n },\n },\n children: [\n {\n path: ':_id',\n name: 'User Profile Root',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n },\n children: [\n {\n path: '', // Пустой путь для основного профиля\n name: 'User Profile',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n title_hide: true,\n hideNavigationBar: route => route.params._id === auth.state.user._id,\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/Profile.vue'),\n children: [\n {\n path: 'edit',\n name: 'User Edit Profile',\n component: () => import('../components/pages/ProfileEdit.vue'),\n children: [\n {\n path: '
|
|
1
|
+
{"version":3,"file":"users.cjs","sources":["../../../../../../../src/modules/auth/views/router/users.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\nimport IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue';\n\nconst users = {\n path: 'users',\n name: 'Users',\n meta: {\n title: {\n en: 'Users',\n ru: 'Пользователи',\n },\n },\n children: [\n {\n path: ':_id',\n name: 'User Profile Root',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n },\n children: [\n {\n path: '', // Пустой путь для основного профиля\n name: 'User Profile',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n title_hide: true,\n hideNavigationBar: route => route.params._id === auth.state.user._id,\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/Profile.vue'),\n children: [\n {\n path: 'edit',\n name: 'User Edit Profile',\n component: () => import('../components/pages/ProfileEdit.vue'),\n children: [\n {\n path: 'profile',\n name: 'Profile Edit Profile',\n component: () => import('../components/pages/ProfileEditProfile.vue')\n },\n {\n path: 'account', \n name: 'Profile Edit Account',\n component: () => import('../components/pages/ProfileEditAccount.vue')\n }\n ]\n }\n ]\n },\n {\n path: 'blogposts',\n name: 'User Posts',\n meta: {\n title: {\n en: 'Posts',\n ru: 'Посты',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/ProfileBlogposts.vue'),\n },\n {\n path: 'events',\n name: 'User Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/events/components/pages/EventsBackoffice.vue'),\n },\n {\n path: 'organizations',\n name: 'User Organizations',\n meta: {\n title: {\n en: 'Groups',\n ru: 'Группы',\n },\n actions: [\n {\n component: IconPlus,\n props: {\n fill: 'rgb(var(--main))',\n },\n condition: () => auth.state.user && auth.state.user._id,\n action: router => router.push({ name: 'Create Organization' }),\n },\n ],\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/organizations/components/pages/Organizations.vue'),\n },\n {\n path: 'wallet',\n name: 'User Wallet',\n meta: {\n title: {\n en: 'Wallet',\n ru: 'Кошелек',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/wallet/views/components/pages/Wallet.vue'),\n },\n ],\n },\n ],\n};\n\nexport default users;\n"],"names":["auth.state","IconPlus"],"mappings":";;;;AAKK,MAAC,QAAQ;AAAA,EACZ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACV;AAAA,EACA;AAAA,EACE,UAAU;AAAA,IACR;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACd;AAAA,MACA;AAAA,MACM,UAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,YAAY;AAAA,YACZ,mBAAmB,WAAS,MAAM,OAAO,QAAQA,KAAAA,MAAW,KAAK;AAAA,UAC7E;AAAA,UACU,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAyC;AAAA,UAAiC,CAAA;AAAA,UAC3F,UAAU;AAAA,YACR;AAAA,cACE,MAAM;AAAA,cACN,MAAM;AAAA,cACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,yCAAqC,CAAA;AAAA,cAC7D,UAAU;AAAA,gBACR;AAAA,kBACE,MAAM;AAAA,kBACN,MAAM;AAAA,kBACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,gDAA4C,CAAA;AAAA,gBACtF;AAAA,gBACgB;AAAA,kBACE,MAAM;AAAA,kBACN,MAAM;AAAA,kBACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,gDAA4C,CAAA;AAAA,gBACtF;AAAA,cACA;AAAA,YACA;AAAA,UACA;AAAA,QACA;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAyC;AAAA,UAA0C,CAAA;AAAA,QAC9G;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAyC;AAAA,UAAmE,CAAA;AAAA,QACvI;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,SAAS;AAAA,cACP;AAAA,gBACE,WAAWC,SAAAA;AAAAA,gBACX,OAAO;AAAA,kBACL,MAAM;AAAA,gBACxB;AAAA,gBACgB,WAAW,MAAMD,KAAAA,MAAW,QAAQA,KAAAA,MAAW,KAAK;AAAA,gBACpD,QAAQ,YAAU,OAAO,KAAK,EAAE,MAAM,uBAAuB;AAAA,cAC7E;AAAA,YACA;AAAA,UACA;AAAA,UACU,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAyC;AAAA,UAAuE,CAAA;AAAA,QAC3I;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAyC;AAAA,UAA+D,CAAA;AAAA,QACnI;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;"}
|
|
@@ -42,10 +42,6 @@ const users = {
|
|
|
42
42
|
name: "User Edit Profile",
|
|
43
43
|
component: () => import("../components/pages/ProfileEdit.vue.js"),
|
|
44
44
|
children: [
|
|
45
|
-
{
|
|
46
|
-
path: "",
|
|
47
|
-
redirect: { name: "Profile Edit Profile" }
|
|
48
|
-
},
|
|
49
45
|
{
|
|
50
46
|
path: "profile",
|
|
51
47
|
name: "Profile Edit Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sources":["../../../../../../../src/modules/auth/views/router/users.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\nimport IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue';\n\nconst users = {\n path: 'users',\n name: 'Users',\n meta: {\n title: {\n en: 'Users',\n ru: 'Пользователи',\n },\n },\n children: [\n {\n path: ':_id',\n name: 'User Profile Root',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n },\n children: [\n {\n path: '', // Пустой путь для основного профиля\n name: 'User Profile',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n title_hide: true,\n hideNavigationBar: route => route.params._id === auth.state.user._id,\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/Profile.vue'),\n children: [\n {\n path: 'edit',\n name: 'User Edit Profile',\n component: () => import('../components/pages/ProfileEdit.vue'),\n children: [\n {\n path: '
|
|
1
|
+
{"version":3,"file":"users.js","sources":["../../../../../../../src/modules/auth/views/router/users.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\nimport IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue';\n\nconst users = {\n path: 'users',\n name: 'Users',\n meta: {\n title: {\n en: 'Users',\n ru: 'Пользователи',\n },\n },\n children: [\n {\n path: ':_id',\n name: 'User Profile Root',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n },\n children: [\n {\n path: '', // Пустой путь для основного профиля\n name: 'User Profile',\n meta: {\n title: {\n en: 'Profile',\n ru: 'Профиль',\n },\n title_hide: true,\n hideNavigationBar: route => route.params._id === auth.state.user._id,\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/Profile.vue'),\n children: [\n {\n path: 'edit',\n name: 'User Edit Profile',\n component: () => import('../components/pages/ProfileEdit.vue'),\n children: [\n {\n path: 'profile',\n name: 'Profile Edit Profile',\n component: () => import('../components/pages/ProfileEditProfile.vue')\n },\n {\n path: 'account', \n name: 'Profile Edit Account',\n component: () => import('../components/pages/ProfileEditAccount.vue')\n }\n ]\n }\n ]\n },\n {\n path: 'blogposts',\n name: 'User Posts',\n meta: {\n title: {\n en: 'Posts',\n ru: 'Посты',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '../components/pages/ProfileBlogposts.vue'),\n },\n {\n path: 'events',\n name: 'User Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/events/components/pages/EventsBackoffice.vue'),\n },\n {\n path: 'organizations',\n name: 'User Organizations',\n meta: {\n title: {\n en: 'Groups',\n ru: 'Группы',\n },\n actions: [\n {\n component: IconPlus,\n props: {\n fill: 'rgb(var(--main))',\n },\n condition: () => auth.state.user && auth.state.user._id,\n action: router => router.push({ name: 'Create Organization' }),\n },\n ],\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/organizations/components/pages/Organizations.vue'),\n },\n {\n path: 'wallet',\n name: 'User Wallet',\n meta: {\n title: {\n en: 'Wallet',\n ru: 'Кошелек',\n },\n },\n component: () => import(/* webpackChunkName: \"profile\" */ '@martyrs/src/modules/wallet/views/components/pages/Wallet.vue'),\n },\n ],\n },\n ],\n};\n\nexport default users;\n"],"names":["auth.state","IconPlus"],"mappings":";;AAKK,MAAC,QAAQ;AAAA,EACZ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACV;AAAA,EACA;AAAA,EACE,UAAU;AAAA,IACR;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACd;AAAA,MACA;AAAA,MACM,UAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,YAAY;AAAA,YACZ,mBAAmB,WAAS,MAAM,OAAO,QAAQA,MAAW,KAAK;AAAA,UAC7E;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAAyC;AAAA,UAAiC;AAAA,UAC3F,UAAU;AAAA,YACR;AAAA,cACE,MAAM;AAAA,cACN,MAAM;AAAA,cACN,WAAW,MAAM,OAAO,wCAAqC;AAAA,cAC7D,UAAU;AAAA,gBACR;AAAA,kBACE,MAAM;AAAA,kBACN,MAAM;AAAA,kBACN,WAAW,MAAM,OAAO,+CAA4C;AAAA,gBACtF;AAAA,gBACgB;AAAA,kBACE,MAAM;AAAA,kBACN,MAAM;AAAA,kBACN,WAAW,MAAM,OAAO,+CAA4C;AAAA,gBACtF;AAAA,cACA;AAAA,YACA;AAAA,UACA;AAAA,QACA;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAAyC;AAAA,UAA0C;AAAA,QAC9G;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAAyC;AAAA,UAAmE;AAAA,QACvI;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,SAAS;AAAA,cACP;AAAA,gBACE,WAAWC;AAAAA,gBACX,OAAO;AAAA,kBACL,MAAM;AAAA,gBACxB;AAAA,gBACgB,WAAW,MAAMD,MAAW,QAAQA,MAAW,KAAK;AAAA,gBACpD,QAAQ,YAAU,OAAO,KAAK,EAAE,MAAM,uBAAuB;AAAA,cAC7E;AAAA,YACA;AAAA,UACA;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAAyC;AAAA,UAAuE;AAAA,QAC3I;AAAA,QACQ;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,UACA;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAAyC;AAAA,UAA+D;AAAA,QACnI;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;"}
|
|
@@ -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 vue_SixQ7xP = require("../../../../../../node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs");
|
|
5
|
-
;/* empty css
|
|
5
|
+
;/* empty css */
|
|
6
6
|
const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
|
|
7
7
|
const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
|
|
8
8
|
const SkeletonBlogpost = require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, ref, onServerPrefetch, onMounted, createElementBlock, openBlock, createVNode, TransitionGroup, withCtx, createCommentVNode, Fragment, renderList, Transition, createBlock } from "vue";
|
|
2
2
|
import { u as useHead } from "../../../../../../node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.js";
|
|
3
|
-
/* empty css
|
|
3
|
+
/* empty css */
|
|
4
4
|
import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../blocks/CardBlogpost.vue.js";
|
|
6
6
|
import SkeletonBlogpost from "../../../icons/skeletons/SkeletonBlogpost.vue.js";
|
|
@@ -5,7 +5,7 @@ require("isomorphic-dompurify");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const Constructor = require("../../../constructor/components/sections/Constructor.vue.cjs");
|
|
7
7
|
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
|
8
|
-
require("../../../../../../_virtual/
|
|
8
|
+
require("../../../../../../_virtual/index2.cjs");
|
|
9
9
|
;/* empty css */
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|
|
@@ -3,7 +3,7 @@ import "isomorphic-dompurify";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _sfc_main$1 from "../../../constructor/components/sections/Constructor.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
|
|
6
|
-
import "../../../../../../_virtual/
|
|
6
|
+
import "../../../../../../_virtual/index2.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import _sfc_main$3 from "../../../../components/FieldTags/BlockTags.vue.js";
|