@ozdao/martyrs 0.2.481 → 0.2.483
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/README.md +4 -13
- package/dist/{Media-CKk33U4A.js → Media-C57G7rnE.js} +1 -1
- package/dist/{Media-B1ZP3D7B.cjs → Media-DjnpKS62.cjs} +1 -1
- package/dist/_virtual/_commonjsHelpers.cjs +2 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
- package/dist/_virtual/_commonjsHelpers.js +2 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/index2.cjs +8 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +8 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +5 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/{abac-XF1JVCLI.cjs → abac-6LjoG9u-.cjs} +107 -26
- package/dist/{abac-BuL5pUZ4.js → abac-Cf_9lCSh.js} +107 -26
- package/dist/globals.server.cjs +1 -1
- package/dist/globals.server.js +1 -1
- package/dist/{main-BhAiwmnI.js → main-CXQqAVVb.js} +3036 -4278
- package/dist/main-De5X_RUk.cjs +11 -0
- package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
- package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +28 -7
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +29 -8
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs +5 -8
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js +6 -9
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +84 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +84 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +4 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +4 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +2 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +2 -1
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +141 -113
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +142 -114
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +203 -151
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +204 -152
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs +2 -2
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.js +2 -2
- package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs +4 -3
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js +4 -3
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js.map +1 -1
- package/dist/martyrs/src/components/Slider/{Slider.native.vue.cjs → Slider.vue.cjs} +22 -80
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Slider/{Slider.native.vue.js → Slider.vue.js} +23 -81
- package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -0
- package/dist/martyrs/src/components/Status/Status.vue.cjs +11 -5
- package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Status/Status.vue.js +13 -7
- package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +4 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +4 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +6 -4
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +6 -4
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +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 +4 -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 +5 -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 +22 -149
- 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 +24 -151
- 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 +77 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +77 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +121 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +121 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +38 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +38 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -0
- 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/components/sections/ProfileEditCredentials.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +17 -39
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +18 -40
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.cjs +23 -16
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +23 -16
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +6 -6
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +4 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +4 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +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/sections/Comment.vue.cjs +92 -62
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +93 -63
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +82 -53
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +82 -53
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +2 -6
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +2 -6
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +3 -9
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +3 -9
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +4 -4
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +9 -9
- package/dist/martyrs/src/modules/globals/globals.client.cjs +13 -0
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +13 -0
- package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
- package/dist/martyrs/src/modules/globals/locales/en.cjs +24 -0
- package/dist/martyrs/src/modules/globals/locales/en.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/locales/en.js +24 -0
- package/dist/martyrs/src/modules/globals/locales/en.js.map +1 -0
- package/dist/martyrs/src/modules/globals/locales/ru.cjs +24 -0
- package/dist/martyrs/src/modules/globals/locales/ru.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/locales/ru.js +24 -0
- package/dist/martyrs/src/modules/globals/locales/ru.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +71 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +71 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +84 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +84 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js.map +1 -0
- 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 +50 -44
- 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 +50 -44
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +17 -0
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +17 -0
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs +70 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js +70 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.js +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +21 -20
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js +21 -20
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +6 -13
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js +6 -13
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +41 -43
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +52 -58
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +52 -58
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +8 -8
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js +8 -8
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +50 -51
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +51 -52
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/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 +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +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/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/sections/Documents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +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 +7 -4
- 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 +18 -15
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +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/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +7 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +8 -3
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +11 -12
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +12 -13
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +32 -23
- 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 +35 -26
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +7 -5
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +7 -5
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +57 -40
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +59 -42
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +105 -85
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +107 -87
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +145 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +145 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -0
- 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/ProductConfigurator.vue.cjs +46 -31
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +50 -35
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +44 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +44 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +131 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +131 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -0
- 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/products.client.cjs +3 -3
- package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.js +3 -3
- package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +4 -0
- package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.js +4 -0
- package/dist/martyrs/src/modules/products/store/products.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.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/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/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/node_modules/lodash.merge/index.cjs +689 -0
- package/dist/node_modules/lodash.merge/index.cjs.map +1 -0
- package/dist/node_modules/lodash.merge/index.js +689 -0
- package/dist/node_modules/lodash.merge/index.js.map +1 -0
- package/dist/organizations.server.cjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/products.server.cjs +111 -34
- package/dist/products.server.js +111 -34
- package/dist/style.css +239 -235
- package/package.json +1 -1
- package/src/.martyrs/chunks.json +325 -0
- package/src/.martyrs/filemap.json +6802 -0
- package/src/.martyrs/semantic-analysis.json +307 -0
- package/src/.martyrs/toc.json +14 -0
- package/src/components/Button/Button.vue +2 -2
- package/src/components/Checkbox/Checkbox.vue +28 -16
- package/src/components/Chips/Chips.vue +4 -4
- package/src/components/Feed/Carousel.vue +72 -0
- package/src/components/Feed/Feed.vue +2 -2
- package/src/components/Field/Field.vue +1 -0
- package/src/components/FieldPhone/FieldPhone.vue +337 -238
- package/src/components/PhotoViewer/PhotoViewer.vue +307 -220
- package/src/components/Radio/Radio.vue +2 -10
- package/src/components/Skeleton/Skeleton.vue +9 -12
- package/src/components/Slider/Slider.vue +220 -100
- package/src/components/Status/Status.vue +10 -8
- package/src/components/Tooltip/Tooltip.vue +2 -2
- package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/views/components/pages/Profile.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +189 -0
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +19 -182
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +72 -0
- package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +110 -0
- package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +28 -0
- package/src/modules/auth/views/components/sections/SliderFeatures.vue +13 -79
- package/src/modules/auth/views/localization/EnterCode.json +2 -2
- package/src/modules/auth/views/localization/EnterPassword.json +2 -2
- package/src/modules/auth/views/localization/ResetPassword.json +2 -2
- package/src/modules/auth/views/localization/SignIn.json +2 -2
- package/src/modules/auth/views/localization/SignUp.json +2 -2
- package/src/modules/auth/views/router/users.js +23 -12
- package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +2 -1
- package/src/modules/community/components/sections/Comment.vue +161 -57
- package/src/modules/community/components/sections/Comments.vue +120 -63
- package/src/modules/community/components/sections/HotPosts.vue +7 -7
- package/src/modules/events/components/sections/EventsHot.vue +26 -33
- package/src/modules/globals/controllers/classes/abac/abac.core.js +3 -1
- package/src/modules/globals/controllers/classes/abac/abac.fields.js +126 -42
- package/src/modules/globals/controllers/classes/abac/v2/abac-core-fixed.js +313 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-express-fixed.js +276 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-fields-fixed.js +422 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-main-fixed.js +295 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-policies-fixed.js +316 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-ws-fixed.js +237 -0
- package/src/modules/globals/globals.client.js +17 -1
- package/src/modules/globals/locales/en.js +21 -0
- package/src/modules/globals/locales/index.js +8 -0
- package/src/modules/globals/locales/ru.js +21 -0
- package/src/modules/globals/views/classes/globals.i18n.js +84 -0
- package/src/modules/globals/views/components/blocks/CardFooter.vue +3 -3
- package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -1
- package/src/modules/globals/views/components/blocks/PopupAuth.vue +66 -0
- package/src/modules/globals/views/components/layouts/Client.vue +43 -40
- package/src/modules/globals/views/components/partials/Footer.vue +162 -162
- package/src/modules/globals/views/mixins/mixins.js +37 -17
- package/src/modules/globals/views/plugins/popup.auth.plugin.js +77 -0
- package/src/modules/globals/views/store/globals.js +0 -40
- package/src/modules/icons/entities/IconList.vue +14 -0
- package/src/modules/icons/navigation/IconCheck.vue +1 -3
- package/src/modules/icons/navigation/IconDoubleCheck.vue +1 -3
- package/src/modules/icons/navigation/IconLike.vue +1 -3
- package/src/modules/icons/navigation/IconMute.vue +1 -3
- package/src/modules/icons/navigation/IconPause.vue +1 -3
- package/src/modules/icons/navigation/IconPlay.vue +12 -15
- package/src/modules/icons/navigation/IconRefresh.vue +1 -3
- package/src/modules/icons/navigation/IconShuffle.vue +11 -26
- package/src/modules/icons/navigation/IconUnMute.vue +1 -3
- package/src/modules/icons/navigation/IconVolume.vue +1 -3
- package/src/modules/icons/pages/IconsPage.vue +0 -2
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +34 -38
- package/src/modules/music/components/pages/AlbumDetail.vue +2 -2
- package/src/modules/music/components/pages/PlaylistDetail.vue +2 -2
- package/src/modules/music/components/pages/TrackDetail.vue +1 -1
- package/src/modules/music/components/player/MusicPlayer.vue +2 -2
- package/src/modules/notifications/components/blocks/NotificationItem.vue +6 -51
- package/src/modules/notifications/components/elements/NotificationBadge.vue +53 -97
- package/src/modules/organizations/configs/navigation.organization.config.js +8 -4
- package/src/modules/products/components/blocks/CardProduct.vue +8 -2
- package/src/modules/products/components/blocks/ProductDiscounts.vue +3 -4
- package/src/modules/products/components/blocks/ProductImages.vue +32 -23
- package/src/modules/products/components/blocks/ProductVariants.vue +6 -4
- package/src/modules/products/components/elements/Price.vue +3 -3
- package/src/modules/products/components/pages/Product.vue +32 -26
- package/src/modules/products/components/pages/ProductEdit.vue +95 -72
- package/src/modules/products/components/sections/EditRecommended.vue +131 -0
- package/src/modules/products/components/sections/ProductConfigurator.vue +35 -21
- package/src/modules/products/components/sections/ProductsPopular.vue +45 -0
- package/src/modules/products/components/sections/ProductsRecommended.vue +134 -0
- package/src/modules/products/controllers/configs/products.lookup.config.js +20 -15
- package/src/modules/products/controllers/products.controller.js +7 -22
- package/src/modules/products/models/category.model.js +28 -1
- package/src/modules/products/models/leftover.model.js +32 -0
- package/src/modules/products/models/product.model.js +37 -1
- package/src/modules/products/models/variant.model.js +35 -0
- package/src/modules/products/products.client.js +3 -3
- package/src/modules/products/routes/products.routes.js +1 -0
- package/src/modules/products/store/products.js +4 -0
- package/src/modules/wallet/views/localization/wallet.json +2 -2
- package/src/styles/base/all.scss +0 -38
- package/src/styles/base/shadow_transitions_hover_refactor.scss +20 -51
- package/src/styles/config.scss +51 -1
- package/dist/main-C75EcBpE.cjs +0 -11
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +0 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +0 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +0 -124
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +0 -124
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +0 -194
- package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +0 -194
- package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1630
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1630
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +0 -1
- package/src/components/Slider/Slider.native.vue +0 -313
- package/src/modules/products/components/sections/PopularProducts.vue +0 -156
|
@@ -1,159 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import _sfc_main$2 from "../sections/ProfileEditCredentials.vue.js";
|
|
8
|
-
import { useRoute, useRouter } from "vue-router";
|
|
9
|
-
import { state, actions as actions$2 } from "../../store/auth.js";
|
|
10
|
-
import { actions, state as state$1 } from "../../store/users.js";
|
|
11
|
-
import { actions as actions$1, state as state$2 } from "../../../../globals/views/store/globals.js";
|
|
12
|
-
import "./ProfileEdit.vue2.js";
|
|
13
|
-
const _hoisted_1 = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "for-transition w-100"
|
|
16
|
-
};
|
|
17
|
-
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
18
|
-
const _hoisted_3 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
|
|
19
|
-
const _hoisted_4 = { class: "mn-b-semi" };
|
|
20
|
-
const _hoisted_5 = { class: "bg-white mn-b-thin pd-medium" };
|
|
21
|
-
const _hoisted_6 = { class: "bg-white mn-b-thin pd-medium" };
|
|
1
|
+
import { resolveComponent, createBlock, openBlock, unref, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../../../../../components/Popup/Popup.vue.js";
|
|
3
|
+
import _sfc_main$2 from "./ProfileEditSidebar.vue.js";
|
|
4
|
+
import { useRouter } from "vue-router";
|
|
5
|
+
const _hoisted_1 = { class: "flex gap-medium" };
|
|
6
|
+
const _hoisted_2 = { class: "flex-grow" };
|
|
22
7
|
const _sfc_main = {
|
|
23
8
|
__name: "ProfileEdit",
|
|
24
|
-
setup(__props
|
|
25
|
-
ref(null);
|
|
26
|
-
const route = useRoute();
|
|
9
|
+
setup(__props) {
|
|
27
10
|
const router = useRouter();
|
|
28
|
-
ref(null);
|
|
29
|
-
const show = ref(false);
|
|
30
|
-
onMounted(async () => {
|
|
31
|
-
await actions.read({ _id: route.params._id, user: state.user._id });
|
|
32
|
-
show.value = true;
|
|
33
|
-
});
|
|
34
|
-
async function onSubmit() {
|
|
35
|
-
await actions.update(state$1.current);
|
|
36
|
-
}
|
|
37
|
-
async function onSubmitDelete() {
|
|
38
|
-
const confirmation = window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.");
|
|
39
|
-
if (!confirmation) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
state$1.current.status = "removed";
|
|
43
|
-
await actions.update(state$1.current);
|
|
44
|
-
actions$2.logout();
|
|
45
|
-
}
|
|
46
|
-
function redirectTo() {
|
|
47
|
-
router.replace({ name: "User Profile", params: { _id: state$1.current._id } });
|
|
48
|
-
}
|
|
49
|
-
__expose({
|
|
50
|
-
onSubmit,
|
|
51
|
-
redirectTo
|
|
52
|
-
});
|
|
53
11
|
return (_ctx, _cache) => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
label: "@",
|
|
70
|
-
placeholder: "Not specified",
|
|
71
|
-
class: "mn-b-thin w-100 bg-light pd-medium radius-small",
|
|
72
|
-
validation: _ctx.organizationName
|
|
73
|
-
}, null, 8, ["field", "validation"]),
|
|
74
|
-
createElementVNode("p", _hoisted_4, "Your username will be used for URL of profile like " + toDisplayString(_ctx.API_URL) + "/users/username", 1),
|
|
75
|
-
createVNode(Field, {
|
|
76
|
-
field: state$1.current.profile.name,
|
|
77
|
-
"onUpdate:field": _cache[2] || (_cache[2] = ($event) => state$1.current.profile.name = $event),
|
|
78
|
-
label: "Name",
|
|
79
|
-
placeholder: "Not specified",
|
|
80
|
-
class: "mn-b-thin bg-light pd-medium radius-small",
|
|
81
|
-
validation: _ctx.organizationName
|
|
82
|
-
}, null, 8, ["field", "validation"]),
|
|
83
|
-
createVNode(Field, {
|
|
84
|
-
field: state$1.current.profile.description,
|
|
85
|
-
"onUpdate:field": _cache[3] || (_cache[3] = ($event) => state$1.current.profile.description = $event),
|
|
86
|
-
label: "Description",
|
|
87
|
-
placeholder: "Not specified",
|
|
88
|
-
class: "mn-b-semi bg-light pd-medium radius-small",
|
|
89
|
-
validation: _ctx.organizationName
|
|
90
|
-
}, null, 8, ["field", "validation"])
|
|
91
|
-
]),
|
|
92
|
-
createElementVNode("div", _hoisted_5, [
|
|
93
|
-
_cache[11] || (_cache[11] = createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1)),
|
|
94
|
-
_cache[12] || (_cache[12] = createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1)),
|
|
95
|
-
createVNode(Field, {
|
|
96
|
-
field: state$1.current.socials.instagram,
|
|
97
|
-
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => state$1.current.socials.instagram = $event),
|
|
98
|
-
label: "Instagram",
|
|
99
|
-
placeholder: "",
|
|
100
|
-
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
101
|
-
}, null, 8, ["field"]),
|
|
102
|
-
createVNode(Field, {
|
|
103
|
-
field: state$1.current.socials.twitter,
|
|
104
|
-
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => state$1.current.socials.twitter = $event),
|
|
105
|
-
label: "Twitter",
|
|
106
|
-
placeholder: "",
|
|
107
|
-
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
108
|
-
}, null, 8, ["field"]),
|
|
109
|
-
createVNode(Field, {
|
|
110
|
-
field: state$1.current.socials.facebook,
|
|
111
|
-
"onUpdate:field": _cache[6] || (_cache[6] = ($event) => state$1.current.socials.facebook = $event),
|
|
112
|
-
label: "Facebook",
|
|
113
|
-
placeholder: "",
|
|
114
|
-
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
115
|
-
}, null, 8, ["field"]),
|
|
116
|
-
createVNode(Field, {
|
|
117
|
-
field: state$1.current.socials.telegram,
|
|
118
|
-
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => state$1.current.socials.telegram = $event),
|
|
119
|
-
label: "Telegram",
|
|
120
|
-
placeholder: "",
|
|
121
|
-
class: "mn-b-semi bg-light pd-medium radius-small"
|
|
122
|
-
}, null, 8, ["field"])
|
|
123
|
-
]),
|
|
124
|
-
createVNode(_sfc_main$2, { class: "bg-white mn-b-thin pd-medium" }),
|
|
125
|
-
createElementVNode("div", _hoisted_6, [
|
|
126
|
-
_cache[13] || (_cache[13] = createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1)),
|
|
127
|
-
createVNode(_sfc_main$3, {
|
|
128
|
-
label: "Darkmode",
|
|
129
|
-
radio: state$2.theme.darkmode,
|
|
130
|
-
"onUpdate:radio": _cache[8] || (_cache[8] = (event) => actions$1.toggleTheme()),
|
|
131
|
-
class: "w-100 bg-light t-black pd-medium radius-small"
|
|
132
|
-
}, null, 8, ["radio"])
|
|
12
|
+
const _component_RouterView = resolveComponent("RouterView");
|
|
13
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
14
|
+
isPopupOpen: true,
|
|
15
|
+
onClosePopup: _cache[0] || (_cache[0] = ($event) => unref(router).back()),
|
|
16
|
+
title: "Edit Profile",
|
|
17
|
+
align: "center center",
|
|
18
|
+
class: "w-100 max-w-40r bg-white radius-medium pd-medium"
|
|
19
|
+
}, {
|
|
20
|
+
default: withCtx(() => [
|
|
21
|
+
createElementVNode("div", _hoisted_1, [
|
|
22
|
+
createVNode(_sfc_main$2, { class: "w-12r flex-shrink-0" }),
|
|
23
|
+
createElementVNode("div", _hoisted_2, [
|
|
24
|
+
createVNode(_component_RouterView)
|
|
25
|
+
])
|
|
26
|
+
])
|
|
133
27
|
]),
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
callback: redirectTo,
|
|
137
|
-
class: "mn-b-thin bg-main w-100"
|
|
138
|
-
}, {
|
|
139
|
-
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
140
|
-
createTextVNode(" Save ")
|
|
141
|
-
])),
|
|
142
|
-
_: 1
|
|
143
|
-
}),
|
|
144
|
-
createVNode(_sfc_main$4, {
|
|
145
|
-
submit: onSubmitDelete,
|
|
146
|
-
callback: _ctx.a = () => {
|
|
147
|
-
unref(router).push({ name: "Sign In" });
|
|
148
|
-
},
|
|
149
|
-
class: "mn-b-thin w-100 bg-red t-white"
|
|
150
|
-
}, {
|
|
151
|
-
default: withCtx(() => _cache[15] || (_cache[15] = [
|
|
152
|
-
createTextVNode(" Delete Account ")
|
|
153
|
-
])),
|
|
154
|
-
_: 1
|
|
155
|
-
}, 8, ["callback"])
|
|
156
|
-
])) : createCommentVNode("", true);
|
|
28
|
+
_: 1
|
|
29
|
+
});
|
|
157
30
|
};
|
|
158
31
|
}
|
|
159
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileEdit.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n
|
|
1
|
+
{"version":3,"file":"ProfileEdit.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n <Popup \n :isPopupOpen=\"true\" \n @close-popup=\"router.back()\"\n title=\"Edit Profile\"\n align=\"center center\"\n class=\"w-100 max-w-40r bg-white radius-medium pd-medium\"\n >\n <div class=\"flex gap-medium\">\n <ProfileEditSidebar class=\"w-12r flex-shrink-0\" />\n \n <div class=\"flex-grow\">\n <RouterView />\n </div>\n </div>\n </Popup>\n</template>\n\n<script setup>\n import Popup from '@martyrs/src/components/Popup/Popup.vue'\n import ProfileEditSidebar from './ProfileEditSidebar.vue'\n \n import { useRouter } from 'vue-router'\n \n const router = useRouter()\n</script>"],"names":[],"mappings":";;;;;;;;;AAwBE,UAAM,SAAS,UAAS;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const Checkbox = require("../../../../../components/Checkbox/Checkbox.vue.cjs");
|
|
5
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
|
6
|
+
const ProfileEditCredentials = require("../sections/ProfileEditCredentials.vue.cjs");
|
|
7
|
+
const vueRouter = require("vue-router");
|
|
8
|
+
const auth = require("../../store/auth.cjs");
|
|
9
|
+
const users = require("../../store/users.cjs");
|
|
10
|
+
const globals = require("../../../../globals/views/store/globals.cjs");
|
|
11
|
+
const _hoisted_1 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "for-transition w-100"
|
|
14
|
+
};
|
|
15
|
+
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
16
|
+
const _sfc_main = {
|
|
17
|
+
__name: "ProfileEditAccount",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const route = vueRouter.useRoute();
|
|
20
|
+
const router = vueRouter.useRouter();
|
|
21
|
+
const show = vue.ref(false);
|
|
22
|
+
vue.onMounted(async () => {
|
|
23
|
+
const userId = route.params._id || auth.state.user._id;
|
|
24
|
+
await users.actions.read({ _id: userId, user: auth.state.user._id });
|
|
25
|
+
show.value = true;
|
|
26
|
+
});
|
|
27
|
+
async function onSubmit() {
|
|
28
|
+
await users.actions.update(users.state.current);
|
|
29
|
+
}
|
|
30
|
+
async function onSubmitDelete() {
|
|
31
|
+
const confirmation = window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.");
|
|
32
|
+
if (!confirmation) return;
|
|
33
|
+
users.state.current.status = "removed";
|
|
34
|
+
await users.actions.update(users.state.current);
|
|
35
|
+
auth.actions.logout();
|
|
36
|
+
}
|
|
37
|
+
function redirectTo() {
|
|
38
|
+
router.back();
|
|
39
|
+
}
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return show.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
42
|
+
vue.createVNode(ProfileEditCredentials.default, { class: "bg-white mn-b-thin pd-medium" }),
|
|
43
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
44
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1)),
|
|
45
|
+
vue.createVNode(Checkbox.default, {
|
|
46
|
+
label: "Darkmode",
|
|
47
|
+
radio: globals.state.theme.darkmode,
|
|
48
|
+
"onUpdate:radio": _cache[0] || (_cache[0] = (event) => globals.actions.toggleTheme()),
|
|
49
|
+
class: "w-100 bg-light t-black pd-medium radius-small"
|
|
50
|
+
}, null, 8, ["radio"])
|
|
51
|
+
]),
|
|
52
|
+
vue.createVNode(Button.default, {
|
|
53
|
+
submit: onSubmit,
|
|
54
|
+
callback: redirectTo,
|
|
55
|
+
class: "mn-b-thin bg-main w-100"
|
|
56
|
+
}, {
|
|
57
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
58
|
+
vue.createTextVNode(" Save ")
|
|
59
|
+
])),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
vue.createVNode(Button.default, {
|
|
63
|
+
submit: onSubmitDelete,
|
|
64
|
+
callback: () => vue.unref(router).push({ name: "Sign In" }),
|
|
65
|
+
class: "mn-b-thin w-100 bg-red t-white"
|
|
66
|
+
}, {
|
|
67
|
+
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
68
|
+
vue.createTextVNode(" Delete Account ")
|
|
69
|
+
])),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["callback"])
|
|
72
|
+
])) : vue.createCommentVNode("", true);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
exports.default = _sfc_main;
|
|
77
|
+
//# sourceMappingURL=ProfileEditAccount.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileEditAccount.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditAccount.vue"],"sourcesContent":["<template>\n <div v-if=\"show\" class=\"for-transition w-100\">\n <ProfileEditCredentials class=\"bg-white mn-b-thin pd-medium\"/>\n\n <div class=\"bg-white mn-b-thin pd-medium\">\n <h3 class=\"mn-b-small\">Settings</h3>\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"w-100 bg-light t-black pd-medium radius-small\"\n />\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n <Button\n :submit=\"onSubmitDelete\" \n :callback=\"() => router.push({name: 'Sign In'})\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n </div>\n</template>\n\n<script setup>\n import Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n import Button from '@martyrs/src/components/Button/Button.vue'\n import ProfileEditCredentials from '@martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue'\n \n import { ref, onMounted } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n \n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import * as users from '@martyrs/src/modules/auth/views/store/users.js'\n import * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n \n const route = useRoute()\n const router = useRouter()\n const show = ref(false)\n \n onMounted(async () => {\n const userId = route.params._id || auth.state.user._id\n await users.actions.read({ _id: userId, user: auth.state.user._id })\n show.value = true\n })\n \n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n \n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\")\n \n if (!confirmation) return\n \n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n \n function redirectTo() {\n router.back()\n }\n</script>"],"names":["useRoute","useRouter","ref","onMounted","auth.state","users.actions","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;;;AA4CE,UAAM,QAAQA,UAAQ,SAAA;AACtB,UAAM,SAASC,UAAS,UAAA;AACxB,UAAM,OAAOC,IAAAA,IAAI,KAAK;AAEtBC,QAAAA,UAAU,YAAY;AACpB,YAAM,SAAS,MAAM,OAAO,OAAOC,KAAAA,MAAW,KAAK;AACnD,YAAMC,MAAa,QAAC,KAAK,EAAE,KAAK,QAAQ,MAAMD,KAAAA,MAAW,KAAK,IAAK,CAAA;AACnE,WAAK,QAAQ;AAAA,IACd,CAAA;AAED,mBAAe,WAAW;AACxB,YAAMC,MAAa,QAAC,OAAOC,MAAAA,MAAY,OAAO;AAAA,IAClD;AAEE,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,aAAc;AAEnBA,YAAW,MAAC,QAAQ,SAAS;AAC7B,YAAMD,MAAa,QAAC,OAAOC,MAAAA,MAAY,OAAO;AAC9CC,WAAAA,QAAa,OAAM;AAAA,IACvB;AAEE,aAAS,aAAa;AACpB,aAAO,KAAI;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ref, onMounted, createElementBlock, createCommentVNode, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, unref } from "vue";
|
|
2
|
+
import _sfc_main$2 from "../../../../../components/Checkbox/Checkbox.vue.js";
|
|
3
|
+
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
|
4
|
+
import _sfc_main$1 from "../sections/ProfileEditCredentials.vue.js";
|
|
5
|
+
import { useRoute, useRouter } from "vue-router";
|
|
6
|
+
import { state, actions as actions$2 } from "../../store/auth.js";
|
|
7
|
+
import { actions, state as state$2 } from "../../store/users.js";
|
|
8
|
+
import { actions as actions$1, state as state$1 } from "../../../../globals/views/store/globals.js";
|
|
9
|
+
const _hoisted_1 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "for-transition w-100"
|
|
12
|
+
};
|
|
13
|
+
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
14
|
+
const _sfc_main = {
|
|
15
|
+
__name: "ProfileEditAccount",
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const route = useRoute();
|
|
18
|
+
const router = useRouter();
|
|
19
|
+
const show = ref(false);
|
|
20
|
+
onMounted(async () => {
|
|
21
|
+
const userId = route.params._id || state.user._id;
|
|
22
|
+
await actions.read({ _id: userId, user: state.user._id });
|
|
23
|
+
show.value = true;
|
|
24
|
+
});
|
|
25
|
+
async function onSubmit() {
|
|
26
|
+
await actions.update(state$2.current);
|
|
27
|
+
}
|
|
28
|
+
async function onSubmitDelete() {
|
|
29
|
+
const confirmation = window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.");
|
|
30
|
+
if (!confirmation) return;
|
|
31
|
+
state$2.current.status = "removed";
|
|
32
|
+
await actions.update(state$2.current);
|
|
33
|
+
actions$2.logout();
|
|
34
|
+
}
|
|
35
|
+
function redirectTo() {
|
|
36
|
+
router.back();
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
return show.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
|
+
createVNode(_sfc_main$1, { class: "bg-white mn-b-thin pd-medium" }),
|
|
41
|
+
createElementVNode("div", _hoisted_2, [
|
|
42
|
+
_cache[1] || (_cache[1] = createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1)),
|
|
43
|
+
createVNode(_sfc_main$2, {
|
|
44
|
+
label: "Darkmode",
|
|
45
|
+
radio: state$1.theme.darkmode,
|
|
46
|
+
"onUpdate:radio": _cache[0] || (_cache[0] = (event) => actions$1.toggleTheme()),
|
|
47
|
+
class: "w-100 bg-light t-black pd-medium radius-small"
|
|
48
|
+
}, null, 8, ["radio"])
|
|
49
|
+
]),
|
|
50
|
+
createVNode(_sfc_main$3, {
|
|
51
|
+
submit: onSubmit,
|
|
52
|
+
callback: redirectTo,
|
|
53
|
+
class: "mn-b-thin bg-main w-100"
|
|
54
|
+
}, {
|
|
55
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
56
|
+
createTextVNode(" Save ")
|
|
57
|
+
])),
|
|
58
|
+
_: 1
|
|
59
|
+
}),
|
|
60
|
+
createVNode(_sfc_main$3, {
|
|
61
|
+
submit: onSubmitDelete,
|
|
62
|
+
callback: () => unref(router).push({ name: "Sign In" }),
|
|
63
|
+
class: "mn-b-thin w-100 bg-red t-white"
|
|
64
|
+
}, {
|
|
65
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
66
|
+
createTextVNode(" Delete Account ")
|
|
67
|
+
])),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, ["callback"])
|
|
70
|
+
])) : createCommentVNode("", true);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export {
|
|
75
|
+
_sfc_main as default
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=ProfileEditAccount.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileEditAccount.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditAccount.vue"],"sourcesContent":["<template>\n <div v-if=\"show\" class=\"for-transition w-100\">\n <ProfileEditCredentials class=\"bg-white mn-b-thin pd-medium\"/>\n\n <div class=\"bg-white mn-b-thin pd-medium\">\n <h3 class=\"mn-b-small\">Settings</h3>\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"w-100 bg-light t-black pd-medium radius-small\"\n />\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n <Button\n :submit=\"onSubmitDelete\" \n :callback=\"() => router.push({name: 'Sign In'})\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n </div>\n</template>\n\n<script setup>\n import Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n import Button from '@martyrs/src/components/Button/Button.vue'\n import ProfileEditCredentials from '@martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue'\n \n import { ref, onMounted } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n \n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import * as users from '@martyrs/src/modules/auth/views/store/users.js'\n import * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n \n const route = useRoute()\n const router = useRouter()\n const show = ref(false)\n \n onMounted(async () => {\n const userId = route.params._id || auth.state.user._id\n await users.actions.read({ _id: userId, user: auth.state.user._id })\n show.value = true\n })\n \n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n \n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\")\n \n if (!confirmation) return\n \n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n \n function redirectTo() {\n router.back()\n }\n</script>"],"names":["auth.state","users.actions","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;AA4CE,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AACxB,UAAM,OAAO,IAAI,KAAK;AAEtB,cAAU,YAAY;AACpB,YAAM,SAAS,MAAM,OAAO,OAAOA,MAAW,KAAK;AACnD,YAAMC,QAAc,KAAK,EAAE,KAAK,QAAQ,MAAMD,MAAW,KAAK,IAAK,CAAA;AACnE,WAAK,QAAQ;AAAA,IACd,CAAA;AAED,mBAAe,WAAW;AACxB,YAAMC,QAAc,OAAOC,QAAY,OAAO;AAAA,IAClD;AAEE,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,aAAc;AAEnBA,cAAY,QAAQ,SAAS;AAC7B,YAAMD,QAAc,OAAOC,QAAY,OAAO;AAC9CC,gBAAa,OAAM;AAAA,IACvB;AAEE,aAAS,aAAa;AACpB,aAAO,KAAI;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
|
5
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
|
6
|
+
const UploadImage = require("../../../../../components/UploadImage/UploadImage.vue.cjs");
|
|
7
|
+
const vueRouter = require("vue-router");
|
|
8
|
+
const auth = require("../../store/auth.cjs");
|
|
9
|
+
const users = require("../../store/users.cjs");
|
|
10
|
+
const _hoisted_1 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "for-transition w-100"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
15
|
+
const _hoisted_3 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
|
|
16
|
+
const _hoisted_4 = { class: "mn-b-semi" };
|
|
17
|
+
const _hoisted_5 = { class: "bg-white mn-b-thin pd-medium" };
|
|
18
|
+
const _sfc_main = {
|
|
19
|
+
__name: "ProfileEditProfile",
|
|
20
|
+
setup(__props) {
|
|
21
|
+
const route = vueRouter.useRoute();
|
|
22
|
+
const router = vueRouter.useRouter();
|
|
23
|
+
const show = vue.ref(false);
|
|
24
|
+
vue.onMounted(async () => {
|
|
25
|
+
const userId = route.params._id || auth.state.user._id;
|
|
26
|
+
await users.actions.read({ _id: userId, user: auth.state.user._id });
|
|
27
|
+
show.value = true;
|
|
28
|
+
});
|
|
29
|
+
async function onSubmit() {
|
|
30
|
+
await users.actions.update(users.state.current);
|
|
31
|
+
}
|
|
32
|
+
function redirectTo() {
|
|
33
|
+
router.back();
|
|
34
|
+
}
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return show.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
37
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
38
|
+
_cache[9] || (_cache[9] = vue.createElementVNode("h4", { class: "mn-b-small" }, "Profile", -1)),
|
|
39
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
40
|
+
vue.createVNode(UploadImage.default, {
|
|
41
|
+
photo: users.state.current.profile.photo,
|
|
42
|
+
"onUpdate:photo": _cache[0] || (_cache[0] = ($event) => users.state.current.profile.photo = $event),
|
|
43
|
+
uploadPath: "users/" + users.state.current._id + "/avatars",
|
|
44
|
+
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
|
45
|
+
}, null, 8, ["photo", "uploadPath"]),
|
|
46
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("h4", null, "Upload userpic", -1))
|
|
47
|
+
]),
|
|
48
|
+
vue.createVNode(Field.default, {
|
|
49
|
+
field: users.state.current.username,
|
|
50
|
+
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => users.state.current.username = $event),
|
|
51
|
+
label: "@",
|
|
52
|
+
placeholder: "Not specified",
|
|
53
|
+
class: "mn-b-thin w-100 bg-light pd-medium radius-small",
|
|
54
|
+
validation: _ctx.organizationName
|
|
55
|
+
}, null, 8, ["field", "validation"]),
|
|
56
|
+
vue.createElementVNode("p", _hoisted_4, "Your username will be used for URL of profile like " + vue.toDisplayString(_ctx.API_URL) + "/users/username", 1),
|
|
57
|
+
vue.createVNode(Field.default, {
|
|
58
|
+
field: users.state.current.profile.name,
|
|
59
|
+
"onUpdate:field": _cache[2] || (_cache[2] = ($event) => users.state.current.profile.name = $event),
|
|
60
|
+
label: "Name",
|
|
61
|
+
placeholder: "Not specified",
|
|
62
|
+
class: "mn-b-thin bg-light pd-medium radius-small",
|
|
63
|
+
validation: _ctx.organizationName
|
|
64
|
+
}, null, 8, ["field", "validation"]),
|
|
65
|
+
vue.createVNode(Field.default, {
|
|
66
|
+
field: users.state.current.profile.description,
|
|
67
|
+
"onUpdate:field": _cache[3] || (_cache[3] = ($event) => users.state.current.profile.description = $event),
|
|
68
|
+
label: "Description",
|
|
69
|
+
placeholder: "Not specified",
|
|
70
|
+
class: "mn-b-semi bg-light pd-medium radius-small",
|
|
71
|
+
validation: _ctx.organizationName
|
|
72
|
+
}, null, 8, ["field", "validation"])
|
|
73
|
+
]),
|
|
74
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
75
|
+
_cache[10] || (_cache[10] = vue.createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1)),
|
|
76
|
+
_cache[11] || (_cache[11] = vue.createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1)),
|
|
77
|
+
vue.createVNode(Field.default, {
|
|
78
|
+
field: users.state.current.socials.instagram,
|
|
79
|
+
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => users.state.current.socials.instagram = $event),
|
|
80
|
+
label: "Instagram",
|
|
81
|
+
placeholder: "",
|
|
82
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
83
|
+
}, null, 8, ["field"]),
|
|
84
|
+
vue.createVNode(Field.default, {
|
|
85
|
+
field: users.state.current.socials.twitter,
|
|
86
|
+
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => users.state.current.socials.twitter = $event),
|
|
87
|
+
label: "Twitter",
|
|
88
|
+
placeholder: "",
|
|
89
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
90
|
+
}, null, 8, ["field"]),
|
|
91
|
+
vue.createVNode(Field.default, {
|
|
92
|
+
field: users.state.current.socials.facebook,
|
|
93
|
+
"onUpdate:field": _cache[6] || (_cache[6] = ($event) => users.state.current.socials.facebook = $event),
|
|
94
|
+
label: "Facebook",
|
|
95
|
+
placeholder: "",
|
|
96
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
97
|
+
}, null, 8, ["field"]),
|
|
98
|
+
vue.createVNode(Field.default, {
|
|
99
|
+
field: users.state.current.socials.telegram,
|
|
100
|
+
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => users.state.current.socials.telegram = $event),
|
|
101
|
+
label: "Telegram",
|
|
102
|
+
placeholder: "",
|
|
103
|
+
class: "mn-b-semi bg-light pd-medium radius-small"
|
|
104
|
+
}, null, 8, ["field"])
|
|
105
|
+
]),
|
|
106
|
+
vue.createVNode(Button.default, {
|
|
107
|
+
submit: onSubmit,
|
|
108
|
+
callback: redirectTo,
|
|
109
|
+
class: "mn-b-thin bg-main w-100"
|
|
110
|
+
}, {
|
|
111
|
+
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
112
|
+
vue.createTextVNode(" Save ")
|
|
113
|
+
])),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
])) : vue.createCommentVNode("", true);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
exports.default = _sfc_main;
|
|
121
|
+
//# sourceMappingURL=ProfileEditProfile.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileEditProfile.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/ProfileEditProfile.vue"],"sourcesContent":["<template>\n <div v-if=\"show\" class=\"for-transition w-100\">\n <div class=\"bg-white mn-b-thin pd-medium\">\n <h4 class=\"mn-b-small\">Profile</h4>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n </div>\n\n <div class=\"bg-white mn-b-thin pd-medium\">\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n </div>\n</template>\n\n<script setup>\n import Field from '@martyrs/src/components/Field/Field.vue'\n import Button from '@martyrs/src/components/Button/Button.vue'\n import UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue'\n \n import { ref, onMounted } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n \n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n import * as users from '@martyrs/src/modules/auth/views/store/users.js'\n \n const route = useRoute()\n const router = useRouter()\n const show = ref(false)\n \n onMounted(async () => {\n const userId = route.params._id || auth.state.user._id\n await users.actions.read({ _id: userId, user: auth.state.user._id })\n show.value = true\n })\n \n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n \n function redirectTo() {\n router.back()\n }\n</script>"],"names":["useRoute","useRouter","ref","onMounted","auth.state","users.actions","users.state"],"mappings":";;;;;;;;;;;;;;;;;;;;AA4FE,UAAM,QAAQA,UAAQ,SAAA;AACtB,UAAM,SAASC,UAAS,UAAA;AACxB,UAAM,OAAOC,IAAAA,IAAI,KAAK;AAEtBC,QAAAA,UAAU,YAAY;AACpB,YAAM,SAAS,MAAM,OAAO,OAAOC,KAAAA,MAAW,KAAK;AACnD,YAAMC,MAAa,QAAC,KAAK,EAAE,KAAK,QAAQ,MAAMD,KAAAA,MAAW,KAAK,IAAK,CAAA;AACnE,WAAK,QAAQ;AAAA,IACd,CAAA;AAED,mBAAe,WAAW;AACxB,YAAMC,MAAa,QAAC,OAAOC,MAAAA,MAAY,OAAO;AAAA,IAClD;AAEE,aAAS,aAAa;AACpB,aAAO,KAAI;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { ref, onMounted, createElementBlock, createCommentVNode, openBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode } from "vue";
|
|
2
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
3
|
+
import _sfc_main$2 from "../../../../../components/Button/Button.vue.js";
|
|
4
|
+
import _sfc_main$1 from "../../../../../components/UploadImage/UploadImage.vue.js";
|
|
5
|
+
import { useRoute, useRouter } from "vue-router";
|
|
6
|
+
import { state } from "../../store/auth.js";
|
|
7
|
+
import { actions, state as state$1 } from "../../store/users.js";
|
|
8
|
+
const _hoisted_1 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "for-transition w-100"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2 = { class: "bg-white mn-b-thin pd-medium" };
|
|
13
|
+
const _hoisted_3 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
|
|
14
|
+
const _hoisted_4 = { class: "mn-b-semi" };
|
|
15
|
+
const _hoisted_5 = { class: "bg-white mn-b-thin pd-medium" };
|
|
16
|
+
const _sfc_main = {
|
|
17
|
+
__name: "ProfileEditProfile",
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const route = useRoute();
|
|
20
|
+
const router = useRouter();
|
|
21
|
+
const show = ref(false);
|
|
22
|
+
onMounted(async () => {
|
|
23
|
+
const userId = route.params._id || state.user._id;
|
|
24
|
+
await actions.read({ _id: userId, user: state.user._id });
|
|
25
|
+
show.value = true;
|
|
26
|
+
});
|
|
27
|
+
async function onSubmit() {
|
|
28
|
+
await actions.update(state$1.current);
|
|
29
|
+
}
|
|
30
|
+
function redirectTo() {
|
|
31
|
+
router.back();
|
|
32
|
+
}
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return show.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
35
|
+
createElementVNode("div", _hoisted_2, [
|
|
36
|
+
_cache[9] || (_cache[9] = createElementVNode("h4", { class: "mn-b-small" }, "Profile", -1)),
|
|
37
|
+
createElementVNode("div", _hoisted_3, [
|
|
38
|
+
createVNode(_sfc_main$1, {
|
|
39
|
+
photo: state$1.current.profile.photo,
|
|
40
|
+
"onUpdate:photo": _cache[0] || (_cache[0] = ($event) => state$1.current.profile.photo = $event),
|
|
41
|
+
uploadPath: "users/" + state$1.current._id + "/avatars",
|
|
42
|
+
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
|
43
|
+
}, null, 8, ["photo", "uploadPath"]),
|
|
44
|
+
_cache[8] || (_cache[8] = createElementVNode("h4", null, "Upload userpic", -1))
|
|
45
|
+
]),
|
|
46
|
+
createVNode(Field, {
|
|
47
|
+
field: state$1.current.username,
|
|
48
|
+
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => state$1.current.username = $event),
|
|
49
|
+
label: "@",
|
|
50
|
+
placeholder: "Not specified",
|
|
51
|
+
class: "mn-b-thin w-100 bg-light pd-medium radius-small",
|
|
52
|
+
validation: _ctx.organizationName
|
|
53
|
+
}, null, 8, ["field", "validation"]),
|
|
54
|
+
createElementVNode("p", _hoisted_4, "Your username will be used for URL of profile like " + toDisplayString(_ctx.API_URL) + "/users/username", 1),
|
|
55
|
+
createVNode(Field, {
|
|
56
|
+
field: state$1.current.profile.name,
|
|
57
|
+
"onUpdate:field": _cache[2] || (_cache[2] = ($event) => state$1.current.profile.name = $event),
|
|
58
|
+
label: "Name",
|
|
59
|
+
placeholder: "Not specified",
|
|
60
|
+
class: "mn-b-thin bg-light pd-medium radius-small",
|
|
61
|
+
validation: _ctx.organizationName
|
|
62
|
+
}, null, 8, ["field", "validation"]),
|
|
63
|
+
createVNode(Field, {
|
|
64
|
+
field: state$1.current.profile.description,
|
|
65
|
+
"onUpdate:field": _cache[3] || (_cache[3] = ($event) => state$1.current.profile.description = $event),
|
|
66
|
+
label: "Description",
|
|
67
|
+
placeholder: "Not specified",
|
|
68
|
+
class: "mn-b-semi bg-light pd-medium radius-small",
|
|
69
|
+
validation: _ctx.organizationName
|
|
70
|
+
}, null, 8, ["field", "validation"])
|
|
71
|
+
]),
|
|
72
|
+
createElementVNode("div", _hoisted_5, [
|
|
73
|
+
_cache[10] || (_cache[10] = createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1)),
|
|
74
|
+
_cache[11] || (_cache[11] = createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1)),
|
|
75
|
+
createVNode(Field, {
|
|
76
|
+
field: state$1.current.socials.instagram,
|
|
77
|
+
"onUpdate:field": _cache[4] || (_cache[4] = ($event) => state$1.current.socials.instagram = $event),
|
|
78
|
+
label: "Instagram",
|
|
79
|
+
placeholder: "",
|
|
80
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
81
|
+
}, null, 8, ["field"]),
|
|
82
|
+
createVNode(Field, {
|
|
83
|
+
field: state$1.current.socials.twitter,
|
|
84
|
+
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => state$1.current.socials.twitter = $event),
|
|
85
|
+
label: "Twitter",
|
|
86
|
+
placeholder: "",
|
|
87
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
88
|
+
}, null, 8, ["field"]),
|
|
89
|
+
createVNode(Field, {
|
|
90
|
+
field: state$1.current.socials.facebook,
|
|
91
|
+
"onUpdate:field": _cache[6] || (_cache[6] = ($event) => state$1.current.socials.facebook = $event),
|
|
92
|
+
label: "Facebook",
|
|
93
|
+
placeholder: "",
|
|
94
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
|
95
|
+
}, null, 8, ["field"]),
|
|
96
|
+
createVNode(Field, {
|
|
97
|
+
field: state$1.current.socials.telegram,
|
|
98
|
+
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => state$1.current.socials.telegram = $event),
|
|
99
|
+
label: "Telegram",
|
|
100
|
+
placeholder: "",
|
|
101
|
+
class: "mn-b-semi bg-light pd-medium radius-small"
|
|
102
|
+
}, null, 8, ["field"])
|
|
103
|
+
]),
|
|
104
|
+
createVNode(_sfc_main$2, {
|
|
105
|
+
submit: onSubmit,
|
|
106
|
+
callback: redirectTo,
|
|
107
|
+
class: "mn-b-thin bg-main w-100"
|
|
108
|
+
}, {
|
|
109
|
+
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
110
|
+
createTextVNode(" Save ")
|
|
111
|
+
])),
|
|
112
|
+
_: 1
|
|
113
|
+
})
|
|
114
|
+
])) : createCommentVNode("", true);
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
export {
|
|
119
|
+
_sfc_main as default
|
|
120
|
+
};
|
|
121
|
+
//# sourceMappingURL=ProfileEditProfile.vue.js.map
|