@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,55 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { useRoute, useRouter } from 'vue-router';
|
|
4
|
+
import { sprintsActions } from '../../store/sprints';
|
|
5
|
+
import FormSprintDetails from '../sections/FormSprintDetails.vue';
|
|
6
|
+
import { IconArrow } from '@martyrs/src/modules/icons/icons.client.js';
|
|
7
|
+
|
|
8
|
+
const route = useRoute();
|
|
9
|
+
const router = useRouter();
|
|
10
|
+
|
|
11
|
+
const newSprint = ref({
|
|
12
|
+
name: '',
|
|
13
|
+
description: '',
|
|
14
|
+
status: 'not_started',
|
|
15
|
+
startDate: null,
|
|
16
|
+
dueDate: null,
|
|
17
|
+
progress: 0,
|
|
18
|
+
owner: '',
|
|
19
|
+
initiative: '',
|
|
20
|
+
priority: 'medium',
|
|
21
|
+
tags: [],
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const creating = ref(false);
|
|
25
|
+
|
|
26
|
+
const createSprint = async () => {
|
|
27
|
+
if (!newSprint.value.name) return;
|
|
28
|
+
creating.value = true;
|
|
29
|
+
try {
|
|
30
|
+
const response = await sprintsActions.createSprint(newSprint.value);
|
|
31
|
+
router.push(`/governance/initiatives/${route.params.id}/sprints/${response._id || response.id}`);
|
|
32
|
+
} catch (e) {
|
|
33
|
+
creating.value = false;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
</script>
|
|
37
|
+
|
|
38
|
+
<template>
|
|
39
|
+
<div class="pd-medium pd-y-semi">
|
|
40
|
+
<h1 class="h2 fw-medium mn-b-semi">Create New Sprint</h1>
|
|
41
|
+
|
|
42
|
+
<FormSprintDetails v-model="newSprint" />
|
|
43
|
+
|
|
44
|
+
<div class="flex flex-justify-end mn-t-semi">
|
|
45
|
+
<button
|
|
46
|
+
@click="createSprint"
|
|
47
|
+
:disabled="!newSprint.name || creating"
|
|
48
|
+
class="bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out"
|
|
49
|
+
:class="{ 'o-50': !newSprint.name || creating }"
|
|
50
|
+
>
|
|
51
|
+
{{ creating ? 'Creating...' : 'Create Sprint' }}
|
|
52
|
+
</button>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { ref, computed } from 'vue';
|
|
2
|
+
import { ref, computed, onMounted } from 'vue';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import TaskStatusBadge from '../partials/TaskStatusBadge.vue';
|
|
5
|
-
import {
|
|
5
|
+
import { tasksActions, tasksState } from '../../store/tasks';
|
|
6
|
+
import { initiativesActions, initiativesState } from '../../store/initiatives';
|
|
7
|
+
import { sprintsActions, sprintsState } from '../../store/sprints';
|
|
8
|
+
import { votingsActions, votingsState } from '../../store/votings';
|
|
9
|
+
import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';
|
|
6
10
|
import { IconArrow, IconCheckmark, IconCross, IconProfile, IconCalendar, IconAttach, IconGroups, IconTime, IconLock, IconSend } from '@martyrs/src/modules/icons/icons.client.js';
|
|
7
11
|
|
|
12
|
+
const { formatDate } = useGlobalMixins();
|
|
13
|
+
|
|
8
14
|
const route = useRoute();
|
|
9
15
|
const showAssignForm = ref(false);
|
|
10
16
|
|
|
11
|
-
const task = computed(() =>
|
|
12
|
-
const initiative = computed(() =>
|
|
13
|
-
const
|
|
14
|
-
const startVoting = computed(() =>
|
|
15
|
-
|
|
17
|
+
const task = computed(() => tasksState.current);
|
|
18
|
+
const initiative = computed(() => initiativesState.current);
|
|
19
|
+
const sprint = computed(() => sprintsState.current);
|
|
20
|
+
const startVoting = computed(() => {
|
|
21
|
+
if (!task.value?.proposedByVoting) return null;
|
|
22
|
+
return votingsState.all.find(v => v._id === task.value.proposedByVoting);
|
|
23
|
+
});
|
|
24
|
+
const approvalVoting = computed(() => {
|
|
25
|
+
if (!task.value?.completionVoting) return null;
|
|
26
|
+
return votingsState.all.find(v => v._id === task.value.completionVoting);
|
|
27
|
+
});
|
|
16
28
|
|
|
17
29
|
const priorityConfig = {
|
|
18
30
|
low: { label: 'Low', color: 't-green-nice', bg: 'bg-green-small' },
|
|
@@ -22,14 +34,6 @@ const priorityConfig = {
|
|
|
22
34
|
|
|
23
35
|
const priority = computed(() => task.value ? priorityConfig[task.value.priority] : null);
|
|
24
36
|
|
|
25
|
-
const formatDate = (dateString) => {
|
|
26
|
-
return new Date(dateString).toLocaleDateString('en-US', {
|
|
27
|
-
month: 'long',
|
|
28
|
-
day: 'numeric',
|
|
29
|
-
year: 'numeric',
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
|
|
33
37
|
const handleAssignToMe = () => console.log('Assigning task to current user');
|
|
34
38
|
const handleSubmitForReview = () => console.log('Submitting task for review');
|
|
35
39
|
const handleCompleteTask = () => console.log('Completing task');
|
|
@@ -41,13 +45,24 @@ const handleMerge = () => console.log('Merging changes');
|
|
|
41
45
|
const handleApproveBudget = () => console.log('Approving budget');
|
|
42
46
|
const handleDeploy = () => console.log('Deploying changes');
|
|
43
47
|
const handleVeto = () => console.log('Vetoing task');
|
|
48
|
+
|
|
49
|
+
onMounted(async () => {
|
|
50
|
+
await tasksActions.getTaskById(route.params.taskId);
|
|
51
|
+
await votingsActions.getAllVotings();
|
|
52
|
+
if (tasksState.current?.initiative) {
|
|
53
|
+
await initiativesActions.getInitiativeById(tasksState.current.initiative);
|
|
54
|
+
}
|
|
55
|
+
if (tasksState.current?.sprint) {
|
|
56
|
+
await sprintsActions.getSprintById(tasksState.current.sprint);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
44
59
|
</script>
|
|
45
60
|
|
|
46
61
|
<template>
|
|
47
|
-
<div v-if="!task" class="min-h-100vh flex flex-center flex">
|
|
62
|
+
<div v-if="!task || !task._id" class="min-h-100vh flex flex-center flex">
|
|
48
63
|
<div class="t-center">
|
|
49
64
|
<h2 class="h2 fw-medium mn-b-small">Task not found</h2>
|
|
50
|
-
<router-link
|
|
65
|
+
<router-link to="/governance" class="t-main hover:t-main-semi">
|
|
51
66
|
Back to initiatives
|
|
52
67
|
</router-link>
|
|
53
68
|
</div>
|
|
@@ -55,22 +70,13 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
55
70
|
|
|
56
71
|
<div v-else class="min-h-100vh">
|
|
57
72
|
<div class="pd-medium pd-y-semi">
|
|
58
|
-
<router-link
|
|
59
|
-
:to="milestone ? { name: 'Milestone', params: { id: milestone.id } } : { name: 'Initiative', params: { id: task.initiativeId } }"
|
|
60
|
-
class="flex flex-v-center t-grey hover:t-dark mn-b-semi ease-cubic-in-out"
|
|
61
|
-
style="text-decoration: none; width: fit-content;"
|
|
62
|
-
>
|
|
63
|
-
<IconArrow class="i-medium mn-r-thin" :rotation="180" :fill="'currentColor'" />
|
|
64
|
-
Back to {{ milestone ? 'milestone' : 'initiative' }}
|
|
65
|
-
</router-link>
|
|
66
|
-
|
|
67
73
|
<div class="bg-light radius-semi o-hidden mn-b-semi">
|
|
68
74
|
<div class="pd-semi">
|
|
69
75
|
<div class="flex flex-justify-between flex-align-start mn-b-semi">
|
|
70
76
|
<div class="flex-child-1">
|
|
71
77
|
<div class="flex flex-v-center gap-small mn-b-small">
|
|
72
78
|
<TaskStatusBadge :status="task.status" />
|
|
73
|
-
<span :class="`pd-micro pd-x-small radius-extra p-micro fw-medium ${priority.bg} ${priority.color} flex flex-v-center gap-micro`">
|
|
79
|
+
<span v-if="priority" :class="`pd-micro pd-x-small radius-extra p-micro fw-medium ${priority.bg} ${priority.color} flex flex-v-center gap-micro`">
|
|
74
80
|
<svg class="i-medium" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
75
81
|
<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"/>
|
|
76
82
|
<line x1="4" y1="22" x2="4" y2="15"/>
|
|
@@ -83,28 +89,29 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
83
89
|
</span>
|
|
84
90
|
</div>
|
|
85
91
|
<h1 class="h1 fw-medium mn-b-medium">{{ task.title }}</h1>
|
|
86
|
-
<p class="p-semi t-
|
|
92
|
+
<p class="p-semi t-dark t-line-relaxed" style="white-space: pre-wrap;">{{ task.description }}</p>
|
|
87
93
|
</div>
|
|
88
94
|
</div>
|
|
89
95
|
|
|
90
|
-
<div
|
|
96
|
+
<div>
|
|
91
97
|
<div class="cols-2 mobile:cols-1 gap-small">
|
|
92
98
|
<div class="flex flex-column gap-regular">
|
|
93
99
|
<div class="flex flex-align-start gap-small">
|
|
94
100
|
<IconProfile class="i-medium mn-t-micro" :fill="'rgb(var(--grey))'" />
|
|
95
101
|
<div class="flex-child-1">
|
|
96
|
-
<div class="p-small t-
|
|
102
|
+
<div class="p-small t-dark mn-b-small">Assignee</div>
|
|
97
103
|
<div v-if="task.assignee" class="flex flex-v-center gap-thin">
|
|
98
104
|
<img :src="task.assignee.avatar" :alt="task.assignee.name" class="i-medium radius-extra" />
|
|
99
105
|
<span class="fw-medium">{{ task.assignee.name }}</span>
|
|
100
106
|
</div>
|
|
107
|
+
<div v-else-if="task.assignedTo" class="fw-medium">{{ task.assignedTo }}</div>
|
|
101
108
|
<div v-else class="flex flex-column gap-thin">
|
|
102
|
-
<span class="t-
|
|
109
|
+
<span class="t-dark">Unassigned</span>
|
|
103
110
|
<div v-if="task.status === 'not_started'" class="flex gap-thin">
|
|
104
111
|
<button @click="handleAssignToMe" class="bg-main hover:bg-main-semi t-white p-small fw-medium pd-micro pd-x-small radius-medium ease-cubic-in-out">
|
|
105
112
|
Assign to Me
|
|
106
113
|
</button>
|
|
107
|
-
<button @click="showAssignForm = true" class="bg-light hover:bg-white t-
|
|
114
|
+
<button @click="showAssignForm = true" class="bg-light hover:bg-white t-dark br-1px br-light p-small fw-medium pd-micro pd-x-small radius-medium ease-cubic-in-out">
|
|
108
115
|
Assign to User
|
|
109
116
|
</button>
|
|
110
117
|
</div>
|
|
@@ -115,22 +122,22 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
115
122
|
<div class="flex flex-align-start gap-small">
|
|
116
123
|
<IconCalendar class="i-medium mn-t-micro" :fill="'rgb(var(--grey))'" />
|
|
117
124
|
<div>
|
|
118
|
-
<div class="p-small t-
|
|
119
|
-
<div class="fw-medium">{{ formatDate(task.createdAt) }} → {{ formatDate(task.dueDate) }}</div>
|
|
125
|
+
<div class="p-small t-dark mn-b-micro">Created / Due Date</div>
|
|
126
|
+
<div class="fw-medium">{{ formatDate(task.createdAt, { dateOnly: true }) }} → {{ formatDate(task.dueDate, { dateOnly: true }) }}</div>
|
|
120
127
|
</div>
|
|
121
128
|
</div>
|
|
122
129
|
</div>
|
|
123
130
|
|
|
124
131
|
<div>
|
|
125
132
|
<div class="flex flex-align-start gap-small">
|
|
126
|
-
<svg class="i-medium t-
|
|
133
|
+
<svg class="i-medium t-dark mn-t-micro" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
127
134
|
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"/>
|
|
128
135
|
<line x1="7" y1="7" x2="7.01" y2="7"/>
|
|
129
136
|
</svg>
|
|
130
137
|
<div>
|
|
131
|
-
<div class="p-small t-
|
|
138
|
+
<div class="p-small t-dark mn-b-small">Tags</div>
|
|
132
139
|
<div class="flex flex-wrap gap-thin">
|
|
133
|
-
<span v-for="tag in task.tags" :key="tag" class="pd-micro pd-x-small bg-white t-
|
|
140
|
+
<span v-for="tag in task.tags" :key="tag" class="pd-micro pd-x-small bg-white t-dark p-small radius-extra">
|
|
134
141
|
{{ tag }}
|
|
135
142
|
</span>
|
|
136
143
|
</div>
|
|
@@ -140,31 +147,31 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
140
147
|
</div>
|
|
141
148
|
</div>
|
|
142
149
|
|
|
143
|
-
<div
|
|
150
|
+
<div v-if="task.project || task.repository" class="mn-t-semi">
|
|
144
151
|
<div class="flex flex-v-center gap-thin mn-b-medium">
|
|
145
|
-
<svg class="i-medium t-
|
|
152
|
+
<svg class="i-medium t-dark" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
146
153
|
<line x1="22" y1="2" x2="11" y2="13"/>
|
|
147
154
|
<polygon points="22 2 15 22 11 13 2 9 22 2"/>
|
|
148
155
|
</svg>
|
|
149
156
|
<h3 class="p-regular fw-medium">Repository Information</h3>
|
|
150
157
|
</div>
|
|
151
158
|
<div class="cols-3 gap-regular mn-b-medium">
|
|
152
|
-
<div class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
153
|
-
<div class="p-micro t-
|
|
154
|
-
<div class="fw-medium">{{ task.project }}</div>
|
|
159
|
+
<div v-if="task.project || (initiative && initiative._id)" class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
160
|
+
<div class="p-micro t-dark mn-b-micro">Project</div>
|
|
161
|
+
<div class="fw-medium">{{ task.project || initiative?.title }}</div>
|
|
155
162
|
</div>
|
|
156
|
-
<div class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
157
|
-
<div class="p-micro t-
|
|
163
|
+
<div v-if="task.repository" class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
164
|
+
<div class="p-micro t-dark mn-b-micro">Repository</div>
|
|
158
165
|
<div class="fw-medium">{{ task.repository }}</div>
|
|
159
166
|
</div>
|
|
160
|
-
<div class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
161
|
-
<div class="p-micro t-
|
|
167
|
+
<div v-if="task.branch !== undefined" class="pd-small br-black-transp-10 br-1px radius-medium">
|
|
168
|
+
<div class="p-micro t-dark mn-b-micro">Branch</div>
|
|
162
169
|
<div class="fw-medium">{{ task.branch || 'Not created' }}</div>
|
|
163
170
|
</div>
|
|
164
171
|
</div>
|
|
165
172
|
<div class="flex flex-justify-between flex-v-center">
|
|
166
|
-
<div v-if="task.mergeRequests.length > 0">
|
|
167
|
-
<div class="p-micro t-
|
|
173
|
+
<div v-if="task.mergeRequests && task.mergeRequests.length > 0">
|
|
174
|
+
<div class="p-micro t-dark mn-b-small">Merge Requests</div>
|
|
168
175
|
<div class="flex flex-wrap gap-thin">
|
|
169
176
|
<span v-for="mr in task.mergeRequests" :key="mr" class="pd-micro pd-x-small bg-main-small t-main p-small radius-extra flex flex-v-center gap-micro">
|
|
170
177
|
<svg class="i-medium" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
@@ -176,7 +183,7 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
176
183
|
</span>
|
|
177
184
|
</div>
|
|
178
185
|
</div>
|
|
179
|
-
<div class="flex gap-thin">
|
|
186
|
+
<div v-if="task.permissions" class="flex gap-thin">
|
|
180
187
|
<button v-if="task.permissions.merge" @click="handleMerge" class="bg-fifth hover:bg-fifth-semi t-white p-small fw-medium pd-small pd-x-medium radius-medium ease-cubic-in-out flex flex-v-center gap-thin">
|
|
181
188
|
<svg class="i-medium" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
182
189
|
<circle cx="18" cy="18" r="3"/>
|
|
@@ -199,19 +206,19 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
199
206
|
</div>
|
|
200
207
|
</div>
|
|
201
208
|
|
|
202
|
-
<div v-if="initiative ||
|
|
209
|
+
<div v-if="(initiative && initiative._id) || (sprint && sprint._id)" class="bg-light radius-semi pd-semi mn-b-semi">
|
|
203
210
|
<div class="flex flex-v-center gap-thin mn-b-medium">
|
|
204
211
|
<IconAttach class="i-medium" :fill="'rgb(var(--grey))'" />
|
|
205
212
|
<h3 class="p-regular fw-medium">Part Of</h3>
|
|
206
213
|
</div>
|
|
207
214
|
<div class="cols-2 mobile:cols-1 gap-small">
|
|
208
|
-
<router-link v-if="initiative" :to="{
|
|
215
|
+
<router-link v-if="initiative && initiative._id" :to="`/governance/initiatives/${initiative._id}`" class="d-block pd-medium bg-main-small br-1px br-main-semi radius-medium hover:bg-main-tiny ease-cubic-in-out">
|
|
209
216
|
<div class="p-micro t-main fw-medium mn-b-micro">Initiative</div>
|
|
210
217
|
<div class="fw-medium">{{ initiative.title }}</div>
|
|
211
218
|
</router-link>
|
|
212
|
-
<router-link v-if="
|
|
213
|
-
<div class="p-micro t-green-nice fw-medium mn-b-micro">
|
|
214
|
-
<div class="fw-medium">{{
|
|
219
|
+
<router-link v-if="sprint && sprint._id" :to="`/governance/initiatives/${route.params.id}/sprints/${sprint._id}`" class="d-block pd-medium bg-green-small br-1px br-green-semi radius-medium hover:bg-green-tiny ease-cubic-in-out">
|
|
220
|
+
<div class="p-micro t-green-nice fw-medium mn-b-micro">Sprint</div>
|
|
221
|
+
<div class="fw-medium">{{ sprint.name }}</div>
|
|
215
222
|
</router-link>
|
|
216
223
|
</div>
|
|
217
224
|
</div>
|
|
@@ -226,29 +233,29 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
226
233
|
<div class="flex flex-column gap-regular">
|
|
227
234
|
<div class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
228
235
|
<h4 class="p-small fw-medium mn-b-small">Task Acceptance</h4>
|
|
229
|
-
<p class="p-small t-
|
|
230
|
-
<span v-if="task.
|
|
236
|
+
<p class="p-small t-dark">
|
|
237
|
+
<span v-if="task.proposedByVoting">This task requires <span class="fw-medium t-main">public voting</span> to start work.</span>
|
|
231
238
|
<span v-else>Team members can start working on this task directly.</span>
|
|
232
239
|
</p>
|
|
233
240
|
</div>
|
|
234
241
|
|
|
235
242
|
<div class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
236
243
|
<h4 class="p-small fw-medium mn-b-small">Approval Process</h4>
|
|
237
|
-
<p class="p-small t-
|
|
238
|
-
<span v-if="task.
|
|
244
|
+
<p class="p-small t-dark">
|
|
245
|
+
<span v-if="task.completionVoting">Task completion requires <span class="fw-medium t-main">public voting approval</span>.</span>
|
|
239
246
|
<span v-else>Task completion is approved by team members.</span>
|
|
240
247
|
</p>
|
|
241
248
|
</div>
|
|
242
249
|
|
|
243
|
-
<div class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
250
|
+
<div v-if="task.visibility" class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
244
251
|
<h4 class="p-small fw-medium mn-b-small">Decision Making</h4>
|
|
245
252
|
<div class="flex flex-column gap-thin p-small">
|
|
246
253
|
<div class="flex flex-justify-between">
|
|
247
|
-
<span class="t-
|
|
254
|
+
<span class="t-dark">Governance Type:</span>
|
|
248
255
|
<span class="fw-medium">{{ task.visibility.type === 'public' ? 'Community-based' : 'Team-based' }}</span>
|
|
249
256
|
</div>
|
|
250
257
|
<div class="flex flex-justify-between">
|
|
251
|
-
<span class="t-
|
|
258
|
+
<span class="t-dark">Visibility:</span>
|
|
252
259
|
<span class="fw-medium t-capitalize">{{ task.visibility.type }}</span>
|
|
253
260
|
</div>
|
|
254
261
|
</div>
|
|
@@ -256,9 +263,9 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
256
263
|
</div>
|
|
257
264
|
|
|
258
265
|
<div class="flex flex-column gap-regular">
|
|
259
|
-
<div class="pd-medium bg-grad-[to-br_green-10_main-10] br-1px br-green-semi radius-medium">
|
|
266
|
+
<div v-if="task.budget" class="pd-medium bg-grad-[to-br_green-10_main-10] br-1px br-green-semi radius-medium">
|
|
260
267
|
<div class="flex flex-v-center gap-thin mn-b-small">
|
|
261
|
-
<svg class="i-semi t-
|
|
268
|
+
<svg class="i-semi t-dark" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
262
269
|
<line x1="12" y1="1" x2="12" y2="23"/>
|
|
263
270
|
<path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/>
|
|
264
271
|
</svg>
|
|
@@ -277,7 +284,7 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
277
284
|
</span>
|
|
278
285
|
</div>
|
|
279
286
|
</div>
|
|
280
|
-
<button v-if="task.permissions.budget && !task.budget.approved" @click="handleApproveBudget" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out flex flex-center flex gap-thin">
|
|
287
|
+
<button v-if="task.permissions && task.permissions.budget && !task.budget.approved" @click="handleApproveBudget" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out flex flex-center flex gap-thin">
|
|
281
288
|
<svg class="i-medium" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
282
289
|
<line x1="12" y1="1" x2="12" y2="23"/>
|
|
283
290
|
<path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/>
|
|
@@ -286,26 +293,26 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
286
293
|
</button>
|
|
287
294
|
</div>
|
|
288
295
|
|
|
289
|
-
<div class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
296
|
+
<div v-if="task.permissions" class="pd-medium br-black-transp-10 br-1px radius-medium">
|
|
290
297
|
<h4 class="p-small fw-medium mn-b-small">Permissions</h4>
|
|
291
298
|
<div class="flex flex-column gap-thin">
|
|
292
299
|
<div class="flex flex-justify-between flex-v-center p-small">
|
|
293
|
-
<span class="t-
|
|
300
|
+
<span class="t-dark">Merge Rights</span>
|
|
294
301
|
<IconCheckmark v-if="task.permissions.merge" class="i-regular" :fill="'rgb(var(--green-nice))'" />
|
|
295
302
|
<IconCross v-else class="i-regular" :fill="'rgb(var(--grey))'" />
|
|
296
303
|
</div>
|
|
297
304
|
<div class="flex flex-justify-between flex-v-center p-small">
|
|
298
|
-
<span class="t-
|
|
305
|
+
<span class="t-dark">Budget Approval</span>
|
|
299
306
|
<IconCheckmark v-if="task.permissions.budget" class="i-regular" :fill="'rgb(var(--green-nice))'" />
|
|
300
307
|
<IconCross v-else class="i-regular" :fill="'rgb(var(--grey))'" />
|
|
301
308
|
</div>
|
|
302
309
|
<div class="flex flex-justify-between flex-v-center p-small">
|
|
303
|
-
<span class="t-
|
|
310
|
+
<span class="t-dark">Deploy Rights</span>
|
|
304
311
|
<IconCheckmark v-if="task.permissions.deploy" class="i-regular" :fill="'rgb(var(--green-nice))'" />
|
|
305
312
|
<IconCross v-else class="i-regular" :fill="'rgb(var(--grey))'" />
|
|
306
313
|
</div>
|
|
307
314
|
<div class="flex flex-justify-between flex-v-center p-small">
|
|
308
|
-
<span class="t-
|
|
315
|
+
<span class="t-dark">Veto Power</span>
|
|
309
316
|
<IconCheckmark v-if="task.permissions.veto" class="i-regular" :fill="'rgb(var(--green-nice))'" />
|
|
310
317
|
<IconCross v-else class="i-regular" :fill="'rgb(var(--grey))'" />
|
|
311
318
|
</div>
|
|
@@ -328,25 +335,25 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
328
335
|
<div class="br-2px br-main-semi radius-medium pd-medium bg-main-small">
|
|
329
336
|
<div class="p-micro t-main fw-medium t-uppercase mn-b-small">Start Voting</div>
|
|
330
337
|
<template v-if="startVoting">
|
|
331
|
-
<router-link :to="{
|
|
338
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/votings/${startVoting._id}`" class="d-block hover:bg-main-tiny radius-medium ease-cubic-in-out" style="margin: -1rem; padding: 1rem;">
|
|
332
339
|
<h4 class="fw-medium mn-b-small">{{ startVoting.title }}</h4>
|
|
333
340
|
<div class="flex flex-v-center gap-thin mn-b-small">
|
|
334
|
-
<TaskStatusBadge :status="startVoting.status" />
|
|
341
|
+
<TaskStatusBadge :status="startVoting.result || startVoting.status" />
|
|
335
342
|
</div>
|
|
336
|
-
<div class="p-small t-
|
|
337
|
-
<span>Yes: {{ startVoting.yesVotes }}</span>
|
|
338
|
-
<span>No: {{ startVoting.noVotes }}</span>
|
|
339
|
-
<span>Abstain: {{ startVoting.abstainVotes }}</span>
|
|
343
|
+
<div class="p-small t-dark flex flex-justify-between">
|
|
344
|
+
<span>Yes: {{ startVoting.yesVotes || 0 }}</span>
|
|
345
|
+
<span>No: {{ startVoting.noVotes || 0 }}</span>
|
|
346
|
+
<span>Abstain: {{ startVoting.abstainVotes || 0 }}</span>
|
|
340
347
|
</div>
|
|
341
348
|
</router-link>
|
|
342
|
-
<div v-if="startVoting.status === 'approved' && task.status === 'not_started' && task.assignee" class="mn-t-small pd-t-small br-t-1px br-main-semi">
|
|
349
|
+
<div v-if="(startVoting.result || startVoting.status) === 'approved' && task.status === 'not_started' && (task.assignee || task.assignedTo)" class="mn-t-small pd-t-small br-t-1px br-main-semi">
|
|
343
350
|
<button @click="handleSubmitForReview" class="w-100 bg-main hover:bg-main-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
344
351
|
Begin Work
|
|
345
352
|
</button>
|
|
346
353
|
</div>
|
|
347
354
|
</template>
|
|
348
355
|
<template v-else>
|
|
349
|
-
<p class="p-small t-
|
|
356
|
+
<p class="p-small t-dark mn-b-small">No start voting required. Team members can begin work directly.</p>
|
|
350
357
|
<button v-if="task.status === 'proposed'" class="w-100 bg-main hover:bg-main-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
351
358
|
Create Start Voting
|
|
352
359
|
</button>
|
|
@@ -356,26 +363,26 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
356
363
|
<div class="br-2px br-green-semi radius-medium pd-medium bg-green-small">
|
|
357
364
|
<div class="p-micro t-green-nice fw-medium t-uppercase mn-b-small">Approval Voting</div>
|
|
358
365
|
<template v-if="approvalVoting">
|
|
359
|
-
<router-link :to="{
|
|
366
|
+
<router-link :to="`/governance/initiatives/${route.params.id}/votings/${approvalVoting._id}`" class="d-block hover:bg-green-tiny radius-medium ease-cubic-in-out" style="margin: -1rem; padding: 1rem;">
|
|
360
367
|
<h4 class="fw-medium mn-b-small">{{ approvalVoting.title }}</h4>
|
|
361
368
|
<div class="flex flex-v-center gap-thin mn-b-small">
|
|
362
|
-
<TaskStatusBadge :status="approvalVoting.status" />
|
|
369
|
+
<TaskStatusBadge :status="approvalVoting.result || approvalVoting.status" />
|
|
363
370
|
</div>
|
|
364
|
-
<div class="p-small t-
|
|
365
|
-
<span>Yes: {{ approvalVoting.yesVotes }}</span>
|
|
366
|
-
<span>No: {{ approvalVoting.noVotes }}</span>
|
|
367
|
-
<span>Abstain: {{ approvalVoting.abstainVotes }}</span>
|
|
371
|
+
<div class="p-small t-dark flex flex-justify-between">
|
|
372
|
+
<span>Yes: {{ approvalVoting.yesVotes || 0 }}</span>
|
|
373
|
+
<span>No: {{ approvalVoting.noVotes || 0 }}</span>
|
|
374
|
+
<span>Abstain: {{ approvalVoting.abstainVotes || 0 }}</span>
|
|
368
375
|
</div>
|
|
369
376
|
</router-link>
|
|
370
|
-
<div v-if="approvalVoting.status === 'approved' && task.status === 'review'" class="mn-t-small pd-t-small br-t-1px br-green-semi">
|
|
377
|
+
<div v-if="(approvalVoting.result || approvalVoting.status) === 'approved' && task.status === 'review'" class="mn-t-small pd-t-small br-t-1px br-green-semi">
|
|
371
378
|
<button @click="handleCompleteTask" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
372
379
|
Complete Task
|
|
373
380
|
</button>
|
|
374
381
|
</div>
|
|
375
382
|
</template>
|
|
376
383
|
<template v-else>
|
|
377
|
-
<p class="p-small t-
|
|
378
|
-
<button v-if="task.status === 'in_progress' && task.assignee" @click="handleSubmitForReview" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
384
|
+
<p class="p-small t-dark mn-b-small">Not submitted for approval yet.</p>
|
|
385
|
+
<button v-if="task.status === 'in_progress' && (task.assignee || task.assignedTo)" @click="handleSubmitForReview" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
379
386
|
Submit for Review
|
|
380
387
|
</button>
|
|
381
388
|
<button v-if="task.status === 'review'" class="w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out">
|
|
@@ -390,11 +397,11 @@ const handleVeto = () => console.log('Vetoing task');
|
|
|
390
397
|
<div class="bg-light radius-medium pd-semi w-max-30r">
|
|
391
398
|
<div class="flex flex-justify-between flex-v-center mn-b-medium">
|
|
392
399
|
<h3 class="h3 fw-medium">Assign Task</h3>
|
|
393
|
-
<button @click="showAssignForm = false" class="t-
|
|
400
|
+
<button @click="showAssignForm = false" class="t-dark hover:t-dark ease-cubic-in-out">
|
|
394
401
|
<IconCross class="i-medium" :fill="'currentColor'" />
|
|
395
402
|
</button>
|
|
396
403
|
</div>
|
|
397
|
-
<p class="p-regular t-
|
|
404
|
+
<p class="p-regular t-dark t-center">Task assignment form coming soon...</p>
|
|
398
405
|
</div>
|
|
399
406
|
</div>
|
|
400
407
|
</div>
|
|
@@ -1,25 +1,63 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
+
import { useRoute, useRouter } from 'vue-router';
|
|
3
4
|
import { tasksActions } from '../../store/tasks';
|
|
4
5
|
import FormTaskDetails from '../sections/FormTaskDetails.vue';
|
|
6
|
+
import { IconArrow } from '@martyrs/src/modules/icons/icons.client.js';
|
|
7
|
+
|
|
8
|
+
const route = useRoute();
|
|
9
|
+
const router = useRouter();
|
|
5
10
|
|
|
6
11
|
const newTask = ref({
|
|
7
|
-
|
|
12
|
+
title: '',
|
|
8
13
|
description: '',
|
|
9
|
-
status: '
|
|
10
|
-
assignedTo: ''
|
|
14
|
+
status: 'not_started',
|
|
15
|
+
assignedTo: '',
|
|
16
|
+
dueDate: null,
|
|
17
|
+
sprint: '',
|
|
18
|
+
initiative: '',
|
|
19
|
+
priority: 'medium',
|
|
20
|
+
tags: [],
|
|
11
21
|
});
|
|
12
22
|
|
|
23
|
+
const creating = ref(false);
|
|
24
|
+
|
|
13
25
|
const createTask = async () => {
|
|
14
|
-
|
|
15
|
-
|
|
26
|
+
if (!newTask.value.title) return;
|
|
27
|
+
creating.value = true;
|
|
28
|
+
try {
|
|
29
|
+
const response = await tasksActions.createTask(newTask.value);
|
|
30
|
+
router.push(`/governance/initiatives/${route.params.id}/tasks/${response._id || response.id}`);
|
|
31
|
+
} catch (e) {
|
|
32
|
+
creating.value = false;
|
|
33
|
+
}
|
|
16
34
|
};
|
|
17
35
|
</script>
|
|
18
36
|
|
|
19
37
|
<template>
|
|
20
|
-
<div>
|
|
21
|
-
<
|
|
38
|
+
<div class="pd-medium pd-y-semi">
|
|
39
|
+
<router-link
|
|
40
|
+
:to="`/governance/initiatives/${route.params.id}/tasks`"
|
|
41
|
+
class="flex flex-v-center t-dark hover:t-dark mn-b-semi ease-cubic-in-out"
|
|
42
|
+
style="text-decoration: none; width: fit-content;"
|
|
43
|
+
>
|
|
44
|
+
<IconArrow class="i-medium mn-r-thin" :rotation="180" :fill="'currentColor'" />
|
|
45
|
+
Back to tasks
|
|
46
|
+
</router-link>
|
|
47
|
+
|
|
48
|
+
<h1 class="h2 fw-medium mn-b-semi">Create New Task</h1>
|
|
49
|
+
|
|
22
50
|
<FormTaskDetails v-model="newTask" />
|
|
23
|
-
|
|
51
|
+
|
|
52
|
+
<div class="flex flex-justify-end mn-t-semi">
|
|
53
|
+
<button
|
|
54
|
+
@click="createTask"
|
|
55
|
+
:disabled="!newTask.title || creating"
|
|
56
|
+
class="bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out"
|
|
57
|
+
:class="{ 'o-50': !newTask.title || creating }"
|
|
58
|
+
>
|
|
59
|
+
{{ creating ? 'Creating...' : 'Create Task' }}
|
|
60
|
+
</button>
|
|
61
|
+
</div>
|
|
24
62
|
</div>
|
|
25
|
-
</template>
|
|
63
|
+
</template>
|