@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
|
@@ -4,13 +4,13 @@ const vue = require("vue");
|
|
|
4
4
|
const vueRouter = require("vue-router");
|
|
5
5
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
|
6
6
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
|
7
|
-
;/* empty css
|
|
7
|
+
;/* empty css */
|
|
8
8
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
|
9
9
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
|
10
10
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
|
11
11
|
const Address = require("../../../../components/Address/Address.vue2.cjs");
|
|
12
12
|
const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
|
|
13
|
-
const Button = require("../../../../components/Button/Button.
|
|
13
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
|
14
14
|
;/* empty css */
|
|
15
15
|
const WorktimeEdit = require("../sections/WorktimeEdit.vue.cjs");
|
|
16
16
|
const spots = require("../../store/spots.cjs");
|
|
@@ -199,7 +199,6 @@ const _sfc_main = {
|
|
|
199
199
|
spots.state.spot.address = newAddress;
|
|
200
200
|
})
|
|
201
201
|
}, null, 8, ["apiKey", "address", "location", "locale"]),
|
|
202
|
-
vue.createTextVNode(" " + vue.toDisplayString(spots.state.spot.worktime) + " ", 1),
|
|
203
202
|
vue.createVNode(WorktimeEdit.default, {
|
|
204
203
|
worktime: spots.state.spot.worktime,
|
|
205
204
|
"onUpdate:worktime": _cache[11] || (_cache[11] = ($event) => spots.state.spot.worktime = $event),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotEdit.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\"> \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small mn-b-small pd-small\"\n :validation=\"organizationName\" \n /> \n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Status\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n\n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n
|
|
1
|
+
{"version":3,"file":"SpotEdit.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\"> \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small mn-b-small pd-small\"\n :validation=\"organizationName\" \n /> \n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Status\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n\n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <WorktimeEdit \n v-model:worktime=\"spots.state.spot.worktime\"\n class=\"mn-b-small\"\n />\n\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n />\n\n </Block>\n\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@martyrs/src/components/Tab/Tab.vue\";\nimport Field from \"@martyrs/src/components/Field/Field.vue\";\nimport Select from \"@martyrs/src/components/Select/Select.vue\";\nimport Checkbox from \"@martyrs/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@martyrs/src/components/Address/Address.vue\";\nimport LocationMarker from \"@martyrs/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@martyrs/src/components/Button/Button.vue\";\nimport Popup from \"@martyrs/src/components/Popup/Popup.vue\";\n\nimport WorktimeEdit from \"../sections/WorktimeEdit.vue\"; \n\nimport * as spots from \"@martyrs/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", query: { tab: 'spots' }, params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["useRouter","useRoute","ref","onMounted","spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA6KA,UAAM,SAASA,UAAAA,UAAW;AAC1B,UAAM,QAAQC,UAAAA,SAAU;AACAC,QAAAA,IAAI,SAAS;AAClBA,QAAAA,IAAI,KAAK;AAE5BC,QAAAA,UAAU,YAAY;AACpB,YAAM,UAAW;AAAA,IACnB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMC,MAAa,QAAC,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAW,MAAC,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAW,MAAC,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MAChB;AAAA,IACA;AAEA,mBAAe,WAAW;AAExBA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,MAAW,MAAC,KAAK,SAAS,KAAKA,MAAW,MAAC,KAAK,SAAS,GAAG;AAAA,MAC9E;AAGE,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,YAAY;AAAA,QACb;AAAA,MACL;AACE,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,YAAY;AAAA,QACb;AAAA,MACL;AAAA,IACA;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAiB,OAAO,EAAE,KAAK,QAAO,GAAI,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACnG;AAEA,mBAAe,WAAW;AACxB,YAAMD,MAAa,QAAC;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,YAAY;AAAA,MACb;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAK,EAAA,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,13 +2,13 @@ import { ref, onMounted, createElementBlock, openBlock, createVNode, createEleme
|
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
5
|
-
/* empty css
|
|
5
|
+
/* empty css */
|
|
6
6
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
7
7
|
import Select from "../../../../components/Select/Select.vue.js";
|
|
8
8
|
import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
9
9
|
import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
|
|
10
10
|
import _sfc_main$6 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
|
|
11
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
|
11
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import WorktimeEdit from "../sections/WorktimeEdit.vue.js";
|
|
14
14
|
import { actions, state } from "../../store/spots.js";
|
|
@@ -197,7 +197,6 @@ const _sfc_main = {
|
|
|
197
197
|
state.spot.address = newAddress;
|
|
198
198
|
})
|
|
199
199
|
}, null, 8, ["apiKey", "address", "location", "locale"]),
|
|
200
|
-
createTextVNode(" " + toDisplayString(state.spot.worktime) + " ", 1),
|
|
201
200
|
createVNode(WorktimeEdit, {
|
|
202
201
|
worktime: state.spot.worktime,
|
|
203
202
|
"onUpdate:worktime": _cache[11] || (_cache[11] = ($event) => state.spot.worktime = $event),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotEdit.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\"> \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small mn-b-small pd-small\"\n :validation=\"organizationName\" \n /> \n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Status\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n\n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n
|
|
1
|
+
{"version":3,"file":"SpotEdit.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\"> \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small mn-b-small pd-small\"\n :validation=\"organizationName\" \n /> \n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Status\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n\n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <WorktimeEdit \n v-model:worktime=\"spots.state.spot.worktime\"\n class=\"mn-b-small\"\n />\n\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n />\n\n </Block>\n\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@martyrs/src/components/Tab/Tab.vue\";\nimport Field from \"@martyrs/src/components/Field/Field.vue\";\nimport Select from \"@martyrs/src/components/Select/Select.vue\";\nimport Checkbox from \"@martyrs/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@martyrs/src/components/Address/Address.vue\";\nimport LocationMarker from \"@martyrs/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@martyrs/src/components/Button/Button.vue\";\nimport Popup from \"@martyrs/src/components/Popup/Popup.vue\";\n\nimport WorktimeEdit from \"../sections/WorktimeEdit.vue\"; \n\nimport * as spots from \"@martyrs/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", query: { tab: 'spots' }, params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6KA,UAAM,SAAS,UAAW;AAC1B,UAAM,QAAQ,SAAU;AACA,QAAI,SAAS;AAClB,QAAI,KAAK;AAE5B,cAAU,YAAY;AACpB,YAAM,UAAW;AAAA,IACnB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMA,QAAc,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAY,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MAChB;AAAA,IACA;AAEA,mBAAe,WAAW;AAExBA,YAAY,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,MAAY,KAAK,SAAS,KAAKA,MAAY,KAAK,SAAS,GAAG;AAAA,MAC9E;AAGE,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QACb;AAAA,MACL;AACE,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QACb;AAAA,MACL;AAAA,IACA;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAiB,OAAO,EAAE,KAAK,QAAO,GAAI,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACnG;AAEA,mBAAe,WAAW;AACxB,YAAMD,QAAc;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,MAAY;AAAA,MACb;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAK,EAAA,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const vueI18n = require("vue-i18n");
|
|
5
|
-
const Button = require("../../../../components/Button/Button.
|
|
5
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
|
6
6
|
const Field = require("../../../../components/Field/Field.vue.cjs");
|
|
7
7
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
|
8
8
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mergeModels, useModel, ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, unref, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createCommentVNode, createBlock } from "vue";
|
|
2
2
|
import { useI18n } from "vue-i18n";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
|
3
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
|
|
4
4
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
5
5
|
import Select from "../../../../components/Select/Select.vue.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
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 bignumber = require("../../../../../../node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.cjs");
|
|
6
|
+
const wallet = require("../../localization/wallet.json.cjs");
|
|
7
|
+
const wallet_store = require("../../store/wallet.store.cjs");
|
|
8
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
9
|
+
const _hoisted_2 = { class: "radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center" };
|
|
10
|
+
const _hoisted_3 = { class: "t-semi" };
|
|
11
|
+
const _hoisted_4 = { class: "t-semi" };
|
|
12
|
+
const _sfc_main = {
|
|
13
|
+
__name: "CardBalanceReplenished",
|
|
14
|
+
emits: ["close"],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
|
+
const emits = __emit;
|
|
17
|
+
const { t } = vueI18n.useI18n({
|
|
18
|
+
useScope: "global",
|
|
19
|
+
...wallet.default
|
|
20
|
+
});
|
|
21
|
+
const receiveAmount = vue.computed(
|
|
22
|
+
() => new bignumber.BigNumber(wallet_store.state.depositInfo.amount).shiftedBy(-8).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
23
|
+
);
|
|
24
|
+
function close() {
|
|
25
|
+
emits("close");
|
|
26
|
+
}
|
|
27
|
+
return (_ctx, _cache) => {
|
|
28
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
29
|
+
vue.createElementVNode("h2", _hoisted_1, vue.toDisplayString(vue.unref(t)("wallet.balanceReplenished")), 1),
|
|
30
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
31
|
+
vue.createElementVNode("h3", _hoisted_3, vue.toDisplayString(vue.unref(t)("wallet.youReceived")), 1),
|
|
32
|
+
vue.createElementVNode("h3", _hoisted_4, vue.toDisplayString(receiveAmount.value) + " WDT ", 1)
|
|
33
|
+
]),
|
|
34
|
+
vue.createElementVNode("button", {
|
|
35
|
+
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",
|
|
36
|
+
onClick: close
|
|
37
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.backToWallet")), 1)
|
|
38
|
+
], 64);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.default = _sfc_main;
|
|
43
|
+
//# sourceMappingURL=CardBalanceReplenished.vue.cjs.map
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardBalanceReplenished.vue.cjs","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.balanceReplenished') }}</h2>\n\n <div class=\"radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center\">\n <h3 class=\"t-semi\">\n {{ t('wallet.youReceived') }}\n </h3>\n <h3 class=\"t-semi\">\n {{ receiveAmount }} WDT\n </h3>\n </div>\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=\"close\"\n >\n {{ t('wallet.backToWallet') }}\n </button>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n import { computed } from 'vue'\n import { BigNumber } from 'bignumber.js'\n\n import text from '@martyrs/src/modules/wallet/views/localization/wallet.json'\n import { state } from '@martyrs/src/modules/wallet/views/store/wallet.store';\n\n const emits = defineEmits(['close'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n const receiveAmount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n function close() {\n emits(\"close\")\n }\n</script>\n\n<style scoped>\n</style>\n"],"names":["useI18n","text","computed","BigNumber","state"],"mappings":";;;;;;;;;;;;;;;AA4BE,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAGA,gBAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAGC,OAAAA;AAAAA,IACJ,CAAA;AAED,UAAM,gBAAgBC,IAAAA;AAAAA,MAAS,MAC7B,IAAIC,UAAS,UAACC,mBAAM,YAAY,MAAM,EACnC,UAAU,EAAE,EACZ,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,aAAS,QAAQ;AACf,YAAM,OAAO;AAAA,IACjB;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { computed, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, unref } 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 text from "../../localization/wallet.json.js";
|
|
5
|
+
import { state } from "../../store/wallet.store.js";
|
|
6
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
7
|
+
const _hoisted_2 = { class: "radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center" };
|
|
8
|
+
const _hoisted_3 = { class: "t-semi" };
|
|
9
|
+
const _hoisted_4 = { class: "t-semi" };
|
|
10
|
+
const _sfc_main = {
|
|
11
|
+
__name: "CardBalanceReplenished",
|
|
12
|
+
emits: ["close"],
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
|
+
const emits = __emit;
|
|
15
|
+
const { t } = useI18n({
|
|
16
|
+
useScope: "global",
|
|
17
|
+
...text
|
|
18
|
+
});
|
|
19
|
+
const receiveAmount = computed(
|
|
20
|
+
() => new BigNumber(state.depositInfo.amount).shiftedBy(-8).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
21
|
+
);
|
|
22
|
+
function close() {
|
|
23
|
+
emits("close");
|
|
24
|
+
}
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
27
|
+
createElementVNode("h2", _hoisted_1, toDisplayString(unref(t)("wallet.balanceReplenished")), 1),
|
|
28
|
+
createElementVNode("div", _hoisted_2, [
|
|
29
|
+
createElementVNode("h3", _hoisted_3, toDisplayString(unref(t)("wallet.youReceived")), 1),
|
|
30
|
+
createElementVNode("h3", _hoisted_4, toDisplayString(receiveAmount.value) + " WDT ", 1)
|
|
31
|
+
]),
|
|
32
|
+
createElementVNode("button", {
|
|
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",
|
|
34
|
+
onClick: close
|
|
35
|
+
}, toDisplayString(unref(t)("wallet.backToWallet")), 1)
|
|
36
|
+
], 64);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
_sfc_main as default
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=CardBalanceReplenished.vue.js.map
|
package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardBalanceReplenished.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue"],"sourcesContent":["<template>\n <h2 class=\"mn-b-small t-center t-bold\">{{ t('wallet.balanceReplenished') }}</h2>\n\n <div class=\"radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center\">\n <h3 class=\"t-semi\">\n {{ t('wallet.youReceived') }}\n </h3>\n <h3 class=\"t-semi\">\n {{ receiveAmount }} WDT\n </h3>\n </div>\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=\"close\"\n >\n {{ t('wallet.backToWallet') }}\n </button>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n import { computed } from 'vue'\n import { BigNumber } from 'bignumber.js'\n\n import text from '@martyrs/src/modules/wallet/views/localization/wallet.json'\n import { state } from '@martyrs/src/modules/wallet/views/store/wallet.store';\n\n const emits = defineEmits(['close'])\n\n // Localization\n const { t } = useI18n({\n useScope: 'global', \n ...text\n })\n\n const receiveAmount = computed(() =>\n new BigNumber(state.depositInfo.amount)\n .shiftedBy(-8)\n .dividedBy(process.env.TOKEN_EXCHANGE_RATE)\n .toString()\n )\n\n function close() {\n emits(\"close\")\n }\n</script>\n\n<style scoped>\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;AA4BE,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,MAAM,YAAY,MAAM,EACnC,UAAU,EAAE,EACZ,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,aAAS,QAAQ;AACf,YAAM,OAAO;AAAA,IACjB;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const wallet = require("../../localization/wallet.json.cjs");
|
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
|
6
|
+
const vueI18n = require("vue-i18n");
|
|
7
|
+
const _hoisted_1 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
|
8
|
+
const _sfc_main = {
|
|
9
|
+
__name: "CardDeposit",
|
|
10
|
+
emits: ["back-selection", "switch-menu"],
|
|
11
|
+
setup(__props, { emit: __emit }) {
|
|
12
|
+
const emits = __emit;
|
|
13
|
+
const { t } = vueI18n.useI18n({
|
|
14
|
+
useScope: "global",
|
|
15
|
+
...wallet.default
|
|
16
|
+
});
|
|
17
|
+
function backSelection() {
|
|
18
|
+
emits("back-selection");
|
|
19
|
+
}
|
|
20
|
+
function switchMenu(screen = 0) {
|
|
21
|
+
emits("switch-menu", screen);
|
|
22
|
+
}
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
25
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1)),
|
|
26
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
27
|
+
vue.createVNode(Field.default, {
|
|
28
|
+
placeholder: vue.unref(t)("wallet.enterAmount"),
|
|
29
|
+
class: "pd-medium radius-small"
|
|
30
|
+
}, null, 8, ["placeholder"]),
|
|
31
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " USD ", -1))
|
|
32
|
+
]),
|
|
33
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1)),
|
|
34
|
+
vue.createElementVNode("button", {
|
|
35
|
+
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",
|
|
36
|
+
onClick: _cache[0] || (_cache[0] = ($event) => switchMenu(3))
|
|
37
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.pay")), 1),
|
|
38
|
+
vue.createElementVNode("button", {
|
|
39
|
+
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",
|
|
40
|
+
onClick: backSelection
|
|
41
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.backToSelection")), 1)
|
|
42
|
+
], 64);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.default = _sfc_main;
|
|
47
|
+
//# sourceMappingURL=CardDeposit.vue.cjs.map
|
|
@@ -0,0 +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 '@martyrs/src/modules/wallet/views/localization/wallet.json'\n import Field from '@martyrs/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,OAAAA;AAAAA,IACJ,CAAA;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, Fragment, createElementVNode, createVNode, unref, toDisplayString } from "vue";
|
|
2
|
+
import text from "../../localization/wallet.json.js";
|
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
|
+
import { useI18n } from "vue-i18n";
|
|
5
|
+
const _hoisted_1 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "CardDeposit",
|
|
8
|
+
emits: ["back-selection", "switch-menu"],
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
10
|
+
const emits = __emit;
|
|
11
|
+
const { t } = useI18n({
|
|
12
|
+
useScope: "global",
|
|
13
|
+
...text
|
|
14
|
+
});
|
|
15
|
+
function backSelection() {
|
|
16
|
+
emits("back-selection");
|
|
17
|
+
}
|
|
18
|
+
function switchMenu(screen = 0) {
|
|
19
|
+
emits("switch-menu", screen);
|
|
20
|
+
}
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
23
|
+
_cache[2] || (_cache[2] = createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1)),
|
|
24
|
+
createElementVNode("div", _hoisted_1, [
|
|
25
|
+
createVNode(Field, {
|
|
26
|
+
placeholder: unref(t)("wallet.enterAmount"),
|
|
27
|
+
class: "pd-medium radius-small"
|
|
28
|
+
}, null, 8, ["placeholder"]),
|
|
29
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " USD ", -1))
|
|
30
|
+
]),
|
|
31
|
+
_cache[3] || (_cache[3] = createElementVNode("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1)),
|
|
32
|
+
createElementVNode("button", {
|
|
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",
|
|
34
|
+
onClick: _cache[0] || (_cache[0] = ($event) => switchMenu(3))
|
|
35
|
+
}, toDisplayString(unref(t)("wallet.pay")), 1),
|
|
36
|
+
createElementVNode("button", {
|
|
37
|
+
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",
|
|
38
|
+
onClick: backSelection
|
|
39
|
+
}, toDisplayString(unref(t)("wallet.backToSelection")), 1)
|
|
40
|
+
], 64);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
_sfc_main as default
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=CardDeposit.vue.js.map
|
|
@@ -0,0 +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 '@martyrs/src/modules/wallet/views/localization/wallet.json'\n import Field from '@martyrs/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,IACJ,CAAA;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
__name: "CashDeposit",
|
|
6
|
+
emits: ["back-selection"],
|
|
7
|
+
setup(__props, { emit: __emit }) {
|
|
8
|
+
const emits = __emit;
|
|
9
|
+
function backSelection() {
|
|
10
|
+
emits("back-selection");
|
|
11
|
+
}
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
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)),
|
|
20
|
+
vue.createElementVNode("button", {
|
|
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",
|
|
22
|
+
onClick: backSelection
|
|
23
|
+
}, "Back to selection ")
|
|
24
|
+
], 64);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.default = _sfc_main;
|
|
29
|
+
//# sourceMappingURL=CashDeposit.vue.cjs.map
|
|
@@ -0,0 +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":";;;;;;;AAmBE,UAAM,QAAQ;AAEd,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, Fragment, createElementVNode } from "vue";
|
|
2
|
+
const _sfc_main = {
|
|
3
|
+
__name: "CashDeposit",
|
|
4
|
+
emits: ["back-selection"],
|
|
5
|
+
setup(__props, { emit: __emit }) {
|
|
6
|
+
const emits = __emit;
|
|
7
|
+
function backSelection() {
|
|
8
|
+
emits("back-selection");
|
|
9
|
+
}
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
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)),
|
|
18
|
+
createElementVNode("button", {
|
|
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",
|
|
20
|
+
onClick: backSelection
|
|
21
|
+
}, "Back to selection ")
|
|
22
|
+
], 64);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
_sfc_main as default
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=CashDeposit.vue.js.map
|
|
@@ -0,0 +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":";;;;;AAmBE,UAAM,QAAQ;AAEd,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 bignumber = require("../../../../../../node_modules/.pnpm/bignumber.js@9.2.1/node_modules/bignumber.js/bignumber.cjs");
|
|
6
|
+
const wallet_store = require("../../store/wallet.store.cjs");
|
|
7
|
+
const wallet = require("../../localization/wallet.json.cjs");
|
|
8
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
|
9
|
+
const Select = require("../../../../../components/Select/Select.vue.cjs");
|
|
10
|
+
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
11
|
+
const _hoisted_2 = { class: "t-semi" };
|
|
12
|
+
const _hoisted_3 = ["disabled"];
|
|
13
|
+
const _sfc_main = {
|
|
14
|
+
__name: "CryptoDeposit",
|
|
15
|
+
emits: ["back-selection", "switch-menu"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
bignumber.BigNumber.config({
|
|
18
|
+
EXPONENTIAL_AT: [-1e3, 2e4]
|
|
19
|
+
});
|
|
20
|
+
const amount = vue.ref(1);
|
|
21
|
+
const emits = __emit;
|
|
22
|
+
const { t } = vueI18n.useI18n({
|
|
23
|
+
useScope: "global",
|
|
24
|
+
...wallet.default
|
|
25
|
+
});
|
|
26
|
+
const receiveAmount = vue.computed(
|
|
27
|
+
() => new bignumber.BigNumber(amount.value).dividedBy(process.env.TOKEN_EXCHANGE_RATE).toString()
|
|
28
|
+
);
|
|
29
|
+
const depositOptions = vue.computed(() => {
|
|
30
|
+
const options = [];
|
|
31
|
+
const networks = Object.keys(wallet_store.state.config || {});
|
|
32
|
+
for (const network of networks) {
|
|
33
|
+
for (const token of Object.keys(wallet_store.state.config[network].tokens)) {
|
|
34
|
+
options.push({
|
|
35
|
+
name: `${network}-${token}`,
|
|
36
|
+
value: {
|
|
37
|
+
token: wallet_store.state.config[network].tokens[token],
|
|
38
|
+
network
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return options;
|
|
44
|
+
});
|
|
45
|
+
vue.onMounted(() => {
|
|
46
|
+
wallet_store.actions.loadConfig();
|
|
47
|
+
});
|
|
48
|
+
function backSelection() {
|
|
49
|
+
emits("back-selection");
|
|
50
|
+
}
|
|
51
|
+
function switchMenu(screen = 0) {
|
|
52
|
+
emits("switch-menu", screen);
|
|
53
|
+
}
|
|
54
|
+
return (_ctx, _cache) => {
|
|
55
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
56
|
+
vue.createElementVNode("h3", _hoisted_1, vue.toDisplayString(vue.unref(t)("wallet.depositWithCrypto")), 1),
|
|
57
|
+
vue.unref(wallet_store.state).config ? (vue.openBlock(), vue.createBlock(Field.default, {
|
|
58
|
+
key: 0,
|
|
59
|
+
field: amount.value,
|
|
60
|
+
"onUpdate:field": _cache[1] || (_cache[1] = ($event) => amount.value = $event),
|
|
61
|
+
placeholder: vue.unref(t)("wallet.enterAmount"),
|
|
62
|
+
class: "mn-b-thin bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"
|
|
63
|
+
}, {
|
|
64
|
+
default: vue.withCtx(() => [
|
|
65
|
+
vue.createVNode(Select.default, {
|
|
66
|
+
options: depositOptions.value,
|
|
67
|
+
select: vue.unref(wallet_store.state).chosenNetwork,
|
|
68
|
+
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => vue.unref(wallet_store.state).chosenNetwork = $event),
|
|
69
|
+
class: "bg-light t-nowrap pd-r-thin pd-l-thin pd-t-nano pd-b-nano radius-thin"
|
|
70
|
+
}, null, 8, ["options", "select"])
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["field", "placeholder"])) : vue.createCommentVNode("", true),
|
|
74
|
+
vue.createElementVNode("p", _hoisted_2, "You will receive: " + vue.toDisplayString(receiveAmount.value) + " " + vue.toDisplayString(vue.unref(t)("wallet.token")), 1),
|
|
75
|
+
vue.createElementVNode("button", {
|
|
76
|
+
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",
|
|
77
|
+
onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(wallet_store.actions).requestCryptoDeposit(amount.value).then(() => switchMenu(5))),
|
|
78
|
+
disabled: vue.unref(wallet_store.state).depositRequestIsActive || !vue.unref(wallet_store.state).config
|
|
79
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.pay")), 9, _hoisted_3),
|
|
80
|
+
vue.createElementVNode("button", {
|
|
81
|
+
class: "uppercase w-100 t-center mn-t-small",
|
|
82
|
+
onClick: backSelection
|
|
83
|
+
}, vue.toDisplayString(vue.unref(t)("wallet.backToSelection")), 1)
|
|
84
|
+
], 64);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
exports.default = _sfc_main;
|
|
89
|
+
//# sourceMappingURL=CryptoDeposit.vue.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoDeposit.vue.cjs","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":["BigNumber","ref","useI18n","text","computed","state","onMounted","actions"],"mappings":";;;;;;;;;;;;;;;;AA4CEA,cAAAA,UAAU,OAAO;AAAA,MACf,gBAAgB,CAAC,MAAO,GAAK;AAAA,IACjC,CAAG;AAED,UAAM,SAASC,IAAG,IAAC,CAAC;AACpB,UAAM,QAAQ;AAGd,UAAM,EAAE,EAAG,IAAGC,gBAAQ;AAAA,MACpB,UAAU;AAAA,MACV,GAAGC,OAAAA;AAAAA,IACJ,CAAA;AAED,UAAM,gBAAgBC,IAAAA;AAAAA,MAAS,MAC7B,IAAIJ,UAAAA,UAAU,OAAO,KAAK,EACvB,UAAU,QAAQ,IAAI,mBAAmB,EACzC,SAAQ;AAAA,IACf;AAEE,UAAM,iBAAiBI,IAAAA,SAAS,MAAM;AACpC,YAAM,UAAU,CAAE;AAElB,YAAM,WAAW,OAAO,KAAKC,aAAAA,MAAM,UAAU,CAAA,CAAE;AAE/C,iBAAW,WAAW,UAAU;AAC9B,mBAAW,SAAS,OAAO,KAAKA,aAAK,MAAC,OAAO,OAAO,EAAE,MAAM,GAAG;AAC7D,kBAAQ,KAAK;AAAA,YACX,MAAM,GAAG,OAAO,IAAI,KAAK;AAAA,YACzB,OAAO;AAAA,cACL,OAAOA,aAAK,MAAC,OAAO,OAAO,EAAE,OAAO,KAAK;AAAA,cACzC;AAAA,YACZ;AAAA,UACA,CAAS;AAAA,QACT;AAAA,MACA;AAEI,aAAO;AAAA,IACX,CAAG;AAEDC,QAAAA,UAAU,MAAM;AACdC,mBAAAA,QAAQ,WAAY;AAAA,IACrB,CAAA;AAED,aAAS,gBAAgB;AACvB,YAAM,gBAAgB;AAAA,IAC1B;AAEE,aAAS,WAAW,SAAS,GAAG;AAC9B,YAAM,eAAe,MAAM;AAAA,IAC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|