@ozdao/prometheus-framework 0.2.242 → 0.2.244
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +571 -583
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +571 -583
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +16 -9
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
- package/src/modules/events/components/elements/ButtonCheck1.vue +0 -107
- package/src/modules/events/components/elements/ButtonCheck2.vue +0 -76
@@ -1,10 +1,9 @@
|
|
1
|
-
import { ref, openBlock, createElementBlock, Fragment, renderList, unref,
|
1
|
+
import { ref, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, createBlock, createCommentVNode, toDisplayString } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../icons/navigation/IconCheckmark.vue.js";
|
3
3
|
const _hoisted_1 = { class: "bg-light radius-medium w-100" };
|
4
|
-
const _hoisted_2 =
|
5
|
-
const _hoisted_3 = { class: "
|
6
|
-
const _hoisted_4 = {
|
7
|
-
const _hoisted_5 = {
|
4
|
+
const _hoisted_2 = { class: "flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small" };
|
5
|
+
const _hoisted_3 = { class: "h4 w-8r" };
|
6
|
+
const _hoisted_4 = {
|
8
7
|
key: 0,
|
9
8
|
class: "h5 w-8r"
|
10
9
|
};
|
@@ -47,21 +46,21 @@ const _sfc_main = {
|
|
47
46
|
ref("This is some text to print\n\n");
|
48
47
|
return (_ctx, _cache) => {
|
49
48
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
50
|
-
|
49
|
+
_cache[0] || (_cache[0] = createElementVNode("h3", { class: "pd-medium" }, "Tracking History", -1)),
|
51
50
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(statusDetailedHistory), (status) => {
|
52
51
|
return openBlock(), createElementBlock("div", {
|
53
52
|
key: status,
|
54
53
|
class: "w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex"
|
55
54
|
}, [
|
56
|
-
createElementVNode("div",
|
55
|
+
createElementVNode("div", _hoisted_2, [
|
57
56
|
isStatusInHistory(status.status) ? (openBlock(), createBlock(_sfc_main$1, {
|
58
57
|
key: 0,
|
59
58
|
class: "i-medium"
|
60
59
|
})) : createCommentVNode("", true)
|
61
60
|
]),
|
62
61
|
createElementVNode("div", null, [
|
63
|
-
createElementVNode("p",
|
64
|
-
status.timestamp ? (openBlock(), createElementBlock("p",
|
62
|
+
createElementVNode("p", _hoisted_3, toDisplayString(status.status), 1),
|
63
|
+
status.timestamp ? (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString(_ctx.formatDate(status.timestamp)), 1)) : createCommentVNode("", true)
|
65
64
|
])
|
66
65
|
]);
|
67
66
|
}), 128))
|
package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StatusHistory.vue.js","sources":["../../../../../../../src/modules/orders/components/blocks/StatusHistory.vue"],"sourcesContent":["<template>\n <div class=\"bg-light radius-medium w-100\">\n <h3 class=\"pd-medium\">Tracking History</h3>\n <div v-for=\"status in statusDetailedHistory\" :key=\"status\" class=\"w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex\">\n <div class=\"flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small\">\n <IconCheckmark\n v-if=\"isStatusInHistory(status.status)\"\n class=\"i-medium\"\n />\n </div>\n\n <div>\n <p class=\"h4 w-8r\">{{status.status}}</p>\n <p v-if=\"status.timestamp\" class=\"h5 w-8r\">{{formatDate(status.timestamp)}}</p>\n </div>\n <!-- <router-link v-if=\"status.user\" :to=\"{ \n name: 'User Profile', \n params: {\n _id: status.user\n }\n }\" class=\"pd-small radius-extra bg-second t-white mn-l-auto flex-center uppercase t-semi\">Check User</router-link> -->\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed } from 'vue';\n\nimport IconCheckmark from '@pf/src/modules/icons/navigation/IconCheckmark.vue'\n\n// import Socket from '@vendus/sockets-for-cordova';\n\nconst props = defineProps({\n statusHistory: {\n type: Array\n },\n statusCurrent: {\n type: String\n },\n edit: {\n type: Boolean\n },\n statuses: {\n type: Array\n }\n})\n\nconst statusDetailedHistory = props.statuses.map(status => {\n const historyEntry = props.statusHistory.find(entry => entry.status === status);\n\n console.log()\n return {\n status,\n user: historyEntry?.user || undefined,\n timestamp: historyEntry ? historyEntry.timestamp : 'N/A',\n inHistory: !!historyEntry,\n _id: historyEntry ? historyEntry._id : null\n };\n});\n\nconst statusCurrent = ref(props.statusCurrent);\nconst statusHistory = ref(props.statusHistory);\n\n// Проверка, был ли статус уже установлен\nconst isStatusInHistory = (statusValue) => {\n return statusHistory.value.some(status => status.status === statusValue);\n};\n\n\nconst printerIP = ref('192.168.1.197');\nconst printerPort = ref(9100);\nconst textToPrint = ref('This is some text to print\\n\\n');\n\n// const printReceipt = async () => {\n// try {\n// const initPrinter = new Uint8Array([0x1b, 0x40]); // Команда инициализации принтера\n// const lineFeed = new Uint8Array([0x0a]); // Перевод строки\n// const cutPaper = new Uint8Array([0x1d, 0x56, 0x01]); // Резка бумаги\n\n// const encoder = new TextEncoder();\n// const textData = encoder.encode(textToPrint.value);\n\n// const dataToSend = new Uint8Array([\n// ...initPrinter,\n// ...textData,\n// ...lineFeed,\n// ...cutPaper\n// ]);\n\n// const socket = new Socket();\n\n// socket.onError = function (errorMessage) {\n// console.error('Ошибка при подключении к принтеру:', errorMessage);\n// };\n\n// socket.onClose = function (hasError) {\n// console.log('Соединение с принтером закрыто');\n// };\n\n// await new Promise((resolve, reject) => {\n// socket.open(\n// printerIP.value,\n// printerPort.value,\n// function () {\n// console.log('Подключено к принтеру');\n// resolve();\n// },\n// function (errorMessage) {\n// console.error('Не удалось подключиться к принтеру:', errorMessage);\n// reject(errorMessage);\n// }\n// );\n// });\n\n// socket.write(dataToSend);\n\n// socket.shutdownWrite();\n\n// console.log('Чек успешно напечатан');\n// } catch (error) {\n// console.error('Ошибка при печати чека:', error);\n// }\n// };\n</script>\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"StatusHistory.vue.js","sources":["../../../../../../../src/modules/orders/components/blocks/StatusHistory.vue"],"sourcesContent":["<template>\n <div class=\"bg-light radius-medium w-100\">\n <h3 class=\"pd-medium\">Tracking History</h3>\n <div v-for=\"status in statusDetailedHistory\" :key=\"status\" class=\"w-100 br-t br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex\">\n <div class=\"flex-center flex i-big radius-extra br-solid br-2px br-black-transp-10 mn-r-small\">\n <IconCheckmark\n v-if=\"isStatusInHistory(status.status)\"\n class=\"i-medium\"\n />\n </div>\n\n <div>\n <p class=\"h4 w-8r\">{{status.status}}</p>\n <p v-if=\"status.timestamp\" class=\"h5 w-8r\">{{formatDate(status.timestamp)}}</p>\n </div>\n <!-- <router-link v-if=\"status.user\" :to=\"{ \n name: 'User Profile', \n params: {\n _id: status.user\n }\n }\" class=\"pd-small radius-extra bg-second t-white mn-l-auto flex-center uppercase t-semi\">Check User</router-link> -->\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed } from 'vue';\n\nimport IconCheckmark from '@pf/src/modules/icons/navigation/IconCheckmark.vue'\n\n// import Socket from '@vendus/sockets-for-cordova';\n\nconst props = defineProps({\n statusHistory: {\n type: Array\n },\n statusCurrent: {\n type: String\n },\n edit: {\n type: Boolean\n },\n statuses: {\n type: Array\n }\n})\n\nconst statusDetailedHistory = props.statuses.map(status => {\n const historyEntry = props.statusHistory.find(entry => entry.status === status);\n\n console.log()\n return {\n status,\n user: historyEntry?.user || undefined,\n timestamp: historyEntry ? historyEntry.timestamp : 'N/A',\n inHistory: !!historyEntry,\n _id: historyEntry ? historyEntry._id : null\n };\n});\n\nconst statusCurrent = ref(props.statusCurrent);\nconst statusHistory = ref(props.statusHistory);\n\n// Проверка, был ли статус уже установлен\nconst isStatusInHistory = (statusValue) => {\n return statusHistory.value.some(status => status.status === statusValue);\n};\n\n\nconst printerIP = ref('192.168.1.197');\nconst printerPort = ref(9100);\nconst textToPrint = ref('This is some text to print\\n\\n');\n\n// const printReceipt = async () => {\n// try {\n// const initPrinter = new Uint8Array([0x1b, 0x40]); // Команда инициализации принтера\n// const lineFeed = new Uint8Array([0x0a]); // Перевод строки\n// const cutPaper = new Uint8Array([0x1d, 0x56, 0x01]); // Резка бумаги\n\n// const encoder = new TextEncoder();\n// const textData = encoder.encode(textToPrint.value);\n\n// const dataToSend = new Uint8Array([\n// ...initPrinter,\n// ...textData,\n// ...lineFeed,\n// ...cutPaper\n// ]);\n\n// const socket = new Socket();\n\n// socket.onError = function (errorMessage) {\n// console.error('Ошибка при подключении к принтеру:', errorMessage);\n// };\n\n// socket.onClose = function (hasError) {\n// console.log('Соединение с принтером закрыто');\n// };\n\n// await new Promise((resolve, reject) => {\n// socket.open(\n// printerIP.value,\n// printerPort.value,\n// function () {\n// console.log('Подключено к принтеру');\n// resolve();\n// },\n// function (errorMessage) {\n// console.error('Не удалось подключиться к принтеру:', errorMessage);\n// reject(errorMessage);\n// }\n// );\n// });\n\n// socket.write(dataToSend);\n\n// socket.shutdownWrite();\n\n// console.log('Чек успешно напечатан');\n// } catch (error) {\n// console.error('Ошибка при печати чека:', error);\n// }\n// };\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,UAAM,QAAQ;AAed,UAAM,wBAAwB,MAAM,SAAS,IAAI,YAAU;AACzD,YAAM,eAAe,MAAM,cAAc,KAAK,WAAS,MAAM,WAAW,MAAM;AAE9E,cAAQ,IAAK;AACb,aAAO;AAAA,QACL;AAAA,QACA,OAAM,6CAAc,SAAQ;AAAA,QAC5B,WAAW,eAAe,aAAa,YAAY;AAAA,QACnD,WAAW,CAAC,CAAC;AAAA,QACb,KAAK,eAAe,aAAa,MAAM;AAAA,MAC3C;AAAA,IACA,CAAC;AAEqB,QAAI,MAAM,aAAa;AAC7C,UAAM,gBAAgB,IAAI,MAAM,aAAa;AAG7C,UAAM,oBAAoB,CAAC,gBAAgB;AACzC,aAAO,cAAc,MAAM,KAAK,YAAU,OAAO,WAAW,WAAW;AAAA,IACzE;AAGkB,QAAI,eAAe;AACjB,QAAI,IAAI;AACR,QAAI,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -12,7 +12,6 @@ const products = require("../../../products/store/products.cjs");
|
|
12
12
|
const organizations = require("../../../organizations/store/organizations.cjs");
|
13
13
|
;/* empty css */
|
14
14
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
15
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-d2db1c69"), n = n(), vue.popScopeId(), n);
|
16
15
|
const _hoisted_1 = {
|
17
16
|
key: 0,
|
18
17
|
class: "pd-thin"
|
@@ -22,52 +21,41 @@ const _hoisted_2 = {
|
|
22
21
|
class: "mn-b-thin pos-relative w-100 bg-main radius-big pd-big"
|
23
22
|
};
|
24
23
|
const _hoisted_3 = { class: "mn-b-small" };
|
25
|
-
const _hoisted_4 =
|
26
|
-
const _hoisted_5 = { class: "
|
27
|
-
const _hoisted_6 = { class: "
|
28
|
-
const _hoisted_7 = {
|
29
|
-
const _hoisted_8 = {
|
24
|
+
const _hoisted_4 = { class: "radius-extra mn-b-medium flex-nowrap flex h-1r pos-relativew-40r" };
|
25
|
+
const _hoisted_5 = { class: "pos-absolute pos-t-medium pos-r-medium t-medium p-medium" };
|
26
|
+
const _hoisted_6 = { class: "p-small t-transp" };
|
27
|
+
const _hoisted_7 = {
|
30
28
|
key: 1,
|
31
29
|
class: "gap-thin cols-2"
|
32
30
|
};
|
33
|
-
const
|
34
|
-
const
|
35
|
-
const
|
36
|
-
const
|
37
|
-
const
|
38
|
-
const
|
39
|
-
const
|
40
|
-
const
|
41
|
-
const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1));
|
42
|
-
const _hoisted_18 = { class: "w-100 t-right" };
|
43
|
-
const _hoisted_19 = {
|
31
|
+
const _hoisted_8 = { class: "w-100" };
|
32
|
+
const _hoisted_9 = { class: "mn-b-thin bg-light w-100 o-hidden radius-medium" };
|
33
|
+
const _hoisted_10 = { class: "pd-small flex-nowrap flex" };
|
34
|
+
const _hoisted_11 = { class: "mn-r-auto" };
|
35
|
+
const _hoisted_12 = { class: "t-lh-075 h2 d-block mn-b-small" };
|
36
|
+
const _hoisted_13 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
37
|
+
const _hoisted_14 = { class: "w-100 t-right" };
|
38
|
+
const _hoisted_15 = {
|
44
39
|
key: 0,
|
45
40
|
class: "pd-small cols-2 br-t br-black-transp-10 br-solid"
|
46
41
|
};
|
47
|
-
const
|
48
|
-
const
|
49
|
-
const
|
50
|
-
const
|
51
|
-
const
|
52
|
-
const
|
53
|
-
const
|
54
|
-
const _hoisted_27 = { class: "w-100 t-right mn-b-small" };
|
55
|
-
const _hoisted_28 = {
|
42
|
+
const _hoisted_16 = { class: "w-100 t-medium p-medium" };
|
43
|
+
const _hoisted_17 = { class: "w-100 t-right" };
|
44
|
+
const _hoisted_18 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
45
|
+
const _hoisted_19 = { class: "w-100 t-right" };
|
46
|
+
const _hoisted_20 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
47
|
+
const _hoisted_21 = { class: "w-100 t-right mn-b-small" };
|
48
|
+
const _hoisted_22 = {
|
56
49
|
key: 2,
|
57
50
|
class: "t-transp"
|
58
51
|
};
|
59
|
-
const
|
60
|
-
const
|
61
|
-
const
|
62
|
-
const
|
63
|
-
const
|
64
|
-
const
|
65
|
-
const
|
66
|
-
const _hoisted_36 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-r-auto t-transp" }, "Delivery", -1));
|
67
|
-
const _hoisted_37 = { class: "pd-small flex-bottom flex" };
|
68
|
-
const _hoisted_38 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1));
|
69
|
-
const _hoisted_39 = { class: "p-big t-semi" };
|
70
|
-
const _hoisted_40 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Chat With Us", -1));
|
52
|
+
const _hoisted_23 = { class: "bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100" };
|
53
|
+
const _hoisted_24 = { class: "flex gap-thin flex-column mn-b-semi" };
|
54
|
+
const _hoisted_25 = { class: "mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100" };
|
55
|
+
const _hoisted_26 = { class: "pd-small br-solid br-b br-black-transp-10 flex" };
|
56
|
+
const _hoisted_27 = { class: "pd-small br-solid br-b br-black-transp-10 flex" };
|
57
|
+
const _hoisted_28 = { class: "pd-small flex-bottom flex" };
|
58
|
+
const _hoisted_29 = { class: "p-big t-semi" };
|
71
59
|
const _sfc_main = {
|
72
60
|
__name: "Order",
|
73
61
|
setup(__props) {
|
@@ -130,8 +118,8 @@ const _sfc_main = {
|
|
130
118
|
return order.value && orderOrganization.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
131
119
|
order.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
132
120
|
vue.createElementVNode("h2", _hoisted_3, "Order is " + vue.toDisplayString(order.value.status), 1),
|
133
|
-
|
134
|
-
vue.createElementVNode("div",
|
121
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("p", { class: "mn-b-medium w-m-40r p-medium" }, "Your order has been successfully created. Our manager will contact you within five minutes to confirm your order.", -1)),
|
122
|
+
vue.createElementVNode("div", _hoisted_4, [
|
135
123
|
vue.createElementVNode("div", {
|
136
124
|
class: vue.normalizeClass([
|
137
125
|
"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20",
|
@@ -173,13 +161,13 @@ const _sfc_main = {
|
|
173
161
|
]),
|
174
162
|
vue.createElementVNode("p", null, "Estimated Arrival " + vue.toDisplayString(_ctx.formatDate(calculateDeliveryTime((_a = orderOrganization.value[0]) == null ? void 0 : _a.distance, order.value.createdAt))), 1),
|
175
163
|
vue.createElementVNode("h3", null, vue.toDisplayString(((_b = orderOrganization.value[0]) == null ? void 0 : _b.distance) ? Math.ceil((5 + 5 + 3 * ((_c = orderOrganization.value[0]) == null ? void 0 : _c.distance)) / 5) * 5 + "-" + Math.ceil((15 + 5 + 3 * ((_d = orderOrganization.value[0]) == null ? void 0 : _d.distance)) / 5) * 5 + " MIN" : "Unavailable"), 1),
|
176
|
-
vue.createElementVNode("p",
|
177
|
-
vue.createTextVNode(" Order No: "),
|
178
|
-
vue.createElementVNode("span",
|
164
|
+
vue.createElementVNode("p", _hoisted_5, [
|
165
|
+
_cache[0] || (_cache[0] = vue.createTextVNode(" Order No: ")),
|
166
|
+
vue.createElementVNode("span", _hoisted_6, "#" + vue.toDisplayString(order.value._id), 1)
|
179
167
|
])
|
180
168
|
])) : vue.createCommentVNode("", true),
|
181
|
-
order.value ? (vue.openBlock(), vue.createElementBlock("div",
|
182
|
-
vue.createElementVNode("div",
|
169
|
+
order.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
170
|
+
vue.createElementVNode("div", _hoisted_8, [
|
183
171
|
orderOrganization.value[0] ? (vue.openBlock(), vue.createBlock(CardOrganization.default, {
|
184
172
|
key: 0,
|
185
173
|
organization: orderOrganization.value[0],
|
@@ -188,29 +176,29 @@ const _sfc_main = {
|
|
188
176
|
showProducts: false,
|
189
177
|
class: "bg-light mn-b-thin w-100 o-hidden radius-big pd-small"
|
190
178
|
}, null, 8, ["organization"])) : vue.createCommentVNode("", true),
|
191
|
-
vue.createElementVNode("div",
|
192
|
-
vue.createElementVNode("div",
|
193
|
-
vue.createElementVNode("div",
|
194
|
-
|
195
|
-
vue.createElementVNode("span",
|
196
|
-
|
179
|
+
vue.createElementVNode("div", _hoisted_9, [
|
180
|
+
vue.createElementVNode("div", _hoisted_10, [
|
181
|
+
vue.createElementVNode("div", _hoisted_11, [
|
182
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "d-block t-medium p-medium" }, "Your order is", -1)),
|
183
|
+
vue.createElementVNode("span", _hoisted_12, vue.toDisplayString(order.value.status), 1),
|
184
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("p", { class: "pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max" }, "as on 29 aug 2021, Friday", -1))
|
197
185
|
])
|
198
186
|
]),
|
199
|
-
vue.createElementVNode("div",
|
200
|
-
|
201
|
-
vue.createElementVNode("p",
|
187
|
+
vue.createElementVNode("div", _hoisted_13, [
|
188
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1)),
|
189
|
+
vue.createElementVNode("p", _hoisted_14, vue.toDisplayString((_e = order.value.user) == null ? void 0 : _e.number), 1)
|
202
190
|
]),
|
203
|
-
((_f = order.value.user) == null ? void 0 : _f.messenger.type) ? (vue.openBlock(), vue.createElementBlock("div",
|
204
|
-
vue.createElementVNode("p",
|
205
|
-
vue.createElementVNode("p",
|
191
|
+
((_f = order.value.user) == null ? void 0 : _f.messenger.type) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
192
|
+
vue.createElementVNode("p", _hoisted_16, vue.toDisplayString((_g = order.value.user) == null ? void 0 : _g.messenger.type), 1),
|
193
|
+
vue.createElementVNode("p", _hoisted_17, vue.toDisplayString((_h = order.value.user) == null ? void 0 : _h.messenger.value), 1)
|
206
194
|
])) : vue.createCommentVNode("", true),
|
207
|
-
vue.createElementVNode("div",
|
208
|
-
|
209
|
-
vue.createElementVNode("p",
|
195
|
+
vue.createElementVNode("div", _hoisted_18, [
|
196
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("p", { class: "t-medium p-medium" }, " Address ", -1)),
|
197
|
+
vue.createElementVNode("p", _hoisted_19, vue.toDisplayString((_i = order.value.delivery) == null ? void 0 : _i.address.slice(0, 64)), 1)
|
210
198
|
]),
|
211
|
-
vue.createElementVNode("div",
|
212
|
-
|
213
|
-
vue.createElementVNode("p",
|
199
|
+
vue.createElementVNode("div", _hoisted_20, [
|
200
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "mn-b-small t-medium p-medium" }, " Delivery ", -1)),
|
201
|
+
vue.createElementVNode("p", _hoisted_21, vue.toDisplayString((_j = order.value.delivery) == null ? void 0 : _j.type), 1)
|
214
202
|
])
|
215
203
|
]),
|
216
204
|
orders.state.current.status_history ? (vue.openBlock(), vue.createBlock(StatusHistory.default, {
|
@@ -219,11 +207,11 @@ const _sfc_main = {
|
|
219
207
|
statusCurrent: orders.state.current.status,
|
220
208
|
edit: vue.unref(route).name === "Order Edit"
|
221
209
|
}, null, 8, ["statusHistory", "statusCurrent", "edit"])) : vue.createCommentVNode("", true),
|
222
|
-
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (vue.openBlock(), vue.createElementBlock("span",
|
210
|
+
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_22, "Paid")) : vue.createCommentVNode("", true)
|
223
211
|
]),
|
224
|
-
vue.createElementVNode("div",
|
225
|
-
|
226
|
-
vue.createElementVNode("ul",
|
212
|
+
vue.createElementVNode("div", _hoisted_23, [
|
213
|
+
_cache[10] || (_cache[10] = vue.createElementVNode("h3", { class: "mn-b-small" }, "Order Summary", -1)),
|
214
|
+
vue.createElementVNode("ul", _hoisted_24, [
|
227
215
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(orderProducts), (product, index) => {
|
228
216
|
return vue.openBlock(), vue.createBlock(CardOrderItem.default, {
|
229
217
|
key: product._id,
|
@@ -232,21 +220,21 @@ const _sfc_main = {
|
|
232
220
|
}, null, 8, ["product"]);
|
233
221
|
}), 128))
|
234
222
|
]),
|
235
|
-
vue.createElementVNode("div",
|
236
|
-
vue.createElementVNode("div",
|
237
|
-
|
223
|
+
vue.createElementVNode("div", _hoisted_25, [
|
224
|
+
vue.createElementVNode("div", _hoisted_26, [
|
225
|
+
_cache[7] || (_cache[7] = vue.createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total", -1)),
|
238
226
|
vue.createElementVNode("p", null, vue.toDisplayString(vue.unref(cartTotalPrice)) + " " + vue.toDisplayString(_ctx.returnCurrency()), 1)
|
239
227
|
]),
|
240
|
-
vue.createElementVNode("div",
|
241
|
-
|
228
|
+
vue.createElementVNode("div", _hoisted_27, [
|
229
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("p", { class: "mn-r-auto t-transp" }, "Delivery", -1)),
|
242
230
|
vue.createElementVNode("p", null, vue.toDisplayString(_ctx.returnCurrency()) + " " + vue.toDisplayString(Math.trunc(100 + 20 * ((_k = orderOrganization.value[0]) == null ? void 0 : _k.distance) - 7, 5 * (((_l = orderOrganization.value[0]) == null ? void 0 : _l.distance) / 10))), 1)
|
243
231
|
]),
|
244
|
-
vue.createElementVNode("div",
|
245
|
-
|
246
|
-
vue.createElementVNode("p",
|
232
|
+
vue.createElementVNode("div", _hoisted_28, [
|
233
|
+
_cache[9] || (_cache[9] = vue.createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1)),
|
234
|
+
vue.createElementVNode("p", _hoisted_29, vue.toDisplayString(_ctx.returnCurrency()) + " " + vue.toDisplayString(Math.trunc(100 + 20 * ((_m = orderOrganization.value[0]) == null ? void 0 : _m.distance) - 7, 5 * (((_n = orderOrganization.value[0]) == null ? void 0 : _n.distance) / 10)) + vue.unref(cartTotalPrice)), 1)
|
247
235
|
])
|
248
236
|
]),
|
249
|
-
|
237
|
+
_cache[11] || (_cache[11] = vue.createElementVNode("h3", { class: "mn-b-small" }, "Chat With Us", -1)),
|
250
238
|
vue.createVNode(ChatPage.default, {
|
251
239
|
username: vue.unref(route).name === "Order Status" ? ((_o = order.value.user) == null ? void 0 : _o.name) || "User" : "Weeder Support",
|
252
240
|
chatID: vue.unref(route).params.order,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Order.vue.cjs","sources":["../../../../../../../src/modules/orders/components/pages/Order.vue"],"sourcesContent":["<template>\n\t<div v-if=\"order && orderOrganization\" class=\"pd-thin\"> \n\t \n\t\n\n\t <div v-if=\"order\" class=\"mn-b-thin pos-relative w-100 bg-main radius-big pd-big\">\n\n\t \t<h2 class=\"mn-b-small\">Order is {{order.status}}</h2>\n\t \t<p class=\"mn-b-medium w-m-40r p-medium\">Your order has been successfully created. Our manager will contact you within five minutes to confirm your order.</p>\n\t \n\t \t\n\t \t<!-- <p class=\"p-medium mn-b-thin t-semi\">{{ statuses.find(status => status.value === order.status).nextstatus}}</p> -->\n\n\t \t<div class=\"radius-extra mn-b-medium flex-nowrap flex h-1r pos-relativew-40r\">\n\t \t\t<div \n\t \t\t\tclass=\"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t\t{'t-transp': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'created' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'confirmed' }\n\t \t\t\t\"\n\t \t\t\tclass=\"bg-light radius-extra mn-r-thin h-100 w-40\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light radius-extra mn-r-thin h-100 w-40\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'packing' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light radius-extra h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'in delivery' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t</div>\n\n\t \t<!-- <div class=\"w-max pd-thin radius-small bg-white-transp-20\"> -->\n\t\t \t<p>Estimated Arrival {{formatDate(calculateDeliveryTime(orderOrganization[0]?.distance, order.createdAt))}}</p>\n\t\t \t<!-- Estimated in minutes -->\n\t \t\t<h3>{{\n\t \t\t\torderOrganization[0]?.distance ? \n Math.ceil((5 + 5 + 3 * orderOrganization[0]?.distance) / 5) * 5 \n + '-' \n + Math.ceil((15 + 5 + 3 * orderOrganization[0]?.distance) / 5) * 5 \n + ' MIN' : 'Unavailable' \n\t \t\t}}</h3>\n\t \t<!-- </div> -->\n\t \n\t \n \t<p class=\" pos-absolute pos-t-medium pos-r-medium t-medium p-medium\">\n Order No: <span class=\"p-small t-transp\">#{{order._id}}</span>\n </p>\n\t </div>\n\n\n\t \n\t <div v-if=\"order\" class=\"gap-thin cols-2\">\n\n\t <div class=\"w-100\">\n\n\t\t <CardOrganization \n\t\t \tv-if=\"orderOrganization[0]\"\n\t\t :organization=\"orderOrganization[0]\"\n\t\t :showRating=\"true\"\n\t\t :showFollowers=\"false\"\n\t\t :showProducts=\"false\"\n\t\t class=\"bg-light mn-b-thin w-100 o-hidden radius-big pd-small \"\n\t\t />\n\n\t\t <div \n\t\t \tclass=\"mn-b-thin bg-light w-100 o-hidden radius-medium \"\n\t\t >\n\t\t \t<div class=\"pd-small flex-nowrap flex\">\n\t\t\t \t<div class=\"mn-r-auto\">\n\t\t\t\t \t<span class=\"d-block t-medium p-medium\">Your order is</span>\n\t\t\t\t\t <span class=\" t-lh-075 h2 d-block mn-b-small\">{{order.status}}</span>\n\t\t\t\t\t <p class=\"pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max\">as on 29 aug 2021, Friday</p>\n\t\t\t\t\t </div>\n\t\t\t\t\t <!-- <div class=\"t-right\">\n\t\t\t\t\t \tCancel order<br>\n\t\t\t\t\t \tExchange item\n\t\t\t\t\t \t<hr class=\"mn-b-thin mn-t-thin\">\n\t\t\t\t\t \tFor Delivery Queries Contact Us\n\t\t\t\t\t \t\n\t\t\t\t\t </div> -->\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"w-100 t-medium p-medium\">\n\t\t\t \tPhone\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right \">\n\t\t\t {{order.user?.number}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div v-if=\"order.user?.messenger.type\" class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"w-100 t-medium p-medium\">\n\t\t\t \t{{order.user?.messenger.type}}\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right \">\n\t\t\t {{order.user?.messenger.value}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"t-medium p-medium\">\n\t\t\t \tAddress\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right\">\n\t\t\t {{order.delivery?.address.slice(0,64)}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"mn-b-small t-medium p-medium\">\n\t\t\t \tDelivery\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right mn-b-small\">\n\t\t\t {{order.delivery?.type}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t\t</div>\n\t\t\t\t\n\t \t<StatusHistory \n\t \t\tv-if=\"orders.state.current.status_history\"\n\t \t\t:statusHistory=\"orders.state.current.status_history\"\n\t \t\t:statusCurrent=\"orders.state.current.status\"\n\t \t\t:edit=\"route.name === 'Order Edit'\"\n\t \t/>\n\n\t <!-- \t<button \n\t \t@click=\"requestPayment(order)\"\n\t \tv-if=\"\n\t \t\torder.status === 'Подтвержден' \n\t \t\t&& order.payment.type === 'Online'\n\t \t\t&& payment.Status !== 'CONFIRMED'\n\t \t\t&& payment.Status !== 'REFUNDED'\n\t \t\" \n\t \tclass='w-100 button'>Оплатить заказ</button> -->\n\t \t<span class=\"t-transp\" v-if=\"payment && payment.Status === 'CONFIRMED'\">Paid</span> \n\t </div> \n\n\t <div class=\"bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100\">\n\t \t\t<h3 class=\"mn-b-small\">Order Summary</h3>\n\n\t \t\t<ul class=\"flex gap-thin flex-column mn-b-semi\">\n\t \t\t\t<CardOrderItem\n\t \t\t\t\tv-for=\"(product, index) in orderProducts\" :key=\"product._id\"\n\t \t\t\t\t:editable=\"false\" \n\t \t\t\t\t:product=\"product\" \n\t \t\t\t/>\n\t </ul>\n\t \n\t <div class=\"mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100\">\n\t\t <div class=\"pd-small br-solid br-b br-black-transp-10 flex\">\n\t\t <p class=\"mn-r-auto t-transp\">In total</p>\n\t\t <p>{{ cartTotalPrice }} {{returnCurrency()}} </p>\n\t\t </div>\n\t\t <div class=\"pd-small br-solid br-b br-black-transp-10 flex\">\n\t\t <p class=\"mn-r-auto t-transp\">Delivery</p>\n\t\t <p>{{returnCurrency()}} {{ Math.trunc(100 + 20 * orderOrganization[0]?.distance - 7,5 * (orderOrganization[0]?.distance / 10))}} </p>\n\t\t </div>\n\t\t <div class=\"pd-small flex-bottom flex\">\n\t\t <p class=\"mn-r-auto t-transp\">In total to pay</p>\n\t\t <p class=\"p-big t-semi\">{{returnCurrency()}} {{ Math.trunc(100 + 20 * orderOrganization[0]?.distance - 7,5 * (orderOrganization[0]?.distance / 10)) + cartTotalPrice }}</p>\n\t\t </div>\n\t\t </div>\n\n\t\t <h3 class=\"mn-b-small\">Chat With Us</h3>\n\n\t\t <ChatWindow\n\t\t \t:username=\"\n\t\t \t\troute.name === 'Order Status' ? order.user?.name || 'User' : 'Weeder Support'\n\t\t \t\"\n\t\t \t:chatID=\"route.params.order\"\n\t\t \tclass=\"radius-semi bg-white o-hidden\"\n\t\t />\n\n\t </div>\n\t </div>\n\t</div>\t\t\n\n</template>\n\n\n<script setup=\"props\">\n\timport { computed, ref, onMounted } from 'vue'\n\timport { useRouter, useRoute } from 'vue-router'\n\t\n\timport CardOrderItem from '@pf/src/modules/orders/components/blocks/CardOrderItem.vue'\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\n\timport ChatWindow from '@pf/src/modules/chats/components/pages/ChatPage.vue';\n\n\timport StatusHistory from '@pf/src/modules/orders/components/blocks/StatusHistory.vue'\n\n\timport * as globals \tfrom '@pf/src/modules/globals/views/store/globals'\n\timport * as orders \tfrom '@pf/src/modules/orders/store/orders'\n\timport * as products \tfrom '@pf/src/modules/products/store/products'\n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\n\tconst router = useRouter()\n\tconst route = useRoute()\n\n\tconst order = ref(null)\n\tconst productsOrganization = ref(null)\n\tconst orderOrganization = ref(null)\n\n\tonMounted(async()=>{\n\t\torder.value = await orders.actions.read({_id: route.params.order})\n\t\torder.value = order.value[0]\n\n\t\tproductsOrganization.value = await products.actions.read({\n\t organization: order.value?.owner.target._id\n\t });\n\n\t orderOrganization.value = await organizations.actions.read({\n\t _id: order.value?.owner.target._id,\n\t location: globals.state.position?.location,\n\t });\n\t})\n\n\tlet cartTotalPrice = computed(() => {\n return Number(order.value?.positions.reduce((total, product) => {\n return total + product.price * product.quantity;\n }, 0));\n })\n\n let cartTotalAmount = computed(() => {\n return Number(order.value?.positions.reduce((total, product) => {\n return total + product.quantity;\n }, 0));\n })\n\n let orderProducts = computed(() => {\n return order.value?.positions.map(({ _id, quantity }) => {\n\n\t const product = productsOrganization.value.find(product => product._id === _id)\n\n\t\t return {\n\t name: product.name,\n\t images: product.images,\n\t price: product.price,\n\t _id: product._id,\n\t quantity\n\t }\n\t })\n })\n\n\tfunction requestPayment(order) {\n\t\t // store.dispatch(\"payments/newPayment\", order);\n\t}\n\n\tfunction calculateDeliveryTime(distance, date) {\n\t if (!distance) {\n\t return null;\n\t }\n\n\t const basePreparationTime = 10 * 60 * 1000; // Convert to milliseconds\n\t const travelTime = Math.ceil((15 + 5 + 3 * distance) / 5) * 5 * 60 * 1000;\n\n\t // Преобразование даты начала в миллисекунды и добавление времени подготовки и доставки\n\t const startTime = new Date(date).getTime();\n\t const estimatedDeliveryTime = new Date(startTime + basePreparationTime + travelTime);\n\n\t console.log(date)\n\t console.log(estimatedDeliveryTime)\n\n\t return estimatedDeliveryTime;\n\t}\n\n\n</script>\n\n<style lang=\"scss\" scoped>\n\t.blink {\n\t animation: blink-animation 1s ease infinite;\n\t}\n\n\t@keyframes blink-animation {\n\t 0%, 100% {\n\t opacity: 1;\n\t }\n\t 50% {\n\t opacity: 0.8;\n\t }\n\t}\n</style>"],"names":["useRouter","useRoute","ref","onMounted","orders.actions","products.actions","organizations.actions","globals.state","computed","product"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiOgBA,wBAAW;AAC1B,UAAM,QAAQC,UAAAA,SAAU;AAExB,UAAM,QAAQC,IAAG,IAAC,IAAI;AACtB,UAAM,uBAAuBA,IAAG,IAAC,IAAI;AACrC,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElCC,QAAAA,UAAU,YAAS;;AAClB,YAAM,QAAQ,MAAMC,OAAAA,QAAe,KAAK,EAAC,KAAK,MAAM,OAAO,MAAK,CAAC;AACjE,YAAM,QAAQ,MAAM,MAAM,CAAC;AAE3B,2BAAqB,QAAQ,MAAMC,SAAgB,QAAC,KAAK;AAAA,QACtD,eAAc,WAAM,UAAN,mBAAa,MAAM,OAAO;AAAA,MAC7C,CAAI;AAED,wBAAkB,QAAQ,MAAMC,cAAqB,QAAC,KAAK;AAAA,QACzD,MAAK,WAAM,UAAN,mBAAa,MAAM,OAAO;AAAA,QAC/B,WAAUC,aAAAA,MAAc,aAAdA,mBAAwB;AAAA,MACvC,CAAI;AAAA,IACJ,CAAE;AAED,QAAI,iBAAiBC,IAAAA,SAAS,MAAM;;AACjC,aAAO,QAAO,WAAM,UAAN,mBAAa,UAAU,OAAO,CAAC,OAAO,YAAY;AAC9D,eAAO,QAAQ,QAAQ,QAAQ,QAAQ;AAAA,MAC7C,GAAO,EAAE;AAAA,IACT,CAAG;AAEqBA,QAAAA,SAAS,MAAM;;AACnC,aAAO,QAAO,WAAM,UAAN,mBAAa,UAAU,OAAO,CAAC,OAAO,YAAY;AAC9D,eAAO,QAAQ,QAAQ;AAAA,MAC7B,GAAO,EAAE;AAAA,IACT,CAAG;AAED,QAAI,gBAAgBA,IAAAA,SAAS,MAAM;;AACjC,cAAO,WAAM,UAAN,mBAAa,UAAU,IAAI,CAAC,EAAE,KAAK,eAAe;AAExD,cAAM,UAAU,qBAAqB,MAAM,KAAK,CAAAC,aAAWA,SAAQ,QAAQ,GAAG;AAE7E,eAAO;AAAA,UACN,MAAM,QAAQ;AAAA,UACd,QAAQ,QAAQ;AAAA,UAChB,OAAO,QAAQ;AAAA,UACf,KAAK,QAAQ;AAAA,UACb;AAAA,QACD;AAAA,MACN;AAAA,IACA,CAAG;AAMF,aAAS,sBAAsB,UAAU,MAAM;AAC7C,UAAI,CAAC,UAAU;AACb,eAAO;AAAA,MACR;AAED,YAAM,sBAAsB,KAAK,KAAK;AACtC,YAAM,aAAa,KAAK,MAAM,KAAK,IAAI,IAAI,YAAY,CAAC,IAAI,IAAI,KAAK;AAGrE,YAAM,YAAY,IAAI,KAAK,IAAI,EAAE,QAAO;AACxC,YAAM,wBAAwB,IAAI,KAAK,YAAY,sBAAsB,UAAU;AAEnF,cAAQ,IAAI,IAAI;AAChB,cAAQ,IAAI,qBAAqB;AAEjC,aAAO;AAAA,IACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"Order.vue.cjs","sources":["../../../../../../../src/modules/orders/components/pages/Order.vue"],"sourcesContent":["<template>\n\t<div v-if=\"order && orderOrganization\" class=\"pd-thin\"> \n\t \n\t\n\n\t <div v-if=\"order\" class=\"mn-b-thin pos-relative w-100 bg-main radius-big pd-big\">\n\n\t \t<h2 class=\"mn-b-small\">Order is {{order.status}}</h2>\n\t \t<p class=\"mn-b-medium w-m-40r p-medium\">Your order has been successfully created. Our manager will contact you within five minutes to confirm your order.</p>\n\t \n\t \t\n\t \t<!-- <p class=\"p-medium mn-b-thin t-semi\">{{ statuses.find(status => status.value === order.status).nextstatus}}</p> -->\n\n\t \t<div class=\"radius-extra mn-b-medium flex-nowrap flex h-1r pos-relativew-40r\">\n\t \t\t<div \n\t \t\t\tclass=\"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t\t{'t-transp': ['created','confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'created' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['confirmed', 'packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'confirmed' }\n\t \t\t\t\"\n\t \t\t\tclass=\"bg-light radius-extra mn-r-thin h-100 w-40\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light radius-extra mn-r-thin h-100 w-40\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['packing','in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['packing','in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'packing' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t\t<div \n\t \t\t\tclass=\"bg-light radius-extra h-100 w-20\"\n\t \t\t\t:class=\"\n\t \t\t\t\t{'br-anim br-glow br-glow-anim': ['in delivery','delivered'].indexOf(order.status) === 0 },\n\t \t\t\t\t{'t-transp': ['in delivery','delivered'].indexOf(order.status) === -1 },\n\t \t\t\t\t{'blink': order.status === 'in delivery' }\n\t \t\t\t\"\n\t \t\t/>\n\t \t</div>\n\n\t \t<!-- <div class=\"w-max pd-thin radius-small bg-white-transp-20\"> -->\n\t\t \t<p>Estimated Arrival {{formatDate(calculateDeliveryTime(orderOrganization[0]?.distance, order.createdAt))}}</p>\n\t\t \t<!-- Estimated in minutes -->\n\t \t\t<h3>{{\n\t \t\t\torderOrganization[0]?.distance ? \n Math.ceil((5 + 5 + 3 * orderOrganization[0]?.distance) / 5) * 5 \n + '-' \n + Math.ceil((15 + 5 + 3 * orderOrganization[0]?.distance) / 5) * 5 \n + ' MIN' : 'Unavailable' \n\t \t\t}}</h3>\n\t \t<!-- </div> -->\n\t \n\t \n \t<p class=\" pos-absolute pos-t-medium pos-r-medium t-medium p-medium\">\n Order No: <span class=\"p-small t-transp\">#{{order._id}}</span>\n </p>\n\t </div>\n\n\n\t \n\t <div v-if=\"order\" class=\"gap-thin cols-2\">\n\n\t <div class=\"w-100\">\n\n\t\t <CardOrganization \n\t\t \tv-if=\"orderOrganization[0]\"\n\t\t :organization=\"orderOrganization[0]\"\n\t\t :showRating=\"true\"\n\t\t :showFollowers=\"false\"\n\t\t :showProducts=\"false\"\n\t\t class=\"bg-light mn-b-thin w-100 o-hidden radius-big pd-small \"\n\t\t />\n\n\t\t <div \n\t\t \tclass=\"mn-b-thin bg-light w-100 o-hidden radius-medium \"\n\t\t >\n\t\t \t<div class=\"pd-small flex-nowrap flex\">\n\t\t\t \t<div class=\"mn-r-auto\">\n\t\t\t\t \t<span class=\"d-block t-medium p-medium\">Your order is</span>\n\t\t\t\t\t <span class=\" t-lh-075 h2 d-block mn-b-small\">{{order.status}}</span>\n\t\t\t\t\t <p class=\"pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max\">as on 29 aug 2021, Friday</p>\n\t\t\t\t\t </div>\n\t\t\t\t\t <!-- <div class=\"t-right\">\n\t\t\t\t\t \tCancel order<br>\n\t\t\t\t\t \tExchange item\n\t\t\t\t\t \t<hr class=\"mn-b-thin mn-t-thin\">\n\t\t\t\t\t \tFor Delivery Queries Contact Us\n\t\t\t\t\t \t\n\t\t\t\t\t </div> -->\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"w-100 t-medium p-medium\">\n\t\t\t \tPhone\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right \">\n\t\t\t {{order.user?.number}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div v-if=\"order.user?.messenger.type\" class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"w-100 t-medium p-medium\">\n\t\t\t \t{{order.user?.messenger.type}}\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right \">\n\t\t\t {{order.user?.messenger.value}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"t-medium p-medium\">\n\t\t\t \tAddress\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right\">\n\t\t\t {{order.delivery?.address.slice(0,64)}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t <div class=\"pd-small cols-2 br-t br-black-transp-10 br-solid\">\n\t\t\t \t<p class=\"mn-b-small t-medium p-medium\">\n\t\t\t \tDelivery\n\t\t\t </p>\n\n\t\t\t <p class=\"w-100 t-right mn-b-small\">\n\t\t\t {{order.delivery?.type}} \n\t\t\t </p>\n\t\t\t </div>\n\n\t\t\t\t</div>\n\t\t\t\t\n\t \t<StatusHistory \n\t \t\tv-if=\"orders.state.current.status_history\"\n\t \t\t:statusHistory=\"orders.state.current.status_history\"\n\t \t\t:statusCurrent=\"orders.state.current.status\"\n\t \t\t:edit=\"route.name === 'Order Edit'\"\n\t \t/>\n\n\t <!-- \t<button \n\t \t@click=\"requestPayment(order)\"\n\t \tv-if=\"\n\t \t\torder.status === 'Подтвержден' \n\t \t\t&& order.payment.type === 'Online'\n\t \t\t&& payment.Status !== 'CONFIRMED'\n\t \t\t&& payment.Status !== 'REFUNDED'\n\t \t\" \n\t \tclass='w-100 button'>Оплатить заказ</button> -->\n\t \t<span class=\"t-transp\" v-if=\"payment && payment.Status === 'CONFIRMED'\">Paid</span> \n\t </div> \n\n\t <div class=\"bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100\">\n\t \t\t<h3 class=\"mn-b-small\">Order Summary</h3>\n\n\t \t\t<ul class=\"flex gap-thin flex-column mn-b-semi\">\n\t \t\t\t<CardOrderItem\n\t \t\t\t\tv-for=\"(product, index) in orderProducts\" :key=\"product._id\"\n\t \t\t\t\t:editable=\"false\" \n\t \t\t\t\t:product=\"product\" \n\t \t\t\t/>\n\t </ul>\n\t \n\t <div class=\"mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100\">\n\t\t <div class=\"pd-small br-solid br-b br-black-transp-10 flex\">\n\t\t <p class=\"mn-r-auto t-transp\">In total</p>\n\t\t <p>{{ cartTotalPrice }} {{returnCurrency()}} </p>\n\t\t </div>\n\t\t <div class=\"pd-small br-solid br-b br-black-transp-10 flex\">\n\t\t <p class=\"mn-r-auto t-transp\">Delivery</p>\n\t\t <p>{{returnCurrency()}} {{ Math.trunc(100 + 20 * orderOrganization[0]?.distance - 7,5 * (orderOrganization[0]?.distance / 10))}} </p>\n\t\t </div>\n\t\t <div class=\"pd-small flex-bottom flex\">\n\t\t <p class=\"mn-r-auto t-transp\">In total to pay</p>\n\t\t <p class=\"p-big t-semi\">{{returnCurrency()}} {{ Math.trunc(100 + 20 * orderOrganization[0]?.distance - 7,5 * (orderOrganization[0]?.distance / 10)) + cartTotalPrice }}</p>\n\t\t </div>\n\t\t </div>\n\n\t\t <h3 class=\"mn-b-small\">Chat With Us</h3>\n\n\t\t <ChatWindow\n\t\t \t:username=\"\n\t\t \t\troute.name === 'Order Status' ? order.user?.name || 'User' : 'Weeder Support'\n\t\t \t\"\n\t\t \t:chatID=\"route.params.order\"\n\t\t \tclass=\"radius-semi bg-white o-hidden\"\n\t\t />\n\n\t </div>\n\t </div>\n\t</div>\t\t\n\n</template>\n\n\n<script setup=\"props\">\n\timport { computed, ref, onMounted } from 'vue'\n\timport { useRouter, useRoute } from 'vue-router'\n\t\n\timport CardOrderItem from '@pf/src/modules/orders/components/blocks/CardOrderItem.vue'\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\n\timport ChatWindow from '@pf/src/modules/chats/components/pages/ChatPage.vue';\n\n\timport StatusHistory from '@pf/src/modules/orders/components/blocks/StatusHistory.vue'\n\n\timport * as globals \tfrom '@pf/src/modules/globals/views/store/globals'\n\timport * as orders \tfrom '@pf/src/modules/orders/store/orders'\n\timport * as products \tfrom '@pf/src/modules/products/store/products'\n\timport * as organizations \tfrom '@pf/src/modules/organizations/store/organizations'\n\n\tconst router = useRouter()\n\tconst route = useRoute()\n\n\tconst order = ref(null)\n\tconst productsOrganization = ref(null)\n\tconst orderOrganization = ref(null)\n\n\tonMounted(async()=>{\n\t\torder.value = await orders.actions.read({_id: route.params.order})\n\t\torder.value = order.value[0]\n\n\t\tproductsOrganization.value = await products.actions.read({\n\t organization: order.value?.owner.target._id\n\t });\n\n\t orderOrganization.value = await organizations.actions.read({\n\t _id: order.value?.owner.target._id,\n\t location: globals.state.position?.location,\n\t });\n\t})\n\n\tlet cartTotalPrice = computed(() => {\n return Number(order.value?.positions.reduce((total, product) => {\n return total + product.price * product.quantity;\n }, 0));\n })\n\n let cartTotalAmount = computed(() => {\n return Number(order.value?.positions.reduce((total, product) => {\n return total + product.quantity;\n }, 0));\n })\n\n let orderProducts = computed(() => {\n return order.value?.positions.map(({ _id, quantity }) => {\n\n\t const product = productsOrganization.value.find(product => product._id === _id)\n\n\t\t return {\n\t name: product.name,\n\t images: product.images,\n\t price: product.price,\n\t _id: product._id,\n\t quantity\n\t }\n\t })\n })\n\n\tfunction requestPayment(order) {\n\t\t // store.dispatch(\"payments/newPayment\", order);\n\t}\n\n\tfunction calculateDeliveryTime(distance, date) {\n\t if (!distance) {\n\t return null;\n\t }\n\n\t const basePreparationTime = 10 * 60 * 1000; // Convert to milliseconds\n\t const travelTime = Math.ceil((15 + 5 + 3 * distance) / 5) * 5 * 60 * 1000;\n\n\t // Преобразование даты начала в миллисекунды и добавление времени подготовки и доставки\n\t const startTime = new Date(date).getTime();\n\t const estimatedDeliveryTime = new Date(startTime + basePreparationTime + travelTime);\n\n\t console.log(date)\n\t console.log(estimatedDeliveryTime)\n\n\t return estimatedDeliveryTime;\n\t}\n\n\n</script>\n\n<style lang=\"scss\" scoped>\n\t.blink {\n\t animation: blink-animation 1s ease infinite;\n\t}\n\n\t@keyframes blink-animation {\n\t 0%, 100% {\n\t opacity: 1;\n\t }\n\t 50% {\n\t opacity: 0.8;\n\t }\n\t}\n</style>"],"names":["useRouter","useRoute","ref","onMounted","orders.actions","products.actions","organizations.actions","globals.state","computed","product"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiOgBA,wBAAW;AAC1B,UAAM,QAAQC,UAAAA,SAAU;AAExB,UAAM,QAAQC,IAAG,IAAC,IAAI;AACtB,UAAM,uBAAuBA,IAAG,IAAC,IAAI;AACrC,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElCC,QAAAA,UAAU,YAAS;;AAClB,YAAM,QAAQ,MAAMC,OAAAA,QAAe,KAAK,EAAC,KAAK,MAAM,OAAO,MAAK,CAAC;AACjE,YAAM,QAAQ,MAAM,MAAM,CAAC;AAE3B,2BAAqB,QAAQ,MAAMC,SAAgB,QAAC,KAAK;AAAA,QACtD,eAAc,WAAM,UAAN,mBAAa,MAAM,OAAO;AAAA,MAC7C,CAAI;AAED,wBAAkB,QAAQ,MAAMC,cAAqB,QAAC,KAAK;AAAA,QACzD,MAAK,WAAM,UAAN,mBAAa,MAAM,OAAO;AAAA,QAC/B,WAAUC,aAAAA,MAAc,aAAdA,mBAAwB;AAAA,MACvC,CAAI;AAAA,IACJ,CAAE;AAED,QAAI,iBAAiBC,IAAAA,SAAS,MAAM;;AACjC,aAAO,QAAO,WAAM,UAAN,mBAAa,UAAU,OAAO,CAAC,OAAO,YAAY;AAC9D,eAAO,QAAQ,QAAQ,QAAQ,QAAQ;AAAA,MAC7C,GAAO,EAAE;AAAA,IACT,CAAG;AAEqBA,QAAAA,SAAS,MAAM;;AACnC,aAAO,QAAO,WAAM,UAAN,mBAAa,UAAU,OAAO,CAAC,OAAO,YAAY;AAC9D,eAAO,QAAQ,QAAQ;AAAA,MAC7B,GAAO,EAAE;AAAA,IACT,CAAG;AAED,QAAI,gBAAgBA,IAAAA,SAAS,MAAM;;AACjC,cAAO,WAAM,UAAN,mBAAa,UAAU,IAAI,CAAC,EAAE,KAAK,eAAe;AAExD,cAAM,UAAU,qBAAqB,MAAM,KAAK,CAAAC,aAAWA,SAAQ,QAAQ,GAAG;AAE7E,eAAO;AAAA,UACN,MAAM,QAAQ;AAAA,UACd,QAAQ,QAAQ;AAAA,UAChB,OAAO,QAAQ;AAAA,UACf,KAAK,QAAQ;AAAA,UACb;AAAA,QACD;AAAA,MACN;AAAA,IACA,CAAG;AAMF,aAAS,sBAAsB,UAAU,MAAM;AAC7C,UAAI,CAAC,UAAU;AACb,eAAO;AAAA,MACR;AAED,YAAM,sBAAsB,KAAK,KAAK;AACtC,YAAM,aAAa,KAAK,MAAM,KAAK,IAAI,IAAI,YAAY,CAAC,IAAI,IAAI,KAAK;AAGrE,YAAM,YAAY,IAAI,KAAK,IAAI,EAAE,QAAO;AACxC,YAAM,wBAAwB,IAAI,KAAK,YAAY,sBAAsB,UAAU;AAEnF,cAAQ,IAAI,IAAI;AAChB,cAAQ,IAAI,qBAAqB;AAEjC,aAAO;AAAA,IACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref, onMounted, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, normalizeClass, createTextVNode, createCommentVNode, createBlock, unref, Fragment, renderList, createVNode
|
1
|
+
import { ref, onMounted, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, normalizeClass, createTextVNode, createCommentVNode, createBlock, unref, Fragment, renderList, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
3
|
import _sfc_main$3 from "../blocks/CardOrderItem.vue.js";
|
4
4
|
import _sfc_main$1 from "../../../organizations/components/blocks/CardOrganization.vue.js";
|
@@ -10,7 +10,6 @@ import { actions as actions$1 } from "../../../products/store/products.js";
|
|
10
10
|
import { actions as actions$2 } from "../../../organizations/store/organizations.js";
|
11
11
|
/* empty css */
|
12
12
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
13
|
-
const _withScopeId = (n) => (pushScopeId("data-v-d2db1c69"), n = n(), popScopeId(), n);
|
14
13
|
const _hoisted_1 = {
|
15
14
|
key: 0,
|
16
15
|
class: "pd-thin"
|
@@ -20,52 +19,41 @@ const _hoisted_2 = {
|
|
20
19
|
class: "mn-b-thin pos-relative w-100 bg-main radius-big pd-big"
|
21
20
|
};
|
22
21
|
const _hoisted_3 = { class: "mn-b-small" };
|
23
|
-
const _hoisted_4 =
|
24
|
-
const _hoisted_5 = { class: "
|
25
|
-
const _hoisted_6 = { class: "
|
26
|
-
const _hoisted_7 = {
|
27
|
-
const _hoisted_8 = {
|
22
|
+
const _hoisted_4 = { class: "radius-extra mn-b-medium flex-nowrap flex h-1r pos-relativew-40r" };
|
23
|
+
const _hoisted_5 = { class: "pos-absolute pos-t-medium pos-r-medium t-medium p-medium" };
|
24
|
+
const _hoisted_6 = { class: "p-small t-transp" };
|
25
|
+
const _hoisted_7 = {
|
28
26
|
key: 1,
|
29
27
|
class: "gap-thin cols-2"
|
30
28
|
};
|
31
|
-
const
|
32
|
-
const
|
33
|
-
const
|
34
|
-
const
|
35
|
-
const
|
36
|
-
const
|
37
|
-
const
|
38
|
-
const
|
39
|
-
const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1));
|
40
|
-
const _hoisted_18 = { class: "w-100 t-right" };
|
41
|
-
const _hoisted_19 = {
|
29
|
+
const _hoisted_8 = { class: "w-100" };
|
30
|
+
const _hoisted_9 = { class: "mn-b-thin bg-light w-100 o-hidden radius-medium" };
|
31
|
+
const _hoisted_10 = { class: "pd-small flex-nowrap flex" };
|
32
|
+
const _hoisted_11 = { class: "mn-r-auto" };
|
33
|
+
const _hoisted_12 = { class: "t-lh-075 h2 d-block mn-b-small" };
|
34
|
+
const _hoisted_13 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
35
|
+
const _hoisted_14 = { class: "w-100 t-right" };
|
36
|
+
const _hoisted_15 = {
|
42
37
|
key: 0,
|
43
38
|
class: "pd-small cols-2 br-t br-black-transp-10 br-solid"
|
44
39
|
};
|
45
|
-
const
|
46
|
-
const
|
47
|
-
const
|
48
|
-
const
|
49
|
-
const
|
50
|
-
const
|
51
|
-
const
|
52
|
-
const _hoisted_27 = { class: "w-100 t-right mn-b-small" };
|
53
|
-
const _hoisted_28 = {
|
40
|
+
const _hoisted_16 = { class: "w-100 t-medium p-medium" };
|
41
|
+
const _hoisted_17 = { class: "w-100 t-right" };
|
42
|
+
const _hoisted_18 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
43
|
+
const _hoisted_19 = { class: "w-100 t-right" };
|
44
|
+
const _hoisted_20 = { class: "pd-small cols-2 br-t br-black-transp-10 br-solid" };
|
45
|
+
const _hoisted_21 = { class: "w-100 t-right mn-b-small" };
|
46
|
+
const _hoisted_22 = {
|
54
47
|
key: 2,
|
55
48
|
class: "t-transp"
|
56
49
|
};
|
57
|
-
const
|
58
|
-
const
|
59
|
-
const
|
60
|
-
const
|
61
|
-
const
|
62
|
-
const
|
63
|
-
const
|
64
|
-
const _hoisted_36 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "mn-r-auto t-transp" }, "Delivery", -1));
|
65
|
-
const _hoisted_37 = { class: "pd-small flex-bottom flex" };
|
66
|
-
const _hoisted_38 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1));
|
67
|
-
const _hoisted_39 = { class: "p-big t-semi" };
|
68
|
-
const _hoisted_40 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Chat With Us", -1));
|
50
|
+
const _hoisted_23 = { class: "bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100" };
|
51
|
+
const _hoisted_24 = { class: "flex gap-thin flex-column mn-b-semi" };
|
52
|
+
const _hoisted_25 = { class: "mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100" };
|
53
|
+
const _hoisted_26 = { class: "pd-small br-solid br-b br-black-transp-10 flex" };
|
54
|
+
const _hoisted_27 = { class: "pd-small br-solid br-b br-black-transp-10 flex" };
|
55
|
+
const _hoisted_28 = { class: "pd-small flex-bottom flex" };
|
56
|
+
const _hoisted_29 = { class: "p-big t-semi" };
|
69
57
|
const _sfc_main = {
|
70
58
|
__name: "Order",
|
71
59
|
setup(__props) {
|
@@ -128,8 +116,8 @@ const _sfc_main = {
|
|
128
116
|
return order.value && orderOrganization.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
129
117
|
order.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
130
118
|
createElementVNode("h2", _hoisted_3, "Order is " + toDisplayString(order.value.status), 1),
|
131
|
-
|
132
|
-
createElementVNode("div",
|
119
|
+
_cache[1] || (_cache[1] = createElementVNode("p", { class: "mn-b-medium w-m-40r p-medium" }, "Your order has been successfully created. Our manager will contact you within five minutes to confirm your order.", -1)),
|
120
|
+
createElementVNode("div", _hoisted_4, [
|
133
121
|
createElementVNode("div", {
|
134
122
|
class: normalizeClass([
|
135
123
|
"bg-light br-anim br-glow radius-extra mn-r-thin h-100 w-20",
|
@@ -171,13 +159,13 @@ const _sfc_main = {
|
|
171
159
|
]),
|
172
160
|
createElementVNode("p", null, "Estimated Arrival " + toDisplayString(_ctx.formatDate(calculateDeliveryTime((_a = orderOrganization.value[0]) == null ? void 0 : _a.distance, order.value.createdAt))), 1),
|
173
161
|
createElementVNode("h3", null, toDisplayString(((_b = orderOrganization.value[0]) == null ? void 0 : _b.distance) ? Math.ceil((5 + 5 + 3 * ((_c = orderOrganization.value[0]) == null ? void 0 : _c.distance)) / 5) * 5 + "-" + Math.ceil((15 + 5 + 3 * ((_d = orderOrganization.value[0]) == null ? void 0 : _d.distance)) / 5) * 5 + " MIN" : "Unavailable"), 1),
|
174
|
-
createElementVNode("p",
|
175
|
-
createTextVNode(" Order No: "),
|
176
|
-
createElementVNode("span",
|
162
|
+
createElementVNode("p", _hoisted_5, [
|
163
|
+
_cache[0] || (_cache[0] = createTextVNode(" Order No: ")),
|
164
|
+
createElementVNode("span", _hoisted_6, "#" + toDisplayString(order.value._id), 1)
|
177
165
|
])
|
178
166
|
])) : createCommentVNode("", true),
|
179
|
-
order.value ? (openBlock(), createElementBlock("div",
|
180
|
-
createElementVNode("div",
|
167
|
+
order.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
168
|
+
createElementVNode("div", _hoisted_8, [
|
181
169
|
orderOrganization.value[0] ? (openBlock(), createBlock(_sfc_main$1, {
|
182
170
|
key: 0,
|
183
171
|
organization: orderOrganization.value[0],
|
@@ -186,29 +174,29 @@ const _sfc_main = {
|
|
186
174
|
showProducts: false,
|
187
175
|
class: "bg-light mn-b-thin w-100 o-hidden radius-big pd-small"
|
188
176
|
}, null, 8, ["organization"])) : createCommentVNode("", true),
|
189
|
-
createElementVNode("div",
|
190
|
-
createElementVNode("div",
|
191
|
-
createElementVNode("div",
|
192
|
-
|
193
|
-
createElementVNode("span",
|
194
|
-
|
177
|
+
createElementVNode("div", _hoisted_9, [
|
178
|
+
createElementVNode("div", _hoisted_10, [
|
179
|
+
createElementVNode("div", _hoisted_11, [
|
180
|
+
_cache[2] || (_cache[2] = createElementVNode("span", { class: "d-block t-medium p-medium" }, "Your order is", -1)),
|
181
|
+
createElementVNode("span", _hoisted_12, toDisplayString(order.value.status), 1),
|
182
|
+
_cache[3] || (_cache[3] = createElementVNode("p", { class: "pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max" }, "as on 29 aug 2021, Friday", -1))
|
195
183
|
])
|
196
184
|
]),
|
197
|
-
createElementVNode("div",
|
198
|
-
|
199
|
-
createElementVNode("p",
|
185
|
+
createElementVNode("div", _hoisted_13, [
|
186
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "w-100 t-medium p-medium" }, " Phone ", -1)),
|
187
|
+
createElementVNode("p", _hoisted_14, toDisplayString((_e = order.value.user) == null ? void 0 : _e.number), 1)
|
200
188
|
]),
|
201
|
-
((_f = order.value.user) == null ? void 0 : _f.messenger.type) ? (openBlock(), createElementBlock("div",
|
202
|
-
createElementVNode("p",
|
203
|
-
createElementVNode("p",
|
189
|
+
((_f = order.value.user) == null ? void 0 : _f.messenger.type) ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
190
|
+
createElementVNode("p", _hoisted_16, toDisplayString((_g = order.value.user) == null ? void 0 : _g.messenger.type), 1),
|
191
|
+
createElementVNode("p", _hoisted_17, toDisplayString((_h = order.value.user) == null ? void 0 : _h.messenger.value), 1)
|
204
192
|
])) : createCommentVNode("", true),
|
205
|
-
createElementVNode("div",
|
206
|
-
|
207
|
-
createElementVNode("p",
|
193
|
+
createElementVNode("div", _hoisted_18, [
|
194
|
+
_cache[5] || (_cache[5] = createElementVNode("p", { class: "t-medium p-medium" }, " Address ", -1)),
|
195
|
+
createElementVNode("p", _hoisted_19, toDisplayString((_i = order.value.delivery) == null ? void 0 : _i.address.slice(0, 64)), 1)
|
208
196
|
]),
|
209
|
-
createElementVNode("div",
|
210
|
-
|
211
|
-
createElementVNode("p",
|
197
|
+
createElementVNode("div", _hoisted_20, [
|
198
|
+
_cache[6] || (_cache[6] = createElementVNode("p", { class: "mn-b-small t-medium p-medium" }, " Delivery ", -1)),
|
199
|
+
createElementVNode("p", _hoisted_21, toDisplayString((_j = order.value.delivery) == null ? void 0 : _j.type), 1)
|
212
200
|
])
|
213
201
|
]),
|
214
202
|
state$1.current.status_history ? (openBlock(), createBlock(_sfc_main$2, {
|
@@ -217,11 +205,11 @@ const _sfc_main = {
|
|
217
205
|
statusCurrent: state$1.current.status,
|
218
206
|
edit: unref(route).name === "Order Edit"
|
219
207
|
}, null, 8, ["statusHistory", "statusCurrent", "edit"])) : createCommentVNode("", true),
|
220
|
-
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (openBlock(), createElementBlock("span",
|
208
|
+
_ctx.payment && _ctx.payment.Status === "CONFIRMED" ? (openBlock(), createElementBlock("span", _hoisted_22, "Paid")) : createCommentVNode("", true)
|
221
209
|
]),
|
222
|
-
createElementVNode("div",
|
223
|
-
|
224
|
-
createElementVNode("ul",
|
210
|
+
createElementVNode("div", _hoisted_23, [
|
211
|
+
_cache[10] || (_cache[10] = createElementVNode("h3", { class: "mn-b-small" }, "Order Summary", -1)),
|
212
|
+
createElementVNode("ul", _hoisted_24, [
|
225
213
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(orderProducts), (product, index) => {
|
226
214
|
return openBlock(), createBlock(_sfc_main$3, {
|
227
215
|
key: product._id,
|
@@ -230,21 +218,21 @@ const _sfc_main = {
|
|
230
218
|
}, null, 8, ["product"]);
|
231
219
|
}), 128))
|
232
220
|
]),
|
233
|
-
createElementVNode("div",
|
234
|
-
createElementVNode("div",
|
235
|
-
|
221
|
+
createElementVNode("div", _hoisted_25, [
|
222
|
+
createElementVNode("div", _hoisted_26, [
|
223
|
+
_cache[7] || (_cache[7] = createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total", -1)),
|
236
224
|
createElementVNode("p", null, toDisplayString(unref(cartTotalPrice)) + " " + toDisplayString(_ctx.returnCurrency()), 1)
|
237
225
|
]),
|
238
|
-
createElementVNode("div",
|
239
|
-
|
226
|
+
createElementVNode("div", _hoisted_27, [
|
227
|
+
_cache[8] || (_cache[8] = createElementVNode("p", { class: "mn-r-auto t-transp" }, "Delivery", -1)),
|
240
228
|
createElementVNode("p", null, toDisplayString(_ctx.returnCurrency()) + " " + toDisplayString(Math.trunc(100 + 20 * ((_k = orderOrganization.value[0]) == null ? void 0 : _k.distance) - 7, 5 * (((_l = orderOrganization.value[0]) == null ? void 0 : _l.distance) / 10))), 1)
|
241
229
|
]),
|
242
|
-
createElementVNode("div",
|
243
|
-
|
244
|
-
createElementVNode("p",
|
230
|
+
createElementVNode("div", _hoisted_28, [
|
231
|
+
_cache[9] || (_cache[9] = createElementVNode("p", { class: "mn-r-auto t-transp" }, "In total to pay", -1)),
|
232
|
+
createElementVNode("p", _hoisted_29, toDisplayString(_ctx.returnCurrency()) + " " + toDisplayString(Math.trunc(100 + 20 * ((_m = orderOrganization.value[0]) == null ? void 0 : _m.distance) - 7, 5 * (((_n = orderOrganization.value[0]) == null ? void 0 : _n.distance) / 10)) + unref(cartTotalPrice)), 1)
|
245
233
|
])
|
246
234
|
]),
|
247
|
-
|
235
|
+
_cache[11] || (_cache[11] = createElementVNode("h3", { class: "mn-b-small" }, "Chat With Us", -1)),
|
248
236
|
createVNode(_sfc_main$4, {
|
249
237
|
username: unref(route).name === "Order Status" ? ((_o = order.value.user) == null ? void 0 : _o.name) || "User" : "Weeder Support",
|
250
238
|
chatID: unref(route).params.order,
|