@ozdao/martyrs 0.2.601 → 0.2.603
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +148 -85
- 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/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +2 -2
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +42 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +4 -4
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +9 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +15 -15
- 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 +27 -28
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +28 -18
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- 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 +4 -4
- 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 +4 -4
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +4 -4
- 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 +4 -4
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +16 -16
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +118 -59
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +74 -54
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +6 -6
- 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 +14 -14
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -5
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +7 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- 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/blocks/SpotMemberModify.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 +13 -13
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +22 -22
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es100.js +33 -0
- package/dist/martyrs.es102.js +39 -0
- package/dist/martyrs.es103.js +31 -0
- package/dist/martyrs.es105.js +27 -0
- package/dist/martyrs.es106.js +8 -0
- package/dist/martyrs.es107.js +9 -0
- package/dist/martyrs.es108.js +79 -0
- package/dist/martyrs.es109.js +7 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/{web-n_ivHO3v.js → martyrs.es110.js} +1 -1
- package/dist/martyrs.es111.js +327 -0
- package/dist/martyrs.es112.js +121 -0
- package/dist/martyrs.es115.js +4 -0
- package/dist/martyrs.es116.js +25 -0
- package/dist/martyrs.es117.js +7 -0
- package/dist/martyrs.es118.js +10 -0
- package/dist/martyrs.es119.js +169 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +460 -0
- package/dist/martyrs.es121.js +42 -0
- package/dist/martyrs.es122.js +12 -0
- package/dist/martyrs.es123.js +52 -0
- package/dist/martyrs.es124.js +14 -0
- package/dist/martyrs.es125.js +47 -0
- package/dist/martyrs.es126.js +7 -0
- package/dist/martyrs.es127.js +131 -0
- package/dist/martyrs.es128.js +103 -0
- package/dist/martyrs.es129.js +89 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +40 -0
- package/dist/martyrs.es131.js +14 -0
- package/dist/martyrs.es132.js +42 -0
- package/dist/martyrs.es133.js +11 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +119 -0
- package/dist/martyrs.es136.js +20 -0
- package/dist/martyrs.es137.js +18 -0
- package/dist/martyrs.es138.js +35 -0
- package/dist/martyrs.es139.js +12 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +23 -0
- package/dist/martyrs.es141.js +12 -0
- package/dist/martyrs.es142.js +11 -0
- package/dist/martyrs.es143.js +47 -0
- package/dist/martyrs.es144.js +483 -0
- package/dist/martyrs.es145.js +8 -0
- package/dist/martyrs.es146.js +4 -0
- package/dist/martyrs.es147.js +14 -0
- package/dist/martyrs.es148.js +33 -0
- package/dist/martyrs.es149.js +19 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es150.js +22 -0
- package/dist/martyrs.es151.js +31 -0
- package/dist/martyrs.es152.js +23 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +7 -0
- package/dist/martyrs.es93.js +35 -0
- package/dist/martyrs.es95.js +41 -0
- package/dist/martyrs.es96.js +59 -0
- package/dist/martyrs.es97.js +123 -0
- package/dist/martyrs.es98.js +43 -0
- package/dist/martyrs.es99.js +86 -0
- package/dist/music.server.js +11 -11
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +27 -10
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -1520,8 +1520,8 @@ const getInstance = (db, options) => {
|
|
|
1520
1520
|
const resetInstance = () => {
|
|
1521
1521
|
instance = null;
|
|
1522
1522
|
};
|
|
1523
|
-
const
|
|
1523
|
+
const ABAC = { getInstance, resetInstance };
|
|
1524
1524
|
export {
|
|
1525
|
-
|
|
1526
|
-
|
|
1525
|
+
ABAC as A,
|
|
1526
|
+
LoggerNamespaced as L
|
|
1527
1527
|
};
|
package/dist/auth.server.js
CHANGED
|
@@ -5,7 +5,9 @@ import { Types } from "mongoose";
|
|
|
5
5
|
import jwkToPem from "jwk-to-pem";
|
|
6
6
|
import { g as getSessionsService } from "./sessions.service-COcwjd0f.js";
|
|
7
7
|
import { g as getVisitorsService } from "./visitors.service-B1dhhuSo.js";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as addMembersQuantity, b as addUserStatusFields } from "./addUserStatusFields-CjV_sbh7.js";
|
|
9
|
+
import { q as queryProcessorCore } from "./queryProcessor-C_5Iipam.js";
|
|
10
|
+
import { A as ABAC } from "./abac-Blt8bUTL.js";
|
|
9
11
|
import { a as applyCredentialsSchema } from "./credentials.schema--2vvcu8c.js";
|
|
10
12
|
import { a as applyProfileSchema } from "./profile.schema-C31Lynn3.js";
|
|
11
13
|
import { a as applySocialsSchema } from "./socials.schema-DxnnaBgO.js";
|
|
@@ -356,6 +358,7 @@ const controllerFactory = (db) => {
|
|
|
356
358
|
});
|
|
357
359
|
}
|
|
358
360
|
if (matchConditions.length > 0) query.push({ $match: { $and: matchConditions } });
|
|
361
|
+
query.push(...queryProcessorCore.getFilterDate(req.query.dateStart, req.query.dateEnd));
|
|
359
362
|
query.push({
|
|
360
363
|
$lookup: {
|
|
361
364
|
from: "orders",
|
|
@@ -389,6 +392,7 @@ const controllerFactory = (db) => {
|
|
|
389
392
|
__v: 0
|
|
390
393
|
}
|
|
391
394
|
});
|
|
395
|
+
query.push(...queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder));
|
|
392
396
|
query.push({
|
|
393
397
|
$skip: skip
|
|
394
398
|
});
|
|
@@ -465,19 +469,70 @@ const controllerFactory = (db) => {
|
|
|
465
469
|
return res.status(500).send({ errorCode: "INTERNAL_SERVER_ERROR", message: err });
|
|
466
470
|
}
|
|
467
471
|
};
|
|
472
|
+
const getStats = async (req, res) => {
|
|
473
|
+
try {
|
|
474
|
+
const now = /* @__PURE__ */ new Date();
|
|
475
|
+
const startOfMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
476
|
+
const thirtyDaysAgo = new Date(now.getTime() - 30 * 24 * 60 * 60 * 1e3);
|
|
477
|
+
const startDate = req.query.startDate ? new Date(req.query.startDate) : null;
|
|
478
|
+
const endDate = req.query.endDate ? new Date(req.query.endDate) : null;
|
|
479
|
+
const dateFilter = startDate && endDate ? { createdAt: { $gte: startDate, $lte: endDate } } : null;
|
|
480
|
+
const [totals, dailyRegistrations] = await Promise.all([
|
|
481
|
+
User.aggregate([
|
|
482
|
+
...dateFilter ? [{ $match: dateFilter }] : [],
|
|
483
|
+
{ $facet: {
|
|
484
|
+
total: [{ $count: "count" }],
|
|
485
|
+
active: [{ $match: { status: "active" } }, { $count: "count" }],
|
|
486
|
+
newThisMonth: [{ $match: { createdAt: dateFilter ? { $gte: startDate, $lte: endDate } : { $gte: startOfMonth } } }, { $count: "count" }]
|
|
487
|
+
} }
|
|
488
|
+
]),
|
|
489
|
+
User.aggregate([
|
|
490
|
+
{ $match: dateFilter || { createdAt: { $gte: thirtyDaysAgo } } },
|
|
491
|
+
{ $group: {
|
|
492
|
+
_id: { $dateToString: { format: "%Y-%m-%d", date: "$createdAt" } },
|
|
493
|
+
count: { $sum: 1 }
|
|
494
|
+
} },
|
|
495
|
+
{ $sort: { _id: 1 } }
|
|
496
|
+
])
|
|
497
|
+
]);
|
|
498
|
+
const facet = totals[0];
|
|
499
|
+
res.status(200).send({
|
|
500
|
+
total: facet.total[0]?.count || 0,
|
|
501
|
+
active: facet.active[0]?.count || 0,
|
|
502
|
+
newThisMonth: facet.newThisMonth[0]?.count || 0,
|
|
503
|
+
dailyRegistrations
|
|
504
|
+
});
|
|
505
|
+
} catch (err) {
|
|
506
|
+
console.error(err);
|
|
507
|
+
res.status(500).send({
|
|
508
|
+
errorCode: "GET_USER_STATS_FAILED",
|
|
509
|
+
message: "Error occurred while fetching user stats.",
|
|
510
|
+
error: err.message
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
};
|
|
468
514
|
return {
|
|
469
515
|
read,
|
|
470
516
|
create,
|
|
471
517
|
update,
|
|
472
518
|
updateEmail,
|
|
473
|
-
updatePhone
|
|
519
|
+
updatePhone,
|
|
520
|
+
getStats
|
|
474
521
|
};
|
|
475
522
|
};
|
|
523
|
+
const { getInstance } = ABAC;
|
|
476
524
|
const usersRoutes = (function(app, db, origins) {
|
|
477
525
|
const controller = controllerFactory(db);
|
|
478
526
|
const { authJwt, verifyUser, otp } = middlewareIndexFactory(db);
|
|
527
|
+
const abac = getInstance(db);
|
|
479
528
|
app.post("/api/users", [authJwt.verifyToken(), verifyUser.checkDuplicateUsername], controller.create);
|
|
480
529
|
app.get("/api/users", controller.read);
|
|
530
|
+
app.get(
|
|
531
|
+
"/api/users/stats",
|
|
532
|
+
authJwt.verifyToken(),
|
|
533
|
+
abac.middleware("users", "read"),
|
|
534
|
+
controller.getStats
|
|
535
|
+
);
|
|
481
536
|
app.put("/api/users/:_id", [
|
|
482
537
|
authJwt.verifyToken(),
|
|
483
538
|
verifyUser.checkOwnership,
|
package/dist/builder.js
CHANGED
|
@@ -439,15 +439,20 @@ function createSsrDevServer(projectRoot, configs, createServer) {
|
|
|
439
439
|
});
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
442
|
+
try {
|
|
443
|
+
const { entrypoints, outputPath } = jsonStats;
|
|
444
|
+
const { main: { assets: [mainChunkPath] } } = entrypoints;
|
|
445
|
+
const mainModulePath = path.resolve(outputPath, mainChunkPath.name);
|
|
446
|
+
const module = await import(`${mainModulePath}?t=${Date.now()}`);
|
|
447
|
+
renderApp = module._renderApp;
|
|
448
|
+
performance.mark("loading-3-end");
|
|
449
|
+
performance.measure("loading-3", "loading-2-start", "loading-3-end");
|
|
450
|
+
const measure3 = performance.getEntriesByName("loading-3")[0];
|
|
451
|
+
console.log(`[LOADING 3] SSR module compiled in ${measure3?.duration?.toFixed(2)}ms`);
|
|
452
|
+
await startServer();
|
|
453
|
+
} catch (err) {
|
|
454
|
+
console.error(chalk.red("[SSR] Failed to load SSR module:"), err);
|
|
455
|
+
}
|
|
451
456
|
}
|
|
452
457
|
);
|
|
453
458
|
const createDevRenderer = () => {
|
|
@@ -569,6 +574,10 @@ function createSsrDevServer(projectRoot, configs, createServer) {
|
|
|
569
574
|
console.error("Серверный модуль еще не скомпилирован");
|
|
570
575
|
return;
|
|
571
576
|
}
|
|
577
|
+
if (!renderApp) {
|
|
578
|
+
console.error("SSR модуль еще не скомпилирован");
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
572
581
|
let { app, server, env } = await serverModule.createServer();
|
|
573
582
|
app.use(clientDevMiddleware);
|
|
574
583
|
if (!rendererInstance) {
|
|
@@ -714,6 +723,7 @@ class MartyrsJIT {
|
|
|
714
723
|
this.rules = options.rules || [];
|
|
715
724
|
this.variants = options.variants || [];
|
|
716
725
|
this.cache = /* @__PURE__ */ new Map();
|
|
726
|
+
this.tokenMeta = /* @__PURE__ */ new Map();
|
|
717
727
|
this.usedTokens = /* @__PURE__ */ new Set();
|
|
718
728
|
}
|
|
719
729
|
/**
|
|
@@ -755,11 +765,14 @@ class MartyrsJIT {
|
|
|
755
765
|
}
|
|
756
766
|
if (!found) break;
|
|
757
767
|
}
|
|
758
|
-
for (
|
|
768
|
+
for (let ruleIdx = 0; ruleIdx < this.rules.length; ruleIdx++) {
|
|
769
|
+
const [pattern, handler] = this.rules[ruleIdx];
|
|
759
770
|
const match = baseToken.match(pattern);
|
|
760
771
|
if (match) {
|
|
761
772
|
let css = handler(match, this);
|
|
762
773
|
if (!css) continue;
|
|
774
|
+
const altIndex = this._getAlternationIndex(pattern, match);
|
|
775
|
+
this.tokenMeta.set(token, { ruleIndex: ruleIdx, altIndex });
|
|
763
776
|
const selector = this.escapeSelector(token);
|
|
764
777
|
if (appliedVariants.length === 0) {
|
|
765
778
|
css = `body .${selector} { ${css} }`;
|
|
@@ -859,42 +872,53 @@ class MartyrsJIT {
|
|
|
859
872
|
const css = this.generateForToken(token);
|
|
860
873
|
if (!css) continue;
|
|
861
874
|
this.usedTokens.add(token);
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
else if (token.includes("
|
|
865
|
-
else if (token.includes("
|
|
866
|
-
else if (token.includes("
|
|
867
|
-
else if (token.includes("
|
|
868
|
-
else if (token.includes("
|
|
869
|
-
else if (token.includes("
|
|
870
|
-
else if (token.includes("hover:")) groups.
|
|
871
|
-
else if (token.includes("
|
|
872
|
-
else if (token.includes("
|
|
873
|
-
else if (token.includes("
|
|
874
|
-
else if (token.includes("
|
|
875
|
-
else if (token.includes("
|
|
876
|
-
else if (token.includes("
|
|
877
|
-
else if (token.includes("
|
|
878
|
-
else groups.
|
|
875
|
+
const entry = { css, token };
|
|
876
|
+
if (token.includes("mobile:")) groups.mobile.push(entry);
|
|
877
|
+
else if (token.includes("tablet:")) groups.tablet.push(entry);
|
|
878
|
+
else if (token.includes("desktop:")) groups.desktop.push(entry);
|
|
879
|
+
else if (token.includes("widescreen:")) groups.widescreen.push(entry);
|
|
880
|
+
else if (token.includes("dark:")) groups.dark.push(entry);
|
|
881
|
+
else if (token.includes("light:")) groups.light.push(entry);
|
|
882
|
+
else if (token.includes("print:")) groups.print.push(entry);
|
|
883
|
+
else if (token.includes("group-hover:")) groups.groupHover.push(entry);
|
|
884
|
+
else if (token.includes("hover:")) groups.hover.push(entry);
|
|
885
|
+
else if (token.includes("focus:")) groups.focus.push(entry);
|
|
886
|
+
else if (token.includes("active:")) groups.active.push(entry);
|
|
887
|
+
else if (token.includes("disabled:")) groups.disabled.push(entry);
|
|
888
|
+
else if (token.includes("first:")) groups.first.push(entry);
|
|
889
|
+
else if (token.includes("last:")) groups.last.push(entry);
|
|
890
|
+
else if (token.includes("odd:")) groups.odd.push(entry);
|
|
891
|
+
else if (token.includes("even:")) groups.even.push(entry);
|
|
892
|
+
else groups.base.push(entry);
|
|
879
893
|
}
|
|
894
|
+
const sortByRule = (a, b) => {
|
|
895
|
+
const metaA = this.tokenMeta.get(a.token) || { ruleIndex: 0, altIndex: 0 };
|
|
896
|
+
const metaB = this.tokenMeta.get(b.token) || { ruleIndex: 0, altIndex: 0 };
|
|
897
|
+
if (metaA.ruleIndex !== metaB.ruleIndex) return metaA.ruleIndex - metaB.ruleIndex;
|
|
898
|
+
return metaA.altIndex - metaB.altIndex;
|
|
899
|
+
};
|
|
900
|
+
for (const key in groups) {
|
|
901
|
+
groups[key].sort(sortByRule);
|
|
902
|
+
}
|
|
903
|
+
const toCSS = (arr) => arr.map((e) => e.css);
|
|
880
904
|
return [
|
|
881
|
-
...groups.base,
|
|
882
|
-
...groups.hover,
|
|
883
|
-
...groups.focus,
|
|
884
|
-
...groups.active,
|
|
885
|
-
...groups.disabled,
|
|
886
|
-
...groups.first,
|
|
887
|
-
...groups.last,
|
|
888
|
-
...groups.odd,
|
|
889
|
-
...groups.even,
|
|
890
|
-
...groups.groupHover,
|
|
891
|
-
...groups.widescreen,
|
|
892
|
-
...groups.desktop,
|
|
893
|
-
...groups.tablet,
|
|
894
|
-
...groups.mobile,
|
|
895
|
-
...groups.dark,
|
|
896
|
-
...groups.light,
|
|
897
|
-
...groups.print
|
|
905
|
+
...toCSS(groups.base),
|
|
906
|
+
...toCSS(groups.hover),
|
|
907
|
+
...toCSS(groups.focus),
|
|
908
|
+
...toCSS(groups.active),
|
|
909
|
+
...toCSS(groups.disabled),
|
|
910
|
+
...toCSS(groups.first),
|
|
911
|
+
...toCSS(groups.last),
|
|
912
|
+
...toCSS(groups.odd),
|
|
913
|
+
...toCSS(groups.even),
|
|
914
|
+
...toCSS(groups.groupHover),
|
|
915
|
+
...toCSS(groups.widescreen),
|
|
916
|
+
...toCSS(groups.desktop),
|
|
917
|
+
...toCSS(groups.tablet),
|
|
918
|
+
...toCSS(groups.mobile),
|
|
919
|
+
...toCSS(groups.dark),
|
|
920
|
+
...toCSS(groups.light),
|
|
921
|
+
...toCSS(groups.print)
|
|
898
922
|
].join("\n");
|
|
899
923
|
}
|
|
900
924
|
/**
|
|
@@ -918,11 +942,25 @@ class MartyrsJIT {
|
|
|
918
942
|
getCSS() {
|
|
919
943
|
return Array.from(this.cache.values()).join("\n");
|
|
920
944
|
}
|
|
945
|
+
/**
|
|
946
|
+
* Определяет позицию совпавшего значения в альтернации regex
|
|
947
|
+
* pos-(relative|absolute|fixed) + match "absolute" → 1
|
|
948
|
+
*/
|
|
949
|
+
_getAlternationIndex(pattern, match) {
|
|
950
|
+
if (!match[1]) return 0;
|
|
951
|
+
const src = pattern.source;
|
|
952
|
+
const groupMatch = src.match(/\(([^()]+)\)/);
|
|
953
|
+
if (!groupMatch || !groupMatch[1].includes("|")) return 0;
|
|
954
|
+
const alts = groupMatch[1].split("|");
|
|
955
|
+
const idx = alts.indexOf(match[1]);
|
|
956
|
+
return idx >= 0 ? idx : 0;
|
|
957
|
+
}
|
|
921
958
|
/**
|
|
922
959
|
* Очистить кэш (для watch mode)
|
|
923
960
|
*/
|
|
924
961
|
reset() {
|
|
925
962
|
this.cache.clear();
|
|
963
|
+
this.tokenMeta.clear();
|
|
926
964
|
this.usedTokens.clear();
|
|
927
965
|
}
|
|
928
966
|
}
|
|
@@ -1058,7 +1096,11 @@ const rules = [
|
|
|
1058
1096
|
if (n > 0) return `display: grid; grid-template-rows: repeat(${n}, minmax(0, 1fr));`;
|
|
1059
1097
|
return null;
|
|
1060
1098
|
}],
|
|
1061
|
-
// Gap (
|
|
1099
|
+
// Gap (общие перед специфичными — для правильного каскада CSS)
|
|
1100
|
+
[/^gap-(.+)$/, (m, jit) => {
|
|
1101
|
+
const v = resolveValue(m[1], jit);
|
|
1102
|
+
return v ? `gap: ${v};` : null;
|
|
1103
|
+
}],
|
|
1062
1104
|
[/^gap-x-(.+)$/, (m, jit) => {
|
|
1063
1105
|
const v = resolveValue(m[1], jit);
|
|
1064
1106
|
return v ? `column-gap: ${v};` : null;
|
|
@@ -1067,11 +1109,15 @@ const rules = [
|
|
|
1067
1109
|
const v = resolveValue(m[1], jit);
|
|
1068
1110
|
return v ? `row-gap: ${v};` : null;
|
|
1069
1111
|
}],
|
|
1070
|
-
|
|
1112
|
+
// Size (общие перед специфичными — для правильного каскада CSS)
|
|
1113
|
+
[/^w-(.+)$/, (m, jit) => {
|
|
1071
1114
|
const v = resolveValue(m[1], jit);
|
|
1072
|
-
return v ? `
|
|
1115
|
+
return v ? `width: ${v};` : null;
|
|
1116
|
+
}],
|
|
1117
|
+
[/^h-(.+)$/, (m, jit) => {
|
|
1118
|
+
const v = resolveValue(m[1], jit);
|
|
1119
|
+
return v ? `height: ${v};` : null;
|
|
1073
1120
|
}],
|
|
1074
|
-
// Size (специфичные перед общими)
|
|
1075
1121
|
[/^w-min-(.+)$/, (m, jit) => {
|
|
1076
1122
|
const v = resolveValue(m[1], jit);
|
|
1077
1123
|
return v ? `min-width: ${v};` : null;
|
|
@@ -1088,33 +1134,29 @@ const rules = [
|
|
|
1088
1134
|
const v = resolveValue(m[1], jit);
|
|
1089
1135
|
return v ? `max-height: ${v};` : null;
|
|
1090
1136
|
}],
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
return v ? `width: ${v};` : null;
|
|
1094
|
-
}],
|
|
1095
|
-
[/^h-(.+)$/, (m, jit) => {
|
|
1137
|
+
// Padding (общие перед специфичными — для правильного каскада CSS)
|
|
1138
|
+
[/^pd-(.+)$/, (m, jit) => {
|
|
1096
1139
|
const v = resolveValue(m[1], jit);
|
|
1097
|
-
return v ? `
|
|
1140
|
+
return v ? `padding: ${v};` : null;
|
|
1098
1141
|
}],
|
|
1099
|
-
// Padding (специфичные перед общими)
|
|
1100
1142
|
[/^pd-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1101
1143
|
const v = handleNegative(m[2], jit);
|
|
1102
1144
|
return v ? `padding-${dir[m[1]]}: ${v};` : null;
|
|
1103
1145
|
}],
|
|
1104
|
-
|
|
1146
|
+
// Margin (общие перед специфичными — для правильного каскада CSS)
|
|
1147
|
+
[/^mn-(.+)$/, (m, jit) => {
|
|
1105
1148
|
const v = resolveValue(m[1], jit);
|
|
1106
|
-
return v ? `
|
|
1149
|
+
return v ? `margin: ${v};` : null;
|
|
1107
1150
|
}],
|
|
1108
|
-
// Margin (специфичные перед общими)
|
|
1109
1151
|
[/^mn-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1110
1152
|
const v = handleNegative(m[2], jit);
|
|
1111
1153
|
return v ? `margin-${dir[m[1]]}: ${v};` : null;
|
|
1112
1154
|
}],
|
|
1113
|
-
|
|
1155
|
+
// Border radius (общие перед специфичными — для правильного каскада CSS)
|
|
1156
|
+
[/^radius-(.+)$/, (m, jit) => {
|
|
1114
1157
|
const v = resolveValue(m[1], jit);
|
|
1115
|
-
return v ? `
|
|
1158
|
+
return v ? `border-radius: ${v};` : null;
|
|
1116
1159
|
}],
|
|
1117
|
-
// Border radius (специфичные перед общими)
|
|
1118
1160
|
[/^radius-tl-(.+)$/, (m, jit) => {
|
|
1119
1161
|
const v = resolveValue(m[1], jit);
|
|
1120
1162
|
return v ? `border-top-left-radius: ${v};` : null;
|
|
@@ -1131,10 +1173,6 @@ const rules = [
|
|
|
1131
1173
|
const v = resolveValue(m[1], jit);
|
|
1132
1174
|
return v ? `border-bottom-right-radius: ${v};` : null;
|
|
1133
1175
|
}],
|
|
1134
|
-
[/^radius-(.+)$/, (m, jit) => {
|
|
1135
|
-
const v = resolveValue(m[1], jit);
|
|
1136
|
-
return v ? `border-radius: ${v};` : null;
|
|
1137
|
-
}],
|
|
1138
1176
|
// Inset
|
|
1139
1177
|
[/^top-(.+)$/, (m, jit) => {
|
|
1140
1178
|
const v = resolveValue(m[1], jit);
|
|
@@ -1439,24 +1477,24 @@ const rules = [
|
|
|
1439
1477
|
[/^scroll-snap-(start|end|center|none)$/, (m) => `scroll-snap-align: ${m[1]};`],
|
|
1440
1478
|
// Scroll behavior (scroll-smooth, scroll-auto)
|
|
1441
1479
|
[/^scroll-(auto|smooth)$/, (m) => `scroll-behavior: ${m[1]};`],
|
|
1442
|
-
// Scroll padding (
|
|
1443
|
-
[/^scroll-pd-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1444
|
-
const v = resolveValue(m[2], jit);
|
|
1445
|
-
return v ? `scroll-padding-${dir[m[1]]}: ${v};` : null;
|
|
1446
|
-
}],
|
|
1480
|
+
// Scroll padding (общие перед специфичными — для правильного каскада CSS)
|
|
1447
1481
|
[/^scroll-pd-(.+)$/, (m, jit) => {
|
|
1448
1482
|
const v = resolveValue(m[1], jit);
|
|
1449
1483
|
return v ? `scroll-padding: ${v};` : null;
|
|
1450
1484
|
}],
|
|
1451
|
-
|
|
1452
|
-
[/^scroll-mn-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1485
|
+
[/^scroll-pd-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1453
1486
|
const v = resolveValue(m[2], jit);
|
|
1454
|
-
return v ? `scroll-
|
|
1487
|
+
return v ? `scroll-padding-${dir[m[1]]}: ${v};` : null;
|
|
1455
1488
|
}],
|
|
1489
|
+
// Scroll margin (общие перед специфичными — для правильного каскада CSS)
|
|
1456
1490
|
[/^scroll-mn-(.+)$/, (m, jit) => {
|
|
1457
1491
|
const v = resolveValue(m[1], jit);
|
|
1458
1492
|
return v ? `scroll-margin: ${v};` : null;
|
|
1459
1493
|
}],
|
|
1494
|
+
[/^scroll-mn-(t|r|b|l)-(.+)$/, (m, jit) => {
|
|
1495
|
+
const v = resolveValue(m[2], jit);
|
|
1496
|
+
return v ? `scroll-margin-${dir[m[1]]}: ${v};` : null;
|
|
1497
|
+
}],
|
|
1460
1498
|
// Overscroll (overscroll-x-contain, overscroll-none)
|
|
1461
1499
|
[/^overscroll-(x|y)-(auto|contain|none)$/, (m) => `overscroll-behavior-${m[1]}: ${m[2]};`],
|
|
1462
1500
|
[/^overscroll-(auto|contain|none)$/, (m) => `overscroll-behavior: ${m[1]};`],
|
|
@@ -1819,8 +1857,8 @@ class MartyrsJitPlugin {
|
|
|
1819
1857
|
const isIncluded = this.options.include.some(
|
|
1820
1858
|
(dir2) => filename.includes(`/${dir2}/`) || filename.includes(`\\${dir2}\\`) || filename.includes(dir2)
|
|
1821
1859
|
);
|
|
1822
|
-
const
|
|
1823
|
-
const isExcluded = !
|
|
1860
|
+
const isMartyrs = filename.includes("@ozdao/martyrs") || filename.includes("@ozdao\\martyrs") || filename.includes("/martyrs/") || filename.includes("\\martyrs\\");
|
|
1861
|
+
const isExcluded = !isMartyrs && this.options.exclude.some(
|
|
1824
1862
|
(dir2) => filename.includes(dir2)
|
|
1825
1863
|
);
|
|
1826
1864
|
if (!isIncluded || isExcluded) {
|
|
@@ -1859,10 +1897,17 @@ const baseConfig = (projectRoot) => {
|
|
|
1859
1897
|
"vue": path.resolve(projectRoot, "node_modules/vue"),
|
|
1860
1898
|
"vue-router": path.resolve(projectRoot, "node_modules/vue-router"),
|
|
1861
1899
|
"vue-i18n": path.resolve(projectRoot, "node_modules/vue-i18n")
|
|
1862
|
-
}
|
|
1900
|
+
},
|
|
1901
|
+
conditionNames: process.env.NODE_ENV !== "production" ? ["development", "import", "module", "webpack", "default"] : ["import", "module", "webpack", "default"]
|
|
1863
1902
|
},
|
|
1864
1903
|
module: {
|
|
1865
1904
|
rules: [
|
|
1905
|
+
{
|
|
1906
|
+
test: /\.m?js$/,
|
|
1907
|
+
resolve: {
|
|
1908
|
+
fullySpecified: false
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1866
1911
|
{
|
|
1867
1912
|
test: /\.m?js$/,
|
|
1868
1913
|
exclude: /node_modules\/(?!(vue-meta)\/).*/,
|
|
@@ -2014,14 +2059,17 @@ const clientConfig = (projectRoot) => {
|
|
|
2014
2059
|
mode: !isProd2 ? "development" : "production",
|
|
2015
2060
|
devtool: !isProd2 ? "eval-cheap-module-source-map" : "source-map",
|
|
2016
2061
|
entry: {
|
|
2017
|
-
main:
|
|
2062
|
+
main: [
|
|
2063
|
+
...!isProd2 ? ["webpack-hot-middleware/client?reload=true&noInfo=true"] : [],
|
|
2064
|
+
path.resolve(projectRoot, "src/client.js")
|
|
2065
|
+
]
|
|
2018
2066
|
},
|
|
2019
2067
|
module: {
|
|
2020
2068
|
rules: []
|
|
2021
2069
|
},
|
|
2022
2070
|
output: {
|
|
2023
|
-
filename: "[name].[contenthash:8].js",
|
|
2024
|
-
chunkFilename: "chunks/[name].[contenthash:8].js",
|
|
2071
|
+
filename: isProd2 ? "[name].[contenthash:8].js" : "[name].js",
|
|
2072
|
+
chunkFilename: isProd2 ? "chunks/[name].[contenthash:8].js" : "chunks/[name].js",
|
|
2025
2073
|
path: path.resolve(projectRoot, "builds/web/client"),
|
|
2026
2074
|
publicPath: "/",
|
|
2027
2075
|
clean: true
|
|
@@ -2035,7 +2083,7 @@ const clientConfig = (projectRoot) => {
|
|
|
2035
2083
|
// Отключаем lazy compilation для dev - все chunks компилируются при старте
|
|
2036
2084
|
},
|
|
2037
2085
|
plugins: [
|
|
2038
|
-
|
|
2086
|
+
...!isProd2 ? [new rspack$2.HotModuleReplacementPlugin()] : [],
|
|
2039
2087
|
new StatsWriterPlugin({
|
|
2040
2088
|
filename: "stats.json",
|
|
2041
2089
|
stats: {
|
|
@@ -2113,7 +2161,7 @@ const clientConfig = (projectRoot) => {
|
|
|
2113
2161
|
] : []
|
|
2114
2162
|
],
|
|
2115
2163
|
optimization: {
|
|
2116
|
-
sideEffects:
|
|
2164
|
+
sideEffects: true,
|
|
2117
2165
|
usedExports: true,
|
|
2118
2166
|
innerGraph: true,
|
|
2119
2167
|
providedExports: true,
|
|
@@ -2125,15 +2173,29 @@ const clientConfig = (projectRoot) => {
|
|
|
2125
2173
|
maxAsyncRequests: 10,
|
|
2126
2174
|
maxInitialRequests: 6,
|
|
2127
2175
|
cacheGroups: {
|
|
2128
|
-
//
|
|
2129
|
-
|
|
2130
|
-
|
|
2176
|
+
// Vendor libraries (except Vue)
|
|
2177
|
+
vendor: {
|
|
2178
|
+
test: /[\\/]node_modules[\\/](?!(vue|vue-router|vuex|@vue|@unhead|vue-i18n)[\\/])/,
|
|
2179
|
+
name: "vendor",
|
|
2180
|
+
priority: 90,
|
|
2181
|
+
chunks: "initial",
|
|
2182
|
+
enforce: true
|
|
2183
|
+
},
|
|
2184
|
+
// Vue core framework only
|
|
2185
|
+
vue: {
|
|
2186
|
+
test: /[\\/]node_modules[\\/](vue|vue-router|vuex|@vue|@unhead|vue-i18n)[\\/]/,
|
|
2187
|
+
name: "vue",
|
|
2188
|
+
priority: 90,
|
|
2189
|
+
chunks: "initial",
|
|
2190
|
+
reuseExistingChunk: true,
|
|
2191
|
+
enforce: true
|
|
2192
|
+
},
|
|
2131
2193
|
// Martyrs modules - only for async imports
|
|
2132
2194
|
modules: {
|
|
2133
2195
|
test: /[\\/]martyrs[\\/]src[\\/]modules[\\/]/,
|
|
2134
2196
|
chunks: "async",
|
|
2135
2197
|
name: false,
|
|
2136
|
-
priority:
|
|
2198
|
+
priority: 80,
|
|
2137
2199
|
enforce: true
|
|
2138
2200
|
},
|
|
2139
2201
|
// Combine all CSS into single file
|
|
@@ -2314,6 +2376,7 @@ const apiConfig = (projectRoot) => {
|
|
|
2314
2376
|
alias: {
|
|
2315
2377
|
"@martyrs": path.resolve(projectRoot, "martyrs")
|
|
2316
2378
|
},
|
|
2379
|
+
conditionNames: process.env.NODE_ENV !== "production" ? ["development", "import", "module", "node", "default"] : ["import", "module", "node", "default"],
|
|
2317
2380
|
fallback: {
|
|
2318
2381
|
path: false
|
|
2319
2382
|
}
|
package/dist/community.server.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Types } from "mongoose";
|
|
2
2
|
import { q as queryProcessorCore } from "./queryProcessor-C_5Iipam.js";
|
|
3
3
|
import { a as applyCommonSchema } from "./common.schema-DswiUXKB.js";
|
|
4
|
-
import { a as applyEngagementSchema } from "./engagement.schema-
|
|
4
|
+
import { a as applyEngagementSchema } from "./engagement.schema-B-Cc_NsG.js";
|
|
5
5
|
import { a as applyMetadataSchema } from "./metadata.schema-CIRR_WQ-.js";
|
|
6
6
|
import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
|
|
7
7
|
import { m as middlewareIndexFactory$1 } from "./index-kvBwwb0w.js";
|
|
8
|
-
import {
|
|
8
|
+
import { A as ABAC } from "./abac-Blt8bUTL.js";
|
|
9
9
|
const ObjectId$2 = { Types }.Types.ObjectId;
|
|
10
10
|
function getCommentsLookupStage() {
|
|
11
11
|
return {
|
|
@@ -203,6 +203,10 @@ const controllerFactory = (db) => {
|
|
|
203
203
|
...await AggregationProcessor.getFollowingStage(Membership, req.query.following),
|
|
204
204
|
// Blocking
|
|
205
205
|
...await AggregationProcessor.getBlockedStage(Membership, req.query.user),
|
|
206
|
+
// Sorting and Pagination BEFORE lookups
|
|
207
|
+
...queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder),
|
|
208
|
+
...queryProcessorCore.getPaginationOptions(req.query.skip, req.query.limit),
|
|
209
|
+
// Lookups (only on paginated documents)
|
|
206
210
|
queryProcessorReactions.getCommentsLookupStage(),
|
|
207
211
|
queryProcessorReactions.getReactionsLookupStage(),
|
|
208
212
|
queryProcessorReactions.getReactionsCommentsFields(req.query.user),
|
|
@@ -211,12 +215,7 @@ const controllerFactory = (db) => {
|
|
|
211
215
|
// For owner
|
|
212
216
|
queryProcessorCore.getOwnerUserLookupStage(),
|
|
213
217
|
queryProcessorCore.getOwnerOrganizationLookupStage(),
|
|
214
|
-
queryProcessorCore.getAddFieldsCreatorOwnerStage()
|
|
215
|
-
// Sorting and Pagination
|
|
216
|
-
...queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder),
|
|
217
|
-
...queryProcessorCore.getPaginationOptions(req.query.skip, req.query.limit)
|
|
218
|
-
// For creator
|
|
219
|
-
// { $sample: { size: Number(req.query.limit) } },
|
|
218
|
+
queryProcessorCore.getAddFieldsCreatorOwnerStage()
|
|
220
219
|
];
|
|
221
220
|
try {
|
|
222
221
|
const posts = await Blogpost.aggregate(stages).exec();
|
|
@@ -695,6 +694,7 @@ const ReactionModel = (db) => {
|
|
|
695
694
|
strict: false
|
|
696
695
|
}
|
|
697
696
|
);
|
|
697
|
+
ReactionSchema.index({ target: 1 });
|
|
698
698
|
const Reaction = db.mongoose.model("Reaction", ReactionSchema);
|
|
699
699
|
return Reaction;
|
|
700
700
|
};
|
|
@@ -749,7 +749,7 @@ const middlewareIndexFactory = (db) => {
|
|
|
749
749
|
verifyBlogpost
|
|
750
750
|
};
|
|
751
751
|
};
|
|
752
|
-
const { getInstance: getInstance$1 } =
|
|
752
|
+
const { getInstance: getInstance$1 } = ABAC;
|
|
753
753
|
const blogRoutes = (function(app, db, origins) {
|
|
754
754
|
const controller = controllerFactory(db);
|
|
755
755
|
const abac = getInstance$1(db);
|
|
@@ -770,7 +770,7 @@ const blogRoutes = (function(app, db, origins) {
|
|
|
770
770
|
app.post("/api/blog/update", [authJwt.verifyToken(), abac.middleware("blogposts", "edit"), verifyBlogpost.checkNameNotEmpty, verifyBlogpost.checkBlogpostExistOrNot], controller.update);
|
|
771
771
|
app.delete("/api/blog/delete/:_id", [authJwt.verifyToken(), abac.middleware("blogposts", "delete")], controller.delete);
|
|
772
772
|
});
|
|
773
|
-
const { getInstance } =
|
|
773
|
+
const { getInstance } = ABAC;
|
|
774
774
|
const commentsRoutes = (function(app, db) {
|
|
775
775
|
const controller = commentControllerFactory(db);
|
|
776
776
|
const abac = getInstance(db);
|
|
@@ -840,7 +840,7 @@ function initializeCommunity({ app, db, origins, publicPath }) {
|
|
|
840
840
|
db.blogpost = BlogpostModel(db);
|
|
841
841
|
db.comment = CommentModel(db);
|
|
842
842
|
db.reaction = ReactionModel(db);
|
|
843
|
-
const { getInstance: getInstance2 } =
|
|
843
|
+
const { getInstance: getInstance2 } = ABAC;
|
|
844
844
|
const abac = getInstance2(db);
|
|
845
845
|
initBlogPolicies(abac);
|
|
846
846
|
if (app) {
|
package/dist/core.server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ABAC } from "./abac-Blt8bUTL.js";
|
|
2
2
|
import { i as initSessionsService } from "./sessions.service-COcwjd0f.js";
|
|
3
3
|
import { g as getVisitorsService, i as initVisitorsService } from "./visitors.service-B1dhhuSo.js";
|
|
4
4
|
const initCorePolicies = (function initializeDefaultPolicies(abacAccessControl) {
|
|
@@ -289,7 +289,7 @@ const createVisitorLogger = () => {
|
|
|
289
289
|
};
|
|
290
290
|
return { visitorLogger };
|
|
291
291
|
};
|
|
292
|
-
const { getInstance } =
|
|
292
|
+
const { getInstance } = ABAC;
|
|
293
293
|
let _WebSocketManagerClass = null;
|
|
294
294
|
async function createWebSocketManager(...args) {
|
|
295
295
|
if (!_WebSocketManagerClass) {
|
|
@@ -342,7 +342,12 @@ class Validator {
|
|
|
342
342
|
if (!(validator instanceof Validator)) {
|
|
343
343
|
throw new TypeError(`Property "${key}" must be a Validator instance`);
|
|
344
344
|
}
|
|
345
|
-
const
|
|
345
|
+
const fieldValue = value[key];
|
|
346
|
+
const isRequired = validator.rules.some((r) => r.type === "required");
|
|
347
|
+
if ((fieldValue === null || fieldValue === void 0) && !isRequired) {
|
|
348
|
+
continue;
|
|
349
|
+
}
|
|
350
|
+
const result = validator.validate(fieldValue);
|
|
346
351
|
if (!result.isValid) {
|
|
347
352
|
this.errors.push(`"${key}" ${result.errors.join(", ")}`);
|
|
348
353
|
return false;
|
|
@@ -610,7 +615,6 @@ class Verifier {
|
|
|
610
615
|
if (Object.keys(result.verificationErrors).length === 0) {
|
|
611
616
|
result.verificationErrors = null;
|
|
612
617
|
}
|
|
613
|
-
console.log("Verification result:", result);
|
|
614
618
|
return result;
|
|
615
619
|
};
|
|
616
620
|
if (paramPromises.length > 0) {
|
|
@@ -634,7 +638,6 @@ class Verifier {
|
|
|
634
638
|
req.query = validationResult.verifiedData;
|
|
635
639
|
next();
|
|
636
640
|
};
|
|
637
|
-
console.log("verifier result is", processResult);
|
|
638
641
|
if (result instanceof Promise) {
|
|
639
642
|
result.then(processResult).catch(next);
|
|
640
643
|
} else {
|