@ozdao/martyrs 0.2.601 → 0.2.603
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/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +148 -85
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.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 +4 -4
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +2 -2
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +42 -4
- 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 +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +4 -4
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +9 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +15 -15
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +27 -28
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +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/core/views/components/sections/SectionPageTitle.vue.js +28 -18
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +4 -4
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +4 -4
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +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 +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +16 -16
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +118 -59
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +74 -54
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +6 -6
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +14 -14
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -5
- 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 +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +7 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +13 -13
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +22 -22
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es100.js +33 -0
- package/dist/martyrs.es102.js +39 -0
- package/dist/martyrs.es103.js +31 -0
- package/dist/martyrs.es105.js +27 -0
- package/dist/martyrs.es106.js +8 -0
- package/dist/martyrs.es107.js +9 -0
- package/dist/martyrs.es108.js +79 -0
- package/dist/martyrs.es109.js +7 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/{web-n_ivHO3v.js → martyrs.es110.js} +1 -1
- package/dist/martyrs.es111.js +327 -0
- package/dist/martyrs.es112.js +121 -0
- package/dist/martyrs.es115.js +4 -0
- package/dist/martyrs.es116.js +25 -0
- package/dist/martyrs.es117.js +7 -0
- package/dist/martyrs.es118.js +10 -0
- package/dist/martyrs.es119.js +169 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +460 -0
- package/dist/martyrs.es121.js +42 -0
- package/dist/martyrs.es122.js +12 -0
- package/dist/martyrs.es123.js +52 -0
- package/dist/martyrs.es124.js +14 -0
- package/dist/martyrs.es125.js +47 -0
- package/dist/martyrs.es126.js +7 -0
- package/dist/martyrs.es127.js +131 -0
- package/dist/martyrs.es128.js +103 -0
- package/dist/martyrs.es129.js +89 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +40 -0
- package/dist/martyrs.es131.js +14 -0
- package/dist/martyrs.es132.js +42 -0
- package/dist/martyrs.es133.js +11 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +119 -0
- package/dist/martyrs.es136.js +20 -0
- package/dist/martyrs.es137.js +18 -0
- package/dist/martyrs.es138.js +35 -0
- package/dist/martyrs.es139.js +12 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +23 -0
- package/dist/martyrs.es141.js +12 -0
- package/dist/martyrs.es142.js +11 -0
- package/dist/martyrs.es143.js +47 -0
- package/dist/martyrs.es144.js +483 -0
- package/dist/martyrs.es145.js +8 -0
- package/dist/martyrs.es146.js +4 -0
- package/dist/martyrs.es147.js +14 -0
- package/dist/martyrs.es148.js +33 -0
- package/dist/martyrs.es149.js +19 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es150.js +22 -0
- package/dist/martyrs.es151.js +31 -0
- package/dist/martyrs.es152.js +23 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +7 -0
- package/dist/martyrs.es93.js +35 -0
- package/dist/martyrs.es95.js +41 -0
- package/dist/martyrs.es96.js +59 -0
- package/dist/martyrs.es97.js +123 -0
- package/dist/martyrs.es98.js +43 -0
- package/dist/martyrs.es99.js +86 -0
- package/dist/music.server.js +11 -11
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +27 -10
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { mergeModels, useModel, ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, unref, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createCommentVNode, createBlock } from "vue";
|
|
2
2
|
import { useI18n } from "vue-i18n";
|
|
3
|
-
import
|
|
3
|
+
import Button from "../../../../components/Button/Button.vue2.js";
|
|
4
4
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
5
|
-
import Select from "../../../../components/Select/Select.
|
|
6
|
-
import _sfc_main$
|
|
7
|
-
import _sfc_main$
|
|
5
|
+
import Select from "../../../../components/Select/Select.vue.js";
|
|
6
|
+
import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
7
|
+
import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
10
10
|
const _hoisted_1 = { class: "working-hours-editor w-100" };
|
|
@@ -446,7 +446,7 @@ const _sfc_main = {
|
|
|
446
446
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
447
447
|
createElementVNode("div", _hoisted_2, [
|
|
448
448
|
createElementVNode("h4", _hoisted_3, toDisplayString(unref(t)("workingHours.title")), 1),
|
|
449
|
-
createVNode(
|
|
449
|
+
createVNode(Button, {
|
|
450
450
|
class: "bg-main",
|
|
451
451
|
submit: addRegularDay,
|
|
452
452
|
showSucces: false,
|
|
@@ -480,7 +480,7 @@ const _sfc_main = {
|
|
|
480
480
|
])) : (openBlock(), createElementBlock("div", _hoisted_12, toDisplayString(unref(t)("workingHours.closed")), 1))
|
|
481
481
|
]),
|
|
482
482
|
createElementVNode("div", _hoisted_13, [
|
|
483
|
-
createVNode(
|
|
483
|
+
createVNode(Button, {
|
|
484
484
|
class: "pd-micro bg-light",
|
|
485
485
|
submit: () => editRegularDay(index),
|
|
486
486
|
showSucces: false,
|
|
@@ -491,7 +491,7 @@ const _sfc_main = {
|
|
|
491
491
|
]),
|
|
492
492
|
_: 2
|
|
493
493
|
}, 1032, ["submit"]),
|
|
494
|
-
createVNode(
|
|
494
|
+
createVNode(Button, {
|
|
495
495
|
class: "pd-micro bg-fourth-nano",
|
|
496
496
|
submit: () => removeRegularDay(index),
|
|
497
497
|
showSucces: false,
|
|
@@ -510,7 +510,7 @@ const _sfc_main = {
|
|
|
510
510
|
createElementVNode("div", _hoisted_15, [
|
|
511
511
|
createElementVNode("div", _hoisted_16, [
|
|
512
512
|
createElementVNode("h5", _hoisted_17, toDisplayString(unref(t)("workingHours.specialDays")), 1),
|
|
513
|
-
createVNode(
|
|
513
|
+
createVNode(Button, {
|
|
514
514
|
class: "bg-light mn-l-small",
|
|
515
515
|
submit: addSpecialDay,
|
|
516
516
|
showSucces: false,
|
|
@@ -545,7 +545,7 @@ const _sfc_main = {
|
|
|
545
545
|
])) : (openBlock(), createElementBlock("div", _hoisted_26, toDisplayString(unref(t)("workingHours.closed")), 1))
|
|
546
546
|
]),
|
|
547
547
|
createElementVNode("div", _hoisted_27, [
|
|
548
|
-
createVNode(
|
|
548
|
+
createVNode(Button, {
|
|
549
549
|
class: "pd-micro bg-light",
|
|
550
550
|
submit: () => editSpecialDay(index),
|
|
551
551
|
showSucces: false,
|
|
@@ -556,7 +556,7 @@ const _sfc_main = {
|
|
|
556
556
|
]),
|
|
557
557
|
_: 2
|
|
558
558
|
}, 1032, ["submit"]),
|
|
559
|
-
createVNode(
|
|
559
|
+
createVNode(Button, {
|
|
560
560
|
class: "pd-micro bg-fourth-nano",
|
|
561
561
|
submit: () => removeSpecialDay(index),
|
|
562
562
|
showSucces: false,
|
|
@@ -572,7 +572,7 @@ const _sfc_main = {
|
|
|
572
572
|
}), 128))
|
|
573
573
|
])) : (openBlock(), createElementBlock("div", _hoisted_28, toDisplayString(unref(t)("workingHours.noSpecialDays")), 1))
|
|
574
574
|
]),
|
|
575
|
-
createVNode(_sfc_main$
|
|
575
|
+
createVNode(_sfc_main$1, {
|
|
576
576
|
isPopupOpen: showRegularDayModal.value,
|
|
577
577
|
onClosePopup: _cache[2] || (_cache[2] = ($event) => showRegularDayModal.value = false),
|
|
578
578
|
title: editingRegularIndex.value !== null ? unref(t)("workingHours.editRegularDay") : unref(t)("workingHours.addRegularDay"),
|
|
@@ -588,7 +588,7 @@ const _sfc_main = {
|
|
|
588
588
|
property: "value",
|
|
589
589
|
class: "pos-relative w-100 mn-b-small bg-light radius-small pd-medium"
|
|
590
590
|
}, null, 8, ["select", "options"]),
|
|
591
|
-
createVNode(_sfc_main$
|
|
591
|
+
createVNode(_sfc_main$2, {
|
|
592
592
|
label: unref(t)("workingHours.isOpen"),
|
|
593
593
|
name: "isOpenRegular",
|
|
594
594
|
value: true,
|
|
@@ -599,7 +599,7 @@ const _sfc_main = {
|
|
|
599
599
|
currentRegularDay.value.isOpen ? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
600
600
|
createElementVNode("div", _hoisted_31, [
|
|
601
601
|
createElementVNode("h5", _hoisted_32, toDisplayString(unref(t)("workingHours.periods")), 1),
|
|
602
|
-
createVNode(
|
|
602
|
+
createVNode(Button, {
|
|
603
603
|
class: "pd-micro bg-light",
|
|
604
604
|
submit: addPeriodToRegular,
|
|
605
605
|
showSucces: false,
|
|
@@ -635,7 +635,7 @@ const _sfc_main = {
|
|
|
635
635
|
onBlur: validatePeriods
|
|
636
636
|
}, null, 8, ["field", "onUpdate:field", "label"])
|
|
637
637
|
]),
|
|
638
|
-
currentRegularDay.value.periods.length > 1 ? (openBlock(), createBlock(
|
|
638
|
+
currentRegularDay.value.periods.length > 1 ? (openBlock(), createBlock(Button, {
|
|
639
639
|
key: 0,
|
|
640
640
|
class: "pd-micro bg-fourth-nano",
|
|
641
641
|
submit: () => removeRegularPeriod(pIndex),
|
|
@@ -651,7 +651,7 @@ const _sfc_main = {
|
|
|
651
651
|
}), 128))
|
|
652
652
|
])) : createCommentVNode("", true),
|
|
653
653
|
createElementVNode("div", _hoisted_35, [
|
|
654
|
-
createVNode(
|
|
654
|
+
createVNode(Button, {
|
|
655
655
|
class: "w-100 bg-light",
|
|
656
656
|
submit: () => showRegularDayModal.value = false,
|
|
657
657
|
showSucces: false,
|
|
@@ -662,7 +662,7 @@ const _sfc_main = {
|
|
|
662
662
|
]),
|
|
663
663
|
_: 1
|
|
664
664
|
}, 8, ["submit"]),
|
|
665
|
-
createVNode(
|
|
665
|
+
createVNode(Button, {
|
|
666
666
|
class: "w-100 bg-main",
|
|
667
667
|
submit: saveRegularDay,
|
|
668
668
|
showSucces: false,
|
|
@@ -678,7 +678,7 @@ const _sfc_main = {
|
|
|
678
678
|
]),
|
|
679
679
|
_: 1
|
|
680
680
|
}, 8, ["isPopupOpen", "title"]),
|
|
681
|
-
createVNode(_sfc_main$
|
|
681
|
+
createVNode(_sfc_main$1, {
|
|
682
682
|
isPopupOpen: showSpecialDayModal.value,
|
|
683
683
|
onClosePopup: _cache[6] || (_cache[6] = ($event) => showSpecialDayModal.value = false),
|
|
684
684
|
title: editingSpecialIndex.value !== null ? unref(t)("workingHours.editSpecialDay") : unref(t)("workingHours.addSpecialDay"),
|
|
@@ -702,7 +702,7 @@ const _sfc_main = {
|
|
|
702
702
|
placeholder: unref(t)("workingHours.descriptionPlaceholder"),
|
|
703
703
|
class: "bg-light radius-small pd-medium mn-b-small"
|
|
704
704
|
}, null, 8, ["field", "label", "placeholder"]),
|
|
705
|
-
createVNode(_sfc_main$
|
|
705
|
+
createVNode(_sfc_main$2, {
|
|
706
706
|
label: unref(t)("workingHours.isOpen"),
|
|
707
707
|
name: "isOpenSpecial",
|
|
708
708
|
value: true,
|
|
@@ -713,7 +713,7 @@ const _sfc_main = {
|
|
|
713
713
|
currentSpecialDay.value.isOpen ? (openBlock(), createElementBlock("div", _hoisted_38, [
|
|
714
714
|
createElementVNode("div", _hoisted_39, [
|
|
715
715
|
createElementVNode("h5", _hoisted_40, toDisplayString(unref(t)("workingHours.periods")), 1),
|
|
716
|
-
createVNode(
|
|
716
|
+
createVNode(Button, {
|
|
717
717
|
class: "pd-micro bg-light",
|
|
718
718
|
submit: addPeriodToSpecial,
|
|
719
719
|
showSucces: false,
|
|
@@ -749,7 +749,7 @@ const _sfc_main = {
|
|
|
749
749
|
onBlur: validatePeriods
|
|
750
750
|
}, null, 8, ["field", "onUpdate:field", "label"])
|
|
751
751
|
]),
|
|
752
|
-
currentSpecialDay.value.periods.length > 1 ? (openBlock(), createBlock(
|
|
752
|
+
currentSpecialDay.value.periods.length > 1 ? (openBlock(), createBlock(Button, {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "pd-micro bg-fourth-nano",
|
|
755
755
|
submit: () => removeSpecialPeriod(pIndex),
|
|
@@ -765,7 +765,7 @@ const _sfc_main = {
|
|
|
765
765
|
}), 128))
|
|
766
766
|
])) : createCommentVNode("", true),
|
|
767
767
|
createElementVNode("div", _hoisted_43, [
|
|
768
|
-
createVNode(
|
|
768
|
+
createVNode(Button, {
|
|
769
769
|
class: "w-100 bg-light",
|
|
770
770
|
submit: () => showSpecialDayModal.value = false,
|
|
771
771
|
showSucces: false,
|
|
@@ -776,7 +776,7 @@ const _sfc_main = {
|
|
|
776
776
|
]),
|
|
777
777
|
_: 1
|
|
778
778
|
}, 8, ["submit"]),
|
|
779
|
-
createVNode(
|
|
779
|
+
createVNode(Button, {
|
|
780
780
|
class: "w-100 bg-main",
|
|
781
781
|
submit: saveSpecialDay,
|
|
782
782
|
showSucces: false,
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ref, createElementBlock, openBlock, createVNode, unref, withCtx, Fragment, renderList, toDisplayString } from "vue";
|
|
2
|
+
import { useRoute, useRouter } from "vue-router";
|
|
3
|
+
import _sfc_main$1 from "../../../../core/views/components/sections/SectionPageTitle.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../../../../../components/Feed/Feed.vue.js";
|
|
5
|
+
import { actions } from "../../store/payments.store.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
const _hoisted_1 = { class: "pd-thin" };
|
|
8
|
+
const _hoisted_2 = { class: "bg-light pos-relative pd-medium radius-big" };
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: "Payments",
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const route = useRoute();
|
|
13
|
+
useRouter();
|
|
14
|
+
const tab = ref("all");
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
17
|
+
createVNode(_sfc_main$1, {
|
|
18
|
+
title: "Payments",
|
|
19
|
+
"onUpdate:tabs_current": _cache[0] || (_cache[0] = (update) => tab.value = update),
|
|
20
|
+
tabs_current: tab.value,
|
|
21
|
+
tabs: [
|
|
22
|
+
{ name: "All", value: "all" },
|
|
23
|
+
{ name: "Created", value: "created" },
|
|
24
|
+
{ name: "Proccesing", value: "processing" },
|
|
25
|
+
{ name: "Finished", value: "finished" },
|
|
26
|
+
{ name: "Canceled", value: "canceled" },
|
|
27
|
+
{ name: "Refunded", value: "refunded" }
|
|
28
|
+
],
|
|
29
|
+
actions: [
|
|
30
|
+
{ to: { name: "PaymentsCreate" }, label: "Create Payment" }
|
|
31
|
+
],
|
|
32
|
+
class: "mn-b-small bg-light bg-light radius-big"
|
|
33
|
+
}, null, 8, ["tabs_current"]),
|
|
34
|
+
createVNode(_sfc_main$2, {
|
|
35
|
+
search: true,
|
|
36
|
+
states: {
|
|
37
|
+
empty: {
|
|
38
|
+
title: "No Payments Found",
|
|
39
|
+
description: "Currently, there are no payments."
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
store: {
|
|
43
|
+
read: (options) => actions.read(options)
|
|
44
|
+
},
|
|
45
|
+
options: {
|
|
46
|
+
limit: 15,
|
|
47
|
+
owner: unref(route).params._id,
|
|
48
|
+
...tab.value !== "all" && { type: tab.value }
|
|
49
|
+
},
|
|
50
|
+
class: "gap-thin cols-3 mobile:cols-1"
|
|
51
|
+
}, {
|
|
52
|
+
default: withCtx(({
|
|
53
|
+
items
|
|
54
|
+
}) => [
|
|
55
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (payment) => {
|
|
56
|
+
return openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(payment), 1);
|
|
57
|
+
}), 256))
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["store", "options"])
|
|
61
|
+
]);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
_sfc_main as default
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=Payments.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payments.vue.js","sources":["../../../../../../../../src/modules/wallet/views/components/pages/Payments.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n\n <SectionPageTitle\n title=\"Payments\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Created', value: 'created' },\n { name: 'Proccesing', value: 'processing' },\n { name: 'Finished', value: 'finished' },\n { name: 'Canceled', value: 'canceled' },\n { name: 'Refunded', value: 'refunded' },\n ]\"\n :actions=\"[\n { to: { name: 'PaymentsCreate'}, label: 'Create Payment' }\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Payments Found',\n description: 'Currently, there are no payments.'\n }\n }\"\n :store=\"{\n read: (options) => payments.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { type: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"gap-thin cols-3 mobile:cols-1\"\n >\n <div\n v-for=\"payment in items\" \n class=\"bg-light pos-relative pd-medium radius-big\"\n >\n {{payment}}\n </div>\n </Feed>\n\n\n</div>\n</template>\n\n\n<script setup>\nimport { ref } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\nimport Feed from '@martyrs/src/components/Feed/Feed.vue'\n\nimport * as payments from '@martyrs/src/modules/wallet/views/store/payments.store'; \n\nconst route = useRoute();\nconst router = useRouter();\n\nconst tab = ref('all')\n</script>\n\n\n<style lang=\"scss\">\n\n.round-stat {\n padding: 1rem;\n border-radius: 5rem;\n width: 3rem;\n height: 3rem;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid rgba(0,0,0,0.1);\n\n &-tab {\n width: 2rem;\n height: 2rem;\n }\n}\n\n\n\n.order-card {\n border-radius: 0.25rem;\n overflow: hidden;\n box-shadow: 0 8px 8px -8px rgb(36 36 36 / 10%);\n .order-status {\n color: black;\n background: #EEF2F6; \n width: 100%;\n padding: 0.75rem 1.5rem;\n margin: 0;\n }\n\n .new {\n color: white;\n background: #00ff88;\n }\n\n .block {\n border-radius: 0;\n border: 0;\n }\n}\n\n \n</style>\n"],"names":[],"mappings":";;;;;;;;;;;AAgEA,UAAM,QAAQ,SAAQ;AACP,cAAS;AAExB,UAAM,MAAM,IAAI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
function getRoutes(options = {}) {
|
|
2
|
+
const routeOrganizations = options.routeOrganizations || "OrganizationRoot";
|
|
3
|
+
const routes = [];
|
|
4
|
+
if (!options.withOrganizationRoutes) {
|
|
5
|
+
routes.push({
|
|
6
|
+
parentName: routeOrganizations,
|
|
7
|
+
config: {
|
|
8
|
+
basePath: "payments",
|
|
9
|
+
name: "Payments",
|
|
10
|
+
meta: {
|
|
11
|
+
title: {
|
|
12
|
+
en: "Payments",
|
|
13
|
+
ru: "Платежами"
|
|
14
|
+
},
|
|
15
|
+
authorize: [],
|
|
16
|
+
context: "organization"
|
|
17
|
+
},
|
|
18
|
+
component: () => import(
|
|
19
|
+
/* webpackChunkName: 'payments' */
|
|
20
|
+
"../components/pages/Payments.vue.js"
|
|
21
|
+
),
|
|
22
|
+
routes: [
|
|
23
|
+
{
|
|
24
|
+
path: "create",
|
|
25
|
+
name: "PaymentsCreate",
|
|
26
|
+
meta: {
|
|
27
|
+
title: {
|
|
28
|
+
en: "Create Payment",
|
|
29
|
+
ru: "Создать платеж"
|
|
30
|
+
},
|
|
31
|
+
authorize: [],
|
|
32
|
+
context: "organization"
|
|
33
|
+
},
|
|
34
|
+
component: () => import(
|
|
35
|
+
/* webpackChunkName: 'payments-create' */
|
|
36
|
+
"../components/pages/Payments.vue.js"
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return routes;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
getRoutes
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=wallet.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet.router.js","sources":["../../../../../../../src/modules/wallet/views/router/wallet.router.js"],"sourcesContent":["// wallet.meta.js\n// Meta-файл для регистрации роутов модуля wallet\n\nexport function getRoutes(options = {}) {\n const routeOrganizations = options.routeOrganizations || 'OrganizationRoot';\n \n const routes = [];\n \n // Payments в Organizations - управление платежами организации\n if (!options.withOrganizationRoutes) {\n routes.push({\n parentName: routeOrganizations,\n config: {\n basePath: 'payments',\n name: 'Payments',\n meta: {\n title: {\n en: 'Payments',\n ru: 'Платежами',\n },\n authorize: [],\n context: 'organization',\n },\n component: () => import(/* webpackChunkName: 'payments' */ '../components/pages/Payments.vue'),\n routes: [\n {\n path: 'create',\n name: 'PaymentsCreate',\n meta: {\n title: {\n en: 'Create Payment',\n ru: 'Создать платеж',\n },\n authorize: [],\n context: 'organization',\n },\n component: () => import(/* webpackChunkName: 'payments-create' */ '../components/pages/Payments.vue'),\n },\n ],\n }\n });\n }\n \n return routes;\n}"],"names":[],"mappings":"AAGO,SAAS,UAAU,UAAU,IAAI;AACtC,QAAM,qBAAqB,QAAQ,sBAAsB;AAEzD,QAAM,SAAS,CAAA;AAGf,MAAI,CAAC,QAAQ,wBAAwB;AACnC,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU;AAAA,QACV,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,WAAW,CAAA;AAAA,UACX,SAAS;AAAA,QACnB;AAAA,QACQ,WAAW,MAAM;AAAA;AAAA,UAA0C;AAAA,QAAkC;AAAA,QAC7F,QAAQ;AAAA,UACN;AAAA,YACE,MAAM;AAAA,YACN,MAAM;AAAA,YACN,MAAM;AAAA,cACJ,OAAO;AAAA,gBACL,IAAI;AAAA,gBACJ,IAAI;AAAA,cACpB;AAAA,cACc,WAAW,CAAA;AAAA,cACX,SAAS;AAAA,YACvB;AAAA,YACY,WAAW,MAAM;AAAA;AAAA,cAAiD;AAAA,YAAkC;AAAA,UAChH;AAAA,QACA;AAAA,MACA;AAAA,IACA,CAAK;AAAA,EACH;AAEA,SAAO;AACT;"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { setError } from "../../../core/views/store/core.store.js";
|
|
2
|
+
import axios from "axios";
|
|
3
|
+
import { reactive, watch } from "vue";
|
|
4
|
+
const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
|
|
5
|
+
const state = reactive({
|
|
6
|
+
current: {
|
|
7
|
+
Status: ""
|
|
8
|
+
},
|
|
9
|
+
data: {}
|
|
10
|
+
});
|
|
11
|
+
const actions = {
|
|
12
|
+
async read() {
|
|
13
|
+
try {
|
|
14
|
+
const response = await $axios.get(`/api/payments`);
|
|
15
|
+
state.data = response.data;
|
|
16
|
+
return response.data;
|
|
17
|
+
} catch (error) {
|
|
18
|
+
setError(error);
|
|
19
|
+
throw error;
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
async create(payment) {
|
|
23
|
+
try {
|
|
24
|
+
const response = await $axios.post(`/api/payments`, payment);
|
|
25
|
+
state.data[response.data._id] = response.data;
|
|
26
|
+
return response.data;
|
|
27
|
+
} catch (error) {
|
|
28
|
+
setError(error);
|
|
29
|
+
throw error;
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
async update(payment) {
|
|
33
|
+
try {
|
|
34
|
+
const response = await $axios.post(`/api/payments`, payment);
|
|
35
|
+
state.current = response.data;
|
|
36
|
+
return response.data;
|
|
37
|
+
} catch (error) {
|
|
38
|
+
setError(error);
|
|
39
|
+
throw error;
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
async delete(_id) {
|
|
43
|
+
try {
|
|
44
|
+
const response = await $axios.delete(`/api/payments`);
|
|
45
|
+
delete state.data[_id];
|
|
46
|
+
return response.data;
|
|
47
|
+
} catch (error) {
|
|
48
|
+
setError(error);
|
|
49
|
+
throw error;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
watch(state, (newState) => {
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
actions,
|
|
57
|
+
state
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=payments.store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payments.store.js","sources":["../../../../../../../src/modules/wallet/views/store/payments.store.js"],"sourcesContent":["import { setError } from '@martyrs/src/modules/core/views/store/core.store.js';\nimport axios from 'axios';\nimport { reactive, watch } from 'vue';\n\nconst $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });\n\nconst state = reactive({\n current: {\n Status: '',\n },\n data: {},\n});\n\nconst actions = {\n async read() {\n try {\n const response = await $axios.get(`/api/payments`);\n state.data = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n async create(payment) {\n try {\n const response = await $axios.post(`/api/payments`, payment);\n state.data[response.data._id] = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n async update(payment) {\n try {\n const response = await $axios.post(`/api/payments`, payment);\n state.current = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n\n async delete(_id) {\n try {\n const response = await $axios.delete(`/api/payments`);\n delete state.data[_id];\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n};\n\nconst history = [];\nhistory.push(state);\n\nwatch(state, newState => {\n history.push(newState);\n});\n\nexport { actions, state };\n"],"names":[],"mappings":";;;AAIA,MAAM,SAAS,MAAM,OAAO,EAAE,SAAS,QAAQ,IAAI,SAAS,iBAAiB,MAAM;AAE9E,MAAC,QAAQ,SAAS;AAAA,EACrB,SAAS;AAAA,IACP,QAAQ;AAAA,EACZ;AAAA,EACE,MAAM,CAAA;AACR,CAAC;AAEI,MAAC,UAAU;AAAA,EACd,MAAM,OAAO;AACX,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,eAAe;AACjD,YAAM,OAAO,SAAS;AACtB,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,MAAM,OAAO,SAAS;AACpB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,KAAK,iBAAiB,OAAO;AAC3D,YAAM,KAAK,SAAS,KAAK,GAAG,IAAI,SAAS;AACzC,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,MAAM,OAAO,SAAS;AACpB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,KAAK,iBAAiB,OAAO;AAC3D,YAAM,UAAU,SAAS;AACzB,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,MAAM,OAAO,KAAK;AAChB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,OAAO,eAAe;AACpD,aAAO,MAAM,KAAK,GAAG;AACrB,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACR;AAAA,EACF;AACF;AAKA,MAAM,OAAO,cAAY;AAEzB,CAAC;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import addRoutes from "../core/views/router/addRoutes.js";
|
|
2
|
+
import { getRoutes } from "./views/router/wallet.router.js";
|
|
3
|
+
function initializeWallet(app, store, router, options = {}) {
|
|
4
|
+
const routes = getRoutes(options);
|
|
5
|
+
routes.forEach(({ parentName, config }) => {
|
|
6
|
+
addRoutes(router, { ...config, parentName });
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
const ModuleWallet = {
|
|
10
|
+
initialize: initializeWallet,
|
|
11
|
+
views: {
|
|
12
|
+
router: {
|
|
13
|
+
getRoutes
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
ModuleWallet as default
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=wallet.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wallet.client.js","sources":["../../../../../src/modules/wallet/wallet.client.js"],"sourcesContent":["// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport { getRoutes } from './views/router/wallet.router.js';\n\n// Example initialization function for the Wallet module\nfunction initializeWallet(app, store, router, options = {}) {\n const routes = getRoutes(options);\n routes.forEach(({ parentName, config }) => {\n addRoutes(router, { ...config, parentName });\n });\n}\n\nconst ModuleWallet = {\n initialize: initializeWallet,\n views: {\n router: {\n getRoutes,\n },\n },\n};\n\nexport default ModuleWallet;\n"],"names":[],"mappings":";;AAKA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC1D,QAAM,SAAS,UAAU,OAAO;AAChC,SAAO,QAAQ,CAAC,EAAE,YAAY,OAAM,MAAO;AACzC,cAAU,QAAQ,EAAE,GAAG,QAAQ,WAAU,CAAE;AAAA,EAC7C,CAAC;AACH;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,QAAQ;AAAA,MACN;AAAA,IACN;AAAA,EACA;AACA;"}
|
package/dist/martyrs.es.js
CHANGED
|
@@ -1,43 +1,86 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as m } from "./martyrs.es2.js";
|
|
2
|
+
import { default as a } from "./martyrs.es25.js";
|
|
3
|
+
import { default as f } from "./martyrs.es3.js";
|
|
4
|
+
import { default as i } from "./martyrs.es5.js";
|
|
5
|
+
import { default as u } from "./martyrs.es4.js";
|
|
6
|
+
import { default as c } from "./martyrs.es26.js";
|
|
7
|
+
import { default as M } from "./martyrs.es27.js";
|
|
8
|
+
import { default as C } from "./martyrs.es28.js";
|
|
9
|
+
import { default as g } from "./martyrs.es6.js";
|
|
10
|
+
import { default as T } from "./martyrs.es29.js";
|
|
11
|
+
import { default as k } from "./martyrs.es7.js";
|
|
12
|
+
import { default as I } from "./martyrs.es30.js";
|
|
13
|
+
import { default as U } from "./martyrs.es31.js";
|
|
14
|
+
import { default as D } from "./martyrs.es8.js";
|
|
15
|
+
import { default as L } from "./martyrs.es32.js";
|
|
16
|
+
import { default as y } from "./martyrs.es9.js";
|
|
17
|
+
import { default as G } from "./martyrs.es33.js";
|
|
18
|
+
import { default as j } from "./martyrs.es34.js";
|
|
19
|
+
import { default as z } from "./martyrs.es35.js";
|
|
20
|
+
import { default as J } from "./martyrs.es10.js";
|
|
21
|
+
import { default as N } from "./martyrs.es11.js";
|
|
22
|
+
import { default as Q } from "./martyrs.es39.js";
|
|
23
|
+
import { default as W } from "./martyrs.es20.js";
|
|
24
|
+
import { default as Y } from "./martyrs.es21.js";
|
|
25
|
+
import { default as _ } from "./martyrs.es12.js";
|
|
26
|
+
import { default as oo } from "./martyrs.es13.js";
|
|
27
|
+
import { default as eo } from "./martyrs.es14.js";
|
|
28
|
+
import { default as mo } from "./martyrs.es15.js";
|
|
29
|
+
import { default as ao } from "./martyrs.es36.js";
|
|
30
|
+
import { default as lo } from "./martyrs.es37.js";
|
|
31
|
+
import { default as po } from "./martyrs.es16.js";
|
|
32
|
+
import { default as so } from "./martyrs.es38.js";
|
|
33
|
+
import { default as xo } from "./martyrs.es17.js";
|
|
34
|
+
import { default as So } from "./martyrs.es19.js";
|
|
35
|
+
import { default as Fo } from "./martyrs.es18.js";
|
|
36
|
+
import { default as ho } from "./martyrs.es22.js";
|
|
37
|
+
import { default as bo } from "./martyrs.es23.js";
|
|
38
|
+
import { default as Bo } from "./martyrs.es24.js";
|
|
39
|
+
import { default as Po } from "./martyrs.es40.js";
|
|
40
|
+
const t = {
|
|
41
|
+
install: (o) => {
|
|
42
|
+
o.component("Address", () => import("./martyrs.es2.js")), o.component("Button", () => import("./martyrs.es3.js")), o.component("Checkbox", () => import("./martyrs.es4.js")), o.component("Calendar", () => import("./martyrs.es5.js")), o.component("Dropdown", () => import("./martyrs.es6.js")), o.component("Error", () => import("./martyrs.es7.js")), o.component("Field", () => import("./martyrs.es8.js")), o.component("FieldPhone", () => import("./martyrs.es9.js")), o.component("LocationMarker", () => import("./martyrs.es10.js")), o.component("Map", () => import("./martyrs.es11.js")), o.component("Popup", () => import("./martyrs.es12.js")), o.component("Radio", () => import("./martyrs.es13.js")), o.component("Select", () => import("./martyrs.es14.js")), o.component("SelectMulti", () => import("./martyrs.es15.js")), o.component("Spoiler", () => import("./martyrs.es16.js")), o.component("Tab", () => import("./martyrs.es17.js")), o.component("Tooltip", () => import("./martyrs.es18.js")), o.component("Text", () => import("./martyrs.es19.js")), o.component("Menu", () => import("./martyrs.es20.js")), o.component("MenuItem", () => import("./martyrs.es21.js")), o.component("Upload", () => import("./martyrs.es22.js")), o.component("UploadImage", () => import("./martyrs.es23.js")), o.component("UploadImageMultiple", () => import("./martyrs.es24.js")), o.component("Breadcrumbs", () => import("./martyrs.es25.js")), o.component("Chips", () => import("./martyrs.es26.js")), o.component("Countdown", () => import("./martyrs.es27.js")), o.component("DatePicker", () => import("./martyrs.es28.js")), o.component("EmptyState", () => import("./martyrs.es29.js")), o.component("Feed", () => import("./martyrs.es30.js")), o.component("Carousel", () => import("./martyrs.es31.js")), o.component("FieldBig", () => import("./martyrs.es32.js")), o.component("FieldTags", () => import("./martyrs.es33.js")), o.component("Gradient", () => import("./martyrs.es34.js")), o.component("Loader", () => import("./martyrs.es35.js")), o.component("Shader", () => import("./martyrs.es36.js")), o.component("Slider", () => import("./martyrs.es37.js")), o.component("Status", () => import("./martyrs.es38.js")), o.component("Marquee", () => import("./martyrs.es39.js")), o.component("Media", () => import("./martyrs.es40.js"));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
2
45
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
m as Address,
|
|
47
|
+
a as Breadcrumbs,
|
|
48
|
+
f as Button,
|
|
49
|
+
i as Calendar,
|
|
50
|
+
U as Carousel,
|
|
51
|
+
u as Checkbox,
|
|
52
|
+
c as Chips,
|
|
53
|
+
M as Countdown,
|
|
54
|
+
C as DatePicker,
|
|
55
|
+
g as Dropdown,
|
|
56
|
+
T as EmptyState,
|
|
57
|
+
k as Error,
|
|
58
|
+
I as Feed,
|
|
59
|
+
D as Field,
|
|
60
|
+
L as FieldBig,
|
|
61
|
+
y as FieldPhone,
|
|
62
|
+
G as FieldTags,
|
|
63
|
+
j as Gradient,
|
|
64
|
+
z as Loader,
|
|
65
|
+
J as LocationMarker,
|
|
66
|
+
N as Map,
|
|
67
|
+
Q as Marquee,
|
|
68
|
+
Po as Media,
|
|
69
|
+
W as Menu,
|
|
70
|
+
Y as MenuItem,
|
|
71
|
+
_ as Popup,
|
|
72
|
+
oo as Radio,
|
|
73
|
+
eo as Select,
|
|
74
|
+
mo as SelectMulti,
|
|
75
|
+
ao as Shader,
|
|
76
|
+
lo as Slider,
|
|
77
|
+
po as Spoiler,
|
|
78
|
+
so as Status,
|
|
79
|
+
xo as Tab,
|
|
80
|
+
So as Text,
|
|
81
|
+
Fo as Tooltip,
|
|
82
|
+
ho as Upload,
|
|
83
|
+
bo as UploadImage,
|
|
84
|
+
Bo as UploadImageMultiple,
|
|
85
|
+
t as default
|
|
43
86
|
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { ref as y, onMounted as b, watchEffect as w, createElementBlock as v, openBlock as d, createElementVNode as c, createVNode as k, Transition as x, withCtx as M, createBlock as V } from "vue";
|
|
2
|
+
import { Loader as E } from "./martyrs.es41.js";
|
|
3
|
+
import Z from "./martyrs.es35.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
const B = { class: "pos-relative" }, H = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "i-medium",
|
|
8
|
+
width: "98",
|
|
9
|
+
height: "98",
|
|
10
|
+
viewBox: "0 0 98 98",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, O = {
|
|
14
|
+
__name: "LocationMarker",
|
|
15
|
+
props: {
|
|
16
|
+
location: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: () => ({ lat: 15.87, lng: 100.9925 })
|
|
19
|
+
},
|
|
20
|
+
address: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: null
|
|
23
|
+
},
|
|
24
|
+
apiKey: String,
|
|
25
|
+
locale: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "en"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
|
|
31
|
+
setup(_, { emit: h }) {
|
|
32
|
+
const o = _, a = h, u = y(null), r = y(!1);
|
|
33
|
+
let s, i;
|
|
34
|
+
b(() => {
|
|
35
|
+
new E({
|
|
36
|
+
apiKey: o.apiKey,
|
|
37
|
+
version: "weekly",
|
|
38
|
+
libraries: ["places"],
|
|
39
|
+
language: o.locale
|
|
40
|
+
}).load().then(() => {
|
|
41
|
+
s = new google.maps.Map(u.value, {
|
|
42
|
+
center: o.location,
|
|
43
|
+
zoom: 15,
|
|
44
|
+
mapTypeControl: !1,
|
|
45
|
+
fullscreenControl: !1,
|
|
46
|
+
disableDefaultUI: !0
|
|
47
|
+
}), i = new google.maps.Marker({
|
|
48
|
+
position: o.location,
|
|
49
|
+
map: s,
|
|
50
|
+
draggable: !0
|
|
51
|
+
}), i.addListener("dragend", (e) => {
|
|
52
|
+
const n = { lat: e.latLng.lat(), lng: e.latLng.lng() };
|
|
53
|
+
a("update:location", n), p(n);
|
|
54
|
+
});
|
|
55
|
+
}).catch((e) => {
|
|
56
|
+
console.error(e);
|
|
57
|
+
});
|
|
58
|
+
}), w(() => {
|
|
59
|
+
o.location && i && i.setPosition(new google.maps.LatLng(o.location.lat, o.location.lng));
|
|
60
|
+
}), w(() => {
|
|
61
|
+
if (o.location && s) {
|
|
62
|
+
const t = new google.maps.LatLng(o.location.lat, o.location.lng);
|
|
63
|
+
s.setCenter(t), s.setZoom(15);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
function p(t) {
|
|
67
|
+
new google.maps.Geocoder().geocode({ location: t }, (n, g) => {
|
|
68
|
+
if (g === "OK")
|
|
69
|
+
if (n[0]) {
|
|
70
|
+
a("update:address", n[0].formatted_address);
|
|
71
|
+
let f = "", m = "", C = "";
|
|
72
|
+
n[0].address_components.forEach((l) => {
|
|
73
|
+
l.types.includes("country") && (f = l.long_name), l.types.includes("administrative_area_level_1") && (m = l.long_name), l.types.includes("locality") && (C = l.long_name);
|
|
74
|
+
}), a("update:country", f), a("update:state", m), a("update:city", C);
|
|
75
|
+
} else
|
|
76
|
+
console.error("No results found");
|
|
77
|
+
else
|
|
78
|
+
console.error("Geocoder failed due to: " + g);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
async function L() {
|
|
82
|
+
r.value = !0, navigator.geolocation ? navigator.geolocation.getCurrentPosition((t) => {
|
|
83
|
+
const e = { lat: t.coords.latitude, lng: t.coords.longitude };
|
|
84
|
+
a("update:location", e), p(e), r.value = !1;
|
|
85
|
+
}, () => {
|
|
86
|
+
console.error("Error getting location"), r.value = !1;
|
|
87
|
+
}) : (console.error("Geolocation is not supported by this browser."), r.value = !1);
|
|
88
|
+
}
|
|
89
|
+
return (t, e) => (d(), v("div", B, [
|
|
90
|
+
c("div", {
|
|
91
|
+
ref_key: "mapContainer",
|
|
92
|
+
ref: u,
|
|
93
|
+
class: "w-100 h-100"
|
|
94
|
+
}, null, 512),
|
|
95
|
+
c("button", {
|
|
96
|
+
class: "cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-medium bg-second pd-nano radius-extra",
|
|
97
|
+
onClick: L
|
|
98
|
+
}, [
|
|
99
|
+
k(x, {
|
|
100
|
+
name: "ScaleOut",
|
|
101
|
+
mode: "out-in"
|
|
102
|
+
}, {
|
|
103
|
+
default: M(() => [
|
|
104
|
+
r.value ? (d(), V(Z, {
|
|
105
|
+
key: 1,
|
|
106
|
+
class: "pos-t-0 pos-l-0 i-small"
|
|
107
|
+
})) : (d(), v("svg", H, e[0] || (e[0] = [
|
|
108
|
+
c("path", {
|
|
109
|
+
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
|
110
|
+
fill: "rgb(var(--white))"
|
|
111
|
+
}, null, -1),
|
|
112
|
+
c("path", {
|
|
113
|
+
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
|
114
|
+
fill: "rgb(var(--white))"
|
|
115
|
+
}, null, -1)
|
|
116
|
+
])))
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
})
|
|
120
|
+
])
|
|
121
|
+
]));
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export {
|
|
125
|
+
O as default
|
|
126
|
+
};
|