@ozdao/martyrs 0.2.506 → 0.2.508
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-DC__VS5b.js → main-Dq-UfO4G.js} +2562 -2477
- package/dist/martyrs/src/components/Button/Button.vue.cjs +1 -1
- package/dist/martyrs/src/components/Button/Button.vue.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/EditImages/EditImages.vue.cjs +0 -93
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js +1 -94
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +93 -0
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js +94 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Feed/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/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs → Loader.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Loader/{Loader.vue.js → Loader.vue2.js} +2 -2
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs.map → Loader.vue2.js.map} +1 -1
- 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/PhotoViewer/PhotoViewer.vue.cjs +2 -2
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +2 -2
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs → Spoiler.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs.map → Spoiler.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs → Tab.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
- package/dist/martyrs/src/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/EnterPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +42 -10
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +44 -12
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +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/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.cjs +0 -4
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +0 -4
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +431 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +431 -0
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/blogposts.cjs +17 -0
- package/dist/martyrs/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.js +17 -0
- package/dist/martyrs/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -4
- 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 +2 -4
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/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/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.cjs +3 -0
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +3 -0
- package/dist/martyrs/src/modules/globals/globals.client.js.map +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/BlockFilter.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs +5 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js +6 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs +321 -0
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js +321 -0
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +324 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +324 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js +32 -0
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs +2 -0
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js +116 -114
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +5 -3
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +117 -115
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +11 -36
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -36
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.cjs +3 -0
- package/dist/martyrs/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js +3 -0
- package/dist/martyrs/src/modules/landing/landing.client.js.map +1 -1
- package/dist/martyrs/src/modules/landing/locales/en.cjs +12 -0
- package/dist/martyrs/src/modules/landing/locales/en.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/en.js +12 -0
- package/dist/martyrs/src/modules/landing/locales/en.js.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/index.cjs +10 -0
- package/dist/martyrs/src/modules/landing/locales/index.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/index.js +10 -0
- package/dist/martyrs/src/modules/landing/locales/index.js.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/ru.cjs +12 -0
- package/dist/martyrs/src/modules/landing/locales/ru.cjs.map +1 -0
- package/dist/martyrs/src/modules/landing/locales/ru.js +12 -0
- package/dist/martyrs/src/modules/landing/locales/ru.js.map +1 -0
- package/dist/martyrs/src/modules/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/ArtistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/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/notifications/components/pages/Notifications.vue.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs +86 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +86 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs +103 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +103 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +194 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +194 -0
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +138 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +138 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +189 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +189 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +173 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +173 -0
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +233 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +233 -0
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +234 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +234 -0
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/pages/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/pages/Orders.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +119 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +119 -0
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +139 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +139 -0
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +2 -4
- 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 +2 -4
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/locales/en.cjs +38 -0
- package/dist/martyrs/src/modules/orders/locales/en.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/en.js +38 -0
- package/dist/martyrs/src/modules/orders/locales/en.js.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/index.cjs +10 -0
- package/dist/martyrs/src/modules/orders/locales/index.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/index.js +10 -0
- package/dist/martyrs/src/modules/orders/locales/index.js.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/ru.cjs +38 -0
- package/dist/martyrs/src/modules/orders/locales/ru.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/locales/ru.js +38 -0
- package/dist/martyrs/src/modules/orders/locales/ru.js.map +1 -0
- package/dist/martyrs/src/modules/orders/orders.client.cjs +78 -3
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +80 -5
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs +17 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.js +17 -0
- package/dist/martyrs/src/modules/orders/router/applications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs +18 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.js +18 -0
- package/dist/martyrs/src/modules/orders/router/customers.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/store/applications.cjs +4 -42
- package/dist/martyrs/src/modules/orders/store/applications.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.js +3 -41
- package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/application.cjs +20 -0
- package/dist/martyrs/src/modules/orders/store/models/application.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/store/models/application.js +20 -0
- package/dist/martyrs/src/modules/orders/store/models/application.js.map +1 -0
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs +13 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js +13 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +126 -192
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +128 -194
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.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.js +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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +85 -89
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +92 -96
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +0 -3
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +36 -39
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +4 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +4 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs +3 -6
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js +3 -6
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/martyrs/src/modules/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 +28 -19
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +28 -19
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- 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 -105
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +379 -123
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/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/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +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/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +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 +428 -255
- package/dist/products.server.js +428 -255
- package/dist/style.css +129 -140
- package/dist/{tickets.controller-DQQcjyui.js → tickets.controller-C56OvH6v.js} +1 -1
- package/dist/{tickets.controller-D0V0gJCA.cjs → tickets.controller-DdnndM6c.cjs} +1 -1
- package/dist/wallet.server.cjs +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/{web-B1bEJ1W9.js → web-BXajFCU2.js} +1 -1
- package/dist/{web-D5i9k2Vv.cjs → web-DaBwwCQ5.cjs} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.dev.js +10 -10
- package/src/builder/rspack/rspack.config.ssr.client.js +50 -50
- package/src/components/Checkbox/Checkbox.vue +3 -4
- package/src/components/Feed/Feed.old.vue +522 -0
- package/src/components/Feed/Feed.vue +4 -4
- package/src/components/Field/Field.vue +7 -1
- package/src/components/FieldBig/FieldBig.vue +62 -8
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/modules/STYLES.MD +198 -0
- package/src/modules/auth/views/components/pages/Profile.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +42 -8
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +9 -11
- package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +9 -11
- package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +7 -4
- package/src/modules/auth/views/router/users.js +0 -4
- package/src/modules/community/components/pages/Posts.vue +444 -0
- package/src/modules/community/router/blogposts.js +15 -0
- package/src/modules/globals/globals.client.js +3 -0
- package/src/modules/globals/views/classes/globals.websocket.js +7 -8
- package/src/modules/globals/views/components/blocks/Card.vue +2 -1
- package/src/modules/globals/views/components/layouts/Client.vue +1 -2
- package/src/modules/globals/views/components/partials/Footer.vue +318 -164
- package/src/modules/globals/views/components/sections/Filters.vue +261 -121
- package/src/modules/globals/views/components/sections/filters/FilterCheckbox.vue +78 -0
- package/src/modules/globals/views/components/sections/filters/FilterDateRange.vue +177 -0
- package/src/modules/globals/views/components/sections/filters/FilterRange.vue +51 -50
- package/src/modules/icons/entities/IconLock.vue +14 -0
- package/src/modules/icons/icons.client.js +2 -1
- package/src/modules/icons/pages/IconsPage.vue +4 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +11 -61
- package/src/modules/landing/landing.client.js +6 -0
- package/src/modules/landing/locales/en.js +9 -0
- package/src/modules/landing/locales/index.js +7 -0
- package/src/modules/landing/locales/ru.js +9 -0
- package/src/modules/music/components/pages/Album.vue +1 -1
- package/src/modules/music/components/pages/Playlist.vue +1 -1
- package/src/modules/music/components/pages/Track.vue +1 -1
- package/src/modules/orders/components/blocks/CardApplication.vue +74 -0
- package/src/modules/orders/components/blocks/CardCustomer.vue +90 -0
- package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +199 -0
- package/src/modules/orders/components/forms/FormApplicationDetails.vue +117 -0
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +165 -0
- package/src/modules/orders/components/forms/FormSelectCustomer.vue +172 -0
- package/src/modules/orders/components/pages/Applications.vue +240 -0
- package/src/modules/orders/components/pages/Customers.vue +239 -0
- package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +4 -75
- package/src/modules/orders/components/sections/ApplicationDetails.vue +91 -0
- package/src/modules/orders/components/sections/CustomerDetails.vue +107 -0
- package/src/modules/orders/locales/en.js +35 -0
- package/src/modules/orders/locales/index.js +7 -0
- package/src/modules/orders/locales/ru.js +35 -0
- package/src/modules/orders/middlewares/applications.verifier.js +189 -0
- package/src/modules/orders/middlewares/customers.verifier.js +251 -0
- package/src/modules/orders/models/application.model.js +21 -0
- package/src/modules/orders/models/customer.model.js +26 -0
- package/src/modules/orders/orders.client.js +86 -1
- package/src/modules/orders/orders.server.js +3 -1
- package/src/modules/orders/router/applications.router.js +15 -0
- package/src/modules/orders/router/customers.router.js +17 -0
- package/src/modules/orders/routes/applications.routes.js +124 -12
- package/src/modules/orders/routes/customers.routes.js +43 -0
- package/src/modules/orders/store/applications.js +3 -159
- package/src/modules/orders/store/models/application.js +18 -0
- package/src/modules/orders/store/models/customer.js +12 -0
- package/src/modules/organizations/components/pages/Organization.new.vue +593 -0
- package/src/modules/organizations/components/pages/Organization.vue +155 -206
- package/src/modules/organizations/configs/navigation.organization.config.js +69 -85
- package/src/modules/organizations/organizations.client.js +0 -3
- 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 +418 -173
- package/src/modules/products/components/sections/ProductsRecommended.vue +46 -2
- package/src/modules/products/controllers/categories.controller.js +321 -282
- package/src/modules/products/controllers/configs/products.lookup.config.js +9 -0
- package/src/modules/products/controllers/products.controller.js +2 -1
- package/src/modules/products/controllers/queries/products.queries.js +183 -11
- package/src/modules/products/middlewares/categories.verifier.js +58 -15
- package/src/modules/products/migrations/categories-to-materialized-path.js +433 -0
- package/src/modules/products/migrations/path-to-url.js +27 -0
- package/src/modules/products/models/category.model.js +8 -23
- package/src/modules/products/router/products.router.js +12 -0
- package/src/modules/products/store/categories.js +26 -7
- package/src/modules/rents/TASK.MD +161 -0
- package/src/modules/spots/components/pages/Spots.vue +342 -0
- package/src/modules/spots/router/spots.js +15 -0
- package/src/styles/base/all.scss +2 -3
- package/src/styles/layout.scss +16 -0
- package/dist/main-w3rPUBVh.cjs +0 -11
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs +0 -96
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js +0 -96
- package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +0 -155
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +0 -155
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +0 -81
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js +0 -81
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +0 -146
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +0 -146
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +0 -1
- package/src/modules/globals/views/components/partials/FooterAlt.vue +0 -363
- 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
- package/src/modules/organizations/components/sections/DetailsTabSection.vue +0 -190
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
5
|
-
const Field = require("../../../../components/Field/Field.vue.cjs");
|
|
6
|
-
const FieldPhone = require("../../../../components/FieldPhone/FieldPhone.vue.cjs");
|
|
7
|
-
const Select = require("../../../../components/Select/Select.vue.cjs");
|
|
8
|
-
const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
|
|
9
|
-
const _sfc_main = {
|
|
10
|
-
__name: "FormCustomerDetails",
|
|
11
|
-
props: {
|
|
12
|
-
customer: Object,
|
|
13
|
-
title: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "Personal Data"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
let messengerSelected = vue.ref({ name: "WhatsApp", value: "whatsapp" });
|
|
20
|
-
return (_ctx, _cache) => {
|
|
21
|
-
return vue.openBlock(), vue.createBlock(Block.default, {
|
|
22
|
-
title: __props.title,
|
|
23
|
-
class: "mn-b-thin"
|
|
24
|
-
}, {
|
|
25
|
-
default: vue.withCtx(() => [
|
|
26
|
-
vue.createVNode(Field.default, {
|
|
27
|
-
field: __props.customer.profile.name,
|
|
28
|
-
"onUpdate:field": _cache[0] || (_cache[0] = ($event) => __props.customer.profile.name = $event),
|
|
29
|
-
label: "Name",
|
|
30
|
-
placeholder: "Enter name",
|
|
31
|
-
class: "bg-white pd-small radius-small mn-b-thin"
|
|
32
|
-
}, null, 8, ["field"]),
|
|
33
|
-
vue.createVNode(FieldPhone.default, {
|
|
34
|
-
modelValue: __props.customer.phone,
|
|
35
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.customer.phone = $event),
|
|
36
|
-
onCountry: _cache[2] || (_cache[2] = (country) => {
|
|
37
|
-
__props.customer.number = country;
|
|
38
|
-
}),
|
|
39
|
-
inputOptions: {
|
|
40
|
-
placeholder: "Enter phone number",
|
|
41
|
-
type: "tel"
|
|
42
|
-
},
|
|
43
|
-
defaultCountry: "TH",
|
|
44
|
-
validCharactersOnly: true,
|
|
45
|
-
dropdownOptions: {
|
|
46
|
-
showDialCodeInSelection: true,
|
|
47
|
-
showFlags: true,
|
|
48
|
-
showDialCodeInList: true
|
|
49
|
-
},
|
|
50
|
-
mode: "national",
|
|
51
|
-
class: "w-100 bg-white pd-small mn-b-thin radius-small"
|
|
52
|
-
}, null, 8, ["modelValue"]),
|
|
53
|
-
vue.createElementVNode("div", _hoisted_1, [
|
|
54
|
-
vue.createVNode(Select.default, {
|
|
55
|
-
select: vue.unref(messengerSelected),
|
|
56
|
-
options: [
|
|
57
|
-
{ name: "Instagram", value: "instagram" },
|
|
58
|
-
{ name: "Telegram", value: "telegram" },
|
|
59
|
-
{ name: "WhatsApp", value: "whatsapp" }
|
|
60
|
-
],
|
|
61
|
-
"onUpdate:select": _cache[3] || (_cache[3] = (option) => vue.isRef(messengerSelected) ? messengerSelected.value = option : messengerSelected = option),
|
|
62
|
-
placeholder: "Messenger",
|
|
63
|
-
size: "small",
|
|
64
|
-
class: "bg-white pd-small radius-small"
|
|
65
|
-
}, null, 8, ["select"]),
|
|
66
|
-
vue.createVNode(Field.default, {
|
|
67
|
-
field: __props.customer.socials[vue.unref(messengerSelected)],
|
|
68
|
-
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => __props.customer.socials[vue.unref(messengerSelected)] = $event),
|
|
69
|
-
label: "@",
|
|
70
|
-
placeholder: "Enter username",
|
|
71
|
-
class: "bg-white pd-small radius-small w-100"
|
|
72
|
-
}, null, 8, ["field"])
|
|
73
|
-
])
|
|
74
|
-
]),
|
|
75
|
-
_: 1
|
|
76
|
-
}, 8, ["title"]);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
exports.default = _sfc_main;
|
|
81
|
-
//# sourceMappingURL=FormCustomerDetails.vue.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormCustomerDetails.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/FormCustomerDetails.vue"],"sourcesContent":["<template>\n <Block :title=\"title\" class=\"mn-b-thin\">\n <Field \n v-model:field=\"customer.profile.name\" \n label=\"Name\" \n placeholder=\"Enter name\" \n class=\"bg-white pd-small radius-small mn-b-thin\"\n />\n <FieldPhone\n v-model=\"customer.phone\" \n @country=\"(country) => { customer.number = country }\"\n :inputOptions=\"{\n placeholder: 'Enter phone number',\n type: 'tel',\n }\"\n :defaultCountry=\"'TH'\"\n :validCharactersOnly=\"true\"\n :dropdownOptions=\"{\n showDialCodeInSelection: true,\n showFlags: true,\n showDialCodeInList: true\n }\" \n mode=\"national\"\n class=\"w-100 bg-white pd-small mn-b-thin radius-small\" \n />\n <div \n class=\"gap-thin flex-justify-between flex-nowrap flex\"\n >\n <Select \n :select=\"messengerSelected\"\n :options=\"[\n {name: 'Instagram', value: 'instagram'}, \n {name: 'Telegram', value: 'telegram'}, \n {name: 'WhatsApp', value: 'whatsapp'},\n ]\"\n @update:select=\"(option) => messengerSelected = option\"\n placeholder=\"Messenger\" \n size=\"small\"\n class=\"bg-white pd-small radius-small\"\n />\n <Field\n v-model:field=\"customer.socials[messengerSelected]\" \n label=\"@\" \n placeholder=\"Enter username\"\n class=\"bg-white pd-small radius-small w-100\"\n />\n </div>\n </Block>\n</template>\n\n<script setup>\nimport { ref } from \"vue\"\nimport Block from '@martyrs/src/components/Block/Block.vue'\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport FieldPhone from '@martyrs/src/components/FieldPhone/FieldPhone.vue'\nimport Select from '@martyrs/src/components/Select/Select.vue'\n\nlet messengerSelected = ref({name: 'WhatsApp', value: 'whatsapp'})\n\ndefineProps({\n customer: Object,\n title: {\n type: String,\n default: 'Personal Data'\n }, \n});\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;AAyDA,QAAI,oBAAoBA,IAAAA,IAAI,EAAC,MAAM,YAAY,OAAO,WAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { ref, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
|
-
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
|
-
import _sfc_main$2 from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
|
5
|
-
import Select from "../../../../components/Select/Select.vue.js";
|
|
6
|
-
const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
|
|
7
|
-
const _sfc_main = {
|
|
8
|
-
__name: "FormCustomerDetails",
|
|
9
|
-
props: {
|
|
10
|
-
customer: Object,
|
|
11
|
-
title: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: "Personal Data"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
let messengerSelected = ref({ name: "WhatsApp", value: "whatsapp" });
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
20
|
-
title: __props.title,
|
|
21
|
-
class: "mn-b-thin"
|
|
22
|
-
}, {
|
|
23
|
-
default: withCtx(() => [
|
|
24
|
-
createVNode(Field, {
|
|
25
|
-
field: __props.customer.profile.name,
|
|
26
|
-
"onUpdate:field": _cache[0] || (_cache[0] = ($event) => __props.customer.profile.name = $event),
|
|
27
|
-
label: "Name",
|
|
28
|
-
placeholder: "Enter name",
|
|
29
|
-
class: "bg-white pd-small radius-small mn-b-thin"
|
|
30
|
-
}, null, 8, ["field"]),
|
|
31
|
-
createVNode(_sfc_main$2, {
|
|
32
|
-
modelValue: __props.customer.phone,
|
|
33
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.customer.phone = $event),
|
|
34
|
-
onCountry: _cache[2] || (_cache[2] = (country) => {
|
|
35
|
-
__props.customer.number = country;
|
|
36
|
-
}),
|
|
37
|
-
inputOptions: {
|
|
38
|
-
placeholder: "Enter phone number",
|
|
39
|
-
type: "tel"
|
|
40
|
-
},
|
|
41
|
-
defaultCountry: "TH",
|
|
42
|
-
validCharactersOnly: true,
|
|
43
|
-
dropdownOptions: {
|
|
44
|
-
showDialCodeInSelection: true,
|
|
45
|
-
showFlags: true,
|
|
46
|
-
showDialCodeInList: true
|
|
47
|
-
},
|
|
48
|
-
mode: "national",
|
|
49
|
-
class: "w-100 bg-white pd-small mn-b-thin radius-small"
|
|
50
|
-
}, null, 8, ["modelValue"]),
|
|
51
|
-
createElementVNode("div", _hoisted_1, [
|
|
52
|
-
createVNode(Select, {
|
|
53
|
-
select: unref(messengerSelected),
|
|
54
|
-
options: [
|
|
55
|
-
{ name: "Instagram", value: "instagram" },
|
|
56
|
-
{ name: "Telegram", value: "telegram" },
|
|
57
|
-
{ name: "WhatsApp", value: "whatsapp" }
|
|
58
|
-
],
|
|
59
|
-
"onUpdate:select": _cache[3] || (_cache[3] = (option) => isRef(messengerSelected) ? messengerSelected.value = option : messengerSelected = option),
|
|
60
|
-
placeholder: "Messenger",
|
|
61
|
-
size: "small",
|
|
62
|
-
class: "bg-white pd-small radius-small"
|
|
63
|
-
}, null, 8, ["select"]),
|
|
64
|
-
createVNode(Field, {
|
|
65
|
-
field: __props.customer.socials[unref(messengerSelected)],
|
|
66
|
-
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => __props.customer.socials[unref(messengerSelected)] = $event),
|
|
67
|
-
label: "@",
|
|
68
|
-
placeholder: "Enter username",
|
|
69
|
-
class: "bg-white pd-small radius-small w-100"
|
|
70
|
-
}, null, 8, ["field"])
|
|
71
|
-
])
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["title"]);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
export {
|
|
79
|
-
_sfc_main as default
|
|
80
|
-
};
|
|
81
|
-
//# sourceMappingURL=FormCustomerDetails.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormCustomerDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/FormCustomerDetails.vue"],"sourcesContent":["<template>\n <Block :title=\"title\" class=\"mn-b-thin\">\n <Field \n v-model:field=\"customer.profile.name\" \n label=\"Name\" \n placeholder=\"Enter name\" \n class=\"bg-white pd-small radius-small mn-b-thin\"\n />\n <FieldPhone\n v-model=\"customer.phone\" \n @country=\"(country) => { customer.number = country }\"\n :inputOptions=\"{\n placeholder: 'Enter phone number',\n type: 'tel',\n }\"\n :defaultCountry=\"'TH'\"\n :validCharactersOnly=\"true\"\n :dropdownOptions=\"{\n showDialCodeInSelection: true,\n showFlags: true,\n showDialCodeInList: true\n }\" \n mode=\"national\"\n class=\"w-100 bg-white pd-small mn-b-thin radius-small\" \n />\n <div \n class=\"gap-thin flex-justify-between flex-nowrap flex\"\n >\n <Select \n :select=\"messengerSelected\"\n :options=\"[\n {name: 'Instagram', value: 'instagram'}, \n {name: 'Telegram', value: 'telegram'}, \n {name: 'WhatsApp', value: 'whatsapp'},\n ]\"\n @update:select=\"(option) => messengerSelected = option\"\n placeholder=\"Messenger\" \n size=\"small\"\n class=\"bg-white pd-small radius-small\"\n />\n <Field\n v-model:field=\"customer.socials[messengerSelected]\" \n label=\"@\" \n placeholder=\"Enter username\"\n class=\"bg-white pd-small radius-small w-100\"\n />\n </div>\n </Block>\n</template>\n\n<script setup>\nimport { ref } from \"vue\"\nimport Block from '@martyrs/src/components/Block/Block.vue'\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport FieldPhone from '@martyrs/src/components/FieldPhone/FieldPhone.vue'\nimport Select from '@martyrs/src/components/Select/Select.vue'\n\nlet messengerSelected = ref({name: 'WhatsApp', value: 'whatsapp'})\n\ndefineProps({\n customer: Object,\n title: {\n type: String,\n default: 'Personal Data'\n }, \n});\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAyDA,QAAI,oBAAoB,IAAI,EAAC,MAAM,YAAY,OAAO,WAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
const vueRouter = require("vue-router");
|
|
5
|
-
const Dropdown = require("../../../../components/Dropdown/Dropdown.vue2.cjs");
|
|
6
|
-
const Text = require("../../../../components/Text/Text.vue.cjs");
|
|
7
|
-
const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
|
|
8
|
-
const IconFollowing = require("../../../icons/entities/IconFollowing.vue.cjs");
|
|
9
|
-
const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
|
|
10
|
-
const IconEllipsis = require("../../../icons/navigation/IconEllipsis.vue.cjs");
|
|
11
|
-
const PlaceholderOrganizationPic = require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs");
|
|
12
|
-
const ButtonToggleMembership = require("../elements/ButtonToggleMembership.vue.cjs");
|
|
13
|
-
const Socials = require("../blocks/Socials.vue.cjs");
|
|
14
|
-
const FormReport = require("../../../reports/components/sections/FormReport.vue.cjs");
|
|
15
|
-
const organizations = require("../../store/organizations.cjs");
|
|
16
|
-
const memberships = require("../../store/memberships.cjs");
|
|
17
|
-
const _hoisted_1 = { class: "flex-center flex flex-column t-center pd-medium radius-medium bg-light" };
|
|
18
|
-
const _hoisted_2 = { class: "bg-black pd-thin radius-small" };
|
|
19
|
-
const _hoisted_3 = ["src"];
|
|
20
|
-
const _hoisted_4 = { class: "mn-b-thin" };
|
|
21
|
-
const _hoisted_5 = { class: "flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max" };
|
|
22
|
-
const _hoisted_6 = { class: "mn-t-thin p-medium t-medium uppercase mn-b-thin" };
|
|
23
|
-
const _hoisted_7 = { class: "w-max-50r mn-t-regular mn-b-medium p-semi" };
|
|
24
|
-
const _hoisted_8 = {
|
|
25
|
-
key: 5,
|
|
26
|
-
class: "mn-t-small mn-b-thin"
|
|
27
|
-
};
|
|
28
|
-
const _sfc_main = {
|
|
29
|
-
__name: "DetailsTabSection",
|
|
30
|
-
props: {
|
|
31
|
-
organization: Object,
|
|
32
|
-
user: Object
|
|
33
|
-
},
|
|
34
|
-
setup(__props) {
|
|
35
|
-
const route = vueRouter.useRoute();
|
|
36
|
-
const handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {
|
|
37
|
-
memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber);
|
|
38
|
-
};
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
const _component_router_link = vue.resolveComponent("router-link");
|
|
41
|
-
return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
|
|
42
|
-
__props.user._id !== __props.organization.owner ? (vue.openBlock(), vue.createBlock(Dropdown.default, {
|
|
43
|
-
key: 0,
|
|
44
|
-
label: { component: IconEllipsis.default, class: "i-regular t-transp" },
|
|
45
|
-
align: "right",
|
|
46
|
-
class: "cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra"
|
|
47
|
-
}, {
|
|
48
|
-
default: vue.withCtx(() => [
|
|
49
|
-
vue.createElementVNode("section", _hoisted_2, [
|
|
50
|
-
vue.createVNode(FormReport.default, {
|
|
51
|
-
user: __props.user._id,
|
|
52
|
-
type: "organization",
|
|
53
|
-
target: __props.organization._id,
|
|
54
|
-
text: "Report",
|
|
55
|
-
class: "w-100"
|
|
56
|
-
}, {
|
|
57
|
-
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
58
|
-
vue.createElementVNode("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1)
|
|
59
|
-
])),
|
|
60
|
-
_: 1
|
|
61
|
-
}, 8, ["user", "target"]),
|
|
62
|
-
__props.user._id && __props.user._id !== __props.organization.owner ? (vue.openBlock(), vue.createBlock(ButtonToggleMembership.default, {
|
|
63
|
-
key: 0,
|
|
64
|
-
user: __props.user._id,
|
|
65
|
-
type: "organization",
|
|
66
|
-
role: "blocked",
|
|
67
|
-
target: __props.organization._id,
|
|
68
|
-
status: __props.organization.isBlocked,
|
|
69
|
-
text: { create: "Block", remove: "Unblock" },
|
|
70
|
-
onUpdateMembership: _cache[0] || (_cache[0] = (event) => handleMembershipUpdate(event, "isBlocked")),
|
|
71
|
-
class: "t-white w-100 mn-t-thin bg-red"
|
|
72
|
-
}, null, 8, ["user", "target", "status"])) : vue.createCommentVNode("", true)
|
|
73
|
-
])
|
|
74
|
-
]),
|
|
75
|
-
_: 1
|
|
76
|
-
}, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
77
|
-
__props.user._id === __props.organization.owner ? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
|
78
|
-
key: 1,
|
|
79
|
-
to: {
|
|
80
|
-
name: "Organization Edit",
|
|
81
|
-
params: {
|
|
82
|
-
_id: __props.organization._id
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
class: "z-index-2 cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"
|
|
86
|
-
}, {
|
|
87
|
-
default: vue.withCtx(() => [
|
|
88
|
-
vue.createVNode(IconEdit.default, {
|
|
89
|
-
class: "i-regular",
|
|
90
|
-
classes: "fill-white"
|
|
91
|
-
})
|
|
92
|
-
]),
|
|
93
|
-
_: 1
|
|
94
|
-
}, 8, ["to"])) : vue.createCommentVNode("", true),
|
|
95
|
-
__props.organization.profile.photo ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
96
|
-
key: 2,
|
|
97
|
-
loading: "lazy",
|
|
98
|
-
src: (_ctx.FILE_SERVER_URL || "") + __props.organization.profile.photo,
|
|
99
|
-
class: "radius-big bg-light flex-center flex mn-b-small w-8r"
|
|
100
|
-
}, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createBlock(PlaceholderOrganizationPic.default, {
|
|
101
|
-
key: 3,
|
|
102
|
-
class: "radius-medium mn-b-small i-extra"
|
|
103
|
-
})),
|
|
104
|
-
vue.createElementVNode("h1", _hoisted_4, vue.toDisplayString(__props.organization.profile.name), 1),
|
|
105
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
106
|
-
vue.createVNode(IconFollowing.default, { class: "i-medium mn-r-micro t-transp" }),
|
|
107
|
-
vue.createElementVNode("p", _hoisted_6, vue.toDisplayString(__props.organization.numberOfSubscribers) + " followers", 1),
|
|
108
|
-
__props.user._id && vue.unref(route).params._id && vue.unref(route).params._id !== __props.user._id && __props.organization.owner !== __props.user._id ? (vue.openBlock(), vue.createBlock(ButtonToggleMembership.default, {
|
|
109
|
-
key: 0,
|
|
110
|
-
user: __props.user._id,
|
|
111
|
-
type: "organization",
|
|
112
|
-
role: "subscriber",
|
|
113
|
-
target: __props.organization._id,
|
|
114
|
-
status: __props.organization.isSubscriber,
|
|
115
|
-
text: { create: "+", remove: "-" },
|
|
116
|
-
onUpdateMembership: _cache[1] || (_cache[1] = (event) => handleMembershipUpdate(event, "isSubscriber", "numberOfSubscribers")),
|
|
117
|
-
class: "mn-l-thin p-medium t-medium radius-extra i-semi"
|
|
118
|
-
}, null, 8, ["user", "target", "status"])) : vue.createCommentVNode("", true)
|
|
119
|
-
]),
|
|
120
|
-
vue.createElementVNode("p", _hoisted_7, [
|
|
121
|
-
vue.createVNode(Text.default, {
|
|
122
|
-
text: __props.organization.profile.description || "",
|
|
123
|
-
showToggleText: true,
|
|
124
|
-
maxLen: 320
|
|
125
|
-
}, null, 8, ["text"])
|
|
126
|
-
]),
|
|
127
|
-
__props.organization.profile?.tags?.length > 0 ? (vue.openBlock(), vue.createBlock(Chips.default, {
|
|
128
|
-
key: 4,
|
|
129
|
-
chips: __props.organization.profile.tags,
|
|
130
|
-
class: "p-medium"
|
|
131
|
-
}, null, 8, ["chips"])) : vue.createCommentVNode("", true),
|
|
132
|
-
Object.values(__props.organization.socials).some((value) => value) ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_8, " Find us in socials ")) : vue.createCommentVNode("", true),
|
|
133
|
-
vue.createVNode(Socials.default, {
|
|
134
|
-
telegram: __props.organization.socials.telegram,
|
|
135
|
-
facebook: __props.organization.socials.facebook,
|
|
136
|
-
instagram: __props.organization.socials.instagram,
|
|
137
|
-
twitter: __props.organization.socials.twitter,
|
|
138
|
-
youtube: __props.organization.socials.youtube
|
|
139
|
-
}, null, 8, ["telegram", "facebook", "instagram", "twitter", "youtube"]),
|
|
140
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
141
|
-
]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
exports.default = _sfc_main;
|
|
146
|
-
//# sourceMappingURL=DetailsTabSection.vue.cjs.map
|
package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsTabSection.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-medium bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n <router-link\n\t\t\tv-if=\"user._id === organization.owner\"\n :to=\"{\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t}\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-semi\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@martyrs/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@martyrs/src/components/Text/Text.vue'\n\timport Chips from '@martyrs/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@martyrs/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@martyrs/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@martyrs/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@martyrs/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@martyrs/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@martyrs/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@martyrs/src/modules/organizations/store/organizations.js'\n\timport * as memberships \tfrom '@martyrs/src/modules/organizations/store/memberships.js'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["useRoute","memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmLC,UAAM,QAAQA,UAAAA,SAAQ;AAGtB,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAM,GAAI,YAAY,iBAAiB;AAC3FC,4BAAsB,uBAAuBC,cAAAA,MAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IAChI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { resolveComponent, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, createVNode, renderSlot, withCtx, toDisplayString, unref } from "vue";
|
|
2
|
-
import { useRoute } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue2.js";
|
|
4
|
-
import _sfc_main$7 from "../../../../components/Text/Text.vue.js";
|
|
5
|
-
import _sfc_main$8 from "../../../../components/Chips/Chips.vue2.js";
|
|
6
|
-
import _sfc_main$6 from "../../../icons/entities/IconFollowing.vue.js";
|
|
7
|
-
import _sfc_main$5 from "../../../icons/navigation/IconEdit.vue.js";
|
|
8
|
-
import _sfc_main$2 from "../../../icons/navigation/IconEllipsis.vue.js";
|
|
9
|
-
import PlaceholderOrganizationPic from "../../../icons/placeholders/PlaceholderOrganizationPic.vue.js";
|
|
10
|
-
import _sfc_main$4 from "../elements/ButtonToggleMembership.vue.js";
|
|
11
|
-
import _sfc_main$9 from "../blocks/Socials.vue.js";
|
|
12
|
-
import _sfc_main$3 from "../../../reports/components/sections/FormReport.vue.js";
|
|
13
|
-
import { state } from "../../store/organizations.js";
|
|
14
|
-
import { mutations } from "../../store/memberships.js";
|
|
15
|
-
const _hoisted_1 = { class: "flex-center flex flex-column t-center pd-medium radius-medium bg-light" };
|
|
16
|
-
const _hoisted_2 = { class: "bg-black pd-thin radius-small" };
|
|
17
|
-
const _hoisted_3 = ["src"];
|
|
18
|
-
const _hoisted_4 = { class: "mn-b-thin" };
|
|
19
|
-
const _hoisted_5 = { class: "flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max" };
|
|
20
|
-
const _hoisted_6 = { class: "mn-t-thin p-medium t-medium uppercase mn-b-thin" };
|
|
21
|
-
const _hoisted_7 = { class: "w-max-50r mn-t-regular mn-b-medium p-semi" };
|
|
22
|
-
const _hoisted_8 = {
|
|
23
|
-
key: 5,
|
|
24
|
-
class: "mn-t-small mn-b-thin"
|
|
25
|
-
};
|
|
26
|
-
const _sfc_main = {
|
|
27
|
-
__name: "DetailsTabSection",
|
|
28
|
-
props: {
|
|
29
|
-
organization: Object,
|
|
30
|
-
user: Object
|
|
31
|
-
},
|
|
32
|
-
setup(__props) {
|
|
33
|
-
const route = useRoute();
|
|
34
|
-
const handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {
|
|
35
|
-
mutations.handleMembershipUpdate(state.current, membership, status, target, statusName, statusNumber);
|
|
36
|
-
};
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
const _component_router_link = resolveComponent("router-link");
|
|
39
|
-
return openBlock(), createElementBlock("section", _hoisted_1, [
|
|
40
|
-
__props.user._id !== __props.organization.owner ? (openBlock(), createBlock(_sfc_main$1, {
|
|
41
|
-
key: 0,
|
|
42
|
-
label: { component: _sfc_main$2, class: "i-regular t-transp" },
|
|
43
|
-
align: "right",
|
|
44
|
-
class: "cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra"
|
|
45
|
-
}, {
|
|
46
|
-
default: withCtx(() => [
|
|
47
|
-
createElementVNode("section", _hoisted_2, [
|
|
48
|
-
createVNode(_sfc_main$3, {
|
|
49
|
-
user: __props.user._id,
|
|
50
|
-
type: "organization",
|
|
51
|
-
target: __props.organization._id,
|
|
52
|
-
text: "Report",
|
|
53
|
-
class: "w-100"
|
|
54
|
-
}, {
|
|
55
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
56
|
-
createElementVNode("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1)
|
|
57
|
-
])),
|
|
58
|
-
_: 1
|
|
59
|
-
}, 8, ["user", "target"]),
|
|
60
|
-
__props.user._id && __props.user._id !== __props.organization.owner ? (openBlock(), createBlock(_sfc_main$4, {
|
|
61
|
-
key: 0,
|
|
62
|
-
user: __props.user._id,
|
|
63
|
-
type: "organization",
|
|
64
|
-
role: "blocked",
|
|
65
|
-
target: __props.organization._id,
|
|
66
|
-
status: __props.organization.isBlocked,
|
|
67
|
-
text: { create: "Block", remove: "Unblock" },
|
|
68
|
-
onUpdateMembership: _cache[0] || (_cache[0] = (event) => handleMembershipUpdate(event, "isBlocked")),
|
|
69
|
-
class: "t-white w-100 mn-t-thin bg-red"
|
|
70
|
-
}, null, 8, ["user", "target", "status"])) : createCommentVNode("", true)
|
|
71
|
-
])
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["label"])) : createCommentVNode("", true),
|
|
75
|
-
__props.user._id === __props.organization.owner ? (openBlock(), createBlock(_component_router_link, {
|
|
76
|
-
key: 1,
|
|
77
|
-
to: {
|
|
78
|
-
name: "Organization Edit",
|
|
79
|
-
params: {
|
|
80
|
-
_id: __props.organization._id
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
class: "z-index-2 cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"
|
|
84
|
-
}, {
|
|
85
|
-
default: withCtx(() => [
|
|
86
|
-
createVNode(_sfc_main$5, {
|
|
87
|
-
class: "i-regular",
|
|
88
|
-
classes: "fill-white"
|
|
89
|
-
})
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
}, 8, ["to"])) : createCommentVNode("", true),
|
|
93
|
-
__props.organization.profile.photo ? (openBlock(), createElementBlock("img", {
|
|
94
|
-
key: 2,
|
|
95
|
-
loading: "lazy",
|
|
96
|
-
src: (_ctx.FILE_SERVER_URL || "") + __props.organization.profile.photo,
|
|
97
|
-
class: "radius-big bg-light flex-center flex mn-b-small w-8r"
|
|
98
|
-
}, null, 8, _hoisted_3)) : (openBlock(), createBlock(PlaceholderOrganizationPic, {
|
|
99
|
-
key: 3,
|
|
100
|
-
class: "radius-medium mn-b-small i-extra"
|
|
101
|
-
})),
|
|
102
|
-
createElementVNode("h1", _hoisted_4, toDisplayString(__props.organization.profile.name), 1),
|
|
103
|
-
createElementVNode("div", _hoisted_5, [
|
|
104
|
-
createVNode(_sfc_main$6, { class: "i-medium mn-r-micro t-transp" }),
|
|
105
|
-
createElementVNode("p", _hoisted_6, toDisplayString(__props.organization.numberOfSubscribers) + " followers", 1),
|
|
106
|
-
__props.user._id && unref(route).params._id && unref(route).params._id !== __props.user._id && __props.organization.owner !== __props.user._id ? (openBlock(), createBlock(_sfc_main$4, {
|
|
107
|
-
key: 0,
|
|
108
|
-
user: __props.user._id,
|
|
109
|
-
type: "organization",
|
|
110
|
-
role: "subscriber",
|
|
111
|
-
target: __props.organization._id,
|
|
112
|
-
status: __props.organization.isSubscriber,
|
|
113
|
-
text: { create: "+", remove: "-" },
|
|
114
|
-
onUpdateMembership: _cache[1] || (_cache[1] = (event) => handleMembershipUpdate(event, "isSubscriber", "numberOfSubscribers")),
|
|
115
|
-
class: "mn-l-thin p-medium t-medium radius-extra i-semi"
|
|
116
|
-
}, null, 8, ["user", "target", "status"])) : createCommentVNode("", true)
|
|
117
|
-
]),
|
|
118
|
-
createElementVNode("p", _hoisted_7, [
|
|
119
|
-
createVNode(_sfc_main$7, {
|
|
120
|
-
text: __props.organization.profile.description || "",
|
|
121
|
-
showToggleText: true,
|
|
122
|
-
maxLen: 320
|
|
123
|
-
}, null, 8, ["text"])
|
|
124
|
-
]),
|
|
125
|
-
__props.organization.profile?.tags?.length > 0 ? (openBlock(), createBlock(_sfc_main$8, {
|
|
126
|
-
key: 4,
|
|
127
|
-
chips: __props.organization.profile.tags,
|
|
128
|
-
class: "p-medium"
|
|
129
|
-
}, null, 8, ["chips"])) : createCommentVNode("", true),
|
|
130
|
-
Object.values(__props.organization.socials).some((value) => value) ? (openBlock(), createElementBlock("h4", _hoisted_8, " Find us in socials ")) : createCommentVNode("", true),
|
|
131
|
-
createVNode(_sfc_main$9, {
|
|
132
|
-
telegram: __props.organization.socials.telegram,
|
|
133
|
-
facebook: __props.organization.socials.facebook,
|
|
134
|
-
instagram: __props.organization.socials.instagram,
|
|
135
|
-
twitter: __props.organization.socials.twitter,
|
|
136
|
-
youtube: __props.organization.socials.youtube
|
|
137
|
-
}, null, 8, ["telegram", "facebook", "instagram", "twitter", "youtube"]),
|
|
138
|
-
renderSlot(_ctx.$slots, "default")
|
|
139
|
-
]);
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
export {
|
|
144
|
-
_sfc_main as default
|
|
145
|
-
};
|
|
146
|
-
//# sourceMappingURL=DetailsTabSection.vue.js.map
|
package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetailsTabSection.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-medium bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n <router-link\n\t\t\tv-if=\"user._id === organization.owner\"\n :to=\"{\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t}\" \n class=\"\n \tz-index-2\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-semi\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@martyrs/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@martyrs/src/components/Text/Text.vue'\n\timport Chips from '@martyrs/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@martyrs/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@martyrs/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@martyrs/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@martyrs/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@martyrs/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@martyrs/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@martyrs/src/modules/organizations/store/organizations.js'\n\timport * as memberships \tfrom '@martyrs/src/modules/organizations/store/memberships.js'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmLC,UAAM,QAAQ,SAAQ;AAGtB,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAM,GAAI,YAAY,iBAAiB;AAC3FA,gBAAsB,uBAAuBC,MAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IAChI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|