@ozdao/martyrs 0.2.602 → 0.2.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +3 -3
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +41 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +11 -8
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +27 -17
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +18 -18
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +119 -60
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +76 -56
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +13 -7
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +6 -6
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es101.js +39 -0
- package/dist/martyrs.es102.js +31 -0
- package/dist/martyrs.es104.js +27 -0
- package/dist/martyrs.es105.js +8 -0
- package/dist/martyrs.es106.js +9 -0
- package/dist/martyrs.es107.js +79 -0
- package/dist/martyrs.es108.js +7 -0
- package/dist/martyrs.es109.js +121 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/martyrs.es112.js +4 -0
- package/dist/martyrs.es113.js +169 -0
- package/dist/martyrs.es114.js +460 -0
- package/dist/martyrs.es115.js +42 -0
- package/dist/martyrs.es116.js +12 -0
- package/dist/martyrs.es117.js +52 -0
- package/dist/martyrs.es118.js +14 -0
- package/dist/martyrs.es119.js +47 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +7 -0
- package/dist/martyrs.es121.js +131 -0
- package/dist/martyrs.es122.js +103 -0
- package/dist/martyrs.es123.js +89 -0
- package/dist/martyrs.es124.js +40 -0
- package/dist/martyrs.es125.js +14 -0
- package/dist/martyrs.es126.js +42 -0
- package/dist/martyrs.es127.js +11 -0
- package/dist/martyrs.es128.js +25 -0
- package/dist/martyrs.es129.js +7 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +10 -0
- package/dist/martyrs.es131.js +119 -0
- package/dist/martyrs.es132.js +20 -0
- package/dist/martyrs.es133.js +18 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +35 -0
- package/dist/martyrs.es136.js +12 -0
- package/dist/martyrs.es137.js +23 -0
- package/dist/martyrs.es138.js +12 -0
- package/dist/martyrs.es139.js +11 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +47 -0
- package/dist/martyrs.es141.js +483 -0
- package/dist/martyrs.es142.js +8 -0
- package/dist/martyrs.es143.js +4 -0
- package/dist/martyrs.es144.js +33 -0
- package/dist/martyrs.es145.js +14 -0
- package/dist/martyrs.es146.js +19 -0
- package/dist/martyrs.es147.js +22 -0
- package/dist/martyrs.es148.js +31 -0
- package/dist/martyrs.es149.js +23 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +35 -0
- package/dist/martyrs.es94.js +41 -0
- package/dist/martyrs.es95.js +59 -0
- package/dist/martyrs.es96.js +123 -0
- package/dist/martyrs.es97.js +43 -0
- package/dist/martyrs.es98.js +86 -0
- package/dist/martyrs.es99.js +33 -0
- package/dist/music.server.js +11 -11
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/dist/web-n_ivHO3v.js +0 -54
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationEdit.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationEdit.vue"],"sourcesContent":["<template>\n<div class=\"for-transition pd-thin\">\n \n <h3 class=\"mn-b-small\">Access & Privacy</h3>\n\n <div class=\"d-grid cols-1 tablet:cols-3 gap-regular mn-b-semi\">\n <button\n v-for=\"option in typeOptions\"\n :key=\"option.value\"\n @click=\"organization.state.current.types = [option.value]\"\n :class=\"[\n 'd-flex items-start gap-regular pd-regular radius-semi br-1px t-left transition-timing-2',\n isTypeSelected(option.value)\n ? 'br-main bg-main-transp-10'\n : 'br-light dark:br-dark-thin hover:br-grey bg-white dark:bg-dark'\n ]\"\n >\n <div :class=\"[\n 'pd-thin radius-[50%]',\n isTypeSelected(option.value)\n ? 'bg-main t-white'\n : 'bg-light dark:bg-dark-thin t-
|
|
1
|
+
{"version":3,"file":"OrganizationEdit.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationEdit.vue"],"sourcesContent":["<template>\n<div class=\"for-transition pd-thin\">\n \n <h3 class=\"mn-b-small\">Access & Privacy</h3>\n\n <div class=\"d-grid cols-1 tablet:cols-3 gap-regular mn-b-semi\">\n <button\n v-for=\"option in typeOptions\"\n :key=\"option.value\"\n @click=\"organization.state.current.types = [option.value]\"\n :class=\"[\n 'd-flex items-start gap-regular pd-regular radius-semi br-1px t-left transition-timing-2',\n isTypeSelected(option.value)\n ? 'br-main bg-main-transp-10'\n : 'br-light dark:br-dark-thin hover:br-grey bg-white dark:bg-dark'\n ]\"\n >\n <div :class=\"[\n 'pd-thin radius-[50%]',\n isTypeSelected(option.value)\n ? 'bg-main t-white'\n : 'bg-light dark:bg-dark-thin t-dark'\n ]\">\n <component :is=\"option.icon\" class=\"i-medium\" />\n </div>\n <div>\n <div class=\"fw-semi t-black dark:t-white d-flex items-center gap-thin\">\n {{ option.label }}\n <span v-if=\"isTypeSelected(option.value)\" class=\"w-[0.5rem] h-[0.5rem] radius-[50%] bg-main\"></span>\n </div>\n <p class=\"p-small t-dark dark:t-grey-thin mn-t-micro\">{{ option.desc }}</p>\n </div>\n </button>\n </div>\n\n\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"organization.state.current.profile.photo\"\n :uploadPath=\"'organizations/' + organization.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra\" \n />\n <h4>Upload photo</h4>\n </div>\n\n <Field \n v-model:field=\"organization.state.current.profile.name\" \n placeholder=\"Name of organization\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"organization.state.current.profile.description\" \n placeholder=\"Brief description of your group\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <BlockTags\n @tags-changed=\"newTags => organization.state.current.profile.tags = newTags\"\n :tags=\"organization.state.current.profile.tags\"\n class=\"mn-b-small\"\n />\n\n <h3 class=\"mn-b-small\">Contacts</h3>\n <Field \n v-model:field=\"organization.state.current.contacts.email\"\n label=\"Email\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.contacts.website\"\n label=\"Website\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.contacts.phone\"\n label=\"Phone\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.contacts.address\"\n label=\"Address\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"organization.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"organization.state.current.socials.youtube\"\n label=\"Youtube\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n \n \n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"bg-main w-100 mn-b-thin\">Save</Button>\n <!-- <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"mn-b-thin bg-fourth\">Delete</Button> -->\n\n</div>\n\n</template>\n\n<script setup>\n import { onMounted, computed } from 'vue';\n\n import { useRoute, useRouter } from 'vue-router';\n\n import { IconGroups, IconLock, IconShow } from '@martyrs/src/modules/icons/icons.client.js'\n import Breadcrumbs from '@martyrs/src/components/Breadcrumbs/Breadcrumbs.vue'\n import BlockTags from '@martyrs/src/components/FieldTags/BlockTags.vue'\n import Tab from '@martyrs/src/components/Tab/Tab.vue';\n import Field from '@martyrs/src/components/Field/Field.vue';\n import Select from '@martyrs/src/components/Select/Select.vue';\n import SelectMulti from '@martyrs/src/components/SelectMulti/SelectMulti.vue'\n import UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue';\n import Button from '@martyrs/src/components/Button/Button.vue';\n import Popup from '@martyrs/src/components/Popup/Popup.vue';\n\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n import * as organization from '@martyrs/src/modules/organizations/store/organizations.js';\n import membershipsStore from '@martyrs/src/modules/organizations/store/memberships.store.js';\n\n const route = useRoute()\n const router = useRouter()\n\n organization.actions.reset();\n\n const typeOptions = [\n { value: 'public', label: 'Public', icon: IconGroups, desc: 'Visible to everyone. Anyone can join.' },\n { value: 'exclusive', label: 'Exclusive', icon: IconLock, desc: 'Visible, but membership requires approval.' },\n { value: 'hidden', label: 'Hidden', icon: IconShow, desc: 'Invite only. Hidden from search.' }\n ];\n\n function isTypeSelected(type) {\n return organization.state.current.types?.includes(type);\n }\n\n onMounted(async()=>{\n if (route.params._id) {\n await organization.actions.read({ _id: route.params._id });\n } \n })\n \n const organizationData = computed(() => organization.state.current)\n\n async function onSubmit() {\n if (route.params._id) {\n await organization.actions.update(route.params._id, organizationData.value)\n } else {\n await organization.actions.create(organization.state.current, auth.state.user._id)\n }\n }\n\n const routePrefix = computed(() => {\n const ctx = route.meta.context\n if (ctx === 'user') return 'User'\n if (ctx === 'backoffice') return 'Backoffice'\n return ''\n })\n\n async function onDelete() {\n if (route.params._id) {\n await organization.actions.remove(route.params._id)\n router.push({ name: routePrefix.value + 'OrganizationProfile', params: { _id: route.params._id } })\n }\n }\n\n function redirectTo () {\n router.replace({ name: routePrefix.value + 'OrganizationProfile', params: { _id: organization.state.current._id } })\n }\n</script>"],"names":["organization.actions","IconGroups","IconLock","IconShow","organization.state","auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJE,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AAExBA,YAAqB,MAAK;AAE1B,UAAM,cAAc;AAAA,MAClB,EAAE,OAAO,UAAU,OAAO,UAAU,MAAMC,aAAY,MAAM,wCAAuC;AAAA,MACnG,EAAE,OAAO,aAAa,OAAO,aAAa,MAAMC,aAAU,MAAM,6CAA4C;AAAA,MAC5G,EAAE,OAAO,UAAU,OAAO,UAAU,MAAMC,aAAU,MAAM,mCAAkC;AAAA,IAChG;AAEE,aAAS,eAAe,MAAM;AAC5B,aAAOC,MAAmB,QAAQ,OAAO,SAAS,IAAI;AAAA,IACxD;AAEA,cAAU,YAAS;AACjB,UAAI,MAAM,OAAO,KAAK;AACpB,cAAMJ,QAAqB,KAAK,EAAE,KAAK,MAAM,OAAO,KAAK;AAAA,MAC3D;AAAA,IACF,CAAC;AAED,UAAM,mBAAmB,SAAS,MAAMI,MAAmB,OAAO;AAElE,mBAAe,WAAW;AACxB,UAAI,MAAM,OAAO,KAAK;AACpB,cAAMJ,QAAqB,OAAO,MAAM,OAAO,KAAK,iBAAiB,KAAK;AAAA,MAC5E,OAAO;AACL,cAAMA,QAAqB,OAAOI,MAAmB,SAASC,QAAW,KAAK,GAAG;AAAA,MACnF;AAAA,IACF;AAEA,UAAM,cAAc,SAAS,MAAM;AACjC,YAAM,MAAM,MAAM,KAAK;AACvB,UAAI,QAAQ,OAAQ,QAAO;AAC3B,UAAI,QAAQ,aAAc,QAAO;AACjC,aAAO;AAAA,IACT,CAAC;AASD,aAAS,aAAc;AACrB,aAAO,QAAQ,EAAE,MAAM,YAAY,QAAQ,uBAAuB,QAAQ,EAAE,KAAKD,MAAmB,QAAQ,IAAG,EAAE,CAAE;AAAA,IACrH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { ref, watch, createElementBlock, openBlock,
|
|
1
|
+
import { computed, ref, watch, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, unref, createVNode, Transition, withCtx, Fragment, renderList, isMemoSame } 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
|
import { state } from "../../../auth/views/store/auth.js";
|
|
6
6
|
import { actions } from "../../store/organizations.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import _sfc_main$3 from "../blocks/CardOrganization.vue.js";
|
|
9
|
-
const _hoisted_1 = {
|
|
10
|
-
|
|
11
|
-
class: "pd-small bg-white flex-v-center flex-nowrap flex"
|
|
12
|
-
};
|
|
13
|
-
const _hoisted_2 = { class: "pd-small h-100 bg-white" };
|
|
9
|
+
const _hoisted_1 = { class: "" };
|
|
10
|
+
const _hoisted_2 = { class: "pd-medium bg-white" };
|
|
14
11
|
const _sfc_main = {
|
|
15
12
|
__name: "Organizations",
|
|
16
13
|
setup(__props) {
|
|
17
14
|
const route = useRoute();
|
|
18
15
|
const router = useRouter();
|
|
16
|
+
computed(() => {
|
|
17
|
+
const ctx = route.meta.context;
|
|
18
|
+
if (ctx === "user") return "User";
|
|
19
|
+
if (ctx === "backoffice") return "Backoffice";
|
|
20
|
+
return "";
|
|
21
|
+
});
|
|
19
22
|
let tab = route.query.tab ? route.query.tab : "owner";
|
|
20
23
|
const tabOrganization = ref(tab);
|
|
21
24
|
route.query.tab = tabOrganization.value;
|
|
@@ -23,36 +26,27 @@ const _sfc_main = {
|
|
|
23
26
|
router.replace({ query: { ...route.query, tab: newValue } });
|
|
24
27
|
});
|
|
25
28
|
return (_ctx, _cache) => {
|
|
26
|
-
return openBlock(), createElementBlock("div",
|
|
27
|
-
!_ctx.MOBILE_APP ? (openBlock(),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})),
|
|
33
|
-
class: "bg-second radius-extra i-big hover:scale-[1.05] cursor-pointer t-white bg-second"
|
|
34
|
-
}, " + ")
|
|
35
|
-
])) : createCommentVNode("", true),
|
|
36
|
-
createVNode(_sfc_main$1, {
|
|
37
|
-
selected: tabOrganization.value,
|
|
38
|
-
"onUpdate:selected": _cache[1] || (_cache[1] = ($event) => tabOrganization.value = $event),
|
|
39
|
-
tabs: [
|
|
29
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
30
|
+
!_ctx.MOBILE_APP ? (openBlock(), createBlock(_sfc_main$1, {
|
|
31
|
+
key: 0,
|
|
32
|
+
title: "Groups",
|
|
33
|
+
actions: [{ method: () => _ctx.$router.push({ name: "CreateOrganization" }), label: "+", class: "radius-extra i-big hover:scale-[1.05] cursor-pointer t-white bg-second" }],
|
|
34
|
+
tabs: unref(route).meta.context !== "backoffice" ? [
|
|
40
35
|
{ name: "Owner", value: "owner" },
|
|
41
36
|
{ name: "Member", value: "member" },
|
|
42
37
|
{ name: "Follower", value: "follower" }
|
|
43
|
-
],
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, null, 8, ["
|
|
38
|
+
] : null,
|
|
39
|
+
tabs_current: tabOrganization.value,
|
|
40
|
+
"onUpdate:tabs_current": _cache[0] || (_cache[0] = ($event) => tabOrganization.value = $event),
|
|
41
|
+
class: "pd-medium pd-b-zero bg-white"
|
|
42
|
+
}, null, 8, ["actions", "tabs", "tabs_current"])) : createCommentVNode("", true),
|
|
48
43
|
createElementVNode("div", _hoisted_2, [
|
|
49
44
|
createVNode(Transition, { name: "slide-fade" }, {
|
|
50
45
|
default: withCtx(() => [
|
|
51
46
|
createVNode(_sfc_main$2, {
|
|
52
47
|
showLoadMore: false,
|
|
53
48
|
search: {
|
|
54
|
-
placeholder: "Search organization..."
|
|
55
|
-
class: "mn-b-small"
|
|
49
|
+
placeholder: "Search organization..."
|
|
56
50
|
},
|
|
57
51
|
states: {
|
|
58
52
|
empty: {
|
|
@@ -64,7 +58,7 @@ const _sfc_main = {
|
|
|
64
58
|
read: (options) => actions.read(options),
|
|
65
59
|
state: null
|
|
66
60
|
},
|
|
67
|
-
options: {
|
|
61
|
+
options: unref(route).meta.context === "backoffice" ? { limit: 15, lookup: ["memberships"] } : {
|
|
68
62
|
user: state.user._id,
|
|
69
63
|
[tabOrganization.value === "owner" ? "owner" : tabOrganization.value === "member" ? "member" : "subscriber"]: unref(route).params._id,
|
|
70
64
|
lookup: ["memberships"]
|
|
@@ -86,7 +80,7 @@ const _sfc_main = {
|
|
|
86
80
|
}, null, 8, ["organization"]));
|
|
87
81
|
_item.memo = _memo;
|
|
88
82
|
return _item;
|
|
89
|
-
}, _cache,
|
|
83
|
+
}, _cache, 1), 256))
|
|
90
84
|
]),
|
|
91
85
|
_: 1
|
|
92
86
|
}, 8, ["store", "options"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div>\n\t\t<
|
|
1
|
+
{"version":3,"file":"Organizations.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/Organizations.vue"],"sourcesContent":["<template>\n\t<div class=\"\">\n\t\t<SectionPageTitle\n\t\t\tv-if=\"!MOBILE_APP\"\n\t\t\ttitle=\"Groups\"\n\t\t\t:actions=\"[{ method: () => $router.push({ name: 'CreateOrganization' }), label: '+', class: 'radius-extra i-big hover:scale-[1.05] cursor-pointer t-white bg-second' }]\"\n\t\t\t:tabs=\"route.meta.context !== 'backoffice'\n\t\t\t\t? [\n\t\t\t\t\t{ name: 'Owner', value: 'owner' },\n\t\t\t\t\t{ name: 'Member', value: 'member' },\n\t\t\t\t\t{ name: 'Follower', value: 'follower' },\n\t\t\t\t]\n\t\t\t\t: null\"\n\t\t\t:tabs_current=\"tabOrganization\"\n\t\t\t@update:tabs_current=\"tabOrganization = $event\"\n\t\t\tclass=\"pd-medium pd-b-zero bg-white\"\n\t\t/>\n\t\t\t<div class=\"pd-medium bg-white\">\n\t\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t\t<Feed\n\t\t :showLoadMore=\"false\" \n\t\t :search=\"{\n\t\t placeholder: 'Search organization...',\n\t\t }\"\n\t\t :states=\"{\n\t\t empty: {\n\t\t title: 'No organizations Found',\n\t\t description: 'Currently, there are no such organizations available.'\n\t\t }\n\t\t }\"\n\t\t :store=\"{\n\t\t read: (options) => organizations.actions.read(options),\n\t\t state: null\n\t\t }\"\n\t\t :options=\"route.meta.context === 'backoffice'\n\t\t ? { limit: 15, lookup: ['memberships'] }\n\t\t : {\n\t\t user: auth.state.user._id,\n\t\t [tabOrganization === 'owner' ? 'owner' :\n\t\t tabOrganization === 'member' ? 'member' : 'subscriber']: route.params._id,\n\t\t lookup: ['memberships']\n\t\t }\"\n\t\t v-slot=\"{ \n\t\t items \n\t\t }\"\n\t\t style=\"height: 200rem\"\n\t\t >\n\t\t \t<CardOrganization \n\t\t\t\t\t \tv-for=\"(organization, index) in items\" \n\t\t v-memo=\"[organization._id, organization.profile.name]\"\n\t\t\t\t\t :organization=\"organization\"\n\t\t\t\t\t :showRating=\"true\"\n\t\t\t\t\t :showFollowers=\"true\"\n\t\t\t\t\t :showProducts=\"false\"\n\t\t\t\t\t class=\"bg-light mn-b-thin w-100 o-hidden radius-medium pd-medium\"\n\t\t\t\t\t />\n\t\t </Feed>\n\t\t\t</transition>\n\t\t</div>\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\timport Feed from '@martyrs/src/components/Feed/Feed.vue'\n\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\timport * as organizations from '@martyrs/src/modules/organizations/store/organizations.js';\n\n\timport Card from '@martyrs/src/modules/core/views/components/blocks/Card.vue';\n\timport CardOrganization from '@martyrs/src/modules/organizations/components/blocks/CardOrganization.vue'\n\n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\tconst routePrefix = computed(() => {\n\t\tconst ctx = route.meta.context\n\t\tif (ctx === 'user') return 'User'\n\t\tif (ctx === 'backoffice') return 'Backoffice'\n\t\treturn ''\n\t})\n\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;AA4EC,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AACJ,aAAS,MAAM;AAClC,YAAM,MAAM,MAAM,KAAK;AACvB,UAAI,QAAQ,OAAQ,QAAO;AAC3B,UAAI,QAAQ,aAAc,QAAO;AACjC,aAAO;AAAA,IACR,CAAC;AAGD,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAQ,GAAI;AAAA,IAC7D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,9 +2,9 @@ import { ref, watchEffect, resolveComponent, createElementBlock, openBlock, crea
|
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
/* empty css
|
|
6
|
-
/* empty css */
|
|
5
|
+
/* empty css */
|
|
7
6
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
/* empty css */
|
|
8
8
|
const _hoisted_1 = { class: "documents" };
|
|
9
9
|
const _hoisted_2 = { class: "mn-b-big cols-4 mobile:cols-2" };
|
|
10
10
|
const _hoisted_3 = ["onClick"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, resolveDirective, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withDirectives, createCommentVNode, isRef, unref, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
4
|
+
import Button from "../../../../components/Button/Button.vue2.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../../core/views/components/blocks/BlockSearch.vue.js";
|
|
7
7
|
import _sfc_main$3 from "../../../auth/views/components/blocks/CardUser.vue.js";
|
|
@@ -129,7 +129,7 @@ const _sfc_main = {
|
|
|
129
129
|
]);
|
|
130
130
|
}), 128))
|
|
131
131
|
]),
|
|
132
|
-
createVNode(
|
|
132
|
+
createVNode(Button, {
|
|
133
133
|
submit: submitMembers,
|
|
134
134
|
class: "w-100 bg-main"
|
|
135
135
|
}, {
|
|
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-coo
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
-
/* empty css
|
|
7
|
+
/* empty css */
|
|
8
8
|
import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
|
|
9
9
|
import _sfc_main$1 from "../blocks/EmptyState.vue.js";
|
|
10
10
|
import "./Unit.vue.js";
|
|
@@ -3,7 +3,9 @@ import invitesStore from "./store/invites.store.js";
|
|
|
3
3
|
import membershipsStore from "./store/memberships.store.js";
|
|
4
4
|
import * as organizations from "./store/organizations.js";
|
|
5
5
|
import addRoutes from "../core/views/router/addRoutes.js";
|
|
6
|
-
import
|
|
6
|
+
import organizationRoutes from "./router/organizations.router.js";
|
|
7
|
+
import organizationUserRoutes from "./router/organizations.user.router.js";
|
|
8
|
+
import organizationBackofficeRoutes from "./router/organizations.backoffice.router.js";
|
|
7
9
|
import { default as default2 } from "./components/pages/Department.vue.js";
|
|
8
10
|
import { default as default3 } from "./components/pages/Members.vue.js";
|
|
9
11
|
import { default as default4 } from "./components/pages/Organization.vue.js";
|
|
@@ -34,9 +36,42 @@ performance.mark("loading-35-router-end");
|
|
|
34
36
|
const routerTime = performance.measure("loading-35-router", "loading-35-stores-end", "loading-35-router-end");
|
|
35
37
|
console.log(`[LOADING 35] Router imports completed in ${routerTime.duration.toFixed(2)}ms`);
|
|
36
38
|
function initializeOrganization(app, store, router, options = {}) {
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
const route = options.route || "Home";
|
|
40
|
+
const routeUser = options.routeUser || "User Profile Root";
|
|
41
|
+
const routeBackoffice = options.routeBackoffice || "Backoffice Root";
|
|
42
|
+
addRoutes(router, {
|
|
43
|
+
parentName: route,
|
|
44
|
+
basePath: "organizations",
|
|
45
|
+
routes: organizationRoutes,
|
|
46
|
+
routeNamePrefix: "",
|
|
47
|
+
meta: {
|
|
48
|
+
context: "root",
|
|
49
|
+
title: {
|
|
50
|
+
en: "Organizations",
|
|
51
|
+
ru: "Организации"
|
|
52
|
+
},
|
|
53
|
+
breadcrumbs: {
|
|
54
|
+
hidden: true
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
addRoutes(router, {
|
|
59
|
+
parentName: routeUser,
|
|
60
|
+
basePath: "organizations",
|
|
61
|
+
routes: organizationUserRoutes,
|
|
62
|
+
routeNamePrefix: "User",
|
|
63
|
+
meta: {
|
|
64
|
+
context: "user"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
addRoutes(router, {
|
|
68
|
+
parentName: routeBackoffice,
|
|
69
|
+
basePath: "organizations",
|
|
70
|
+
routes: organizationBackofficeRoutes,
|
|
71
|
+
routeNamePrefix: "Backoffice",
|
|
72
|
+
meta: {
|
|
73
|
+
context: "backoffice"
|
|
74
|
+
}
|
|
40
75
|
});
|
|
41
76
|
store.addStore("organizations", organizations);
|
|
42
77
|
}
|
|
@@ -50,7 +85,9 @@ const ModuleOrganization = {
|
|
|
50
85
|
storeOrganizations: organizations
|
|
51
86
|
},
|
|
52
87
|
router: {
|
|
53
|
-
|
|
88
|
+
routerRoot: organizationRoutes,
|
|
89
|
+
routerUser: organizationUserRoutes,
|
|
90
|
+
routerBackoffice: organizationBackofficeRoutes
|
|
54
91
|
}
|
|
55
92
|
}
|
|
56
93
|
};
|
|
@@ -82,7 +119,6 @@ export {
|
|
|
82
119
|
default17 as Unit,
|
|
83
120
|
ModuleOrganization as default,
|
|
84
121
|
departmentsStore,
|
|
85
|
-
getRoutes,
|
|
86
122
|
initializeOrganization as initialize,
|
|
87
123
|
invitesStore,
|
|
88
124
|
membershipsStore,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.client.js","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// [LOADING 35] Organizations module import started\nperformance.mark('loading-35-start');\nconsole.log('[LOADING 35] Organizations module import started...');\n\n// Functional imports (needed for initialize function)\nimport departmentsStore from './store/departments.store.js';\nimport invitesStore from './store/invites.store.js';\nimport membershipsStore from './store/memberships.store.js';\nimport * as storeOrganizations from './store/organizations.js';\n\nperformance.mark('loading-35-stores-end');\nconst storesTime = performance.measure('loading-35-stores', 'loading-35-start', 'loading-35-stores-end');\nconsole.log(`[LOADING 35] Store imports completed in ${storesTime.duration.toFixed(2)}ms`);\n\n// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport
|
|
1
|
+
{"version":3,"file":"organizations.client.js","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// [LOADING 35] Organizations module import started\nperformance.mark('loading-35-start');\nconsole.log('[LOADING 35] Organizations module import started...');\n\n// Functional imports (needed for initialize function)\nimport departmentsStore from './store/departments.store.js';\nimport invitesStore from './store/invites.store.js';\nimport membershipsStore from './store/memberships.store.js';\nimport * as storeOrganizations from './store/organizations.js';\n\nperformance.mark('loading-35-stores-end');\nconst storesTime = performance.measure('loading-35-stores', 'loading-35-start', 'loading-35-stores-end');\nconsole.log(`[LOADING 35] Store imports completed in ${storesTime.duration.toFixed(2)}ms`);\n\n// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport routerRoot from './router/organizations.router.js';\nimport routerUser from './router/organizations.user.router.js';\nimport routerBackoffice from './router/organizations.backoffice.router.js';\n\nperformance.mark('loading-35-router-end');\nconst routerTime = performance.measure('loading-35-router', 'loading-35-stores-end', 'loading-35-router-end');\nconsole.log(`[LOADING 35] Router imports completed in ${routerTime.duration.toFixed(2)}ms`);\n\n// Component re-exports (enables tree shaking)\n// Pages\nexport { default as Department } from './components/pages/Department.vue';\nexport { default as Members } from './components/pages/Members.vue';\nexport { default as Organization } from './components/pages/Organization.vue';\nexport { default as OrganizationEdit } from './components/pages/OrganizationEdit.vue';\nexport { default as Organizations } from './components/pages/Organizations.vue';\n\n// Forms\nexport { default as DepartmentForm } from './components/forms/DepartmentForm.vue';\nexport { default as InviteForm } from './components/forms/InviteForm.vue';\nexport { default as AddExistingMembersForm } from './components/forms/AddExistingMembersForm.vue';\n\n// Blocks\nexport { default as CardDepartment } from './components/blocks/CardDepartment.vue';\nexport { default as CardOrganization } from './components/blocks/CardOrganization.vue';\nexport { default as Contacts } from './components/blocks/Contacts.vue';\nexport { default as DepartmentSub } from './components/blocks/DepartmentSub.vue';\nexport { default as EmptyState } from './components/blocks/EmptyState.vue';\nexport { default as Rating } from './components/blocks/Rating.vue';\nexport { default as Socials } from './components/blocks/Socials.vue';\nexport { default as Unit } from './components/blocks/Unit.vue';\n\n// Sections\nexport { default as Documents } from './components/sections/Documents.vue';\nexport { default as MembersAdd } from './components/sections/MembersAdd.vue';\nexport { default as OrganizationsSection } from './components/sections/Organizations.vue';\nexport { default as Publics } from './components/sections/Publics.vue';\n\n// Elements\nexport { default as ButtonToggleMembership } from './components/elements/ButtonToggleMembership.vue';\n\nfunction initializeOrganization(app, store, router, options = {}) {\n const route = options.route || 'Home';\n const routeUser = options.routeUser || 'User Profile Root';\n const routeBackoffice = options.routeBackoffice || 'Backoffice Root';\n\n // Root context: /organizations/*\n addRoutes(router, {\n parentName: route,\n basePath: 'organizations',\n routes: routerRoot,\n routeNamePrefix: '',\n meta: {\n context: 'root',\n title: {\n en: 'Organizations',\n ru: 'Организации',\n },\n breadcrumbs: {\n hidden: true,\n },\n },\n });\n\n // User context: /users/:_id/organizations/*\n addRoutes(router, {\n parentName: routeUser,\n basePath: 'organizations',\n routes: routerUser,\n routeNamePrefix: 'User',\n meta: {\n context: 'user',\n },\n });\n\n // Backoffice context: /backoffice/organizations/*\n addRoutes(router, {\n parentName: routeBackoffice,\n basePath: 'organizations',\n routes: routerBackoffice,\n routeNamePrefix: 'Backoffice',\n meta: {\n context: 'backoffice',\n },\n });\n\n store.addStore('organizations', storeOrganizations);\n}\n\n// Functional exports\nexport {\n departmentsStore,\n invitesStore,\n membershipsStore,\n storeOrganizations,\n initializeOrganization as initialize,\n};\n\nconst ModuleOrganization = {\n initialize: initializeOrganization,\n views: {\n store: {\n departmentsStore,\n invitesStore,\n membershipsStore,\n storeOrganizations,\n },\n router: {\n routerRoot,\n routerUser,\n routerBackoffice,\n },\n },\n};\n\n// [LOADING 35] Organizations module import completed\nperformance.mark('loading-35-end');\nperformance.measure('loading-35-total', 'loading-35-start', 'loading-35-end');\nconst totalTime = performance.getEntriesByName('loading-35-total')[0];\nconsole.log(`[LOADING 35] Organizations module fully imported in ${totalTime?.duration?.toFixed(2)}ms`);\n\nexport default ModuleOrganization;\n"],"names":["routerRoot","routerUser","routerBackoffice","storeOrganizations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,YAAY,KAAK,kBAAkB;AACnC,QAAQ,IAAI,qDAAqD;AAQjE,YAAY,KAAK,uBAAuB;AACxC,MAAM,aAAa,YAAY,QAAQ,qBAAqB,oBAAoB,uBAAuB;AACvG,QAAQ,IAAI,2CAA2C,WAAW,SAAS,QAAQ,CAAC,CAAC,IAAI;AAQzF,YAAY,KAAK,uBAAuB;AACxC,MAAM,aAAa,YAAY,QAAQ,qBAAqB,yBAAyB,uBAAuB;AAC5G,QAAQ,IAAI,4CAA4C,WAAW,SAAS,QAAQ,CAAC,CAAC,IAAI;AAkC1F,SAAS,uBAAuB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAChE,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,YAAY,QAAQ,aAAa;AACvC,QAAM,kBAAkB,QAAQ,mBAAmB;AAGnD,YAAU,QAAQ;AAAA,IAChB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,QAAQA;AAAAA,IACR,iBAAiB;AAAA,IACjB,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACZ;AAAA,MACM,aAAa;AAAA,QACX,QAAQ;AAAA,MAChB;AAAA,IACA;AAAA,EACA,CAAG;AAGD,YAAU,QAAQ;AAAA,IAChB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,QAAQC;AAAAA,IACR,iBAAiB;AAAA,IACjB,MAAM;AAAA,MACJ,SAAS;AAAA,IACf;AAAA,EACA,CAAG;AAGD,YAAU,QAAQ;AAAA,IAChB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,QAAQC;AAAAA,IACR,iBAAiB;AAAA,IACjB,MAAM;AAAA,MACJ,SAAS;AAAA,IACf;AAAA,EACA,CAAG;AAED,QAAM,SAAS,iBAAiBC,aAAkB;AACpD;AAWK,MAAC,qBAAqB;AAAA,EACzB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACN,oBAAMA;AAAAA,IACN;AAAA,IACI,QAAQ;AAAA,MACZ,YAAMH;AAAAA,MACN,YAAMC;AAAAA,MACN,kBAAMC;AAAAA,IACN;AAAA,EACA;AACA;AAGA,YAAY,KAAK,gBAAgB;AACjC,YAAY,QAAQ,oBAAoB,oBAAoB,gBAAgB;AAC5E,MAAM,YAAY,YAAY,iBAAiB,kBAAkB,EAAE,CAAC;AACpE,QAAQ,IAAI,uDAAuD,WAAW,UAAU,QAAQ,CAAC,CAAC,IAAI;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const organizationBackofficeRoutes = [
|
|
2
|
+
{
|
|
3
|
+
path: "",
|
|
4
|
+
name: "OrganizationsList",
|
|
5
|
+
meta: {
|
|
6
|
+
title: {
|
|
7
|
+
en: "Organizations",
|
|
8
|
+
ru: "Организации"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
component: () => import(
|
|
12
|
+
/* webpackChunkName: "organizations" */
|
|
13
|
+
"../components/pages/Organizations.vue.js"
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
export {
|
|
18
|
+
organizationBackofficeRoutes as default
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=organizations.backoffice.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.backoffice.router.js","sources":["../../../../../../src/modules/organizations/router/organizations.backoffice.router.js"],"sourcesContent":["const organizationBackofficeRoutes = [\n {\n path: '',\n name: 'OrganizationsList',\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации',\n },\n },\n component: () => import(/* webpackChunkName: \"organizations\" */ '@martyrs/src/modules/organizations/components/pages/Organizations.vue'),\n },\n];\n\nexport default organizationBackofficeRoutes;\n"],"names":[],"mappings":"AAAK,MAAC,+BAA+B;AAAA,EACnC;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACZ;AAAA,IACA;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA+C;AAAA,IAAuE;AAAA,EAC3I;AACA;"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { requiresAuth } from "../../auth/views/middlewares/auth.validation.js";
|
|
2
|
+
import { navigationItems } from "../configs/navigation.organization.config.js";
|
|
3
|
+
const organizationRoutes = [
|
|
4
|
+
{
|
|
5
|
+
path: "create",
|
|
6
|
+
name: "CreateOrganization",
|
|
7
|
+
meta: {
|
|
8
|
+
title: {
|
|
9
|
+
en: "Create Organization",
|
|
10
|
+
ru: "Создать Организацию"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
beforeEnter: [requiresAuth],
|
|
14
|
+
component: () => import(
|
|
15
|
+
/* webpackChunkName: "organization-edit" */
|
|
16
|
+
"../components/pages/OrganizationEdit.vue.js"
|
|
17
|
+
)
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
path: ":_id",
|
|
21
|
+
name: "OrganizationRoot",
|
|
22
|
+
meta: {
|
|
23
|
+
title: {
|
|
24
|
+
en: "Group",
|
|
25
|
+
ru: "Группа"
|
|
26
|
+
},
|
|
27
|
+
sidebar_navigation_items: navigationItems
|
|
28
|
+
},
|
|
29
|
+
children: [
|
|
30
|
+
{
|
|
31
|
+
path: "",
|
|
32
|
+
name: "OrganizationProfile",
|
|
33
|
+
meta: {
|
|
34
|
+
title: {
|
|
35
|
+
en: "Group",
|
|
36
|
+
ru: "Группа"
|
|
37
|
+
},
|
|
38
|
+
breadcrumbs: {
|
|
39
|
+
hidden: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
component: () => import(
|
|
43
|
+
/* webpackChunkName: "organization" */
|
|
44
|
+
"../components/pages/Organization.vue.js"
|
|
45
|
+
)
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
path: "members",
|
|
49
|
+
name: "OrganizationMembers",
|
|
50
|
+
meta: {
|
|
51
|
+
title: {
|
|
52
|
+
en: "Members",
|
|
53
|
+
ru: "Участники"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
component: () => import(
|
|
57
|
+
/* webpackChunkName: "organization-members" */
|
|
58
|
+
"../components/pages/Members.vue.js"
|
|
59
|
+
)
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
path: "members/invite",
|
|
63
|
+
name: "OrganizationInvite",
|
|
64
|
+
component: () => import(
|
|
65
|
+
/* webpackChunkName: "organization-members-add" */
|
|
66
|
+
"../components/sections/MembersAdd.vue.js"
|
|
67
|
+
)
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
path: "departments/:department",
|
|
71
|
+
name: "OrganizationDepartment",
|
|
72
|
+
meta: {
|
|
73
|
+
title: "Отдел"
|
|
74
|
+
},
|
|
75
|
+
beforeEnter: [requiresAuth],
|
|
76
|
+
component: () => import(
|
|
77
|
+
/* webpackChunkName: "organization-department" */
|
|
78
|
+
"../components/pages/Department.vue.js"
|
|
79
|
+
)
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
path: "edit",
|
|
83
|
+
name: "OrganizationEdit",
|
|
84
|
+
meta: {
|
|
85
|
+
title: {
|
|
86
|
+
en: "Edit Organization",
|
|
87
|
+
ru: "Редактировать Организацию"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
beforeEnter: [requiresAuth],
|
|
91
|
+
component: () => import(
|
|
92
|
+
/* webpackChunkName: "organization-edit" */
|
|
93
|
+
"../components/pages/OrganizationEdit.vue.js"
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
];
|
|
99
|
+
export {
|
|
100
|
+
organizationRoutes as default
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=organizations.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.router.js","sources":["../../../../../../src/modules/organizations/router/organizations.router.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport { navigationItems } from '@martyrs/src/modules/organizations/configs/navigation.organization.config.js';\n\nconst organizationRoutes = [\n {\n path: 'create',\n name: 'CreateOrganization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию',\n },\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import(/* webpackChunkName: \"organization-edit\" */ '@martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n },\n {\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа',\n },\n sidebar_navigation_items: navigationItems,\n },\n children: [\n {\n path: '',\n name: 'OrganizationProfile',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа',\n },\n breadcrumbs: {\n hidden: true,\n },\n },\n component: () => import(/* webpackChunkName: \"organization\" */ '@martyrs/src/modules/organizations/components/pages/Organization.vue'),\n },\n {\n path: 'members',\n name: 'OrganizationMembers',\n meta: {\n title: {\n en: 'Members',\n ru: 'Участники',\n },\n },\n component: () => import(/* webpackChunkName: \"organization-members\" */ '@martyrs/src/modules/organizations/components/pages/Members.vue'),\n },\n {\n path: 'members/invite',\n name: 'OrganizationInvite',\n component: () => import(/* webpackChunkName: \"organization-members-add\" */ '@martyrs/src/modules/organizations/components/sections/MembersAdd.vue'),\n },\n {\n path: 'departments/:department',\n name: 'OrganizationDepartment',\n meta: {\n title: 'Отдел',\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import(/* webpackChunkName: \"organization-department\" */ '@martyrs/src/modules/organizations/components/pages/Department.vue'),\n },\n {\n path: 'edit',\n name: 'OrganizationEdit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию',\n },\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import(/* webpackChunkName: \"organization-edit\" */ '@martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n },\n ],\n },\n];\n\nexport default organizationRoutes;\n"],"names":["validationAuth.requiresAuth"],"mappings":";;AAGK,MAAC,qBAAqB;AAAA,EACzB;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACZ;AAAA,IACA;AAAA,IACI,aAAa,CAACA,YAA2B;AAAA,IACzC,WAAW,MAAM;AAAA;AAAA,MAAmD;AAAA,IAA0E;AAAA,EAClJ;AAAA,EACE;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACZ;AAAA,MACM,0BAA0B;AAAA,IAChC;AAAA,IACI,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,aAAa;AAAA,YACX,QAAQ;AAAA,UACpB;AAAA,QACA;AAAA,QACQ,WAAW,MAAM;AAAA;AAAA,UAA8C;AAAA,QAAsE;AAAA,MAC7I;AAAA,MACM;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,QACA;AAAA,QACQ,WAAW,MAAM;AAAA;AAAA,UAAsD;AAAA,QAAiE;AAAA,MAChJ;AAAA,MACM;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,MAAM;AAAA;AAAA,UAA0D;AAAA,QAAuE;AAAA,MAC1J;AAAA,MACM;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,QACjB;AAAA,QACQ,aAAa,CAACA,YAA2B;AAAA,QACzC,WAAW,MAAM;AAAA;AAAA,UAAyD;AAAA,QAAoE;AAAA,MACtJ;AAAA,MACM;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,QACA;AAAA,QACQ,aAAa,CAACA,YAA2B;AAAA,QACzC,WAAW,MAAM;AAAA;AAAA,UAAmD;AAAA,QAA0E;AAAA,MACtJ;AAAA,IACA;AAAA,EACA;AACA;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const organizationUserRoutes = [
|
|
2
|
+
{
|
|
3
|
+
path: "",
|
|
4
|
+
name: "OrganizationsList",
|
|
5
|
+
meta: {
|
|
6
|
+
title: {
|
|
7
|
+
en: "Groups",
|
|
8
|
+
ru: "Группы"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
component: () => import(
|
|
12
|
+
/* webpackChunkName: "organizations" */
|
|
13
|
+
"../components/pages/Organizations.vue.js"
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
export {
|
|
18
|
+
organizationUserRoutes as default
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=organizations.user.router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.user.router.js","sources":["../../../../../../src/modules/organizations/router/organizations.user.router.js"],"sourcesContent":["const organizationUserRoutes = [\n {\n path: '',\n name: 'OrganizationsList',\n meta: {\n title: {\n en: 'Groups',\n ru: 'Группы',\n },\n },\n component: () => import(/* webpackChunkName: \"organizations\" */ '@martyrs/src/modules/organizations/components/pages/Organizations.vue'),\n },\n];\n\nexport default organizationUserRoutes;\n"],"names":[],"mappings":"AAAK,MAAC,yBAAyB;AAAA,EAC7B;AAAA,IACE,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACZ;AAAA,IACA;AAAA,IACI,WAAW,MAAM;AAAA;AAAA,MAA+C;AAAA,IAAuE;AAAA,EAC3I;AACA;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pages from "./views/store/pages.js";
|
|
2
2
|
import addRoutes from "../core/views/router/addRoutes.js";
|
|
3
|
-
import { getRoutes } from "./pages.router.js";
|
|
3
|
+
import { getRoutes } from "./views/router/pages.router.js";
|
|
4
4
|
import _sfc_main$1 from "./views/components/pages/Page.vue.js";
|
|
5
5
|
import _sfc_main from "./views/components/pages/PageEdit.vue.js";
|
|
6
6
|
import _sfc_main$2 from "./views/components/pages/Pages.vue.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.client.js","sources":["../../../../../src/modules/pages/pages.client.js"],"sourcesContent":["// Store\nimport * as storePages from './views/store/pages.js';\n// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport { getRoutes } from './pages.router.js';\n// Views\nimport Page from './views/components/pages/Page.vue';\nimport PageEdit from './views/components/pages/PageEdit.vue';\nimport Pages from './views/components/pages/Pages.vue';\n\n// Пример функции инициализации для модуля страниц\nfunction initializePages(app, store, router, options = {}) {\n const routes = getRoutes(options);\n routes.forEach(({ parentName, config }) => {\n addRoutes(router, { ...config, parentName });\n });\n\n store.addStore('pages', storePages);\n}\n\nconst ModulePages = {\n initialize: initializePages,\n views: {\n store: {\n storePages,\n },\n router: {\n getRoutes,\n },\n components: {\n // Pages\n Pages,\n Page,\n PageEdit,\n },\n },\n};\n\nexport default ModulePages;\n"],"names":["storePages","Pages","Page","PageEdit"],"mappings":";;;;;;AAWA,SAAS,gBAAgB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AACzD,QAAM,SAAS,UAAU,OAAO;AAChC,SAAO,QAAQ,CAAC,EAAE,YAAY,OAAM,MAAO;AACzC,cAAU,QAAQ,EAAE,GAAG,QAAQ,WAAU,CAAE;AAAA,EAC7C,CAAC;AAED,QAAM,SAAS,SAASA,KAAU;AACpC;AAEK,MAAC,cAAc;AAAA,EAClB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,YAAMA;AAAAA,IACN;AAAA,IACI,QAAQ;AAAA,MACN;AAAA,IACN;AAAA,IACI,YAAY;AAAA;AAAA,MAEhB,OAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,UAAMC;AAAAA,IACN;AAAA,EACA;AACA;"}
|
|
1
|
+
{"version":3,"file":"pages.client.js","sources":["../../../../../src/modules/pages/pages.client.js"],"sourcesContent":["// Store\nimport * as storePages from './views/store/pages.js';\n// Router\nimport addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\nimport { getRoutes } from './views/router/pages.router.js';\n// Views\nimport Page from './views/components/pages/Page.vue';\nimport PageEdit from './views/components/pages/PageEdit.vue';\nimport Pages from './views/components/pages/Pages.vue';\n\n// Пример функции инициализации для модуля страниц\nfunction initializePages(app, store, router, options = {}) {\n const routes = getRoutes(options);\n routes.forEach(({ parentName, config }) => {\n addRoutes(router, { ...config, parentName });\n });\n\n store.addStore('pages', storePages);\n}\n\nconst ModulePages = {\n initialize: initializePages,\n views: {\n store: {\n storePages,\n },\n router: {\n getRoutes,\n },\n components: {\n // Pages\n Pages,\n Page,\n PageEdit,\n },\n },\n};\n\nexport default ModulePages;\n"],"names":["storePages","Pages","Page","PageEdit"],"mappings":";;;;;;AAWA,SAAS,gBAAgB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AACzD,QAAM,SAAS,UAAU,OAAO;AAChC,SAAO,QAAQ,CAAC,EAAE,YAAY,OAAM,MAAO;AACzC,cAAU,QAAQ,EAAE,GAAG,QAAQ,WAAU,CAAE;AAAA,EAC7C,CAAC;AAED,QAAM,SAAS,SAASA,KAAU;AACpC;AAEK,MAAC,cAAc;AAAA,EAClB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,YAAMA;AAAAA,IACN;AAAA,IACI,QAAQ;AAAA,MACN;AAAA,IACN;AAAA,IACI,YAAY;AAAA;AAAA,MAEhB,OAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,UAAMC;AAAAA,IACN;AAAA,EACA;AACA;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString, Fragment, renderList } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../../icons/navigation/IconEdit.vue.js";
|
|
3
3
|
import _sfc_main$2 from "../../../../icons/navigation/IconAdd.vue.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { useRouter } from "vue-router";
|
|
7
7
|
/* empty css */
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, createElementBlock, createCommentVNode, openBlock, crea
|
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
|
|
4
4
|
import { actions, state } from "../../store/pages.js";
|
|
5
|
-
import
|
|
5
|
+
import Button from "../../../../../components/Button/Button.vue2.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
@@ -81,7 +81,7 @@ const _sfc_main = {
|
|
|
81
81
|
])) : createCommentVNode("", true),
|
|
82
82
|
page.value ? (openBlock(), createElementBlock("section", _hoisted_3, [
|
|
83
83
|
createElementVNode("div", _hoisted_4, [
|
|
84
|
-
unref(route).params.url ? (openBlock(), createBlock(
|
|
84
|
+
unref(route).params.url ? (openBlock(), createBlock(Button, {
|
|
85
85
|
key: 0,
|
|
86
86
|
submit: () => onDelete(),
|
|
87
87
|
callback: () => deletePageCallback(),
|
|
@@ -92,7 +92,7 @@ const _sfc_main = {
|
|
|
92
92
|
])),
|
|
93
93
|
_: 1
|
|
94
94
|
}, 8, ["submit", "callback"])) : createCommentVNode("", true),
|
|
95
|
-
createVNode(
|
|
95
|
+
createVNode(Button, {
|
|
96
96
|
submit: () => onSubmit(),
|
|
97
97
|
class: "mn-l-auto ws-nowrap t-white bg-black w-max"
|
|
98
98
|
}, {
|
|
@@ -2,7 +2,7 @@ import { computed, ref, onMounted, createBlock, createCommentVNode, openBlock, w
|
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import Button from "../../../../../components/Button/Button.vue2.js";
|
|
6
6
|
import _sfc_main$4 from "../../../../constructor/components/sections/Constructor.vue.js";
|
|
7
7
|
import _sfc_main$2 from "../blocks/CardPage.vue.js";
|
|
8
8
|
import { actions } from "../../store/pages.js";
|
|
@@ -79,7 +79,7 @@ const _sfc_main = {
|
|
|
79
79
|
onUpdate: _cache[0] || (_cache[0] = (update) => newPage.value.content = update)
|
|
80
80
|
}, null, 8, ["content"])
|
|
81
81
|
]),
|
|
82
|
-
createVNode(
|
|
82
|
+
createVNode(Button, {
|
|
83
83
|
submit: () => onSubmit(),
|
|
84
84
|
class: "mn-l-auto ws-nowrap t-white bg-black w-max"
|
|
85
85
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import layoutEmpty from "
|
|
2
|
-
import Navigation from "
|
|
3
|
-
import { navigationItems } from "
|
|
4
|
-
import _sfc_main from "
|
|
1
|
+
import layoutEmpty from "../../../core/views/components/layouts/Empty.vue.js";
|
|
2
|
+
import Navigation from "../../../core/views/components/partials/Navigation.vue.js";
|
|
3
|
+
import { navigationItems } from "../../../backoffice/configs/navigation.backoffice.config.js";
|
|
4
|
+
import _sfc_main from "../components/partials/SidebarPages.vue.js";
|
|
5
5
|
function createPublicRoutes(options = {}) {
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -15,7 +15,7 @@ function createPublicRoutes(options = {}) {
|
|
|
15
15
|
},
|
|
16
16
|
component: () => import(
|
|
17
17
|
/* webpackChunkName: 'Page' */
|
|
18
|
-
"
|
|
18
|
+
"../components/pages/Page.vue.js"
|
|
19
19
|
)
|
|
20
20
|
}
|
|
21
21
|
];
|
|
@@ -27,7 +27,7 @@ function createBackofficeRoutes(options = {}) {
|
|
|
27
27
|
name: "Pages",
|
|
28
28
|
component: () => import(
|
|
29
29
|
/* webpackChunkName: 'Pages' */
|
|
30
|
-
"
|
|
30
|
+
"../components/pages/Pages.vue.js"
|
|
31
31
|
)
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -41,7 +41,7 @@ function createBackofficeRoutes(options = {}) {
|
|
|
41
41
|
},
|
|
42
42
|
component: () => import(
|
|
43
43
|
/* webpackChunkName: 'Pages' */
|
|
44
|
-
"
|
|
44
|
+
"../components/pages/PageEdit.vue.js"
|
|
45
45
|
)
|
|
46
46
|
},
|
|
47
47
|
{
|
|
@@ -55,7 +55,7 @@ function createBackofficeRoutes(options = {}) {
|
|
|
55
55
|
},
|
|
56
56
|
component: () => import(
|
|
57
57
|
/* webpackChunkName: 'Pages' */
|
|
58
|
-
"
|
|
58
|
+
"../components/pages/PageEdit.vue.js"
|
|
59
59
|
)
|
|
60
60
|
}
|
|
61
61
|
];
|