@ozdao/prometheus-framework 0.2.242 → 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/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +11 -12
- 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 +11 -12
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +801 -811
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +801 -811
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardDeposit.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with card</h2>\n\n <div class=\"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between\">\n <Field\n :placeholder=\"t('wallet.enterAmount')\"\n class=\"pd-medium radius-small\"\n />\n\n <div class=\"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi\">\n USD\n </div>\n </div>\n\n <h3 class=\"t-semi\">You will receieve: 0 WDT</h3>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"switchMenu(3)\"\n >\n {{ t('wallet.pay') }}\n </button>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\"\n >\n {{ t('wallet.backToSelection') }}\n </button>\n</template>\n\n<script setup>\n import text from '@pf/src/modules/wallet/views/localization/wallet.json'\n import Field from '@pf/src/components/Field/Field.vue'\n import { useI18n } from 'vue-i18n'\n\n const emits = defineEmits(['back-selection', 'switch-menu'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n function backSelection() {\n emits(\"back-selection\")\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen)\n }\n</script>\n\n<style scoped>\n</style>"],"names":["useI18n","text"],"mappings":"
|
1
|
+
{"version":3,"file":"CardDeposit.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with card</h2>\n\n <div class=\"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between\">\n <Field\n :placeholder=\"t('wallet.enterAmount')\"\n class=\"pd-medium radius-small\"\n />\n\n <div class=\"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi\">\n USD\n </div>\n </div>\n\n <h3 class=\"t-semi\">You will receieve: 0 WDT</h3>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"switchMenu(3)\"\n >\n {{ t('wallet.pay') }}\n </button>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\"\n >\n {{ t('wallet.backToSelection') }}\n </button>\n</template>\n\n<script setup>\n import text from '@pf/src/modules/wallet/views/localization/wallet.json'\n import Field from '@pf/src/components/Field/Field.vue'\n import { useI18n } from 'vue-i18n'\n\n const emits = defineEmits(['back-selection', 'switch-menu'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n function backSelection() {\n emits(\"back-selection\")\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen)\n }\n</script>\n\n<style scoped>\n</style>"],"names":["useI18n","text"],"mappings":";;;;;;;;;;;AAoCE,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAGA,gBAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAGC,OAAI;AAAA,IACX,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;AAED,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC5B;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js
CHANGED
@@ -2,10 +2,7 @@ import { openBlock, createElementBlock, Fragment, createElementVNode, createVNod
|
|
2
2
|
import text from "../../localization/wallet.json.js";
|
3
3
|
import Field from "../../../../../components/Field/Field.vue.js";
|
4
4
|
import { useI18n } from "vue-i18n";
|
5
|
-
const _hoisted_1 =
|
6
|
-
const _hoisted_2 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
7
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " USD ", -1);
|
8
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1);
|
5
|
+
const _hoisted_1 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
9
6
|
const _sfc_main = {
|
10
7
|
__name: "CardDeposit",
|
11
8
|
emits: ["back-selection", "switch-menu"],
|
@@ -23,15 +20,15 @@ const _sfc_main = {
|
|
23
20
|
}
|
24
21
|
return (_ctx, _cache) => {
|
25
22
|
return openBlock(), createElementBlock(Fragment, null, [
|
26
|
-
|
27
|
-
createElementVNode("div",
|
23
|
+
_cache[2] || (_cache[2] = createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1)),
|
24
|
+
createElementVNode("div", _hoisted_1, [
|
28
25
|
createVNode(Field, {
|
29
26
|
placeholder: unref(t)("wallet.enterAmount"),
|
30
27
|
class: "pd-medium radius-small"
|
31
28
|
}, null, 8, ["placeholder"]),
|
32
|
-
|
29
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " USD ", -1))
|
33
30
|
]),
|
34
|
-
|
31
|
+
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1)),
|
35
32
|
createElementVNode("button", {
|
36
33
|
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
37
34
|
onClick: _cache[0] || (_cache[0] = ($event) => switchMenu(3))
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardDeposit.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with card</h2>\n\n <div class=\"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between\">\n <Field\n :placeholder=\"t('wallet.enterAmount')\"\n class=\"pd-medium radius-small\"\n />\n\n <div class=\"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi\">\n USD\n </div>\n </div>\n\n <h3 class=\"t-semi\">You will receieve: 0 WDT</h3>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"switchMenu(3)\"\n >\n {{ t('wallet.pay') }}\n </button>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\"\n >\n {{ t('wallet.backToSelection') }}\n </button>\n</template>\n\n<script setup>\n import text from '@pf/src/modules/wallet/views/localization/wallet.json'\n import Field from '@pf/src/components/Field/Field.vue'\n import { useI18n } from 'vue-i18n'\n\n const emits = defineEmits(['back-selection', 'switch-menu'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n function backSelection() {\n emits(\"back-selection\")\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen)\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CardDeposit.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with card</h2>\n\n <div class=\"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between\">\n <Field\n :placeholder=\"t('wallet.enterAmount')\"\n class=\"pd-medium radius-small\"\n />\n\n <div class=\"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi\">\n USD\n </div>\n </div>\n\n <h3 class=\"t-semi\">You will receieve: 0 WDT</h3>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"switchMenu(3)\"\n >\n {{ t('wallet.pay') }}\n </button>\n\n <button\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\"\n >\n {{ t('wallet.backToSelection') }}\n </button>\n</template>\n\n<script setup>\n import text from '@pf/src/modules/wallet/views/localization/wallet.json'\n import Field from '@pf/src/components/Field/Field.vue'\n import { useI18n } from 'vue-i18n'\n\n const emits = defineEmits(['back-selection', 'switch-menu'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n function backSelection() {\n emits(\"back-selection\")\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen)\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":";;;;;;;;;AAoCE,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAG,QAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAG;AAAA,IACP,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;AAED,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC5B;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with cash", -1);
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("p", { class: "t-transp t-center" }, " You need to go to casse to topup balance ", -1);
|
6
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("div", {
|
7
|
-
class: "w-100 bg-grey radius-medium mn-t-medium mn-b-medium",
|
8
|
-
style: { "height": "152px" }
|
9
|
-
}, null, -1);
|
10
4
|
const _sfc_main = {
|
11
5
|
__name: "CashDeposit",
|
12
6
|
emits: ["back-selection"],
|
@@ -17,9 +11,12 @@ const _sfc_main = {
|
|
17
11
|
}
|
18
12
|
return (_ctx, _cache) => {
|
19
13
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with cash", -1)),
|
15
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("p", { class: "t-transp t-center" }, " You need to go to casse to topup balance ", -1)),
|
16
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("div", {
|
17
|
+
class: "w-100 bg-grey radius-medium mn-t-medium mn-b-medium",
|
18
|
+
style: { "height": "152px" }
|
19
|
+
}, null, -1)),
|
23
20
|
vue.createElementVNode("button", {
|
24
21
|
class: "w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
25
22
|
onClick: backSelection
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CashDeposit.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CashDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with cash</h2>\n\n <p class=\"t-transp t-center\">\n You need to go to casse to topup balance\n </p>\n\n <div\n class=\"w-100 bg-grey radius-medium mn-t-medium mn-b-medium\"\n style=\"height: 152px\"\n />\n\n <button\n class=\"w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\">Back to selection\n </button>\n</template>\n\n<script setup>\n const emits = defineEmits(['back-selection'])\n\n function backSelection() {\n emits(\"back-selection\");\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CashDeposit.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CashDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with cash</h2>\n\n <p class=\"t-transp t-center\">\n You need to go to casse to topup balance\n </p>\n\n <div\n class=\"w-100 bg-grey radius-medium mn-t-medium mn-b-medium\"\n style=\"height: 152px\"\n />\n\n <button\n class=\"w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\">Back to selection\n </button>\n</template>\n\n<script setup>\n const emits = defineEmits(['back-selection'])\n\n function backSelection() {\n emits(\"back-selection\");\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":";;;;;;;AAmBE,UAAM,QAAQ;AAEd,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
import { openBlock, createElementBlock, Fragment, createElementVNode } from "vue";
|
2
|
-
const _hoisted_1 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with cash", -1);
|
3
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", { class: "t-transp t-center" }, " You need to go to casse to topup balance ", -1);
|
4
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", {
|
5
|
-
class: "w-100 bg-grey radius-medium mn-t-medium mn-b-medium",
|
6
|
-
style: { "height": "152px" }
|
7
|
-
}, null, -1);
|
8
2
|
const _sfc_main = {
|
9
3
|
__name: "CashDeposit",
|
10
4
|
emits: ["back-selection"],
|
@@ -15,9 +9,12 @@ const _sfc_main = {
|
|
15
9
|
}
|
16
10
|
return (_ctx, _cache) => {
|
17
11
|
return openBlock(), createElementBlock(Fragment, null, [
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
_cache[0] || (_cache[0] = createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with cash", -1)),
|
13
|
+
_cache[1] || (_cache[1] = createElementVNode("p", { class: "t-transp t-center" }, " You need to go to casse to topup balance ", -1)),
|
14
|
+
_cache[2] || (_cache[2] = createElementVNode("div", {
|
15
|
+
class: "w-100 bg-grey radius-medium mn-t-medium mn-b-medium",
|
16
|
+
style: { "height": "152px" }
|
17
|
+
}, null, -1)),
|
21
18
|
createElementVNode("button", {
|
22
19
|
class: "w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
23
20
|
onClick: backSelection
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CashDeposit.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CashDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with cash</h2>\n\n <p class=\"t-transp t-center\">\n You need to go to casse to topup balance\n </p>\n\n <div\n class=\"w-100 bg-grey radius-medium mn-t-medium mn-b-medium\"\n style=\"height: 152px\"\n />\n\n <button\n class=\"w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\">Back to selection\n </button>\n</template>\n\n<script setup>\n const emits = defineEmits(['back-selection'])\n\n function backSelection() {\n emits(\"back-selection\");\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"CashDeposit.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CashDeposit.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">Deposit with cash</h2>\n\n <p class=\"t-transp t-center\">\n You need to go to casse to topup balance\n </p>\n\n <div\n class=\"w-100 bg-grey radius-medium mn-t-medium mn-b-medium\"\n style=\"height: 152px\"\n />\n\n <button\n class=\"w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"backSelection\">Back to selection\n </button>\n</template>\n\n<script setup>\n const emits = defineEmits(['back-selection'])\n\n function backSelection() {\n emits(\"back-selection\");\n }\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":";;;;;AAmBE,UAAM,QAAQ;AAEd,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs
CHANGED
@@ -6,7 +6,7 @@ const bignumber = require("../../../../../../node_modules/bignumber.js/bignumber
|
|
6
6
|
const wallet_store = require("../../store/wallet.store.cjs");
|
7
7
|
const wallet = require("../../localization/wallet.json.cjs");
|
8
8
|
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
9
|
-
const Select = require("../../../../../components/Select/Select.
|
9
|
+
const Select = require("../../../../../components/Select/Select.vue2.cjs");
|
10
10
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
11
11
|
const _hoisted_2 = { class: "t-semi" };
|
12
12
|
const _hoisted_3 = ["disabled"];
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js
CHANGED
@@ -4,7 +4,7 @@ import { BigNumber } from "../../../../../../node_modules/bignumber.js/bignumber
|
|
4
4
|
import { state, actions } from "../../store/wallet.store.js";
|
5
5
|
import text from "../../localization/wallet.json.js";
|
6
6
|
import Field from "../../../../../components/Field/Field.vue.js";
|
7
|
-
import Select from "../../../../../components/Select/Select.
|
7
|
+
import Select from "../../../../../components/Select/Select.vue2.js";
|
8
8
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
9
9
|
const _hoisted_2 = { class: "t-semi" };
|
10
10
|
const _hoisted_3 = ["disabled"];
|
@@ -9,27 +9,20 @@ const wallet_store = require("../../store/wallet.store.cjs");
|
|
9
9
|
;/* empty css */
|
10
10
|
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
11
11
|
const browser = require("../../../../../../../_virtual/browser.cjs");
|
12
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-97ae0556"), n = n(), vue.popScopeId(), n);
|
13
12
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
14
13
|
const _hoisted_2 = { class: "flex flex-justify-between" };
|
15
14
|
const _hoisted_3 = { class: "t-semi" };
|
16
15
|
const _hoisted_4 = { class: "flex flex-justify-between" };
|
17
16
|
const _hoisted_5 = { class: "t-semi t-truncate address" };
|
18
|
-
const _hoisted_6 =
|
19
|
-
|
20
|
-
|
21
|
-
const _hoisted_7 = { class: "flex flex-justify-between" };
|
22
|
-
const _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1));
|
23
|
-
const _hoisted_9 = { class: "t-semi" };
|
24
|
-
const _hoisted_10 = {
|
17
|
+
const _hoisted_6 = { class: "flex flex-justify-between" };
|
18
|
+
const _hoisted_7 = { class: "t-semi" };
|
19
|
+
const _hoisted_8 = {
|
25
20
|
key: 0,
|
26
21
|
class: "flex flex-justify-between"
|
27
22
|
};
|
28
|
-
const
|
29
|
-
const
|
30
|
-
const
|
31
|
-
const _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("h3", { class: "t-semi" }, "Status:", -1));
|
32
|
-
const _hoisted_15 = { class: "t-semi" };
|
23
|
+
const _hoisted_9 = { class: "t-semi" };
|
24
|
+
const _hoisted_10 = { class: "flex flex-justify-between" };
|
25
|
+
const _hoisted_11 = { class: "t-semi" };
|
33
26
|
const _sfc_main = {
|
34
27
|
__name: "CryptoDepositProcessing",
|
35
28
|
emits: ["back-selection", "switch-menu"],
|
@@ -115,18 +108,20 @@ const _sfc_main = {
|
|
115
108
|
onClick: _cache[1] || (_cache[1] = () => copy(vue.unref(wallet_store.state).depositInfo.to))
|
116
109
|
}, " copy ")
|
117
110
|
]),
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
111
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "flex flex-justify-around radius-big br-solid br-2px br-black-transp-10" }, [
|
112
|
+
vue.createElementVNode("canvas", { id: "qrcode_address_deposit" })
|
113
|
+
], -1)),
|
114
|
+
vue.createElementVNode("div", _hoisted_6, [
|
115
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1)),
|
116
|
+
vue.createElementVNode("h3", _hoisted_7, vue.toDisplayString(receive.value) + " WDT", 1)
|
122
117
|
]),
|
123
|
-
vue.unref(wallet_store.state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (vue.openBlock(), vue.createElementBlock("div",
|
124
|
-
|
125
|
-
vue.createElementVNode("h3",
|
118
|
+
vue.unref(wallet_store.state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
119
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("h3", { class: "t-semi" }, "Times left:", -1)),
|
120
|
+
vue.createElementVNode("h3", _hoisted_9, vue.toDisplayString(remainingTime.value), 1)
|
126
121
|
])) : vue.createCommentVNode("", true),
|
127
|
-
vue.createElementVNode("div",
|
128
|
-
|
129
|
-
vue.createElementVNode("h3",
|
122
|
+
vue.createElementVNode("div", _hoisted_10, [
|
123
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("h3", { class: "t-semi" }, "Status:", -1)),
|
124
|
+
vue.createElementVNode("h3", _hoisted_11, vue.toDisplayString(status.value), 1)
|
130
125
|
]),
|
131
126
|
vue.unref(wallet_store.state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (vue.openBlock(), vue.createElementBlock("button", {
|
132
127
|
key: 1,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CryptoDepositProcessing.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.depositWithCrypto') }}</h2>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Amount: {{ amount }} {{ state.chosenNetwork.name.toUpperCase() }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(amount)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi t-truncate address\">Wallet: {{ state.depositInfo.to }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(state.depositInfo.to)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-around radius-big br-solid br-2px br-black-transp-10\">\n <canvas id=\"qrcode_address_deposit\"></canvas>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">You will receive:</h3>\n <h3 class=\"t-semi\">{{ receive }} WDT</h3>\n </div>\n <div v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\" class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Times left:</h3>\n <h3 class=\"t-semi\">{{ remainingTime }}</h3>\n </div>\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Status:</h3>\n <h3 class=\"t-semi\">{{ status }}</h3>\n </div>\n\n <button\n v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\"\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"actions.cancelDeposit().then(() => backSelection())\"\n >\n {{ t('wallet.cancel') }}\n </button>\n</template>\n\n<script setup>\n import QRCode from 'qrcode';\n import { useI18n } from 'vue-i18n';\n import { watch, computed, onMounted } from 'vue';\n import { BigNumber } from 'bignumber.js';\n\n import text from '@pf/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@pf/src/modules/wallet/views/store/wallet.store';\n\n BigNumber.config({\n EXPONENTIAL_AT: [-1000, 20000]\n });\n\n const emits = defineEmits(['back-selection', 'switch-menu']);\n\n // Localization\n const { t } = useI18n({\n useScope: 'global',\n ...text\n });\n\n const remainingTime = computed(() => {\n const mins = Math.floor(timer.remaining / 60);\n const secs = Math.floor(timer.remaining % 60);\n\n return `${mins}:${secs < 10 ? `0${secs}` : secs}`;\n });\n\n const amount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .toString()\n );\n\n const receive = computed(() =>\n new BigNumber(amount.value)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n const status = computed(() => {\n switch (state.depositInfo.status) {\n case 'TRANSFER_STATUS_WAITING_FOR_TX':\n return 'Waiting for payment';\n case 'TRANSFER_STATUS_SENT':\n const confirmations = `${state.depositInfo.confirmations || 0} / ${state.config[state.chosenNetwork.value.network].confirmations}`;\n return `Confirming (${confirmations})`;\n default:\n return 'Superposition.';\n }\n });\n\n function backSelection() {\n emits(\"back-selection\");\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen);\n }\n\n function copy(text) {\n navigator.clipboard.writeText(text);\n }\n\n onMounted(() => {\n QRCode.toCanvas(\n document.getElementById('qrcode_address_deposit'),\n state.depositInfo.to,\n { width: 300 },\n (error) => { if (error) { console.error(error); } }\n )\n })\n\n watch(\n state,\n async () => {\n if (state.depositInfo.status === 'TRANSFER_STATUS_SENT') {\n actions.stopTimer();\n }\n\n if (state.depositInfo.status === 'TRANSFER_STATUS_COMPLETED') {\n actions.disconnectWebSocket();\n switchMenu(3);\n }\n },\n { deep: true },\n )\n</script>\n\n<style scoped>\n .address {\n text-wrap: nowrap;\n display: block;\n }\n</style>"],"names":["BigNumber","useI18n","text","computed","timer","state","onMounted","QRCode","watch","actions"],"mappings":"
|
1
|
+
{"version":3,"file":"CryptoDepositProcessing.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.depositWithCrypto') }}</h2>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Amount: {{ amount }} {{ state.chosenNetwork.name.toUpperCase() }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(amount)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi t-truncate address\">Wallet: {{ state.depositInfo.to }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(state.depositInfo.to)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-around radius-big br-solid br-2px br-black-transp-10\">\n <canvas id=\"qrcode_address_deposit\"></canvas>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">You will receive:</h3>\n <h3 class=\"t-semi\">{{ receive }} WDT</h3>\n </div>\n <div v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\" class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Times left:</h3>\n <h3 class=\"t-semi\">{{ remainingTime }}</h3>\n </div>\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Status:</h3>\n <h3 class=\"t-semi\">{{ status }}</h3>\n </div>\n\n <button\n v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\"\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"actions.cancelDeposit().then(() => backSelection())\"\n >\n {{ t('wallet.cancel') }}\n </button>\n</template>\n\n<script setup>\n import QRCode from 'qrcode';\n import { useI18n } from 'vue-i18n';\n import { watch, computed, onMounted } from 'vue';\n import { BigNumber } from 'bignumber.js';\n\n import text from '@pf/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@pf/src/modules/wallet/views/store/wallet.store';\n\n BigNumber.config({\n EXPONENTIAL_AT: [-1000, 20000]\n });\n\n const emits = defineEmits(['back-selection', 'switch-menu']);\n\n // Localization\n const { t } = useI18n({\n useScope: 'global',\n ...text\n });\n\n const remainingTime = computed(() => {\n const mins = Math.floor(timer.remaining / 60);\n const secs = Math.floor(timer.remaining % 60);\n\n return `${mins}:${secs < 10 ? `0${secs}` : secs}`;\n });\n\n const amount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .toString()\n );\n\n const receive = computed(() =>\n new BigNumber(amount.value)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n const status = computed(() => {\n switch (state.depositInfo.status) {\n case 'TRANSFER_STATUS_WAITING_FOR_TX':\n return 'Waiting for payment';\n case 'TRANSFER_STATUS_SENT':\n const confirmations = `${state.depositInfo.confirmations || 0} / ${state.config[state.chosenNetwork.value.network].confirmations}`;\n return `Confirming (${confirmations})`;\n default:\n return 'Superposition.';\n }\n });\n\n function backSelection() {\n emits(\"back-selection\");\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen);\n }\n\n function copy(text) {\n navigator.clipboard.writeText(text);\n }\n\n onMounted(() => {\n QRCode.toCanvas(\n document.getElementById('qrcode_address_deposit'),\n state.depositInfo.to,\n { width: 300 },\n (error) => { if (error) { console.error(error); } }\n )\n })\n\n watch(\n state,\n async () => {\n if (state.depositInfo.status === 'TRANSFER_STATUS_SENT') {\n actions.stopTimer();\n }\n\n if (state.depositInfo.status === 'TRANSFER_STATUS_COMPLETED') {\n actions.disconnectWebSocket();\n switchMenu(3);\n }\n },\n { deep: true },\n )\n</script>\n\n<style scoped>\n .address {\n text-wrap: nowrap;\n display: block;\n }\n</style>"],"names":["BigNumber","useI18n","text","computed","timer","state","onMounted","QRCode","watch","actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DEA,cAAAA,UAAU,OAAO;AAAA,MACf,gBAAgB,CAAC,MAAO,GAAK;AAAA,IACjC,CAAG;AAED,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAGC,gBAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAGC,OAAI;AAAA,IACX,CAAG;AAED,UAAM,gBAAgBC,IAAAA,SAAS,MAAM;AACnC,YAAM,OAAO,KAAK,MAAMC,aAAAA,MAAM,YAAY,EAAE;AAC5C,YAAM,OAAO,KAAK,MAAMA,aAAAA,MAAM,YAAY,EAAE;AAE5C,aAAO,GAAG,IAAI,IAAI,OAAO,KAAK,IAAI,IAAI,KAAK,IAAI;AAAA,IACnD,CAAG;AAED,UAAM,SAASD,IAAAA;AAAAA,MAAS,MACtB,IAAIH,oBAAUK,aAAAA,MAAM,YAAY,MAAM,EACnC,UAAU,EAAE,EACZ,SAAU;AAAA,IACjB;AAEE,UAAM,UAAUF,IAAAA;AAAAA,MAAS,MACvB,IAAIH,UAAS,UAAC,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAU;AAAA,IACd;AAED,UAAM,SAASG,IAAAA,SAAS,MAAM;AAC5B,cAAQE,aAAAA,MAAM,YAAY,QAAM;AAAA,QAC9B,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,gBAAM,gBAAgB,GAAGA,aAAAA,MAAM,YAAY,iBAAiB,CAAC,MAAMA,aAAK,MAAC,OAAOA,aAAK,MAAC,cAAc,MAAM,OAAO,EAAE,aAAa;AAChI,iBAAO,eAAe,aAAa;AAAA,QACrC;AACE,iBAAO;AAAA,MACV;AAAA,IACL,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;AAED,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC5B;AAED,aAAS,KAAK,MAAM;AAClB,gBAAU,UAAU,UAAU,IAAI;AAAA,IACnC;AAEDC,QAAAA,UAAU,MAAM;AACdC,cAAAA,UAAO;AAAA,QACL,SAAS,eAAe,wBAAwB;AAAA,QAChDF,aAAK,MAAC,YAAY;AAAA,QAClB,EAAE,OAAO,IAAK;AAAA,QACd,CAAC,UAAW;AAAE,cAAI,OAAO;AAAE,oBAAQ,MAAM,KAAK;AAAA;QAAM;AAAA,MACrD;AAAA,IACL,CAAG;AAEDG,QAAK;AAAA,MACHH,aAAK;AAAA,MACL,YAAY;AACV,YAAIA,mBAAM,YAAY,WAAW,wBAAwB;AACvDI,uBAAO,QAAC,UAAS;AAAA,QAClB;AAED,YAAIJ,mBAAM,YAAY,WAAW,6BAA6B;AAC5DI,uBAAO,QAAC,oBAAmB;AAC3B,qBAAW,CAAC;AAAA,QACb;AAAA,MACF;AAAA,MACD,EAAE,MAAM,KAAM;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed, onMounted, watch, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createCommentVNode
|
1
|
+
import { computed, onMounted, watch, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createCommentVNode } from "vue";
|
2
2
|
import "../../../../../../../node_modules/qrcode/lib/browser.js";
|
3
3
|
import { useI18n } from "vue-i18n";
|
4
4
|
import { BigNumber } from "../../../../../../node_modules/bignumber.js/bignumber.js";
|
@@ -7,27 +7,20 @@ import { timer, state, actions } from "../../store/wallet.store.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
9
9
|
import { __exports as browser } from "../../../../../../../_virtual/browser.js";
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-97ae0556"), n = n(), popScopeId(), n);
|
11
10
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
12
11
|
const _hoisted_2 = { class: "flex flex-justify-between" };
|
13
12
|
const _hoisted_3 = { class: "t-semi" };
|
14
13
|
const _hoisted_4 = { class: "flex flex-justify-between" };
|
15
14
|
const _hoisted_5 = { class: "t-semi t-truncate address" };
|
16
|
-
const _hoisted_6 =
|
17
|
-
|
18
|
-
|
19
|
-
const _hoisted_7 = { class: "flex flex-justify-between" };
|
20
|
-
const _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1));
|
21
|
-
const _hoisted_9 = { class: "t-semi" };
|
22
|
-
const _hoisted_10 = {
|
15
|
+
const _hoisted_6 = { class: "flex flex-justify-between" };
|
16
|
+
const _hoisted_7 = { class: "t-semi" };
|
17
|
+
const _hoisted_8 = {
|
23
18
|
key: 0,
|
24
19
|
class: "flex flex-justify-between"
|
25
20
|
};
|
26
|
-
const
|
27
|
-
const
|
28
|
-
const
|
29
|
-
const _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h3", { class: "t-semi" }, "Status:", -1));
|
30
|
-
const _hoisted_15 = { class: "t-semi" };
|
21
|
+
const _hoisted_9 = { class: "t-semi" };
|
22
|
+
const _hoisted_10 = { class: "flex flex-justify-between" };
|
23
|
+
const _hoisted_11 = { class: "t-semi" };
|
31
24
|
const _sfc_main = {
|
32
25
|
__name: "CryptoDepositProcessing",
|
33
26
|
emits: ["back-selection", "switch-menu"],
|
@@ -113,18 +106,20 @@ const _sfc_main = {
|
|
113
106
|
onClick: _cache[1] || (_cache[1] = () => copy(unref(state).depositInfo.to))
|
114
107
|
}, " copy ")
|
115
108
|
]),
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
109
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "flex flex-justify-around radius-big br-solid br-2px br-black-transp-10" }, [
|
110
|
+
createElementVNode("canvas", { id: "qrcode_address_deposit" })
|
111
|
+
], -1)),
|
112
|
+
createElementVNode("div", _hoisted_6, [
|
113
|
+
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1)),
|
114
|
+
createElementVNode("h3", _hoisted_7, toDisplayString(receive.value) + " WDT", 1)
|
120
115
|
]),
|
121
|
-
unref(state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (openBlock(), createElementBlock("div",
|
122
|
-
|
123
|
-
createElementVNode("h3",
|
116
|
+
unref(state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
117
|
+
_cache[4] || (_cache[4] = createElementVNode("h3", { class: "t-semi" }, "Times left:", -1)),
|
118
|
+
createElementVNode("h3", _hoisted_9, toDisplayString(remainingTime.value), 1)
|
124
119
|
])) : createCommentVNode("", true),
|
125
|
-
createElementVNode("div",
|
126
|
-
|
127
|
-
createElementVNode("h3",
|
120
|
+
createElementVNode("div", _hoisted_10, [
|
121
|
+
_cache[5] || (_cache[5] = createElementVNode("h3", { class: "t-semi" }, "Status:", -1)),
|
122
|
+
createElementVNode("h3", _hoisted_11, toDisplayString(status.value), 1)
|
128
123
|
]),
|
129
124
|
unref(state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (openBlock(), createElementBlock("button", {
|
130
125
|
key: 1,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CryptoDepositProcessing.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.depositWithCrypto') }}</h2>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Amount: {{ amount }} {{ state.chosenNetwork.name.toUpperCase() }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(amount)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi t-truncate address\">Wallet: {{ state.depositInfo.to }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(state.depositInfo.to)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-around radius-big br-solid br-2px br-black-transp-10\">\n <canvas id=\"qrcode_address_deposit\"></canvas>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">You will receive:</h3>\n <h3 class=\"t-semi\">{{ receive }} WDT</h3>\n </div>\n <div v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\" class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Times left:</h3>\n <h3 class=\"t-semi\">{{ remainingTime }}</h3>\n </div>\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Status:</h3>\n <h3 class=\"t-semi\">{{ status }}</h3>\n </div>\n\n <button\n v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\"\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"actions.cancelDeposit().then(() => backSelection())\"\n >\n {{ t('wallet.cancel') }}\n </button>\n</template>\n\n<script setup>\n import QRCode from 'qrcode';\n import { useI18n } from 'vue-i18n';\n import { watch, computed, onMounted } from 'vue';\n import { BigNumber } from 'bignumber.js';\n\n import text from '@pf/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@pf/src/modules/wallet/views/store/wallet.store';\n\n BigNumber.config({\n EXPONENTIAL_AT: [-1000, 20000]\n });\n\n const emits = defineEmits(['back-selection', 'switch-menu']);\n\n // Localization\n const { t } = useI18n({\n useScope: 'global',\n ...text\n });\n\n const remainingTime = computed(() => {\n const mins = Math.floor(timer.remaining / 60);\n const secs = Math.floor(timer.remaining % 60);\n\n return `${mins}:${secs < 10 ? `0${secs}` : secs}`;\n });\n\n const amount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .toString()\n );\n\n const receive = computed(() =>\n new BigNumber(amount.value)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n const status = computed(() => {\n switch (state.depositInfo.status) {\n case 'TRANSFER_STATUS_WAITING_FOR_TX':\n return 'Waiting for payment';\n case 'TRANSFER_STATUS_SENT':\n const confirmations = `${state.depositInfo.confirmations || 0} / ${state.config[state.chosenNetwork.value.network].confirmations}`;\n return `Confirming (${confirmations})`;\n default:\n return 'Superposition.';\n }\n });\n\n function backSelection() {\n emits(\"back-selection\");\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen);\n }\n\n function copy(text) {\n navigator.clipboard.writeText(text);\n }\n\n onMounted(() => {\n QRCode.toCanvas(\n document.getElementById('qrcode_address_deposit'),\n state.depositInfo.to,\n { width: 300 },\n (error) => { if (error) { console.error(error); } }\n )\n })\n\n watch(\n state,\n async () => {\n if (state.depositInfo.status === 'TRANSFER_STATUS_SENT') {\n actions.stopTimer();\n }\n\n if (state.depositInfo.status === 'TRANSFER_STATUS_COMPLETED') {\n actions.disconnectWebSocket();\n switchMenu(3);\n }\n },\n { deep: true },\n )\n</script>\n\n<style scoped>\n .address {\n text-wrap: nowrap;\n display: block;\n }\n</style>"],"names":["text","QRCode"],"mappings":"
|
1
|
+
{"version":3,"file":"CryptoDepositProcessing.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.depositWithCrypto') }}</h2>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Amount: {{ amount }} {{ state.chosenNetwork.name.toUpperCase() }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(amount)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi t-truncate address\">Wallet: {{ state.depositInfo.to }}</h3>\n <button\n class=\"uppercase t-main cursor-pointer\"\n @click=\"() => copy(state.depositInfo.to)\"\n >\n copy\n </button>\n </div>\n\n <div class=\"flex flex-justify-around radius-big br-solid br-2px br-black-transp-10\">\n <canvas id=\"qrcode_address_deposit\"></canvas>\n </div>\n\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">You will receive:</h3>\n <h3 class=\"t-semi\">{{ receive }} WDT</h3>\n </div>\n <div v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\" class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Times left:</h3>\n <h3 class=\"t-semi\">{{ remainingTime }}</h3>\n </div>\n <div class=\"flex flex-justify-between\">\n <h3 class=\"t-semi\">Status:</h3>\n <h3 class=\"t-semi\">{{ status }}</h3>\n </div>\n\n <button\n v-if=\"state.depositInfo.status === 'TRANSFER_STATUS_WAITING_FOR_TX'\"\n class=\"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small\"\n @click=\"actions.cancelDeposit().then(() => backSelection())\"\n >\n {{ t('wallet.cancel') }}\n </button>\n</template>\n\n<script setup>\n import QRCode from 'qrcode';\n import { useI18n } from 'vue-i18n';\n import { watch, computed, onMounted } from 'vue';\n import { BigNumber } from 'bignumber.js';\n\n import text from '@pf/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@pf/src/modules/wallet/views/store/wallet.store';\n\n BigNumber.config({\n EXPONENTIAL_AT: [-1000, 20000]\n });\n\n const emits = defineEmits(['back-selection', 'switch-menu']);\n\n // Localization\n const { t } = useI18n({\n useScope: 'global',\n ...text\n });\n\n const remainingTime = computed(() => {\n const mins = Math.floor(timer.remaining / 60);\n const secs = Math.floor(timer.remaining % 60);\n\n return `${mins}:${secs < 10 ? `0${secs}` : secs}`;\n });\n\n const amount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .toString()\n );\n\n const receive = computed(() =>\n new BigNumber(amount.value)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n const status = computed(() => {\n switch (state.depositInfo.status) {\n case 'TRANSFER_STATUS_WAITING_FOR_TX':\n return 'Waiting for payment';\n case 'TRANSFER_STATUS_SENT':\n const confirmations = `${state.depositInfo.confirmations || 0} / ${state.config[state.chosenNetwork.value.network].confirmations}`;\n return `Confirming (${confirmations})`;\n default:\n return 'Superposition.';\n }\n });\n\n function backSelection() {\n emits(\"back-selection\");\n }\n\n function switchMenu(screen = 0) {\n emits(\"switch-menu\", screen);\n }\n\n function copy(text) {\n navigator.clipboard.writeText(text);\n }\n\n onMounted(() => {\n QRCode.toCanvas(\n document.getElementById('qrcode_address_deposit'),\n state.depositInfo.to,\n { width: 300 },\n (error) => { if (error) { console.error(error); } }\n )\n })\n\n watch(\n state,\n async () => {\n if (state.depositInfo.status === 'TRANSFER_STATUS_SENT') {\n actions.stopTimer();\n }\n\n if (state.depositInfo.status === 'TRANSFER_STATUS_COMPLETED') {\n actions.disconnectWebSocket();\n switchMenu(3);\n }\n },\n { deep: true },\n )\n</script>\n\n<style scoped>\n .address {\n text-wrap: nowrap;\n display: block;\n }\n</style>"],"names":["text","QRCode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DE,cAAU,OAAO;AAAA,MACf,gBAAgB,CAAC,MAAO,GAAK;AAAA,IACjC,CAAG;AAED,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAG,QAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAG;AAAA,IACP,CAAG;AAED,UAAM,gBAAgB,SAAS,MAAM;AACnC,YAAM,OAAO,KAAK,MAAM,MAAM,YAAY,EAAE;AAC5C,YAAM,OAAO,KAAK,MAAM,MAAM,YAAY,EAAE;AAE5C,aAAO,GAAG,IAAI,IAAI,OAAO,KAAK,IAAI,IAAI,KAAK,IAAI;AAAA,IACnD,CAAG;AAED,UAAM,SAAS;AAAA,MAAS,MACtB,IAAI,UAAU,MAAM,YAAY,MAAM,EACnC,UAAU,EAAE,EACZ,SAAU;AAAA,IACjB;AAEE,UAAM,UAAU;AAAA,MAAS,MACvB,IAAI,UAAU,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAU;AAAA,IACd;AAED,UAAM,SAAS,SAAS,MAAM;AAC5B,cAAQ,MAAM,YAAY,QAAM;AAAA,QAC9B,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,gBAAM,gBAAgB,GAAG,MAAM,YAAY,iBAAiB,CAAC,MAAM,MAAM,OAAO,MAAM,cAAc,MAAM,OAAO,EAAE,aAAa;AAChI,iBAAO,eAAe,aAAa;AAAA,QACrC;AACE,iBAAO;AAAA,MACV;AAAA,IACL,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IACvB;AAED,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC5B;AAED,aAAS,KAAKA,OAAM;AAClB,gBAAU,UAAU,UAAUA,KAAI;AAAA,IACnC;AAED,cAAU,MAAM;AACdC,cAAO;AAAA,QACL,SAAS,eAAe,wBAAwB;AAAA,QAChD,MAAM,YAAY;AAAA,QAClB,EAAE,OAAO,IAAK;AAAA,QACd,CAAC,UAAW;AAAE,cAAI,OAAO;AAAE,oBAAQ,MAAM,KAAK;AAAA;QAAM;AAAA,MACrD;AAAA,IACL,CAAG;AAED;AAAA,MACE;AAAA,MACA,YAAY;AACV,YAAI,MAAM,YAAY,WAAW,wBAAwB;AACvD,kBAAQ,UAAS;AAAA,QAClB;AAED,YAAI,MAAM,YAAY,WAAW,6BAA6B;AAC5D,kBAAQ,oBAAmB;AAC3B,qBAAW,CAAC;AAAA,QACb;AAAA,MACF;AAAA,MACD,EAAE,MAAM,KAAM;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -4,24 +4,9 @@ const vue = require("vue");
|
|
4
4
|
const vueI18n = require("vue-i18n");
|
5
5
|
const wallet = require("../../localization/wallet.json.cjs");
|
6
6
|
const IconAdd = require("../../../../icons/navigation/IconAdd.vue.cjs");
|
7
|
-
const _hoisted_1 =
|
8
|
-
loading: "lazy",
|
9
|
-
src: "/icons/metamask.svg",
|
10
|
-
class: "mn-r-small i-big"
|
11
|
-
}, null, -1);
|
7
|
+
const _hoisted_1 = { class: "h4 uppercase w-100" };
|
12
8
|
const _hoisted_2 = { class: "h4 uppercase w-100" };
|
13
|
-
const _hoisted_3 =
|
14
|
-
loading: "lazy",
|
15
|
-
src: "/icons/metamask.svg",
|
16
|
-
class: "mn-r-small i-big"
|
17
|
-
}, null, -1);
|
18
|
-
const _hoisted_4 = { class: "h4 uppercase w-100" };
|
19
|
-
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("img", {
|
20
|
-
loading: "lazy",
|
21
|
-
src: "/icons/metamask.svg",
|
22
|
-
class: "mn-r-small i-big"
|
23
|
-
}, null, -1);
|
24
|
-
const _hoisted_6 = { class: "h4 uppercase w-100" };
|
9
|
+
const _hoisted_3 = { class: "h4 uppercase w-100" };
|
25
10
|
const tokenAddress = "0xE11702CF04621D395E75680C29d3dbF81484e875";
|
26
11
|
const tokenSymbol = "WDT";
|
27
12
|
const tokenDecimals = 8;
|
@@ -103,8 +88,12 @@ const _sfc_main = {
|
|
103
88
|
onClick: connectMetaMask,
|
104
89
|
class: "transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"
|
105
90
|
}, [
|
106
|
-
|
107
|
-
|
91
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("img", {
|
92
|
+
loading: "lazy",
|
93
|
+
src: "/icons/metamask.svg",
|
94
|
+
class: "mn-r-small i-big"
|
95
|
+
}, null, -1)),
|
96
|
+
vue.createElementVNode("span", _hoisted_1, vue.toDisplayString(vue.unref(t)("wallet.connectMetaMask")), 1),
|
108
97
|
vue.createVNode(IconAdd.default, {
|
109
98
|
class: "t-transp",
|
110
99
|
fill: "rgb(var(--white))"
|
@@ -115,8 +104,12 @@ const _sfc_main = {
|
|
115
104
|
onClick: switchToPolygon,
|
116
105
|
class: "transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small"
|
117
106
|
}, [
|
118
|
-
|
119
|
-
|
107
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("img", {
|
108
|
+
loading: "lazy",
|
109
|
+
src: "/icons/metamask.svg",
|
110
|
+
class: "mn-r-small i-big"
|
111
|
+
}, null, -1)),
|
112
|
+
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString(vue.unref(t)("wallet.switchToPolygon")), 1),
|
120
113
|
vue.createVNode(IconAdd.default, {
|
121
114
|
class: "t-transp",
|
122
115
|
fill: "rgb(var(--white))"
|
@@ -127,8 +120,12 @@ const _sfc_main = {
|
|
127
120
|
onClick: addWDT,
|
128
121
|
class: "transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"
|
129
122
|
}, [
|
130
|
-
|
131
|
-
|
123
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("img", {
|
124
|
+
loading: "lazy",
|
125
|
+
src: "/icons/metamask.svg",
|
126
|
+
class: "mn-r-small i-big"
|
127
|
+
}, null, -1)),
|
128
|
+
vue.createElementVNode("span", _hoisted_3, vue.toDisplayString(vue.unref(t)("wallet.addToken")), 1),
|
132
129
|
vue.createVNode(IconAdd.default, { class: "hover-fill-black fill-white t-transp" })
|
133
130
|
])) : vue.createCommentVNode("", true)
|
134
131
|
], 64))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ConnectMetamask.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/elements/ConnectMetamask.vue"],"sourcesContent":["<template>\n <div>\n <!-- Connect Metamask -->\n <button \n v-if=\"!isMetaMaskInstalled\"\n @click=\"connectMetaMask\" \n class=\"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.connectMetaMask') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\"/>\n </button>\n\n <template v-else>\n <!-- Switch to Polygon -->\n <button \n v-if=\"!isPolygon\"\n @click=\"switchToPolygon\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small \"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.switchToPolygon') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\" />\n </button>\n <!-- Add WDT to metamask -->\n <button \n v-if=\"isPolygon\"\n @click=\"addWDT\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.addToken') }}</span>\n <IconAdd class=\"hover-fill-black fill-white t-transp\"/>\n </button>\n </template>\n\n <!-- <p class=\"mn-t-small\" v-if=\"error\">{{ error }}</p> -->\n\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nimport text from '@pf/src/modules/wallet/views/localization/wallet.json'\n\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue'\n\nconst isMetaMaskInstalled = ref(false);\nconst isPolygon = ref(false);\nconst loading = ref(false);\nconst error = ref(null);\nconst buttonStyle = ref({});\n\nconst tokenAddress = '0xE11702CF04621D395E75680C29d3dbF81484e875'; \nconst tokenSymbol = 'WDT';\nconst tokenDecimals = 8;\nconst tokenImage = 'https://weeder.delivery/logo-token.png';\n\nconst connectMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n try {\n await window.ethereum.request({ method: 'eth_requestAccounts' });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при подключении MetaMask:', error);\n }\n } else {\n window.open('https://metamask.io/', '_blank');\n }\n};\n\nconst checkMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n isMetaMaskInstalled.value = true;\n const chainId = await window.ethereum.request({ method: 'eth_chainId' });\n isPolygon.value = chainId === '0x89' || chainId === '0x13881';\n } else {\n isMetaMaskInstalled.value = false;\n }\n};\n\nconst switchToPolygon = async () => {\n try {\n await window.ethereum.request({\n method: 'wallet_switchEthereumChain',\n params: [{ chainId: '0x89' }],\n });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при переключении на Polygon:', error);\n }\n};\n\nconst addWDT = async () => {\n buttonStyle.value['pointer-events'] = 'none';\n error.value = null;\n loading.value = true;\n\n try {\n await ethereum.request({\n method: 'wallet_watchAsset',\n params: {\n type: 'ERC20',\n options: {\n address: tokenAddress,\n symbol: tokenSymbol,\n decimals: tokenDecimals,\n image: tokenImage,\n },\n },\n });\n\n buttonStyle.value['background-color'] = '#009911';\n loading.value = false;\n } catch (err) {\n error.value = err.toString();\n }\n};\n\nconst { t } = useI18n({\n useScope: 'global', \n ...text\n})\n\nonMounted(() => {\n checkMetaMask();\n});\n\n</script>"],"names":["ref","error","useI18n","text","onMounted"],"mappings":"
|
1
|
+
{"version":3,"file":"ConnectMetamask.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/elements/ConnectMetamask.vue"],"sourcesContent":["<template>\n <div>\n <!-- Connect Metamask -->\n <button \n v-if=\"!isMetaMaskInstalled\"\n @click=\"connectMetaMask\" \n class=\"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.connectMetaMask') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\"/>\n </button>\n\n <template v-else>\n <!-- Switch to Polygon -->\n <button \n v-if=\"!isPolygon\"\n @click=\"switchToPolygon\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small \"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.switchToPolygon') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\" />\n </button>\n <!-- Add WDT to metamask -->\n <button \n v-if=\"isPolygon\"\n @click=\"addWDT\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.addToken') }}</span>\n <IconAdd class=\"hover-fill-black fill-white t-transp\"/>\n </button>\n </template>\n\n <!-- <p class=\"mn-t-small\" v-if=\"error\">{{ error }}</p> -->\n\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nimport text from '@pf/src/modules/wallet/views/localization/wallet.json'\n\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue'\n\nconst isMetaMaskInstalled = ref(false);\nconst isPolygon = ref(false);\nconst loading = ref(false);\nconst error = ref(null);\nconst buttonStyle = ref({});\n\nconst tokenAddress = '0xE11702CF04621D395E75680C29d3dbF81484e875'; \nconst tokenSymbol = 'WDT';\nconst tokenDecimals = 8;\nconst tokenImage = 'https://weeder.delivery/logo-token.png';\n\nconst connectMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n try {\n await window.ethereum.request({ method: 'eth_requestAccounts' });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при подключении MetaMask:', error);\n }\n } else {\n window.open('https://metamask.io/', '_blank');\n }\n};\n\nconst checkMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n isMetaMaskInstalled.value = true;\n const chainId = await window.ethereum.request({ method: 'eth_chainId' });\n isPolygon.value = chainId === '0x89' || chainId === '0x13881';\n } else {\n isMetaMaskInstalled.value = false;\n }\n};\n\nconst switchToPolygon = async () => {\n try {\n await window.ethereum.request({\n method: 'wallet_switchEthereumChain',\n params: [{ chainId: '0x89' }],\n });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при переключении на Polygon:', error);\n }\n};\n\nconst addWDT = async () => {\n buttonStyle.value['pointer-events'] = 'none';\n error.value = null;\n loading.value = true;\n\n try {\n await ethereum.request({\n method: 'wallet_watchAsset',\n params: {\n type: 'ERC20',\n options: {\n address: tokenAddress,\n symbol: tokenSymbol,\n decimals: tokenDecimals,\n image: tokenImage,\n },\n },\n });\n\n buttonStyle.value['background-color'] = '#009911';\n loading.value = false;\n } catch (err) {\n error.value = err.toString();\n }\n};\n\nconst { t } = useI18n({\n useScope: 'global', \n ...text\n})\n\nonMounted(() => {\n checkMetaMask();\n});\n\n</script>"],"names":["ref","error","useI18n","text","onMounted"],"mappings":";;;;;;;;;AAuDA,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,gBAAgB;AACtB,MAAM,aAAa;;;;AATnB,UAAM,sBAAsBA,IAAAA,IAAI,KAAK;AACrC,UAAM,YAAYA,IAAAA,IAAI,KAAK;AAC3B,UAAM,UAAUA,IAAAA,IAAI,KAAK;AACzB,UAAM,QAAQA,IAAAA,IAAI,IAAI;AACtB,UAAM,cAAcA,IAAAA,IAAI,CAAA,CAAE;AAO1B,UAAM,kBAAkB,YAAY;AAClC,UAAI,OAAO,OAAO,aAAa,aAAa;AAC1C,YAAI;AACF,gBAAM,OAAO,SAAS,QAAQ,EAAE,QAAQ,sBAAqB,CAAE;AAC/D;QACD,SAAQC,QAAO;AACd,kBAAQ,MAAM,oCAAoCA,MAAK;AAAA,QACxD;AAAA,MACL,OAAS;AACL,eAAO,KAAK,wBAAwB,QAAQ;AAAA,MAC7C;AAAA,IACH;AAEA,UAAM,gBAAgB,YAAY;AAChC,UAAI,OAAO,OAAO,aAAa,aAAa;AAC1C,4BAAoB,QAAQ;AAC5B,cAAM,UAAU,MAAM,OAAO,SAAS,QAAQ,EAAE,QAAQ,cAAa,CAAE;AACvE,kBAAU,QAAQ,YAAY,UAAU,YAAY;AAAA,MACxD,OAAS;AACL,4BAAoB,QAAQ;AAAA,MAC7B;AAAA,IACH;AAEA,UAAM,kBAAkB,YAAY;AAClC,UAAI;AACF,cAAM,OAAO,SAAS,QAAQ;AAAA,UAC5B,QAAQ;AAAA,UACR,QAAQ,CAAC,EAAE,SAAS,QAAQ;AAAA,QAClC,CAAK;AACD;MACD,SAAQA,QAAO;AACd,gBAAQ,MAAM,uCAAuCA,MAAK;AAAA,MAC3D;AAAA,IACH;AAEA,UAAM,SAAS,YAAY;AACzB,kBAAY,MAAM,gBAAgB,IAAI;AACtC,YAAM,QAAQ;AACd,cAAQ,QAAQ;AAEhB,UAAI;AACF,cAAM,SAAS,QAAQ;AAAA,UACrB,QAAQ;AAAA,UACR,QAAQ;AAAA,YACN,MAAM;AAAA,YACN,SAAS;AAAA,cACP,SAAS;AAAA,cACT,QAAQ;AAAA,cACR,UAAU;AAAA,cACV,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACP,CAAK;AAED,oBAAY,MAAM,kBAAkB,IAAI;AACxC,gBAAQ,QAAQ;AAAA,MACjB,SAAQ,KAAK;AACZ,cAAM,QAAQ,IAAI;MACnB;AAAA,IACH;AAEA,UAAM,EAAE,EAAG,IAAGC,gBAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAGC,OAAI;AAAA,IACT,CAAC;AAEDC,QAAAA,UAAU,MAAM;AACd;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,24 +2,9 @@ import { ref, onMounted, openBlock, createElementBlock, createElementVNode, toDi
|
|
2
2
|
import { useI18n } from "vue-i18n";
|
3
3
|
import text from "../../localization/wallet.json.js";
|
4
4
|
import _sfc_main$1 from "../../../../icons/navigation/IconAdd.vue.js";
|
5
|
-
const _hoisted_1 =
|
6
|
-
loading: "lazy",
|
7
|
-
src: "/icons/metamask.svg",
|
8
|
-
class: "mn-r-small i-big"
|
9
|
-
}, null, -1);
|
5
|
+
const _hoisted_1 = { class: "h4 uppercase w-100" };
|
10
6
|
const _hoisted_2 = { class: "h4 uppercase w-100" };
|
11
|
-
const _hoisted_3 =
|
12
|
-
loading: "lazy",
|
13
|
-
src: "/icons/metamask.svg",
|
14
|
-
class: "mn-r-small i-big"
|
15
|
-
}, null, -1);
|
16
|
-
const _hoisted_4 = { class: "h4 uppercase w-100" };
|
17
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("img", {
|
18
|
-
loading: "lazy",
|
19
|
-
src: "/icons/metamask.svg",
|
20
|
-
class: "mn-r-small i-big"
|
21
|
-
}, null, -1);
|
22
|
-
const _hoisted_6 = { class: "h4 uppercase w-100" };
|
7
|
+
const _hoisted_3 = { class: "h4 uppercase w-100" };
|
23
8
|
const tokenAddress = "0xE11702CF04621D395E75680C29d3dbF81484e875";
|
24
9
|
const tokenSymbol = "WDT";
|
25
10
|
const tokenDecimals = 8;
|
@@ -101,8 +86,12 @@ const _sfc_main = {
|
|
101
86
|
onClick: connectMetaMask,
|
102
87
|
class: "transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"
|
103
88
|
}, [
|
104
|
-
|
105
|
-
|
89
|
+
_cache[0] || (_cache[0] = createElementVNode("img", {
|
90
|
+
loading: "lazy",
|
91
|
+
src: "/icons/metamask.svg",
|
92
|
+
class: "mn-r-small i-big"
|
93
|
+
}, null, -1)),
|
94
|
+
createElementVNode("span", _hoisted_1, toDisplayString(unref(t)("wallet.connectMetaMask")), 1),
|
106
95
|
createVNode(_sfc_main$1, {
|
107
96
|
class: "t-transp",
|
108
97
|
fill: "rgb(var(--white))"
|
@@ -113,8 +102,12 @@ const _sfc_main = {
|
|
113
102
|
onClick: switchToPolygon,
|
114
103
|
class: "transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small"
|
115
104
|
}, [
|
116
|
-
|
117
|
-
|
105
|
+
_cache[1] || (_cache[1] = createElementVNode("img", {
|
106
|
+
loading: "lazy",
|
107
|
+
src: "/icons/metamask.svg",
|
108
|
+
class: "mn-r-small i-big"
|
109
|
+
}, null, -1)),
|
110
|
+
createElementVNode("span", _hoisted_2, toDisplayString(unref(t)("wallet.switchToPolygon")), 1),
|
118
111
|
createVNode(_sfc_main$1, {
|
119
112
|
class: "t-transp",
|
120
113
|
fill: "rgb(var(--white))"
|
@@ -125,8 +118,12 @@ const _sfc_main = {
|
|
125
118
|
onClick: addWDT,
|
126
119
|
class: "transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white"
|
127
120
|
}, [
|
128
|
-
|
129
|
-
|
121
|
+
_cache[2] || (_cache[2] = createElementVNode("img", {
|
122
|
+
loading: "lazy",
|
123
|
+
src: "/icons/metamask.svg",
|
124
|
+
class: "mn-r-small i-big"
|
125
|
+
}, null, -1)),
|
126
|
+
createElementVNode("span", _hoisted_3, toDisplayString(unref(t)("wallet.addToken")), 1),
|
130
127
|
createVNode(_sfc_main$1, { class: "hover-fill-black fill-white t-transp" })
|
131
128
|
])) : createCommentVNode("", true)
|
132
129
|
], 64))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ConnectMetamask.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/elements/ConnectMetamask.vue"],"sourcesContent":["<template>\n <div>\n <!-- Connect Metamask -->\n <button \n v-if=\"!isMetaMaskInstalled\"\n @click=\"connectMetaMask\" \n class=\"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.connectMetaMask') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\"/>\n </button>\n\n <template v-else>\n <!-- Switch to Polygon -->\n <button \n v-if=\"!isPolygon\"\n @click=\"switchToPolygon\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small \"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.switchToPolygon') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\" />\n </button>\n <!-- Add WDT to metamask -->\n <button \n v-if=\"isPolygon\"\n @click=\"addWDT\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.addToken') }}</span>\n <IconAdd class=\"hover-fill-black fill-white t-transp\"/>\n </button>\n </template>\n\n <!-- <p class=\"mn-t-small\" v-if=\"error\">{{ error }}</p> -->\n\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nimport text from '@pf/src/modules/wallet/views/localization/wallet.json'\n\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue'\n\nconst isMetaMaskInstalled = ref(false);\nconst isPolygon = ref(false);\nconst loading = ref(false);\nconst error = ref(null);\nconst buttonStyle = ref({});\n\nconst tokenAddress = '0xE11702CF04621D395E75680C29d3dbF81484e875'; \nconst tokenSymbol = 'WDT';\nconst tokenDecimals = 8;\nconst tokenImage = 'https://weeder.delivery/logo-token.png';\n\nconst connectMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n try {\n await window.ethereum.request({ method: 'eth_requestAccounts' });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при подключении MetaMask:', error);\n }\n } else {\n window.open('https://metamask.io/', '_blank');\n }\n};\n\nconst checkMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n isMetaMaskInstalled.value = true;\n const chainId = await window.ethereum.request({ method: 'eth_chainId' });\n isPolygon.value = chainId === '0x89' || chainId === '0x13881';\n } else {\n isMetaMaskInstalled.value = false;\n }\n};\n\nconst switchToPolygon = async () => {\n try {\n await window.ethereum.request({\n method: 'wallet_switchEthereumChain',\n params: [{ chainId: '0x89' }],\n });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при переключении на Polygon:', error);\n }\n};\n\nconst addWDT = async () => {\n buttonStyle.value['pointer-events'] = 'none';\n error.value = null;\n loading.value = true;\n\n try {\n await ethereum.request({\n method: 'wallet_watchAsset',\n params: {\n type: 'ERC20',\n options: {\n address: tokenAddress,\n symbol: tokenSymbol,\n decimals: tokenDecimals,\n image: tokenImage,\n },\n },\n });\n\n buttonStyle.value['background-color'] = '#009911';\n loading.value = false;\n } catch (err) {\n error.value = err.toString();\n }\n};\n\nconst { t } = useI18n({\n useScope: 'global', \n ...text\n})\n\nonMounted(() => {\n checkMetaMask();\n});\n\n</script>"],"names":["error"],"mappings":"
|
1
|
+
{"version":3,"file":"ConnectMetamask.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/elements/ConnectMetamask.vue"],"sourcesContent":["<template>\n <div>\n <!-- Connect Metamask -->\n <button \n v-if=\"!isMetaMaskInstalled\"\n @click=\"connectMetaMask\" \n class=\"transition-ease-in-out cursor-pointer bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.connectMetaMask') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\"/>\n </button>\n\n <template v-else>\n <!-- Switch to Polygon -->\n <button \n v-if=\"!isPolygon\"\n @click=\"switchToPolygon\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black t-white radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small \"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.switchToPolygon') }}</span>\n <IconAdd class=\"t-transp\" fill=\"rgb(var(--white))\" />\n </button>\n <!-- Add WDT to metamask -->\n <button \n v-if=\"isPolygon\"\n @click=\"addWDT\" \n class=\"transition-ease-in-out cursor-pointer hover-bg-white hover-t-black bg-black radius-big flex-v-center flex-nowrap flex t-left uppercase w-100 pd-small t-white\"\n >\n <img loading=\"lazy\" :src=\"'/icons/metamask.svg'\" class=\"mn-r-small i-big\" >\n <span class=\"h4 uppercase w-100\">{{ t('wallet.addToken') }}</span>\n <IconAdd class=\"hover-fill-black fill-white t-transp\"/>\n </button>\n </template>\n\n <!-- <p class=\"mn-t-small\" v-if=\"error\">{{ error }}</p> -->\n\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nimport text from '@pf/src/modules/wallet/views/localization/wallet.json'\n\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue'\n\nconst isMetaMaskInstalled = ref(false);\nconst isPolygon = ref(false);\nconst loading = ref(false);\nconst error = ref(null);\nconst buttonStyle = ref({});\n\nconst tokenAddress = '0xE11702CF04621D395E75680C29d3dbF81484e875'; \nconst tokenSymbol = 'WDT';\nconst tokenDecimals = 8;\nconst tokenImage = 'https://weeder.delivery/logo-token.png';\n\nconst connectMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n try {\n await window.ethereum.request({ method: 'eth_requestAccounts' });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при подключении MetaMask:', error);\n }\n } else {\n window.open('https://metamask.io/', '_blank');\n }\n};\n\nconst checkMetaMask = async () => {\n if (typeof window.ethereum !== 'undefined') {\n isMetaMaskInstalled.value = true;\n const chainId = await window.ethereum.request({ method: 'eth_chainId' });\n isPolygon.value = chainId === '0x89' || chainId === '0x13881';\n } else {\n isMetaMaskInstalled.value = false;\n }\n};\n\nconst switchToPolygon = async () => {\n try {\n await window.ethereum.request({\n method: 'wallet_switchEthereumChain',\n params: [{ chainId: '0x89' }],\n });\n checkMetaMask();\n } catch (error) {\n console.error('Ошибка при переключении на Polygon:', error);\n }\n};\n\nconst addWDT = async () => {\n buttonStyle.value['pointer-events'] = 'none';\n error.value = null;\n loading.value = true;\n\n try {\n await ethereum.request({\n method: 'wallet_watchAsset',\n params: {\n type: 'ERC20',\n options: {\n address: tokenAddress,\n symbol: tokenSymbol,\n decimals: tokenDecimals,\n image: tokenImage,\n },\n },\n });\n\n buttonStyle.value['background-color'] = '#009911';\n loading.value = false;\n } catch (err) {\n error.value = err.toString();\n }\n};\n\nconst { t } = useI18n({\n useScope: 'global', \n ...text\n})\n\nonMounted(() => {\n checkMetaMask();\n});\n\n</script>"],"names":["error"],"mappings":";;;;;;;AAuDA,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,gBAAgB;AACtB,MAAM,aAAa;;;;AATnB,UAAM,sBAAsB,IAAI,KAAK;AACrC,UAAM,YAAY,IAAI,KAAK;AAC3B,UAAM,UAAU,IAAI,KAAK;AACzB,UAAM,QAAQ,IAAI,IAAI;AACtB,UAAM,cAAc,IAAI,CAAA,CAAE;AAO1B,UAAM,kBAAkB,YAAY;AAClC,UAAI,OAAO,OAAO,aAAa,aAAa;AAC1C,YAAI;AACF,gBAAM,OAAO,SAAS,QAAQ,EAAE,QAAQ,sBAAqB,CAAE;AAC/D;QACD,SAAQA,QAAO;AACd,kBAAQ,MAAM,oCAAoCA,MAAK;AAAA,QACxD;AAAA,MACL,OAAS;AACL,eAAO,KAAK,wBAAwB,QAAQ;AAAA,MAC7C;AAAA,IACH;AAEA,UAAM,gBAAgB,YAAY;AAChC,UAAI,OAAO,OAAO,aAAa,aAAa;AAC1C,4BAAoB,QAAQ;AAC5B,cAAM,UAAU,MAAM,OAAO,SAAS,QAAQ,EAAE,QAAQ,cAAa,CAAE;AACvE,kBAAU,QAAQ,YAAY,UAAU,YAAY;AAAA,MACxD,OAAS;AACL,4BAAoB,QAAQ;AAAA,MAC7B;AAAA,IACH;AAEA,UAAM,kBAAkB,YAAY;AAClC,UAAI;AACF,cAAM,OAAO,SAAS,QAAQ;AAAA,UAC5B,QAAQ;AAAA,UACR,QAAQ,CAAC,EAAE,SAAS,QAAQ;AAAA,QAClC,CAAK;AACD;MACD,SAAQA,QAAO;AACd,gBAAQ,MAAM,uCAAuCA,MAAK;AAAA,MAC3D;AAAA,IACH;AAEA,UAAM,SAAS,YAAY;AACzB,kBAAY,MAAM,gBAAgB,IAAI;AACtC,YAAM,QAAQ;AACd,cAAQ,QAAQ;AAEhB,UAAI;AACF,cAAM,SAAS,QAAQ;AAAA,UACrB,QAAQ;AAAA,UACR,QAAQ;AAAA,YACN,MAAM;AAAA,YACN,SAAS;AAAA,cACP,SAAS;AAAA,cACT,QAAQ;AAAA,cACR,UAAU;AAAA,cACV,OAAO;AAAA,YACR;AAAA,UACF;AAAA,QACP,CAAK;AAED,oBAAY,MAAM,kBAAkB,IAAI;AACxC,gBAAQ,QAAQ;AAAA,MACjB,SAAQ,KAAK;AACZ,cAAM,QAAQ,IAAI;MACnB;AAAA,IACH;AAEA,UAAM,EAAE,EAAG,IAAG,QAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAG;AAAA,IACL,CAAC;AAED,cAAU,MAAM;AACd;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|