@ozdao/martyrs 0.2.585 → 0.2.586
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 +161 -96
- package/dist/{authJwt-J1csaMWA.js → authJwt-DKbMMjw0.js} +33 -0
- package/dist/chats.server.js +2 -2
- package/dist/community.server.js +1 -1
- package/dist/core.server.js +191 -2
- 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 +2 -2
- package/dist/files.server.js +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/index-kvBwwb0w.js +427 -0
- package/dist/inventory.server.js +2 -2
- 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 +1 -1
- 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/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 +1 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -1
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue2.js → Spoiler.vue.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.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/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/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/pages/BlogPost.vue.js +1 -1
- 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 +1 -1
- 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 +63 -47
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- 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 +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.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.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 +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- 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 +1 -1
- 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/organizations/components/blocks/CardDepartment.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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- 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 +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +0 -1
- 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/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 +2 -2
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.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/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- 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 +1 -1
- package/dist/orders.server.js +7 -6
- package/dist/organizations.server.js +2 -2
- package/dist/products.server.js +2 -2
- package/dist/profile.schema-C31Lynn3.js +21 -0
- package/dist/rents.server.js +1 -1
- package/dist/sessions.service-COcwjd0f.js +86 -0
- package/dist/style.css +178 -108
- 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 +2 -2
- package/dist/{web-BA6h6Z8P.js → web-O7lXcjg0.js} +1 -1
- package/package.json +5 -1
- package/src/cli/commands/create.js +106 -0
- package/src/cli/index.js +25 -0
- package/src/cli/templates/app/.env.development.mustache +14 -0
- package/src/cli/templates/app/.env.production.mustache +14 -0
- package/src/cli/templates/app/Dockerfile +36 -0
- package/src/cli/templates/app/babel.config.js +14 -0
- package/src/cli/templates/app/env.js +3 -0
- package/src/cli/templates/app/index.js +46 -0
- package/src/cli/templates/app/mongodb.config.js +18 -0
- package/src/cli/templates/app/package.json.mustache +65 -0
- package/src/cli/templates/app/src/client.js +22 -0
- package/src/cli/templates/app/src/components/pages/Index.vue +11 -0
- package/src/cli/templates/app/src/configs/global.config.js.mustache +40 -0
- package/src/cli/templates/app/src/localization/extensions.js +2 -0
- package/src/cli/templates/app/src/localization/index.js +44 -0
- package/src/cli/templates/app/src/localization/overrides.js +2 -0
- package/src/cli/templates/app/src/localization/translations.js +10 -0
- package/src/cli/templates/app/src/models/index.js +9 -0
- package/src/cli/templates/app/src/router/index.js +48 -0
- package/src/cli/templates/app/src/scss/theme.scss +18 -0
- package/src/cli/templates/app/src/server.js +68 -0
- package/src/cli/templates/app/src/store/index.js +9 -0
- package/src/cli/templates/docker-compose.yaml.mustache +47 -0
- package/src/cli/templates/nginx/Dockerfile +5 -0
- package/src/cli/templates/nginx/default.conf.mustache +55 -0
- package/src/cli/templates/public/favicon/.gitkeep +0 -0
- package/src/cli/templates/start-dev.sh.mustache +131 -0
- package/src/cli/templates/start-prod.sh.mustache +12 -0
- 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 +4 -15
- 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/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 +45 -3
- 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/orders/controllers/orders.controller.js +3 -3
- package/src/modules/products/components/pages/Products.vue +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/Spoiler/Spoiler.vue2.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/core/views/components/sections/Filters.vue2.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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
services:
|
|
2
|
+
{{projectNameLower}}:
|
|
3
|
+
restart: always
|
|
4
|
+
build:
|
|
5
|
+
context: .
|
|
6
|
+
dockerfile: ./app/Dockerfile
|
|
7
|
+
container_name: {{projectNameLower}}
|
|
8
|
+
hostname: {{projectNameLower}}
|
|
9
|
+
logging:
|
|
10
|
+
driver: "json-file"
|
|
11
|
+
options:
|
|
12
|
+
max-size: "200m"
|
|
13
|
+
max-file: "10"
|
|
14
|
+
environment:
|
|
15
|
+
- NODE_ENV=production
|
|
16
|
+
- API_URL=http://localhost
|
|
17
|
+
- PORT=8080
|
|
18
|
+
ports:
|
|
19
|
+
- "8080:8080"
|
|
20
|
+
networks:
|
|
21
|
+
- app-net
|
|
22
|
+
volumes:
|
|
23
|
+
- './public:/public'
|
|
24
|
+
- builds_web:/app/builds/web/client
|
|
25
|
+
|
|
26
|
+
nginx:
|
|
27
|
+
image: nginx:1.27-alpine
|
|
28
|
+
restart: unless-stopped
|
|
29
|
+
container_name: nginx_{{projectNameLower}}
|
|
30
|
+
hostname: nginx_{{projectNameLower}}
|
|
31
|
+
volumes:
|
|
32
|
+
- './public:/usr/share/nginx/html:ro'
|
|
33
|
+
- builds_web:/usr/share/nginx/builds:ro
|
|
34
|
+
- './nginx/default.conf:/etc/nginx/conf.d/default.conf:ro'
|
|
35
|
+
networks:
|
|
36
|
+
- app-net
|
|
37
|
+
depends_on:
|
|
38
|
+
- {{projectNameLower}}
|
|
39
|
+
ports:
|
|
40
|
+
- "80:80"
|
|
41
|
+
|
|
42
|
+
networks:
|
|
43
|
+
app-net:
|
|
44
|
+
driver: bridge
|
|
45
|
+
|
|
46
|
+
volumes:
|
|
47
|
+
builds_web:
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
client_max_body_size 100M;
|
|
2
|
+
|
|
3
|
+
gzip on;
|
|
4
|
+
gzip_vary on;
|
|
5
|
+
gzip_proxied any;
|
|
6
|
+
gzip_comp_level 6;
|
|
7
|
+
gzip_buffers 16 8k;
|
|
8
|
+
gzip_http_version 1.1;
|
|
9
|
+
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
|
10
|
+
|
|
11
|
+
server {
|
|
12
|
+
listen 80;
|
|
13
|
+
server_name localhost;
|
|
14
|
+
server_tokens off;
|
|
15
|
+
client_max_body_size 100M;
|
|
16
|
+
|
|
17
|
+
location ~ \.(js|json|css|map)$ {
|
|
18
|
+
root /usr/share/nginx/builds;
|
|
19
|
+
access_log off;
|
|
20
|
+
expires max;
|
|
21
|
+
add_header Cache-Control "public, immutable";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
location / {
|
|
25
|
+
root /usr/share/nginx/html;
|
|
26
|
+
try_files $uri @backend;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
location @backend {
|
|
30
|
+
proxy_pass http://{{projectNameLower}}:8080;
|
|
31
|
+
proxy_http_version 1.1;
|
|
32
|
+
proxy_set_header Host $host;
|
|
33
|
+
proxy_buffers 8 16k;
|
|
34
|
+
proxy_buffer_size 16k;
|
|
35
|
+
proxy_set_header Cookie $http_cookie;
|
|
36
|
+
proxy_set_header X-NginX-Proxy true;
|
|
37
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
38
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
39
|
+
proxy_set_header X-Forwarded-Proto https;
|
|
40
|
+
proxy_read_timeout 86400;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
location /api/ws {
|
|
44
|
+
proxy_pass http://{{projectNameLower}}:8020;
|
|
45
|
+
proxy_http_version 1.1;
|
|
46
|
+
proxy_set_header Upgrade $http_upgrade;
|
|
47
|
+
proxy_set_header Connection "upgrade";
|
|
48
|
+
proxy_set_header Host $host;
|
|
49
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
50
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
51
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
52
|
+
proxy_read_timeout 86400;
|
|
53
|
+
proxy_buffering off;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
echo "Checking ports..."
|
|
4
|
+
lsof -ti:{{port}} | xargs kill -9 2>/dev/null
|
|
5
|
+
lsof -ti:{{portNginx}} | xargs kill -9 2>/dev/null
|
|
6
|
+
lsof -ti:{{portWss}} | xargs kill -9 2>/dev/null
|
|
7
|
+
|
|
8
|
+
cd "$(dirname "$0")/app"
|
|
9
|
+
|
|
10
|
+
echo "Starting development app on port {{port}}..."
|
|
11
|
+
NODE_ENV=development PORT={{port}} PORT_WSS={{portWss}} node --loader esm-module-alias/loader index.js &
|
|
12
|
+
APP_PID=$!
|
|
13
|
+
|
|
14
|
+
echo "Waiting for app to start..."
|
|
15
|
+
sleep 5
|
|
16
|
+
|
|
17
|
+
if ! kill -0 $APP_PID 2>/dev/null; then
|
|
18
|
+
echo "Error: App failed to start"
|
|
19
|
+
exit 1
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
PROJECT_ROOT="$(dirname "$0")"
|
|
23
|
+
|
|
24
|
+
cat > /tmp/nginx-dev.conf <<EOF
|
|
25
|
+
worker_processes auto;
|
|
26
|
+
error_log /tmp/nginx-error.log warn;
|
|
27
|
+
pid /tmp/nginx.pid;
|
|
28
|
+
|
|
29
|
+
events {
|
|
30
|
+
worker_connections 1024;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
http {
|
|
34
|
+
default_type application/octet-stream;
|
|
35
|
+
|
|
36
|
+
types {
|
|
37
|
+
text/html html htm shtml;
|
|
38
|
+
text/css css;
|
|
39
|
+
text/xml xml;
|
|
40
|
+
application/javascript js;
|
|
41
|
+
application/json json;
|
|
42
|
+
image/gif gif;
|
|
43
|
+
image/jpeg jpeg jpg;
|
|
44
|
+
image/png png;
|
|
45
|
+
image/svg+xml svg svgz;
|
|
46
|
+
image/webp webp;
|
|
47
|
+
font/woff woff;
|
|
48
|
+
font/woff2 woff2;
|
|
49
|
+
application/x-font-ttf ttf;
|
|
50
|
+
application/vnd.ms-fontobject eot;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
client_max_body_size 100M;
|
|
54
|
+
|
|
55
|
+
gzip on;
|
|
56
|
+
gzip_vary on;
|
|
57
|
+
gzip_proxied any;
|
|
58
|
+
gzip_comp_level 6;
|
|
59
|
+
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript;
|
|
60
|
+
|
|
61
|
+
server {
|
|
62
|
+
listen {{portNginx}};
|
|
63
|
+
server_name localhost;
|
|
64
|
+
|
|
65
|
+
location ~ \.(js|json|css|map)$ {
|
|
66
|
+
proxy_pass http://127.0.0.1:{{port}};
|
|
67
|
+
proxy_http_version 1.1;
|
|
68
|
+
proxy_set_header Host \$host;
|
|
69
|
+
proxy_set_header X-Real-IP \$remote_addr;
|
|
70
|
+
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
|
71
|
+
proxy_set_header X-Forwarded-Proto \$scheme;
|
|
72
|
+
proxy_buffering off;
|
|
73
|
+
proxy_cache off;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
location / {
|
|
77
|
+
root $PROJECT_ROOT/public;
|
|
78
|
+
try_files \$uri @backend;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
location @backend {
|
|
82
|
+
proxy_pass http://127.0.0.1:{{port}};
|
|
83
|
+
proxy_http_version 1.1;
|
|
84
|
+
proxy_set_header Upgrade \$http_upgrade;
|
|
85
|
+
proxy_set_header Connection "upgrade";
|
|
86
|
+
proxy_set_header Host \$host;
|
|
87
|
+
proxy_set_header X-Real-IP \$remote_addr;
|
|
88
|
+
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
|
89
|
+
proxy_set_header X-Forwarded-Proto \$scheme;
|
|
90
|
+
proxy_read_timeout 86400;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
location /ws {
|
|
94
|
+
proxy_pass http://127.0.0.1:{{port}};
|
|
95
|
+
proxy_http_version 1.1;
|
|
96
|
+
proxy_set_header Upgrade \$http_upgrade;
|
|
97
|
+
proxy_set_header Connection "upgrade";
|
|
98
|
+
proxy_read_timeout 86400;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
location /api/ws {
|
|
102
|
+
proxy_pass http://127.0.0.1:{{portWss}};
|
|
103
|
+
proxy_http_version 1.1;
|
|
104
|
+
proxy_set_header Upgrade \$http_upgrade;
|
|
105
|
+
proxy_set_header Connection "upgrade";
|
|
106
|
+
proxy_set_header Host \$host;
|
|
107
|
+
proxy_set_header X-Real-IP \$remote_addr;
|
|
108
|
+
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
|
109
|
+
proxy_set_header X-Forwarded-Proto \$scheme;
|
|
110
|
+
proxy_read_timeout 86400;
|
|
111
|
+
proxy_buffering off;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
EOF
|
|
116
|
+
|
|
117
|
+
echo "Starting nginx on port {{portNginx}}..."
|
|
118
|
+
nginx -c /tmp/nginx-dev.conf
|
|
119
|
+
|
|
120
|
+
echo ""
|
|
121
|
+
echo "================================="
|
|
122
|
+
echo "Development server started!"
|
|
123
|
+
echo "App: http://localhost:{{port}} (direct)"
|
|
124
|
+
echo "Web: http://localhost:{{portNginx}} (via nginx)"
|
|
125
|
+
echo "================================="
|
|
126
|
+
echo ""
|
|
127
|
+
echo "Press Ctrl+C to stop all services"
|
|
128
|
+
|
|
129
|
+
trap "echo 'Stopping services...'; kill $APP_PID 2>/dev/null; nginx -c /tmp/nginx-dev.conf -s quit 2>/dev/null; exit" SIGINT SIGTERM
|
|
130
|
+
|
|
131
|
+
wait $APP_PID
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
cd "$(dirname "$0")"
|
|
4
|
+
|
|
5
|
+
echo "Starting production with docker-compose..."
|
|
6
|
+
docker-compose up -d --build
|
|
7
|
+
|
|
8
|
+
echo ""
|
|
9
|
+
echo "================================="
|
|
10
|
+
echo "Production server started!"
|
|
11
|
+
echo "Web: http://localhost"
|
|
12
|
+
echo "================================="
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref } from 'vue'
|
|
3
3
|
|
|
4
|
-
import Loader from '@martyrs/src/components/Loader/Loader.vue'
|
|
5
|
-
|
|
6
4
|
import IconCheckmark from '@martyrs/src/modules/icons/navigation/IconCheckmark.vue';
|
|
7
5
|
import IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue';
|
|
8
6
|
|
|
@@ -119,7 +117,9 @@ async function Submit() {
|
|
|
119
117
|
</span>
|
|
120
118
|
|
|
121
119
|
<span class="button-loader" :class="{ 'active': loading && showLoader }">
|
|
122
|
-
<
|
|
120
|
+
<span class="dot"></span>
|
|
121
|
+
<span class="dot"></span>
|
|
122
|
+
<span class="dot"></span>
|
|
123
123
|
</span>
|
|
124
124
|
|
|
125
125
|
<span class="button-success" :class="{ 'active': finished && showSucces }">
|
|
@@ -203,9 +203,17 @@ a.button {
|
|
|
203
203
|
align-items: center;
|
|
204
204
|
justify-content: center;
|
|
205
205
|
gap: 8px;
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
transform: translateY(0);
|
|
207
|
+
opacity: 1;
|
|
208
|
+
transition:
|
|
209
|
+
opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
210
|
+
transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
208
211
|
|
|
212
|
+
&.hidden {
|
|
213
|
+
opacity: 0;
|
|
214
|
+
transform: translateY(4px);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
209
217
|
|
|
210
218
|
.button-loader {
|
|
211
219
|
position: absolute;
|
|
@@ -213,9 +221,39 @@ a.button {
|
|
|
213
221
|
display: flex;
|
|
214
222
|
align-items: center;
|
|
215
223
|
justify-content: center;
|
|
224
|
+
gap: 4px;
|
|
216
225
|
opacity: 0;
|
|
217
|
-
|
|
226
|
+
transform: translateY(4px);
|
|
227
|
+
transition:
|
|
228
|
+
opacity 0.25s cubic-bezier(0.0, 0, 0.2, 1) 0.05s,
|
|
229
|
+
transform 0.25s cubic-bezier(0.0, 0, 0.2, 1) 0.05s;
|
|
218
230
|
pointer-events: none;
|
|
231
|
+
|
|
232
|
+
&.active {
|
|
233
|
+
opacity: 1;
|
|
234
|
+
transform: translateY(0);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.dot {
|
|
238
|
+
width: 6px;
|
|
239
|
+
height: 6px;
|
|
240
|
+
border-radius: 50%;
|
|
241
|
+
background: currentColor;
|
|
242
|
+
animation: dot-bounce 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
|
243
|
+
|
|
244
|
+
&:nth-child(1) { animation-delay: 0s; }
|
|
245
|
+
&:nth-child(2) { animation-delay: 0.12s; }
|
|
246
|
+
&:nth-child(3) { animation-delay: 0.24s; }
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@keyframes dot-bounce {
|
|
251
|
+
0%, 100% {
|
|
252
|
+
transform: translateY(0);
|
|
253
|
+
}
|
|
254
|
+
50% {
|
|
255
|
+
transform: translateY(-5px);
|
|
256
|
+
}
|
|
219
257
|
}
|
|
220
258
|
|
|
221
259
|
.button-success {
|
|
@@ -225,8 +263,16 @@ a.button {
|
|
|
225
263
|
align-items: center;
|
|
226
264
|
justify-content: center;
|
|
227
265
|
opacity: 0;
|
|
228
|
-
|
|
266
|
+
transform: translateY(4px);
|
|
267
|
+
transition:
|
|
268
|
+
opacity 0.2s cubic-bezier(0.0, 0, 0.2, 1),
|
|
269
|
+
transform 0.2s cubic-bezier(0.0, 0, 0.2, 1);
|
|
229
270
|
pointer-events: none;
|
|
271
|
+
|
|
272
|
+
&.active {
|
|
273
|
+
opacity: 1;
|
|
274
|
+
transform: translateY(0);
|
|
275
|
+
}
|
|
230
276
|
}
|
|
231
277
|
|
|
232
278
|
.button-error {
|
|
@@ -236,15 +282,15 @@ a.button {
|
|
|
236
282
|
align-items: center;
|
|
237
283
|
justify-content: center;
|
|
238
284
|
opacity: 0;
|
|
239
|
-
|
|
285
|
+
transform: translateY(4px);
|
|
286
|
+
transition:
|
|
287
|
+
opacity 0.2s cubic-bezier(0.0, 0, 0.2, 1),
|
|
288
|
+
transform 0.2s cubic-bezier(0.0, 0, 0.2, 1);
|
|
240
289
|
pointer-events: none;
|
|
241
|
-
}
|
|
242
290
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
.hidden {
|
|
248
|
-
opacity: 0;
|
|
291
|
+
&.active {
|
|
292
|
+
opacity: 1;
|
|
293
|
+
transform: translateY(0);
|
|
294
|
+
}
|
|
249
295
|
}
|
|
250
296
|
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="circular-loader
|
|
2
|
+
<div class="circular-loader z-index-1 w-100 h-100 w-max-2r h-max-2r" :class="{ 'circular-loader-centered': centered }">
|
|
3
3
|
<svg viewBox="25 25 50 50">
|
|
4
4
|
<circle class="circular-loader-fill" cx="50" cy="50" r="20" fill="none" stroke-width="4" stroke-miterlimit="10" />
|
|
5
5
|
<circle class="circular-loader-circle" cx="50" cy="50" r="20" fill="none" stroke-width="4" stroke-miterlimit="10" />
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="cursor-pointer tooltip-container" @mouseover="showTooltip" @mouseleave="hideTooltip">
|
|
3
3
|
<slot></slot>
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
4
|
+
<Transition name="tooltip">
|
|
5
|
+
<div v-if="visible" class="tooltip-content" :style="{ left: posX, top: posY }">
|
|
6
|
+
<span>{{ text }}</span>
|
|
7
|
+
</div>
|
|
8
|
+
</Transition>
|
|
7
9
|
</div>
|
|
8
10
|
</template>
|
|
9
11
|
|
|
10
12
|
<script setup>
|
|
11
|
-
import { ref
|
|
13
|
+
import { ref } from 'vue';
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
defineProps({
|
|
14
16
|
text: {
|
|
15
17
|
type: String,
|
|
16
18
|
required: true
|
|
@@ -18,39 +20,45 @@ const props = defineProps({
|
|
|
18
20
|
});
|
|
19
21
|
|
|
20
22
|
const visible = ref(false);
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
position: 'absolute',
|
|
24
|
-
width: 'max-content',
|
|
25
|
-
zIndex: 1000,
|
|
26
|
-
background: '#333',
|
|
27
|
-
color: '#fff',
|
|
28
|
-
padding: '5px',
|
|
29
|
-
borderRadius: '3px',
|
|
30
|
-
fontSize: '14px',
|
|
31
|
-
display: 'none',
|
|
32
|
-
});
|
|
23
|
+
const posX = ref('0px');
|
|
24
|
+
const posY = ref('0px');
|
|
33
25
|
|
|
34
26
|
function showTooltip(event) {
|
|
35
27
|
visible.value = true;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
tooltipStyle.display = 'block';
|
|
28
|
+
posX.value = `${(event.clientX / 100) + 10}px`;
|
|
29
|
+
posY.value = `${(event.clientY / 100) + 10}px`;
|
|
39
30
|
}
|
|
40
31
|
|
|
41
32
|
function hideTooltip() {
|
|
42
33
|
visible.value = false;
|
|
43
|
-
tooltipStyle.display = 'none';
|
|
44
34
|
}
|
|
45
35
|
</script>
|
|
46
36
|
|
|
47
|
-
<style >
|
|
37
|
+
<style lang="scss">
|
|
48
38
|
.tooltip-container {
|
|
49
39
|
position: relative;
|
|
50
40
|
display: inline-block;
|
|
51
41
|
}
|
|
52
42
|
|
|
53
43
|
.tooltip-content {
|
|
44
|
+
position: absolute;
|
|
45
|
+
width: max-content;
|
|
46
|
+
z-index: 1000;
|
|
47
|
+
background: #333;
|
|
48
|
+
color: #fff;
|
|
49
|
+
padding: 5px;
|
|
50
|
+
border-radius: 3px;
|
|
51
|
+
font-size: 14px;
|
|
54
52
|
pointer-events: none;
|
|
55
53
|
}
|
|
56
|
-
|
|
54
|
+
|
|
55
|
+
.tooltip-enter-active,
|
|
56
|
+
.tooltip-leave-active {
|
|
57
|
+
transition: opacity 0.2s ease;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.tooltip-enter-from,
|
|
61
|
+
.tooltip-leave-to {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
package/src/modules/TASKS.MD
CHANGED
|
@@ -39,4 +39,33 @@
|
|
|
39
39
|
4. Загружать настройки при старте приложения и кэшировать
|
|
40
40
|
5. Обновить компоненты для получения настроек из store вместо config
|
|
41
41
|
|
|
42
|
-
**Приоритет**: Высокий - статусы заказов особенно критичны для разных проектов
|
|
42
|
+
**Приоритет**: Высокий - статусы заказов особенно критичны для разных проектов
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### SSR Hydration mismatch в i18nManager
|
|
47
|
+
|
|
48
|
+
**Проблема**: `i18nManager` — синглтон. При SSR порядок регистрации модулей может отличаться между сервером и клиентом. В результате `getMessages()` мержит локали в разном порядке, и одинаковые ключи (например `footer.copyright`) резолвятся по-разному.
|
|
49
|
+
|
|
50
|
+
**Симптомы**:
|
|
51
|
+
- Hydration mismatch: сервер рендерит "All rights reserved" (из core), клиент — "© 2025 OZ INTERACTIVE" (из app)
|
|
52
|
+
- Текст из martyrs/core появляется вместо переводов проекта
|
|
53
|
+
|
|
54
|
+
**Текущий костыль**: В проекте добавлять footer в overrides:
|
|
55
|
+
```javascript
|
|
56
|
+
// overrides.js
|
|
57
|
+
export default {
|
|
58
|
+
core: {
|
|
59
|
+
en: { footer: en.footer },
|
|
60
|
+
ru: { footer: ru.footer }
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Решение**:
|
|
66
|
+
1. Гарантировать порядок регистрации модулей (app всегда после core)
|
|
67
|
+
2. Или очищать i18nManager между SSR запросами
|
|
68
|
+
3. Или использовать приоритеты при merge (app > core)
|
|
69
|
+
|
|
70
|
+
**Затронутые файлы**:
|
|
71
|
+
- `src/modules/core/views/classes/i18n.manager.js`
|