@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 @@
|
|
|
1
|
+
{"version":3,"file":"governance.client.js","sources":["../../../../../src/modules/governance/governance.client.js"],"sourcesContent":["import * as storeInitiatives from './views/store/initiatives.js';\nimport * as storeTasks from './views/store/tasks.js';\nimport * as storeVotings from './views/store/votings.js';\n\n// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport { getRoutes } from './views/router/governance.router.js';\n\n// Example initialization function for the Governance module\nfunction initializeGovernance(app, store, router, options = {}) {\n const routes = getRoutes(options);\n routes.forEach(({ parentName, config }) => {\n addRoutes(router, { ...config, parentName });\n });\n\n store.addStore('initiatives', storeInitiatives);\n store.addStore('tasks', storeTasks);\n store.addStore('votings', storeVotings);\n}\n\nconst ModuleGovernance = {\n initialize: initializeGovernance,\n views: {\n store: {\n storeInitiatives,\n storeTasks,\n storeVotings,\n },\n router: {\n getRoutes,\n },\n },\n};\n\nexport default ModuleGovernance;\n"],"names":["storeInitiatives","storeTasks","storeVotings"],"mappings":";;;;;AASA,SAAS,qBAAqB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC9D,QAAM,SAAS,UAAU,OAAO;AAChC,SAAO,QAAQ,CAAC,EAAE,YAAY,OAAM,MAAO;AACzC,cAAU,QAAQ,EAAE,GAAG,QAAQ,WAAU,CAAE;AAAA,EAC7C,CAAC;AAED,QAAM,SAAS,eAAeA,WAAgB;AAC9C,QAAM,SAAS,SAASC,KAAU;AAClC,QAAM,SAAS,WAAWC,OAAY;AACxC;AAEK,MAAC,mBAAmB;AAAA,EACvB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMF;AAAAA,MACN,YAAMC;AAAAA,MACN,cAAMC;AAAAA,IACN;AAAA,IACI,QAAQ;AAAA,MACN;AAAA,IACN;AAAA,EACA;AACA;"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createElementBlock, createCommentVNode, createVNode, toDisplayString, unref } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../partials/TaskStatusBadge.vue.js";
|
|
3
|
+
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
4
|
+
import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
|
|
5
|
+
import "vue-router";
|
|
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: "br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out o-hidden" };
|
|
21
|
+
const _hoisted_2 = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "aspect-1x1 o-hidden"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_3 = ["src", "alt"];
|
|
26
|
+
const _hoisted_4 = { class: "pd-small" };
|
|
27
|
+
const _hoisted_5 = { class: "flex flex-justify-between flex-v-center mn-b-small" };
|
|
28
|
+
const _hoisted_6 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "flex flex-v-center t-transp p-small"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_7 = { class: "h4 fw-medium mn-b-small hover:t-main ease-cubic-in-out truncate" };
|
|
33
|
+
const _hoisted_8 = { class: "p-small t-transp mn-b-medium line-clamp-2" };
|
|
34
|
+
const _hoisted_9 = {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: "flex flex-v-center t-transp p-small"
|
|
37
|
+
};
|
|
38
|
+
const _sfc_main = {
|
|
39
|
+
__name: "CardInitiativeItem",
|
|
40
|
+
props: {
|
|
41
|
+
initiative: {
|
|
42
|
+
type: Object,
|
|
43
|
+
required: true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
setup(__props) {
|
|
47
|
+
const { formatDate } = useGlobalMixins();
|
|
48
|
+
const props = __props;
|
|
49
|
+
const sprintCount = computed(() => props.initiative.sprintCount || 0);
|
|
50
|
+
const createdDate = computed(() => props.initiative.createdAt || props.initiative.date);
|
|
51
|
+
const coverUrl = computed(() => {
|
|
52
|
+
if (!props.initiative.cover) return null;
|
|
53
|
+
return typeof props.initiative.cover === "string" ? props.initiative.cover : props.initiative.cover.url;
|
|
54
|
+
});
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
const _component_router_link = resolveComponent("router-link");
|
|
57
|
+
return openBlock(), createBlock(_component_router_link, {
|
|
58
|
+
to: `/governance/initiatives/${__props.initiative._id}`,
|
|
59
|
+
class: "d-block"
|
|
60
|
+
}, {
|
|
61
|
+
default: withCtx(() => [
|
|
62
|
+
createElementVNode("div", _hoisted_1, [
|
|
63
|
+
coverUrl.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
64
|
+
createElementVNode("img", {
|
|
65
|
+
src: coverUrl.value,
|
|
66
|
+
alt: __props.initiative.title,
|
|
67
|
+
class: "w-100 h-100 object-fit-cover"
|
|
68
|
+
}, null, 8, _hoisted_3)
|
|
69
|
+
])) : createCommentVNode("", true),
|
|
70
|
+
createElementVNode("div", _hoisted_4, [
|
|
71
|
+
createElementVNode("div", _hoisted_5, [
|
|
72
|
+
createVNode(_sfc_main$1, {
|
|
73
|
+
status: __props.initiative.status
|
|
74
|
+
}, null, 8, ["status"]),
|
|
75
|
+
sprintCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
76
|
+
_cache[0] || (_cache[0] = createElementVNode("svg", {
|
|
77
|
+
class: "i-regular mn-r-thin",
|
|
78
|
+
viewBox: "0 0 24 24",
|
|
79
|
+
fill: "none",
|
|
80
|
+
stroke: "currentColor",
|
|
81
|
+
"stroke-width": "2"
|
|
82
|
+
}, [
|
|
83
|
+
createElementVNode("path", { d: "M12 2L2 7l10 5 10-5-10-5z" }),
|
|
84
|
+
createElementVNode("path", { d: "M2 17l10 5 10-5" }),
|
|
85
|
+
createElementVNode("path", { d: "M2 12l10 5 10-5" })
|
|
86
|
+
], -1)),
|
|
87
|
+
createElementVNode("span", null, toDisplayString(sprintCount.value), 1)
|
|
88
|
+
])) : createCommentVNode("", true)
|
|
89
|
+
]),
|
|
90
|
+
createElementVNode("h3", _hoisted_7, toDisplayString(__props.initiative.title), 1),
|
|
91
|
+
createElementVNode("p", _hoisted_8, toDisplayString(__props.initiative.description), 1),
|
|
92
|
+
createdDate.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
93
|
+
createVNode(unref(_sfc_main$2), {
|
|
94
|
+
class: "i-regular mn-r-thin",
|
|
95
|
+
fill: "currentColor"
|
|
96
|
+
}),
|
|
97
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(createdDate.value, { dateOnly: true })), 1)
|
|
98
|
+
])) : createCommentVNode("", true)
|
|
99
|
+
])
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["to"]);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
export {
|
|
108
|
+
_sfc_main as default
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=CardInitiativeItem.vue.js.map
|
package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardInitiativeItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardInitiativeItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n initiative: {\n type: Object,\n required: true\n }\n});\n\nconst sprintCount = computed(() => props.initiative.sprintCount || 0);\nconst createdDate = computed(() => props.initiative.createdAt || props.initiative.date);\nconst coverUrl = computed(() => {\n if (!props.initiative.cover) return null;\n return typeof props.initiative.cover === 'string'\n ? props.initiative.cover\n : props.initiative.cover.url;\n});\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${initiative._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out o-hidden\">\n <div v-if=\"coverUrl\" class=\"aspect-1x1 o-hidden\">\n <img\n :src=\"coverUrl\"\n :alt=\"initiative.title\"\n class=\"w-100 h-100 object-fit-cover\"\n />\n </div>\n <div class=\"pd-small\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-small\">\n <TaskStatusBadge :status=\"initiative.status\" />\n <div v-if=\"sprintCount > 0\" class=\"flex flex-v-center t-transp p-small\">\n <svg class=\"i-regular mn-r-thin\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M12 2L2 7l10 5 10-5-10-5z\"/>\n <path d=\"M2 17l10 5 10-5\"/>\n <path d=\"M2 12l10 5 10-5\"/>\n </svg>\n <span>{{ sprintCount }}</span>\n </div>\n </div>\n <h3 class=\"h4 fw-medium mn-b-small hover:t-main ease-cubic-in-out truncate\">\n {{ initiative.title }}\n </h3>\n <p class=\"p-small t-transp mn-b-medium line-clamp-2\">\n {{ initiative.description }}\n </p>\n <div v-if=\"createdDate\" class=\"flex flex-v-center t-transp p-small\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(createdDate, { dateOnly: true }) }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,eAAe,CAAC;AACpE,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,aAAa,MAAM,WAAW,IAAI;AACtF,UAAM,WAAW,SAAS,MAAM;AAC9B,UAAI,CAAC,MAAM,WAAW,MAAO,QAAO;AACpC,aAAO,OAAO,MAAM,WAAW,UAAU,WACrC,MAAM,WAAW,QACjB,MAAM,WAAW,MAAM;AAAA,IAC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { resolveComponent, createBlock, openBlock, unref, withCtx, createElementVNode, createVNode, toDisplayString, normalizeStyle } from "vue";
|
|
2
|
+
import { useRoute } from "vue-router";
|
|
3
|
+
import _sfc_main$1 from "../partials/TaskStatusBadge.vue.js";
|
|
4
|
+
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
5
|
+
import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
|
|
6
|
+
import _sfc_main$3 from "../../../../icons/navigation/IconCheckmark.vue.js";
|
|
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
|
+
/* empty css */
|
|
21
|
+
const _hoisted_1 = { class: "br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small" };
|
|
22
|
+
const _hoisted_2 = { class: "flex flex-justify-between flex-align-start mn-b-small" };
|
|
23
|
+
const _hoisted_3 = { class: "h5 fw-medium flex-child-1 hover:t-main ease-cubic-in-out" };
|
|
24
|
+
const _hoisted_4 = { class: "mn-b-medium" };
|
|
25
|
+
const _hoisted_5 = { class: "flex flex-justify-between mn-b-small p-small" };
|
|
26
|
+
const _hoisted_6 = { class: "fw-medium" };
|
|
27
|
+
const _hoisted_7 = { class: "w-100 bg-light radius-thin h-thin o-hidden" };
|
|
28
|
+
const _hoisted_8 = { class: "flex flex-justify-between p-small" };
|
|
29
|
+
const _hoisted_9 = { class: "flex flex-v-center t-transp" };
|
|
30
|
+
const _hoisted_10 = { class: "flex flex-v-center t-transp" };
|
|
31
|
+
const _hoisted_11 = { class: "mn-t-medium flex flex-v-center" };
|
|
32
|
+
const _hoisted_12 = ["src", "alt"];
|
|
33
|
+
const _hoisted_13 = { class: "mn-l-thin p-small t-transp" };
|
|
34
|
+
const _sfc_main = {
|
|
35
|
+
__name: "CardSprintItem",
|
|
36
|
+
props: {
|
|
37
|
+
sprint: {
|
|
38
|
+
type: Object,
|
|
39
|
+
required: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
setup(__props) {
|
|
43
|
+
const route = useRoute();
|
|
44
|
+
const { formatDate } = useGlobalMixins();
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
const _component_router_link = resolveComponent("router-link");
|
|
47
|
+
return openBlock(), createBlock(_component_router_link, {
|
|
48
|
+
to: `/governance/initiatives/${unref(route).params.id}/sprints/${__props.sprint._id}`,
|
|
49
|
+
class: "d-block"
|
|
50
|
+
}, {
|
|
51
|
+
default: withCtx(() => [
|
|
52
|
+
createElementVNode("div", _hoisted_1, [
|
|
53
|
+
createElementVNode("div", _hoisted_2, [
|
|
54
|
+
createElementVNode("h3", _hoisted_3, toDisplayString(__props.sprint.name), 1),
|
|
55
|
+
createVNode(_sfc_main$1, {
|
|
56
|
+
status: __props.sprint.status
|
|
57
|
+
}, null, 8, ["status"])
|
|
58
|
+
]),
|
|
59
|
+
createElementVNode("div", _hoisted_4, [
|
|
60
|
+
createElementVNode("div", _hoisted_5, [
|
|
61
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "t-transp" }, "Progress", -1)),
|
|
62
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.sprint.progress) + "%", 1)
|
|
63
|
+
]),
|
|
64
|
+
createElementVNode("div", _hoisted_7, [
|
|
65
|
+
createElementVNode("div", {
|
|
66
|
+
class: "bg-main h-100 ease-cubic-in-out",
|
|
67
|
+
style: normalizeStyle({ width: `${__props.sprint.progress}%` })
|
|
68
|
+
}, null, 4)
|
|
69
|
+
])
|
|
70
|
+
]),
|
|
71
|
+
createElementVNode("div", _hoisted_8, [
|
|
72
|
+
createElementVNode("div", _hoisted_9, [
|
|
73
|
+
createVNode(unref(_sfc_main$2), {
|
|
74
|
+
class: "i-regular mn-r-thin",
|
|
75
|
+
fill: "currentColor"
|
|
76
|
+
}),
|
|
77
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.sprint.startDate, { dayMonth: true })) + " - " + toDisplayString(unref(formatDate)(__props.sprint.dueDate, { dayMonth: true })), 1)
|
|
78
|
+
]),
|
|
79
|
+
createElementVNode("div", _hoisted_10, [
|
|
80
|
+
createVNode(unref(_sfc_main$3), {
|
|
81
|
+
class: "i-regular mn-r-thin",
|
|
82
|
+
fill: "currentColor"
|
|
83
|
+
}),
|
|
84
|
+
createElementVNode("span", null, toDisplayString(__props.sprint.taskCount), 1)
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
createElementVNode("div", _hoisted_11, [
|
|
88
|
+
createElementVNode("img", {
|
|
89
|
+
src: __props.sprint.owner.avatar,
|
|
90
|
+
alt: __props.sprint.owner.name,
|
|
91
|
+
class: "i-medium radius-medium"
|
|
92
|
+
}, null, 8, _hoisted_12),
|
|
93
|
+
createElementVNode("span", _hoisted_13, toDisplayString(__props.sprint.owner.name), 1)
|
|
94
|
+
])
|
|
95
|
+
])
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 8, ["to"]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
_sfc_main as default
|
|
104
|
+
};
|
|
105
|
+
//# sourceMappingURL=CardSprintItem.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardSprintItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardSprintItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconCheckmark } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n sprint: {\n type: Object,\n required: true\n }\n});\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/sprints/${sprint._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h3 class=\"h5 fw-medium flex-child-1 hover:t-main ease-cubic-in-out\">\n {{ sprint.name }}\n </h3>\n <TaskStatusBadge :status=\"sprint.status\" />\n </div>\n\n <div class=\"mn-b-medium\">\n <div class=\"flex flex-justify-between mn-b-small p-small\">\n <span class=\"t-transp\">Progress</span>\n <span class=\"fw-medium\">{{ sprint.progress }}%</span>\n </div>\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${sprint.progress}%` }\"\n />\n </div>\n </div>\n\n <div class=\"flex flex-justify-between p-small\">\n <div class=\"flex flex-v-center t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>\n {{ formatDate(sprint.startDate, { dayMonth: true }) }} - {{ formatDate(sprint.dueDate, { dayMonth: true }) }}\n </span>\n </div>\n <div class=\"flex flex-v-center t-transp\">\n <IconCheckmark class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ sprint.taskCount }}</span>\n </div>\n </div>\n\n <div class=\"mn-t-medium flex flex-v-center\">\n <img\n :src=\"sprint.owner.avatar\"\n :alt=\"sprint.owner.name\"\n class=\"i-medium radius-medium\"\n />\n <span class=\"mn-l-thin p-small t-transp\">{{ sprint.owner.name }}</span>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, toDisplayString, createVNode, Fragment, renderList } from "vue";
|
|
2
|
+
import { useRoute } from "vue-router";
|
|
3
|
+
import _sfc_main$1 from "../partials/TaskStatusBadge.vue.js";
|
|
4
|
+
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
5
|
+
import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
|
|
6
|
+
import IconSend from "../../../../icons/navigation/IconSend.vue.js";
|
|
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
|
+
/* empty css */
|
|
21
|
+
const _hoisted_1 = {
|
|
22
|
+
class: /* @__PURE__ */ normalizeClass(`br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small cursor-pointer`)
|
|
23
|
+
};
|
|
24
|
+
const _hoisted_2 = { class: "flex flex-justify-between flex-align-start mn-b-small" };
|
|
25
|
+
const _hoisted_3 = { class: "p-regular fw-medium flex-child-1 mn-r-thin" };
|
|
26
|
+
const _hoisted_4 = { class: "mn-b-small" };
|
|
27
|
+
const _hoisted_5 = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "flex flex-wrap gap-thin mn-b-small"
|
|
30
|
+
};
|
|
31
|
+
const _hoisted_6 = { class: "flex flex-justify-between flex-v-center" };
|
|
32
|
+
const _hoisted_7 = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "flex flex-v-center p-small t-transp"
|
|
35
|
+
};
|
|
36
|
+
const _hoisted_8 = ["src", "alt", "title"];
|
|
37
|
+
const _sfc_main = {
|
|
38
|
+
__name: "CardTaskItem",
|
|
39
|
+
props: {
|
|
40
|
+
task: {
|
|
41
|
+
type: Object,
|
|
42
|
+
required: true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
setup(__props) {
|
|
46
|
+
const route = useRoute();
|
|
47
|
+
const { formatDate } = useGlobalMixins();
|
|
48
|
+
const props = __props;
|
|
49
|
+
const priorityConfig = {
|
|
50
|
+
low: "br-l-green",
|
|
51
|
+
medium: "br-l-yellow",
|
|
52
|
+
high: "br-l-red"
|
|
53
|
+
};
|
|
54
|
+
computed(() => priorityConfig[props.task.priority] || priorityConfig.medium);
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
const _component_router_link = resolveComponent("router-link");
|
|
57
|
+
return openBlock(), createBlock(_component_router_link, {
|
|
58
|
+
to: `/governance/initiatives/${unref(route).params.id}/tasks/${__props.task._id}`,
|
|
59
|
+
class: "d-block"
|
|
60
|
+
}, {
|
|
61
|
+
default: withCtx(() => [
|
|
62
|
+
createElementVNode("div", _hoisted_1, [
|
|
63
|
+
createElementVNode("div", _hoisted_2, [
|
|
64
|
+
createElementVNode("h4", _hoisted_3, toDisplayString(__props.task.title || __props.task.name), 1),
|
|
65
|
+
__props.task.votingId ? (openBlock(), createBlock(unref(IconSend), {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: "i-regular flex-shrink-0",
|
|
68
|
+
fill: "rgb(var(--main))"
|
|
69
|
+
})) : createCommentVNode("", true)
|
|
70
|
+
]),
|
|
71
|
+
createElementVNode("div", _hoisted_4, [
|
|
72
|
+
createVNode(_sfc_main$1, {
|
|
73
|
+
status: __props.task.status
|
|
74
|
+
}, null, 8, ["status"])
|
|
75
|
+
]),
|
|
76
|
+
__props.task.tags && __props.task.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
77
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.task.tags, (tag) => {
|
|
78
|
+
return openBlock(), createElementBlock("span", {
|
|
79
|
+
key: tag,
|
|
80
|
+
class: "pd-thin radius-thin bg-white t-transp p-small fw-medium"
|
|
81
|
+
}, toDisplayString(tag), 1);
|
|
82
|
+
}), 128))
|
|
83
|
+
])) : createCommentVNode("", true),
|
|
84
|
+
createElementVNode("div", _hoisted_6, [
|
|
85
|
+
__props.task.dueDate ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
86
|
+
createVNode(unref(_sfc_main$2), {
|
|
87
|
+
class: "i-regular mn-r-thin",
|
|
88
|
+
fill: "currentColor"
|
|
89
|
+
}),
|
|
90
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.task.dueDate, { dayMonth: true })), 1)
|
|
91
|
+
])) : createCommentVNode("", true),
|
|
92
|
+
__props.task.assignee ? (openBlock(), createElementBlock("img", {
|
|
93
|
+
key: 1,
|
|
94
|
+
src: __props.task.assignee.avatar,
|
|
95
|
+
alt: __props.task.assignee.name,
|
|
96
|
+
title: __props.task.assignee.name,
|
|
97
|
+
class: "i-medium radius-medium"
|
|
98
|
+
}, null, 8, _hoisted_8)) : createCommentVNode("", true)
|
|
99
|
+
])
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["to"]);
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
export {
|
|
108
|
+
_sfc_main as default
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=CardTaskItem.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTaskItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardTaskItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n task: {\n type: Object,\n required: true\n }\n});\n\nconst priorityConfig = {\n low: 'br-l-green',\n medium: 'br-l-yellow',\n high: 'br-l-red',\n};\n\nconst borderColor = computed(() => priorityConfig[props.task.priority] || priorityConfig.medium);\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/tasks/${task._id}`\"\n class=\"d-block\"\n >\n <div :class=\"`br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small cursor-pointer`\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h4 class=\"p-regular fw-medium flex-child-1 mn-r-thin\">{{ task.title || task.name }}</h4>\n <IconSend v-if=\"task.votingId\" class=\"i-regular flex-shrink-0\" :fill=\"'rgb(var(--main))'\" />\n </div>\n\n <div class=\"mn-b-small\">\n <TaskStatusBadge :status=\"task.status\" />\n </div>\n\n <div v-if=\"task.tags && task.tags.length > 0\" class=\"flex flex-wrap gap-thin mn-b-small\">\n <span\n v-for=\"tag in task.tags\"\n :key=\"tag\"\n class=\"pd-thin radius-thin bg-white t-transp p-small fw-medium\"\n >\n {{ tag }}\n </span>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center\">\n <div v-if=\"task.dueDate\" class=\"flex flex-v-center p-small t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(task.dueDate, { dayMonth: true }) }}</span>\n </div>\n <img\n v-if=\"task.assignee\"\n :src=\"task.assignee.avatar\"\n :alt=\"task.assignee.name\"\n :title=\"task.assignee.name\"\n class=\"i-medium radius-medium\"\n />\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,iBAAiB;AAAA,MACrB,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM;AAAA,IACR;AAEoB,aAAS,MAAM,eAAe,MAAM,KAAK,QAAQ,KAAK,eAAe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { computed, resolveComponent, createBlock, openBlock, unref, withCtx, createElementVNode, createVNode, normalizeClass, toDisplayString, normalizeStyle } from "vue";
|
|
2
|
+
import { useRoute } from "vue-router";
|
|
3
|
+
import _sfc_main$1 from "../partials/TaskStatusBadge.vue.js";
|
|
4
|
+
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
5
|
+
import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
|
|
6
|
+
import IconSend from "../../../../icons/navigation/IconSend.vue.js";
|
|
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
|
+
/* empty css */
|
|
21
|
+
const _hoisted_1 = { class: "br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small" };
|
|
22
|
+
const _hoisted_2 = { class: "flex flex-justify-between flex-align-start mn-b-small" };
|
|
23
|
+
const _hoisted_3 = { class: "h5 fw-medium mn-b-small hover:t-main ease-cubic-in-out" };
|
|
24
|
+
const _hoisted_4 = { class: "mn-b-medium" };
|
|
25
|
+
const _hoisted_5 = { class: "w-100 bg-light radius-thin h-thin o-hidden" };
|
|
26
|
+
const _hoisted_6 = { class: "flex flex-justify-between p-small t-transp mn-t-thin" };
|
|
27
|
+
const _hoisted_7 = { class: "flex flex-justify-between flex-v-center p-small" };
|
|
28
|
+
const _hoisted_8 = { class: "flex flex-v-center t-transp" };
|
|
29
|
+
const _hoisted_9 = { class: "flex flex-v-center t-transp" };
|
|
30
|
+
const _sfc_main = {
|
|
31
|
+
__name: "CardVotingItem",
|
|
32
|
+
props: {
|
|
33
|
+
voting: {
|
|
34
|
+
type: Object,
|
|
35
|
+
required: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
setup(__props) {
|
|
39
|
+
const route = useRoute();
|
|
40
|
+
const { formatDate } = useGlobalMixins();
|
|
41
|
+
const props = __props;
|
|
42
|
+
const typeConfig = {
|
|
43
|
+
create_task: { label: "Create Task", color: "bg-main-small t-main" },
|
|
44
|
+
approve_task: { label: "Approve Task", color: "bg-green-nice t-white" },
|
|
45
|
+
general: { label: "General", color: "bg-fifth-small t-fifth" }
|
|
46
|
+
};
|
|
47
|
+
const typeInfo = computed(() => typeConfig[props.voting.type] || typeConfig.general);
|
|
48
|
+
const percentageYes = computed(
|
|
49
|
+
() => props.voting.totalVotes > 0 ? props.voting.yesVotes / props.voting.totalVotes * 100 : 0
|
|
50
|
+
);
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
const _component_router_link = resolveComponent("router-link");
|
|
53
|
+
return openBlock(), createBlock(_component_router_link, {
|
|
54
|
+
to: `/governance/initiatives/${unref(route).params.id}/votings/${__props.voting._id}`,
|
|
55
|
+
class: "d-block"
|
|
56
|
+
}, {
|
|
57
|
+
default: withCtx(() => [
|
|
58
|
+
createElementVNode("div", _hoisted_1, [
|
|
59
|
+
createElementVNode("div", _hoisted_2, [
|
|
60
|
+
createElementVNode("span", {
|
|
61
|
+
class: normalizeClass(`pd-thin radius-thin p-small fw-medium ${typeInfo.value.color}`)
|
|
62
|
+
}, toDisplayString(typeInfo.value.label), 3),
|
|
63
|
+
createVNode(_sfc_main$1, {
|
|
64
|
+
status: __props.voting.status
|
|
65
|
+
}, null, 8, ["status"])
|
|
66
|
+
]),
|
|
67
|
+
createElementVNode("h3", _hoisted_3, toDisplayString(__props.voting.title), 1),
|
|
68
|
+
createElementVNode("div", _hoisted_4, [
|
|
69
|
+
createElementVNode("div", _hoisted_5, [
|
|
70
|
+
createElementVNode("div", {
|
|
71
|
+
class: "bg-main h-100 ease-cubic-in-out",
|
|
72
|
+
style: normalizeStyle({ width: `${percentageYes.value}%` })
|
|
73
|
+
}, null, 4)
|
|
74
|
+
]),
|
|
75
|
+
createElementVNode("div", _hoisted_6, [
|
|
76
|
+
createElementVNode("span", null, toDisplayString(__props.voting.yesVotes) + " Yes", 1),
|
|
77
|
+
createElementVNode("span", null, toDisplayString(__props.voting.noVotes) + " No", 1)
|
|
78
|
+
])
|
|
79
|
+
]),
|
|
80
|
+
createElementVNode("div", _hoisted_7, [
|
|
81
|
+
createElementVNode("div", _hoisted_8, [
|
|
82
|
+
createVNode(unref(_sfc_main$2), {
|
|
83
|
+
class: "i-regular mn-r-thin",
|
|
84
|
+
fill: "currentColor"
|
|
85
|
+
}),
|
|
86
|
+
createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.voting.createdAt, { dateOnly: true })), 1)
|
|
87
|
+
]),
|
|
88
|
+
createElementVNode("div", _hoisted_9, [
|
|
89
|
+
createVNode(unref(IconSend), {
|
|
90
|
+
class: "i-regular mn-r-thin",
|
|
91
|
+
fill: "currentColor"
|
|
92
|
+
}),
|
|
93
|
+
createElementVNode("span", null, toDisplayString(__props.voting.totalVotes), 1)
|
|
94
|
+
])
|
|
95
|
+
])
|
|
96
|
+
])
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["to"]);
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
export {
|
|
104
|
+
_sfc_main as default
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=CardVotingItem.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardVotingItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardVotingItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n voting: {\n type: Object,\n required: true\n }\n});\n\nconst typeConfig = {\n create_task: { label: 'Create Task', color: 'bg-main-small t-main' },\n approve_task: { label: 'Approve Task', color: 'bg-green-nice t-white' },\n general: { label: 'General', color: 'bg-fifth-small t-fifth' },\n};\n\nconst typeInfo = computed(() => typeConfig[props.voting.type] || typeConfig.general);\nconst percentageYes = computed(() =>\n props.voting.totalVotes > 0 ? (props.voting.yesVotes / props.voting.totalVotes) * 100 : 0\n);\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/votings/${voting._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <span :class=\"`pd-thin radius-thin p-small fw-medium ${typeInfo.color}`\">\n {{ typeInfo.label }}\n </span>\n <TaskStatusBadge :status=\"voting.status\" />\n </div>\n\n <h3 class=\"h5 fw-medium mn-b-small hover:t-main ease-cubic-in-out\">\n {{ voting.title }}\n </h3>\n\n <div class=\"mn-b-medium\">\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${percentageYes}%` }\"\n />\n </div>\n <div class=\"flex flex-justify-between p-small t-transp mn-t-thin\">\n <span>{{ voting.yesVotes }} Yes</span>\n <span>{{ voting.noVotes }} No</span>\n </div>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <div class=\"flex flex-v-center t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(voting.createdAt, { dateOnly: true }) }}</span>\n </div>\n <div class=\"flex flex-v-center t-transp\">\n <IconSend class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ voting.totalVotes }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,aAAa;AAAA,MACjB,aAAa,EAAE,OAAO,eAAe,OAAO,uBAAsB;AAAA,MAClE,cAAc,EAAE,OAAO,gBAAgB,OAAO,wBAAuB;AAAA,MACrE,SAAS,EAAE,OAAO,WAAW,OAAO,yBAAwB;AAAA,IAC9D;AAEA,UAAM,WAAW,SAAS,MAAM,WAAW,MAAM,OAAO,IAAI,KAAK,WAAW,OAAO;AACnF,UAAM,gBAAgB;AAAA,MAAS,MAC7B,MAAM,OAAO,aAAa,IAAK,MAAM,OAAO,WAAW,MAAM,OAAO,aAAc,MAAM;AAAA,IAC1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx } from "vue";
|
|
2
|
+
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const _sfc_main = {};
|
|
4
|
+
const _hoisted_1 = { class: "min-h-100vh pd-medium pd-y-semi" };
|
|
5
|
+
const _hoisted_2 = { class: "flex flex-wrap gap-semi" };
|
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
|
7
|
+
const _component_router_link = resolveComponent("router-link");
|
|
8
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9
|
+
_cache[3] || (_cache[3] = createElementVNode("h1", { class: "h2 fw-medium mn-b-semi" }, "Governance", -1)),
|
|
10
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "t-dark mn-b-medium" }, "Decentralized governance of OZ DAO ecosystem", -1)),
|
|
11
|
+
createElementVNode("div", _hoisted_2, [
|
|
12
|
+
createVNode(_component_router_link, {
|
|
13
|
+
to: "/governance/initiatives",
|
|
14
|
+
class: "bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out",
|
|
15
|
+
style: { "text-decoration": "none", "min-width": "280px" }
|
|
16
|
+
}, {
|
|
17
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
18
|
+
createElementVNode("h3", { class: "h4 fw-medium mn-b-thin" }, "Initiatives", -1),
|
|
19
|
+
createElementVNode("p", { class: "t-dark" }, "Community proposals and projects", -1)
|
|
20
|
+
])),
|
|
21
|
+
_: 1
|
|
22
|
+
}),
|
|
23
|
+
createVNode(_component_router_link, {
|
|
24
|
+
to: "/governance/tasks",
|
|
25
|
+
class: "bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out",
|
|
26
|
+
style: { "text-decoration": "none", "min-width": "280px" }
|
|
27
|
+
}, {
|
|
28
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
29
|
+
createElementVNode("h3", { class: "h4 fw-medium mn-b-thin" }, "Tasks", -1),
|
|
30
|
+
createElementVNode("p", { class: "t-dark" }, "Work items and assignments", -1)
|
|
31
|
+
])),
|
|
32
|
+
_: 1
|
|
33
|
+
}),
|
|
34
|
+
createVNode(_component_router_link, {
|
|
35
|
+
to: "/governance/votings",
|
|
36
|
+
class: "bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out",
|
|
37
|
+
style: { "text-decoration": "none", "min-width": "280px" }
|
|
38
|
+
}, {
|
|
39
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
40
|
+
createElementVNode("h3", { class: "h4 fw-medium mn-b-thin" }, "Votings", -1),
|
|
41
|
+
createElementVNode("p", { class: "t-dark" }, "Community decisions and polls", -1)
|
|
42
|
+
])),
|
|
43
|
+
_: 1
|
|
44
|
+
})
|
|
45
|
+
])
|
|
46
|
+
]);
|
|
47
|
+
}
|
|
48
|
+
const Governance = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
49
|
+
export {
|
|
50
|
+
Governance as default
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=Governance.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Governance.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Governance.vue"],"sourcesContent":["<template>\n <div class=\"min-h-100vh pd-medium pd-y-semi\">\n <h1 class=\"h2 fw-medium mn-b-semi\">Governance</h1>\n <p class=\"t-dark mn-b-medium\">Decentralized governance of OZ DAO ecosystem</p>\n\n <div class=\"flex flex-wrap gap-semi\">\n <router-link to=\"/governance/initiatives\" class=\"bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out\" style=\"text-decoration: none; min-width: 280px;\">\n <h3 class=\"h4 fw-medium mn-b-thin\">Initiatives</h3>\n <p class=\"t-dark\">Community proposals and projects</p>\n </router-link>\n\n <router-link to=\"/governance/tasks\" class=\"bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out\" style=\"text-decoration: none; min-width: 280px;\">\n <h3 class=\"h4 fw-medium mn-b-thin\">Tasks</h3>\n <p class=\"t-dark\">Work items and assignments</p>\n </router-link>\n\n <router-link to=\"/governance/votings\" class=\"bg-light radius-semi pd-semi flex-grow hover:bg-grey-light ease-cubic-in-out\" style=\"text-decoration: none; min-width: 280px;\">\n <h3 class=\"h4 fw-medium mn-b-thin\">Votings</h3>\n <p class=\"t-dark\">Community decisions and polls</p>\n </router-link>\n </div>\n </div>\n</template>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_createVNode","_withCtx"],"mappings":";;;AACO,MAAA,aAAA,EAAA,OAAM,kCAAiC;AAIrC,MAAA,aAAA,EAAA,OAAM,0BAAyB;;;AAJtC,SAAAA,UAAA,GAAAC,mBAoBM,OApBN,YAoBM;AAAA,IAnBJ,OAAA,CAAA,MAAA,OAAA,CAAA,IAAAC,mBAAkD,MAAA,EAA9C,OAAM,yBAAwB,GAAC,cAAU,EAAA;AAAA,IAC7C,OAAA,CAAA,MAAA,OAAA,CAAA,IAAAA,mBAA8E,KAAA,EAA3E,OAAM,qBAAoB,GAAC,gDAA4C,EAAA;AAAA,IAE1EA,mBAeM,OAfN,YAeM;AAAA,MAdJC,YAGc,wBAAA;AAAA,QAHD,IAAG;AAAA,QAA0B,OAAM;AAAA,QAA+E,OAAA,EAAA,mBAAA,QAAA,aAAA,QAAA;AAAA;QANrI,SAAAC,QAOQ,MAAmD,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA;AAAA,UAAnDF,mBAAmD,MAAA,EAA/C,OAAM,yBAAwB,GAAC,eAAW,EAAA;AAAA,UAC9CA,mBAAsD,KAAA,EAAnD,OAAM,SAAQ,GAAC,oCAAgC,EAAA;AAAA;QAR1D,GAAA;AAAA;MAWMC,YAGc,wBAAA;AAAA,QAHD,IAAG;AAAA,QAAoB,OAAM;AAAA,QAA+E,OAAA,EAAA,mBAAA,QAAA,aAAA,QAAA;AAAA;QAX/H,SAAAC,QAYQ,MAA6C,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA;AAAA,UAA7CF,mBAA6C,MAAA,EAAzC,OAAM,yBAAwB,GAAC,SAAK,EAAA;AAAA,UACxCA,mBAAgD,KAAA,EAA7C,OAAM,SAAQ,GAAC,8BAA0B,EAAA;AAAA;QAbpD,GAAA;AAAA;MAgBMC,YAGc,wBAAA;AAAA,QAHD,IAAG;AAAA,QAAsB,OAAM;AAAA,QAA+E,OAAA,EAAA,mBAAA,QAAA,aAAA,QAAA;AAAA;QAhBjI,SAAAC,QAiBQ,MAA+C,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA;AAAA,UAA/CF,mBAA+C,MAAA,EAA3C,OAAM,yBAAwB,GAAC,WAAO,EAAA;AAAA,UAC1CA,mBAAmD,KAAA,EAAhD,OAAM,SAAQ,GAAC,iCAA6B,EAAA;AAAA;QAlBvD,GAAA;AAAA;;;;;"}
|