@ozdao/martyrs 0.2.475 → 0.2.476
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Media-sGk7Bp9b.mjs → Media-CecrG6g6.mjs} +1 -1
- package/dist/{Media-_vz04tII.js → Media-DmnrxIEI.js} +1 -1
- package/dist/_virtual/alignment-pattern.cjs +5 -0
- package/dist/_virtual/alignment-pattern.cjs.map +1 -0
- package/dist/_virtual/alignment-pattern.js +5 -0
- package/dist/_virtual/alignment-pattern.js.map +1 -0
- package/dist/_virtual/browser.cjs +8 -0
- package/dist/_virtual/browser.cjs.map +1 -0
- package/dist/_virtual/browser.js +8 -0
- package/dist/_virtual/browser.js.map +1 -0
- package/dist/_virtual/browser2.cjs +5 -0
- package/dist/_virtual/browser2.cjs.map +1 -0
- package/dist/_virtual/browser2.js +5 -0
- package/dist/_virtual/browser2.js.map +1 -0
- package/dist/_virtual/canvas.cjs +5 -0
- package/dist/_virtual/canvas.cjs.map +1 -0
- package/dist/_virtual/canvas.js +5 -0
- package/dist/_virtual/canvas.js.map +1 -0
- package/dist/_virtual/dijkstra.cjs +5 -0
- package/dist/_virtual/dijkstra.cjs.map +1 -0
- package/dist/_virtual/dijkstra.js +5 -0
- package/dist/_virtual/dijkstra.js.map +1 -0
- package/dist/_virtual/error-correction-code.cjs +5 -0
- package/dist/_virtual/error-correction-code.cjs.map +1 -0
- package/dist/_virtual/error-correction-code.js +5 -0
- package/dist/_virtual/error-correction-code.js.map +1 -0
- package/dist/_virtual/error-correction-level.cjs +5 -0
- package/dist/_virtual/error-correction-level.cjs.map +1 -0
- package/dist/_virtual/error-correction-level.js +5 -0
- package/dist/_virtual/error-correction-level.js.map +1 -0
- package/dist/_virtual/finder-pattern.cjs +5 -0
- package/dist/_virtual/finder-pattern.cjs.map +1 -0
- package/dist/_virtual/finder-pattern.js +5 -0
- package/dist/_virtual/finder-pattern.js.map +1 -0
- package/dist/_virtual/format-info.cjs +5 -0
- package/dist/_virtual/format-info.cjs.map +1 -0
- package/dist/_virtual/format-info.js +5 -0
- package/dist/_virtual/format-info.js.map +1 -0
- package/dist/_virtual/galois-field.cjs +5 -0
- package/dist/_virtual/galois-field.cjs.map +1 -0
- package/dist/_virtual/galois-field.js +5 -0
- package/dist/_virtual/galois-field.js.map +1 -0
- package/dist/_virtual/mask-pattern.cjs +5 -0
- package/dist/_virtual/mask-pattern.cjs.map +1 -0
- package/dist/_virtual/mask-pattern.js +5 -0
- package/dist/_virtual/mask-pattern.js.map +1 -0
- package/dist/_virtual/mode.cjs +5 -0
- package/dist/_virtual/mode.cjs.map +1 -0
- package/dist/_virtual/mode.js +5 -0
- package/dist/_virtual/mode.js.map +1 -0
- package/dist/_virtual/polynomial.cjs +5 -0
- package/dist/_virtual/polynomial.cjs.map +1 -0
- package/dist/_virtual/polynomial.js +5 -0
- package/dist/_virtual/polynomial.js.map +1 -0
- package/dist/_virtual/qrcode.cjs +5 -0
- package/dist/_virtual/qrcode.cjs.map +1 -0
- package/dist/_virtual/qrcode.js +5 -0
- package/dist/_virtual/qrcode.js.map +1 -0
- package/dist/_virtual/regex.cjs +5 -0
- package/dist/_virtual/regex.cjs.map +1 -0
- package/dist/_virtual/regex.js +5 -0
- package/dist/_virtual/regex.js.map +1 -0
- package/dist/_virtual/segments.cjs +5 -0
- package/dist/_virtual/segments.cjs.map +1 -0
- package/dist/_virtual/segments.js +5 -0
- package/dist/_virtual/segments.js.map +1 -0
- package/dist/_virtual/svg-tag.cjs +5 -0
- package/dist/_virtual/svg-tag.cjs.map +1 -0
- package/dist/_virtual/svg-tag.js +5 -0
- package/dist/_virtual/svg-tag.js.map +1 -0
- package/dist/_virtual/utils.cjs +5 -0
- package/dist/_virtual/utils.cjs.map +1 -0
- package/dist/_virtual/utils.js +5 -0
- package/dist/_virtual/utils.js.map +1 -0
- package/dist/_virtual/utils2.cjs +5 -0
- package/dist/_virtual/utils2.cjs.map +1 -0
- package/dist/_virtual/utils2.js +5 -0
- package/dist/_virtual/utils2.js.map +1 -0
- package/dist/_virtual/version-check.cjs +5 -0
- package/dist/_virtual/version-check.cjs.map +1 -0
- package/dist/_virtual/version-check.js +5 -0
- package/dist/_virtual/version-check.js.map +1 -0
- package/dist/_virtual/version.cjs +5 -0
- package/dist/_virtual/version.cjs.map +1 -0
- package/dist/_virtual/version.js +5 -0
- package/dist/_virtual/version.js.map +1 -0
- package/dist/globals.server.js +263 -55
- package/dist/globals.server.mjs +263 -55
- package/dist/{main-CqMtW7Hq.mjs → main-DmznvhMM.mjs} +267 -266
- package/dist/main-DxWqDgs1.js +11 -0
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.cjs +1336 -0
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.cjs.map +1 -0
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.js +1336 -0
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +7 -5
- package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +8 -6
- package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs +93 -0
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js +94 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +0 -93
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js +1 -94
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.cjs +3 -3
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +3 -3
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +3 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +3 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs → Loader.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Loader/{Loader.vue.js → Loader.vue2.js} +2 -2
- package/dist/martyrs/src/components/Loader/{Loader.vue.cjs.map → Loader.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Select/Select.vue.cjs +10 -12
- package/dist/martyrs/src/components/Select/Select.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.js +10 -12
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs +1 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.js +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue2.cjs → Tab.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js.map → Tab.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs → Tooltip.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.js → Tooltip.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.cjs.map → Tooltip.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.cjs +14 -0
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +14 -0
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +5 -5
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +5 -5
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +5 -5
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +5 -5
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +4 -4
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs +90 -2
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js +90 -2
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +4 -4
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +4 -4
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs +13 -16
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +13 -16
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +32 -35
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +32 -35
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +2 -2
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +2 -2
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +5 -3
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +5 -3
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/GanttChart.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -3
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -3
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs +43 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js +43 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +47 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +47 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +29 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +29 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +89 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +89 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +135 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +135 -0
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +242 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +242 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +9 -0
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +9 -0
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs +135 -0
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js +135 -0
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js.map +1 -0
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs +106 -0
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs.map +1 -0
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js +106 -0
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs +79 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js +79 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs +14 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js +14 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs +43 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js +43 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs +85 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js +85 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs +40 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js +40 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs +34 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js +34 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs +36 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js +36 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs +367 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js +367 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs +52 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js +52 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs +25 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js +25 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs +24 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js +24 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs +38 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js +38 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs +46 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js +46 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs +149 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js +149 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs +90 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js +90 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs +41 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js +41 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs +44 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js +44 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs +279 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js +279 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs +38 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js +38 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs +33 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js +33 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs +201 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js +201 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +84 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +84 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs +14 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js +14 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs +107 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js +107 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs +61 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js +61 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs +64 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js +64 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +87 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +87 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js.map +1 -0
- package/dist/style.css +26 -21
- package/package.json +1 -1
- package/src/components/Button/Button.vue +1 -1
- package/src/components/EmptyState/EmptyState.vue +3 -3
- package/src/components/FieldBig/FieldBig.vue +2 -2
- package/src/components/Select/Select.vue +4 -7
- package/src/modules/auth/views/router/users.js +11 -11
- package/src/modules/community/components/blocks/CardBlogpost.vue +4 -4
- package/src/modules/community/components/layouts/Community.vue +5 -4
- package/src/modules/community/components/pages/CreateBlogPost.vue +2 -2
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/globals/controllers/classes/globals.websocket.js +336 -71
- package/src/modules/globals/controllers/classes/globals.websocket.ws.js +124 -0
- package/src/modules/globals/views/classes/globals.websocket.js +121 -5
- package/src/modules/globals/views/classes/globals.websocket.ws.js +212 -0
- package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
- package/src/modules/globals/views/components/partials/Header.vue +1 -1
- package/src/modules/globals/views/components/partials/Navigation.vue +1 -1
- package/src/modules/icons/entities/IconFile.vue +14 -0
- package/src/modules/icons/navigation/IconAttach.vue +14 -0
- package/src/modules/icons/navigation/IconDoubleCheck.vue +31 -0
- package/src/modules/icons/navigation/IconSend.vue +17 -0
- package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
- package/src/modules/landing/components/sections/SectionMobileApp.vue +4 -6
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +1 -3
- package/src/modules/notifications/components/elements/NotificationBadge.vue +4 -4
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/organizations/components/sections/Unit.vue +3 -3
- package/src/modules/spots/components/pages/SpotEdit.vue +0 -1
- package/src/modules/wallet/views/components/pages/Wallet.vue +10 -7
- package/src/styles/reset.scss +1 -1
- package/src/styles/typography.scss +16 -2
- package/dist/main-CsGkbSyK.js +0 -11
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +0 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ref, computed, onMounted, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, toDisplayString, unref, withCtx, createVNode } from "vue";
|
|
2
|
+
import { useI18n } from "vue-i18n";
|
|
3
|
+
import { BigNumber } from "../../../../../../node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.js";
|
|
4
|
+
import { state, actions } from "../../store/wallet.store.js";
|
|
5
|
+
import text from "../../localization/wallet.json.js";
|
|
6
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
7
|
+
import Select from "../../../../../components/Select/Select.vue.js";
|
|
8
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
9
|
+
const _hoisted_2 = { class: "t-semi" };
|
|
10
|
+
const _hoisted_3 = ["disabled"];
|
|
11
|
+
const _sfc_main = {
|
|
12
|
+
__name: "CryptoDeposit",
|
|
13
|
+
emits: ["back-selection", "switch-menu"],
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
15
|
+
BigNumber.config({
|
|
16
|
+
EXPONENTIAL_AT: [-1e3, 2e4]
|
|
17
|
+
});
|
|
18
|
+
const amount = ref(1);
|
|
19
|
+
const emits = __emit;
|
|
20
|
+
const { t } = useI18n({
|
|
21
|
+
useScope: "global",
|
|
22
|
+
...text
|
|
23
|
+
});
|
|
24
|
+
const receiveAmount = computed(
|
|
25
|
+
() => new BigNumber(amount.value).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
26
|
+
);
|
|
27
|
+
const depositOptions = computed(() => {
|
|
28
|
+
const options = [];
|
|
29
|
+
const networks = Object.keys(state.config || {});
|
|
30
|
+
for (const network of networks) {
|
|
31
|
+
for (const token of Object.keys(state.config[network].tokens)) {
|
|
32
|
+
options.push({
|
|
33
|
+
name: `${network}-${token}`,
|
|
34
|
+
value: {
|
|
35
|
+
token: state.config[network].tokens[token],
|
|
36
|
+
network
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return options;
|
|
42
|
+
});
|
|
43
|
+
onMounted(() => {
|
|
44
|
+
actions.loadConfig();
|
|
45
|
+
});
|
|
46
|
+
function backSelection() {
|
|
47
|
+
emits("back-selection");
|
|
48
|
+
}
|
|
49
|
+
function switchMenu(screen = 0) {
|
|
50
|
+
emits("switch-menu", screen);
|
|
51
|
+
}
|
|
52
|
+
return (_ctx, _cache) => {
|
|
53
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
54
|
+
createElementVNode("h3", _hoisted_1, toDisplayString(unref(t)("wallet.depositWithCrypto")), 1),
|
|
55
|
+
unref(state).config ? (openBlock(), createBlock(Field, {
|
|
56
|
+
key: 0,
|
|
57
|
+
field: amount.value,
|
|
58
|
+
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => amount.value = $event),
|
|
59
|
+
placeholder: unref(t)("wallet.enterAmount"),
|
|
60
|
+
class: "mn-b-thin bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"
|
|
61
|
+
}, {
|
|
62
|
+
default: withCtx(() => [
|
|
63
|
+
createVNode(Select, {
|
|
64
|
+
options: depositOptions.value,
|
|
65
|
+
select: unref(state).chosenNetwork,
|
|
66
|
+
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => unref(state).chosenNetwork = $event),
|
|
67
|
+
class: "bg-light t-nowrap pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"
|
|
68
|
+
}, null, 8, ["options", "select"])
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["field", "placeholder"])) : createCommentVNode("", true),
|
|
72
|
+
createElementVNode("p", _hoisted_2, "You will receive: " + toDisplayString(receiveAmount.value) + " " + toDisplayString(unref(t)("wallet.token")), 1),
|
|
73
|
+
createElementVNode("button", {
|
|
74
|
+
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",
|
|
75
|
+
onClick: _cache[2] || (_cache[2] = ($event) => unref(actions).requestCryptoDeposit(amount.value).then(() => switchMenu(5))),
|
|
76
|
+
disabled: unref(state).depositRequestIsActive || !unref(state).config
|
|
77
|
+
}, toDisplayString(unref(t)("wallet.pay")), 9, _hoisted_3),
|
|
78
|
+
createElementVNode("button", {
|
|
79
|
+
class: "uppercase w-100 t-center mn-t-small",
|
|
80
|
+
onClick: backSelection
|
|
81
|
+
}, toDisplayString(unref(t)("wallet.backToSelection")), 1)
|
|
82
|
+
], 64);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
_sfc_main as default
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=CryptoDeposit.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoDeposit.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CryptoDeposit.vue"],"sourcesContent":["<template>\n <h3 class=\"mn-b-small t-center t-bold\">{{ t('wallet.depositWithCrypto') }}</h3>\n\n <Field \n v-if=\"state.config\"\n v-model:field=\"amount\"\n :placeholder=\"t('wallet.enterAmount')\"\n class=\"mn-b-thin bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small\" \n >\n <Select \n :options=\"depositOptions\"\n v-model:select=\"state.chosenNetwork\"\n class=\"bg-light t-nowrap pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin\"\n />\n </Field>\n\n <p class=\"t-semi\">You will receive: {{ receiveAmount }} {{t('wallet.token')}}</p>\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=\"actions.requestCryptoDeposit(amount).then(() => switchMenu(5))\"\n :disabled=\"state.depositRequestIsActive || !state.config\"\n >\n {{ t('wallet.pay') }}\n </button>\n\n <button\n class=\"uppercase w-100 t-center mn-t-small\"\n @click=\"backSelection\"\n >\n {{ t('wallet.backToSelection') }}\n </button>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n import { ref, onMounted, computed } from 'vue';\n import { BigNumber } from 'bignumber.js';\n\n import { state, actions } from '@martyrs/src/modules/wallet/views/store/wallet.store';\n import text from '@martyrs/src/modules/wallet/views/localization/wallet.json'\n import Field from '@martyrs/src/components/Field/Field.vue'\n import Select from '@martyrs/src/components/Select/Select.vue'\n\n BigNumber.config({\n EXPONENTIAL_AT: [-1000, 20000]\n });\n\n const amount = ref(1);\n const emits = defineEmits(['back-selection', 'switch-menu'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n const receiveAmount = computed(() =>\n new BigNumber(amount.value)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n const depositOptions = computed(() => {\n const options = [];\n\n const networks = Object.keys(state.config || {});\n\n for (const network of networks) {\n for (const token of Object.keys(state.config[network].tokens)) {\n options.push({\n name: `${network}-${token}`,\n value: {\n token: state.config[network].tokens[token],\n network: network\n }\n });\n }\n }\n\n return options;\n });\n\n onMounted(() => {\n actions.loadConfig();\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":";;;;;;;;;;;;;;AA4CE,cAAU,OAAO;AAAA,MACf,gBAAgB,CAAC,MAAO,GAAK;AAAA,IACjC,CAAG;AAED,UAAM,SAAS,IAAI,CAAC;AACpB,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAG,QAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAG;AAAA,IACJ,CAAA;AAED,UAAM,gBAAgB;AAAA,MAAS,MAC7B,IAAI,UAAU,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,UAAM,iBAAiB,SAAS,MAAM;AACpC,YAAM,UAAU,CAAE;AAElB,YAAM,WAAW,OAAO,KAAK,MAAM,UAAU,CAAA,CAAE;AAE/C,iBAAW,WAAW,UAAU;AAC9B,mBAAW,SAAS,OAAO,KAAK,MAAM,OAAO,OAAO,EAAE,MAAM,GAAG;AAC7D,kBAAQ,KAAK;AAAA,YACX,MAAM,GAAG,OAAO,IAAI,KAAK;AAAA,YACzB,OAAO;AAAA,cACL,OAAO,MAAM,OAAO,OAAO,EAAE,OAAO,KAAK;AAAA,cACzC;AAAA,YACZ;AAAA,UACA,CAAS;AAAA,QACT;AAAA,MACA;AAEI,aAAO;AAAA,IACX,CAAG;AAED,cAAU,MAAM;AACd,cAAQ,WAAY;AAAA,IACrB,CAAA;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const browser = require("../../../../../../../_virtual/browser.cjs");
|
|
5
|
+
const vueI18n = require("vue-i18n");
|
|
6
|
+
const bignumber = require("../../../../../../node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.cjs");
|
|
7
|
+
const wallet = require("../../localization/wallet.json.cjs");
|
|
8
|
+
const wallet_store = require("../../store/wallet.store.cjs");
|
|
9
|
+
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
|
10
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
11
|
+
const _hoisted_2 = { class: "flex flex-justify-between" };
|
|
12
|
+
const _hoisted_3 = { class: "t-semi" };
|
|
13
|
+
const _hoisted_4 = { class: "flex flex-justify-between" };
|
|
14
|
+
const _hoisted_5 = { class: "t-semi t-truncate address" };
|
|
15
|
+
const _hoisted_6 = { class: "flex flex-justify-between" };
|
|
16
|
+
const _hoisted_7 = { class: "t-semi" };
|
|
17
|
+
const _hoisted_8 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "flex flex-justify-between"
|
|
20
|
+
};
|
|
21
|
+
const _hoisted_9 = { class: "t-semi" };
|
|
22
|
+
const _hoisted_10 = { class: "flex flex-justify-between" };
|
|
23
|
+
const _hoisted_11 = { class: "t-semi" };
|
|
24
|
+
const _sfc_main = {
|
|
25
|
+
__name: "CryptoDepositProcessing",
|
|
26
|
+
emits: ["back-selection", "switch-menu"],
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
bignumber.BigNumber.config({
|
|
29
|
+
EXPONENTIAL_AT: [-1e3, 2e4]
|
|
30
|
+
});
|
|
31
|
+
const emits = __emit;
|
|
32
|
+
const { t } = vueI18n.useI18n({
|
|
33
|
+
useScope: "global",
|
|
34
|
+
...wallet.default
|
|
35
|
+
});
|
|
36
|
+
const remainingTime = vue.computed(() => {
|
|
37
|
+
const mins = Math.floor(wallet_store.timer.remaining / 60);
|
|
38
|
+
const secs = Math.floor(wallet_store.timer.remaining % 60);
|
|
39
|
+
return `${mins}:${secs < 10 ? `0${secs}` : secs}`;
|
|
40
|
+
});
|
|
41
|
+
const amount = vue.computed(
|
|
42
|
+
() => new bignumber.BigNumber(wallet_store.state.depositInfo.amount).shiftedBy(-8).toString()
|
|
43
|
+
);
|
|
44
|
+
const receive = vue.computed(
|
|
45
|
+
() => new bignumber.BigNumber(amount.value).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
46
|
+
);
|
|
47
|
+
const status = vue.computed(() => {
|
|
48
|
+
switch (wallet_store.state.depositInfo.status) {
|
|
49
|
+
case "TRANSFER_STATUS_WAITING_FOR_TX":
|
|
50
|
+
return "Waiting for payment";
|
|
51
|
+
case "TRANSFER_STATUS_SENT":
|
|
52
|
+
const confirmations = `${wallet_store.state.depositInfo.confirmations || 0} / ${wallet_store.state.config[wallet_store.state.chosenNetwork.value.network].confirmations}`;
|
|
53
|
+
return `Confirming (${confirmations})`;
|
|
54
|
+
default:
|
|
55
|
+
return "Superposition.";
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
function backSelection() {
|
|
59
|
+
emits("back-selection");
|
|
60
|
+
}
|
|
61
|
+
function switchMenu(screen = 0) {
|
|
62
|
+
emits("switch-menu", screen);
|
|
63
|
+
}
|
|
64
|
+
function copy(text) {
|
|
65
|
+
navigator.clipboard.writeText(text);
|
|
66
|
+
}
|
|
67
|
+
vue.onMounted(() => {
|
|
68
|
+
browser.default.toCanvas(
|
|
69
|
+
document.getElementById("qrcode_address_deposit"),
|
|
70
|
+
wallet_store.state.depositInfo.to,
|
|
71
|
+
{ width: 300 },
|
|
72
|
+
(error) => {
|
|
73
|
+
if (error) {
|
|
74
|
+
console.error(error);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
});
|
|
79
|
+
vue.watch(
|
|
80
|
+
wallet_store.state,
|
|
81
|
+
async () => {
|
|
82
|
+
if (wallet_store.state.depositInfo.status === "TRANSFER_STATUS_SENT") {
|
|
83
|
+
wallet_store.actions.stopTimer();
|
|
84
|
+
}
|
|
85
|
+
if (wallet_store.state.depositInfo.status === "TRANSFER_STATUS_COMPLETED") {
|
|
86
|
+
wallet_store.actions.disconnectWebSocket();
|
|
87
|
+
switchMenu(3);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{ deep: true }
|
|
91
|
+
);
|
|
92
|
+
return (_ctx, _cache) => {
|
|
93
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
94
|
+
vue.createElementVNode("h2", _hoisted_1, vue.toDisplayString(vue.unref(t)("wallet.depositWithCrypto")), 1),
|
|
95
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
96
|
+
vue.createElementVNode("h3", _hoisted_3, "Amount: " + vue.toDisplayString(amount.value) + " " + vue.toDisplayString(vue.unref(wallet_store.state).chosenNetwork.name.toUpperCase()), 1),
|
|
97
|
+
vue.createElementVNode("button", {
|
|
98
|
+
class: "uppercase t-main cursor-pointer",
|
|
99
|
+
onClick: _cache[0] || (_cache[0] = () => copy(amount.value))
|
|
100
|
+
}, " copy ")
|
|
101
|
+
]),
|
|
102
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
103
|
+
vue.createElementVNode("h3", _hoisted_5, "Wallet: " + vue.toDisplayString(vue.unref(wallet_store.state).depositInfo.to), 1),
|
|
104
|
+
vue.createElementVNode("button", {
|
|
105
|
+
class: "uppercase t-main cursor-pointer",
|
|
106
|
+
onClick: _cache[1] || (_cache[1] = () => copy(vue.unref(wallet_store.state).depositInfo.to))
|
|
107
|
+
}, " copy ")
|
|
108
|
+
]),
|
|
109
|
+
_cache[6] || (_cache[6] = vue.createElementVNode("div", { class: "flex flex-justify-around radius-big br-solid br-2px br-black-transp-10" }, [
|
|
110
|
+
vue.createElementVNode("canvas", { id: "qrcode_address_deposit" })
|
|
111
|
+
], -1)),
|
|
112
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
113
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1)),
|
|
114
|
+
vue.createElementVNode("h3", _hoisted_7, vue.toDisplayString(receive.value) + " WDT", 1)
|
|
115
|
+
]),
|
|
116
|
+
vue.unref(wallet_store.state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
117
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("h3", { class: "t-semi" }, "Times left:", -1)),
|
|
118
|
+
vue.createElementVNode("h3", _hoisted_9, vue.toDisplayString(remainingTime.value), 1)
|
|
119
|
+
])) : vue.createCommentVNode("", true),
|
|
120
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
121
|
+
_cache[5] || (_cache[5] = vue.createElementVNode("h3", { class: "t-semi" }, "Status:", -1)),
|
|
122
|
+
vue.createElementVNode("h3", _hoisted_11, vue.toDisplayString(status.value), 1)
|
|
123
|
+
]),
|
|
124
|
+
vue.unref(wallet_store.state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
125
|
+
key: 1,
|
|
126
|
+
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",
|
|
127
|
+
onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(wallet_store.actions).cancelDeposit().then(() => backSelection()))
|
|
128
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.cancel")), 1)) : vue.createCommentVNode("", true)
|
|
129
|
+
], 64);
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const CryptoDepositProcessing = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-0f8ad042"]]);
|
|
134
|
+
exports.default = CryptoDepositProcessing;
|
|
135
|
+
//# sourceMappingURL=CryptoDepositProcessing.vue.cjs.map
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map
ADDED
|
@@ -0,0 +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 '@martyrs/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@martyrs/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,OAAAA;AAAAA,IACP,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,UAAS,UAACK,mBAAM,YAAY,MAAM,EACnC,UAAU,EAAE,EACZ,SAAQ;AAAA,IACZ;AAED,UAAM,UAAUF,IAAAA;AAAAA,MAAS,MACvB,IAAIH,UAAAA,UAAU,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,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,MACf;AAAA,IACA,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;AAEE,aAAS,KAAK,MAAM;AAClB,gBAAU,UAAU,UAAU,IAAI;AAAA,IACtC;AAEEC,QAAAA,UAAU,MAAM;AACdC,cAAAA,QAAO;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,UAAI;AAAA,QAAA;AAAA,MACxD;AAAA,IACG,CAAA;AAEDG,QAAK;AAAA,MACHH,aAAK;AAAA,MACL,YAAY;AACV,YAAIA,mBAAM,YAAY,WAAW,wBAAwB;AACvDI,uBAAAA,QAAQ,UAAW;AAAA,QAC3B;AAEM,YAAIJ,mBAAM,YAAY,WAAW,6BAA6B;AAC5DI,uBAAAA,QAAQ,oBAAqB;AAC7B,qBAAW,CAAC;AAAA,QACpB;AAAA,MACK;AAAA,MACD,EAAE,MAAM,KAAM;AAAA,IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { computed, onMounted, watch, createElementBlock, openBlock, Fragment, createElementVNode, createCommentVNode, toDisplayString, unref } from "vue";
|
|
2
|
+
import QRCode from "../../../../../../../_virtual/browser.js";
|
|
3
|
+
import { useI18n } from "vue-i18n";
|
|
4
|
+
import { BigNumber } from "../../../../../../node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.js";
|
|
5
|
+
import text from "../../localization/wallet.json.js";
|
|
6
|
+
import { timer, state, actions } from "../../store/wallet.store.js";
|
|
7
|
+
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
9
|
+
const _hoisted_2 = { class: "flex flex-justify-between" };
|
|
10
|
+
const _hoisted_3 = { class: "t-semi" };
|
|
11
|
+
const _hoisted_4 = { class: "flex flex-justify-between" };
|
|
12
|
+
const _hoisted_5 = { class: "t-semi t-truncate address" };
|
|
13
|
+
const _hoisted_6 = { class: "flex flex-justify-between" };
|
|
14
|
+
const _hoisted_7 = { class: "t-semi" };
|
|
15
|
+
const _hoisted_8 = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "flex flex-justify-between"
|
|
18
|
+
};
|
|
19
|
+
const _hoisted_9 = { class: "t-semi" };
|
|
20
|
+
const _hoisted_10 = { class: "flex flex-justify-between" };
|
|
21
|
+
const _hoisted_11 = { class: "t-semi" };
|
|
22
|
+
const _sfc_main = {
|
|
23
|
+
__name: "CryptoDepositProcessing",
|
|
24
|
+
emits: ["back-selection", "switch-menu"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
BigNumber.config({
|
|
27
|
+
EXPONENTIAL_AT: [-1e3, 2e4]
|
|
28
|
+
});
|
|
29
|
+
const emits = __emit;
|
|
30
|
+
const { t } = useI18n({
|
|
31
|
+
useScope: "global",
|
|
32
|
+
...text
|
|
33
|
+
});
|
|
34
|
+
const remainingTime = computed(() => {
|
|
35
|
+
const mins = Math.floor(timer.remaining / 60);
|
|
36
|
+
const secs = Math.floor(timer.remaining % 60);
|
|
37
|
+
return `${mins}:${secs < 10 ? `0${secs}` : secs}`;
|
|
38
|
+
});
|
|
39
|
+
const amount = computed(
|
|
40
|
+
() => new BigNumber(state.depositInfo.amount).shiftedBy(-8).toString()
|
|
41
|
+
);
|
|
42
|
+
const receive = computed(
|
|
43
|
+
() => new BigNumber(amount.value).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
44
|
+
);
|
|
45
|
+
const status = computed(() => {
|
|
46
|
+
switch (state.depositInfo.status) {
|
|
47
|
+
case "TRANSFER_STATUS_WAITING_FOR_TX":
|
|
48
|
+
return "Waiting for payment";
|
|
49
|
+
case "TRANSFER_STATUS_SENT":
|
|
50
|
+
const confirmations = `${state.depositInfo.confirmations || 0} / ${state.config[state.chosenNetwork.value.network].confirmations}`;
|
|
51
|
+
return `Confirming (${confirmations})`;
|
|
52
|
+
default:
|
|
53
|
+
return "Superposition.";
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
function backSelection() {
|
|
57
|
+
emits("back-selection");
|
|
58
|
+
}
|
|
59
|
+
function switchMenu(screen = 0) {
|
|
60
|
+
emits("switch-menu", screen);
|
|
61
|
+
}
|
|
62
|
+
function copy(text2) {
|
|
63
|
+
navigator.clipboard.writeText(text2);
|
|
64
|
+
}
|
|
65
|
+
onMounted(() => {
|
|
66
|
+
QRCode.toCanvas(
|
|
67
|
+
document.getElementById("qrcode_address_deposit"),
|
|
68
|
+
state.depositInfo.to,
|
|
69
|
+
{ width: 300 },
|
|
70
|
+
(error) => {
|
|
71
|
+
if (error) {
|
|
72
|
+
console.error(error);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
});
|
|
77
|
+
watch(
|
|
78
|
+
state,
|
|
79
|
+
async () => {
|
|
80
|
+
if (state.depositInfo.status === "TRANSFER_STATUS_SENT") {
|
|
81
|
+
actions.stopTimer();
|
|
82
|
+
}
|
|
83
|
+
if (state.depositInfo.status === "TRANSFER_STATUS_COMPLETED") {
|
|
84
|
+
actions.disconnectWebSocket();
|
|
85
|
+
switchMenu(3);
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{ deep: true }
|
|
89
|
+
);
|
|
90
|
+
return (_ctx, _cache) => {
|
|
91
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
92
|
+
createElementVNode("h2", _hoisted_1, toDisplayString(unref(t)("wallet.depositWithCrypto")), 1),
|
|
93
|
+
createElementVNode("div", _hoisted_2, [
|
|
94
|
+
createElementVNode("h3", _hoisted_3, "Amount: " + toDisplayString(amount.value) + " " + toDisplayString(unref(state).chosenNetwork.name.toUpperCase()), 1),
|
|
95
|
+
createElementVNode("button", {
|
|
96
|
+
class: "uppercase t-main cursor-pointer",
|
|
97
|
+
onClick: _cache[0] || (_cache[0] = () => copy(amount.value))
|
|
98
|
+
}, " copy ")
|
|
99
|
+
]),
|
|
100
|
+
createElementVNode("div", _hoisted_4, [
|
|
101
|
+
createElementVNode("h3", _hoisted_5, "Wallet: " + toDisplayString(unref(state).depositInfo.to), 1),
|
|
102
|
+
createElementVNode("button", {
|
|
103
|
+
class: "uppercase t-main cursor-pointer",
|
|
104
|
+
onClick: _cache[1] || (_cache[1] = () => copy(unref(state).depositInfo.to))
|
|
105
|
+
}, " copy ")
|
|
106
|
+
]),
|
|
107
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "flex flex-justify-around radius-big br-solid br-2px br-black-transp-10" }, [
|
|
108
|
+
createElementVNode("canvas", { id: "qrcode_address_deposit" })
|
|
109
|
+
], -1)),
|
|
110
|
+
createElementVNode("div", _hoisted_6, [
|
|
111
|
+
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "t-semi" }, "You will receive:", -1)),
|
|
112
|
+
createElementVNode("h3", _hoisted_7, toDisplayString(receive.value) + " WDT", 1)
|
|
113
|
+
]),
|
|
114
|
+
unref(state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
115
|
+
_cache[4] || (_cache[4] = createElementVNode("h3", { class: "t-semi" }, "Times left:", -1)),
|
|
116
|
+
createElementVNode("h3", _hoisted_9, toDisplayString(remainingTime.value), 1)
|
|
117
|
+
])) : createCommentVNode("", true),
|
|
118
|
+
createElementVNode("div", _hoisted_10, [
|
|
119
|
+
_cache[5] || (_cache[5] = createElementVNode("h3", { class: "t-semi" }, "Status:", -1)),
|
|
120
|
+
createElementVNode("h3", _hoisted_11, toDisplayString(status.value), 1)
|
|
121
|
+
]),
|
|
122
|
+
unref(state).depositInfo.status === "TRANSFER_STATUS_WAITING_FOR_TX" ? (openBlock(), createElementBlock("button", {
|
|
123
|
+
key: 1,
|
|
124
|
+
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",
|
|
125
|
+
onClick: _cache[2] || (_cache[2] = ($event) => unref(actions).cancelDeposit().then(() => backSelection()))
|
|
126
|
+
}, toDisplayString(unref(t)("wallet.cancel")), 1)) : createCommentVNode("", true)
|
|
127
|
+
], 64);
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const CryptoDepositProcessing = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0f8ad042"]]);
|
|
132
|
+
export {
|
|
133
|
+
CryptoDepositProcessing as default
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=CryptoDepositProcessing.vue.js.map
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map
ADDED
|
@@ -0,0 +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 '@martyrs/src/modules/wallet/views/localization/wallet.json';\n import { state, actions, timer } from '@martyrs/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"],"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,SAAQ;AAAA,IACZ;AAED,UAAM,UAAU;AAAA,MAAS,MACvB,IAAI,UAAU,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,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,MACf;AAAA,IACA,CAAG;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;AAEE,aAAS,KAAKA,OAAM;AAClB,gBAAU,UAAU,UAAUA,KAAI;AAAA,IACtC;AAEE,cAAU,MAAM;AACd,aAAO;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,UAAI;AAAA,QAAA;AAAA,MACxD;AAAA,IACG,CAAA;AAED;AAAA,MACE;AAAA,MACA,YAAY;AACV,YAAI,MAAM,YAAY,WAAW,wBAAwB;AACvD,kBAAQ,UAAW;AAAA,QAC3B;AAEM,YAAI,MAAM,YAAY,WAAW,6BAA6B;AAC5D,kBAAQ,oBAAqB;AAC7B,qBAAW,CAAC;AAAA,QACpB;AAAA,MACK;AAAA,MACD,EAAE,MAAM,KAAM;AAAA,IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
|
+
const Web3 = require("web3");
|
|
6
|
+
const wallet_store = require("../../store/wallet.store.cjs");
|
|
7
|
+
const wallet = require("../../localization/wallet.json.cjs");
|
|
8
|
+
const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
|
|
9
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
|
10
|
+
require("vue-router");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
;/* empty css */
|
|
13
|
+
require("../../../../reports/store/reports.cjs");
|
|
14
|
+
require("../../../../auth/views/store/auth.cjs");
|
|
15
|
+
require("../../../../organizations/store/memberships.cjs");
|
|
16
|
+
require("../../../../community/store/reactions.cjs");
|
|
17
|
+
;/* empty css */
|
|
18
|
+
const ConnectMetamask = require("../elements/ConnectMetamask.vue.cjs");
|
|
19
|
+
const CashDeposit = require("../blocks/CashDeposit.vue.cjs");
|
|
20
|
+
const CardDeposit = require("../blocks/CardDeposit.vue.cjs");
|
|
21
|
+
const CryptoDeposit = require("../blocks/CryptoDeposit.vue.cjs");
|
|
22
|
+
const CardBalanceReplenished = require("../blocks/CardBalanceReplenished.vue.cjs");
|
|
23
|
+
const CryptoDepositProcessing = require("../blocks/CryptoDepositProcessing.vue.cjs");
|
|
24
|
+
const _hoisted_1 = { class: "pd-thin" };
|
|
25
|
+
const _hoisted_2 = { class: "bg-black t-white mn-b-thin radius-big pd-big" };
|
|
26
|
+
const _hoisted_3 = { class: "mn-b-medium" };
|
|
27
|
+
const _hoisted_4 = { class: "mn-b-semi t-transp p-big" };
|
|
28
|
+
const _hoisted_5 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "gap-thin mn-b-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_6 = { class: "flex-v-center flex-nowrap flex mn-r-auto" };
|
|
33
|
+
const _hoisted_7 = {
|
|
34
|
+
key: 1,
|
|
35
|
+
class: "w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"
|
|
36
|
+
};
|
|
37
|
+
const _hoisted_8 = { class: "h1 mn-b-small" };
|
|
38
|
+
const _hoisted_9 = { class: "flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra" };
|
|
39
|
+
const _hoisted_10 = {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: "t-transp t-medium"
|
|
42
|
+
};
|
|
43
|
+
const _hoisted_11 = {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "mn-b-semi cols-2 gap-thin"
|
|
46
|
+
};
|
|
47
|
+
const _hoisted_12 = { class: "w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light" };
|
|
48
|
+
const _hoisted_13 = {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: "mn-b-small"
|
|
51
|
+
};
|
|
52
|
+
const _hoisted_14 = {
|
|
53
|
+
key: 1,
|
|
54
|
+
class: "mn-b-small"
|
|
55
|
+
};
|
|
56
|
+
const _hoisted_15 = { class: "cols-3 mobile:cols-1 gap-thin" };
|
|
57
|
+
const _hoisted_16 = { class: "radius-medium bg-light" };
|
|
58
|
+
const _hoisted_17 = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" };
|
|
59
|
+
const _hoisted_18 = { class: "t-semi mn-r-auto" };
|
|
60
|
+
const _hoisted_19 = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" };
|
|
61
|
+
const _hoisted_20 = { class: "pd-medium" };
|
|
62
|
+
const _hoisted_21 = { class: "t-regular mn-b-thin" };
|
|
63
|
+
const _hoisted_22 = {
|
|
64
|
+
key: 2,
|
|
65
|
+
class: "mn-b-small"
|
|
66
|
+
};
|
|
67
|
+
const _hoisted_23 = { class: "cols-3 mobile:cols-1 gap-thin" };
|
|
68
|
+
const _hoisted_24 = { class: "radius-medium bg-grey" };
|
|
69
|
+
const _hoisted_25 = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" };
|
|
70
|
+
const _hoisted_26 = { class: "t-semi mn-r-auto" };
|
|
71
|
+
const _hoisted_27 = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" };
|
|
72
|
+
const _hoisted_28 = { class: "pd-medium" };
|
|
73
|
+
const _hoisted_29 = { class: "t-regular mn-b-thin" };
|
|
74
|
+
const _hoisted_30 = { key: 0 };
|
|
75
|
+
const _sfc_main = {
|
|
76
|
+
__name: "Wallet",
|
|
77
|
+
setup(__props) {
|
|
78
|
+
const { t } = vueI18n.useI18n({
|
|
79
|
+
useScope: "global",
|
|
80
|
+
...wallet.default
|
|
81
|
+
});
|
|
82
|
+
vue.onMounted(() => {
|
|
83
|
+
window.ethereum.on("accountsChanged", (accounts) => {
|
|
84
|
+
if (accounts.length < 1) {
|
|
85
|
+
wallet_store.state.account = null;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
wallet_store.state.web3 = new Web3(window.ethereum || "http://localhost:8080");
|
|
89
|
+
wallet_store.actions.listRewards();
|
|
90
|
+
wallet_store.actions.tryReconnectWallet();
|
|
91
|
+
});
|
|
92
|
+
const isGetMorePopup = vue.ref(false);
|
|
93
|
+
const currentMenuPopup = vue.ref(0);
|
|
94
|
+
function switchGetMoreMenu(value) {
|
|
95
|
+
currentMenuPopup.value = value;
|
|
96
|
+
}
|
|
97
|
+
function openGetMorePopup() {
|
|
98
|
+
isGetMorePopup.value = true;
|
|
99
|
+
}
|
|
100
|
+
function closeGetMorePopup() {
|
|
101
|
+
isGetMorePopup.value = false;
|
|
102
|
+
currentMenuPopup.value = 0;
|
|
103
|
+
wallet_store.actions.stopTimer();
|
|
104
|
+
wallet_store.actions.disconnectWebSocket();
|
|
105
|
+
}
|
|
106
|
+
return (_ctx, _cache) => {
|
|
107
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
108
|
+
vue.createElementVNode("section", _hoisted_2, [
|
|
109
|
+
vue.createElementVNode("h1", _hoisted_3, vue.toDisplayString(vue.unref(t)("wallet.title")), 1),
|
|
110
|
+
vue.createElementVNode("p", _hoisted_4, vue.toDisplayString(vue.unref(t)("wallet.subtitle")), 1),
|
|
111
|
+
vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
112
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
113
|
+
vue.createElementVNode("h2", null, vue.toDisplayString(vue.unref(wallet_store.state).tokenBalance) + " " + vue.toDisplayString(vue.unref(t)("wallet.token")), 1)
|
|
114
|
+
]),
|
|
115
|
+
vue.createElementVNode("button", {
|
|
116
|
+
onClick: openGetMorePopup,
|
|
117
|
+
class: "t-nowrap w-max bg-main t-medium button"
|
|
118
|
+
}, "Get More"),
|
|
119
|
+
vue.createVNode(Button.default, {
|
|
120
|
+
submit: vue.unref(wallet_store.actions).collectRewards,
|
|
121
|
+
class: "w-max bg-white t-black t-medium button"
|
|
122
|
+
}, {
|
|
123
|
+
default: vue.withCtx(() => _cache[9] || (_cache[9] = [
|
|
124
|
+
vue.createTextVNode(" Withdraw ")
|
|
125
|
+
])),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["submit"])
|
|
128
|
+
])) : vue.createCommentVNode("", true),
|
|
129
|
+
vue.createVNode(ConnectMetamask.default, { class: "mn-b-thin radius-extra br-solid br-white-transp-10 br-1px w-100" }),
|
|
130
|
+
vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
131
|
+
_cache[12] || (_cache[12] = vue.createElementVNode("p", { class: "t-transp t-medium mn-b-thin" }, "You own:", -1)),
|
|
132
|
+
vue.createElementVNode("p", _hoisted_8, vue.toDisplayString(vue.unref(wallet_store.state).share) + "%", 1),
|
|
133
|
+
_cache[13] || (_cache[13] = vue.createElementVNode("p", { class: "t-white p-big t-medium mn-b-semi" }, "of all shares", -1)),
|
|
134
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
135
|
+
vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, [
|
|
136
|
+
_cache[10] || (_cache[10] = vue.createElementVNode("span", { class: "uppercase p-small t-medium t-transp" }, "Connected Metamask", -1)),
|
|
137
|
+
_cache[11] || (_cache[11] = vue.createElementVNode("br", null, null, -1)),
|
|
138
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(wallet_store.state).account), 1)
|
|
139
|
+
])) : vue.createCommentVNode("", true),
|
|
140
|
+
vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
141
|
+
key: 1,
|
|
142
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(wallet_store.actions).disconnectWallet && vue.unref(wallet_store.actions).disconnectWallet(...args)),
|
|
143
|
+
class: "mn-l-auto bg-red button"
|
|
144
|
+
}, " Disconnect Wallet ")) : vue.createCommentVNode("", true)
|
|
145
|
+
])
|
|
146
|
+
])) : vue.createCommentVNode("", true)
|
|
147
|
+
]),
|
|
148
|
+
!vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
|
|
149
|
+
_cache[14] || (_cache[14] = vue.createElementVNode("div", { class: "w-100 pd-medium radius-medium t-center bg-light" }, [
|
|
150
|
+
vue.createElementVNode("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token"),
|
|
151
|
+
vue.createElementVNode("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace")
|
|
152
|
+
], -1)),
|
|
153
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
154
|
+
!vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_13, " Connect Metamask to withdrawal your earnings. ")) : vue.createCommentVNode("", true),
|
|
155
|
+
!vue.unref(wallet_store.state).account ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
156
|
+
key: 1,
|
|
157
|
+
onClick: _cache[1] || (_cache[1] = (...args) => vue.unref(wallet_store.actions).connectWallet && vue.unref(wallet_store.actions).connectWallet(...args)),
|
|
158
|
+
class: "br-solid br-2px br-black-transp-10 t-black button"
|
|
159
|
+
}, " Connect Wallet ")) : vue.createCommentVNode("", true)
|
|
160
|
+
])
|
|
161
|
+
])) : vue.createCommentVNode("", true),
|
|
162
|
+
vue.unref(wallet_store.state).rewards.length > 0 ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_14, "Latest Rewards ")) : vue.createCommentVNode("", true),
|
|
163
|
+
vue.createElementVNode("section", _hoisted_15, [
|
|
164
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(wallet_store.state).rewards, (income) => {
|
|
165
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_16, [
|
|
166
|
+
vue.createElementVNode("div", _hoisted_17, [
|
|
167
|
+
vue.createElementVNode("p", _hoisted_18, vue.toDisplayString(income.amount) + " WDT", 1),
|
|
168
|
+
vue.createElementVNode("span", _hoisted_19, vue.toDisplayString(income.type === "blogpost" ? "Community Reward" : income.type), 1)
|
|
169
|
+
]),
|
|
170
|
+
vue.createElementVNode("div", _hoisted_20, [
|
|
171
|
+
vue.createElementVNode("h4", _hoisted_21, vue.toDisplayString(income.name), 1)
|
|
172
|
+
])
|
|
173
|
+
]);
|
|
174
|
+
}), 256))
|
|
175
|
+
]),
|
|
176
|
+
vue.unref(wallet_store.state).rewards.length > 0 ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_22, "Activity")) : vue.createCommentVNode("", true),
|
|
177
|
+
vue.createElementVNode("section", _hoisted_23, [
|
|
178
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(wallet_store.state).rewards, (income) => {
|
|
179
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_24, [
|
|
180
|
+
vue.createElementVNode("div", _hoisted_25, [
|
|
181
|
+
vue.createElementVNode("p", _hoisted_26, vue.toDisplayString(income.amount) + " WDT", 1),
|
|
182
|
+
vue.createElementVNode("span", _hoisted_27, vue.toDisplayString(income.type === "blogpost" ? "Community Reward" : income.type), 1)
|
|
183
|
+
]),
|
|
184
|
+
vue.createElementVNode("div", _hoisted_28, [
|
|
185
|
+
vue.createElementVNode("h4", _hoisted_29, vue.toDisplayString(income.name), 1)
|
|
186
|
+
])
|
|
187
|
+
]);
|
|
188
|
+
}), 256))
|
|
189
|
+
]),
|
|
190
|
+
vue.createVNode(Popup.default, {
|
|
191
|
+
onClosePopup: closeGetMorePopup,
|
|
192
|
+
isPopupOpen: isGetMorePopup.value,
|
|
193
|
+
class: "w-m-50r t-left pd-big bg-white radius-big"
|
|
194
|
+
}, {
|
|
195
|
+
default: vue.withCtx(() => [
|
|
196
|
+
currentMenuPopup.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_30, [
|
|
197
|
+
_cache[15] || (_cache[15] = vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Choose the way of deposit", -1)),
|
|
198
|
+
vue.createElementVNode("button", {
|
|
199
|
+
class: "w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
|
200
|
+
onClick: _cache[2] || (_cache[2] = ($event) => switchGetMoreMenu(1))
|
|
201
|
+
}, " CASH "),
|
|
202
|
+
vue.createElementVNode("button", {
|
|
203
|
+
class: "w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
|
204
|
+
onClick: _cache[3] || (_cache[3] = ($event) => switchGetMoreMenu(2))
|
|
205
|
+
}, " CARD "),
|
|
206
|
+
vue.createElementVNode("button", {
|
|
207
|
+
class: "w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
|
208
|
+
onClick: _cache[4] || (_cache[4] = ($event) => switchGetMoreMenu(4))
|
|
209
|
+
}, " CRYPTO ")
|
|
210
|
+
])) : vue.createCommentVNode("", true),
|
|
211
|
+
currentMenuPopup.value === 1 ? (vue.openBlock(), vue.createBlock(CashDeposit.default, {
|
|
212
|
+
key: 1,
|
|
213
|
+
onBackSelection: _cache[5] || (_cache[5] = ($event) => switchGetMoreMenu(0))
|
|
214
|
+
})) : vue.createCommentVNode("", true),
|
|
215
|
+
currentMenuPopup.value === 2 ? (vue.openBlock(), vue.createBlock(CardDeposit.default, {
|
|
216
|
+
key: 2,
|
|
217
|
+
onBackSelection: _cache[6] || (_cache[6] = ($event) => switchGetMoreMenu(0)),
|
|
218
|
+
onSwitchMenu: switchGetMoreMenu
|
|
219
|
+
})) : vue.createCommentVNode("", true),
|
|
220
|
+
currentMenuPopup.value === 3 ? (vue.openBlock(), vue.createBlock(CardBalanceReplenished.default, {
|
|
221
|
+
key: 3,
|
|
222
|
+
onClose: closeGetMorePopup
|
|
223
|
+
})) : vue.createCommentVNode("", true),
|
|
224
|
+
currentMenuPopup.value === 4 ? (vue.openBlock(), vue.createBlock(CryptoDeposit.default, {
|
|
225
|
+
key: 4,
|
|
226
|
+
onBackSelection: _cache[7] || (_cache[7] = ($event) => switchGetMoreMenu(0)),
|
|
227
|
+
onSwitchMenu: switchGetMoreMenu
|
|
228
|
+
})) : vue.createCommentVNode("", true),
|
|
229
|
+
currentMenuPopup.value === 5 ? (vue.openBlock(), vue.createBlock(CryptoDepositProcessing.default, {
|
|
230
|
+
key: 5,
|
|
231
|
+
onBackSelection: _cache[8] || (_cache[8] = ($event) => switchGetMoreMenu(0)),
|
|
232
|
+
onSwitchMenu: switchGetMoreMenu
|
|
233
|
+
})) : vue.createCommentVNode("", true)
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}, 8, ["isPopupOpen"])
|
|
237
|
+
]);
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
exports.default = _sfc_main;
|
|
242
|
+
//# sourceMappingURL=Wallet.vue.cjs.map
|