@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
package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs
CHANGED
@@ -2,55 +2,47 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const reports = require("../../store/reports.cjs");
|
5
|
-
const _hoisted_1 =
|
6
|
-
|
7
|
-
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const
|
11
|
-
const
|
12
|
-
const _hoisted_6 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
13
|
-
const _hoisted_7 = { class: "t-black p-small mn-b-small" };
|
14
|
-
const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("span", { class: "uppercase t-transp" }, "Type", -1);
|
15
|
-
const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("br", null, null, -1);
|
16
|
-
const _hoisted_10 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
17
|
-
const _hoisted_11 = { class: "t-black p-small mn-b-small" };
|
18
|
-
const _hoisted_12 = /* @__PURE__ */ vue.createElementVNode("span", { class: "uppercase t-transp" }, "Reason", -1);
|
19
|
-
const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("br", null, null, -1);
|
20
|
-
const _hoisted_14 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
21
|
-
const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("div", { class: "gap-thin flex-nowrap flex" }, [
|
22
|
-
/* @__PURE__ */ vue.createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Close Report "),
|
23
|
-
/* @__PURE__ */ vue.createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Hide Content ")
|
24
|
-
], -1);
|
5
|
+
const _hoisted_1 = { class: "cols-3 gap-thin" };
|
6
|
+
const _hoisted_2 = { class: "t-black p-small mn-b-small" };
|
7
|
+
const _hoisted_3 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
8
|
+
const _hoisted_4 = { class: "t-black p-small mn-b-small" };
|
9
|
+
const _hoisted_5 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
10
|
+
const _hoisted_6 = { class: "t-black p-small mn-b-small" };
|
11
|
+
const _hoisted_7 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
25
12
|
const _sfc_main = {
|
26
13
|
__name: "BackofficeReports",
|
27
14
|
setup(__props) {
|
28
15
|
reports.actions.read();
|
29
16
|
return (_ctx, _cache) => {
|
30
17
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
31
|
-
|
32
|
-
|
18
|
+
_cache[7] || (_cache[7] = vue.createElementVNode("div", { class: "flex-v-center flex-nowrap flex mn-b-medium" }, [
|
19
|
+
vue.createElementVNode("h3", { class: "mn-r-medium" }, "Reports")
|
20
|
+
], -1)),
|
21
|
+
vue.createElementVNode("div", _hoisted_1, [
|
33
22
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(reports.state).all, (report) => {
|
34
23
|
return vue.openBlock(), vue.createElementBlock("div", {
|
35
24
|
key: report._id,
|
36
25
|
class: "radius-medium pd-small bg-light"
|
37
26
|
}, [
|
38
|
-
vue.createElementVNode("p",
|
39
|
-
|
40
|
-
|
41
|
-
vue.createElementVNode("span",
|
27
|
+
vue.createElementVNode("p", _hoisted_2, [
|
28
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "uppercase t-transp" }, "User", -1)),
|
29
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("br", null, null, -1)),
|
30
|
+
vue.createElementVNode("span", _hoisted_3, vue.toDisplayString(report.user), 1)
|
42
31
|
]),
|
43
|
-
vue.createElementVNode("p",
|
44
|
-
|
45
|
-
|
46
|
-
vue.createElementVNode("span",
|
32
|
+
vue.createElementVNode("p", _hoisted_4, [
|
33
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "uppercase t-transp" }, "Type", -1)),
|
34
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("br", null, null, -1)),
|
35
|
+
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(report.type), 1)
|
47
36
|
]),
|
48
|
-
vue.createElementVNode("p",
|
49
|
-
|
50
|
-
|
51
|
-
vue.createElementVNode("span",
|
37
|
+
vue.createElementVNode("p", _hoisted_6, [
|
38
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("span", { class: "uppercase t-transp" }, "Reason", -1)),
|
39
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("br", null, null, -1)),
|
40
|
+
vue.createElementVNode("span", _hoisted_7, vue.toDisplayString(report.reason), 1)
|
52
41
|
]),
|
53
|
-
|
42
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "gap-thin flex-nowrap flex" }, [
|
43
|
+
vue.createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Close Report "),
|
44
|
+
vue.createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Hide Content ")
|
45
|
+
], -1))
|
54
46
|
]);
|
55
47
|
}), 128))
|
56
48
|
])
|
package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BackofficeReports.vue.cjs","sources":["../../../../../../../src/modules/reports/components/pages/BackofficeReports.vue"],"sourcesContent":["<template>\n <div>\n <div class=\"flex-v-center flex-nowrap flex mn-b-medium\">\n <h3 class=\"mn-r-medium\">Reports</h3> <!-- Updated this line -->\n </div>\n\n <div class=\"cols-3 gap-thin\">\n <div \n v-for=\"report in state.all\"\n :key=\"report._id\"\n class=\"radius-medium pd-small bg-light\"\n >\n <!-- Here, you should update the properties of the report object to reflect the actual structure of a report -->\n <!-- For example, I'm using 'user', 'type', and 'reason'. You should replace them with actual report properties -->\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">User</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.user}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Type</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.type}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Reason</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.reason}}</span> <!-- Updated this line -->\n </p>\n\n <div class=\"gap-thin flex-nowrap flex\">\n <!-- Update buttons and actions as needed -->\n <button class=\"button-small w-100 bg-black t-white button\">\n Close Report\n </button>\n <button class=\"button-small w-100 bg-black t-white button\">\n Hide Content\n </button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nimport { actions as reportActions, state } from '../../store/reports'; // Update the import path\n\n// You might want to handle other lifecycle hooks or methods depending on your needs.\n// Here, I'll demonstrate using the 'deleteReport' method as an example.\n\nconst deleteReport = async (id) => {\n try {\n await reportActions.remove({ _id: id }); // Updated method name and parameter\n // Optionally, add a notification about successful deletion here\n } catch (error) {\n console.error(error);\n // Optionally, add a notification about the error here\n }\n};\n\n// Fetch all reports on component mount. This part depends on how your store is structured.\nreportActions.read(); // Updated method name\n</script>\n"],"names":["reportActions"],"mappings":"
|
1
|
+
{"version":3,"file":"BackofficeReports.vue.cjs","sources":["../../../../../../../src/modules/reports/components/pages/BackofficeReports.vue"],"sourcesContent":["<template>\n <div>\n <div class=\"flex-v-center flex-nowrap flex mn-b-medium\">\n <h3 class=\"mn-r-medium\">Reports</h3> <!-- Updated this line -->\n </div>\n\n <div class=\"cols-3 gap-thin\">\n <div \n v-for=\"report in state.all\"\n :key=\"report._id\"\n class=\"radius-medium pd-small bg-light\"\n >\n <!-- Here, you should update the properties of the report object to reflect the actual structure of a report -->\n <!-- For example, I'm using 'user', 'type', and 'reason'. You should replace them with actual report properties -->\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">User</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.user}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Type</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.type}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Reason</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.reason}}</span> <!-- Updated this line -->\n </p>\n\n <div class=\"gap-thin flex-nowrap flex\">\n <!-- Update buttons and actions as needed -->\n <button class=\"button-small w-100 bg-black t-white button\">\n Close Report\n </button>\n <button class=\"button-small w-100 bg-black t-white button\">\n Hide Content\n </button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nimport { actions as reportActions, state } from '../../store/reports'; // Update the import path\n\n// You might want to handle other lifecycle hooks or methods depending on your needs.\n// Here, I'll demonstrate using the 'deleteReport' method as an example.\n\nconst deleteReport = async (id) => {\n try {\n await reportActions.remove({ _id: id }); // Updated method name and parameter\n // Optionally, add a notification about successful deletion here\n } catch (error) {\n console.error(error);\n // Optionally, add a notification about the error here\n }\n};\n\n// Fetch all reports on component mount. This part depends on how your store is structured.\nreportActions.read(); // Updated method name\n</script>\n"],"names":["reportActions"],"mappings":";;;;;;;;;;;;;;AAiEAA,YAAa,QAAC,KAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js
CHANGED
@@ -1,54 +1,46 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString } from "vue";
|
2
2
|
import { actions, state } from "../../store/reports.js";
|
3
|
-
const _hoisted_1 =
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const _hoisted_6 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
11
|
-
const _hoisted_7 = { class: "t-black p-small mn-b-small" };
|
12
|
-
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "uppercase t-transp" }, "Type", -1);
|
13
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
14
|
-
const _hoisted_10 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
15
|
-
const _hoisted_11 = { class: "t-black p-small mn-b-small" };
|
16
|
-
const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", { class: "uppercase t-transp" }, "Reason", -1);
|
17
|
-
const _hoisted_13 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
18
|
-
const _hoisted_14 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
19
|
-
const _hoisted_15 = /* @__PURE__ */ createElementVNode("div", { class: "gap-thin flex-nowrap flex" }, [
|
20
|
-
/* @__PURE__ */ createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Close Report "),
|
21
|
-
/* @__PURE__ */ createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Hide Content ")
|
22
|
-
], -1);
|
3
|
+
const _hoisted_1 = { class: "cols-3 gap-thin" };
|
4
|
+
const _hoisted_2 = { class: "t-black p-small mn-b-small" };
|
5
|
+
const _hoisted_3 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
6
|
+
const _hoisted_4 = { class: "t-black p-small mn-b-small" };
|
7
|
+
const _hoisted_5 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
8
|
+
const _hoisted_6 = { class: "t-black p-small mn-b-small" };
|
9
|
+
const _hoisted_7 = { class: "pd-2px radius-big d-inline-block bg-light t-semi" };
|
23
10
|
const _sfc_main = {
|
24
11
|
__name: "BackofficeReports",
|
25
12
|
setup(__props) {
|
26
13
|
actions.read();
|
27
14
|
return (_ctx, _cache) => {
|
28
15
|
return openBlock(), createElementBlock("div", null, [
|
29
|
-
|
30
|
-
|
16
|
+
_cache[7] || (_cache[7] = createElementVNode("div", { class: "flex-v-center flex-nowrap flex mn-b-medium" }, [
|
17
|
+
createElementVNode("h3", { class: "mn-r-medium" }, "Reports")
|
18
|
+
], -1)),
|
19
|
+
createElementVNode("div", _hoisted_1, [
|
31
20
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(state).all, (report) => {
|
32
21
|
return openBlock(), createElementBlock("div", {
|
33
22
|
key: report._id,
|
34
23
|
class: "radius-medium pd-small bg-light"
|
35
24
|
}, [
|
36
|
-
createElementVNode("p",
|
37
|
-
|
38
|
-
|
39
|
-
createElementVNode("span",
|
25
|
+
createElementVNode("p", _hoisted_2, [
|
26
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "uppercase t-transp" }, "User", -1)),
|
27
|
+
_cache[1] || (_cache[1] = createElementVNode("br", null, null, -1)),
|
28
|
+
createElementVNode("span", _hoisted_3, toDisplayString(report.user), 1)
|
40
29
|
]),
|
41
|
-
createElementVNode("p",
|
42
|
-
|
43
|
-
|
44
|
-
createElementVNode("span",
|
30
|
+
createElementVNode("p", _hoisted_4, [
|
31
|
+
_cache[2] || (_cache[2] = createElementVNode("span", { class: "uppercase t-transp" }, "Type", -1)),
|
32
|
+
_cache[3] || (_cache[3] = createElementVNode("br", null, null, -1)),
|
33
|
+
createElementVNode("span", _hoisted_5, toDisplayString(report.type), 1)
|
45
34
|
]),
|
46
|
-
createElementVNode("p",
|
47
|
-
|
48
|
-
|
49
|
-
createElementVNode("span",
|
35
|
+
createElementVNode("p", _hoisted_6, [
|
36
|
+
_cache[4] || (_cache[4] = createElementVNode("span", { class: "uppercase t-transp" }, "Reason", -1)),
|
37
|
+
_cache[5] || (_cache[5] = createElementVNode("br", null, null, -1)),
|
38
|
+
createElementVNode("span", _hoisted_7, toDisplayString(report.reason), 1)
|
50
39
|
]),
|
51
|
-
|
40
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "gap-thin flex-nowrap flex" }, [
|
41
|
+
createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Close Report "),
|
42
|
+
createElementVNode("button", { class: "button-small w-100 bg-black t-white button" }, " Hide Content ")
|
43
|
+
], -1))
|
52
44
|
]);
|
53
45
|
}), 128))
|
54
46
|
])
|
package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BackofficeReports.vue.js","sources":["../../../../../../../src/modules/reports/components/pages/BackofficeReports.vue"],"sourcesContent":["<template>\n <div>\n <div class=\"flex-v-center flex-nowrap flex mn-b-medium\">\n <h3 class=\"mn-r-medium\">Reports</h3> <!-- Updated this line -->\n </div>\n\n <div class=\"cols-3 gap-thin\">\n <div \n v-for=\"report in state.all\"\n :key=\"report._id\"\n class=\"radius-medium pd-small bg-light\"\n >\n <!-- Here, you should update the properties of the report object to reflect the actual structure of a report -->\n <!-- For example, I'm using 'user', 'type', and 'reason'. You should replace them with actual report properties -->\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">User</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.user}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Type</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.type}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Reason</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.reason}}</span> <!-- Updated this line -->\n </p>\n\n <div class=\"gap-thin flex-nowrap flex\">\n <!-- Update buttons and actions as needed -->\n <button class=\"button-small w-100 bg-black t-white button\">\n Close Report\n </button>\n <button class=\"button-small w-100 bg-black t-white button\">\n Hide Content\n </button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nimport { actions as reportActions, state } from '../../store/reports'; // Update the import path\n\n// You might want to handle other lifecycle hooks or methods depending on your needs.\n// Here, I'll demonstrate using the 'deleteReport' method as an example.\n\nconst deleteReport = async (id) => {\n try {\n await reportActions.remove({ _id: id }); // Updated method name and parameter\n // Optionally, add a notification about successful deletion here\n } catch (error) {\n console.error(error);\n // Optionally, add a notification about the error here\n }\n};\n\n// Fetch all reports on component mount. This part depends on how your store is structured.\nreportActions.read(); // Updated method name\n</script>\n"],"names":["reportActions"],"mappings":"
|
1
|
+
{"version":3,"file":"BackofficeReports.vue.js","sources":["../../../../../../../src/modules/reports/components/pages/BackofficeReports.vue"],"sourcesContent":["<template>\n <div>\n <div class=\"flex-v-center flex-nowrap flex mn-b-medium\">\n <h3 class=\"mn-r-medium\">Reports</h3> <!-- Updated this line -->\n </div>\n\n <div class=\"cols-3 gap-thin\">\n <div \n v-for=\"report in state.all\"\n :key=\"report._id\"\n class=\"radius-medium pd-small bg-light\"\n >\n <!-- Here, you should update the properties of the report object to reflect the actual structure of a report -->\n <!-- For example, I'm using 'user', 'type', and 'reason'. You should replace them with actual report properties -->\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">User</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.user}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Type</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.type}}</span> <!-- Updated this line -->\n </p>\n\n <p class=\"t-black p-small mn-b-small\">\n <span class=\"uppercase t-transp\">Reason</span>\n <br> \n <span class=\"pd-2px radius-big d-inline-block bg-light t-semi\">{{report.reason}}</span> <!-- Updated this line -->\n </p>\n\n <div class=\"gap-thin flex-nowrap flex\">\n <!-- Update buttons and actions as needed -->\n <button class=\"button-small w-100 bg-black t-white button\">\n Close Report\n </button>\n <button class=\"button-small w-100 bg-black t-white button\">\n Hide Content\n </button>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nimport { actions as reportActions, state } from '../../store/reports'; // Update the import path\n\n// You might want to handle other lifecycle hooks or methods depending on your needs.\n// Here, I'll demonstrate using the 'deleteReport' method as an example.\n\nconst deleteReport = async (id) => {\n try {\n await reportActions.remove({ _id: id }); // Updated method name and parameter\n // Optionally, add a notification about successful deletion here\n } catch (error) {\n console.error(error);\n // Optionally, add a notification about the error here\n }\n};\n\n// Fetch all reports on component mount. This part depends on how your store is structured.\nreportActions.read(); // Updated method name\n</script>\n"],"names":["reportActions"],"mappings":";;;;;;;;;;;;AAiEAA,YAAc,KAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs
CHANGED
@@ -1,13 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Popup = require("../../../../components/Popup/Popup.
|
4
|
+
const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
|
5
5
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
6
|
-
const Select = require("../../../../components/Select/Select.
|
6
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
7
7
|
const reports = require("../../store/reports.cjs");
|
8
|
-
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
|
9
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1);
|
10
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1);
|
11
8
|
const _sfc_main = {
|
12
9
|
__name: "FormReport",
|
13
10
|
props: {
|
@@ -69,8 +66,8 @@ const _sfc_main = {
|
|
69
66
|
class: "w-m-33r t-left pd-big bg-white radius-big"
|
70
67
|
}, {
|
71
68
|
default: vue.withCtx(() => [
|
72
|
-
|
73
|
-
|
69
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1)),
|
70
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1)),
|
74
71
|
vue.createVNode(Select.default, {
|
75
72
|
select: form.reason,
|
76
73
|
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => form.reason = $event),
|
@@ -85,15 +82,15 @@ const _sfc_main = {
|
|
85
82
|
placeholder: "Select reason",
|
86
83
|
class: "mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"
|
87
84
|
}, null, 8, ["select"]),
|
88
|
-
|
85
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1)),
|
89
86
|
vue.createVNode(Button.default, {
|
90
87
|
submit: onSubmit,
|
91
88
|
callback: closeReportPopup,
|
92
89
|
class: "w-100 bg-black t-white"
|
93
90
|
}, {
|
94
|
-
default: vue.withCtx(() => [
|
91
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
95
92
|
vue.createTextVNode(" Report ")
|
96
|
-
]),
|
93
|
+
])),
|
97
94
|
_: 1
|
98
95
|
})
|
99
96
|
]),
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FormReport.vue.cjs","sources":["../../../../../../../src/modules/reports/components/sections/FormReport.vue"],"sourcesContent":["<template>\n\n\t<div \n\t\t@click.native=\"openReportPopup()\"\n\t>\n\t\t<slot></slot>\n\n\t\t<Popup \n\t\t @close-popup=\"closeReportPopup\" \n\t\t :isPopupOpen=\"isReportPopup\"\n\t\t class=\"w-m-33r t-left pd-big bg-white radius-big\"\n\t\t>\n\t\t <h3 \n\t\t \tclass=\"mn-b-small\"\n\t\t >\n\t\t\t\tReport Content\n\t\t\t</h3>\n\t\t \n\t\t <p \n\t\t \tclass=\"p-medium mn-b-small\"\n\t\t >\n\t\t \tWe strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it:\n\t\t </p>\n\t\t <Select \n\t\t\t\tv-model:select=\"form.reason\" \n\t\t :options=\"[\n\t\t \t'harassment',\n\t\t \t'spam',\n\t\t \t'inappropriate',\n\t\t \t'misinformation',\n\t\t \t'copyright',\n\t\t \t'other'\n\t\t ]\"\n\t\t :placeholder=\"'Select reason'\"\n\t\t\t\tclass=\"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium\"\n\t\t />\n\t\t \n\t\t <p class=\"p-medium mn-b-small\">Our moderators will review your report within 24 hours and take action if it violates our policies.</p>\n\t\t \n\t\t <Button \n\t\t \t:submit=\"onSubmit\" \n\t\t \t:callback=\"closeReportPopup\" \n\t\t \tclass=\"w-100 bg-black t-white\">\n\t\t \tReport\n\t\t </Button>\n\t\t</Popup>\n\t</div>\n</template>\n\n<script setup=\"props\">\n\t// Dependencies\n\timport { computed,ref,reactive } from 'vue'\n\t// Elements Import\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\timport Button from '@pf/src/components/Button/Button.vue';\n\timport Select from '@pf/src/components/Select/Select.vue';\n\t// Store Import\n\timport * as reports from '@pf/src/modules/reports/store/reports'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n \tconst props = defineProps({\n \t\tuser: {\n type: String,\n required: false\n },\n type: {\n type: String,\n required: false\n },\n reason: {\n type: String,\n required: false\n },\n target: {\n type: String,\n required: true\n },\n\t text: {\n\t\t\ttype: String,\n\t\t\tdefault: '!'\n\t\t},\n status: {\n type: String,\n default: 'new'\n }\n \t})\n \t// ///////////////////////////////////////\n \t// Form Logic\n \t// ///////////////////////////////////////\n \tconst form = reactive({\n\t\tuser: props.user,\n\t\ttype: props.type,\n\t\treason: props.reason, \n\t\ttarget: props.target,\n\t\tstatus: props.status,\n\t})\n\n\tfunction onSubmit () {\n\t if (form.user === null) {\n\t \tdelete form.user\n\t }\n\t \treports.actions.create(form)\n\t}\n \t// ///////////////////////////////////////\n\t// Popup logic\n\t// ///////////////////////////////////////\n\tconst isReportPopup = ref(false)\n\n\tfunction openReportPopup() {\n\t isReportPopup.value = true;\n\t}\n\tfunction closeReportPopup() {\n\t isReportPopup.value = false;\n\t}\n</script>"],"names":["reactive","reports.actions","ref"],"mappings":"
|
1
|
+
{"version":3,"file":"FormReport.vue.cjs","sources":["../../../../../../../src/modules/reports/components/sections/FormReport.vue"],"sourcesContent":["<template>\n\n\t<div \n\t\t@click.native=\"openReportPopup()\"\n\t>\n\t\t<slot></slot>\n\n\t\t<Popup \n\t\t @close-popup=\"closeReportPopup\" \n\t\t :isPopupOpen=\"isReportPopup\"\n\t\t class=\"w-m-33r t-left pd-big bg-white radius-big\"\n\t\t>\n\t\t <h3 \n\t\t \tclass=\"mn-b-small\"\n\t\t >\n\t\t\t\tReport Content\n\t\t\t</h3>\n\t\t \n\t\t <p \n\t\t \tclass=\"p-medium mn-b-small\"\n\t\t >\n\t\t \tWe strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it:\n\t\t </p>\n\t\t <Select \n\t\t\t\tv-model:select=\"form.reason\" \n\t\t :options=\"[\n\t\t \t'harassment',\n\t\t \t'spam',\n\t\t \t'inappropriate',\n\t\t \t'misinformation',\n\t\t \t'copyright',\n\t\t \t'other'\n\t\t ]\"\n\t\t :placeholder=\"'Select reason'\"\n\t\t\t\tclass=\"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium\"\n\t\t />\n\t\t \n\t\t <p class=\"p-medium mn-b-small\">Our moderators will review your report within 24 hours and take action if it violates our policies.</p>\n\t\t \n\t\t <Button \n\t\t \t:submit=\"onSubmit\" \n\t\t \t:callback=\"closeReportPopup\" \n\t\t \tclass=\"w-100 bg-black t-white\">\n\t\t \tReport\n\t\t </Button>\n\t\t</Popup>\n\t</div>\n</template>\n\n<script setup=\"props\">\n\t// Dependencies\n\timport { computed,ref,reactive } from 'vue'\n\t// Elements Import\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\timport Button from '@pf/src/components/Button/Button.vue';\n\timport Select from '@pf/src/components/Select/Select.vue';\n\t// Store Import\n\timport * as reports from '@pf/src/modules/reports/store/reports'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n \tconst props = defineProps({\n \t\tuser: {\n type: String,\n required: false\n },\n type: {\n type: String,\n required: false\n },\n reason: {\n type: String,\n required: false\n },\n target: {\n type: String,\n required: true\n },\n\t text: {\n\t\t\ttype: String,\n\t\t\tdefault: '!'\n\t\t},\n status: {\n type: String,\n default: 'new'\n }\n \t})\n \t// ///////////////////////////////////////\n \t// Form Logic\n \t// ///////////////////////////////////////\n \tconst form = reactive({\n\t\tuser: props.user,\n\t\ttype: props.type,\n\t\treason: props.reason, \n\t\ttarget: props.target,\n\t\tstatus: props.status,\n\t})\n\n\tfunction onSubmit () {\n\t if (form.user === null) {\n\t \tdelete form.user\n\t }\n\t \treports.actions.create(form)\n\t}\n \t// ///////////////////////////////////////\n\t// Popup logic\n\t// ///////////////////////////////////////\n\tconst isReportPopup = ref(false)\n\n\tfunction openReportPopup() {\n\t isReportPopup.value = true;\n\t}\n\tfunction closeReportPopup() {\n\t isReportPopup.value = false;\n\t}\n</script>"],"names":["reactive","reports.actions","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DE,UAAM,QAAQ;AA6Bd,UAAM,OAAOA,IAAAA,SAAS;AAAA,MACtB,MAAM,MAAM;AAAA,MACZ,MAAM,MAAM;AAAA,MACZ,QAAQ,MAAM;AAAA,MACd,QAAQ,MAAM;AAAA,MACd,QAAQ,MAAM;AAAA,IAChB,CAAE;AAED,aAAS,WAAY;AACjB,UAAI,KAAK,SAAS,MAAM;AACvB,eAAO,KAAK;AAAA,MACZ;AACFC,cAAe,QAAC,OAAO,IAAI;AAAA,IAC7B;AAID,UAAM,gBAAgBC,IAAG,IAAC,KAAK;AAE/B,aAAS,kBAAkB;AACzB,oBAAc,QAAQ;AAAA,IACvB;AACD,aAAS,mBAAmB;AAC1B,oBAAc,QAAQ;AAAA,IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,11 +1,8 @@
|
|
1
|
-
import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx,
|
2
|
-
import _sfc_main$1 from "../../../../components/Popup/Popup.
|
1
|
+
import { reactive, ref, openBlock, createElementBlock, renderSlot, createVNode, withCtx, createElementVNode, createTextVNode } from "vue";
|
2
|
+
import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
|
3
3
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
4
|
-
import Select from "../../../../components/Select/Select.
|
4
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
5
5
|
import { actions } from "../../store/reports.js";
|
6
|
-
const _hoisted_1 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1);
|
7
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1);
|
8
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1);
|
9
6
|
const _sfc_main = {
|
10
7
|
__name: "FormReport",
|
11
8
|
props: {
|
@@ -67,8 +64,8 @@ const _sfc_main = {
|
|
67
64
|
class: "w-m-33r t-left pd-big bg-white radius-big"
|
68
65
|
}, {
|
69
66
|
default: withCtx(() => [
|
70
|
-
|
71
|
-
|
67
|
+
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "mn-b-small" }, " Report Content ", -1)),
|
68
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1)),
|
72
69
|
createVNode(Select, {
|
73
70
|
select: form.reason,
|
74
71
|
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => form.reason = $event),
|
@@ -83,15 +80,15 @@ const _sfc_main = {
|
|
83
80
|
placeholder: "Select reason",
|
84
81
|
class: "mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"
|
85
82
|
}, null, 8, ["select"]),
|
86
|
-
|
83
|
+
_cache[5] || (_cache[5] = createElementVNode("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1)),
|
87
84
|
createVNode(_sfc_main$2, {
|
88
85
|
submit: onSubmit,
|
89
86
|
callback: closeReportPopup,
|
90
87
|
class: "w-100 bg-black t-white"
|
91
88
|
}, {
|
92
|
-
default: withCtx(() => [
|
89
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
93
90
|
createTextVNode(" Report ")
|
94
|
-
]),
|
91
|
+
])),
|
95
92
|
_: 1
|
96
93
|
})
|
97
94
|
]),
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FormReport.vue.js","sources":["../../../../../../../src/modules/reports/components/sections/FormReport.vue"],"sourcesContent":["<template>\n\n\t<div \n\t\t@click.native=\"openReportPopup()\"\n\t>\n\t\t<slot></slot>\n\n\t\t<Popup \n\t\t @close-popup=\"closeReportPopup\" \n\t\t :isPopupOpen=\"isReportPopup\"\n\t\t class=\"w-m-33r t-left pd-big bg-white radius-big\"\n\t\t>\n\t\t <h3 \n\t\t \tclass=\"mn-b-small\"\n\t\t >\n\t\t\t\tReport Content\n\t\t\t</h3>\n\t\t \n\t\t <p \n\t\t \tclass=\"p-medium mn-b-small\"\n\t\t >\n\t\t \tWe strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it:\n\t\t </p>\n\t\t <Select \n\t\t\t\tv-model:select=\"form.reason\" \n\t\t :options=\"[\n\t\t \t'harassment',\n\t\t \t'spam',\n\t\t \t'inappropriate',\n\t\t \t'misinformation',\n\t\t \t'copyright',\n\t\t \t'other'\n\t\t ]\"\n\t\t :placeholder=\"'Select reason'\"\n\t\t\t\tclass=\"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium\"\n\t\t />\n\t\t \n\t\t <p class=\"p-medium mn-b-small\">Our moderators will review your report within 24 hours and take action if it violates our policies.</p>\n\t\t \n\t\t <Button \n\t\t \t:submit=\"onSubmit\" \n\t\t \t:callback=\"closeReportPopup\" \n\t\t \tclass=\"w-100 bg-black t-white\">\n\t\t \tReport\n\t\t </Button>\n\t\t</Popup>\n\t</div>\n</template>\n\n<script setup=\"props\">\n\t// Dependencies\n\timport { computed,ref,reactive } from 'vue'\n\t// Elements Import\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\timport Button from '@pf/src/components/Button/Button.vue';\n\timport Select from '@pf/src/components/Select/Select.vue';\n\t// Store Import\n\timport * as reports from '@pf/src/modules/reports/store/reports'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n \tconst props = defineProps({\n \t\tuser: {\n type: String,\n required: false\n },\n type: {\n type: String,\n required: false\n },\n reason: {\n type: String,\n required: false\n },\n target: {\n type: String,\n required: true\n },\n\t text: {\n\t\t\ttype: String,\n\t\t\tdefault: '!'\n\t\t},\n status: {\n type: String,\n default: 'new'\n }\n \t})\n \t// ///////////////////////////////////////\n \t// Form Logic\n \t// ///////////////////////////////////////\n \tconst form = reactive({\n\t\tuser: props.user,\n\t\ttype: props.type,\n\t\treason: props.reason, \n\t\ttarget: props.target,\n\t\tstatus: props.status,\n\t})\n\n\tfunction onSubmit () {\n\t if (form.user === null) {\n\t \tdelete form.user\n\t }\n\t \treports.actions.create(form)\n\t}\n \t// ///////////////////////////////////////\n\t// Popup logic\n\t// ///////////////////////////////////////\n\tconst isReportPopup = ref(false)\n\n\tfunction openReportPopup() {\n\t isReportPopup.value = true;\n\t}\n\tfunction closeReportPopup() {\n\t isReportPopup.value = false;\n\t}\n</script>"],"names":["reports.actions"],"mappings":"
|
1
|
+
{"version":3,"file":"FormReport.vue.js","sources":["../../../../../../../src/modules/reports/components/sections/FormReport.vue"],"sourcesContent":["<template>\n\n\t<div \n\t\t@click.native=\"openReportPopup()\"\n\t>\n\t\t<slot></slot>\n\n\t\t<Popup \n\t\t @close-popup=\"closeReportPopup\" \n\t\t :isPopupOpen=\"isReportPopup\"\n\t\t class=\"w-m-33r t-left pd-big bg-white radius-big\"\n\t\t>\n\t\t <h3 \n\t\t \tclass=\"mn-b-small\"\n\t\t >\n\t\t\t\tReport Content\n\t\t\t</h3>\n\t\t \n\t\t <p \n\t\t \tclass=\"p-medium mn-b-small\"\n\t\t >\n\t\t \tWe strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it:\n\t\t </p>\n\t\t <Select \n\t\t\t\tv-model:select=\"form.reason\" \n\t\t :options=\"[\n\t\t \t'harassment',\n\t\t \t'spam',\n\t\t \t'inappropriate',\n\t\t \t'misinformation',\n\t\t \t'copyright',\n\t\t \t'other'\n\t\t ]\"\n\t\t :placeholder=\"'Select reason'\"\n\t\t\t\tclass=\"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium\"\n\t\t />\n\t\t \n\t\t <p class=\"p-medium mn-b-small\">Our moderators will review your report within 24 hours and take action if it violates our policies.</p>\n\t\t \n\t\t <Button \n\t\t \t:submit=\"onSubmit\" \n\t\t \t:callback=\"closeReportPopup\" \n\t\t \tclass=\"w-100 bg-black t-white\">\n\t\t \tReport\n\t\t </Button>\n\t\t</Popup>\n\t</div>\n</template>\n\n<script setup=\"props\">\n\t// Dependencies\n\timport { computed,ref,reactive } from 'vue'\n\t// Elements Import\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\timport Button from '@pf/src/components/Button/Button.vue';\n\timport Select from '@pf/src/components/Select/Select.vue';\n\t// Store Import\n\timport * as reports from '@pf/src/modules/reports/store/reports'\n\t// ///////////////////////////////////////\n \t// Components Props\n \t// ///////////////////////////////////////\n \tconst props = defineProps({\n \t\tuser: {\n type: String,\n required: false\n },\n type: {\n type: String,\n required: false\n },\n reason: {\n type: String,\n required: false\n },\n target: {\n type: String,\n required: true\n },\n\t text: {\n\t\t\ttype: String,\n\t\t\tdefault: '!'\n\t\t},\n status: {\n type: String,\n default: 'new'\n }\n \t})\n \t// ///////////////////////////////////////\n \t// Form Logic\n \t// ///////////////////////////////////////\n \tconst form = reactive({\n\t\tuser: props.user,\n\t\ttype: props.type,\n\t\treason: props.reason, \n\t\ttarget: props.target,\n\t\tstatus: props.status,\n\t})\n\n\tfunction onSubmit () {\n\t if (form.user === null) {\n\t \tdelete form.user\n\t }\n\t \treports.actions.create(form)\n\t}\n \t// ///////////////////////////////////////\n\t// Popup logic\n\t// ///////////////////////////////////////\n\tconst isReportPopup = ref(false)\n\n\tfunction openReportPopup() {\n\t isReportPopup.value = true;\n\t}\n\tfunction closeReportPopup() {\n\t isReportPopup.value = false;\n\t}\n</script>"],"names":["reports.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DE,UAAM,QAAQ;AA6Bd,UAAM,OAAO,SAAS;AAAA,MACtB,MAAM,MAAM;AAAA,MACZ,MAAM,MAAM;AAAA,MACZ,QAAQ,MAAM;AAAA,MACd,QAAQ,MAAM;AAAA,MACd,QAAQ,MAAM;AAAA,IAChB,CAAE;AAED,aAAS,WAAY;AACjB,UAAI,KAAK,SAAS,MAAM;AACvB,eAAO,KAAK;AAAA,MACZ;AACFA,cAAgB,OAAO,IAAI;AAAA,IAC7B;AAID,UAAM,gBAAgB,IAAI,KAAK;AAE/B,aAAS,kBAAkB;AACzB,oBAAc,QAAQ;AAAA,IACvB;AACD,aAAS,mBAAmB;AAC1B,oBAAc,QAAQ;AAAA,IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,17 +2,14 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
|
5
|
-
const Chips = require("../../../../components/Chips/Chips.
|
5
|
+
const Chips = require("../../../../components/Chips/Chips.vue.cjs");
|
6
6
|
const Map = require("../../../../components/Map/Map.vue.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
9
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-bc545dfb"), n = n(), vue.popScopeId(), n);
|
10
9
|
const _hoisted_1 = { class: "radius-big o-hidden pos-relative cols-2-1_3" };
|
11
10
|
const _hoisted_2 = { class: "pd-medium w-100" };
|
12
11
|
const _hoisted_3 = ["innerHTML"];
|
13
12
|
const _hoisted_4 = { class: "d-block p-big mn-b-semi" };
|
14
|
-
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("h4", null, "Delivery:", -1));
|
15
|
-
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("h4", null, "Accepted Payment:", -1));
|
16
13
|
const _sfc_main = {
|
17
14
|
__name: "CardSpot",
|
18
15
|
props: {
|
@@ -53,12 +50,12 @@ const _sfc_main = {
|
|
53
50
|
innerHTML: __props.spot.profile.name
|
54
51
|
}, null, 8, _hoisted_3),
|
55
52
|
vue.createElementVNode("p", _hoisted_4, vue.toDisplayString(__props.spot.profile.description), 1),
|
56
|
-
|
53
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h4", null, "Delivery:", -1)),
|
57
54
|
_ctx.type !== "short" && __props.spot.delivery.length > 0 ? (vue.openBlock(), vue.createBlock(Chips.default, {
|
58
55
|
key: 0,
|
59
56
|
chips: __props.spot.delivery
|
60
57
|
}, null, 8, ["chips"])) : vue.createCommentVNode("", true),
|
61
|
-
|
58
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("h4", null, "Accepted Payment:", -1)),
|
62
59
|
_ctx.type !== "short" && __props.spot.payment.length > 0 ? (vue.openBlock(), vue.createBlock(Chips.default, {
|
63
60
|
key: 1,
|
64
61
|
chips: __props.spot.payment
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardSpot.vue.cjs","sources":["../../../../../../../src/modules/spots/components/blocks/CardSpot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden pos-relative cols-2-1_3\">\n <Map \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :location=\"{\n lat: spot.location.coordinates[1],\n lng: spot.location.coordinates[0]\n }\" \n :locale=\"$i18n.locale\"\n class=\"\"\n />\n\n <div class=\"pd-medium w-100\">\n\n <!-- v-if=\"user === event.creator.target._id\" -->\n <IconEdit\n @click=\"$router.push({\n name: 'Spot Edit',\n params: {\n _id: props.organization._id,\n spot: spot._id\n }\n })\" \n class=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n />\n \n \n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"pd-thin bg-white radius-small mn-b-thin p-small w-max\"\n >\n {{spot.address}}\n </p>\n\n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-thin w-100\"\n v-html=\"spot.profile.name\"\n />\n\n \n\n <p class=\"d-block p-big mn-b-semi\">{{spot.profile.description}}</p>\n\n <h4>Delivery:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.delivery.length > 0\" \n :chips=\"spot.delivery\"\n />\n\n <h4>Accepted Payment:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.payment.length > 0\" \n :chips=\"spot.payment\"\n />\n\n\n\n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue';\n\nimport Chips from '@pf/src/components/Chips/Chips.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CardSpot.vue.cjs","sources":["../../../../../../../src/modules/spots/components/blocks/CardSpot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden pos-relative cols-2-1_3\">\n <Map \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :location=\"{\n lat: spot.location.coordinates[1],\n lng: spot.location.coordinates[0]\n }\" \n :locale=\"$i18n.locale\"\n class=\"\"\n />\n\n <div class=\"pd-medium w-100\">\n\n <!-- v-if=\"user === event.creator.target._id\" -->\n <IconEdit\n @click=\"$router.push({\n name: 'Spot Edit',\n params: {\n _id: props.organization._id,\n spot: spot._id\n }\n })\" \n class=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n />\n \n \n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"pd-thin bg-white radius-small mn-b-thin p-small w-max\"\n >\n {{spot.address}}\n </p>\n\n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-thin w-100\"\n v-html=\"spot.profile.name\"\n />\n\n \n\n <p class=\"d-block p-big mn-b-semi\">{{spot.profile.description}}</p>\n\n <h4>Delivery:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.delivery.length > 0\" \n :chips=\"spot.delivery\"\n />\n\n <h4>Accepted Payment:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.payment.length > 0\" \n :chips=\"spot.payment\"\n />\n\n\n\n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue';\n\nimport Chips from '@pf/src/components/Chips/Chips.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuEA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,16 +1,13 @@
|
|
1
|
-
import { openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, createBlock, createCommentVNode
|
1
|
+
import { openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../icons/navigation/IconEdit.vue.js";
|
3
|
-
import _sfc_main$2 from "../../../../components/Chips/Chips.
|
3
|
+
import _sfc_main$2 from "../../../../components/Chips/Chips.vue.js";
|
4
4
|
import Map from "../../../../components/Map/Map.vue.js";
|
5
5
|
/* empty css */
|
6
6
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
7
|
-
const _withScopeId = (n) => (pushScopeId("data-v-bc545dfb"), n = n(), popScopeId(), n);
|
8
7
|
const _hoisted_1 = { class: "radius-big o-hidden pos-relative cols-2-1_3" };
|
9
8
|
const _hoisted_2 = { class: "pd-medium w-100" };
|
10
9
|
const _hoisted_3 = ["innerHTML"];
|
11
10
|
const _hoisted_4 = { class: "d-block p-big mn-b-semi" };
|
12
|
-
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h4", null, "Delivery:", -1));
|
13
|
-
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h4", null, "Accepted Payment:", -1));
|
14
11
|
const _sfc_main = {
|
15
12
|
__name: "CardSpot",
|
16
13
|
props: {
|
@@ -51,12 +48,12 @@ const _sfc_main = {
|
|
51
48
|
innerHTML: __props.spot.profile.name
|
52
49
|
}, null, 8, _hoisted_3),
|
53
50
|
createElementVNode("p", _hoisted_4, toDisplayString(__props.spot.profile.description), 1),
|
54
|
-
|
51
|
+
_cache[3] || (_cache[3] = createElementVNode("h4", null, "Delivery:", -1)),
|
55
52
|
_ctx.type !== "short" && __props.spot.delivery.length > 0 ? (openBlock(), createBlock(_sfc_main$2, {
|
56
53
|
key: 0,
|
57
54
|
chips: __props.spot.delivery
|
58
55
|
}, null, 8, ["chips"])) : createCommentVNode("", true),
|
59
|
-
|
56
|
+
_cache[4] || (_cache[4] = createElementVNode("h4", null, "Accepted Payment:", -1)),
|
60
57
|
_ctx.type !== "short" && __props.spot.payment.length > 0 ? (openBlock(), createBlock(_sfc_main$2, {
|
61
58
|
key: 1,
|
62
59
|
chips: __props.spot.payment
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardSpot.vue.js","sources":["../../../../../../../src/modules/spots/components/blocks/CardSpot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden pos-relative cols-2-1_3\">\n <Map \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :location=\"{\n lat: spot.location.coordinates[1],\n lng: spot.location.coordinates[0]\n }\" \n :locale=\"$i18n.locale\"\n class=\"\"\n />\n\n <div class=\"pd-medium w-100\">\n\n <!-- v-if=\"user === event.creator.target._id\" -->\n <IconEdit\n @click=\"$router.push({\n name: 'Spot Edit',\n params: {\n _id: props.organization._id,\n spot: spot._id\n }\n })\" \n class=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n />\n \n \n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"pd-thin bg-white radius-small mn-b-thin p-small w-max\"\n >\n {{spot.address}}\n </p>\n\n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-thin w-100\"\n v-html=\"spot.profile.name\"\n />\n\n \n\n <p class=\"d-block p-big mn-b-semi\">{{spot.profile.description}}</p>\n\n <h4>Delivery:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.delivery.length > 0\" \n :chips=\"spot.delivery\"\n />\n\n <h4>Accepted Payment:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.payment.length > 0\" \n :chips=\"spot.payment\"\n />\n\n\n\n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue';\n\nimport Chips from '@pf/src/components/Chips/Chips.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CardSpot.vue.js","sources":["../../../../../../../src/modules/spots/components/blocks/CardSpot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden pos-relative cols-2-1_3\">\n <Map \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :location=\"{\n lat: spot.location.coordinates[1],\n lng: spot.location.coordinates[0]\n }\" \n :locale=\"$i18n.locale\"\n class=\"\"\n />\n\n <div class=\"pd-medium w-100\">\n\n <!-- v-if=\"user === event.creator.target._id\" -->\n <IconEdit\n @click=\"$router.push({\n name: 'Spot Edit',\n params: {\n _id: props.organization._id,\n spot: spot._id\n }\n })\" \n class=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n />\n \n \n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"pd-thin bg-white radius-small mn-b-thin p-small w-max\"\n >\n {{spot.address}}\n </p>\n\n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-thin w-100\"\n v-html=\"spot.profile.name\"\n />\n\n \n\n <p class=\"d-block p-big mn-b-semi\">{{spot.profile.description}}</p>\n\n <h4>Delivery:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.delivery.length > 0\" \n :chips=\"spot.delivery\"\n />\n\n <h4>Accepted Payment:</h4>\n <Chips \n v-if=\"type !== 'short' && spot.payment.length > 0\" \n :chips=\"spot.payment\"\n />\n\n\n\n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue';\n\nimport Chips from '@pf/src/components/Chips/Chips.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAuEA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
6
|
-
;/* empty css
|
6
|
+
;/* empty css */
|
7
7
|
;/* empty css */
|
8
8
|
const _hoisted_1 = { class: "br-grey-transp-25 radius-small mn-b-small" };
|
9
9
|
const _hoisted_2 = {
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, toDisplayString, createCommentVNode } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
/* empty css
|
4
|
+
/* empty css */
|
5
5
|
/* empty css */
|
6
6
|
const _hoisted_1 = { class: "br-grey-transp-25 radius-small mn-b-small" };
|
7
7
|
const _hoisted_2 = {
|
@@ -6,7 +6,7 @@ const vueI18n = require("vue-i18n");
|
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
8
|
;/* empty css */
|
9
|
-
;/* empty css
|
9
|
+
;/* empty css */
|
10
10
|
const globals = require("../../../globals/views/store/globals.cjs");
|
11
11
|
const categories = require("../../../products/store/categories.cjs");
|
12
12
|
const marketplace = require("../../../marketplace/store/marketplace.cjs");
|
@@ -14,10 +14,9 @@ const _hoisted_1 = { class: "w-100 h-100" };
|
|
14
14
|
const _hoisted_2 = { class: "h-100 w-100 flex-nowrap flex-column flex gap-thin" };
|
15
15
|
const _hoisted_3 = { class: "pos-absolute z-index-2 w-100" };
|
16
16
|
const _hoisted_4 = { class: "bg-black-transp-25 t-white pd-small w-100 bg-blur-big mn-l-auto mn-r-auto t-center" };
|
17
|
-
const _hoisted_5 =
|
18
|
-
const _hoisted_6 = { key:
|
19
|
-
const _hoisted_7 = { key:
|
20
|
-
const _hoisted_8 = { key: 2 };
|
17
|
+
const _hoisted_5 = { key: 0 };
|
18
|
+
const _hoisted_6 = { key: 1 };
|
19
|
+
const _hoisted_7 = { key: 2 };
|
21
20
|
const _sfc_main = {
|
22
21
|
__name: "Spots",
|
23
22
|
setup(__props) {
|
@@ -149,7 +148,7 @@ const _sfc_main = {
|
|
149
148
|
vue.createElementVNode("div", _hoisted_2, [
|
150
149
|
vue.createElementVNode("div", _hoisted_3, [
|
151
150
|
vue.createElementVNode("h2", _hoisted_4, [
|
152
|
-
|
151
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "" }, "Weed in ", -1)),
|
153
152
|
localPosition.value.city || localPosition.value.state || localPosition.value.country ? (vue.openBlock(), vue.createElementBlock("span", {
|
154
153
|
key: 0,
|
155
154
|
onClick: _cache[0] || (_cache[0] = (a) => {
|
@@ -157,9 +156,9 @@ const _sfc_main = {
|
|
157
156
|
}),
|
158
157
|
class: "t-semi t-main"
|
159
158
|
}, [
|
160
|
-
localPosition.value.city ? (vue.openBlock(), vue.createElementBlock("span",
|
161
|
-
localPosition.value.state ? (vue.openBlock(), vue.createElementBlock("span",
|
162
|
-
localPosition.value.country ? (vue.openBlock(), vue.createElementBlock("span",
|
159
|
+
localPosition.value.city ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, vue.toDisplayString(localPosition.value.city) + ", ", 1)) : vue.createCommentVNode("", true),
|
160
|
+
localPosition.value.state ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, vue.toDisplayString(localPosition.value.state) + ", ", 1)) : vue.createCommentVNode("", true),
|
161
|
+
localPosition.value.country ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, vue.toDisplayString(localPosition.value.country), 1)) : vue.createCommentVNode("", true)
|
163
162
|
])) : (vue.openBlock(), vue.createElementBlock("span", {
|
164
163
|
key: 1,
|
165
164
|
onClick: _cache[1] || (_cache[1] = (a) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Spots.vue.cjs","sources":["../../../../../../../src/modules/spots/components/layouts/Spots.vue"],"sourcesContent":["<template>\n\t<div class=\"w-100 h-100\">\n\t\t<!-- Catalog wrapper -->\n\t\t<div class=\"h-100 w-100 flex-nowrap flex-column flex gap-thin\">\n\n\t\t\t\t<!-- Sorting section -->\n\t\t\t\t<div class=\"pos-absolute z-index-2 w-100\">\n\t \t<h2 class=\"bg-black-transp-25 t-white pd-small w-100 bg-blur-big mn-l-auto mn-r-auto t-center\">\n\t \t\t<span class=\"\">Weed in </span>\n\n\t \t\t<span @click=\"a => { globals.state.isOpenLocationPopup = true }\" v-if=\"localPosition.city || localPosition.state || localPosition.country\" class=\"t-semi t-main\">\n \t\t\t\t<span v-if=\"localPosition.city\">{{localPosition.city}}, </span>\n \t\t\t\t<span v-if=\"localPosition.state\">{{localPosition.state}}, </span>\n \t\t\t\t<span v-if=\"localPosition.country\">{{localPosition.country}}</span>\n\t \t\t</span>\n\n\t \t\t<span v-else @click=\"a => { globals.state.isOpenLocationPopup = true }\" class=\"t-semi t-main\">\n\t\t\t\t\t\t\t\tThe World\n\t \t\t</span>\n\t \t</h2>\n\t\t\t\t\t</div>\n\n\n\t\t\t\t<!-- <Filters/> -->\n\n\t\t\t\t<!-- Products section -->\n\t\t\t\t<router-view v-slot=\"{ Component, route }\">\n\t\t\t\t\t<transition name=\"scaleIn\" mode=\"out-in\">\n\t\t\t\t\t\t<component \n\t\t\t\t\t\t\tref=\"page\" \n\t\t\t\t\t\t\t:key=\"route.path\" \n\t\t\t\t\t\t\t:localPosition=\"localPosition\" \n\t\t\t\t\t\t\t:is=\"Component\"\n\t\t\t\t\t\t\t:apiKey=\"GOOGLE_MAPS_API_KEY\" \n \t\t\t\t:locale=\"$i18n.locale\"\n\t\t\t\t\t\t\tclass=\"\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</transition>\n\t\t\t\t</router-view>\n\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup=\"props\">\n\t// Import libs\n\timport { computed, onMounted, watch, watchEffect, ref } from 'vue'\n\timport { useRoute, useRouter,onBeforeRouteLeave } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n // Prometheus\n\timport Spoiler from \"@pf/src/components/Spoiler/Spoiler.vue\";\n \timport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\n \timport Field from \"@pf/src/components/Field/Field.vue\";\n \t// Partials\n\timport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n \timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\n \t// import Filters from '@pf/src/modules/marketplace/components/sections/Filters.vue'\n\n\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\timport * as categories from '@pf/src/modules/products/store/categories';\n\timport * as marketplace from '@pf/src/modules/marketplace/store/marketplace';\n\n\t// Accessing router and store\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\tconst localPosition = ref({\n\t\tcity: null,\n\t\tstate: null,\n\t\tcountry: null\n\t});\n\n\n\tfunction denormalizeUrlParam(param) {\n\t return param\n\t .replace(/-/g, ' ') // Замена дефисов на пробелы\n\t .replace(/\\b\\w/g, l => l.toUpperCase()); // Преобразование первой буквы каждого слова в заглавную\n\t}\n\n\tonMounted(async () => {\n\t if (route.params) {\n\t // Загружаем новые значения из параметров маршрута в состояние\n\t let newState = {\n\t country: denormalizeUrlParam(route.params.country),\n\t state: denormalizeUrlParam(route.params.state),\n\t city: denormalizeUrlParam(route.params.city),\n\t };\n\n\t\t // Обновляем глобальное состояние\n\t\t localPosition.value = newState;\n\t\t}\n\n\t\tif (route.query) {\n\t\t const query = route.query;\n\t\t const newFilterValue = {\n\t\t categories: query.categories ? query.categories.split(',') : [],\n\t\t prices: query.prices ? query.prices.split(',') : [],\n\t\t delivery: query.delivery ? query.delivery.split(',') : [],\n\t\t // Продолжайте этот паттерн для остальных полей фильтра\n\t\t };\n\t\t marketplace.state.filter.selected = newFilterValue;\n\t\t}\n\n\n\t\t// Data fetching\n\t\tawait categories.actions.fetchCategories()\n\t})\n\n\twatch(() => marketplace.state.filter.selected, (newFilterValue, oldFilterValue) => {\n\t // Переводим фильтр в формат query\n\t const query = { ...route.query };\n\n\t // Удаляем старые значения фильтра из query\n\t Object.keys(oldFilterValue).forEach(key => {\n\t if (query[key]) {\n\t delete query[key];\n\t }\n\t });\n\n\t // Добавляем новые значения фильтра в query\n\t const newQueryValues = Object.fromEntries(\n\t Object.entries(newFilterValue)\n\t .filter(([key, value]) => Array.isArray(value) && value.length > 0)\n\t .map(([key, value]) => [key, value.join(',')])\n\t );\n\t Object.assign(query, newQueryValues);\n\n\t // Обновляем маршрут с новым query\n\t router.push({ query });\n\t}, { deep: true })\n\n\t\n\tfunction normalizeUrlParam(param) {\n\t return param\n\t .toLowerCase() // Преобразование всех символов в нижний регистр\n\t .replace(/ /g, '-') // Замена всех пробелов на дефисы\n\t .replace(/[^a-z0-9-]/g, ''); // Удаление всех символов, которые не являются буквами, цифрами или дефисами\n\t}\n\n\twatch(() => globals.state.position, (newPosition) => {\n\t // get the current route\n\t const currentRoute = { ...router.currentRoute.value };\n\t \n\t // create new parameters based on globals state position\n\t let newParams = {\n\t country: normalizeUrlParam(newPosition.country),\n\t state: normalizeUrlParam(newPosition.state),\n\t city: normalizeUrlParam(newPosition.city),\n\t };\n\t \t\n\t // update route params\n\t currentRoute.params = newParams;\n\t \n\t // replace the current route\n\t router.replace(currentRoute);\n\t}, { deep: true });\n\t\n const text = {\n locale: 'en',\n messages: {\n en: {\n\t \tmeta: {\n title: \"Marketplace – Shop Our Wide Selection of Quality Weed for Delivery\",\n description: \"Browse our marketplace of top-grade weed strains and choose from a variety of delivery options. Order now and have your favorite strains delivered straight to your door. Safe, fast, and reliable.\",\n },\n \tbreadcrumbs: {\n \t\thome: 'Home',\n \t\tstore: 'Marketplace',\n \t},\n \tcategoriesTitle: 'Category',\n \tcategories: [],\n \tsort: {\n \t\tprice: 'By price',\n \t\tnewest: 'By newest',\n \t\tpopularity: 'By popularity'\n \t},\n \tfilters: {\n \t\ttitle: 'Filters',\n \t\tprice: {\n \t\t\ttitle: 'Price',\n \t\t\tfrom: 'From',\n \t\t\tto: 'To'\n \t\t},\n \t\tfilters: [],\n \t\treset: 'Reset Filters'\n \t}\n },\n ru: {\n\t meta: {\n title: \"Маркетплейс – Выбирайте из нашего ассортимента качественной травки для доставки\",\n description: \"Маркетплейс – Изучите наши продукты высокого качества и выбирайте из различных вариантов доставки. Закажите сейчас и получите свои любимые сорта на дом. Безопасно, быстро и надежно.\",\n },\n \tbreadcrumbs: {\n \t\thome: 'Главная',\n \t\tstore: 'Маркетплейс',\n \t},\n \tcategoriesTitle: 'Категория',\n \tcategories: [],\n \tsort: {\n \t\tprice: 'По цене',\n \t\tnewest: 'По новизне',\n \t\tpopularity: 'По популярности'\n \t},\n \tfilters: {\n \t\ttitle: 'Фильтры',\n \t\tprice: {\n \t\t\ttitle: 'Цена',\n \t\t\tfrom: 'От',\n \t\t\tto: 'До'\n \t\t},\n \t\tfilters: [],\n \t\treset: 'Сбросить фильтры',\n \t}\n }\n }\n }\n\n \tcategories.state.all.forEach( category => {\n \tcategory.localization.forEach( localization => {\n \ttext.messages[localization.locale].categories.push(localization.text)\n \t})\n\t})\n\n \tconst { t } = useI18n(text)\n\n</script>\n\n<style lang=\"scss\">\n\n\n</style>\n"],"names":["useRoute","useRouter","ref","onMounted","marketplace.state","categories.actions","watch","globals.state","categories.state","useI18n"],"mappings":"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"}
|
1
|
+
{"version":3,"file":"Spots.vue.cjs","sources":["../../../../../../../src/modules/spots/components/layouts/Spots.vue"],"sourcesContent":["<template>\n\t<div class=\"w-100 h-100\">\n\t\t<!-- Catalog wrapper -->\n\t\t<div class=\"h-100 w-100 flex-nowrap flex-column flex gap-thin\">\n\n\t\t\t\t<!-- Sorting section -->\n\t\t\t\t<div class=\"pos-absolute z-index-2 w-100\">\n\t \t<h2 class=\"bg-black-transp-25 t-white pd-small w-100 bg-blur-big mn-l-auto mn-r-auto t-center\">\n\t \t\t<span class=\"\">Weed in </span>\n\n\t \t\t<span @click=\"a => { globals.state.isOpenLocationPopup = true }\" v-if=\"localPosition.city || localPosition.state || localPosition.country\" class=\"t-semi t-main\">\n \t\t\t\t<span v-if=\"localPosition.city\">{{localPosition.city}}, </span>\n \t\t\t\t<span v-if=\"localPosition.state\">{{localPosition.state}}, </span>\n \t\t\t\t<span v-if=\"localPosition.country\">{{localPosition.country}}</span>\n\t \t\t</span>\n\n\t \t\t<span v-else @click=\"a => { globals.state.isOpenLocationPopup = true }\" class=\"t-semi t-main\">\n\t\t\t\t\t\t\t\tThe World\n\t \t\t</span>\n\t \t</h2>\n\t\t\t\t\t</div>\n\n\n\t\t\t\t<!-- <Filters/> -->\n\n\t\t\t\t<!-- Products section -->\n\t\t\t\t<router-view v-slot=\"{ Component, route }\">\n\t\t\t\t\t<transition name=\"scaleIn\" mode=\"out-in\">\n\t\t\t\t\t\t<component \n\t\t\t\t\t\t\tref=\"page\" \n\t\t\t\t\t\t\t:key=\"route.path\" \n\t\t\t\t\t\t\t:localPosition=\"localPosition\" \n\t\t\t\t\t\t\t:is=\"Component\"\n\t\t\t\t\t\t\t:apiKey=\"GOOGLE_MAPS_API_KEY\" \n \t\t\t\t:locale=\"$i18n.locale\"\n\t\t\t\t\t\t\tclass=\"\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</transition>\n\t\t\t\t</router-view>\n\n\t\t</div>\n\t</div>\n</template>\n\n\n<script setup=\"props\">\n\t// Import libs\n\timport { computed, onMounted, watch, watchEffect, ref } from 'vue'\n\timport { useRoute, useRouter,onBeforeRouteLeave } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n // Prometheus\n\timport Spoiler from \"@pf/src/components/Spoiler/Spoiler.vue\";\n \timport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\n \timport Field from \"@pf/src/components/Field/Field.vue\";\n \t// Partials\n\timport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n \timport Dropdown from \"@pf/src/components/Dropdown/Dropdown.vue\";\n\n \t// import Filters from '@pf/src/modules/marketplace/components/sections/Filters.vue'\n\n\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\timport * as categories from '@pf/src/modules/products/store/categories';\n\timport * as marketplace from '@pf/src/modules/marketplace/store/marketplace';\n\n\t// Accessing router and store\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\tconst localPosition = ref({\n\t\tcity: null,\n\t\tstate: null,\n\t\tcountry: null\n\t});\n\n\n\tfunction denormalizeUrlParam(param) {\n\t return param\n\t .replace(/-/g, ' ') // Замена дефисов на пробелы\n\t .replace(/\\b\\w/g, l => l.toUpperCase()); // Преобразование первой буквы каждого слова в заглавную\n\t}\n\n\tonMounted(async () => {\n\t if (route.params) {\n\t // Загружаем новые значения из параметров маршрута в состояние\n\t let newState = {\n\t country: denormalizeUrlParam(route.params.country),\n\t state: denormalizeUrlParam(route.params.state),\n\t city: denormalizeUrlParam(route.params.city),\n\t };\n\n\t\t // Обновляем глобальное состояние\n\t\t localPosition.value = newState;\n\t\t}\n\n\t\tif (route.query) {\n\t\t const query = route.query;\n\t\t const newFilterValue = {\n\t\t categories: query.categories ? query.categories.split(',') : [],\n\t\t prices: query.prices ? query.prices.split(',') : [],\n\t\t delivery: query.delivery ? query.delivery.split(',') : [],\n\t\t // Продолжайте этот паттерн для остальных полей фильтра\n\t\t };\n\t\t marketplace.state.filter.selected = newFilterValue;\n\t\t}\n\n\n\t\t// Data fetching\n\t\tawait categories.actions.fetchCategories()\n\t})\n\n\twatch(() => marketplace.state.filter.selected, (newFilterValue, oldFilterValue) => {\n\t // Переводим фильтр в формат query\n\t const query = { ...route.query };\n\n\t // Удаляем старые значения фильтра из query\n\t Object.keys(oldFilterValue).forEach(key => {\n\t if (query[key]) {\n\t delete query[key];\n\t }\n\t });\n\n\t // Добавляем новые значения фильтра в query\n\t const newQueryValues = Object.fromEntries(\n\t Object.entries(newFilterValue)\n\t .filter(([key, value]) => Array.isArray(value) && value.length > 0)\n\t .map(([key, value]) => [key, value.join(',')])\n\t );\n\t Object.assign(query, newQueryValues);\n\n\t // Обновляем маршрут с новым query\n\t router.push({ query });\n\t}, { deep: true })\n\n\t\n\tfunction normalizeUrlParam(param) {\n\t return param\n\t .toLowerCase() // Преобразование всех символов в нижний регистр\n\t .replace(/ /g, '-') // Замена всех пробелов на дефисы\n\t .replace(/[^a-z0-9-]/g, ''); // Удаление всех символов, которые не являются буквами, цифрами или дефисами\n\t}\n\n\twatch(() => globals.state.position, (newPosition) => {\n\t // get the current route\n\t const currentRoute = { ...router.currentRoute.value };\n\t \n\t // create new parameters based on globals state position\n\t let newParams = {\n\t country: normalizeUrlParam(newPosition.country),\n\t state: normalizeUrlParam(newPosition.state),\n\t city: normalizeUrlParam(newPosition.city),\n\t };\n\t \t\n\t // update route params\n\t currentRoute.params = newParams;\n\t \n\t // replace the current route\n\t router.replace(currentRoute);\n\t}, { deep: true });\n\t\n const text = {\n locale: 'en',\n messages: {\n en: {\n\t \tmeta: {\n title: \"Marketplace – Shop Our Wide Selection of Quality Weed for Delivery\",\n description: \"Browse our marketplace of top-grade weed strains and choose from a variety of delivery options. Order now and have your favorite strains delivered straight to your door. Safe, fast, and reliable.\",\n },\n \tbreadcrumbs: {\n \t\thome: 'Home',\n \t\tstore: 'Marketplace',\n \t},\n \tcategoriesTitle: 'Category',\n \tcategories: [],\n \tsort: {\n \t\tprice: 'By price',\n \t\tnewest: 'By newest',\n \t\tpopularity: 'By popularity'\n \t},\n \tfilters: {\n \t\ttitle: 'Filters',\n \t\tprice: {\n \t\t\ttitle: 'Price',\n \t\t\tfrom: 'From',\n \t\t\tto: 'To'\n \t\t},\n \t\tfilters: [],\n \t\treset: 'Reset Filters'\n \t}\n },\n ru: {\n\t meta: {\n title: \"Маркетплейс – Выбирайте из нашего ассортимента качественной травки для доставки\",\n description: \"Маркетплейс – Изучите наши продукты высокого качества и выбирайте из различных вариантов доставки. Закажите сейчас и получите свои любимые сорта на дом. Безопасно, быстро и надежно.\",\n },\n \tbreadcrumbs: {\n \t\thome: 'Главная',\n \t\tstore: 'Маркетплейс',\n \t},\n \tcategoriesTitle: 'Категория',\n \tcategories: [],\n \tsort: {\n \t\tprice: 'По цене',\n \t\tnewest: 'По новизне',\n \t\tpopularity: 'По популярности'\n \t},\n \tfilters: {\n \t\ttitle: 'Фильтры',\n \t\tprice: {\n \t\t\ttitle: 'Цена',\n \t\t\tfrom: 'От',\n \t\t\tto: 'До'\n \t\t},\n \t\tfilters: [],\n \t\treset: 'Сбросить фильтры',\n \t}\n }\n }\n }\n\n \tcategories.state.all.forEach( category => {\n \tcategory.localization.forEach( localization => {\n \ttext.messages[localization.locale].categories.push(localization.text)\n \t})\n\t})\n\n \tconst { t } = useI18n(text)\n\n</script>\n\n<style lang=\"scss\">\n\n\n</style>\n"],"names":["useRoute","useRouter","ref","onMounted","marketplace.state","categories.actions","watch","globals.state","categories.state","useI18n"],"mappings":"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"}
|