@ozdao/prometheus-framework 0.2.242 → 0.2.243
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +11 -12
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +11 -12
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +801 -811
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +801 -811
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Organizations.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-thin\">\n\t\t<header class=\"mn-b-medium flex-v-center flex-nowrap flex\">\n\t \t<h2 class=\"mn-r-medium\">Groups</h2>\n\t \t<button \n\t \t\t@click=\"$router.push({\n\t \t\t\tname: 'Create Organization'\n\t \t\t})\" \n\t \t\tclass=\"\n\t \t\t\tbg-second\n\t \t\t\tradius-100 \n\t \t\t\ti-big \n\t \t\t\thover-scale-1\n\t \t\t\tcursor-pointer\n\t \t\t\tt-white\n\t \t\t\tbg-second\n\t \t\t\">\n\t \t\t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Owner', \t\tvalue: 'owner' },\n\t\t\t\t{ name: 'Member', \tvalue: 'member' },\n\t\t\t\t{ name: 'Follower', value: 'follower' }\t\t\n\t\t\t]\"\n\t\t\tclass=\"\n\t\t\t\tmn-b-medium \n\t\t\t\to-hidden \n\t\t\t\th5 \n\t\t\t\tradius-big \n\t\t\t\tbg-light\n\t\t\t\"\n\t\t/>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'owner'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:owner=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'member'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:member=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'follower'\"\n\t\t \t\t:user=\"auth.state.user._id\"\n\t\t \t\t:subscriber=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Feed from '@pf/src/modules/organizations/components/sections/Feed.vue'; \n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":["useRoute","useRouter","ref","watch"],"mappings":"
|
1
|
+
{"version":3,"file":"Organizations.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-thin\">\n\t\t<header class=\"mn-b-medium flex-v-center flex-nowrap flex\">\n\t \t<h2 class=\"mn-r-medium\">Groups</h2>\n\t \t<button \n\t \t\t@click=\"$router.push({\n\t \t\t\tname: 'Create Organization'\n\t \t\t})\" \n\t \t\tclass=\"\n\t \t\t\tbg-second\n\t \t\t\tradius-100 \n\t \t\t\ti-big \n\t \t\t\thover-scale-1\n\t \t\t\tcursor-pointer\n\t \t\t\tt-white\n\t \t\t\tbg-second\n\t \t\t\">\n\t \t\t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Owner', \t\tvalue: 'owner' },\n\t\t\t\t{ name: 'Member', \tvalue: 'member' },\n\t\t\t\t{ name: 'Follower', value: 'follower' }\t\t\n\t\t\t]\"\n\t\t\tclass=\"\n\t\t\t\tmn-b-medium \n\t\t\t\to-hidden \n\t\t\t\th5 \n\t\t\t\tradius-big \n\t\t\t\tbg-light\n\t\t\t\"\n\t\t/>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'owner'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:owner=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'member'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:member=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'follower'\"\n\t\t \t\t:user=\"auth.state.user._id\"\n\t\t \t\t:subscriber=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Feed from '@pf/src/modules/organizations/components/sections/Feed.vue'; \n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":["useRoute","useRouter","ref","watch"],"mappings":";;;;;;;;;;;;AAwEC,UAAM,QAAQA,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAE1B,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkBC,IAAG,IAAC,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElCC,cAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
import { ref, watch, openBlock, createElementBlock, createElementVNode, createVNode, Transition, withCtx, createBlock, unref, createCommentVNode } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import _sfc_main$2 from "../sections/Feed.vue.js";
|
5
5
|
import { state } from "../../../auth/views/store/auth.js";
|
6
6
|
const _hoisted_1 = { class: "pd-thin" };
|
7
7
|
const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
|
8
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-r-medium" }, "Groups", -1);
|
9
8
|
const _sfc_main = {
|
10
9
|
__name: "Organizations",
|
11
10
|
setup(__props) {
|
@@ -20,7 +19,7 @@ const _sfc_main = {
|
|
20
19
|
return (_ctx, _cache) => {
|
21
20
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
22
21
|
createElementVNode("header", _hoisted_2, [
|
23
|
-
|
22
|
+
_cache[2] || (_cache[2] = createElementVNode("h2", { class: "mn-r-medium" }, "Groups", -1)),
|
24
23
|
createElementVNode("button", {
|
25
24
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.push({
|
26
25
|
name: "Create Organization"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-thin\">\n\t\t<header class=\"mn-b-medium flex-v-center flex-nowrap flex\">\n\t \t<h2 class=\"mn-r-medium\">Groups</h2>\n\t \t<button \n\t \t\t@click=\"$router.push({\n\t \t\t\tname: 'Create Organization'\n\t \t\t})\" \n\t \t\tclass=\"\n\t \t\t\tbg-second\n\t \t\t\tradius-100 \n\t \t\t\ti-big \n\t \t\t\thover-scale-1\n\t \t\t\tcursor-pointer\n\t \t\t\tt-white\n\t \t\t\tbg-second\n\t \t\t\">\n\t \t\t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Owner', \t\tvalue: 'owner' },\n\t\t\t\t{ name: 'Member', \tvalue: 'member' },\n\t\t\t\t{ name: 'Follower', value: 'follower' }\t\t\n\t\t\t]\"\n\t\t\tclass=\"\n\t\t\t\tmn-b-medium \n\t\t\t\to-hidden \n\t\t\t\th5 \n\t\t\t\tradius-big \n\t\t\t\tbg-light\n\t\t\t\"\n\t\t/>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'owner'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:owner=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'member'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:member=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'follower'\"\n\t\t \t\t:user=\"auth.state.user._id\"\n\t\t \t\t:subscriber=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Feed from '@pf/src/modules/organizations/components/sections/Feed.vue'; \n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"pd-thin\">\n\t\t<header class=\"mn-b-medium flex-v-center flex-nowrap flex\">\n\t \t<h2 class=\"mn-r-medium\">Groups</h2>\n\t \t<button \n\t \t\t@click=\"$router.push({\n\t \t\t\tname: 'Create Organization'\n\t \t\t})\" \n\t \t\tclass=\"\n\t \t\t\tbg-second\n\t \t\t\tradius-100 \n\t \t\t\ti-big \n\t \t\t\thover-scale-1\n\t \t\t\tcursor-pointer\n\t \t\t\tt-white\n\t \t\t\tbg-second\n\t \t\t\">\n\t \t\t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'Owner', \t\tvalue: 'owner' },\n\t\t\t\t{ name: 'Member', \tvalue: 'member' },\n\t\t\t\t{ name: 'Follower', value: 'follower' }\t\t\n\t\t\t]\"\n\t\t\tclass=\"\n\t\t\t\tmn-b-medium \n\t\t\t\to-hidden \n\t\t\t\th5 \n\t\t\t\tradius-big \n\t\t\t\tbg-light\n\t\t\t\"\n\t\t/>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'owner'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:owner=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'member'\"\n\t\t \t:user=\"auth.state.user._id\"\n\t\t\t\t:member=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\n\t\t<transition name=\"slide-fade\">\n\t\t\t<Feed \n\t\t\t\tv-if=\"tabOrganization === 'follower'\"\n\t\t \t\t:user=\"auth.state.user._id\"\n\t\t \t\t:subscriber=\"route.params._id\"\n\t\t\t/>\n\t\t</transition>\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n\timport Feed from '@pf/src/modules/organizations/components/sections/Feed.vue'; \n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":";;;;;;;;;;AAwEC,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAE1B,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Dropdown = require("../../../../components/Dropdown/Dropdown.
|
5
|
+
const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
|
6
6
|
const Text = require("../../../../components/Text/Text.vue.cjs");
|
7
|
-
const Chips = require("../../../../components/Chips/Chips.
|
7
|
+
const Chips = require("../../../../components/Chips/Chips.vue.cjs");
|
8
8
|
const IconFollowing = require("../../../icons/entities/IconFollowing.vue.cjs");
|
9
9
|
const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
|
10
10
|
const IconEllipsis = require("../../../icons/navigation/IconEllipsis.vue.cjs");
|
@@ -16,13 +16,12 @@ const organizations = require("../../store/organizations.cjs");
|
|
16
16
|
const memberships = require("../../store/memberships.cjs");
|
17
17
|
const _hoisted_1 = { class: "flex-center flex flex-column t-center pd-medium radius-big bg-light" };
|
18
18
|
const _hoisted_2 = { class: "bg-black pd-thin radius-small" };
|
19
|
-
const _hoisted_3 =
|
20
|
-
const _hoisted_4 =
|
21
|
-
const _hoisted_5 = { class: "mn-
|
22
|
-
const _hoisted_6 = { class: "
|
23
|
-
const _hoisted_7 = { class: "
|
24
|
-
const _hoisted_8 = {
|
25
|
-
const _hoisted_9 = {
|
19
|
+
const _hoisted_3 = ["src"];
|
20
|
+
const _hoisted_4 = { class: "mn-b-thin" };
|
21
|
+
const _hoisted_5 = { class: "flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max" };
|
22
|
+
const _hoisted_6 = { class: "mn-t-thin p-medium t-medium uppercase mn-b-thin" };
|
23
|
+
const _hoisted_7 = { class: "w-max-50r mn-t-regular mn-b-medium p-big" };
|
24
|
+
const _hoisted_8 = {
|
26
25
|
key: 5,
|
27
26
|
class: "mn-t-small mn-b-thin"
|
28
27
|
};
|
@@ -55,9 +54,9 @@ const _sfc_main = {
|
|
55
54
|
text: "Report",
|
56
55
|
class: "w-100"
|
57
56
|
}, {
|
58
|
-
default: vue.withCtx(() => [
|
59
|
-
|
60
|
-
]),
|
57
|
+
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
58
|
+
vue.createElementVNode("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1)
|
59
|
+
])),
|
61
60
|
_: 1
|
62
61
|
}, 8, ["user", "target"]),
|
63
62
|
__props.user._id && __props.user._id !== __props.organization.owner ? (vue.openBlock(), vue.createBlock(ButtonToggleMembership.default, {
|
@@ -90,14 +89,14 @@ const _sfc_main = {
|
|
90
89
|
loading: "lazy",
|
91
90
|
src: (_ctx.FILE_SERVER_URL || "") + __props.organization.profile.photo,
|
92
91
|
class: "radius-big bg-light flex-center flex mn-b-small w-8r"
|
93
|
-
}, null, 8,
|
92
|
+
}, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createBlock(PlaceholderOrganizationPic.default, {
|
94
93
|
key: 3,
|
95
94
|
class: "radius-medium mn-b-small i-extra"
|
96
95
|
})),
|
97
|
-
vue.createElementVNode("h1",
|
98
|
-
vue.createElementVNode("div",
|
96
|
+
vue.createElementVNode("h1", _hoisted_4, vue.toDisplayString(__props.organization.profile.name), 1),
|
97
|
+
vue.createElementVNode("div", _hoisted_5, [
|
99
98
|
vue.createVNode(IconFollowing.default, { class: "i-medium mn-r-micro t-transp" }),
|
100
|
-
vue.createElementVNode("p",
|
99
|
+
vue.createElementVNode("p", _hoisted_6, vue.toDisplayString(__props.organization.numberOfSubscribers) + " followers", 1),
|
101
100
|
__props.user._id && vue.unref(route).params._id && vue.unref(route).params._id !== __props.user._id && __props.organization.owner !== __props.user._id ? (vue.openBlock(), vue.createBlock(ButtonToggleMembership.default, {
|
102
101
|
key: 0,
|
103
102
|
user: __props.user._id,
|
@@ -110,7 +109,7 @@ const _sfc_main = {
|
|
110
109
|
class: "mn-l-thin p-medium t-medium radius-extra i-semi"
|
111
110
|
}, null, 8, ["user", "target", "status"])) : vue.createCommentVNode("", true)
|
112
111
|
]),
|
113
|
-
vue.createElementVNode("p",
|
112
|
+
vue.createElementVNode("p", _hoisted_7, [
|
114
113
|
vue.createVNode(Text.default, {
|
115
114
|
text: __props.organization.profile.description || "",
|
116
115
|
showToggleText: true,
|
@@ -122,7 +121,7 @@ const _sfc_main = {
|
|
122
121
|
chips: __props.organization.profile.tags,
|
123
122
|
class: "p-medium"
|
124
123
|
}, null, 8, ["chips"])) : vue.createCommentVNode("", true),
|
125
|
-
Object.values(__props.organization.socials).some((value) => value) ? (vue.openBlock(), vue.createElementBlock("h4",
|
124
|
+
Object.values(__props.organization.socials).some((value) => value) ? (vue.openBlock(), vue.createElementBlock("h4", _hoisted_8, " Find us in socials ")) : vue.createCommentVNode("", true),
|
126
125
|
vue.createVNode(Socials.default, {
|
127
126
|
telegram: __props.organization.socials.telegram,
|
128
127
|
facebook: __props.organization.socials.facebook,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DetailsTabSection.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-big bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n\t\t<IconEdit\n\t\t\tv-if=\"user._id === organization.owner\"\n\t\t\t@click=\"$router.push({\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t})\" \n\t\t\tclass=\"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp\"\n\t\t/>\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-big\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@pf/src/components/Text/Text.vue'\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@pf/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@pf/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@pf/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@pf/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@pf/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@pf/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships \tfrom '@pf/src/modules/organizations/store/memberships'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["useRoute","memberships.mutations","organizations.state"],"mappings":"
|
1
|
+
{"version":3,"file":"DetailsTabSection.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-big bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n\t\t<IconEdit\n\t\t\tv-if=\"user._id === organization.owner\"\n\t\t\t@click=\"$router.push({\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t})\" \n\t\t\tclass=\"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp\"\n\t\t/>\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-big\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@pf/src/components/Text/Text.vue'\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@pf/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@pf/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@pf/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@pf/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@pf/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@pf/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships \tfrom '@pf/src/modules/organizations/store/memberships'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["useRoute","memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwKC,UAAM,QAAQA,UAAAA,SAAU;AAGxB,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAQ,GAAE,YAAY,iBAAiB;AAC3FC,4BAAsB,uBAAuBC,cAAAA,MAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IACjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { openBlock, createElementBlock, createBlock, withCtx, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref, renderSlot } from "vue";
|
2
2
|
import { useRoute } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.
|
3
|
+
import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue.js";
|
4
4
|
import _sfc_main$7 from "../../../../components/Text/Text.vue.js";
|
5
|
-
import _sfc_main$8 from "../../../../components/Chips/Chips.
|
5
|
+
import _sfc_main$8 from "../../../../components/Chips/Chips.vue.js";
|
6
6
|
import _sfc_main$6 from "../../../icons/entities/IconFollowing.vue.js";
|
7
7
|
import _sfc_main$5 from "../../../icons/navigation/IconEdit.vue.js";
|
8
8
|
import _sfc_main$2 from "../../../icons/navigation/IconEllipsis.vue.js";
|
@@ -14,13 +14,12 @@ import { state } from "../../store/organizations.js";
|
|
14
14
|
import { mutations } from "../../store/memberships.js";
|
15
15
|
const _hoisted_1 = { class: "flex-center flex flex-column t-center pd-medium radius-big bg-light" };
|
16
16
|
const _hoisted_2 = { class: "bg-black pd-thin radius-small" };
|
17
|
-
const _hoisted_3 =
|
18
|
-
const _hoisted_4 =
|
19
|
-
const _hoisted_5 = { class: "mn-
|
20
|
-
const _hoisted_6 = { class: "
|
21
|
-
const _hoisted_7 = { class: "
|
22
|
-
const _hoisted_8 = {
|
23
|
-
const _hoisted_9 = {
|
17
|
+
const _hoisted_3 = ["src"];
|
18
|
+
const _hoisted_4 = { class: "mn-b-thin" };
|
19
|
+
const _hoisted_5 = { class: "flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max" };
|
20
|
+
const _hoisted_6 = { class: "mn-t-thin p-medium t-medium uppercase mn-b-thin" };
|
21
|
+
const _hoisted_7 = { class: "w-max-50r mn-t-regular mn-b-medium p-big" };
|
22
|
+
const _hoisted_8 = {
|
24
23
|
key: 5,
|
25
24
|
class: "mn-t-small mn-b-thin"
|
26
25
|
};
|
@@ -53,9 +52,9 @@ const _sfc_main = {
|
|
53
52
|
text: "Report",
|
54
53
|
class: "w-100"
|
55
54
|
}, {
|
56
|
-
default: withCtx(() => [
|
57
|
-
|
58
|
-
]),
|
55
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
56
|
+
createElementVNode("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1)
|
57
|
+
])),
|
59
58
|
_: 1
|
60
59
|
}, 8, ["user", "target"]),
|
61
60
|
__props.user._id && __props.user._id !== __props.organization.owner ? (openBlock(), createBlock(_sfc_main$4, {
|
@@ -88,14 +87,14 @@ const _sfc_main = {
|
|
88
87
|
loading: "lazy",
|
89
88
|
src: (_ctx.FILE_SERVER_URL || "") + __props.organization.profile.photo,
|
90
89
|
class: "radius-big bg-light flex-center flex mn-b-small w-8r"
|
91
|
-
}, null, 8,
|
90
|
+
}, null, 8, _hoisted_3)) : (openBlock(), createBlock(PlaceholderOrganizationPic, {
|
92
91
|
key: 3,
|
93
92
|
class: "radius-medium mn-b-small i-extra"
|
94
93
|
})),
|
95
|
-
createElementVNode("h1",
|
96
|
-
createElementVNode("div",
|
94
|
+
createElementVNode("h1", _hoisted_4, toDisplayString(__props.organization.profile.name), 1),
|
95
|
+
createElementVNode("div", _hoisted_5, [
|
97
96
|
createVNode(_sfc_main$6, { class: "i-medium mn-r-micro t-transp" }),
|
98
|
-
createElementVNode("p",
|
97
|
+
createElementVNode("p", _hoisted_6, toDisplayString(__props.organization.numberOfSubscribers) + " followers", 1),
|
99
98
|
__props.user._id && unref(route).params._id && unref(route).params._id !== __props.user._id && __props.organization.owner !== __props.user._id ? (openBlock(), createBlock(_sfc_main$4, {
|
100
99
|
key: 0,
|
101
100
|
user: __props.user._id,
|
@@ -108,7 +107,7 @@ const _sfc_main = {
|
|
108
107
|
class: "mn-l-thin p-medium t-medium radius-extra i-semi"
|
109
108
|
}, null, 8, ["user", "target", "status"])) : createCommentVNode("", true)
|
110
109
|
]),
|
111
|
-
createElementVNode("p",
|
110
|
+
createElementVNode("p", _hoisted_7, [
|
112
111
|
createVNode(_sfc_main$7, {
|
113
112
|
text: __props.organization.profile.description || "",
|
114
113
|
showToggleText: true,
|
@@ -120,7 +119,7 @@ const _sfc_main = {
|
|
120
119
|
chips: __props.organization.profile.tags,
|
121
120
|
class: "p-medium"
|
122
121
|
}, null, 8, ["chips"])) : createCommentVNode("", true),
|
123
|
-
Object.values(__props.organization.socials).some((value) => value) ? (openBlock(), createElementBlock("h4",
|
122
|
+
Object.values(__props.organization.socials).some((value) => value) ? (openBlock(), createElementBlock("h4", _hoisted_8, " Find us in socials ")) : createCommentVNode("", true),
|
124
123
|
createVNode(_sfc_main$9, {
|
125
124
|
telegram: __props.organization.socials.telegram,
|
126
125
|
facebook: __props.organization.socials.facebook,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DetailsTabSection.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-big bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n\t\t<IconEdit\n\t\t\tv-if=\"user._id === organization.owner\"\n\t\t\t@click=\"$router.push({\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t})\" \n\t\t\tclass=\"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp\"\n\t\t/>\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-big\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@pf/src/components/Text/Text.vue'\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@pf/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@pf/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@pf/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@pf/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@pf/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@pf/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships \tfrom '@pf/src/modules/organizations/store/memberships'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["memberships.mutations","organizations.state"],"mappings":"
|
1
|
+
{"version":3,"file":"DetailsTabSection.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/DetailsTabSection.vue"],"sourcesContent":["<template>\n\t<section class=\"flex-center flex flex-column t-center pd-medium radius-big bg-light\">\n\n\t\t<Dropdown \n\t\t\tv-if=\"user._id !== organization.owner\"\n\t\t\t:label=\"{ component: IconEllipsis, class: 'i-regular t-transp' }\"\n\t\t\t:align=\"'right'\"\n\t\t\tclass=\"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra \"\n\t\t>\n\t\t\t<section \n\t\t\t\tclass=\"bg-black pd-thin radius-small\"\n\t\t\t>\n\t\t\t\t<FormReport \n\t\t\t\t\t:user=\"user._id\"\n\t\t\t\t\t:type=\"'organization'\" \n\t\t\t\t\t:target=\"organization._id\" \n\t\t\t\t\t:text=\"'Report'\" \n\t\t\t\t\tclass=\"w-100\"\n\t\t\t\t>\n\t\t\t\t\t<button \n\t\t\t\t\t\tclass=\"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button\"\n\t\t\t\t\t>\n\t\t\t\t\t\tReport\n\t\t\t\t\t</button>\n\t\t\t\t</FormReport>\n\n\t\t\t\t<ButtonToggleMembership\n\t\t\t\t\tv-if=\"user._id && user._id !== organization.owner\"\n\t\t :user=\"user._id\"\n\t\t :type=\"'organization'\" \n\t \t:role=\"'blocked'\" \n\t\t :target=\"organization._id\" \n\t\t :status=\"organization.isBlocked\" \n\t\t :text=\"{create: 'Block', remove: 'Unblock'}\"\n\t\t @updateMembership=\"event => handleMembershipUpdate(event, 'isBlocked')\"\n\t\t class=\"t-white w-100 mn-t-thin bg-red\" \n\t \t/>\n\t\t\t</section>\n </Dropdown>\n\n\t\t<IconEdit\n\t\t\tv-if=\"user._id === organization.owner\"\n\t\t\t@click=\"$router.push({\n\t\t\t\tname: 'Organization Edit', \n\t\t\t\tparams: {\n\t\t\t\t\t_id: organization._id\n\t\t\t\t}\n\t\t\t})\" \n\t\t\tclass=\"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp\"\n\t\t/>\n\n\t\t<img loading=\"lazy\" \n\t\t\tv-if=\"organization.profile.photo\" \n\t\t\t:src=\"(FILE_SERVER_URL || '') + organization.profile.photo\" \n\t\t\tclass=\"radius-big bg-light flex-center flex mn-b-small w-8r\" \n\t\t/>\n\n\t\t<PlaceholderOrganizationPic\n\t\t\tv-else\n\t\t\tclass=\"radius-medium mn-b-small i-extra\"\n\t\t/>\n\n <h1\n \tclass=\"mn-b-thin\"\n >\n \t\t{{ organization.profile.name }}\n \t</h1>\n\n \t<div class=\"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max\">\n \t\t<IconFollowing class=\"i-medium mn-r-micro t-transp\"/>\n\n <p class=\"mn-t-thin p-medium t-medium uppercase mn-b-thin\">{{organization.numberOfSubscribers}} followers</p>\n\n <ButtonToggleMembership\n v-if=\"\n\t \tuser._id \n\t \t&& route.params._id \n\t \t&& route.params._id !== user._id\n\t \t&& organization.owner !== user._id\n\t \"\n :user=\"user._id\"\n :type=\"'organization'\" \n :role=\"'subscriber'\" \n :target=\"organization._id\" \n :status=\"organization.isSubscriber\" \n :text=\"{create: '+', remove: '-'}\"\n @updateMembership=\"event => handleMembershipUpdate(event, 'isSubscriber', 'numberOfSubscribers')\"\n class=\" mn-l-thin p-medium t-medium radius-extra i-semi\" \n />\n </div>\n\n <p class=\"w-max-50r mn-t-regular mn-b-medium p-big\">\n \t\t<Text :text=\"organization.profile.description || ''\" :showToggleText=\"true\" :maxLen=\"320\" />\n \t</p> \n\n \t<Chips \n \tv-if=\"organization.profile?.tags?.length > 0\" \n \t:chips=\"organization.profile.tags\"\n \tclass=\"p-medium\"\n \t/>\n\n\n <h4 \n \tv-if=\"Object.values(organization.socials).some(value => value)\" \n \tclass=\"mn-t-small mn-b-thin\"\n >\n \t\tFind us in socials\n \t</h4>\n \t\n \t<Socials \n \t\t:telegram=\"organization.socials.telegram\"\n \t\t:facebook=\"organization.socials.facebook\"\n \t\t:instagram=\"organization.socials.instagram\"\n \t\t:twitter=\"organization.socials.twitter\"\n \t\t:youtube=\"organization.socials.youtube\"\n \t/>\n \t<slot></slot>\n\t</section>\n\n<!-- <h3 class=\"mn-b-small\">Rating</h3>\n\t<Rating \n\t\t:rating=\"organization.rating.median\" \n\t\t:amount=\"organization.rating.amount\"\n\t\tclass=\"pd-medium mn-b-thin radius-big bg-light\"\n\t/>\n\n\t<h3 class=\"mn-b-small\">Contacts</h3>\n <Contacts\n :website=\"organization.contacts.website\"\n :phone=\"organization.contacts.phone\"\n :email=\"organization.contacts.email\"\n :address=\"organization.contacts.address\"\n class=\"w-100 pd-medium radius-big bg-light\"\n /> -->\n\n\n</template>\n\n<script setup>\n\timport { ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Import components\n\timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\timport Text \t\tfrom '@pf/src/components/Text/Text.vue'\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\t// Icons\n\timport IconFollowing from '@pf/src/modules/icons/entities/IconFollowing.vue'\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\timport IconEllipsis from '@pf/src/modules/icons/navigation/IconEllipsis.vue'\n\timport PlaceholderOrganizationPic from '@pf/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue'\n\t// Org Module\n\timport ButtonToggleMembership from '@pf/src/modules/organizations/components/elements/ButtonToggleMembership.vue'\n\timport Contacts from '@pf/src/modules/organizations/components/blocks/Contacts.vue'\n\timport Rating from '@pf/src/modules/organizations/components/blocks/Rating.vue'\n\timport Socials from '@pf/src/modules/organizations/components/blocks/Socials.vue'\n\t// Report Module\n\timport FormReport from '@pf/src/modules/reports/components/sections/FormReport.vue' \n\t// Store \n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships \tfrom '@pf/src/modules/organizations/store/memberships'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n\tconst props = defineProps({\n\t\torganization: Object,\n\t\tuser: Object\n\t})\n\t// Store\n\tconst route = useRoute()\n\t\n\t// Methods\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n</script>\n\n<style lang=\"scss\">\n\n</style>"],"names":["memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwKC,UAAM,QAAQ,SAAU;AAGxB,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAQ,GAAE,YAAY,iBAAiB;AAC3FA,gBAAsB,uBAAuBC,MAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IACjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs
CHANGED
@@ -4,18 +4,16 @@ const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
require("vue-i18n");
|
7
|
-
;/* empty css
|
7
|
+
;/* empty css */
|
8
8
|
;/* empty css */
|
9
9
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
10
10
|
;/* empty css */
|
11
11
|
;/* empty css */
|
12
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-f93fcad7"), n = n(), vue.popScopeId(), n);
|
13
12
|
const _hoisted_1 = { class: "documents" };
|
14
|
-
const _hoisted_2 =
|
15
|
-
const _hoisted_3 =
|
16
|
-
const _hoisted_4 =
|
17
|
-
const _hoisted_5 = { class: "
|
18
|
-
const _hoisted_6 = { class: "t-semi t-transp radius-small" };
|
13
|
+
const _hoisted_2 = { class: "mn-b-big cols-4" };
|
14
|
+
const _hoisted_3 = ["onClick"];
|
15
|
+
const _hoisted_4 = { class: "mn-b-small" };
|
16
|
+
const _hoisted_5 = { class: "t-semi t-transp radius-small" };
|
19
17
|
const _sfc_main = {
|
20
18
|
__name: "Documents",
|
21
19
|
setup(__props) {
|
@@ -73,17 +71,17 @@ const _sfc_main = {
|
|
73
71
|
return (_ctx, _cache) => {
|
74
72
|
const _component_Popup = vue.resolveComponent("Popup");
|
75
73
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
76
|
-
|
77
|
-
vue.createElementVNode("div",
|
74
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("h3", { class: "mn-b-small" }, "Список документов", -1)),
|
75
|
+
vue.createElementVNode("div", _hoisted_2, [
|
78
76
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(documents), (doc, index) => {
|
79
77
|
return vue.openBlock(), vue.createElementBlock("div", {
|
80
78
|
key: index,
|
81
79
|
onClick: ($event) => openPopup(index),
|
82
80
|
class: "h-100 pd-medium bg-white radius-small"
|
83
81
|
}, [
|
84
|
-
vue.createElementVNode("h3",
|
85
|
-
vue.createElementVNode("p",
|
86
|
-
], 8,
|
82
|
+
vue.createElementVNode("h3", _hoisted_4, vue.toDisplayString(doc.name), 1),
|
83
|
+
vue.createElementVNode("p", _hoisted_5, vue.toDisplayString(doc.status), 1)
|
84
|
+
], 8, _hoisted_3);
|
87
85
|
}), 128))
|
88
86
|
]),
|
89
87
|
vue.createVNode(_component_Popup, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Documents.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/Documents.vue"],"sourcesContent":["<template>\n <div class=\"documents\">\n <h3 class=\"mn-b-small\">Список документов</h3>\n \n <div class=\"mn-b-big cols-4\">\n\t <div \n\t \tv-for=\"(doc, index) in documents\" :key=\"index\" \n\t \t@click=\"openPopup(index)\" \n\t \tclass=\"h-100 pd-medium bg-white radius-small\">\n\t \t<h3 class=\"mn-b-small\">{{ doc.name }}</h3>\n\t \t<p class=\"t-semi t-transp radius-small\">{{ doc.status }}</p>\n\t </div>\n\t </div>\n\n <Popup title=\"Добавить документ\" @close-popup=\"closePopup\" :isPopupOpen=\"showPopup\">\n\n <div v-for=\"input in documents[currentIndex].inputs\" :key=\"input.name\">\n <Field\n \tv-model:field=\"input.value\" \t\t\n \t:label=\"input.name\"\n :_id=\"input.name\" \n :placeholder=\"input.name\" \n class=\"w-100\"\n />\n </div>\n <button @click=\"submitData\" class=\"w-100 mn-b-small button \">Отправить на верификацию</button>\n\n\t\t</Popup>\n\n </div>\n</template>\n\n<script setup>\nimport { ref, watchEffect } from 'vue';\n\nimport { useRoute, useRouter } from 'vue-router'\nimport Field \tfrom '@pf/src/components/Field/Field.vue'\nimport Select \tfrom '@pf/src/components/Popup/Popup.vue'\nimport Button \tfrom '@pf/src/components/Button/Button.vue'\n// const props = defineProps({\n// documents: {\n// type: Array,\n// required: true,\n// },\n// });\n\n\nconst router \t= useRouter()\nconst route \t= useRoute()\n\nlet documents = [{\n\tname: 'Паспорт',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Номер и серия'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Место выдачи'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Дата выдачи'\n\t}]\n},{\n\tname: 'ИНН',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'СНИЛС',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'Военный билет',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n}]\n\nconst showPopup = ref(false);\nconst currentIndex = ref(null);\n\nconst openPopup = (index) => {\n currentIndex.value = index;\n showPopup.value = true;\n};\n\nconst closePopup = () => {\n showPopup.value = false;\n};\n\nconst handleFileUpload = (e) => {\n const files = e.target.files;\n // Handle file uploads as needed\n};\n\nconst submitData = () => {\n // Handle submission of the data and update the document status\n closePopup();\n};\n\nwatchEffect(() => {\n // Do any necessary updates when the documents prop changes\n});\n\nasync function onSubmit() {\n // await Store.auth.login(Store.auth.state.user)\n}\n\nfunction redirectTo () {\n\trouter.push({ name: 'Create Organization People'})\n\t// Store.auth.toggleSignInPopup()\n}\n</script>\n\n<style scoped>\n.documents {\n display: flex;\n flex-direction: column;\n}\n\n.popup {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: white;\n border: 1px solid #ccc;\n padding: 20px;\n z-index: 10;\n}\n</style>"],"names":["useRouter","useRoute","ref","watchEffect"],"mappings":"
|
1
|
+
{"version":3,"file":"Documents.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/Documents.vue"],"sourcesContent":["<template>\n <div class=\"documents\">\n <h3 class=\"mn-b-small\">Список документов</h3>\n \n <div class=\"mn-b-big cols-4\">\n\t <div \n\t \tv-for=\"(doc, index) in documents\" :key=\"index\" \n\t \t@click=\"openPopup(index)\" \n\t \tclass=\"h-100 pd-medium bg-white radius-small\">\n\t \t<h3 class=\"mn-b-small\">{{ doc.name }}</h3>\n\t \t<p class=\"t-semi t-transp radius-small\">{{ doc.status }}</p>\n\t </div>\n\t </div>\n\n <Popup title=\"Добавить документ\" @close-popup=\"closePopup\" :isPopupOpen=\"showPopup\">\n\n <div v-for=\"input in documents[currentIndex].inputs\" :key=\"input.name\">\n <Field\n \tv-model:field=\"input.value\" \t\t\n \t:label=\"input.name\"\n :_id=\"input.name\" \n :placeholder=\"input.name\" \n class=\"w-100\"\n />\n </div>\n <button @click=\"submitData\" class=\"w-100 mn-b-small button \">Отправить на верификацию</button>\n\n\t\t</Popup>\n\n </div>\n</template>\n\n<script setup>\nimport { ref, watchEffect } from 'vue';\n\nimport { useRoute, useRouter } from 'vue-router'\nimport Field \tfrom '@pf/src/components/Field/Field.vue'\nimport Select \tfrom '@pf/src/components/Popup/Popup.vue'\nimport Button \tfrom '@pf/src/components/Button/Button.vue'\n// const props = defineProps({\n// documents: {\n// type: Array,\n// required: true,\n// },\n// });\n\n\nconst router \t= useRouter()\nconst route \t= useRoute()\n\nlet documents = [{\n\tname: 'Паспорт',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Номер и серия'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Место выдачи'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Дата выдачи'\n\t}]\n},{\n\tname: 'ИНН',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'СНИЛС',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'Военный билет',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n}]\n\nconst showPopup = ref(false);\nconst currentIndex = ref(null);\n\nconst openPopup = (index) => {\n currentIndex.value = index;\n showPopup.value = true;\n};\n\nconst closePopup = () => {\n showPopup.value = false;\n};\n\nconst handleFileUpload = (e) => {\n const files = e.target.files;\n // Handle file uploads as needed\n};\n\nconst submitData = () => {\n // Handle submission of the data and update the document status\n closePopup();\n};\n\nwatchEffect(() => {\n // Do any necessary updates when the documents prop changes\n});\n\nasync function onSubmit() {\n // await Store.auth.login(Store.auth.state.user)\n}\n\nfunction redirectTo () {\n\trouter.push({ name: 'Create Organization People'})\n\t// Store.auth.toggleSignInPopup()\n}\n</script>\n\n<style scoped>\n.documents {\n display: flex;\n flex-direction: column;\n}\n\n.popup {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: white;\n border: 1px solid #ccc;\n padding: 20px;\n z-index: 10;\n}\n</style>"],"names":["useRouter","useRoute","ref","watchEffect"],"mappings":";;;;;;;;;;;;;;;;;;;AA+CgBA,cAAAA,UAAW;AACZC,cAAAA,SAAU;AAEzB,QAAI,YAAY,CAAC;AAAA,MAChB,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,GAAG;AAAA,QACD,MAAM;AAAA,QACN,MAAM;AAAA,MACR,GAAG;AAAA,QACD,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,CAAC;AAED,UAAM,YAAYC,IAAAA,IAAI,KAAK;AAC3B,UAAM,eAAeA,IAAAA,IAAI,IAAI;AAE7B,UAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ;AACrB,gBAAU,QAAQ;AAAA,IACpB;AAEA,UAAM,aAAa,MAAM;AACvB,gBAAU,QAAQ;AAAA,IACpB;AAOA,UAAM,aAAa,MAAM;AAEvB;IACF;AAEAC,QAAAA,YAAY,MAAM;AAAA,IAElB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js
CHANGED
@@ -1,19 +1,17 @@
|
|
1
|
-
import { ref, watchEffect, resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString, createVNode, withCtx
|
1
|
+
import { ref, watchEffect, resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString, createVNode, withCtx } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import "vue-i18n";
|
5
|
-
/* empty css
|
5
|
+
/* empty css */
|
6
6
|
/* empty css */
|
7
7
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-f93fcad7"), n = n(), popScopeId(), n);
|
11
10
|
const _hoisted_1 = { class: "documents" };
|
12
|
-
const _hoisted_2 =
|
13
|
-
const _hoisted_3 =
|
14
|
-
const _hoisted_4 =
|
15
|
-
const _hoisted_5 = { class: "
|
16
|
-
const _hoisted_6 = { class: "t-semi t-transp radius-small" };
|
11
|
+
const _hoisted_2 = { class: "mn-b-big cols-4" };
|
12
|
+
const _hoisted_3 = ["onClick"];
|
13
|
+
const _hoisted_4 = { class: "mn-b-small" };
|
14
|
+
const _hoisted_5 = { class: "t-semi t-transp radius-small" };
|
17
15
|
const _sfc_main = {
|
18
16
|
__name: "Documents",
|
19
17
|
setup(__props) {
|
@@ -71,17 +69,17 @@ const _sfc_main = {
|
|
71
69
|
return (_ctx, _cache) => {
|
72
70
|
const _component_Popup = resolveComponent("Popup");
|
73
71
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
74
|
-
|
75
|
-
createElementVNode("div",
|
72
|
+
_cache[0] || (_cache[0] = createElementVNode("h3", { class: "mn-b-small" }, "Список документов", -1)),
|
73
|
+
createElementVNode("div", _hoisted_2, [
|
76
74
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(documents), (doc, index) => {
|
77
75
|
return openBlock(), createElementBlock("div", {
|
78
76
|
key: index,
|
79
77
|
onClick: ($event) => openPopup(index),
|
80
78
|
class: "h-100 pd-medium bg-white radius-small"
|
81
79
|
}, [
|
82
|
-
createElementVNode("h3",
|
83
|
-
createElementVNode("p",
|
84
|
-
], 8,
|
80
|
+
createElementVNode("h3", _hoisted_4, toDisplayString(doc.name), 1),
|
81
|
+
createElementVNode("p", _hoisted_5, toDisplayString(doc.status), 1)
|
82
|
+
], 8, _hoisted_3);
|
85
83
|
}), 128))
|
86
84
|
]),
|
87
85
|
createVNode(_component_Popup, {
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Documents.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/Documents.vue"],"sourcesContent":["<template>\n <div class=\"documents\">\n <h3 class=\"mn-b-small\">Список документов</h3>\n \n <div class=\"mn-b-big cols-4\">\n\t <div \n\t \tv-for=\"(doc, index) in documents\" :key=\"index\" \n\t \t@click=\"openPopup(index)\" \n\t \tclass=\"h-100 pd-medium bg-white radius-small\">\n\t \t<h3 class=\"mn-b-small\">{{ doc.name }}</h3>\n\t \t<p class=\"t-semi t-transp radius-small\">{{ doc.status }}</p>\n\t </div>\n\t </div>\n\n <Popup title=\"Добавить документ\" @close-popup=\"closePopup\" :isPopupOpen=\"showPopup\">\n\n <div v-for=\"input in documents[currentIndex].inputs\" :key=\"input.name\">\n <Field\n \tv-model:field=\"input.value\" \t\t\n \t:label=\"input.name\"\n :_id=\"input.name\" \n :placeholder=\"input.name\" \n class=\"w-100\"\n />\n </div>\n <button @click=\"submitData\" class=\"w-100 mn-b-small button \">Отправить на верификацию</button>\n\n\t\t</Popup>\n\n </div>\n</template>\n\n<script setup>\nimport { ref, watchEffect } from 'vue';\n\nimport { useRoute, useRouter } from 'vue-router'\nimport Field \tfrom '@pf/src/components/Field/Field.vue'\nimport Select \tfrom '@pf/src/components/Popup/Popup.vue'\nimport Button \tfrom '@pf/src/components/Button/Button.vue'\n// const props = defineProps({\n// documents: {\n// type: Array,\n// required: true,\n// },\n// });\n\n\nconst router \t= useRouter()\nconst route \t= useRoute()\n\nlet documents = [{\n\tname: 'Паспорт',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Номер и серия'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Место выдачи'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Дата выдачи'\n\t}]\n},{\n\tname: 'ИНН',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'СНИЛС',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'Военный билет',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n}]\n\nconst showPopup = ref(false);\nconst currentIndex = ref(null);\n\nconst openPopup = (index) => {\n currentIndex.value = index;\n showPopup.value = true;\n};\n\nconst closePopup = () => {\n showPopup.value = false;\n};\n\nconst handleFileUpload = (e) => {\n const files = e.target.files;\n // Handle file uploads as needed\n};\n\nconst submitData = () => {\n // Handle submission of the data and update the document status\n closePopup();\n};\n\nwatchEffect(() => {\n // Do any necessary updates when the documents prop changes\n});\n\nasync function onSubmit() {\n // await Store.auth.login(Store.auth.state.user)\n}\n\nfunction redirectTo () {\n\trouter.push({ name: 'Create Organization People'})\n\t// Store.auth.toggleSignInPopup()\n}\n</script>\n\n<style scoped>\n.documents {\n display: flex;\n flex-direction: column;\n}\n\n.popup {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: white;\n border: 1px solid #ccc;\n padding: 20px;\n z-index: 10;\n}\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Documents.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/Documents.vue"],"sourcesContent":["<template>\n <div class=\"documents\">\n <h3 class=\"mn-b-small\">Список документов</h3>\n \n <div class=\"mn-b-big cols-4\">\n\t <div \n\t \tv-for=\"(doc, index) in documents\" :key=\"index\" \n\t \t@click=\"openPopup(index)\" \n\t \tclass=\"h-100 pd-medium bg-white radius-small\">\n\t \t<h3 class=\"mn-b-small\">{{ doc.name }}</h3>\n\t \t<p class=\"t-semi t-transp radius-small\">{{ doc.status }}</p>\n\t </div>\n\t </div>\n\n <Popup title=\"Добавить документ\" @close-popup=\"closePopup\" :isPopupOpen=\"showPopup\">\n\n <div v-for=\"input in documents[currentIndex].inputs\" :key=\"input.name\">\n <Field\n \tv-model:field=\"input.value\" \t\t\n \t:label=\"input.name\"\n :_id=\"input.name\" \n :placeholder=\"input.name\" \n class=\"w-100\"\n />\n </div>\n <button @click=\"submitData\" class=\"w-100 mn-b-small button \">Отправить на верификацию</button>\n\n\t\t</Popup>\n\n </div>\n</template>\n\n<script setup>\nimport { ref, watchEffect } from 'vue';\n\nimport { useRoute, useRouter } from 'vue-router'\nimport Field \tfrom '@pf/src/components/Field/Field.vue'\nimport Select \tfrom '@pf/src/components/Popup/Popup.vue'\nimport Button \tfrom '@pf/src/components/Button/Button.vue'\n// const props = defineProps({\n// documents: {\n// type: Array,\n// required: true,\n// },\n// });\n\n\nconst router \t= useRouter()\nconst route \t= useRoute()\n\nlet documents = [{\n\tname: 'Паспорт',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Номер и серия'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Место выдачи'\n\t},{\n\t\ttype: 'text',\n\t\tname: 'Дата выдачи'\n\t}]\n},{\n\tname: 'ИНН',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'СНИЛС',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n},{\n\tname: 'Военный билет',\n\tstatus: 'Не добавлен',\n\tinputs: [{\n\t\ttype: 'text',\n\t\tname: 'Дата регистрации'\n\t}]\n}]\n\nconst showPopup = ref(false);\nconst currentIndex = ref(null);\n\nconst openPopup = (index) => {\n currentIndex.value = index;\n showPopup.value = true;\n};\n\nconst closePopup = () => {\n showPopup.value = false;\n};\n\nconst handleFileUpload = (e) => {\n const files = e.target.files;\n // Handle file uploads as needed\n};\n\nconst submitData = () => {\n // Handle submission of the data and update the document status\n closePopup();\n};\n\nwatchEffect(() => {\n // Do any necessary updates when the documents prop changes\n});\n\nasync function onSubmit() {\n // await Store.auth.login(Store.auth.state.user)\n}\n\nfunction redirectTo () {\n\trouter.push({ name: 'Create Organization People'})\n\t// Store.auth.toggleSignInPopup()\n}\n</script>\n\n<style scoped>\n.documents {\n display: flex;\n flex-direction: column;\n}\n\n.popup {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: white;\n border: 1px solid #ccc;\n padding: 20px;\n z-index: 10;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA+CgB,cAAW;AACZ,aAAU;AAEzB,QAAI,YAAY,CAAC;AAAA,MAChB,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,GAAG;AAAA,QACD,MAAM;AAAA,QACN,MAAM;AAAA,MACR,GAAG;AAAA,QACD,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,GAAE;AAAA,MACD,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ,CAAC;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,MACR,CAAE;AAAA,IACF,CAAC;AAED,UAAM,YAAY,IAAI,KAAK;AAC3B,UAAM,eAAe,IAAI,IAAI;AAE7B,UAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ;AACrB,gBAAU,QAAQ;AAAA,IACpB;AAEA,UAAM,aAAa,MAAM;AACvB,gBAAU,QAAQ;AAAA,IACpB;AAOA,UAAM,aAAa,MAAM;AAEvB;IACF;AAEA,gBAAY,MAAM;AAAA,IAElB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
5
|
-
;/* empty css
|
5
|
+
;/* empty css */
|
6
6
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
7
7
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
8
8
|
const BlockSearch = require("../../../globals/views/components/blocks/BlockSearch.vue.cjs");
|
@@ -18,7 +18,6 @@ const _hoisted_3 = {
|
|
18
18
|
};
|
19
19
|
const _hoisted_4 = { class: "cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative" };
|
20
20
|
const _hoisted_5 = ["onClick"];
|
21
|
-
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("span", null, "Invite to organization", -1);
|
22
21
|
const _sfc_main = {
|
23
22
|
__name: "MembersAdd",
|
24
23
|
props: {
|
@@ -136,9 +135,9 @@ const _sfc_main = {
|
|
136
135
|
submit: submitMembers,
|
137
136
|
class: "w-100 bg-main"
|
138
137
|
}, {
|
139
|
-
default: vue.withCtx(() => [
|
140
|
-
|
141
|
-
]),
|
138
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
139
|
+
vue.createElementVNode("span", null, "Invite to organization", -1)
|
140
|
+
])),
|
142
141
|
_: 1
|
143
142
|
})
|
144
143
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":["ref"],"mappings":"
|
1
|
+
{"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAaA,IAAG,IAAC,IAAI;AACzB,QAAI,iBAAiBA,IAAG,IAAC,KAAK;AAE9B,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAUA,IAAAA,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, resolveDirective, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, createVNode, isRef, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
2
2
|
import Field from "../../../../components/Field/Field.vue.js";
|
3
|
-
/* empty css
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
|
5
5
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
6
6
|
import _sfc_main$1 from "../../../globals/views/components/blocks/BlockSearch.vue.js";
|
@@ -16,7 +16,6 @@ const _hoisted_3 = {
|
|
16
16
|
};
|
17
17
|
const _hoisted_4 = { class: "cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative" };
|
18
18
|
const _hoisted_5 = ["onClick"];
|
19
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "Invite to organization", -1);
|
20
19
|
const _sfc_main = {
|
21
20
|
__name: "MembersAdd",
|
22
21
|
props: {
|
@@ -134,9 +133,9 @@ const _sfc_main = {
|
|
134
133
|
submit: submitMembers,
|
135
134
|
class: "w-100 bg-main"
|
136
135
|
}, {
|
137
|
-
default: withCtx(() => [
|
138
|
-
|
139
|
-
]),
|
136
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
137
|
+
createElementVNode("span", null, "Invite to organization", -1)
|
138
|
+
])),
|
140
139
|
_: 1
|
141
140
|
})
|
142
141
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAa,IAAI,IAAI;AACzB,QAAI,iBAAiB,IAAI,KAAK;AAE9B,UAAM,oBAAoB,IAAI,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAU,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|