@ozdao/martyrs 0.2.602 → 0.2.603
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +2 -2
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +42 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +9 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +28 -18
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +17 -17
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +118 -59
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +74 -54
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -5
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +7 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +12 -12
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es100.js +33 -0
- package/dist/martyrs.es102.js +39 -0
- package/dist/martyrs.es103.js +31 -0
- package/dist/martyrs.es105.js +27 -0
- package/dist/martyrs.es106.js +8 -0
- package/dist/martyrs.es107.js +9 -0
- package/dist/martyrs.es108.js +79 -0
- package/dist/martyrs.es109.js +7 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/{web-n_ivHO3v.js → martyrs.es110.js} +1 -1
- package/dist/martyrs.es111.js +327 -0
- package/dist/martyrs.es112.js +121 -0
- package/dist/martyrs.es115.js +4 -0
- package/dist/martyrs.es116.js +25 -0
- package/dist/martyrs.es117.js +7 -0
- package/dist/martyrs.es118.js +10 -0
- package/dist/martyrs.es119.js +169 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +460 -0
- package/dist/martyrs.es121.js +42 -0
- package/dist/martyrs.es122.js +12 -0
- package/dist/martyrs.es123.js +52 -0
- package/dist/martyrs.es124.js +14 -0
- package/dist/martyrs.es125.js +47 -0
- package/dist/martyrs.es126.js +7 -0
- package/dist/martyrs.es127.js +131 -0
- package/dist/martyrs.es128.js +103 -0
- package/dist/martyrs.es129.js +89 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +40 -0
- package/dist/martyrs.es131.js +14 -0
- package/dist/martyrs.es132.js +42 -0
- package/dist/martyrs.es133.js +11 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +119 -0
- package/dist/martyrs.es136.js +20 -0
- package/dist/martyrs.es137.js +18 -0
- package/dist/martyrs.es138.js +35 -0
- package/dist/martyrs.es139.js +12 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +23 -0
- package/dist/martyrs.es141.js +12 -0
- package/dist/martyrs.es142.js +11 -0
- package/dist/martyrs.es143.js +47 -0
- package/dist/martyrs.es144.js +483 -0
- package/dist/martyrs.es145.js +8 -0
- package/dist/martyrs.es146.js +4 -0
- package/dist/martyrs.es147.js +14 -0
- package/dist/martyrs.es148.js +33 -0
- package/dist/martyrs.es149.js +19 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es150.js +22 -0
- package/dist/martyrs.es151.js +31 -0
- package/dist/martyrs.es152.js +23 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +7 -0
- package/dist/martyrs.es93.js +35 -0
- package/dist/martyrs.es95.js +41 -0
- package/dist/martyrs.es96.js +59 -0
- package/dist/martyrs.es97.js +123 -0
- package/dist/martyrs.es98.js +43 -0
- package/dist/martyrs.es99.js +86 -0
- package/dist/music.server.js +11 -11
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed, ref, watch, createElementBlock, openBlock,
|
|
1
|
+
import { computed, ref, watch, createElementBlock, openBlock, createVNode, createElementVNode, unref, isRef, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "
|
|
3
|
+
import _sfc_main$1 from "../../../core/views/components/sections/SectionPageTitle.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _sfc_main$3 from "../blocks/CardEvent.vue.js";
|
|
@@ -8,8 +8,7 @@ import { state } from "../../../auth/views/store/auth.js";
|
|
|
8
8
|
import { read } from "../../store/events.js";
|
|
9
9
|
import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
|
|
10
10
|
const _hoisted_1 = { class: "" };
|
|
11
|
-
const _hoisted_2 = { class: "
|
|
12
|
-
const _hoisted_3 = { class: "pd-thin rows-1 bg-white" };
|
|
11
|
+
const _hoisted_2 = { class: "pd-thin rows-1 bg-white" };
|
|
13
12
|
const _sfc_main = {
|
|
14
13
|
__name: "EventsBackoffice",
|
|
15
14
|
setup(__props) {
|
|
@@ -17,12 +16,11 @@ const _sfc_main = {
|
|
|
17
16
|
const router = useRouter();
|
|
18
17
|
const { hasAccess } = useGlobalMixins();
|
|
19
18
|
const routePrefix = computed(() => {
|
|
20
|
-
|
|
21
|
-
if (context === "
|
|
22
|
-
if (context === "
|
|
19
|
+
if (route.meta.context === "user") return "User";
|
|
20
|
+
if (route.meta.context === "organization") return "Organization";
|
|
21
|
+
if (route.meta.context === "backoffice") return "Backoffice";
|
|
23
22
|
return "";
|
|
24
23
|
});
|
|
25
|
-
const getRouteName = (baseName) => `${routePrefix.value}${baseName}`;
|
|
26
24
|
let tab = route.query.tab ? route.query.tab : "owner";
|
|
27
25
|
const tabEventOwner = ref(tab);
|
|
28
26
|
route.query.tab = tabEventOwner.value;
|
|
@@ -68,30 +66,22 @@ const _sfc_main = {
|
|
|
68
66
|
});
|
|
69
67
|
return (_ctx, _cache) => {
|
|
70
68
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
state.user._id === unref(route).params.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"onUpdate:selected": _cache[1] || (_cache[1] = ($event) => tabEventOwner.value = $event),
|
|
84
|
-
tabs: [
|
|
85
|
-
{ name: "Organizer", value: "owner" },
|
|
86
|
-
{ name: "Participant", value: "participant" }
|
|
87
|
-
],
|
|
88
|
-
class: "mn-b-thin flex-child-default h-max o-hidden h5 bg-white gap-micro pd-t-thin pd-b-thin br-b-1px br-black-transp-10",
|
|
89
|
-
classTab: "bg-light pd-small radius-small w-100"
|
|
90
|
-
}, null, 8, ["selected"])) : createCommentVNode("", true),
|
|
69
|
+
createVNode(_sfc_main$1, {
|
|
70
|
+
title: "Events",
|
|
71
|
+
actions: state.user._id === unref(route).params._id || unref(route).meta.context === "organization" ? [{ method: () => unref(router).push({ name: routePrefix.value + "CreateEvent" }), label: "+", class: "radius-extra i-big hover:scale-[1.05] cursor-pointer t-white bg-second" }] : [],
|
|
72
|
+
tabs: state.user._id === unref(route).params._id ? [
|
|
73
|
+
{ name: "Organizer", value: "owner" },
|
|
74
|
+
{ name: "Participant", value: "participant" }
|
|
75
|
+
] : null,
|
|
76
|
+
tabs_current: tabEventOwner.value,
|
|
77
|
+
"onUpdate:tabs_current": _cache[0] || (_cache[0] = ($event) => tabEventOwner.value = $event),
|
|
78
|
+
class: "pd-thin"
|
|
79
|
+
}, null, 8, ["actions", "tabs", "tabs_current"]),
|
|
80
|
+
createElementVNode("section", _hoisted_2, [
|
|
91
81
|
createVNode(_sfc_main$2, {
|
|
92
82
|
search: true,
|
|
93
83
|
sort: unref(sort),
|
|
94
|
-
"onUpdate:sort": _cache[
|
|
84
|
+
"onUpdate:sort": _cache[1] || (_cache[1] = ($event) => isRef(sort) ? sort.value = $event : sort = $event),
|
|
95
85
|
states: {
|
|
96
86
|
empty: {
|
|
97
87
|
title: "No Events Found",
|
|
@@ -104,7 +94,7 @@ const _sfc_main = {
|
|
|
104
94
|
options: {
|
|
105
95
|
user: state.user._id,
|
|
106
96
|
owner: unref(route).params._id,
|
|
107
|
-
creator: unref(route).params.
|
|
97
|
+
creator: unref(route).meta.context === "user" ? unref(route).params._id : null,
|
|
108
98
|
sortParam: "date.start",
|
|
109
99
|
sortOrder: "desc"
|
|
110
100
|
},
|
|
@@ -115,14 +105,14 @@ const _sfc_main = {
|
|
|
115
105
|
}) => [
|
|
116
106
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (event, index) => {
|
|
117
107
|
return openBlock(), createBlock(_sfc_main$3, {
|
|
118
|
-
onClick: ($event) => unref(router).push({ name:
|
|
108
|
+
onClick: ($event) => unref(router).push({ name: routePrefix.value + "Event", params: { url: event.url } }),
|
|
119
109
|
key: event._id,
|
|
120
110
|
event,
|
|
121
111
|
user: state.user._id,
|
|
122
112
|
type: "normal",
|
|
123
113
|
actions: state.user._id === event.creator.target._id || unref(hasAccess)(event.owner?.target?._id, "events", "edit", state.accesses, state.access.roles) ? [
|
|
124
|
-
{ label: "Edit Event", to: { name:
|
|
125
|
-
{ label: "Manage Tickets", to: { name:
|
|
114
|
+
{ label: "Edit Event", to: { name: routePrefix.value + "EditEvent", params: { url: event.url } } },
|
|
115
|
+
{ label: "Manage Tickets", to: { name: routePrefix.value + "EditEventTickets", params: { url: event.url } } }
|
|
126
116
|
] : [],
|
|
127
117
|
class: "bg-light radius-medium"
|
|
128
118
|
}, null, 8, ["onClick", "event", "user", "actions"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\"\n\t>\n\t\t<
|
|
1
|
+
{"version":3,"file":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"\"\n\t>\n\t\t<SectionPageTitle\n\t\t\ttitle=\"Events\"\n\t\t\t:actions=\"(auth.state.user._id === route.params._id || route.meta.context === 'organization')\n\t\t\t\t? [{ method: () => router.push({ name: routePrefix + 'CreateEvent' }), label: '+', class: 'radius-extra i-big hover:scale-[1.05] cursor-pointer t-white bg-second' }]\n\t\t\t\t: []\"\n\t\t\t:tabs=\"auth.state.user._id === route.params._id\n\t\t\t\t? [\n\t\t\t\t\t{ name: 'Organizer', value: 'owner' },\n\t\t\t\t\t{ name: 'Participant', value: 'participant' },\n\t\t\t\t]\n\t\t\t\t: null\"\n\t\t\t:tabs_current=\"tabEventOwner\"\n\t\t\t@update:tabs_current=\"tabEventOwner = $event\"\n\t\t\tclass=\"pd-thin\"\n\t\t/>\n\n\t\t<section class=\"pd-thin rows-1 bg-white\">\n\n\t\t\t<Feed\n\t\t\t\t:search=\"true\"\n\t\t\t\tv-model:sort=\"sort\"\n\t :states=\"{\n\t empty: {\n\t title: 'No Events Found',\n\t description: 'Currently, there are no events available.'\n\t }\n\t }\"\n\t :store=\"{\n\t read: (options) => events.read(options),\n\t }\"\n\t :options=\"{\n\t user: auth.state.user._id,\n\t owner: route.params._id,\n\t creator: route.meta.context === 'user' ? route.params._id : null,\n\t sortParam: 'date.start',\n\t sortOrder: 'desc'\n\t }\"\n\t v-slot=\"{ \n\t items \n\t }\"\n\t class=\"cols-1 gap-thin\"\n\t >\n\t \t<!-- <Table \n\t\t\t\t\t\tclass=\"radius-semi bg-white\"\n\t\t\t\t\t\t:items=\"items\"\n\t\t\t\t\t\t:columns=\"[{ \n\t\t\t\t\t key: '_id', \n\t\t\t\t\t label: 'ID',\n\t\t\t\t\t\t\tformatter: (value) => `#${value.slice(0, 4)}...${value.slice(-4)}` \n\t\t\t\t\t },\n\t\t\t\t\t { \n\t\t\t\t\t key: 'name', \n\t\t\t\t\t label: 'Name',\n\t\t\t\t\t formatter: (value) => `${value}`\n\t\t\t\t\t },\n\t\t\t\t\t { \n\t\t\t\t\t key: 'tickets', \n\t\t\t\t\t label: 'Tickets',\n\t\t\t\t\t formatter: (value) => value?.length || 0\n\t\t\t\t\t },\n\t\t\t\t\t {\n\t\t\t\t\t key: 'status',\n\t\t\t\t\t label: 'Status',\n\t\t\t\t\t component: StatusBadge\n\t\t\t\t\t },\n\t\t\t\t\t {\n\t\t\t\t\t key: 'date.start',\n\t\t\t\t\t label: 'Date',\n\t\t\t\t\t formatter: (value) => new Date(value).toLocaleDateString()\n\t\t\t\t\t }]\" \n\t\t\t\t\t/> -->\n\t <CardEvent\n\t @click=\"router.push({name: routePrefix + 'Event', params: {url: event.url}})\"\n\t v-for=\"(event,index) in items\"\n\t :key=\"event._id\"\n\t :event=\"event\"\n\t :user=\"auth.state.user._id\"\n\t :type=\"'normal'\"\n\t :actions=\"auth.state.user._id === event.creator.target._id || hasAccess(event.owner?.target?._id, 'events', 'edit', auth.state.accesses, auth.state.access.roles)\n\t ? [\n\t { label: 'Edit Event', to: { name: routePrefix + 'EditEvent', params: { url: event.url } } },\n\t { label: 'Manage Tickets', to: { name: routePrefix + 'EditEventTickets', params: { url: event.url } } }\n\t ]\n\t : []\"\n\t class=\"bg-light radius-medium\"\n\t />\n\t </Feed>\n\t </section>\n\n <!-- <Feed \n\t\t\tv-if=\"tabEventOwner ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabEventOwner ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref, computed } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\n import Feed from '@martyrs/src/components/Feed/Feed.vue'\n\nimport Table from '@martyrs/src/components/Table/Table.vue'\n\n import CardEvent from '@martyrs/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\timport * as events from '@martyrs/src/modules/events/store/events.js';\n\n\timport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js'\n\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\tconst { hasAccess } = useGlobalMixins()\n\n\tconst routePrefix = computed(() => {\n\t\tif (route.meta.context === 'user') return 'User'\n\t\tif (route.meta.context === 'organization') return 'Organization'\n\t\tif (route.meta.context === 'backoffice') return 'Backoffice'\n\t\treturn ''\n\t})\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabEventOwner = ref(tab)\n\n\troute.query.tab = tabEventOwner.value\n\n\tlet filter = ref({\n active: false,\n class: '',\n selected: {},\n options: [{\n title: 'Delivery',\n value: 'delivery',\n options: [\n { label: 'Pickup', value: 'pickup' },\n { label: 'Courier', value: 'courier' },\n { label: 'Post', value: 'post' }\n ]\n },{\n title: 'Prices', \n value: 'prices',\n options: [\n { label: 'Under 300฿', value: '<300' },\n { label: '300฿ to 600฿', value: '300-600' },\n { label: '600฿ to 1200฿', value: '600-1200' },\n { label: '$1200 and above', value: '>1200' }\n ]\n }],\n })\n\n let sort = ref({\n param: 'distance',\n order: 'asc',\n options: [{\n label: 'Distance',\n value: 'distance'\n },{\n label: 'Popularity',\n value: 'views'\n },{\n label: 'Products',\n value: 'numberOfProducts'\n }]\n })\n\n\twatch(tabEventOwner, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;AAiIC,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AAExB,UAAM,EAAE,UAAS,IAAK,gBAAe;AAErC,UAAM,cAAc,SAAS,MAAM;AAClC,UAAI,MAAM,KAAK,YAAY,OAAQ,QAAO;AAC1C,UAAI,MAAM,KAAK,YAAY,eAAgB,QAAO;AAClD,UAAI,MAAM,KAAK,YAAY,aAAc,QAAO;AAChD,aAAO;AAAA,IACR,CAAC;AAED,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,gBAAgB,IAAI,GAAG;AAE7B,UAAM,MAAM,MAAM,cAAc;AAEnB,QAAI;AAAA,MACd,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,UAAU,CAAA;AAAA,MACV,SAAS,CAAC;AAAA,QACR,OAAO;AAAA,QACP,OAAO;AAAA,QACP,SAAS;AAAA,UACP,EAAE,OAAO,UAAU,OAAO,SAAQ;AAAA,UAClC,EAAE,OAAO,WAAW,OAAO,UAAS;AAAA,UACpC,EAAE,OAAO,QAAQ,OAAO,OAAM;AAAA,QACtC;AAAA,MACA,GAAM;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,QACP,SAAS;AAAA,UACP,EAAE,OAAO,cAAqB,OAAO,OAAM;AAAA,UAC3C,EAAE,OAAO,gBAAqB,OAAO,UAAS;AAAA,UAC9C,EAAE,OAAO,iBAAqB,OAAO,WAAU;AAAA,UAC/C,EAAE,OAAO,mBAAqB,OAAO,QAAO;AAAA,QACpD;AAAA,MACA,CAAK;AAAA,IACL,CAAG;AAED,QAAI,OAAO,IAAI;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,SAAS,CAAC;AAAA,QACR,OAAO;AAAA,QACP,OAAO;AAAA,MACb,GAAM;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACb,GAAM;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACb,CAAK;AAAA,IACL,CAAG;AAEF,UAAM,eAAe,CAAC,aAAa;AACjC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAQ,GAAI;AAAA,IAC7D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ref, reactive, createBlock, openBlock, withCtx, createElementBlock, createVNode, Fragment, renderList, createElementVNode, toDisplayString, unref, createCommentVNode, createTextVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import _sfc_main$
|
|
4
|
+
import Button from "../../../../components/Button/Button.vue2.js";
|
|
5
|
+
import _sfc_main$4 from "../../../../components/Popup/Popup.vue.js";
|
|
6
6
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
7
7
|
import FieldDate from "../../../../components/FieldDate/FieldDate.vue.js";
|
|
8
|
-
import _sfc_main$
|
|
8
|
+
import _sfc_main$5 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
9
9
|
import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
import _sfc_main$
|
|
10
|
+
import _sfc_main$2 from "../../../icons/navigation/IconEdit.vue.js";
|
|
11
|
+
import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
|
|
12
12
|
import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
|
|
13
13
|
const _hoisted_1 = { class: "aspect-1x1 h-3r flex-child-default radius-small o-hidden" };
|
|
14
14
|
const _hoisted_2 = ["src"];
|
|
@@ -147,32 +147,32 @@ const _sfc_main = {
|
|
|
147
147
|
createElementVNode("p", _hoisted_5, toDisplayString(unref(returnCurrency)()) + toDisplayString(ticket.price), 1)
|
|
148
148
|
]),
|
|
149
149
|
createElementVNode("div", _hoisted_6, [
|
|
150
|
-
createVNode(
|
|
150
|
+
createVNode(Button, {
|
|
151
151
|
showSuccess: false,
|
|
152
152
|
showLoader: false,
|
|
153
153
|
class: "radius-small pd-small flex-center flex aspect-1x1 bg-light cursor-pointer hover:scale-[1.05]",
|
|
154
154
|
submit: () => openTicketPopup(ticket, index)
|
|
155
155
|
}, {
|
|
156
156
|
default: withCtx(() => [
|
|
157
|
-
createVNode(_sfc_main$
|
|
157
|
+
createVNode(_sfc_main$2, { class: "i-regular" })
|
|
158
158
|
]),
|
|
159
159
|
_: 2
|
|
160
160
|
}, 1032, ["submit"]),
|
|
161
|
-
createVNode(
|
|
161
|
+
createVNode(Button, {
|
|
162
162
|
showSuccess: false,
|
|
163
163
|
showLoader: false,
|
|
164
164
|
class: "radius-small pd-small flex-center flex aspect-1x1 bg-red cursor-pointer hover:scale-[1.05]",
|
|
165
165
|
submit: () => deleteTicket(index)
|
|
166
166
|
}, {
|
|
167
167
|
default: withCtx(() => [
|
|
168
|
-
createVNode(_sfc_main$
|
|
168
|
+
createVNode(_sfc_main$3, { class: "i-regular" })
|
|
169
169
|
]),
|
|
170
170
|
_: 2
|
|
171
171
|
}, 1032, ["submit"])
|
|
172
172
|
])
|
|
173
173
|
]);
|
|
174
174
|
}), 128)),
|
|
175
|
-
createVNode(_sfc_main$
|
|
175
|
+
createVNode(_sfc_main$4, {
|
|
176
176
|
title: editingIndex.value !== null ? "Edit Ticket" : "Create Ticket",
|
|
177
177
|
onClosePopup: closeTicketPopup,
|
|
178
178
|
isPopupOpen: isTicketPopupOpen.value,
|
|
@@ -214,7 +214,7 @@ const _sfc_main = {
|
|
|
214
214
|
class: "w-100 bg-light radius-small pd-small"
|
|
215
215
|
}, null, 8, ["field"]),
|
|
216
216
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "fw-medium mn-t-small" }, "Validity Period", -1)),
|
|
217
|
-
createVNode(_sfc_main$
|
|
217
|
+
createVNode(_sfc_main$5, {
|
|
218
218
|
radio: currentTicket.validity.always,
|
|
219
219
|
"onUpdate:radio": _cache[4] || (_cache[4] = ($event) => currentTicket.validity.always = $event),
|
|
220
220
|
label: "Valid Always",
|
|
@@ -244,7 +244,7 @@ const _sfc_main = {
|
|
|
244
244
|
}, null, 8, ["modelValue"])
|
|
245
245
|
])) : createCommentVNode("", true),
|
|
246
246
|
createElementVNode("div", _hoisted_10, [
|
|
247
|
-
createVNode(
|
|
247
|
+
createVNode(Button, {
|
|
248
248
|
showSuccess: false,
|
|
249
249
|
showLoader: false,
|
|
250
250
|
class: "bg-red t-white w-100",
|
|
@@ -255,7 +255,7 @@ const _sfc_main = {
|
|
|
255
255
|
])),
|
|
256
256
|
_: 1
|
|
257
257
|
}),
|
|
258
|
-
createVNode(
|
|
258
|
+
createVNode(Button, {
|
|
259
259
|
class: "bg-main w-100",
|
|
260
260
|
submit: saveTicket
|
|
261
261
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.vue.js","sources":["../../../../../../../src/modules/events/components/sections/List.vue"],"sourcesContent":["<template>\n <section \n class=\"today-events\"\n >\n\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-small\">\n <SkeletonEventShort\n v-if=\"isLoading\"\n v-for=\"i in limit\" :key=\"i\"\n />\n \n <EmptyState \n v-else-if=\"eventsList.length < 1\"\n title=\"No Planned Events \"\n description=\"No events available. Please check back later.\"\n class=\"pd-medium h-100 bg-light radius-small\"\n />\n <CardEventShort\n v-else\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\"\n v-for=\"(event,index) in eventsList\"\n :key=\"event._id\"\n :event=\"event\"\n :user=\"user\"\n class=\"pd-small mobile:pd-thin\"\n :class=\"{\n 'br-b-1px br-black-transp-10': index !== eventsList.length - 1\n }\"\n />\n </TransitionGroup>\n \n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n\n import Loader from '@martyrs/src/components/Loader/Loader.vue';\n import EmptyState from '@martyrs/src/components/EmptyState/EmptyState.vue';\n\n import CardEventShort from '@martyrs/src/modules/events/components/blocks/CardEventShort.vue';\n\n import SkeletonEvent from '@martyrs/src/modules/icons/skeletons/SkeletonEvent.vue'\n import SkeletonEventShort from '@martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue'\n\n import * as events from '@martyrs/src/modules/events/store/events.js';\n\n const props = defineProps({\n category: {\n type: String,\n default: null\n },\n status: {\n type: String,\n default:
|
|
1
|
+
{"version":3,"file":"List.vue.js","sources":["../../../../../../../src/modules/events/components/sections/List.vue"],"sourcesContent":["<template>\n <section \n class=\"today-events\"\n >\n\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"o-hidden bg-light radius-small\">\n <SkeletonEventShort\n v-if=\"isLoading\"\n v-for=\"i in limit\" :key=\"i\"\n />\n \n <EmptyState \n v-else-if=\"eventsList.length < 1\"\n title=\"No Planned Events \"\n description=\"No events available. Please check back later.\"\n class=\"pd-medium h-100 bg-light radius-small\"\n />\n <CardEventShort\n v-else\n @click=\"$router.push({name: 'Event', params: {url: event.url}})\"\n v-for=\"(event,index) in eventsList\"\n :key=\"event._id\"\n :event=\"event\"\n :user=\"user\"\n class=\"pd-small mobile:pd-thin\"\n :class=\"{\n 'br-b-1px br-black-transp-10': index !== eventsList.length - 1\n }\"\n />\n </TransitionGroup>\n \n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n\n import Loader from '@martyrs/src/components/Loader/Loader.vue';\n import EmptyState from '@martyrs/src/components/EmptyState/EmptyState.vue';\n\n import CardEventShort from '@martyrs/src/modules/events/components/blocks/CardEventShort.vue';\n\n import SkeletonEvent from '@martyrs/src/modules/icons/skeletons/SkeletonEvent.vue'\n import SkeletonEventShort from '@martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue'\n\n import * as events from '@martyrs/src/modules/events/store/events.js';\n\n const props = defineProps({\n category: {\n type: String,\n default: null\n },\n status: {\n type: [String, Array],\n default: () => ['published', 'featured']\n },\n organization: {\n type: String,\n default: null\n },\n owner: {\n type: String,\n default: null\n },\n user: {\n type: [String, Number],\n default: null\n },\n period: {\n type: String,\n default: null\n },\n phase: {\n type: String,\n default: null\n },\n sortParam: {\n type: String,\n default: null\n },\n sortOrder: {\n type: String,\n default: null\n }\n });\n\n const eventsList = ref([]);\n const isLoading = ref(true);\n\n const skip = ref(0);\n const limit = ref(3);\n\n onMounted(async () => {\n const data = await events.read({\n skip: skip.value,\n limit: limit.value,\n sortOrder: 'desc',\n category: props.category,\n user: props.user,\n owner: props.owner,\n organization: props.organization,\n period: props.period,\n phase: props.phase,\n status: props.status,\n sortParam: props.sortParam,\n sortOrder: props.sortOrder\n });\n\n eventsList.value = data;\n isLoading.value = false;\n });\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["events.read"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDE,UAAM,QAAQ;AAuCd,UAAM,aAAa,IAAI,EAAE;AACzB,UAAM,YAAY,IAAI,IAAI;AAE1B,UAAM,OAAO,IAAI,CAAC;AAClB,UAAM,QAAQ,IAAI,CAAC;AAEnB,cAAU,YAAY;AACpB,YAAM,OAAO,MAAMA,KAAY;AAAA,QAC7B,MAAM,KAAK;AAAA,QACX,OAAO,MAAM;AAAA,QACb,WAAW;AAAA,QACX,UAAU,MAAM;AAAA,QAChB,MAAM,MAAM;AAAA,QACZ,OAAO,MAAM;AAAA,QACb,cAAc,MAAM;AAAA,QACpB,QAAQ,MAAM;AAAA,QACd,OAAO,MAAM;AAAA,QACb,QAAQ,MAAM;AAAA,QACd,WAAW,MAAM;AAAA,QACjB,WAAW,MAAM;AAAA,MACvB,CAAK;AAED,iBAAW,QAAQ;AACnB,gBAAU,QAAQ;AAAA,IACpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import addRoutes from "../core/views/router/addRoutes.js";
|
|
2
2
|
import * as events from "./store/events.js";
|
|
3
|
-
import
|
|
3
|
+
import eventsRoutes from "./router/events.router.js";
|
|
4
|
+
import eventsUserRoutes from "./router/events.user.router.js";
|
|
5
|
+
import eventsOrganizationRoutes from "./router/events.organization.router.js";
|
|
6
|
+
import eventsBackofficeRoutes from "./router/events.backoffice.router.js";
|
|
4
7
|
import _sfc_main$8 from "./components/blocks/CardEvent.vue.js";
|
|
5
8
|
import _sfc_main$7 from "./components/blocks/CardEventShort.vue.js";
|
|
6
9
|
import _sfc_main$3 from "./components/layouts/layoutEvents.vue.js";
|
|
@@ -12,33 +15,53 @@ import _sfc_main$4 from "./components/sections/EventsHot.vue.js";
|
|
|
12
15
|
import _sfc_main$6 from "./components/sections/Feed.vue.js";
|
|
13
16
|
import _sfc_main$5 from "./components/sections/List.vue.js";
|
|
14
17
|
function initializeEvents(app, store, router, options = {}) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
addRoutes(router, {
|
|
19
|
+
parentName: options.route || "Home",
|
|
20
|
+
basePath: options.basePath || "events",
|
|
21
|
+
routes: eventsRoutes,
|
|
22
|
+
meta: { context: "root", title: { en: "Events", ru: "События" }, title_hide: true }
|
|
18
23
|
});
|
|
24
|
+
if (!options.withUserRoutes) {
|
|
25
|
+
addRoutes(router, {
|
|
26
|
+
parentName: options.routeUser || "User Profile Root",
|
|
27
|
+
basePath: "events",
|
|
28
|
+
routes: eventsUserRoutes,
|
|
29
|
+
routeNamePrefix: "User",
|
|
30
|
+
meta: { context: "user" }
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
if (!options.withOrganizationRoutes) {
|
|
34
|
+
addRoutes(router, {
|
|
35
|
+
parentName: options.routeOrganizations || "OrganizationRoot",
|
|
36
|
+
basePath: "events",
|
|
37
|
+
routes: eventsOrganizationRoutes,
|
|
38
|
+
routeNamePrefix: "Organization",
|
|
39
|
+
meta: { context: "organization" }
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
if (!options.withBackoffice) {
|
|
43
|
+
addRoutes(router, {
|
|
44
|
+
parentName: options.routeBackoffice || "Backoffice Root",
|
|
45
|
+
basePath: "events",
|
|
46
|
+
routes: eventsBackofficeRoutes,
|
|
47
|
+
routeNamePrefix: "Backoffice",
|
|
48
|
+
meta: { context: "backoffice" }
|
|
49
|
+
});
|
|
50
|
+
}
|
|
19
51
|
store.addStore("events", events);
|
|
20
52
|
}
|
|
21
53
|
const ModuleEvents = {
|
|
22
54
|
initialize: initializeEvents,
|
|
23
55
|
views: {
|
|
24
|
-
store: {
|
|
25
|
-
storeEvents: events
|
|
26
|
-
},
|
|
27
|
-
router: {
|
|
28
|
-
getRoutes
|
|
29
|
-
},
|
|
56
|
+
store: { storeEvents: events },
|
|
30
57
|
components: {
|
|
31
|
-
// Blocks
|
|
32
58
|
CardEvent: _sfc_main$8,
|
|
33
59
|
CardEventShort: _sfc_main$7,
|
|
34
|
-
// Sections
|
|
35
60
|
Feed: _sfc_main$6,
|
|
36
61
|
List: _sfc_main$5,
|
|
37
62
|
FeaturedEvents,
|
|
38
63
|
EventsHot: _sfc_main$4,
|
|
39
|
-
// Layouts
|
|
40
64
|
EventsLayout: _sfc_main$3,
|
|
41
|
-
// Pages
|
|
42
65
|
EditEvent: _sfc_main$2,
|
|
43
66
|
Event: _sfc_main$1,
|
|
44
67
|
EventsPage: _sfc_main
|
|
@@ -57,7 +80,6 @@ export {
|
|
|
57
80
|
_sfc_main$6 as Feed,
|
|
58
81
|
_sfc_main$5 as List,
|
|
59
82
|
ModuleEvents as default,
|
|
60
|
-
getRoutes,
|
|
61
83
|
initializeEvents,
|
|
62
84
|
events as storeEvents
|
|
63
85
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.client.js","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["import addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\n\n// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport
|
|
1
|
+
{"version":3,"file":"events.client.js","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["import addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\n\n// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport routerRoot from './router/events.router.js';\nimport routerUser from './router/events.user.router.js';\nimport routerOrganization from './router/events.organization.router.js';\nimport routerBackoffice from './router/events.backoffice.router.js';\n\n// Views\nimport CardEvent from './components/blocks/CardEvent.vue';\nimport CardEventShort from './components/blocks/CardEventShort.vue';\nimport EventsLayout from './components/layouts/layoutEvents.vue';\nimport EditEvent from './components/pages/EditEvent.vue';\nimport Event from './components/pages/Event.vue';\nimport EventsPage from './components/pages/Events.vue';\nimport FeaturedEvents from './components/sections/FeaturedEvents.vue';\nimport EventsHot from './components/sections/EventsHot.vue';\nimport Feed from './components/sections/Feed.vue';\nimport List from './components/sections/List.vue';\n\nfunction initializeEvents(app, store, router, options = {}) {\n // Root: /events/*\n addRoutes(router, {\n parentName: options.route || 'Home',\n basePath: options.basePath || 'events',\n routes: routerRoot,\n meta: { context: 'root', title: { en: 'Events', ru: 'События' }, title_hide: true },\n });\n\n // User: /users/:_id/events/*\n if (!options.withUserRoutes) {\n addRoutes(router, {\n parentName: options.routeUser || 'User Profile Root',\n basePath: 'events',\n routes: routerUser,\n routeNamePrefix: 'User',\n meta: { context: 'user' },\n });\n }\n\n // Organization: /organizations/:_id/events/*\n if (!options.withOrganizationRoutes) {\n addRoutes(router, {\n parentName: options.routeOrganizations || 'OrganizationRoot',\n basePath: 'events',\n routes: routerOrganization,\n routeNamePrefix: 'Organization',\n meta: { context: 'organization' },\n });\n }\n\n // Backoffice: /backoffice/events/*\n if (!options.withBackoffice) {\n addRoutes(router, {\n parentName: options.routeBackoffice || 'Backoffice Root',\n basePath: 'events',\n routes: routerBackoffice,\n routeNamePrefix: 'Backoffice',\n meta: { context: 'backoffice' },\n });\n }\n\n store.addStore('events', storeEvents);\n}\n\nconst ModuleEvents = {\n initialize: initializeEvents,\n views: {\n store: { storeEvents },\n components: {\n CardEvent,\n CardEventShort,\n Feed,\n List,\n FeaturedEvents,\n EventsHot,\n EventsLayout,\n EditEvent,\n Event,\n EventsPage,\n },\n },\n};\n\nexport {\n CardEvent,\n CardEventShort,\n EditEvent,\n Event,\n EventsLayout,\n EventsPage,\n FeaturedEvents,\n EventsHot,\n Feed,\n initializeEvents,\n List,\n storeEvents,\n};\n\nexport default ModuleEvents;\n"],"names":["routerRoot","routerUser","routerOrganization","routerBackoffice","storeEvents","CardEvent","CardEventShort","Feed","List","EventsHot","EventsLayout","EditEvent","Event","EventsPage"],"mappings":";;;;;;;;;;;;;;;;AAuBA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAE1D,YAAU,QAAQ;AAAA,IAChB,YAAY,QAAQ,SAAS;AAAA,IAC7B,UAAU,QAAQ,YAAY;AAAA,IAC9B,QAAQA;AAAAA,IACR,MAAM,EAAE,SAAS,QAAQ,OAAO,EAAE,IAAI,UAAU,IAAI,aAAa,YAAY,KAAI;AAAA,EACrF,CAAG;AAGD,MAAI,CAAC,QAAQ,gBAAgB;AAC3B,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,aAAa;AAAA,MACjC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,OAAM;AAAA,IAC7B,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,wBAAwB;AACnC,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,sBAAsB;AAAA,MAC1C,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,eAAc;AAAA,IACrC,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,gBAAgB;AAC3B,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,mBAAmB;AAAA,MACvC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,aAAY;AAAA,IACnC,CAAK;AAAA,EACH;AAEA,QAAM,SAAS,UAAUC,MAAW;AACtC;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO,EAAA,aAAEA,OAAW;AAAA,IACpB,YAAY;AAAA,MAChB,WAAMC;AAAAA,MACN,gBAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,MAAMC;AAAAA,MACA;AAAA,MACN,WAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,OAAMC;AAAAA,MACN,YAAMC;AAAAA,IACN;AAAA,EACA;AACA;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { requiresAuth } from "../../auth/views/middlewares/auth.validation.js";
|
|
2
|
+
import { state } from "../../auth/views/store/auth.js";
|
|
3
|
+
import { useGlobalMixins } from "../../core/views/mixins/mixins.js";
|
|
4
|
+
const { isAdmin } = useGlobalMixins();
|
|
5
|
+
const eventsBackofficeRoutes = [
|
|
6
|
+
{
|
|
7
|
+
path: "",
|
|
8
|
+
name: "Events",
|
|
9
|
+
meta: {
|
|
10
|
+
title: { en: "Events", ru: "События" }
|
|
11
|
+
},
|
|
12
|
+
component: () => import(
|
|
13
|
+
/* webpackChunkName: 'events-backoffice' */
|
|
14
|
+
"../components/pages/EventsBackoffice.vue.js"
|
|
15
|
+
)
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
path: "create",
|
|
19
|
+
name: "CreateEvent",
|
|
20
|
+
meta: {
|
|
21
|
+
title: { en: "Create Event", ru: "Создать Событие" }
|
|
22
|
+
},
|
|
23
|
+
beforeEnter: [
|
|
24
|
+
requiresAuth,
|
|
25
|
+
(to, from, next) => {
|
|
26
|
+
if (isAdmin(state.access.roles)) {
|
|
27
|
+
next();
|
|
28
|
+
} else {
|
|
29
|
+
next("/401");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
component: () => import(
|
|
34
|
+
/* webpackChunkName: 'events-edit' */
|
|
35
|
+
"../components/pages/EditEvent.vue.js"
|
|
36
|
+
)
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
path: ":url",
|
|
40
|
+
name: "Event",
|
|
41
|
+
meta: {
|
|
42
|
+
title: { en: "Event", ru: "Событие" }
|
|
43
|
+
},
|
|
44
|
+
component: () => import(
|
|
45
|
+
/* webpackChunkName: 'events-detail' */
|
|
46
|
+
"../components/pages/Event.vue.js"
|
|
47
|
+
)
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
path: ":url/edit",
|
|
51
|
+
name: "EditEvent",
|
|
52
|
+
meta: {
|
|
53
|
+
title: { en: "Edit Event", ru: "Редактировать Событие" }
|
|
54
|
+
},
|
|
55
|
+
beforeEnter: [
|
|
56
|
+
requiresAuth,
|
|
57
|
+
(to, from, next) => {
|
|
58
|
+
if (isAdmin(state.access.roles)) {
|
|
59
|
+
next();
|
|
60
|
+
} else {
|
|
61
|
+
next("/401");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
component: () => import(
|
|
66
|
+
/* webpackChunkName: 'events-edit' */
|
|
67
|
+
"../components/pages/EditEvent.vue.js"
|
|
68
|
+
)
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
path: ":url/edit/tickets",
|
|
72
|
+
name: "EditEventTickets",
|
|
73
|
+
meta: {
|
|
74
|
+
title: { en: "Event Tickets", ru: "Билеты События" }
|
|
75
|
+
},
|
|
76
|
+
beforeEnter: [
|
|
77
|
+
requiresAuth,
|
|
78
|
+
(to, from, next) => {
|
|
79
|
+
if (isAdmin(state.access.roles)) {
|
|
80
|
+
next();
|
|
81
|
+
} else {
|
|
82
|
+
next("/401");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
component: () => import(
|
|
87
|
+
/* webpackChunkName: 'events-tickets' */
|
|
88
|
+
"../components/pages/EditEventTickets.vue.js"
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
export {
|
|
93
|
+
eventsBackofficeRoutes as default
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=events.backoffice.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.backoffice.router.js","sources":["../../../../../../src/modules/events/router/events.backoffice.router.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { isAdmin } = useGlobalMixins();\n\nconst eventsBackofficeRoutes = [\n {\n path: '',\n name: 'Events',\n meta: {\n title: { en: 'Events', ru: 'События' },\n },\n component: () => import(/* webpackChunkName: 'events-backoffice' */ '../components/pages/EventsBackoffice.vue'),\n },\n {\n path: 'create',\n name: 'CreateEvent',\n meta: {\n title: { en: 'Create Event', ru: 'Создать Событие' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-edit' */ '../components/pages/EditEvent.vue'),\n },\n {\n path: ':url',\n name: 'Event',\n meta: {\n title: { en: 'Event', ru: 'Событие' },\n },\n component: () => import(/* webpackChunkName: 'events-detail' */ '../components/pages/Event.vue'),\n },\n {\n path: ':url/edit',\n name: 'EditEvent',\n meta: {\n title: { en: 'Edit Event', ru: 'Редактировать Событие' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-edit' */ '../components/pages/EditEvent.vue'),\n },\n {\n path: ':url/edit/tickets',\n name: 'EditEventTickets',\n meta: {\n title: { en: 'Event Tickets', ru: 'Билеты События' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-tickets' */ '../components/pages/EditEventTickets.vue'),\n },\n];\n\nexport default eventsBackofficeRoutes;\n"],"names":["validationAuth.requiresAuth","auth.state"],"mappings":";;;AAIA,MAAM,EAAE,QAAO,IAAK,gBAAe;AAE9B,MAAC,yBAAyB;AAAA,EAC7B;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,UAAU,IAAI,UAAS;AAAA,IAC1C;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAAmD;AAAA,IAA0C;AAAA,EAClH;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,gBAAgB,IAAI,kBAAiB;AAAA,IACxD;AAAA,IACI,aAAa;AAAA,MACXA;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,GAAG;AACpC,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,SAAS,IAAI,UAAS;AAAA,IACzC;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA+C;AAAA,IAA+B;AAAA,EACnG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,cAAc,IAAI,wBAAuB;AAAA,IAC5D;AAAA,IACI,aAAa;AAAA,MACXD;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,GAAG;AACpC,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,iBAAiB,IAAI,iBAAgB;AAAA,IACxD;AAAA,IACI,aAAa;AAAA,MACXD;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,GAAG;AACpC,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAAgD;AAAA,IAA0C;AAAA,EAC/G;AACA;"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { requiresAuth } from "../../auth/views/middlewares/auth.validation.js";
|
|
2
|
+
import { state } from "../../auth/views/store/auth.js";
|
|
3
|
+
import { useGlobalMixins } from "../../core/views/mixins/mixins.js";
|
|
4
|
+
const { hasAccess, isAdmin } = useGlobalMixins();
|
|
5
|
+
const eventsOrganizationRoutes = [
|
|
6
|
+
{
|
|
7
|
+
path: "",
|
|
8
|
+
name: "Events",
|
|
9
|
+
meta: {
|
|
10
|
+
title: { en: "Events", ru: "События" }
|
|
11
|
+
},
|
|
12
|
+
component: () => import(
|
|
13
|
+
/* webpackChunkName: 'events-backoffice' */
|
|
14
|
+
"../components/pages/EventsBackoffice.vue.js"
|
|
15
|
+
)
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
path: "create",
|
|
19
|
+
name: "CreateEvent",
|
|
20
|
+
meta: {
|
|
21
|
+
title: { en: "Create Event", ru: "Создать Событие" }
|
|
22
|
+
},
|
|
23
|
+
beforeEnter: [
|
|
24
|
+
requiresAuth,
|
|
25
|
+
(to, from, next) => {
|
|
26
|
+
if (isAdmin(state.access.roles) || hasAccess(to.params._id, "events", "create", state.accesses, state.access.roles)) {
|
|
27
|
+
next();
|
|
28
|
+
} else {
|
|
29
|
+
next("/401");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
component: () => import(
|
|
34
|
+
/* webpackChunkName: 'events-edit' */
|
|
35
|
+
"../components/pages/EditEvent.vue.js"
|
|
36
|
+
)
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
path: ":url",
|
|
40
|
+
name: "Event",
|
|
41
|
+
meta: {
|
|
42
|
+
title: { en: "Event", ru: "Событие" }
|
|
43
|
+
},
|
|
44
|
+
component: () => import(
|
|
45
|
+
/* webpackChunkName: 'events-detail' */
|
|
46
|
+
"../components/pages/Event.vue.js"
|
|
47
|
+
)
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
path: ":url/edit",
|
|
51
|
+
name: "EditEvent",
|
|
52
|
+
meta: {
|
|
53
|
+
title: { en: "Edit Event", ru: "Редактировать Событие" }
|
|
54
|
+
},
|
|
55
|
+
beforeEnter: [
|
|
56
|
+
requiresAuth,
|
|
57
|
+
(to, from, next) => {
|
|
58
|
+
if (isAdmin(state.access.roles) || hasAccess(to.params._id, "events", "edit", state.accesses, state.access.roles)) {
|
|
59
|
+
next();
|
|
60
|
+
} else {
|
|
61
|
+
next("/401");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
component: () => import(
|
|
66
|
+
/* webpackChunkName: 'events-edit' */
|
|
67
|
+
"../components/pages/EditEvent.vue.js"
|
|
68
|
+
)
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
path: ":url/edit/tickets",
|
|
72
|
+
name: "EditEventTickets",
|
|
73
|
+
meta: {
|
|
74
|
+
title: { en: "Event Tickets", ru: "Билеты События" }
|
|
75
|
+
},
|
|
76
|
+
beforeEnter: [
|
|
77
|
+
requiresAuth,
|
|
78
|
+
(to, from, next) => {
|
|
79
|
+
if (isAdmin(state.access.roles) || hasAccess(to.params._id, "events", "edit", state.accesses, state.access.roles)) {
|
|
80
|
+
next();
|
|
81
|
+
} else {
|
|
82
|
+
next("/401");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
component: () => import(
|
|
87
|
+
/* webpackChunkName: 'events-tickets' */
|
|
88
|
+
"../components/pages/EditEventTickets.vue.js"
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
export {
|
|
93
|
+
eventsOrganizationRoutes as default
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=events.organization.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.organization.router.js","sources":["../../../../../../src/modules/events/router/events.organization.router.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { hasAccess, isAdmin } = useGlobalMixins();\n\nconst eventsOrganizationRoutes = [\n {\n path: '',\n name: 'Events',\n meta: {\n title: { en: 'Events', ru: 'События' },\n },\n component: () => import(/* webpackChunkName: 'events-backoffice' */ '../components/pages/EventsBackoffice.vue'),\n },\n {\n path: 'create',\n name: 'CreateEvent',\n meta: {\n title: { en: 'Create Event', ru: 'Создать Событие' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles) || hasAccess(to.params._id, 'events', 'create', auth.state.accesses, auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-edit' */ '../components/pages/EditEvent.vue'),\n },\n {\n path: ':url',\n name: 'Event',\n meta: {\n title: { en: 'Event', ru: 'Событие' },\n },\n component: () => import(/* webpackChunkName: 'events-detail' */ '../components/pages/Event.vue'),\n },\n {\n path: ':url/edit',\n name: 'EditEvent',\n meta: {\n title: { en: 'Edit Event', ru: 'Редактировать Событие' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles) || hasAccess(to.params._id, 'events', 'edit', auth.state.accesses, auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-edit' */ '../components/pages/EditEvent.vue'),\n },\n {\n path: ':url/edit/tickets',\n name: 'EditEventTickets',\n meta: {\n title: { en: 'Event Tickets', ru: 'Билеты События' },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles) || hasAccess(to.params._id, 'events', 'edit', auth.state.accesses, auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'events-tickets' */ '../components/pages/EditEventTickets.vue'),\n },\n];\n\nexport default eventsOrganizationRoutes;\n"],"names":["validationAuth.requiresAuth","auth.state"],"mappings":";;;AAIA,MAAM,EAAE,WAAW,QAAO,IAAK,gBAAe;AAEzC,MAAC,2BAA2B;AAAA,EAC/B;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,UAAU,IAAI,UAAS;AAAA,IAC1C;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAAmD;AAAA,IAA0C;AAAA,EAClH;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,gBAAgB,IAAI,kBAAiB;AAAA,IACxD;AAAA,IACI,aAAa;AAAA,MACXA;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,KAAK,UAAU,GAAG,OAAO,KAAK,UAAU,UAAUA,MAAW,UAAUA,MAAW,OAAO,KAAK,GAAG;AAClI,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,SAAS,IAAI,UAAS;AAAA,IACzC;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA+C;AAAA,IAA+B;AAAA,EACnG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,cAAc,IAAI,wBAAuB;AAAA,IAC5D;AAAA,IACI,aAAa;AAAA,MACXD;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,KAAK,UAAU,GAAG,OAAO,KAAK,UAAU,QAAQA,MAAW,UAAUA,MAAW,OAAO,KAAK,GAAG;AAChI,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO,EAAE,IAAI,iBAAiB,IAAI,iBAAgB;AAAA,IACxD;AAAA,IACI,aAAa;AAAA,MACXD;AAAAA,MACA,CAAC,IAAI,MAAM,SAAS;AAClB,YAAI,QAAQC,MAAW,OAAO,KAAK,KAAK,UAAU,GAAG,OAAO,KAAK,UAAU,QAAQA,MAAW,UAAUA,MAAW,OAAO,KAAK,GAAG;AAChI,eAAI;AAAA,QACN,OAAO;AACL,eAAK,MAAM;AAAA,QACb;AAAA,MACF;AAAA,IACN;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAAgD;AAAA,IAA0C;AAAA,EAC/G;AACA;"}
|