@ozdao/martyrs 0.2.602 → 0.2.603
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +2 -2
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +42 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +9 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +28 -18
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +17 -17
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +118 -59
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +74 -54
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -5
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +7 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +12 -12
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es100.js +33 -0
- package/dist/martyrs.es102.js +39 -0
- package/dist/martyrs.es103.js +31 -0
- package/dist/martyrs.es105.js +27 -0
- package/dist/martyrs.es106.js +8 -0
- package/dist/martyrs.es107.js +9 -0
- package/dist/martyrs.es108.js +79 -0
- package/dist/martyrs.es109.js +7 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/{web-n_ivHO3v.js → martyrs.es110.js} +1 -1
- package/dist/martyrs.es111.js +327 -0
- package/dist/martyrs.es112.js +121 -0
- package/dist/martyrs.es115.js +4 -0
- package/dist/martyrs.es116.js +25 -0
- package/dist/martyrs.es117.js +7 -0
- package/dist/martyrs.es118.js +10 -0
- package/dist/martyrs.es119.js +169 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +460 -0
- package/dist/martyrs.es121.js +42 -0
- package/dist/martyrs.es122.js +12 -0
- package/dist/martyrs.es123.js +52 -0
- package/dist/martyrs.es124.js +14 -0
- package/dist/martyrs.es125.js +47 -0
- package/dist/martyrs.es126.js +7 -0
- package/dist/martyrs.es127.js +131 -0
- package/dist/martyrs.es128.js +103 -0
- package/dist/martyrs.es129.js +89 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +40 -0
- package/dist/martyrs.es131.js +14 -0
- package/dist/martyrs.es132.js +42 -0
- package/dist/martyrs.es133.js +11 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +119 -0
- package/dist/martyrs.es136.js +20 -0
- package/dist/martyrs.es137.js +18 -0
- package/dist/martyrs.es138.js +35 -0
- package/dist/martyrs.es139.js +12 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +23 -0
- package/dist/martyrs.es141.js +12 -0
- package/dist/martyrs.es142.js +11 -0
- package/dist/martyrs.es143.js +47 -0
- package/dist/martyrs.es144.js +483 -0
- package/dist/martyrs.es145.js +8 -0
- package/dist/martyrs.es146.js +4 -0
- package/dist/martyrs.es147.js +14 -0
- package/dist/martyrs.es148.js +33 -0
- package/dist/martyrs.es149.js +19 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es150.js +22 -0
- package/dist/martyrs.es151.js +31 -0
- package/dist/martyrs.es152.js +23 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +7 -0
- package/dist/martyrs.es93.js +35 -0
- package/dist/martyrs.es95.js +41 -0
- package/dist/martyrs.es96.js +59 -0
- package/dist/martyrs.es97.js +123 -0
- package/dist/martyrs.es98.js +43 -0
- package/dist/martyrs.es99.js +86 -0
- package/dist/music.server.js +11 -11
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { ref as b, computed as i, watch as M, onMounted as Re, createElementBlock as y, openBlock as w, withKeys as L, normalizeClass as X, withModifiers as c, renderSlot as f, createElementVNode as v, createVNode as re, createCommentVNode as S, withDirectives as A, Fragment as ce, renderList as de, toDisplayString as x, vShow as K, Transition as ve, withCtx as pe, normalizeStyle as Y, createTextVNode as D, nextTick as ze } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const je = ["tabindex", "onKeydown", "onKeypress", "aria-owns"], qe = { class: "multiselect__tags-wrap" }, Ie = { class: "multiselect__tag" }, Je = ["textContent"], Qe = ["onKeypress", "onMousedown"], Ue = ["textContent"], We = { class: "multiselect__spinner" }, Xe = ["name", "id", "placeholder", "value", "disabled", "tabindex", "onKeydown", "onKeypress", "aria-controls"], Ye = ["id"], Ze = { key: 0 }, el = { class: "multiselect__option" }, ll = ["id", "role"], tl = ["onClick", "onMouseenter", "data-select", "data-selected", "data-deselect"], al = ["data-select", "data-deselect", "onMouseenter", "onMousedown"], sl = { class: "multiselect__option" }, nl = { class: "multiselect__option" }, il = {
|
|
4
|
+
__name: "SelectMulti",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: { type: null, default: () => [] },
|
|
7
|
+
options: { type: Array, required: !0 },
|
|
8
|
+
multiple: { type: Boolean, default: !1 },
|
|
9
|
+
trackBy: String,
|
|
10
|
+
label: String,
|
|
11
|
+
searchable: { type: Boolean, default: !0 },
|
|
12
|
+
clearOnSelect: { type: Boolean, default: !0 },
|
|
13
|
+
hideSelected: { type: Boolean, default: !1 },
|
|
14
|
+
placeholder: { type: String, default: "Select option" },
|
|
15
|
+
allowEmpty: { type: Boolean, default: !0 },
|
|
16
|
+
resetAfter: { type: Boolean, default: !1 },
|
|
17
|
+
closeOnSelect: { type: Boolean, default: !0 },
|
|
18
|
+
customLabel: {
|
|
19
|
+
type: Function,
|
|
20
|
+
default: (s, P) => !s && s !== 0 ? "" : P ? s[P] : s
|
|
21
|
+
},
|
|
22
|
+
taggable: { type: Boolean, default: !1 },
|
|
23
|
+
tagPlaceholder: { type: String, default: "Press enter to create a tag" },
|
|
24
|
+
tagPosition: { type: String, default: "top" },
|
|
25
|
+
max: { type: [Number, Boolean], default: !1 },
|
|
26
|
+
id: { default: null },
|
|
27
|
+
optionsLimit: { type: Number, default: 1e3 },
|
|
28
|
+
groupValues: String,
|
|
29
|
+
groupLabel: String,
|
|
30
|
+
groupSelect: { type: Boolean, default: !1 },
|
|
31
|
+
blockKeys: { type: Array, default: () => [] },
|
|
32
|
+
preserveSearch: { type: Boolean, default: !1 },
|
|
33
|
+
preselectFirst: { type: Boolean, default: !1 },
|
|
34
|
+
preventAutofocus: { type: Boolean, default: !1 },
|
|
35
|
+
internalSearch: { type: Boolean, default: !0 },
|
|
36
|
+
name: { type: String, default: "" },
|
|
37
|
+
selectLabel: { type: String, default: "Press enter to select" },
|
|
38
|
+
selectGroupLabel: { type: String, default: "Press enter to select group" },
|
|
39
|
+
selectedLabel: { type: String, default: "Selected" },
|
|
40
|
+
deselectLabel: { type: String, default: "Press enter to remove" },
|
|
41
|
+
deselectGroupLabel: { type: String, default: "Press enter to deselect group" },
|
|
42
|
+
showLabels: { type: Boolean, default: !0 },
|
|
43
|
+
limit: { type: Number, default: 99999 },
|
|
44
|
+
maxHeight: { type: Number, default: 300 },
|
|
45
|
+
limitText: { type: Function, default: (s) => `and ${s} more` },
|
|
46
|
+
loading: { type: Boolean, default: !1 },
|
|
47
|
+
disabled: { type: Boolean, default: !1 },
|
|
48
|
+
openDirection: { type: String, default: "" },
|
|
49
|
+
showNoOptions: { type: Boolean, default: !0 },
|
|
50
|
+
showNoResults: { type: Boolean, default: !0 },
|
|
51
|
+
tabindex: { type: Number, default: 0 },
|
|
52
|
+
showPointer: { type: Boolean, default: !0 },
|
|
53
|
+
optionHeight: { type: Number, default: 40 }
|
|
54
|
+
},
|
|
55
|
+
emits: ["open", "search-change", "close", "select", "update:modelValue", "remove", "tag"],
|
|
56
|
+
setup(s, { emit: P }) {
|
|
57
|
+
const e = s, g = P, B = b(null), C = b(null), $ = b(null), fe = b(null), r = b(""), h = b(!1), R = b("below"), H = b(e.maxHeight), u = b(0), O = b(!1), Z = (l) => l === 0 ? !1 : Array.isArray(l) && l.length === 0 ? !0 : !l, ge = (l, a) => (l === void 0 && (l = "undefined"), l === null && (l = "null"), l === !1 && (l = "false"), l.toString().toLowerCase().indexOf(a.trim()) !== -1), ee = (l, a, t, n) => a ? l.filter((p) => ge(n(p, t), a)).sort((p, U) => n(p, t).length - n(U, t).length) : l, z = (l, a) => (t) => t.reduce((n, p) => p[l]?.length ? (n.push({ $groupLabel: p[a], $isLabel: !0 }), n.concat(p[l])) : n, []), he = (l) => l.filter((a) => !a.$isLabel), me = (l, a, t, n, p) => (U) => U.map((W) => {
|
|
58
|
+
if (!W[t])
|
|
59
|
+
return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."), [];
|
|
60
|
+
const ie = ee(W[t], l, a, p);
|
|
61
|
+
return ie.length ? { [n]: W[n], [t]: ie } : [];
|
|
62
|
+
}), le = (...l) => (a) => l.reduce((t, n) => n(t), a), o = i(() => {
|
|
63
|
+
const l = e.modelValue;
|
|
64
|
+
return l || l === 0 ? Array.isArray(l) ? l : [l] : [];
|
|
65
|
+
}), d = i(() => {
|
|
66
|
+
const l = r.value || "", a = l.toLowerCase().trim();
|
|
67
|
+
let t = e.options.concat();
|
|
68
|
+
return e.internalSearch ? t = e.groupValues ? Me(t, a, e.label) : ee(t, a, e.label, e.customLabel) : t = e.groupValues ? z(e.groupValues, e.groupLabel)(t) : t, t = e.hideSelected ? t.filter((n) => !k(n)) : t, e.taggable && a.length && !De(a) && (e.tagPosition === "bottom" ? t.push({ isTag: !0, label: l }) : t.unshift({ isTag: !0, label: l })), t.slice(0, e.optionsLimit);
|
|
69
|
+
}), j = i(
|
|
70
|
+
() => e.trackBy ? o.value.map((l) => l[e.trackBy]) : o.value
|
|
71
|
+
), be = i(() => (e.groupValues ? Ae(e.options) : e.options).map((a) => e.customLabel(a, e.label).toString().toLowerCase())), ye = i(
|
|
72
|
+
() => e.multiple ? e.searchable ? "" : e.placeholder : o.value.length ? F(o.value[0]) : e.searchable ? "" : e.placeholder
|
|
73
|
+
), te = i(() => e.groupValues && e.groupLabel && e.groupSelect), we = i(
|
|
74
|
+
() => (q.value || q.value === 0) && (!h.value || !e.searchable) && !N.value.length
|
|
75
|
+
), Le = i(
|
|
76
|
+
() => !o.value.length && (!e.searchable || !h.value)
|
|
77
|
+
), N = i(
|
|
78
|
+
() => e.multiple ? o.value.slice(0, e.limit) : []
|
|
79
|
+
), q = i(() => o.value[0]), Se = i(() => e.showLabels ? e.deselectLabel : ""), $e = i(() => e.showLabels ? e.deselectGroupLabel : ""), xe = i(() => e.showLabels ? e.selectLabel : ""), Ve = i(() => e.showLabels ? e.selectGroupLabel : ""), Be = i(() => e.showLabels ? e.selectedLabel : ""), Oe = i(() => e.searchable || e.multiple && e.modelValue?.length ? h.value ? { width: "100%" } : { width: "0", position: "absolute", padding: "0" } : ""), ke = i(
|
|
80
|
+
() => e.options.length ? { display: "inline-block" } : { display: "block" }
|
|
81
|
+
), Te = i(() => ["above", "top"].includes(e.openDirection) ? !0 : ["below", "bottom"].includes(e.openDirection) ? !1 : R.value === "above"), E = i(() => u.value * e.optionHeight), ae = i(() => H.value / e.optionHeight), Me = (l, a, t) => le(
|
|
82
|
+
me(a, t, e.groupValues, e.groupLabel, e.customLabel),
|
|
83
|
+
z(e.groupValues, e.groupLabel)
|
|
84
|
+
)(l), Ae = (l) => le(
|
|
85
|
+
z(e.groupValues, e.groupLabel),
|
|
86
|
+
he
|
|
87
|
+
)(l), Ke = (l) => {
|
|
88
|
+
r.value = l;
|
|
89
|
+
}, De = (l) => e.options ? be.value.indexOf(l) > -1 : !1, k = (l) => {
|
|
90
|
+
const a = e.trackBy ? l[e.trackBy] : l;
|
|
91
|
+
return j.value.indexOf(a) > -1;
|
|
92
|
+
}, I = (l) => !!l?.$isDisabled, F = (l) => {
|
|
93
|
+
if (Z(l)) return "";
|
|
94
|
+
if (l.isTag) return l.label;
|
|
95
|
+
if (l.$isLabel) return l.$groupLabel;
|
|
96
|
+
const a = e.customLabel(l, e.label);
|
|
97
|
+
return Z(a) ? "" : a;
|
|
98
|
+
}, J = (l, a) => {
|
|
99
|
+
if (l.$isLabel && e.groupSelect) {
|
|
100
|
+
se(l);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (!(e.blockKeys.indexOf(a) !== -1 || e.disabled || l.$isDisabled || l.$isLabel) && !(e.max && e.multiple && o.value.length === e.max) && !(a === "Tab" && !O.value)) {
|
|
104
|
+
if (l.isTag)
|
|
105
|
+
g("tag", l.label, e.id), r.value = "", e.closeOnSelect && !e.multiple && m();
|
|
106
|
+
else {
|
|
107
|
+
if (k(l)) {
|
|
108
|
+
a !== "Tab" && V(l);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
g("update:modelValue", e.multiple ? o.value.concat([l]) : l), g("select", l, e.id), e.clearOnSelect && (r.value = "");
|
|
112
|
+
}
|
|
113
|
+
e.closeOnSelect && m();
|
|
114
|
+
}
|
|
115
|
+
}, se = (l) => {
|
|
116
|
+
const a = e.options.find(
|
|
117
|
+
(t) => t[e.groupLabel] === l.$groupLabel
|
|
118
|
+
);
|
|
119
|
+
if (a) {
|
|
120
|
+
if (ne(a)) {
|
|
121
|
+
g("remove", a[e.groupValues], e.id);
|
|
122
|
+
const t = o.value.filter(
|
|
123
|
+
(n) => a[e.groupValues].indexOf(n) === -1
|
|
124
|
+
);
|
|
125
|
+
g("update:modelValue", t);
|
|
126
|
+
} else {
|
|
127
|
+
let t = a[e.groupValues].filter(
|
|
128
|
+
(n) => !(I(n) || k(n))
|
|
129
|
+
);
|
|
130
|
+
e.max && t.splice(e.max - o.value.length), g("select", t, e.id), g("update:modelValue", o.value.concat(t));
|
|
131
|
+
}
|
|
132
|
+
e.closeOnSelect && m();
|
|
133
|
+
}
|
|
134
|
+
}, ne = (l) => l[e.groupValues].every((a) => k(a) || I(a)), Pe = (l) => l[e.groupValues].every(I), V = (l, a = !0) => {
|
|
135
|
+
if (e.disabled || l?.$isDisabled) return;
|
|
136
|
+
if (!e.allowEmpty && o.value.length <= 1) {
|
|
137
|
+
m();
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const t = typeof l == "object" ? j.value.indexOf(l[e.trackBy]) : j.value.indexOf(l), n = e.multiple ? o.value.slice(0, t).concat(o.value.slice(t + 1)) : null;
|
|
141
|
+
g("update:modelValue", n), g("remove", l, e.id), e.closeOnSelect && a && m();
|
|
142
|
+
}, Ce = () => {
|
|
143
|
+
e.blockKeys.indexOf("Delete") === -1 && r.value.length === 0 && Array.isArray(o.value) && o.value.length && V(o.value[o.value.length - 1], !1);
|
|
144
|
+
}, G = () => {
|
|
145
|
+
h.value || e.disabled || (He(), e.groupValues && u.value === 0 && d.value.length && (u.value = 1), h.value = !0, e.searchable ? (e.preserveSearch || (r.value = ""), e.preventAutofocus || ze(() => C.value?.focus())) : e.preventAutofocus || B.value?.focus(), g("open", e.id));
|
|
146
|
+
}, m = () => {
|
|
147
|
+
h.value && (h.value = !1, e.searchable ? C.value?.blur() : B.value?.blur(), e.preserveSearch || (r.value = ""), g("close", Ne(), e.id));
|
|
148
|
+
}, _ = () => {
|
|
149
|
+
h.value ? m() : G();
|
|
150
|
+
}, He = () => {
|
|
151
|
+
if (typeof window > "u") return;
|
|
152
|
+
const l = B.value.getBoundingClientRect().top, a = window.innerHeight - B.value.getBoundingClientRect().bottom;
|
|
153
|
+
a > e.maxHeight || a > l || ["below", "bottom"].includes(e.openDirection) ? (R.value = "below", H.value = Math.min(a - 40, e.maxHeight)) : (R.value = "above", H.value = Math.min(l - 40, e.maxHeight));
|
|
154
|
+
}, Ne = () => e.multiple ? o.value : o.value.length === 0 ? null : o.value[0], Ee = (l, a) => ({
|
|
155
|
+
"multiselect__option--highlight": l === u.value && e.showPointer,
|
|
156
|
+
"multiselect__option--selected": k(a)
|
|
157
|
+
}), Fe = (l, a) => {
|
|
158
|
+
if (!e.groupSelect)
|
|
159
|
+
return ["multiselect__option--disabled", { "multiselect__option--group": a.$isLabel }];
|
|
160
|
+
const t = e.options.find(
|
|
161
|
+
(n) => n[e.groupLabel] === a.$groupLabel
|
|
162
|
+
);
|
|
163
|
+
return t && !Pe(t) ? [
|
|
164
|
+
"multiselect__option--group",
|
|
165
|
+
{ "multiselect__option--highlight": l === u.value && e.showPointer },
|
|
166
|
+
{ "multiselect__option--group-selected": ne(t) }
|
|
167
|
+
] : "multiselect__option--disabled";
|
|
168
|
+
}, oe = ({ key: l } = "Enter") => {
|
|
169
|
+
d.value.length > 0 && J(d.value[u.value], l), Ge();
|
|
170
|
+
}, T = () => {
|
|
171
|
+
u.value < d.value.length - 1 && (u.value++, $.value.scrollTop <= E.value - (ae.value - 1) * e.optionHeight && ($.value.scrollTop = E.value - (ae.value - 1) * e.optionHeight), d.value[u.value]?.$isLabel && !e.groupSelect && T()), O.value = !0;
|
|
172
|
+
}, Q = () => {
|
|
173
|
+
u.value > 0 ? (u.value--, $.value.scrollTop >= E.value && ($.value.scrollTop = E.value), d.value[u.value]?.$isLabel && !e.groupSelect && Q()) : d.value[u.value]?.$isLabel && !e.groupSelect && T(), O.value = !0;
|
|
174
|
+
}, Ge = () => {
|
|
175
|
+
e.closeOnSelect && (u.value = 0, $.value && ($.value.scrollTop = 0));
|
|
176
|
+
}, _e = () => {
|
|
177
|
+
u.value >= d.value.length - 1 && (u.value = d.value.length ? d.value.length - 1 : 0), d.value.length > 0 && d.value[u.value]?.$isLabel && !e.groupSelect && T();
|
|
178
|
+
}, ue = (l) => {
|
|
179
|
+
u.value = l, O.value = !0;
|
|
180
|
+
};
|
|
181
|
+
return M(() => o.value, () => {
|
|
182
|
+
e.resetAfter && o.value.length && (r.value = "", g("update:modelValue", e.multiple ? [] : null));
|
|
183
|
+
}, { deep: !0 }), M(r, () => g("search-change", r.value)), M(d, () => _e()), M(h, () => O.value = !1), M(u, () => {
|
|
184
|
+
C.value?.setAttribute("aria-activedescendant", `${e.id}-${u.value}`);
|
|
185
|
+
}), Re(() => {
|
|
186
|
+
!e.multiple && e.max && console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."), e.preselectFirst && !o.value.length && e.options.length && J(d.value[0]);
|
|
187
|
+
}), (l, a) => (w(), y("div", {
|
|
188
|
+
ref_key: "multiselect",
|
|
189
|
+
ref: B,
|
|
190
|
+
tabindex: s.searchable ? -1 : s.tabindex,
|
|
191
|
+
class: X([{
|
|
192
|
+
"multiselect--active": h.value,
|
|
193
|
+
"multiselect--disabled": s.disabled,
|
|
194
|
+
"multiselect--above": Te.value,
|
|
195
|
+
"multiselect--has-options-group": te.value
|
|
196
|
+
}, "multiselect flex flex-v-center"]),
|
|
197
|
+
onFocus: G,
|
|
198
|
+
onBlur: a[2] || (a[2] = (t) => s.searchable ? !1 : m),
|
|
199
|
+
onKeydown: [
|
|
200
|
+
L(c(T, ["self", "prevent"]), ["down"]),
|
|
201
|
+
L(c(Q, ["self", "prevent"]), ["up"])
|
|
202
|
+
],
|
|
203
|
+
onKeypress: L(c(oe, ["stop", "self"]), ["enter", "tab"]),
|
|
204
|
+
onKeyup: L(m, ["esc"]),
|
|
205
|
+
role: "combobox",
|
|
206
|
+
"aria-owns": `listbox-${s.id}`
|
|
207
|
+
}, [
|
|
208
|
+
f(l.$slots, "caret", { toggle: _ }, () => [
|
|
209
|
+
v("div", {
|
|
210
|
+
onMousedown: c(_, ["prevent", "stop"]),
|
|
211
|
+
class: "multiselect__select"
|
|
212
|
+
}, null, 32)
|
|
213
|
+
]),
|
|
214
|
+
f(l.$slots, "clear", { search: r.value }),
|
|
215
|
+
v("div", {
|
|
216
|
+
ref_key: "tags",
|
|
217
|
+
ref: fe,
|
|
218
|
+
class: "multiselect__tags"
|
|
219
|
+
}, [
|
|
220
|
+
f(l.$slots, "selection", {
|
|
221
|
+
search: r.value,
|
|
222
|
+
remove: V,
|
|
223
|
+
values: N.value,
|
|
224
|
+
isOpen: h.value
|
|
225
|
+
}, () => [
|
|
226
|
+
A(v("div", qe, [
|
|
227
|
+
(w(!0), y(ce, null, de(N.value, (t, n) => f(l.$slots, "tag", {
|
|
228
|
+
key: n,
|
|
229
|
+
option: t,
|
|
230
|
+
search: r.value,
|
|
231
|
+
remove: V
|
|
232
|
+
}, () => [
|
|
233
|
+
v("span", Ie, [
|
|
234
|
+
v("span", {
|
|
235
|
+
textContent: x(F(t))
|
|
236
|
+
}, null, 8, Je),
|
|
237
|
+
v("i", {
|
|
238
|
+
tabindex: "1",
|
|
239
|
+
onKeypress: L(c((p) => V(t), ["prevent"]), ["enter"]),
|
|
240
|
+
onMousedown: c((p) => V(t), ["prevent"]),
|
|
241
|
+
class: "multiselect__tag-icon"
|
|
242
|
+
}, null, 40, Qe)
|
|
243
|
+
])
|
|
244
|
+
])), 128))
|
|
245
|
+
], 512), [
|
|
246
|
+
[K, N.value.length > 0]
|
|
247
|
+
]),
|
|
248
|
+
o.value?.length > s.limit ? f(l.$slots, "limit", { key: 0 }, () => [
|
|
249
|
+
v("strong", {
|
|
250
|
+
class: "multiselect__strong",
|
|
251
|
+
textContent: x(s.limitText(o.value.length - s.limit))
|
|
252
|
+
}, null, 8, Ue)
|
|
253
|
+
]) : S("", !0)
|
|
254
|
+
]),
|
|
255
|
+
re(ve, { name: "multiselect__loading" }, {
|
|
256
|
+
default: pe(() => [
|
|
257
|
+
f(l.$slots, "loading", {}, () => [
|
|
258
|
+
A(v("div", We, null, 512), [
|
|
259
|
+
[K, s.loading]
|
|
260
|
+
])
|
|
261
|
+
])
|
|
262
|
+
]),
|
|
263
|
+
_: 3
|
|
264
|
+
}),
|
|
265
|
+
s.searchable ? (w(), y("input", {
|
|
266
|
+
key: 0,
|
|
267
|
+
ref_key: "searchInput",
|
|
268
|
+
ref: C,
|
|
269
|
+
name: s.name,
|
|
270
|
+
id: s.id,
|
|
271
|
+
type: "text",
|
|
272
|
+
autocomplete: "off",
|
|
273
|
+
spellcheck: "false",
|
|
274
|
+
placeholder: s.placeholder,
|
|
275
|
+
style: Y(Oe.value),
|
|
276
|
+
value: r.value,
|
|
277
|
+
disabled: s.disabled,
|
|
278
|
+
tabindex: s.tabindex,
|
|
279
|
+
onInput: a[0] || (a[0] = (t) => Ke(t.target.value)),
|
|
280
|
+
onFocus: c(G, ["prevent"]),
|
|
281
|
+
onBlur: c(m, ["prevent"]),
|
|
282
|
+
onKeyup: L(m, ["esc"]),
|
|
283
|
+
onKeydown: [
|
|
284
|
+
L(c(T, ["prevent"]), ["down"]),
|
|
285
|
+
L(c(Q, ["prevent"]), ["up"]),
|
|
286
|
+
L(c(Ce, ["stop"]), ["delete"])
|
|
287
|
+
],
|
|
288
|
+
onKeypress: L(c(oe, ["prevent", "stop", "self"]), ["enter"]),
|
|
289
|
+
class: "multiselect__input",
|
|
290
|
+
"aria-controls": `listbox-${s.id}`
|
|
291
|
+
}, null, 44, Xe)) : S("", !0),
|
|
292
|
+
we.value ? (w(), y("span", {
|
|
293
|
+
key: 1,
|
|
294
|
+
class: "multiselect__single",
|
|
295
|
+
onMousedown: c(_, ["prevent"])
|
|
296
|
+
}, [
|
|
297
|
+
f(l.$slots, "singleLabel", { option: q.value }, () => [
|
|
298
|
+
D(x(ye.value), 1)
|
|
299
|
+
])
|
|
300
|
+
], 32)) : S("", !0),
|
|
301
|
+
Le.value ? (w(), y("span", {
|
|
302
|
+
key: 2,
|
|
303
|
+
class: "multiselect__placeholder",
|
|
304
|
+
onMousedown: c(_, ["prevent"])
|
|
305
|
+
}, [
|
|
306
|
+
f(l.$slots, "placeholder", {}, () => [
|
|
307
|
+
D(x(s.placeholder), 1)
|
|
308
|
+
])
|
|
309
|
+
], 32)) : S("", !0)
|
|
310
|
+
], 512),
|
|
311
|
+
re(ve, { name: "multiselect" }, {
|
|
312
|
+
default: pe(() => [
|
|
313
|
+
A(v("div", {
|
|
314
|
+
class: "multiselect__content-wrapper",
|
|
315
|
+
onFocus: G,
|
|
316
|
+
tabindex: "-1",
|
|
317
|
+
onMousedown: a[1] || (a[1] = c(() => {
|
|
318
|
+
}, ["prevent"])),
|
|
319
|
+
style: Y({ maxHeight: `${H.value}px` }),
|
|
320
|
+
ref_key: "list",
|
|
321
|
+
ref: $
|
|
322
|
+
}, [
|
|
323
|
+
v("ul", {
|
|
324
|
+
class: "multiselect__content",
|
|
325
|
+
style: Y(ke.value),
|
|
326
|
+
role: "listbox",
|
|
327
|
+
id: `listbox-${s.id}`
|
|
328
|
+
}, [
|
|
329
|
+
f(l.$slots, "beforeList"),
|
|
330
|
+
s.multiple && s.max === o.value.length ? (w(), y("li", Ze, [
|
|
331
|
+
v("span", el, [
|
|
332
|
+
f(l.$slots, "maxElements", {}, () => [
|
|
333
|
+
D(" Maximum of " + x(s.max) + " options selected. First remove a selected option to select another. ", 1)
|
|
334
|
+
])
|
|
335
|
+
])
|
|
336
|
+
])) : S("", !0),
|
|
337
|
+
!s.max || o.value.length < s.max ? (w(!0), y(ce, { key: 1 }, de(d.value, (t, n) => (w(), y("li", {
|
|
338
|
+
class: "multiselect__element",
|
|
339
|
+
key: n,
|
|
340
|
+
id: `${s.id}-${n}`,
|
|
341
|
+
role: t?.$isLabel || t?.$isDisabled ? null : "option"
|
|
342
|
+
}, [
|
|
343
|
+
t?.$isLabel || t?.$isDisabled ? S("", !0) : (w(), y("span", {
|
|
344
|
+
key: 0,
|
|
345
|
+
class: X([Ee(n, t), "multiselect__option"]),
|
|
346
|
+
onClick: c((p) => J(t), ["stop"]),
|
|
347
|
+
onMouseenter: c((p) => ue(n), ["self"]),
|
|
348
|
+
"data-select": t?.isTag ? s.tagPlaceholder : xe.value,
|
|
349
|
+
"data-selected": Be.value,
|
|
350
|
+
"data-deselect": Se.value
|
|
351
|
+
}, [
|
|
352
|
+
f(l.$slots, "option", {
|
|
353
|
+
option: t,
|
|
354
|
+
search: r.value,
|
|
355
|
+
index: n
|
|
356
|
+
}, () => [
|
|
357
|
+
v("span", null, x(F(t)), 1)
|
|
358
|
+
])
|
|
359
|
+
], 42, tl)),
|
|
360
|
+
t?.$isLabel || t?.$isDisabled ? (w(), y("span", {
|
|
361
|
+
key: 1,
|
|
362
|
+
"data-select": s.groupSelect && Ve.value,
|
|
363
|
+
"data-deselect": s.groupSelect && $e.value,
|
|
364
|
+
class: X([Fe(n, t), "multiselect__option"]),
|
|
365
|
+
onMouseenter: c((p) => s.groupSelect && ue(n), ["self"]),
|
|
366
|
+
onMousedown: c((p) => se(t), ["prevent"])
|
|
367
|
+
}, [
|
|
368
|
+
f(l.$slots, "option", {
|
|
369
|
+
option: t,
|
|
370
|
+
search: r.value,
|
|
371
|
+
index: n
|
|
372
|
+
}, () => [
|
|
373
|
+
v("span", null, x(F(t)), 1)
|
|
374
|
+
])
|
|
375
|
+
], 42, al)) : S("", !0)
|
|
376
|
+
], 8, ll))), 128)) : S("", !0),
|
|
377
|
+
A(v("li", null, [
|
|
378
|
+
v("span", sl, [
|
|
379
|
+
f(l.$slots, "noResult", { search: r.value }, () => [
|
|
380
|
+
a[3] || (a[3] = D(" No elements found. Consider changing the search query. "))
|
|
381
|
+
])
|
|
382
|
+
])
|
|
383
|
+
], 512), [
|
|
384
|
+
[K, s.showNoResults && d.value.length === 0 && r.value && !s.loading]
|
|
385
|
+
]),
|
|
386
|
+
A(v("li", null, [
|
|
387
|
+
v("span", nl, [
|
|
388
|
+
f(l.$slots, "noOptions", {}, () => [
|
|
389
|
+
a[4] || (a[4] = D("List is empty."))
|
|
390
|
+
])
|
|
391
|
+
])
|
|
392
|
+
], 512), [
|
|
393
|
+
[K, s.showNoOptions && (s.options.length === 0 || te.value && d.value.length === 0) && !r.value && !s.loading]
|
|
394
|
+
]),
|
|
395
|
+
f(l.$slots, "afterList")
|
|
396
|
+
], 12, Ye)
|
|
397
|
+
], 36), [
|
|
398
|
+
[K, h.value]
|
|
399
|
+
])
|
|
400
|
+
]),
|
|
401
|
+
_: 3
|
|
402
|
+
})
|
|
403
|
+
], 42, je));
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
export {
|
|
407
|
+
il as default
|
|
408
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import c, { getCountryCallingCode as m } from "./martyrs.es120.js";
|
|
2
|
+
import u from "./martyrs.es134.js";
|
|
3
|
+
import f from "./martyrs.es138.js";
|
|
4
|
+
import a from "./martyrs.es147.js";
|
|
5
|
+
function x(n, i, e, r) {
|
|
6
|
+
var o = i ? m(i, r) : e;
|
|
7
|
+
if (n.indexOf(o) === 0) {
|
|
8
|
+
r = new c(r), r.selectNumberingPlan(i, e);
|
|
9
|
+
var t = n.slice(o.length), C = f(t, r), g = C.nationalNumber, N = f(n, r), l = N.nationalNumber;
|
|
10
|
+
if (!u(l, r.nationalNumberPattern()) && u(g, r.nationalNumberPattern()) || a(l, r) === "TOO_LONG")
|
|
11
|
+
return {
|
|
12
|
+
countryCallingCode: o,
|
|
13
|
+
number: t
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
number: n
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
x as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
function F(l, i) {
|
|
2
|
+
if (l && i.numberingPlan.nationalPrefixForParsing()) {
|
|
3
|
+
var g = new RegExp("^(?:" + i.numberingPlan.nationalPrefixForParsing() + ")"), n = g.exec(l);
|
|
4
|
+
if (n) {
|
|
5
|
+
var r, P, v = n.length - 1, e = v > 0 && n[v];
|
|
6
|
+
if (i.nationalPrefixTransformRule() && e)
|
|
7
|
+
r = l.replace(g, i.nationalPrefixTransformRule()), v > 1 && (P = n[1]);
|
|
8
|
+
else {
|
|
9
|
+
var o = n[0];
|
|
10
|
+
r = l.slice(o.length), e && (P = n[1]);
|
|
11
|
+
}
|
|
12
|
+
var f;
|
|
13
|
+
if (e) {
|
|
14
|
+
var s = l.indexOf(n[1]), a = l.slice(0, s);
|
|
15
|
+
a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
|
|
16
|
+
} else
|
|
17
|
+
f = n[0];
|
|
18
|
+
return {
|
|
19
|
+
nationalNumber: r,
|
|
20
|
+
nationalPrefix: f,
|
|
21
|
+
carrierCode: P
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
nationalNumber: l
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
F as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { VALID_DIGITS as n } from "./martyrs.es118.js";
|
|
2
|
+
var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
|
|
3
|
+
function D(_) {
|
|
4
|
+
var t = _.indexOf(a);
|
|
5
|
+
if (t < 0)
|
|
6
|
+
return null;
|
|
7
|
+
var e = t + a.length;
|
|
8
|
+
if (e >= _.length)
|
|
9
|
+
return "";
|
|
10
|
+
var A = _.indexOf(";", e);
|
|
11
|
+
return A >= 0 ? _.substring(e, A) : _.substring(e);
|
|
12
|
+
}
|
|
13
|
+
function S(_) {
|
|
14
|
+
return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
v as PLUS_SIGN,
|
|
18
|
+
u as RFC3966_ISDN_SUBADDRESS_,
|
|
19
|
+
a as RFC3966_PHONE_CONTEXT_,
|
|
20
|
+
l as RFC3966_PREFIX_,
|
|
21
|
+
D as default,
|
|
22
|
+
S as isPhoneContextValid
|
|
23
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ref as s, onMounted as u, createElementBlock as v, openBlock as d, createElementVNode as n, createVNode as g, renderSlot as l, Transition as m, withCtx as x, withDirectives as y, vShow as E } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const k = {
|
|
4
|
+
__name: "Spoiler",
|
|
5
|
+
props: {
|
|
6
|
+
status: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(r, { expose: i }) {
|
|
12
|
+
const o = r, t = s(!1), a = s(null);
|
|
13
|
+
u(() => {
|
|
14
|
+
o.status && (t.value = o.status);
|
|
15
|
+
});
|
|
16
|
+
const c = () => {
|
|
17
|
+
t.value = !t.value;
|
|
18
|
+
}, p = (e) => {
|
|
19
|
+
e.style.height = "0", e.offsetHeight, e.style.height = e.scrollHeight + "px";
|
|
20
|
+
}, f = (e) => {
|
|
21
|
+
e.style.height = "auto";
|
|
22
|
+
}, h = (e) => {
|
|
23
|
+
e.style.height = e.scrollHeight + "px", e.offsetHeight, e.style.height = "0";
|
|
24
|
+
};
|
|
25
|
+
return i({
|
|
26
|
+
showSpoiler: t
|
|
27
|
+
}), (e, _) => (d(), v("div", null, [
|
|
28
|
+
n("div", {
|
|
29
|
+
onClick: c,
|
|
30
|
+
class: "flex-v-center flex-nowrap flex"
|
|
31
|
+
}, [
|
|
32
|
+
l(e.$slots, "header", { isOpen: t.value })
|
|
33
|
+
]),
|
|
34
|
+
g(m, {
|
|
35
|
+
name: "collapse",
|
|
36
|
+
onEnter: p,
|
|
37
|
+
onAfterEnter: f,
|
|
38
|
+
onLeave: h
|
|
39
|
+
}, {
|
|
40
|
+
default: x(() => [
|
|
41
|
+
y(n("div", {
|
|
42
|
+
class: "spoiler",
|
|
43
|
+
ref_key: "spoilerContent",
|
|
44
|
+
ref: a
|
|
45
|
+
}, [
|
|
46
|
+
l(e.$slots, "content")
|
|
47
|
+
], 512), [
|
|
48
|
+
[E, t.value]
|
|
49
|
+
])
|
|
50
|
+
]),
|
|
51
|
+
_: 3
|
|
52
|
+
})
|
|
53
|
+
]));
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
k as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ref as b, watch as m, createElementBlock as u, openBlock as i, Fragment as k, renderList as x, normalizeStyle as g, normalizeClass as V, unref as S, toDisplayString as _ } from "vue";
|
|
2
|
+
import { useGlobalMixins as h } from "./martyrs.es61.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
const y = { class: "flex-nowrap flex-v-center flex pos-relative" }, C = ["onClick"], B = {
|
|
5
|
+
__name: "Tab",
|
|
6
|
+
props: {
|
|
7
|
+
tabs: Array,
|
|
8
|
+
classTab: String,
|
|
9
|
+
selected: [String, Number],
|
|
10
|
+
modelValue: [String, Number],
|
|
11
|
+
callback: Function
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:selected", "tab-click"],
|
|
14
|
+
setup(c, { emit: f }) {
|
|
15
|
+
const { replaceClasses: p } = h(), d = f, e = c, n = b(0), r = () => {
|
|
16
|
+
if (e.modelValue !== void 0) {
|
|
17
|
+
const t = e.tabs.findIndex((l) => l.value === e.modelValue);
|
|
18
|
+
t !== -1 && (n.value = t);
|
|
19
|
+
} else if (e.selected !== void 0) {
|
|
20
|
+
const t = e.tabs.findIndex((l) => l.value === e.selected);
|
|
21
|
+
t !== -1 && (n.value = t);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
r(), m(() => e.selected, r), m(() => e.modelValue, r);
|
|
25
|
+
const o = (t, l) => e.modelValue !== void 0 ? l.value === e.modelValue : e.selected !== void 0 ? l.value === e.selected : t === n.value;
|
|
26
|
+
function v(t, l) {
|
|
27
|
+
n.value = t, d("update:selected", l.value), d("tab-click", { index: t, tab: l }), e.modelValue !== void 0 && d("update:modelValue", l.value), e.callback && e.callback(l);
|
|
28
|
+
}
|
|
29
|
+
return (t, l) => (i(), u("div", y, [
|
|
30
|
+
(i(!0), u(k, null, x(c.tabs, (a, s) => (i(), u("button", {
|
|
31
|
+
key: s,
|
|
32
|
+
onClick: (I) => v(s, a),
|
|
33
|
+
class: V(["z-index-1 t-center cursor-pointer", [
|
|
34
|
+
o(s, a) ? "bg-main" : "",
|
|
35
|
+
S(p)("pd-small pd-r-medium pd-l-medium w-max pd-small radius-small", c.classTab)
|
|
36
|
+
]]),
|
|
37
|
+
style: g(o(s, a) ? "background: rgb(var(--main)) !important" : "")
|
|
38
|
+
}, _(a.name || a.label), 15, C))), 128))
|
|
39
|
+
]));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
B as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ref as o, createElementBlock as r, openBlock as a, renderSlot as u, createVNode as c, Transition as d, withCtx as f, createCommentVNode as m, normalizeStyle as v, createElementVNode as x, toDisplayString as _ } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const T = {
|
|
4
|
+
__name: "Tooltip",
|
|
5
|
+
props: {
|
|
6
|
+
text: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: !0
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
setup(i) {
|
|
12
|
+
const t = o(!1), l = o("0px"), n = o("0px");
|
|
13
|
+
function s(e) {
|
|
14
|
+
t.value = !0, l.value = `${e.clientX / 100 + 10}px`, n.value = `${e.clientY / 100 + 10}px`;
|
|
15
|
+
}
|
|
16
|
+
function p() {
|
|
17
|
+
t.value = !1;
|
|
18
|
+
}
|
|
19
|
+
return (e, y) => (a(), r("div", {
|
|
20
|
+
class: "cursor-pointer tooltip-container",
|
|
21
|
+
onMouseover: s,
|
|
22
|
+
onMouseleave: p
|
|
23
|
+
}, [
|
|
24
|
+
u(e.$slots, "default"),
|
|
25
|
+
c(d, { name: "tooltip" }, {
|
|
26
|
+
default: f(() => [
|
|
27
|
+
t.value ? (a(), r("div", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "tooltip-content",
|
|
30
|
+
style: v({ left: l.value, top: n.value })
|
|
31
|
+
}, [
|
|
32
|
+
x("span", null, _(i.text), 1)
|
|
33
|
+
], 4)) : m("", !0)
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
})
|
|
37
|
+
], 32));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
T as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ref as i, computed as t, createElementBlock as a, openBlock as r, createTextVNode as d, createCommentVNode as h, toDisplayString as s } from "vue";
|
|
2
|
+
const T = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "cursor-pointer t-dark"
|
|
5
|
+
}, w = {
|
|
6
|
+
__name: "Text",
|
|
7
|
+
props: {
|
|
8
|
+
maxLen: { type: Number, required: !0 },
|
|
9
|
+
text: { type: String, required: !0 },
|
|
10
|
+
showToggleText: { type: Boolean, default: !1 }
|
|
11
|
+
},
|
|
12
|
+
setup(n) {
|
|
13
|
+
const e = n, o = i(!1), l = t(() => e.text.length > e.maxLen ? e.text.slice(0, e.maxLen) + "..." : e.text), c = t(() => e.text), u = () => {
|
|
14
|
+
o.value = !o.value;
|
|
15
|
+
}, x = t(() => o.value ? c.value : l.value), m = t(() => e.text.length > e.maxLen), p = t(() => o.value ? "Hide" : "Show more");
|
|
16
|
+
return (g, v) => (r(), a("span", {
|
|
17
|
+
onClick: u,
|
|
18
|
+
class: ""
|
|
19
|
+
}, [
|
|
20
|
+
d(s(x.value) + " ", 1),
|
|
21
|
+
m.value && n.showToggleText ? (r(), a("span", T, s(p.value), 1)) : h("", !0)
|
|
22
|
+
]));
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
w as default
|
|
27
|
+
};
|