@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
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ref as w, onMounted as k, createElementBlock as r, openBlock as i, normalizeClass as b, createCommentVNode as m, createElementVNode as y, createVNode as I, toDisplayString as g, Transition as C, withCtx as S } from "vue";
|
|
2
|
+
import { Loader as A } from "./martyrs.es41.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
const E = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "t-transp mn-r-small"
|
|
7
|
+
}, K = ["placeholder", "value"], L = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "mn-t-thin invalid-feedback"
|
|
10
|
+
}, P = {
|
|
11
|
+
__name: "Address",
|
|
12
|
+
props: {
|
|
13
|
+
apiKey: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: !0
|
|
16
|
+
},
|
|
17
|
+
label: null,
|
|
18
|
+
placeholder: "Enter something here",
|
|
19
|
+
field: null,
|
|
20
|
+
location: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: { lat: 48.6900735, lng: 41.1620239 }
|
|
23
|
+
},
|
|
24
|
+
address: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ""
|
|
27
|
+
},
|
|
28
|
+
locale: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "en"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
|
|
34
|
+
setup(n, { emit: f }) {
|
|
35
|
+
const c = n, l = f, u = w(null);
|
|
36
|
+
let s;
|
|
37
|
+
const h = () => {
|
|
38
|
+
const e = s.getPlace();
|
|
39
|
+
if (!e.geometry || !e.address_components)
|
|
40
|
+
return;
|
|
41
|
+
let t = "", o = "", p = "";
|
|
42
|
+
for (let d = 0; d < e.address_components.length; d++) {
|
|
43
|
+
let a = e.address_components[d];
|
|
44
|
+
a.types.includes("country") && (t = a.long_name), a.types.includes("administrative_area_level_1") && (o = a.long_name), a.types.includes("locality") && (p = a.long_name);
|
|
45
|
+
}
|
|
46
|
+
const v = e.formatted_address, _ = { lat: e.geometry.location.lat(), lng: e.geometry.location.lng() };
|
|
47
|
+
l("update:address", v), l("update:location", _), l("update:country", t), l("update:state", o), l("update:city", p);
|
|
48
|
+
};
|
|
49
|
+
return k(() => {
|
|
50
|
+
new A({
|
|
51
|
+
apiKey: c.apiKey,
|
|
52
|
+
version: "weekly",
|
|
53
|
+
libraries: ["places"],
|
|
54
|
+
language: c.locale
|
|
55
|
+
}).load().then(() => {
|
|
56
|
+
s = new google.maps.places.Autocomplete(u.value), s.addListener("place_changed", h);
|
|
57
|
+
}).catch((t) => {
|
|
58
|
+
console.error(t);
|
|
59
|
+
});
|
|
60
|
+
}), (e, t) => (i(), r("div", {
|
|
61
|
+
class: b([e.$attrs.class, "flex-nowrap flex"])
|
|
62
|
+
}, [
|
|
63
|
+
n.label ? (i(), r("div", E, [
|
|
64
|
+
y("span", null, g(n.label), 1)
|
|
65
|
+
])) : m("", !0),
|
|
66
|
+
y("input", {
|
|
67
|
+
ref_key: "addressInput",
|
|
68
|
+
ref: u,
|
|
69
|
+
class: "w-100",
|
|
70
|
+
placeholder: n.placeholder,
|
|
71
|
+
value: n.address,
|
|
72
|
+
onInput: t[0] || (t[0] = (...o) => e.onInput && e.onInput(...o))
|
|
73
|
+
}, null, 40, K),
|
|
74
|
+
I(C, {
|
|
75
|
+
mode: "out-in",
|
|
76
|
+
name: "fade"
|
|
77
|
+
}, {
|
|
78
|
+
default: S(() => [
|
|
79
|
+
e.validation ? (i(), r("div", L, " * " + g(e.validation.message), 1)) : m("", !0)
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
})
|
|
83
|
+
], 2));
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
P as default
|
|
88
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, renderSlot as n } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
|
|
4
|
+
__name: "Menu",
|
|
5
|
+
setup(s) {
|
|
6
|
+
return (e, i) => (o(), t("section", r, [
|
|
7
|
+
n(e.$slots, "default")
|
|
8
|
+
]));
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
d as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as s, h as e } from "vue";
|
|
2
|
+
import m from "./martyrs.es65.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
const a = s({
|
|
5
|
+
props: {},
|
|
6
|
+
setup(o, { slots: n }) {
|
|
7
|
+
return () => {
|
|
8
|
+
const r = n.default ? n.default() : [], l = [], i = [];
|
|
9
|
+
return r.forEach((t) => {
|
|
10
|
+
t.toString(), t.props && t.props.icon ? l.push(t) : i.push(t);
|
|
11
|
+
}), e(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
class: [
|
|
15
|
+
"w-100",
|
|
16
|
+
"t-left",
|
|
17
|
+
"flex-nowrap",
|
|
18
|
+
"flex-v-center",
|
|
19
|
+
"flex",
|
|
20
|
+
"border-bottom-except-last"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
[
|
|
24
|
+
// Conditionally include the div for iconSlot
|
|
25
|
+
...l.length ? [
|
|
26
|
+
e(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
class: ["mn-b-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-shrink-0", "i-big", "bg-main", "radius-thin"]
|
|
30
|
+
},
|
|
31
|
+
l
|
|
32
|
+
)
|
|
33
|
+
] : [],
|
|
34
|
+
e(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
class: ["flex-child-1", "mn-b-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
|
|
38
|
+
},
|
|
39
|
+
[
|
|
40
|
+
e(
|
|
41
|
+
"span",
|
|
42
|
+
{
|
|
43
|
+
class: ["p-medium", "fw-medium"]
|
|
44
|
+
},
|
|
45
|
+
i
|
|
46
|
+
)
|
|
47
|
+
]
|
|
48
|
+
),
|
|
49
|
+
e(m, { class: "i-medium mn-r-medium flex-child-default", type: "chevron" })
|
|
50
|
+
]
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
a as default
|
|
57
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ref as u, watch as y, createElementBlock as a, openBlock as o, Fragment as _, createElementVNode as i, createVNode as m, normalizeClass as b, createCommentVNode as p, toDisplayString as s, Transition as w, withCtx as k } from "vue";
|
|
2
|
+
import C from "axios";
|
|
3
|
+
import U from "./martyrs.es44.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import $ from "./martyrs.es46.js";
|
|
6
|
+
const F = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "t-transp mn-r-small"
|
|
9
|
+
}, N = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "flex-nowrap flex w-100 flex-v-center"
|
|
12
|
+
}, R = ["href"], S = {
|
|
13
|
+
key: 2,
|
|
14
|
+
class: "w-100"
|
|
15
|
+
}, B = ["placeholder", "multiple"], D = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "mn-t-thin mn-b-thin invalid-feedback"
|
|
18
|
+
}, I = {
|
|
19
|
+
__name: "Upload",
|
|
20
|
+
props: {
|
|
21
|
+
field: String,
|
|
22
|
+
label: null,
|
|
23
|
+
type: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "file"
|
|
26
|
+
},
|
|
27
|
+
placeholder: "Upload a file",
|
|
28
|
+
validation: !1,
|
|
29
|
+
uploadPath: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "/files"
|
|
32
|
+
},
|
|
33
|
+
multiple: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: ["update:field", "focus", "blur", "file-change"],
|
|
39
|
+
setup(e, { emit: h }) {
|
|
40
|
+
const r = h, n = e, t = u(n.field);
|
|
41
|
+
u(null), y(() => n.field, (l) => {
|
|
42
|
+
t.value = l;
|
|
43
|
+
});
|
|
44
|
+
async function v(l) {
|
|
45
|
+
let c = l.target.files[0], d = new FormData();
|
|
46
|
+
d.append("file", c);
|
|
47
|
+
try {
|
|
48
|
+
let x = await C.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/${n.type}?folderName=${encodeURIComponent(n.uploadPath)}`, d, {
|
|
49
|
+
headers: {
|
|
50
|
+
"Content-Type": "multipart/form-data"
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
t.value = x.data[0].filepath, r("file-change", t.value);
|
|
54
|
+
} catch (f) {
|
|
55
|
+
console.error(f);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const g = () => {
|
|
59
|
+
t.value = null, r("update:field", null), r("file-change", null);
|
|
60
|
+
};
|
|
61
|
+
return (l, c) => (o(), a(_, null, [
|
|
62
|
+
i("div", {
|
|
63
|
+
class: b([[l.$attrs.class, { "bg-fourth-nano": e.validation }], "flex-center flex-nowrap flex"])
|
|
64
|
+
}, [
|
|
65
|
+
e.label ? (o(), a("div", F, [
|
|
66
|
+
i("span", null, s(e.label), 1)
|
|
67
|
+
])) : p("", !0),
|
|
68
|
+
t.value ? (o(), a("div", N, [
|
|
69
|
+
i("a", {
|
|
70
|
+
href: t.value,
|
|
71
|
+
class: "w-100",
|
|
72
|
+
target: "_blank"
|
|
73
|
+
}, s(t.value), 9, R),
|
|
74
|
+
m(U, {
|
|
75
|
+
onClick: g,
|
|
76
|
+
class: "cursor-pointer t-center flex-center flex radius-extra i-medium bg-red pd-micro"
|
|
77
|
+
})
|
|
78
|
+
])) : (o(), a("div", S, [
|
|
79
|
+
i("input", {
|
|
80
|
+
onChange: v,
|
|
81
|
+
type: "file",
|
|
82
|
+
class: "w-100",
|
|
83
|
+
placeholder: e.placeholder,
|
|
84
|
+
multiple: e.multiple,
|
|
85
|
+
id: "photo",
|
|
86
|
+
name: "photo"
|
|
87
|
+
}, null, 40, B)
|
|
88
|
+
]))
|
|
89
|
+
], 2),
|
|
90
|
+
m(w, {
|
|
91
|
+
mode: "out-in",
|
|
92
|
+
name: "fade"
|
|
93
|
+
}, {
|
|
94
|
+
default: k(() => [
|
|
95
|
+
e.validation ? (o(), a("div", D, " * " + s(e.validation.message), 1)) : p("", !0)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
], 64));
|
|
100
|
+
}
|
|
101
|
+
}, z = /* @__PURE__ */ $(I, [["__scopeId", "data-v-efdb42f1"]]);
|
|
102
|
+
export {
|
|
103
|
+
z as default
|
|
104
|
+
};
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ref as f, computed as R, watch as z, createElementBlock as l, openBlock as o, normalizeClass as L, createElementVNode as t, createCommentVNode as U, withModifiers as b, createVNode as c, toDisplayString as x } from "vue";
|
|
2
|
+
import N from "axios";
|
|
3
|
+
import S from "./martyrs.es35.js";
|
|
4
|
+
import g from "./martyrs.es68.js";
|
|
5
|
+
import T from "./martyrs.es69.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import E from "./martyrs.es46.js";
|
|
8
|
+
const F = ["src"], P = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "flex-v-center pos-relative z-index-2 flex-h-center flex w-100 h-100 radius-small bg-second"
|
|
11
|
+
}, $ = { class: "z-index-2 pos-relative hover-controls pos-absolute w-100 h-100 flex-v-center flex-h-center flex" }, B = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "hover-upload-icon"
|
|
14
|
+
}, V = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "hover-buttons flex gap-small"
|
|
17
|
+
}, j = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "z-index-2 loading-overlay pos-absolute w-100 h-100 flex-v-center flex-h-center flex"
|
|
20
|
+
}, G = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "upload-text-block flex flex-column"
|
|
23
|
+
}, M = { class: "mn-b-small fw-medium" }, A = { class: "mn-b-medium t-transp" }, q = { key: 0 }, J = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "flex gap-thin"
|
|
26
|
+
}, O = {
|
|
27
|
+
__name: "UploadImage",
|
|
28
|
+
props: {
|
|
29
|
+
uploadPath: {
|
|
30
|
+
type: String,
|
|
31
|
+
required: !0
|
|
32
|
+
},
|
|
33
|
+
photo: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: null
|
|
36
|
+
},
|
|
37
|
+
text: {
|
|
38
|
+
type: [Object, Boolean],
|
|
39
|
+
default: null
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
emits: ["update:photo", "error"],
|
|
43
|
+
setup(r, { emit: I }) {
|
|
44
|
+
const a = f(null), d = f(null), n = f(null), m = f(!1), s = r, v = I, h = R(() => {
|
|
45
|
+
const e = {
|
|
46
|
+
title: "Upload Image",
|
|
47
|
+
subtitle: "Drag & drop your image here or click button. Supported: JPG, PNG, GIF. Max size: 2MB",
|
|
48
|
+
buttonText: "Choose Image"
|
|
49
|
+
};
|
|
50
|
+
return s.text === !0 ? e : typeof s.text == "object" && s.text !== null ? {
|
|
51
|
+
title: s.text.title || e.title,
|
|
52
|
+
subtitle: s.text.subtitle || e.subtitle,
|
|
53
|
+
buttonText: s.text.buttonText || e.buttonText
|
|
54
|
+
} : e;
|
|
55
|
+
});
|
|
56
|
+
z(s, ({ photo: e }) => {
|
|
57
|
+
e && (a.value = e);
|
|
58
|
+
});
|
|
59
|
+
function p() {
|
|
60
|
+
d.value.click();
|
|
61
|
+
}
|
|
62
|
+
async function w(e) {
|
|
63
|
+
let i = e.target.files[0];
|
|
64
|
+
if (!i) {
|
|
65
|
+
console.error("No file selected");
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const k = new FileReader();
|
|
69
|
+
k.onload = (u) => {
|
|
70
|
+
n.value = u.target.result;
|
|
71
|
+
}, k.readAsDataURL(i);
|
|
72
|
+
let y = new FormData();
|
|
73
|
+
y.append("file", i), console.log("Sending file:", i.name), m.value = !0;
|
|
74
|
+
try {
|
|
75
|
+
let C = await N.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/multiple?folderName=${encodeURIComponent(s.uploadPath)}`, y);
|
|
76
|
+
console.log("Upload response:", C), a.value = C.data[0].filepath, n.value = null, v("update:photo", a.value);
|
|
77
|
+
} catch (u) {
|
|
78
|
+
v("error", u), console.error("Upload error:", u), n.value = null;
|
|
79
|
+
} finally {
|
|
80
|
+
m.value = !1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function D(e) {
|
|
84
|
+
e.preventDefault(), w({
|
|
85
|
+
target: {
|
|
86
|
+
files: e.dataTransfer.files
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function _() {
|
|
91
|
+
a.value = null, n.value = null, v("update:photo", null), d.value && (d.value.value = "");
|
|
92
|
+
}
|
|
93
|
+
return (e, i) => (o(), l("div", {
|
|
94
|
+
class: L(["upload-image-wrapper flex-v-center flex-nowrap flex gap-small", { "with-text": r.text }])
|
|
95
|
+
}, [
|
|
96
|
+
t("div", {
|
|
97
|
+
onClick: p,
|
|
98
|
+
onDrop: D,
|
|
99
|
+
onDragover: i[0] || (i[0] = b(() => {
|
|
100
|
+
}, ["prevent"])),
|
|
101
|
+
class: "pos-relative radius-small br-1px br-black-transp-10 h-100 aspect-1x1 flex-v-center flex-h-center flex cursor-pointer"
|
|
102
|
+
}, [
|
|
103
|
+
a.value || r.photo || n.value ? (o(), l("img", {
|
|
104
|
+
key: 0,
|
|
105
|
+
loading: "lazy",
|
|
106
|
+
src: n.value || (e.FILE_SERVER_URL || "") + (a.value || r.photo),
|
|
107
|
+
alt: "Uploaded image",
|
|
108
|
+
class: "pos-absolute radius-small o-hidden z-index-1 w-100 h-100 object-fit-cover"
|
|
109
|
+
}, null, 8, F)) : (o(), l("div", P, [
|
|
110
|
+
c(g, {
|
|
111
|
+
class: "i-medium upload-icon",
|
|
112
|
+
fill: "rgb(var(--white))"
|
|
113
|
+
})
|
|
114
|
+
])),
|
|
115
|
+
t("div", $, [
|
|
116
|
+
!a.value && !r.photo && !n.value ? (o(), l("div", B, [
|
|
117
|
+
c(g, {
|
|
118
|
+
class: "i-medium",
|
|
119
|
+
fill: "rgb(var(--white))"
|
|
120
|
+
})
|
|
121
|
+
])) : (o(), l("div", V, [
|
|
122
|
+
t("button", {
|
|
123
|
+
onClick: b(p, ["stop"]),
|
|
124
|
+
class: "hover-button radius-small pd-thin bg-main t-white br-none cursor-pointer"
|
|
125
|
+
}, [
|
|
126
|
+
c(g, {
|
|
127
|
+
class: "i-medium",
|
|
128
|
+
fill: "rgb(var(--white))"
|
|
129
|
+
})
|
|
130
|
+
]),
|
|
131
|
+
t("button", {
|
|
132
|
+
onClick: b(_, ["stop"]),
|
|
133
|
+
class: "hover-button radius-small pd-thin bg-danger t-white br-none cursor-pointer"
|
|
134
|
+
}, [
|
|
135
|
+
c(T, {
|
|
136
|
+
class: "i-medium",
|
|
137
|
+
fill: "rgb(var(--white))"
|
|
138
|
+
})
|
|
139
|
+
])
|
|
140
|
+
]))
|
|
141
|
+
]),
|
|
142
|
+
m.value ? (o(), l("div", j, [
|
|
143
|
+
c(S, { centered: !1 })
|
|
144
|
+
])) : U("", !0),
|
|
145
|
+
t("input", {
|
|
146
|
+
type: "file",
|
|
147
|
+
name: "file",
|
|
148
|
+
ref_key: "fileInput",
|
|
149
|
+
ref: d,
|
|
150
|
+
onChange: w,
|
|
151
|
+
style: { display: "none" }
|
|
152
|
+
}, null, 544)
|
|
153
|
+
], 32),
|
|
154
|
+
r.text ? (o(), l("div", G, [
|
|
155
|
+
t("span", M, x(h.value.title), 1),
|
|
156
|
+
t("span", A, x(h.value.subtitle), 1),
|
|
157
|
+
!a.value && !r.photo && !n.value ? (o(), l("div", q, [
|
|
158
|
+
t("button", {
|
|
159
|
+
onClick: p,
|
|
160
|
+
class: "button button-small w-max bg-main t-black cursor-pointer"
|
|
161
|
+
}, x(h.value.buttonText), 1)
|
|
162
|
+
])) : (o(), l("div", J, [
|
|
163
|
+
t("button", {
|
|
164
|
+
onClick: p,
|
|
165
|
+
class: "button button-small w-max bg-second t-white cursor-pointer"
|
|
166
|
+
}, " Upload "),
|
|
167
|
+
t("button", {
|
|
168
|
+
onClick: _,
|
|
169
|
+
class: "button button-small w-max bg-red t-white cursor-pointer"
|
|
170
|
+
}, " Delete ")
|
|
171
|
+
]))
|
|
172
|
+
])) : U("", !0)
|
|
173
|
+
], 2));
|
|
174
|
+
}
|
|
175
|
+
}, ee = /* @__PURE__ */ E(O, [["__scopeId", "data-v-24b590ef"]]);
|
|
176
|
+
export {
|
|
177
|
+
ee as default
|
|
178
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ref as r, createElementBlock as o, openBlock as t, withModifiers as v, createVNode as d, createElementVNode as T, Transition as C, withCtx as D, createBlock as I, createCommentVNode as a, toDisplayString as f } from "vue";
|
|
2
|
+
import F from "axios";
|
|
3
|
+
import B from "./martyrs.es35.js";
|
|
4
|
+
import N from "./martyrs.es68.js";
|
|
5
|
+
import { useStore as P } from "./martyrs.es71.js";
|
|
6
|
+
const _ = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "t-center"
|
|
9
|
+
}, j = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "mn-t-medium mn-b-medium d-block h3 t-black"
|
|
12
|
+
}, E = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "mn-b-small t-transp d-block"
|
|
15
|
+
}, M = {
|
|
16
|
+
key: 2,
|
|
17
|
+
class: "mn-b-small uppercase p-small fw-medium d-block"
|
|
18
|
+
}, U = {
|
|
19
|
+
key: 3,
|
|
20
|
+
class: "cursor-pointer mn-b-small br-2px br-main radius-extra pd-l-thin pd-r-thin t-main"
|
|
21
|
+
}, $ = {
|
|
22
|
+
key: 4,
|
|
23
|
+
class: "uppercase p-small fw-medium d-block"
|
|
24
|
+
}, z = {
|
|
25
|
+
__name: "UploadImageMultiple",
|
|
26
|
+
props: {
|
|
27
|
+
uploadPath: {
|
|
28
|
+
type: Object,
|
|
29
|
+
required: !0
|
|
30
|
+
},
|
|
31
|
+
options: {
|
|
32
|
+
type: Object,
|
|
33
|
+
default: () => ({
|
|
34
|
+
mimeType: ["jpg", "png", "gif"],
|
|
35
|
+
maxSize: 10 * 1024 * 1024,
|
|
36
|
+
showText: !0,
|
|
37
|
+
showTitle: !0
|
|
38
|
+
})
|
|
39
|
+
},
|
|
40
|
+
text: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default: () => ({
|
|
43
|
+
title: "Drag & Drop Your Images Here",
|
|
44
|
+
subtitle: "Files supported: JPG, PNG, GIF"
|
|
45
|
+
})
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
emits: ["update:images"],
|
|
49
|
+
setup(e, { emit: h }) {
|
|
50
|
+
const x = P(), m = r([]), i = r(!1), c = r(null), b = e, y = h;
|
|
51
|
+
function k() {
|
|
52
|
+
c.value.click();
|
|
53
|
+
}
|
|
54
|
+
async function p(s) {
|
|
55
|
+
i.value = !0;
|
|
56
|
+
let n = s.target.files, u = new FormData();
|
|
57
|
+
for (const l of n)
|
|
58
|
+
u.append("file", l);
|
|
59
|
+
try {
|
|
60
|
+
(await F.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/multiple?folderName=${encodeURIComponent(b.uploadPath)}`, u, {
|
|
61
|
+
headers: {
|
|
62
|
+
"Content-Type": "multipart/form-data"
|
|
63
|
+
}
|
|
64
|
+
})).data.forEach((w) => {
|
|
65
|
+
m.value.push(w.filepath);
|
|
66
|
+
}), y("update:images", m.value);
|
|
67
|
+
} catch (l) {
|
|
68
|
+
x.setError(l);
|
|
69
|
+
} finally {
|
|
70
|
+
i.value = !1;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function g(s) {
|
|
74
|
+
s.preventDefault(), p({
|
|
75
|
+
target: {
|
|
76
|
+
files: s.dataTransfer.files
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return (s, n) => (t(), o("div", {
|
|
81
|
+
onClick: k,
|
|
82
|
+
onDrop: g,
|
|
83
|
+
onDragover: n[0] || (n[0] = v(() => {
|
|
84
|
+
}, ["prevent"])),
|
|
85
|
+
class: "cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"
|
|
86
|
+
}, [
|
|
87
|
+
d(C, {
|
|
88
|
+
name: "moveFromTop",
|
|
89
|
+
mode: "out-in"
|
|
90
|
+
}, {
|
|
91
|
+
default: D(() => [
|
|
92
|
+
i.value ? (t(), I(B, {
|
|
93
|
+
key: 1,
|
|
94
|
+
class: "pos-absolute"
|
|
95
|
+
})) : (t(), o("div", _, [
|
|
96
|
+
d(N, {
|
|
97
|
+
style: { "max-height": "4rem" },
|
|
98
|
+
class: "w-100 mn-b-thin h-100",
|
|
99
|
+
fill: "rgb(var(--main))"
|
|
100
|
+
}),
|
|
101
|
+
e.options.showText || e.options.showTitle ? (t(), o("span", j, f(e.text.title), 1)) : a("", !0),
|
|
102
|
+
e.options.showText ? (t(), o("span", E, f(e.text.subtitle), 1)) : a("", !0),
|
|
103
|
+
e.options.showText ? (t(), o("span", M, "or")) : a("", !0),
|
|
104
|
+
e.options.showText ? (t(), o("button", U, "Browse Files")) : a("", !0),
|
|
105
|
+
e.options.showText ? (t(), o("span", $, "Maximum size: 2MB")) : a("", !0)
|
|
106
|
+
]))
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
}),
|
|
110
|
+
T("input", {
|
|
111
|
+
type: "file",
|
|
112
|
+
ref_key: "fileInput",
|
|
113
|
+
ref: c,
|
|
114
|
+
onChange: p,
|
|
115
|
+
multiple: "",
|
|
116
|
+
style: { display: "none" }
|
|
117
|
+
}, null, 544)
|
|
118
|
+
], 32));
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
export {
|
|
122
|
+
z as default
|
|
123
|
+
};
|