@ozdao/martyrs 0.2.585 → 0.2.587
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/auth.server.js +175 -97
- package/dist/{authJwt-J1csaMWA.js → authJwt-DKbMMjw0.js} +33 -0
- package/dist/chats.server.js +3 -3
- package/dist/community.server.js +2 -2
- package/dist/core.server.js +201 -13
- package/dist/{core.websocket-C2FxNmZ1.js → core.websocket-Cl76z2wT.js} +41 -5
- package/dist/{crud-q1ye5IhV.js → crud-DpOXTZep.js} +1 -1
- package/dist/events.server.js +3 -3
- package/dist/files.server.js +2 -2
- package/dist/gallery.server.js +2 -2
- package/dist/index-kvBwwb0w.js +427 -0
- package/dist/inventory.server.js +3 -3
- package/dist/{mailing-DuEFRsa3.js → mailing-DT7nbNjZ.js} +16 -3
- package/dist/{main-xL-jtBkT.js → main-BIf-WirR.js} +863 -865
- package/dist/marketplace.server.js +2 -2
- package/dist/martyrs/dist/{main-xL-jtBkT.js → main-BIf-WirR.js} +192 -38
- package/dist/martyrs/dist/main-BIf-WirR.js.map +1 -0
- package/dist/martyrs/dist/{web-BA6h6Z8P.js → web-O7lXcjg0.js} +2 -2
- package/dist/martyrs/dist/{web-BA6h6Z8P.js.map → web-O7lXcjg0.js.map} +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +8 -7
- package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue.js → Loader.vue2.js} +3 -3
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- 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.js → Select.vue2.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +17 -22
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +18 -24
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +178 -0
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +53 -45
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +198 -14
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +70 -29
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +86 -30
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/plugins/otp.plugin.js +100 -0
- package/dist/martyrs/src/modules/auth/views/plugins/otp.plugin.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/router/auth.router.js +2 -31
- package/dist/martyrs/src/modules/auth/views/router/auth.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -14
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -56
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/users.js +5 -1
- package/dist/martyrs/src/modules/auth/views/store/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +74 -0
- package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +64 -48
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +10 -33
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +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.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +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.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +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.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +0 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +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.js +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/music.server.js +1 -1
- package/dist/notifications.server.js +2 -2
- package/dist/orders.server.js +8 -7
- package/dist/organizations.server.js +3 -3
- package/dist/pages.server.js +1 -1
- package/dist/products.server.js +3 -3
- package/dist/profile.schema-C31Lynn3.js +21 -0
- package/dist/rents.server.js +2 -2
- package/dist/reports.server.js +1 -1
- package/dist/sessions.service-COcwjd0f.js +86 -0
- package/dist/spots.server.js +1 -1
- package/dist/style.css +180 -110
- package/dist/{tickets.controller-B7r0mK-5.js → tickets.controller-DdF85W-i.js} +1 -1
- package/dist/visitors.service-B1dhhuSo.js +83 -0
- package/dist/wallet.server.js +3 -3
- package/dist/{web-BA6h6Z8P.js → web-O7lXcjg0.js} +1 -1
- package/package.json +3 -1
- package/src/components/Button/Button.vue +61 -15
- package/src/components/Loader/Loader.vue +1 -1
- package/src/components/Tooltip/Tooltip.vue +31 -23
- package/src/modules/TASKS.MD +30 -1
- package/src/modules/auth/CLAUDE.md +381 -0
- package/src/modules/auth/FIXES.md +0 -38
- package/src/modules/auth/auth.client.js +4 -6
- package/src/modules/auth/auth.server.js +19 -16
- package/src/modules/auth/controllers/middlewares/authJwt.js +59 -17
- package/src/modules/auth/controllers/middlewares/index.js +4 -1
- package/src/modules/auth/controllers/middlewares/otp.middleware.js +166 -0
- package/src/modules/auth/controllers/middlewares/verifySignUp.js +0 -1
- package/src/modules/auth/controllers/middlewares/verifyUser.js +58 -11
- package/src/modules/auth/controllers/routes/auth.routes.js +48 -6
- package/src/modules/auth/controllers/routes/users.routes.js +29 -8
- package/src/modules/auth/controllers/services/auth.service.js +62 -12
- package/src/modules/auth/controllers/services/otp.service.js +109 -0
- package/src/modules/auth/controllers/services/users.service.js +46 -6
- package/src/modules/auth/models/otp.model.js +20 -0
- package/src/modules/auth/views/components/blocks/OtpDialog.vue +168 -0
- package/src/modules/auth/views/components/pages/Profile.vue +18 -13
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +199 -45
- package/src/modules/auth/views/components/pages/ResetPassword.vue +170 -132
- package/src/modules/auth/views/components/pages/SignIn.vue +2 -1
- package/src/modules/auth/views/components/pages/SignUp.vue +203 -147
- package/src/modules/auth/views/plugins/otp.plugin.js +104 -0
- package/src/modules/auth/views/router/auth.router.js +1 -24
- package/src/modules/auth/views/router/users.router.js +1 -12
- package/src/modules/auth/views/store/auth.js +0 -68
- package/src/modules/auth/views/store/users.js +6 -2
- package/src/modules/chats/chats.server.js +1 -1
- package/src/modules/community/community.server.js +1 -1
- package/src/modules/core/controllers/classes/core.websocket.js +57 -6
- package/src/modules/core/controllers/middlewares/visitor.logger.js +49 -0
- package/src/modules/core/controllers/services/requests.service.js +53 -0
- package/src/modules/core/controllers/services/sessions.service.js +98 -0
- package/src/modules/core/controllers/services/visitors.service.js +102 -0
- package/src/modules/core/controllers/utils/mailing.js +16 -3
- package/src/modules/core/core.server.js +31 -16
- package/src/modules/core/models/log.model.js +24 -0
- package/src/modules/core/models/request.model.js +30 -0
- package/src/modules/core/models/session.model.js +43 -0
- package/src/modules/core/models/visitor.model.js +28 -0
- package/src/modules/core/views/components/elements/OnlineIndicator.vue +115 -0
- package/src/modules/core/views/components/layouts/App.vue +2 -2
- package/src/modules/core/views/components/layouts/Client.vue +443 -477
- package/src/modules/core/views/components/pages/404.vue +2 -3
- package/src/modules/events/events.server.js +1 -1
- package/src/modules/files/files.server.js +1 -1
- package/src/modules/gallery/gallery.server.js +1 -1
- package/src/modules/governance/governance.server.js +1 -1
- package/src/modules/icons/icons.server.js +1 -1
- package/src/modules/inventory/inventory.server.js +1 -1
- package/src/modules/marketplace/marketplace.server.js +1 -1
- package/src/modules/notifications/notifications.server.js +1 -1
- package/src/modules/orders/controllers/orders.controller.js +3 -3
- package/src/modules/orders/orders.server.js +1 -1
- package/src/modules/organizations/organizations.server.js +1 -1
- package/src/modules/pages/pages.server.js +1 -1
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/products/products.server.js +1 -1
- package/src/modules/rents/rents.server.js +1 -1
- package/src/modules/reports/reports.server.js +1 -1
- package/src/modules/spots/spots.server.js +1 -1
- package/src/modules/wallet/wallet.server.js +1 -1
- package/dist/_virtual/alignment-pattern.js +0 -5
- package/dist/_virtual/alignment-pattern.js.map +0 -1
- package/dist/_virtual/browser.js +0 -8
- package/dist/_virtual/browser.js.map +0 -1
- package/dist/_virtual/browser2.js +0 -5
- package/dist/_virtual/browser2.js.map +0 -1
- package/dist/_virtual/canvas.js +0 -5
- package/dist/_virtual/canvas.js.map +0 -1
- package/dist/_virtual/dijkstra.js +0 -5
- package/dist/_virtual/dijkstra.js.map +0 -1
- package/dist/_virtual/error-correction-code.js +0 -5
- package/dist/_virtual/error-correction-code.js.map +0 -1
- package/dist/_virtual/error-correction-level.js +0 -5
- package/dist/_virtual/error-correction-level.js.map +0 -1
- package/dist/_virtual/finder-pattern.js +0 -5
- package/dist/_virtual/finder-pattern.js.map +0 -1
- package/dist/_virtual/format-info.js +0 -5
- package/dist/_virtual/format-info.js.map +0 -1
- package/dist/_virtual/galois-field.js +0 -5
- package/dist/_virtual/galois-field.js.map +0 -1
- package/dist/_virtual/mask-pattern.js +0 -5
- package/dist/_virtual/mask-pattern.js.map +0 -1
- package/dist/_virtual/mode.js +0 -5
- package/dist/_virtual/mode.js.map +0 -1
- package/dist/_virtual/polynomial.js +0 -5
- package/dist/_virtual/polynomial.js.map +0 -1
- package/dist/_virtual/qrcode.js +0 -5
- package/dist/_virtual/qrcode.js.map +0 -1
- package/dist/_virtual/regex.js +0 -5
- package/dist/_virtual/regex.js.map +0 -1
- package/dist/_virtual/segments.js +0 -5
- package/dist/_virtual/segments.js.map +0 -1
- package/dist/_virtual/svg-tag.js +0 -5
- package/dist/_virtual/svg-tag.js.map +0 -1
- package/dist/_virtual/utils.js +0 -5
- package/dist/_virtual/utils.js.map +0 -1
- package/dist/_virtual/utils2.js +0 -5
- package/dist/_virtual/utils2.js.map +0 -1
- package/dist/_virtual/version-check.js +0 -5
- package/dist/_virtual/version-check.js.map +0 -1
- package/dist/_virtual/version.js +0 -5
- package/dist/_virtual/version.js.map +0 -1
- package/dist/index-_Edcmck_.js +0 -170
- package/dist/martyrs/dist/main-xL-jtBkT.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js +0 -1336
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +0 -166
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +0 -118
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +0 -360
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/twofa.js +0 -40
- package/dist/martyrs/src/modules/auth/views/store/twofa.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js +0 -43
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +0 -47
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +0 -29
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +0 -89
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +0 -136
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +0 -238
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +0 -9
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js +0 -134
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js.map +0 -1
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js +0 -106
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js +0 -79
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js +0 -43
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -85
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js +0 -40
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js +0 -34
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js +0 -36
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js +0 -367
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js +0 -52
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js +0 -25
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js +0 -24
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js +0 -46
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js +0 -149
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js +0 -90
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js +0 -41
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js +0 -44
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js +0 -279
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js +0 -33
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js +0 -201
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +0 -84
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js +0 -107
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js +0 -61
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js +0 -64
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +0 -87
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js.map +0 -1
- package/dist/profile.schema-CjLOfG7b.js +0 -92
- package/src/modules/auth/controllers/middlewares/visitor.logger.js +0 -75
- package/src/modules/auth/controllers/routes/twofa.routes.js +0 -8
- package/src/modules/auth/controllers/services/twofa.service.js +0 -30
- package/src/modules/auth/models/request.model.js +0 -14
- package/src/modules/auth/models/visitor.model.js +0 -11
- package/src/modules/auth/views/components/pages/EnterCode.vue +0 -204
- package/src/modules/auth/views/components/pages/EnterPassword.vue +0 -123
- package/src/modules/auth/views/components/sections/ProfileEditCredentials.vue +0 -329
- package/src/modules/auth/views/store/twofa.js +0 -70
- package/src/modules/auth//320/220/320/240/320/245/320/230/320/242/320/225/320/232/320/242/320/243/320/240/320/220.md +0 -445
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as middlewareIndexFactory } from "./index-
|
|
1
|
+
import { m as middlewareIndexFactory } from "./index-kvBwwb0w.js";
|
|
2
2
|
import { C as CacheNamespaced } from "./core.cache-DALYFDdy.js";
|
|
3
3
|
import { q as queryProcessorCore } from "./queryProcessor-C_5Iipam.js";
|
|
4
4
|
import { b as getLookupStages } from "./queryProcessorOrganizations-BB11WFpc.js";
|
|
@@ -369,7 +369,7 @@ const marketplaceRoutes = (function(app, db) {
|
|
|
369
369
|
controller.readCatalog
|
|
370
370
|
);
|
|
371
371
|
});
|
|
372
|
-
function initializeMarketplace(app, db, origins, publicPath) {
|
|
372
|
+
function initializeMarketplace({ app, db, origins, publicPath }) {
|
|
373
373
|
if (app) {
|
|
374
374
|
marketplaceRoutes(app, db);
|
|
375
375
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, computed, createElementBlock, createCommentVNode, onMounted, onBeforeUnmount, watch, openBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, nextTick, defineComponent, h, reactive, isReactive } from "vue";
|
|
1
|
+
import { ref, computed, createElementBlock, createCommentVNode, onMounted, onBeforeUnmount, watch, openBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, withModifiers, createBlock, createTextVNode, toDisplayString, nextTick, defineComponent, h, reactive, isReactive } from "vue";
|
|
2
2
|
import "vue-router";
|
|
3
3
|
import "vue-i18n";
|
|
4
4
|
import "axios";
|
|
@@ -6,13 +6,166 @@ var Ve;
|
|
|
6
6
|
(function(e) {
|
|
7
7
|
e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
|
|
8
8
|
})(Ve || (Ve = {}));
|
|
9
|
-
const
|
|
9
|
+
const ca = {
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "48",
|
|
12
|
+
height: "48",
|
|
13
|
+
viewBox: "0 0 48 48",
|
|
14
|
+
fill: "none"
|
|
15
|
+
}, fa = ["fill"], Pn = {
|
|
16
|
+
__name: "IconCheckmark",
|
|
17
|
+
props: {
|
|
18
|
+
fill: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
setup(e) {
|
|
24
|
+
return (n, t) => (openBlock(), createElementBlock("svg", ca, [
|
|
25
|
+
createElementVNode("path", {
|
|
26
|
+
fill: e.fill,
|
|
27
|
+
"fill-rule": "evenodd",
|
|
28
|
+
"clip-rule": "evenodd",
|
|
29
|
+
d: "M19.1081 37.3513C18.3271 38.1323 17.061 38.1323 16.2799 37.3515L7.41509 28.4891C6.63367 27.7079 6.63381 26.441 7.4154 25.66L9.04833 24.0282C9.82946 23.2476 11.0954 23.2478 11.8763 24.0287L17.6941 29.8465L36.1264 11.4142C36.9074 10.6332 38.1738 10.6332 38.9548 11.4142L40.5858 13.0452C41.3668 13.8262 41.3668 15.0926 40.5858 15.8736L19.1081 37.3513Z"
|
|
30
|
+
}, null, 8, fa)
|
|
31
|
+
]));
|
|
32
|
+
}
|
|
33
|
+
}, $a = {
|
|
34
|
+
width: "100pt",
|
|
35
|
+
height: "100pt",
|
|
36
|
+
version: "1.1",
|
|
37
|
+
viewBox: "0 0 100 100",
|
|
38
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
39
|
+
}, ma = ["fill"], it = {
|
|
40
|
+
__name: "IconCross",
|
|
41
|
+
props: {
|
|
42
|
+
fill: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: "currentColor"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(e) {
|
|
48
|
+
return (n, t) => (openBlock(), createElementBlock("svg", $a, [
|
|
49
|
+
createElementVNode("path", {
|
|
50
|
+
fill: e.fill,
|
|
51
|
+
d: "m22.055 22.055c1.625-1.6289 4.2656-1.6289 5.8906 0l22.055 22.055 22.055-22.055c1.625-1.6289 4.2656-1.6289 5.8906 0 1.6289 1.625 1.6289 4.2656 0 5.8906l-22.055 22.055 22.055 22.055c1.6289 1.625 1.6289 4.2656 0 5.8906-1.625 1.6289-4.2656 1.6289-5.8906 0l-22.055-22.055-22.055 22.055c-1.625 1.6289-4.2656 1.6289-5.8906 0-1.6289-1.625-1.6289-4.2656 0-5.8906l22.055-22.055-22.055-22.055c-1.6289-1.625-1.6289-4.2656 0-5.8906z"
|
|
52
|
+
}, null, 8, ma)
|
|
53
|
+
]));
|
|
54
|
+
}
|
|
55
|
+
}, ha = ["disabled"], va = {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "button-counter font-second flex flex-center"
|
|
58
|
+
}, On = {
|
|
59
|
+
__name: "Button",
|
|
60
|
+
props: {
|
|
61
|
+
submit: {
|
|
62
|
+
type: Function,
|
|
63
|
+
default: async () => {
|
|
64
|
+
console.log("Button click.");
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
text: {
|
|
68
|
+
type: Object,
|
|
69
|
+
default: () => ({
|
|
70
|
+
success: null,
|
|
71
|
+
error: null
|
|
72
|
+
})
|
|
73
|
+
},
|
|
74
|
+
counter: {
|
|
75
|
+
type: Object
|
|
76
|
+
},
|
|
77
|
+
callback: {
|
|
78
|
+
type: Function,
|
|
79
|
+
default: async () => {
|
|
80
|
+
console.log("Button callback.");
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
callbackDelay: {
|
|
84
|
+
type: Number,
|
|
85
|
+
default: 750
|
|
86
|
+
},
|
|
87
|
+
showSucces: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
default: true
|
|
90
|
+
},
|
|
91
|
+
showLoader: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
default: true
|
|
94
|
+
},
|
|
95
|
+
validation: {
|
|
96
|
+
type: Boolean,
|
|
97
|
+
default: false
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
emits: ["error"],
|
|
101
|
+
setup(e, { emit: n }) {
|
|
102
|
+
const t = e, a = n, l = ref(null), r = ref(null), o = ref(false), i = ref(false);
|
|
103
|
+
async function s() {
|
|
104
|
+
console.log("click"), l.value.style["pointer-events"] = "none", r.value = null, o.value = true;
|
|
105
|
+
const d = () => {
|
|
106
|
+
l.value && (l.value.style.pointerEvents = "auto", o.value = false, i.value = false, r.value = null);
|
|
107
|
+
};
|
|
108
|
+
try {
|
|
109
|
+
await t.submit(), l.value.classList.replace("bg-main", "bg-second"), o.value = false, t.showSucces ? (i.value = true, setTimeout(() => {
|
|
110
|
+
d(), l.value.classList.replace("bg-second", "bg-main");
|
|
111
|
+
}, 500)) : (d(), l.value.classList.replace("bg-second", "bg-main")), t.callback && setTimeout(() => t.callback(), t.callbackDelay);
|
|
112
|
+
} catch (c) {
|
|
113
|
+
console.error("=== BUTTON ERROR ===", c), a("error", c), l.value.classList.replace("bg-main", "bg-fourth-nano"), o.value = false, r.value = true, setTimeout(() => {
|
|
114
|
+
d(), l.value.classList.replace("bg-fourth-nano", "bg-main");
|
|
115
|
+
}, 1330);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return (d, c) => (openBlock(), createElementBlock("button", {
|
|
119
|
+
onClick: withModifiers(s, ["stop"]),
|
|
120
|
+
disabled: e.validation,
|
|
121
|
+
ref_key: "button",
|
|
122
|
+
ref: l,
|
|
123
|
+
class: normalizeClass(["button", { "button--disabled": o.value || e.validation }])
|
|
124
|
+
}, [
|
|
125
|
+
createElementVNode("span", {
|
|
126
|
+
class: normalizeClass(["button-content", { hidden: o.value || r.value || i.value }])
|
|
127
|
+
}, [
|
|
128
|
+
renderSlot(d.$slots, "default")
|
|
129
|
+
], 2),
|
|
130
|
+
createElementVNode("span", {
|
|
131
|
+
class: normalizeClass(["button-loader", { active: o.value && e.showLoader }])
|
|
132
|
+
}, c[0] || (c[0] = [
|
|
133
|
+
createElementVNode("span", { class: "dot" }, null, -1),
|
|
134
|
+
createElementVNode("span", { class: "dot" }, null, -1),
|
|
135
|
+
createElementVNode("span", { class: "dot" }, null, -1)
|
|
136
|
+
]), 2),
|
|
137
|
+
createElementVNode("span", {
|
|
138
|
+
class: normalizeClass(["button-success", { active: i.value && e.showSucces }])
|
|
139
|
+
}, [
|
|
140
|
+
e.text.success ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
141
|
+
createTextVNode(toDisplayString(e.text.success), 1)
|
|
142
|
+
], 64)) : (openBlock(), createBlock(Pn, {
|
|
143
|
+
key: 1,
|
|
144
|
+
class: "i-regular"
|
|
145
|
+
}))
|
|
146
|
+
], 2),
|
|
147
|
+
createElementVNode("span", {
|
|
148
|
+
class: normalizeClass(["button-error", { active: r.value }])
|
|
149
|
+
}, [
|
|
150
|
+
e.text.error ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
151
|
+
createTextVNode(toDisplayString(e.text.error), 1)
|
|
152
|
+
], 64)) : (openBlock(), createBlock(it, {
|
|
153
|
+
key: 1,
|
|
154
|
+
class: "i-regular"
|
|
155
|
+
}))
|
|
156
|
+
], 2),
|
|
157
|
+
e.counter ? (openBlock(), createElementBlock("div", va, [
|
|
158
|
+
createElementVNode("span", null, toDisplayString(e.counter), 1)
|
|
159
|
+
])) : createCommentVNode("", true)
|
|
160
|
+
], 10, ha));
|
|
161
|
+
}
|
|
162
|
+
}, $e = (e, n) => {
|
|
10
163
|
const t = e.__vccOpts || e;
|
|
11
164
|
for (const [a, l] of n)
|
|
12
165
|
t[a] = l;
|
|
13
166
|
return t;
|
|
14
167
|
};
|
|
15
|
-
const
|
|
168
|
+
const ho = [
|
|
16
169
|
["افغانستان", "af", "93", , "🇦🇫"],
|
|
17
170
|
["Shqipëri", "al", "355", , "🇦🇱"],
|
|
18
171
|
["الجزائر", "dz", "213", , "🇩🇿"],
|
|
@@ -257,7 +410,7 @@ const bo = [
|
|
|
257
410
|
["Zimbabwe", "zw", "263", , "🇿🇼"],
|
|
258
411
|
["Åland Islands", "ax", "358", 1, , "🇦🇽"]
|
|
259
412
|
];
|
|
260
|
-
|
|
413
|
+
ho.map((e) => ({
|
|
261
414
|
name: e[0],
|
|
262
415
|
iso2: e[1].toUpperCase(),
|
|
263
416
|
dialCode: e[2],
|
|
@@ -266,10 +419,10 @@ bo.map((e) => ({
|
|
|
266
419
|
flag: e[e.length - 1] || null
|
|
267
420
|
}));
|
|
268
421
|
/*! Capacitor: https://capacitorjs.com/ - MIT License */
|
|
269
|
-
var
|
|
422
|
+
var Ge;
|
|
270
423
|
(function(e) {
|
|
271
424
|
e.Unimplemented = "UNIMPLEMENTED", e.Unavailable = "UNAVAILABLE";
|
|
272
|
-
})(
|
|
425
|
+
})(Ge || (Ge = {}));
|
|
273
426
|
class yt extends Error {
|
|
274
427
|
constructor(n, t, a) {
|
|
275
428
|
super(n), this.message = n, this.code = t, this.data = a;
|
|
@@ -280,18 +433,18 @@ const ws = (e) => {
|
|
|
280
433
|
return e?.androidBridge ? "android" : !((t = (n = e?.webkit) === null || n === void 0 ? void 0 : n.messageHandlers) === null || t === void 0) && t.bridge ? "ios" : "web";
|
|
281
434
|
}, xs = (e) => {
|
|
282
435
|
const n = e.CapacitorCustomPlatform || null, t = e.Capacitor || {}, a = t.Plugins = t.Plugins || {}, l = () => n !== null ? n.name : ws(e), r = () => l() !== "web", o = (m) => {
|
|
283
|
-
const
|
|
284
|
-
return !!(
|
|
436
|
+
const $ = d.get(m);
|
|
437
|
+
return !!($?.platforms.has(l()) || i(m));
|
|
285
438
|
}, i = (m) => {
|
|
286
|
-
var
|
|
287
|
-
return (
|
|
288
|
-
}, s = (m) => e.console.error(m), d = /* @__PURE__ */ new Map(), c = (m,
|
|
439
|
+
var $;
|
|
440
|
+
return ($ = t.PluginHeaders) === null || $ === void 0 ? void 0 : $.find((p) => p.name === m);
|
|
441
|
+
}, s = (m) => e.console.error(m), d = /* @__PURE__ */ new Map(), c = (m, $ = {}) => {
|
|
289
442
|
const p = d.get(m);
|
|
290
443
|
if (p)
|
|
291
444
|
return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`), p.proxy;
|
|
292
445
|
const b = l(), C = i(m);
|
|
293
446
|
let L;
|
|
294
|
-
const M = async () => (!L && b in
|
|
447
|
+
const M = async () => (!L && b in $ ? L = typeof $[b] == "function" ? L = await $[b]() : L = $[b] : n !== null && !L && "web" in $ && (L = typeof $.web == "function" ? L = await $.web() : L = $.web), L), _ = (N, J) => {
|
|
295
448
|
var O, k;
|
|
296
449
|
if (C) {
|
|
297
450
|
const D = C?.methods.find((T) => J === T.name);
|
|
@@ -302,7 +455,7 @@ const ws = (e) => {
|
|
|
302
455
|
} else {
|
|
303
456
|
if (N)
|
|
304
457
|
return (k = N[J]) === null || k === void 0 ? void 0 : k.bind(N);
|
|
305
|
-
throw new yt(`"${m}" plugin is not implemented on ${b}`,
|
|
458
|
+
throw new yt(`"${m}" plugin is not implemented on ${b}`, Ge.Unimplemented);
|
|
306
459
|
}
|
|
307
460
|
}, h2 = (N) => {
|
|
308
461
|
let J;
|
|
@@ -313,7 +466,7 @@ const ws = (e) => {
|
|
|
313
466
|
const le = H(...k);
|
|
314
467
|
return J = le?.remove, le;
|
|
315
468
|
} else
|
|
316
|
-
throw new yt(`"${m}.${N}()" is not implemented on ${b}`,
|
|
469
|
+
throw new yt(`"${m}.${N}()" is not implemented on ${b}`, Ge.Unimplemented);
|
|
317
470
|
});
|
|
318
471
|
return N === "addListener" && (D.remove = async () => J()), D;
|
|
319
472
|
};
|
|
@@ -322,8 +475,8 @@ const ws = (e) => {
|
|
|
322
475
|
writable: false,
|
|
323
476
|
configurable: false
|
|
324
477
|
}), O;
|
|
325
|
-
},
|
|
326
|
-
const O =
|
|
478
|
+
}, y = h2("addListener"), w = h2("removeListener"), z = (N, J) => {
|
|
479
|
+
const O = y({ eventName: N }, J), k = async () => {
|
|
327
480
|
const T = await O;
|
|
328
481
|
w({
|
|
329
482
|
eventName: N,
|
|
@@ -342,7 +495,7 @@ const ws = (e) => {
|
|
|
342
495
|
case "toJSON":
|
|
343
496
|
return () => ({});
|
|
344
497
|
case "addListener":
|
|
345
|
-
return C ? z :
|
|
498
|
+
return C ? z : y;
|
|
346
499
|
case "removeListener":
|
|
347
500
|
return w;
|
|
348
501
|
default:
|
|
@@ -353,7 +506,7 @@ const ws = (e) => {
|
|
|
353
506
|
return a[m] = V, d.set(m, {
|
|
354
507
|
name: m,
|
|
355
508
|
proxy: V,
|
|
356
|
-
platforms: /* @__PURE__ */ new Set([...Object.keys(
|
|
509
|
+
platforms: /* @__PURE__ */ new Set([...Object.keys($), ...C ? [b] : []])
|
|
357
510
|
}), V;
|
|
358
511
|
};
|
|
359
512
|
return t.convertFileSrc || (t.convertFileSrc = (m) => m), t.getPlatform = l, t.handleError = s, t.isNativePlatform = r, t.isPluginAvailable = o, t.registerPlugin = c, t.Exception = yt, t.DEBUG = !!t.DEBUG, t.isLoggingEnabled = !!t.isLoggingEnabled, t;
|
|
@@ -402,10 +555,10 @@ class Rn {
|
|
|
402
555
|
};
|
|
403
556
|
}
|
|
404
557
|
unimplemented(n = "not implemented") {
|
|
405
|
-
return new Tt.Exception(n,
|
|
558
|
+
return new Tt.Exception(n, Ge.Unimplemented);
|
|
406
559
|
}
|
|
407
560
|
unavailable(n = "not available") {
|
|
408
|
-
return new Tt.Exception(n,
|
|
561
|
+
return new Tt.Exception(n, Ge.Unavailable);
|
|
409
562
|
}
|
|
410
563
|
async removeListener(n, t) {
|
|
411
564
|
const a = this.listeners[n];
|
|
@@ -536,8 +689,8 @@ class Is extends Rn {
|
|
|
536
689
|
s = await r.text();
|
|
537
690
|
}
|
|
538
691
|
const c = {};
|
|
539
|
-
return r.headers.forEach((m,
|
|
540
|
-
c[
|
|
692
|
+
return r.headers.forEach((m, $) => {
|
|
693
|
+
c[$] = m;
|
|
541
694
|
}), {
|
|
542
695
|
data: s,
|
|
543
696
|
headers: c,
|
|
@@ -585,7 +738,7 @@ Vt("CapacitorHttp", {
|
|
|
585
738
|
web: () => new Is()
|
|
586
739
|
});
|
|
587
740
|
const bn = Vt("Preferences", {
|
|
588
|
-
web: () => import("./web-
|
|
741
|
+
web: () => import("./web-O7lXcjg0.js").then((e) => new e.PreferencesWeb())
|
|
589
742
|
});
|
|
590
743
|
class Ls {
|
|
591
744
|
constructor(n) {
|
|
@@ -748,7 +901,7 @@ function Di(e, n, t, a, l, r) {
|
|
|
748
901
|
}, null, 8, Mi)
|
|
749
902
|
]);
|
|
750
903
|
}
|
|
751
|
-
const Ei = /* @__PURE__ */
|
|
904
|
+
const Ei = /* @__PURE__ */ $e(Ii, [["render", Di]]);
|
|
752
905
|
defineComponent({
|
|
753
906
|
props: {},
|
|
754
907
|
setup(e, { slots: n }) {
|
|
@@ -821,25 +974,25 @@ const uu = {
|
|
|
821
974
|
},
|
|
822
975
|
emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
|
|
823
976
|
setup(e, { emit: n }) {
|
|
824
|
-
const t = e, a = n, l = ref(false), r = ref(0), o = ref(0), i = ref(null), s = ref(null), d = ref(null), c = ref(null), m = ref({ width: 0, height: 0 }),
|
|
977
|
+
const t = e, a = n, l = ref(false), r = ref(0), o = ref(0), i = ref(null), s = ref(null), d = ref(null), c = ref(null), m = ref({ width: 0, height: 0 }), $ = ref("100%"), p = ref(0), b = ref(0), C = ref("100%"), L = ref(0), M = ref(0), _ = ref("200px"), h2 = ref(false), y = ref(null), w = ref(null), z = async () => {
|
|
825
978
|
t.vertical && (h2.value = true), await nextTick();
|
|
826
979
|
const T = () => {
|
|
827
|
-
if (
|
|
828
|
-
if (
|
|
829
|
-
if (t.vertical && "clientHeight" in
|
|
830
|
-
M.value =
|
|
980
|
+
if ($.value = "0%", C.value = "0%", y.value !== null && w.value !== null)
|
|
981
|
+
if (y.value && w.value)
|
|
982
|
+
if (t.vertical && "clientHeight" in y.value && "clientHeight" in w.value) {
|
|
983
|
+
M.value = y.value.clientHeight, L.value = w.value.clientHeight;
|
|
831
984
|
const H = Math.ceil(L.value / M.value);
|
|
832
985
|
return r.value = isFinite(H) ? H : 0, h2.value = false, r.value;
|
|
833
|
-
} else if (!t.vertical && "clientWidth" in
|
|
834
|
-
b.value =
|
|
986
|
+
} else if (!t.vertical && "clientWidth" in y.value && "clientWidth" in w.value) {
|
|
987
|
+
b.value = y.value.clientWidth, p.value = w.value.clientWidth;
|
|
835
988
|
const H = Math.ceil(p.value / b.value);
|
|
836
989
|
return r.value = isFinite(H) ? H : 0, r.value;
|
|
837
990
|
} else
|
|
838
|
-
return
|
|
991
|
+
return $.value = "100%", C.value = "100%", 0;
|
|
839
992
|
else
|
|
840
|
-
return
|
|
993
|
+
return $.value = "100%", C.value = "100%", 0;
|
|
841
994
|
else
|
|
842
|
-
return
|
|
995
|
+
return $.value = "100%", C.value = "100%", 0;
|
|
843
996
|
};
|
|
844
997
|
T(), typeof ResizeObserver < "u" && w.value ? (s.value && s.value.disconnect(), s.value = new ResizeObserver((H) => {
|
|
845
998
|
const le = H[0], ne = le.contentRect.width, oe = le.contentRect.height, be = Math.abs(ne - m.value.width) > 1, Fe = Math.abs(oe - m.value.height) > 1;
|
|
@@ -867,11 +1020,11 @@ const uu = {
|
|
|
867
1020
|
"--pauseAnimation": `${t.vertical && h2.value || t.pause ? "paused" : "running"}`,
|
|
868
1021
|
"--gradient-color": t.gradientColor,
|
|
869
1022
|
"--gradient-length": `${_.value}`,
|
|
870
|
-
"--min-width": `${
|
|
1023
|
+
"--min-width": `${$.value}`,
|
|
871
1024
|
"--min-height": `${C.value}`,
|
|
872
1025
|
"--orientation": t.vertical ? "scrollY" : "scrollX"
|
|
873
1026
|
})), D = async () => {
|
|
874
|
-
t.vertical ? (C.value = "100%",
|
|
1027
|
+
t.vertical ? (C.value = "100%", $.value = "auto") : (C.value = "auto", $.value = "100%"), t.gradient && t.gradientLength && (_.value = t.gradientLength), t.clone && await z(), l.value = true;
|
|
875
1028
|
};
|
|
876
1029
|
return onMounted(async () => {
|
|
877
1030
|
D(), i.value = setInterval(() => {
|
|
@@ -902,7 +1055,7 @@ const uu = {
|
|
|
902
1055
|
createElementVNode("div", {
|
|
903
1056
|
class: "marquee",
|
|
904
1057
|
ref_key: "marqueeContent",
|
|
905
|
-
ref:
|
|
1058
|
+
ref: y
|
|
906
1059
|
}, [
|
|
907
1060
|
renderSlot(T.$slots, "default")
|
|
908
1061
|
], 512),
|
|
@@ -921,6 +1074,7 @@ const uu = {
|
|
|
921
1074
|
};
|
|
922
1075
|
export {
|
|
923
1076
|
Rn as W,
|
|
1077
|
+
On as b,
|
|
924
1078
|
cu as r
|
|
925
1079
|
};
|
|
926
|
-
//# sourceMappingURL=main-
|
|
1080
|
+
//# sourceMappingURL=main-BIf-WirR.js.map
|