@ozdao/martyrs 0.2.602 → 0.2.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +3 -3
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +41 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +11 -8
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +27 -17
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +18 -18
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +119 -60
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +76 -56
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +13 -7
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +6 -6
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es101.js +39 -0
- package/dist/martyrs.es102.js +31 -0
- package/dist/martyrs.es104.js +27 -0
- package/dist/martyrs.es105.js +8 -0
- package/dist/martyrs.es106.js +9 -0
- package/dist/martyrs.es107.js +79 -0
- package/dist/martyrs.es108.js +7 -0
- package/dist/martyrs.es109.js +121 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/martyrs.es112.js +4 -0
- package/dist/martyrs.es113.js +169 -0
- package/dist/martyrs.es114.js +460 -0
- package/dist/martyrs.es115.js +42 -0
- package/dist/martyrs.es116.js +12 -0
- package/dist/martyrs.es117.js +52 -0
- package/dist/martyrs.es118.js +14 -0
- package/dist/martyrs.es119.js +47 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +7 -0
- package/dist/martyrs.es121.js +131 -0
- package/dist/martyrs.es122.js +103 -0
- package/dist/martyrs.es123.js +89 -0
- package/dist/martyrs.es124.js +40 -0
- package/dist/martyrs.es125.js +14 -0
- package/dist/martyrs.es126.js +42 -0
- package/dist/martyrs.es127.js +11 -0
- package/dist/martyrs.es128.js +25 -0
- package/dist/martyrs.es129.js +7 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +10 -0
- package/dist/martyrs.es131.js +119 -0
- package/dist/martyrs.es132.js +20 -0
- package/dist/martyrs.es133.js +18 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +35 -0
- package/dist/martyrs.es136.js +12 -0
- package/dist/martyrs.es137.js +23 -0
- package/dist/martyrs.es138.js +12 -0
- package/dist/martyrs.es139.js +11 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +47 -0
- package/dist/martyrs.es141.js +483 -0
- package/dist/martyrs.es142.js +8 -0
- package/dist/martyrs.es143.js +4 -0
- package/dist/martyrs.es144.js +33 -0
- package/dist/martyrs.es145.js +14 -0
- package/dist/martyrs.es146.js +19 -0
- package/dist/martyrs.es147.js +22 -0
- package/dist/martyrs.es148.js +31 -0
- package/dist/martyrs.es149.js +23 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +35 -0
- package/dist/martyrs.es94.js +41 -0
- package/dist/martyrs.es95.js +59 -0
- package/dist/martyrs.es96.js +123 -0
- package/dist/martyrs.es97.js +43 -0
- package/dist/martyrs.es98.js +86 -0
- package/dist/martyrs.es99.js +33 -0
- package/dist/music.server.js +11 -11
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/dist/web-n_ivHO3v.js +0 -54
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { ref as f, watch as w, nextTick as c, onMounted as B, createElementBlock as o, openBlock as i, Fragment as C, createElementVNode as m, createVNode as F, normalizeClass as p, renderSlot as k, createBlock as g, createCommentVNode as d, resolveDynamicComponent as E, toDisplayString as b, Transition as I, withCtx as N } from "vue";
|
|
2
|
+
import V from "./martyrs.es50.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import z from "./martyrs.es46.js";
|
|
5
|
+
const D = {
|
|
6
|
+
key: 2,
|
|
7
|
+
class: "t-transp mn-r-small"
|
|
8
|
+
}, H = { class: "ws-nowrap" }, S = { class: "w-100 pos-relative" }, T = ["type", "value", "placeholder", "tabindex", "disabled", "autofocus", "name", "id"], M = ["value", "placeholder", "tabindex", "disabled", "name", "id"], P = {
|
|
9
|
+
key: 4,
|
|
10
|
+
class: "t-transp mn-l-small"
|
|
11
|
+
}, j = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
|
14
|
+
}, q = {
|
|
15
|
+
__name: "Field",
|
|
16
|
+
props: {
|
|
17
|
+
label: null,
|
|
18
|
+
symbol: null,
|
|
19
|
+
type: "text",
|
|
20
|
+
placeholder: "Enter something here",
|
|
21
|
+
field: null,
|
|
22
|
+
value: null,
|
|
23
|
+
validation: !1,
|
|
24
|
+
disabled: null,
|
|
25
|
+
tabindex: -1,
|
|
26
|
+
autofocus: !1,
|
|
27
|
+
icon: null,
|
|
28
|
+
// Добавлен пропс для иконки
|
|
29
|
+
name: null,
|
|
30
|
+
// Имя поля для автозаполнения
|
|
31
|
+
id: null
|
|
32
|
+
// ID поля
|
|
33
|
+
},
|
|
34
|
+
emits: ["update:field", "focus", "blur"],
|
|
35
|
+
setup(e, { emit: $ }) {
|
|
36
|
+
const s = $, n = e;
|
|
37
|
+
n.value && s("update:field", n.value);
|
|
38
|
+
const u = f(null), v = f(null), r = f(!1);
|
|
39
|
+
function y() {
|
|
40
|
+
if (!u.value)
|
|
41
|
+
return;
|
|
42
|
+
const a = u.value;
|
|
43
|
+
a.style.height = "";
|
|
44
|
+
const t = a.scrollHeight;
|
|
45
|
+
t > 33 ? a.style.height = t + "px" : a.style.height = "";
|
|
46
|
+
}
|
|
47
|
+
function h() {
|
|
48
|
+
n.autofocus && (n.type === "textarea" && u.value ? u.value.focus() : v.value && v.value.focus());
|
|
49
|
+
}
|
|
50
|
+
w(() => n.field, () => {
|
|
51
|
+
n.type === "textarea" && c(y);
|
|
52
|
+
}), w(() => n.autofocus, (a) => {
|
|
53
|
+
a && c(h);
|
|
54
|
+
}), B(() => {
|
|
55
|
+
c(h), c(y);
|
|
56
|
+
});
|
|
57
|
+
const x = f(n.field);
|
|
58
|
+
return (a, t) => (i(), o(C, null, [
|
|
59
|
+
m("div", {
|
|
60
|
+
class: p([[
|
|
61
|
+
a.$attrs.class,
|
|
62
|
+
{ "bg-fourth-nano": e.validation }
|
|
63
|
+
], "field-wrapper flex-center flex-nowrap flex"])
|
|
64
|
+
}, [
|
|
65
|
+
a.$slots.icon ? k(a.$slots, "icon", { key: 0 }, void 0, !0) : e.icon ? (i(), g(E(e.icon), {
|
|
66
|
+
key: 1,
|
|
67
|
+
class: "i-medium t-transp mn-r-thin"
|
|
68
|
+
})) : d("", !0),
|
|
69
|
+
e.label ? (i(), o("div", D, [
|
|
70
|
+
m("span", H, b(e.label), 1)
|
|
71
|
+
])) : d("", !0),
|
|
72
|
+
m("div", S, [
|
|
73
|
+
e.type !== "textarea" ? (i(), o("input", {
|
|
74
|
+
key: 0,
|
|
75
|
+
ref_key: "input",
|
|
76
|
+
ref: v,
|
|
77
|
+
onInput: t[0] || (t[0] = (l) => x.value = s("update:field", l.target.value)),
|
|
78
|
+
onFocus: t[1] || (t[1] = (l) => s("focus", l)),
|
|
79
|
+
onBlur: t[2] || (t[2] = (l) => s("blur", l)),
|
|
80
|
+
type: e.type === "password" && !r.value ? "password" : e.type === "password" ? "text" : e.type,
|
|
81
|
+
class: "w-100",
|
|
82
|
+
value: e.field,
|
|
83
|
+
placeholder: e.placeholder,
|
|
84
|
+
tabindex: e.tabindex,
|
|
85
|
+
disabled: e.disabled,
|
|
86
|
+
autofocus: e.autofocus,
|
|
87
|
+
name: e.name,
|
|
88
|
+
id: e.id
|
|
89
|
+
}, null, 40, T)) : (i(), o("textarea", {
|
|
90
|
+
key: 1,
|
|
91
|
+
ref_key: "textarea",
|
|
92
|
+
ref: u,
|
|
93
|
+
onInput: t[3] || (t[3] = (l) => x.value = s("update:field", l.target.value)),
|
|
94
|
+
onFocus: t[4] || (t[4] = (l) => s("focus", l)),
|
|
95
|
+
onBlur: t[5] || (t[5] = (l) => s("blur", l)),
|
|
96
|
+
class: "w-100",
|
|
97
|
+
value: e.field,
|
|
98
|
+
placeholder: e.placeholder,
|
|
99
|
+
tabindex: e.tabindex,
|
|
100
|
+
disabled: e.disabled,
|
|
101
|
+
name: e.name,
|
|
102
|
+
id: e.id
|
|
103
|
+
}, null, 40, M))
|
|
104
|
+
]),
|
|
105
|
+
e.type === "password" ? (i(), g(V, {
|
|
106
|
+
key: 3,
|
|
107
|
+
show: !r.value,
|
|
108
|
+
onClick: t[6] || (t[6] = (l) => r.value = !r.value),
|
|
109
|
+
class: "i-medium cursor-pointer"
|
|
110
|
+
}, null, 8, ["show"])) : d("", !0),
|
|
111
|
+
k(a.$slots, "default", {}, void 0, !0),
|
|
112
|
+
e.symbol ? (i(), o("div", P, [
|
|
113
|
+
m("span", null, b(e.symbol), 1)
|
|
114
|
+
])) : d("", !0)
|
|
115
|
+
], 2),
|
|
116
|
+
F(I, { name: "fade" }, {
|
|
117
|
+
default: N(() => [
|
|
118
|
+
e.validation ? (i(), o("div", j, " * " + b(e.validation.message), 1)) : d("", !0)
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
], 64));
|
|
123
|
+
}
|
|
124
|
+
}, L = /* @__PURE__ */ z(q, [["__scopeId", "data-v-ba38e654"]]);
|
|
125
|
+
export {
|
|
126
|
+
L as default
|
|
127
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
const C = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: "48",
|
|
5
|
+
height: "48",
|
|
6
|
+
viewBox: "0 0 48 48",
|
|
7
|
+
fill: "none"
|
|
8
|
+
}, l = ["fill", "transform"], c = {
|
|
9
|
+
__name: "IconArrow",
|
|
10
|
+
props: {
|
|
11
|
+
fill: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "currentColor"
|
|
14
|
+
},
|
|
15
|
+
rotation: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 0
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(t) {
|
|
21
|
+
return (n, a) => (o(), e("svg", C, [
|
|
22
|
+
r("path", {
|
|
23
|
+
fill: t.fill,
|
|
24
|
+
transform: `rotate(${t.rotation}, 24, 24)`,
|
|
25
|
+
d: "M42.4938 21.6042L29.8525 8.96288C29.568 8.66354 29.2265 8.42416 28.8481 8.25884C28.4696 8.09352 28.062 8.0056 27.649 8.00026C27.2361 7.99492 26.8263 8.07226 26.4437 8.22774C26.0612 8.38322 25.7136 8.61368 25.4214 8.90556C25.1293 9.19743 24.8985 9.54482 24.7427 9.92725C24.5869 10.3097 24.5092 10.7194 24.5142 11.1324C24.5192 11.5453 24.6067 11.953 24.7717 12.3316C24.9367 12.7102 25.1758 13.0519 25.4749 13.3366L32.9475 20.7978H8.09504C7.27418 20.7978 6.48695 21.1238 5.90652 21.7043C5.32608 22.2847 5 23.0719 5 23.8928C5 24.7137 5.32608 25.5009 5.90652 26.0813C6.48695 26.6618 7.27418 26.9878 8.09504 26.9878H32.8784L25.4749 34.4029C24.9186 34.9882 24.6131 35.7677 24.6236 36.5751C24.634 37.3825 24.9596 38.1538 25.5308 38.7245C26.102 39.2952 26.8736 39.6201 27.681 39.6299C28.4884 39.6396 29.2677 39.3334 29.8525 38.7766L42.4938 26.1354C42.7822 25.8487 43.0108 25.5076 43.1664 25.1318C43.3219 24.7561 43.4013 24.3532 43.4 23.9466C43.402 23.921 43.402 23.8953 43.4 23.8698C43.4018 23.8442 43.4018 23.8185 43.4 23.793C43.3997 22.9721 43.0738 22.1849 42.4938 21.6042Z"
|
|
26
|
+
}, null, 8, l)
|
|
27
|
+
]));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
c as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElementBlock as C, openBlock as t, createElementVNode as e } from "vue";
|
|
2
|
+
const n = {
|
|
3
|
+
width: "17",
|
|
4
|
+
height: "16",
|
|
5
|
+
viewBox: "0 0 17 16",
|
|
6
|
+
fill: "none",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, o = ["fill"], i = ["fill"], f = ["fill"], s = {
|
|
9
|
+
__name: "IconInfo",
|
|
10
|
+
props: {
|
|
11
|
+
fill: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "currentColor"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup(l) {
|
|
17
|
+
return (c, d) => (t(), C("svg", n, [
|
|
18
|
+
e("path", {
|
|
19
|
+
fill: l.fill,
|
|
20
|
+
"fill-rule": "evenodd",
|
|
21
|
+
"clip-rule": "evenodd",
|
|
22
|
+
d: "M8.48828 14.4941C10.2122 14.4941 11.8655 13.8093 13.0845 12.5903C14.3035 11.3713 14.9883 9.71805 14.9883 7.99414C14.9883 6.27023 14.3035 4.61693 13.0845 3.39795C11.8655 2.17896 10.2122 1.49414 8.48828 1.49414C6.76437 1.49414 5.11107 2.17896 3.89209 3.39795C2.6731 4.61693 1.98828 6.27023 1.98828 7.99414C1.98828 9.71805 2.6731 11.3713 3.89209 12.5903C5.11107 13.8093 6.76437 14.4941 8.48828 14.4941ZM14.1451 13.651C12.6448 15.1513 10.61 15.9941 8.48828 15.9941C6.36655 15.9941 4.33172 15.1513 2.83143 13.651C1.33114 12.1507 0.488281 10.1159 0.488281 7.99414C0.488281 5.87241 1.33114 3.83758 2.83143 2.33729C4.33172 0.836995 6.36655 -0.00585938 8.48828 -0.00585938C10.61 -0.00585938 12.6448 0.836995 14.1451 2.33729C15.6454 3.83758 16.4883 5.87241 16.4883 7.99414C16.4883 10.1159 15.6454 12.1507 14.1451 13.651Z"
|
|
23
|
+
}, null, 8, o),
|
|
24
|
+
e("path", {
|
|
25
|
+
fill: l.fill,
|
|
26
|
+
d: "M7.23828 10.4941H7.98828V8.49414H7.23828C6.82266 8.49414 6.48828 8.15977 6.48828 7.74414C6.48828 7.32852 6.82266 6.99414 7.23828 6.99414H8.73828C9.15391 6.99414 9.48828 7.32852 9.48828 7.74414V10.4941H9.73828C10.1539 10.4941 10.4883 10.8285 10.4883 11.2441C10.4883 11.6598 10.1539 11.9941 9.73828 11.9941H7.23828C6.82266 11.9941 6.48828 11.6598 6.48828 11.2441C6.48828 10.8285 6.82266 10.4941 7.23828 10.4941Z"
|
|
27
|
+
}, null, 8, i),
|
|
28
|
+
e("path", {
|
|
29
|
+
fill: l.fill,
|
|
30
|
+
d: "M8.48828 3.99414C8.7535 3.99414 9.00785 4.0995 9.19539 4.28703C9.38292 4.47457 9.48828 4.72892 9.48828 4.99414C9.48828 5.25936 9.38292 5.51371 9.19539 5.70125C9.00785 5.88878 8.7535 5.99414 8.48828 5.99414C8.22306 5.99414 7.96871 5.88878 7.78117 5.70125C7.59364 5.51371 7.48828 5.25936 7.48828 4.99414C7.48828 4.72892 7.59364 4.47457 7.78117 4.28703C7.96871 4.0995 8.22306 3.99414 8.48828 3.99414Z"
|
|
31
|
+
}, null, 8, f)
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
s as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElementBlock as c, openBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
const i = {
|
|
3
|
+
width: "100pt",
|
|
4
|
+
height: "100pt",
|
|
5
|
+
version: "1.1",
|
|
6
|
+
viewBox: "0 0 100 100",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
}, o = ["fill"], n = ["fill"], s = ["fill"], f = ["fill"], d = {
|
|
9
|
+
__name: "IconGallery",
|
|
10
|
+
props: {
|
|
11
|
+
fill: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "currentColor"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup(l) {
|
|
17
|
+
return (h, r) => (e(), c("svg", i, [
|
|
18
|
+
t("g", { fill: l.fill }, [
|
|
19
|
+
t("path", {
|
|
20
|
+
fill: l.fill,
|
|
21
|
+
d: "m78.938 3.125h-57.875c-4.1445 0-8.1172 1.6445-11.047 4.5781-2.9336 2.9297-4.5781 6.9023-4.5781 11.047v62.5c0 4.1445 1.6445 8.1172 4.5781 11.047 2.9297 2.9336 6.9023 4.5781 11.047 4.5781h57.875c4.1445 0 8.1172-1.6445 11.047-4.5781 2.9336-2.9297 4.5781-6.9023 4.5781-11.047v-62.5c0-4.1445-1.6445-8.1172-4.5781-11.047-2.9297-2.9336-6.9023-4.5781-11.047-4.5781zm9.375 78.125c0 5.1758-4.1992 9.375-9.375 9.375h-57.875c-5.1758 0-9.375-4.1992-9.375-9.375v-62.5c0-5.1758 4.1992-9.375 9.375-9.375h57.875c5.1758 0 9.375 4.1992 9.375 9.375z"
|
|
22
|
+
}, null, 8, n),
|
|
23
|
+
t("path", {
|
|
24
|
+
fill: l.fill,
|
|
25
|
+
d: "m65.281 55.406c-1.4336-2.1445-3.8672-3.4062-6.4453-3.3438-2.5781 0.066406-4.9453 1.4453-6.2734 3.6562l-7.8438 13.031c-0.28906 0.53516-0.92969 0.77734-1.5 0.5625l-6.6875-2.2188c-3.2617-1.0352-6.8086 0.24609-8.6562 3.125l-6.9688 10.281c-0.45312 0.70312-0.60547 1.5586-0.42578 2.375 0.18359 0.81641 0.68359 1.5234 1.3945 1.9688 0.51562 0.34766 1.125 0.53125 1.75 0.53125 1.0469-0.003906 2.0195-0.53125 2.5938-1.4062l6.9688-10.438c0.32031-0.47656 0.92188-0.68359 1.4688-0.5l6.6875 2.2188c3.3203 1.0117 6.8984-0.38281 8.6562-3.375l7.8125-13.031c0.23047-0.38672 0.64453-0.62109 1.0938-0.625 0.4375-0.011719 0.84766 0.19922 1.0938 0.5625l13.781 20.688c0.95703 1.4414 2.9023 1.832 4.3438 0.875s1.832-2.9023 0.875-4.3438z"
|
|
26
|
+
}, null, 8, s),
|
|
27
|
+
t("path", {
|
|
28
|
+
fill: l.fill,
|
|
29
|
+
d: "m81.5 40.781c0 3.3984-2.7578 6.1562-6.1562 6.1562s-6.1562-2.7578-6.1562-6.1562 2.7578-6.1562 6.1562-6.1562 6.1562 2.7578 6.1562 6.1562"
|
|
30
|
+
}, null, 8, f)
|
|
31
|
+
], 8, o)
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
d as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import { ref as d, onMounted as ge, computed as y, watch as O, nextTick as x, createElementBlock as m, openBlock as C, Fragment as q, createElementVNode as T, createVNode as be, normalizeStyle as B, normalizeClass as k, withDirectives as M, renderSlot as Se, withKeys as F, createCommentVNode as j, vModelText as Oe, renderList as we, toDisplayString as P, vShow as xe, unref as Ie, vModelDynamic as Te, Transition as ke, withCtx as je } from "vue";
|
|
2
|
+
import Ae from "./martyrs.es48.js";
|
|
3
|
+
import De from "./martyrs.es52.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { parsePhoneNumber as H } from "./martyrs.es54.js";
|
|
6
|
+
const Ve = ["tabindex"], Be = { class: "flex-nowrap flex flex-v-center p-regular vti__selection" }, Me = ["innerHTML"], Ee = ["placeholder", "disabled", "size"], Fe = ["onClick", "onMousemove"], Pe = ["innerHTML"], He = { key: 1 }, $e = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex"], Le = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "mn-t-thin mn-b-thin invalid-feedback"
|
|
9
|
+
}, Ke = {
|
|
10
|
+
__name: "FieldPhone",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: { type: String, default: "" },
|
|
13
|
+
badClass: { type: [String, Array, Object], default: "" },
|
|
14
|
+
goodClass: { type: [String, Array, Object], default: "" },
|
|
15
|
+
badStyle: { type: [String, Array, Object], default: "" },
|
|
16
|
+
goodStyle: { type: [String, Array, Object], default: "" },
|
|
17
|
+
badInputClass: { type: [String, Array, Object], default: "" },
|
|
18
|
+
goodInputClass: { type: [String, Array, Object], default: "" },
|
|
19
|
+
badInputStyle: { type: [String, Array, Object], default: "" },
|
|
20
|
+
goodInputStyle: { type: [String, Array, Object], default: "" },
|
|
21
|
+
allCountries: { type: Array, default: () => De },
|
|
22
|
+
autoFormat: { type: Boolean, default: !0 },
|
|
23
|
+
validation: { type: [Boolean, Object], default: !1 },
|
|
24
|
+
customValidate: { type: [Boolean, RegExp], default: !1 },
|
|
25
|
+
defaultCountry: { type: String, default: "" },
|
|
26
|
+
disabled: { type: Boolean, default: !1 },
|
|
27
|
+
autoDefaultCountry: { type: Boolean, default: !0 },
|
|
28
|
+
ignoredCountries: { type: Array, default: () => [] },
|
|
29
|
+
invalidMsg: { type: String, default: "" },
|
|
30
|
+
mode: { type: String, default: "auto" },
|
|
31
|
+
onlyCountries: { type: Array, default: () => [] },
|
|
32
|
+
preferredCountries: { type: Array, default: () => [] },
|
|
33
|
+
validCharactersOnly: { type: Boolean, default: !1 },
|
|
34
|
+
rootClass: { type: [String, Array, Object], default: "" },
|
|
35
|
+
inputClass: { type: [String, Array, Object], default: "" },
|
|
36
|
+
rootStyle: { type: [String, Array, Object], default: "" },
|
|
37
|
+
dropdownStyle: { type: [String, Array, Object], default: "" },
|
|
38
|
+
listStyle: { type: [String, Array, Object], default: "" },
|
|
39
|
+
inputStyle: { type: [String, Array, Object], default: "" },
|
|
40
|
+
inputId: { type: [String, Array, Object], default: "" },
|
|
41
|
+
Placeholder: { type: [String, Object, Function], default: "" },
|
|
42
|
+
dropdownOptions: {
|
|
43
|
+
type: Object,
|
|
44
|
+
default: () => ({
|
|
45
|
+
showDialCodeInList: !0,
|
|
46
|
+
showDialCodeInSelection: !1,
|
|
47
|
+
showFlags: !0,
|
|
48
|
+
tabindex: 0
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
inputOptions: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: () => ({
|
|
54
|
+
autocomplete: "on",
|
|
55
|
+
autofocus: !1,
|
|
56
|
+
id: "",
|
|
57
|
+
maxlength: 25,
|
|
58
|
+
name: "telephone",
|
|
59
|
+
placeholder: "Enter a phone number",
|
|
60
|
+
readonly: !1,
|
|
61
|
+
required: !1,
|
|
62
|
+
tabindex: 0,
|
|
63
|
+
type: "tel",
|
|
64
|
+
styleClasses: ""
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
emits: [
|
|
69
|
+
"update:modelValue",
|
|
70
|
+
"change",
|
|
71
|
+
"validate",
|
|
72
|
+
"country-changed",
|
|
73
|
+
"open",
|
|
74
|
+
"close",
|
|
75
|
+
"blur",
|
|
76
|
+
"focus",
|
|
77
|
+
"enter",
|
|
78
|
+
"space"
|
|
79
|
+
],
|
|
80
|
+
setup(a, { emit: K }) {
|
|
81
|
+
let W = Ae;
|
|
82
|
+
const l = a, c = K, o = d(l.modelValue || ""), v = d(""), i = d(""), g = d(""), p = d(!1), G = d(!1), r = d(null), E = d(""), $ = d(null), L = d("below"), R = d(l.Placeholder !== "" ? l.Placeholder : l.inputOptions.placeholder), N = d(null), s = d(null), I = d(null);
|
|
83
|
+
ge(() => {
|
|
84
|
+
l.modelValue && (o.value = l.modelValue), ie(), ae().then(() => {
|
|
85
|
+
!o.value && l.inputOptions?.showDialCode && v.value && (o.value = `+${v.value}`), h.value && l.dropdownOptions.showDialCodeInSelection && (i.value = `+${h.value.dialCode}`), c("validate", u.value);
|
|
86
|
+
}).catch(console.error).then(() => {
|
|
87
|
+
G.value = !0;
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
const h = y(() => D(v.value)), J = y(() => h.value ? h.value.flag : null), Q = y(() => l.mode === "auto" ? !o.value || o.value[0] !== "+" ? "national" : "international" : ["international", "national"].includes(l.mode) ? l.mode : (console.error('Invalid value of prop "mode"'), "international")), A = y(() => {
|
|
91
|
+
let e = l.allCountries;
|
|
92
|
+
if (l.onlyCountries && l.onlyCountries.length ? e = e.filter(
|
|
93
|
+
({ iso2: t }) => l.onlyCountries.includes(t.toUpperCase())
|
|
94
|
+
) : l.ignoredCountries && l.ignoredCountries.length && (e = e.filter(
|
|
95
|
+
({ iso2: t }) => !l.ignoredCountries.includes(t.toUpperCase()) && !l.ignoredCountries.includes(t.toLowerCase())
|
|
96
|
+
)), g.value) {
|
|
97
|
+
const t = g.value.replace("+", "");
|
|
98
|
+
e = e.filter(
|
|
99
|
+
(n) => n.dialCode.startsWith(t)
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
return e;
|
|
103
|
+
}), b = y(() => [...oe(l.preferredCountries).filter((t) => {
|
|
104
|
+
if (!g.value) return !0;
|
|
105
|
+
const n = g.value.replace("+", "");
|
|
106
|
+
return t.dialCode.startsWith(n);
|
|
107
|
+
}).map((t) => ({ ...t, preferred: !0 })), ...A.value]), u = y(() => {
|
|
108
|
+
let e = {};
|
|
109
|
+
o.value?.[0] === "+" ? e = H(o.value) || {} : e = H(o.value, v.value) || {};
|
|
110
|
+
const { metadata: t, ...n } = e;
|
|
111
|
+
let f = e.isValid?.(), w = o.value;
|
|
112
|
+
return f && (w = e.format?.(Q.value.toUpperCase(), { nationalPrefix: !1 })), e.country && (l.ignoredCountries.length || l.onlyCountries.length) && (D(e.country) || (f = !1, e = { ...e, country: null })), {
|
|
113
|
+
...n,
|
|
114
|
+
countryCode: e.country,
|
|
115
|
+
valid: f,
|
|
116
|
+
country: h.value,
|
|
117
|
+
formatted: w
|
|
118
|
+
};
|
|
119
|
+
}), X = y(() => u.value.valid === !0 ? l.goodClass : u.value.valid === !1 ? l.badClass : void 0), Y = y(() => u.value.valid === !0 ? l.goodStyle : u.value.valid === !1 ? l.badStyle : void 0), Z = y(() => u.value.valid === !0 ? l.goodInputClass : u.value.valid === !1 ? l.badInputClass : void 0), _ = y(() => u.value.valid === !0 ? l.goodInputStyle : u.value.valid === !1 ? l.badInputStyle : void 0);
|
|
120
|
+
O(h, (e, t) => {
|
|
121
|
+
if (!e && t?.iso2) {
|
|
122
|
+
v.value = t.iso2;
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
e?.iso2 && (c("country-changed", e), U(), i.value = `+${e.dialCode}`);
|
|
126
|
+
}), O(() => u.value.countryCode, (e) => {
|
|
127
|
+
v.value = e;
|
|
128
|
+
}), O(() => u.value.valid, () => {
|
|
129
|
+
c("validate", u.value);
|
|
130
|
+
}), O(() => u.value.formatted, (e) => {
|
|
131
|
+
!l.autoFormat || l.customValidate || (V(e), x(() => {
|
|
132
|
+
e && !l.modelValue && (o.value = e);
|
|
133
|
+
}));
|
|
134
|
+
}), O(() => l.inputOptions.placeholder, () => {
|
|
135
|
+
U();
|
|
136
|
+
}), O(() => l.modelValue, (e, t) => {
|
|
137
|
+
re() ? o.value = e : x(() => {
|
|
138
|
+
o.value = t, z();
|
|
139
|
+
});
|
|
140
|
+
}), O(p, (e) => {
|
|
141
|
+
e ? (me(), c("open")) : c("close");
|
|
142
|
+
});
|
|
143
|
+
function ee() {
|
|
144
|
+
i.value.startsWith("+") || (i.value = "+" + i.value.replace(/^\+*/, "")), i.value = i.value.replace(/[^+\d]/g, ""), (i.value.match(/\+/g) || []).length > 1 && (i.value = "+" + i.value.replace(/\+/g, "")), g.value = i.value, p.value = !0;
|
|
145
|
+
const t = A.value.find(
|
|
146
|
+
(n) => `+${n.dialCode}` === i.value
|
|
147
|
+
);
|
|
148
|
+
t && b.value.length === 1 && S(t);
|
|
149
|
+
}
|
|
150
|
+
function te() {
|
|
151
|
+
setTimeout(() => {
|
|
152
|
+
!i.value && h.value && (i.value = `+${h.value.dialCode}`);
|
|
153
|
+
}, 200);
|
|
154
|
+
}
|
|
155
|
+
function le() {
|
|
156
|
+
l.disabled || (p.value = !0);
|
|
157
|
+
}
|
|
158
|
+
function ne(e, t) {
|
|
159
|
+
if (e.setSelectionRange)
|
|
160
|
+
e.focus(), e.setSelectionRange(t, t);
|
|
161
|
+
else if (e.createTextRange) {
|
|
162
|
+
const n = e.createTextRange();
|
|
163
|
+
n.collapse(!0), n.moveEnd("character", t), n.moveStart("character", t), n.select();
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function U() {
|
|
167
|
+
R.value = l.inputOptions.placeholder;
|
|
168
|
+
}
|
|
169
|
+
function ae() {
|
|
170
|
+
return new Promise((e) => {
|
|
171
|
+
if (o.value?.[0] === "+") {
|
|
172
|
+
e();
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
if (l.defaultCountry) {
|
|
176
|
+
S(l.defaultCountry), e();
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
const t = l.preferredCountries[0] || A.value[0];
|
|
180
|
+
l.autoDefaultCountry ? fetch("https://ip2c.org/s").then((n) => n.text()).then((n) => {
|
|
181
|
+
const f = (n || "").toString();
|
|
182
|
+
if (!f || f[0] !== "1")
|
|
183
|
+
throw new Error("unable to fetch the country");
|
|
184
|
+
return f.substr(2, 2);
|
|
185
|
+
}).then((n) => {
|
|
186
|
+
S(n || v.value);
|
|
187
|
+
}).catch((n) => {
|
|
188
|
+
console.warn(n), S(t);
|
|
189
|
+
}).finally(() => {
|
|
190
|
+
e();
|
|
191
|
+
}) : (S(t), e());
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function oe(e = []) {
|
|
195
|
+
return e.map((t) => D(t)).filter(Boolean);
|
|
196
|
+
}
|
|
197
|
+
function D(e = "") {
|
|
198
|
+
return A.value.find((t) => t.iso2 === e.toUpperCase());
|
|
199
|
+
}
|
|
200
|
+
function ue(e, t) {
|
|
201
|
+
const n = r.value === e, f = e === l.preferredCountries.length - 1, w = l.preferredCountries.some((Ce) => Ce.toUpperCase() === t);
|
|
202
|
+
return { highlighted: n, "last-preferred": f, preferred: w };
|
|
203
|
+
}
|
|
204
|
+
function S(e) {
|
|
205
|
+
let t = typeof e == "string" ? D(e) : e;
|
|
206
|
+
t && (o.value?.[0] === "+" && t.iso2 && u.value.nationalNumber ? (v.value = t.iso2, o.value = H(
|
|
207
|
+
u.value.nationalNumber,
|
|
208
|
+
t.iso2
|
|
209
|
+
).formatInternational()) : v.value = t.iso2, i.value = `+${t.dialCode}`, g.value = "", p.value = !1, x(() => {
|
|
210
|
+
I.value && I.value.focus();
|
|
211
|
+
}), V(o.value));
|
|
212
|
+
}
|
|
213
|
+
function ie() {
|
|
214
|
+
const e = o.value;
|
|
215
|
+
if (l.validCharactersOnly) {
|
|
216
|
+
const t = o.value.match(/[()\-+0-9\s]*/g);
|
|
217
|
+
o.value = t.join("");
|
|
218
|
+
}
|
|
219
|
+
if (l.customValidate && l.customValidate instanceof RegExp) {
|
|
220
|
+
const t = o.value.match(l.customValidate);
|
|
221
|
+
o.value = t ? t.join("") : "";
|
|
222
|
+
}
|
|
223
|
+
e !== o.value && V(o.value);
|
|
224
|
+
}
|
|
225
|
+
function re() {
|
|
226
|
+
return l.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(o.value) ? !1 : l.customValidate ? se() : !0;
|
|
227
|
+
}
|
|
228
|
+
function se() {
|
|
229
|
+
return l.customValidate instanceof RegExp ? l.customValidate.test(o.value) : !1;
|
|
230
|
+
}
|
|
231
|
+
function z() {
|
|
232
|
+
I.value.setCustomValidity(u.valid ? "" : l.invalidMsg), V(o.value);
|
|
233
|
+
}
|
|
234
|
+
function V(e) {
|
|
235
|
+
c("update:modelValue", e), u.value.valid ? (c("change", u.value.number), c("country", u.value.number)) : c("country", null);
|
|
236
|
+
}
|
|
237
|
+
function de() {
|
|
238
|
+
c("blur");
|
|
239
|
+
}
|
|
240
|
+
function ce() {
|
|
241
|
+
ne(I.value, o.value.length), c("focus");
|
|
242
|
+
}
|
|
243
|
+
function fe() {
|
|
244
|
+
c("enter");
|
|
245
|
+
}
|
|
246
|
+
function ve() {
|
|
247
|
+
c("space");
|
|
248
|
+
}
|
|
249
|
+
function pe() {
|
|
250
|
+
p.value = !1, g.value = "";
|
|
251
|
+
}
|
|
252
|
+
function ye(e) {
|
|
253
|
+
if (e.keyCode === 40)
|
|
254
|
+
e.preventDefault(), p.value = !0, r.value = r.value === null ? 0 : Math.min(b.value.length - 1, r.value + 1), x(() => {
|
|
255
|
+
const t = s.value.children[r.value];
|
|
256
|
+
t.offsetTop + t.clientHeight > s.value.scrollTop + s.value.clientHeight && (s.value.scrollTop = t.offsetTop - s.value.clientHeight + t.clientHeight);
|
|
257
|
+
});
|
|
258
|
+
else if (e.keyCode === 38)
|
|
259
|
+
e.preventDefault(), p.value = !0, r.value = r.value === null ? b.value.length - 1 : Math.max(0, r.value - 1), x(() => {
|
|
260
|
+
const t = s.value.children[r.value];
|
|
261
|
+
t.offsetTop < s.value.scrollTop && (s.value.scrollTop = t.offsetTop);
|
|
262
|
+
});
|
|
263
|
+
else if (e.keyCode === 13)
|
|
264
|
+
e.preventDefault(), r.value !== null && S(b.value[r.value]);
|
|
265
|
+
else {
|
|
266
|
+
if (e.target.classList.contains("vti__country-code-input")) return;
|
|
267
|
+
E.value += e.key, clearTimeout($), $ = setTimeout(() => {
|
|
268
|
+
E.value = "";
|
|
269
|
+
}, 700), x(() => {
|
|
270
|
+
const t = b.value.slice(l.preferredCountries.length).findIndex((n) => n.name.toLowerCase().startsWith(E.value));
|
|
271
|
+
if (t >= 0) {
|
|
272
|
+
r.value = l.preferredCountries.length + t;
|
|
273
|
+
const n = s.value.children[r.value];
|
|
274
|
+
(n.offsetTop < s.value.scrollTop || n.offsetTop + n.clientHeight > s.value.scrollTop + s.value.clientHeight) && (s.value.scrollTop = n.offsetTop - s.value.clientHeight / 2);
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
function he() {
|
|
280
|
+
r.value = b.value.map((e) => e.iso2).indexOf(v.value), p.value = !1;
|
|
281
|
+
}
|
|
282
|
+
function me() {
|
|
283
|
+
const t = window.innerHeight - N.value.getBoundingClientRect().bottom > 200;
|
|
284
|
+
L.value = t ? "below" : "above";
|
|
285
|
+
}
|
|
286
|
+
return (e, t) => (C(), m(q, null, [
|
|
287
|
+
T("div", {
|
|
288
|
+
class: k([[
|
|
289
|
+
a.rootClass,
|
|
290
|
+
X.value,
|
|
291
|
+
e.$attrs.class,
|
|
292
|
+
{ "bg-fourth-nano": a.validation },
|
|
293
|
+
{ disabled: a.disabled }
|
|
294
|
+
], "field-wrapper vue3-reactive-tel-input"]),
|
|
295
|
+
style: B([a.rootStyle, Y.value]),
|
|
296
|
+
ref_key: "rootElement",
|
|
297
|
+
ref: N
|
|
298
|
+
}, [
|
|
299
|
+
M((C(), m("div", {
|
|
300
|
+
class: k([["vti__dropdown", { open: p.value }], "br-black-transp-10 br-1px radius-thin"]),
|
|
301
|
+
style: B([a.dropdownStyle]),
|
|
302
|
+
tabindex: a.dropdownOptions.tabindex,
|
|
303
|
+
onKeydown: F(he, ["esc"])
|
|
304
|
+
}, [
|
|
305
|
+
T("span", Be, [
|
|
306
|
+
a.dropdownOptions.showFlags ? (C(), m("span", {
|
|
307
|
+
key: 0,
|
|
308
|
+
innerHTML: J.value,
|
|
309
|
+
class: "mn-r-nano"
|
|
310
|
+
}, null, 8, Me)) : j("", !0),
|
|
311
|
+
a.dropdownOptions.showDialCodeInSelection ? M((C(), m("input", {
|
|
312
|
+
key: 1,
|
|
313
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => i.value = n),
|
|
314
|
+
onInput: ee,
|
|
315
|
+
onFocus: le,
|
|
316
|
+
onBlur: te,
|
|
317
|
+
onKeydown: ye,
|
|
318
|
+
type: "text",
|
|
319
|
+
class: "vti__country-code-input",
|
|
320
|
+
placeholder: `+${h.value?.dialCode || ""}`,
|
|
321
|
+
disabled: a.disabled,
|
|
322
|
+
size: Math.max((i.value?.length || 0) + 1, 3),
|
|
323
|
+
maxlength: "5"
|
|
324
|
+
}, null, 40, Ee)), [
|
|
325
|
+
[Oe, i.value]
|
|
326
|
+
]) : j("", !0)
|
|
327
|
+
]),
|
|
328
|
+
M(T("ul", {
|
|
329
|
+
ref_key: "list",
|
|
330
|
+
ref: s,
|
|
331
|
+
class: k(["bs-black radius-small vti__dropdown-list", L.value]),
|
|
332
|
+
style: B([a.listStyle])
|
|
333
|
+
}, [
|
|
334
|
+
(C(!0), m(q, null, we(b.value, (n, f) => (C(), m("li", {
|
|
335
|
+
class: k(["flex-nowrap flex w-max", ["vti__dropdown-item", ue(f, n.iso2)]]),
|
|
336
|
+
key: n.iso2 + (n.preferred ? "-preferred" : ""),
|
|
337
|
+
onClick: (w) => S(n),
|
|
338
|
+
onMousemove: (w) => r.value = f
|
|
339
|
+
}, [
|
|
340
|
+
a.dropdownOptions.showFlags ? (C(), m("span", {
|
|
341
|
+
key: 0,
|
|
342
|
+
innerHTML: n.flag,
|
|
343
|
+
class: "mn-r-thin"
|
|
344
|
+
}, null, 8, Pe)) : j("", !0),
|
|
345
|
+
T("strong", null, P(n.name), 1),
|
|
346
|
+
a.dropdownOptions.showDialCodeInList ? (C(), m("span", He, " +" + P(n.dialCode), 1)) : j("", !0)
|
|
347
|
+
], 42, Fe))), 128))
|
|
348
|
+
], 6), [
|
|
349
|
+
[xe, p.value]
|
|
350
|
+
])
|
|
351
|
+
], 46, Ve)), [
|
|
352
|
+
[Ie(W), pe]
|
|
353
|
+
]),
|
|
354
|
+
M(T("input", {
|
|
355
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => o.value = n),
|
|
356
|
+
inputmode: "numeric",
|
|
357
|
+
pattern: "\\d*",
|
|
358
|
+
ref_key: "input",
|
|
359
|
+
ref: I,
|
|
360
|
+
type: a.inputOptions.type,
|
|
361
|
+
autocomplete: a.inputOptions.autocomplete,
|
|
362
|
+
autofocus: a.inputOptions.autofocus,
|
|
363
|
+
class: k(["vti__input", a.inputOptions.styleClasses, a.inputClass, Z.value]),
|
|
364
|
+
style: B([a.inputStyle, _.value]),
|
|
365
|
+
disabled: a.disabled,
|
|
366
|
+
id: a.inputId !== "" ? a.inputId : a.inputOptions.id,
|
|
367
|
+
maxlength: a.inputOptions.maxlength,
|
|
368
|
+
name: a.inputId !== "" ? a.inputId : a.inputOptions.name,
|
|
369
|
+
placeholder: R.value,
|
|
370
|
+
readonly: a.inputOptions.readonly,
|
|
371
|
+
required: a.inputOptions.required,
|
|
372
|
+
tabindex: a.inputOptions.tabindex,
|
|
373
|
+
onBlur: de,
|
|
374
|
+
onFocus: ce,
|
|
375
|
+
onInput: z,
|
|
376
|
+
onKeyup: [
|
|
377
|
+
F(fe, ["enter"]),
|
|
378
|
+
F(ve, ["space"])
|
|
379
|
+
]
|
|
380
|
+
}, null, 46, $e), [
|
|
381
|
+
[Te, o.value]
|
|
382
|
+
]),
|
|
383
|
+
Se(e.$slots, "default")
|
|
384
|
+
], 6),
|
|
385
|
+
be(ke, { name: "fade" }, {
|
|
386
|
+
default: je(() => [
|
|
387
|
+
a.validation ? (C(), m("div", Le, " * " + P(a.validation.message), 1)) : j("", !0)
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
})
|
|
391
|
+
], 64));
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
export {
|
|
395
|
+
Ke as default
|
|
396
|
+
};
|