@ozdao/prometheus-framework 0.2.241 → 0.2.243
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +14 -15
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +14 -15
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +25 -27
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +25 -27
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +17 -21
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +17 -21
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +54 -71
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +54 -71
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +26 -27
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +26 -27
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +12 -14
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +12 -14
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +16 -21
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +17 -22
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +16 -19
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +16 -19
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +23 -32
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +23 -32
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +12 -14
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +13 -15
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +10 -11
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +10 -11
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +48 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +48 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +2 -5
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +12 -15
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +12 -15
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +33 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +33 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +18 -25
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +19 -26
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +60 -66
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +60 -66
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-BSlJcCo2.mjs +415 -0
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/tickets.controller-P0kiaXfQ.js +414 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/controllers/tickets.controller.js +49 -16
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Images360.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["ref","images","computed","watch","onMounted","onUnmounted"],"mappings":"
|
1
|
+
{"version":3,"file":"Images360.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["ref","images","computed","watch","onMounted","onUnmounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,UAAM,QAAQ;AAed,UAAM,aAAaA,IAAAA,IAAI,CAAC;AACxB,UAAM,aAAaA,IAAAA,IAAI,KAAK;AAC5B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AAE1B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AACXA,QAAG,IAAC,IAAI;AAEvB,UAAM,aAAa,YAAY;AAC7B,YAAMC,UAAS,CAAA;AAEf,eAAS,IAAI,GAAG,KAAK,MAAM,YAAY,KAAK;AAC1C,cAAM,MAAM,IAAI;AAChB,YAAI,MAAM,GAAG,MAAM,SAAS,IAAI,CAAC;AAEjC,YAAI;AACF,gBAAM,IAAI;AAEV,uBAAa;AAAA,QACd,SAAQ,OAAO;AACd,kBAAQ,KAAK,oBAAoB,MAAM,SAAS,IAAI,CAAC,SAAS,KAAK;AAAA,QACpE;AAED,QAAAA,QAAO,KAAK,GAAG;AAAA,MAChB;AAED,aAAOA;AAAA,IACT;AAGA,UAAM,kBAAkBC,IAAQ,SAAC,MAAM;AACrC,aAAO,KAAK,MAAO,aAAa,QAAQ,MAAM,aAAc,GAAG;AAAA,IACjE,CAAC;AAED,UAAM,SAASF,IAAAA,IAAI,CAAA,CAAE;AAErB,UAAM,eAAeA,IAAAA,IAAI,EAAE;AAC3B,UAAM,iBAAiBA,IAAAA,IAAI,IAAI;AAC/BG,QAAAA,MAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ,OAAO,MAAM,KAAK,KAAK;AAAA,IAC9C,CAAC;AAED,aAAS,cAAc,OAAO;AAC5B,iBAAW,QAAQ;AACnB,mBAAa,QAAQ,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AAAA,IACzD;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,WAAW,MAAO;AAEvB,YAAM,iBAAiB,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AACzD,YAAM,OAAO,iBAAiB,aAAa;AAE3C,UAAI,KAAK,IAAI,IAAI,KAAK,GAAG;AACvB,cAAM,YAAY,OAAO,IAAI,IAAI;AACjC,mBAAW,SAAS,WAAW,QAAQ,aAAa,MAAM;AAC1D,YAAI,WAAW,QAAQ,EAAG,YAAW,QAAQ,MAAM,aAAa;AAEhE,qBAAa,QAAQ;AAAA,MACtB;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,iBAAW,QAAQ;AAAA,IACrB;AAEA,QAAI,qBAAqB;AAEzB,UAAM,eAAe,MAAM;AACzB,aAAO,QAAQ;IACjB;AAIAC,QAAAA,UAAU,YAAY;AACpB,aAAO,QAAQ,MAAM;AACrB,mBAAa,QAAQ,OAAO,MAAM,CAAC,KAAK;AAAA,IAC1C,CAAC;AACDC,QAAAA,YAAY,MAAM;AAChB,oBAAc,kBAAkB;AAChC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,14 +1,13 @@
|
|
1
|
-
import { ref, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, Transition, withCtx, withModifiers, createCommentVNode, createBlock
|
1
|
+
import { ref, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, createStaticVNode, createVNode, Transition, withCtx, withModifiers, createCommentVNode, createBlock } from "vue";
|
2
2
|
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
3
3
|
/* empty css */
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
5
|
const _hoisted_1 = { class: "product-360-viewer" };
|
6
|
-
const _hoisted_2 =
|
7
|
-
const _hoisted_3 = {
|
6
|
+
const _hoisted_2 = {
|
8
7
|
key: 0,
|
9
8
|
class: "h-100 w-100 transition-ease"
|
10
9
|
};
|
11
|
-
const
|
10
|
+
const _hoisted_3 = ["src"];
|
12
11
|
const _sfc_main = {
|
13
12
|
__name: "Images360",
|
14
13
|
props: {
|
@@ -88,14 +87,14 @@ const _sfc_main = {
|
|
88
87
|
});
|
89
88
|
return (_ctx, _cache) => {
|
90
89
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
91
|
-
|
90
|
+
_cache[1] || (_cache[1] = createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e552bc5f><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path></svg>', 1)),
|
92
91
|
createVNode(Transition, {
|
93
92
|
name: "scale5",
|
94
93
|
css: !firstImageLoad.value,
|
95
94
|
appear: ""
|
96
95
|
}, {
|
97
96
|
default: withCtx(() => [
|
98
|
-
currentImage.value ? (openBlock(), createElementBlock("div",
|
97
|
+
currentImage.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
99
98
|
currentImage.value ? (openBlock(), createElementBlock("img", {
|
100
99
|
loading: "lazy",
|
101
100
|
key: currentImage.value,
|
@@ -111,7 +110,7 @@ const _sfc_main = {
|
|
111
110
|
onTouchend: stopRotation,
|
112
111
|
onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
|
113
112
|
}, ["prevent"]))
|
114
|
-
}, null, 40,
|
113
|
+
}, null, 40, _hoisted_3)) : createCommentVNode("", true)
|
115
114
|
])) : createCommentVNode("", true)
|
116
115
|
]),
|
117
116
|
_: 1
|
package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Images360.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["images"],"mappings":"
|
1
|
+
{"version":3,"file":"Images360.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["images"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,UAAM,QAAQ;AAed,UAAM,aAAa,IAAI,CAAC;AACxB,UAAM,aAAa,IAAI,KAAK;AAC5B,UAAM,eAAe,IAAI,CAAC;AAE1B,UAAM,eAAe,IAAI,CAAC;AACX,QAAI,IAAI;AAEvB,UAAM,aAAa,YAAY;AAC7B,YAAMA,UAAS,CAAA;AAEf,eAAS,IAAI,GAAG,KAAK,MAAM,YAAY,KAAK;AAC1C,cAAM,MAAM,IAAI;AAChB,YAAI,MAAM,GAAG,MAAM,SAAS,IAAI,CAAC;AAEjC,YAAI;AACF,gBAAM,IAAI;AAEV,uBAAa;AAAA,QACd,SAAQ,OAAO;AACd,kBAAQ,KAAK,oBAAoB,MAAM,SAAS,IAAI,CAAC,SAAS,KAAK;AAAA,QACpE;AAED,QAAAA,QAAO,KAAK,GAAG;AAAA,MAChB;AAED,aAAOA;AAAA,IACT;AAGA,UAAM,kBAAkB,SAAS,MAAM;AACrC,aAAO,KAAK,MAAO,aAAa,QAAQ,MAAM,aAAc,GAAG;AAAA,IACjE,CAAC;AAED,UAAM,SAAS,IAAI,CAAA,CAAE;AAErB,UAAM,eAAe,IAAI,EAAE;AAC3B,UAAM,iBAAiB,IAAI,IAAI;AAC/B,UAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ,OAAO,MAAM,KAAK,KAAK;AAAA,IAC9C,CAAC;AAED,aAAS,cAAc,OAAO;AAC5B,iBAAW,QAAQ;AACnB,mBAAa,QAAQ,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AAAA,IACzD;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,WAAW,MAAO;AAEvB,YAAM,iBAAiB,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AACzD,YAAM,OAAO,iBAAiB,aAAa;AAE3C,UAAI,KAAK,IAAI,IAAI,KAAK,GAAG;AACvB,cAAM,YAAY,OAAO,IAAI,IAAI;AACjC,mBAAW,SAAS,WAAW,QAAQ,aAAa,MAAM;AAC1D,YAAI,WAAW,QAAQ,EAAG,YAAW,QAAQ,MAAM,aAAa;AAEhE,qBAAa,QAAQ;AAAA,MACtB;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,iBAAW,QAAQ;AAAA,IACrB;AAEA,QAAI,qBAAqB;AAEzB,UAAM,eAAe,MAAM;AACzB,aAAO,QAAQ;IACjB;AAIA,cAAU,YAAY;AACpB,aAAO,QAAQ,MAAM;AACrB,mBAAa,QAAQ,OAAO,MAAM,CAAC,KAAK;AAAA,IAC1C,CAAC;AACD,gBAAY,MAAM;AAChB,oBAAc,kBAAkB;AAChC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
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 PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createVNode, withCtx } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Popup/Popup.
|
2
|
+
import _sfc_main$1 from "../../../../components/Popup/Popup.vue2.js";
|
3
3
|
import _sfc_main$2 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
const leftovers = require("../../store/leftovers.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import { actions } from "../../store/leftovers.js";
|
5
5
|
/* empty css */
|
6
6
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
;/* empty css
|
5
|
+
;/* empty css */
|
6
6
|
const CardPosition = require("./CardPosition.vue.cjs");
|
7
7
|
const leftovers = require("../../store/leftovers.cjs");
|
8
8
|
;/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
/* empty css
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$1 from "./CardPosition.vue.js";
|
5
5
|
import { actions } from "../../store/leftovers.js";
|
6
6
|
/* empty css */
|
@@ -7,8 +7,7 @@ const _hoisted_1 = {
|
|
7
7
|
class: "thc"
|
8
8
|
};
|
9
9
|
const _hoisted_2 = { class: "t-bold t-white" };
|
10
|
-
const _hoisted_3 =
|
11
|
-
const _hoisted_4 = {
|
10
|
+
const _hoisted_3 = {
|
12
11
|
key: 0,
|
13
12
|
width: "60",
|
14
13
|
height: "66",
|
@@ -16,16 +15,7 @@ const _hoisted_4 = {
|
|
16
15
|
fill: "none",
|
17
16
|
xmlns: "http://www.w3.org/2000/svg"
|
18
17
|
};
|
19
|
-
const
|
20
|
-
fill: "#FF0000",
|
21
|
-
stroke: "rgb(var(--white))",
|
22
|
-
"stroke-width": "3",
|
23
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
24
|
-
}, null, -1);
|
25
|
-
const _hoisted_6 = [
|
26
|
-
_hoisted_5
|
27
|
-
];
|
28
|
-
const _hoisted_7 = {
|
18
|
+
const _hoisted_4 = {
|
29
19
|
key: 1,
|
30
20
|
width: "60",
|
31
21
|
height: "66",
|
@@ -33,16 +23,7 @@ const _hoisted_7 = {
|
|
33
23
|
fill: "none",
|
34
24
|
xmlns: "http://www.w3.org/2000/svg"
|
35
25
|
};
|
36
|
-
const
|
37
|
-
fill: "#FF0099",
|
38
|
-
stroke: "rgb(var(--white))",
|
39
|
-
"stroke-width": "3",
|
40
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
41
|
-
}, null, -1);
|
42
|
-
const _hoisted_9 = [
|
43
|
-
_hoisted_8
|
44
|
-
];
|
45
|
-
const _hoisted_10 = {
|
26
|
+
const _hoisted_5 = {
|
46
27
|
key: 2,
|
47
28
|
width: "60",
|
48
29
|
height: "66",
|
@@ -50,16 +31,7 @@ const _hoisted_10 = {
|
|
50
31
|
fill: "none",
|
51
32
|
xmlns: "http://www.w3.org/2000/svg"
|
52
33
|
};
|
53
|
-
const
|
54
|
-
fill: "#EB00FF",
|
55
|
-
stroke: "rgb(var(--white))",
|
56
|
-
"stroke-width": "3",
|
57
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
58
|
-
}, null, -1);
|
59
|
-
const _hoisted_12 = [
|
60
|
-
_hoisted_11
|
61
|
-
];
|
62
|
-
const _hoisted_13 = {
|
34
|
+
const _hoisted_6 = {
|
63
35
|
key: 3,
|
64
36
|
width: "60",
|
65
37
|
height: "66",
|
@@ -67,15 +39,6 @@ const _hoisted_13 = {
|
|
67
39
|
fill: "none",
|
68
40
|
xmlns: "http://www.w3.org/2000/svg"
|
69
41
|
};
|
70
|
-
const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("path", {
|
71
|
-
fill: "#00FF29",
|
72
|
-
stroke: "rgb(var(--white))",
|
73
|
-
"stroke-width": "3",
|
74
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
75
|
-
}, null, -1);
|
76
|
-
const _hoisted_15 = [
|
77
|
-
_hoisted_14
|
78
|
-
];
|
79
42
|
const _sfc_main = {
|
80
43
|
__name: "THC",
|
81
44
|
props: {
|
@@ -85,11 +48,39 @@ const _sfc_main = {
|
|
85
48
|
return (_ctx, _cache) => {
|
86
49
|
return __props.product.information[1] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
87
50
|
vue.createElementVNode("p", _hoisted_2, vue.toDisplayString(__props.product.information[1].value) + " %", 1),
|
88
|
-
|
89
|
-
Number(__props.product.information[1].value) >= 18 ? (vue.openBlock(), vue.createElementBlock("svg",
|
90
|
-
|
91
|
-
|
92
|
-
|
51
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("p", { class: "t-white h6" }, "THC", -1)),
|
52
|
+
Number(__props.product.information[1].value) >= 18 ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3, _cache[0] || (_cache[0] = [
|
53
|
+
vue.createElementVNode("path", {
|
54
|
+
fill: "#FF0000",
|
55
|
+
stroke: "rgb(var(--white))",
|
56
|
+
"stroke-width": "3",
|
57
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
58
|
+
}, null, -1)
|
59
|
+
]))) : vue.createCommentVNode("", true),
|
60
|
+
Number(__props.product.information[1].value) <= 18 && Number(__props.product.information[1].value) >= 14 ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4, _cache[1] || (_cache[1] = [
|
61
|
+
vue.createElementVNode("path", {
|
62
|
+
fill: "#FF0099",
|
63
|
+
stroke: "rgb(var(--white))",
|
64
|
+
"stroke-width": "3",
|
65
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
66
|
+
}, null, -1)
|
67
|
+
]))) : vue.createCommentVNode("", true),
|
68
|
+
Number(__props.product.information[1].value) <= 14 && Number(__props.product.information[1].value) >= 10 ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5, _cache[2] || (_cache[2] = [
|
69
|
+
vue.createElementVNode("path", {
|
70
|
+
fill: "#EB00FF",
|
71
|
+
stroke: "rgb(var(--white))",
|
72
|
+
"stroke-width": "3",
|
73
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
74
|
+
}, null, -1)
|
75
|
+
]))) : vue.createCommentVNode("", true),
|
76
|
+
Number(__props.product.information[1].value) <= 10 ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_6, _cache[3] || (_cache[3] = [
|
77
|
+
vue.createElementVNode("path", {
|
78
|
+
fill: "#00FF29",
|
79
|
+
stroke: "rgb(var(--white))",
|
80
|
+
"stroke-width": "3",
|
81
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
82
|
+
}, null, -1)
|
83
|
+
]))) : vue.createCommentVNode("", true)
|
93
84
|
])) : vue.createCommentVNode("", true);
|
94
85
|
};
|
95
86
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"THC.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"THC.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -5,8 +5,7 @@ const _hoisted_1 = {
|
|
5
5
|
class: "thc"
|
6
6
|
};
|
7
7
|
const _hoisted_2 = { class: "t-bold t-white" };
|
8
|
-
const _hoisted_3 =
|
9
|
-
const _hoisted_4 = {
|
8
|
+
const _hoisted_3 = {
|
10
9
|
key: 0,
|
11
10
|
width: "60",
|
12
11
|
height: "66",
|
@@ -14,16 +13,7 @@ const _hoisted_4 = {
|
|
14
13
|
fill: "none",
|
15
14
|
xmlns: "http://www.w3.org/2000/svg"
|
16
15
|
};
|
17
|
-
const
|
18
|
-
fill: "#FF0000",
|
19
|
-
stroke: "rgb(var(--white))",
|
20
|
-
"stroke-width": "3",
|
21
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
22
|
-
}, null, -1);
|
23
|
-
const _hoisted_6 = [
|
24
|
-
_hoisted_5
|
25
|
-
];
|
26
|
-
const _hoisted_7 = {
|
16
|
+
const _hoisted_4 = {
|
27
17
|
key: 1,
|
28
18
|
width: "60",
|
29
19
|
height: "66",
|
@@ -31,16 +21,7 @@ const _hoisted_7 = {
|
|
31
21
|
fill: "none",
|
32
22
|
xmlns: "http://www.w3.org/2000/svg"
|
33
23
|
};
|
34
|
-
const
|
35
|
-
fill: "#FF0099",
|
36
|
-
stroke: "rgb(var(--white))",
|
37
|
-
"stroke-width": "3",
|
38
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
39
|
-
}, null, -1);
|
40
|
-
const _hoisted_9 = [
|
41
|
-
_hoisted_8
|
42
|
-
];
|
43
|
-
const _hoisted_10 = {
|
24
|
+
const _hoisted_5 = {
|
44
25
|
key: 2,
|
45
26
|
width: "60",
|
46
27
|
height: "66",
|
@@ -48,16 +29,7 @@ const _hoisted_10 = {
|
|
48
29
|
fill: "none",
|
49
30
|
xmlns: "http://www.w3.org/2000/svg"
|
50
31
|
};
|
51
|
-
const
|
52
|
-
fill: "#EB00FF",
|
53
|
-
stroke: "rgb(var(--white))",
|
54
|
-
"stroke-width": "3",
|
55
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
56
|
-
}, null, -1);
|
57
|
-
const _hoisted_12 = [
|
58
|
-
_hoisted_11
|
59
|
-
];
|
60
|
-
const _hoisted_13 = {
|
32
|
+
const _hoisted_6 = {
|
61
33
|
key: 3,
|
62
34
|
width: "60",
|
63
35
|
height: "66",
|
@@ -65,15 +37,6 @@ const _hoisted_13 = {
|
|
65
37
|
fill: "none",
|
66
38
|
xmlns: "http://www.w3.org/2000/svg"
|
67
39
|
};
|
68
|
-
const _hoisted_14 = /* @__PURE__ */ createElementVNode("path", {
|
69
|
-
fill: "#00FF29",
|
70
|
-
stroke: "rgb(var(--white))",
|
71
|
-
"stroke-width": "3",
|
72
|
-
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
73
|
-
}, null, -1);
|
74
|
-
const _hoisted_15 = [
|
75
|
-
_hoisted_14
|
76
|
-
];
|
77
40
|
const _sfc_main = {
|
78
41
|
__name: "THC",
|
79
42
|
props: {
|
@@ -83,11 +46,39 @@ const _sfc_main = {
|
|
83
46
|
return (_ctx, _cache) => {
|
84
47
|
return __props.product.information[1] ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
85
48
|
createElementVNode("p", _hoisted_2, toDisplayString(__props.product.information[1].value) + " %", 1),
|
86
|
-
|
87
|
-
Number(__props.product.information[1].value) >= 18 ? (openBlock(), createElementBlock("svg",
|
88
|
-
|
89
|
-
|
90
|
-
|
49
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "t-white h6" }, "THC", -1)),
|
50
|
+
Number(__props.product.information[1].value) >= 18 ? (openBlock(), createElementBlock("svg", _hoisted_3, _cache[0] || (_cache[0] = [
|
51
|
+
createElementVNode("path", {
|
52
|
+
fill: "#FF0000",
|
53
|
+
stroke: "rgb(var(--white))",
|
54
|
+
"stroke-width": "3",
|
55
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
56
|
+
}, null, -1)
|
57
|
+
]))) : createCommentVNode("", true),
|
58
|
+
Number(__props.product.information[1].value) <= 18 && Number(__props.product.information[1].value) >= 14 ? (openBlock(), createElementBlock("svg", _hoisted_4, _cache[1] || (_cache[1] = [
|
59
|
+
createElementVNode("path", {
|
60
|
+
fill: "#FF0099",
|
61
|
+
stroke: "rgb(var(--white))",
|
62
|
+
"stroke-width": "3",
|
63
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
64
|
+
}, null, -1)
|
65
|
+
]))) : createCommentVNode("", true),
|
66
|
+
Number(__props.product.information[1].value) <= 14 && Number(__props.product.information[1].value) >= 10 ? (openBlock(), createElementBlock("svg", _hoisted_5, _cache[2] || (_cache[2] = [
|
67
|
+
createElementVNode("path", {
|
68
|
+
fill: "#EB00FF",
|
69
|
+
stroke: "rgb(var(--white))",
|
70
|
+
"stroke-width": "3",
|
71
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
72
|
+
}, null, -1)
|
73
|
+
]))) : createCommentVNode("", true),
|
74
|
+
Number(__props.product.information[1].value) <= 10 ? (openBlock(), createElementBlock("svg", _hoisted_6, _cache[3] || (_cache[3] = [
|
75
|
+
createElementVNode("path", {
|
76
|
+
fill: "#00FF29",
|
77
|
+
stroke: "rgb(var(--white))",
|
78
|
+
"stroke-width": "3",
|
79
|
+
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
80
|
+
}, null, -1)
|
81
|
+
]))) : createCommentVNode("", true)
|
91
82
|
])) : createCommentVNode("", true);
|
92
83
|
};
|
93
84
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"THC.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"THC.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -4,11 +4,10 @@ const vue = require("vue");
|
|
4
4
|
const vueDraggableNext_esmBundler = require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs");
|
5
5
|
const vueRouter = require("vue-router");
|
6
6
|
const categories = require("../../store/categories.cjs");
|
7
|
-
const Button = require("../../../../components/Button/Button.
|
7
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
8
8
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
9
9
|
const CardCategory = require("../blocks/CardCategory.vue.cjs");
|
10
10
|
const _hoisted_1 = { class: "pd-thin" };
|
11
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("h1", { class: "mn-r-auto" }, " Product Categories ", -1);
|
12
11
|
const _sfc_main = {
|
13
12
|
__name: "Categories",
|
14
13
|
setup(__props) {
|
@@ -39,7 +38,7 @@ const _sfc_main = {
|
|
39
38
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
40
39
|
vue.createVNode(Block.default, { class: "radius-big mn-b-thin flex-nowrap flex-v-center flex" }, {
|
41
40
|
default: vue.withCtx(() => [
|
42
|
-
|
41
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("h1", { class: "mn-r-auto" }, " Product Categories ", -1)),
|
43
42
|
vue.createVNode(_component_router_link, {
|
44
43
|
to: {
|
45
44
|
name: "CategoryAdd",
|
@@ -49,18 +48,18 @@ const _sfc_main = {
|
|
49
48
|
},
|
50
49
|
class: "mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link"
|
51
50
|
}, {
|
52
|
-
default: vue.withCtx(() => [
|
51
|
+
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
53
52
|
vue.createTextVNode(" Add category ")
|
54
|
-
]),
|
53
|
+
])),
|
55
54
|
_: 1
|
56
55
|
}, 8, ["to"]),
|
57
56
|
vue.createVNode(Button.default, {
|
58
57
|
onClick: updateCategoriesOrder,
|
59
58
|
class: "pd-small radius-big bg-black t-white uppercase t-medium"
|
60
59
|
}, {
|
61
|
-
default: vue.withCtx(() => [
|
60
|
+
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
62
61
|
vue.createTextVNode(" Change Order ")
|
63
|
-
]),
|
62
|
+
])),
|
64
63
|
_: 1
|
65
64
|
})
|
66
65
|
]),
|
package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Categories.vue.cjs","sources":["../../../../../../../src/modules/products/components/pages/Categories.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n <Block class=\"radius-big mn-b-thin flex-nowrap flex-v-center flex\">\n <h1 class=\"mn-r-auto\">\n Product Categories\n </h1>\n\n <router-link \n :to=\"{\n name: 'CategoryAdd', \n params: { \n _id: $route.params._id\n } \n }\"\n class=\"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link\"\n >\n Add category\n </router-link>\n\n <Button \n @click=\"updateCategoriesOrder\" \n class=\"pd-small radius-big bg-black t-white uppercase t-medium\"\n >\n Change Order\n </Button>\n </Block>\n\n <VueDraggableNext \n class=\"dragArea list-group w-full\" \n :list=\"categories.state.all\" \n item-key=\"order\" \n @end=\"updateOrder\"\n >\n <CardCategory \n v-for=\"(category, index) in categories.state.all\"\n :key=\"category.id\"\n :category=\"category\" \n @delete=\"deleteCategory\"\n class=\"pd-medium bg-light radius-medium mn-b-thin\"\n />\n </VueDraggableNext>\n </div>\n</template>\n\n<script setup>\n import { onMounted } from 'vue';\n import { VueDraggableNext } from 'vue-draggable-next';\n\n import { useRoute, useRouter } from 'vue-router';\n\n import * as categories from '@pf/src/modules/products/store/categories'; \n\n const route = useRoute();\n const router = useRouter();\n\n import Button from \"@pf/src/components/Button/Button.vue\";\n import Block from '@pf/src/components/Block/Block.vue';\n import CardCategory from '@pf/src/modules/products/components/blocks/CardCategory.vue';\n\n onMounted(async () => {\n await categories.actions.fetchCategories();\n });\n\n function updateOrder() {\n categories.state.all.forEach((category, index) => {\n category.order = index;\n });\n updateCategoriesOrder();\n }\n\n async function updateCategoriesOrder() {\n await categories.actions.updateCategories(categories.state.all);\n }\n\n async function deleteCategory(category) {\n // Запрашиваем подтверждение у пользователя\n const isConfirmed = confirm(`Are you sure you want to delete the category \"${category.name}\"?`);\n \n // Если пользователь подтвердил удаление, продолжаем процесс\n if (isConfirmed) {\n await categories.actions.deleteCategory(category.url);\n } else {\n alert('Category deletion cancelled'); \n }\n }\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useRoute","useRouter","onMounted","categories.actions","categories.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Categories.vue.cjs","sources":["../../../../../../../src/modules/products/components/pages/Categories.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n <Block class=\"radius-big mn-b-thin flex-nowrap flex-v-center flex\">\n <h1 class=\"mn-r-auto\">\n Product Categories\n </h1>\n\n <router-link \n :to=\"{\n name: 'CategoryAdd', \n params: { \n _id: $route.params._id\n } \n }\"\n class=\"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link\"\n >\n Add category\n </router-link>\n\n <Button \n @click=\"updateCategoriesOrder\" \n class=\"pd-small radius-big bg-black t-white uppercase t-medium\"\n >\n Change Order\n </Button>\n </Block>\n\n <VueDraggableNext \n class=\"dragArea list-group w-full\" \n :list=\"categories.state.all\" \n item-key=\"order\" \n @end=\"updateOrder\"\n >\n <CardCategory \n v-for=\"(category, index) in categories.state.all\"\n :key=\"category.id\"\n :category=\"category\" \n @delete=\"deleteCategory\"\n class=\"pd-medium bg-light radius-medium mn-b-thin\"\n />\n </VueDraggableNext>\n </div>\n</template>\n\n<script setup>\n import { onMounted } from 'vue';\n import { VueDraggableNext } from 'vue-draggable-next';\n\n import { useRoute, useRouter } from 'vue-router';\n\n import * as categories from '@pf/src/modules/products/store/categories'; \n\n const route = useRoute();\n const router = useRouter();\n\n import Button from \"@pf/src/components/Button/Button.vue\";\n import Block from '@pf/src/components/Block/Block.vue';\n import CardCategory from '@pf/src/modules/products/components/blocks/CardCategory.vue';\n\n onMounted(async () => {\n await categories.actions.fetchCategories();\n });\n\n function updateOrder() {\n categories.state.all.forEach((category, index) => {\n category.order = index;\n });\n updateCategoriesOrder();\n }\n\n async function updateCategoriesOrder() {\n await categories.actions.updateCategories(categories.state.all);\n }\n\n async function deleteCategory(category) {\n // Запрашиваем подтверждение у пользователя\n const isConfirmed = confirm(`Are you sure you want to delete the category \"${category.name}\"?`);\n \n // Если пользователь подтвердил удаление, продолжаем процесс\n if (isConfirmed) {\n await categories.actions.deleteCategory(category.url);\n } else {\n alert('Category deletion cancelled'); \n }\n }\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useRoute","useRouter","onMounted","categories.actions","categories.state"],"mappings":";;;;;;;;;;;;;AAoDgBA,uBAAW;AACVC,wBAAY;AAM3BC,QAAAA,UAAU,YAAY;AACpB,YAAMC,WAAAA,QAAmB;IAC7B,CAAG;AAED,aAAS,cAAc;AACrBC,iBAAAA,MAAiB,IAAI,QAAQ,CAAC,UAAU,UAAU;AAChD,iBAAS,QAAQ;AAAA,MACvB,CAAK;AACD;IACD;AAED,mBAAe,wBAAwB;AACrC,YAAMD,mBAAmB,iBAAiBC,WAAgB,MAAC,GAAG;AAAA,IAC/D;AAED,mBAAe,eAAe,UAAU;AAEtC,YAAM,cAAc,QAAQ,iDAAiD,SAAS,IAAI,IAAI;AAG9F,UAAI,aAAa;AACf,cAAMD,mBAAmB,eAAe,SAAS,GAAG;AAAA,MAC1D,OAAW;AACL,cAAM,6BAA6B;AAAA,MACpC;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,12 +1,11 @@
|
|
1
|
-
import { onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, unref, Fragment, renderList, createBlock
|
1
|
+
import { onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, unref, Fragment, renderList, createBlock } from "vue";
|
2
2
|
import { VueDraggableNext } from "../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js";
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
4
4
|
import { actions, state } from "../../store/categories.js";
|
5
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
5
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
6
6
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
7
7
|
import _sfc_main$3 from "../blocks/CardCategory.vue.js";
|
8
8
|
const _hoisted_1 = { class: "pd-thin" };
|
9
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("h1", { class: "mn-r-auto" }, " Product Categories ", -1);
|
10
9
|
const _sfc_main = {
|
11
10
|
__name: "Categories",
|
12
11
|
setup(__props) {
|
@@ -37,7 +36,7 @@ const _sfc_main = {
|
|
37
36
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
38
37
|
createVNode(_sfc_main$1, { class: "radius-big mn-b-thin flex-nowrap flex-v-center flex" }, {
|
39
38
|
default: withCtx(() => [
|
40
|
-
|
39
|
+
_cache[2] || (_cache[2] = createElementVNode("h1", { class: "mn-r-auto" }, " Product Categories ", -1)),
|
41
40
|
createVNode(_component_router_link, {
|
42
41
|
to: {
|
43
42
|
name: "CategoryAdd",
|
@@ -47,18 +46,18 @@ const _sfc_main = {
|
|
47
46
|
},
|
48
47
|
class: "mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link"
|
49
48
|
}, {
|
50
|
-
default: withCtx(() => [
|
49
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
51
50
|
createTextVNode(" Add category ")
|
52
|
-
]),
|
51
|
+
])),
|
53
52
|
_: 1
|
54
53
|
}, 8, ["to"]),
|
55
54
|
createVNode(_sfc_main$2, {
|
56
55
|
onClick: updateCategoriesOrder,
|
57
56
|
class: "pd-small radius-big bg-black t-white uppercase t-medium"
|
58
57
|
}, {
|
59
|
-
default: withCtx(() => [
|
58
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
60
59
|
createTextVNode(" Change Order ")
|
61
|
-
]),
|
60
|
+
])),
|
62
61
|
_: 1
|
63
62
|
})
|
64
63
|
]),
|
package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Categories.vue.js","sources":["../../../../../../../src/modules/products/components/pages/Categories.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n <Block class=\"radius-big mn-b-thin flex-nowrap flex-v-center flex\">\n <h1 class=\"mn-r-auto\">\n Product Categories\n </h1>\n\n <router-link \n :to=\"{\n name: 'CategoryAdd', \n params: { \n _id: $route.params._id\n } \n }\"\n class=\"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link\"\n >\n Add category\n </router-link>\n\n <Button \n @click=\"updateCategoriesOrder\" \n class=\"pd-small radius-big bg-black t-white uppercase t-medium\"\n >\n Change Order\n </Button>\n </Block>\n\n <VueDraggableNext \n class=\"dragArea list-group w-full\" \n :list=\"categories.state.all\" \n item-key=\"order\" \n @end=\"updateOrder\"\n >\n <CardCategory \n v-for=\"(category, index) in categories.state.all\"\n :key=\"category.id\"\n :category=\"category\" \n @delete=\"deleteCategory\"\n class=\"pd-medium bg-light radius-medium mn-b-thin\"\n />\n </VueDraggableNext>\n </div>\n</template>\n\n<script setup>\n import { onMounted } from 'vue';\n import { VueDraggableNext } from 'vue-draggable-next';\n\n import { useRoute, useRouter } from 'vue-router';\n\n import * as categories from '@pf/src/modules/products/store/categories'; \n\n const route = useRoute();\n const router = useRouter();\n\n import Button from \"@pf/src/components/Button/Button.vue\";\n import Block from '@pf/src/components/Block/Block.vue';\n import CardCategory from '@pf/src/modules/products/components/blocks/CardCategory.vue';\n\n onMounted(async () => {\n await categories.actions.fetchCategories();\n });\n\n function updateOrder() {\n categories.state.all.forEach((category, index) => {\n category.order = index;\n });\n updateCategoriesOrder();\n }\n\n async function updateCategoriesOrder() {\n await categories.actions.updateCategories(categories.state.all);\n }\n\n async function deleteCategory(category) {\n // Запрашиваем подтверждение у пользователя\n const isConfirmed = confirm(`Are you sure you want to delete the category \"${category.name}\"?`);\n \n // Если пользователь подтвердил удаление, продолжаем процесс\n if (isConfirmed) {\n await categories.actions.deleteCategory(category.url);\n } else {\n alert('Category deletion cancelled'); \n }\n }\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["categories.actions","categories.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Categories.vue.js","sources":["../../../../../../../src/modules/products/components/pages/Categories.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n <Block class=\"radius-big mn-b-thin flex-nowrap flex-v-center flex\">\n <h1 class=\"mn-r-auto\">\n Product Categories\n </h1>\n\n <router-link \n :to=\"{\n name: 'CategoryAdd', \n params: { \n _id: $route.params._id\n } \n }\"\n class=\"mn-r-medium uppercase t-medium pd-small radius-big bg-white nav-link\"\n >\n Add category\n </router-link>\n\n <Button \n @click=\"updateCategoriesOrder\" \n class=\"pd-small radius-big bg-black t-white uppercase t-medium\"\n >\n Change Order\n </Button>\n </Block>\n\n <VueDraggableNext \n class=\"dragArea list-group w-full\" \n :list=\"categories.state.all\" \n item-key=\"order\" \n @end=\"updateOrder\"\n >\n <CardCategory \n v-for=\"(category, index) in categories.state.all\"\n :key=\"category.id\"\n :category=\"category\" \n @delete=\"deleteCategory\"\n class=\"pd-medium bg-light radius-medium mn-b-thin\"\n />\n </VueDraggableNext>\n </div>\n</template>\n\n<script setup>\n import { onMounted } from 'vue';\n import { VueDraggableNext } from 'vue-draggable-next';\n\n import { useRoute, useRouter } from 'vue-router';\n\n import * as categories from '@pf/src/modules/products/store/categories'; \n\n const route = useRoute();\n const router = useRouter();\n\n import Button from \"@pf/src/components/Button/Button.vue\";\n import Block from '@pf/src/components/Block/Block.vue';\n import CardCategory from '@pf/src/modules/products/components/blocks/CardCategory.vue';\n\n onMounted(async () => {\n await categories.actions.fetchCategories();\n });\n\n function updateOrder() {\n categories.state.all.forEach((category, index) => {\n category.order = index;\n });\n updateCategoriesOrder();\n }\n\n async function updateCategoriesOrder() {\n await categories.actions.updateCategories(categories.state.all);\n }\n\n async function deleteCategory(category) {\n // Запрашиваем подтверждение у пользователя\n const isConfirmed = confirm(`Are you sure you want to delete the category \"${category.name}\"?`);\n \n // Если пользователь подтвердил удаление, продолжаем процесс\n if (isConfirmed) {\n await categories.actions.deleteCategory(category.url);\n } else {\n alert('Category deletion cancelled'); \n }\n }\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["categories.actions","categories.state"],"mappings":";;;;;;;;;;;AAoDgB,aAAW;AACV,cAAY;AAM3B,cAAU,YAAY;AACpB,YAAMA,QAAmB;IAC7B,CAAG;AAED,aAAS,cAAc;AACrBC,YAAiB,IAAI,QAAQ,CAAC,UAAU,UAAU;AAChD,iBAAS,QAAQ;AAAA,MACvB,CAAK;AACD;IACD;AAED,mBAAe,wBAAwB;AACrC,YAAMD,QAAmB,iBAAiBC,MAAiB,GAAG;AAAA,IAC/D;AAED,mBAAe,eAAe,UAAU;AAEtC,YAAM,cAAc,QAAQ,iDAAiD,SAAS,IAAI,IAAI;AAG9F,UAAI,aAAa;AACf,cAAMD,QAAmB,eAAe,SAAS,GAAG;AAAA,MAC1D,OAAW;AACL,cAAM,6BAA6B;AAAA,MACpC;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|