@ozdao/martyrs 0.2.602 → 0.2.604
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/Feed/Carousel.vue.js +1 -1
- 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/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +3 -3
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- 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/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +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 +2 -2
- 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/ProfileEdit.vue.js +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 +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +41 -3
- 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 +2 -2
- 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/auth/views/store/auth.js +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 +3 -3
- 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/components/sections/Comments.vue.js +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 +6 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +11 -8
- 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/SectionPageTitle.vue.js +27 -17
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +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/store/core.store.js +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/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +3 -3
- 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 +3 -3
- 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/sections/SectionMenu.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 +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +18 -18
- 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 +119 -60
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +76 -56
- 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/notifications/store/notifications.store.js +1 -1
- 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/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/orders/store/shopcart.js +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 +13 -7
- 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 +1 -1
- 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/elements/Image360.vue.js +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 +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +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 +3 -3
- 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 +6 -6
- 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 +11 -11
- 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.es101.js +39 -0
- package/dist/martyrs.es102.js +31 -0
- package/dist/martyrs.es104.js +27 -0
- package/dist/martyrs.es105.js +8 -0
- package/dist/martyrs.es106.js +9 -0
- package/dist/martyrs.es107.js +79 -0
- package/dist/martyrs.es108.js +7 -0
- package/dist/martyrs.es109.js +121 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/martyrs.es112.js +4 -0
- package/dist/martyrs.es113.js +169 -0
- package/dist/martyrs.es114.js +460 -0
- package/dist/martyrs.es115.js +42 -0
- package/dist/martyrs.es116.js +12 -0
- package/dist/martyrs.es117.js +52 -0
- package/dist/martyrs.es118.js +14 -0
- package/dist/martyrs.es119.js +47 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +7 -0
- package/dist/martyrs.es121.js +131 -0
- package/dist/martyrs.es122.js +103 -0
- package/dist/martyrs.es123.js +89 -0
- package/dist/martyrs.es124.js +40 -0
- package/dist/martyrs.es125.js +14 -0
- package/dist/martyrs.es126.js +42 -0
- package/dist/martyrs.es127.js +11 -0
- package/dist/martyrs.es128.js +25 -0
- package/dist/martyrs.es129.js +7 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +10 -0
- package/dist/martyrs.es131.js +119 -0
- package/dist/martyrs.es132.js +20 -0
- package/dist/martyrs.es133.js +18 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +35 -0
- package/dist/martyrs.es136.js +12 -0
- package/dist/martyrs.es137.js +23 -0
- package/dist/martyrs.es138.js +12 -0
- package/dist/martyrs.es139.js +11 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +47 -0
- package/dist/martyrs.es141.js +483 -0
- package/dist/martyrs.es142.js +8 -0
- package/dist/martyrs.es143.js +4 -0
- package/dist/martyrs.es144.js +33 -0
- package/dist/martyrs.es145.js +14 -0
- package/dist/martyrs.es146.js +19 -0
- package/dist/martyrs.es147.js +22 -0
- package/dist/martyrs.es148.js +31 -0
- package/dist/martyrs.es149.js +23 -0
- package/dist/martyrs.es15.js +408 -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 +35 -0
- package/dist/martyrs.es94.js +41 -0
- package/dist/martyrs.es95.js +59 -0
- package/dist/martyrs.es96.js +123 -0
- package/dist/martyrs.es97.js +43 -0
- package/dist/martyrs.es98.js +86 -0
- package/dist/martyrs.es99.js +33 -0
- package/dist/music.server.js +11 -11
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- 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/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.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/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.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/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_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/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/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/dist/web-n_ivHO3v.js +0 -54
- 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,145 @@
|
|
|
1
|
+
import { ref, onMounted, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createTextVNode, unref, withDirectives, vModelText, Fragment, renderList, createBlock } from "vue";
|
|
2
|
+
import { initiativesActions, initiativesState } from "../../store/initiatives.js";
|
|
3
|
+
import _sfc_main$4 from "../blocks/CardInitiativeItem.vue.js";
|
|
4
|
+
import _sfc_main$3 from "../partials/EmptyState.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import _sfc_main$1 from "../../../../icons/navigation/IconPlus.vue.js";
|
|
7
|
+
import _sfc_main$2 from "../../../../icons/navigation/IconSearch.vue.js";
|
|
8
|
+
import "vue-router";
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
const _hoisted_1 = { class: "pd-medium mobile:pd-thin" };
|
|
24
|
+
const _hoisted_2 = { class: "flex flex-justify-between flex-v-center mn-b-semi" };
|
|
25
|
+
const _hoisted_3 = { class: "bg-light radius-medium pd-medium mn-b-semi" };
|
|
26
|
+
const _hoisted_4 = { class: "flex-child-1 pos-relative" };
|
|
27
|
+
const _hoisted_5 = { key: 0 };
|
|
28
|
+
const _hoisted_6 = { key: 1 };
|
|
29
|
+
const _hoisted_7 = { key: 2 };
|
|
30
|
+
const _hoisted_8 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
|
|
31
|
+
const _sfc_main = {
|
|
32
|
+
__name: "Initiatives",
|
|
33
|
+
setup(__props) {
|
|
34
|
+
const initiatives = ref([]);
|
|
35
|
+
const searchQuery = ref("");
|
|
36
|
+
onMounted(async () => {
|
|
37
|
+
await initiativesActions.getAllInitiatives();
|
|
38
|
+
initiatives.value = initiativesState.all;
|
|
39
|
+
});
|
|
40
|
+
const filteredInitiatives = computed(() => {
|
|
41
|
+
if (searchQuery.value === "") return initiatives.value;
|
|
42
|
+
const q = searchQuery.value.toLowerCase();
|
|
43
|
+
return initiatives.value.filter(
|
|
44
|
+
(initiative) => initiative.title && initiative.title.toLowerCase().includes(q) || initiative.description && initiative.description.toLowerCase().includes(q) || initiative.name && initiative.name.toLowerCase().includes(q)
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
const _component_router_link = resolveComponent("router-link");
|
|
49
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
50
|
+
createElementVNode("div", _hoisted_2, [
|
|
51
|
+
_cache[3] || (_cache[3] = createElementVNode("div", null, [
|
|
52
|
+
createElementVNode("h1", { class: "h1 fw-medium" }, "Initiatives"),
|
|
53
|
+
createElementVNode("p", { class: "p-small t-transp mn-t-thin" }, "Manage and track all your initiatives")
|
|
54
|
+
], -1)),
|
|
55
|
+
createVNode(_component_router_link, {
|
|
56
|
+
to: "/governance/create",
|
|
57
|
+
class: "bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-semi radius-medium flex flex-v-center gap-thin ease-cubic-in-out cursor-pointer",
|
|
58
|
+
style: { "text-decoration": "none" }
|
|
59
|
+
}, {
|
|
60
|
+
default: withCtx(() => [
|
|
61
|
+
createVNode(unref(_sfc_main$1), {
|
|
62
|
+
class: "i-medium",
|
|
63
|
+
fill: "currentColor"
|
|
64
|
+
}),
|
|
65
|
+
_cache[2] || (_cache[2] = createTextVNode(" Create Initiative "))
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
})
|
|
69
|
+
]),
|
|
70
|
+
createElementVNode("div", _hoisted_3, [
|
|
71
|
+
createElementVNode("div", _hoisted_4, [
|
|
72
|
+
createVNode(unref(_sfc_main$2), {
|
|
73
|
+
class: "i-medium pos-absolute pos-l-small pos-t-regular",
|
|
74
|
+
fill: "rgb(var(--grey))"
|
|
75
|
+
}),
|
|
76
|
+
withDirectives(createElementVNode("input", {
|
|
77
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchQuery.value = $event),
|
|
78
|
+
type: "text",
|
|
79
|
+
placeholder: "Search initiatives by name, description...",
|
|
80
|
+
class: "w-100 pd-small pd-l-extra radius-medium bg-white",
|
|
81
|
+
style: { "outline": "none" }
|
|
82
|
+
}, null, 512), [
|
|
83
|
+
[vModelText, searchQuery.value]
|
|
84
|
+
])
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
filteredInitiatives.value.length === 0 && searchQuery.value ? (openBlock(), createElementBlock("div", _hoisted_5, _cache[4] || (_cache[4] = [
|
|
88
|
+
createElementVNode("div", { class: "br-black-transp-10 br-1px radius-medium pd-semi t-center" }, [
|
|
89
|
+
createElementVNode("p", { class: "p-small t-transp mn-b-small" }, "No initiatives match your search")
|
|
90
|
+
], -1)
|
|
91
|
+
]))) : filteredInitiatives.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
92
|
+
createVNode(_sfc_main$3, {
|
|
93
|
+
title: "No initiatives yet",
|
|
94
|
+
message: "Get started by creating your first initiative to organize your work.",
|
|
95
|
+
actionText: "Create Initiative",
|
|
96
|
+
onAction: _cache[1] || (_cache[1] = ($event) => _ctx.$router.push("/governance/create"))
|
|
97
|
+
}, {
|
|
98
|
+
icon: withCtx(() => _cache[5] || (_cache[5] = [
|
|
99
|
+
createElementVNode("svg", {
|
|
100
|
+
class: "i-big t-transp",
|
|
101
|
+
viewBox: "0 0 24 24",
|
|
102
|
+
fill: "none",
|
|
103
|
+
stroke: "currentColor",
|
|
104
|
+
"stroke-width": "2"
|
|
105
|
+
}, [
|
|
106
|
+
createElementVNode("circle", {
|
|
107
|
+
cx: "12",
|
|
108
|
+
cy: "12",
|
|
109
|
+
r: "10"
|
|
110
|
+
}),
|
|
111
|
+
createElementVNode("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }),
|
|
112
|
+
createElementVNode("line", {
|
|
113
|
+
x1: "9",
|
|
114
|
+
y1: "9",
|
|
115
|
+
x2: "9.01",
|
|
116
|
+
y2: "9"
|
|
117
|
+
}),
|
|
118
|
+
createElementVNode("line", {
|
|
119
|
+
x1: "15",
|
|
120
|
+
y1: "9",
|
|
121
|
+
x2: "15.01",
|
|
122
|
+
y2: "9"
|
|
123
|
+
})
|
|
124
|
+
], -1)
|
|
125
|
+
])),
|
|
126
|
+
_: 1
|
|
127
|
+
})
|
|
128
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
129
|
+
createElementVNode("div", _hoisted_8, [
|
|
130
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredInitiatives.value, (initiative) => {
|
|
131
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
132
|
+
key: initiative._id || initiative.id,
|
|
133
|
+
initiative
|
|
134
|
+
}, null, 8, ["initiative"]);
|
|
135
|
+
}), 128))
|
|
136
|
+
])
|
|
137
|
+
]))
|
|
138
|
+
]);
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
export {
|
|
143
|
+
_sfc_main as default
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=Initiatives.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Initiatives.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Initiatives.vue"],"sourcesContent":["<script setup>\nimport { onMounted, ref, computed } from 'vue';\nimport { initiativesActions, initiativesState } from '../../store/initiatives';\nimport CardInitiativeItem from '../blocks/CardInitiativeItem.vue';\nimport EmptyState from '../partials/EmptyState.vue';\nimport { IconPlus, IconSearch } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst initiatives = ref([]);\nconst searchQuery = ref('');\n\nonMounted(async () => {\n await initiativesActions.getAllInitiatives();\n initiatives.value = initiativesState.all;\n});\n\nconst filteredInitiatives = computed(() => {\n if (searchQuery.value === '') return initiatives.value;\n const q = searchQuery.value.toLowerCase();\n return initiatives.value.filter((initiative) =>\n (initiative.title && initiative.title.toLowerCase().includes(q)) ||\n (initiative.description && initiative.description.toLowerCase().includes(q)) ||\n (initiative.name && initiative.name.toLowerCase().includes(q))\n );\n});\n</script>\n\n<template>\n <div class=\"pd-medium mobile:pd-thin\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-semi\">\n <div>\n <h1 class=\"h1 fw-medium\">Initiatives</h1>\n <p class=\"p-small t-transp mn-t-thin\">Manage and track all your initiatives</p>\n </div>\n <router-link\n to=\"/governance/create\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-semi radius-medium flex flex-v-center gap-thin ease-cubic-in-out cursor-pointer\"\n style=\"text-decoration: none;\"\n >\n <IconPlus class=\"i-medium\" :fill=\"'currentColor'\" />\n Create Initiative\n </router-link>\n </div>\n\n <div class=\"bg-light radius-medium pd-medium mn-b-semi\">\n <div class=\"flex-child-1 pos-relative\">\n <IconSearch class=\"i-medium pos-absolute pos-l-small pos-t-regular\" :fill=\"'rgb(var(--grey))'\" />\n <input\n v-model=\"searchQuery\"\n type=\"text\"\n placeholder=\"Search initiatives by name, description...\"\n class=\"w-100 pd-small pd-l-extra radius-medium bg-white\"\n style=\"outline: none;\"\n />\n </div>\n </div>\n\n <div v-if=\"filteredInitiatives.length === 0 && searchQuery\">\n <div class=\"br-black-transp-10 br-1px radius-medium pd-semi t-center\">\n <p class=\"p-small t-transp mn-b-small\">No initiatives match your search</p>\n </div>\n </div>\n\n <div v-else-if=\"filteredInitiatives.length === 0\">\n <EmptyState\n title=\"No initiatives yet\"\n message=\"Get started by creating your first initiative to organize your work.\"\n actionText=\"Create Initiative\"\n @action=\"$router.push('/governance/create')\"\n >\n <template #icon>\n <svg class=\"i-big t-transp\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/>\n <path d=\"M8 14s1.5 2 4 2 4-2 4-2\"/>\n <line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"/>\n <line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"/>\n </svg>\n </template>\n </EmptyState>\n </div>\n\n <div v-else>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardInitiativeItem\n v-for=\"initiative in filteredInitiatives\"\n :key=\"initiative._id || initiative.id\"\n :initiative=\"initiative\"\n />\n </div>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,cAAc,IAAI,EAAE;AAC1B,UAAM,cAAc,IAAI,EAAE;AAE1B,cAAU,YAAY;AACpB,YAAM,mBAAmB,kBAAiB;AAC1C,kBAAY,QAAQ,iBAAiB;AAAA,IACvC,CAAC;AAED,UAAM,sBAAsB,SAAS,MAAM;AACzC,UAAI,YAAY,UAAU,GAAI,QAAO,YAAY;AACjD,YAAM,IAAI,YAAY,MAAM,YAAW;AACvC,aAAO,YAAY,MAAM;AAAA,QAAO,CAAC,eAC9B,WAAW,SAAS,WAAW,MAAM,YAAW,EAAG,SAAS,CAAC,KAC7D,WAAW,eAAe,WAAW,YAAY,cAAc,SAAS,CAAC,KACzE,WAAW,QAAQ,WAAW,KAAK,YAAW,EAAG,SAAS,CAAC;AAAA,MAChE;AAAA,IACA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, unref, withCtx, createTextVNode, createBlock, createCommentVNode, toDisplayString, normalizeStyle, Fragment, renderList, withModifiers } from "vue";
|
|
2
|
+
import { useRoute } from "vue-router";
|
|
3
|
+
import _sfc_main$2 from "../partials/TaskStatusBadge.vue.js";
|
|
4
|
+
import _sfc_main$5 from "../partials/EmptyState.vue.js";
|
|
5
|
+
import _sfc_main$6 from "../blocks/CardTaskItem.vue.js";
|
|
6
|
+
import { sprintsState, sprintsActions } from "../../store/sprints.js";
|
|
7
|
+
import { tasksState, tasksActions } from "../../store/tasks.js";
|
|
8
|
+
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
9
|
+
import _sfc_main$3 from "../../../../icons/entities/IconCalendar.vue.js";
|
|
10
|
+
import _sfc_main$1 from "../../../../icons/navigation/IconArrow.vue.js";
|
|
11
|
+
import _sfc_main$7 from "../../../../icons/navigation/IconCross.vue.js";
|
|
12
|
+
import _sfc_main$4 from "../../../../icons/navigation/IconPlus.vue.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
/* empty css */
|
|
27
|
+
const _hoisted_1 = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "min-h-100vh flex flex-center flex"
|
|
30
|
+
};
|
|
31
|
+
const _hoisted_2 = { class: "t-center" };
|
|
32
|
+
const _hoisted_3 = {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: "min-h-100vh"
|
|
35
|
+
};
|
|
36
|
+
const _hoisted_4 = { class: "pd-medium pd-y-semi" };
|
|
37
|
+
const _hoisted_5 = { class: "bg-light radius-semi o-hidden pd-semi mn-b-semi" };
|
|
38
|
+
const _hoisted_6 = { class: "flex flex-justify-between flex-align-start mn-b-semi" };
|
|
39
|
+
const _hoisted_7 = { class: "flex-child-1" };
|
|
40
|
+
const _hoisted_8 = { class: "flex flex-v-center gap-small mn-b-small" };
|
|
41
|
+
const _hoisted_9 = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "flex flex-v-center p-small t-dark"
|
|
44
|
+
};
|
|
45
|
+
const _hoisted_10 = { class: "h1 fw-medium mn-b-small" };
|
|
46
|
+
const _hoisted_11 = { class: "p-semi t-dark" };
|
|
47
|
+
const _hoisted_12 = { class: "flex flex-justify-between flex-v-center mn-b-small" };
|
|
48
|
+
const _hoisted_13 = { class: "h2 fw-medium" };
|
|
49
|
+
const _hoisted_14 = { class: "w-100 bg-white radius-extra h-3r o-hidden" };
|
|
50
|
+
const _hoisted_15 = {
|
|
51
|
+
key: 0,
|
|
52
|
+
class: "mn-t-medium flex flex-v-center gap-small p-small t-dark"
|
|
53
|
+
};
|
|
54
|
+
const _hoisted_16 = { class: "flex flex-v-center gap-thin" };
|
|
55
|
+
const _hoisted_17 = ["src", "alt"];
|
|
56
|
+
const _hoisted_18 = { class: "fw-medium" };
|
|
57
|
+
const _hoisted_19 = { key: 0 };
|
|
58
|
+
const _hoisted_20 = {
|
|
59
|
+
class: "flex",
|
|
60
|
+
style: { "margin-left": "-0.25rem" }
|
|
61
|
+
};
|
|
62
|
+
const _hoisted_21 = ["src", "alt", "title"];
|
|
63
|
+
const _hoisted_22 = {
|
|
64
|
+
key: 1,
|
|
65
|
+
class: "cols-6 gap-regular"
|
|
66
|
+
};
|
|
67
|
+
const _hoisted_23 = { class: "flex flex-justify-between flex-v-center mn-b-medium" };
|
|
68
|
+
const _hoisted_24 = { class: "fw-medium" };
|
|
69
|
+
const _hoisted_25 = { class: "bg-light t-dark p-micro fw-medium pd-micro pd-x-thin radius-extra" };
|
|
70
|
+
const _hoisted_26 = { class: "flex flex-column gap-small" };
|
|
71
|
+
const _hoisted_27 = { class: "bg-light radius-medium pd-semi w-max-30r" };
|
|
72
|
+
const _hoisted_28 = { class: "flex flex-justify-between flex-v-center mn-b-medium" };
|
|
73
|
+
const _sfc_main = {
|
|
74
|
+
__name: "Sprint",
|
|
75
|
+
setup(__props) {
|
|
76
|
+
const { formatDate } = useGlobalMixins();
|
|
77
|
+
const route = useRoute();
|
|
78
|
+
const showTaskForm = ref(false);
|
|
79
|
+
const sprint = computed(() => sprintsState.current);
|
|
80
|
+
const tasks = computed(() => tasksState.all.filter((t) => String(t.sprint?._id || t.sprint) === route.params.sprintId));
|
|
81
|
+
const columns = [
|
|
82
|
+
{ id: "proposed", title: "Proposed", status: "proposed" },
|
|
83
|
+
{ id: "voting", title: "Voting", status: "voting" },
|
|
84
|
+
{ id: "not_started", title: "Not Started", status: "not_started" },
|
|
85
|
+
{ id: "in_progress", title: "In Progress", status: "in_progress" },
|
|
86
|
+
{ id: "review", title: "Review", status: "review" },
|
|
87
|
+
{ id: "completed", title: "Completed", status: "completed" }
|
|
88
|
+
];
|
|
89
|
+
const getTasksForColumn = (status) => {
|
|
90
|
+
return tasks.value.filter((task) => task.status === status);
|
|
91
|
+
};
|
|
92
|
+
onMounted(async () => {
|
|
93
|
+
await sprintsActions.getSprintById(route.params.sprintId);
|
|
94
|
+
await tasksActions.getAllTasks();
|
|
95
|
+
});
|
|
96
|
+
return (_ctx, _cache) => {
|
|
97
|
+
const _component_router_link = resolveComponent("router-link");
|
|
98
|
+
return !sprint.value || !sprint.value._id ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
99
|
+
createElementVNode("div", _hoisted_2, [
|
|
100
|
+
_cache[5] || (_cache[5] = createElementVNode("h2", { class: "h2 fw-medium mn-b-small" }, "Sprint not found", -1)),
|
|
101
|
+
createVNode(_component_router_link, {
|
|
102
|
+
to: `/governance/initiatives/${unref(route).params.id}/sprints`,
|
|
103
|
+
class: "t-main hover:t-main-semi"
|
|
104
|
+
}, {
|
|
105
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
106
|
+
createTextVNode(" Back to sprints ")
|
|
107
|
+
])),
|
|
108
|
+
_: 1
|
|
109
|
+
}, 8, ["to"])
|
|
110
|
+
])
|
|
111
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
112
|
+
createElementVNode("div", _hoisted_4, [
|
|
113
|
+
createVNode(_component_router_link, {
|
|
114
|
+
to: `/governance/initiatives/${unref(route).params.id}/sprints`,
|
|
115
|
+
class: "flex flex-v-center t-dark hover:t-dark mn-b-semi ease-cubic-in-out",
|
|
116
|
+
style: { "text-decoration": "none", "width": "fit-content" }
|
|
117
|
+
}, {
|
|
118
|
+
default: withCtx(() => [
|
|
119
|
+
createVNode(unref(_sfc_main$1), {
|
|
120
|
+
class: "i-medium mn-r-thin",
|
|
121
|
+
rotation: 180,
|
|
122
|
+
fill: "currentColor"
|
|
123
|
+
}),
|
|
124
|
+
_cache[6] || (_cache[6] = createTextVNode(" Back to initiative "))
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["to"]),
|
|
128
|
+
createElementVNode("div", _hoisted_5, [
|
|
129
|
+
createElementVNode("div", _hoisted_6, [
|
|
130
|
+
createElementVNode("div", _hoisted_7, [
|
|
131
|
+
createElementVNode("div", _hoisted_8, [
|
|
132
|
+
createVNode(_sfc_main$2, {
|
|
133
|
+
status: sprint.value.status
|
|
134
|
+
}, null, 8, ["status"]),
|
|
135
|
+
sprint.value.startDate || sprint.value.dueDate ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
136
|
+
createVNode(unref(_sfc_main$3), {
|
|
137
|
+
class: "i-regular mn-r-micro",
|
|
138
|
+
fill: "currentColor"
|
|
139
|
+
}),
|
|
140
|
+
createTextVNode(" " + toDisplayString(unref(formatDate)(sprint.value.startDate, { dateOnly: true })) + " - " + toDisplayString(unref(formatDate)(sprint.value.dueDate, { dateOnly: true })), 1)
|
|
141
|
+
])) : createCommentVNode("", true)
|
|
142
|
+
]),
|
|
143
|
+
createElementVNode("h1", _hoisted_10, toDisplayString(sprint.value.name), 1),
|
|
144
|
+
createElementVNode("p", _hoisted_11, toDisplayString(sprint.value.description), 1)
|
|
145
|
+
]),
|
|
146
|
+
createElementVNode("button", {
|
|
147
|
+
onClick: _cache[0] || (_cache[0] = ($event) => showTaskForm.value = true),
|
|
148
|
+
class: "bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-medium radius-medium flex flex-v-center gap-thin ease-cubic-in-out mn-l-medium"
|
|
149
|
+
}, [
|
|
150
|
+
createVNode(unref(_sfc_main$4), {
|
|
151
|
+
class: "i-medium",
|
|
152
|
+
fill: "currentColor"
|
|
153
|
+
}),
|
|
154
|
+
_cache[7] || (_cache[7] = createTextVNode(" Propose Task "))
|
|
155
|
+
])
|
|
156
|
+
]),
|
|
157
|
+
createElementVNode("div", null, [
|
|
158
|
+
createElementVNode("div", _hoisted_12, [
|
|
159
|
+
_cache[8] || (_cache[8] = createElementVNode("span", { class: "p-small fw-medium t-dark" }, "Progress", -1)),
|
|
160
|
+
createElementVNode("span", _hoisted_13, toDisplayString(sprint.value.progress || 0) + "%", 1)
|
|
161
|
+
]),
|
|
162
|
+
createElementVNode("div", _hoisted_14, [
|
|
163
|
+
createElementVNode("div", {
|
|
164
|
+
class: "bg-main h-100 ease-cubic-in-out",
|
|
165
|
+
style: normalizeStyle({ width: `${sprint.value.progress || 0}%` })
|
|
166
|
+
}, null, 4)
|
|
167
|
+
]),
|
|
168
|
+
sprint.value.owner ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
169
|
+
createElementVNode("div", _hoisted_16, [
|
|
170
|
+
sprint.value.owner.avatar ? (openBlock(), createElementBlock("img", {
|
|
171
|
+
key: 0,
|
|
172
|
+
src: sprint.value.owner.avatar,
|
|
173
|
+
alt: sprint.value.owner.name,
|
|
174
|
+
class: "i-medium radius-extra"
|
|
175
|
+
}, null, 8, _hoisted_17)) : createCommentVNode("", true),
|
|
176
|
+
createElementVNode("div", null, [
|
|
177
|
+
_cache[9] || (_cache[9] = createElementVNode("div", { class: "p-micro t-dark" }, "Owner", -1)),
|
|
178
|
+
createElementVNode("div", _hoisted_18, toDisplayString(sprint.value.owner.name || sprint.value.owner), 1)
|
|
179
|
+
])
|
|
180
|
+
]),
|
|
181
|
+
sprint.value.contributors && sprint.value.contributors.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
182
|
+
_cache[10] || (_cache[10] = createElementVNode("div", { class: "p-micro t-dark mn-b-micro" }, "Contributors", -1)),
|
|
183
|
+
createElementVNode("div", _hoisted_20, [
|
|
184
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(sprint.value.contributors, (contributor) => {
|
|
185
|
+
return openBlock(), createElementBlock("img", {
|
|
186
|
+
key: contributor._id,
|
|
187
|
+
src: contributor.avatar,
|
|
188
|
+
alt: contributor.name,
|
|
189
|
+
title: contributor.name,
|
|
190
|
+
class: "i-medium radius-extra br-2px br-white",
|
|
191
|
+
style: { "margin-left": "-0.5rem" }
|
|
192
|
+
}, null, 8, _hoisted_21);
|
|
193
|
+
}), 128))
|
|
194
|
+
])
|
|
195
|
+
])) : createCommentVNode("", true)
|
|
196
|
+
])) : createCommentVNode("", true)
|
|
197
|
+
])
|
|
198
|
+
]),
|
|
199
|
+
_cache[13] || (_cache[13] = createElementVNode("div", { class: "mn-b-semi" }, [
|
|
200
|
+
createElementVNode("h2", { class: "h2 fw-medium" }, "Tasks")
|
|
201
|
+
], -1)),
|
|
202
|
+
tasks.value.length === 0 ? (openBlock(), createBlock(_sfc_main$5, {
|
|
203
|
+
key: 0,
|
|
204
|
+
title: "No tasks yet",
|
|
205
|
+
message: "Propose tasks to start working on this sprint.",
|
|
206
|
+
actionText: "Propose Task",
|
|
207
|
+
onAction: _cache[1] || (_cache[1] = ($event) => showTaskForm.value = true)
|
|
208
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_22, [
|
|
209
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(columns, (column) => {
|
|
210
|
+
return createElementVNode("div", {
|
|
211
|
+
key: column.id,
|
|
212
|
+
class: "br-black-transp-10 br-1px radius-medium pd-medium"
|
|
213
|
+
}, [
|
|
214
|
+
createElementVNode("div", _hoisted_23, [
|
|
215
|
+
createElementVNode("h3", _hoisted_24, toDisplayString(column.title), 1),
|
|
216
|
+
createElementVNode("span", _hoisted_25, toDisplayString(getTasksForColumn(column.status).length), 1)
|
|
217
|
+
]),
|
|
218
|
+
createElementVNode("div", _hoisted_26, [
|
|
219
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(getTasksForColumn(column.status), (task) => {
|
|
220
|
+
return openBlock(), createBlock(_sfc_main$6, {
|
|
221
|
+
key: task._id,
|
|
222
|
+
task
|
|
223
|
+
}, null, 8, ["task"]);
|
|
224
|
+
}), 128))
|
|
225
|
+
])
|
|
226
|
+
]);
|
|
227
|
+
}), 64))
|
|
228
|
+
])),
|
|
229
|
+
showTaskForm.value ? (openBlock(), createElementBlock("div", {
|
|
230
|
+
key: 2,
|
|
231
|
+
class: "fixed inset-0 bg-dark-overlay flex flex-center flex z-50",
|
|
232
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => showTaskForm.value = false, ["self"]))
|
|
233
|
+
}, [
|
|
234
|
+
createElementVNode("div", _hoisted_27, [
|
|
235
|
+
createElementVNode("div", _hoisted_28, [
|
|
236
|
+
_cache[11] || (_cache[11] = createElementVNode("h3", { class: "h3 fw-medium" }, "Propose Task", -1)),
|
|
237
|
+
createElementVNode("button", {
|
|
238
|
+
onClick: _cache[2] || (_cache[2] = ($event) => showTaskForm.value = false),
|
|
239
|
+
class: "t-dark hover:t-dark ease-cubic-in-out"
|
|
240
|
+
}, [
|
|
241
|
+
createVNode(unref(_sfc_main$7), {
|
|
242
|
+
class: "i-medium",
|
|
243
|
+
fill: "currentColor"
|
|
244
|
+
})
|
|
245
|
+
])
|
|
246
|
+
]),
|
|
247
|
+
_cache[12] || (_cache[12] = createElementVNode("p", { class: "p-regular t-dark t-center" }, "Task proposal form coming soon...", -1))
|
|
248
|
+
])
|
|
249
|
+
])) : createCommentVNode("", true)
|
|
250
|
+
])
|
|
251
|
+
]));
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
export {
|
|
256
|
+
_sfc_main as default
|
|
257
|
+
};
|
|
258
|
+
//# sourceMappingURL=Sprint.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sprint.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Sprint.vue"],"sourcesContent":["<script setup>\nimport { ref, computed, onMounted } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport EmptyState from '../partials/EmptyState.vue';\nimport CardTaskItem from '../blocks/CardTaskItem.vue';\nimport { sprintsActions, sprintsState } from '../../store/sprints';\nimport { tasksActions, tasksState } from '../../store/tasks';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconArrow, IconCalendar, IconPlus, IconCross } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst { formatDate } = useGlobalMixins();\n\nconst route = useRoute();\nconst showTaskForm = ref(false);\n\nconst sprint = computed(() => sprintsState.current);\nconst tasks = computed(() => tasksState.all.filter(t => String(t.sprint?._id || t.sprint) === route.params.sprintId));\n\nconst columns = [\n { id: 'proposed', title: 'Proposed', status: 'proposed' },\n { id: 'voting', title: 'Voting', status: 'voting' },\n { id: 'not_started', title: 'Not Started', status: 'not_started' },\n { id: 'in_progress', title: 'In Progress', status: 'in_progress' },\n { id: 'review', title: 'Review', status: 'review' },\n { id: 'completed', title: 'Completed', status: 'completed' },\n];\n\nconst getTasksForColumn = (status) => {\n return tasks.value.filter(task => task.status === status);\n};\n\nconst handleProposeTask = (data) => {\n console.log('Proposing task:', data);\n showTaskForm.value = false;\n};\n\nonMounted(async () => {\n await sprintsActions.getSprintById(route.params.sprintId);\n await tasksActions.getAllTasks();\n});\n</script>\n\n<template>\n <div v-if=\"!sprint || !sprint._id\" class=\"min-h-100vh flex flex-center flex\">\n <div class=\"t-center\">\n <h2 class=\"h2 fw-medium mn-b-small\">Sprint not found</h2>\n <router-link :to=\"`/governance/initiatives/${route.params.id}/sprints`\" class=\"t-main hover:t-main-semi\">\n Back to sprints\n </router-link>\n </div>\n </div>\n\n <div v-else class=\"min-h-100vh\">\n <div class=\"pd-medium pd-y-semi\">\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/sprints`\"\n class=\"flex flex-v-center t-dark hover:t-dark mn-b-semi ease-cubic-in-out\"\n style=\"text-decoration: none; width: fit-content;\"\n >\n <IconArrow class=\"i-medium mn-r-thin\" :rotation=\"180\" :fill=\"'currentColor'\" />\n Back to initiative\n </router-link>\n\n <div class=\"bg-light radius-semi o-hidden pd-semi mn-b-semi\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-semi\">\n <div class=\"flex-child-1\">\n <div class=\"flex flex-v-center gap-small mn-b-small\">\n <TaskStatusBadge :status=\"sprint.status\" />\n <div v-if=\"sprint.startDate || sprint.dueDate\" class=\"flex flex-v-center p-small t-dark\">\n <IconCalendar class=\"i-regular mn-r-micro\" :fill=\"'currentColor'\" />\n {{ formatDate(sprint.startDate, { dateOnly: true }) }} - {{ formatDate(sprint.dueDate, { dateOnly: true }) }}\n </div>\n </div>\n <h1 class=\"h1 fw-medium mn-b-small\">{{ sprint.name }}</h1>\n <p class=\"p-semi t-dark\">{{ sprint.description }}</p>\n </div>\n <button\n @click=\"showTaskForm = true\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-medium radius-medium flex flex-v-center gap-thin ease-cubic-in-out mn-l-medium\"\n >\n <IconPlus class=\"i-medium\" :fill=\"'currentColor'\" />\n Propose Task\n </button>\n </div>\n\n <div>\n <div class=\"flex flex-justify-between flex-v-center mn-b-small\">\n <span class=\"p-small fw-medium t-dark\">Progress</span>\n <span class=\"h2 fw-medium\">{{ sprint.progress || 0 }}%</span>\n </div>\n <div class=\"w-100 bg-white radius-extra h-3r o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${sprint.progress || 0}%` }\"\n />\n </div>\n <div v-if=\"sprint.owner\" class=\"mn-t-medium flex flex-v-center gap-small p-small t-dark\">\n <div class=\"flex flex-v-center gap-thin\">\n <img\n v-if=\"sprint.owner.avatar\"\n :src=\"sprint.owner.avatar\"\n :alt=\"sprint.owner.name\"\n class=\"i-medium radius-extra\"\n />\n <div>\n <div class=\"p-micro t-dark\">Owner</div>\n <div class=\"fw-medium\">{{ sprint.owner.name || sprint.owner }}</div>\n </div>\n </div>\n <div v-if=\"sprint.contributors && sprint.contributors.length > 0\">\n <div class=\"p-micro t-dark mn-b-micro\">Contributors</div>\n <div class=\"flex\" style=\"margin-left: -0.25rem;\">\n <img\n v-for=\"contributor in sprint.contributors\"\n :key=\"contributor._id\"\n :src=\"contributor.avatar\"\n :alt=\"contributor.name\"\n :title=\"contributor.name\"\n class=\"i-medium radius-extra br-2px br-white\"\n style=\"margin-left: -0.5rem;\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"mn-b-semi\">\n <h2 class=\"h2 fw-medium\">Tasks</h2>\n </div>\n\n <EmptyState\n v-if=\"tasks.length === 0\"\n title=\"No tasks yet\"\n message=\"Propose tasks to start working on this sprint.\"\n actionText=\"Propose Task\"\n @action=\"showTaskForm = true\"\n />\n\n <div v-else class=\"cols-6 gap-regular\">\n <div v-for=\"column in columns\" :key=\"column.id\" class=\"br-black-transp-10 br-1px radius-medium pd-medium\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-medium\">\n <h3 class=\"fw-medium\">{{ column.title }}</h3>\n <span class=\"bg-light t-dark p-micro fw-medium pd-micro pd-x-thin radius-extra\">\n {{ getTasksForColumn(column.status).length }}\n </span>\n </div>\n <div class=\"flex flex-column gap-small\">\n <CardTaskItem\n v-for=\"task in getTasksForColumn(column.status)\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n </div>\n\n <div v-if=\"showTaskForm\" class=\"fixed inset-0 bg-dark-overlay flex flex-center flex z-50\" @click.self=\"showTaskForm = false\">\n <div class=\"bg-light radius-medium pd-semi w-max-30r\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-medium\">\n <h3 class=\"h3 fw-medium\">Propose Task</h3>\n <button @click=\"showTaskForm = false\" class=\"t-dark hover:t-dark ease-cubic-in-out\">\n <IconCross class=\"i-medium\" :fill=\"'currentColor'\" />\n </button>\n </div>\n <p class=\"p-regular t-dark t-center\">Task proposal form coming soon...</p>\n </div>\n </div>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ,SAAQ;AACtB,UAAM,eAAe,IAAI,KAAK;AAE9B,UAAM,SAAS,SAAS,MAAM,aAAa,OAAO;AAClD,UAAM,QAAQ,SAAS,MAAM,WAAW,IAAI,OAAO,OAAK,OAAO,EAAE,QAAQ,OAAO,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,CAAC;AAEpH,UAAM,UAAU;AAAA,MACd,EAAE,IAAI,YAAY,OAAO,YAAY,QAAQ,WAAU;AAAA,MACvD,EAAE,IAAI,UAAU,OAAO,UAAU,QAAQ,SAAQ;AAAA,MACjD,EAAE,IAAI,eAAe,OAAO,eAAe,QAAQ,cAAa;AAAA,MAChE,EAAE,IAAI,eAAe,OAAO,eAAe,QAAQ,cAAa;AAAA,MAChE,EAAE,IAAI,UAAU,OAAO,UAAU,QAAQ,SAAQ;AAAA,MACjD,EAAE,IAAI,aAAa,OAAO,aAAa,QAAQ,YAAW;AAAA,IAC5D;AAEA,UAAM,oBAAoB,CAAC,WAAW;AACpC,aAAO,MAAM,MAAM,OAAO,UAAQ,KAAK,WAAW,MAAM;AAAA,IAC1D;AAOA,cAAU,YAAY;AACpB,YAAM,eAAe,cAAc,MAAM,OAAO,QAAQ;AACxD,YAAM,aAAa,YAAW;AAAA,IAChC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ref, createElementBlock, openBlock, createElementVNode, createVNode, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { useRoute, useRouter } from "vue-router";
|
|
3
|
+
import { sprintsActions } from "../../store/sprints.js";
|
|
4
|
+
import _sfc_main$1 from "../sections/FormSprintDetails.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
const _hoisted_1 = { class: "pd-medium pd-y-semi" };
|
|
21
|
+
const _hoisted_2 = { class: "flex flex-justify-end mn-t-semi" };
|
|
22
|
+
const _hoisted_3 = ["disabled"];
|
|
23
|
+
const _sfc_main = {
|
|
24
|
+
__name: "SprintCreate",
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const route = useRoute();
|
|
27
|
+
const router = useRouter();
|
|
28
|
+
const newSprint = ref({
|
|
29
|
+
name: "",
|
|
30
|
+
description: "",
|
|
31
|
+
status: "not_started",
|
|
32
|
+
startDate: null,
|
|
33
|
+
dueDate: null,
|
|
34
|
+
progress: 0,
|
|
35
|
+
owner: "",
|
|
36
|
+
initiative: "",
|
|
37
|
+
priority: "medium",
|
|
38
|
+
tags: []
|
|
39
|
+
});
|
|
40
|
+
const creating = ref(false);
|
|
41
|
+
const createSprint = async () => {
|
|
42
|
+
if (!newSprint.value.name) return;
|
|
43
|
+
creating.value = true;
|
|
44
|
+
try {
|
|
45
|
+
const response = await sprintsActions.createSprint(newSprint.value);
|
|
46
|
+
router.push(`/governance/initiatives/${route.params.id}/sprints/${response._id || response.id}`);
|
|
47
|
+
} catch (e) {
|
|
48
|
+
creating.value = false;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
53
|
+
_cache[1] || (_cache[1] = createElementVNode("h1", { class: "h2 fw-medium mn-b-semi" }, "Create New Sprint", -1)),
|
|
54
|
+
createVNode(_sfc_main$1, {
|
|
55
|
+
modelValue: newSprint.value,
|
|
56
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => newSprint.value = $event)
|
|
57
|
+
}, null, 8, ["modelValue"]),
|
|
58
|
+
createElementVNode("div", _hoisted_2, [
|
|
59
|
+
createElementVNode("button", {
|
|
60
|
+
onClick: createSprint,
|
|
61
|
+
disabled: !newSprint.value.name || creating.value,
|
|
62
|
+
class: normalizeClass(["bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out", { "o-50": !newSprint.value.name || creating.value }])
|
|
63
|
+
}, toDisplayString(creating.value ? "Creating..." : "Create Sprint"), 11, _hoisted_3)
|
|
64
|
+
])
|
|
65
|
+
]);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
_sfc_main as default
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=SprintCreate.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SprintCreate.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/SprintCreate.vue"],"sourcesContent":["<script setup>\nimport { ref } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\nimport { sprintsActions } from '../../store/sprints';\nimport FormSprintDetails from '../sections/FormSprintDetails.vue';\nimport { IconArrow } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst router = useRouter();\n\nconst newSprint = ref({\n name: '',\n description: '',\n status: 'not_started',\n startDate: null,\n dueDate: null,\n progress: 0,\n owner: '',\n initiative: '',\n priority: 'medium',\n tags: [],\n});\n\nconst creating = ref(false);\n\nconst createSprint = async () => {\n if (!newSprint.value.name) return;\n creating.value = true;\n try {\n const response = await sprintsActions.createSprint(newSprint.value);\n router.push(`/governance/initiatives/${route.params.id}/sprints/${response._id || response.id}`);\n } catch (e) {\n creating.value = false;\n }\n};\n</script>\n\n<template>\n <div class=\"pd-medium pd-y-semi\">\n <h1 class=\"h2 fw-medium mn-b-semi\">Create New Sprint</h1>\n\n <FormSprintDetails v-model=\"newSprint\" />\n\n <div class=\"flex flex-justify-end mn-t-semi\">\n <button\n @click=\"createSprint\"\n :disabled=\"!newSprint.name || creating\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out\"\n :class=\"{ 'o-50': !newSprint.name || creating }\"\n >\n {{ creating ? 'Creating...' : 'Create Sprint' }}\n </button>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AAExB,UAAM,YAAY,IAAI;AAAA,MACpB,MAAM;AAAA,MACN,aAAa;AAAA,MACb,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,SAAS;AAAA,MACT,UAAU;AAAA,MACV,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,MAAM,CAAA;AAAA,IACR,CAAC;AAED,UAAM,WAAW,IAAI,KAAK;AAE1B,UAAM,eAAe,YAAY;AAC/B,UAAI,CAAC,UAAU,MAAM,KAAM;AAC3B,eAAS,QAAQ;AACjB,UAAI;AACF,cAAM,WAAW,MAAM,eAAe,aAAa,UAAU,KAAK;AAClE,eAAO,KAAK,2BAA2B,MAAM,OAAO,EAAE,YAAY,SAAS,OAAO,SAAS,EAAE,EAAE;AAAA,MACjG,SAAS,GAAG;AACV,iBAAS,QAAQ;AAAA,MACnB;AAAA,IACF;;;;;;;;;;;;;;;;;;;"}
|