@ozdao/martyrs 0.2.602 → 0.2.604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +3 -3
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +41 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +11 -8
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +27 -17
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +18 -18
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +119 -60
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +76 -56
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +13 -7
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +6 -6
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es101.js +39 -0
- package/dist/martyrs.es102.js +31 -0
- package/dist/martyrs.es104.js +27 -0
- package/dist/martyrs.es105.js +8 -0
- package/dist/martyrs.es106.js +9 -0
- package/dist/martyrs.es107.js +79 -0
- package/dist/martyrs.es108.js +7 -0
- package/dist/martyrs.es109.js +121 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/martyrs.es112.js +4 -0
- package/dist/martyrs.es113.js +169 -0
- package/dist/martyrs.es114.js +460 -0
- package/dist/martyrs.es115.js +42 -0
- package/dist/martyrs.es116.js +12 -0
- package/dist/martyrs.es117.js +52 -0
- package/dist/martyrs.es118.js +14 -0
- package/dist/martyrs.es119.js +47 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +7 -0
- package/dist/martyrs.es121.js +131 -0
- package/dist/martyrs.es122.js +103 -0
- package/dist/martyrs.es123.js +89 -0
- package/dist/martyrs.es124.js +40 -0
- package/dist/martyrs.es125.js +14 -0
- package/dist/martyrs.es126.js +42 -0
- package/dist/martyrs.es127.js +11 -0
- package/dist/martyrs.es128.js +25 -0
- package/dist/martyrs.es129.js +7 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +10 -0
- package/dist/martyrs.es131.js +119 -0
- package/dist/martyrs.es132.js +20 -0
- package/dist/martyrs.es133.js +18 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +35 -0
- package/dist/martyrs.es136.js +12 -0
- package/dist/martyrs.es137.js +23 -0
- package/dist/martyrs.es138.js +12 -0
- package/dist/martyrs.es139.js +11 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +47 -0
- package/dist/martyrs.es141.js +483 -0
- package/dist/martyrs.es142.js +8 -0
- package/dist/martyrs.es143.js +4 -0
- package/dist/martyrs.es144.js +33 -0
- package/dist/martyrs.es145.js +14 -0
- package/dist/martyrs.es146.js +19 -0
- package/dist/martyrs.es147.js +22 -0
- package/dist/martyrs.es148.js +31 -0
- package/dist/martyrs.es149.js +23 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +35 -0
- package/dist/martyrs.es94.js +41 -0
- package/dist/martyrs.es95.js +59 -0
- package/dist/martyrs.es96.js +123 -0
- package/dist/martyrs.es97.js +43 -0
- package/dist/martyrs.es98.js +86 -0
- package/dist/martyrs.es99.js +33 -0
- package/dist/music.server.js +11 -11
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/dist/web-n_ivHO3v.js +0 -54
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -1,1080 +0,0 @@
|
|
|
1
|
-
import { ref, computed, createElementBlock, createCommentVNode, onMounted, onBeforeUnmount, watch, openBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, withModifiers, createBlock, createTextVNode, toDisplayString, nextTick, defineComponent, h, reactive, isReactive } from "vue";
|
|
2
|
-
import "vue-router";
|
|
3
|
-
import "vue-i18n";
|
|
4
|
-
import "axios";
|
|
5
|
-
var Ve;
|
|
6
|
-
(function(e) {
|
|
7
|
-
e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
|
|
8
|
-
})(Ve || (Ve = {}));
|
|
9
|
-
const ca = {
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
width: "48",
|
|
12
|
-
height: "48",
|
|
13
|
-
viewBox: "0 0 48 48",
|
|
14
|
-
fill: "none"
|
|
15
|
-
}, fa = ["fill"], Pn = {
|
|
16
|
-
__name: "IconCheckmark",
|
|
17
|
-
props: {
|
|
18
|
-
fill: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "currentColor"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(e) {
|
|
24
|
-
return (n, t) => (openBlock(), createElementBlock("svg", ca, [
|
|
25
|
-
createElementVNode("path", {
|
|
26
|
-
fill: e.fill,
|
|
27
|
-
"fill-rule": "evenodd",
|
|
28
|
-
"clip-rule": "evenodd",
|
|
29
|
-
d: "M19.1081 37.3513C18.3271 38.1323 17.061 38.1323 16.2799 37.3515L7.41509 28.4891C6.63367 27.7079 6.63381 26.441 7.4154 25.66L9.04833 24.0282C9.82946 23.2476 11.0954 23.2478 11.8763 24.0287L17.6941 29.8465L36.1264 11.4142C36.9074 10.6332 38.1738 10.6332 38.9548 11.4142L40.5858 13.0452C41.3668 13.8262 41.3668 15.0926 40.5858 15.8736L19.1081 37.3513Z"
|
|
30
|
-
}, null, 8, fa)
|
|
31
|
-
]));
|
|
32
|
-
}
|
|
33
|
-
}, $a = {
|
|
34
|
-
width: "100pt",
|
|
35
|
-
height: "100pt",
|
|
36
|
-
version: "1.1",
|
|
37
|
-
viewBox: "0 0 100 100",
|
|
38
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
39
|
-
}, ma = ["fill"], it = {
|
|
40
|
-
__name: "IconCross",
|
|
41
|
-
props: {
|
|
42
|
-
fill: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: "currentColor"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
setup(e) {
|
|
48
|
-
return (n, t) => (openBlock(), createElementBlock("svg", $a, [
|
|
49
|
-
createElementVNode("path", {
|
|
50
|
-
fill: e.fill,
|
|
51
|
-
d: "m22.055 22.055c1.625-1.6289 4.2656-1.6289 5.8906 0l22.055 22.055 22.055-22.055c1.625-1.6289 4.2656-1.6289 5.8906 0 1.6289 1.625 1.6289 4.2656 0 5.8906l-22.055 22.055 22.055 22.055c1.6289 1.625 1.6289 4.2656 0 5.8906-1.625 1.6289-4.2656 1.6289-5.8906 0l-22.055-22.055-22.055 22.055c-1.625 1.6289-4.2656 1.6289-5.8906 0-1.6289-1.625-1.6289-4.2656 0-5.8906l22.055-22.055-22.055-22.055c-1.6289-1.625-1.6289-4.2656 0-5.8906z"
|
|
52
|
-
}, null, 8, ma)
|
|
53
|
-
]));
|
|
54
|
-
}
|
|
55
|
-
}, va = ["disabled"], ha = {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: "button-counter font-second flex flex-center"
|
|
58
|
-
}, On = {
|
|
59
|
-
__name: "Button",
|
|
60
|
-
props: {
|
|
61
|
-
submit: {
|
|
62
|
-
type: Function,
|
|
63
|
-
default: async () => {
|
|
64
|
-
console.log("Button click.");
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
text: {
|
|
68
|
-
type: Object,
|
|
69
|
-
default: () => ({
|
|
70
|
-
success: null,
|
|
71
|
-
error: null
|
|
72
|
-
})
|
|
73
|
-
},
|
|
74
|
-
counter: {
|
|
75
|
-
type: Object
|
|
76
|
-
},
|
|
77
|
-
callback: {
|
|
78
|
-
type: Function,
|
|
79
|
-
default: async () => {
|
|
80
|
-
console.log("Button callback.");
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
callbackDelay: {
|
|
84
|
-
type: Number,
|
|
85
|
-
default: 750
|
|
86
|
-
},
|
|
87
|
-
showSucces: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: true
|
|
90
|
-
},
|
|
91
|
-
showLoader: {
|
|
92
|
-
type: Boolean,
|
|
93
|
-
default: true
|
|
94
|
-
},
|
|
95
|
-
validation: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
default: false
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
emits: ["error"],
|
|
101
|
-
setup(e, { emit: n }) {
|
|
102
|
-
const t = e, a = n, l = ref(null), r = ref(null), o = ref(false), i = ref(false);
|
|
103
|
-
async function s() {
|
|
104
|
-
console.log("click"), l.value.style["pointer-events"] = "none", r.value = null, o.value = true;
|
|
105
|
-
const d = () => {
|
|
106
|
-
l.value && (l.value.style.pointerEvents = "auto", o.value = false, i.value = false, r.value = null);
|
|
107
|
-
};
|
|
108
|
-
try {
|
|
109
|
-
await t.submit(), l.value.classList.replace("bg-main", "bg-second"), o.value = false, t.showSucces ? (i.value = true, setTimeout(() => {
|
|
110
|
-
d(), l.value.classList.replace("bg-second", "bg-main");
|
|
111
|
-
}, 500)) : (d(), l.value.classList.replace("bg-second", "bg-main")), t.callback && setTimeout(() => t.callback(), t.callbackDelay);
|
|
112
|
-
} catch (c) {
|
|
113
|
-
console.error("=== BUTTON ERROR ===", c), a("error", c), l.value.classList.replace("bg-main", "bg-fourth-nano"), o.value = false, r.value = true, setTimeout(() => {
|
|
114
|
-
d(), l.value.classList.replace("bg-fourth-nano", "bg-main");
|
|
115
|
-
}, 1330);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return (d, c) => (openBlock(), createElementBlock("button", {
|
|
119
|
-
onClick: withModifiers(s, ["stop"]),
|
|
120
|
-
disabled: e.validation,
|
|
121
|
-
ref_key: "button",
|
|
122
|
-
ref: l,
|
|
123
|
-
class: normalizeClass(["button", { "button--disabled": o.value || e.validation }])
|
|
124
|
-
}, [
|
|
125
|
-
createElementVNode("span", {
|
|
126
|
-
class: normalizeClass(["button-content", { hidden: o.value || r.value || i.value }])
|
|
127
|
-
}, [
|
|
128
|
-
renderSlot(d.$slots, "default")
|
|
129
|
-
], 2),
|
|
130
|
-
createElementVNode("span", {
|
|
131
|
-
class: normalizeClass(["button-loader", { active: o.value && e.showLoader }])
|
|
132
|
-
}, c[0] || (c[0] = [
|
|
133
|
-
createElementVNode("span", { class: "dot" }, null, -1),
|
|
134
|
-
createElementVNode("span", { class: "dot" }, null, -1),
|
|
135
|
-
createElementVNode("span", { class: "dot" }, null, -1)
|
|
136
|
-
]), 2),
|
|
137
|
-
createElementVNode("span", {
|
|
138
|
-
class: normalizeClass(["button-success", { active: i.value && e.showSucces }])
|
|
139
|
-
}, [
|
|
140
|
-
e.text.success ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
141
|
-
createTextVNode(toDisplayString(e.text.success), 1)
|
|
142
|
-
], 64)) : (openBlock(), createBlock(Pn, {
|
|
143
|
-
key: 1,
|
|
144
|
-
class: "i-regular"
|
|
145
|
-
}))
|
|
146
|
-
], 2),
|
|
147
|
-
createElementVNode("span", {
|
|
148
|
-
class: normalizeClass(["button-error", { active: r.value }])
|
|
149
|
-
}, [
|
|
150
|
-
e.text.error ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
151
|
-
createTextVNode(toDisplayString(e.text.error), 1)
|
|
152
|
-
], 64)) : (openBlock(), createBlock(it, {
|
|
153
|
-
key: 1,
|
|
154
|
-
class: "i-regular"
|
|
155
|
-
}))
|
|
156
|
-
], 2),
|
|
157
|
-
e.counter ? (openBlock(), createElementBlock("div", ha, [
|
|
158
|
-
createElementVNode("span", null, toDisplayString(e.counter), 1)
|
|
159
|
-
])) : createCommentVNode("", true)
|
|
160
|
-
], 10, va));
|
|
161
|
-
}
|
|
162
|
-
}, $e = (e, n) => {
|
|
163
|
-
const t = e.__vccOpts || e;
|
|
164
|
-
for (const [a, l] of n)
|
|
165
|
-
t[a] = l;
|
|
166
|
-
return t;
|
|
167
|
-
};
|
|
168
|
-
const vo = [
|
|
169
|
-
["افغانستان", "af", "93", , "🇦🇫"],
|
|
170
|
-
["Shqipëri", "al", "355", , "🇦🇱"],
|
|
171
|
-
["الجزائر", "dz", "213", , "🇩🇿"],
|
|
172
|
-
["American Samoa", "as", "1684", , "🇦🇸"],
|
|
173
|
-
["Andorra", "ad", "376", , "🇦🇩"],
|
|
174
|
-
["Angola", "ao", "244", , "🇦🇴"],
|
|
175
|
-
["Anguilla", "ai", "1264", , "🇦🇮"],
|
|
176
|
-
["Antigua and Barbuda", "ag", "1268", , "🇦🇬"],
|
|
177
|
-
["Argentina", "ar", "54", , "🇦🇷"],
|
|
178
|
-
["Հայաստան", "am", "374", , "🇦🇲"],
|
|
179
|
-
["Aruba", "aw", "297", , "🇦🇼"],
|
|
180
|
-
["Australia", "au", "61", 0, , "🇦🇺"],
|
|
181
|
-
["Österreich", "at", "43", , "🇦🇹"],
|
|
182
|
-
["Azərbaycan", "az", "994", , "🇦🇿"],
|
|
183
|
-
["Bahamas", "bs", "1242", , "🇧🇸"],
|
|
184
|
-
["البحرين", "bh", "973", , "🇧🇭"],
|
|
185
|
-
["বাংলাদেশ", "bd", "880", , "🇧🇩"],
|
|
186
|
-
["Barbados", "bb", "1246", , "🇧🇧"],
|
|
187
|
-
["Беларусь", "by", "375", , "🇧🇾"],
|
|
188
|
-
["België", "be", "32", , "🇧🇪"],
|
|
189
|
-
["Belize", "bz", "501", , "🇧🇿"],
|
|
190
|
-
["Bénin", "bj", "229", , "🇧🇯"],
|
|
191
|
-
["Bermuda", "bm", "1441", , "🇧🇲"],
|
|
192
|
-
["འབྲུག", "bt", "975", , "🇧🇹"],
|
|
193
|
-
["Bolivia", "bo", "591", , "🇧🇴"],
|
|
194
|
-
["Босна и Херцеговина", "ba", "387", , "🇧🇦"],
|
|
195
|
-
["Botswana", "bw", "267", , "🇧🇼"],
|
|
196
|
-
["Brasil", "br", "55", , "🇧🇷"],
|
|
197
|
-
["British Indian Ocean Territory", "io", "246", , "🇮🇴"],
|
|
198
|
-
["British Virgin Islands", "vg", "1284", , "🇻🇬"],
|
|
199
|
-
["Brunei", "bn", "673", , "🇧🇳"],
|
|
200
|
-
["България", "bg", "359", , "🇧🇬"],
|
|
201
|
-
["Burkina Faso", "bf", "226", , "🇧🇫"],
|
|
202
|
-
["Uburundi", "bi", "257", , "🇧🇮"],
|
|
203
|
-
["កម្ពុជា", "kh", "855", , "🇰🇭"],
|
|
204
|
-
["Cameroun", "cm", "237", , "🇨🇲"],
|
|
205
|
-
["Canada", "ca", "1", 1, "🇨🇦"],
|
|
206
|
-
["Kabu Verdi", "cv", "238", , "🇨🇻"],
|
|
207
|
-
["Caribbean Netherlands", "bq", "599", 1, , "🇧🇶"],
|
|
208
|
-
["Cayman Islands", "ky", "1345", , "🇰🇾"],
|
|
209
|
-
["République centrafricaine", "cf", "236", , "🇨🇫"],
|
|
210
|
-
["Tchad", "td", "235", , "🇹🇩"],
|
|
211
|
-
["Chile", "cl", "56", , "🇨🇱"],
|
|
212
|
-
["中国", "cn", "86", , "🇨🇳"],
|
|
213
|
-
["Christmas Island", "cx", "61", 2, , "🇨🇽"],
|
|
214
|
-
["Keeling", "cc", "61", 1, , "🇨🇨"],
|
|
215
|
-
["Colombia", "co", "57", , "🇨🇴"],
|
|
216
|
-
["جزر القمر", "km", "269", , "🇰🇲"],
|
|
217
|
-
["DRC", "cd", "243", , "🇨🇩"],
|
|
218
|
-
["Republic", "cg", "242", , "🇨🇬"],
|
|
219
|
-
["Cook Islands", "ck", "682", , "🇨🇰"],
|
|
220
|
-
["Costa Rica", "cr", "506", , "🇨🇷"],
|
|
221
|
-
["Côte d’Ivoire", "ci", "225", , "🇨🇮"],
|
|
222
|
-
["Hrvatska", "hr", "385", , "🇭🇷"],
|
|
223
|
-
["Cuba", "cu", "53", , "🇨🇺"],
|
|
224
|
-
["Curaçao", "cw", "599", 0, , "🇨🇼"],
|
|
225
|
-
["Κύπρος", "cy", "357", , "🇨🇾"],
|
|
226
|
-
["Česká republika", "cz", "420", , "🇨🇿"],
|
|
227
|
-
["Danmark", "dk", "45", , "🇩🇰"],
|
|
228
|
-
["Djibouti", "dj", "253", , "🇩🇯"],
|
|
229
|
-
["Dominica", "dm", "1767", , "🇩🇲"],
|
|
230
|
-
["República Dominicana", "do", "1", 2, ["809", "829", "849", "🇩🇴"]],
|
|
231
|
-
["Ecuador", "ec", "593", , "🇪🇨"],
|
|
232
|
-
["مصر", "eg", "20", , "🇪🇬"],
|
|
233
|
-
["El Salvador", "sv", "503", , "🇸🇻"],
|
|
234
|
-
["Guinea Ecuatorial", "gq", "240", , "🇬🇶"],
|
|
235
|
-
["Eritrea", "er", "291", , "🇪🇷"],
|
|
236
|
-
["Eesti", "ee", "372", , "🇪🇪"],
|
|
237
|
-
["Ethiopia", "et", "251", , "🇪🇹"],
|
|
238
|
-
["Islas Malvinas", "fk", "500", , "🇫🇰"],
|
|
239
|
-
["Føroyar", "fo", "298", , "🇫🇴"],
|
|
240
|
-
["Fiji", "fj", "679", , "🇫🇯"],
|
|
241
|
-
["Suomi", "fi", "358", 0, , "🇫🇮"],
|
|
242
|
-
["France", "fr", "33", , "🇫🇷"],
|
|
243
|
-
["Guyane française", "gf", "594", , "🇬🇫"],
|
|
244
|
-
["Polynésie française", "pf", "689", , "🇵🇫"],
|
|
245
|
-
["Gabon", "ga", "241", , "🇬🇦"],
|
|
246
|
-
["Gambia", "gm", "220", , "🇬🇲"],
|
|
247
|
-
["საქართველო", "ge", "995", , "🇬🇪"],
|
|
248
|
-
["Deutschland", "de", "49", , "🇩🇪"],
|
|
249
|
-
["Gaana", "gh", "233", , "🇬🇭"],
|
|
250
|
-
["Gibraltar", "gi", "350", , "🇬🇮"],
|
|
251
|
-
["Ελλάδα", "gr", "30", , "🇬🇷"],
|
|
252
|
-
["Kalaallit Nunaat", "gl", "299", , "🇬🇱"],
|
|
253
|
-
["Grenada", "gd", "1473", , "🇬🇩"],
|
|
254
|
-
["Guadeloupe", "gp", "590", 0, , "🇬🇵"],
|
|
255
|
-
["Guam", "gu", "1671", , "🇬🇺"],
|
|
256
|
-
["Guatemala", "gt", "502", , "🇬🇹"],
|
|
257
|
-
["Guernsey", "gg", "44", 1, , "🇬🇬"],
|
|
258
|
-
["Guinée", "gn", "224", , "🇬🇳"],
|
|
259
|
-
["Guiné Bissau", "gw", "245", , "🇬🇼"],
|
|
260
|
-
["Guyana", "gy", "592", , "🇬🇾"],
|
|
261
|
-
["Haiti", "ht", "509", , "🇭🇹"],
|
|
262
|
-
["Honduras", "hn", "504", , "🇭🇳"],
|
|
263
|
-
["香港", "hk", "852", , "🇭🇰"],
|
|
264
|
-
["Magyarország", "hu", "36", , "🇭🇺"],
|
|
265
|
-
["Ísland", "is", "354", , "🇮🇸"],
|
|
266
|
-
["भारत", "in", "91", , "🇮🇳"],
|
|
267
|
-
["Indonesia", "id", "62", , "🇮🇩"],
|
|
268
|
-
["ایران", "ir", "98", , "🇮🇷"],
|
|
269
|
-
["العراق", "iq", "964", , "🇮🇶"],
|
|
270
|
-
["Ireland", "ie", "353", , "🇮🇪"],
|
|
271
|
-
["Isle of Man", "im", "44", 2, , "🇮🇲"],
|
|
272
|
-
["ישראל", "il", "972", , "🇮🇱"],
|
|
273
|
-
["Italia", "it", "39", 0, , "🇮🇹"],
|
|
274
|
-
["Jamaica", "jm", "1876", , "🇯🇲"],
|
|
275
|
-
["日本", "jp", "81", , "🇯🇵"],
|
|
276
|
-
["Jersey", "je", "44", 3, , "🇯🇪"],
|
|
277
|
-
["الأردن", "jo", "962", , "🇯🇴"],
|
|
278
|
-
["Казахстан", "kz", "7", 1, , "🇰🇿"],
|
|
279
|
-
["Kenya", "ke", "254", , "🇰🇪"],
|
|
280
|
-
["Kiribati", "ki", "686", , "🇰🇮"],
|
|
281
|
-
["Kosovo", "xk", "383", , "🇽🇰"],
|
|
282
|
-
["الكويت", "kw", "965", , "🇰🇼"],
|
|
283
|
-
["Кыргызстан", "kg", "996", , "🇰🇬"],
|
|
284
|
-
["ລາວ", "la", "856", , "🇱🇦"],
|
|
285
|
-
["Latvija", "lv", "371", , "🇱🇻"],
|
|
286
|
-
["لبنان", "lb", "961", , "🇱🇧"],
|
|
287
|
-
["Lesotho", "ls", "266", , "🇱🇸"],
|
|
288
|
-
["Liberia", "lr", "231", , "🇱🇷"],
|
|
289
|
-
["ليبيا", "ly", "218", , "🇱🇾"],
|
|
290
|
-
["Liechtenstein", "li", "423", , "🇱🇮"],
|
|
291
|
-
["Lietuva", "lt", "370", , "🇱🇹"],
|
|
292
|
-
["Luxembourg", "lu", "352", , "🇱🇺"],
|
|
293
|
-
["澳門", "mo", "853", , "🇲🇴"],
|
|
294
|
-
["FYROM", "mk", "389", , "🇲🇰"],
|
|
295
|
-
["Madagasikara", "mg", "261", , "🇲🇬"],
|
|
296
|
-
["Malawi", "mw", "265", , "🇲🇼"],
|
|
297
|
-
["Malaysia", "my", "60", , "🇲🇾"],
|
|
298
|
-
["Maldives", "mv", "960", , "🇲🇻"],
|
|
299
|
-
["Mali", "ml", "223", , "🇲🇱"],
|
|
300
|
-
["Malta", "mt", "356", , "🇲🇹"],
|
|
301
|
-
["Marshall Islands", "mh", "692", , "🇲🇭"],
|
|
302
|
-
["Martinique", "mq", "596", , "🇲🇶"],
|
|
303
|
-
["موريتانيا", "mr", "222", , "🇲🇷"],
|
|
304
|
-
["Moris", "mu", "230", , "🇲🇺"],
|
|
305
|
-
["Mayotte", "yt", "262", 1, , "🇾🇹"],
|
|
306
|
-
["México", "mx", "52", , "🇲🇽"],
|
|
307
|
-
["Micronesia", "fm", "691", , "🇫🇲"],
|
|
308
|
-
["Republica Moldova", "md", "373", , "🇲🇩"],
|
|
309
|
-
["Monaco", "mc", "377", , "🇲🇨"],
|
|
310
|
-
["Монгол", "mn", "976", , "🇲🇳"],
|
|
311
|
-
["Crna Gora", "me", "382", , "🇲🇪"],
|
|
312
|
-
["Montserrat", "ms", "1664", , "🇲🇸"],
|
|
313
|
-
["المغرب", "ma", "212", 0, , "🇲🇦"],
|
|
314
|
-
["Moçambique", "mz", "258", , "🇲🇿"],
|
|
315
|
-
["Burma", "mm", "95", , "🇲🇲"],
|
|
316
|
-
["Namibië", "na", "264", , "🇳🇦"],
|
|
317
|
-
["Nauru", "nr", "674", , "🇳🇷"],
|
|
318
|
-
["नेपाल", "np", "977", , "🇳🇵"],
|
|
319
|
-
["Nederland", "nl", "31", , "🇳🇱"],
|
|
320
|
-
["Nouvelle-Calédonie", "nc", "687", , "🇳🇨"],
|
|
321
|
-
["New Zealand", "nz", "64", , "🇳🇿"],
|
|
322
|
-
["Nicaragua", "ni", "505", , "🇳🇮"],
|
|
323
|
-
["Nijar", "ne", "227", , "🇳🇪"],
|
|
324
|
-
["Nigeria", "ng", "234", , "🇳🇬"],
|
|
325
|
-
["Niue", "nu", "683", , "🇳🇺"],
|
|
326
|
-
["Norfolk Island", "nf", "672", , "🇳🇫"],
|
|
327
|
-
["조선 민주주의 인민 공화국", "kp", "850", , "🇰🇵"],
|
|
328
|
-
["Northern Mariana Islands", "mp", "1670", , "🇲🇵"],
|
|
329
|
-
["Norge", "no", "47", 0, , "🇳🇴"],
|
|
330
|
-
["عُمان", "om", "968", , "🇴🇲"],
|
|
331
|
-
["پاکستان", "pk", "92", , "🇵🇰"],
|
|
332
|
-
["Palau", "pw", "680", , "🇵🇼"],
|
|
333
|
-
["فلسطين", "ps", "970", , "🇵🇸"],
|
|
334
|
-
["Panamá", "pa", "507", , "🇵🇦"],
|
|
335
|
-
["Papua New Guinea", "pg", "675", , "🇵🇬"],
|
|
336
|
-
["Paraguay", "py", "595", , "🇵🇾"],
|
|
337
|
-
["Perú", "pe", "51", , "🇵🇪"],
|
|
338
|
-
["Philippines", "ph", "63", , "🇵🇭"],
|
|
339
|
-
["Polska", "pl", "48", , "🇵🇱"],
|
|
340
|
-
["Portugal", "pt", "351", , "🇵🇹"],
|
|
341
|
-
["Puerto Rico", "pr", "1", 3, ["787", "939", "🇵🇷"]],
|
|
342
|
-
["قطر", "qa", "974", , "🇶🇦"],
|
|
343
|
-
["La Réunion", "re", "262", 0, , "🇷🇪"],
|
|
344
|
-
["România", "ro", "40", , "🇷🇴"],
|
|
345
|
-
["Россия", "ru", "7", 0, , "🇷🇺"],
|
|
346
|
-
["Rwanda", "rw", "250", , "🇷🇼"],
|
|
347
|
-
["Saint Barthélemy", "bl", "590", 1, , "🇧🇱"],
|
|
348
|
-
["Saint Helena", "sh", "290", , "🇸🇭"],
|
|
349
|
-
["Saint Kitts and Nevis", "kn", "1869", , "🇰🇳"],
|
|
350
|
-
["Saint Lucia", "lc", "1758", , "🇱🇨"],
|
|
351
|
-
["Saint-Martin (partie française", "mf", "590", 2, , "🇲🇫"],
|
|
352
|
-
["Saint-Pierre-et-Miquelon", "pm", "508", , "🇵🇲"],
|
|
353
|
-
["Saint Vincent and the Grenadines", "vc", "1784", , "🇻🇨"],
|
|
354
|
-
["Samoa", "ws", "685", , "🇼🇸"],
|
|
355
|
-
["San Marino", "sm", "378", , "🇸🇲"],
|
|
356
|
-
["São Tomé e Príncipe", "st", "239", , "🇸🇹"],
|
|
357
|
-
["المملكة العربية السعودية", "sa", "966", , "🇸🇦"],
|
|
358
|
-
["Sénégal", "sn", "221", , "🇸🇳"],
|
|
359
|
-
["Србија", "rs", "381", , "🇷🇸"],
|
|
360
|
-
["Seychelles", "sc", "248", , "🇸🇨"],
|
|
361
|
-
["Sierra Leone", "sl", "232", , "🇸🇱"],
|
|
362
|
-
["Singapore", "sg", "65", , "🇸🇬"],
|
|
363
|
-
["Sint Maarten", "sx", "1721", , "🇸🇽"],
|
|
364
|
-
["Slovensko", "sk", "421", , "🇸🇰"],
|
|
365
|
-
["Slovenija", "si", "386", , "🇸🇮"],
|
|
366
|
-
["Solomon Islands", "sb", "677", , "🇸🇧"],
|
|
367
|
-
["Soomaaliya", "so", "252", , "🇸🇴"],
|
|
368
|
-
["South Africa", "za", "27", , "🇿🇦"],
|
|
369
|
-
["대한민국", "kr", "82", , "🇰🇷"],
|
|
370
|
-
["جنوب السودان", "ss", "211", , "🇸🇸"],
|
|
371
|
-
["España", "es", "34", , "🇪🇸"],
|
|
372
|
-
["ශ්රී ලංකාව", "lk", "94", , "🇱🇰"],
|
|
373
|
-
["السودان", "sd", "249", , "🇸🇩"],
|
|
374
|
-
["Suriname", "sr", "597", , "🇸🇷"],
|
|
375
|
-
["Svalbard and Jan Mayen", "sj", "47", 1, , "🇸🇯"],
|
|
376
|
-
["Swaziland", "sz", "268", , "🇸🇿"],
|
|
377
|
-
["Sverige", "se", "46", , "🇸🇪"],
|
|
378
|
-
["Schweiz", "ch", "41", , "🇨🇭"],
|
|
379
|
-
["سوريا", "sy", "963", , "🇸🇾"],
|
|
380
|
-
["台灣", "tw", "886", , "🇹🇼"],
|
|
381
|
-
["Tajikistan", "tj", "992", , "🇹🇯"],
|
|
382
|
-
["Tanzania", "tz", "255", , "🇹🇿"],
|
|
383
|
-
["ไทย", "th", "66", , "🇹🇭"],
|
|
384
|
-
["Timor-Leste", "tl", "670", , "🇹🇱"],
|
|
385
|
-
["Togo", "tg", "228", , "🇹🇬"],
|
|
386
|
-
["Tokelau", "tk", "690", , "🇹🇰"],
|
|
387
|
-
["Tonga", "to", "676", , "🇹🇴"],
|
|
388
|
-
["Trinidad and Tobago", "tt", "1868", , "🇹🇹"],
|
|
389
|
-
["تونس", "tn", "216", , "🇹🇳"],
|
|
390
|
-
["Türkiye", "tr", "90", , "🇹🇷"],
|
|
391
|
-
["Turkmenistan", "tm", "993", , "🇹🇲"],
|
|
392
|
-
["Turks and Caicos Islands", "tc", "1649", , "🇹🇨"],
|
|
393
|
-
["Tuvalu", "tv", "688", , "🇹🇻"],
|
|
394
|
-
["U.S. Virgin Islands", "vi", "1340", , "🇻🇮"],
|
|
395
|
-
["Uganda", "ug", "256", , "🇺🇬"],
|
|
396
|
-
["Україна", "ua", "380", , "🇺🇦"],
|
|
397
|
-
["الإمارات العربية المتحدة", "ae", "971", , "🇦🇪"],
|
|
398
|
-
["United Kingdom", "gb", "44", 0, , "🇬🇧"],
|
|
399
|
-
["United States", "us", "1", 0, , "🇺🇸"],
|
|
400
|
-
["Uruguay", "uy", "598", , "🇺🇾"],
|
|
401
|
-
["Oʻzbekiston", "uz", "998", , "🇺🇿"],
|
|
402
|
-
["Vanuatu", "vu", "678", , "🇻🇺"],
|
|
403
|
-
["Città del Vaticano", "va", "39", 1, , "🇻🇦"],
|
|
404
|
-
["Venezuela", "ve", "58", , "🇻🇪"],
|
|
405
|
-
["Việt Nam", "vn", "84", , "🇻🇳"],
|
|
406
|
-
["Wallis-et-Futuna", "wf", "681", , "🇼🇫"],
|
|
407
|
-
["الصحراء الغربية", "eh", "212", 1, , "🇪🇭"],
|
|
408
|
-
["اليمن", "ye", "967", , "🇾🇪"],
|
|
409
|
-
["Zambia", "zm", "260", , "🇿🇲"],
|
|
410
|
-
["Zimbabwe", "zw", "263", , "🇿🇼"],
|
|
411
|
-
["Åland Islands", "ax", "358", 1, , "🇦🇽"]
|
|
412
|
-
];
|
|
413
|
-
vo.map((e) => ({
|
|
414
|
-
name: e[0],
|
|
415
|
-
iso2: e[1].toUpperCase(),
|
|
416
|
-
dialCode: e[2],
|
|
417
|
-
priority: e[3] || 0,
|
|
418
|
-
areaCodes: e[4] || null,
|
|
419
|
-
flag: e[e.length - 1] || null
|
|
420
|
-
}));
|
|
421
|
-
/*! Capacitor: https://capacitorjs.com/ - MIT License */
|
|
422
|
-
var Ge;
|
|
423
|
-
(function(e) {
|
|
424
|
-
e.Unimplemented = "UNIMPLEMENTED", e.Unavailable = "UNAVAILABLE";
|
|
425
|
-
})(Ge || (Ge = {}));
|
|
426
|
-
class yt extends Error {
|
|
427
|
-
constructor(n, t, a) {
|
|
428
|
-
super(n), this.message = n, this.code = t, this.data = a;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
const ws = (e) => {
|
|
432
|
-
var n, t;
|
|
433
|
-
return e?.androidBridge ? "android" : !((t = (n = e?.webkit) === null || n === void 0 ? void 0 : n.messageHandlers) === null || t === void 0) && t.bridge ? "ios" : "web";
|
|
434
|
-
}, xs = (e) => {
|
|
435
|
-
const n = e.CapacitorCustomPlatform || null, t = e.Capacitor || {}, a = t.Plugins = t.Plugins || {}, l = () => n !== null ? n.name : ws(e), r = () => l() !== "web", o = (m) => {
|
|
436
|
-
const $ = d.get(m);
|
|
437
|
-
return !!($?.platforms.has(l()) || i(m));
|
|
438
|
-
}, i = (m) => {
|
|
439
|
-
var $;
|
|
440
|
-
return ($ = t.PluginHeaders) === null || $ === void 0 ? void 0 : $.find((p) => p.name === m);
|
|
441
|
-
}, s = (m) => e.console.error(m), d = /* @__PURE__ */ new Map(), c = (m, $ = {}) => {
|
|
442
|
-
const p = d.get(m);
|
|
443
|
-
if (p)
|
|
444
|
-
return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`), p.proxy;
|
|
445
|
-
const b = l(), C = i(m);
|
|
446
|
-
let L;
|
|
447
|
-
const M = async () => (!L && b in $ ? L = typeof $[b] == "function" ? L = await $[b]() : L = $[b] : n !== null && !L && "web" in $ && (L = typeof $.web == "function" ? L = await $.web() : L = $.web), L), _ = (N, J) => {
|
|
448
|
-
var O, k;
|
|
449
|
-
if (C) {
|
|
450
|
-
const D = C?.methods.find((T) => J === T.name);
|
|
451
|
-
if (D)
|
|
452
|
-
return D.rtype === "promise" ? (T) => t.nativePromise(m, J.toString(), T) : (T, H) => t.nativeCallback(m, J.toString(), T, H);
|
|
453
|
-
if (N)
|
|
454
|
-
return (O = N[J]) === null || O === void 0 ? void 0 : O.bind(N);
|
|
455
|
-
} else {
|
|
456
|
-
if (N)
|
|
457
|
-
return (k = N[J]) === null || k === void 0 ? void 0 : k.bind(N);
|
|
458
|
-
throw new yt(`"${m}" plugin is not implemented on ${b}`, Ge.Unimplemented);
|
|
459
|
-
}
|
|
460
|
-
}, v = (N) => {
|
|
461
|
-
let J;
|
|
462
|
-
const O = (...k) => {
|
|
463
|
-
const D = M().then((T) => {
|
|
464
|
-
const H = _(T, N);
|
|
465
|
-
if (H) {
|
|
466
|
-
const le = H(...k);
|
|
467
|
-
return J = le?.remove, le;
|
|
468
|
-
} else
|
|
469
|
-
throw new yt(`"${m}.${N}()" is not implemented on ${b}`, Ge.Unimplemented);
|
|
470
|
-
});
|
|
471
|
-
return N === "addListener" && (D.remove = async () => J()), D;
|
|
472
|
-
};
|
|
473
|
-
return O.toString = () => `${N.toString()}() { [capacitor code] }`, Object.defineProperty(O, "name", {
|
|
474
|
-
value: N,
|
|
475
|
-
writable: false,
|
|
476
|
-
configurable: false
|
|
477
|
-
}), O;
|
|
478
|
-
}, y = v("addListener"), w = v("removeListener"), z = (N, J) => {
|
|
479
|
-
const O = y({ eventName: N }, J), k = async () => {
|
|
480
|
-
const T = await O;
|
|
481
|
-
w({
|
|
482
|
-
eventName: N,
|
|
483
|
-
callbackId: T
|
|
484
|
-
}, J);
|
|
485
|
-
}, D = new Promise((T) => O.then(() => T({ remove: k })));
|
|
486
|
-
return D.remove = async () => {
|
|
487
|
-
console.warn("Using addListener() without 'await' is deprecated."), await k();
|
|
488
|
-
}, D;
|
|
489
|
-
}, V = new Proxy({}, {
|
|
490
|
-
get(N, J) {
|
|
491
|
-
switch (J) {
|
|
492
|
-
// https://github.com/facebook/react/issues/20030
|
|
493
|
-
case "$$typeof":
|
|
494
|
-
return;
|
|
495
|
-
case "toJSON":
|
|
496
|
-
return () => ({});
|
|
497
|
-
case "addListener":
|
|
498
|
-
return C ? z : y;
|
|
499
|
-
case "removeListener":
|
|
500
|
-
return w;
|
|
501
|
-
default:
|
|
502
|
-
return v(J);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
return a[m] = V, d.set(m, {
|
|
507
|
-
name: m,
|
|
508
|
-
proxy: V,
|
|
509
|
-
platforms: /* @__PURE__ */ new Set([...Object.keys($), ...C ? [b] : []])
|
|
510
|
-
}), V;
|
|
511
|
-
};
|
|
512
|
-
return t.convertFileSrc || (t.convertFileSrc = (m) => m), t.getPlatform = l, t.handleError = s, t.isNativePlatform = r, t.isPluginAvailable = o, t.registerPlugin = c, t.Exception = yt, t.DEBUG = !!t.DEBUG, t.isLoggingEnabled = !!t.isLoggingEnabled, t;
|
|
513
|
-
}, Ss = (e) => e.Capacitor = xs(e), Tt = /* @__PURE__ */ Ss(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), Vt = Tt.registerPlugin;
|
|
514
|
-
class Rn {
|
|
515
|
-
constructor() {
|
|
516
|
-
this.listeners = {}, this.retainedEventArguments = {}, this.windowListeners = {};
|
|
517
|
-
}
|
|
518
|
-
addListener(n, t) {
|
|
519
|
-
let a = false;
|
|
520
|
-
this.listeners[n] || (this.listeners[n] = [], a = true), this.listeners[n].push(t);
|
|
521
|
-
const r = this.windowListeners[n];
|
|
522
|
-
r && !r.registered && this.addWindowListener(r), a && this.sendRetainedArgumentsForEvent(n);
|
|
523
|
-
const o = async () => this.removeListener(n, t);
|
|
524
|
-
return Promise.resolve({ remove: o });
|
|
525
|
-
}
|
|
526
|
-
async removeAllListeners() {
|
|
527
|
-
this.listeners = {};
|
|
528
|
-
for (const n in this.windowListeners)
|
|
529
|
-
this.removeWindowListener(this.windowListeners[n]);
|
|
530
|
-
this.windowListeners = {};
|
|
531
|
-
}
|
|
532
|
-
notifyListeners(n, t, a) {
|
|
533
|
-
const l = this.listeners[n];
|
|
534
|
-
if (!l) {
|
|
535
|
-
if (a) {
|
|
536
|
-
let r = this.retainedEventArguments[n];
|
|
537
|
-
r || (r = []), r.push(t), this.retainedEventArguments[n] = r;
|
|
538
|
-
}
|
|
539
|
-
return;
|
|
540
|
-
}
|
|
541
|
-
l.forEach((r) => r(t));
|
|
542
|
-
}
|
|
543
|
-
hasListeners(n) {
|
|
544
|
-
var t;
|
|
545
|
-
return !!(!((t = this.listeners[n]) === null || t === void 0) && t.length);
|
|
546
|
-
}
|
|
547
|
-
registerWindowListener(n, t) {
|
|
548
|
-
this.windowListeners[t] = {
|
|
549
|
-
registered: false,
|
|
550
|
-
windowEventName: n,
|
|
551
|
-
pluginEventName: t,
|
|
552
|
-
handler: (a) => {
|
|
553
|
-
this.notifyListeners(t, a);
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
|
-
unimplemented(n = "not implemented") {
|
|
558
|
-
return new Tt.Exception(n, Ge.Unimplemented);
|
|
559
|
-
}
|
|
560
|
-
unavailable(n = "not available") {
|
|
561
|
-
return new Tt.Exception(n, Ge.Unavailable);
|
|
562
|
-
}
|
|
563
|
-
async removeListener(n, t) {
|
|
564
|
-
const a = this.listeners[n];
|
|
565
|
-
if (!a)
|
|
566
|
-
return;
|
|
567
|
-
const l = a.indexOf(t);
|
|
568
|
-
this.listeners[n].splice(l, 1), this.listeners[n].length || this.removeWindowListener(this.windowListeners[n]);
|
|
569
|
-
}
|
|
570
|
-
addWindowListener(n) {
|
|
571
|
-
window.addEventListener(n.windowEventName, n.handler), n.registered = true;
|
|
572
|
-
}
|
|
573
|
-
removeWindowListener(n) {
|
|
574
|
-
n && (window.removeEventListener(n.windowEventName, n.handler), n.registered = false);
|
|
575
|
-
}
|
|
576
|
-
sendRetainedArgumentsForEvent(n) {
|
|
577
|
-
const t = this.retainedEventArguments[n];
|
|
578
|
-
t && (delete this.retainedEventArguments[n], t.forEach((a) => {
|
|
579
|
-
this.notifyListeners(n, a);
|
|
580
|
-
}));
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
const gn = (e) => encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape), yn = (e) => e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
584
|
-
class ks extends Rn {
|
|
585
|
-
async getCookies() {
|
|
586
|
-
const n = document.cookie, t = {};
|
|
587
|
-
return n.split(";").forEach((a) => {
|
|
588
|
-
if (a.length <= 0)
|
|
589
|
-
return;
|
|
590
|
-
let [l, r] = a.replace(/=/, "CAP_COOKIE").split("CAP_COOKIE");
|
|
591
|
-
l = yn(l).trim(), r = yn(r).trim(), t[l] = r;
|
|
592
|
-
}), t;
|
|
593
|
-
}
|
|
594
|
-
async setCookie(n) {
|
|
595
|
-
try {
|
|
596
|
-
const t = gn(n.key), a = gn(n.value), l = `; expires=${(n.expires || "").replace("expires=", "")}`, r = (n.path || "/").replace("path=", ""), o = n.url != null && n.url.length > 0 ? `domain=${n.url}` : "";
|
|
597
|
-
document.cookie = `${t}=${a || ""}${l}; path=${r}; ${o};`;
|
|
598
|
-
} catch (t) {
|
|
599
|
-
return Promise.reject(t);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
async deleteCookie(n) {
|
|
603
|
-
try {
|
|
604
|
-
document.cookie = `${n.key}=; Max-Age=0`;
|
|
605
|
-
} catch (t) {
|
|
606
|
-
return Promise.reject(t);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
async clearCookies() {
|
|
610
|
-
try {
|
|
611
|
-
const n = document.cookie.split(";") || [];
|
|
612
|
-
for (const t of n)
|
|
613
|
-
document.cookie = t.replace(/^ +/, "").replace(/=.*/, `=;expires=${(/* @__PURE__ */ new Date()).toUTCString()};path=/`);
|
|
614
|
-
} catch (n) {
|
|
615
|
-
return Promise.reject(n);
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
async clearAllCookies() {
|
|
619
|
-
try {
|
|
620
|
-
await this.clearCookies();
|
|
621
|
-
} catch (n) {
|
|
622
|
-
return Promise.reject(n);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
Vt("CapacitorCookies", {
|
|
627
|
-
web: () => new ks()
|
|
628
|
-
});
|
|
629
|
-
const _s = async (e) => new Promise((n, t) => {
|
|
630
|
-
const a = new FileReader();
|
|
631
|
-
a.onload = () => {
|
|
632
|
-
const l = a.result;
|
|
633
|
-
n(l.indexOf(",") >= 0 ? l.split(",")[1] : l);
|
|
634
|
-
}, a.onerror = (l) => t(l), a.readAsDataURL(e);
|
|
635
|
-
}), Ps = (e = {}) => {
|
|
636
|
-
const n = Object.keys(e);
|
|
637
|
-
return Object.keys(e).map((l) => l.toLocaleLowerCase()).reduce((l, r, o) => (l[r] = e[n[o]], l), {});
|
|
638
|
-
}, Os = (e, n = true) => e ? Object.entries(e).reduce((a, l) => {
|
|
639
|
-
const [r, o] = l;
|
|
640
|
-
let i, s;
|
|
641
|
-
return Array.isArray(o) ? (s = "", o.forEach((d) => {
|
|
642
|
-
i = n ? encodeURIComponent(d) : d, s += `${r}=${i}&`;
|
|
643
|
-
}), s.slice(0, -1)) : (i = n ? encodeURIComponent(o) : o, s = `${r}=${i}`), `${a}&${s}`;
|
|
644
|
-
}, "").substr(1) : null, Ts = (e, n = {}) => {
|
|
645
|
-
const t = Object.assign({ method: e.method || "GET", headers: e.headers }, n), l = Ps(e.headers)["content-type"] || "";
|
|
646
|
-
if (typeof e.data == "string")
|
|
647
|
-
t.body = e.data;
|
|
648
|
-
else if (l.includes("application/x-www-form-urlencoded")) {
|
|
649
|
-
const r = new URLSearchParams();
|
|
650
|
-
for (const [o, i] of Object.entries(e.data || {}))
|
|
651
|
-
r.set(o, i);
|
|
652
|
-
t.body = r.toString();
|
|
653
|
-
} else if (l.includes("multipart/form-data") || e.data instanceof FormData) {
|
|
654
|
-
const r = new FormData();
|
|
655
|
-
if (e.data instanceof FormData)
|
|
656
|
-
e.data.forEach((i, s) => {
|
|
657
|
-
r.append(s, i);
|
|
658
|
-
});
|
|
659
|
-
else
|
|
660
|
-
for (const i of Object.keys(e.data))
|
|
661
|
-
r.append(i, e.data[i]);
|
|
662
|
-
t.body = r;
|
|
663
|
-
const o = new Headers(t.headers);
|
|
664
|
-
o.delete("content-type"), t.headers = o;
|
|
665
|
-
} else (l.includes("application/json") || typeof e.data == "object") && (t.body = JSON.stringify(e.data));
|
|
666
|
-
return t;
|
|
667
|
-
};
|
|
668
|
-
class Is extends Rn {
|
|
669
|
-
/**
|
|
670
|
-
* Perform an Http request given a set of options
|
|
671
|
-
* @param options Options to build the HTTP request
|
|
672
|
-
*/
|
|
673
|
-
async request(n) {
|
|
674
|
-
const t = Ts(n, n.webFetchExtra), a = Os(n.params, n.shouldEncodeUrlParams), l = a ? `${n.url}?${a}` : n.url, r = await fetch(l, t), o = r.headers.get("content-type") || "";
|
|
675
|
-
let { responseType: i = "text" } = r.ok ? n : {};
|
|
676
|
-
o.includes("application/json") && (i = "json");
|
|
677
|
-
let s, d;
|
|
678
|
-
switch (i) {
|
|
679
|
-
case "arraybuffer":
|
|
680
|
-
case "blob":
|
|
681
|
-
d = await r.blob(), s = await _s(d);
|
|
682
|
-
break;
|
|
683
|
-
case "json":
|
|
684
|
-
s = await r.json();
|
|
685
|
-
break;
|
|
686
|
-
case "document":
|
|
687
|
-
case "text":
|
|
688
|
-
default:
|
|
689
|
-
s = await r.text();
|
|
690
|
-
}
|
|
691
|
-
const c = {};
|
|
692
|
-
return r.headers.forEach((m, $) => {
|
|
693
|
-
c[$] = m;
|
|
694
|
-
}), {
|
|
695
|
-
data: s,
|
|
696
|
-
headers: c,
|
|
697
|
-
status: r.status,
|
|
698
|
-
url: r.url
|
|
699
|
-
};
|
|
700
|
-
}
|
|
701
|
-
/**
|
|
702
|
-
* Perform an Http GET request given a set of options
|
|
703
|
-
* @param options Options to build the HTTP request
|
|
704
|
-
*/
|
|
705
|
-
async get(n) {
|
|
706
|
-
return this.request(Object.assign(Object.assign({}, n), { method: "GET" }));
|
|
707
|
-
}
|
|
708
|
-
/**
|
|
709
|
-
* Perform an Http POST request given a set of options
|
|
710
|
-
* @param options Options to build the HTTP request
|
|
711
|
-
*/
|
|
712
|
-
async post(n) {
|
|
713
|
-
return this.request(Object.assign(Object.assign({}, n), { method: "POST" }));
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Perform an Http PUT request given a set of options
|
|
717
|
-
* @param options Options to build the HTTP request
|
|
718
|
-
*/
|
|
719
|
-
async put(n) {
|
|
720
|
-
return this.request(Object.assign(Object.assign({}, n), { method: "PUT" }));
|
|
721
|
-
}
|
|
722
|
-
/**
|
|
723
|
-
* Perform an Http PATCH request given a set of options
|
|
724
|
-
* @param options Options to build the HTTP request
|
|
725
|
-
*/
|
|
726
|
-
async patch(n) {
|
|
727
|
-
return this.request(Object.assign(Object.assign({}, n), { method: "PATCH" }));
|
|
728
|
-
}
|
|
729
|
-
/**
|
|
730
|
-
* Perform an Http DELETE request given a set of options
|
|
731
|
-
* @param options Options to build the HTTP request
|
|
732
|
-
*/
|
|
733
|
-
async delete(n) {
|
|
734
|
-
return this.request(Object.assign(Object.assign({}, n), { method: "DELETE" }));
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
Vt("CapacitorHttp", {
|
|
738
|
-
web: () => new Is()
|
|
739
|
-
});
|
|
740
|
-
const bn = Vt("Preferences", {
|
|
741
|
-
web: () => import("./web-n_ivHO3v.js").then((e) => new e.PreferencesWeb())
|
|
742
|
-
});
|
|
743
|
-
class Ls {
|
|
744
|
-
constructor(n) {
|
|
745
|
-
this.sessionState = n, this.listeners = [];
|
|
746
|
-
}
|
|
747
|
-
get state() {
|
|
748
|
-
return this.sessionState;
|
|
749
|
-
}
|
|
750
|
-
set(n) {
|
|
751
|
-
this.sessionState.token = n.accessToken, this.sessionState.userId = n._id, this.sessionState.roles = n.roles, this.sessionState.accesses = n.accesses || [], this.emit("change", this.sessionState);
|
|
752
|
-
}
|
|
753
|
-
clear() {
|
|
754
|
-
this.sessionState.token = null, this.sessionState.userId = null, this.sessionState.roles = null, this.sessionState.accesses = [], this.emit("change", this.sessionState);
|
|
755
|
-
}
|
|
756
|
-
hydrate(n) {
|
|
757
|
-
n && (this.sessionState.token = n.accessToken, this.sessionState.userId = n._id, this.sessionState.roles = n.roles, this.sessionState.accesses = n.accesses || []);
|
|
758
|
-
}
|
|
759
|
-
isAuthenticated() {
|
|
760
|
-
return !!this.sessionState.token;
|
|
761
|
-
}
|
|
762
|
-
getAccesses() {
|
|
763
|
-
return this.sessionState.accesses;
|
|
764
|
-
}
|
|
765
|
-
getUserId() {
|
|
766
|
-
return this.sessionState.userId;
|
|
767
|
-
}
|
|
768
|
-
onChange(n) {
|
|
769
|
-
this.listeners.push(n);
|
|
770
|
-
}
|
|
771
|
-
emit(n, t) {
|
|
772
|
-
this.listeners.forEach((a) => a(n, t));
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
function Cn() {
|
|
776
|
-
const e = reactive({
|
|
777
|
-
loading: false,
|
|
778
|
-
notFound: false,
|
|
779
|
-
isOpenLocationPopup: false,
|
|
780
|
-
isOpenSidebar: false,
|
|
781
|
-
position: null,
|
|
782
|
-
search: null,
|
|
783
|
-
theme: {
|
|
784
|
-
mode: "system"
|
|
785
|
-
// 'light' | 'dark' | 'system'
|
|
786
|
-
},
|
|
787
|
-
navigation_bar: {
|
|
788
|
-
name: null,
|
|
789
|
-
actions: null
|
|
790
|
-
},
|
|
791
|
-
error: {
|
|
792
|
-
status: "",
|
|
793
|
-
headers: "",
|
|
794
|
-
data: "",
|
|
795
|
-
show: false,
|
|
796
|
-
name: "",
|
|
797
|
-
message: ""
|
|
798
|
-
},
|
|
799
|
-
snack: {
|
|
800
|
-
show: false,
|
|
801
|
-
type: "notification",
|
|
802
|
-
message: "",
|
|
803
|
-
duration: 3e3
|
|
804
|
-
},
|
|
805
|
-
// Session state - данные сессии хранятся здесь
|
|
806
|
-
session: {
|
|
807
|
-
token: null,
|
|
808
|
-
userId: null,
|
|
809
|
-
roles: null,
|
|
810
|
-
accesses: []
|
|
811
|
-
}
|
|
812
|
-
}), n = {
|
|
813
|
-
setLoading(r) {
|
|
814
|
-
e.loading = r;
|
|
815
|
-
},
|
|
816
|
-
// Theme: 'light' | 'dark' | 'system'
|
|
817
|
-
async setTheme(r) {
|
|
818
|
-
e.theme.mode = r, r === "light" || r === "dark" ? (typeof document < "u" && (document.cookie = `theme=${r}; path=/; max-age=31536000; SameSite=Lax`), await bn.set({ key: "theme", value: r })) : (typeof document < "u" && (document.cookie = "theme=; path=/; max-age=0"), await bn.remove({ key: "theme" }));
|
|
819
|
-
const o = document.documentElement;
|
|
820
|
-
o.classList.remove("dark-theme", "light-theme"), o.removeAttribute("data-theme"), r === "dark" ? (o.classList.add("dark-theme"), o.setAttribute("data-theme", "dark"), o.setAttribute("color-scheme", "dark")) : r === "light" ? (o.classList.add("light-theme"), o.setAttribute("data-theme", "light"), o.setAttribute("color-scheme", "light")) : o.setAttribute("color-scheme", "light dark");
|
|
821
|
-
},
|
|
822
|
-
toggleTheme() {
|
|
823
|
-
const r = e.theme.mode === "dark" || e.theme.mode === "system" && typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
824
|
-
this.setTheme(r ? "light" : "dark");
|
|
825
|
-
},
|
|
826
|
-
add(r, o) {
|
|
827
|
-
const i = r.findIndex((s) => s._id === o._id);
|
|
828
|
-
i === -1 ? r.push(o) : r[i] = o;
|
|
829
|
-
},
|
|
830
|
-
update(r, o) {
|
|
831
|
-
const i = r.findIndex((s) => s._id === o._id);
|
|
832
|
-
i === -1 ? r.push(o) : Object.assign(r[i], o);
|
|
833
|
-
},
|
|
834
|
-
delete(r, o) {
|
|
835
|
-
const i = r.findIndex((s) => s._id === o._id);
|
|
836
|
-
i !== -1 && r.splice(i, 1);
|
|
837
|
-
},
|
|
838
|
-
increment(r, o) {
|
|
839
|
-
console.log(r), console.log(o);
|
|
840
|
-
const i = r.find((s) => s._id === o._id);
|
|
841
|
-
i && i.quantity++;
|
|
842
|
-
},
|
|
843
|
-
decrement(r, o) {
|
|
844
|
-
const i = r.find((d) => d._id === o._id), s = r.indexOf(i);
|
|
845
|
-
s > -1 && (i.quantity--, i.quantity < 1 && r.splice(s, 1));
|
|
846
|
-
},
|
|
847
|
-
reset(r) {
|
|
848
|
-
}
|
|
849
|
-
}, t = new Ls(e.session), a = reactive({
|
|
850
|
-
modules: [],
|
|
851
|
-
// Core module registered by default
|
|
852
|
-
core: { state: e, actions: n, session: t },
|
|
853
|
-
addStore(r, o) {
|
|
854
|
-
this[r] = o, this.modules.push(r);
|
|
855
|
-
},
|
|
856
|
-
async getInitialState() {
|
|
857
|
-
const r = {};
|
|
858
|
-
for (const [o, i] of Object.entries(this))
|
|
859
|
-
o !== "modules" && o !== "addStore" && o !== "getInitialState" && o !== "setInitialState" && i.state && (r[o] = JSON.parse(JSON.stringify(i.state)));
|
|
860
|
-
return r;
|
|
861
|
-
},
|
|
862
|
-
async setInitialState(r, o = false) {
|
|
863
|
-
const i = Object.entries(r);
|
|
864
|
-
for (const [s, d] of i)
|
|
865
|
-
this[s] && this[s].state && (o ? Object.assign(this[s].state, d) : l(this[s].state, d));
|
|
866
|
-
}
|
|
867
|
-
});
|
|
868
|
-
function l(r, o) {
|
|
869
|
-
const i = Object.keys(o);
|
|
870
|
-
for (let s = 0; s < i.length; s++) {
|
|
871
|
-
const d = i[s], c = o[d];
|
|
872
|
-
c !== null && typeof c == "object" && !Array.isArray(c) && isReactive(r[d]) ? l(r[d], c) : r[d] = c;
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
return a;
|
|
876
|
-
}
|
|
877
|
-
let bt = null;
|
|
878
|
-
function ot() {
|
|
879
|
-
return typeof window > "u" ? (console.warn("[WARN] SSR store not in AsyncLocalStorage, creating new store instance"), Cn()) : (bt || (bt = Cn()), bt);
|
|
880
|
-
}
|
|
881
|
-
ot();
|
|
882
|
-
const Ii = {
|
|
883
|
-
props: {
|
|
884
|
-
fill: {
|
|
885
|
-
type: String,
|
|
886
|
-
default: "rgb(var(--black)"
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
}, Li = {
|
|
890
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
891
|
-
width: "80",
|
|
892
|
-
height: "80",
|
|
893
|
-
viewBox: "0 0 80 80",
|
|
894
|
-
fill: "none"
|
|
895
|
-
}, Mi = ["fill"];
|
|
896
|
-
function Di(e, n, t, a, l, r) {
|
|
897
|
-
return openBlock(), createElementBlock("svg", Li, [
|
|
898
|
-
createElementVNode("path", {
|
|
899
|
-
fill: t.fill,
|
|
900
|
-
d: "M25.2765 9.37509L29.0265 5.93759C30.589 4.53134 32.9327 4.68759 34.339 6.25009L63.2453 37.8126C64.339 39.0626 64.339 40.9376 63.2453 42.1876L34.339 73.7501C32.9327 75.3126 30.589 75.4689 29.0265 74.0626L25.2765 70.6251C23.714 69.3751 23.5577 66.8751 24.964 65.4689L48.4015 40.0001L24.964 14.5313C23.5577 13.1251 23.714 10.6251 25.2765 9.37509Z"
|
|
901
|
-
}, null, 8, Mi)
|
|
902
|
-
]);
|
|
903
|
-
}
|
|
904
|
-
const Ei = /* @__PURE__ */ $e(Ii, [["render", Di]]);
|
|
905
|
-
defineComponent({
|
|
906
|
-
props: {},
|
|
907
|
-
setup(e, { slots: n }) {
|
|
908
|
-
return () => {
|
|
909
|
-
const t = n.default ? n.default() : [], a = [], l = [];
|
|
910
|
-
return t.forEach((r) => {
|
|
911
|
-
r.toString(), r.props && r.props.icon ? a.push(r) : l.push(r);
|
|
912
|
-
}), h(
|
|
913
|
-
"div",
|
|
914
|
-
{
|
|
915
|
-
class: [
|
|
916
|
-
"w-100",
|
|
917
|
-
"t-left",
|
|
918
|
-
"flex-nowrap",
|
|
919
|
-
"flex-v-center",
|
|
920
|
-
"flex",
|
|
921
|
-
"border-bottom-except-last"
|
|
922
|
-
]
|
|
923
|
-
},
|
|
924
|
-
[
|
|
925
|
-
// Conditionally include the div for iconSlot
|
|
926
|
-
...a.length ? [
|
|
927
|
-
h(
|
|
928
|
-
"div",
|
|
929
|
-
{
|
|
930
|
-
class: ["mn-b-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-shrink-0", "i-big", "bg-main", "radius-thin"]
|
|
931
|
-
},
|
|
932
|
-
a
|
|
933
|
-
)
|
|
934
|
-
] : [],
|
|
935
|
-
h(
|
|
936
|
-
"div",
|
|
937
|
-
{
|
|
938
|
-
class: ["flex-child-1", "mn-b-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
|
|
939
|
-
},
|
|
940
|
-
[
|
|
941
|
-
h(
|
|
942
|
-
"span",
|
|
943
|
-
{
|
|
944
|
-
class: ["p-medium", "fw-medium"]
|
|
945
|
-
},
|
|
946
|
-
l
|
|
947
|
-
)
|
|
948
|
-
]
|
|
949
|
-
),
|
|
950
|
-
h(Ei, { class: "i-medium mn-r-medium flex-child-default", type: "chevron" })
|
|
951
|
-
]
|
|
952
|
-
);
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
});
|
|
956
|
-
const uu = {
|
|
957
|
-
class: "marquee",
|
|
958
|
-
"aria-hidden": true
|
|
959
|
-
}, cu = {
|
|
960
|
-
__name: "Marquee",
|
|
961
|
-
props: {
|
|
962
|
-
vertical: { type: Boolean, default: false },
|
|
963
|
-
direction: { type: String, default: "normal" },
|
|
964
|
-
duration: { type: Number, default: 20 },
|
|
965
|
-
delay: { type: Number, default: 0 },
|
|
966
|
-
loop: { type: Number, default: 0 },
|
|
967
|
-
clone: { type: Boolean, default: false },
|
|
968
|
-
gradient: { type: Boolean, default: false },
|
|
969
|
-
gradientColor: { type: [Array, String], default: () => [255, 255, 255] },
|
|
970
|
-
gradientLength: { type: String },
|
|
971
|
-
pauseOnHover: { type: Boolean, default: false },
|
|
972
|
-
pauseOnClick: { type: Boolean, default: false },
|
|
973
|
-
pause: { type: Boolean, default: false }
|
|
974
|
-
},
|
|
975
|
-
emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
|
|
976
|
-
setup(e, { emit: n }) {
|
|
977
|
-
const t = e, a = n, l = ref(false), r = ref(0), o = ref(0), i = ref(null), s = ref(null), d = ref(null), c = ref(null), m = ref({ width: 0, height: 0 }), $ = ref("100%"), p = ref(0), b = ref(0), C = ref("100%"), L = ref(0), M = ref(0), _ = ref("200px"), v = ref(false), y = ref(null), w = ref(null), z = async () => {
|
|
978
|
-
t.vertical && (v.value = true), await nextTick();
|
|
979
|
-
const T = () => {
|
|
980
|
-
if ($.value = "0%", C.value = "0%", y.value !== null && w.value !== null)
|
|
981
|
-
if (y.value && w.value)
|
|
982
|
-
if (t.vertical && "clientHeight" in y.value && "clientHeight" in w.value) {
|
|
983
|
-
M.value = y.value.clientHeight, L.value = w.value.clientHeight;
|
|
984
|
-
const H = Math.ceil(L.value / M.value);
|
|
985
|
-
return r.value = isFinite(H) ? H : 0, v.value = false, r.value;
|
|
986
|
-
} else if (!t.vertical && "clientWidth" in y.value && "clientWidth" in w.value) {
|
|
987
|
-
b.value = y.value.clientWidth, p.value = w.value.clientWidth;
|
|
988
|
-
const H = Math.ceil(p.value / b.value);
|
|
989
|
-
return r.value = isFinite(H) ? H : 0, r.value;
|
|
990
|
-
} else
|
|
991
|
-
return $.value = "100%", C.value = "100%", 0;
|
|
992
|
-
else
|
|
993
|
-
return $.value = "100%", C.value = "100%", 0;
|
|
994
|
-
else
|
|
995
|
-
return $.value = "100%", C.value = "100%", 0;
|
|
996
|
-
};
|
|
997
|
-
T(), typeof ResizeObserver < "u" && w.value ? (s.value && s.value.disconnect(), s.value = new ResizeObserver((H) => {
|
|
998
|
-
const le = H[0], ne = le.contentRect.width, oe = le.contentRect.height, be = Math.abs(ne - m.value.width) > 1, Fe = Math.abs(oe - m.value.height) > 1;
|
|
999
|
-
(be || Fe) && (m.value = { width: ne, height: oe }, clearTimeout(c.value), c.value = setTimeout(() => {
|
|
1000
|
-
T();
|
|
1001
|
-
}, 300));
|
|
1002
|
-
}), s.value.observe(w.value)) : (d.value && clearInterval(d.value), d.value = setTimeout(() => {
|
|
1003
|
-
T(), d.value = null;
|
|
1004
|
-
}, 500));
|
|
1005
|
-
}, V = () => {
|
|
1006
|
-
t.pauseOnHover && a("onPause");
|
|
1007
|
-
}, N = () => {
|
|
1008
|
-
t.pauseOnHover && a("onResume");
|
|
1009
|
-
}, J = () => {
|
|
1010
|
-
t.pauseOnClick && a("onPause");
|
|
1011
|
-
}, O = () => {
|
|
1012
|
-
t.pauseOnClick && a("onResume");
|
|
1013
|
-
}, k = computed(() => ({
|
|
1014
|
-
"--loops": `${t.loop === 0 ? "infinite" : t.loop}`,
|
|
1015
|
-
"--duration": `${t.duration}s`,
|
|
1016
|
-
"--delay": `${t.delay}s`,
|
|
1017
|
-
"--direction": `${t.direction}`,
|
|
1018
|
-
"--pauseOnHover": `${t.pauseOnHover ? "paused" : "running"}`,
|
|
1019
|
-
"--pauseOnClick": `${t.pauseOnClick ? "paused" : "running"}`,
|
|
1020
|
-
"--pauseAnimation": `${t.vertical && v.value || t.pause ? "paused" : "running"}`,
|
|
1021
|
-
"--gradient-color": t.gradientColor,
|
|
1022
|
-
"--gradient-length": `${_.value}`,
|
|
1023
|
-
"--min-width": `${$.value}`,
|
|
1024
|
-
"--min-height": `${C.value}`,
|
|
1025
|
-
"--orientation": t.vertical ? "scrollY" : "scrollX"
|
|
1026
|
-
})), D = async () => {
|
|
1027
|
-
t.vertical ? (C.value = "100%", $.value = "auto") : (C.value = "auto", $.value = "100%"), t.gradient && t.gradientLength && (_.value = t.gradientLength), t.clone && await z(), l.value = true;
|
|
1028
|
-
};
|
|
1029
|
-
return onMounted(async () => {
|
|
1030
|
-
D(), i.value = setInterval(() => {
|
|
1031
|
-
o.value++, t.loop !== 0 && o.value === t.loop && (a("onComplete"), clearInterval(i.value)), a("onLoopComplete");
|
|
1032
|
-
}, t.duration * 1e3);
|
|
1033
|
-
}), onBeforeUnmount(() => {
|
|
1034
|
-
clearInterval(i.value), s.value && (s.value.disconnect(), s.value = null), d.value && (clearInterval(d.value), d.value = null), c.value && (clearTimeout(c.value), c.value = null);
|
|
1035
|
-
}), watch(
|
|
1036
|
-
() => t.pause,
|
|
1037
|
-
(T, H) => {
|
|
1038
|
-
T !== H && a(T ? "onPause" : "onResume");
|
|
1039
|
-
}
|
|
1040
|
-
), (T, H) => l.value ? (openBlock(), createElementBlock("div", {
|
|
1041
|
-
key: 0,
|
|
1042
|
-
class: normalizeClass(["vue3-marquee", { vertical: e.vertical, horizontal: !e.vertical }]),
|
|
1043
|
-
style: normalizeStyle(k.value),
|
|
1044
|
-
onMouseenter: V,
|
|
1045
|
-
onMouseleave: N,
|
|
1046
|
-
onMousedown: J,
|
|
1047
|
-
onMouseup: O
|
|
1048
|
-
}, [
|
|
1049
|
-
createElementVNode("div", {
|
|
1050
|
-
class: normalizeClass(["transparent-overlay", { vertical: e.vertical, horizontal: !e.vertical, overlay: e.gradient }]),
|
|
1051
|
-
ref_key: "marqueeOverlayContainer",
|
|
1052
|
-
ref: w,
|
|
1053
|
-
"aria-hidden": true
|
|
1054
|
-
}, null, 2),
|
|
1055
|
-
createElementVNode("div", {
|
|
1056
|
-
class: "marquee",
|
|
1057
|
-
ref_key: "marqueeContent",
|
|
1058
|
-
ref: y
|
|
1059
|
-
}, [
|
|
1060
|
-
renderSlot(T.$slots, "default")
|
|
1061
|
-
], 512),
|
|
1062
|
-
createElementVNode("div", uu, [
|
|
1063
|
-
renderSlot(T.$slots, "default")
|
|
1064
|
-
]),
|
|
1065
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(r.value, (le) => (openBlock(), createElementBlock("div", {
|
|
1066
|
-
key: le,
|
|
1067
|
-
"aria-hidden": true,
|
|
1068
|
-
class: "marquee cloned"
|
|
1069
|
-
}, [
|
|
1070
|
-
renderSlot(T.$slots, "default")
|
|
1071
|
-
]))), 128))
|
|
1072
|
-
], 38)) : createCommentVNode("", true);
|
|
1073
|
-
}
|
|
1074
|
-
};
|
|
1075
|
-
export {
|
|
1076
|
-
Rn as W,
|
|
1077
|
-
On as b,
|
|
1078
|
-
cu as r
|
|
1079
|
-
};
|
|
1080
|
-
//# sourceMappingURL=main-DQm5pwFO.js.map
|