@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
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="pos-relative">
|
|
3
|
+
<header
|
|
4
|
+
v-if="route.name !== 'Organization' && !MOBILE_APP"
|
|
5
|
+
class="pd-medium flex-v-center flex-nowrap flex"
|
|
6
|
+
>
|
|
7
|
+
<h2 class="mn-r-medium">Posts</h2>
|
|
8
|
+
<button
|
|
9
|
+
v-if="hasAccess(route.params._id, 'posts', 'create', auth.state.accesses, auth.state.access.roles)"
|
|
10
|
+
@click="$router.push({
|
|
11
|
+
name: route.params?._id ? 'Organization_PostAdd' : 'CreateBlogPost'
|
|
12
|
+
})"
|
|
13
|
+
class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second">
|
|
14
|
+
+
|
|
15
|
+
</button>
|
|
16
|
+
</header>
|
|
17
|
+
|
|
18
|
+
<div class="cols-2-1_3 br-1px br-solid br-light z-index-3 pos-relative">
|
|
19
|
+
|
|
20
|
+
<div class="o-y-scroll br-r br-solid br-light pd-medium z-index-2 desktop-only h-100 pos-relative">
|
|
21
|
+
<div class="w-100 o-y-scroll h-100">
|
|
22
|
+
<!-- Categories -->
|
|
23
|
+
<div class="mn-b-medium">
|
|
24
|
+
<h4 class="mn-b-small">Categories</h4>
|
|
25
|
+
<div class="gap-micro">
|
|
26
|
+
<div
|
|
27
|
+
v-for="category in postCategories"
|
|
28
|
+
:key="category.value"
|
|
29
|
+
@click="selectCategory(category.value)"
|
|
30
|
+
:class="{ 'bg-light': selectedCategory === category.value }"
|
|
31
|
+
class="pd-small radius-small cursor-pointer hover-bg-light transition-all"
|
|
32
|
+
>
|
|
33
|
+
{{ category.label }}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<!-- Tags Filter -->
|
|
39
|
+
<Spoiler
|
|
40
|
+
class="o-hidden mn-b-medium"
|
|
41
|
+
:status="true"
|
|
42
|
+
>
|
|
43
|
+
<template #header="{ isOpen }">
|
|
44
|
+
<div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
|
|
45
|
+
<h4 class="w-100">Tags</h4>
|
|
46
|
+
<div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
|
|
47
|
+
<IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
<template #content>
|
|
53
|
+
<div class="mn-t-small">
|
|
54
|
+
<Field
|
|
55
|
+
v-model="searchTag"
|
|
56
|
+
placeholder="Search tags..."
|
|
57
|
+
type="text"
|
|
58
|
+
class="w-100 bg-light pd-small radius-small mn-b-small"
|
|
59
|
+
/>
|
|
60
|
+
<Checkbox
|
|
61
|
+
v-for="tag in filteredTags"
|
|
62
|
+
:key="tag"
|
|
63
|
+
v-model:checkbox="selectedTags"
|
|
64
|
+
:label="tag"
|
|
65
|
+
:value="tag"
|
|
66
|
+
mode="checkbox"
|
|
67
|
+
class="mn-b-micro"
|
|
68
|
+
/>
|
|
69
|
+
</div>
|
|
70
|
+
</template>
|
|
71
|
+
</Spoiler>
|
|
72
|
+
|
|
73
|
+
<!-- Date Range Filter -->
|
|
74
|
+
<Spoiler
|
|
75
|
+
class="o-hidden mn-b-medium"
|
|
76
|
+
:status="true"
|
|
77
|
+
>
|
|
78
|
+
<template #header="{ isOpen }">
|
|
79
|
+
<div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
|
|
80
|
+
<h4 class="w-100">Date Range</h4>
|
|
81
|
+
<div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
|
|
82
|
+
<IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</template>
|
|
86
|
+
|
|
87
|
+
<template #content>
|
|
88
|
+
<div class="mn-t-small">
|
|
89
|
+
<div
|
|
90
|
+
v-for="option in dateRangeOptions"
|
|
91
|
+
:key="option.value"
|
|
92
|
+
@click="selectDateRange(option.value)"
|
|
93
|
+
:class="{ 'bg-light': selectedDateRange === option.value }"
|
|
94
|
+
class="pd-small radius-small cursor-pointer hover-bg-light transition-all mn-b-micro"
|
|
95
|
+
>
|
|
96
|
+
{{ option.label }}
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<div
|
|
100
|
+
@click="() => { tempSelectedDates = selectedDates; showDatePickerPopup = true; }"
|
|
101
|
+
:class="{ 'bg-light': selectedDateRange === 'custom' }"
|
|
102
|
+
class="pd-small radius-small cursor-pointer hover-bg-light transition-all mn-b-micro"
|
|
103
|
+
>
|
|
104
|
+
{{ selectedDates ? `${formatDate(selectedDates.start, { dayMonth: true, language: 'en' })} - ${formatDate(selectedDates.end, { dayMonth: true, language: 'en' })}` : 'Select custom dates'}}
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</template>
|
|
108
|
+
</Spoiler>
|
|
109
|
+
|
|
110
|
+
<!-- Author Filter -->
|
|
111
|
+
<Spoiler
|
|
112
|
+
class="o-hidden mn-b-medium"
|
|
113
|
+
:status="true"
|
|
114
|
+
>
|
|
115
|
+
<template #header="{ isOpen }">
|
|
116
|
+
<div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
|
|
117
|
+
<h4 class="w-100">Author</h4>
|
|
118
|
+
<div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
|
|
119
|
+
<IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</template>
|
|
123
|
+
|
|
124
|
+
<template #content>
|
|
125
|
+
<div class="mn-t-small">
|
|
126
|
+
<Checkbox
|
|
127
|
+
label="My Posts Only"
|
|
128
|
+
v-model:checkbox="showMyPostsOnly"
|
|
129
|
+
mode="checkbox"
|
|
130
|
+
class="mn-b-micro"
|
|
131
|
+
/>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
</Spoiler>
|
|
135
|
+
|
|
136
|
+
<!-- Clear Filters Button -->
|
|
137
|
+
<button
|
|
138
|
+
@click="clearFilters"
|
|
139
|
+
class="bg-main w-100 button mn-t-medium"
|
|
140
|
+
>
|
|
141
|
+
Clear Filters
|
|
142
|
+
</button>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div class="w-100 rows-1 pd-thin pos-relative o-hidden">
|
|
147
|
+
<Filters
|
|
148
|
+
v-model:filters="availableFilters"
|
|
149
|
+
v-model:selected="selectedFilters"
|
|
150
|
+
/>
|
|
151
|
+
|
|
152
|
+
<div class="mn-b-thin w-100 o-y-scroll scroll-hide scroll-snap-type-x-mandatory scroll-pd-regular">
|
|
153
|
+
<div class="gap-thin flex-nowrap flex">
|
|
154
|
+
<div
|
|
155
|
+
v-for="category in postCategories"
|
|
156
|
+
:key="category.value"
|
|
157
|
+
@click="selectCategory(category.value)"
|
|
158
|
+
:class="{ 'bg-main t-white': selectedCategory === category.value }"
|
|
159
|
+
class="flex-child-default bg-light flex t-nowrap pd-medium radius-medium cursor-pointer hover-bg-light transition-all"
|
|
160
|
+
>
|
|
161
|
+
{{ category.label }}
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<Feed
|
|
167
|
+
:search="true"
|
|
168
|
+
v-model:filter="blog.state.filter"
|
|
169
|
+
v-model:sort="blog.state.sort"
|
|
170
|
+
:showLoadMore="false"
|
|
171
|
+
:states="{
|
|
172
|
+
empty: {
|
|
173
|
+
title: 'No Blog Posts Found',
|
|
174
|
+
description: 'Currently, there are no posts available in this blog.'
|
|
175
|
+
}
|
|
176
|
+
}"
|
|
177
|
+
:store="{
|
|
178
|
+
read: (options) => blog.read(options),
|
|
179
|
+
state: blog.state
|
|
180
|
+
}"
|
|
181
|
+
:options="{
|
|
182
|
+
limit: 12,
|
|
183
|
+
status: 'published',
|
|
184
|
+
user: auth.state.user._id,
|
|
185
|
+
owner: route.params._id || null,
|
|
186
|
+
category: selectedCategory !== 'all' ? selectedCategory : null,
|
|
187
|
+
tags: selectedTags.length > 0 ? selectedTags : null,
|
|
188
|
+
author: showMyPostsOnly ? auth.state.user._id : null,
|
|
189
|
+
dateStart: selectedDates?.start,
|
|
190
|
+
dateEnd: selectedDates?.end,
|
|
191
|
+
search: route.query.search
|
|
192
|
+
}"
|
|
193
|
+
v-slot="{
|
|
194
|
+
items
|
|
195
|
+
}"
|
|
196
|
+
class="cols-3 pos-relative w-100 rows-1 gap-thin"
|
|
197
|
+
>
|
|
198
|
+
<CardBlogpost
|
|
199
|
+
v-for="item in items"
|
|
200
|
+
:key="item._id"
|
|
201
|
+
:blogpost="item"
|
|
202
|
+
:user="auth.state.user._id"
|
|
203
|
+
class="h-max-40r bg-light radius-medium cursor-pointer hover-scale-1 transition-all"
|
|
204
|
+
@click="$router.push({
|
|
205
|
+
name: route.params._id ? 'Organization_BlogPost' : 'BlogPost',
|
|
206
|
+
params: {
|
|
207
|
+
_id: route.params._id,
|
|
208
|
+
url: item.url
|
|
209
|
+
}
|
|
210
|
+
})"
|
|
211
|
+
/>
|
|
212
|
+
</Feed>
|
|
213
|
+
|
|
214
|
+
<button
|
|
215
|
+
v-if="hasAccess(route.params._id, 'posts', 'create', auth.state.accesses, auth.state.access.roles)"
|
|
216
|
+
@click="$router.push({
|
|
217
|
+
name: route.params?._id ? 'Organization_PostAdd' : 'CreateBlogPost'
|
|
218
|
+
})"
|
|
219
|
+
class="mn-t-medium bg-main button w-100"
|
|
220
|
+
>
|
|
221
|
+
Create New Post
|
|
222
|
+
</button>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
<!-- Date Picker Popup -->
|
|
227
|
+
<Popup
|
|
228
|
+
:isPopupOpen="showDatePickerPopup"
|
|
229
|
+
@close-popup="showDatePickerPopup = false"
|
|
230
|
+
class="pd-medium bg-white radius-medium"
|
|
231
|
+
style="min-width: 350px;"
|
|
232
|
+
>
|
|
233
|
+
<h3 class="mn-b-medium">Select Date Range</h3>
|
|
234
|
+
|
|
235
|
+
<Calendar
|
|
236
|
+
v-model:date="tempSelectedDates"
|
|
237
|
+
:allowRange="true"
|
|
238
|
+
:disablePastDates="false"
|
|
239
|
+
class="mn-b-medium"
|
|
240
|
+
/>
|
|
241
|
+
|
|
242
|
+
<div class="flex gap-small">
|
|
243
|
+
<button
|
|
244
|
+
@click="applyDateFilter"
|
|
245
|
+
class="bg-main button flex-child-full"
|
|
246
|
+
>
|
|
247
|
+
Apply
|
|
248
|
+
</button>
|
|
249
|
+
<button
|
|
250
|
+
@click="showDatePickerPopup = false"
|
|
251
|
+
class="bg-light button flex-child-full"
|
|
252
|
+
>
|
|
253
|
+
Cancel
|
|
254
|
+
</button>
|
|
255
|
+
</div>
|
|
256
|
+
</Popup>
|
|
257
|
+
</div>
|
|
258
|
+
</template>
|
|
259
|
+
|
|
260
|
+
<script setup="props">
|
|
261
|
+
// Import libs
|
|
262
|
+
import { ref, computed, watch, onMounted, onUnmounted } from 'vue'
|
|
263
|
+
import { useRoute, useRouter } from 'vue-router'
|
|
264
|
+
|
|
265
|
+
// Import components
|
|
266
|
+
import Feed from '@martyrs/src/components/Feed/Feed.vue'
|
|
267
|
+
import Filters from '@martyrs/src/modules/globals/views/components/sections/Filters.vue'
|
|
268
|
+
import Spoiler from "@martyrs/src/components/Spoiler/Spoiler.vue"
|
|
269
|
+
import Field from "@martyrs/src/components/Field/Field.vue"
|
|
270
|
+
import Checkbox from "@martyrs/src/components/Checkbox/Checkbox.vue"
|
|
271
|
+
import Calendar from "@martyrs/src/components/Calendar/Calendar.vue"
|
|
272
|
+
import Popup from "@martyrs/src/components/Popup/Popup.vue"
|
|
273
|
+
|
|
274
|
+
import CardBlogpost from '@martyrs/src/modules/community/components/blocks/CardBlogpost.vue'
|
|
275
|
+
|
|
276
|
+
import IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue'
|
|
277
|
+
import IconChevronBottom from '@martyrs/src/modules/icons/navigation/IconChevronBottom.vue'
|
|
278
|
+
|
|
279
|
+
// Accessing router and store
|
|
280
|
+
import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
|
|
281
|
+
import * as globals from '@martyrs/src/modules/globals/views/store/globals.js';
|
|
282
|
+
import * as blog from '@martyrs/src/modules/community/store/blogposts.js';
|
|
283
|
+
import * as organizations from '@martyrs/src/modules/organizations/store/organizations.js';
|
|
284
|
+
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
285
|
+
|
|
286
|
+
const route = useRoute()
|
|
287
|
+
const router = useRouter()
|
|
288
|
+
const { hasAccess, formatDate } = useGlobalMixins()
|
|
289
|
+
|
|
290
|
+
// Props
|
|
291
|
+
const props = defineProps({
|
|
292
|
+
organization: {
|
|
293
|
+
type: Object,
|
|
294
|
+
default: null
|
|
295
|
+
}
|
|
296
|
+
})
|
|
297
|
+
|
|
298
|
+
// Categories
|
|
299
|
+
const postCategories = ref([
|
|
300
|
+
{ label: 'All Posts', value: 'all' },
|
|
301
|
+
{ label: 'News', value: 'news' },
|
|
302
|
+
{ label: 'Updates', value: 'updates' },
|
|
303
|
+
{ label: 'Events', value: 'events' },
|
|
304
|
+
{ label: 'Announcements', value: 'announcements' },
|
|
305
|
+
{ label: 'Stories', value: 'stories' }
|
|
306
|
+
]);
|
|
307
|
+
const selectedCategory = ref('all');
|
|
308
|
+
|
|
309
|
+
// Tags
|
|
310
|
+
const searchTag = ref('');
|
|
311
|
+
const selectedTags = ref([]);
|
|
312
|
+
const availableTags = ref(['featured', 'important', 'trending', 'community', 'official']);
|
|
313
|
+
const filteredTags = computed(() => {
|
|
314
|
+
if (!searchTag.value) return availableTags.value;
|
|
315
|
+
return availableTags.value.filter(tag =>
|
|
316
|
+
tag.toLowerCase().includes(searchTag.value.toLowerCase())
|
|
317
|
+
);
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
// Date Range
|
|
321
|
+
const dateRangeOptions = ref([
|
|
322
|
+
{ label: 'All Time', value: 'all' },
|
|
323
|
+
{ label: 'Today', value: 'today' },
|
|
324
|
+
{ label: 'This Week', value: 'week' },
|
|
325
|
+
{ label: 'This Month', value: 'month' },
|
|
326
|
+
{ label: 'This Year', value: 'year' }
|
|
327
|
+
]);
|
|
328
|
+
const selectedDateRange = ref('all');
|
|
329
|
+
const showDatePickerPopup = ref(false);
|
|
330
|
+
const selectedDates = ref(null);
|
|
331
|
+
const tempSelectedDates = ref(null);
|
|
332
|
+
|
|
333
|
+
// Author
|
|
334
|
+
const showMyPostsOnly = ref(false);
|
|
335
|
+
|
|
336
|
+
const availableFilters = ref([
|
|
337
|
+
{
|
|
338
|
+
title: 'Category',
|
|
339
|
+
value: 'category',
|
|
340
|
+
type: 'radio',
|
|
341
|
+
options: postCategories.value
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
title: 'Status',
|
|
345
|
+
value: 'status',
|
|
346
|
+
type: 'radio',
|
|
347
|
+
options: [
|
|
348
|
+
{ label: 'Published', value: 'published' },
|
|
349
|
+
{ label: 'Draft', value: 'draft' },
|
|
350
|
+
{ label: 'Archived', value: 'archived' }
|
|
351
|
+
]
|
|
352
|
+
}
|
|
353
|
+
])
|
|
354
|
+
|
|
355
|
+
const selectedFilters = ref({
|
|
356
|
+
category: 'all',
|
|
357
|
+
status: 'published'
|
|
358
|
+
})
|
|
359
|
+
|
|
360
|
+
const selectCategory = (category) => {
|
|
361
|
+
selectedCategory.value = category;
|
|
362
|
+
selectedFilters.value.category = category;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
const selectDateRange = (range) => {
|
|
366
|
+
selectedDateRange.value = range;
|
|
367
|
+
const today = new Date();
|
|
368
|
+
|
|
369
|
+
switch(range) {
|
|
370
|
+
case 'all':
|
|
371
|
+
selectedDates.value = null;
|
|
372
|
+
break;
|
|
373
|
+
case 'today':
|
|
374
|
+
selectedDates.value = {
|
|
375
|
+
start: today,
|
|
376
|
+
end: today
|
|
377
|
+
};
|
|
378
|
+
break;
|
|
379
|
+
case 'week':
|
|
380
|
+
const weekStart = new Date(today);
|
|
381
|
+
weekStart.setDate(today.getDate() - today.getDay());
|
|
382
|
+
selectedDates.value = {
|
|
383
|
+
start: weekStart,
|
|
384
|
+
end: today
|
|
385
|
+
};
|
|
386
|
+
break;
|
|
387
|
+
case 'month':
|
|
388
|
+
const monthStart = new Date(today.getFullYear(), today.getMonth(), 1);
|
|
389
|
+
selectedDates.value = {
|
|
390
|
+
start: monthStart,
|
|
391
|
+
end: today
|
|
392
|
+
};
|
|
393
|
+
break;
|
|
394
|
+
case 'year':
|
|
395
|
+
const yearStart = new Date(today.getFullYear(), 0, 1);
|
|
396
|
+
selectedDates.value = {
|
|
397
|
+
start: yearStart,
|
|
398
|
+
end: today
|
|
399
|
+
};
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
const applyDateFilter = () => {
|
|
405
|
+
selectedDates.value = tempSelectedDates.value;
|
|
406
|
+
selectedDateRange.value = 'custom';
|
|
407
|
+
showDatePickerPopup.value = false;
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
const clearFilters = () => {
|
|
411
|
+
selectedCategory.value = 'all';
|
|
412
|
+
selectedTags.value = [];
|
|
413
|
+
selectedDateRange.value = 'all';
|
|
414
|
+
selectedDates.value = null;
|
|
415
|
+
showMyPostsOnly.value = false;
|
|
416
|
+
searchTag.value = '';
|
|
417
|
+
selectedFilters.value = {
|
|
418
|
+
category: 'all',
|
|
419
|
+
status: 'published'
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
globals.state.navigation_bar.actions = [{
|
|
424
|
+
component: IconPlus,
|
|
425
|
+
props: {
|
|
426
|
+
fill: "rgb(var(--main))"
|
|
427
|
+
},
|
|
428
|
+
condition: () => auth.state.user && auth.state.user._id,
|
|
429
|
+
action: () => route.params._id ? router.push({ name: 'Organization_PostAdd', params: { _id: route.params._id} }) : router.push({ name: 'CreateBlogPost' })
|
|
430
|
+
}]
|
|
431
|
+
|
|
432
|
+
onMounted(async () => {
|
|
433
|
+
if (route.params._id) {
|
|
434
|
+
await organizations.actions.read({ _id: route.params._id });
|
|
435
|
+
}
|
|
436
|
+
})
|
|
437
|
+
|
|
438
|
+
onUnmounted(() => {
|
|
439
|
+
globals.state.navigation_bar.actions = [];
|
|
440
|
+
});
|
|
441
|
+
</script>
|
|
442
|
+
|
|
443
|
+
<style lang="scss">
|
|
444
|
+
</style>
|
|
@@ -2,6 +2,21 @@ import layoutCommunity from '../components/layouts/Community.vue';
|
|
|
2
2
|
|
|
3
3
|
import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';
|
|
4
4
|
|
|
5
|
+
// Function to create organization posts routes
|
|
6
|
+
export const createPostsRoutes = (prefix = '') => {
|
|
7
|
+
return {
|
|
8
|
+
path: 'posts',
|
|
9
|
+
name: `${prefix}Posts`,
|
|
10
|
+
meta: {
|
|
11
|
+
title: {
|
|
12
|
+
en: 'Posts',
|
|
13
|
+
ru: 'Посты',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
component: () => import(/* webpackChunkName: "organization-posts" */ '../components/pages/Posts.vue'),
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
5
20
|
const community = {
|
|
6
21
|
path: 'community',
|
|
7
22
|
component: layoutCommunity,
|
|
@@ -20,11 +20,6 @@ class GlobalWebSocket {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
initialize(options = {}) {
|
|
23
|
-
console.log('WSS initialize options:', options);
|
|
24
|
-
console.log('options.wsUrl:', options.wsUrl);
|
|
25
|
-
if (typeof window !== 'undefined') console.log('window.location.protocol:', window.location.protocol);
|
|
26
|
-
if (typeof window !== 'undefined') console.log('window.location.host:', window.location.host);
|
|
27
|
-
|
|
28
23
|
this.maxReconnectAttempts = options.maxReconnectAttempts || this.maxReconnectAttempts;
|
|
29
24
|
this.reconnectDelay = options.reconnectDelay || this.reconnectDelay;
|
|
30
25
|
this.baseUrl = options.wsUrl || this._getDefaultWsUrl();
|
|
@@ -32,11 +27,15 @@ class GlobalWebSocket {
|
|
|
32
27
|
this.rpcTimeout = options.rpcTimeout || this.rpcTimeout;
|
|
33
28
|
}
|
|
34
29
|
|
|
35
|
-
|
|
30
|
+
_getDefaultWsUrl() {
|
|
36
31
|
if (typeof window === 'undefined') return '/api/ws';
|
|
37
|
-
|
|
32
|
+
|
|
33
|
+
const isSecure = window.location.protocol === 'https:';
|
|
34
|
+
const protocol = isSecure ? 'wss:' : 'ws:';
|
|
38
35
|
const host = window.location.hostname;
|
|
39
|
-
|
|
36
|
+
const port = isSecure ? '' : ':8020';
|
|
37
|
+
|
|
38
|
+
return `${protocol}//${host}${port}/api/ws`;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
connect(userId) {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
v-else-if="placeholder"
|
|
23
23
|
:is="placeholder"
|
|
24
24
|
/>
|
|
25
|
-
<PlaceholderUserpic v-else />
|
|
25
|
+
<PlaceholderUserpic class="h-100" v-else />
|
|
26
26
|
</slot>
|
|
27
27
|
|
|
28
28
|
<!-- Контент -->
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
v-if="action.label?.is"
|
|
48
48
|
:is="action.label.is"
|
|
49
49
|
v-bind="action.label.props"
|
|
50
|
+
class="i-medium"
|
|
50
51
|
/>
|
|
51
52
|
<template v-else>
|
|
52
53
|
{{ action.label }}
|
|
@@ -140,13 +140,12 @@
|
|
|
140
140
|
<component
|
|
141
141
|
ref="page"
|
|
142
142
|
:is="Component"
|
|
143
|
-
:key="route.path"
|
|
144
143
|
class="w-100 h-min-100"
|
|
145
144
|
@page-loading="handlePageLoading"
|
|
146
145
|
@page-loaded="handlePageLoaded"
|
|
147
146
|
/>
|
|
148
147
|
<!-- Key пока выключил непонятно какие проблемы это вызовет -->
|
|
149
|
-
<!-- -->
|
|
148
|
+
<!-- :key="route.path" -->
|
|
150
149
|
</transition>
|
|
151
150
|
</router-view>
|
|
152
151
|
</Suspense>
|