@ozdao/prometheus-framework 0.2.241 → 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/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.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 +4 -5
- 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 +4 -5
- 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/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +14 -15
- 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 +14 -15
- 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 +10 -13
- 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 +10 -13
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +25 -27
- 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 +25 -27
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- 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 +10 -12
- 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 +11 -13
- 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 +17 -21
- 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 +17 -21
- 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 +2 -3
- 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 +2 -3
- 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/elements/ButtonCheck.vue.cjs +12 -13
- 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 +12 -13
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +54 -71
- 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 +54 -71
- 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 +26 -27
- 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 +26 -27
- 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 +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- 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 +12 -14
- 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 +12 -14
- 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 +9 -11
- 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 +10 -12
- 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 +16 -21
- 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 +17 -22
- 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 +16 -19
- 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 +16 -19
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +5 -7
- 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 +5 -7
- 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 +1 -2
- 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 +1 -2
- 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/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +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 +23 -32
- 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 +23 -32
- 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 +16 -23
- 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 +17 -24
- 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 +15 -16
- 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 +15 -16
- 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 +12 -14
- 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 +13 -15
- 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 +6 -7
- 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 +6 -7
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- 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 +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +4 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- 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/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.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 +6 -7
- 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 +7 -8
- 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 +10 -11
- 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 +10 -11
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- 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 +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +7 -8
- 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 +7 -8
- 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 +48 -54
- 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 +48 -54
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- 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/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +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 +8 -11
- 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 +9 -12
- 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 +2 -5
- 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 +3 -6
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- 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 +7 -9
- 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 +8 -10
- 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 +12 -15
- 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 +12 -15
- 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 +33 -41
- 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 +33 -41
- 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 +18 -25
- 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 +19 -26
- 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 +6 -9
- 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 +6 -9
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- 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 +60 -66
- 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 +60 -66
- 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-BSlJcCo2.mjs +415 -0
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/tickets.controller-P0kiaXfQ.js +414 -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 +49 -16
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { ref, onMounted, unref, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
2
2
|
import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
|
3
3
|
import _sfc_main$3 from "../../../../components/Block/Block.vue.js";
|
4
|
-
import _sfc_main$2 from "../../../../components/Popup/Popup.
|
5
|
-
import Field from "../../../../components/Field/Field.
|
6
|
-
import _sfc_main$6 from "../../../../components/Button/Button.
|
4
|
+
import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
|
5
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
6
|
+
import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
|
7
7
|
import _sfc_main$1 from "../elements/ButtonCheck.vue.js";
|
8
8
|
import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
|
9
9
|
import _sfc_main$4 from "../../../icons/navigation/IconAdd.vue.js";
|
@@ -18,15 +18,14 @@ const _hoisted_1 = {
|
|
18
18
|
class: "h-100 pd-thin"
|
19
19
|
};
|
20
20
|
const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
|
21
|
-
const _hoisted_3 =
|
22
|
-
const _hoisted_4 =
|
23
|
-
const _hoisted_5 =
|
24
|
-
const _hoisted_6 = ["
|
25
|
-
const _hoisted_7 =
|
26
|
-
const _hoisted_8 = { class: "
|
27
|
-
const _hoisted_9 = { class: "
|
28
|
-
const _hoisted_10 = { class: "
|
29
|
-
const _hoisted_11 = { class: "pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase" };
|
21
|
+
const _hoisted_3 = ["onClick"];
|
22
|
+
const _hoisted_4 = { class: "radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin" };
|
23
|
+
const _hoisted_5 = ["href"];
|
24
|
+
const _hoisted_6 = ["src"];
|
25
|
+
const _hoisted_7 = { class: "mn-r-auto" };
|
26
|
+
const _hoisted_8 = { class: "h4" };
|
27
|
+
const _hoisted_9 = { class: "h5 t-transp mn-b-thin" };
|
28
|
+
const _hoisted_10 = { class: "pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase" };
|
30
29
|
const _sfc_main = {
|
31
30
|
__name: "EditEventTickets",
|
32
31
|
setup(__props) {
|
@@ -82,7 +81,7 @@ const _sfc_main = {
|
|
82
81
|
return (_ctx, _cache) => {
|
83
82
|
return unref(event) ? (openBlock(), createElementBlock("article", _hoisted_1, [
|
84
83
|
createElementVNode("header", _hoisted_2, [
|
85
|
-
|
84
|
+
_cache[3] || (_cache[3] = createElementVNode("h2", { class: "mn-r-medium" }, "Tickets", -1)),
|
86
85
|
createElementVNode("button", {
|
87
86
|
onClick: _cache[0] || (_cache[0] = ($event) => openTicketsPopup()),
|
88
87
|
class: "radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"
|
@@ -147,7 +146,7 @@ const _sfc_main = {
|
|
147
146
|
class: "i-medium",
|
148
147
|
fill: "rgb(var(--white)"
|
149
148
|
})
|
150
|
-
], 8,
|
149
|
+
], 8, _hoisted_3))
|
151
150
|
]);
|
152
151
|
}), 128)),
|
153
152
|
createVNode(_sfc_main$6, {
|
@@ -155,9 +154,9 @@ const _sfc_main = {
|
|
155
154
|
callback: closeTicketsPopup,
|
156
155
|
class: "w-100 bg-black t-white"
|
157
156
|
}, {
|
158
|
-
default: withCtx(() => [
|
157
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
159
158
|
createTextVNode(" Create Tickets ")
|
160
|
-
]),
|
159
|
+
])),
|
161
160
|
_: 1
|
162
161
|
})
|
163
162
|
]),
|
@@ -188,7 +187,7 @@ const _sfc_main = {
|
|
188
187
|
}) => [
|
189
188
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (ticket, index) => {
|
190
189
|
var _a2, _b;
|
191
|
-
return openBlock(), createElementBlock("div",
|
190
|
+
return openBlock(), createElementBlock("div", _hoisted_4, [
|
192
191
|
createElementVNode("a", {
|
193
192
|
href: ticket.image,
|
194
193
|
target: "_blank"
|
@@ -197,12 +196,12 @@ const _sfc_main = {
|
|
197
196
|
loading: "lazy",
|
198
197
|
src: ticket.qrcode,
|
199
198
|
class: "radius-small h-5r w-5r"
|
200
|
-
}, null, 8,
|
201
|
-
], 8,
|
202
|
-
createElementVNode("div",
|
203
|
-
createElementVNode("p",
|
204
|
-
createElementVNode("p",
|
205
|
-
createElementVNode("span",
|
199
|
+
}, null, 8, _hoisted_6)
|
200
|
+
], 8, _hoisted_5),
|
201
|
+
createElementVNode("div", _hoisted_7, [
|
202
|
+
createElementVNode("p", _hoisted_8, toDisplayString(((_a2 = ticket.client_refactor) == null ? void 0 : _a2.name) || "No name") + ", " + toDisplayString(ticket.role), 1),
|
203
|
+
createElementVNode("p", _hoisted_9, toDisplayString(((_b = ticket.client_refactor) == null ? void 0 : _b.email) || "No email"), 1),
|
204
|
+
createElementVNode("span", _hoisted_10, toDisplayString(ticket.status), 1)
|
206
205
|
]),
|
207
206
|
ticket.status !== "deactivated" ? (openBlock(), createBlock(_sfc_main$6, {
|
208
207
|
key: 0,
|
@@ -210,9 +209,9 @@ const _sfc_main = {
|
|
210
209
|
callback: _ctx.redirectTo,
|
211
210
|
class: "w-min h-min pd-small bg-black t-white"
|
212
211
|
}, {
|
213
|
-
default: withCtx(() => [
|
212
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
214
213
|
createTextVNode(" Deactivate ")
|
215
|
-
]),
|
214
|
+
])),
|
216
215
|
_: 2
|
217
216
|
}, 1032, ["submit", "callback"])) : createCommentVNode("", true),
|
218
217
|
ticket.status === "deactivated" || ticket.status === "used" ? (openBlock(), createBlock(_sfc_main$6, {
|
@@ -221,9 +220,9 @@ const _sfc_main = {
|
|
221
220
|
callback: _ctx.redirectTo,
|
222
221
|
class: "w-min h-min pd-small bg-green t-white"
|
223
222
|
}, {
|
224
|
-
default: withCtx(() => [
|
223
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
225
224
|
createTextVNode(" Activate ")
|
226
|
-
]),
|
225
|
+
])),
|
227
226
|
_: 2
|
228
227
|
}, 1032, ["submit", "callback"])) : createCommentVNode("", true)
|
229
228
|
]);
|
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditEventTickets.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEventTickets.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-100 pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2 class=\"mn-r-medium\">Tickets</h2>\n <button \n @click=\"openTicketsPopup()\" \n class=\"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second\">\n Add Tickets\n </button>\n <ButtonCheck @qrcodecheck=\"fetchTickets = !fetchTickets \" class=\"w-100 pd-medium mn-auto\" />\n </header>\n \n <Popup \n title=\"Добавить участника\" \n @close-popup=\"closeTicketsPopup\" \n :isPopupOpen=\"isOpenTicketsPopup\"\n class=\"w-max-40r\"\n >\n <Block\n title=\"Add tickets\"\n placeholder=\"No parameters added yet\"\n class=\"cols-1 mn-b-thin gap-thin\"\n >\n <div \n class=\"gap-thin flex-nowrap flex\" \n v-for=\"(item, index) in newTickets\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-50 bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.email\"\n placeholder=\"Email\"\n class=\"w-100 bg-white radius-small pd-medium\"\n />\n <Field\n v-model:field=\"item.quantity\"\n placeholder=\"Quantity\"\n type=\"number\"\n class=\"w-25 bg-white radius-small pd-medium\"\n />\n \n <div v-if=\"index < 1\" @click=\"() => newTickets.push({name: '', value: '', target: event._id, type: 'event', quantity: 1})\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\">\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n <div v-else @click=\"() => newTickets.splice(index, 1)\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"closeTicketsPopup\" \n class=\"w-100 bg-black t-white\"\n >\n Create Tickets\n </Button>\n </Block>\n </Popup>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Tickets Found',\n description: 'Currently, there are no tickets.'\n }\n }\"\n :store=\"{\n read: (options) => tickets.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: event._id\n }\"\n :external=\"fetchTickets\"\n v-slot=\"{ \n items \n }\"\n >\n <div\n v-for=\"(ticket, index) in items\" \n class=\"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin\"\n >\n <a :href=\"ticket.image\" target=\"_blank\"><img loading=\"lazy\" :src=\"ticket.qrcode\" class=\"radius-small h-5r w-5r\"></a>\n\n <div class=\"mn-r-auto \">\n <p class=\"h4\">\n {{ticket.client_refactor?.name || 'No name'}}, {{ticket.role}}\n </p>\n <p class=\"h5 t-transp mn-b-thin\">\n {{ticket.client_refactor?.email || 'No email'}}\n </p>\n\n <span class=\"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase\">\n {{ticket.status}}\n </span>\n </div>\n\n <Button \n v-if=\"ticket.status !== 'deactivated'\"\n :submit=\"() => changeStatus(ticket, 'deactivated')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-black t-white\"\n >\n Deactivate\n </Button>\n\n <Button \n v-if=\"ticket.status === 'deactivated' || ticket.status === 'used' \"\n :submit=\"() => changeStatus(ticket, 'unused')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-green t-white\"\n >\n Activate\n </Button>\n \n </div>\n </Feed>\n \n </article>\n</template>\n\n<script setup>\nimport Feed from '@pf/src/components/Feed/Feed.vue';\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Field from '@pf/src/components/Field/Field.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport ButtonCheck from '@pf/src/modules/events/components/elements/ButtonCheck.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nimport * as tickets from '@pf/src/modules/events/store/tickets';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\n\nconst newTickets = ref([{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n}])\n\nconst isOpenTicketsPopup = ref(false);\n\nfunction openTicketsPopup(department) {\n isOpenTicketsPopup.value = true;\n \n newTickets.value = [{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n }]\n}\n\nfunction closeTicketsPopup() {\n isOpenTicketsPopup.value = false;\n}\n\nconst fetchTickets = ref(false)\n\n\nonMounted(async () =>{\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n})\n\nasync function onSubmit() {\n try {\n const response = await tickets.actions.create(newTickets.value);\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.log(error);\n }\n}\n\nasync function changeStatus(ticket, status) {\n if (confirm('Are you sure you want to deactivate this event?')) {\n try {\n const response = await tickets.actions.update({ ...ticket, status: status});\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.error(error);\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--grey))\n }\n</style>"],"names":["_a","events.read","auth.state","tickets.actions"],"mappings":"
|
1
|
+
{"version":3,"file":"EditEventTickets.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEventTickets.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-100 pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2 class=\"mn-r-medium\">Tickets</h2>\n <button \n @click=\"openTicketsPopup()\" \n class=\"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second\">\n Add Tickets\n </button>\n <ButtonCheck @qrcodecheck=\"fetchTickets = !fetchTickets \" class=\"w-100 pd-medium mn-auto\" />\n </header>\n \n <Popup \n title=\"Добавить участника\" \n @close-popup=\"closeTicketsPopup\" \n :isPopupOpen=\"isOpenTicketsPopup\"\n class=\"w-max-40r\"\n >\n <Block\n title=\"Add tickets\"\n placeholder=\"No parameters added yet\"\n class=\"cols-1 mn-b-thin gap-thin\"\n >\n <div \n class=\"gap-thin flex-nowrap flex\" \n v-for=\"(item, index) in newTickets\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-50 bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.email\"\n placeholder=\"Email\"\n class=\"w-100 bg-white radius-small pd-medium\"\n />\n <Field\n v-model:field=\"item.quantity\"\n placeholder=\"Quantity\"\n type=\"number\"\n class=\"w-25 bg-white radius-small pd-medium\"\n />\n \n <div v-if=\"index < 1\" @click=\"() => newTickets.push({name: '', value: '', target: event._id, type: 'event', quantity: 1})\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\">\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n <div v-else @click=\"() => newTickets.splice(index, 1)\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"closeTicketsPopup\" \n class=\"w-100 bg-black t-white\"\n >\n Create Tickets\n </Button>\n </Block>\n </Popup>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Tickets Found',\n description: 'Currently, there are no tickets.'\n }\n }\"\n :store=\"{\n read: (options) => tickets.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: event._id\n }\"\n :external=\"fetchTickets\"\n v-slot=\"{ \n items \n }\"\n >\n <div\n v-for=\"(ticket, index) in items\" \n class=\"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin\"\n >\n <a :href=\"ticket.image\" target=\"_blank\"><img loading=\"lazy\" :src=\"ticket.qrcode\" class=\"radius-small h-5r w-5r\"></a>\n\n <div class=\"mn-r-auto \">\n <p class=\"h4\">\n {{ticket.client_refactor?.name || 'No name'}}, {{ticket.role}}\n </p>\n <p class=\"h5 t-transp mn-b-thin\">\n {{ticket.client_refactor?.email || 'No email'}}\n </p>\n\n <span class=\"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase\">\n {{ticket.status}}\n </span>\n </div>\n\n <Button \n v-if=\"ticket.status !== 'deactivated'\"\n :submit=\"() => changeStatus(ticket, 'deactivated')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-black t-white\"\n >\n Deactivate\n </Button>\n\n <Button \n v-if=\"ticket.status === 'deactivated' || ticket.status === 'used' \"\n :submit=\"() => changeStatus(ticket, 'unused')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-green t-white\"\n >\n Activate\n </Button>\n \n </div>\n </Feed>\n \n </article>\n</template>\n\n<script setup>\nimport Feed from '@pf/src/components/Feed/Feed.vue';\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Field from '@pf/src/components/Field/Field.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport ButtonCheck from '@pf/src/modules/events/components/elements/ButtonCheck.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nimport * as tickets from '@pf/src/modules/events/store/tickets';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\n\nconst newTickets = ref([{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n}])\n\nconst isOpenTicketsPopup = ref(false);\n\nfunction openTicketsPopup(department) {\n isOpenTicketsPopup.value = true;\n \n newTickets.value = [{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n }]\n}\n\nfunction closeTicketsPopup() {\n isOpenTicketsPopup.value = false;\n}\n\nconst fetchTickets = ref(false)\n\n\nonMounted(async () =>{\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n})\n\nasync function onSubmit() {\n try {\n const response = await tickets.actions.create(newTickets.value);\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.log(error);\n }\n}\n\nasync function changeStatus(ticket, status) {\n if (confirm('Are you sure you want to deactivate this event?')) {\n try {\n const response = await tickets.actions.update({ ...ticket, status: status});\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.error(error);\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--grey))\n }\n</style>"],"names":["_a","events.read","auth.state","tickets.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2JA,UAAM,QAAQ,SAAQ;AACP,cAAY;AAE3B,QAAI,QAAQ,IAAI,IAAI;AAEpB,UAAM,aAAa,IAAI,CAAC;AAAA,MACtB,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAQ,WAAM,UAAN,mBAAa;AAAA,MACrB,MAAM;AAAA,MACN,UAAU;AAAA,IACZ,CAAC,CAAC;AAEF,UAAM,qBAAqB,IAAI,KAAK;AAEpC,aAAS,iBAAiB,YAAY;;AACpC,yBAAmB,QAAQ;AAE3B,iBAAW,QAAQ,CAAC;AAAA,QAClB,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAQA,MAAA,MAAM,UAAN,gBAAAA,IAAa;AAAA,QACrB,MAAM;AAAA,QACN,UAAU;AAAA,MACd,CAAG;AAAA,IACH;AAEA,aAAS,oBAAoB;AAC3B,yBAAmB,QAAQ;AAAA,IAC7B;AAEA,UAAM,eAAe,IAAI,KAAK;AAG9B,cAAU,YAAW;AACnB,YAAM,OAAO,MAAMC,KAAY,EAAE,MAAMC,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK;IACrB,CAAC;AAED,mBAAe,WAAW;AACxB,UAAI;AACF,cAAM,WAAW,MAAMC,QAAgB,OAAO,WAAW,KAAK;AAC9D,qBAAa,QAAQ,CAAC,aAAa;AAAA,MACpC,SAAQ,OAAO;AACd,gBAAQ,IAAI,KAAK;AAAA,MAClB;AAAA,IACH;AAEA,mBAAe,aAAa,QAAQ,QAAQ;AAC1C,UAAI,QAAQ,iDAAiD,GAAG;AAC9D,YAAI;AACF,gBAAM,WAAW,MAAMA,QAAgB,OAAO,EAAE,GAAG,QAAQ,OAAc,CAAC;AAC1E,uBAAa,QAAQ,CAAC,aAAa;AAAA,QACpC,SAAQ,OAAO;AACd,kBAAQ,MAAM,KAAK;AAAA,QACpB;AAAA,MACF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -17,7 +17,6 @@ const tickets = require("../../store/tickets.cjs");
|
|
17
17
|
const auth = require("../../../auth/views/store/auth.cjs");
|
18
18
|
const vueRouter = require("vue-router");
|
19
19
|
const _hoisted_1 = { class: "pd-thin" };
|
20
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1);
|
21
20
|
const _sfc_main = {
|
22
21
|
__name: "Event",
|
23
22
|
setup(__props) {
|
@@ -111,7 +110,7 @@ const _sfc_main = {
|
|
111
110
|
`),
|
112
111
|
class: "mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
|
113
112
|
}, [
|
114
|
-
|
113
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1)),
|
115
114
|
vue.createElementVNode("div", {
|
116
115
|
class: vue.normalizeClass(["gap-big mn-b-thin", {
|
117
116
|
"cols-2": event.value.specialData.guests.length > 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Event.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-big\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event && event.special\"\n :content=\"{\n title: event.name,\n description: event.description,\n ticketLinkStripe: event.specialData.ticketLinkStripe,\n ticketText: event.specialData.ticketText,\n cover: event.cover,\n subtitle: event.specialData.subtitle,\n logos: event.specialData.logos,\n video: event.specialData.video,\n ticketTextButton: event.specialData.ticketTextButton,\n }\"\n :options=\"{\n date: event.date.start,\n price: event.specialData.ticketPrice,\n }\"\n class=\"mn-b-thin\"\n />\n <SectionMainGuest\n v-if=\"!isLoading && event && event.special && event.specialData.guestTitle\"\n :content=\"{\n title: event.specialData.guestTitle,\n description: event.specialData.guestDescription,\n socials: {\n twitter: event.specialData.guestTwitter,\n telegram: event.specialData.guestTelegram,\n instagram: event.specialData.guestInstagram,\n facebook: event.specialData.guestFacebook\n },\n video: event.specialData.guestVideo,\n spotify: event.specialData.guestSpotify,\n soundcloud: event.specialData.guestSoundcloud,\n youtube: event.specialData.guestYoutube\n }\"\n class=\"mn-b-thin\"\n />\n <section \n v-if=\"!isLoading && event && event.special\"\n :style=\"`\n background-size: 100%; background-repeat: no-repeat;\n background-image: url(${event.specialData.lineupBackground}); \n `\" \n class=\"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black\"\n >\n <h2 class=\"mn-b-big w-100 t-center\">Event Details</h2>\n\n <div \n class=\"gap-big mn-b-thin\"\n :class=\"{\n 'cols-2': event.specialData.guests.length > 0,\n 'cols-1': event.specialData.guests.length > 1\n }\"\n >\n \n <SectionSpecialGuests \n v-if=\"event.specialData.guests.length > 0\"\n :content=\"{\n title: 'Residents',\n guests: event.specialData.guests\n }\"\n />\n\n <SectionLineUp\n v-if=\"event.specialData.lineup.lenth > 0\"\n :content=\"{\n title: 'Lineup',\n lineup: event.specialData.lineup\n }\"\n />\n\n </div>\n\n <SectionPreviousEvents\n :content=\"{\n ticket: event.specialData.ticketImage,\n ticketTextButton: event.specialData.ticketTextButton,\n paymentText: event.specialData.paymentText,\n paymentContact: event.specialData.paymentContact,\n previousTitle: event.specialData.previousTitle,\n previousDescription: event.specialData.previousDescription,\n previousLink: event.specialData.previousLink,\n previousLinkText: event.specialData.previousLinkText,\n }\"\n :options=\"{\n link: event.specialData.ticketLinkStripe,\n video: event.specialData.previousVideo\n }\"\n />\n </section>\n\n <CardEvent \n v-if=\"!isLoading && event && !event.special\"\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n :event=\"event\" \n :owner=\"event.owner\" \n :user=\"auth.state.user._id\"\n :type=\"'normal'\"\n class=\"mn-b-medium bg-light radius-big\"\n >\n <ButtonJoin \n v-if=\"auth.state.user._id\"\n :type=\"'event'\" \n :hasTicket=\"event.hasTicket\" \n :targetId=\"event._id\" \n :userId=\"auth.state.user._id\"\n class=\"mn-b-small w-100 pd-medium mn-auto\"\n @updateTicket=\"handleTicketUpdate\"\n />\n\n <!-- <img loading=\"lazy\" v-if=\"qrcode\" :src=\"qrcode\" class=\"w-8r h-8r\" /> -->\n\n \n\n <section>\n <component\n v-if=\"event && event.content\"\n v-for=\"(block, index) in event.content\"\n :is=\"ComponentMap[block.type]\"\n :key=\"index\"\n :index=\"index\"\n :component=\"block\"\n :prop=\"block\"\n :class=\"block.class\"\n content=\"content\"\n v-bind=\"getBlockProps(block)\"\n class=\"mn-b-regular\"\n />\n </section>\n\n </CardEvent>\n\n \n\n <Comments \n \tv-if=\"!isLoading && event && !event.special\" \n \t:type=\"'event'\" \n \t:target=\"event._id\" \n \t:owner=\"auth.state.user._id\"\n />\n \n </TransitionGroup> \n\n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n import Loader from '@pf/src/components/Loader/Loader.vue';\n import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';\n \n import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';\n import SectionMainGuest from '@pf/src/modules/events/components/sections/SectionMainGuest.vue';\n import SectionSpecialGuests from '@pf/src/modules/events/components/sections/SectionSpecialGuests.vue'\n import SectionLineUp from '@pf/src/modules/events/components/sections/SectionLineup.vue';\n import SectionPreviousEvents from '@pf/src/modules/events/components/sections/SectionPreviousEvents.vue';\n\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue'\n import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';\n import Comments from '@pf/src/modules/community/components/sections/Comments.vue';\n\n import Image from '@pf/src/modules/constructor/components/elements/Image.vue';\n\n import * as events from '@pf/src/modules/events/store/events.js';\n import * as tickets from '@pf/src/modules/events/store/tickets.js';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n \n import { useRoute } from 'vue-router';\n\n const route = useRoute();\n const qrcode = ref(null);\n \n const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {\n tickets.mutations.handleTicketUpdate(event.value, ticket, hasTicket, targetId);\n console.log('HANDLE TICKET UPDATE', ticket, event.value);\n\n qrcode.value = ticket.qrcode;\n };\n\n\n const ComponentMap = {\n 'Textarea': 'p',\n 'H2': 'h2',\n 'Bullets': 'p',\n 'Caption': 'p',\n 'ImageUpload': Image\n };\n\n function getBlockProps(block) {\n if (block.type === 'Textarea') {\n return { innerHTML: block.content, class: \"p-medium\" };\n } else if (block.type === 'H2') {\n return { innerHTML: block.content, class: \"h3\" };\n } else if (block.type === 'Caption') {\n return { innerHTML: block.content };\n } else if (block.type === 'ImageUpload') {\n return { src: block.content };\n }\n return {};\n }\n\n\n const event = ref(null);\n const isLoading = ref(true);\n\n onMounted(async () => {\n isLoading.value = true;\n\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data[0];\n isLoading.value = false;\n });\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["useRoute","ref","tickets.mutations","Image","onMounted","events.read","auth.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Event.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-big\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event && event.special\"\n :content=\"{\n title: event.name,\n description: event.description,\n ticketLinkStripe: event.specialData.ticketLinkStripe,\n ticketText: event.specialData.ticketText,\n cover: event.cover,\n subtitle: event.specialData.subtitle,\n logos: event.specialData.logos,\n video: event.specialData.video,\n ticketTextButton: event.specialData.ticketTextButton,\n }\"\n :options=\"{\n date: event.date.start,\n price: event.specialData.ticketPrice,\n }\"\n class=\"mn-b-thin\"\n />\n <SectionMainGuest\n v-if=\"!isLoading && event && event.special && event.specialData.guestTitle\"\n :content=\"{\n title: event.specialData.guestTitle,\n description: event.specialData.guestDescription,\n socials: {\n twitter: event.specialData.guestTwitter,\n telegram: event.specialData.guestTelegram,\n instagram: event.specialData.guestInstagram,\n facebook: event.specialData.guestFacebook\n },\n video: event.specialData.guestVideo,\n spotify: event.specialData.guestSpotify,\n soundcloud: event.specialData.guestSoundcloud,\n youtube: event.specialData.guestYoutube\n }\"\n class=\"mn-b-thin\"\n />\n <section \n v-if=\"!isLoading && event && event.special\"\n :style=\"`\n background-size: 100%; background-repeat: no-repeat;\n background-image: url(${event.specialData.lineupBackground}); \n `\" \n class=\"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black\"\n >\n <h2 class=\"mn-b-big w-100 t-center\">Event Details</h2>\n\n <div \n class=\"gap-big mn-b-thin\"\n :class=\"{\n 'cols-2': event.specialData.guests.length > 0,\n 'cols-1': event.specialData.guests.length > 1\n }\"\n >\n \n <SectionSpecialGuests \n v-if=\"event.specialData.guests.length > 0\"\n :content=\"{\n title: 'Residents',\n guests: event.specialData.guests\n }\"\n />\n\n <SectionLineUp\n v-if=\"event.specialData.lineup.lenth > 0\"\n :content=\"{\n title: 'Lineup',\n lineup: event.specialData.lineup\n }\"\n />\n\n </div>\n\n <SectionPreviousEvents\n :content=\"{\n ticket: event.specialData.ticketImage,\n ticketTextButton: event.specialData.ticketTextButton,\n paymentText: event.specialData.paymentText,\n paymentContact: event.specialData.paymentContact,\n previousTitle: event.specialData.previousTitle,\n previousDescription: event.specialData.previousDescription,\n previousLink: event.specialData.previousLink,\n previousLinkText: event.specialData.previousLinkText,\n }\"\n :options=\"{\n link: event.specialData.ticketLinkStripe,\n video: event.specialData.previousVideo\n }\"\n />\n </section>\n\n <CardEvent \n v-if=\"!isLoading && event && !event.special\"\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n :event=\"event\" \n :owner=\"event.owner\" \n :user=\"auth.state.user._id\"\n :type=\"'normal'\"\n class=\"mn-b-medium bg-light radius-big\"\n >\n <ButtonJoin \n v-if=\"auth.state.user._id\"\n :type=\"'event'\" \n :hasTicket=\"event.hasTicket\" \n :targetId=\"event._id\" \n :userId=\"auth.state.user._id\"\n class=\"mn-b-small w-100 pd-medium mn-auto\"\n @updateTicket=\"handleTicketUpdate\"\n />\n\n <!-- <img loading=\"lazy\" v-if=\"qrcode\" :src=\"qrcode\" class=\"w-8r h-8r\" /> -->\n\n \n\n <section>\n <component\n v-if=\"event && event.content\"\n v-for=\"(block, index) in event.content\"\n :is=\"ComponentMap[block.type]\"\n :key=\"index\"\n :index=\"index\"\n :component=\"block\"\n :prop=\"block\"\n :class=\"block.class\"\n content=\"content\"\n v-bind=\"getBlockProps(block)\"\n class=\"mn-b-regular\"\n />\n </section>\n\n </CardEvent>\n\n \n\n <Comments \n \tv-if=\"!isLoading && event && !event.special\" \n \t:type=\"'event'\" \n \t:target=\"event._id\" \n \t:owner=\"auth.state.user._id\"\n />\n \n </TransitionGroup> \n\n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n import Loader from '@pf/src/components/Loader/Loader.vue';\n import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';\n \n import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';\n import SectionMainGuest from '@pf/src/modules/events/components/sections/SectionMainGuest.vue';\n import SectionSpecialGuests from '@pf/src/modules/events/components/sections/SectionSpecialGuests.vue'\n import SectionLineUp from '@pf/src/modules/events/components/sections/SectionLineup.vue';\n import SectionPreviousEvents from '@pf/src/modules/events/components/sections/SectionPreviousEvents.vue';\n\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue'\n import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';\n import Comments from '@pf/src/modules/community/components/sections/Comments.vue';\n\n import Image from '@pf/src/modules/constructor/components/elements/Image.vue';\n\n import * as events from '@pf/src/modules/events/store/events.js';\n import * as tickets from '@pf/src/modules/events/store/tickets.js';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n \n import { useRoute } from 'vue-router';\n\n const route = useRoute();\n const qrcode = ref(null);\n \n const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {\n tickets.mutations.handleTicketUpdate(event.value, ticket, hasTicket, targetId);\n console.log('HANDLE TICKET UPDATE', ticket, event.value);\n\n qrcode.value = ticket.qrcode;\n };\n\n\n const ComponentMap = {\n 'Textarea': 'p',\n 'H2': 'h2',\n 'Bullets': 'p',\n 'Caption': 'p',\n 'ImageUpload': Image\n };\n\n function getBlockProps(block) {\n if (block.type === 'Textarea') {\n return { innerHTML: block.content, class: \"p-medium\" };\n } else if (block.type === 'H2') {\n return { innerHTML: block.content, class: \"h3\" };\n } else if (block.type === 'Caption') {\n return { innerHTML: block.content };\n } else if (block.type === 'ImageUpload') {\n return { src: block.content };\n }\n return {};\n }\n\n\n const event = ref(null);\n const isLoading = ref(true);\n\n onMounted(async () => {\n isLoading.value = true;\n\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data[0];\n isLoading.value = false;\n });\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["useRoute","ref","tickets.mutations","Image","onMounted","events.read","auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAoLE,UAAM,QAAQA,UAAAA;AACd,UAAM,SAASC,QAAI,IAAI;AAEvB,UAAM,qBAAqB,CAAC,EAAE,QAAQ,WAAW,SAAQ,MAAO;AAC9DC,cAAiB,UAAC,mBAAmB,MAAM,OAAO,QAAQ,WAAW,QAAQ;AAC7E,cAAQ,IAAI,wBAAwB,QAAQ,MAAM,KAAK;AAEvD,aAAO,QAAQ,OAAO;AAAA,IAC1B;AAGE,UAAM,eAAe;AAAA,MACnB,YAAY;AAAA,MACZ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,WAAW;AAAA,MACX,eAAeC,MAAK;AAAA,IACxB;AAEE,aAAS,cAAc,OAAO;AAC5B,UAAI,MAAM,SAAS,YAAY;AAC7B,eAAO,EAAE,WAAW,MAAM,SAAS,OAAO,WAAU;AAAA,MAC1D,WAAe,MAAM,SAAS,MAAM;AAC9B,eAAO,EAAE,WAAW,MAAM,SAAS,OAAO,KAAI;AAAA,MACpD,WAAe,MAAM,SAAS,WAAW;AACnC,eAAO,EAAE,WAAW,MAAM;MAChC,WAAe,MAAM,SAAS,eAAe;AACvC,eAAO,EAAE,KAAK,MAAM;MACrB;AACD,aAAO;IACR;AAGD,UAAM,QAAQF,QAAI,IAAI;AACtB,UAAM,YAAYA,QAAI,IAAI;AAE1BG,QAAAA,UAAU,YAAY;AACpB,gBAAU,QAAQ;AAElB,YAAM,OAAO,MAAMC,OAAAA,KAAY,EAAE,MAAMC,KAAAA,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK,CAAC;AACpB,gBAAU,QAAQ;AAAA,IACtB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -15,7 +15,6 @@ import { mutations } from "../../store/tickets.js";
|
|
15
15
|
import { state } from "../../../auth/views/store/auth.js";
|
16
16
|
import { useRoute } from "vue-router";
|
17
17
|
const _hoisted_1 = { class: "pd-thin" };
|
18
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1);
|
19
18
|
const _sfc_main = {
|
20
19
|
__name: "Event",
|
21
20
|
setup(__props) {
|
@@ -109,7 +108,7 @@ const _sfc_main = {
|
|
109
108
|
`),
|
110
109
|
class: "mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
|
111
110
|
}, [
|
112
|
-
|
111
|
+
_cache[1] || (_cache[1] = createElementVNode("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1)),
|
113
112
|
createElementVNode("div", {
|
114
113
|
class: normalizeClass(["gap-big mn-b-thin", {
|
115
114
|
"cols-2": event.value.specialData.guests.length > 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Event.vue.js","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-big\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event && event.special\"\n :content=\"{\n title: event.name,\n description: event.description,\n ticketLinkStripe: event.specialData.ticketLinkStripe,\n ticketText: event.specialData.ticketText,\n cover: event.cover,\n subtitle: event.specialData.subtitle,\n logos: event.specialData.logos,\n video: event.specialData.video,\n ticketTextButton: event.specialData.ticketTextButton,\n }\"\n :options=\"{\n date: event.date.start,\n price: event.specialData.ticketPrice,\n }\"\n class=\"mn-b-thin\"\n />\n <SectionMainGuest\n v-if=\"!isLoading && event && event.special && event.specialData.guestTitle\"\n :content=\"{\n title: event.specialData.guestTitle,\n description: event.specialData.guestDescription,\n socials: {\n twitter: event.specialData.guestTwitter,\n telegram: event.specialData.guestTelegram,\n instagram: event.specialData.guestInstagram,\n facebook: event.specialData.guestFacebook\n },\n video: event.specialData.guestVideo,\n spotify: event.specialData.guestSpotify,\n soundcloud: event.specialData.guestSoundcloud,\n youtube: event.specialData.guestYoutube\n }\"\n class=\"mn-b-thin\"\n />\n <section \n v-if=\"!isLoading && event && event.special\"\n :style=\"`\n background-size: 100%; background-repeat: no-repeat;\n background-image: url(${event.specialData.lineupBackground}); \n `\" \n class=\"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black\"\n >\n <h2 class=\"mn-b-big w-100 t-center\">Event Details</h2>\n\n <div \n class=\"gap-big mn-b-thin\"\n :class=\"{\n 'cols-2': event.specialData.guests.length > 0,\n 'cols-1': event.specialData.guests.length > 1\n }\"\n >\n \n <SectionSpecialGuests \n v-if=\"event.specialData.guests.length > 0\"\n :content=\"{\n title: 'Residents',\n guests: event.specialData.guests\n }\"\n />\n\n <SectionLineUp\n v-if=\"event.specialData.lineup.lenth > 0\"\n :content=\"{\n title: 'Lineup',\n lineup: event.specialData.lineup\n }\"\n />\n\n </div>\n\n <SectionPreviousEvents\n :content=\"{\n ticket: event.specialData.ticketImage,\n ticketTextButton: event.specialData.ticketTextButton,\n paymentText: event.specialData.paymentText,\n paymentContact: event.specialData.paymentContact,\n previousTitle: event.specialData.previousTitle,\n previousDescription: event.specialData.previousDescription,\n previousLink: event.specialData.previousLink,\n previousLinkText: event.specialData.previousLinkText,\n }\"\n :options=\"{\n link: event.specialData.ticketLinkStripe,\n video: event.specialData.previousVideo\n }\"\n />\n </section>\n\n <CardEvent \n v-if=\"!isLoading && event && !event.special\"\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n :event=\"event\" \n :owner=\"event.owner\" \n :user=\"auth.state.user._id\"\n :type=\"'normal'\"\n class=\"mn-b-medium bg-light radius-big\"\n >\n <ButtonJoin \n v-if=\"auth.state.user._id\"\n :type=\"'event'\" \n :hasTicket=\"event.hasTicket\" \n :targetId=\"event._id\" \n :userId=\"auth.state.user._id\"\n class=\"mn-b-small w-100 pd-medium mn-auto\"\n @updateTicket=\"handleTicketUpdate\"\n />\n\n <!-- <img loading=\"lazy\" v-if=\"qrcode\" :src=\"qrcode\" class=\"w-8r h-8r\" /> -->\n\n \n\n <section>\n <component\n v-if=\"event && event.content\"\n v-for=\"(block, index) in event.content\"\n :is=\"ComponentMap[block.type]\"\n :key=\"index\"\n :index=\"index\"\n :component=\"block\"\n :prop=\"block\"\n :class=\"block.class\"\n content=\"content\"\n v-bind=\"getBlockProps(block)\"\n class=\"mn-b-regular\"\n />\n </section>\n\n </CardEvent>\n\n \n\n <Comments \n \tv-if=\"!isLoading && event && !event.special\" \n \t:type=\"'event'\" \n \t:target=\"event._id\" \n \t:owner=\"auth.state.user._id\"\n />\n \n </TransitionGroup> \n\n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n import Loader from '@pf/src/components/Loader/Loader.vue';\n import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';\n \n import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';\n import SectionMainGuest from '@pf/src/modules/events/components/sections/SectionMainGuest.vue';\n import SectionSpecialGuests from '@pf/src/modules/events/components/sections/SectionSpecialGuests.vue'\n import SectionLineUp from '@pf/src/modules/events/components/sections/SectionLineup.vue';\n import SectionPreviousEvents from '@pf/src/modules/events/components/sections/SectionPreviousEvents.vue';\n\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue'\n import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';\n import Comments from '@pf/src/modules/community/components/sections/Comments.vue';\n\n import Image from '@pf/src/modules/constructor/components/elements/Image.vue';\n\n import * as events from '@pf/src/modules/events/store/events.js';\n import * as tickets from '@pf/src/modules/events/store/tickets.js';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n \n import { useRoute } from 'vue-router';\n\n const route = useRoute();\n const qrcode = ref(null);\n \n const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {\n tickets.mutations.handleTicketUpdate(event.value, ticket, hasTicket, targetId);\n console.log('HANDLE TICKET UPDATE', ticket, event.value);\n\n qrcode.value = ticket.qrcode;\n };\n\n\n const ComponentMap = {\n 'Textarea': 'p',\n 'H2': 'h2',\n 'Bullets': 'p',\n 'Caption': 'p',\n 'ImageUpload': Image\n };\n\n function getBlockProps(block) {\n if (block.type === 'Textarea') {\n return { innerHTML: block.content, class: \"p-medium\" };\n } else if (block.type === 'H2') {\n return { innerHTML: block.content, class: \"h3\" };\n } else if (block.type === 'Caption') {\n return { innerHTML: block.content };\n } else if (block.type === 'ImageUpload') {\n return { src: block.content };\n }\n return {};\n }\n\n\n const event = ref(null);\n const isLoading = ref(true);\n\n onMounted(async () => {\n isLoading.value = true;\n\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data[0];\n isLoading.value = false;\n });\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["tickets.mutations","Image","events.read","auth.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Event.vue.js","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-big\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event && event.special\"\n :content=\"{\n title: event.name,\n description: event.description,\n ticketLinkStripe: event.specialData.ticketLinkStripe,\n ticketText: event.specialData.ticketText,\n cover: event.cover,\n subtitle: event.specialData.subtitle,\n logos: event.specialData.logos,\n video: event.specialData.video,\n ticketTextButton: event.specialData.ticketTextButton,\n }\"\n :options=\"{\n date: event.date.start,\n price: event.specialData.ticketPrice,\n }\"\n class=\"mn-b-thin\"\n />\n <SectionMainGuest\n v-if=\"!isLoading && event && event.special && event.specialData.guestTitle\"\n :content=\"{\n title: event.specialData.guestTitle,\n description: event.specialData.guestDescription,\n socials: {\n twitter: event.specialData.guestTwitter,\n telegram: event.specialData.guestTelegram,\n instagram: event.specialData.guestInstagram,\n facebook: event.specialData.guestFacebook\n },\n video: event.specialData.guestVideo,\n spotify: event.specialData.guestSpotify,\n soundcloud: event.specialData.guestSoundcloud,\n youtube: event.specialData.guestYoutube\n }\"\n class=\"mn-b-thin\"\n />\n <section \n v-if=\"!isLoading && event && event.special\"\n :style=\"`\n background-size: 100%; background-repeat: no-repeat;\n background-image: url(${event.specialData.lineupBackground}); \n `\" \n class=\"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black\"\n >\n <h2 class=\"mn-b-big w-100 t-center\">Event Details</h2>\n\n <div \n class=\"gap-big mn-b-thin\"\n :class=\"{\n 'cols-2': event.specialData.guests.length > 0,\n 'cols-1': event.specialData.guests.length > 1\n }\"\n >\n \n <SectionSpecialGuests \n v-if=\"event.specialData.guests.length > 0\"\n :content=\"{\n title: 'Residents',\n guests: event.specialData.guests\n }\"\n />\n\n <SectionLineUp\n v-if=\"event.specialData.lineup.lenth > 0\"\n :content=\"{\n title: 'Lineup',\n lineup: event.specialData.lineup\n }\"\n />\n\n </div>\n\n <SectionPreviousEvents\n :content=\"{\n ticket: event.specialData.ticketImage,\n ticketTextButton: event.specialData.ticketTextButton,\n paymentText: event.specialData.paymentText,\n paymentContact: event.specialData.paymentContact,\n previousTitle: event.specialData.previousTitle,\n previousDescription: event.specialData.previousDescription,\n previousLink: event.specialData.previousLink,\n previousLinkText: event.specialData.previousLinkText,\n }\"\n :options=\"{\n link: event.specialData.ticketLinkStripe,\n video: event.specialData.previousVideo\n }\"\n />\n </section>\n\n <CardEvent \n v-if=\"!isLoading && event && !event.special\"\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n :event=\"event\" \n :owner=\"event.owner\" \n :user=\"auth.state.user._id\"\n :type=\"'normal'\"\n class=\"mn-b-medium bg-light radius-big\"\n >\n <ButtonJoin \n v-if=\"auth.state.user._id\"\n :type=\"'event'\" \n :hasTicket=\"event.hasTicket\" \n :targetId=\"event._id\" \n :userId=\"auth.state.user._id\"\n class=\"mn-b-small w-100 pd-medium mn-auto\"\n @updateTicket=\"handleTicketUpdate\"\n />\n\n <!-- <img loading=\"lazy\" v-if=\"qrcode\" :src=\"qrcode\" class=\"w-8r h-8r\" /> -->\n\n \n\n <section>\n <component\n v-if=\"event && event.content\"\n v-for=\"(block, index) in event.content\"\n :is=\"ComponentMap[block.type]\"\n :key=\"index\"\n :index=\"index\"\n :component=\"block\"\n :prop=\"block\"\n :class=\"block.class\"\n content=\"content\"\n v-bind=\"getBlockProps(block)\"\n class=\"mn-b-regular\"\n />\n </section>\n\n </CardEvent>\n\n \n\n <Comments \n \tv-if=\"!isLoading && event && !event.special\" \n \t:type=\"'event'\" \n \t:target=\"event._id\" \n \t:owner=\"auth.state.user._id\"\n />\n \n </TransitionGroup> \n\n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n import Loader from '@pf/src/components/Loader/Loader.vue';\n import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';\n \n import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';\n import SectionMainGuest from '@pf/src/modules/events/components/sections/SectionMainGuest.vue';\n import SectionSpecialGuests from '@pf/src/modules/events/components/sections/SectionSpecialGuests.vue'\n import SectionLineUp from '@pf/src/modules/events/components/sections/SectionLineup.vue';\n import SectionPreviousEvents from '@pf/src/modules/events/components/sections/SectionPreviousEvents.vue';\n\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue'\n import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';\n import Comments from '@pf/src/modules/community/components/sections/Comments.vue';\n\n import Image from '@pf/src/modules/constructor/components/elements/Image.vue';\n\n import * as events from '@pf/src/modules/events/store/events.js';\n import * as tickets from '@pf/src/modules/events/store/tickets.js';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n \n import { useRoute } from 'vue-router';\n\n const route = useRoute();\n const qrcode = ref(null);\n \n const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {\n tickets.mutations.handleTicketUpdate(event.value, ticket, hasTicket, targetId);\n console.log('HANDLE TICKET UPDATE', ticket, event.value);\n\n qrcode.value = ticket.qrcode;\n };\n\n\n const ComponentMap = {\n 'Textarea': 'p',\n 'H2': 'h2',\n 'Bullets': 'p',\n 'Caption': 'p',\n 'ImageUpload': Image\n };\n\n function getBlockProps(block) {\n if (block.type === 'Textarea') {\n return { innerHTML: block.content, class: \"p-medium\" };\n } else if (block.type === 'H2') {\n return { innerHTML: block.content, class: \"h3\" };\n } else if (block.type === 'Caption') {\n return { innerHTML: block.content };\n } else if (block.type === 'ImageUpload') {\n return { src: block.content };\n }\n return {};\n }\n\n\n const event = ref(null);\n const isLoading = ref(true);\n\n onMounted(async () => {\n isLoading.value = true;\n\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data[0];\n isLoading.value = false;\n });\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["tickets.mutations","Image","events.read","auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoLE,UAAM,QAAQ;AACd,UAAM,SAAS,IAAI,IAAI;AAEvB,UAAM,qBAAqB,CAAC,EAAE,QAAQ,WAAW,SAAQ,MAAO;AAC9DA,gBAAkB,mBAAmB,MAAM,OAAO,QAAQ,WAAW,QAAQ;AAC7E,cAAQ,IAAI,wBAAwB,QAAQ,MAAM,KAAK;AAEvD,aAAO,QAAQ,OAAO;AAAA,IAC1B;AAGE,UAAM,eAAe;AAAA,MACnB,YAAY;AAAA,MACZ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,WAAW;AAAA,MACX,eAAeC;AAAAA,IACnB;AAEE,aAAS,cAAc,OAAO;AAC5B,UAAI,MAAM,SAAS,YAAY;AAC7B,eAAO,EAAE,WAAW,MAAM,SAAS,OAAO,WAAU;AAAA,MAC1D,WAAe,MAAM,SAAS,MAAM;AAC9B,eAAO,EAAE,WAAW,MAAM,SAAS,OAAO,KAAI;AAAA,MACpD,WAAe,MAAM,SAAS,WAAW;AACnC,eAAO,EAAE,WAAW,MAAM;MAChC,WAAe,MAAM,SAAS,eAAe;AACvC,eAAO,EAAE,KAAK,MAAM;MACrB;AACD,aAAO;IACR;AAGD,UAAM,QAAQ,IAAI,IAAI;AACtB,UAAM,YAAY,IAAI,IAAI;AAE1B,cAAU,YAAY;AACpB,gBAAU,QAAQ;AAElB,YAAM,OAAO,MAAMC,KAAY,EAAE,MAAMC,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK,CAAC;AACpB,gBAAU,QAAQ;AAAA,IACtB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -11,10 +11,6 @@ const CardEvent = require("../blocks/CardEvent.vue.cjs");
|
|
11
11
|
const events = require("../../store/events.cjs");
|
12
12
|
const auth = require("../../../auth/views/store/auth.cjs");
|
13
13
|
const _hoisted_1 = { class: "pd-thin" };
|
14
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("header", { class: "mn-b-medium flex-v-center flex-nowrap flex" }, [
|
15
|
-
/* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-r-medium" }, " Featured ")
|
16
|
-
], -1);
|
17
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-b-medium" }, " All Events ", -1);
|
18
14
|
const _sfc_main = {
|
19
15
|
__name: "Events",
|
20
16
|
setup(__props) {
|
@@ -53,14 +49,16 @@ const _sfc_main = {
|
|
53
49
|
}, { deep: true });
|
54
50
|
return (_ctx, _cache) => {
|
55
51
|
return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
|
56
|
-
|
52
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("header", { class: "mn-b-medium flex-v-center flex-nowrap flex" }, [
|
53
|
+
vue.createElementVNode("h2", { class: "mn-r-medium" }, " Featured ")
|
54
|
+
], -1)),
|
57
55
|
vue.createVNode(List.default, {
|
58
56
|
user: auth.state.user._id,
|
59
57
|
class: "bg-light mn-b-medium radius-big",
|
60
58
|
phase: "planned",
|
61
59
|
status: "featured"
|
62
60
|
}, null, 8, ["user"]),
|
63
|
-
|
61
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("h2", { class: "mn-b-medium" }, " All Events ", -1)),
|
64
62
|
vue.createVNode(DatePicker.default, {
|
65
63
|
date: events.state.filter.date,
|
66
64
|
"onUpdate:date": _cache[0] || (_cache[0] = ($event) => events.state.filter.date = $event),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Events.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Events.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2\n class=\"mn-r-medium\"\n >\n Featured\n </h2>\n </header>\n \n <List\n :user=\"auth.state.user._id\"\n class=\"bg-light mn-b-medium radius-big\"\n :phase=\"'planned'\"\n :status=\"'featured'\"\n />\n\n <h2\n class=\"mn-b-medium\"\n >\n All Events\n </h2>\n\n <DatePicker\n v-model:date=\"events.state.filter.date\"\n :locale=\"$i18n.locale\"\n class=\"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium\"\n />\n\n <Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n state: events.state\n }\"\n :options=\"{\n user: auth.state.user._id,\n date: events.state.filter.date,\n limit: 10\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n </CardEvent>\n </Feed>\n </section>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue';\n import Feed from '@pf/src/components/Feed/Feed.vue'\n import DatePicker from '@pf/src/components/DatePicker/DatePicker.vue'\n\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n\n let baseDate = new Date();\n const formattedDate = formatDateForRouter(baseDate);\n \n function formatDateForRouter(date) {\n return `${date.getDate().toString().padStart(2, '0')}${(date.getMonth() + 1).toString().padStart(2, '0')}${date.getFullYear()}`;\n }\n\n if (route.query) {\n const query = route.query;\n \n const newFilterValue = {\n tags: query.tags ? query.tags.split(',') : null,\n date: query.date ? query.date : formattedDate,\n };\n\n events.state.filter = newFilterValue; // <-- Modified\n } else {\n const newFilterValue = {\n date: formattedDate,\n };\n\n events.state.filter = newFilterValue;\n }\n\n watch(() => events.state.filter, (newFilterValue, oldFilterValue) => { // <-- Modified\n const query = { ...route.query };\n\n Object.keys(oldFilterValue).forEach(key => {\n if (query[key]) {\n delete query[key];\n }\n });\n\n const newQueryValues = Object.fromEntries(\n Object.entries(newFilterValue)\n .filter(([key, value]) => (Array.isArray(value) && value.length > 0) || (typeof value === 'string' && value))\n .map(([key, value]) => [key, Array.isArray(value) ? value.join(',') : value])\n );\n Object.assign(query, newQueryValues);\n\n router.push({ query });\n }, { deep: true })\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["useRoute","useRouter","events.state","watch"],"mappings":"
|
1
|
+
{"version":3,"file":"Events.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Events.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2\n class=\"mn-r-medium\"\n >\n Featured\n </h2>\n </header>\n \n <List\n :user=\"auth.state.user._id\"\n class=\"bg-light mn-b-medium radius-big\"\n :phase=\"'planned'\"\n :status=\"'featured'\"\n />\n\n <h2\n class=\"mn-b-medium\"\n >\n All Events\n </h2>\n\n <DatePicker\n v-model:date=\"events.state.filter.date\"\n :locale=\"$i18n.locale\"\n class=\"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium\"\n />\n\n <Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n state: events.state\n }\"\n :options=\"{\n user: auth.state.user._id,\n date: events.state.filter.date,\n limit: 10\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n </CardEvent>\n </Feed>\n </section>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue';\n import Feed from '@pf/src/components/Feed/Feed.vue'\n import DatePicker from '@pf/src/components/DatePicker/DatePicker.vue'\n\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n\n let baseDate = new Date();\n const formattedDate = formatDateForRouter(baseDate);\n \n function formatDateForRouter(date) {\n return `${date.getDate().toString().padStart(2, '0')}${(date.getMonth() + 1).toString().padStart(2, '0')}${date.getFullYear()}`;\n }\n\n if (route.query) {\n const query = route.query;\n \n const newFilterValue = {\n tags: query.tags ? query.tags.split(',') : null,\n date: query.date ? query.date : formattedDate,\n };\n\n events.state.filter = newFilterValue; // <-- Modified\n } else {\n const newFilterValue = {\n date: formattedDate,\n };\n\n events.state.filter = newFilterValue;\n }\n\n watch(() => events.state.filter, (newFilterValue, oldFilterValue) => { // <-- Modified\n const query = { ...route.query };\n\n Object.keys(oldFilterValue).forEach(key => {\n if (query[key]) {\n delete query[key];\n }\n });\n\n const newQueryValues = Object.fromEntries(\n Object.entries(newFilterValue)\n .filter(([key, value]) => (Array.isArray(value) && value.length > 0) || (typeof value === 'string' && value))\n .map(([key, value]) => [key, Array.isArray(value) ? value.join(',') : value])\n );\n Object.assign(query, newQueryValues);\n\n router.push({ query });\n }, { deep: true })\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["useRoute","useRouter","events.state","watch"],"mappings":";;;;;;;;;;;;;;;;AAiFE,UAAM,QAAQA,UAAAA;AACd,UAAM,SAASC,UAAAA;AAEf,QAAI,WAAW,oBAAI;AACnB,UAAM,gBAAgB,oBAAoB,QAAQ;AAElD,aAAS,oBAAoB,MAAM;AACjC,aAAO,GAAG,KAAK,QAAO,EAAG,SAAQ,EAAG,SAAS,GAAG,GAAG,CAAC,IAAI,KAAK,SAAU,IAAG,GAAG,WAAW,SAAS,GAAG,GAAG,CAAC,GAAG,KAAK,YAAa,CAAA;AAAA,IAC9H;AAED,QAAI,MAAM,OAAO;AACf,YAAM,QAAQ,MAAM;AAEpB,YAAM,iBAAiB;AAAA,QACrB,MAAM,MAAM,OAAO,MAAM,KAAK,MAAM,GAAG,IAAI;AAAA,QAC3C,MAAM,MAAM,OAAO,MAAM,OAAO;AAAA,MACtC;AAEIC,aAAY,MAAC,SAAS;AAAA,IAC1B,OAAS;AACL,YAAM,iBAAiB;AAAA,QACrB,MAAM;AAAA,MACZ;AAEIA,aAAY,MAAC,SAAS;AAAA,IACvB;AAEDC,QAAAA,MAAM,MAAMD,OAAY,MAAC,QAAQ,CAAC,gBAAgB,mBAAmB;AACnE,YAAM,QAAQ,EAAE,GAAG,MAAM,MAAK;AAE9B,aAAO,KAAK,cAAc,EAAE,QAAQ,SAAO;AACzC,YAAI,MAAM,GAAG,GAAG;AACd,iBAAO,MAAM,GAAG;AAAA,QACjB;AAAA,MACP,CAAK;AAED,YAAM,iBAAiB,OAAO;AAAA,QAC5B,OAAO,QAAQ,cAAc,EAC1B,OAAO,CAAC,CAAC,KAAK,KAAK,MAAO,MAAM,QAAQ,KAAK,KAAK,MAAM,SAAS,KAAO,OAAO,UAAU,YAAY,KAAM,EAC3G,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,QAAQ,KAAK,IAAI,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;AAAA,MACpF;AACI,aAAO,OAAO,OAAO,cAAc;AAEnC,aAAO,KAAK,EAAE,MAAK,CAAE;AAAA,IACzB,GAAK,EAAE,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { watch, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock
|
1
|
+
import { watch, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import "vue-i18n";
|
4
4
|
/* empty css */
|
@@ -9,10 +9,6 @@ import _sfc_main$4 from "../blocks/CardEvent.vue.js";
|
|
9
9
|
import { state, read } from "../../store/events.js";
|
10
10
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
11
11
|
const _hoisted_1 = { class: "pd-thin" };
|
12
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("header", { class: "mn-b-medium flex-v-center flex-nowrap flex" }, [
|
13
|
-
/* @__PURE__ */ createElementVNode("h2", { class: "mn-r-medium" }, " Featured ")
|
14
|
-
], -1);
|
15
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-b-medium" }, " All Events ", -1);
|
16
12
|
const _sfc_main = {
|
17
13
|
__name: "Events",
|
18
14
|
setup(__props) {
|
@@ -51,14 +47,16 @@ const _sfc_main = {
|
|
51
47
|
}, { deep: true });
|
52
48
|
return (_ctx, _cache) => {
|
53
49
|
return openBlock(), createElementBlock("section", _hoisted_1, [
|
54
|
-
|
50
|
+
_cache[1] || (_cache[1] = createElementVNode("header", { class: "mn-b-medium flex-v-center flex-nowrap flex" }, [
|
51
|
+
createElementVNode("h2", { class: "mn-r-medium" }, " Featured ")
|
52
|
+
], -1)),
|
55
53
|
createVNode(_sfc_main$1, {
|
56
54
|
user: state$1.user._id,
|
57
55
|
class: "bg-light mn-b-medium radius-big",
|
58
56
|
phase: "planned",
|
59
57
|
status: "featured"
|
60
58
|
}, null, 8, ["user"]),
|
61
|
-
|
59
|
+
_cache[2] || (_cache[2] = createElementVNode("h2", { class: "mn-b-medium" }, " All Events ", -1)),
|
62
60
|
createVNode(_sfc_main$2, {
|
63
61
|
date: state.filter.date,
|
64
62
|
"onUpdate:date": _cache[0] || (_cache[0] = ($event) => state.filter.date = $event),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Events.vue.js","sources":["../../../../../../../src/modules/events/components/pages/Events.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2\n class=\"mn-r-medium\"\n >\n Featured\n </h2>\n </header>\n \n <List\n :user=\"auth.state.user._id\"\n class=\"bg-light mn-b-medium radius-big\"\n :phase=\"'planned'\"\n :status=\"'featured'\"\n />\n\n <h2\n class=\"mn-b-medium\"\n >\n All Events\n </h2>\n\n <DatePicker\n v-model:date=\"events.state.filter.date\"\n :locale=\"$i18n.locale\"\n class=\"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium\"\n />\n\n <Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n state: events.state\n }\"\n :options=\"{\n user: auth.state.user._id,\n date: events.state.filter.date,\n limit: 10\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n </CardEvent>\n </Feed>\n </section>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue';\n import Feed from '@pf/src/components/Feed/Feed.vue'\n import DatePicker from '@pf/src/components/DatePicker/DatePicker.vue'\n\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n\n let baseDate = new Date();\n const formattedDate = formatDateForRouter(baseDate);\n \n function formatDateForRouter(date) {\n return `${date.getDate().toString().padStart(2, '0')}${(date.getMonth() + 1).toString().padStart(2, '0')}${date.getFullYear()}`;\n }\n\n if (route.query) {\n const query = route.query;\n \n const newFilterValue = {\n tags: query.tags ? query.tags.split(',') : null,\n date: query.date ? query.date : formattedDate,\n };\n\n events.state.filter = newFilterValue; // <-- Modified\n } else {\n const newFilterValue = {\n date: formattedDate,\n };\n\n events.state.filter = newFilterValue;\n }\n\n watch(() => events.state.filter, (newFilterValue, oldFilterValue) => { // <-- Modified\n const query = { ...route.query };\n\n Object.keys(oldFilterValue).forEach(key => {\n if (query[key]) {\n delete query[key];\n }\n });\n\n const newQueryValues = Object.fromEntries(\n Object.entries(newFilterValue)\n .filter(([key, value]) => (Array.isArray(value) && value.length > 0) || (typeof value === 'string' && value))\n .map(([key, value]) => [key, Array.isArray(value) ? value.join(',') : value])\n );\n Object.assign(query, newQueryValues);\n\n router.push({ query });\n }, { deep: true })\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["events.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Events.vue.js","sources":["../../../../../../../src/modules/events/components/pages/Events.vue"],"sourcesContent":["<template>\n <section class=\"pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2\n class=\"mn-r-medium\"\n >\n Featured\n </h2>\n </header>\n \n <List\n :user=\"auth.state.user._id\"\n class=\"bg-light mn-b-medium radius-big\"\n :phase=\"'planned'\"\n :status=\"'featured'\"\n />\n\n <h2\n class=\"mn-b-medium\"\n >\n All Events\n </h2>\n\n <DatePicker\n v-model:date=\"events.state.filter.date\"\n :locale=\"$i18n.locale\"\n class=\"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium\"\n />\n\n <Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n state: events.state\n }\"\n :options=\"{\n user: auth.state.user._id,\n date: events.state.filter.date,\n limit: 10\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n </CardEvent>\n </Feed>\n </section>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue';\n import Feed from '@pf/src/components/Feed/Feed.vue'\n import DatePicker from '@pf/src/components/DatePicker/DatePicker.vue'\n\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n\n let baseDate = new Date();\n const formattedDate = formatDateForRouter(baseDate);\n \n function formatDateForRouter(date) {\n return `${date.getDate().toString().padStart(2, '0')}${(date.getMonth() + 1).toString().padStart(2, '0')}${date.getFullYear()}`;\n }\n\n if (route.query) {\n const query = route.query;\n \n const newFilterValue = {\n tags: query.tags ? query.tags.split(',') : null,\n date: query.date ? query.date : formattedDate,\n };\n\n events.state.filter = newFilterValue; // <-- Modified\n } else {\n const newFilterValue = {\n date: formattedDate,\n };\n\n events.state.filter = newFilterValue;\n }\n\n watch(() => events.state.filter, (newFilterValue, oldFilterValue) => { // <-- Modified\n const query = { ...route.query };\n\n Object.keys(oldFilterValue).forEach(key => {\n if (query[key]) {\n delete query[key];\n }\n });\n\n const newQueryValues = Object.fromEntries(\n Object.entries(newFilterValue)\n .filter(([key, value]) => (Array.isArray(value) && value.length > 0) || (typeof value === 'string' && value))\n .map(([key, value]) => [key, Array.isArray(value) ? value.join(',') : value])\n );\n Object.assign(query, newQueryValues);\n\n router.push({ query });\n }, { deep: true })\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["events.state"],"mappings":";;;;;;;;;;;;;;AAiFE,UAAM,QAAQ;AACd,UAAM,SAAS;AAEf,QAAI,WAAW,oBAAI;AACnB,UAAM,gBAAgB,oBAAoB,QAAQ;AAElD,aAAS,oBAAoB,MAAM;AACjC,aAAO,GAAG,KAAK,QAAO,EAAG,SAAQ,EAAG,SAAS,GAAG,GAAG,CAAC,IAAI,KAAK,SAAU,IAAG,GAAG,WAAW,SAAS,GAAG,GAAG,CAAC,GAAG,KAAK,YAAa,CAAA;AAAA,IAC9H;AAED,QAAI,MAAM,OAAO;AACf,YAAM,QAAQ,MAAM;AAEpB,YAAM,iBAAiB;AAAA,QACrB,MAAM,MAAM,OAAO,MAAM,KAAK,MAAM,GAAG,IAAI;AAAA,QAC3C,MAAM,MAAM,OAAO,MAAM,OAAO;AAAA,MACtC;AAEIA,YAAa,SAAS;AAAA,IAC1B,OAAS;AACL,YAAM,iBAAiB;AAAA,QACrB,MAAM;AAAA,MACZ;AAEIA,YAAa,SAAS;AAAA,IACvB;AAED,UAAM,MAAMA,MAAa,QAAQ,CAAC,gBAAgB,mBAAmB;AACnE,YAAM,QAAQ,EAAE,GAAG,MAAM,MAAK;AAE9B,aAAO,KAAK,cAAc,EAAE,QAAQ,SAAO;AACzC,YAAI,MAAM,GAAG,GAAG;AACd,iBAAO,MAAM,GAAG;AAAA,QACjB;AAAA,MACP,CAAK;AAED,YAAM,iBAAiB,OAAO;AAAA,QAC5B,OAAO,QAAQ,cAAc,EAC1B,OAAO,CAAC,CAAC,KAAK,KAAK,MAAO,MAAM,QAAQ,KAAK,KAAK,MAAM,SAAS,KAAO,OAAO,UAAU,YAAY,KAAM,EAC3G,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,QAAQ,KAAK,IAAI,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC;AAAA,MACpF;AACI,aAAO,OAAO,OAAO,cAAc;AAEnC,aAAO,KAAK,EAAE,MAAK,CAAE;AAAA,IACzB,GAAK,EAAE,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs
CHANGED
@@ -2,15 +2,14 @@
|
|
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 Tab = require("../../../../components/Tab/Tab.
|
5
|
+
const Tab = require("../../../../components/Tab/Tab.vue.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
7
|
const CardEvent = require("../blocks/CardEvent.vue.cjs");
|
8
8
|
const auth = require("../../../auth/views/store/auth.cjs");
|
9
9
|
const events = require("../../store/events.cjs");
|
10
10
|
const _hoisted_1 = { class: "pd-thin" };
|
11
11
|
const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
|
12
|
-
const _hoisted_3 =
|
13
|
-
const _hoisted_4 = ["onClick"];
|
12
|
+
const _hoisted_3 = ["onClick"];
|
14
13
|
const _sfc_main = {
|
15
14
|
__name: "EventsBackoffice",
|
16
15
|
setup(__props) {
|
@@ -25,7 +24,7 @@ const _sfc_main = {
|
|
25
24
|
return (_ctx, _cache) => {
|
26
25
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
27
26
|
vue.createElementVNode("header", _hoisted_2, [
|
28
|
-
|
27
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("h2", { class: "mn-r-medium" }, " Events ", -1)),
|
29
28
|
auth.state.user._id === vue.unref(route).params.user || vue.unref(route).params._id ? (vue.openBlock(), vue.createElementBlock("button", {
|
30
29
|
key: 0,
|
31
30
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(router).push({ name: "Create Event" })),
|
@@ -80,7 +79,7 @@ const _sfc_main = {
|
|
80
79
|
url: event.url
|
81
80
|
}
|
82
81
|
}), ["stop"])
|
83
|
-
}, " Check tickets ", 8,
|
82
|
+
}, " Check tickets ", 8, _hoisted_3)) : vue.createCommentVNode("", true)
|
84
83
|
]),
|
85
84
|
_: 2
|
86
85
|
}, 1032, ["onClick", "event", "user"]);
|
package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventsBackoffice.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\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 import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \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":"EventsBackoffice.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\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 import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \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":";;;;;;;;;;;;;;;AA6GC,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/events/components/pages/EventsBackoffice.vue.js
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
import { ref, watch, openBlock, createElementBlock, createElementVNode, unref, createCommentVNode, createBlock, createVNode, withCtx, Fragment, renderList, withModifiers } 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 "../../../../components/Feed/Feed.vue.js";
|
5
5
|
import _sfc_main$3 from "../blocks/CardEvent.vue.js";
|
6
6
|
import { state } from "../../../auth/views/store/auth.js";
|
7
7
|
import { read } from "../../store/events.js";
|
8
8
|
const _hoisted_1 = { class: "pd-thin" };
|
9
9
|
const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
|
10
|
-
const _hoisted_3 =
|
11
|
-
const _hoisted_4 = ["onClick"];
|
10
|
+
const _hoisted_3 = ["onClick"];
|
12
11
|
const _sfc_main = {
|
13
12
|
__name: "EventsBackoffice",
|
14
13
|
setup(__props) {
|
@@ -23,7 +22,7 @@ const _sfc_main = {
|
|
23
22
|
return (_ctx, _cache) => {
|
24
23
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
25
24
|
createElementVNode("header", _hoisted_2, [
|
26
|
-
|
25
|
+
_cache[2] || (_cache[2] = createElementVNode("h2", { class: "mn-r-medium" }, " Events ", -1)),
|
27
26
|
state.user._id === unref(route).params.user || unref(route).params._id ? (openBlock(), createElementBlock("button", {
|
28
27
|
key: 0,
|
29
28
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(router).push({ name: "Create Event" })),
|
@@ -78,7 +77,7 @@ const _sfc_main = {
|
|
78
77
|
url: event.url
|
79
78
|
}
|
80
79
|
}), ["stop"])
|
81
|
-
}, " Check tickets ", 8,
|
80
|
+
}, " Check tickets ", 8, _hoisted_3)) : createCommentVNode("", true)
|
82
81
|
]),
|
83
82
|
_: 2
|
84
83
|
}, 1032, ["onClick", "event", "user"]);
|
package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\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 import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \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":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\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 import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \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":";;;;;;;;;;;;;AA6GC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs
CHANGED
@@ -7,9 +7,7 @@ require("../../store/events.cjs");
|
|
7
7
|
const auth = require("../../../auth/views/store/auth.cjs");
|
8
8
|
const _hoisted_1 = { class: "cols-2 gap-medium pd-medium bg-light radius-big" };
|
9
9
|
const _hoisted_2 = { class: "" };
|
10
|
-
const _hoisted_3 =
|
11
|
-
const _hoisted_4 = { class: "" };
|
12
|
-
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-medium" }, " Planned ", -1);
|
10
|
+
const _hoisted_3 = { class: "" };
|
13
11
|
const _sfc_main = {
|
14
12
|
__name: "FeaturedEvents",
|
15
13
|
setup(__props) {
|
@@ -18,15 +16,15 @@ const _sfc_main = {
|
|
18
16
|
return (_ctx, _cache) => {
|
19
17
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
20
18
|
vue.createElementVNode("div", _hoisted_2, [
|
21
|
-
|
19
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("h3", { class: "mn-b-medium" }, " Finished Events ", -1)),
|
22
20
|
vue.createVNode(List.default, {
|
23
21
|
user: auth.state.user._id,
|
24
22
|
class: "bg-white mn-b-medium radius-big",
|
25
23
|
phase: "finished"
|
26
24
|
}, null, 8, ["user"])
|
27
25
|
]),
|
28
|
-
vue.createElementVNode("div",
|
29
|
-
|
26
|
+
vue.createElementVNode("div", _hoisted_3, [
|
27
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("h3", { class: "mn-b-medium" }, " Planned ", -1)),
|
30
28
|
vue.createVNode(List.default, {
|
31
29
|
user: auth.state.user._id,
|
32
30
|
class: "bg-white mn-b-medium radius-big",
|
package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FeaturedEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/FeaturedEvents.vue"],"sourcesContent":["<template>\n <div class=\"cols-2 gap-medium pd-medium bg-light radius-big\">\n <div class=\"\">\n <h3\n class=\"mn-b-medium\"\n >\n Finished Events\n </h3>\n <List\n :user=\"auth.state.user._id\"\n class=\"bg-white mn-b-medium radius-big\"\n :phase=\"'finished'\"\n />\n </div>\n\n <div class=\"\">\n <h3\n class=\"mn-b-medium\"\n >\n Planned\n </h3>\n <List\n :user=\"auth.state.user._id\"\n class=\"bg-white mn-b-medium radius-big\"\n :phase=\"'planned'\"\n />\n </div>\n </div>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["useRoute","useRouter"],"mappings":"
|
1
|
+
{"version":3,"file":"FeaturedEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/FeaturedEvents.vue"],"sourcesContent":["<template>\n <div class=\"cols-2 gap-medium pd-medium bg-light radius-big\">\n <div class=\"\">\n <h3\n class=\"mn-b-medium\"\n >\n Finished Events\n </h3>\n <List\n :user=\"auth.state.user._id\"\n class=\"bg-white mn-b-medium radius-big\"\n :phase=\"'finished'\"\n />\n </div>\n\n <div class=\"\">\n <h3\n class=\"mn-b-medium\"\n >\n Planned\n </h3>\n <List\n :user=\"auth.state.user._id\"\n class=\"bg-white mn-b-medium radius-big\"\n :phase=\"'planned'\"\n />\n </div>\n </div>\n</template>\n\n<script setup=\"props\">\n import { computed, onMounted, watch } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import List from '@pf/src/modules/events/components/sections/List.vue'; \n // Import state\n import * as events from '@pf/src/modules/events/store/events.js'; \n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n // State\n const route = useRoute();\n const router = useRouter();\n</script>\n\n<style lang=\"scss\">\n \n</style>\n"],"names":["useRoute","useRouter"],"mappings":";;;;;;;;;;;;;AAwCgBA,uBAAW;AACVC,wBAAY;;;;;;;;;;;;;;;;;;;;;;;;"}
|