@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
|
@@ -1,40 +1,47 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref, computed, onMounted } from 'vue';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
|
-
import
|
|
4
|
+
import CardSprintItem from '../blocks/CardSprintItem.vue';
|
|
5
5
|
import CardVotingItem from '../blocks/CardVotingItem.vue';
|
|
6
6
|
import { initiativesActions, initiativesState } from '../../store/initiatives';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { sprintsActions } from '../../store/sprints';
|
|
8
|
+
import { tasksActions } from '../../store/tasks';
|
|
9
|
+
import { votingsActions } from '../../store/votings';
|
|
10
|
+
import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';
|
|
11
|
+
import { IconArrow, IconCheckmark, IconFile, IconOpenLink, IconSend, IconTime, IconAttach } from '@martyrs/src/modules/icons/icons.client.js';
|
|
12
|
+
|
|
13
|
+
const { formatDate } = useGlobalMixins();
|
|
9
14
|
|
|
10
15
|
const route = useRoute();
|
|
11
|
-
const showMilestoneForm = ref(false);
|
|
12
|
-
const showTaskForm = ref(false);
|
|
13
16
|
const showFullDescription = ref(false);
|
|
14
17
|
|
|
15
|
-
const initiative = computed(() =>
|
|
16
|
-
const real = initiativesState.current;
|
|
17
|
-
if (!real) return null;
|
|
18
|
-
const mock = mockInitiatives[0];
|
|
19
|
-
return {
|
|
20
|
-
...mock,
|
|
21
|
-
id: real._id || real.id,
|
|
22
|
-
title: real.name || real.title,
|
|
23
|
-
name: real.name || real.title,
|
|
24
|
-
};
|
|
25
|
-
});
|
|
18
|
+
const initiative = computed(() => initiativesState.current);
|
|
26
19
|
|
|
27
|
-
const
|
|
28
|
-
const
|
|
20
|
+
const sprints = ref([]);
|
|
21
|
+
const tasks = ref([]);
|
|
22
|
+
const relatedVotings = ref([]);
|
|
23
|
+
const metrics = ref(null);
|
|
29
24
|
|
|
30
25
|
onMounted(async () => {
|
|
31
26
|
const id = route.params.id;
|
|
32
27
|
await initiativesActions.getInitiativeById(id);
|
|
28
|
+
|
|
29
|
+
const [sprintsData, tasksData, votingsData, metricsData] = await Promise.all([
|
|
30
|
+
sprintsActions.getByInitiative(id),
|
|
31
|
+
tasksActions.getByInitiative(id),
|
|
32
|
+
votingsActions.getByInitiative(id),
|
|
33
|
+
initiativesActions.getMetrics(id),
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
sprints.value = sprintsData;
|
|
37
|
+
tasks.value = tasksData;
|
|
38
|
+
relatedVotings.value = votingsData;
|
|
39
|
+
metrics.value = metricsData;
|
|
33
40
|
});
|
|
34
41
|
|
|
35
42
|
const statusConfig = {
|
|
36
43
|
active: { label: 'Active', color: 'bg-green-small t-green-nice br-green-semi' },
|
|
37
|
-
draft: { label: 'Draft', color: 'br-black-transp-10 br-1px t-
|
|
44
|
+
draft: { label: 'Draft', color: 'br-black-transp-10 br-1px t-dark' },
|
|
38
45
|
completed: { label: 'Completed', color: 'bg-main-small t-main br-main-semi' },
|
|
39
46
|
archived: { label: 'Archived', color: 'bg-yellow-small t-yellow-nice br-yellow-semi' },
|
|
40
47
|
};
|
|
@@ -47,47 +54,20 @@ const coverUrl = computed(() => {
|
|
|
47
54
|
? initiative.value.cover
|
|
48
55
|
: initiative.value.cover.url;
|
|
49
56
|
});
|
|
50
|
-
|
|
51
|
-
const formatDate = (dateString) => {
|
|
52
|
-
return new Date(dateString).toLocaleDateString('en-US', {
|
|
53
|
-
year: 'numeric',
|
|
54
|
-
month: 'short',
|
|
55
|
-
day: 'numeric',
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const handleCreateMilestone = (data) => {
|
|
60
|
-
console.log('Creating milestone:', data);
|
|
61
|
-
showMilestoneForm.value = false;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const handleProposeTask = (data) => {
|
|
65
|
-
console.log('Proposing task:', data);
|
|
66
|
-
showTaskForm.value = false;
|
|
67
|
-
};
|
|
68
57
|
</script>
|
|
69
58
|
|
|
70
59
|
<template>
|
|
71
60
|
<div v-if="!initiative" class="min-h-100vh flex flex-center flex">
|
|
72
61
|
<div class="t-center">
|
|
73
|
-
<h2 class="h2 fw-medium mn-b-small">
|
|
74
|
-
<router-link
|
|
75
|
-
Back to
|
|
62
|
+
<h2 class="h2 fw-medium mn-b-small">Initiative not found</h2>
|
|
63
|
+
<router-link to="/governance" class="t-main hover:t-main-semi">
|
|
64
|
+
Back to initiatives
|
|
76
65
|
</router-link>
|
|
77
66
|
</div>
|
|
78
67
|
</div>
|
|
79
68
|
|
|
80
69
|
<div v-else class="min-h-100vh">
|
|
81
70
|
<div class="pd-medium pd-y-semi">
|
|
82
|
-
<router-link
|
|
83
|
-
:to="{ name: 'Initiatives' }"
|
|
84
|
-
class="flex flex-v-center t-grey hover:t-dark mn-b-semi ease-cubic-in-out"
|
|
85
|
-
style="text-decoration: none; width: fit-content;"
|
|
86
|
-
>
|
|
87
|
-
<IconArrow class="i-medium mn-r-thin" :rotation="180" :fill="'currentColor'" />
|
|
88
|
-
Back to products
|
|
89
|
-
</router-link>
|
|
90
|
-
|
|
91
71
|
<div v-if="coverUrl" class="relative h-64r radius-semi o-hidden mn-b-semi">
|
|
92
72
|
<img :src="coverUrl" :alt="initiative.title" class="w-100 h-100 object-fit-cover" />
|
|
93
73
|
<div class="absolute inset-0 bg-grad-[to-b_dark-80_black-90]" />
|
|
@@ -107,15 +87,15 @@ const handleProposeTask = (data) => {
|
|
|
107
87
|
<span :class="`pd-medium pd-x-medium radius-medium p-small fw-medium br-1px ${status.color}`">
|
|
108
88
|
{{ status.label }}
|
|
109
89
|
</span>
|
|
110
|
-
<
|
|
90
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/votings/create`" class="bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-medium radius-medium flex flex-v-center gap-thin ease-cubic-in-out p-small" style="text-decoration: none;">
|
|
111
91
|
<IconSend class="i-regular" :fill="'currentColor'" />
|
|
112
92
|
Open Voting
|
|
113
|
-
</
|
|
93
|
+
</router-link>
|
|
114
94
|
</div>
|
|
115
95
|
</div>
|
|
116
96
|
|
|
117
97
|
<div v-if="initiative.fullDescription" class="mn-b-medium">
|
|
118
|
-
<p :class="`p-regular t-
|
|
98
|
+
<p :class="`p-regular t-dark t-line-relaxed ${!showFullDescription && 't-line-clamp-3'}`">
|
|
119
99
|
{{ initiative.fullDescription }}
|
|
120
100
|
</p>
|
|
121
101
|
<button v-if="initiative.fullDescription.length > 200" @click="showFullDescription = !showFullDescription" class="t-main hover:t-main-semi p-small fw-medium mn-t-thin">
|
|
@@ -126,12 +106,12 @@ const handleProposeTask = (data) => {
|
|
|
126
106
|
<div v-if="showFullDescription">
|
|
127
107
|
<div v-if="initiative.valueProposition" class="mn-b-medium">
|
|
128
108
|
<h4 class="fw-medium mn-b-small">Value Proposition</h4>
|
|
129
|
-
<p class="p-regular t-
|
|
109
|
+
<p class="p-regular t-dark">{{ initiative.valueProposition }}</p>
|
|
130
110
|
</div>
|
|
131
111
|
|
|
132
112
|
<div v-if="initiative.targetAudience" class="mn-b-medium">
|
|
133
113
|
<h4 class="fw-medium mn-b-small">Target Audience</h4>
|
|
134
|
-
<p class="p-regular t-
|
|
114
|
+
<p class="p-regular t-dark">{{ initiative.targetAudience }}</p>
|
|
135
115
|
</div>
|
|
136
116
|
|
|
137
117
|
<div v-if="initiative.successCriteria && initiative.successCriteria.length > 0">
|
|
@@ -139,25 +119,21 @@ const handleProposeTask = (data) => {
|
|
|
139
119
|
<div class="flex flex-column gap-thin">
|
|
140
120
|
<div v-for="(criteria, index) in initiative.successCriteria" :key="index" class="flex flex-align-start gap-thin">
|
|
141
121
|
<IconCheckmark class="i-medium flex-shrink-0 mn-t-micro" :fill="'rgb(var(--green-nice))'" />
|
|
142
|
-
<span class="p-regular t-
|
|
122
|
+
<span class="p-regular t-dark">{{ criteria }}</span>
|
|
143
123
|
</div>
|
|
144
124
|
</div>
|
|
145
125
|
</div>
|
|
146
126
|
</div>
|
|
147
127
|
|
|
148
|
-
<div v-if="initiative.releases && initiative.releases.length > 0" class="mn-t-semi
|
|
128
|
+
<div v-if="initiative.releases && initiative.releases.length > 0" class="mn-t-semi">
|
|
149
129
|
<div class="flex flex-justify-between flex-v-center mn-b-small">
|
|
150
130
|
<h4 class="fw-medium">Recent Release</h4>
|
|
151
|
-
<router-link :to="{ name: 'Roadmap', params: { id: route.params.id } }" class="t-main hover:t-main-semi p-small fw-medium flex flex-v-center gap-micro ease-cubic-in-out">
|
|
152
|
-
View All Releases
|
|
153
|
-
<IconArrow class="i-regular" :fill="'currentColor'" />
|
|
154
|
-
</router-link>
|
|
155
131
|
</div>
|
|
156
132
|
<div class="br-black-transp-10 br-1px radius-medium pd-medium flex flex-justify-between flex-align-start bg-grad-[to-br_main-10_white]">
|
|
157
133
|
<div>
|
|
158
134
|
<h5 class="fw-medium mn-b-small">{{ initiative.releases[0].version }}</h5>
|
|
159
|
-
<p class="p-small t-
|
|
160
|
-
<p class="p-regular t-
|
|
135
|
+
<p class="p-small t-dark mn-b-small">{{ formatDate(initiative.releases[0].date, { dateOnly: true }) }}</p>
|
|
136
|
+
<p class="p-regular t-dark">{{ initiative.releases[0].notes }}</p>
|
|
161
137
|
</div>
|
|
162
138
|
<span class="pd-small pd-x-medium bg-green-small t-green-nice radius-regular p-small fw-medium">
|
|
163
139
|
{{ initiative.releases[0].status }}
|
|
@@ -165,82 +141,78 @@ const handleProposeTask = (data) => {
|
|
|
165
141
|
</div>
|
|
166
142
|
</div>
|
|
167
143
|
|
|
168
|
-
<div v-if="initiative.team" class="mn-t-semi
|
|
144
|
+
<div v-if="initiative.team" class="mn-t-semi">
|
|
169
145
|
<div class="flex flex-justify-between flex-v-center mn-b-small">
|
|
170
146
|
<h4 class="fw-medium">Team</h4>
|
|
171
|
-
<router-link :to="{ name: 'Initiative', params: { id: route.params.id } }" class="t-main hover:t-main-semi p-small fw-medium flex flex-v-center gap-micro ease-cubic-in-out">
|
|
172
|
-
Manage Team
|
|
173
|
-
<IconArrow class="i-regular" :fill="'currentColor'" />
|
|
174
|
-
</router-link>
|
|
175
147
|
</div>
|
|
176
148
|
<div class="cols-3 gap-regular">
|
|
177
149
|
<div v-if="initiative.team.owners && initiative.team.owners.length > 0" class="br-black-transp-10 br-1px radius-medium pd-medium bg-grad-[to-br_yellow-10_white]">
|
|
178
|
-
<h5 class="p-micro t-
|
|
150
|
+
<h5 class="p-micro t-dark fw-medium t-uppercase mn-b-small">Owners</h5>
|
|
179
151
|
<div class="flex flex-column gap-thin">
|
|
180
152
|
<div v-for="member in initiative.team.owners.slice(0, 3)" :key="member.id" class="flex flex-v-center gap-thin">
|
|
181
153
|
<img :src="member.avatar" :alt="member.name" class="i-medium radius-extra" />
|
|
182
154
|
<span class="p-small truncate">{{ member.name }}</span>
|
|
183
155
|
</div>
|
|
184
|
-
<span v-if="initiative.team.owners.length > 3" class="p-micro t-
|
|
156
|
+
<span v-if="initiative.team.owners.length > 3" class="p-micro t-dark">+{{ initiative.team.owners.length - 3 }} more</span>
|
|
185
157
|
</div>
|
|
186
158
|
</div>
|
|
187
159
|
|
|
188
160
|
<div v-if="initiative.team.coreTeam && initiative.team.coreTeam.length > 0" class="br-black-transp-10 br-1px radius-medium pd-medium bg-grad-[to-br_main-10_white]">
|
|
189
|
-
<h5 class="p-micro t-
|
|
161
|
+
<h5 class="p-micro t-dark fw-medium t-uppercase mn-b-small">Core Team</h5>
|
|
190
162
|
<div class="flex flex-column gap-thin">
|
|
191
163
|
<div v-for="member in initiative.team.coreTeam.slice(0, 3)" :key="member.id" class="flex flex-v-center gap-thin">
|
|
192
164
|
<img :src="member.avatar" :alt="member.name" class="i-medium radius-extra" />
|
|
193
165
|
<span class="p-small truncate">{{ member.name }}</span>
|
|
194
166
|
</div>
|
|
195
|
-
<span v-if="initiative.team.coreTeam.length > 3" class="p-micro t-
|
|
167
|
+
<span v-if="initiative.team.coreTeam.length > 3" class="p-micro t-dark">+{{ initiative.team.coreTeam.length - 3 }} more</span>
|
|
196
168
|
</div>
|
|
197
169
|
</div>
|
|
198
170
|
|
|
199
171
|
<div v-if="initiative.team.contributors && initiative.team.contributors.length > 0" class="br-black-transp-10 br-1px radius-medium pd-medium bg-grad-[to-br_green-10_white]">
|
|
200
|
-
<h5 class="p-micro t-
|
|
172
|
+
<h5 class="p-micro t-dark fw-medium t-uppercase mn-b-small">Contributors</h5>
|
|
201
173
|
<div class="flex flex-column gap-thin">
|
|
202
174
|
<div v-for="member in initiative.team.contributors.slice(0, 3)" :key="member.id" class="flex flex-v-center gap-thin">
|
|
203
175
|
<img :src="member.avatar" :alt="member.name" class="i-medium radius-extra" />
|
|
204
176
|
<span class="p-small truncate">{{ member.name }}</span>
|
|
205
177
|
</div>
|
|
206
|
-
<span v-if="initiative.team.contributors.length > 3" class="p-micro t-
|
|
178
|
+
<span v-if="initiative.team.contributors.length > 3" class="p-micro t-dark">+{{ initiative.team.contributors.length - 3 }} more</span>
|
|
207
179
|
</div>
|
|
208
180
|
</div>
|
|
209
181
|
</div>
|
|
210
182
|
</div>
|
|
211
183
|
|
|
212
|
-
<div v-if="
|
|
184
|
+
<div v-if="metrics" class="mn-t-semi">
|
|
213
185
|
<h4 class="fw-medium mn-b-small">Key Metrics</h4>
|
|
214
186
|
<div class="cols-6 gap-regular">
|
|
187
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/tasks`" class="br-black-transp-10 br-1px radius-medium pd-medium hover:bg-white ease-cubic-in-out" style="text-decoration: none; color: inherit;">
|
|
188
|
+
<div class="p-micro t-dark mn-b-micro">Task Progress</div>
|
|
189
|
+
<div class="h2 fw-medium">{{ metrics.taskProgress }}%</div>
|
|
190
|
+
</router-link>
|
|
191
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/sprints`" class="br-black-transp-10 br-1px radius-medium pd-medium hover:bg-white ease-cubic-in-out" style="text-decoration: none; color: inherit;">
|
|
192
|
+
<div class="p-micro t-dark mn-b-micro">Sprint Progress</div>
|
|
193
|
+
<div class="h2 fw-medium">{{ metrics.sprintProgress }}%</div>
|
|
194
|
+
</router-link>
|
|
215
195
|
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
216
|
-
<div class="p-micro t-
|
|
217
|
-
<div class="h2 fw-medium">{{ initiative.metrics.taskProgress }}%</div>
|
|
218
|
-
</div>
|
|
219
|
-
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
220
|
-
<div class="p-micro t-grey mn-b-micro">Milestone Progress</div>
|
|
221
|
-
<div class="h2 fw-medium">{{ initiative.metrics.milestoneProgress }}%</div>
|
|
222
|
-
</div>
|
|
223
|
-
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
224
|
-
<div class="p-micro t-grey mn-b-micro">Risk Index</div>
|
|
196
|
+
<div class="p-micro t-dark mn-b-micro">Risk Index</div>
|
|
225
197
|
<div :class="`p-small fw-medium t-capitalize pd-thin pd-x-thin radius-regular ${
|
|
226
|
-
|
|
227
|
-
|
|
198
|
+
metrics.riskIndex === 'low' ? 'bg-green-small t-green-nice' :
|
|
199
|
+
metrics.riskIndex === 'medium' ? 'bg-yellow-small t-yellow-nice' :
|
|
228
200
|
'bg-red-small t-red-nice'
|
|
229
201
|
}`">
|
|
230
|
-
{{
|
|
202
|
+
{{ metrics.riskIndex }}
|
|
231
203
|
</div>
|
|
232
204
|
</div>
|
|
233
205
|
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
234
|
-
<div class="p-micro t-
|
|
235
|
-
<div class="h2 fw-medium">{{
|
|
206
|
+
<div class="p-micro t-dark mn-b-micro">Availability</div>
|
|
207
|
+
<div class="h2 fw-medium">{{ metrics.availabilityIndex }}%</div>
|
|
236
208
|
</div>
|
|
237
209
|
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
238
|
-
<div class="p-micro t-
|
|
239
|
-
<div class="h2 fw-medium">{{
|
|
210
|
+
<div class="p-micro t-dark mn-b-micro">Active Users</div>
|
|
211
|
+
<div class="h2 fw-medium">{{ metrics.activeUsers }}</div>
|
|
240
212
|
</div>
|
|
241
213
|
<div class="br-black-transp-10 br-1px radius-medium pd-medium">
|
|
242
|
-
<div class="p-micro t-
|
|
243
|
-
<div class="h2 fw-medium">{{
|
|
214
|
+
<div class="p-micro t-dark mn-b-micro">Performance</div>
|
|
215
|
+
<div class="h2 fw-medium">{{ metrics.performance }}%</div>
|
|
244
216
|
</div>
|
|
245
217
|
</div>
|
|
246
218
|
</div>
|
|
@@ -252,57 +224,27 @@ const handleProposeTask = (data) => {
|
|
|
252
224
|
<IconSend class="i-medium" :fill="'rgb(var(--grey))'" />
|
|
253
225
|
<h3 class="p-semi fw-medium">Governance & Approvals</h3>
|
|
254
226
|
</div>
|
|
255
|
-
<router-link :to="{
|
|
227
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/votings`" class="t-main hover:t-main-semi p-small fw-medium">
|
|
256
228
|
View all votings
|
|
257
229
|
</router-link>
|
|
258
230
|
</div>
|
|
259
231
|
<div class="cols-3 gap-regular">
|
|
260
|
-
<CardVotingItem v-for="voting in relatedVotings.slice(0, 3)" :key="voting.id" :voting="voting" />
|
|
232
|
+
<CardVotingItem v-for="voting in relatedVotings.slice(0, 3)" :key="voting._id || voting.id" :voting="voting" />
|
|
261
233
|
</div>
|
|
262
234
|
</div>
|
|
263
235
|
|
|
264
|
-
<div v-if="
|
|
236
|
+
<div v-if="sprints.length > 0" class="bg-light radius-semi pd-semi mn-b-semi">
|
|
265
237
|
<div class="flex flex-justify-between flex-v-center mn-b-semi">
|
|
266
238
|
<div class="flex flex-v-center gap-thin">
|
|
267
239
|
<IconTime class="i-medium" :fill="'rgb(var(--grey))'" />
|
|
268
|
-
<h3 class="p-semi fw-medium">
|
|
240
|
+
<h3 class="p-semi fw-medium">Sprints</h3>
|
|
269
241
|
</div>
|
|
270
|
-
<router-link :to="{
|
|
271
|
-
View
|
|
272
|
-
<IconArrow class="i-regular" :fill="'currentColor'" />
|
|
242
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/sprints`" class="t-main hover:t-main-semi p-small fw-medium">
|
|
243
|
+
View all
|
|
273
244
|
</router-link>
|
|
274
245
|
</div>
|
|
275
|
-
<div class="
|
|
276
|
-
<
|
|
277
|
-
<div class="flex flex-justify-between flex-align-start mn-b-small">
|
|
278
|
-
<div>
|
|
279
|
-
<h4 class="fw-medium mn-b-small">{{ sprint.name }}</h4>
|
|
280
|
-
<p class="p-small t-grey mn-b-small">{{ sprint.theme }}</p>
|
|
281
|
-
</div>
|
|
282
|
-
<span class="p-small t-grey">
|
|
283
|
-
{{ formatDate(sprint.startDate) }} - {{ formatDate(sprint.endDate) }}
|
|
284
|
-
</span>
|
|
285
|
-
</div>
|
|
286
|
-
|
|
287
|
-
<div class="flex flex-v-center gap-regular mn-b-small">
|
|
288
|
-
<div class="flex-child-1">
|
|
289
|
-
<div class="flex flex-justify-between p-small mn-b-micro">
|
|
290
|
-
<span class="t-grey">Progress</span>
|
|
291
|
-
<span class="fw-medium">{{ sprint.completedCount }}/{{ sprint.taskCount }} tasks</span>
|
|
292
|
-
</div>
|
|
293
|
-
<div class="w-100 bg-light radius-extra h-2r">
|
|
294
|
-
<div class="bg-main h-100 radius-extra" :style="{ width: `${(sprint.completedCount / sprint.taskCount) * 100}%` }" />
|
|
295
|
-
</div>
|
|
296
|
-
</div>
|
|
297
|
-
</div>
|
|
298
|
-
|
|
299
|
-
<div class="flex flex-v-center gap-thin">
|
|
300
|
-
<span class="p-small t-grey">Participants:</span>
|
|
301
|
-
<div class="flex" style="margin-left: -0.5rem;">
|
|
302
|
-
<img v-for="member in sprint.participants" :key="member.id" :src="member.avatar" :alt="member.name" :title="member.name" class="i-medium radius-extra br-2px br-white" style="margin-left: -0.5rem;" />
|
|
303
|
-
</div>
|
|
304
|
-
</div>
|
|
305
|
-
</router-link>
|
|
246
|
+
<div class="cols-3 gap-regular">
|
|
247
|
+
<CardSprintItem v-for="sprint in sprints.slice(0, 6)" :key="sprint._id || sprint.id" :sprint="sprint" />
|
|
306
248
|
</div>
|
|
307
249
|
</div>
|
|
308
250
|
|
|
@@ -393,35 +335,12 @@ const handleProposeTask = (data) => {
|
|
|
393
335
|
<IconOpenLink class="i-regular" :fill="'currentColor'" />
|
|
394
336
|
Open
|
|
395
337
|
</a>
|
|
396
|
-
<p class="p-micro t-
|
|
338
|
+
<p class="p-micro t-dark">Version: {{ env.version }}</p>
|
|
397
339
|
</div>
|
|
398
340
|
</div>
|
|
399
341
|
</div>
|
|
400
342
|
</div>
|
|
401
343
|
|
|
402
|
-
<div v-if="showMilestoneForm" class="fixed inset-0 bg-dark-overlay flex flex-center flex z-50" @click.self="showMilestoneForm = false">
|
|
403
|
-
<div class="bg-light radius-medium pd-semi w-max-30r">
|
|
404
|
-
<div class="flex flex-justify-between flex-v-center mn-b-medium">
|
|
405
|
-
<h3 class="h3 fw-medium">Create Milestone</h3>
|
|
406
|
-
<button @click="showMilestoneForm = false" class="t-grey hover:t-dark ease-cubic-in-out">
|
|
407
|
-
<IconCross class="i-medium" :fill="'currentColor'" />
|
|
408
|
-
</button>
|
|
409
|
-
</div>
|
|
410
|
-
<p class="p-regular t-grey t-center">Milestone creation form coming soon...</p>
|
|
411
|
-
</div>
|
|
412
|
-
</div>
|
|
413
|
-
|
|
414
|
-
<div v-if="showTaskForm" class="fixed inset-0 bg-dark-overlay flex flex-center flex z-50" @click.self="showTaskForm = false">
|
|
415
|
-
<div class="bg-light radius-medium pd-semi w-max-30r">
|
|
416
|
-
<div class="flex flex-justify-between flex-v-center mn-b-medium">
|
|
417
|
-
<h3 class="h3 fw-medium">Propose Task</h3>
|
|
418
|
-
<button @click="showTaskForm = false" class="t-grey hover:t-dark ease-cubic-in-out">
|
|
419
|
-
<IconCross class="i-medium" :fill="'currentColor'" />
|
|
420
|
-
</button>
|
|
421
|
-
</div>
|
|
422
|
-
<p class="p-regular t-grey t-center">Task proposal form coming soon...</p>
|
|
423
|
-
</div>
|
|
424
|
-
</div>
|
|
425
344
|
</div>
|
|
426
345
|
</div>
|
|
427
346
|
</template>
|
|
@@ -1,24 +1,61 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
+
import { useRouter } from 'vue-router';
|
|
3
4
|
import { initiativesActions } from '../../store/initiatives';
|
|
4
5
|
import FormInitiativeDetails from '../sections/FormInitiativeDetails.vue';
|
|
6
|
+
import { IconArrow } from '@martyrs/src/modules/icons/icons.client.js';
|
|
7
|
+
|
|
8
|
+
const router = useRouter();
|
|
5
9
|
|
|
6
10
|
const newInitiative = ref({
|
|
7
11
|
name: '',
|
|
12
|
+
title: '',
|
|
8
13
|
description: '',
|
|
9
|
-
status: 'draft'
|
|
14
|
+
status: 'draft',
|
|
15
|
+
url: '',
|
|
16
|
+
client: '',
|
|
17
|
+
cover: '',
|
|
18
|
+
fullDescription: '',
|
|
19
|
+
valueProposition: '',
|
|
20
|
+
targetAudience: '',
|
|
21
|
+
successCriteria: [],
|
|
22
|
+
repositories: [],
|
|
23
|
+
links: {},
|
|
24
|
+
environments: [],
|
|
25
|
+
releases: [],
|
|
26
|
+
metrics: null,
|
|
27
|
+
sprints: [],
|
|
10
28
|
});
|
|
11
29
|
|
|
30
|
+
const creating = ref(false);
|
|
31
|
+
|
|
12
32
|
const createInitiative = async () => {
|
|
13
|
-
|
|
14
|
-
|
|
33
|
+
if (!newInitiative.value.name) return;
|
|
34
|
+
creating.value = true;
|
|
35
|
+
try {
|
|
36
|
+
const response = await initiativesActions.createInitiative(newInitiative.value);
|
|
37
|
+
router.push(`/governance/initiatives/${response._id || response.id}`);
|
|
38
|
+
} catch (e) {
|
|
39
|
+
creating.value = false;
|
|
40
|
+
}
|
|
15
41
|
};
|
|
16
42
|
</script>
|
|
17
43
|
|
|
18
44
|
<template>
|
|
19
|
-
<div>
|
|
20
|
-
<h1>Create New Initiative</h1>
|
|
45
|
+
<div class="pd-medium pd-y-semi">
|
|
46
|
+
<h1 class="h2 fw-medium mn-b-semi">Create New Initiative</h1>
|
|
47
|
+
|
|
21
48
|
<FormInitiativeDetails v-model="newInitiative" />
|
|
22
|
-
|
|
49
|
+
|
|
50
|
+
<div class="flex flex-justify-end mn-t-semi">
|
|
51
|
+
<button
|
|
52
|
+
@click="createInitiative"
|
|
53
|
+
:disabled="!newInitiative.name || creating"
|
|
54
|
+
class="bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out"
|
|
55
|
+
:class="{ 'o-50': !newInitiative.name || creating }"
|
|
56
|
+
>
|
|
57
|
+
{{ creating ? 'Creating...' : 'Create Initiative' }}
|
|
58
|
+
</button>
|
|
59
|
+
</div>
|
|
23
60
|
</div>
|
|
24
|
-
</template>
|
|
61
|
+
</template>
|