@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,90 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-light pos-relative pd-medium radius-medium">
|
|
3
|
+
<div class="mn-b-small flex">
|
|
4
|
+
<div class="mn-r-auto">
|
|
5
|
+
<h3 class="mn-b-thin">{{ customer.profile?.name || customer.email || customer.phone || 'Unnamed Customer' }}</h3>
|
|
6
|
+
<p class="t-transp">{{ customer.email || customer.phone }}</p>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="flex-center">
|
|
9
|
+
<StatusBadge :value="{
|
|
10
|
+
text: customer.status,
|
|
11
|
+
color: customer.status === 'active' ? '#22c55e' : customer.status === 'inactive' ? '#f59e0b' : '#ef4444'
|
|
12
|
+
}" />
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="mn-b-small pd-small bg-white radius-small flex-nowrap flex">
|
|
17
|
+
<div class="w-100">
|
|
18
|
+
<p class="t-truncate">{{ customer.source || 'Unknown' }}</p>
|
|
19
|
+
<small class="t-transp">Source</small>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="w-100 t-right">
|
|
23
|
+
<p>{{ formatDate(customer.lastActivity || customer.updatedAt) }}</p>
|
|
24
|
+
<small class="t-transp">Last Activity</small>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="pd-small bg-white radius-small">
|
|
29
|
+
<div class="flex mn-b-thin">
|
|
30
|
+
<div class="mn-r-auto">
|
|
31
|
+
<p>{{ customer.identity?.type || 'Visitor' }}</p>
|
|
32
|
+
<small class="t-transp">Type</small>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="t-right">
|
|
35
|
+
<p>#{{ customer._id.slice(0, 4) + '...' + customer._id.slice(-4) }}</p>
|
|
36
|
+
<small class="t-transp">ID</small>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div v-if="customer.tags && customer.tags.length > 0" class="flex flex-wrap gap-nano">
|
|
41
|
+
<span
|
|
42
|
+
v-for="tag in customer.tags.slice(0, 3)"
|
|
43
|
+
:key="tag"
|
|
44
|
+
class="bg-light pd-nano radius-small t-small"
|
|
45
|
+
>
|
|
46
|
+
{{ tag }}
|
|
47
|
+
</span>
|
|
48
|
+
<span
|
|
49
|
+
v-if="customer.tags.length > 3"
|
|
50
|
+
class="bg-light-transp pd-nano radius-small t-small t-transp"
|
|
51
|
+
>
|
|
52
|
+
+{{ customer.tags.length - 3 }}
|
|
53
|
+
</span>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div v-if="customer.referral?.code" class="mn-t-thin">
|
|
57
|
+
<p class="t-small">Referral: {{ customer.referral.code }}</p>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script setup>
|
|
64
|
+
import StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';
|
|
65
|
+
|
|
66
|
+
defineProps({
|
|
67
|
+
customer: {
|
|
68
|
+
type: Object,
|
|
69
|
+
required: true
|
|
70
|
+
},
|
|
71
|
+
formatDate: {
|
|
72
|
+
type: Function,
|
|
73
|
+
required: true
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<style scoped>
|
|
79
|
+
.bg-light {
|
|
80
|
+
background-color: var(--color-bg-light, #f8f9fa);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.bg-light-transp {
|
|
84
|
+
background-color: var(--color-bg-light-transp, rgba(248, 249, 250, 0.7));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.bg-light-transp-50 {
|
|
88
|
+
background-color: var(--color-bg-light-transp-50, rgba(248, 249, 250, 0.5));
|
|
89
|
+
}
|
|
90
|
+
</style>
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FieldBig
|
|
3
|
+
:input="email"
|
|
4
|
+
:typingSpeed="typingSpeed"
|
|
5
|
+
:loopTyping="loopTyping"
|
|
6
|
+
:enableTyping="enableTyping"
|
|
7
|
+
:placeholder="props.placeholder || t('orders.newsletter.placeholder')"
|
|
8
|
+
:action="props.action === false ? '' : props.action || t('orders.newsletter.action')"
|
|
9
|
+
:name="fieldName"
|
|
10
|
+
:id="fieldId"
|
|
11
|
+
@update:input="email = $event"
|
|
12
|
+
@action="sendApplication"
|
|
13
|
+
:showLoader="true"
|
|
14
|
+
:showSuccess="false"
|
|
15
|
+
:callbackDelay="100"
|
|
16
|
+
v-bind="$attrs"
|
|
17
|
+
>
|
|
18
|
+
<Popup
|
|
19
|
+
:isPopupOpen="isSuccessPopupOpen"
|
|
20
|
+
@close-popup="isSuccessPopupOpen = false"
|
|
21
|
+
align="center center"
|
|
22
|
+
class="bg-white t-black pd-big radius-big"
|
|
23
|
+
>
|
|
24
|
+
<div class="t-center">
|
|
25
|
+
<h3 class="mn-b-medium">{{ props.successTitle || t('orders.newsletter.success.title') }}</h3>
|
|
26
|
+
<p class="t-transp mn-b-medium">{{ props.successSubtitle || t('orders.newsletter.success.subtitle') }}</p>
|
|
27
|
+
|
|
28
|
+
<div v-if="(props.socials || tm('orders.newsletter.socials')) && (props.socials || tm('orders.newsletter.socials')).length" class="flex flex-wrap flex-h-center gap-medium">
|
|
29
|
+
<a
|
|
30
|
+
v-for="social in (props.socials || tm('orders.newsletter.socials'))"
|
|
31
|
+
:key="social.name"
|
|
32
|
+
:href="social.url"
|
|
33
|
+
target="_blank"
|
|
34
|
+
rel="noopener noreferrer"
|
|
35
|
+
class="hover-scale-1 bg-light radius-small pd-thin transition-all"
|
|
36
|
+
>
|
|
37
|
+
<component
|
|
38
|
+
:is="socialIcons[social.icon]"
|
|
39
|
+
class="i-semi"
|
|
40
|
+
:fill="'rgb(var(--dark))'"
|
|
41
|
+
/>
|
|
42
|
+
</a>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</Popup>
|
|
46
|
+
</FieldBig>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script setup>
|
|
50
|
+
import { ref, computed } from 'vue'
|
|
51
|
+
import { useI18n } from 'vue-i18n'
|
|
52
|
+
|
|
53
|
+
import FieldBig from '@martyrs/src/components/FieldBig/FieldBig.vue'
|
|
54
|
+
import Popup from '@martyrs/src/components/Popup/Popup.vue'
|
|
55
|
+
|
|
56
|
+
import IconFacebook from '@martyrs/src/modules/icons/socials/facebook.vue'
|
|
57
|
+
import IconInstagram from '@martyrs/src/modules/icons/socials/instagram.vue'
|
|
58
|
+
import IconTelegram from '@martyrs/src/modules/icons/socials/telegram.vue'
|
|
59
|
+
import IconTwitter from '@martyrs/src/modules/icons/socials/twitter.vue'
|
|
60
|
+
import IconYoutube from '@martyrs/src/modules/icons/socials/youtube.vue'
|
|
61
|
+
import IconLinkedin from '@martyrs/src/modules/icons/socials/linkedin.vue'
|
|
62
|
+
import IconWhatsapp from '@martyrs/src/modules/icons/socials/whatsapp.vue'
|
|
63
|
+
|
|
64
|
+
import * as globals from '@martyrs/src/modules/globals/views/store/globals.js'
|
|
65
|
+
import applications from '@martyrs/src/modules/orders/store/applications.js'
|
|
66
|
+
|
|
67
|
+
const props = defineProps({
|
|
68
|
+
// Тексты компонента
|
|
69
|
+
title: {
|
|
70
|
+
type: String,
|
|
71
|
+
default: null
|
|
72
|
+
},
|
|
73
|
+
subtitle: {
|
|
74
|
+
type: String,
|
|
75
|
+
default: null
|
|
76
|
+
},
|
|
77
|
+
placeholder: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: null
|
|
80
|
+
},
|
|
81
|
+
action: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: null
|
|
84
|
+
},
|
|
85
|
+
successTitle: {
|
|
86
|
+
type: String,
|
|
87
|
+
default: null
|
|
88
|
+
},
|
|
89
|
+
successSubtitle: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: null
|
|
92
|
+
},
|
|
93
|
+
socials: {
|
|
94
|
+
type: Array,
|
|
95
|
+
default: null
|
|
96
|
+
},
|
|
97
|
+
// Настройки поля
|
|
98
|
+
typingSpeed: {
|
|
99
|
+
type: Number,
|
|
100
|
+
default: 75
|
|
101
|
+
},
|
|
102
|
+
loopTyping: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
default: false
|
|
105
|
+
},
|
|
106
|
+
enableTyping: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: false
|
|
109
|
+
},
|
|
110
|
+
fieldName: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: 'newsletter-email'
|
|
113
|
+
},
|
|
114
|
+
fieldId: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: null
|
|
117
|
+
}
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
// Используем только глобальную локализацию
|
|
121
|
+
const { t, tm } = useI18n({
|
|
122
|
+
useScope: 'global'
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
let email = ref('')
|
|
126
|
+
let isSuccessPopupOpen = ref(false)
|
|
127
|
+
|
|
128
|
+
const socialIcons = {
|
|
129
|
+
facebook: IconFacebook,
|
|
130
|
+
instagram: IconInstagram,
|
|
131
|
+
telegram: IconTelegram,
|
|
132
|
+
twitter: IconTwitter,
|
|
133
|
+
youtube: IconYoutube,
|
|
134
|
+
linkedin: IconLinkedin,
|
|
135
|
+
whatsapp: IconWhatsapp
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Функция валидации email
|
|
139
|
+
function validateEmail(email) {
|
|
140
|
+
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
|
|
141
|
+
return emailRegex.test(email)
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
function showSuccessPopup() {
|
|
145
|
+
isSuccessPopupOpen.value = true
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
async function sendApplication() {
|
|
149
|
+
// Валидация email перед отправкой
|
|
150
|
+
if (!email.value || !email.value.trim()) {
|
|
151
|
+
globals.setError({ message: t('validation.email.required') || 'Email is required' })
|
|
152
|
+
return Promise.reject(new Error('Email is required'))
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (!validateEmail(email.value.trim())) {
|
|
156
|
+
globals.setError({ message: t('validation.email.invalid') || 'Invalid email format' })
|
|
157
|
+
return Promise.reject(new Error('Invalid email format'))
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
gtag('event', 'subscribe_newsletter', {
|
|
161
|
+
'event_category': 'conversion',
|
|
162
|
+
'event_label': 'Subscribe Newsletter'
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
try {
|
|
166
|
+
let application = {
|
|
167
|
+
type: 'newsletter',
|
|
168
|
+
contacts: {
|
|
169
|
+
email: email.value.trim()
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
// Используем публичный API для создания заявки
|
|
174
|
+
const response = await fetch(`${process.env.API_URL}/api/applications/public`, {
|
|
175
|
+
method: 'POST',
|
|
176
|
+
headers: {
|
|
177
|
+
'Content-Type': 'application/json',
|
|
178
|
+
},
|
|
179
|
+
body: JSON.stringify(application)
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
if (!response.ok) {
|
|
183
|
+
throw new Error('Failed to create application');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const result = await response.json();
|
|
187
|
+
|
|
188
|
+
showSuccessPopup()
|
|
189
|
+
return Promise.resolve(result);
|
|
190
|
+
} catch (error) {
|
|
191
|
+
console.log(error)
|
|
192
|
+
globals.setError(error)
|
|
193
|
+
return Promise.reject(error);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
</script>
|
|
197
|
+
|
|
198
|
+
<style lang="scss">
|
|
199
|
+
</style>
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Block :title="title" class="mn-b-thin">
|
|
3
|
+
<Field
|
|
4
|
+
v-model:field="application.contacts.name"
|
|
5
|
+
label="Name"
|
|
6
|
+
placeholder="Enter name"
|
|
7
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
8
|
+
/>
|
|
9
|
+
<Field
|
|
10
|
+
v-model:field="application.contacts.email"
|
|
11
|
+
label="Email"
|
|
12
|
+
placeholder="Enter email"
|
|
13
|
+
type="email"
|
|
14
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
15
|
+
/>
|
|
16
|
+
<Field
|
|
17
|
+
v-model:field="application.contacts.phone"
|
|
18
|
+
label="Phone"
|
|
19
|
+
placeholder="Enter phone"
|
|
20
|
+
type="tel"
|
|
21
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
22
|
+
/>
|
|
23
|
+
|
|
24
|
+
<Select
|
|
25
|
+
:select="typeSelected"
|
|
26
|
+
:options="[
|
|
27
|
+
{name: 'Newsletter', value: 'newsletter'},
|
|
28
|
+
{name: 'Support', value: 'support'},
|
|
29
|
+
{name: 'Inquiry', value: 'inquiry'},
|
|
30
|
+
{name: 'Feedback', value: 'feedback'},
|
|
31
|
+
{name: 'Other', value: 'other'}
|
|
32
|
+
]"
|
|
33
|
+
@update:select="(option) => { application.type = option.value; typeSelected = option }"
|
|
34
|
+
placeholder="Type"
|
|
35
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
36
|
+
/>
|
|
37
|
+
|
|
38
|
+
<Field
|
|
39
|
+
v-model:field="application.text"
|
|
40
|
+
label="Message"
|
|
41
|
+
placeholder="Enter message"
|
|
42
|
+
type="textarea"
|
|
43
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
44
|
+
/>
|
|
45
|
+
|
|
46
|
+
<Select
|
|
47
|
+
:select="statusSelected"
|
|
48
|
+
:options="[
|
|
49
|
+
{name: 'Created', value: 'created'},
|
|
50
|
+
{name: 'In Progress', value: 'in_progress'},
|
|
51
|
+
{name: 'Completed', value: 'completed'},
|
|
52
|
+
{name: 'Cancelled', value: 'cancelled'}
|
|
53
|
+
]"
|
|
54
|
+
@update:select="(option) => { application.status = option.value; statusSelected = option }"
|
|
55
|
+
placeholder="Status"
|
|
56
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
57
|
+
/>
|
|
58
|
+
|
|
59
|
+
<div class="gap-thin flex mn-t-small">
|
|
60
|
+
<Button
|
|
61
|
+
@click="handleSave"
|
|
62
|
+
class="w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
63
|
+
>
|
|
64
|
+
{{ createMode ? 'Create Application' : 'Save Changes' }}
|
|
65
|
+
</Button>
|
|
66
|
+
<Button
|
|
67
|
+
@click="handleCancel"
|
|
68
|
+
class="w-100 pd-small radius-big bg-light t-black uppercase t-medium"
|
|
69
|
+
>
|
|
70
|
+
Cancel
|
|
71
|
+
</Button>
|
|
72
|
+
</div>
|
|
73
|
+
</Block>
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<script setup>
|
|
77
|
+
import { ref, watch } from "vue"
|
|
78
|
+
import Block from '@martyrs/src/components/Block/Block.vue'
|
|
79
|
+
import Field from '@martyrs/src/components/Field/Field.vue'
|
|
80
|
+
import Select from '@martyrs/src/components/Select/Select.vue'
|
|
81
|
+
import Button from '@martyrs/src/components/Button/Button.vue'
|
|
82
|
+
|
|
83
|
+
const application = defineModel('application', { required: true })
|
|
84
|
+
|
|
85
|
+
let typeSelected = ref({name: 'Newsletter', value: 'newsletter'})
|
|
86
|
+
let statusSelected = ref({name: 'Created', value: 'created'})
|
|
87
|
+
|
|
88
|
+
defineProps({
|
|
89
|
+
title: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: 'Application Data'
|
|
92
|
+
},
|
|
93
|
+
createMode: {
|
|
94
|
+
type: Boolean,
|
|
95
|
+
default: false
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
const emit = defineEmits(['save', 'cancel']);
|
|
100
|
+
|
|
101
|
+
// Ensure nested objects exist
|
|
102
|
+
watch(application, (newApplication) => {
|
|
103
|
+
if (newApplication) {
|
|
104
|
+
if (!newApplication.contacts) {
|
|
105
|
+
newApplication.contacts = { name: null, email: null, phone: null };
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}, { immediate: true, deep: true });
|
|
109
|
+
|
|
110
|
+
const handleSave = () => {
|
|
111
|
+
emit('save');
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const handleCancel = () => {
|
|
115
|
+
emit('cancel');
|
|
116
|
+
};
|
|
117
|
+
</script>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Block :title="title" class="mn-b-thin">
|
|
3
|
+
<Field
|
|
4
|
+
v-model:field="customer.profile.name"
|
|
5
|
+
label="Name"
|
|
6
|
+
placeholder="Enter name"
|
|
7
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
8
|
+
/>
|
|
9
|
+
<Field
|
|
10
|
+
v-model:field="customer.email"
|
|
11
|
+
label="Email"
|
|
12
|
+
placeholder="Enter email"
|
|
13
|
+
type="email"
|
|
14
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
15
|
+
/>
|
|
16
|
+
<FieldPhone
|
|
17
|
+
v-model="customer.number"
|
|
18
|
+
@country="(country) => { customer.phone = country }"
|
|
19
|
+
:inputOptions="{
|
|
20
|
+
placeholder: 'Enter phone number',
|
|
21
|
+
type: 'tel',
|
|
22
|
+
}"
|
|
23
|
+
:defaultCountry="'TH'"
|
|
24
|
+
:validCharactersOnly="true"
|
|
25
|
+
:dropdownOptions="{
|
|
26
|
+
showDialCodeInSelection: true,
|
|
27
|
+
showFlags: true,
|
|
28
|
+
showDialCodeInList: true
|
|
29
|
+
}"
|
|
30
|
+
mode="national"
|
|
31
|
+
class="w-100 bg-white pd-small mn-b-thin radius-small"
|
|
32
|
+
/>
|
|
33
|
+
|
|
34
|
+
<Select
|
|
35
|
+
:select="sourceSelected"
|
|
36
|
+
:options="[
|
|
37
|
+
{name: 'Web', value: 'web'},
|
|
38
|
+
{name: 'Mobile', value: 'mobile'},
|
|
39
|
+
{name: 'API', value: 'api'},
|
|
40
|
+
{name: 'Import', value: 'import'},
|
|
41
|
+
{name: 'Manual', value: 'manual'},
|
|
42
|
+
{name: 'Referral', value: 'referral'},
|
|
43
|
+
{name: 'Social', value: 'social'},
|
|
44
|
+
{name: 'Email', value: 'email'}
|
|
45
|
+
]"
|
|
46
|
+
@update:select="(option) => { customer.source = option.value; sourceSelected = option }"
|
|
47
|
+
placeholder="Source"
|
|
48
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
49
|
+
/>
|
|
50
|
+
|
|
51
|
+
<Field
|
|
52
|
+
v-model:field="customer.referral.code"
|
|
53
|
+
label="Referral Code"
|
|
54
|
+
placeholder="Enter referral code"
|
|
55
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
56
|
+
/>
|
|
57
|
+
|
|
58
|
+
<Field
|
|
59
|
+
v-model:field="customer.notes"
|
|
60
|
+
label="Notes"
|
|
61
|
+
placeholder="Enter notes"
|
|
62
|
+
type="textarea"
|
|
63
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
64
|
+
/>
|
|
65
|
+
|
|
66
|
+
<Select
|
|
67
|
+
:select="statusSelected"
|
|
68
|
+
:options="[
|
|
69
|
+
{name: 'Active', value: 'active'},
|
|
70
|
+
{name: 'Inactive', value: 'inactive'},
|
|
71
|
+
{name: 'Blocked', value: 'blocked'}
|
|
72
|
+
]"
|
|
73
|
+
@update:select="(option) => { customer.status = option.value; statusSelected = option }"
|
|
74
|
+
placeholder="Status"
|
|
75
|
+
class="bg-white pd-small radius-small mn-b-thin"
|
|
76
|
+
/>
|
|
77
|
+
|
|
78
|
+
<div class="gap-thin flex-justify-between flex-nowrap flex">
|
|
79
|
+
<Select
|
|
80
|
+
:select="messengerSelected"
|
|
81
|
+
:options="[
|
|
82
|
+
{name: 'Instagram', value: 'instagram'},
|
|
83
|
+
{name: 'Telegram', value: 'telegram'},
|
|
84
|
+
{name: 'WhatsApp', value: 'whatsapp'},
|
|
85
|
+
]"
|
|
86
|
+
@update:select="(option) => messengerSelected = option"
|
|
87
|
+
placeholder="Messenger"
|
|
88
|
+
size="small"
|
|
89
|
+
class="bg-white pd-small radius-small"
|
|
90
|
+
/>
|
|
91
|
+
<Field
|
|
92
|
+
v-model:field="customer.socials[messengerSelected.value]"
|
|
93
|
+
label="@"
|
|
94
|
+
placeholder="Enter username"
|
|
95
|
+
class="bg-white pd-small radius-small w-100"
|
|
96
|
+
/>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<div class="gap-thin flex mn-t-small">
|
|
100
|
+
<Button
|
|
101
|
+
@click="handleSave"
|
|
102
|
+
class="w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
|
103
|
+
>
|
|
104
|
+
{{ createMode ? 'Create Customer' : 'Save Changes' }}
|
|
105
|
+
</Button>
|
|
106
|
+
<Button
|
|
107
|
+
@click="handleCancel"
|
|
108
|
+
class="w-100 pd-small radius-big bg-light t-black uppercase t-medium"
|
|
109
|
+
>
|
|
110
|
+
Cancel
|
|
111
|
+
</Button>
|
|
112
|
+
</div>
|
|
113
|
+
</Block>
|
|
114
|
+
</template>
|
|
115
|
+
|
|
116
|
+
<script setup>
|
|
117
|
+
import { ref, watch } from "vue"
|
|
118
|
+
import Block from '@martyrs/src/components/Block/Block.vue'
|
|
119
|
+
import Field from '@martyrs/src/components/Field/Field.vue'
|
|
120
|
+
import FieldPhone from '@martyrs/src/components/FieldPhone/FieldPhone.vue'
|
|
121
|
+
import Select from '@martyrs/src/components/Select/Select.vue'
|
|
122
|
+
import Button from '@martyrs/src/components/Button/Button.vue'
|
|
123
|
+
|
|
124
|
+
const customer = defineModel('customer', { required: true })
|
|
125
|
+
|
|
126
|
+
let messengerSelected = ref({name: 'WhatsApp', value: 'whatsapp'})
|
|
127
|
+
let sourceSelected = ref({name: 'Web', value: 'web'})
|
|
128
|
+
let statusSelected = ref({name: 'Active', value: 'active'})
|
|
129
|
+
|
|
130
|
+
defineProps({
|
|
131
|
+
title: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: 'Personal Data'
|
|
134
|
+
},
|
|
135
|
+
createMode: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: false
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
const emit = defineEmits(['save', 'cancel']);
|
|
142
|
+
|
|
143
|
+
// Ensure nested objects exist
|
|
144
|
+
watch(customer, (newCustomer) => {
|
|
145
|
+
if (newCustomer) {
|
|
146
|
+
if (!newCustomer.profile) {
|
|
147
|
+
newCustomer.profile = { name: null, description: null, photo: null };
|
|
148
|
+
}
|
|
149
|
+
if (!newCustomer.referral) {
|
|
150
|
+
newCustomer.referral = { code: null, source: null };
|
|
151
|
+
}
|
|
152
|
+
if (!newCustomer.socials) {
|
|
153
|
+
newCustomer.socials = { instagram: null, telegram: null, whatsapp: null };
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}, { immediate: true, deep: true });
|
|
157
|
+
|
|
158
|
+
const handleSave = () => {
|
|
159
|
+
emit('save');
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
const handleCancel = () => {
|
|
163
|
+
emit('cancel');
|
|
164
|
+
};
|
|
165
|
+
</script>
|