@ozdao/martyrs 0.2.602 → 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 +130 -81
- 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/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.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 +2 -2
- 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/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 +3 -3
- 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 +2 -2
- 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 +14 -14
- 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 +28 -29
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- 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 +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- 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 +10 -10
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +17 -17
- 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 +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- 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 +13 -13
- 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 +4 -4
- 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 +2 -2
- 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 +21 -21
- 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 +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- 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 +2 -2
- 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/layouts/Spots.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 +12 -12
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- 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 +8 -5
- 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/Dropdown/Dropdown.vue2.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/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
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
import { defineAsyncComponent } from "vue";
|
|
2
|
+
import { requiresAuth } from "../../../auth/views/middlewares/auth.validation.js";
|
|
3
|
+
import { navigationItems } from "../../configs/navigation.initiative.config.js";
|
|
4
|
+
function resolveComponent(loader, override) {
|
|
5
|
+
if (override) return override;
|
|
6
|
+
return defineAsyncComponent(loader);
|
|
7
|
+
}
|
|
8
|
+
function buildGovernanceRoutes(options = {}) {
|
|
9
|
+
const initiativesComponent = resolveComponent(
|
|
10
|
+
() => import(
|
|
11
|
+
/* webpackChunkName: 'Governance' */
|
|
12
|
+
"../components/pages/Initiatives.vue.js"
|
|
13
|
+
),
|
|
14
|
+
options.page_initiatives
|
|
15
|
+
);
|
|
16
|
+
const initiativeComponent = resolveComponent(
|
|
17
|
+
() => import(
|
|
18
|
+
/* webpackChunkName: 'Governance' */
|
|
19
|
+
"../components/pages/Initiative.vue.js"
|
|
20
|
+
),
|
|
21
|
+
options.page_initiative
|
|
22
|
+
);
|
|
23
|
+
const initiativeCreateComponent = resolveComponent(
|
|
24
|
+
() => import(
|
|
25
|
+
/* webpackChunkName: 'Governance' */
|
|
26
|
+
"../components/pages/InitiativeCreate.vue.js"
|
|
27
|
+
),
|
|
28
|
+
options.page_initiative_create
|
|
29
|
+
);
|
|
30
|
+
const initiativeSprintsComponent = resolveComponent(
|
|
31
|
+
() => import(
|
|
32
|
+
/* webpackChunkName: 'Governance' */
|
|
33
|
+
"../components/pages/InitiativeSprints.vue.js"
|
|
34
|
+
),
|
|
35
|
+
options.page_initiative_sprints
|
|
36
|
+
);
|
|
37
|
+
const sprintComponent = resolveComponent(
|
|
38
|
+
() => import(
|
|
39
|
+
/* webpackChunkName: 'Governance' */
|
|
40
|
+
"../components/pages/Sprint.vue.js"
|
|
41
|
+
),
|
|
42
|
+
options.page_sprint
|
|
43
|
+
);
|
|
44
|
+
const sprintCreateComponent = resolveComponent(
|
|
45
|
+
() => import(
|
|
46
|
+
/* webpackChunkName: 'Governance' */
|
|
47
|
+
"../components/pages/SprintCreate.vue.js"
|
|
48
|
+
),
|
|
49
|
+
options.page_sprint_create
|
|
50
|
+
);
|
|
51
|
+
const tasksComponent = resolveComponent(
|
|
52
|
+
() => import(
|
|
53
|
+
/* webpackChunkName: 'Governance' */
|
|
54
|
+
"../components/pages/Tasks.vue.js"
|
|
55
|
+
),
|
|
56
|
+
options.page_tasks
|
|
57
|
+
);
|
|
58
|
+
const taskComponent = resolveComponent(
|
|
59
|
+
() => import(
|
|
60
|
+
/* webpackChunkName: 'Governance' */
|
|
61
|
+
"../components/pages/Task.vue.js"
|
|
62
|
+
),
|
|
63
|
+
options.page_task
|
|
64
|
+
);
|
|
65
|
+
const taskCreateComponent = resolveComponent(
|
|
66
|
+
() => import(
|
|
67
|
+
/* webpackChunkName: 'Governance' */
|
|
68
|
+
"../components/pages/TaskCreate.vue.js"
|
|
69
|
+
),
|
|
70
|
+
options.page_task_create
|
|
71
|
+
);
|
|
72
|
+
const votingsComponent = resolveComponent(
|
|
73
|
+
() => import(
|
|
74
|
+
/* webpackChunkName: 'Governance' */
|
|
75
|
+
"../components/pages/Votings.vue.js"
|
|
76
|
+
),
|
|
77
|
+
options.page_votings
|
|
78
|
+
);
|
|
79
|
+
const votingComponent = resolveComponent(
|
|
80
|
+
() => import(
|
|
81
|
+
/* webpackChunkName: 'Governance' */
|
|
82
|
+
"../components/pages/Voting.vue.js"
|
|
83
|
+
),
|
|
84
|
+
options.page_voting
|
|
85
|
+
);
|
|
86
|
+
const votingCreateComponent = resolveComponent(
|
|
87
|
+
() => import(
|
|
88
|
+
/* webpackChunkName: 'Governance' */
|
|
89
|
+
"../components/pages/VotingCreate.vue.js"
|
|
90
|
+
),
|
|
91
|
+
options.page_voting_create
|
|
92
|
+
);
|
|
93
|
+
return [
|
|
94
|
+
{
|
|
95
|
+
path: "",
|
|
96
|
+
name: "Governance",
|
|
97
|
+
meta: {
|
|
98
|
+
title: {
|
|
99
|
+
en: "Governance",
|
|
100
|
+
ru: "Управление"
|
|
101
|
+
},
|
|
102
|
+
title_hide: false
|
|
103
|
+
},
|
|
104
|
+
component: resolveComponent(
|
|
105
|
+
() => import(
|
|
106
|
+
/* webpackChunkName: 'Governance' */
|
|
107
|
+
"../components/pages/Governance.vue.js"
|
|
108
|
+
),
|
|
109
|
+
options.page_governance
|
|
110
|
+
)
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
path: "initiatives",
|
|
114
|
+
name: "Initiatives",
|
|
115
|
+
meta: {
|
|
116
|
+
title: {
|
|
117
|
+
en: "Initiatives",
|
|
118
|
+
ru: "Инициативы"
|
|
119
|
+
},
|
|
120
|
+
title_hide: false
|
|
121
|
+
},
|
|
122
|
+
component: initiativesComponent
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
path: "initiatives/create",
|
|
126
|
+
name: "Create Initiative",
|
|
127
|
+
meta: {
|
|
128
|
+
title: {
|
|
129
|
+
en: "Create Initiative",
|
|
130
|
+
ru: "Создать Инициативу"
|
|
131
|
+
},
|
|
132
|
+
title_hide: false
|
|
133
|
+
},
|
|
134
|
+
beforeEnter: [requiresAuth],
|
|
135
|
+
component: initiativeCreateComponent
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
path: "tasks",
|
|
139
|
+
name: "Tasks",
|
|
140
|
+
meta: {
|
|
141
|
+
title: {
|
|
142
|
+
en: "Tasks",
|
|
143
|
+
ru: "Задачи"
|
|
144
|
+
},
|
|
145
|
+
title_hide: false
|
|
146
|
+
},
|
|
147
|
+
component: tasksComponent
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
path: "tasks/create",
|
|
151
|
+
name: "Create Task",
|
|
152
|
+
meta: {
|
|
153
|
+
title: {
|
|
154
|
+
en: "Create Task",
|
|
155
|
+
ru: "Создать Задачу"
|
|
156
|
+
},
|
|
157
|
+
title_hide: false
|
|
158
|
+
},
|
|
159
|
+
beforeEnter: [requiresAuth],
|
|
160
|
+
component: taskCreateComponent
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
path: "tasks/:taskId",
|
|
164
|
+
name: "Task",
|
|
165
|
+
meta: {
|
|
166
|
+
title: {
|
|
167
|
+
en: "Task",
|
|
168
|
+
ru: "Задача"
|
|
169
|
+
},
|
|
170
|
+
title_hide: false
|
|
171
|
+
},
|
|
172
|
+
component: taskComponent
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
path: "tasks/:taskId/edit",
|
|
176
|
+
name: "Edit Task",
|
|
177
|
+
meta: {
|
|
178
|
+
title: {
|
|
179
|
+
en: "Edit Task",
|
|
180
|
+
ru: "Редактировать Задачу"
|
|
181
|
+
},
|
|
182
|
+
title_hide: false
|
|
183
|
+
},
|
|
184
|
+
beforeEnter: [requiresAuth],
|
|
185
|
+
component: resolveComponent(
|
|
186
|
+
() => import(
|
|
187
|
+
/* webpackChunkName: 'Governance' */
|
|
188
|
+
"../components/pages/TaskCreate.vue.js"
|
|
189
|
+
),
|
|
190
|
+
options.page_task_edit
|
|
191
|
+
)
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
path: "votings",
|
|
195
|
+
name: "Votings",
|
|
196
|
+
meta: {
|
|
197
|
+
title: {
|
|
198
|
+
en: "Votings",
|
|
199
|
+
ru: "Голосования"
|
|
200
|
+
},
|
|
201
|
+
title_hide: false
|
|
202
|
+
},
|
|
203
|
+
component: votingsComponent
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
path: "votings/create",
|
|
207
|
+
name: "Create Voting",
|
|
208
|
+
meta: {
|
|
209
|
+
title: {
|
|
210
|
+
en: "Create Voting",
|
|
211
|
+
ru: "Создать Голосование"
|
|
212
|
+
},
|
|
213
|
+
title_hide: false
|
|
214
|
+
},
|
|
215
|
+
beforeEnter: [requiresAuth],
|
|
216
|
+
component: votingCreateComponent
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
path: "votings/:votingId",
|
|
220
|
+
name: "Voting",
|
|
221
|
+
meta: {
|
|
222
|
+
title: {
|
|
223
|
+
en: "Voting",
|
|
224
|
+
ru: "Голосование"
|
|
225
|
+
},
|
|
226
|
+
title_hide: false
|
|
227
|
+
},
|
|
228
|
+
component: votingComponent
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
path: "votings/:votingId/edit",
|
|
232
|
+
name: "Edit Voting",
|
|
233
|
+
meta: {
|
|
234
|
+
title: {
|
|
235
|
+
en: "Edit Voting",
|
|
236
|
+
ru: "Редактировать Голосование"
|
|
237
|
+
},
|
|
238
|
+
title_hide: false
|
|
239
|
+
},
|
|
240
|
+
beforeEnter: [requiresAuth],
|
|
241
|
+
component: resolveComponent(
|
|
242
|
+
() => import(
|
|
243
|
+
/* webpackChunkName: 'Governance' */
|
|
244
|
+
"../components/pages/VotingCreate.vue.js"
|
|
245
|
+
),
|
|
246
|
+
options.page_voting_edit
|
|
247
|
+
)
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
path: "initiatives/:id",
|
|
251
|
+
meta: {
|
|
252
|
+
title: {
|
|
253
|
+
en: "Initiative",
|
|
254
|
+
ru: "Инициатива"
|
|
255
|
+
},
|
|
256
|
+
title_hide: true,
|
|
257
|
+
sidebar_navigation_items: navigationItems
|
|
258
|
+
},
|
|
259
|
+
children: [
|
|
260
|
+
{
|
|
261
|
+
path: "",
|
|
262
|
+
name: "Initiative",
|
|
263
|
+
meta: {
|
|
264
|
+
title: {
|
|
265
|
+
en: "Initiative",
|
|
266
|
+
ru: "Инициатива"
|
|
267
|
+
},
|
|
268
|
+
title_hide: false
|
|
269
|
+
},
|
|
270
|
+
component: initiativeComponent
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
path: "edit",
|
|
274
|
+
name: "Edit Initiative",
|
|
275
|
+
meta: {
|
|
276
|
+
title: {
|
|
277
|
+
en: "Edit Initiative",
|
|
278
|
+
ru: "Редактировать Инициативу"
|
|
279
|
+
},
|
|
280
|
+
title_hide: false
|
|
281
|
+
},
|
|
282
|
+
beforeEnter: [requiresAuth],
|
|
283
|
+
component: resolveComponent(
|
|
284
|
+
() => import(
|
|
285
|
+
/* webpackChunkName: 'Governance' */
|
|
286
|
+
"../components/pages/InitiativeCreate.vue.js"
|
|
287
|
+
),
|
|
288
|
+
options.page_initiative_edit
|
|
289
|
+
)
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
path: "sprints",
|
|
293
|
+
name: "InitiativeSprints",
|
|
294
|
+
meta: {
|
|
295
|
+
title: {
|
|
296
|
+
en: "Sprints",
|
|
297
|
+
ru: "Спринты"
|
|
298
|
+
},
|
|
299
|
+
title_hide: false
|
|
300
|
+
},
|
|
301
|
+
component: initiativeSprintsComponent
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
path: "sprints/create",
|
|
305
|
+
name: "Create Sprint",
|
|
306
|
+
meta: {
|
|
307
|
+
title: {
|
|
308
|
+
en: "Create Sprint",
|
|
309
|
+
ru: "Создать Спринт"
|
|
310
|
+
},
|
|
311
|
+
title_hide: false
|
|
312
|
+
},
|
|
313
|
+
beforeEnter: [requiresAuth],
|
|
314
|
+
component: sprintCreateComponent
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
path: "sprints/:sprintId",
|
|
318
|
+
name: "Sprint",
|
|
319
|
+
meta: {
|
|
320
|
+
title: {
|
|
321
|
+
en: "Sprint",
|
|
322
|
+
ru: "Спринт"
|
|
323
|
+
},
|
|
324
|
+
title_hide: false
|
|
325
|
+
},
|
|
326
|
+
component: sprintComponent
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
path: "tasks",
|
|
330
|
+
name: "Initiative Tasks",
|
|
331
|
+
meta: {
|
|
332
|
+
title: {
|
|
333
|
+
en: "Tasks",
|
|
334
|
+
ru: "Задачи"
|
|
335
|
+
},
|
|
336
|
+
title_hide: false
|
|
337
|
+
},
|
|
338
|
+
component: tasksComponent,
|
|
339
|
+
children: [
|
|
340
|
+
{
|
|
341
|
+
path: "create",
|
|
342
|
+
name: "Initiative Create Task",
|
|
343
|
+
meta: {
|
|
344
|
+
title: {
|
|
345
|
+
en: "Create Task",
|
|
346
|
+
ru: "Создать Задачу"
|
|
347
|
+
},
|
|
348
|
+
title_hide: false
|
|
349
|
+
},
|
|
350
|
+
beforeEnter: [requiresAuth],
|
|
351
|
+
component: taskCreateComponent
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
path: ":taskId",
|
|
355
|
+
name: "Initiative Task",
|
|
356
|
+
meta: {
|
|
357
|
+
title: {
|
|
358
|
+
en: "Task",
|
|
359
|
+
ru: "Задача"
|
|
360
|
+
},
|
|
361
|
+
title_hide: false
|
|
362
|
+
},
|
|
363
|
+
component: taskComponent
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
path: ":taskId/edit",
|
|
367
|
+
name: "Initiative Edit Task",
|
|
368
|
+
meta: {
|
|
369
|
+
title: {
|
|
370
|
+
en: "Edit Task",
|
|
371
|
+
ru: "Редактировать Задачу"
|
|
372
|
+
},
|
|
373
|
+
title_hide: false
|
|
374
|
+
},
|
|
375
|
+
beforeEnter: [requiresAuth],
|
|
376
|
+
component: resolveComponent(
|
|
377
|
+
() => import(
|
|
378
|
+
/* webpackChunkName: 'Governance' */
|
|
379
|
+
"../components/pages/TaskCreate.vue.js"
|
|
380
|
+
),
|
|
381
|
+
options.page_task_edit
|
|
382
|
+
)
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
path: "votings",
|
|
388
|
+
name: "Initiative Votings",
|
|
389
|
+
meta: {
|
|
390
|
+
title: {
|
|
391
|
+
en: "Votings",
|
|
392
|
+
ru: "Голосования"
|
|
393
|
+
},
|
|
394
|
+
title_hide: false
|
|
395
|
+
},
|
|
396
|
+
component: votingsComponent,
|
|
397
|
+
children: [
|
|
398
|
+
{
|
|
399
|
+
path: "create",
|
|
400
|
+
name: "Initiative Create Voting",
|
|
401
|
+
meta: {
|
|
402
|
+
title: {
|
|
403
|
+
en: "Create Voting",
|
|
404
|
+
ru: "Создать Голосование"
|
|
405
|
+
},
|
|
406
|
+
title_hide: false
|
|
407
|
+
},
|
|
408
|
+
beforeEnter: [requiresAuth],
|
|
409
|
+
component: votingCreateComponent
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
path: ":votingId",
|
|
413
|
+
name: "Initiative Voting",
|
|
414
|
+
meta: {
|
|
415
|
+
title: {
|
|
416
|
+
en: "Voting",
|
|
417
|
+
ru: "Голосование"
|
|
418
|
+
},
|
|
419
|
+
title_hide: false
|
|
420
|
+
},
|
|
421
|
+
component: votingComponent
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
path: ":votingId/edit",
|
|
425
|
+
name: "Initiative Edit Voting",
|
|
426
|
+
meta: {
|
|
427
|
+
title: {
|
|
428
|
+
en: "Edit Voting",
|
|
429
|
+
ru: "Редактировать Голосование"
|
|
430
|
+
},
|
|
431
|
+
title_hide: false
|
|
432
|
+
},
|
|
433
|
+
beforeEnter: [requiresAuth],
|
|
434
|
+
component: resolveComponent(
|
|
435
|
+
() => import(
|
|
436
|
+
/* webpackChunkName: 'Governance' */
|
|
437
|
+
"../components/pages/VotingCreate.vue.js"
|
|
438
|
+
),
|
|
439
|
+
options.page_voting_edit
|
|
440
|
+
)
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
];
|
|
447
|
+
}
|
|
448
|
+
function getRoutes(options = {}) {
|
|
449
|
+
const routes = [];
|
|
450
|
+
const routeHome = options.route || options.routeHome || "Home";
|
|
451
|
+
const baseMeta = {
|
|
452
|
+
title: {
|
|
453
|
+
en: "Governance",
|
|
454
|
+
ru: "Управление"
|
|
455
|
+
},
|
|
456
|
+
title_hide: true
|
|
457
|
+
};
|
|
458
|
+
routes.push({
|
|
459
|
+
parentName: routeHome,
|
|
460
|
+
config: {
|
|
461
|
+
basePath: options.basePath || options.publicBasePath || "governance",
|
|
462
|
+
meta: baseMeta,
|
|
463
|
+
routeNamePrefix: options.routeNamePrefix || options.publicRouteNamePrefix || "",
|
|
464
|
+
routes: buildGovernanceRoutes(options)
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
const routeBackoffice = options.routeBackoffice;
|
|
468
|
+
if (routeBackoffice && !options.withBackoffice) {
|
|
469
|
+
routes.push({
|
|
470
|
+
parentName: routeBackoffice,
|
|
471
|
+
config: {
|
|
472
|
+
basePath: options.backofficeBasePath || "governance",
|
|
473
|
+
routeNamePrefix: options.backofficeRouteNamePrefix || "Backoffice ",
|
|
474
|
+
meta: {
|
|
475
|
+
...baseMeta,
|
|
476
|
+
context: "backoffice"
|
|
477
|
+
},
|
|
478
|
+
routes: buildGovernanceRoutes(options)
|
|
479
|
+
}
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
const routeOrganizations = options.routeOrganizations;
|
|
483
|
+
if (routeOrganizations && !options.withOrganizationRoutes) {
|
|
484
|
+
routes.push({
|
|
485
|
+
parentName: routeOrganizations,
|
|
486
|
+
config: {
|
|
487
|
+
basePath: options.organizationBasePath || "governance",
|
|
488
|
+
routeNamePrefix: options.organizationRouteNamePrefix || "Organization_",
|
|
489
|
+
meta: {
|
|
490
|
+
...baseMeta,
|
|
491
|
+
context: "organization"
|
|
492
|
+
},
|
|
493
|
+
routes: buildGovernanceRoutes(options)
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
return routes;
|
|
498
|
+
}
|
|
499
|
+
export {
|
|
500
|
+
getRoutes
|
|
501
|
+
};
|
|
502
|
+
//# sourceMappingURL=governance.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"governance.router.js","sources":["../../../../../../../src/modules/governance/views/router/governance.router.js"],"sourcesContent":["import { defineAsyncComponent } from 'vue';\nimport * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport { navigationItems } from '../../configs/navigation.initiative.config.js';\n\nfunction resolveComponent(loader, override) {\n if (override) return override;\n return defineAsyncComponent(loader);\n}\n\nfunction buildGovernanceRoutes(options = {}) {\n const initiativesComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Initiatives.vue'),\n options.page_initiatives\n );\n const initiativeComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Initiative.vue'),\n options.page_initiative\n );\n const initiativeCreateComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/InitiativeCreate.vue'),\n options.page_initiative_create\n );\n const initiativeSprintsComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/InitiativeSprints.vue'),\n options.page_initiative_sprints\n );\n const sprintComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Sprint.vue'),\n options.page_sprint\n );\n const sprintCreateComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/SprintCreate.vue'),\n options.page_sprint_create\n );\n const tasksComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Tasks.vue'),\n options.page_tasks\n );\n const taskComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Task.vue'),\n options.page_task\n );\n const taskCreateComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/TaskCreate.vue'),\n options.page_task_create\n );\n const votingsComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Votings.vue'),\n options.page_votings\n );\n const votingComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Voting.vue'),\n options.page_voting\n );\n const votingCreateComponent = resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/VotingCreate.vue'),\n options.page_voting_create\n );\n\n return [\n {\n path: '',\n name: 'Governance',\n meta: {\n title: {\n en: 'Governance',\n ru: 'Управление',\n },\n title_hide: false,\n },\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/Governance.vue'),\n options.page_governance\n ),\n },\n {\n path: 'initiatives',\n name: 'Initiatives',\n meta: {\n title: {\n en: 'Initiatives',\n ru: 'Инициативы',\n },\n title_hide: false,\n },\n component: initiativesComponent,\n },\n {\n path: 'initiatives/create',\n name: 'Create Initiative',\n meta: {\n title: {\n en: 'Create Initiative',\n ru: 'Создать Инициативу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: initiativeCreateComponent,\n },\n {\n path: 'tasks',\n name: 'Tasks',\n meta: {\n title: {\n en: 'Tasks',\n ru: 'Задачи',\n },\n title_hide: false,\n },\n component: tasksComponent,\n },\n {\n path: 'tasks/create',\n name: 'Create Task',\n meta: {\n title: {\n en: 'Create Task',\n ru: 'Создать Задачу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: taskCreateComponent,\n },\n {\n path: 'tasks/:taskId',\n name: 'Task',\n meta: {\n title: {\n en: 'Task',\n ru: 'Задача',\n },\n title_hide: false,\n },\n component: taskComponent,\n },\n {\n path: 'tasks/:taskId/edit',\n name: 'Edit Task',\n meta: {\n title: {\n en: 'Edit Task',\n ru: 'Редактировать Задачу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/TaskCreate.vue'),\n options.page_task_edit\n ),\n },\n {\n path: 'votings',\n name: 'Votings',\n meta: {\n title: {\n en: 'Votings',\n ru: 'Голосования',\n },\n title_hide: false,\n },\n component: votingsComponent,\n },\n {\n path: 'votings/create',\n name: 'Create Voting',\n meta: {\n title: {\n en: 'Create Voting',\n ru: 'Создать Голосование',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: votingCreateComponent,\n },\n {\n path: 'votings/:votingId',\n name: 'Voting',\n meta: {\n title: {\n en: 'Voting',\n ru: 'Голосование',\n },\n title_hide: false,\n },\n component: votingComponent,\n },\n {\n path: 'votings/:votingId/edit',\n name: 'Edit Voting',\n meta: {\n title: {\n en: 'Edit Voting',\n ru: 'Редактировать Голосование',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/VotingCreate.vue'),\n options.page_voting_edit\n ),\n },\n {\n path: 'initiatives/:id',\n meta: {\n title: {\n en: 'Initiative',\n ru: 'Инициатива',\n },\n title_hide: true,\n sidebar_navigation_items: navigationItems,\n },\n children: [\n {\n path: '',\n name: 'Initiative',\n meta: {\n title: {\n en: 'Initiative',\n ru: 'Инициатива',\n },\n title_hide: false,\n },\n component: initiativeComponent,\n },\n {\n path: 'edit',\n name: 'Edit Initiative',\n meta: {\n title: {\n en: 'Edit Initiative',\n ru: 'Редактировать Инициативу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/InitiativeCreate.vue'),\n options.page_initiative_edit\n ),\n },\n {\n path: 'sprints',\n name: 'InitiativeSprints',\n meta: {\n title: {\n en: 'Sprints',\n ru: 'Спринты',\n },\n title_hide: false,\n },\n component: initiativeSprintsComponent,\n },\n {\n path: 'sprints/create',\n name: 'Create Sprint',\n meta: {\n title: {\n en: 'Create Sprint',\n ru: 'Создать Спринт',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: sprintCreateComponent,\n },\n {\n path: 'sprints/:sprintId',\n name: 'Sprint',\n meta: {\n title: {\n en: 'Sprint',\n ru: 'Спринт',\n },\n title_hide: false,\n },\n component: sprintComponent,\n },\n {\n path: 'tasks',\n name: 'Initiative Tasks',\n meta: {\n title: {\n en: 'Tasks',\n ru: 'Задачи',\n },\n title_hide: false,\n },\n component: tasksComponent,\n children: [\n {\n path: 'create',\n name: 'Initiative Create Task',\n meta: {\n title: {\n en: 'Create Task',\n ru: 'Создать Задачу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: taskCreateComponent,\n },\n {\n path: ':taskId',\n name: 'Initiative Task',\n meta: {\n title: {\n en: 'Task',\n ru: 'Задача',\n },\n title_hide: false,\n },\n component: taskComponent,\n },\n {\n path: ':taskId/edit',\n name: 'Initiative Edit Task',\n meta: {\n title: {\n en: 'Edit Task',\n ru: 'Редактировать Задачу',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/TaskCreate.vue'),\n options.page_task_edit\n ),\n },\n ],\n },\n {\n path: 'votings',\n name: 'Initiative Votings',\n meta: {\n title: {\n en: 'Votings',\n ru: 'Голосования',\n },\n title_hide: false,\n },\n component: votingsComponent,\n children: [\n {\n path: 'create',\n name: 'Initiative Create Voting',\n meta: {\n title: {\n en: 'Create Voting',\n ru: 'Создать Голосование',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: votingCreateComponent,\n },\n {\n path: ':votingId',\n name: 'Initiative Voting',\n meta: {\n title: {\n en: 'Voting',\n ru: 'Голосование',\n },\n title_hide: false,\n },\n component: votingComponent,\n },\n {\n path: ':votingId/edit',\n name: 'Initiative Edit Voting',\n meta: {\n title: {\n en: 'Edit Voting',\n ru: 'Редактировать Голосование',\n },\n title_hide: false,\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: resolveComponent(\n () => import(/* webpackChunkName: 'Governance' */ '../components/pages/VotingCreate.vue'),\n options.page_voting_edit\n ),\n },\n ],\n },\n ],\n },\n ];\n}\n\nexport function getRoutes(options = {}) {\n const routes = [];\n const routeHome = options.route || options.routeHome || 'Home';\n const baseMeta = {\n title: {\n en: 'Governance',\n ru: 'Управление',\n },\n title_hide: true,\n };\n\n routes.push({\n parentName: routeHome,\n config: {\n basePath: options.basePath || options.publicBasePath || 'governance',\n meta: baseMeta,\n routeNamePrefix: options.routeNamePrefix || options.publicRouteNamePrefix || '',\n routes: buildGovernanceRoutes(options),\n },\n });\n\n const routeBackoffice = options.routeBackoffice;\n if (routeBackoffice && !options.withBackoffice) {\n routes.push({\n parentName: routeBackoffice,\n config: {\n basePath: options.backofficeBasePath || 'governance',\n routeNamePrefix: options.backofficeRouteNamePrefix || 'Backoffice ',\n meta: {\n ...baseMeta,\n context: 'backoffice',\n },\n routes: buildGovernanceRoutes(options),\n },\n });\n }\n\n const routeOrganizations = options.routeOrganizations;\n if (routeOrganizations && !options.withOrganizationRoutes) {\n routes.push({\n parentName: routeOrganizations,\n config: {\n basePath: options.organizationBasePath || 'governance',\n routeNamePrefix: options.organizationRouteNamePrefix || 'Organization_',\n meta: {\n ...baseMeta,\n context: 'organization',\n },\n routes: buildGovernanceRoutes(options),\n },\n });\n }\n\n return routes;\n}\n\nexport default { getRoutes };\n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AA,EACA,CAAG;AAED,QAAM,kBAAkB,QAAQ;AAChC,MAAI,mBAAmB,CAAC,QAAQ,gBAAgB;AAC9C,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,sBAAsB;AAAA,QACxC,iBAAiB,QAAQ,6BAA6B;AAAA,QACtD,MAAM;AAAA,UACJ,GAAG;AAAA,UACH,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ,sBAAsB,OAAO;AAAA,MAC7C;AAAA,IACA,CAAK;AAAA,EACH;AAEA,QAAM,qBAAqB,QAAQ;AACnC,MAAI,sBAAsB,CAAC,QAAQ,wBAAwB;AACzD,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,wBAAwB;AAAA,QAC1C,iBAAiB,QAAQ,+BAA+B;AAAA,QACxD,MAAM;AAAA,UACJ,GAAG;AAAA,UACH,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ,sBAAsB,OAAO;AAAA,MAC7C;AAAA,IACA,CAAK;AAAA,EACH;AAEA,SAAO;AACT;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { reactive, watch } from "vue";
|
|
2
|
+
import { setError } from "../../../core/views/store/core.store.js";
|
|
3
|
+
import $axios from "../../../core/views/utils/axios-instance.js";
|
|
4
|
+
const initiativesState = reactive({
|
|
5
|
+
all: [],
|
|
6
|
+
current: {
|
|
7
|
+
name: "",
|
|
8
|
+
title: "",
|
|
9
|
+
description: "",
|
|
10
|
+
status: "",
|
|
11
|
+
fullDescription: "",
|
|
12
|
+
valueProposition: "",
|
|
13
|
+
targetAudience: "",
|
|
14
|
+
successCriteria: [],
|
|
15
|
+
repositories: [],
|
|
16
|
+
links: {},
|
|
17
|
+
environments: [],
|
|
18
|
+
releases: [],
|
|
19
|
+
metrics: null,
|
|
20
|
+
team: null,
|
|
21
|
+
sprints: [],
|
|
22
|
+
createdBy: "",
|
|
23
|
+
createdAt: null,
|
|
24
|
+
updatedAt: null
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const initiativesActions = {
|
|
28
|
+
async getMetrics(initiativeId) {
|
|
29
|
+
try {
|
|
30
|
+
const response = await $axios.get(`/api/initiatives/${initiativeId}/metrics`);
|
|
31
|
+
return response.data;
|
|
32
|
+
} catch (error) {
|
|
33
|
+
setError(error);
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
async getAllInitiatives() {
|
|
38
|
+
try {
|
|
39
|
+
const response = await $axios.get("/api/initiatives/read");
|
|
40
|
+
initiativesState.all = response.data;
|
|
41
|
+
return response.data;
|
|
42
|
+
} catch (error) {
|
|
43
|
+
setError(error);
|
|
44
|
+
throw error;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
async getInitiativeById(id) {
|
|
48
|
+
try {
|
|
49
|
+
const response = await $axios.get("/api/initiatives/read", { params: { _id: id } });
|
|
50
|
+
initiativesState.current = Array.isArray(response.data) ? response.data[0] : response.data;
|
|
51
|
+
return initiativesState.current;
|
|
52
|
+
} catch (error) {
|
|
53
|
+
setError(error);
|
|
54
|
+
throw error;
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
async createInitiative(initiative) {
|
|
58
|
+
try {
|
|
59
|
+
const response = await $axios.post("/api/initiatives/create", initiative);
|
|
60
|
+
initiativesState.all.push(response.data);
|
|
61
|
+
return response.data;
|
|
62
|
+
} catch (error) {
|
|
63
|
+
setError(error);
|
|
64
|
+
throw error;
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
async updateInitiative(initiative) {
|
|
68
|
+
try {
|
|
69
|
+
const response = await $axios.put("/api/initiatives/update", {
|
|
70
|
+
_id: initiative._id || initiative.id,
|
|
71
|
+
...initiative
|
|
72
|
+
});
|
|
73
|
+
const index = initiativesState.all.findIndex((i) => (i._id || i.id) === (initiative._id || initiative.id));
|
|
74
|
+
if (index !== -1) {
|
|
75
|
+
initiativesState.all[index] = response.data;
|
|
76
|
+
}
|
|
77
|
+
return response.data;
|
|
78
|
+
} catch (error) {
|
|
79
|
+
setError(error);
|
|
80
|
+
throw error;
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
async deleteInitiative(id) {
|
|
84
|
+
try {
|
|
85
|
+
await $axios.post("/api/initiatives/delete", { _id: id });
|
|
86
|
+
initiativesState.all = initiativesState.all.filter((i) => (i._id || i.id) !== id);
|
|
87
|
+
} catch (error) {
|
|
88
|
+
setError(error);
|
|
89
|
+
throw error;
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
async approveInitiative(id) {
|
|
93
|
+
try {
|
|
94
|
+
const response = await $axios.post(`/api/initiatives/${id}/approve`);
|
|
95
|
+
return response.data;
|
|
96
|
+
} catch (error) {
|
|
97
|
+
setError(error);
|
|
98
|
+
throw error;
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
async rejectInitiative(id) {
|
|
102
|
+
try {
|
|
103
|
+
const response = await $axios.post(`/api/initiatives/${id}/reject`);
|
|
104
|
+
return response.data;
|
|
105
|
+
} catch (error) {
|
|
106
|
+
setError(error);
|
|
107
|
+
throw error;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const initiativesHistory = [];
|
|
112
|
+
watch(initiativesState, (newState) => {
|
|
113
|
+
initiativesHistory.push(JSON.parse(JSON.stringify(newState)));
|
|
114
|
+
});
|
|
115
|
+
export {
|
|
116
|
+
initiativesActions,
|
|
117
|
+
initiativesState
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=initiatives.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initiatives.js","sources":["../../../../../../../src/modules/governance/views/store/initiatives.js"],"sourcesContent":["import { reactive, watch } from 'vue';\n\nimport { setError } from '@martyrs/src/modules/core/views/store/core.store.js';\n\nimport $axios from '@martyrs/src/modules/core/views/utils/axios-instance.js';\n\n// Initiatives Store\nconst initiativesState = reactive({\n all: [],\n current: {\n name: '',\n title: '',\n description: '',\n status: '',\n fullDescription: '',\n valueProposition: '',\n targetAudience: '',\n successCriteria: [],\n repositories: [],\n links: {},\n environments: [],\n releases: [],\n metrics: null,\n team: null,\n sprints: [],\n createdBy: '',\n createdAt: null,\n updatedAt: null,\n },\n});\n\nconst initiativesActions = {\n async getMetrics(initiativeId) {\n try {\n const response = await $axios.get(`/api/initiatives/${initiativeId}/metrics`);\n return response.data;\n } catch (error) {\n setError(error);\n return null;\n }\n },\n async getAllInitiatives() {\n try {\n const response = await $axios.get('/api/initiatives/read');\n initiativesState.all = response.data;\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async getInitiativeById(id) {\n try {\n const response = await $axios.get('/api/initiatives/read', { params: { _id: id } });\n initiativesState.current = Array.isArray(response.data) ? response.data[0] : response.data;\n return initiativesState.current;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async createInitiative(initiative) {\n try {\n const response = await $axios.post('/api/initiatives/create', initiative);\n initiativesState.all.push(response.data);\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async updateInitiative(initiative) {\n try {\n const response = await $axios.put('/api/initiatives/update', {\n _id: initiative._id || initiative.id,\n ...initiative\n });\n const index = initiativesState.all.findIndex(i => (i._id || i.id) === (initiative._id || initiative.id));\n if (index !== -1) {\n initiativesState.all[index] = response.data;\n }\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async deleteInitiative(id) {\n try {\n await $axios.post('/api/initiatives/delete', { _id: id });\n initiativesState.all = initiativesState.all.filter(i => (i._id || i.id) !== id);\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async approveInitiative(id) {\n try {\n const response = await $axios.post(`/api/initiatives/${id}/approve`);\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n async rejectInitiative(id) {\n try {\n const response = await $axios.post(`/api/initiatives/${id}/reject`);\n return response.data;\n } catch (error) {\n setError(error);\n throw error;\n }\n },\n};\n\nconst initiativesHistory = [];\n\nwatch(initiativesState, newState => {\n initiativesHistory.push(JSON.parse(JSON.stringify(newState)));\n});\n\nexport { initiativesActions, initiativesState };\n"],"names":[],"mappings":";;;AAOK,MAAC,mBAAmB,SAAS;AAAA,EAChC,KAAK,CAAA;AAAA,EACL,SAAS;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,iBAAiB,CAAA;AAAA,IACjB,cAAc,CAAA;AAAA,IACd,OAAO,CAAA;AAAA,IACP,cAAc,CAAA;AAAA,IACd,UAAU,CAAA;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS,CAAA;AAAA,IACT,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,EACf;AACA,CAAC;AAEI,MAAC,qBAAqB;AAAA,EACzB,MAAM,WAAW,cAAc;AAC7B,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,oBAAoB,YAAY,UAAU;AAC5E,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,aAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,MAAM,oBAAoB;AACxB,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,uBAAuB;AACzD,uBAAiB,MAAM,SAAS;AAChC,aAAO,SAAS;AAAA,IAClB,SAAS,OAAO;AACd,eAAS,KAAK;AACd,YAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,MAAM,kBAAkB,IAAI;AAC1B,QAAI;AACF,YAAM,WAAW,MAAM,OAAO,IAAI,yBAAyB,EAAE,QAAQ,EAAE,KAAK,GAAE,GAAI;AAClF,uBAAiB,UAAU,MAAM,QAAQ,SAAS,IAAI,IAAI,SAAS,KAAK,CAAC,IAAI,SAAS;AACtF,aAAO,iBAAiB;AAAA,IAC1B,SAAS,OAA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