@ozdao/prometheus-framework 0.2.241 → 0.2.243
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +14 -15
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +14 -15
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +25 -27
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +25 -27
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +17 -21
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +17 -21
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +54 -71
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +54 -71
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +26 -27
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +26 -27
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +12 -14
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +12 -14
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +16 -21
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +17 -22
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +16 -19
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +16 -19
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +23 -32
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +23 -32
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +15 -16
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +12 -14
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +13 -15
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1374 -1384
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +10 -11
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +10 -11
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +7 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +48 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +48 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +2 -5
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +12 -15
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +12 -15
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +33 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +33 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +18 -25
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +19 -26
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +60 -66
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +60 -66
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-BSlJcCo2.mjs +415 -0
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/tickets.controller-P0kiaXfQ.js +414 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/controllers/tickets.controller.js +49 -16
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Orders.vue.cjs","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\"> \n <SectionPageTitle\n title=\"Orders\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Created', value: 'created' },\n { name: 'Confirmed', value: 'confirmed' },\n { name: 'Preparing', value: 'preparing' },\n { name: 'Prepared', value: 'prepared' },\n { name: 'In delivery', value: 'in delivery' },\n { name: 'Delivered', value: 'delivered' },\n { name: 'Closed', value: 'closed' }\n ]\"\n :actions=\"[\n { to: { name: 'AdminOrderAdd'}, label: 'Create Order' }\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Block\n title=\"Balance\"\n class=\"mn-b-thin\"\n >\n <div class=\"gap-micro flex-nowrap flex\">\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Total</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Paid</p>\n <h3>{{formatPrice(totalPriceUnpaid)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Unpaid</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n </div>\n\n </Block>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"gap-thin cols-3\"\n >\n <router-link \n v-for=\"order in items\" \n :to=\"{ \n name: 'Order Edit', \n params: { \n order: order._id \n\n }\n }\" \n class=\"bg-light pos-relative pd-medium radius-big\"\n >\n <CardHeader \n :entity=\"order\"\n :entityType=\"'order'\"\n :user=\"auth.state.user\"\n :owner=\"order.creator\" \n :creator=\"order.creator\"\n :date=\"order.createdAt\"\n class=\"mn-b-small\"\n />\n\n <div class=\"mn-b-small pd-small bg-white radius-small flex-nowrap flex\"> \n <div class=\"w-100\">\n <h3 class=\"mn-b-thin\">{{order.customer.target.profile?.name || order.customer.target.phone || order.customer.target.email || 'No name'}}</h3>\n <p class=\"t-truncate\">{{order.delivery.address || 'Not specified'}}</p> \n </div>\n\n <div class=\" w-100 t-right\">\n <h3 class=\"mn-b-thin\">{{returnCurrency()}}{{orders.getters.getTotal(order.positions)}}</h3>\n <p>#{{order._id.slice(0, 4) + '...' + order._id.slice(-4)}}</p> \n </div>\n </div>\n \n <div class=\"cols-1 mn-b-small gap-thin pd-small bg-white radius-small\">\n <!-- Always display the first two positions -->\n <div\n v-for=\"(position, index) in order.positions.slice(0, 2)\"\n :key=\"index\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n\n <transition name=\"fade\">\n <!-- Display the rest of the positions if there are more than two and spoiler is true -->\n <div v-if=\"spoiler && order.positions.length > 2\">\n <div\n v-for=\"(position, index) in order.positions.slice(2)\"\n :key=\"index + 2\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n </div>\n </transition>\n\n <!-- Toggle button for additional positions, visible only if there are more than two positions -->\n <button\n v-if=\"order.positions.length > 2\"\n @click.prevent=\"spoiler = !spoiler\"\n class=\"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex\"\n >\n {{ !spoiler ? `+${order.positions.length - 2} more` : `Hide` }} \n </button>\n </div>\n\n\n <div class=\"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex\"> \n <IconTime class=\"i-semi t-transp\" fill=\"rgb(var(--black)\" />\n <p class=\"t-medium mn-r-auto\">{{formatDate(order.deadline)}}</p>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main\"\n >\n {{order.status}}\n </span>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red\"\n >\n Unpaid\n </span>\n </div>\n \n\n <div v-if=\"order.comment\" class=\"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small\">\n <p class=\"mn-b-thin t-transp uppercase p-small t-medium\">Comment</p>\n <p>{{order.comment}}</p>\n </div>\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, onMounted, reactive, ref } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Block from '@pf/src/components/Block/Block.vue';\n\n import * as orders from '@pf/src/modules/orders/store/orders';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n\n import CardOrder from '@pf/src/modules/orders/components/blocks/CardOrder.vue'\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'\n\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import IconTime from '@pf/src/modules/icons/entities/IconTime.vue'\n\n const route = useRoute();\n const router = useRouter();\n\n const spoiler = ref(false)\n\n // Tab logic\n const tab = ref('all')\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n \n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n\n\n onMounted(async () => {\n \n });\n</script>\n"],"names":["useRoute","useRouter","ref","computed","orders.state","orders","onMounted"],"mappings":"
|
1
|
+
{"version":3,"file":"Orders.vue.cjs","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\"> \n <SectionPageTitle\n title=\"Orders\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Created', value: 'created' },\n { name: 'Confirmed', value: 'confirmed' },\n { name: 'Preparing', value: 'preparing' },\n { name: 'Prepared', value: 'prepared' },\n { name: 'In delivery', value: 'in delivery' },\n { name: 'Delivered', value: 'delivered' },\n { name: 'Closed', value: 'closed' }\n ]\"\n :actions=\"[\n { to: { name: 'AdminOrderAdd'}, label: 'Create Order' }\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Block\n title=\"Balance\"\n class=\"mn-b-thin\"\n >\n <div class=\"gap-micro flex-nowrap flex\">\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Total</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Paid</p>\n <h3>{{formatPrice(totalPriceUnpaid)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Unpaid</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n </div>\n\n </Block>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"gap-thin cols-3\"\n >\n <router-link \n v-for=\"order in items\" \n :to=\"{ \n name: 'Order Edit', \n params: { \n order: order._id \n\n }\n }\" \n class=\"bg-light pos-relative pd-medium radius-big\"\n >\n <CardHeader \n :entity=\"order\"\n :entityType=\"'order'\"\n :user=\"auth.state.user\"\n :owner=\"order.creator\" \n :creator=\"order.creator\"\n :date=\"order.createdAt\"\n class=\"mn-b-small\"\n />\n\n <div class=\"mn-b-small pd-small bg-white radius-small flex-nowrap flex\"> \n <div class=\"w-100\">\n <h3 class=\"mn-b-thin\">{{order.customer.target.profile?.name || order.customer.target.phone || order.customer.target.email || 'No name'}}</h3>\n <p class=\"t-truncate\">{{order.delivery.address || 'Not specified'}}</p> \n </div>\n\n <div class=\" w-100 t-right\">\n <h3 class=\"mn-b-thin\">{{returnCurrency()}}{{orders.getters.getTotal(order.positions)}}</h3>\n <p>#{{order._id.slice(0, 4) + '...' + order._id.slice(-4)}}</p> \n </div>\n </div>\n \n <div class=\"cols-1 mn-b-small gap-thin pd-small bg-white radius-small\">\n <!-- Always display the first two positions -->\n <div\n v-for=\"(position, index) in order.positions.slice(0, 2)\"\n :key=\"index\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n\n <transition name=\"fade\">\n <!-- Display the rest of the positions if there are more than two and spoiler is true -->\n <div v-if=\"spoiler && order.positions.length > 2\">\n <div\n v-for=\"(position, index) in order.positions.slice(2)\"\n :key=\"index + 2\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n </div>\n </transition>\n\n <!-- Toggle button for additional positions, visible only if there are more than two positions -->\n <button\n v-if=\"order.positions.length > 2\"\n @click.prevent=\"spoiler = !spoiler\"\n class=\"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex\"\n >\n {{ !spoiler ? `+${order.positions.length - 2} more` : `Hide` }} \n </button>\n </div>\n\n\n <div class=\"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex\"> \n <IconTime class=\"i-semi t-transp\" fill=\"rgb(var(--black)\" />\n <p class=\"t-medium mn-r-auto\">{{formatDate(order.deadline)}}</p>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main\"\n >\n {{order.status}}\n </span>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red\"\n >\n Unpaid\n </span>\n </div>\n \n\n <div v-if=\"order.comment\" class=\"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small\">\n <p class=\"mn-b-thin t-transp uppercase p-small t-medium\">Comment</p>\n <p>{{order.comment}}</p>\n </div>\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, onMounted, reactive, ref } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Block from '@pf/src/components/Block/Block.vue';\n\n import * as orders from '@pf/src/modules/orders/store/orders';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n\n import CardOrder from '@pf/src/modules/orders/components/blocks/CardOrder.vue'\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'\n\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import IconTime from '@pf/src/modules/icons/entities/IconTime.vue'\n\n const route = useRoute();\n const router = useRouter();\n\n const spoiler = ref(false)\n\n // Tab logic\n const tab = ref('all')\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n \n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n\n\n onMounted(async () => {\n \n });\n</script>\n"],"names":["useRoute","useRouter","ref","computed","orders.state","orders","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LE,UAAM,QAAQA,UAAAA;AACCC,wBAAY;AAE3B,UAAM,UAAUC,IAAG,IAAC,KAAK;AAGzB,UAAM,MAAMA,IAAG,IAAC,KAAK;AAErB,UAAM,aAAaC,IAAAA,SAAS,MAAM;AAChC,aAAO,kBAAkBC,OAAY,MAAC,GAAG;AAAA,IAC7C,CAAG;AAEA,UAAM,mBAAmBD,IAAAA,SAAS,MAAM;AACvC,aAAO,aAAaC,OAAAA,MAAa,KAAI,QAAQ;AAAA,IACjD,CAAG;AAGD,aAAS,kBAAkBC,SAAQ;AACjC,aAAOA,QAAO,OAAO,CAAC,UAAU,SAAS;AACvC,eAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,MACnF,GAAE,CAAC;AAAA,IACL;AAED,aAAS,aAAaA,SAAQ,QAAQ;AACpC,aAAOA,QAAO,OAAO,CAAC,UAAU,SAAS;AACvC,YAAI,KAAK,QAAQ,WAAW,QAAQ;AAClC,iBAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,QACnF;AACD,eAAO;AAAA,MACR,GAAE,CAAC;AAAA,IACL;AAGDC,QAAAA,UAAU,YAAY;AAAA,IAExB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createTextVNode, Transition, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
/* empty css
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
|
5
5
|
import { state, actions, getters } from "../../store/orders.js";
|
6
6
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
@@ -12,34 +12,29 @@ import IconTime from "../../../icons/entities/IconTime.vue.js";
|
|
12
12
|
const _hoisted_1 = { class: "pd-thin" };
|
13
13
|
const _hoisted_2 = { class: "gap-micro flex-nowrap flex" };
|
14
14
|
const _hoisted_3 = { class: "w-100 bg-white radius-small pd-small" };
|
15
|
-
const _hoisted_4 =
|
15
|
+
const _hoisted_4 = { class: "w-100 bg-white radius-small pd-small" };
|
16
16
|
const _hoisted_5 = { class: "w-100 bg-white radius-small pd-small" };
|
17
|
-
const _hoisted_6 =
|
18
|
-
const _hoisted_7 = { class: "w-100
|
19
|
-
const _hoisted_8 =
|
20
|
-
const _hoisted_9 = { class: "
|
21
|
-
const _hoisted_10 = { class: "w-100" };
|
17
|
+
const _hoisted_6 = { class: "mn-b-small pd-small bg-white radius-small flex-nowrap flex" };
|
18
|
+
const _hoisted_7 = { class: "w-100" };
|
19
|
+
const _hoisted_8 = { class: "mn-b-thin" };
|
20
|
+
const _hoisted_9 = { class: "t-truncate" };
|
21
|
+
const _hoisted_10 = { class: "w-100 t-right" };
|
22
22
|
const _hoisted_11 = { class: "mn-b-thin" };
|
23
|
-
const _hoisted_12 = { class: "
|
24
|
-
const _hoisted_13 = { class: "
|
25
|
-
const _hoisted_14 = { class: "
|
26
|
-
const _hoisted_15 = { class: "
|
27
|
-
const _hoisted_16 = {
|
28
|
-
const _hoisted_17 = { class: "
|
29
|
-
const _hoisted_18 = { class: "t-
|
30
|
-
const _hoisted_19 = {
|
31
|
-
const _hoisted_20 = { class: "
|
32
|
-
const _hoisted_21 = { class: "t-
|
33
|
-
const _hoisted_22 = { class: "t-
|
34
|
-
const _hoisted_23 = {
|
35
|
-
const _hoisted_24 = { class: "t-medium mn-r-auto" };
|
36
|
-
const _hoisted_25 = { class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main" };
|
37
|
-
const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", { class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red" }, " Unpaid ", -1);
|
38
|
-
const _hoisted_27 = {
|
23
|
+
const _hoisted_12 = { class: "cols-1 mn-b-small gap-thin pd-small bg-white radius-small" };
|
24
|
+
const _hoisted_13 = { class: "mn-r-auto" };
|
25
|
+
const _hoisted_14 = { class: "t-right" };
|
26
|
+
const _hoisted_15 = { class: "t-transp" };
|
27
|
+
const _hoisted_16 = { key: 0 };
|
28
|
+
const _hoisted_17 = { class: "mn-r-auto" };
|
29
|
+
const _hoisted_18 = { class: "t-right" };
|
30
|
+
const _hoisted_19 = { class: "t-transp" };
|
31
|
+
const _hoisted_20 = { class: "pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex" };
|
32
|
+
const _hoisted_21 = { class: "t-medium mn-r-auto" };
|
33
|
+
const _hoisted_22 = { class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main" };
|
34
|
+
const _hoisted_23 = {
|
39
35
|
key: 0,
|
40
36
|
class: "pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small"
|
41
37
|
};
|
42
|
-
const _hoisted_28 = /* @__PURE__ */ createElementVNode("p", { class: "mn-b-thin t-transp uppercase p-small t-medium" }, "Comment", -1);
|
43
38
|
const _sfc_main = {
|
44
39
|
__name: "Orders",
|
45
40
|
setup(__props) {
|
@@ -97,15 +92,15 @@ const _sfc_main = {
|
|
97
92
|
default: withCtx(() => [
|
98
93
|
createElementVNode("div", _hoisted_2, [
|
99
94
|
createElementVNode("div", _hoisted_3, [
|
100
|
-
|
95
|
+
_cache[2] || (_cache[2] = createElementVNode("p", { class: "mn-b-thin" }, "Total", -1)),
|
101
96
|
createElementVNode("h3", null, toDisplayString(_ctx.formatPrice(totalPrice.value)), 1)
|
102
97
|
]),
|
103
|
-
createElementVNode("div",
|
104
|
-
|
98
|
+
createElementVNode("div", _hoisted_4, [
|
99
|
+
_cache[3] || (_cache[3] = createElementVNode("p", { class: "mn-b-thin" }, "Paid", -1)),
|
105
100
|
createElementVNode("h3", null, toDisplayString(_ctx.formatPrice(totalPriceUnpaid.value)), 1)
|
106
101
|
]),
|
107
|
-
createElementVNode("div",
|
108
|
-
|
102
|
+
createElementVNode("div", _hoisted_5, [
|
103
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "mn-b-thin" }, "Unpaid", -1)),
|
109
104
|
createElementVNode("h3", null, toDisplayString(_ctx.formatPrice(totalPrice.value)), 1)
|
110
105
|
])
|
111
106
|
])
|
@@ -155,41 +150,41 @@ const _sfc_main = {
|
|
155
150
|
date: order.createdAt,
|
156
151
|
class: "mn-b-small"
|
157
152
|
}, null, 8, ["entity", "user", "owner", "creator", "date"]),
|
158
|
-
createElementVNode("div",
|
159
|
-
createElementVNode("div",
|
160
|
-
createElementVNode("h3",
|
161
|
-
createElementVNode("p",
|
153
|
+
createElementVNode("div", _hoisted_6, [
|
154
|
+
createElementVNode("div", _hoisted_7, [
|
155
|
+
createElementVNode("h3", _hoisted_8, toDisplayString(((_a = order.customer.target.profile) == null ? void 0 : _a.name) || order.customer.target.phone || order.customer.target.email || "No name"), 1),
|
156
|
+
createElementVNode("p", _hoisted_9, toDisplayString(order.delivery.address || "Not specified"), 1)
|
162
157
|
]),
|
163
|
-
createElementVNode("div",
|
164
|
-
createElementVNode("h3",
|
158
|
+
createElementVNode("div", _hoisted_10, [
|
159
|
+
createElementVNode("h3", _hoisted_11, toDisplayString(_ctx.returnCurrency()) + toDisplayString(getters.getTotal(order.positions)), 1),
|
165
160
|
createElementVNode("p", null, "#" + toDisplayString(order._id.slice(0, 4) + "..." + order._id.slice(-4)), 1)
|
166
161
|
])
|
167
162
|
]),
|
168
|
-
createElementVNode("div",
|
163
|
+
createElementVNode("div", _hoisted_12, [
|
169
164
|
(openBlock(true), createElementBlock(Fragment, null, renderList(order.positions.slice(0, 2), (position, index) => {
|
170
165
|
return openBlock(), createElementBlock("div", {
|
171
166
|
key: index,
|
172
167
|
class: "w-100 flex"
|
173
168
|
}, [
|
174
|
-
createElementVNode("p",
|
175
|
-
createElementVNode("p",
|
169
|
+
createElementVNode("p", _hoisted_13, toDisplayString(position.name), 1),
|
170
|
+
createElementVNode("p", _hoisted_14, [
|
176
171
|
createTextVNode(toDisplayString(position.quantity) + " " + toDisplayString(position.type) + " x " + toDisplayString(position.price) + " ", 1),
|
177
|
-
createElementVNode("span",
|
172
|
+
createElementVNode("span", _hoisted_15, toDisplayString(_ctx.returnCurrency()), 1)
|
178
173
|
])
|
179
174
|
]);
|
180
175
|
}), 128)),
|
181
176
|
createVNode(Transition, { name: "fade" }, {
|
182
177
|
default: withCtx(() => [
|
183
|
-
spoiler.value && order.positions.length > 2 ? (openBlock(), createElementBlock("div",
|
178
|
+
spoiler.value && order.positions.length > 2 ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
184
179
|
(openBlock(true), createElementBlock(Fragment, null, renderList(order.positions.slice(2), (position, index) => {
|
185
180
|
return openBlock(), createElementBlock("div", {
|
186
181
|
key: index + 2,
|
187
182
|
class: "w-100 flex"
|
188
183
|
}, [
|
189
|
-
createElementVNode("p",
|
190
|
-
createElementVNode("p",
|
184
|
+
createElementVNode("p", _hoisted_17, toDisplayString(position.name), 1),
|
185
|
+
createElementVNode("p", _hoisted_18, [
|
191
186
|
createTextVNode(toDisplayString(position.quantity) + " " + toDisplayString(position.type) + " x " + toDisplayString(position.price) + " ", 1),
|
192
|
-
createElementVNode("span",
|
187
|
+
createElementVNode("span", _hoisted_19, toDisplayString(_ctx.returnCurrency()), 1)
|
193
188
|
])
|
194
189
|
]);
|
195
190
|
}), 128))
|
@@ -203,17 +198,17 @@ const _sfc_main = {
|
|
203
198
|
class: "radius-big bg-light-transp-50 pd-nano w-100 flex-center flex"
|
204
199
|
}, toDisplayString(!spoiler.value ? `+${order.positions.length - 2} more` : `Hide`), 1)) : createCommentVNode("", true)
|
205
200
|
]),
|
206
|
-
createElementVNode("div",
|
201
|
+
createElementVNode("div", _hoisted_20, [
|
207
202
|
createVNode(IconTime, {
|
208
203
|
class: "i-semi t-transp",
|
209
204
|
fill: "rgb(var(--black)"
|
210
205
|
}),
|
211
|
-
createElementVNode("p",
|
212
|
-
createElementVNode("span",
|
213
|
-
|
206
|
+
createElementVNode("p", _hoisted_21, toDisplayString(_ctx.formatDate(order.deadline)), 1),
|
207
|
+
createElementVNode("span", _hoisted_22, toDisplayString(order.status), 1),
|
208
|
+
_cache[5] || (_cache[5] = createElementVNode("span", { class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red" }, " Unpaid ", -1))
|
214
209
|
]),
|
215
|
-
order.comment ? (openBlock(), createElementBlock("div",
|
216
|
-
|
210
|
+
order.comment ? (openBlock(), createElementBlock("div", _hoisted_23, [
|
211
|
+
_cache[6] || (_cache[6] = createElementVNode("p", { class: "mn-b-thin t-transp uppercase p-small t-medium" }, "Comment", -1)),
|
217
212
|
createElementVNode("p", null, toDisplayString(order.comment), 1)
|
218
213
|
])) : createCommentVNode("", true)
|
219
214
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Orders.vue.js","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\"> \n <SectionPageTitle\n title=\"Orders\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Created', value: 'created' },\n { name: 'Confirmed', value: 'confirmed' },\n { name: 'Preparing', value: 'preparing' },\n { name: 'Prepared', value: 'prepared' },\n { name: 'In delivery', value: 'in delivery' },\n { name: 'Delivered', value: 'delivered' },\n { name: 'Closed', value: 'closed' }\n ]\"\n :actions=\"[\n { to: { name: 'AdminOrderAdd'}, label: 'Create Order' }\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Block\n title=\"Balance\"\n class=\"mn-b-thin\"\n >\n <div class=\"gap-micro flex-nowrap flex\">\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Total</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Paid</p>\n <h3>{{formatPrice(totalPriceUnpaid)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Unpaid</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n </div>\n\n </Block>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"gap-thin cols-3\"\n >\n <router-link \n v-for=\"order in items\" \n :to=\"{ \n name: 'Order Edit', \n params: { \n order: order._id \n\n }\n }\" \n class=\"bg-light pos-relative pd-medium radius-big\"\n >\n <CardHeader \n :entity=\"order\"\n :entityType=\"'order'\"\n :user=\"auth.state.user\"\n :owner=\"order.creator\" \n :creator=\"order.creator\"\n :date=\"order.createdAt\"\n class=\"mn-b-small\"\n />\n\n <div class=\"mn-b-small pd-small bg-white radius-small flex-nowrap flex\"> \n <div class=\"w-100\">\n <h3 class=\"mn-b-thin\">{{order.customer.target.profile?.name || order.customer.target.phone || order.customer.target.email || 'No name'}}</h3>\n <p class=\"t-truncate\">{{order.delivery.address || 'Not specified'}}</p> \n </div>\n\n <div class=\" w-100 t-right\">\n <h3 class=\"mn-b-thin\">{{returnCurrency()}}{{orders.getters.getTotal(order.positions)}}</h3>\n <p>#{{order._id.slice(0, 4) + '...' + order._id.slice(-4)}}</p> \n </div>\n </div>\n \n <div class=\"cols-1 mn-b-small gap-thin pd-small bg-white radius-small\">\n <!-- Always display the first two positions -->\n <div\n v-for=\"(position, index) in order.positions.slice(0, 2)\"\n :key=\"index\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n\n <transition name=\"fade\">\n <!-- Display the rest of the positions if there are more than two and spoiler is true -->\n <div v-if=\"spoiler && order.positions.length > 2\">\n <div\n v-for=\"(position, index) in order.positions.slice(2)\"\n :key=\"index + 2\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n </div>\n </transition>\n\n <!-- Toggle button for additional positions, visible only if there are more than two positions -->\n <button\n v-if=\"order.positions.length > 2\"\n @click.prevent=\"spoiler = !spoiler\"\n class=\"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex\"\n >\n {{ !spoiler ? `+${order.positions.length - 2} more` : `Hide` }} \n </button>\n </div>\n\n\n <div class=\"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex\"> \n <IconTime class=\"i-semi t-transp\" fill=\"rgb(var(--black)\" />\n <p class=\"t-medium mn-r-auto\">{{formatDate(order.deadline)}}</p>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main\"\n >\n {{order.status}}\n </span>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red\"\n >\n Unpaid\n </span>\n </div>\n \n\n <div v-if=\"order.comment\" class=\"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small\">\n <p class=\"mn-b-thin t-transp uppercase p-small t-medium\">Comment</p>\n <p>{{order.comment}}</p>\n </div>\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, onMounted, reactive, ref } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Block from '@pf/src/components/Block/Block.vue';\n\n import * as orders from '@pf/src/modules/orders/store/orders';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n\n import CardOrder from '@pf/src/modules/orders/components/blocks/CardOrder.vue'\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'\n\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import IconTime from '@pf/src/modules/icons/entities/IconTime.vue'\n\n const route = useRoute();\n const router = useRouter();\n\n const spoiler = ref(false)\n\n // Tab logic\n const tab = ref('all')\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n \n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n\n\n onMounted(async () => {\n \n });\n</script>\n"],"names":["orders.state"],"mappings":"
|
1
|
+
{"version":3,"file":"Orders.vue.js","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\"> \n <SectionPageTitle\n title=\"Orders\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Created', value: 'created' },\n { name: 'Confirmed', value: 'confirmed' },\n { name: 'Preparing', value: 'preparing' },\n { name: 'Prepared', value: 'prepared' },\n { name: 'In delivery', value: 'in delivery' },\n { name: 'Delivered', value: 'delivered' },\n { name: 'Closed', value: 'closed' }\n ]\"\n :actions=\"[\n { to: { name: 'AdminOrderAdd'}, label: 'Create Order' }\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Block\n title=\"Balance\"\n class=\"mn-b-thin\"\n >\n <div class=\"gap-micro flex-nowrap flex\">\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Total</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Paid</p>\n <h3>{{formatPrice(totalPriceUnpaid)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Unpaid</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n </div>\n\n </Block>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"gap-thin cols-3\"\n >\n <router-link \n v-for=\"order in items\" \n :to=\"{ \n name: 'Order Edit', \n params: { \n order: order._id \n\n }\n }\" \n class=\"bg-light pos-relative pd-medium radius-big\"\n >\n <CardHeader \n :entity=\"order\"\n :entityType=\"'order'\"\n :user=\"auth.state.user\"\n :owner=\"order.creator\" \n :creator=\"order.creator\"\n :date=\"order.createdAt\"\n class=\"mn-b-small\"\n />\n\n <div class=\"mn-b-small pd-small bg-white radius-small flex-nowrap flex\"> \n <div class=\"w-100\">\n <h3 class=\"mn-b-thin\">{{order.customer.target.profile?.name || order.customer.target.phone || order.customer.target.email || 'No name'}}</h3>\n <p class=\"t-truncate\">{{order.delivery.address || 'Not specified'}}</p> \n </div>\n\n <div class=\" w-100 t-right\">\n <h3 class=\"mn-b-thin\">{{returnCurrency()}}{{orders.getters.getTotal(order.positions)}}</h3>\n <p>#{{order._id.slice(0, 4) + '...' + order._id.slice(-4)}}</p> \n </div>\n </div>\n \n <div class=\"cols-1 mn-b-small gap-thin pd-small bg-white radius-small\">\n <!-- Always display the first two positions -->\n <div\n v-for=\"(position, index) in order.positions.slice(0, 2)\"\n :key=\"index\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n\n <transition name=\"fade\">\n <!-- Display the rest of the positions if there are more than two and spoiler is true -->\n <div v-if=\"spoiler && order.positions.length > 2\">\n <div\n v-for=\"(position, index) in order.positions.slice(2)\"\n :key=\"index + 2\"\n class=\"w-100 flex\"\n >\n <p class=\"mn-r-auto\">{{ position.name }}</p>\n <p class=\"t-right\">\n {{ position.quantity }} {{ position.type }}\n x\n {{ position.price }}\n <span class=\"t-transp\">{{ returnCurrency() }}</span>\n </p>\n </div>\n </div>\n </transition>\n\n <!-- Toggle button for additional positions, visible only if there are more than two positions -->\n <button\n v-if=\"order.positions.length > 2\"\n @click.prevent=\"spoiler = !spoiler\"\n class=\"radius-big bg-light-transp-50 pd-nano w-100 flex-center flex\"\n >\n {{ !spoiler ? `+${order.positions.length - 2} more` : `Hide` }} \n </button>\n </div>\n\n\n <div class=\"pd-small bg-white radius-small gap-micro flex-v-center flex-nowrap flex\"> \n <IconTime class=\"i-semi t-transp\" fill=\"rgb(var(--black)\" />\n <p class=\"t-medium mn-r-auto\">{{formatDate(order.deadline)}}</p>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main\"\n >\n {{order.status}}\n </span>\n\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin t-white bg-red\"\n >\n Unpaid\n </span>\n </div>\n \n\n <div v-if=\"order.comment\" class=\"pos-relative radius-small bg-fifth-transp-10 mn-t-thin pd-small\">\n <p class=\"mn-b-thin t-transp uppercase p-small t-medium\">Comment</p>\n <p>{{order.comment}}</p>\n </div>\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, onMounted, reactive, ref } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Block from '@pf/src/components/Block/Block.vue';\n\n import * as orders from '@pf/src/modules/orders/store/orders';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n\n import CardOrder from '@pf/src/modules/orders/components/blocks/CardOrder.vue'\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'\n\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import IconTime from '@pf/src/modules/icons/entities/IconTime.vue'\n\n const route = useRoute();\n const router = useRouter();\n\n const spoiler = ref(false)\n\n // Tab logic\n const tab = ref('all')\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n \n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n\n\n onMounted(async () => {\n \n });\n</script>\n"],"names":["orders.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LE,UAAM,QAAQ;AACC,cAAY;AAE3B,UAAM,UAAU,IAAI,KAAK;AAGzB,UAAM,MAAM,IAAI,KAAK;AAErB,UAAM,aAAa,SAAS,MAAM;AAChC,aAAO,kBAAkBA,MAAa,GAAG;AAAA,IAC7C,CAAG;AAEA,UAAM,mBAAmB,SAAS,MAAM;AACvC,aAAO,aAAaA,MAAa,KAAI,QAAQ;AAAA,IACjD,CAAG;AAGD,aAAS,kBAAkB,QAAQ;AACjC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,eAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,MACnF,GAAE,CAAC;AAAA,IACL;AAED,aAAS,aAAa,QAAQ,QAAQ;AACpC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,YAAI,KAAK,QAAQ,WAAW,QAAQ;AAClC,iBAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,QACnF;AACD,eAAO;AAAA,MACR,GAAE,CAAC;AAAA,IACL;AAGD,cAAU,YAAY;AAAA,IAExB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -5,17 +5,16 @@ const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
6
6
|
class: "bg-black t-white pd-big radius-big flex-v-center flex-nowrap flex"
|
7
7
|
};
|
8
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "mn-r-auto" }, [
|
9
|
-
/* @__PURE__ */ vue.createElementVNode("h3", { class: "t-semi mn-b-small" }, "Already registered?"),
|
10
|
-
/* @__PURE__ */ vue.createElementVNode("span", { class: "p-medium t-transp" }, "Sign in to your account to checkout faster.")
|
11
|
-
], -1);
|
12
8
|
const _sfc_main = {
|
13
9
|
__name: "AskToLogin",
|
14
10
|
setup(__props) {
|
15
11
|
let isOpen = vue.ref(true);
|
16
12
|
return (_ctx, _cache) => {
|
17
13
|
return vue.unref(isOpen) === true ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
18
|
-
|
14
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "mn-r-auto" }, [
|
15
|
+
vue.createElementVNode("h3", { class: "t-semi mn-b-small" }, "Already registered?"),
|
16
|
+
vue.createElementVNode("span", { class: "p-medium t-transp" }, "Sign in to your account to checkout faster.")
|
17
|
+
], -1)),
|
19
18
|
vue.createElementVNode("button", {
|
20
19
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleSignInPopup()),
|
21
20
|
class: "button h-4r bg-main"
|
package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AskToLogin.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n radius-big\n flex-v-center\n flex-nowrap \n flex\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"t-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-medium t-transp\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":["ref"],"mappings":"
|
1
|
+
{"version":3,"file":"AskToLogin.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n radius-big\n flex-v-center\n flex-nowrap \n flex\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"t-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-medium t-transp\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":["ref"],"mappings":";;;;;;;;;;AAyCC,QAAI,SAASA,QAAI,IAAI;;;;;;;;;;;;;;;;"}
|
@@ -3,17 +3,16 @@ const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
4
4
|
class: "bg-black t-white pd-big radius-big flex-v-center flex-nowrap flex"
|
5
5
|
};
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "mn-r-auto" }, [
|
7
|
-
/* @__PURE__ */ createElementVNode("h3", { class: "t-semi mn-b-small" }, "Already registered?"),
|
8
|
-
/* @__PURE__ */ createElementVNode("span", { class: "p-medium t-transp" }, "Sign in to your account to checkout faster.")
|
9
|
-
], -1);
|
10
6
|
const _sfc_main = {
|
11
7
|
__name: "AskToLogin",
|
12
8
|
setup(__props) {
|
13
9
|
let isOpen = ref(true);
|
14
10
|
return (_ctx, _cache) => {
|
15
11
|
return unref(isOpen) === true ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
16
|
-
|
12
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "mn-r-auto" }, [
|
13
|
+
createElementVNode("h3", { class: "t-semi mn-b-small" }, "Already registered?"),
|
14
|
+
createElementVNode("span", { class: "p-medium t-transp" }, "Sign in to your account to checkout faster.")
|
15
|
+
], -1)),
|
17
16
|
createElementVNode("button", {
|
18
17
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleSignInPopup()),
|
19
18
|
class: "button h-4r bg-main"
|
package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AskToLogin.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n radius-big\n flex-v-center\n flex-nowrap \n flex\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"t-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-medium t-transp\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"AskToLogin.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n radius-big\n flex-v-center\n flex-nowrap \n flex\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"t-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-medium t-transp\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;AAyCC,QAAI,SAAS,IAAI,IAAI;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs
CHANGED
@@ -3,11 +3,11 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
6
|
-
;/* empty css
|
6
|
+
;/* empty css */
|
7
7
|
const clickOutside = require("../../../../components/FieldPhone/click-outside.cjs");
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
9
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
10
|
-
const Button = require("../../../../components/Button/Button.
|
10
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
11
11
|
const BlockSearch = require("../../../globals/views/components/blocks/BlockSearch.vue.cjs");
|
12
12
|
const CardUser = require("../../../users/components/blocks/CardUser.vue.cjs");
|
13
13
|
const FormCustomerDetails = require("./FormCustomerDetails.vue.cjs");
|
@@ -142,9 +142,9 @@ const _sfc_main = {
|
|
142
142
|
onError: vue.unref(globals.setError),
|
143
143
|
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
144
144
|
}, {
|
145
|
-
default: vue.withCtx(() => [
|
145
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
146
146
|
vue.createTextVNode(" Add Customer ")
|
147
|
-
]),
|
147
|
+
])),
|
148
148
|
_: 1
|
149
149
|
}, 8, ["onError"])
|
150
150
|
], 64);
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { ref, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, withDirectives, createBlock, isRef, renderList, createCommentVNode, createTextVNode } from "vue";
|
2
2
|
import { useRoute } from "vue-router";
|
3
3
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
4
|
-
/* empty css
|
4
|
+
/* empty css */
|
5
5
|
import clickOutside from "../../../../components/FieldPhone/click-outside.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
|
8
|
-
import _sfc_main$6 from "../../../../components/Button/Button.
|
8
|
+
import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
|
9
9
|
import _sfc_main$2 from "../../../globals/views/components/blocks/BlockSearch.vue.js";
|
10
10
|
import _sfc_main$3 from "../../../users/components/blocks/CardUser.vue.js";
|
11
11
|
import _sfc_main$5 from "./FormCustomerDetails.vue.js";
|
@@ -140,9 +140,9 @@ const _sfc_main = {
|
|
140
140
|
onError: unref(setError),
|
141
141
|
class: "w-100 pd-small radius-big bg-main t-black uppercase t-medium"
|
142
142
|
}, {
|
143
|
-
default: withCtx(() => [
|
143
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
144
144
|
createTextVNode(" Add Customer ")
|
145
|
-
]),
|
145
|
+
])),
|
146
146
|
_: 1
|
147
147
|
}, 8, ["onError"])
|
148
148
|
], 64);
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
const FieldPhone = require("../../../../components/FieldPhone/FieldPhone.vue.cjs");
|
7
|
-
const Select = require("../../../../components/Select/Select.
|
7
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
8
8
|
const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
|
9
9
|
const _sfc_main = {
|
10
10
|
__name: "FormCustomerDetails",
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, openBlock, createBlock, withCtx, createVNode, createElementVNode, unref, isRef } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import Select from "../../../../components/Select/Select.
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
6
6
|
const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
|
7
7
|
const _sfc_main = {
|
8
8
|
__name: "FormCustomerDetails",
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs
CHANGED
@@ -6,10 +6,8 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
6
6
|
const Address = require("../../../../components/Address/Address.vue2.cjs");
|
7
7
|
const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
|
8
8
|
const Radio = require("../../../../components/Radio/Radio.vue.cjs");
|
9
|
-
const Field = require("../../../../components/Field/Field.
|
10
|
-
const _hoisted_1 =
|
11
|
-
const _hoisted_2 = { class: "mn-b-small flex-nowrap flex" };
|
12
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("h4", { class: "font-second mn-b-thin" }, "Address", -1);
|
9
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
10
|
+
const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
|
13
11
|
const _sfc_main = {
|
14
12
|
__name: "FormDelivery",
|
15
13
|
props: {
|
@@ -28,8 +26,8 @@ const _sfc_main = {
|
|
28
26
|
tooltip: "Delivery by mail takes 3-5 days."
|
29
27
|
}, {
|
30
28
|
default: vue.withCtx(() => [
|
31
|
-
|
32
|
-
vue.createElementVNode("div",
|
29
|
+
_cache[8] || (_cache[8] = vue.createElementVNode("h4", { class: "font-second mn-b-thin" }, "Select deliverty type", -1)),
|
30
|
+
vue.createElementVNode("div", _hoisted_1, [
|
33
31
|
vue.createVNode(Radio.default, {
|
34
32
|
radio: __props.order.delivery.type,
|
35
33
|
"onUpdate:radio": _cache[0] || (_cache[0] = ($event) => __props.order.delivery.type = $event),
|
@@ -52,7 +50,7 @@ const _sfc_main = {
|
|
52
50
|
class: "bg-white pd-medium radius-small w-100"
|
53
51
|
}, null, 8, ["radio"])
|
54
52
|
]),
|
55
|
-
|
53
|
+
_cache[9] || (_cache[9] = vue.createElementVNode("h4", { class: "font-second mn-b-thin" }, "Address", -1)),
|
56
54
|
vue.createVNode(Address.default, {
|
57
55
|
label: "Location",
|
58
56
|
apiKey: _ctx.GOOGLE_MAPS_API_KEY,
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FormDelivery.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\" class=\"mn-b-thin\" :tooltip=\"'Delivery by mail takes 3-5 days.'\">\n\n <!-- <h4 class=\"mn-b-thin\">Select spot</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n\n </div> -->\n\n <h4 class=\"font-second mn-b-thin\">Select deliverty type</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Pickup\"\n value=\"pickup\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Courier\"\n value=\"courier\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Post\"\n value=\"mail\"\n class=\"bg-white pd-medium radius-small w-100\"\n />\n </div>\n\n \n \n <h4 class=\"font-second mn-b-thin\">Address</h4>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { onMounted } from 'vue'\nimport * as globals from '@pf/src/modules/globals/views/store/globals';\nimport Block from '@pf/src/components/Block/Block.vue'\nimport Address from '@pf/src/components/Address/Address.vue'\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Radio from '@pf/src/components/Radio/Radio.vue'\nimport Field from '@pf/src/components/Field/Field.vue'\n\nconst props = defineProps({\n order: Object,\n});\n\nonMounted(() => {\n if (globals.state.position) props.order.delivery.address = globals.state.position.address\n if (globals.state.position) props.order.delivery.location = globals.state.position.location\n})\n</script>"],"names":["onMounted","globals.state"],"mappings":"
|
1
|
+
{"version":3,"file":"FormDelivery.vue.cjs","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\" class=\"mn-b-thin\" :tooltip=\"'Delivery by mail takes 3-5 days.'\">\n\n <!-- <h4 class=\"mn-b-thin\">Select spot</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n\n </div> -->\n\n <h4 class=\"font-second mn-b-thin\">Select deliverty type</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Pickup\"\n value=\"pickup\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Courier\"\n value=\"courier\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Post\"\n value=\"mail\"\n class=\"bg-white pd-medium radius-small w-100\"\n />\n </div>\n\n \n \n <h4 class=\"font-second mn-b-thin\">Address</h4>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { onMounted } from 'vue'\nimport * as globals from '@pf/src/modules/globals/views/store/globals';\nimport Block from '@pf/src/components/Block/Block.vue'\nimport Address from '@pf/src/components/Address/Address.vue'\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Radio from '@pf/src/components/Radio/Radio.vue'\nimport Field from '@pf/src/components/Field/Field.vue'\n\nconst props = defineProps({\n order: Object,\n});\n\nonMounted(() => {\n if (globals.state.position) props.order.delivery.address = globals.state.position.address\n if (globals.state.position) props.order.delivery.location = globals.state.position.location\n})\n</script>"],"names":["onMounted","globals.state"],"mappings":";;;;;;;;;;;;;;;;AA+EA,UAAM,QAAQ;AAIdA,QAAAA,UAAU,MAAM;AACd,UAAIC,QAAa,MAAC,SAAU,OAAM,MAAM,SAAS,UAAUA,cAAc,SAAS;AAClF,UAAIA,QAAa,MAAC,SAAU,OAAM,MAAM,SAAS,WAAWA,cAAc,SAAS;AAAA,IACrF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js
CHANGED
@@ -4,10 +4,8 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../../../components/Address/Address.vue2.js";
|
5
5
|
import _sfc_main$4 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
|
6
6
|
import _sfc_main$2 from "../../../../components/Radio/Radio.vue.js";
|
7
|
-
import Field from "../../../../components/Field/Field.
|
8
|
-
const _hoisted_1 =
|
9
|
-
const _hoisted_2 = { class: "mn-b-small flex-nowrap flex" };
|
10
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("h4", { class: "font-second mn-b-thin" }, "Address", -1);
|
7
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
8
|
+
const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
|
11
9
|
const _sfc_main = {
|
12
10
|
__name: "FormDelivery",
|
13
11
|
props: {
|
@@ -26,8 +24,8 @@ const _sfc_main = {
|
|
26
24
|
tooltip: "Delivery by mail takes 3-5 days."
|
27
25
|
}, {
|
28
26
|
default: withCtx(() => [
|
29
|
-
|
30
|
-
createElementVNode("div",
|
27
|
+
_cache[8] || (_cache[8] = createElementVNode("h4", { class: "font-second mn-b-thin" }, "Select deliverty type", -1)),
|
28
|
+
createElementVNode("div", _hoisted_1, [
|
31
29
|
createVNode(_sfc_main$2, {
|
32
30
|
radio: __props.order.delivery.type,
|
33
31
|
"onUpdate:radio": _cache[0] || (_cache[0] = ($event) => __props.order.delivery.type = $event),
|
@@ -50,7 +48,7 @@ const _sfc_main = {
|
|
50
48
|
class: "bg-white pd-medium radius-small w-100"
|
51
49
|
}, null, 8, ["radio"])
|
52
50
|
]),
|
53
|
-
|
51
|
+
_cache[9] || (_cache[9] = createElementVNode("h4", { class: "font-second mn-b-thin" }, "Address", -1)),
|
54
52
|
createVNode(_sfc_main$3, {
|
55
53
|
label: "Location",
|
56
54
|
apiKey: _ctx.GOOGLE_MAPS_API_KEY,
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FormDelivery.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\" class=\"mn-b-thin\" :tooltip=\"'Delivery by mail takes 3-5 days.'\">\n\n <!-- <h4 class=\"mn-b-thin\">Select spot</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n\n </div> -->\n\n <h4 class=\"font-second mn-b-thin\">Select deliverty type</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Pickup\"\n value=\"pickup\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Courier\"\n value=\"courier\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Post\"\n value=\"mail\"\n class=\"bg-white pd-medium radius-small w-100\"\n />\n </div>\n\n \n \n <h4 class=\"font-second mn-b-thin\">Address</h4>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { onMounted } from 'vue'\nimport * as globals from '@pf/src/modules/globals/views/store/globals';\nimport Block from '@pf/src/components/Block/Block.vue'\nimport Address from '@pf/src/components/Address/Address.vue'\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Radio from '@pf/src/components/Radio/Radio.vue'\nimport Field from '@pf/src/components/Field/Field.vue'\n\nconst props = defineProps({\n order: Object,\n});\n\nonMounted(() => {\n if (globals.state.position) props.order.delivery.address = globals.state.position.address\n if (globals.state.position) props.order.delivery.location = globals.state.position.location\n})\n</script>"],"names":["globals.state"],"mappings":"
|
1
|
+
{"version":3,"file":"FormDelivery.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/FormDelivery.vue"],"sourcesContent":["<template>\n <Block title=\"Delivery\" class=\"mn-b-thin\" :tooltip=\"'Delivery by mail takes 3-5 days.'\">\n\n <!-- <h4 class=\"mn-b-thin\">Select spot</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n\n </div> -->\n\n <h4 class=\"font-second mn-b-thin\">Select deliverty type</h4>\n <div class=\"mn-b-small flex-nowrap flex\">\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Pickup\"\n value=\"pickup\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Courier\"\n value=\"courier\"\n class=\"bg-white pd-medium radius-small w-100 mn-r-small\"\n />\n <Radio \n v-model:radio=\"order.delivery.type\"\n label=\"Post\"\n value=\"mail\"\n class=\"bg-white pd-medium radius-small w-100\"\n />\n </div>\n\n \n \n <h4 class=\"font-second mn-b-thin\">Address</h4>\n <Address\n label=\"Location\" \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\" \n placeholder=\"Enter your address\" \n class=\"bg-white radius-tl-medium radius-tr-medium t-black pd-medium\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"order.delivery.address\" \n :location=\"order.delivery.location\"\n class=\"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden\"\n @update:location=\"newLocation => {\n order.delivery.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n order.delivery.address = newAddress;\n }\"\n />\n\n <Field \n v-model:field=\"order.comment\" \n placeholder=\"Comments regarding the address (apartment unit, floor level, building section)\"\n type=\"textarea\" \n class=\"bg-white pd-medium radius-small\"\n />\n </Block>\n</template>\n\n<script setup>\nimport { onMounted } from 'vue'\nimport * as globals from '@pf/src/modules/globals/views/store/globals';\nimport Block from '@pf/src/components/Block/Block.vue'\nimport Address from '@pf/src/components/Address/Address.vue'\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Radio from '@pf/src/components/Radio/Radio.vue'\nimport Field from '@pf/src/components/Field/Field.vue'\n\nconst props = defineProps({\n order: Object,\n});\n\nonMounted(() => {\n if (globals.state.position) props.order.delivery.address = globals.state.position.address\n if (globals.state.position) props.order.delivery.location = globals.state.position.location\n})\n</script>"],"names":["globals.state"],"mappings":";;;;;;;;;;;;;;AA+EA,UAAM,QAAQ;AAId,cAAU,MAAM;AACd,UAAIA,MAAc,SAAU,OAAM,MAAM,SAAS,UAAUA,MAAc,SAAS;AAClF,UAAIA,MAAc,SAAU,OAAM,MAAM,SAAS,WAAWA,MAAc,SAAS;AAAA,IACrF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
5
|
-
const Select = require("../../../../components/Select/Select.
|
5
|
+
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
6
6
|
const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
|
7
7
|
const _sfc_main = {
|
8
8
|
__name: "FormPayment",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
3
|
-
import Select from "../../../../components/Select/Select.
|
3
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
4
4
|
const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
|
5
5
|
const _sfc_main = {
|
6
6
|
__name: "FormPayment",
|
@@ -2,14 +2,11 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const _hoisted_1 = { class: "t-center order-finished" };
|
5
|
-
const _hoisted_2 =
|
6
|
-
const
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const _hoisted_8 = { class: "t-left flex-nowrap flex" };
|
11
|
-
const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-r-small w-33 t-semi" }, "Address", -1);
|
12
|
-
const _hoisted_10 = { class: "mn-r-small w-100" };
|
5
|
+
const _hoisted_2 = { class: "order-data pd-big" };
|
6
|
+
const _hoisted_3 = { class: "mn-b-small t-left flex-nowrap flex" };
|
7
|
+
const _hoisted_4 = { class: "mn-r-small w-100" };
|
8
|
+
const _hoisted_5 = { class: "t-left flex-nowrap flex" };
|
9
|
+
const _hoisted_6 = { class: "mn-r-small w-100" };
|
13
10
|
const _sfc_main = {
|
14
11
|
__name: "Succes",
|
15
12
|
props: {
|
@@ -18,15 +15,15 @@ const _sfc_main = {
|
|
18
15
|
setup(__props) {
|
19
16
|
return (_ctx, _cache) => {
|
20
17
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
21
|
-
|
22
|
-
vue.createElementVNode("div",
|
23
|
-
vue.createElementVNode("div",
|
24
|
-
|
25
|
-
vue.createElementVNode("p",
|
18
|
+
_cache[2] || (_cache[2] = vue.createStaticVNode('<p class="mn-b-medium p-big">Order completed!</p><div class="mn-b-big pd-big order-number"><p class="mn-b-small t-semi small">#485792</p><p class="t-lh-2">Our manager will contact you within 1 hour. If you have any questions - send us an email or call <br><span class="t-semi">+995 585 888 660</span></p></div>', 2)),
|
19
|
+
vue.createElementVNode("div", _hoisted_2, [
|
20
|
+
vue.createElementVNode("div", _hoisted_3, [
|
21
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("p", { class: "mn-r-small w-33 t-semi" }, "Receiver", -1)),
|
22
|
+
vue.createElementVNode("p", _hoisted_4, vue.toDisplayString(__props.order.name) + " " + vue.toDisplayString(__props.order.surname) + ", " + vue.toDisplayString(__props.order.phone) + ", " + vue.toDisplayString(__props.order.email), 1)
|
26
23
|
]),
|
27
|
-
vue.createElementVNode("div",
|
28
|
-
|
29
|
-
vue.createElementVNode("p",
|
24
|
+
vue.createElementVNode("div", _hoisted_5, [
|
25
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("p", { class: "mn-r-small w-33 t-semi" }, "Address", -1)),
|
26
|
+
vue.createElementVNode("p", _hoisted_6, vue.toDisplayString(__props.order.city) + ", " + vue.toDisplayString(__props.order.adress), 1)
|
30
27
|
])
|
31
28
|
])
|
32
29
|
]);
|