@ozdao/prometheus-framework 0.2.242 → 0.2.244
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +17 -16
- 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 +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +571 -583
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +571 -583
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +16 -9
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
- package/src/modules/events/components/elements/ButtonCheck1.vue +0 -107
- package/src/modules/events/components/elements/ButtonCheck2.vue +0 -76
@@ -6,7 +6,7 @@ import Vn from "../../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-d
|
|
6
6
|
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
|
9
|
-
import _sfc_main$7 from "../../../../components/Popup/Popup.
|
9
|
+
import _sfc_main$7 from "../../../../components/Popup/Popup.vue2.js";
|
10
10
|
import Field from "../../../../components/Field/Field.vue.js";
|
11
11
|
import _sfc_main$8 from "../../../../components/FieldTags/BlockTags.vue.js";
|
12
12
|
import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
|
@@ -28,60 +28,43 @@ const _hoisted_1 = {
|
|
28
28
|
class: "h-min-100 pd-thin"
|
29
29
|
};
|
30
30
|
const _hoisted_2 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
|
31
|
-
const _hoisted_3 =
|
32
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Date", -1);
|
33
|
-
const _hoisted_5 = {
|
31
|
+
const _hoisted_3 = {
|
34
32
|
key: 0,
|
35
33
|
class: "mn-b-small"
|
36
34
|
};
|
37
|
-
const
|
35
|
+
const _hoisted_4 = {
|
38
36
|
key: 1,
|
39
37
|
class: "mn-b-small"
|
40
38
|
};
|
41
|
-
const
|
39
|
+
const _hoisted_5 = {
|
42
40
|
key: 3,
|
43
41
|
class: "mn-b-semi"
|
44
42
|
};
|
45
|
-
const
|
46
|
-
const
|
47
|
-
const
|
48
|
-
const
|
49
|
-
const
|
50
|
-
const
|
51
|
-
const
|
52
|
-
const
|
53
|
-
const _hoisted_16 = { class: "gap-thin cols-3" };
|
54
|
-
const _hoisted_17 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1);
|
55
|
-
const _hoisted_18 = { class: "gap-thin flex-nowrap flex w-100" };
|
56
|
-
const _hoisted_19 = { class: "w-100" };
|
57
|
-
const _hoisted_20 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
|
58
|
-
const _hoisted_21 = /* @__PURE__ */ createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1);
|
59
|
-
const _hoisted_22 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Lineup Section ", -1);
|
60
|
-
const _hoisted_23 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
|
61
|
-
const _hoisted_24 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1);
|
62
|
-
const _hoisted_25 = /* @__PURE__ */ createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1);
|
63
|
-
const _hoisted_26 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1);
|
64
|
-
const _hoisted_27 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1);
|
65
|
-
const _hoisted_28 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Description", -1);
|
66
|
-
const _hoisted_29 = {
|
43
|
+
const _hoisted_6 = { class: "mn-b-small gap-small cols-2-fit-content" };
|
44
|
+
const _hoisted_7 = { class: "gap-thin flex-nowrap flex w-100" };
|
45
|
+
const _hoisted_8 = { class: "gap-thin cols-3" };
|
46
|
+
const _hoisted_9 = { class: "gap-thin flex-nowrap flex w-100" };
|
47
|
+
const _hoisted_10 = { class: "w-100" };
|
48
|
+
const _hoisted_11 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
|
49
|
+
const _hoisted_12 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
|
50
|
+
const _hoisted_13 = {
|
67
51
|
key: 4,
|
68
52
|
class: "pd-b-extra w-100 bg-light pd-big radius-big"
|
69
53
|
};
|
70
|
-
const
|
54
|
+
const _hoisted_14 = {
|
71
55
|
key: 5,
|
72
56
|
class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
|
73
57
|
};
|
74
|
-
const
|
75
|
-
const
|
76
|
-
const _hoisted_33 = {
|
58
|
+
const _hoisted_15 = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" };
|
59
|
+
const _hoisted_16 = {
|
77
60
|
key: 1,
|
78
61
|
class: "mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small"
|
79
62
|
};
|
80
|
-
const
|
63
|
+
const _hoisted_17 = {
|
81
64
|
key: 2,
|
82
65
|
class: "mn-b-thin"
|
83
66
|
};
|
84
|
-
const
|
67
|
+
const _hoisted_18 = {
|
85
68
|
key: 3,
|
86
69
|
class: "mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"
|
87
70
|
};
|
@@ -199,7 +182,7 @@ const _sfc_main = {
|
|
199
182
|
uploadPath: "specials",
|
200
183
|
class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
201
184
|
}, null, 8, ["photo"]),
|
202
|
-
|
185
|
+
_cache[41] || (_cache[41] = createElementVNode("h4", null, "Upload Event Cover", -1))
|
203
186
|
]),
|
204
187
|
createVNode(Field, {
|
205
188
|
field: unref(event).name,
|
@@ -214,15 +197,15 @@ const _sfc_main = {
|
|
214
197
|
placeholder: "Enter short description",
|
215
198
|
class: "mn-b-semi w-100 bg-light pd-medium radius-small"
|
216
199
|
}, null, 8, ["field"]),
|
217
|
-
|
200
|
+
_cache[57] || (_cache[57] = createElementVNode("h3", { class: "mn-b-small" }, "Date", -1)),
|
218
201
|
createVNode(unref(Vn), {
|
219
202
|
modelValue: date.value,
|
220
203
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => date.value = $event),
|
221
204
|
range: "",
|
222
205
|
class: "z-index-3 radius-small mn-b-semi bg-light"
|
223
206
|
}, null, 8, ["modelValue"]),
|
224
|
-
state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3",
|
225
|
-
!unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3",
|
207
|
+
state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_3, " Tickets ")) : createCommentVNode("", true),
|
208
|
+
!unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_4, " Special Details ")) : createCommentVNode("", true),
|
226
209
|
!unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createBlock(_sfc_main$2, {
|
227
210
|
key: 2,
|
228
211
|
label: "Special",
|
@@ -230,8 +213,8 @@ const _sfc_main = {
|
|
230
213
|
"onUpdate:radio": _cache[4] || (_cache[4] = (updateEvent) => unref(event).special = !unref(event).special),
|
231
214
|
class: "mn-b-semi w-100 bg-black t-white pd-medium radius-small"
|
232
215
|
}, null, 8, ["radio"])) : createCommentVNode("", true),
|
233
|
-
unref(event).special ? (openBlock(), createElementBlock("div",
|
234
|
-
|
216
|
+
unref(event).special ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
217
|
+
_cache[42] || (_cache[42] = createElementVNode("h4", { class: "mn-b-thin" }, " Hero Section ", -1)),
|
235
218
|
createVNode(Field, {
|
236
219
|
field: unref(event).specialData.subtitle,
|
237
220
|
"onUpdate:field": _cache[5] || (_cache[5] = ($event) => unref(event).specialData.subtitle = $event),
|
@@ -252,8 +235,8 @@ const _sfc_main = {
|
|
252
235
|
"onUpdate:images": _cache[6] || (_cache[6] = (newImages) => unref(event).specialData.logos = newImages),
|
253
236
|
class: "mn-b-thin bg-light radius-small"
|
254
237
|
}, null, 8, ["images"]),
|
255
|
-
|
256
|
-
|
238
|
+
_cache[43] || (_cache[43] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1)),
|
239
|
+
_cache[44] || (_cache[44] = createElementVNode("p", null, "Need to upload in webm format because of needs of optimization", -1)),
|
257
240
|
createVNode(Upload, {
|
258
241
|
field: unref(event).specialData.video,
|
259
242
|
"onUpdate:field": _cache[7] || (_cache[7] = ($event) => unref(event).specialData.video = $event),
|
@@ -263,15 +246,15 @@ const _sfc_main = {
|
|
263
246
|
type: "file",
|
264
247
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
|
265
248
|
}, null, 8, ["field"]),
|
266
|
-
|
267
|
-
createElementVNode("div",
|
249
|
+
_cache[45] || (_cache[45] = createElementVNode("h5", { class: "mn-b-thin" }, " Ticket ", -1)),
|
250
|
+
createElementVNode("div", _hoisted_6, [
|
268
251
|
createVNode(_sfc_main$1, {
|
269
252
|
photo: unref(event).specialData.ticketImage,
|
270
253
|
"onUpdate:photo": _cache[9] || (_cache[9] = ($event) => unref(event).specialData.ticketImage = $event),
|
271
254
|
uploadPath: "/specials",
|
272
255
|
class: "aspect-1x1 w-4r o-hidden radius-extra"
|
273
256
|
}, null, 8, ["photo"]),
|
274
|
-
createElementVNode("div",
|
257
|
+
createElementVNode("div", _hoisted_7, [
|
275
258
|
createVNode(Field, {
|
276
259
|
field: unref(event).specialData.ticketPrice,
|
277
260
|
"onUpdate:field": _cache[10] || (_cache[10] = ($event) => unref(event).specialData.ticketPrice = $event),
|
@@ -293,8 +276,8 @@ const _sfc_main = {
|
|
293
276
|
}, null, 8, ["field"])
|
294
277
|
])
|
295
278
|
]),
|
296
|
-
|
297
|
-
|
279
|
+
_cache[46] || (_cache[46] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
|
280
|
+
_cache[47] || (_cache[47] = createElementVNode("h4", { class: "mn-b-thin" }, " Guest Section ", -1)),
|
298
281
|
createVNode(Field, {
|
299
282
|
field: unref(event).specialData.guestTitle,
|
300
283
|
"onUpdate:field": _cache[13] || (_cache[13] = ($event) => unref(event).specialData.guestTitle = $event),
|
@@ -307,7 +290,7 @@ const _sfc_main = {
|
|
307
290
|
placeholder: "Description for Main Guest section",
|
308
291
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small"
|
309
292
|
}, null, 8, ["field"]),
|
310
|
-
createElementVNode("div",
|
293
|
+
createElementVNode("div", _hoisted_8, [
|
311
294
|
createVNode(Field, {
|
312
295
|
field: unref(event).specialData.guestFacebook,
|
313
296
|
"onUpdate:field": _cache[15] || (_cache[15] = ($event) => unref(event).specialData.guestFacebook = $event),
|
@@ -351,7 +334,7 @@ const _sfc_main = {
|
|
351
334
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small"
|
352
335
|
}, null, 8, ["field"])
|
353
336
|
]),
|
354
|
-
|
337
|
+
_cache[48] || (_cache[48] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1)),
|
355
338
|
createVNode(Upload, {
|
356
339
|
field: unref(event).specialData.guestVideo,
|
357
340
|
"onUpdate:field": _cache[22] || (_cache[22] = ($event) => unref(event).specialData.guestVideo = $event),
|
@@ -382,8 +365,8 @@ const _sfc_main = {
|
|
382
365
|
uploadPath: "/specials",
|
383
366
|
class: "aspect-1x1 w-8r o-hidden radius-extra"
|
384
367
|
}, null, 8, ["photo", "onUpdate:photo"]),
|
385
|
-
createElementVNode("div",
|
386
|
-
createElementVNode("div",
|
368
|
+
createElementVNode("div", _hoisted_9, [
|
369
|
+
createElementVNode("div", _hoisted_10, [
|
387
370
|
createVNode(Field, {
|
388
371
|
field: item.name,
|
389
372
|
"onUpdate:field": ($event) => item.name = $event,
|
@@ -397,7 +380,7 @@ const _sfc_main = {
|
|
397
380
|
class: "w-100 mn-b-thin bg-white radius-small pd-medium"
|
398
381
|
}, null, 8, ["field", "onUpdate:field"])
|
399
382
|
]),
|
400
|
-
createElementVNode("div",
|
383
|
+
createElementVNode("div", _hoisted_11, [
|
401
384
|
createVNode(_sfc_main$5, {
|
402
385
|
onClick: () => unref(event).specialData.guests.splice(index, 1),
|
403
386
|
class: "i-medium"
|
@@ -409,8 +392,8 @@ const _sfc_main = {
|
|
409
392
|
]),
|
410
393
|
_: 1
|
411
394
|
}, 8, ["actions"]),
|
412
|
-
|
413
|
-
|
395
|
+
_cache[49] || (_cache[49] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
|
396
|
+
_cache[50] || (_cache[50] = createElementVNode("h4", { class: "mn-b-thin" }, " Lineup Section ", -1)),
|
414
397
|
createVNode(_sfc_main$4, {
|
415
398
|
title: "Line Up",
|
416
399
|
placeholder: "No line ups added yet",
|
@@ -438,7 +421,7 @@ const _sfc_main = {
|
|
438
421
|
placeholder: "Time",
|
439
422
|
class: "w-100 bg-light radius-small pd-medium"
|
440
423
|
}, null, 8, ["field", "onUpdate:field"]),
|
441
|
-
createElementVNode("div",
|
424
|
+
createElementVNode("div", _hoisted_12, [
|
442
425
|
createVNode(_sfc_main$5, {
|
443
426
|
onClick: () => unref(event).specialData.lineup.splice(index, 1),
|
444
427
|
class: "i-medium"
|
@@ -449,7 +432,7 @@ const _sfc_main = {
|
|
449
432
|
]),
|
450
433
|
_: 1
|
451
434
|
}, 8, ["actions"]),
|
452
|
-
|
435
|
+
_cache[51] || (_cache[51] = createElementVNode("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1)),
|
453
436
|
createVNode(Upload, {
|
454
437
|
field: unref(event).specialData.lineupBackground,
|
455
438
|
"onUpdate:field": _cache[24] || (_cache[24] = ($event) => unref(event).specialData.lineupBackground = $event),
|
@@ -459,9 +442,9 @@ const _sfc_main = {
|
|
459
442
|
type: "file",
|
460
443
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
|
461
444
|
}, null, 8, ["field"]),
|
462
|
-
|
463
|
-
|
464
|
-
|
445
|
+
_cache[52] || (_cache[52] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
|
446
|
+
_cache[53] || (_cache[53] = createElementVNode("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1)),
|
447
|
+
_cache[54] || (_cache[54] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1)),
|
465
448
|
createVNode(Field, {
|
466
449
|
field: unref(event).specialData.previousTitle,
|
467
450
|
"onUpdate:field": _cache[26] || (_cache[26] = ($event) => unref(event).specialData.previousTitle = $event),
|
@@ -500,15 +483,15 @@ const _sfc_main = {
|
|
500
483
|
class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
|
501
484
|
}, null, 8, ["field"])
|
502
485
|
])) : createCommentVNode("", true),
|
503
|
-
|
504
|
-
unref(event) ? (openBlock(), createElementBlock("section",
|
486
|
+
_cache[58] || (_cache[58] = createElementVNode("h3", { class: "mn-b-small" }, "Description", -1)),
|
487
|
+
unref(event) ? (openBlock(), createElementBlock("section", _hoisted_13, [
|
505
488
|
createVNode(_sfc_main$6, {
|
506
489
|
content: unref(event).content,
|
507
490
|
onUpdate: _cache[32] || (_cache[32] = (update2) => unref(event).content = update2)
|
508
491
|
}, null, 8, ["content"])
|
509
492
|
])) : createCommentVNode("", true),
|
510
|
-
unref(event) ? (openBlock(), createElementBlock("section",
|
511
|
-
createElementVNode("div",
|
493
|
+
unref(event) ? (openBlock(), createElementBlock("section", _hoisted_14, [
|
494
|
+
createElementVNode("div", _hoisted_15, [
|
512
495
|
unref(route).params.url ? (openBlock(), createElementBlock("a", {
|
513
496
|
key: 0,
|
514
497
|
onClick: _cache[33] || (_cache[33] = ($event) => onDelete()),
|
@@ -538,7 +521,7 @@ const _sfc_main = {
|
|
538
521
|
tags: unref(event).tags,
|
539
522
|
class: "mn-b-small"
|
540
523
|
}, null, 8, ["tags"]),
|
541
|
-
|
524
|
+
_cache[56] || (_cache[56] = createElementVNode("h5", { class: "mn-b-thin" }, "Add to public", -1)),
|
542
525
|
selectedOrganization.value ? (openBlock(), createBlock(_sfc_main$9, {
|
543
526
|
key: 0,
|
544
527
|
photo: (_a = selectedOrganization.value.profile) == null ? void 0 : _a.photo,
|
@@ -547,7 +530,7 @@ const _sfc_main = {
|
|
547
530
|
selectedOrganization.value = null;
|
548
531
|
}),
|
549
532
|
class: "h-4r w-100 bg-light pd-thin radius-medium mn-b-thin"
|
550
|
-
}, null, 8, ["photo", "title"])) : (openBlock(), createElementBlock("section",
|
533
|
+
}, null, 8, ["photo", "title"])) : (openBlock(), createElementBlock("section", _hoisted_16, [
|
551
534
|
createVNode(_sfc_main$a, {
|
552
535
|
showLoadMore: false,
|
553
536
|
search: {
|
@@ -591,8 +574,8 @@ const _sfc_main = {
|
|
591
574
|
_: 1
|
592
575
|
}, 8, ["store", "options"])
|
593
576
|
])),
|
594
|
-
selectedOrganization.value ? (openBlock(), createElementBlock("h5",
|
595
|
-
selectedOrganization.value ? (openBlock(), createElementBlock("div",
|
577
|
+
selectedOrganization.value ? (openBlock(), createElementBlock("h5", _hoisted_17, "Options:")) : createCommentVNode("", true),
|
578
|
+
selectedOrganization.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
596
579
|
createVNode(_sfc_main$2, {
|
597
580
|
label: "Hide Author",
|
598
581
|
radio: unref(event).creator.hidden,
|
@@ -606,9 +589,9 @@ const _sfc_main = {
|
|
606
589
|
callback: _ctx.redirectTo,
|
607
590
|
class: "w-100 bg-black t-white"
|
608
591
|
}, {
|
609
|
-
default: withCtx(() => [
|
592
|
+
default: withCtx(() => _cache[55] || (_cache[55] = [
|
610
593
|
createTextVNode("Publish")
|
611
|
-
]),
|
594
|
+
])),
|
612
595
|
_: 1
|
613
596
|
}, 8, ["callback"])
|
614
597
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditEvent.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEvent.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-min-100 pd-thin\">\n \t<div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n \t<UploadImage \n v-model:photo=\"event.cover\"\n :uploadPath=\"'specials'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra\" \n />\n <h4>Upload Event Cover</h4>\n </div>\n\n \t<Field \n v-model:field=\"event.name\" \n placeholder=\"Event name\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"event.description\" \n type=\"textfield\" \n placeholder=\"Enter short description\" \n class=\"mn-b-semi w-100 bg-light pd-medium radius-small\" \n />\n\n <h3 class=\"mn-b-small\">Date</h3>\n <VueDatePicker v-model=\"date\" range class=\"z-index-3 radius-small mn-b-semi bg-light\" />\n\n <!-- <Calendar\n v-model:date=\"date\"\n :locale=\"$i18n.locale\"\n :allowRange=\"false\"\n class=\"radius-semi w-100 o-hidden bg-light\"\n /> -->\n\n <h3\n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Tickets\n </h3>\n\n \n <h3\n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Special Details\n </h3>\n\n\n <Checkbox \n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n :label=\"'Special'\"\n :radio=\"event.special\"\n @update:radio=\"updateEvent => event.special = !event.special\"\n class=\"mn-b-semi w-100 bg-black t-white pd-medium radius-small\"\n />\n\n <div \n v-if=\"event.special\"\n class=\"mn-b-semi\"\n >\n <h4\n class=\"mn-b-thin\"\n >\n Hero Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.subtitle\" \n placeholder=\"Event subtitle\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <EditImages \n :images=\"event.specialData.logos\"\n :uploadPath=\"'/specials'\" \n :text=\"{\n title: 'Drag & Drop Your Logos Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n }\"\n :options=\"{\n showTitle: true,\n showText: false\n }\"\n @update:images=\"(newImages) => event.specialData.logos = newImages\" \n class=\"mn-b-thin bg-light radius-small\"\n />\n <h5\n class=\"mn-b-thin\"\n >\n Video in Hero Section\n </h5>\n <p>Need to upload in webm format because of needs of optimization</p>\n <Upload \n v-model:field=\"event.specialData.video\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.video = videoURL\"\n uploadPath=\"specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <h5\n class=\"mn-b-thin\"\n >\n Ticket\n </h5>\n\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n > \n <UploadImage \n v-model:photo=\"event.specialData.ticketImage\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-4r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <Field \n v-model:field=\"event.specialData.ticketPrice\" \n type=\"number\"\n placeholder=\"Ticket price in baht\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field\n v-model:field=\"event.specialData.ticketText\"\n placeholder=\"Promotion text for ticket in hero \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n <Field\n v-model:field=\"event.specialData.ticketTextButton\"\n placeholder=\"Text on 'Buy Ticket' button \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n \n </div>\n </div>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Guest Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.guestTitle\" \n placeholder=\"Title for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestDescription\" \n placeholder=\"Description for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <div class=\"gap-thin cols-3\">\n \n <Field \n v-model:field=\"event.specialData.guestFacebook\" \n placeholder=\"Facebook of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestInstagram\" \n placeholder=\"Instagram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestTwitter\" \n placeholder=\"Twitter of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n\n <Field \n v-model:field=\"event.specialData.guestTelegram\" \n placeholder=\"Telegram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSoundcloud\" \n placeholder=\"Link to Main Guest soundcloud track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSpotify\" \n placeholder=\"Link to Main guest spotify track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestYoutube\" \n placeholder=\"Link to Main guest youtube video\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n </div>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Guests Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.guestVideo\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.guestVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <Block\n title=\"Guests\"\n placeholder=\"No guests added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.guests.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 mn-b-thin t-black gap-thin\"\n >\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n v-for=\"(item, index) in event.specialData.guests\" \n :key=\"index\"\n > \n <UploadImage \n v-model:photo=\"item.photo\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <div class=\"w-100\">\n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.description\"\n placeholder=\"Description\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n />\n </div>\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.guests.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </div>\n </Block>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Lineup Section\n </h4>\n\n <Block\n title=\"Line Up\"\n placeholder=\"No line ups added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.lineup.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 t-black gap-thin\"\n >\n <div \n class=\"mn-b-thin gap-small flex-nowrap flex\" \n v-for=\"(item, index) in event.specialData.lineup\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.time\"\n placeholder=\"Time\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.lineup.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </Block>\n\n <h5\n class=\"mn-b-thin\"\n >\n Background in Lineup Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.lineupBackground\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.lineupBackground = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Previous Party Section\n </h4>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Previous Partys Section\n </h5>\n\n <Field\n v-model:field=\"event.specialData.previousTitle\"\n placeholder=\"Title\"\n :value=\"event.specialData.previousDescription || 'Explore our exclusive party archive'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousDescription\"\n label=\"Description\"\n :value=\"event.specialData.previousDescription || 'Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLinkText\"\n label=\"Button\"\n :value=\"event.specialData.previousLinkText || 'Check In Instagram'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLink\"\n label=\"Link\"\n :value=\"event.specialData.previousLink || 'https://www.instagram.com/thecommune.phuket/'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n \n <Upload \n v-model:field=\"event.specialData.previousVideo\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.previousVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n </div>\n\n <h3 class=\"mn-b-small\">Description</h3>\n\t\t<section v-if=\"event\" class=\"pd-b-extra w-100 bg-light pd-big radius-big\">\n <Constructor \n :content=\"event.content\"\n @update=\"update => event.content = update\"\n />\n </section>\n\n <section v-if=\"event\" class=\"pd-thin pos-sticky pos-l-0 pos-b-0 w-100 \">\n <div class=\"pd-thin radius-big bg-main w-100 flex-nowrap flex\">\n <a v-if=\"route.params.url\" @click=\"onDelete()\" class=\"mn-r-auto bg-red t-white t-black button\">Delete</a>\n <a @click=\"onDrafts()\" class=\"mn-l-auto bg-white t-black button\">To Drafts</a>\n <a @click=\"openPublicationPopup()\" class=\"mn-l-thin bg-black t-white button\">Publish</a>\n </div>\n </section>\n\n <Popup \n title=\"Final Touches\" \n @close-popup=\"closePublicationPopup\" \n :isPopupOpen=\"isPublicationPopup\"\n class=\"w-m-33r t-left pd-big bg-white radius-big\"\n > \n <BlockTags\n @tags-changed=\"newTags => event.tags = newTags\"\n :tags=\"event.tags\"\n class=\"mn-b-small\"\n />\n\n <h5 class=\"mn-b-thin\">Add to public</h5>\n <Card\n v-if=\"selectedOrganization\"\n :photo=\"selectedOrganization.profile?.photo\"\n :title=\"selectedOrganization.profile?.name\"\n @click=\"() => { \n selectedOrganization = null\n }\"\n class=\"h-4r w-100 bg-light pd-thin radius-medium mn-b-thin\"\n />\n\n <section v-else class=\"mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small \">\n <Feed\n :showLoadMore=\"false\" \n :search=\"{\n placeholder: 'Search organization...',\n class: 'bg-white mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No organizations Found',\n description: 'Currently, there are no such organizations available.'\n }\n }\"\n :store=\"{\n read: (options) => organizations.actions.read(options),\n state: null\n }\"\n :options=\"{\n user: auth.state.user._id,\n postable: auth.state.user._id\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <Card\n v-for=\"(organization, index) in items\" \n v-memo=\"[organization._id, organization.profile.name]\"\n :photo=\"organization.profile?.photo\"\n :title=\"organization.profile?.name\"\n @click=\"() => { \n selectedOrganization = organization\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </section>\n\n \n <h5 v-if=\"selectedOrganization\" class=\"mn-b-thin\">Options:</h5>\n <div v-if=\"selectedOrganization\" class=\"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big\">\n <Checkbox \n :label=\"'Hide Author'\"\n :radio=\"event.creator.hidden\"\n @update:radio=\"updateEvent => event.creator.hidden = updateEvent\"\n name=\"prices\"\n class=\"w-100\"\n />\n </div>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"w-100 bg-black t-white\">Publish</Button>\n </Popup>\n </article>\n</template>\n\n<script setup>\nimport Textarea from '@pf/src/modules/constructor/components/elements/Textarea.vue';\nimport Constructor from '@pf/src/modules/constructor/components/sections/Constructor.vue';\n\nimport VueDatePicker from '@vuepic/vue-datepicker';\nimport '@vuepic/vue-datepicker/dist/main.css'\n\n\n\nimport Calendar from '@pf/src/components/DatePicker/Calendar.vue'\n\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 BlockTags from '@pf/src/components/FieldTags/BlockTags.vue';\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue';\nimport Upload from '@pf/src/components/Upload/Upload.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\nimport EditImages from '@pf/src/components/EditImages/EditImages.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport Card from '@pf/src/modules/globals/views/components/blocks/Card.vue';\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.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\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\nlet publics = ref(null);\n\nconst selectedTags = ref([]);\nconst selectedOrganization = ref(null);\n\n\nconst date = ref(new Date);\nconst customPosition = () => ({ top: 0, left: 0 });\n\n\nonMounted(async () =>{\n \n if (route.params.url) {\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n\n console.log(event.value)\n\n const startDate = event.value.date.start;\n const endDate = event.value.date.end;\n\n date.value = [startDate, endDate];\n\n } else {\n events.clean();\n event.value = events.state.current;\n\n const startDate = new Date();\n const endDate = new Date();\n date.value = [startDate, endDate];\n }\n\n if (!event.value.owner) event.value.owner = {\n target: auth.state.user._id,\n type: 'user'\n }\n\n if (!event.value.creator) event.value.creator = {\n target: auth.state.user._id,\n type: 'user',\n hidden: false\n }\n\n if (event.value.owner.type === 'organization') selectedOrganization.value = {\n _id: event.value.owner.target._id,\n name: event.value.owner.target.profile.name,\n photo: event.value.owner.target.profile.photo\n }\n})\n\nconst isPublicationPopup = ref(false)\n\nfunction openPublicationPopup() {\n isPublicationPopup.value = true;\n}\nfunction closePublicationPopup() {\n isPublicationPopup.value = false;\n}\n\nfunction onDrafts() {\n\n if (selectedTags.value.length > 0) selectedTags.value.map(tag => (tag.text))\n\n event.value.status = \"draft\"\n \n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n if (route.params.url) {\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n\nfunction onSubmit() {\n\n if (selectedOrganization.value) event.value.owner = {\n target: selectedOrganization.value._id,\n type: 'organization'\n }\n\n if (!selectedOrganization.value) event.value.creator.hidden = false\n if (!selectedOrganization.value) event.value.organization = event.value.creator\n\n event.value.status = \"published\"\n\n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n console.log(date.value)\n if (route.params.url) {\n console.log(event.value)\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n }\n}\n\nfunction onDelete() {\n if (confirm('Are you sure you want to delete this event?')) {\n events.remove(event.value._id)\n .then(response => {\n router.push({ name: 'User Events', params: { _id: event.value.creator.target._id } });\n })\n .catch(error => {\n console.error(error);\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(--light));\n border-radius: var(--small);\n }\n</style>"],"names":["events.read","auth.state","events.clean","events.state","events.update","events.create","events.remove"],"mappings":"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"}
|
1
|
+
{"version":3,"file":"EditEvent.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEvent.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-min-100 pd-thin\">\n \t<div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n \t<UploadImage \n v-model:photo=\"event.cover\"\n :uploadPath=\"'specials'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra\" \n />\n <h4>Upload Event Cover</h4>\n </div>\n\n \t<Field \n v-model:field=\"event.name\" \n placeholder=\"Event name\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"event.description\" \n type=\"textfield\" \n placeholder=\"Enter short description\" \n class=\"mn-b-semi w-100 bg-light pd-medium radius-small\" \n />\n\n <h3 class=\"mn-b-small\">Date</h3>\n <VueDatePicker v-model=\"date\" range class=\"z-index-3 radius-small mn-b-semi bg-light\" />\n\n <!-- <Calendar\n v-model:date=\"date\"\n :locale=\"$i18n.locale\"\n :allowRange=\"false\"\n class=\"radius-semi w-100 o-hidden bg-light\"\n /> -->\n\n <h3\n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Tickets\n </h3>\n\n \n <h3\n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Special Details\n </h3>\n\n\n <Checkbox \n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n :label=\"'Special'\"\n :radio=\"event.special\"\n @update:radio=\"updateEvent => event.special = !event.special\"\n class=\"mn-b-semi w-100 bg-black t-white pd-medium radius-small\"\n />\n\n <div \n v-if=\"event.special\"\n class=\"mn-b-semi\"\n >\n <h4\n class=\"mn-b-thin\"\n >\n Hero Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.subtitle\" \n placeholder=\"Event subtitle\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <EditImages \n :images=\"event.specialData.logos\"\n :uploadPath=\"'/specials'\" \n :text=\"{\n title: 'Drag & Drop Your Logos Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n }\"\n :options=\"{\n showTitle: true,\n showText: false\n }\"\n @update:images=\"(newImages) => event.specialData.logos = newImages\" \n class=\"mn-b-thin bg-light radius-small\"\n />\n <h5\n class=\"mn-b-thin\"\n >\n Video in Hero Section\n </h5>\n <p>Need to upload in webm format because of needs of optimization</p>\n <Upload \n v-model:field=\"event.specialData.video\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.video = videoURL\"\n uploadPath=\"specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <h5\n class=\"mn-b-thin\"\n >\n Ticket\n </h5>\n\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n > \n <UploadImage \n v-model:photo=\"event.specialData.ticketImage\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-4r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <Field \n v-model:field=\"event.specialData.ticketPrice\" \n type=\"number\"\n placeholder=\"Ticket price in baht\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field\n v-model:field=\"event.specialData.ticketText\"\n placeholder=\"Promotion text for ticket in hero \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n <Field\n v-model:field=\"event.specialData.ticketTextButton\"\n placeholder=\"Text on 'Buy Ticket' button \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n \n </div>\n </div>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Guest Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.guestTitle\" \n placeholder=\"Title for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestDescription\" \n placeholder=\"Description for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <div class=\"gap-thin cols-3\">\n \n <Field \n v-model:field=\"event.specialData.guestFacebook\" \n placeholder=\"Facebook of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestInstagram\" \n placeholder=\"Instagram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestTwitter\" \n placeholder=\"Twitter of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n\n <Field \n v-model:field=\"event.specialData.guestTelegram\" \n placeholder=\"Telegram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSoundcloud\" \n placeholder=\"Link to Main Guest soundcloud track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSpotify\" \n placeholder=\"Link to Main guest spotify track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestYoutube\" \n placeholder=\"Link to Main guest youtube video\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n </div>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Guests Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.guestVideo\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.guestVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <Block\n title=\"Guests\"\n placeholder=\"No guests added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.guests.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 mn-b-thin t-black gap-thin\"\n >\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n v-for=\"(item, index) in event.specialData.guests\" \n :key=\"index\"\n > \n <UploadImage \n v-model:photo=\"item.photo\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <div class=\"w-100\">\n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.description\"\n placeholder=\"Description\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n />\n </div>\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.guests.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </div>\n </Block>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Lineup Section\n </h4>\n\n <Block\n title=\"Line Up\"\n placeholder=\"No line ups added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.lineup.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 t-black gap-thin\"\n >\n <div \n class=\"mn-b-thin gap-small flex-nowrap flex\" \n v-for=\"(item, index) in event.specialData.lineup\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.time\"\n placeholder=\"Time\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.lineup.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </Block>\n\n <h5\n class=\"mn-b-thin\"\n >\n Background in Lineup Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.lineupBackground\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.lineupBackground = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Previous Party Section\n </h4>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Previous Partys Section\n </h5>\n\n <Field\n v-model:field=\"event.specialData.previousTitle\"\n placeholder=\"Title\"\n :value=\"event.specialData.previousDescription || 'Explore our exclusive party archive'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousDescription\"\n label=\"Description\"\n :value=\"event.specialData.previousDescription || 'Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLinkText\"\n label=\"Button\"\n :value=\"event.specialData.previousLinkText || 'Check In Instagram'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLink\"\n label=\"Link\"\n :value=\"event.specialData.previousLink || 'https://www.instagram.com/thecommune.phuket/'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n \n <Upload \n v-model:field=\"event.specialData.previousVideo\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.previousVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n </div>\n\n <h3 class=\"mn-b-small\">Description</h3>\n\t\t<section v-if=\"event\" class=\"pd-b-extra w-100 bg-light pd-big radius-big\">\n <Constructor \n :content=\"event.content\"\n @update=\"update => event.content = update\"\n />\n </section>\n\n <section v-if=\"event\" class=\"pd-thin pos-sticky pos-l-0 pos-b-0 w-100 \">\n <div class=\"pd-thin radius-big bg-main w-100 flex-nowrap flex\">\n <a v-if=\"route.params.url\" @click=\"onDelete()\" class=\"mn-r-auto bg-red t-white t-black button\">Delete</a>\n <a @click=\"onDrafts()\" class=\"mn-l-auto bg-white t-black button\">To Drafts</a>\n <a @click=\"openPublicationPopup()\" class=\"mn-l-thin bg-black t-white button\">Publish</a>\n </div>\n </section>\n\n <Popup \n title=\"Final Touches\" \n @close-popup=\"closePublicationPopup\" \n :isPopupOpen=\"isPublicationPopup\"\n class=\"w-m-33r t-left pd-big bg-white radius-big\"\n > \n <BlockTags\n @tags-changed=\"newTags => event.tags = newTags\"\n :tags=\"event.tags\"\n class=\"mn-b-small\"\n />\n\n <h5 class=\"mn-b-thin\">Add to public</h5>\n <Card\n v-if=\"selectedOrganization\"\n :photo=\"selectedOrganization.profile?.photo\"\n :title=\"selectedOrganization.profile?.name\"\n @click=\"() => { \n selectedOrganization = null\n }\"\n class=\"h-4r w-100 bg-light pd-thin radius-medium mn-b-thin\"\n />\n\n <section v-else class=\"mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small \">\n <Feed\n :showLoadMore=\"false\" \n :search=\"{\n placeholder: 'Search organization...',\n class: 'bg-white mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No organizations Found',\n description: 'Currently, there are no such organizations available.'\n }\n }\"\n :store=\"{\n read: (options) => organizations.actions.read(options),\n state: null\n }\"\n :options=\"{\n user: auth.state.user._id,\n postable: auth.state.user._id\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <Card\n v-for=\"(organization, index) in items\" \n v-memo=\"[organization._id, organization.profile.name]\"\n :photo=\"organization.profile?.photo\"\n :title=\"organization.profile?.name\"\n @click=\"() => { \n selectedOrganization = organization\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </section>\n\n \n <h5 v-if=\"selectedOrganization\" class=\"mn-b-thin\">Options:</h5>\n <div v-if=\"selectedOrganization\" class=\"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big\">\n <Checkbox \n :label=\"'Hide Author'\"\n :radio=\"event.creator.hidden\"\n @update:radio=\"updateEvent => event.creator.hidden = updateEvent\"\n name=\"prices\"\n class=\"w-100\"\n />\n </div>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"w-100 bg-black t-white\">Publish</Button>\n </Popup>\n </article>\n</template>\n\n<script setup>\nimport Textarea from '@pf/src/modules/constructor/components/elements/Textarea.vue';\nimport Constructor from '@pf/src/modules/constructor/components/sections/Constructor.vue';\n\nimport VueDatePicker from '@vuepic/vue-datepicker';\nimport '@vuepic/vue-datepicker/dist/main.css'\n\n\n\nimport Calendar from '@pf/src/components/DatePicker/Calendar.vue'\n\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 BlockTags from '@pf/src/components/FieldTags/BlockTags.vue';\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue';\nimport Upload from '@pf/src/components/Upload/Upload.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\nimport EditImages from '@pf/src/components/EditImages/EditImages.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport Card from '@pf/src/modules/globals/views/components/blocks/Card.vue';\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.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\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\nlet publics = ref(null);\n\nconst selectedTags = ref([]);\nconst selectedOrganization = ref(null);\n\n\nconst date = ref(new Date);\nconst customPosition = () => ({ top: 0, left: 0 });\n\n\nonMounted(async () =>{\n \n if (route.params.url) {\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n\n console.log(event.value)\n\n const startDate = event.value.date.start;\n const endDate = event.value.date.end;\n\n date.value = [startDate, endDate];\n\n } else {\n events.clean();\n event.value = events.state.current;\n\n const startDate = new Date();\n const endDate = new Date();\n date.value = [startDate, endDate];\n }\n\n if (!event.value.owner) event.value.owner = {\n target: auth.state.user._id,\n type: 'user'\n }\n\n if (!event.value.creator) event.value.creator = {\n target: auth.state.user._id,\n type: 'user',\n hidden: false\n }\n\n if (event.value.owner.type === 'organization') selectedOrganization.value = {\n _id: event.value.owner.target._id,\n name: event.value.owner.target.profile.name,\n photo: event.value.owner.target.profile.photo\n }\n})\n\nconst isPublicationPopup = ref(false)\n\nfunction openPublicationPopup() {\n isPublicationPopup.value = true;\n}\nfunction closePublicationPopup() {\n isPublicationPopup.value = false;\n}\n\nfunction onDrafts() {\n\n if (selectedTags.value.length > 0) selectedTags.value.map(tag => (tag.text))\n\n event.value.status = \"draft\"\n \n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n if (route.params.url) {\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n\nfunction onSubmit() {\n\n if (selectedOrganization.value) event.value.owner = {\n target: selectedOrganization.value._id,\n type: 'organization'\n }\n\n if (!selectedOrganization.value) event.value.creator.hidden = false\n if (!selectedOrganization.value) event.value.organization = event.value.creator\n\n event.value.status = \"published\"\n\n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n console.log(date.value)\n if (route.params.url) {\n console.log(event.value)\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n }\n}\n\nfunction onDelete() {\n if (confirm('Are you sure you want to delete this event?')) {\n events.remove(event.value._id)\n .then(response => {\n router.push({ name: 'User Events', params: { _id: event.value.creator.target._id } });\n })\n .catch(error => {\n console.error(error);\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(--light));\n border-radius: var(--small);\n }\n</style>"],"names":["events.read","auth.state","events.clean","events.state","events.update","events.create","events.remove"],"mappings":"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"}
|
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
5
5
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
6
|
-
const Popup = require("../../../../components/Popup/Popup.
|
6
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
7
7
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
8
8
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
9
9
|
const ButtonCheck = require("../elements/ButtonCheck.vue.cjs");
|
@@ -20,15 +20,14 @@ const _hoisted_1 = {
|
|
20
20
|
class: "h-100 pd-thin"
|
21
21
|
};
|
22
22
|
const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
|
23
|
-
const _hoisted_3 =
|
24
|
-
const _hoisted_4 =
|
25
|
-
const _hoisted_5 =
|
26
|
-
const _hoisted_6 = ["
|
27
|
-
const _hoisted_7 =
|
28
|
-
const _hoisted_8 = { class: "
|
29
|
-
const _hoisted_9 = { class: "
|
30
|
-
const _hoisted_10 = { class: "
|
31
|
-
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" };
|
23
|
+
const _hoisted_3 = ["onClick"];
|
24
|
+
const _hoisted_4 = { class: "radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin" };
|
25
|
+
const _hoisted_5 = ["href"];
|
26
|
+
const _hoisted_6 = ["src"];
|
27
|
+
const _hoisted_7 = { class: "mn-r-auto" };
|
28
|
+
const _hoisted_8 = { class: "h4" };
|
29
|
+
const _hoisted_9 = { class: "h5 t-transp mn-b-thin" };
|
30
|
+
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" };
|
32
31
|
const _sfc_main = {
|
33
32
|
__name: "EditEventTickets",
|
34
33
|
setup(__props) {
|
@@ -84,7 +83,7 @@ const _sfc_main = {
|
|
84
83
|
return (_ctx, _cache) => {
|
85
84
|
return vue.unref(event) ? (vue.openBlock(), vue.createElementBlock("article", _hoisted_1, [
|
86
85
|
vue.createElementVNode("header", _hoisted_2, [
|
87
|
-
|
86
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h2", { class: "mn-r-medium" }, "Tickets", -1)),
|
88
87
|
vue.createElementVNode("button", {
|
89
88
|
onClick: _cache[0] || (_cache[0] = ($event) => openTicketsPopup()),
|
90
89
|
class: "radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"
|
@@ -149,7 +148,7 @@ const _sfc_main = {
|
|
149
148
|
class: "i-medium",
|
150
149
|
fill: "rgb(var(--white)"
|
151
150
|
})
|
152
|
-
], 8,
|
151
|
+
], 8, _hoisted_3))
|
153
152
|
]);
|
154
153
|
}), 128)),
|
155
154
|
vue.createVNode(Button.default, {
|
@@ -157,9 +156,9 @@ const _sfc_main = {
|
|
157
156
|
callback: closeTicketsPopup,
|
158
157
|
class: "w-100 bg-black t-white"
|
159
158
|
}, {
|
160
|
-
default: vue.withCtx(() => [
|
159
|
+
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
161
160
|
vue.createTextVNode(" Create Tickets ")
|
162
|
-
]),
|
161
|
+
])),
|
163
162
|
_: 1
|
164
163
|
})
|
165
164
|
]),
|
@@ -190,7 +189,7 @@ const _sfc_main = {
|
|
190
189
|
}) => [
|
191
190
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items, (ticket, index) => {
|
192
191
|
var _a2, _b;
|
193
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
192
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
194
193
|
vue.createElementVNode("a", {
|
195
194
|
href: ticket.image,
|
196
195
|
target: "_blank"
|
@@ -199,12 +198,12 @@ const _sfc_main = {
|
|
199
198
|
loading: "lazy",
|
200
199
|
src: ticket.qrcode,
|
201
200
|
class: "radius-small h-5r w-5r"
|
202
|
-
}, null, 8,
|
203
|
-
], 8,
|
204
|
-
vue.createElementVNode("div",
|
205
|
-
vue.createElementVNode("p",
|
206
|
-
vue.createElementVNode("p",
|
207
|
-
vue.createElementVNode("span",
|
201
|
+
}, null, 8, _hoisted_6)
|
202
|
+
], 8, _hoisted_5),
|
203
|
+
vue.createElementVNode("div", _hoisted_7, [
|
204
|
+
vue.createElementVNode("p", _hoisted_8, vue.toDisplayString(((_a2 = ticket.client_refactor) == null ? void 0 : _a2.name) || "No name") + ", " + vue.toDisplayString(ticket.role), 1),
|
205
|
+
vue.createElementVNode("p", _hoisted_9, vue.toDisplayString(((_b = ticket.client_refactor) == null ? void 0 : _b.email) || "No email"), 1),
|
206
|
+
vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(ticket.status), 1)
|
208
207
|
]),
|
209
208
|
ticket.status !== "deactivated" ? (vue.openBlock(), vue.createBlock(Button.default, {
|
210
209
|
key: 0,
|
@@ -212,9 +211,9 @@ const _sfc_main = {
|
|
212
211
|
callback: _ctx.redirectTo,
|
213
212
|
class: "w-min h-min pd-small bg-black t-white"
|
214
213
|
}, {
|
215
|
-
default: vue.withCtx(() => [
|
214
|
+
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
216
215
|
vue.createTextVNode(" Deactivate ")
|
217
|
-
]),
|
216
|
+
])),
|
218
217
|
_: 2
|
219
218
|
}, 1032, ["submit", "callback"])) : vue.createCommentVNode("", true),
|
220
219
|
ticket.status === "deactivated" || ticket.status === "used" ? (vue.openBlock(), vue.createBlock(Button.default, {
|
@@ -223,9 +222,9 @@ const _sfc_main = {
|
|
223
222
|
callback: _ctx.redirectTo,
|
224
223
|
class: "w-min h-min pd-small bg-green t-white"
|
225
224
|
}, {
|
226
|
-
default: vue.withCtx(() => [
|
225
|
+
default: vue.withCtx(() => _cache[6] || (_cache[6] = [
|
227
226
|
vue.createTextVNode(" Activate ")
|
228
|
-
]),
|
227
|
+
])),
|
229
228
|
_: 2
|
230
229
|
}, 1032, ["submit", "callback"])) : vue.createCommentVNode("", true)
|
231
230
|
]);
|
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditEventTickets.vue.cjs","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":["useRoute","useRouter","ref","_a","onMounted","events.read","auth.state","tickets.actions"],"mappings":"
|
1
|
+
{"version":3,"file":"EditEventTickets.vue.cjs","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":["useRoute","useRouter","ref","_a","onMounted","events.read","auth.state","tickets.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2JA,UAAM,QAAQA,UAAQ,SAAA;AACPC,cAAAA,UAAY;AAE3B,QAAI,QAAQC,IAAAA,IAAI,IAAI;AAEpB,UAAM,aAAaA,IAAG,IAAC,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,qBAAqBA,IAAAA,IAAI,KAAK;AAEpC,aAAS,iBAAiB,YAAY;;AACpC,yBAAmB,QAAQ;AAE3B,iBAAW,QAAQ,CAAC;AAAA,QAClB,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAQC,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,eAAeD,IAAG,IAAC,KAAK;AAG9BE,QAAAA,UAAU,YAAW;AACnB,YAAM,OAAO,MAAMC,OAAAA,KAAY,EAAE,MAAMC,KAAAA,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK;IACrB,CAAC;AAED,mBAAe,WAAW;AACxB,UAAI;AACF,cAAM,WAAW,MAAMC,QAAe,QAAC,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,QAAAA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|